@silo-code/sdk 0.55.0 → 0.57.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agents-service.d.ts +251 -0
- package/dist/agents-service.d.ts.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/agents-service.ts +265 -0
- package/src/index.ts +4 -0
package/dist/agents-service.d.ts
CHANGED
|
@@ -768,6 +768,28 @@ export interface AgentToolCall {
|
|
|
768
768
|
* finish does so on its own lifecycle updates, not by revising this call.
|
|
769
769
|
*/
|
|
770
770
|
readonly handedOff?: boolean;
|
|
771
|
+
/**
|
|
772
|
+
* This call's command **detached into the background** — so its status
|
|
773
|
+
* describes the hand-off, and the command itself may have minutes left to
|
|
774
|
+
* run. A UI must not render such a call as finished.
|
|
775
|
+
*
|
|
776
|
+
* A **durable fact about one frame, never revised** — accumulate it, exactly
|
|
777
|
+
* as with {@link subagent} and {@link handedOff}. It rides the frame the tool
|
|
778
|
+
* result emits, which in the 2026-10-08 capture is the very frame carrying
|
|
779
|
+
* the misleading `status: "completed"`.
|
|
780
|
+
*
|
|
781
|
+
* **Distinct from {@link handedOff}, and the difference is the point.**
|
|
782
|
+
* `handedOff` means nobody will ever report how the work ended; this means a
|
|
783
|
+
* terminal state *is* coming, as
|
|
784
|
+
* {@link AgentSessionUpdate.backgroundTask}. So a backgrounded row can
|
|
785
|
+
* legitimately animate as running and then settle, where a handed-off
|
|
786
|
+
* dispatch can do neither. The two are not synonyms and a consumer that
|
|
787
|
+
* collapses them cannot render either honestly.
|
|
788
|
+
*
|
|
789
|
+
* Set only where the agent marks the detachment explicitly; never inferred
|
|
790
|
+
* from a tool's name or from a suspiciously fast `"completed"`.
|
|
791
|
+
*/
|
|
792
|
+
readonly backgrounded?: boolean;
|
|
771
793
|
/**
|
|
772
794
|
* The {@link toolCallId} of the dispatching call this one was made **on
|
|
773
795
|
* behalf of** — set on every tool call a subagent makes, pointing at the
|
|
@@ -784,6 +806,180 @@ export interface AgentToolCall {
|
|
|
784
806
|
* real shape — fall back to rendering the call on its own.
|
|
785
807
|
*/
|
|
786
808
|
readonly parentToolCallId?: string;
|
|
809
|
+
/**
|
|
810
|
+
* The delegated worker **this call dispatched** — set on a {@link subagent}
|
|
811
|
+
* dispatch, and the id that joins this row to the work done on its behalf.
|
|
812
|
+
*
|
|
813
|
+
* This is the one field that makes per-subagent completion renderable: the
|
|
814
|
+
* same id arrives on {@link AgentSessionUpdate.subagentId} for every frame
|
|
815
|
+
* the worker produces, and on {@link AgentDelegation.subagentId} when it
|
|
816
|
+
* finishes. So a UI can take a dispatch row and answer both "what did this
|
|
817
|
+
* agent do" and "is it done" without inferring anything from timing.
|
|
818
|
+
*
|
|
819
|
+
* Note the different subject from {@link AgentSessionUpdate.subagentId}:
|
|
820
|
+
* there, the worker that *authored* the frame; here, the worker this call
|
|
821
|
+
* *delegated to*. On the dispatching call those are different agents — the
|
|
822
|
+
* parent dispatches, the child works.
|
|
823
|
+
*
|
|
824
|
+
* Absent on a call that delegated nothing, and absent on an agent that does
|
|
825
|
+
* not report delegation at all. **A durable fact about one frame** —
|
|
826
|
+
* accumulate it by {@link toolCallId} as with {@link subagent}.
|
|
827
|
+
*/
|
|
828
|
+
readonly subagentId?: string;
|
|
829
|
+
}
|
|
830
|
+
/**
|
|
831
|
+
* The lifecycle state of one delegated worker, as its own agent reports it.
|
|
832
|
+
*
|
|
833
|
+
* `"started"` means the worker exists and is working. The other four are
|
|
834
|
+
* **terminal**: nothing further arrives for that subagent, and a UI may say
|
|
835
|
+
* so permanently. They are distinguished because they are not the same news —
|
|
836
|
+
* `"completed"` is a result, `"failed"` is an error worth surfacing, and
|
|
837
|
+
* `"disconnected"` means nobody knows how it ended.
|
|
838
|
+
*
|
|
839
|
+
* Tolerate the set growing: an agent reporting a state this union does not
|
|
840
|
+
* name produces no {@link AgentDelegation} at all rather than a guess, so a
|
|
841
|
+
* consumer never sees a value outside it.
|
|
842
|
+
*
|
|
843
|
+
* @category Consumer Services
|
|
844
|
+
* @public
|
|
845
|
+
* @beta
|
|
846
|
+
*/
|
|
847
|
+
export type AgentDelegationState = "started" | "completed" | "failed" | "cancelled" | "disconnected";
|
|
848
|
+
/**
|
|
849
|
+
* One **delegated worker's lifecycle** — a named subagent appearing, and later
|
|
850
|
+
* reporting how it ended.
|
|
851
|
+
*
|
|
852
|
+
* This is the signal that lets a transcript stop guessing about delegated
|
|
853
|
+
* work. {@link AgentToolCall.handedOff} says a dispatch's `"completed"` was
|
|
854
|
+
* only a hand-off; this says when the handed-off work actually finished, and
|
|
855
|
+
* *which* worker's it was. A UI can therefore show a per-agent result and a
|
|
856
|
+
* count of outstanding work that comes down — neither of which is derivable
|
|
857
|
+
* from the tool-call stream, which never revisits a dispatch.
|
|
858
|
+
*
|
|
859
|
+
* **Not every agent reports this.** Where the connected agent doesn't,
|
|
860
|
+
* {@link AgentSessionUpdate.delegation} is simply never set and a UI falls
|
|
861
|
+
* back to counting dispatches. Treat its absence as "this agent doesn't say",
|
|
862
|
+
* never as "nothing is running".
|
|
863
|
+
*
|
|
864
|
+
* @category Consumer Services
|
|
865
|
+
* @public
|
|
866
|
+
* @beta
|
|
867
|
+
*/
|
|
868
|
+
export interface AgentDelegation {
|
|
869
|
+
/**
|
|
870
|
+
* The worker this event is about — the same id that appears on
|
|
871
|
+
* {@link AgentToolCall.subagentId} for the dispatch that started it and on
|
|
872
|
+
* {@link AgentSessionUpdate.subagentId} for every frame it produces.
|
|
873
|
+
*
|
|
874
|
+
* **Stable across every event for one worker**, including the repeat
|
|
875
|
+
* announcements some agents send when a worker resumes: Silo normalises the
|
|
876
|
+
* vendor's generation suffix away, so a consumer keyed on this id counts one
|
|
877
|
+
* worker once. The un-normalised form stays in
|
|
878
|
+
* {@link AgentSessionUpdate.raw} for anyone who wants it.
|
|
879
|
+
*/
|
|
880
|
+
readonly subagentId: string;
|
|
881
|
+
/** The worker's human-readable name, e.g. `"Background sleep task"` —
|
|
882
|
+
* carried on the announcement, not on later state changes, so accumulate it
|
|
883
|
+
* rather than expecting it on the terminal event. */
|
|
884
|
+
readonly name?: string;
|
|
885
|
+
/** The prompt the worker was given. Same accumulation caveat as
|
|
886
|
+
* {@link name}, and it can be long — agents put structured payloads here. */
|
|
887
|
+
readonly task?: string;
|
|
888
|
+
/** Where the worker is in its life. See {@link AgentDelegationState}. */
|
|
889
|
+
readonly state: AgentDelegationState;
|
|
890
|
+
}
|
|
891
|
+
/**
|
|
892
|
+
* Where a **backgrounded command** is in its life.
|
|
893
|
+
*
|
|
894
|
+
* `"running"` and `"paused"` are live; `"completed"`, `"failed"` and
|
|
895
|
+
* `"stopped"` are terminal. `"stopped"` means something ended it early rather
|
|
896
|
+
* than it finishing on its own.
|
|
897
|
+
*
|
|
898
|
+
* **A terminal state can be revised, once.** An agent may publish a
|
|
899
|
+
* best-effort terminal state and then correct it when the authoritative one
|
|
900
|
+
* arrives — in the 2026-10-08 capture `"stopped"` and `"completed"` landed in
|
|
901
|
+
* the same millisecond, in that order, for a command that succeeded. So a
|
|
902
|
+
* consumer must take the **latest** terminal state, not the first; latching the
|
|
903
|
+
* first renders a successful command as though something killed it.
|
|
904
|
+
*
|
|
905
|
+
* Tolerate the set growing: an agent reporting a state this union does not name
|
|
906
|
+
* produces no {@link AgentBackgroundTask} at all rather than a guess, so a
|
|
907
|
+
* consumer never sees a value outside it.
|
|
908
|
+
*
|
|
909
|
+
* @category Consumer Services
|
|
910
|
+
* @public
|
|
911
|
+
* @beta
|
|
912
|
+
*/
|
|
913
|
+
export type AgentBackgroundTaskState = "running" | "paused" | "completed" | "failed" | "stopped";
|
|
914
|
+
/**
|
|
915
|
+
* One **backgrounded command's lifecycle** — a shell command that detached from
|
|
916
|
+
* the agent's turn, and later reported how it ended.
|
|
917
|
+
*
|
|
918
|
+
* The shell counterpart to {@link AgentDelegation}, and the resolution for
|
|
919
|
+
* {@link AgentToolCall.backgrounded}: that flag says a tool call's
|
|
920
|
+
* `"completed"` described only the hand-off, and this says what became of the
|
|
921
|
+
* command itself.
|
|
922
|
+
*
|
|
923
|
+
* **Unlike delegated work, this resolves.** A subagent dispatch gets no finish
|
|
924
|
+
* signal on the tool-call stream at all, which is why a UI can only count
|
|
925
|
+
* dispatches. A backgrounded command reports an identified terminal state, so a
|
|
926
|
+
* row can settle and a count of outstanding work can come *down*.
|
|
927
|
+
*
|
|
928
|
+
* **It outlives its turn, and that is the normal case, not an edge.** In the
|
|
929
|
+
* 2026-10-08 capture the turn ended 24 seconds before the command did, with the
|
|
930
|
+
* session reading idle throughout. So never gate the rendering of this on
|
|
931
|
+
* whether the agent is currently working — the quiet window is exactly when it
|
|
932
|
+
* matters.
|
|
933
|
+
*
|
|
934
|
+
* **Not every agent reports this.** Where the connected agent doesn't,
|
|
935
|
+
* {@link AgentSessionUpdate.backgroundTask} is simply never set. Treat its
|
|
936
|
+
* absence as "this agent doesn't say", never as "nothing is running".
|
|
937
|
+
*
|
|
938
|
+
* @category Consumer Services
|
|
939
|
+
* @public
|
|
940
|
+
* @beta
|
|
941
|
+
*/
|
|
942
|
+
export interface AgentBackgroundTask {
|
|
943
|
+
/**
|
|
944
|
+
* The command this event is about — **the primary key**, stable for the
|
|
945
|
+
* task's whole life, and the only field always present.
|
|
946
|
+
*
|
|
947
|
+
* Key on this rather than on {@link toolCallId}: the announcing frame carries
|
|
948
|
+
* no tool call at all (see {@link toolCallId}), so a consumer keyed on the
|
|
949
|
+
* call would drop the announcement and with it {@link name},
|
|
950
|
+
* {@link taskType} and {@link canStop}.
|
|
951
|
+
*/
|
|
952
|
+
readonly asyncTaskId: string;
|
|
953
|
+
/**
|
|
954
|
+
* Where the command is in its life, **when this frame reported it**.
|
|
955
|
+
*
|
|
956
|
+
* Absent on a frame that carried only metadata — which is a distinction worth
|
|
957
|
+
* preserving rather than collapsing to `"running"`: a metadata frame can
|
|
958
|
+
* arrive *after* a terminal one, and reading it as "running" would resurrect
|
|
959
|
+
* a finished command.
|
|
960
|
+
*/
|
|
961
|
+
readonly state?: AgentBackgroundTaskState;
|
|
962
|
+
/**
|
|
963
|
+
* The tool call this command belongs to — the join that puts the lifecycle on
|
|
964
|
+
* the right row.
|
|
965
|
+
*
|
|
966
|
+
* **Learned, not given.** The announcing frame does not carry it; it first
|
|
967
|
+
* arrives on a later frame, once the agent correlates the two. Accumulate it,
|
|
968
|
+
* and expect a window in which a task is known but its row is not.
|
|
969
|
+
*/
|
|
970
|
+
readonly toolCallId?: string;
|
|
971
|
+
/** Human-readable label, e.g. `"Sleep for 30 seconds"`. Carried on the
|
|
972
|
+
* announcement, not on later state changes, so accumulate it rather than
|
|
973
|
+
* expecting it on the terminal event. */
|
|
974
|
+
readonly name?: string;
|
|
975
|
+
/** The agent's coarse category for the work, e.g. `"shell"`. Same
|
|
976
|
+
* accumulation caveat as {@link name}. */
|
|
977
|
+
readonly taskType?: string;
|
|
978
|
+
/** Whether the agent would honour a request to stop this command. Same
|
|
979
|
+
* accumulation caveat as {@link name}. */
|
|
980
|
+
readonly canStop?: boolean;
|
|
981
|
+
/** The agent's own closing summary, when it sent one. */
|
|
982
|
+
readonly summary?: string;
|
|
787
983
|
}
|
|
788
984
|
/**
|
|
789
985
|
* One row of the agent's plan — the protocol's `plan` update entry.
|
|
@@ -904,6 +1100,61 @@ export interface AgentSessionUpdate {
|
|
|
904
1100
|
* notification at all — see {@link AgentSessionUsage}.
|
|
905
1101
|
*/
|
|
906
1102
|
readonly usage?: AgentSessionUsage;
|
|
1103
|
+
/**
|
|
1104
|
+
* The **delegated worker that produced this frame** — set on every update a
|
|
1105
|
+
* subagent authored, absent on the session's own.
|
|
1106
|
+
*
|
|
1107
|
+
* Delegated work arrives on the same stream as the parent's, because a
|
|
1108
|
+
* subagent is a session of its own that Silo routes into the session that
|
|
1109
|
+
* spawned it. Without this field a subagent's prose and tool calls would be
|
|
1110
|
+
* indistinguishable from the parent's and would read as the parent speaking.
|
|
1111
|
+
* So: **render a frame carrying this attributed to its worker**, inside the
|
|
1112
|
+
* dispatch it belongs to, never as the agent's own output.
|
|
1113
|
+
*
|
|
1114
|
+
* The id matches {@link AgentToolCall.subagentId} on the dispatch that
|
|
1115
|
+
* started the worker — note the different subject there (that call's
|
|
1116
|
+
* *delegate*; here, this frame's *author*). Where the frame also carries
|
|
1117
|
+
* {@link AgentToolCall.parentToolCallId}, that is the more direct route to
|
|
1118
|
+
* the dispatch row.
|
|
1119
|
+
*
|
|
1120
|
+
* Absent for every frame on a session with no delegation, and for every
|
|
1121
|
+
* agent that doesn't report it — in which case the transcript renders as it
|
|
1122
|
+
* always has.
|
|
1123
|
+
*/
|
|
1124
|
+
readonly subagentId?: string;
|
|
1125
|
+
/**
|
|
1126
|
+
* A **delegated worker's lifecycle event** — a subagent appearing, or
|
|
1127
|
+
* reporting how it ended. `undefined` on every other frame.
|
|
1128
|
+
*
|
|
1129
|
+
* These events arrive on the **parent's** session, not the worker's, so
|
|
1130
|
+
* {@link subagentId} is `undefined` on a frame carrying one: it is the
|
|
1131
|
+
* parent telling you about its delegate. Read {@link AgentDelegation}
|
|
1132
|
+
* for which worker and what happened.
|
|
1133
|
+
*
|
|
1134
|
+
* Unlike most of this interface, this does **not** correspond to one
|
|
1135
|
+
* protocol `kind`. {@link kind} stays the wire's own discriminator and will
|
|
1136
|
+
* read a vendor spelling for these frames; don't match on it. Reading this
|
|
1137
|
+
* field instead is what keeps a consumer working when the canonical
|
|
1138
|
+
* protocol replaces the vendor extension underneath.
|
|
1139
|
+
*/
|
|
1140
|
+
readonly delegation?: AgentDelegation;
|
|
1141
|
+
/**
|
|
1142
|
+
* A **backgrounded command's lifecycle event** — a detached shell command
|
|
1143
|
+
* appearing, being correlated to its tool call, or reporting how it ended.
|
|
1144
|
+
* `undefined` on every other frame.
|
|
1145
|
+
*
|
|
1146
|
+
* The resolution for {@link AgentToolCall.backgrounded}. Read
|
|
1147
|
+
* {@link AgentBackgroundTask} for which command and what happened — and note
|
|
1148
|
+
* that these events keep arriving long after the turn that started them has
|
|
1149
|
+
* ended, which is the whole reason they are worth reading.
|
|
1150
|
+
*
|
|
1151
|
+
* Like {@link delegation}, this does **not** correspond to one protocol
|
|
1152
|
+
* `kind`. {@link kind} stays the wire's own discriminator and will read a
|
|
1153
|
+
* vendor spelling for these frames; don't match on it. Reading this field
|
|
1154
|
+
* instead is what keeps a consumer working when the canonical protocol
|
|
1155
|
+
* replaces the vendor extension underneath.
|
|
1156
|
+
*/
|
|
1157
|
+
readonly backgroundTask?: AgentBackgroundTask;
|
|
907
1158
|
/**
|
|
908
1159
|
* The raw Agent Client Protocol `update` object — the **escape hatch**, for
|
|
909
1160
|
* the kinds and fields this surface does not model.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agents-service.d.ts","sourceRoot":"","sources":["../src/agents-service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAC1C,OAAO,KAAK,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAQxE;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAM,MAAM,aAAa,GACrB,MAAM,GACN,SAAS,GACT,SAAS,GACT,MAAM,GACN,OAAO,GACP,MAAM,CAAC;AAEX;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,MAAM,gBAAgB,GAAG,UAAU,GAAG,MAAM,CAAC;AAEnD;;;;;;;;;;GAUG;AACH,MAAM,WAAW,SAAS;IACxB;;;;;;;OAOG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;;;;;OAMG;IACH,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;IAC7B,6CAA6C;IAC7C,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B;;;;;;;;;;;;;;;;;OAiBG;IACH,QAAQ,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC;IACtB;;;;;;;;;;;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OAAO,CAAA;KAAE,GACpC,UAAU,CAAC;IACd;;;;;;;;;;;;;;;;;;;;;;;;;;OA0BG;IACH,WAAW,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;;;;;;;;;;;;;;;OAkBG;IACH,SAAS,IAAI,MAAM,GAAG,IAAI,CAAC;IAC3B;;;;OAIG;IACH,eAAe,CAAC,QAAQ,EAAE,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,GAAG,UAAU,CAAC;IACnE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA+BG;IACH,YAAY,CAAC,MAAM,EAAE,iBAAiB,GAAG,UAAU,CAAC;IACpD;;;;;;;;;OASG;IACH,QAAQ,CAAC,MAAM,EAAE,aAAa,GAAG,UAAU,CAAC;IAC5C;;;;;OAKG;IACH,oBAAoB,IAAI,IAAI,CAAC;IAC7B;;;;;;;;;OASG;IACH,KAAK,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB;;;;;;;;;;;;OAYG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB;;;;;;;;;;;;;;;;;;OAkBG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB;;;;;;;;;;;OAWG;IACH,OAAO,IAAI,SAAS,mBAAmB,EAAE,CAAC;IAC1C;;;;;;;OAOG;IACH,QAAQ,CAAC,QAAQ,EAAE,oBAAoB,CAAC;IACxC;;;;;;;;;OASG;IACH,QAAQ,CAAC,QAAQ,EAAE,oBAAoB,CAAC;CACzC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ export type { PanelService } from "./panel-service.js";
|
|
|
23
23
|
export type { LayoutService, LayoutState, SidePanelColumnState, SideLocation, SheetOptions, } from "./layout-service.js";
|
|
24
24
|
export type { ProcessService, ProcessSession, ProcessSpawnOptions, ProcessExecOptions, ProcessExecResult, } from "./process-service.js";
|
|
25
25
|
export type { ProcessesService, ProcessInfo, ProcessStats, ProcessTreeNode, } from "./processes-service.js";
|
|
26
|
-
export type { AgentsService, AgentInfo, AgentSessionKind, AgentActivity, AgentIcon, AgentIconMode, CatalogAgentSummary, AgentProfilesService, AgentProfileSummary, LaunchAgentProfileOptions, LaunchAgentProfileResult, PromptRefusal, AgentSessionsService, AgentSessionHandle, AgentSessionConnectOptions, AgentSessionRestore, AgentSessionSummary, ChatResumeState, AgentPromptBlock, AgentPromptResult, AgentStopReason, AgentSessionUpdate, AgentSessionUsage, AgentContentBlock, AgentToolCall, AgentToolCallContent, AgentToolCallLocation, AgentPlanEntry, AgentSessionConfigOption, AgentSessionConfigChoice, AgentPermissionRequest, AgentPermissionOption, AgentCommand, AgentPromptCapabilities, } from "./agents-service.js";
|
|
26
|
+
export type { AgentsService, AgentInfo, AgentSessionKind, AgentActivity, AgentIcon, AgentIconMode, CatalogAgentSummary, AgentProfilesService, AgentProfileSummary, LaunchAgentProfileOptions, LaunchAgentProfileResult, PromptRefusal, AgentSessionsService, AgentSessionHandle, AgentSessionConnectOptions, AgentSessionRestore, AgentSessionSummary, ChatResumeState, AgentPromptBlock, AgentPromptResult, AgentStopReason, AgentSessionUpdate, AgentSessionUsage, AgentContentBlock, AgentToolCall, AgentToolCallContent, AgentToolCallLocation, AgentDelegation, AgentDelegationState, AgentBackgroundTask, AgentBackgroundTaskState, AgentPlanEntry, AgentSessionConfigOption, AgentSessionConfigChoice, AgentPermissionRequest, AgentPermissionOption, AgentCommand, AgentPromptCapabilities, } from "./agents-service.js";
|
|
27
27
|
export type { TerminalService, CreateTerminalInput, TerminalKind, TerminalRecord, TerminalTabDecoration, TerminalTabDecorationProvider, OscEvent, OutputOrigin, SubscribeOutputOptions, } from "./terminal-service.js";
|
|
28
28
|
export type { TabAdornmentColor, TabIconAdornment, TabHighlightAdornment, TabIndicatorAdornment, TabIndicatorFlash, TabActivityAdornment, TabActivityFlash, TabIconContribution, TabHighlightContribution, TabIndicatorContribution, TabActivityContribution, TabIconBinder, TabHighlightBinder, TabIndicatorBinder, TabActivityBinder, TabAdornmentMethods, } from "./tab-adornment.js";
|
|
29
29
|
export type { Activity, ActivitySize } from "./activity.js";
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAGH,YAAY,EACV,UAAU,EACV,YAAY,EACZ,cAAc,EACd,WAAW,EACX,kBAAkB,EAClB,MAAM,EACN,eAAe,EACf,QAAQ,EACR,OAAO,EACP,MAAM,EACN,oBAAoB,EACpB,WAAW,EACX,WAAW,EACX,uBAAuB,EACvB,UAAU,EACV,cAAc,EACd,SAAS,EACT,aAAa,EACb,kBAAkB,EAClB,aAAa,EACb,UAAU,EACV,YAAY,EACZ,gBAAgB,EAChB,SAAS,EACT,iBAAiB,EACjB,eAAe,GAChB,MAAM,SAAS,CAAC;AAKjB,YAAY,EACV,SAAS,EACT,UAAU,EACV,YAAY,EACZ,eAAe,EACf,aAAa,GACd,MAAM,gBAAgB,CAAC;AAGxB,YAAY,EACV,gBAAgB,EAChB,cAAc,EACd,oBAAoB,EACpB,kBAAkB,EAClB,uBAAuB,EACvB,qBAAqB,EACrB,wBAAwB,EACxB,cAAc,EACd,sBAAsB,EACtB,qBAAqB,EACrB,0BAA0B,GAC3B,MAAM,qBAAqB,CAAC;AAC7B,YAAY,EACV,aAAa,EACb,kBAAkB,EAClB,eAAe,EACf,cAAc,EACd,YAAY,EACZ,WAAW,EACX,kBAAkB,EAClB,mBAAmB,EACnB,gBAAgB,EAChB,YAAY,EACZ,eAAe,GAChB,MAAM,kBAAkB,CAAC;AAC1B,YAAY,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,YAAY,EACV,aAAa,EACb,WAAW,EACX,oBAAoB,EACpB,YAAY,EACZ,YAAY,GACb,MAAM,kBAAkB,CAAC;AAC1B,Y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,EAAE,MAAM,yBAAyB,CAAC;AAC7D,YAAY,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAOrE,OAAO,EACL,yBAAyB,EACzB,uBAAuB,GACxB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAGH,YAAY,EACV,UAAU,EACV,YAAY,EACZ,cAAc,EACd,WAAW,EACX,kBAAkB,EAClB,MAAM,EACN,eAAe,EACf,QAAQ,EACR,OAAO,EACP,MAAM,EACN,oBAAoB,EACpB,WAAW,EACX,WAAW,EACX,uBAAuB,EACvB,UAAU,EACV,cAAc,EACd,SAAS,EACT,aAAa,EACb,kBAAkB,EAClB,aAAa,EACb,UAAU,EACV,YAAY,EACZ,gBAAgB,EAChB,SAAS,EACT,iBAAiB,EACjB,eAAe,GAChB,MAAM,SAAS,CAAC;AAKjB,YAAY,EACV,SAAS,EACT,UAAU,EACV,YAAY,EACZ,eAAe,EACf,aAAa,GACd,MAAM,gBAAgB,CAAC;AAGxB,YAAY,EACV,gBAAgB,EAChB,cAAc,EACd,oBAAoB,EACpB,kBAAkB,EAClB,uBAAuB,EACvB,qBAAqB,EACrB,wBAAwB,EACxB,cAAc,EACd,sBAAsB,EACtB,qBAAqB,EACrB,0BAA0B,GAC3B,MAAM,qBAAqB,CAAC;AAC7B,YAAY,EACV,aAAa,EACb,kBAAkB,EAClB,eAAe,EACf,cAAc,EACd,YAAY,EACZ,WAAW,EACX,kBAAkB,EAClB,mBAAmB,EACnB,gBAAgB,EAChB,YAAY,EACZ,eAAe,GAChB,MAAM,kBAAkB,CAAC;AAC1B,YAAY,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,YAAY,EACV,aAAa,EACb,WAAW,EACX,oBAAoB,EACpB,YAAY,EACZ,YAAY,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AAmB,EACnB,qBAAqB,EACrB,kBAAkB,GACnB,MAAM,mBAAmB,CAAC;AAK3B,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,YAAY,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAOrE,OAAO,EACL,yBAAyB,EACzB,uBAAuB,GACxB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC"}
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAiKH,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAiChD,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AA8BlE,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAyBzC,sEAAsE;AACtE,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAkCjD,8EAA8E;AAC9E,8EAA8E;AAC9E,6DAA6D;AAC7D,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,yEAAyE;AACzE,iFAAiF;AACjF,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,4EAA4E;AAC5E,qDAAqD;AACrD,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAA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CAAC;AAG7D,6EAA6E;AAC7E,wEAAwE;AACxE,8CAA8C;AAC9C,wEAAwE;AACxE,+CAA+C;AAC/C,OAAO,EACL,yBAAyB,EACzB,uBAAuB,GACxB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC"}
|
package/package.json
CHANGED
package/src/agents-service.ts
CHANGED
|
@@ -812,6 +812,28 @@ export interface AgentToolCall {
|
|
|
812
812
|
* finish does so on its own lifecycle updates, not by revising this call.
|
|
813
813
|
*/
|
|
814
814
|
readonly handedOff?: boolean;
|
|
815
|
+
/**
|
|
816
|
+
* This call's command **detached into the background** — so its status
|
|
817
|
+
* describes the hand-off, and the command itself may have minutes left to
|
|
818
|
+
* run. A UI must not render such a call as finished.
|
|
819
|
+
*
|
|
820
|
+
* A **durable fact about one frame, never revised** — accumulate it, exactly
|
|
821
|
+
* as with {@link subagent} and {@link handedOff}. It rides the frame the tool
|
|
822
|
+
* result emits, which in the 2026-10-08 capture is the very frame carrying
|
|
823
|
+
* the misleading `status: "completed"`.
|
|
824
|
+
*
|
|
825
|
+
* **Distinct from {@link handedOff}, and the difference is the point.**
|
|
826
|
+
* `handedOff` means nobody will ever report how the work ended; this means a
|
|
827
|
+
* terminal state *is* coming, as
|
|
828
|
+
* {@link AgentSessionUpdate.backgroundTask}. So a backgrounded row can
|
|
829
|
+
* legitimately animate as running and then settle, where a handed-off
|
|
830
|
+
* dispatch can do neither. The two are not synonyms and a consumer that
|
|
831
|
+
* collapses them cannot render either honestly.
|
|
832
|
+
*
|
|
833
|
+
* Set only where the agent marks the detachment explicitly; never inferred
|
|
834
|
+
* from a tool's name or from a suspiciously fast `"completed"`.
|
|
835
|
+
*/
|
|
836
|
+
readonly backgrounded?: boolean;
|
|
815
837
|
/**
|
|
816
838
|
* The {@link toolCallId} of the dispatching call this one was made **on
|
|
817
839
|
* behalf of** — set on every tool call a subagent makes, pointing at the
|
|
@@ -828,6 +850,194 @@ export interface AgentToolCall {
|
|
|
828
850
|
* real shape — fall back to rendering the call on its own.
|
|
829
851
|
*/
|
|
830
852
|
readonly parentToolCallId?: string;
|
|
853
|
+
/**
|
|
854
|
+
* The delegated worker **this call dispatched** — set on a {@link subagent}
|
|
855
|
+
* dispatch, and the id that joins this row to the work done on its behalf.
|
|
856
|
+
*
|
|
857
|
+
* This is the one field that makes per-subagent completion renderable: the
|
|
858
|
+
* same id arrives on {@link AgentSessionUpdate.subagentId} for every frame
|
|
859
|
+
* the worker produces, and on {@link AgentDelegation.subagentId} when it
|
|
860
|
+
* finishes. So a UI can take a dispatch row and answer both "what did this
|
|
861
|
+
* agent do" and "is it done" without inferring anything from timing.
|
|
862
|
+
*
|
|
863
|
+
* Note the different subject from {@link AgentSessionUpdate.subagentId}:
|
|
864
|
+
* there, the worker that *authored* the frame; here, the worker this call
|
|
865
|
+
* *delegated to*. On the dispatching call those are different agents — the
|
|
866
|
+
* parent dispatches, the child works.
|
|
867
|
+
*
|
|
868
|
+
* Absent on a call that delegated nothing, and absent on an agent that does
|
|
869
|
+
* not report delegation at all. **A durable fact about one frame** —
|
|
870
|
+
* accumulate it by {@link toolCallId} as with {@link subagent}.
|
|
871
|
+
*/
|
|
872
|
+
readonly subagentId?: string;
|
|
873
|
+
}
|
|
874
|
+
|
|
875
|
+
/**
|
|
876
|
+
* The lifecycle state of one delegated worker, as its own agent reports it.
|
|
877
|
+
*
|
|
878
|
+
* `"started"` means the worker exists and is working. The other four are
|
|
879
|
+
* **terminal**: nothing further arrives for that subagent, and a UI may say
|
|
880
|
+
* so permanently. They are distinguished because they are not the same news —
|
|
881
|
+
* `"completed"` is a result, `"failed"` is an error worth surfacing, and
|
|
882
|
+
* `"disconnected"` means nobody knows how it ended.
|
|
883
|
+
*
|
|
884
|
+
* Tolerate the set growing: an agent reporting a state this union does not
|
|
885
|
+
* name produces no {@link AgentDelegation} at all rather than a guess, so a
|
|
886
|
+
* consumer never sees a value outside it.
|
|
887
|
+
*
|
|
888
|
+
* @category Consumer Services
|
|
889
|
+
* @public
|
|
890
|
+
* @beta
|
|
891
|
+
*/
|
|
892
|
+
export type AgentDelegationState =
|
|
893
|
+
| "started"
|
|
894
|
+
| "completed"
|
|
895
|
+
| "failed"
|
|
896
|
+
| "cancelled"
|
|
897
|
+
| "disconnected";
|
|
898
|
+
|
|
899
|
+
/**
|
|
900
|
+
* One **delegated worker's lifecycle** — a named subagent appearing, and later
|
|
901
|
+
* reporting how it ended.
|
|
902
|
+
*
|
|
903
|
+
* This is the signal that lets a transcript stop guessing about delegated
|
|
904
|
+
* work. {@link AgentToolCall.handedOff} says a dispatch's `"completed"` was
|
|
905
|
+
* only a hand-off; this says when the handed-off work actually finished, and
|
|
906
|
+
* *which* worker's it was. A UI can therefore show a per-agent result and a
|
|
907
|
+
* count of outstanding work that comes down — neither of which is derivable
|
|
908
|
+
* from the tool-call stream, which never revisits a dispatch.
|
|
909
|
+
*
|
|
910
|
+
* **Not every agent reports this.** Where the connected agent doesn't,
|
|
911
|
+
* {@link AgentSessionUpdate.delegation} is simply never set and a UI falls
|
|
912
|
+
* back to counting dispatches. Treat its absence as "this agent doesn't say",
|
|
913
|
+
* never as "nothing is running".
|
|
914
|
+
*
|
|
915
|
+
* @category Consumer Services
|
|
916
|
+
* @public
|
|
917
|
+
* @beta
|
|
918
|
+
*/
|
|
919
|
+
export interface AgentDelegation {
|
|
920
|
+
/**
|
|
921
|
+
* The worker this event is about — the same id that appears on
|
|
922
|
+
* {@link AgentToolCall.subagentId} for the dispatch that started it and on
|
|
923
|
+
* {@link AgentSessionUpdate.subagentId} for every frame it produces.
|
|
924
|
+
*
|
|
925
|
+
* **Stable across every event for one worker**, including the repeat
|
|
926
|
+
* announcements some agents send when a worker resumes: Silo normalises the
|
|
927
|
+
* vendor's generation suffix away, so a consumer keyed on this id counts one
|
|
928
|
+
* worker once. The un-normalised form stays in
|
|
929
|
+
* {@link AgentSessionUpdate.raw} for anyone who wants it.
|
|
930
|
+
*/
|
|
931
|
+
readonly subagentId: string;
|
|
932
|
+
/** The worker's human-readable name, e.g. `"Background sleep task"` —
|
|
933
|
+
* carried on the announcement, not on later state changes, so accumulate it
|
|
934
|
+
* rather than expecting it on the terminal event. */
|
|
935
|
+
readonly name?: string;
|
|
936
|
+
/** The prompt the worker was given. Same accumulation caveat as
|
|
937
|
+
* {@link name}, and it can be long — agents put structured payloads here. */
|
|
938
|
+
readonly task?: string;
|
|
939
|
+
/** Where the worker is in its life. See {@link AgentDelegationState}. */
|
|
940
|
+
readonly state: AgentDelegationState;
|
|
941
|
+
}
|
|
942
|
+
|
|
943
|
+
/**
|
|
944
|
+
* Where a **backgrounded command** is in its life.
|
|
945
|
+
*
|
|
946
|
+
* `"running"` and `"paused"` are live; `"completed"`, `"failed"` and
|
|
947
|
+
* `"stopped"` are terminal. `"stopped"` means something ended it early rather
|
|
948
|
+
* than it finishing on its own.
|
|
949
|
+
*
|
|
950
|
+
* **A terminal state can be revised, once.** An agent may publish a
|
|
951
|
+
* best-effort terminal state and then correct it when the authoritative one
|
|
952
|
+
* arrives — in the 2026-10-08 capture `"stopped"` and `"completed"` landed in
|
|
953
|
+
* the same millisecond, in that order, for a command that succeeded. So a
|
|
954
|
+
* consumer must take the **latest** terminal state, not the first; latching the
|
|
955
|
+
* first renders a successful command as though something killed it.
|
|
956
|
+
*
|
|
957
|
+
* Tolerate the set growing: an agent reporting a state this union does not name
|
|
958
|
+
* produces no {@link AgentBackgroundTask} at all rather than a guess, so a
|
|
959
|
+
* consumer never sees a value outside it.
|
|
960
|
+
*
|
|
961
|
+
* @category Consumer Services
|
|
962
|
+
* @public
|
|
963
|
+
* @beta
|
|
964
|
+
*/
|
|
965
|
+
export type AgentBackgroundTaskState =
|
|
966
|
+
| "running"
|
|
967
|
+
| "paused"
|
|
968
|
+
| "completed"
|
|
969
|
+
| "failed"
|
|
970
|
+
| "stopped";
|
|
971
|
+
|
|
972
|
+
/**
|
|
973
|
+
* One **backgrounded command's lifecycle** — a shell command that detached from
|
|
974
|
+
* the agent's turn, and later reported how it ended.
|
|
975
|
+
*
|
|
976
|
+
* The shell counterpart to {@link AgentDelegation}, and the resolution for
|
|
977
|
+
* {@link AgentToolCall.backgrounded}: that flag says a tool call's
|
|
978
|
+
* `"completed"` described only the hand-off, and this says what became of the
|
|
979
|
+
* command itself.
|
|
980
|
+
*
|
|
981
|
+
* **Unlike delegated work, this resolves.** A subagent dispatch gets no finish
|
|
982
|
+
* signal on the tool-call stream at all, which is why a UI can only count
|
|
983
|
+
* dispatches. A backgrounded command reports an identified terminal state, so a
|
|
984
|
+
* row can settle and a count of outstanding work can come *down*.
|
|
985
|
+
*
|
|
986
|
+
* **It outlives its turn, and that is the normal case, not an edge.** In the
|
|
987
|
+
* 2026-10-08 capture the turn ended 24 seconds before the command did, with the
|
|
988
|
+
* session reading idle throughout. So never gate the rendering of this on
|
|
989
|
+
* whether the agent is currently working — the quiet window is exactly when it
|
|
990
|
+
* matters.
|
|
991
|
+
*
|
|
992
|
+
* **Not every agent reports this.** Where the connected agent doesn't,
|
|
993
|
+
* {@link AgentSessionUpdate.backgroundTask} is simply never set. Treat its
|
|
994
|
+
* absence as "this agent doesn't say", never as "nothing is running".
|
|
995
|
+
*
|
|
996
|
+
* @category Consumer Services
|
|
997
|
+
* @public
|
|
998
|
+
* @beta
|
|
999
|
+
*/
|
|
1000
|
+
export interface AgentBackgroundTask {
|
|
1001
|
+
/**
|
|
1002
|
+
* The command this event is about — **the primary key**, stable for the
|
|
1003
|
+
* task's whole life, and the only field always present.
|
|
1004
|
+
*
|
|
1005
|
+
* Key on this rather than on {@link toolCallId}: the announcing frame carries
|
|
1006
|
+
* no tool call at all (see {@link toolCallId}), so a consumer keyed on the
|
|
1007
|
+
* call would drop the announcement and with it {@link name},
|
|
1008
|
+
* {@link taskType} and {@link canStop}.
|
|
1009
|
+
*/
|
|
1010
|
+
readonly asyncTaskId: string;
|
|
1011
|
+
/**
|
|
1012
|
+
* Where the command is in its life, **when this frame reported it**.
|
|
1013
|
+
*
|
|
1014
|
+
* Absent on a frame that carried only metadata — which is a distinction worth
|
|
1015
|
+
* preserving rather than collapsing to `"running"`: a metadata frame can
|
|
1016
|
+
* arrive *after* a terminal one, and reading it as "running" would resurrect
|
|
1017
|
+
* a finished command.
|
|
1018
|
+
*/
|
|
1019
|
+
readonly state?: AgentBackgroundTaskState;
|
|
1020
|
+
/**
|
|
1021
|
+
* The tool call this command belongs to — the join that puts the lifecycle on
|
|
1022
|
+
* the right row.
|
|
1023
|
+
*
|
|
1024
|
+
* **Learned, not given.** The announcing frame does not carry it; it first
|
|
1025
|
+
* arrives on a later frame, once the agent correlates the two. Accumulate it,
|
|
1026
|
+
* and expect a window in which a task is known but its row is not.
|
|
1027
|
+
*/
|
|
1028
|
+
readonly toolCallId?: string;
|
|
1029
|
+
/** Human-readable label, e.g. `"Sleep for 30 seconds"`. Carried on the
|
|
1030
|
+
* announcement, not on later state changes, so accumulate it rather than
|
|
1031
|
+
* expecting it on the terminal event. */
|
|
1032
|
+
readonly name?: string;
|
|
1033
|
+
/** The agent's coarse category for the work, e.g. `"shell"`. Same
|
|
1034
|
+
* accumulation caveat as {@link name}. */
|
|
1035
|
+
readonly taskType?: string;
|
|
1036
|
+
/** Whether the agent would honour a request to stop this command. Same
|
|
1037
|
+
* accumulation caveat as {@link name}. */
|
|
1038
|
+
readonly canStop?: boolean;
|
|
1039
|
+
/** The agent's own closing summary, when it sent one. */
|
|
1040
|
+
readonly summary?: string;
|
|
831
1041
|
}
|
|
832
1042
|
|
|
833
1043
|
/**
|
|
@@ -951,6 +1161,61 @@ export interface AgentSessionUpdate {
|
|
|
951
1161
|
* notification at all — see {@link AgentSessionUsage}.
|
|
952
1162
|
*/
|
|
953
1163
|
readonly usage?: AgentSessionUsage;
|
|
1164
|
+
/**
|
|
1165
|
+
* The **delegated worker that produced this frame** — set on every update a
|
|
1166
|
+
* subagent authored, absent on the session's own.
|
|
1167
|
+
*
|
|
1168
|
+
* Delegated work arrives on the same stream as the parent's, because a
|
|
1169
|
+
* subagent is a session of its own that Silo routes into the session that
|
|
1170
|
+
* spawned it. Without this field a subagent's prose and tool calls would be
|
|
1171
|
+
* indistinguishable from the parent's and would read as the parent speaking.
|
|
1172
|
+
* So: **render a frame carrying this attributed to its worker**, inside the
|
|
1173
|
+
* dispatch it belongs to, never as the agent's own output.
|
|
1174
|
+
*
|
|
1175
|
+
* The id matches {@link AgentToolCall.subagentId} on the dispatch that
|
|
1176
|
+
* started the worker — note the different subject there (that call's
|
|
1177
|
+
* *delegate*; here, this frame's *author*). Where the frame also carries
|
|
1178
|
+
* {@link AgentToolCall.parentToolCallId}, that is the more direct route to
|
|
1179
|
+
* the dispatch row.
|
|
1180
|
+
*
|
|
1181
|
+
* Absent for every frame on a session with no delegation, and for every
|
|
1182
|
+
* agent that doesn't report it — in which case the transcript renders as it
|
|
1183
|
+
* always has.
|
|
1184
|
+
*/
|
|
1185
|
+
readonly subagentId?: string;
|
|
1186
|
+
/**
|
|
1187
|
+
* A **delegated worker's lifecycle event** — a subagent appearing, or
|
|
1188
|
+
* reporting how it ended. `undefined` on every other frame.
|
|
1189
|
+
*
|
|
1190
|
+
* These events arrive on the **parent's** session, not the worker's, so
|
|
1191
|
+
* {@link subagentId} is `undefined` on a frame carrying one: it is the
|
|
1192
|
+
* parent telling you about its delegate. Read {@link AgentDelegation}
|
|
1193
|
+
* for which worker and what happened.
|
|
1194
|
+
*
|
|
1195
|
+
* Unlike most of this interface, this does **not** correspond to one
|
|
1196
|
+
* protocol `kind`. {@link kind} stays the wire's own discriminator and will
|
|
1197
|
+
* read a vendor spelling for these frames; don't match on it. Reading this
|
|
1198
|
+
* field instead is what keeps a consumer working when the canonical
|
|
1199
|
+
* protocol replaces the vendor extension underneath.
|
|
1200
|
+
*/
|
|
1201
|
+
readonly delegation?: AgentDelegation;
|
|
1202
|
+
/**
|
|
1203
|
+
* A **backgrounded command's lifecycle event** — a detached shell command
|
|
1204
|
+
* appearing, being correlated to its tool call, or reporting how it ended.
|
|
1205
|
+
* `undefined` on every other frame.
|
|
1206
|
+
*
|
|
1207
|
+
* The resolution for {@link AgentToolCall.backgrounded}. Read
|
|
1208
|
+
* {@link AgentBackgroundTask} for which command and what happened — and note
|
|
1209
|
+
* that these events keep arriving long after the turn that started them has
|
|
1210
|
+
* ended, which is the whole reason they are worth reading.
|
|
1211
|
+
*
|
|
1212
|
+
* Like {@link delegation}, this does **not** correspond to one protocol
|
|
1213
|
+
* `kind`. {@link kind} stays the wire's own discriminator and will read a
|
|
1214
|
+
* vendor spelling for these frames; don't match on it. Reading this field
|
|
1215
|
+
* instead is what keeps a consumer working when the canonical protocol
|
|
1216
|
+
* replaces the vendor extension underneath.
|
|
1217
|
+
*/
|
|
1218
|
+
readonly backgroundTask?: AgentBackgroundTask;
|
|
954
1219
|
/**
|
|
955
1220
|
* The raw Agent Client Protocol `update` object — the **escape hatch**, for
|
|
956
1221
|
* the kinds and fields this surface does not model.
|
package/src/index.ts
CHANGED
|
@@ -133,6 +133,10 @@ export type {
|
|
|
133
133
|
AgentToolCall,
|
|
134
134
|
AgentToolCallContent,
|
|
135
135
|
AgentToolCallLocation,
|
|
136
|
+
AgentDelegation,
|
|
137
|
+
AgentDelegationState,
|
|
138
|
+
AgentBackgroundTask,
|
|
139
|
+
AgentBackgroundTaskState,
|
|
136
140
|
AgentPlanEntry,
|
|
137
141
|
AgentSessionConfigOption,
|
|
138
142
|
AgentSessionConfigChoice,
|