Anchorage API reference
Documentation
GitHub
Preparing search index...
@proofoftech/flowsafe
agent-host
AgentThreadTopology
Interface AgentThreadTopology
interface
AgentThreadTopology
{
observe
(
context
:
ActorContext
,
input
:
AgentThreadObserveInput
,
)
:
Promise
<
Response
>
;
resume
(
context
:
ActorContext
,
record
:
ApprovalRecord
,
decision
:
ApprovalDecision
,
)
:
Promise
<
AgentRunEnvelope
>
;
start
(
context
:
ActorContext
,
input
:
AgentThreadStartInput
,
)
:
Promise
<
AgentRunEnvelope
>
;
status
(
context
:
ActorContext
,
input
:
AgentThreadRunRef
,
)
:
Promise
<
AgentRunEnvelope
|
undefined
>
;
terminate
?
(
context
:
ActorContext
,
input
:
AgentThreadRunRef
,
replayOnly
?:
boolean
,
)
:
Promise
<
AgentRunEnvelope
>
;
}
Hierarchy (
View Summary
)
AgentThreadTopology
AgentThreadBoundTopology
Index
Methods
observe
resume
start
status
terminate?
Methods
observe
observe
(
context
:
ActorContext
,
input
:
AgentThreadObserveInput
,
)
:
Promise
<
Response
>
Parameters
context
:
ActorContext
input
:
AgentThreadObserveInput
Returns
Promise
<
Response
>
resume
resume
(
context
:
ActorContext
,
record
:
ApprovalRecord
,
decision
:
ApprovalDecision
,
)
:
Promise
<
AgentRunEnvelope
>
Parameters
context
:
ActorContext
record
:
ApprovalRecord
decision
:
ApprovalDecision
Returns
Promise
<
AgentRunEnvelope
>
start
start
(
context
:
ActorContext
,
input
:
AgentThreadStartInput
,
)
:
Promise
<
AgentRunEnvelope
>
Parameters
context
:
ActorContext
input
:
AgentThreadStartInput
Returns
Promise
<
AgentRunEnvelope
>
status
status
(
context
:
ActorContext
,
input
:
AgentThreadRunRef
,
)
:
Promise
<
AgentRunEnvelope
|
undefined
>
Parameters
context
:
ActorContext
input
:
AgentThreadRunRef
Returns
Promise
<
AgentRunEnvelope
|
undefined
>
Optional
terminate
terminate
?
(
context
:
ActorContext
,
input
:
AgentThreadRunRef
,
replayOnly
?:
boolean
,
)
:
Promise
<
AgentRunEnvelope
>
Parameters
context
:
ActorContext
input
:
AgentThreadRunRef
Optional
replayOnly
:
boolean
Returns
Promise
<
AgentRunEnvelope
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Methods
observe
resume
start
status
terminate
Documentation
GitHub
Anchorage API reference
Loading...