@pouchy_ai/companion-sdk - v0.1.0
Guide (/sdk)
npm
Preparing search index...
CompanionEnvelope
Interface CompanionEnvelope<T>
The single envelope every control/data-plane message shares.
interface
CompanionEnvelope
<
T
=
unknown
>
{
id
:
string
;
payload
:
T
;
session
?:
string
;
ts
:
number
;
type
:
MessageType
;
v
:
1
;
}
Type Parameters
T
=
unknown
Index
Properties
id
payload
session?
ts
type
v
Properties
id
id
:
string
payload
payload
:
T
Optional
session
session
?:
string
ts
ts
:
number
type
type
:
MessageType
v
v
:
1
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
id
payload
session
ts
type
v
Guide (/sdk)
npm
@pouchy_ai/companion-sdk - v0.1.0
Loading...
The single envelope every control/data-plane message shares.