@silo-code/sdk 0.54.0 → 0.56.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.
@@ -157,6 +157,37 @@ export interface AgentInfo {
157
157
  readonly attentionSince?: string;
158
158
  /** ISO timestamp of when the current `"working"` phase started; undefined otherwise. */
159
159
  readonly workingSince?: string;
160
+ /**
161
+ * ISO timestamp of when this session last **stopped** — undefined only
162
+ * while a turn is running ({@link AgentInfo.workingSince} is the live field
163
+ * then) and for a session never yet observed stopped at all.
164
+ *
165
+ * The counterpart to {@link AgentInfo.attentionSince}, and deliberately not
166
+ * the same thing. `attentionSince` answers "is there something unread
167
+ * here", so {@link AgentsService.acknowledge} clears it; this answers "how
168
+ * long ago did this stop", which looking at the session does not change. A
169
+ * settled, already-seen session has only this left to date it by — which is
170
+ * what makes a "finished 3h ago" row possible.
171
+ *
172
+ * Persisted and restored for both session kinds, so it survives a restart
173
+ * and an extension reload rather than restarting from whenever the reader
174
+ * first observed the session.
175
+ *
176
+ * **Treat it as a lower bound, not a precise turn boundary.** Silo stamps
177
+ * the exact moment where it observes one, but a session whose stop it never
178
+ * saw — restored from a record written before this field existed, or one
179
+ * that was mid-turn when the app exited — is dated from the last moment the
180
+ * host saw it alive. That is an estimate: the session stopped at or after
181
+ * it. Such a row is indistinguishable from an exact one, and
182
+ * {@link AgentInfo.stale} does **not** mark it — `stale` is scoped to a
183
+ * restored `working`/`needsAttention` duration, so a settled row carrying an
184
+ * estimate still reports `stale: false`. The estimate is replaced by an
185
+ * exact stamp the next time the session runs and stops.
186
+ *
187
+ * So: fine to render as an age or sort on; don't build on it as the precise
188
+ * instant a turn ended.
189
+ */
190
+ readonly idleSince?: string;
160
191
  /**
161
192
  * Soft, time-gap-based, **self-clearing** signal: this restored `working`/
162
193
  * `needsAttention` duration followed a gap long enough that it can't be
@@ -702,6 +733,138 @@ export interface AgentToolCall {
702
733
  readonly rawInput?: unknown;
703
734
  /** The tool's own result, same caveat as {@link rawInput}. */
704
735
  readonly rawOutput?: unknown;
736
+ /**
737
+ * This call dispatched a **subagent** — the agent handed a piece of work to
738
+ * another agent rather than doing it itself.
739
+ *
740
+ * A **durable fact about one frame, never revised**: the agent that sent it
741
+ * said so, and nothing later unsays it. Carried only on the frames that
742
+ * announce the dispatch (`claude-agent-acp` 0.75.1 sends it on the opening
743
+ * `tool_call` and the first few updates, then stops), so a consumer that
744
+ * patches rows by {@link toolCallId} must **accumulate** it — treat absence
745
+ * as "unchanged", exactly as it does for {@link title}.
746
+ *
747
+ * Present only where the agent marks a dispatch explicitly; never inferred
748
+ * from a tool's name.
749
+ */
750
+ readonly subagent?: boolean;
751
+ /**
752
+ * The call reported a status, but only **handed its work off** to run
753
+ * elsewhere — so the status describes the dispatch, not the work. A UI must
754
+ * not render such a call as finished: its `"completed"` means "the hand-off
755
+ * succeeded", and the delegated work may still have minutes to run.
756
+ *
757
+ * A **durable fact about one frame, never revised**, and on a different
758
+ * frame from the status it qualifies — in the 2026-10-06 capture the
759
+ * hand-off arrived with no `status` and the `status: "completed"` arrived
760
+ * with no hand-off. Accumulate, as with {@link subagent}.
761
+ *
762
+ * **Liveness is deliberately not modelled here, and should not be added.**
763
+ * Whether the delegated work is *still running* is derived state that
764
+ * changes over time, while a tool call in a transcript is history; nothing
765
+ * on the tool-call stream revisits a dispatch to say it finished either. So
766
+ * a UI counting these can only count *dispatches*, and must not claim a
767
+ * *named* delegated agent completed. An agent that reports a per-subagent
768
+ * finish does so on its own lifecycle updates, not by revising this call.
769
+ */
770
+ readonly handedOff?: boolean;
771
+ /**
772
+ * The {@link toolCallId} of the dispatching call this one was made **on
773
+ * behalf of** — set on every tool call a subagent makes, pointing at the
774
+ * {@link subagent} dispatch that started it.
775
+ *
776
+ * A **durable fact about one frame, never revised**, and the one piece of
777
+ * per-call attribution the delegated lifecycle offers: a UI can show
778
+ * delegated work as it happens, attributed to the dispatch it belongs to.
779
+ * The calls may arrive in a *later* turn than the dispatch, so a consumer
780
+ * should resolve the parent by id rather than by position.
781
+ *
782
+ * Absent on a call the agent made itself. A pointer to a dispatch the
783
+ * consumer has never seen (a transcript replayed from mid-delegation) is a
784
+ * real shape — fall back to rendering the call on its own.
785
+ */
786
+ readonly parentToolCallId?: string;
787
+ /**
788
+ * The delegated worker **this call dispatched** — set on a {@link subagent}
789
+ * dispatch, and the id that joins this row to the work done on its behalf.
790
+ *
791
+ * This is the one field that makes per-subagent completion renderable: the
792
+ * same id arrives on {@link AgentSessionUpdate.subagentId} for every frame
793
+ * the worker produces, and on {@link AgentDelegation.subagentId} when it
794
+ * finishes. So a UI can take a dispatch row and answer both "what did this
795
+ * agent do" and "is it done" without inferring anything from timing.
796
+ *
797
+ * Note the different subject from {@link AgentSessionUpdate.subagentId}:
798
+ * there, the worker that *authored* the frame; here, the worker this call
799
+ * *delegated to*. On the dispatching call those are different agents — the
800
+ * parent dispatches, the child works.
801
+ *
802
+ * Absent on a call that delegated nothing, and absent on an agent that does
803
+ * not report delegation at all. **A durable fact about one frame** —
804
+ * accumulate it by {@link toolCallId} as with {@link subagent}.
805
+ */
806
+ readonly subagentId?: string;
807
+ }
808
+ /**
809
+ * The lifecycle state of one delegated worker, as its own agent reports it.
810
+ *
811
+ * `"started"` means the worker exists and is working. The other four are
812
+ * **terminal**: nothing further arrives for that subagent, and a UI may say
813
+ * so permanently. They are distinguished because they are not the same news —
814
+ * `"completed"` is a result, `"failed"` is an error worth surfacing, and
815
+ * `"disconnected"` means nobody knows how it ended.
816
+ *
817
+ * Tolerate the set growing: an agent reporting a state this union does not
818
+ * name produces no {@link AgentDelegation} at all rather than a guess, so a
819
+ * consumer never sees a value outside it.
820
+ *
821
+ * @category Consumer Services
822
+ * @public
823
+ * @beta
824
+ */
825
+ export type AgentDelegationState = "started" | "completed" | "failed" | "cancelled" | "disconnected";
826
+ /**
827
+ * One **delegated worker's lifecycle** — a named subagent appearing, and later
828
+ * reporting how it ended.
829
+ *
830
+ * This is the signal that lets a transcript stop guessing about delegated
831
+ * work. {@link AgentToolCall.handedOff} says a dispatch's `"completed"` was
832
+ * only a hand-off; this says when the handed-off work actually finished, and
833
+ * *which* worker's it was. A UI can therefore show a per-agent result and a
834
+ * count of outstanding work that comes down — neither of which is derivable
835
+ * from the tool-call stream, which never revisits a dispatch.
836
+ *
837
+ * **Not every agent reports this.** Where the connected agent doesn't,
838
+ * {@link AgentSessionUpdate.delegation} is simply never set and a UI falls
839
+ * back to counting dispatches. Treat its absence as "this agent doesn't say",
840
+ * never as "nothing is running".
841
+ *
842
+ * @category Consumer Services
843
+ * @public
844
+ * @beta
845
+ */
846
+ export interface AgentDelegation {
847
+ /**
848
+ * The worker this event is about — the same id that appears on
849
+ * {@link AgentToolCall.subagentId} for the dispatch that started it and on
850
+ * {@link AgentSessionUpdate.subagentId} for every frame it produces.
851
+ *
852
+ * **Stable across every event for one worker**, including the repeat
853
+ * announcements some agents send when a worker resumes: Silo normalises the
854
+ * vendor's generation suffix away, so a consumer keyed on this id counts one
855
+ * worker once. The un-normalised form stays in
856
+ * {@link AgentSessionUpdate.raw} for anyone who wants it.
857
+ */
858
+ readonly subagentId: string;
859
+ /** The worker's human-readable name, e.g. `"Background sleep task"` —
860
+ * carried on the announcement, not on later state changes, so accumulate it
861
+ * rather than expecting it on the terminal event. */
862
+ readonly name?: string;
863
+ /** The prompt the worker was given. Same accumulation caveat as
864
+ * {@link name}, and it can be long — agents put structured payloads here. */
865
+ readonly task?: string;
866
+ /** Where the worker is in its life. See {@link AgentDelegationState}. */
867
+ readonly state: AgentDelegationState;
705
868
  }
706
869
  /**
707
870
  * One row of the agent's plan — the protocol's `plan` update entry.
@@ -822,6 +985,44 @@ export interface AgentSessionUpdate {
822
985
  * notification at all — see {@link AgentSessionUsage}.
823
986
  */
824
987
  readonly usage?: AgentSessionUsage;
988
+ /**
989
+ * The **delegated worker that produced this frame** — set on every update a
990
+ * subagent authored, absent on the session's own.
991
+ *
992
+ * Delegated work arrives on the same stream as the parent's, because a
993
+ * subagent is a session of its own that Silo routes into the session that
994
+ * spawned it. Without this field a subagent's prose and tool calls would be
995
+ * indistinguishable from the parent's and would read as the parent speaking.
996
+ * So: **render a frame carrying this attributed to its worker**, inside the
997
+ * dispatch it belongs to, never as the agent's own output.
998
+ *
999
+ * The id matches {@link AgentToolCall.subagentId} on the dispatch that
1000
+ * started the worker — note the different subject there (that call's
1001
+ * *delegate*; here, this frame's *author*). Where the frame also carries
1002
+ * {@link AgentToolCall.parentToolCallId}, that is the more direct route to
1003
+ * the dispatch row.
1004
+ *
1005
+ * Absent for every frame on a session with no delegation, and for every
1006
+ * agent that doesn't report it — in which case the transcript renders as it
1007
+ * always has.
1008
+ */
1009
+ readonly subagentId?: string;
1010
+ /**
1011
+ * A **delegated worker's lifecycle event** — a subagent appearing, or
1012
+ * reporting how it ended. `undefined` on every other frame.
1013
+ *
1014
+ * These events arrive on the **parent's** session, not the worker's, so
1015
+ * {@link subagentId} is `undefined` on a frame carrying one: it is the
1016
+ * parent telling you about its delegate. Read {@link AgentDelegation}
1017
+ * for which worker and what happened.
1018
+ *
1019
+ * Unlike most of this interface, this does **not** correspond to one
1020
+ * protocol `kind`. {@link kind} stays the wire's own discriminator and will
1021
+ * read a vendor spelling for these frames; don't match on it. Reading this
1022
+ * field instead is what keeps a consumer working when the canonical
1023
+ * protocol replaces the vendor extension underneath.
1024
+ */
1025
+ readonly delegation?: AgentDelegation;
825
1026
  /**
826
1027
  * The raw Agent Client Protocol `update` object — the **escape hatch**, for
827
1028
  * 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,M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G,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, 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";
@@ -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,wBAAw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kB,EAAE,MAAM,yBAAyB,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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@silo-code/sdk",
3
- "version": "0.54.0",
3
+ "version": "0.56.0",
4
4
  "description": "The public, types-first SDK for building Silo extensions — the only surface third-party extensions import.",
5
5
  "license": "MIT",
6
6
  "author": "Dave Weaver",
@@ -172,6 +172,37 @@ export interface AgentInfo {
172
172
  readonly attentionSince?: string;
173
173
  /** ISO timestamp of when the current `"working"` phase started; undefined otherwise. */
174
174
  readonly workingSince?: string;
175
+ /**
176
+ * ISO timestamp of when this session last **stopped** — undefined only
177
+ * while a turn is running ({@link AgentInfo.workingSince} is the live field
178
+ * then) and for a session never yet observed stopped at all.
179
+ *
180
+ * The counterpart to {@link AgentInfo.attentionSince}, and deliberately not
181
+ * the same thing. `attentionSince` answers "is there something unread
182
+ * here", so {@link AgentsService.acknowledge} clears it; this answers "how
183
+ * long ago did this stop", which looking at the session does not change. A
184
+ * settled, already-seen session has only this left to date it by — which is
185
+ * what makes a "finished 3h ago" row possible.
186
+ *
187
+ * Persisted and restored for both session kinds, so it survives a restart
188
+ * and an extension reload rather than restarting from whenever the reader
189
+ * first observed the session.
190
+ *
191
+ * **Treat it as a lower bound, not a precise turn boundary.** Silo stamps
192
+ * the exact moment where it observes one, but a session whose stop it never
193
+ * saw — restored from a record written before this field existed, or one
194
+ * that was mid-turn when the app exited — is dated from the last moment the
195
+ * host saw it alive. That is an estimate: the session stopped at or after
196
+ * it. Such a row is indistinguishable from an exact one, and
197
+ * {@link AgentInfo.stale} does **not** mark it — `stale` is scoped to a
198
+ * restored `working`/`needsAttention` duration, so a settled row carrying an
199
+ * estimate still reports `stale: false`. The estimate is replaced by an
200
+ * exact stamp the next time the session runs and stops.
201
+ *
202
+ * So: fine to render as an age or sort on; don't build on it as the precise
203
+ * instant a turn ended.
204
+ */
205
+ readonly idleSince?: string;
175
206
  /**
176
207
  * Soft, time-gap-based, **self-clearing** signal: this restored `working`/
177
208
  * `needsAttention` duration followed a gap long enough that it can't be
@@ -746,6 +777,145 @@ export interface AgentToolCall {
746
777
  readonly rawInput?: unknown;
747
778
  /** The tool's own result, same caveat as {@link rawInput}. */
748
779
  readonly rawOutput?: unknown;
780
+ /**
781
+ * This call dispatched a **subagent** — the agent handed a piece of work to
782
+ * another agent rather than doing it itself.
783
+ *
784
+ * A **durable fact about one frame, never revised**: the agent that sent it
785
+ * said so, and nothing later unsays it. Carried only on the frames that
786
+ * announce the dispatch (`claude-agent-acp` 0.75.1 sends it on the opening
787
+ * `tool_call` and the first few updates, then stops), so a consumer that
788
+ * patches rows by {@link toolCallId} must **accumulate** it — treat absence
789
+ * as "unchanged", exactly as it does for {@link title}.
790
+ *
791
+ * Present only where the agent marks a dispatch explicitly; never inferred
792
+ * from a tool's name.
793
+ */
794
+ readonly subagent?: boolean;
795
+ /**
796
+ * The call reported a status, but only **handed its work off** to run
797
+ * elsewhere — so the status describes the dispatch, not the work. A UI must
798
+ * not render such a call as finished: its `"completed"` means "the hand-off
799
+ * succeeded", and the delegated work may still have minutes to run.
800
+ *
801
+ * A **durable fact about one frame, never revised**, and on a different
802
+ * frame from the status it qualifies — in the 2026-10-06 capture the
803
+ * hand-off arrived with no `status` and the `status: "completed"` arrived
804
+ * with no hand-off. Accumulate, as with {@link subagent}.
805
+ *
806
+ * **Liveness is deliberately not modelled here, and should not be added.**
807
+ * Whether the delegated work is *still running* is derived state that
808
+ * changes over time, while a tool call in a transcript is history; nothing
809
+ * on the tool-call stream revisits a dispatch to say it finished either. So
810
+ * a UI counting these can only count *dispatches*, and must not claim a
811
+ * *named* delegated agent completed. An agent that reports a per-subagent
812
+ * finish does so on its own lifecycle updates, not by revising this call.
813
+ */
814
+ readonly handedOff?: boolean;
815
+ /**
816
+ * The {@link toolCallId} of the dispatching call this one was made **on
817
+ * behalf of** — set on every tool call a subagent makes, pointing at the
818
+ * {@link subagent} dispatch that started it.
819
+ *
820
+ * A **durable fact about one frame, never revised**, and the one piece of
821
+ * per-call attribution the delegated lifecycle offers: a UI can show
822
+ * delegated work as it happens, attributed to the dispatch it belongs to.
823
+ * The calls may arrive in a *later* turn than the dispatch, so a consumer
824
+ * should resolve the parent by id rather than by position.
825
+ *
826
+ * Absent on a call the agent made itself. A pointer to a dispatch the
827
+ * consumer has never seen (a transcript replayed from mid-delegation) is a
828
+ * real shape — fall back to rendering the call on its own.
829
+ */
830
+ readonly parentToolCallId?: string;
831
+ /**
832
+ * The delegated worker **this call dispatched** — set on a {@link subagent}
833
+ * dispatch, and the id that joins this row to the work done on its behalf.
834
+ *
835
+ * This is the one field that makes per-subagent completion renderable: the
836
+ * same id arrives on {@link AgentSessionUpdate.subagentId} for every frame
837
+ * the worker produces, and on {@link AgentDelegation.subagentId} when it
838
+ * finishes. So a UI can take a dispatch row and answer both "what did this
839
+ * agent do" and "is it done" without inferring anything from timing.
840
+ *
841
+ * Note the different subject from {@link AgentSessionUpdate.subagentId}:
842
+ * there, the worker that *authored* the frame; here, the worker this call
843
+ * *delegated to*. On the dispatching call those are different agents — the
844
+ * parent dispatches, the child works.
845
+ *
846
+ * Absent on a call that delegated nothing, and absent on an agent that does
847
+ * not report delegation at all. **A durable fact about one frame** —
848
+ * accumulate it by {@link toolCallId} as with {@link subagent}.
849
+ */
850
+ readonly subagentId?: string;
851
+ }
852
+
853
+ /**
854
+ * The lifecycle state of one delegated worker, as its own agent reports it.
855
+ *
856
+ * `"started"` means the worker exists and is working. The other four are
857
+ * **terminal**: nothing further arrives for that subagent, and a UI may say
858
+ * so permanently. They are distinguished because they are not the same news —
859
+ * `"completed"` is a result, `"failed"` is an error worth surfacing, and
860
+ * `"disconnected"` means nobody knows how it ended.
861
+ *
862
+ * Tolerate the set growing: an agent reporting a state this union does not
863
+ * name produces no {@link AgentDelegation} at all rather than a guess, so a
864
+ * consumer never sees a value outside it.
865
+ *
866
+ * @category Consumer Services
867
+ * @public
868
+ * @beta
869
+ */
870
+ export type AgentDelegationState =
871
+ | "started"
872
+ | "completed"
873
+ | "failed"
874
+ | "cancelled"
875
+ | "disconnected";
876
+
877
+ /**
878
+ * One **delegated worker's lifecycle** — a named subagent appearing, and later
879
+ * reporting how it ended.
880
+ *
881
+ * This is the signal that lets a transcript stop guessing about delegated
882
+ * work. {@link AgentToolCall.handedOff} says a dispatch's `"completed"` was
883
+ * only a hand-off; this says when the handed-off work actually finished, and
884
+ * *which* worker's it was. A UI can therefore show a per-agent result and a
885
+ * count of outstanding work that comes down — neither of which is derivable
886
+ * from the tool-call stream, which never revisits a dispatch.
887
+ *
888
+ * **Not every agent reports this.** Where the connected agent doesn't,
889
+ * {@link AgentSessionUpdate.delegation} is simply never set and a UI falls
890
+ * back to counting dispatches. Treat its absence as "this agent doesn't say",
891
+ * never as "nothing is running".
892
+ *
893
+ * @category Consumer Services
894
+ * @public
895
+ * @beta
896
+ */
897
+ export interface AgentDelegation {
898
+ /**
899
+ * The worker this event is about — the same id that appears on
900
+ * {@link AgentToolCall.subagentId} for the dispatch that started it and on
901
+ * {@link AgentSessionUpdate.subagentId} for every frame it produces.
902
+ *
903
+ * **Stable across every event for one worker**, including the repeat
904
+ * announcements some agents send when a worker resumes: Silo normalises the
905
+ * vendor's generation suffix away, so a consumer keyed on this id counts one
906
+ * worker once. The un-normalised form stays in
907
+ * {@link AgentSessionUpdate.raw} for anyone who wants it.
908
+ */
909
+ readonly subagentId: string;
910
+ /** The worker's human-readable name, e.g. `"Background sleep task"` —
911
+ * carried on the announcement, not on later state changes, so accumulate it
912
+ * rather than expecting it on the terminal event. */
913
+ readonly name?: string;
914
+ /** The prompt the worker was given. Same accumulation caveat as
915
+ * {@link name}, and it can be long — agents put structured payloads here. */
916
+ readonly task?: string;
917
+ /** Where the worker is in its life. See {@link AgentDelegationState}. */
918
+ readonly state: AgentDelegationState;
749
919
  }
750
920
 
751
921
  /**
@@ -869,6 +1039,44 @@ export interface AgentSessionUpdate {
869
1039
  * notification at all — see {@link AgentSessionUsage}.
870
1040
  */
871
1041
  readonly usage?: AgentSessionUsage;
1042
+ /**
1043
+ * The **delegated worker that produced this frame** — set on every update a
1044
+ * subagent authored, absent on the session's own.
1045
+ *
1046
+ * Delegated work arrives on the same stream as the parent's, because a
1047
+ * subagent is a session of its own that Silo routes into the session that
1048
+ * spawned it. Without this field a subagent's prose and tool calls would be
1049
+ * indistinguishable from the parent's and would read as the parent speaking.
1050
+ * So: **render a frame carrying this attributed to its worker**, inside the
1051
+ * dispatch it belongs to, never as the agent's own output.
1052
+ *
1053
+ * The id matches {@link AgentToolCall.subagentId} on the dispatch that
1054
+ * started the worker — note the different subject there (that call's
1055
+ * *delegate*; here, this frame's *author*). Where the frame also carries
1056
+ * {@link AgentToolCall.parentToolCallId}, that is the more direct route to
1057
+ * the dispatch row.
1058
+ *
1059
+ * Absent for every frame on a session with no delegation, and for every
1060
+ * agent that doesn't report it — in which case the transcript renders as it
1061
+ * always has.
1062
+ */
1063
+ readonly subagentId?: string;
1064
+ /**
1065
+ * A **delegated worker's lifecycle event** — a subagent appearing, or
1066
+ * reporting how it ended. `undefined` on every other frame.
1067
+ *
1068
+ * These events arrive on the **parent's** session, not the worker's, so
1069
+ * {@link subagentId} is `undefined` on a frame carrying one: it is the
1070
+ * parent telling you about its delegate. Read {@link AgentDelegation}
1071
+ * for which worker and what happened.
1072
+ *
1073
+ * Unlike most of this interface, this does **not** correspond to one
1074
+ * protocol `kind`. {@link kind} stays the wire's own discriminator and will
1075
+ * read a vendor spelling for these frames; don't match on it. Reading this
1076
+ * field instead is what keeps a consumer working when the canonical
1077
+ * protocol replaces the vendor extension underneath.
1078
+ */
1079
+ readonly delegation?: AgentDelegation;
872
1080
  /**
873
1081
  * The raw Agent Client Protocol `update` object — the **escape hatch**, for
874
1082
  * the kinds and fields this surface does not model.
package/src/index.ts CHANGED
@@ -133,6 +133,8 @@ export type {
133
133
  AgentToolCall,
134
134
  AgentToolCallContent,
135
135
  AgentToolCallLocation,
136
+ AgentDelegation,
137
+ AgentDelegationState,
136
138
  AgentPlanEntry,
137
139
  AgentSessionConfigOption,
138
140
  AgentSessionConfigChoice,