@silo-code/sdk 0.56.0 → 0.58.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.
@@ -16,9 +16,13 @@ import type { TabActivityBinder, TabIconBinder } from "./tab-adornment.js";
16
16
  * gone (no daemon to reattach to) after an unclean shutdown; nothing will
17
17
  * arrive to resolve this on its own.
18
18
  *
19
- * `"blocked"` (chat-kind only) is a turn suspended on
20
- * {@link AgentSessionHandle.onPermission} — a concrete, protocol-reported
21
- * question, not the inferred "no output for a while" guess `"idle"` is. It
19
+ * `"blocked"` (chat-kind only) is a turn suspended **awaiting a user
20
+ * answer** — either {@link AgentSessionHandle.onPermission} (the agent wants
21
+ * permission to run a tool) or {@link AgentSessionHandle.onElicitation} (the
22
+ * agent is asking a structured question). Both are concrete and
23
+ * protocol-reported, not the inferred "no output for a while" guess `"idle"`
24
+ * is, and they deliberately share one value: nothing a consumer renders would
25
+ * differ between them, and the user learns which it is on opening the tab. It
22
26
  * does not repeat the earlier `"waiting"` mistake: unlike a merely-idle
23
27
  * agent, it stays `"blocked"` even while its own session is the one on
24
28
  * screen, since "the agent needs you to answer something" is worth showing
@@ -768,6 +772,28 @@ export interface AgentToolCall {
768
772
  * finish does so on its own lifecycle updates, not by revising this call.
769
773
  */
770
774
  readonly handedOff?: boolean;
775
+ /**
776
+ * This call's command **detached into the background** — so its status
777
+ * describes the hand-off, and the command itself may have minutes left to
778
+ * run. A UI must not render such a call as finished.
779
+ *
780
+ * A **durable fact about one frame, never revised** — accumulate it, exactly
781
+ * as with {@link subagent} and {@link handedOff}. It rides the frame the tool
782
+ * result emits, which in the 2026-10-08 capture is the very frame carrying
783
+ * the misleading `status: "completed"`.
784
+ *
785
+ * **Distinct from {@link handedOff}, and the difference is the point.**
786
+ * `handedOff` means nobody will ever report how the work ended; this means a
787
+ * terminal state *is* coming, as
788
+ * {@link AgentSessionUpdate.backgroundTask}. So a backgrounded row can
789
+ * legitimately animate as running and then settle, where a handed-off
790
+ * dispatch can do neither. The two are not synonyms and a consumer that
791
+ * collapses them cannot render either honestly.
792
+ *
793
+ * Set only where the agent marks the detachment explicitly; never inferred
794
+ * from a tool's name or from a suspiciously fast `"completed"`.
795
+ */
796
+ readonly backgrounded?: boolean;
771
797
  /**
772
798
  * The {@link toolCallId} of the dispatching call this one was made **on
773
799
  * behalf of** — set on every tool call a subagent makes, pointing at the
@@ -866,6 +892,99 @@ export interface AgentDelegation {
866
892
  /** Where the worker is in its life. See {@link AgentDelegationState}. */
867
893
  readonly state: AgentDelegationState;
868
894
  }
895
+ /**
896
+ * Where a **backgrounded command** is in its life.
897
+ *
898
+ * `"running"` and `"paused"` are live; `"completed"`, `"failed"` and
899
+ * `"stopped"` are terminal. `"stopped"` means something ended it early rather
900
+ * than it finishing on its own.
901
+ *
902
+ * **A terminal state can be revised, once.** An agent may publish a
903
+ * best-effort terminal state and then correct it when the authoritative one
904
+ * arrives — in the 2026-10-08 capture `"stopped"` and `"completed"` landed in
905
+ * the same millisecond, in that order, for a command that succeeded. So a
906
+ * consumer must take the **latest** terminal state, not the first; latching the
907
+ * first renders a successful command as though something killed it.
908
+ *
909
+ * Tolerate the set growing: an agent reporting a state this union does not name
910
+ * produces no {@link AgentBackgroundTask} at all rather than a guess, so a
911
+ * consumer never sees a value outside it.
912
+ *
913
+ * @category Consumer Services
914
+ * @public
915
+ * @beta
916
+ */
917
+ export type AgentBackgroundTaskState = "running" | "paused" | "completed" | "failed" | "stopped";
918
+ /**
919
+ * One **backgrounded command's lifecycle** — a shell command that detached from
920
+ * the agent's turn, and later reported how it ended.
921
+ *
922
+ * The shell counterpart to {@link AgentDelegation}, and the resolution for
923
+ * {@link AgentToolCall.backgrounded}: that flag says a tool call's
924
+ * `"completed"` described only the hand-off, and this says what became of the
925
+ * command itself.
926
+ *
927
+ * **Unlike delegated work, this resolves.** A subagent dispatch gets no finish
928
+ * signal on the tool-call stream at all, which is why a UI can only count
929
+ * dispatches. A backgrounded command reports an identified terminal state, so a
930
+ * row can settle and a count of outstanding work can come *down*.
931
+ *
932
+ * **It outlives its turn, and that is the normal case, not an edge.** In the
933
+ * 2026-10-08 capture the turn ended 24 seconds before the command did, with the
934
+ * session reading idle throughout. So never gate the rendering of this on
935
+ * whether the agent is currently working — the quiet window is exactly when it
936
+ * matters.
937
+ *
938
+ * **Not every agent reports this.** Where the connected agent doesn't,
939
+ * {@link AgentSessionUpdate.backgroundTask} is simply never set. Treat its
940
+ * absence as "this agent doesn't say", never as "nothing is running".
941
+ *
942
+ * @category Consumer Services
943
+ * @public
944
+ * @beta
945
+ */
946
+ export interface AgentBackgroundTask {
947
+ /**
948
+ * The command this event is about — **the primary key**, stable for the
949
+ * task's whole life, and the only field always present.
950
+ *
951
+ * Key on this rather than on {@link toolCallId}: the announcing frame carries
952
+ * no tool call at all (see {@link toolCallId}), so a consumer keyed on the
953
+ * call would drop the announcement and with it {@link name},
954
+ * {@link taskType} and {@link canStop}.
955
+ */
956
+ readonly asyncTaskId: string;
957
+ /**
958
+ * Where the command is in its life, **when this frame reported it**.
959
+ *
960
+ * Absent on a frame that carried only metadata — which is a distinction worth
961
+ * preserving rather than collapsing to `"running"`: a metadata frame can
962
+ * arrive *after* a terminal one, and reading it as "running" would resurrect
963
+ * a finished command.
964
+ */
965
+ readonly state?: AgentBackgroundTaskState;
966
+ /**
967
+ * The tool call this command belongs to — the join that puts the lifecycle on
968
+ * the right row.
969
+ *
970
+ * **Learned, not given.** The announcing frame does not carry it; it first
971
+ * arrives on a later frame, once the agent correlates the two. Accumulate it,
972
+ * and expect a window in which a task is known but its row is not.
973
+ */
974
+ readonly toolCallId?: string;
975
+ /** Human-readable label, e.g. `"Sleep for 30 seconds"`. Carried on the
976
+ * announcement, not on later state changes, so accumulate it rather than
977
+ * expecting it on the terminal event. */
978
+ readonly name?: string;
979
+ /** The agent's coarse category for the work, e.g. `"shell"`. Same
980
+ * accumulation caveat as {@link name}. */
981
+ readonly taskType?: string;
982
+ /** Whether the agent would honour a request to stop this command. Same
983
+ * accumulation caveat as {@link name}. */
984
+ readonly canStop?: boolean;
985
+ /** The agent's own closing summary, when it sent one. */
986
+ readonly summary?: string;
987
+ }
869
988
  /**
870
989
  * One row of the agent's plan — the protocol's `plan` update entry.
871
990
  *
@@ -1023,6 +1142,23 @@ export interface AgentSessionUpdate {
1023
1142
  * protocol replaces the vendor extension underneath.
1024
1143
  */
1025
1144
  readonly delegation?: AgentDelegation;
1145
+ /**
1146
+ * A **backgrounded command's lifecycle event** — a detached shell command
1147
+ * appearing, being correlated to its tool call, or reporting how it ended.
1148
+ * `undefined` on every other frame.
1149
+ *
1150
+ * The resolution for {@link AgentToolCall.backgrounded}. Read
1151
+ * {@link AgentBackgroundTask} for which command and what happened — and note
1152
+ * that these events keep arriving long after the turn that started them has
1153
+ * ended, which is the whole reason they are worth reading.
1154
+ *
1155
+ * Like {@link delegation}, this does **not** correspond to one protocol
1156
+ * `kind`. {@link kind} stays the wire's own discriminator and will read a
1157
+ * vendor spelling for these frames; don't match on it. Reading this field
1158
+ * instead is what keeps a consumer working when the canonical protocol
1159
+ * replaces the vendor extension underneath.
1160
+ */
1161
+ readonly backgroundTask?: AgentBackgroundTask;
1026
1162
  /**
1027
1163
  * The raw Agent Client Protocol `update` object — the **escape hatch**, for
1028
1164
  * the kinds and fields this surface does not model.
@@ -1102,6 +1238,173 @@ export interface AgentPermissionRequest {
1102
1238
  */
1103
1239
  respond(optionId: string): void;
1104
1240
  }
1241
+ /**
1242
+ * One choice in an {@link AgentElicitationQuestion} of kind `"select"` or
1243
+ * `"multi-select"`.
1244
+ *
1245
+ * @category Consumer Services
1246
+ * @public
1247
+ * @beta
1248
+ */
1249
+ export interface AgentElicitationOption {
1250
+ /** The value to send back as the answer. */
1251
+ readonly value: string;
1252
+ /** What to show the user. Falls back to {@link value} when the agent gave
1253
+ * no separate label. */
1254
+ readonly label: string;
1255
+ /** Secondary text, when the agent supplied one. */
1256
+ readonly description?: string;
1257
+ }
1258
+ /**
1259
+ * Which control an {@link AgentElicitationQuestion} asks for.
1260
+ *
1261
+ * Silo renders a deliberate subset of JSON Schema — the shape the agents
1262
+ * actually send. Anything outside it degrades to `"text"` rather than being
1263
+ * dropped, so **every question always reaches the user**: free text is a
1264
+ * first-class answer in this protocol, not a fallback that loses information.
1265
+ *
1266
+ * @category Consumer Services
1267
+ * @public
1268
+ * @beta
1269
+ */
1270
+ export type AgentElicitationQuestionKind = "select" | "multi-select" | "text" | "boolean" | "number";
1271
+ /**
1272
+ * The free-text "Other" box belonging to one question — present when the agent
1273
+ * paired one with it, as Claude's `AskUserQuestion` bridge does for every
1274
+ * question it asks.
1275
+ *
1276
+ * A typed custom answer **overrides** the selection: that is the agent's own
1277
+ * precedence rule, applied for you by
1278
+ * {@link AgentElicitationRequest.respond}.
1279
+ *
1280
+ * @category Consumer Services
1281
+ * @public
1282
+ * @beta
1283
+ */
1284
+ export interface AgentElicitationCustomAnswer {
1285
+ /** The field the typed answer is sent under. Rarely needed — pass custom
1286
+ * text as {@link AgentElicitationAnswer.custom} and Silo routes it. */
1287
+ readonly field: string;
1288
+ /** The box's label, e.g. `"Other"`. */
1289
+ readonly label?: string;
1290
+ /** Longer helper text, when the agent gave one. */
1291
+ readonly description?: string;
1292
+ }
1293
+ /**
1294
+ * One question in an {@link AgentElicitationRequest}.
1295
+ *
1296
+ * @category Consumer Services
1297
+ * @public
1298
+ * @beta
1299
+ */
1300
+ export interface AgentElicitationQuestion {
1301
+ /** Identifies the question when answering — the key in the map passed to
1302
+ * {@link AgentElicitationRequest.respond}. */
1303
+ readonly id: string;
1304
+ /** Which control to render. */
1305
+ readonly kind: AgentElicitationQuestionKind;
1306
+ /** The question to show. Never empty; for a single-question form this is
1307
+ * the request's own {@link AgentElicitationRequest.message}. */
1308
+ readonly prompt: string;
1309
+ /** A short header to show above {@link prompt}, when the agent gave one. */
1310
+ readonly title?: string;
1311
+ /** The choices, for `"select"` / `"multi-select"`. Never empty when
1312
+ * present — a question with no usable options arrives as `"text"`. */
1313
+ readonly options?: readonly AgentElicitationOption[];
1314
+ /** The question's own free-text box, when it has one. */
1315
+ readonly custom?: AgentElicitationCustomAnswer;
1316
+ }
1317
+ /**
1318
+ * One question's answer, as passed to
1319
+ * {@link AgentElicitationRequest.respond}.
1320
+ *
1321
+ * Omit both fields — or omit the question from the map entirely — to leave it
1322
+ * unanswered; Silo sends no value for it rather than inventing one.
1323
+ *
1324
+ * @category Consumer Services
1325
+ * @public
1326
+ * @beta
1327
+ */
1328
+ export interface AgentElicitationAnswer {
1329
+ /**
1330
+ * The selection or typed value, matched to the question's
1331
+ * {@link AgentElicitationQuestion.kind}: an option `value` for `"select"`,
1332
+ * an array of them for `"multi-select"`, the text for `"text"`, a boolean,
1333
+ * or a number. A number may be passed as the string an input produced — it
1334
+ * is coerced, and **omitted** if it does not parse, since a malformed value
1335
+ * would make some agents discard the whole payload.
1336
+ */
1337
+ readonly value?: string | readonly string[] | boolean | number;
1338
+ /**
1339
+ * Free text the user typed into this question's
1340
+ * {@link AgentElicitationQuestion.custom} box. When non-empty it overrides
1341
+ * {@link value}, per the agent's own precedence rule.
1342
+ */
1343
+ readonly custom?: string;
1344
+ }
1345
+ /**
1346
+ * The agent is **blocked on the user**: it is asking a structured question and
1347
+ * the turn will not proceed until one of {@link respond}, {@link decline} or
1348
+ * {@link cancel} is called. Delivered to
1349
+ * {@link AgentSessionHandle.onElicitation} (RFC 0062).
1350
+ *
1351
+ * This is the richer sibling of {@link AgentPermissionRequest} — several
1352
+ * questions in one ask, multi-select answers, per-question free text — and it
1353
+ * is what Claude's `AskUserQuestion` tool becomes. The surface is the
1354
+ * **parsed questions**, not the raw JSON Schema, so a chat UI never has to
1355
+ * reimplement the schema subset; `raw` is there for one that wants more.
1356
+ *
1357
+ * Auto-accept behavior is deliberately **not** extended to questions (RFC
1358
+ * 0047 is permission-only): there is no safe answer to invent, and guessing
1359
+ * would put words in the user's mouth and record them as the tool's answer.
1360
+ *
1361
+ * If no `onElicitation` listener is registered, Silo answers `cancel` on the
1362
+ * extension's behalf so the agent is never left hanging.
1363
+ *
1364
+ * @category Consumer Services
1365
+ * @public
1366
+ * @beta
1367
+ */
1368
+ export interface AgentElicitationRequest {
1369
+ /** The human-readable ask. For a single-question form this *is* the
1370
+ * question, and the question's `prompt` repeats it. */
1371
+ readonly message: string;
1372
+ /** The questions to put to the user, in the agent's order. */
1373
+ readonly questions: readonly AgentElicitationQuestion[];
1374
+ /**
1375
+ * True when the agent's schema named no fields: show {@link message} with
1376
+ * accept / decline / cancel and **no input**. Not a parse failure — with no
1377
+ * field to answer, an empty answer is the complete and correct reply.
1378
+ */
1379
+ readonly acknowledgeOnly: boolean;
1380
+ /** The tool call this question belongs to, when the agent sent one — the
1381
+ * same id as the matching {@link AgentToolCall.toolCallId}. */
1382
+ readonly toolCallId?: string;
1383
+ /** The raw Agent Client Protocol `elicitation/create` params, including
1384
+ * anything the parsed model above does not name. */
1385
+ readonly raw: Readonly<Record<string, unknown>>;
1386
+ /**
1387
+ * Accept with the collected answers, keyed by
1388
+ * {@link AgentElicitationQuestion.id}. Silo coerces each answer to the type
1389
+ * the agent declared and routes custom answers to their own field.
1390
+ *
1391
+ * Idempotent, and mutually exclusive with {@link decline} / {@link cancel} —
1392
+ * the first call wins and later ones are ignored.
1393
+ */
1394
+ respond(answers: Readonly<Record<string, AgentElicitationAnswer>>): void;
1395
+ /**
1396
+ * The user chose to **skip**. The agent is told so and the turn continues —
1397
+ * `claude-agent-acp` hands the model empty answers. This is the user's
1398
+ * decision, never Silo's.
1399
+ */
1400
+ decline(): void;
1401
+ /**
1402
+ * Abort the tool call the question belongs to. Stronger than
1403
+ * {@link decline}: the agent gives up on the call rather than continuing
1404
+ * without an answer.
1405
+ */
1406
+ cancel(): void;
1407
+ }
1105
1408
  /**
1106
1409
  * One selectable value inside an {@link AgentSessionConfigOption}.
1107
1410
  *
@@ -1334,6 +1637,15 @@ export interface AgentSessionHandle {
1334
1637
  * with none, Silo answers `cancelled`.
1335
1638
  */
1336
1639
  onPermission(listener: (request: AgentPermissionRequest) => void): Disposable;
1640
+ /**
1641
+ * Subscribe to {@link AgentElicitationRequest}s — the agent asking the user
1642
+ * a structured question (RFC 0062). Returns a {@link Disposable}.
1643
+ *
1644
+ * Same contract as {@link onPermission}: with at least one listener
1645
+ * registered, answering is your responsibility; with none, Silo answers
1646
+ * `cancel`.
1647
+ */
1648
+ onElicitation(listener: (request: AgentElicitationRequest) => void): Disposable;
1337
1649
  /**
1338
1650
  * The session-level controls the agent advertised at connect — mode, model,
1339
1651
  * and whatever else it offers, each a self-describing
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB;;;;;;;;;OASG;IACH,QAAQ,CAA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SAAS,CACP,QAAQ,EAAE,CAAC,KAAK,EAAE,SAAS,EAAE,KAAK,IAAI,EACtC,OAAO,CAAC,EAAE;QAAE,aAAa,CAAC,EAAE,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, AgentDelegation, AgentDelegationState, 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, AgentElicitationRequest, AgentElicitationQuestion, AgentElicitationQuestionKind, AgentElicitationOption, AgentElicitationCustomAnswer, AgentElicitationAnswer, 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,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,M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C;AACvE,YAAY,EACV,UAAU,EACV,iBAAiB,EACjB,wBAAwB,EACxB,mBAAmB,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"}
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,M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xB,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.56.0",
3
+ "version": "0.58.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",
@@ -23,9 +23,13 @@ import type { TabActivityBinder, TabIconBinder } from "./tab-adornment";
23
23
  * gone (no daemon to reattach to) after an unclean shutdown; nothing will
24
24
  * arrive to resolve this on its own.
25
25
  *
26
- * `"blocked"` (chat-kind only) is a turn suspended on
27
- * {@link AgentSessionHandle.onPermission} — a concrete, protocol-reported
28
- * question, not the inferred "no output for a while" guess `"idle"` is. It
26
+ * `"blocked"` (chat-kind only) is a turn suspended **awaiting a user
27
+ * answer** — either {@link AgentSessionHandle.onPermission} (the agent wants
28
+ * permission to run a tool) or {@link AgentSessionHandle.onElicitation} (the
29
+ * agent is asking a structured question). Both are concrete and
30
+ * protocol-reported, not the inferred "no output for a while" guess `"idle"`
31
+ * is, and they deliberately share one value: nothing a consumer renders would
32
+ * differ between them, and the user learns which it is on opening the tab. It
29
33
  * does not repeat the earlier `"waiting"` mistake: unlike a merely-idle
30
34
  * agent, it stays `"blocked"` even while its own session is the one on
31
35
  * screen, since "the agent needs you to answer something" is worth showing
@@ -812,6 +816,28 @@ export interface AgentToolCall {
812
816
  * finish does so on its own lifecycle updates, not by revising this call.
813
817
  */
814
818
  readonly handedOff?: boolean;
819
+ /**
820
+ * This call's command **detached into the background** — so its status
821
+ * describes the hand-off, and the command itself may have minutes left to
822
+ * run. A UI must not render such a call as finished.
823
+ *
824
+ * A **durable fact about one frame, never revised** — accumulate it, exactly
825
+ * as with {@link subagent} and {@link handedOff}. It rides the frame the tool
826
+ * result emits, which in the 2026-10-08 capture is the very frame carrying
827
+ * the misleading `status: "completed"`.
828
+ *
829
+ * **Distinct from {@link handedOff}, and the difference is the point.**
830
+ * `handedOff` means nobody will ever report how the work ended; this means a
831
+ * terminal state *is* coming, as
832
+ * {@link AgentSessionUpdate.backgroundTask}. So a backgrounded row can
833
+ * legitimately animate as running and then settle, where a handed-off
834
+ * dispatch can do neither. The two are not synonyms and a consumer that
835
+ * collapses them cannot render either honestly.
836
+ *
837
+ * Set only where the agent marks the detachment explicitly; never inferred
838
+ * from a tool's name or from a suspiciously fast `"completed"`.
839
+ */
840
+ readonly backgrounded?: boolean;
815
841
  /**
816
842
  * The {@link toolCallId} of the dispatching call this one was made **on
817
843
  * behalf of** — set on every tool call a subagent makes, pointing at the
@@ -918,6 +944,106 @@ export interface AgentDelegation {
918
944
  readonly state: AgentDelegationState;
919
945
  }
920
946
 
947
+ /**
948
+ * Where a **backgrounded command** is in its life.
949
+ *
950
+ * `"running"` and `"paused"` are live; `"completed"`, `"failed"` and
951
+ * `"stopped"` are terminal. `"stopped"` means something ended it early rather
952
+ * than it finishing on its own.
953
+ *
954
+ * **A terminal state can be revised, once.** An agent may publish a
955
+ * best-effort terminal state and then correct it when the authoritative one
956
+ * arrives — in the 2026-10-08 capture `"stopped"` and `"completed"` landed in
957
+ * the same millisecond, in that order, for a command that succeeded. So a
958
+ * consumer must take the **latest** terminal state, not the first; latching the
959
+ * first renders a successful command as though something killed it.
960
+ *
961
+ * Tolerate the set growing: an agent reporting a state this union does not name
962
+ * produces no {@link AgentBackgroundTask} at all rather than a guess, so a
963
+ * consumer never sees a value outside it.
964
+ *
965
+ * @category Consumer Services
966
+ * @public
967
+ * @beta
968
+ */
969
+ export type AgentBackgroundTaskState =
970
+ | "running"
971
+ | "paused"
972
+ | "completed"
973
+ | "failed"
974
+ | "stopped";
975
+
976
+ /**
977
+ * One **backgrounded command's lifecycle** — a shell command that detached from
978
+ * the agent's turn, and later reported how it ended.
979
+ *
980
+ * The shell counterpart to {@link AgentDelegation}, and the resolution for
981
+ * {@link AgentToolCall.backgrounded}: that flag says a tool call's
982
+ * `"completed"` described only the hand-off, and this says what became of the
983
+ * command itself.
984
+ *
985
+ * **Unlike delegated work, this resolves.** A subagent dispatch gets no finish
986
+ * signal on the tool-call stream at all, which is why a UI can only count
987
+ * dispatches. A backgrounded command reports an identified terminal state, so a
988
+ * row can settle and a count of outstanding work can come *down*.
989
+ *
990
+ * **It outlives its turn, and that is the normal case, not an edge.** In the
991
+ * 2026-10-08 capture the turn ended 24 seconds before the command did, with the
992
+ * session reading idle throughout. So never gate the rendering of this on
993
+ * whether the agent is currently working — the quiet window is exactly when it
994
+ * matters.
995
+ *
996
+ * **Not every agent reports this.** Where the connected agent doesn't,
997
+ * {@link AgentSessionUpdate.backgroundTask} is simply never set. Treat its
998
+ * absence as "this agent doesn't say", never as "nothing is running".
999
+ *
1000
+ * @category Consumer Services
1001
+ * @public
1002
+ * @beta
1003
+ */
1004
+ export interface AgentBackgroundTask {
1005
+ /**
1006
+ * The command this event is about — **the primary key**, stable for the
1007
+ * task's whole life, and the only field always present.
1008
+ *
1009
+ * Key on this rather than on {@link toolCallId}: the announcing frame carries
1010
+ * no tool call at all (see {@link toolCallId}), so a consumer keyed on the
1011
+ * call would drop the announcement and with it {@link name},
1012
+ * {@link taskType} and {@link canStop}.
1013
+ */
1014
+ readonly asyncTaskId: string;
1015
+ /**
1016
+ * Where the command is in its life, **when this frame reported it**.
1017
+ *
1018
+ * Absent on a frame that carried only metadata — which is a distinction worth
1019
+ * preserving rather than collapsing to `"running"`: a metadata frame can
1020
+ * arrive *after* a terminal one, and reading it as "running" would resurrect
1021
+ * a finished command.
1022
+ */
1023
+ readonly state?: AgentBackgroundTaskState;
1024
+ /**
1025
+ * The tool call this command belongs to — the join that puts the lifecycle on
1026
+ * the right row.
1027
+ *
1028
+ * **Learned, not given.** The announcing frame does not carry it; it first
1029
+ * arrives on a later frame, once the agent correlates the two. Accumulate it,
1030
+ * and expect a window in which a task is known but its row is not.
1031
+ */
1032
+ readonly toolCallId?: string;
1033
+ /** Human-readable label, e.g. `"Sleep for 30 seconds"`. Carried on the
1034
+ * announcement, not on later state changes, so accumulate it rather than
1035
+ * expecting it on the terminal event. */
1036
+ readonly name?: string;
1037
+ /** The agent's coarse category for the work, e.g. `"shell"`. Same
1038
+ * accumulation caveat as {@link name}. */
1039
+ readonly taskType?: string;
1040
+ /** Whether the agent would honour a request to stop this command. Same
1041
+ * accumulation caveat as {@link name}. */
1042
+ readonly canStop?: boolean;
1043
+ /** The agent's own closing summary, when it sent one. */
1044
+ readonly summary?: string;
1045
+ }
1046
+
921
1047
  /**
922
1048
  * One row of the agent's plan — the protocol's `plan` update entry.
923
1049
  *
@@ -1077,6 +1203,23 @@ export interface AgentSessionUpdate {
1077
1203
  * protocol replaces the vendor extension underneath.
1078
1204
  */
1079
1205
  readonly delegation?: AgentDelegation;
1206
+ /**
1207
+ * A **backgrounded command's lifecycle event** — a detached shell command
1208
+ * appearing, being correlated to its tool call, or reporting how it ended.
1209
+ * `undefined` on every other frame.
1210
+ *
1211
+ * The resolution for {@link AgentToolCall.backgrounded}. Read
1212
+ * {@link AgentBackgroundTask} for which command and what happened — and note
1213
+ * that these events keep arriving long after the turn that started them has
1214
+ * ended, which is the whole reason they are worth reading.
1215
+ *
1216
+ * Like {@link delegation}, this does **not** correspond to one protocol
1217
+ * `kind`. {@link kind} stays the wire's own discriminator and will read a
1218
+ * vendor spelling for these frames; don't match on it. Reading this field
1219
+ * instead is what keeps a consumer working when the canonical protocol
1220
+ * replaces the vendor extension underneath.
1221
+ */
1222
+ readonly backgroundTask?: AgentBackgroundTask;
1080
1223
  /**
1081
1224
  * The raw Agent Client Protocol `update` object — the **escape hatch**, for
1082
1225
  * the kinds and fields this surface does not model.
@@ -1159,6 +1302,184 @@ export interface AgentPermissionRequest {
1159
1302
  respond(optionId: string): void;
1160
1303
  }
1161
1304
 
1305
+ /**
1306
+ * One choice in an {@link AgentElicitationQuestion} of kind `"select"` or
1307
+ * `"multi-select"`.
1308
+ *
1309
+ * @category Consumer Services
1310
+ * @public
1311
+ * @beta
1312
+ */
1313
+ export interface AgentElicitationOption {
1314
+ /** The value to send back as the answer. */
1315
+ readonly value: string;
1316
+ /** What to show the user. Falls back to {@link value} when the agent gave
1317
+ * no separate label. */
1318
+ readonly label: string;
1319
+ /** Secondary text, when the agent supplied one. */
1320
+ readonly description?: string;
1321
+ }
1322
+
1323
+ /**
1324
+ * Which control an {@link AgentElicitationQuestion} asks for.
1325
+ *
1326
+ * Silo renders a deliberate subset of JSON Schema — the shape the agents
1327
+ * actually send. Anything outside it degrades to `"text"` rather than being
1328
+ * dropped, so **every question always reaches the user**: free text is a
1329
+ * first-class answer in this protocol, not a fallback that loses information.
1330
+ *
1331
+ * @category Consumer Services
1332
+ * @public
1333
+ * @beta
1334
+ */
1335
+ export type AgentElicitationQuestionKind =
1336
+ | "select"
1337
+ | "multi-select"
1338
+ | "text"
1339
+ | "boolean"
1340
+ | "number";
1341
+
1342
+ /**
1343
+ * The free-text "Other" box belonging to one question — present when the agent
1344
+ * paired one with it, as Claude's `AskUserQuestion` bridge does for every
1345
+ * question it asks.
1346
+ *
1347
+ * A typed custom answer **overrides** the selection: that is the agent's own
1348
+ * precedence rule, applied for you by
1349
+ * {@link AgentElicitationRequest.respond}.
1350
+ *
1351
+ * @category Consumer Services
1352
+ * @public
1353
+ * @beta
1354
+ */
1355
+ export interface AgentElicitationCustomAnswer {
1356
+ /** The field the typed answer is sent under. Rarely needed — pass custom
1357
+ * text as {@link AgentElicitationAnswer.custom} and Silo routes it. */
1358
+ readonly field: string;
1359
+ /** The box's label, e.g. `"Other"`. */
1360
+ readonly label?: string;
1361
+ /** Longer helper text, when the agent gave one. */
1362
+ readonly description?: string;
1363
+ }
1364
+
1365
+ /**
1366
+ * One question in an {@link AgentElicitationRequest}.
1367
+ *
1368
+ * @category Consumer Services
1369
+ * @public
1370
+ * @beta
1371
+ */
1372
+ export interface AgentElicitationQuestion {
1373
+ /** Identifies the question when answering — the key in the map passed to
1374
+ * {@link AgentElicitationRequest.respond}. */
1375
+ readonly id: string;
1376
+ /** Which control to render. */
1377
+ readonly kind: AgentElicitationQuestionKind;
1378
+ /** The question to show. Never empty; for a single-question form this is
1379
+ * the request's own {@link AgentElicitationRequest.message}. */
1380
+ readonly prompt: string;
1381
+ /** A short header to show above {@link prompt}, when the agent gave one. */
1382
+ readonly title?: string;
1383
+ /** The choices, for `"select"` / `"multi-select"`. Never empty when
1384
+ * present — a question with no usable options arrives as `"text"`. */
1385
+ readonly options?: readonly AgentElicitationOption[];
1386
+ /** The question's own free-text box, when it has one. */
1387
+ readonly custom?: AgentElicitationCustomAnswer;
1388
+ }
1389
+
1390
+ /**
1391
+ * One question's answer, as passed to
1392
+ * {@link AgentElicitationRequest.respond}.
1393
+ *
1394
+ * Omit both fields — or omit the question from the map entirely — to leave it
1395
+ * unanswered; Silo sends no value for it rather than inventing one.
1396
+ *
1397
+ * @category Consumer Services
1398
+ * @public
1399
+ * @beta
1400
+ */
1401
+ export interface AgentElicitationAnswer {
1402
+ /**
1403
+ * The selection or typed value, matched to the question's
1404
+ * {@link AgentElicitationQuestion.kind}: an option `value` for `"select"`,
1405
+ * an array of them for `"multi-select"`, the text for `"text"`, a boolean,
1406
+ * or a number. A number may be passed as the string an input produced — it
1407
+ * is coerced, and **omitted** if it does not parse, since a malformed value
1408
+ * would make some agents discard the whole payload.
1409
+ */
1410
+ readonly value?: string | readonly string[] | boolean | number;
1411
+ /**
1412
+ * Free text the user typed into this question's
1413
+ * {@link AgentElicitationQuestion.custom} box. When non-empty it overrides
1414
+ * {@link value}, per the agent's own precedence rule.
1415
+ */
1416
+ readonly custom?: string;
1417
+ }
1418
+
1419
+ /**
1420
+ * The agent is **blocked on the user**: it is asking a structured question and
1421
+ * the turn will not proceed until one of {@link respond}, {@link decline} or
1422
+ * {@link cancel} is called. Delivered to
1423
+ * {@link AgentSessionHandle.onElicitation} (RFC 0062).
1424
+ *
1425
+ * This is the richer sibling of {@link AgentPermissionRequest} — several
1426
+ * questions in one ask, multi-select answers, per-question free text — and it
1427
+ * is what Claude's `AskUserQuestion` tool becomes. The surface is the
1428
+ * **parsed questions**, not the raw JSON Schema, so a chat UI never has to
1429
+ * reimplement the schema subset; `raw` is there for one that wants more.
1430
+ *
1431
+ * Auto-accept behavior is deliberately **not** extended to questions (RFC
1432
+ * 0047 is permission-only): there is no safe answer to invent, and guessing
1433
+ * would put words in the user's mouth and record them as the tool's answer.
1434
+ *
1435
+ * If no `onElicitation` listener is registered, Silo answers `cancel` on the
1436
+ * extension's behalf so the agent is never left hanging.
1437
+ *
1438
+ * @category Consumer Services
1439
+ * @public
1440
+ * @beta
1441
+ */
1442
+ export interface AgentElicitationRequest {
1443
+ /** The human-readable ask. For a single-question form this *is* the
1444
+ * question, and the question's `prompt` repeats it. */
1445
+ readonly message: string;
1446
+ /** The questions to put to the user, in the agent's order. */
1447
+ readonly questions: readonly AgentElicitationQuestion[];
1448
+ /**
1449
+ * True when the agent's schema named no fields: show {@link message} with
1450
+ * accept / decline / cancel and **no input**. Not a parse failure — with no
1451
+ * field to answer, an empty answer is the complete and correct reply.
1452
+ */
1453
+ readonly acknowledgeOnly: boolean;
1454
+ /** The tool call this question belongs to, when the agent sent one — the
1455
+ * same id as the matching {@link AgentToolCall.toolCallId}. */
1456
+ readonly toolCallId?: string;
1457
+ /** The raw Agent Client Protocol `elicitation/create` params, including
1458
+ * anything the parsed model above does not name. */
1459
+ readonly raw: Readonly<Record<string, unknown>>;
1460
+ /**
1461
+ * Accept with the collected answers, keyed by
1462
+ * {@link AgentElicitationQuestion.id}. Silo coerces each answer to the type
1463
+ * the agent declared and routes custom answers to their own field.
1464
+ *
1465
+ * Idempotent, and mutually exclusive with {@link decline} / {@link cancel} —
1466
+ * the first call wins and later ones are ignored.
1467
+ */
1468
+ respond(answers: Readonly<Record<string, AgentElicitationAnswer>>): void;
1469
+ /**
1470
+ * The user chose to **skip**. The agent is told so and the turn continues —
1471
+ * `claude-agent-acp` hands the model empty answers. This is the user's
1472
+ * decision, never Silo's.
1473
+ */
1474
+ decline(): void;
1475
+ /**
1476
+ * Abort the tool call the question belongs to. Stronger than
1477
+ * {@link decline}: the agent gives up on the call rather than continuing
1478
+ * without an answer.
1479
+ */
1480
+ cancel(): void;
1481
+ }
1482
+
1162
1483
  /**
1163
1484
  * One selectable value inside an {@link AgentSessionConfigOption}.
1164
1485
  *
@@ -1393,6 +1714,17 @@ export interface AgentSessionHandle {
1393
1714
  * with none, Silo answers `cancelled`.
1394
1715
  */
1395
1716
  onPermission(listener: (request: AgentPermissionRequest) => void): Disposable;
1717
+ /**
1718
+ * Subscribe to {@link AgentElicitationRequest}s — the agent asking the user
1719
+ * a structured question (RFC 0062). Returns a {@link Disposable}.
1720
+ *
1721
+ * Same contract as {@link onPermission}: with at least one listener
1722
+ * registered, answering is your responsibility; with none, Silo answers
1723
+ * `cancel`.
1724
+ */
1725
+ onElicitation(
1726
+ listener: (request: AgentElicitationRequest) => void,
1727
+ ): Disposable;
1396
1728
  /**
1397
1729
  * The session-level controls the agent advertised at connect — mode, model,
1398
1730
  * and whatever else it offers, each a self-describing
package/src/index.ts CHANGED
@@ -135,11 +135,19 @@ export type {
135
135
  AgentToolCallLocation,
136
136
  AgentDelegation,
137
137
  AgentDelegationState,
138
+ AgentBackgroundTask,
139
+ AgentBackgroundTaskState,
138
140
  AgentPlanEntry,
139
141
  AgentSessionConfigOption,
140
142
  AgentSessionConfigChoice,
141
143
  AgentPermissionRequest,
142
144
  AgentPermissionOption,
145
+ AgentElicitationRequest,
146
+ AgentElicitationQuestion,
147
+ AgentElicitationQuestionKind,
148
+ AgentElicitationOption,
149
+ AgentElicitationCustomAnswer,
150
+ AgentElicitationAnswer,
143
151
  AgentCommand,
144
152
  AgentPromptCapabilities,
145
153
  } from "./agents-service";