@dxos/compute - v0.16.0
Preparing search index...
Trajectory
make
Function make
make
<
T
extends
|
{
_tag
:
"message"
;
attachments
?:
readonly
{
contentId
?:
string
;
name
?:
string
;
ref
:
Ref
<
Unknown
>
;
}
[]
;
blocks
:
readonly
(
|
{
_tag
:
"anchor"
;
objectId
:
string
;
pending
?:
boolean
;
version
:
unknown
;
}
|
{
_tag
:
"change"
;
after
:
string
;
before
:
string
;
pending
?:
boolean
}
|
{
_tag
:
"file"
;
mediaType
?:
string
;
name
?:
string
;
pending
?:
boolean
;
url
:
string
;
}
|
{
_tag
:
"image"
;
id
?:
string
;
pending
?:
boolean
;
source
?:
|
{
data
:
string
;
mediaType
:
string
;
type
:
"base64"
}
|
{
type
:
"http"
;
url
:
string
}
;
}
|
{
_tag
:
"json"
;
data
:
string
;
disposition
?:
"user"
|
"summary"
|
"synthetic"
|
"cot"
|
"version-pin"
;
pending
?:
boolean
;
}
|
{
_tag
:
"proposal"
;
pending
?:
boolean
;
text
:
string
}
|
{
_tag
:
"reasoning"
;
pending
?:
boolean
;
reasoningText
?:
string
;
redactedText
?:
string
;
signature
?:
string
;
}
|
{
_tag
:
"reference"
;
pending
?:
boolean
;
reference
:
Ref
<
Unknown
>
}
|
{
_tag
:
"request"
;
options
:
readonly
{
id
:
string
;
kind
:
"allow_once"
|
"allow_always"
|
"reject_once"
|
"reject_always"
;
label
:
string
;
}
[]
;
pending
?:
boolean
;
preview
?:
{
label
:
string
;
text
:
string
}
;
requestId
:
string
;
resolution
?:
{
optionId
?:
string
;
outcome
:
"selected"
|
"cancelled"
}
;
title
:
string
;
toolCallId
?:
string
;
}
|
{
_tag
:
"select"
;
options
:
string
[]
;
pending
?:
boolean
}
|
{
_tag
:
"status"
;
pending
?:
boolean
;
statusText
:
string
}
|
{
_tag
:
"suggestion"
;
pending
?:
boolean
;
text
:
string
}
|
{
_tag
:
"stats"
;
duration
?:
number
;
errors
?:
number
;
finishReason
?:
|
"length"
|
"stop"
|
"content-filter"
|
"tool-calls"
|
"error"
|
"pause"
|
"other"
|
"unknown"
;
message
?:
string
;
mimeType
?:
string
;
model
?:
string
;
pending
?:
boolean
;
toolCalls
?:
number
;
usage
?:
{
inputTokens
?:
number
;
outputTokens
?:
number
;
totalTokens
?:
number
;
}
;
}
|
{
_tag
:
"surface"
;
data
?:
{
readonly
[
key
:
string
]:
unknown
}
;
pending
?:
boolean
;
role
:
string
;
}
|
{
_tag
:
"text"
;
disposition
?:
"user"
|
"summary"
|
"synthetic"
|
"cot"
|
"version-pin"
;
mimeType
?:
string
;
pending
?:
boolean
;
text
:
string
;
}
|
{
_tag
:
"summary"
;
content
:
string
;
pending
?:
boolean
}
|
{
_tag
:
"toolkit"
;
pending
?:
boolean
}
|
{
_tag
:
"toolCall"
;
displayIcon
?:
string
;
displayName
?:
string
;
input
:
string
;
name
:
string
;
operationIcon
?:
string
;
operationKey
?:
string
;
operationName
?:
string
;
pending
?:
boolean
;
providerExecuted
:
boolean
;
toolCallId
:
string
;
}
|
{
_tag
:
"toolResult"
;
error
?:
string
;
invocations
?:
{
error
?:
string
;
operationKey
:
string
}
[]
;
name
:
string
;
pending
?:
boolean
;
providerExecuted
:
boolean
;
result
?:
|
string
|
{
_tag
:
"~@dxos/types/ContentBlock.ContentBlockResult"
;
content
:
readonly
(
|
{
_tag
:
"text"
;
disposition
?:
(...)
|
(...)
|
(...)
|
(...)
|
(...)
|
(...)
;
mimeType
?:
(...)
|
(...)
;
pending
?:
(...)
|
(...)
|
(...)
;
text
:
string
;
}
|
{
_tag
:
"image"
;
id
?:
(...)
|
(...)
;
pending
?:
(...)
|
(...)
|
(...)
;
source
?:
(...)
|
(...)
|
(...)
;
}
|
{
_tag
:
"file"
;
mediaType
?:
(...)
|
(...)
;
name
?:
(...)
|
(...)
;
pending
?:
(...)
|
(...)
|
(...)
;
url
:
string
;
}
)
[]
;
}
;
toolCallId
:
string
;
}
|
{
_tag
:
"transcript"
;
candidates
?:
{
end
:
number
;
kind
:
"noun"
|
"proper-noun"
;
start
:
number
;
suggested
?:
{
typename
:
string
}
;
text
:
string
;
}
[]
;
corrected
?:
string
;
pending
?:
boolean
;
references
?:
Ref
<
Unknown
>
[]
;
started
:
string
;
text
:
string
;
translation
?:
string
;
}
)
[]
;
properties
?:
{
readonly
[
key
:
string
]:
any
}
;
}
|
{
_tag
:
"turnBegin"
;
from
?:
{
event
:
string
;
feed
?:
Ref
<
Feed
&
OfKind
<
Object
>
&
Unknown
>
;
thread
?:
string
&
Brand
<
"@dxos/echo/Feed/BranchId"
>
;
}
;
model
?:
DXN
;
}
|
{
_tag
:
"turnEnd"
;
error
?:
string
;
finishReason
:
|
"length"
|
"stop"
|
"content-filter"
|
"tool-calls"
|
"error"
|
"pause"
|
"other"
|
"unknown"
;
usage
?:
{
cacheReadTokens
?:
number
;
cacheWriteTokens
?:
number
;
inputTokens
?:
number
;
outputTokens
?:
number
;
}
;
}
|
{
_tag
:
"promptConsume"
;
message
:
string
}
|
{
_tag
:
"promptCancel"
;
message
:
string
}
|
{
_tag
:
"contextBind"
;
connections
?:
readonly
Ref
<
Unknown
>
[]
;
objects
:
readonly
Ref
<
Unknown
>
[]
;
skills
:
readonly
Ref
<
Skill
.
Skill
&
OfKind
<
Object
>
&
Unknown
>
[]
;
}
|
{
_tag
:
"contextUnbind"
;
connections
?:
readonly
Ref
<
Unknown
>
[]
;
objects
:
readonly
Ref
<
Unknown
>
[]
;
skills
:
readonly
Ref
<
Skill
.
Skill
&
OfKind
<
Object
>
&
Unknown
>
[]
;
}
|
{
_tag
:
"alarmSet"
;
message
?:
string
;
wakeAt
:
number
}
|
{
_tag
:
"alarmCancel"
;
alarm
:
string
}
|
{
_tag
:
"alarmFire"
;
alarm
:
string
}
|
{
_tag
:
"toolBackground"
;
pid
?:
string
;
toolCallId
:
string
}
|
{
_tag
:
"toolDeliver"
;
result
:
{
_tag
:
"toolResult"
;
error
?:
string
;
invocations
?:
{
error
?:
string
;
operationKey
:
string
}
[]
;
name
:
string
;
pending
?:
boolean
;
providerExecuted
:
boolean
;
result
?:
|
string
|
{
_tag
:
"~@dxos/types/ContentBlock.ContentBlockResult"
;
content
:
readonly
(
|
{
_tag
:
"text"
;
disposition
?:
|
"user"
|
"summary"
|
"synthetic"
|
"cot"
|
"version-pin"
;
mimeType
?:
string
;
pending
?:
boolean
;
text
:
string
;
}
|
{
_tag
:
"image"
;
id
?:
string
;
pending
?:
boolean
;
source
?:
|
{
data
:
string
;
mediaType
:
string
;
type
:
"base64"
}
|
{
type
:
"http"
;
url
:
string
}
;
}
|
{
_tag
:
"file"
;
mediaType
?:
string
;
name
?:
string
;
pending
?:
boolean
;
url
:
string
;
}
)
[]
;
}
;
toolCallId
:
string
;
}
;
toolCallId
:
string
;
}
|
{
_tag
:
"hookBegin"
;
hook
:
string
;
kind
:
"inline"
|
"background"
|
"agentic"
;
thread
?:
string
&
Brand
<
"@dxos/echo/Feed/BranchId"
>
;
}
|
{
_tag
:
"hookEnd"
;
begin
:
string
;
blocks
?:
readonly
(
|
{
_tag
:
"anchor"
;
objectId
:
string
;
pending
?:
boolean
;
version
:
unknown
;
}
|
{
_tag
:
"change"
;
after
:
string
;
before
:
string
;
pending
?:
boolean
}
|
{
_tag
:
"file"
;
mediaType
?:
string
;
name
?:
string
;
pending
?:
boolean
;
url
:
string
;
}
|
{
_tag
:
"image"
;
id
?:
string
;
pending
?:
boolean
;
source
?:
|
{
data
:
string
;
mediaType
:
string
;
type
:
"base64"
}
|
{
type
:
"http"
;
url
:
string
}
;
}
|
{
_tag
:
"json"
;
data
:
string
;
disposition
?:
"user"
|
"summary"
|
"synthetic"
|
"cot"
|
"version-pin"
;
pending
?:
boolean
;
}
|
{
_tag
:
"proposal"
;
pending
?:
boolean
;
text
:
string
}
|
{
_tag
:
"reasoning"
;
pending
?:
boolean
;
reasoningText
?:
string
;
redactedText
?:
string
;
signature
?:
string
;
}
|
{
_tag
:
"reference"
;
pending
?:
boolean
;
reference
:
Ref
<
Unknown
>
}
|
{
_tag
:
"request"
;
options
:
readonly
{
id
:
string
;
kind
:
"allow_once"
|
"allow_always"
|
"reject_once"
|
"reject_always"
;
label
:
string
;
}
[]
;
pending
?:
boolean
;
preview
?:
{
label
:
string
;
text
:
string
}
;
requestId
:
string
;
resolution
?:
{
optionId
?:
string
;
outcome
:
"selected"
|
"cancelled"
}
;
title
:
string
;
toolCallId
?:
string
;
}
|
{
_tag
:
"select"
;
options
:
string
[]
;
pending
?:
boolean
}
|
{
_tag
:
"status"
;
pending
?:
boolean
;
statusText
:
string
}
|
{
_tag
:
"suggestion"
;
pending
?:
boolean
;
text
:
string
}
|
{
_tag
:
"stats"
;
duration
?:
number
;
errors
?:
number
;
finishReason
?:
|
"length"
|
"stop"
|
"content-filter"
|
"tool-calls"
|
"error"
|
"pause"
|
"other"
|
"unknown"
;
message
?:
string
;
mimeType
?:
string
;
model
?:
string
;
pending
?:
boolean
;
toolCalls
?:
number
;
usage
?:
{
inputTokens
?:
number
;
outputTokens
?:
number
;
totalTokens
?:
number
;
}
;
}
|
{
_tag
:
"surface"
;
data
?:
{
readonly
[
key
:
string
]:
unknown
}
;
pending
?:
boolean
;
role
:
string
;
}
|
{
_tag
:
"text"
;
disposition
?:
"user"
|
"summary"
|
"synthetic"
|
"cot"
|
"version-pin"
;
mimeType
?:
string
;
pending
?:
boolean
;
text
:
string
;
}
|
{
_tag
:
"summary"
;
content
:
string
;
pending
?:
boolean
}
|
{
_tag
:
"toolkit"
;
pending
?:
boolean
}
|
{
_tag
:
"toolCall"
;
displayIcon
?:
string
;
displayName
?:
string
;
input
:
string
;
name
:
string
;
operationIcon
?:
string
;
operationKey
?:
string
;
operationName
?:
string
;
pending
?:
boolean
;
providerExecuted
:
boolean
;
toolCallId
:
string
;
}
|
{
_tag
:
"toolResult"
;
error
?:
string
;
invocations
?:
{
error
?:
string
;
operationKey
:
string
}
[]
;
name
:
string
;
pending
?:
boolean
;
providerExecuted
:
boolean
;
result
?:
|
string
|
{
_tag
:
"~@dxos/types/ContentBlock.ContentBlockResult"
;
content
:
readonly
(
|
{
_tag
:
...
;
disposition
?:
...
;
mimeType
?:
...
;
pending
?:
...
;
text
:
...
;
}
|
{
_tag
:
...
;
id
?:
...
;
pending
?:
...
;
source
?:
...
}
|
{
_tag
:
...
;
mediaType
?:
...
;
name
?:
...
;
pending
?:
...
;
url
:
...
;
}
)
[]
;
}
;
toolCallId
:
string
;
}
|
{
_tag
:
"transcript"
;
candidates
?:
{
end
:
number
;
kind
:
"noun"
|
"proper-noun"
;
start
:
number
;
suggested
?:
{
typename
:
...
}
;
text
:
string
;
}
[]
;
corrected
?:
string
;
pending
?:
boolean
;
references
?:
Ref
<
Unknown
>
[]
;
started
:
string
;
text
:
string
;
translation
?:
string
;
}
)
[]
;
error
?:
string
;
}
|
{
_tag
:
"compact"
;
closure
?:
readonly
(
string
&
Brand
<
"@dxos/echo/Feed/BranchId"
>
)
[]
;
from
:
string
;
summary
:
readonly
(
|
{
_tag
:
"anchor"
;
objectId
:
string
;
pending
?:
boolean
;
version
:
unknown
;
}
|
{
_tag
:
"change"
;
after
:
string
;
before
:
string
;
pending
?:
boolean
}
|
{
_tag
:
"file"
;
mediaType
?:
string
;
name
?:
string
;
pending
?:
boolean
;
url
:
string
;
}
|
{
_tag
:
"image"
;
id
?:
string
;
pending
?:
boolean
;
source
?:
|
{
data
:
string
;
mediaType
:
string
;
type
:
"base64"
}
|
{
type
:
"http"
;
url
:
string
}
;
}
|
{
_tag
:
"json"
;
data
:
string
;
disposition
?:
"user"
|
"summary"
|
"synthetic"
|
"cot"
|
"version-pin"
;
pending
?:
boolean
;
}
|
{
_tag
:
"proposal"
;
pending
?:
boolean
;
text
:
string
}
|
{
_tag
:
"reasoning"
;
pending
?:
boolean
;
reasoningText
?:
string
;
redactedText
?:
string
;
signature
?:
string
;
}
|
{
_tag
:
"reference"
;
pending
?:
boolean
;
reference
:
Ref
<
Unknown
>
}
|
{
_tag
:
"request"
;
options
:
readonly
{
id
:
string
;
kind
:
"allow_once"
|
"allow_always"
|
"reject_once"
|
"reject_always"
;
label
:
string
;
}
[]
;
pending
?:
boolean
;
preview
?:
{
label
:
string
;
text
:
string
}
;
requestId
:
string
;
resolution
?:
{
optionId
?:
string
;
outcome
:
"selected"
|
"cancelled"
}
;
title
:
string
;
toolCallId
?:
string
;
}
|
{
_tag
:
"select"
;
options
:
string
[]
;
pending
?:
boolean
}
|
{
_tag
:
"status"
;
pending
?:
boolean
;
statusText
:
string
}
|
{
_tag
:
"suggestion"
;
pending
?:
boolean
;
text
:
string
}
|
{
_tag
:
"stats"
;
duration
?:
number
;
errors
?:
number
;
finishReason
?:
|
"length"
|
"stop"
|
"content-filter"
|
"tool-calls"
|
"error"
|
"pause"
|
"other"
|
"unknown"
;
message
?:
string
;
mimeType
?:
string
;
model
?:
string
;
pending
?:
boolean
;
toolCalls
?:
number
;
usage
?:
{
inputTokens
?:
number
;
outputTokens
?:
number
;
totalTokens
?:
number
;
}
;
}
|
{
_tag
:
"surface"
;
data
?:
{
readonly
[
key
:
string
]:
unknown
}
;
pending
?:
boolean
;
role
:
string
;
}
|
{
_tag
:
"text"
;
disposition
?:
"user"
|
"summary"
|
"synthetic"
|
"cot"
|
"version-pin"
;
mimeType
?:
string
;
pending
?:
boolean
;
text
:
string
;
}
|
{
_tag
:
"summary"
;
content
:
string
;
pending
?:
boolean
}
|
{
_tag
:
"toolkit"
;
pending
?:
boolean
}
|
{
_tag
:
"toolCall"
;
displayIcon
?:
string
;
displayName
?:
string
;
input
:
string
;
name
:
string
;
operationIcon
?:
string
;
operationKey
?:
string
;
operationName
?:
string
;
pending
?:
boolean
;
providerExecuted
:
boolean
;
toolCallId
:
string
;
}
|
{
_tag
:
"toolResult"
;
error
?:
string
;
invocations
?:
{
error
?:
string
;
operationKey
:
string
}
[]
;
name
:
string
;
pending
?:
boolean
;
providerExecuted
:
boolean
;
result
?:
|
string
|
{
_tag
:
"~@dxos/types/ContentBlock.ContentBlockResult"
;
content
:
readonly
(
|
{
_tag
:
"text"
;
disposition
?:
(...)
|
(...)
|
(...)
|
(...)
|
(...)
|
(...)
;
mimeType
?:
(...)
|
(...)
;
pending
?:
(...)
|
(...)
|
(...)
;
text
:
string
;
}
|
{
_tag
:
"image"
;
id
?:
(...)
|
(...)
;
pending
?:
(...)
|
(...)
|
(...)
;
source
?:
(...)
|
(...)
|
(...)
;
}
|
{
_tag
:
"file"
;
mediaType
?:
(...)
|
(...)
;
name
?:
(...)
|
(...)
;
pending
?:
(...)
|
(...)
|
(...)
;
url
:
string
;
}
)
[]
;
}
;
toolCallId
:
string
;
}
|
{
_tag
:
"transcript"
;
candidates
?:
{
end
:
number
;
kind
:
"noun"
|
"proper-noun"
;
start
:
number
;
suggested
?:
{
typename
:
string
}
;
text
:
string
;
}
[]
;
corrected
?:
string
;
pending
?:
boolean
;
references
?:
Ref
<
Unknown
>
[]
;
started
:
string
;
text
:
string
;
translation
?:
string
;
}
)
[]
;
to
:
string
;
}
|
{
_tag
:
"requestResolve"
;
message
:
string
;
requestId
:
string
;
resolution
:
{
optionId
?:
string
;
outcome
:
"selected"
|
"cancelled"
}
;
}
|
{
_tag
:
"rewind"
;
from
:
string
}
|
{
_tag
:
"fork"
;
from
:
{
event
:
string
;
feed
?:
Ref
<
Feed
&
OfKind
<
Object
>
&
Unknown
>
;
thread
?:
string
&
Brand
<
"@dxos/echo/Feed/BranchId"
>
;
}
;
}
|
{
_tag
:
"threadOpen"
;
from
?:
{
event
:
string
;
feed
?:
Ref
<
Feed
&
OfKind
<
Object
>
&
Unknown
>
;
thread
?:
string
&
Brand
<
"@dxos/echo/Feed/BranchId"
>
;
}
;
mode
:
"fork"
|
"fresh"
|
"light"
;
purpose
?:
string
;
siblings
?:
readonly
(
string
&
Brand
<
"@dxos/echo/Feed/BranchId"
>
)
[]
;
}
|
{
_tag
:
"threadMerge"
;
mode
:
"summary"
|
"raw"
;
summary
?:
readonly
(
|
{
_tag
:
"anchor"
;
objectId
:
string
;
pending
?:
boolean
;
version
:
unknown
;
}
|
{
_tag
:
"change"
;
after
:
string
;
before
:
string
;
pending
?:
boolean
}
|
{
_tag
:
"file"
;
mediaType
?:
string
;
name
?:
string
;
pending
?:
boolean
;
url
:
string
;
}
|
{
_tag
:
"image"
;
id
?:
string
;
pending
?:
boolean
;
source
?:
|
{
data
:
string
;
mediaType
:
string
;
type
:
"base64"
}
|
{
type
:
"http"
;
url
:
string
}
;
}
|
{
_tag
:
"json"
;
data
:
string
;
disposition
?:
"user"
|
"summary"
|
"synthetic"
|
"cot"
|
"version-pin"
;
pending
?:
boolean
;
}
|
{
_tag
:
"proposal"
;
pending
?:
boolean
;
text
:
string
}
|
{
_tag
:
"reasoning"
;
pending
?:
boolean
;
reasoningText
?:
string
;
redactedText
?:
string
;
signature
?:
string
;
}
|
{
_tag
:
"reference"
;
pending
?:
boolean
;
reference
:
Ref
<
Unknown
>
}
|
{
_tag
:
"request"
;
options
:
readonly
{
id
:
string
;
kind
:
"allow_once"
|
"allow_always"
|
"reject_once"
|
"reject_always"
;
label
:
string
;
}
[]
;
pending
?:
boolean
;
preview
?:
{
label
:
string
;
text
:
string
}
;
requestId
:
string
;
resolution
?:
{
optionId
?:
string
;
outcome
:
"selected"
|
"cancelled"
}
;
title
:
string
;
toolCallId
?:
string
;
}
|
{
_tag
:
"select"
;
options
:
string
[]
;
pending
?:
boolean
}
|
{
_tag
:
"status"
;
pending
?:
boolean
;
statusText
:
string
}
|
{
_tag
:
"suggestion"
;
pending
?:
boolean
;
text
:
string
}
|
{
_tag
:
"stats"
;
duration
?:
number
;
errors
?:
number
;
finishReason
?:
|
"length"
|
"stop"
|
"content-filter"
|
"tool-calls"
|
"error"
|
"pause"
|
"other"
|
"unknown"
;
message
?:
string
;
mimeType
?:
string
;
model
?:
string
;
pending
?:
boolean
;
toolCalls
?:
number
;
usage
?:
{
inputTokens
?:
number
;
outputTokens
?:
number
;
totalTokens
?:
number
;
}
;
}
|
{
_tag
:
"surface"
;
data
?:
{
readonly
[
key
:
string
]:
unknown
}
;
pending
?:
boolean
;
role
:
string
;
}
|
{
_tag
:
"text"
;
disposition
?:
"user"
|
"summary"
|
"synthetic"
|
"cot"
|
"version-pin"
;
mimeType
?:
string
;
pending
?:
boolean
;
text
:
string
;
}
|
{
_tag
:
"summary"
;
content
:
string
;
pending
?:
boolean
}
|
{
_tag
:
"toolkit"
;
pending
?:
boolean
}
|
{
_tag
:
"toolCall"
;
displayIcon
?:
string
;
displayName
?:
string
;
input
:
string
;
name
:
string
;
operationIcon
?:
string
;
operationKey
?:
string
;
operationName
?:
string
;
pending
?:
boolean
;
providerExecuted
:
boolean
;
toolCallId
:
string
;
}
|
{
_tag
:
"toolResult"
;
error
?:
string
;
invocations
?:
{
error
?:
string
;
operationKey
:
string
}
[]
;
name
:
string
;
pending
?:
boolean
;
providerExecuted
:
boolean
;
result
?:
|
string
|
{
_tag
:
"~@dxos/types/ContentBlock.ContentBlockResult"
;
content
:
readonly
(
|
{
_tag
:
...
;
disposition
?:
...
;
mimeType
?:
...
;
pending
?:
...
;
text
:
...
;
}
|
{
_tag
:
...
;
id
?:
...
;
pending
?:
...
;
source
?:
...
}
|
{
_tag
:
...
;
mediaType
?:
...
;
name
?:
...
;
pending
?:
...
;
url
:
...
;
}
)
[]
;
}
;
toolCallId
:
string
;
}
|
{
_tag
:
"transcript"
;
candidates
?:
{
end
:
number
;
kind
:
"noun"
|
"proper-noun"
;
start
:
number
;
suggested
?:
{
typename
:
...
}
;
text
:
string
;
}
[]
;
corrected
?:
string
;
pending
?:
boolean
;
references
?:
Ref
<
Unknown
>
[]
;
started
:
string
;
text
:
string
;
translation
?:
string
;
}
)
[]
;
}
|
{
_tag
:
"threadWait"
;
on
:
string
&
Brand
<
"@dxos/echo/Feed/BranchId"
>
}
|
{
_tag
:
"threadClose"
;
status
:
"cancelled"
|
"completed"
|
"failed"
}
|
{
_tag
:
"modelChange"
;
model
:
DXN
}
|
{
_tag
:
"custom"
;
blocks
?:
readonly
(
|
{
_tag
:
"anchor"
;
objectId
:
string
;
pending
?:
boolean
;
version
:
unknown
;
}
|
{
_tag
:
"change"
;
after
:
string
;
before
:
string
;
pending
?:
boolean
}
|
{
_tag
:
"file"
;
mediaType
?:
string
;
name
?:
string
;
pending
?:
boolean
;
url
:
string
;
}
|
{
_tag
:
"image"
;
id
?:
string
;
pending
?:
boolean
;
source
?:
|
{
data
:
string
;
mediaType
:
string
;
type
:
"base64"
}
|
{
type
:
"http"
;
url
:
string
}
;
}
|
{
_tag
:
"json"
;
data
:
string
;
disposition
?:
"user"
|
"summary"
|
"synthetic"
|
"cot"
|
"version-pin"
;
pending
?:
boolean
;
}
|
{
_tag
:
"proposal"
;
pending
?:
boolean
;
text
:
string
}
|
{
_tag
:
"reasoning"
;
pending
?:
boolean
;
reasoningText
?:
string
;
redactedText
?:
string
;
signature
?:
string
;
}
|
{
_tag
:
"reference"
;
pending
?:
boolean
;
reference
:
Ref
<
Unknown
>
}
|
{
_tag
:
"request"
;
options
:
readonly
{
id
:
string
;
kind
:
"allow_once"
|
"allow_always"
|
"reject_once"
|
"reject_always"
;
label
:
string
;
}
[]
;
pending
?:
boolean
;
preview
?:
{
label
:
string
;
text
:
string
}
;
requestId
:
string
;
resolution
?:
{
optionId
?:
string
;
outcome
:
"selected"
|
"cancelled"
}
;
title
:
string
;
toolCallId
?:
string
;
}
|
{
_tag
:
"select"
;
options
:
string
[]
;
pending
?:
boolean
}
|
{
_tag
:
"status"
;
pending
?:
boolean
;
statusText
:
string
}
|
{
_tag
:
"suggestion"
;
pending
?:
boolean
;
text
:
string
}
|
{
_tag
:
"stats"
;
duration
?:
number
;
errors
?:
number
;
finishReason
?:
|
"length"
|
"stop"
|
"content-filter"
|
"tool-calls"
|
"error"
|
"pause"
|
"other"
|
"unknown"
;
message
?:
string
;
mimeType
?:
string
;
model
?:
string
;
pending
?:
boolean
;
toolCalls
?:
number
;
usage
?:
{
inputTokens
?:
number
;
outputTokens
?:
number
;
totalTokens
?:
number
;
}
;
}
|
{
_tag
:
"surface"
;
data
?:
{
readonly
[
key
:
string
]:
unknown
}
;
pending
?:
boolean
;
role
:
string
;
}
|
{
_tag
:
"text"
;
disposition
?:
"user"
|
"summary"
|
"synthetic"
|
"cot"
|
"version-pin"
;
mimeType
?:
string
;
pending
?:
boolean
;
text
:
string
;
}
|
{
_tag
:
"summary"
;
content
:
string
;
pending
?:
boolean
}
|
{
_tag
:
"toolkit"
;
pending
?:
boolean
}
|
{
_tag
:
"toolCall"
;
displayIcon
?:
string
;
displayName
?:
string
;
input
:
string
;
name
:
string
;
operationIcon
?:
string
;
operationKey
?:
string
;
operationName
?:
string
;
pending
?:
boolean
;
providerExecuted
:
boolean
;
toolCallId
:
string
;
}
|
{
_tag
:
"toolResult"
;
error
?:
string
;
invocations
?:
{
error
?:
string
;
operationKey
:
string
}
[]
;
name
:
string
;
pending
?:
boolean
;
providerExecuted
:
boolean
;
result
?:
|
string
|
{
_tag
:
"~@dxos/types/ContentBlock.ContentBlockResult"
;
content
:
readonly
(
|
{
_tag
:
...
;
disposition
?:
...
;
mimeType
?:
...
;
pending
?:
...
;
text
:
...
;
}
|
{
_tag
:
...
;
id
?:
...
;
pending
?:
...
;
source
?:
...
}
|
{
_tag
:
...
;
mediaType
?:
...
;
name
?:
...
;
pending
?:
...
;
url
:
...
;
}
)
[]
;
}
;
toolCallId
:
string
;
}
|
{
_tag
:
"transcript"
;
candidates
?:
{
end
:
number
;
kind
:
"noun"
|
"proper-noun"
;
start
:
number
;
suggested
?:
{
typename
:
...
}
;
text
:
string
;
}
[]
;
corrected
?:
string
;
pending
?:
boolean
;
references
?:
Ref
<
Unknown
>
[]
;
started
:
string
;
text
:
string
;
translation
?:
string
;
}
)
[]
;
data
?:
unknown
;
type
:
string
;
visible
:
boolean
;
}
,
>
(
__namedParameters
:
Trajectory
.
MakeProps
<
T
>
,
)
:
Trajectory
.
Event
Creates an event (not yet appended to a feed).
Type Parameters
T
extends
|
{
_tag
:
"message"
;
attachments
?:
readonly
{
contentId
?:
string
;
name
?:
string
;
ref
:
Ref
<
Unknown
>
;
}
[]
;
blocks
:
readonly
(
|
{
_tag
:
"anchor"
;
objectId
:
string
;
pending
?:
boolean
;
version
:
unknown
;
}
|
{
_tag
:
"change"
;
after
:
string
;
before
:
string
;
pending
?:
boolean
}
|
{
_tag
:
"file"
;
mediaType
?:
string
;
name
?:
string
;
pending
?:
boolean
;
url
:
string
;
}
|
{
_tag
:
"image"
;
id
?:
string
;
pending
?:
boolean
;
source
?:
|
{
data
:
string
;
mediaType
:
string
;
type
:
"base64"
}
|
{
type
:
"http"
;
url
:
string
}
;
}
|
{
_tag
:
"json"
;
data
:
string
;
disposition
?:
"user"
|
"summary"
|
"synthetic"
|
"cot"
|
"version-pin"
;
pending
?:
boolean
;
}
|
{
_tag
:
"proposal"
;
pending
?:
boolean
;
text
:
string
}
|
{
_tag
:
"reasoning"
;
pending
?:
boolean
;
reasoningText
?:
string
;
redactedText
?:
string
;
signature
?:
string
;
}
|
{
_tag
:
"reference"
;
pending
?:
boolean
;
reference
:
Ref
<
Unknown
>
}
|
{
_tag
:
"request"
;
options
:
readonly
{
id
:
string
;
kind
:
"allow_once"
|
"allow_always"
|
"reject_once"
|
"reject_always"
;
label
:
string
;
}
[]
;
pending
?:
boolean
;
preview
?:
{
label
:
string
;
text
:
string
}
;
requestId
:
string
;
resolution
?:
{
optionId
?:
string
;
outcome
:
"selected"
|
"cancelled"
}
;
title
:
string
;
toolCallId
?:
string
;
}
|
{
_tag
:
"select"
;
options
:
string
[]
;
pending
?:
boolean
}
|
{
_tag
:
"status"
;
pending
?:
boolean
;
statusText
:
string
}
|
{
_tag
:
"suggestion"
;
pending
?:
boolean
;
text
:
string
}
|
{
_tag
:
"stats"
;
duration
?:
number
;
errors
?:
number
;
finishReason
?:
|
"length"
|
"stop"
|
"content-filter"
|
"tool-calls"
|
"error"
|
"pause"
|
"other"
|
"unknown"
;
message
?:
string
;
mimeType
?:
string
;
model
?:
string
;
pending
?:
boolean
;
toolCalls
?:
number
;
usage
?:
{
inputTokens
?:
number
;
outputTokens
?:
number
;
totalTokens
?:
number
;
}
;
}
|
{
_tag
:
"surface"
;
data
?:
{
readonly
[
key
:
string
]:
unknown
}
;
pending
?:
boolean
;
role
:
string
;
}
|
{
_tag
:
"text"
;
disposition
?:
"user"
|
"summary"
|
"synthetic"
|
"cot"
|
"version-pin"
;
mimeType
?:
string
;
pending
?:
boolean
;
text
:
string
;
}
|
{
_tag
:
"summary"
;
content
:
string
;
pending
?:
boolean
}
|
{
_tag
:
"toolkit"
;
pending
?:
boolean
}
|
{
_tag
:
"toolCall"
;
displayIcon
?:
string
;
displayName
?:
string
;
input
:
string
;
name
:
string
;
operationIcon
?:
string
;
operationKey
?:
string
;
operationName
?:
string
;
pending
?:
boolean
;
providerExecuted
:
boolean
;
toolCallId
:
string
;
}
|
{
_tag
:
"toolResult"
;
error
?:
string
;
invocations
?:
{
error
?:
string
;
operationKey
:
string
}
[]
;
name
:
string
;
pending
?:
boolean
;
providerExecuted
:
boolean
;
result
?:
|
string
|
{
_tag
:
"~@dxos/types/ContentBlock.ContentBlockResult"
;
content
:
readonly
(
|
{
_tag
:
"text"
;
disposition
?:
(...)
|
(...)
|
(...)
|
(...)
|
(...)
|
(...)
;
mimeType
?:
(...)
|
(...)
;
pending
?:
(...)
|
(...)
|
(...)
;
text
:
string
;
}
|
{
_tag
:
"image"
;
id
?:
(...)
|
(...)
;
pending
?:
(...)
|
(...)
|
(...)
;
source
?:
(...)
|
(...)
|
(...)
;
}
|
{
_tag
:
"file"
;
mediaType
?:
(...)
|
(...)
;
name
?:
(...)
|
(...)
;
pending
?:
(...)
|
(...)
|
(...)
;
url
:
string
;
}
)
[]
;
}
;
toolCallId
:
string
;
}
|
{
_tag
:
"transcript"
;
candidates
?:
{
end
:
number
;
kind
:
"noun"
|
"proper-noun"
;
start
:
number
;
suggested
?:
{
typename
:
string
}
;
text
:
string
;
}
[]
;
corrected
?:
string
;
pending
?:
boolean
;
references
?:
Ref
<
Unknown
>
[]
;
started
:
string
;
text
:
string
;
translation
?:
string
;
}
)
[]
;
properties
?:
{
readonly
[
key
:
string
]:
any
}
;
}
|
{
_tag
:
"turnBegin"
;
from
?:
{
event
:
string
;
feed
?:
Ref
<
Feed
&
OfKind
<
Object
>
&
Unknown
>
;
thread
?:
string
&
Brand
<
"@dxos/echo/Feed/BranchId"
>
;
}
;
model
?:
DXN
;
}
|
{
_tag
:
"turnEnd"
;
error
?:
string
;
finishReason
:
|
"length"
|
"stop"
|
"content-filter"
|
"tool-calls"
|
"error"
|
"pause"
|
"other"
|
"unknown"
;
usage
?:
{
cacheReadTokens
?:
number
;
cacheWriteTokens
?:
number
;
inputTokens
?:
number
;
outputTokens
?:
number
;
}
;
}
|
{
_tag
:
"promptConsume"
;
message
:
string
}
|
{
_tag
:
"promptCancel"
;
message
:
string
}
|
{
_tag
:
"contextBind"
;
connections
?:
readonly
Ref
<
Unknown
>
[]
;
objects
:
readonly
Ref
<
Unknown
>
[]
;
skills
:
readonly
Ref
<
Skill
.
Skill
&
OfKind
<
Object
>
&
Unknown
>
[]
;
}
|
{
_tag
:
"contextUnbind"
;
connections
?:
readonly
Ref
<
Unknown
>
[]
;
objects
:
readonly
Ref
<
Unknown
>
[]
;
skills
:
readonly
Ref
<
Skill
.
Skill
&
OfKind
<
Object
>
&
Unknown
>
[]
;
}
|
{
_tag
:
"alarmSet"
;
message
?:
string
;
wakeAt
:
number
}
|
{
_tag
:
"alarmCancel"
;
alarm
:
string
}
|
{
_tag
:
"alarmFire"
;
alarm
:
string
}
|
{
_tag
:
"toolBackground"
;
pid
?:
string
;
toolCallId
:
string
}
|
{
_tag
:
"toolDeliver"
;
result
:
{
_tag
:
"toolResult"
;
error
?:
string
;
invocations
?:
{
error
?:
string
;
operationKey
:
string
}
[]
;
name
:
string
;
pending
?:
boolean
;
providerExecuted
:
boolean
;
result
?:
|
string
|
{
_tag
:
"~@dxos/types/ContentBlock.ContentBlockResult"
;
content
:
readonly
(
|
{
_tag
:
"text"
;
disposition
?:
|
"user"
|
"summary"
|
"synthetic"
|
"cot"
|
"version-pin"
;
mimeType
?:
string
;
pending
?:
boolean
;
text
:
string
;
}
|
{
_tag
:
"image"
;
id
?:
string
;
pending
?:
boolean
;
source
?:
|
{
data
:
string
;
mediaType
:
string
;
type
:
"base64"
}
|
{
type
:
"http"
;
url
:
string
}
;
}
|
{
_tag
:
"file"
;
mediaType
?:
string
;
name
?:
string
;
pending
?:
boolean
;
url
:
string
;
}
)
[]
;
}
;
toolCallId
:
string
;
}
;
toolCallId
:
string
;
}
|
{
_tag
:
"hookBegin"
;
hook
:
string
;
kind
:
"inline"
|
"background"
|
"agentic"
;
thread
?:
string
&
Brand
<
"@dxos/echo/Feed/BranchId"
>
;
}
|
{
_tag
:
"hookEnd"
;
begin
:
string
;
blocks
?:
readonly
(
|
{
_tag
:
"anchor"
;
objectId
:
string
;
pending
?:
boolean
;
version
:
unknown
;
}
|
{
_tag
:
"change"
;
after
:
string
;
before
:
string
;
pending
?:
boolean
}
|
{
_tag
:
"file"
;
mediaType
?:
string
;
name
?:
string
;
pending
?:
boolean
;
url
:
string
;
}
|
{
_tag
:
"image"
;
id
?:
string
;
pending
?:
boolean
;
source
?:
|
{
data
:
string
;
mediaType
:
string
;
type
:
"base64"
}
|
{
type
:
"http"
;
url
:
string
}
;
}
|
{
_tag
:
"json"
;
data
:
string
;
disposition
?:
"user"
|
"summary"
|
"synthetic"
|
"cot"
|
"version-pin"
;
pending
?:
boolean
;
}
|
{
_tag
:
"proposal"
;
pending
?:
boolean
;
text
:
string
}
|
{
_tag
:
"reasoning"
;
pending
?:
boolean
;
reasoningText
?:
string
;
redactedText
?:
string
;
signature
?:
string
;
}
|
{
_tag
:
"reference"
;
pending
?:
boolean
;
reference
:
Ref
<
Unknown
>
}
|
{
_tag
:
"request"
;
options
:
readonly
{
id
:
string
;
kind
:
"allow_once"
|
"allow_always"
|
"reject_once"
|
"reject_always"
;
label
:
string
;
}
[]
;
pending
?:
boolean
;
preview
?:
{
label
:
string
;
text
:
string
}
;
requestId
:
string
;
resolution
?:
{
optionId
?:
string
;
outcome
:
"selected"
|
"cancelled"
}
;
title
:
string
;
toolCallId
?:
string
;
}
|
{
_tag
:
"select"
;
options
:
string
[]
;
pending
?:
boolean
}
|
{
_tag
:
"status"
;
pending
?:
boolean
;
statusText
:
string
}
|
{
_tag
:
"suggestion"
;
pending
?:
boolean
;
text
:
string
}
|
{
_tag
:
"stats"
;
duration
?:
number
;
errors
?:
number
;
finishReason
?:
|
"length"
|
"stop"
|
"content-filter"
|
"tool-calls"
|
"error"
|
"pause"
|
"other"
|
"unknown"
;
message
?:
string
;
mimeType
?:
string
;
model
?:
string
;
pending
?:
boolean
;
toolCalls
?:
number
;
usage
?:
{
inputTokens
?:
number
;
outputTokens
?:
number
;
totalTokens
?:
number
;
}
;
}
|
{
_tag
:
"surface"
;
data
?:
{
readonly
[
key
:
string
]:
unknown
}
;
pending
?:
boolean
;
role
:
string
;
}
|
{
_tag
:
"text"
;
disposition
?:
"user"
|
"summary"
|
"synthetic"
|
"cot"
|
"version-pin"
;
mimeType
?:
string
;
pending
?:
boolean
;
text
:
string
;
}
|
{
_tag
:
"summary"
;
content
:
string
;
pending
?:
boolean
}
|
{
_tag
:
"toolkit"
;
pending
?:
boolean
}
|
{
_tag
:
"toolCall"
;
displayIcon
?:
string
;
displayName
?:
string
;
input
:
string
;
name
:
string
;
operationIcon
?:
string
;
operationKey
?:
string
;
operationName
?:
string
;
pending
?:
boolean
;
providerExecuted
:
boolean
;
toolCallId
:
string
;
}
|
{
_tag
:
"toolResult"
;
error
?:
string
;
invocations
?:
{
error
?:
string
;
operationKey
:
string
}
[]
;
name
:
string
;
pending
?:
boolean
;
providerExecuted
:
boolean
;
result
?:
|
string
|
{
_tag
:
"~@dxos/types/ContentBlock.ContentBlockResult"
;
content
:
readonly
(
|
{
_tag
:
...
;
disposition
?:
...
;
mimeType
?:
...
;
pending
?:
...
;
text
:
...
;
}
|
{
_tag
:
...
;
id
?:
...
;
pending
?:
...
;
source
?:
...
}
|
{
_tag
:
...
;
mediaType
?:
...
;
name
?:
...
;
pending
?:
...
;
url
:
...
}
)
[]
;
}
;
toolCallId
:
string
;
}
|
{
_tag
:
"transcript"
;
candidates
?:
{
end
:
number
;
kind
:
"noun"
|
"proper-noun"
;
start
:
number
;
suggested
?:
{
typename
:
...
}
;
text
:
string
;
}
[]
;
corrected
?:
string
;
pending
?:
boolean
;
references
?:
Ref
<
Unknown
>
[]
;
started
:
string
;
text
:
string
;
translation
?:
string
;
}
)
[]
;
error
?:
string
;
}
|
{
_tag
:
"compact"
;
closure
?:
readonly
(
string
&
Brand
<
"@dxos/echo/Feed/BranchId"
>
)
[]
;
from
:
string
;
summary
:
readonly
(
|
{
_tag
:
"anchor"
;
objectId
:
string
;
pending
?:
boolean
;
version
:
unknown
;
}
|
{
_tag
:
"change"
;
after
:
string
;
before
:
string
;
pending
?:
boolean
}
|
{
_tag
:
"file"
;
mediaType
?:
string
;
name
?:
string
;
pending
?:
boolean
;
url
:
string
;
}
|
{
_tag
:
"image"
;
id
?:
string
;
pending
?:
boolean
;
source
?:
|
{
data
:
string
;
mediaType
:
string
;
type
:
"base64"
}
|
{
type
:
"http"
;
url
:
string
}
;
}
|
{
_tag
:
"json"
;
data
:
string
;
disposition
?:
"user"
|
"summary"
|
"synthetic"
|
"cot"
|
"version-pin"
;
pending
?:
boolean
;
}
|
{
_tag
:
"proposal"
;
pending
?:
boolean
;
text
:
string
}
|
{
_tag
:
"reasoning"
;
pending
?:
boolean
;
reasoningText
?:
string
;
redactedText
?:
string
;
signature
?:
string
;
}
|
{
_tag
:
"reference"
;
pending
?:
boolean
;
reference
:
Ref
<
Unknown
>
}
|
{
_tag
:
"request"
;
options
:
readonly
{
id
:
string
;
kind
:
"allow_once"
|
"allow_always"
|
"reject_once"
|
"reject_always"
;
label
:
string
;
}
[]
;
pending
?:
boolean
;
preview
?:
{
label
:
string
;
text
:
string
}
;
requestId
:
string
;
resolution
?:
{
optionId
?:
string
;
outcome
:
"selected"
|
"cancelled"
}
;
title
:
string
;
toolCallId
?:
string
;
}
|
{
_tag
:
"select"
;
options
:
string
[]
;
pending
?:
boolean
}
|
{
_tag
:
"status"
;
pending
?:
boolean
;
statusText
:
string
}
|
{
_tag
:
"suggestion"
;
pending
?:
boolean
;
text
:
string
}
|
{
_tag
:
"stats"
;
duration
?:
number
;
errors
?:
number
;
finishReason
?:
|
"length"
|
"stop"
|
"content-filter"
|
"tool-calls"
|
"error"
|
"pause"
|
"other"
|
"unknown"
;
message
?:
string
;
mimeType
?:
string
;
model
?:
string
;
pending
?:
boolean
;
toolCalls
?:
number
;
usage
?:
{
inputTokens
?:
number
;
outputTokens
?:
number
;
totalTokens
?:
number
;
}
;
}
|
{
_tag
:
"surface"
;
data
?:
{
readonly
[
key
:
string
]:
unknown
}
;
pending
?:
boolean
;
role
:
string
;
}
|
{
_tag
:
"text"
;
disposition
?:
"user"
|
"summary"
|
"synthetic"
|
"cot"
|
"version-pin"
;
mimeType
?:
string
;
pending
?:
boolean
;
text
:
string
;
}
|
{
_tag
:
"summary"
;
content
:
string
;
pending
?:
boolean
}
|
{
_tag
:
"toolkit"
;
pending
?:
boolean
}
|
{
_tag
:
"toolCall"
;
displayIcon
?:
string
;
displayName
?:
string
;
input
:
string
;
name
:
string
;
operationIcon
?:
string
;
operationKey
?:
string
;
operationName
?:
string
;
pending
?:
boolean
;
providerExecuted
:
boolean
;
toolCallId
:
string
;
}
|
{
_tag
:
"toolResult"
;
error
?:
string
;
invocations
?:
{
error
?:
string
;
operationKey
:
string
}
[]
;
name
:
string
;
pending
?:
boolean
;
providerExecuted
:
boolean
;
result
?:
|
string
|
{
_tag
:
"~@dxos/types/ContentBlock.ContentBlockResult"
;
content
:
readonly
(
|
{
_tag
:
"text"
;
disposition
?:
(...)
|
(...)
|
(...)
|
(...)
|
(...)
|
(...)
;
mimeType
?:
(...)
|
(...)
;
pending
?:
(...)
|
(...)
|
(...)
;
text
:
string
;
}
|
{
_tag
:
"image"
;
id
?:
(...)
|
(...)
;
pending
?:
(...)
|
(...)
|
(...)
;
source
?:
(...)
|
(...)
|
(...)
;
}
|
{
_tag
:
"file"
;
mediaType
?:
(...)
|
(...)
;
name
?:
(...)
|
(...)
;
pending
?:
(...)
|
(...)
|
(...)
;
url
:
string
;
}
)
[]
;
}
;
toolCallId
:
string
;
}
|
{
_tag
:
"transcript"
;
candidates
?:
{
end
:
number
;
kind
:
"noun"
|
"proper-noun"
;
start
:
number
;
suggested
?:
{
typename
:
string
}
;
text
:
string
;
}
[]
;
corrected
?:
string
;
pending
?:
boolean
;
references
?:
Ref
<
Unknown
>
[]
;
started
:
string
;
text
:
string
;
translation
?:
string
;
}
)
[]
;
to
:
string
;
}
|
{
_tag
:
"requestResolve"
;
message
:
string
;
requestId
:
string
;
resolution
:
{
optionId
?:
string
;
outcome
:
"selected"
|
"cancelled"
}
;
}
|
{
_tag
:
"rewind"
;
from
:
string
}
|
{
_tag
:
"fork"
;
from
:
{
event
:
string
;
feed
?:
Ref
<
Feed
&
OfKind
<
Object
>
&
Unknown
>
;
thread
?:
string
&
Brand
<
"@dxos/echo/Feed/BranchId"
>
;
}
;
}
|
{
_tag
:
"threadOpen"
;
from
?:
{
event
:
string
;
feed
?:
Ref
<
Feed
&
OfKind
<
Object
>
&
Unknown
>
;
thread
?:
string
&
Brand
<
"@dxos/echo/Feed/BranchId"
>
;
}
;
mode
:
"fork"
|
"fresh"
|
"light"
;
purpose
?:
string
;
siblings
?:
readonly
(
string
&
Brand
<
"@dxos/echo/Feed/BranchId"
>
)
[]
;
}
|
{
_tag
:
"threadMerge"
;
mode
:
"summary"
|
"raw"
;
summary
?:
readonly
(
|
{
_tag
:
"anchor"
;
objectId
:
string
;
pending
?:
boolean
;
version
:
unknown
;
}
|
{
_tag
:
"change"
;
after
:
string
;
before
:
string
;
pending
?:
boolean
}
|
{
_tag
:
"file"
;
mediaType
?:
string
;
name
?:
string
;
pending
?:
boolean
;
url
:
string
;
}
|
{
_tag
:
"image"
;
id
?:
string
;
pending
?:
boolean
;
source
?:
|
{
data
:
string
;
mediaType
:
string
;
type
:
"base64"
}
|
{
type
:
"http"
;
url
:
string
}
;
}
|
{
_tag
:
"json"
;
data
:
string
;
disposition
?:
"user"
|
"summary"
|
"synthetic"
|
"cot"
|
"version-pin"
;
pending
?:
boolean
;
}
|
{
_tag
:
"proposal"
;
pending
?:
boolean
;
text
:
string
}
|
{
_tag
:
"reasoning"
;
pending
?:
boolean
;
reasoningText
?:
string
;
redactedText
?:
string
;
signature
?:
string
;
}
|
{
_tag
:
"reference"
;
pending
?:
boolean
;
reference
:
Ref
<
Unknown
>
}
|
{
_tag
:
"request"
;
options
:
readonly
{
id
:
string
;
kind
:
"allow_once"
|
"allow_always"
|
"reject_once"
|
"reject_always"
;
label
:
string
;
}
[]
;
pending
?:
boolean
;
preview
?:
{
label
:
string
;
text
:
string
}
;
requestId
:
string
;
resolution
?:
{
optionId
?:
string
;
outcome
:
"selected"
|
"cancelled"
}
;
title
:
string
;
toolCallId
?:
string
;
}
|
{
_tag
:
"select"
;
options
:
string
[]
;
pending
?:
boolean
}
|
{
_tag
:
"status"
;
pending
?:
boolean
;
statusText
:
string
}
|
{
_tag
:
"suggestion"
;
pending
?:
boolean
;
text
:
string
}
|
{
_tag
:
"stats"
;
duration
?:
number
;
errors
?:
number
;
finishReason
?:
|
"length"
|
"stop"
|
"content-filter"
|
"tool-calls"
|
"error"
|
"pause"
|
"other"
|
"unknown"
;
message
?:
string
;
mimeType
?:
string
;
model
?:
string
;
pending
?:
boolean
;
toolCalls
?:
number
;
usage
?:
{
inputTokens
?:
number
;
outputTokens
?:
number
;
totalTokens
?:
number
;
}
;
}
|
{
_tag
:
"surface"
;
data
?:
{
readonly
[
key
:
string
]:
unknown
}
;
pending
?:
boolean
;
role
:
string
;
}
|
{
_tag
:
"text"
;
disposition
?:
"user"
|
"summary"
|
"synthetic"
|
"cot"
|
"version-pin"
;
mimeType
?:
string
;
pending
?:
boolean
;
text
:
string
;
}
|
{
_tag
:
"summary"
;
content
:
string
;
pending
?:
boolean
}
|
{
_tag
:
"toolkit"
;
pending
?:
boolean
}
|
{
_tag
:
"toolCall"
;
displayIcon
?:
string
;
displayName
?:
string
;
input
:
string
;
name
:
string
;
operationIcon
?:
string
;
operationKey
?:
string
;
operationName
?:
string
;
pending
?:
boolean
;
providerExecuted
:
boolean
;
toolCallId
:
string
;
}
|
{
_tag
:
"toolResult"
;
error
?:
string
;
invocations
?:
{
error
?:
string
;
operationKey
:
string
}
[]
;
name
:
string
;
pending
?:
boolean
;
providerExecuted
:
boolean
;
result
?:
|
string
|
{
_tag
:
"~@dxos/types/ContentBlock.ContentBlockResult"
;
content
:
readonly
(
|
{
_tag
:
...
;
disposition
?:
...
;
mimeType
?:
...
;
pending
?:
...
;
text
:
...
;
}
|
{
_tag
:
...
;
id
?:
...
;
pending
?:
...
;
source
?:
...
}
|
{
_tag
:
...
;
mediaType
?:
...
;
name
?:
...
;
pending
?:
...
;
url
:
...
}
)
[]
;
}
;
toolCallId
:
string
;
}
|
{
_tag
:
"transcript"
;
candidates
?:
{
end
:
number
;
kind
:
"noun"
|
"proper-noun"
;
start
:
number
;
suggested
?:
{
typename
:
...
}
;
text
:
string
;
}
[]
;
corrected
?:
string
;
pending
?:
boolean
;
references
?:
Ref
<
Unknown
>
[]
;
started
:
string
;
text
:
string
;
translation
?:
string
;
}
)
[]
;
}
|
{
_tag
:
"threadWait"
;
on
:
string
&
Brand
<
"@dxos/echo/Feed/BranchId"
>
}
|
{
_tag
:
"threadClose"
;
status
:
"cancelled"
|
"completed"
|
"failed"
}
|
{
_tag
:
"modelChange"
;
model
:
DXN
}
|
{
_tag
:
"custom"
;
blocks
?:
readonly
(
|
{
_tag
:
"anchor"
;
objectId
:
string
;
pending
?:
boolean
;
version
:
unknown
;
}
|
{
_tag
:
"change"
;
after
:
string
;
before
:
string
;
pending
?:
boolean
}
|
{
_tag
:
"file"
;
mediaType
?:
string
;
name
?:
string
;
pending
?:
boolean
;
url
:
string
;
}
|
{
_tag
:
"image"
;
id
?:
string
;
pending
?:
boolean
;
source
?:
|
{
data
:
string
;
mediaType
:
string
;
type
:
"base64"
}
|
{
type
:
"http"
;
url
:
string
}
;
}
|
{
_tag
:
"json"
;
data
:
string
;
disposition
?:
"user"
|
"summary"
|
"synthetic"
|
"cot"
|
"version-pin"
;
pending
?:
boolean
;
}
|
{
_tag
:
"proposal"
;
pending
?:
boolean
;
text
:
string
}
|
{
_tag
:
"reasoning"
;
pending
?:
boolean
;
reasoningText
?:
string
;
redactedText
?:
string
;
signature
?:
string
;
}
|
{
_tag
:
"reference"
;
pending
?:
boolean
;
reference
:
Ref
<
Unknown
>
}
|
{
_tag
:
"request"
;
options
:
readonly
{
id
:
string
;
kind
:
"allow_once"
|
"allow_always"
|
"reject_once"
|
"reject_always"
;
label
:
string
;
}
[]
;
pending
?:
boolean
;
preview
?:
{
label
:
string
;
text
:
string
}
;
requestId
:
string
;
resolution
?:
{
optionId
?:
string
;
outcome
:
"selected"
|
"cancelled"
}
;
title
:
string
;
toolCallId
?:
string
;
}
|
{
_tag
:
"select"
;
options
:
string
[]
;
pending
?:
boolean
}
|
{
_tag
:
"status"
;
pending
?:
boolean
;
statusText
:
string
}
|
{
_tag
:
"suggestion"
;
pending
?:
boolean
;
text
:
string
}
|
{
_tag
:
"stats"
;
duration
?:
number
;
errors
?:
number
;
finishReason
?:
|
"length"
|
"stop"
|
"content-filter"
|
"tool-calls"
|
"error"
|
"pause"
|
"other"
|
"unknown"
;
message
?:
string
;
mimeType
?:
string
;
model
?:
string
;
pending
?:
boolean
;
toolCalls
?:
number
;
usage
?:
{
inputTokens
?:
number
;
outputTokens
?:
number
;
totalTokens
?:
number
;
}
;
}
|
{
_tag
:
"surface"
;
data
?:
{
readonly
[
key
:
string
]:
unknown
}
;
pending
?:
boolean
;
role
:
string
;
}
|
{
_tag
:
"text"
;
disposition
?:
"user"
|
"summary"
|
"synthetic"
|
"cot"
|
"version-pin"
;
mimeType
?:
string
;
pending
?:
boolean
;
text
:
string
;
}
|
{
_tag
:
"summary"
;
content
:
string
;
pending
?:
boolean
}
|
{
_tag
:
"toolkit"
;
pending
?:
boolean
}
|
{
_tag
:
"toolCall"
;
displayIcon
?:
string
;
displayName
?:
string
;
input
:
string
;
name
:
string
;
operationIcon
?:
string
;
operationKey
?:
string
;
operationName
?:
string
;
pending
?:
boolean
;
providerExecuted
:
boolean
;
toolCallId
:
string
;
}
|
{
_tag
:
"toolResult"
;
error
?:
string
;
invocations
?:
{
error
?:
string
;
operationKey
:
string
}
[]
;
name
:
string
;
pending
?:
boolean
;
providerExecuted
:
boolean
;
result
?:
|
string
|
{
_tag
:
"~@dxos/types/ContentBlock.ContentBlockResult"
;
content
:
readonly
(
|
{
_tag
:
...
;
disposition
?:
...
;
mimeType
?:
...
;
pending
?:
...
;
text
:
...
;
}
|
{
_tag
:
...
;
id
?:
...
;
pending
?:
...
;
source
?:
...
}
|
{
_tag
:
...
;
mediaType
?:
...
;
name
?:
...
;
pending
?:
...
;
url
:
...
}
)
[]
;
}
;
toolCallId
:
string
;
}
|
{
_tag
:
"transcript"
;
candidates
?:
{
end
:
number
;
kind
:
"noun"
|
"proper-noun"
;
start
:
number
;
suggested
?:
{
typename
:
...
}
;
text
:
string
;
}
[]
;
corrected
?:
string
;
pending
?:
boolean
;
references
?:
Ref
<
Unknown
>
[]
;
started
:
string
;
text
:
string
;
translation
?:
string
;
}
)
[]
;
data
?:
unknown
;
type
:
string
;
visible
:
boolean
;
}
Parameters
__namedParameters
:
Trajectory
.
MakeProps
<
T
>
Returns
Trajectory
.
Event
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@dxos/compute - v0.16.0
Loading...
Creates an event (not yet appended to a feed).