@leitwerk-dev/protocol 0.3.0 → 0.4.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.
Files changed (49) hide show
  1. package/dist/{chunk-LTIDCJFK.js → chunk-GOYGXRLL.js} +5 -1
  2. package/dist/chunk-GOYGXRLL.js.map +1 -0
  3. package/dist/{chunk-4AKWRRFS.js → chunk-JHJ6ACSD.js} +19 -2
  4. package/dist/chunk-JHJ6ACSD.js.map +1 -0
  5. package/dist/config-snapshot.d.ts +4 -0
  6. package/dist/config-snapshot.d.ts.map +1 -1
  7. package/dist/execution-inspection.d.ts +178 -0
  8. package/dist/execution-inspection.d.ts.map +1 -0
  9. package/dist/form-contract.d.ts +10 -0
  10. package/dist/form-contract.d.ts.map +1 -1
  11. package/dist/{http-contracts-public-rL4HFcxz.d.ts → http-contracts-public-BDrsnENx.d.ts} +435 -7
  12. package/dist/http-contracts-public.d.ts +3 -1
  13. package/dist/http-contracts-public.d.ts.map +1 -1
  14. package/dist/http-contracts-public.js +6 -4
  15. package/dist/http-contracts.d.ts +98 -5
  16. package/dist/http-contracts.d.ts.map +1 -1
  17. package/dist/http-contracts.js +4 -2
  18. package/dist/index.d.ts +5 -4
  19. package/dist/index.d.ts.map +1 -1
  20. package/dist/index.js +255 -249
  21. package/dist/index.js.map +1 -1
  22. package/dist/live-turn-projection.d.ts +30 -37
  23. package/dist/live-turn-projection.d.ts.map +1 -1
  24. package/dist/protocol.d.ts +13 -0
  25. package/dist/protocol.d.ts.map +1 -1
  26. package/dist/protocol.js +1 -1
  27. package/dist/scoped-settings.d.ts +116 -0
  28. package/dist/scoped-settings.d.ts.map +1 -0
  29. package/dist/skill-pack.d.ts +49 -0
  30. package/dist/skill-pack.d.ts.map +1 -0
  31. package/dist/ticket-creation-contracts.d.ts +6 -0
  32. package/dist/ticket-creation-contracts.d.ts.map +1 -1
  33. package/package.json +2 -2
  34. package/src/config-snapshot.ts +4 -0
  35. package/src/execution-inspection.ts +204 -0
  36. package/src/form-contract.ts +10 -0
  37. package/src/http-contracts-public.ts +16 -0
  38. package/src/http-contracts.ts +117 -3
  39. package/src/index.ts +10 -6
  40. package/src/live-turn-projection.ts +177 -173
  41. package/src/protocol.ts +13 -0
  42. package/src/scoped-settings.ts +148 -0
  43. package/src/skill-pack.ts +107 -0
  44. package/src/ticket-creation-contracts.ts +6 -0
  45. package/dist/chunk-4AKWRRFS.js.map +0 -1
  46. package/dist/chunk-LTIDCJFK.js.map +0 -1
  47. package/dist/turn-trace-projection.d.ts +0 -5
  48. package/dist/turn-trace-projection.d.ts.map +0 -1
  49. package/src/turn-trace-projection.ts +0 -42
@@ -8,6 +8,8 @@ export interface FormFieldOptionDefinition {
8
8
  label: string;
9
9
  /** @internal */
10
10
  description?: string;
11
+ /** Values selected by this option when used as a launcher preset. @public */
12
+ selectionValues?: readonly string[];
11
13
  }
12
14
  /** @internal */
13
15
  export interface FormFieldPublishDefinition {
@@ -35,6 +37,14 @@ export interface FormFieldDefinition<TKind extends FormFieldKind = FormFieldKind
35
37
  description?: string;
36
38
  /** @internal */
37
39
  options?: readonly FormFieldOptionDefinition[];
40
+ /** Select several values, serialized as newline-separated stable option IDs. @public */
41
+ multiple?: boolean;
42
+ /** Show a local search and selection count for a multiple select. @public */
43
+ searchable?: boolean;
44
+ /** Multiple-select field whose selected options supply selectionValues presets. @public */
45
+ presetsFrom?: string;
46
+ /** Clear this field when any of these launcher fields changes. @public */
47
+ resetOn?: readonly string[];
38
48
  /** @internal */
39
49
  rememberRecentValues?: boolean;
40
50
  /** Publish this field as transition-scoped product/input data. @internal */
@@ -1 +1 @@
1
- {"version":3,"file":"form-contract.d.ts","sourceRoot":"","sources":["../src/form-contract.ts"],"names":[],"mappings":"AAAA,cAAc;AACd,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,UAAU,GAAG,QAAQ,GAAG,SAAS,GAAG,QAAQ,CAAC;AAElF,cAAc;AACd,MAAM,WAAW,yBAAyB;IACzC,gBAAgB;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,gBAAgB;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,gBAAgB;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,gBAAgB;AAChB,MAAM,WAAW,0BAA0B;IAC1C,mEAAmE;IACnE,OAAO,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,gBAAgB;AAChB,MAAM,WAAW,wBAAwB;IACxC,2FAA2F;IAC3F,IAAI,EAAE,MAAM,CAAC;CACb;AAED,cAAc;AACd,MAAM,WAAW,mBAAmB,CAAC,KAAK,SAAS,aAAa,GAAG,aAAa;IAC/E,cAAc;IACd,EAAE,EAAE,MAAM,CAAC;IACX,cAAc;IACd,KAAK,EAAE,MAAM,CAAC;IACd,cAAc;IACd,IAAI,EAAE,KAAK,CAAC;IACZ,cAAc;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,cAAc;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB;IAChB,OAAO,CAAC,EAAE,SAAS,yBAAyB,EAAE,CAAC;IAC/C,gBAAgB;IAChB,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,4EAA4E;IAC5E,OAAO,CAAC,EAAE,IAAI,GAAG,0BAA0B,CAAC;IAC5C,6DAA6D;IAC7D,KAAK,CAAC,EAAE,wBAAwB,CAAC;CACjC;AAED,cAAc;AACd,MAAM,MAAM,mBAAmB,GAAG,OAAO,CAAC,aAAa,EAAE,QAAQ,CAAC,CAAC;AACnE,cAAc;AACd,MAAM,MAAM,yBAAyB,GAAG,IAAI,CAC3C,mBAAmB,CAAC,mBAAmB,CAAC,EACxC,SAAS,GAAG,sBAAsB,CAClC,GAAG;IACH,iGAAiG;IACjG,aAAa,CAAC,EAAE,IAAI,CAAC;CACrB,CAAC;AAEF,cAAc;AACd,MAAM,WAAW,cAAc,CAAC,MAAM,SAAS,mBAAmB,GAAG,mBAAmB;IACvF,cAAc;IACd,EAAE,EAAE,MAAM,CAAC;IACX,cAAc;IACd,KAAK,EAAE,MAAM,CAAC;IACd,cAAc;IACd,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC;IAC1B,cAAc;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,cAAc;AACd,MAAM,MAAM,oBAAoB,GAAG,cAAc,CAAC,yBAAyB,CAAC,CAAC"}
1
+ {"version":3,"file":"form-contract.d.ts","sourceRoot":"","sources":["../src/form-contract.ts"],"names":[],"mappings":"AAAA,cAAc;AACd,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,UAAU,GAAG,QAAQ,GAAG,SAAS,GAAG,QAAQ,CAAC;AAElF,cAAc;AACd,MAAM,WAAW,yBAAyB;IACzC,gBAAgB;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,gBAAgB;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,gBAAgB;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,6EAA6E;IAC7E,eAAe,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;CACpC;AAED,gBAAgB;AAChB,MAAM,WAAW,0BAA0B;IAC1C,mEAAmE;IACnE,OAAO,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,gBAAgB;AAChB,MAAM,WAAW,wBAAwB;IACxC,2FAA2F;IAC3F,IAAI,EAAE,MAAM,CAAC;CACb;AAED,cAAc;AACd,MAAM,WAAW,mBAAmB,CAAC,KAAK,SAAS,aAAa,GAAG,aAAa;IAC/E,cAAc;IACd,EAAE,EAAE,MAAM,CAAC;IACX,cAAc;IACd,KAAK,EAAE,MAAM,CAAC;IACd,cAAc;IACd,IAAI,EAAE,KAAK,CAAC;IACZ,cAAc;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,cAAc;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB;IAChB,OAAO,CAAC,EAAE,SAAS,yBAAyB,EAAE,CAAC;IAC/C,wFAAwF;IACxF,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,6EAA6E;IAC7E,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,2FAA2F;IAC3F,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,0EAA0E;IAC1E,OAAO,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAC5B,gBAAgB;IAChB,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,4EAA4E;IAC5E,OAAO,CAAC,EAAE,IAAI,GAAG,0BAA0B,CAAC;IAC5C,6DAA6D;IAC7D,KAAK,CAAC,EAAE,wBAAwB,CAAC;CACjC;AAED,cAAc;AACd,MAAM,MAAM,mBAAmB,GAAG,OAAO,CAAC,aAAa,EAAE,QAAQ,CAAC,CAAC;AACnE,cAAc;AACd,MAAM,MAAM,yBAAyB,GAAG,IAAI,CAC3C,mBAAmB,CAAC,mBAAmB,CAAC,EACxC,SAAS,GAAG,sBAAsB,CAClC,GAAG;IACH,iGAAiG;IACjG,aAAa,CAAC,EAAE,IAAI,CAAC;CACrB,CAAC;AAEF,cAAc;AACd,MAAM,WAAW,cAAc,CAAC,MAAM,SAAS,mBAAmB,GAAG,mBAAmB;IACvF,cAAc;IACd,EAAE,EAAE,MAAM,CAAC;IACX,cAAc;IACd,KAAK,EAAE,MAAM,CAAC;IACd,cAAc;IACd,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC;IAC1B,cAAc;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,cAAc;AACd,MAAM,MAAM,oBAAoB,GAAG,cAAc,CAAC,yBAAyB,CAAC,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import * as _leitwerk_dev_domain from '@leitwerk-dev/domain';
2
- import { SemanticEntryRef, ProcessSemanticEntryRefs, ProcessTurnAnnotation, WorkerLease, ProcessTurnRecord, Actor, DurableModelSelection, FutureExecutionBlockReason, LaunchModelConfigInput, LaunchRun, ProcessSelectedTurnModelSource, ProcessInstance, ProcessProject, ProcessFlowView, ProcessTurnType, ProcessRowSlot, ProcessQuestionRequest, ProcessToolApprovalRequest, ProcessLeafOutcomeSnapshot, TurnProgressReport, ProcessInput, ProcessEvent, SerializedProcessGraph, QuestionAnswerDraft, InstanceTurnConfigMap } from '@leitwerk-dev/domain';
2
+ import { SemanticEntryRef, ProcessSemanticEntryRefs, ProcessTurnAnnotation, WorkerLease, ProcessTurnRecord, InspectionEvidence, PreparedTurnStart, InspectionModelInput, InspectionProduct, TurnStartKind, ProcessEvent, ResolvedSetting, SettingsOverride, SettingsSubject, Actor, DurableModelSelection, FutureExecutionBlockReason, LaunchModelConfigInput, LaunchRun, ProcessSelectedTurnModelSource, ProcessInstance, ProcessProject, ProcessFlowView, ProcessTurnType, ProcessRowSlot, ProcessQuestionRequest, ProcessToolApprovalRequest, ProcessLeafOutcomeSnapshot, TurnProgressReport, ProcessInput, SerializedProcessGraph, QuestionAnswerDraft, InstanceTurnConfigMap } from '@leitwerk-dev/domain';
3
3
  import * as v from 'valibot';
4
4
  import { FormFieldOptionDefinition, ActionFormFieldDefinition, ActionFormDefinition } from './form-contract.js';
5
5
  import { LauncherValidationError, UiLauncherSummaryBase } from './launcher-contract.js';
@@ -234,6 +234,181 @@ interface PrimaryPathSnapshot {
234
234
  turnState: PrimaryPathTurnStateSnapshot;
235
235
  }
236
236
 
237
+ /** Exact source boundary; a null source means ownership was not recorded unambiguously. @internal */
238
+ interface InspectionBoundary {
239
+ /** @internal */
240
+ entryId: string;
241
+ /** @internal */
242
+ turnRecordId: string | null;
243
+ }
244
+ /** Independent context dimensions, never inferred from the current workflow. @internal */
245
+ interface ExecutionContextOrigin {
246
+ /** @internal */
247
+ authoredMode: InspectionEvidence<PreparedTurnStart["contextMode"]>;
248
+ /** @internal */
249
+ startTarget: InspectionEvidence<PreparedTurnStart["startTarget"]>;
250
+ /** A recorded null means no inherited conversation, not no supplied inputs. @internal */
251
+ conversation: InspectionEvidence<InspectionBoundary | null>;
252
+ /** @internal */
253
+ structuralPath: ProcessTurnRecord["pathType"];
254
+ /** @internal */
255
+ summary: string;
256
+ }
257
+ /** Compact execution facts can render independently of expanded reads. @internal */
258
+ interface ExecutionInspectionSummary {
259
+ /** @internal */
260
+ instanceId: string;
261
+ /** @internal */
262
+ execution: Omit<ProcessTurnRecord, "turnResultMarkdown">;
263
+ /** @internal */
264
+ origin: ExecutionContextOrigin;
265
+ /** @internal */
266
+ startKind: InspectionEvidence<TurnStartKind>;
267
+ /** @internal */
268
+ model: InspectionEvidence<InspectionModelInput["model"]>;
269
+ /** @internal */
270
+ usage: TurnUsageSnapshot | null;
271
+ /** @internal */
272
+ previousTurnRecordId: string | null;
273
+ /** @internal */
274
+ nextTurnRecordId: string | null;
275
+ /** @internal */
276
+ modelInputCount: number;
277
+ }
278
+ /** Stable opaque block identities do not encode transcript text or array indexes. @internal */
279
+ interface InspectionTraceBlock {
280
+ /** @internal */
281
+ id: string;
282
+ /** @internal */
283
+ content: PiSessionContentBlock;
284
+ }
285
+ /** One recorded message, preserving role and block order. @internal */
286
+ interface InspectionTraceMessage {
287
+ /** @internal */
288
+ id: string;
289
+ /** @internal */
290
+ entryId: string | null;
291
+ /** Durable live event targets that resolve to this committed message. @internal */
292
+ aliases: string[];
293
+ /** @internal */
294
+ role: string;
295
+ /** @internal */
296
+ timestamp: string;
297
+ /** @internal */
298
+ blocks: InspectionTraceBlock[];
299
+ /** @internal */
300
+ toolCallId: string | null;
301
+ /** @internal */
302
+ toolName: string | null;
303
+ /** @internal */
304
+ isError: boolean;
305
+ }
306
+ /** Target validation never substitutes another execution. @internal */
307
+ type InspectionTargetState = {
308
+ /** @internal */
309
+ state: "available";
310
+ /** @internal */
311
+ itemId: string;
312
+ } | {
313
+ /** @internal */
314
+ state: "unavailable";
315
+ /** @internal */
316
+ reason: string;
317
+ };
318
+ /** Expanded trace reuses the existing sequenced live-history contract. @internal */
319
+ interface ExecutionInspectionTrace extends TurnReasoningDetailResponseBody {
320
+ /** Retained branch messages with unknown execution ownership, never inherited-context claims. @internal */
321
+ unassignedMessages?: InspectionTraceMessage[];
322
+ /** Durable events retain addressable evidence even without a committed session. @internal */
323
+ events: ProcessEvent[];
324
+ /** Applicable input, decision, and result evidence, including non-model executions. @internal */
325
+ annotations: ProcessTurnAnnotation[];
326
+ /** @internal */
327
+ output: string | null;
328
+ /** @internal */
329
+ messages: InspectionTraceMessage[];
330
+ /** @internal */
331
+ target: InspectionTargetState | null;
332
+ /** @internal */
333
+ inheritedBoundary: InspectionBoundary | null;
334
+ }
335
+ /** @internal */
336
+ interface InspectionProductVersion extends InspectionProduct {
337
+ /** @internal */
338
+ supplyId: string;
339
+ /** @internal */
340
+ consumed: boolean;
341
+ }
342
+ /** @internal */
343
+ interface InspectionContextMessage {
344
+ /** @internal */
345
+ entryId: string | null;
346
+ /** @internal */
347
+ sourceTurnRecordId: string | null;
348
+ /** @internal */
349
+ role: string;
350
+ /** Inherited messages link to their source; only local or transformed content is expanded. @internal */
351
+ content: InspectionEvidence<unknown> | null;
352
+ }
353
+ /** @internal */
354
+ interface InspectionInputRevision extends Pick<InspectionConfigurationRevision, "id" | "timestamp" | "boundaryEntryId" | "model"> {
355
+ /** @internal */
356
+ messages: InspectionContextMessage[];
357
+ }
358
+ /** @internal */
359
+ interface InspectionCompaction {
360
+ /** @internal */
361
+ entryId: string;
362
+ /** @internal */
363
+ firstKeptEntryId: string;
364
+ /** @internal */
365
+ summary: string;
366
+ }
367
+ /** @internal */
368
+ interface ExecutionInspectionContext {
369
+ /** Recorded local input messages also remain available for legacy executions. @internal */
370
+ inputMessages: InspectionTraceMessage[];
371
+ /** @internal */
372
+ instanceId: string;
373
+ /** @internal */
374
+ turnRecordId: string;
375
+ /** @internal */
376
+ origin: ExecutionContextOrigin;
377
+ /** Compact ancestry only; ancestor transcripts are never recursively loaded. @internal */
378
+ ancestry: Array<{
379
+ /** @internal */
380
+ turnRecordId: string;
381
+ /** @internal */
382
+ turnId: string;
383
+ /** @internal */
384
+ boundaryEntryId: string;
385
+ }>;
386
+ /** @internal */
387
+ products: InspectionEvidence<InspectionProductVersion[]>;
388
+ /** @internal */
389
+ modelInputs: InspectionEvidence<InspectionInputRevision[]>;
390
+ /** @internal */
391
+ compactions: InspectionCompaction[];
392
+ }
393
+ /** @internal */
394
+ interface InspectionConfigurationRevision extends Omit<InspectionModelInput, "messages" | "kind"> {
395
+ /** @internal */
396
+ id: string;
397
+ /** @internal */
398
+ timestamp: string;
399
+ }
400
+ /** @internal */
401
+ interface ExecutionInspectionConfiguration {
402
+ /** @internal */
403
+ instanceId: string;
404
+ /** @internal */
405
+ turnRecordId: string;
406
+ /** @internal */
407
+ revisions: InspectionEvidence<InspectionConfigurationRevision[]>;
408
+ /** Only a navigation reference to the current workflow, never historical configuration. @internal */
409
+ currentWorkflowTurnId: string;
410
+ }
411
+
237
412
  /** @internal */
238
413
  declare const REASONING_PREVIEW_MAX_CHARS = 1024;
239
414
  /** @internal */
@@ -281,6 +456,170 @@ declare function applyEventToCompactTurnSummary(previous: CompactTurnSummary, ev
281
456
  eventSequence: number;
282
457
  }): CompactTurnSummary;
283
458
 
459
+ /** On-disk contract for an extension's generated skill pack. @public */
460
+ interface SkillPackManifest {
461
+ /** @public */
462
+ formatVersion: 1;
463
+ /** @public */
464
+ upstream: {
465
+ /** @public */
466
+ url: string;
467
+ /** @public */
468
+ commit: string;
469
+ };
470
+ /** @public */
471
+ patchDigest: string;
472
+ /** @public */
473
+ skills: {
474
+ /** @public */
475
+ id: string;
476
+ /** @public */
477
+ directory: string;
478
+ /** @public */
479
+ label: string;
480
+ /** @public */
481
+ description: string;
482
+ /** @public */
483
+ sourcePath: string;
484
+ /** @public */
485
+ dependencies: string[];
486
+ }[];
487
+ }
488
+ /** Provenance retained with an immutable installed skill revision. @internal */
489
+ interface SkillRevisionProvenance {
490
+ /** @internal */
491
+ extensionId: string;
492
+ /** @internal */
493
+ packageName: string;
494
+ /** @internal */
495
+ packageVersion: string;
496
+ /** @internal */
497
+ upstream: SkillPackManifest["upstream"];
498
+ /** @internal */
499
+ sourcePath: string;
500
+ /** @internal */
501
+ patchDigest: string;
502
+ /** @internal */
503
+ dependencies: string[];
504
+ }
505
+ /** Validates pack-local dependencies as well as the manifest shape. @internal */
506
+ declare function parseSkillPackManifest(input: unknown): SkillPackManifest;
507
+
508
+ /** Serializable metadata shared by extension declarations and operator forms. @public */
509
+ interface SettingMetadata {
510
+ /** Namespaced, for example coding.planning_model. @public */
511
+ key: string;
512
+ /** Increment when stored values cease to satisfy the contract. @public */
513
+ schemaVersion: number;
514
+ /** Least to most specific, including instance where applicable. @public */
515
+ scopes: readonly string[];
516
+ /** @public */
517
+ merge: "replace";
518
+ /** @public */
519
+ form: {
520
+ /** @public */
521
+ label: string;
522
+ /** @public */
523
+ description?: string;
524
+ /** @public */
525
+ group: string;
526
+ /** @public */
527
+ control: "text" | "textarea" | "select" | "model" | "number" | "checkbox" | "multiselect" | "named-selection-list";
528
+ /** Repository selection metadata for the scope overview. @public */
529
+ overview?: "repository-mapping";
530
+ /** Load multi-select choices only after the operator enters a query. @public */
531
+ search?: {
532
+ /** Minimum trimmed query length. @public */
533
+ minimumLength: number;
534
+ /** @public */
535
+ placeholder?: string;
536
+ };
537
+ };
538
+ }
539
+ /** @public */
540
+ interface SettingChoice {
541
+ /** @public */
542
+ value: string;
543
+ /** @public */
544
+ label: string;
545
+ /** @public */
546
+ disabledReason?: string;
547
+ }
548
+ /** @internal */
549
+ interface SettingFieldView extends SettingMetadata {
550
+ /** @internal */
551
+ owner: string;
552
+ /** @internal */
553
+ choices: readonly SettingChoice[];
554
+ /** Dynamic options load separately from effective values. @internal */
555
+ choicesDeferred?: boolean;
556
+ /** @internal */
557
+ effective: ResolvedSetting | null;
558
+ /** @internal */
559
+ inherited: ResolvedSetting | null;
560
+ /** Includes reset revisions. @internal */
561
+ override: SettingsOverride | null;
562
+ /** @internal */
563
+ error: string | null;
564
+ }
565
+ /** @internal */
566
+ interface SettingsPreview {
567
+ /** @internal */
568
+ subject: SettingsSubject;
569
+ /** @internal */
570
+ fields: SettingFieldView[];
571
+ /** Overrides remain visible while their extension or field is unavailable. @internal */
572
+ inactive: SettingsOverride[];
573
+ }
574
+ /** Optional collection presentation owned by the declaring integration. @public */
575
+ interface SettingsScopeOverview {
576
+ /** Singular item name, such as Component. @public */
577
+ itemLabel: string;
578
+ /** Plural item name, such as Components. @public */
579
+ itemLabelPlural: string;
580
+ /** Group labels separated from item names by labelSeparator. @public */
581
+ parentLabel?: string;
582
+ /** Delimiter in discovered subject labels, for example " / ". @public */
583
+ labelSeparator?: string;
584
+ }
585
+ /** @internal */
586
+ interface SettingsScopesResponse {
587
+ /** @internal */
588
+ scopes: Array<{
589
+ /** @internal */
590
+ id: string;
591
+ /** @internal */
592
+ label: string;
593
+ /** @internal */
594
+ overview?: SettingsScopeOverview;
595
+ }>;
596
+ /** @internal */
597
+ subjects: Array<SettingsSubject & {
598
+ /** @internal */
599
+ active: boolean;
600
+ /** Has declared fields or retained inactive overrides to display. @internal */
601
+ hasSettings: boolean;
602
+ }>;
603
+ }
604
+ /** Compact, locally resolved summaries; remote choice discovery is never needed. @internal */
605
+ interface SettingsOverviewResponse {
606
+ /** @internal */
607
+ items: Array<{
608
+ /** @internal */ subjectId: string;
609
+ /** Active overrides, excluding resets. @internal */ customized: string[];
610
+ /** Present only when a field declares a repository mapping. @internal */ mapping?: SettingChoice[];
611
+ /** Resolution failures stay separate from unmapped/default states. @internal */ errors: string[];
612
+ }>;
613
+ }
614
+ /** One named set of selections. IDs survive renames and reordering. @public */
615
+ interface NamedSelection {
616
+ /** @public */ id: string;
617
+ /** @public */ name: string;
618
+ /** @public */ values: string[];
619
+ }
620
+ /** Retained selections for both flat and named selection controls. @internal */
621
+ declare function settingSelectionValues(value: unknown): string[];
622
+
284
623
  /** @internal */
285
624
  interface StartLaunchRunResponseBody {
286
625
  /** @internal */
@@ -536,6 +875,13 @@ interface ProcessSelectedTurnSummary {
536
875
  commentary: string | null;
537
876
  /** @internal */
538
877
  externalTriggers: ProcessExternalSourceSummary[];
878
+ /** Present while a server-side condition is holding this turn. @internal */
879
+ readiness?: {
880
+ /** @internal */
881
+ message: string | null;
882
+ /** @internal */
883
+ nextCheckAt: string | null;
884
+ };
539
885
  }
540
886
  /** @internal */
541
887
  type ModelProfileAvailability = "available" | "unavailable" | "stale";
@@ -592,7 +938,30 @@ interface ModelProviderOptionsResponseBody {
592
938
  choicesUnavailableReason: string | null;
593
939
  }
594
940
  /** @internal */
941
+ interface ProcessModelConfigPatch {
942
+ /** @internal */
943
+ defaultModelProfileId?: string | null;
944
+ /** @internal */
945
+ turnConfigs?: Record<string, {
946
+ /** @internal */
947
+ modelProfileId: string | null;
948
+ }>;
949
+ }
950
+ /** @internal */
951
+ interface ProcessModelConfigResponseBody {
952
+ /** @internal */
953
+ modelConfiguration: ProcessModelConfigurationView;
954
+ }
955
+ /** @internal */
595
956
  interface ProcessTurnModelConfigurationView {
957
+ /** A system-purpose model cannot be overridden per instance. @internal */
958
+ fixedModelProfileId?: string | null;
959
+ /** @internal */
960
+ effectiveModelProfileId?: string | null;
961
+ /** @internal */
962
+ effectiveSource?: ProcessActionModelResolutionSource;
963
+ /** @internal */
964
+ effectiveError?: string;
596
965
  /** @internal */
597
966
  turnId: string;
598
967
  /** @internal */
@@ -678,6 +1047,10 @@ type ProcessRunToolView = {
678
1047
  };
679
1048
  /** @internal */
680
1049
  type ProcessRunTurnView = {
1050
+ /** Current definition schema, not an execution snapshot. @internal */
1051
+ definitionContract?: unknown;
1052
+ /** @internal */
1053
+ integrationToolNames?: readonly string[];
681
1054
  /** @internal */
682
1055
  turnId: string;
683
1056
  /** @internal */
@@ -706,6 +1079,8 @@ type ProcessRunDetailsView = {
706
1079
  };
707
1080
  /** @internal */
708
1081
  interface ProcessLaunchConfigurationParameterView {
1082
+ /** Presentation-safe original value. @internal */
1083
+ rawValue?: unknown;
709
1084
  /** @internal */
710
1085
  fieldId: string;
711
1086
  /** @internal */
@@ -909,6 +1284,8 @@ interface LauncherTurnModelConfigPreview {
909
1284
  description: string;
910
1285
  /** @internal */
911
1286
  effective: {
1287
+ /** @internal */
1288
+ error?: string;
912
1289
  /** @internal */
913
1290
  source: ProcessActionModelResolutionSource;
914
1291
  /** @internal */
@@ -917,6 +1294,10 @@ interface LauncherTurnModelConfigPreview {
917
1294
  }
918
1295
  /** @internal */
919
1296
  type LauncherModelConfigPreview = {
1297
+ /** @internal */
1298
+ settingsSubjectId?: string;
1299
+ /** @internal */
1300
+ settingsExplanations?: readonly string[];
920
1301
  /** @internal */
921
1302
  defaultModel: LauncherDefaultModelPreview;
922
1303
  /** @internal */
@@ -1046,9 +1427,13 @@ interface SkillCatalogItem {
1046
1427
  usage: SkillUsageSummary;
1047
1428
  }
1048
1429
  /** @internal */
1049
- type SkillRegistrationKind = "configuration" | "catalog";
1430
+ type SkillRegistrationKind = "configuration" | "catalog" | "extension" | "bundled";
1050
1431
  /** @internal */
1051
1432
  interface InstalledSkillCatalogItem {
1433
+ /** @internal */
1434
+ ownerExtensionId?: string | null;
1435
+ /** @internal */
1436
+ provenance?: SkillRevisionProvenance | null;
1052
1437
  /** @internal */
1053
1438
  id: string;
1054
1439
  /** @internal */
@@ -1061,6 +1446,8 @@ interface InstalledSkillCatalogItem {
1061
1446
  activeSourceRevision: string | null;
1062
1447
  /** @internal */
1063
1448
  registrationKind: SkillRegistrationKind;
1449
+ /** Owning extension for automatically available bundled skills. @internal */
1450
+ sourceExtensionId?: string;
1064
1451
  /** @internal */
1065
1452
  sourceRepositoryId: string | null;
1066
1453
  /** @internal */
@@ -1072,6 +1459,8 @@ interface InstalledSkillCatalogItem {
1072
1459
  }
1073
1460
  /** @internal */
1074
1461
  interface SkillRevisionSummary {
1462
+ /** @internal */
1463
+ provenance?: SkillRevisionProvenance | null;
1075
1464
  /** @internal */
1076
1465
  id: string;
1077
1466
  /** @internal */
@@ -1301,6 +1690,19 @@ interface TurnTracePreview {
1301
1690
  }
1302
1691
  /** @internal */
1303
1692
  type ProcessTimelineTurnPresentation = "llm_turn" | "automatic_turn" | "operator_decision" | "external_trigger";
1693
+ /** Item identity of one mapped LLM turn execution. @internal */
1694
+ interface ProcessTimelineIteration {
1695
+ /** @internal */
1696
+ runId: string;
1697
+ /** @internal */
1698
+ itemKey: string;
1699
+ /** Zero-based position in the frozen order. @internal */
1700
+ index: number;
1701
+ /** @internal */
1702
+ count: number;
1703
+ /** @internal */
1704
+ label: string;
1705
+ }
1304
1706
  /** @internal */
1305
1707
  interface ProcessTimelineTurnSummary {
1306
1708
  /** @internal */
@@ -1358,6 +1760,8 @@ interface ProcessTimelineTurnSummary {
1358
1760
  progress?: TurnProgressReport | null;
1359
1761
  /** @internal */
1360
1762
  progressRecordedAt?: string;
1763
+ /** Present when this record executed one item of a mapped LLM turn. @internal */
1764
+ iteration?: ProcessTimelineIteration;
1361
1765
  }
1362
1766
  /** @internal */
1363
1767
  type ProcessTimelineInputSummary = Pick<ProcessInput, "id" | "sequence" | "source" | "kind" | "bodyMarkdown" | "receivedAt" | "consumedAt">;
@@ -1393,6 +1797,11 @@ interface ProcessExternalTriggerSignal {
1393
1797
  }
1394
1798
  /** @internal */
1395
1799
  interface ProcessTimelineSnapshot {
1800
+ /** Older retained turns are read in bounded pages. Missing means an unpaged snapshot. @internal */
1801
+ history?: {
1802
+ /** Cursor for the next older page; null when the beginning is reached. @internal */
1803
+ beforeTurnRecordId: string | null;
1804
+ };
1396
1805
  /** @internal */
1397
1806
  prompt: {
1398
1807
  /** @internal */
@@ -1500,9 +1909,14 @@ interface ProcessStartupSummary {
1500
1909
  recovery: StartupRecoverySummary | null;
1501
1910
  }
1502
1911
  /** @internal */
1503
- type CurrentProcessErrorSummary = CurrentErrorSummary;
1912
+ interface CurrentProcessErrorSummary extends CurrentErrorSummary {
1913
+ /** Retry the waiting condition before starting an execution. @internal */
1914
+ canRetry?: boolean;
1915
+ }
1504
1916
  /** @internal */
1505
1917
  interface ProcessUsageEstimateSnapshot {
1918
+ /** Totals cover the initial history page only. @internal */
1919
+ historyLimited?: boolean;
1506
1920
  /** @internal */
1507
1921
  usage: TurnUsageSnapshot;
1508
1922
  /** @internal */
@@ -1544,7 +1958,10 @@ interface ProcessDetailUiSnapshotResponseBody {
1544
1958
  /** @internal */
1545
1959
  process: ProcessUiSnapshotProcess;
1546
1960
  /** Next turn on the declared happy path, including human decisions. @internal */
1547
- plannedNextTurn?: Pick<ProcessSelectedTurnSummary, "turnId" | "description"> | null;
1961
+ plannedNextTurn?: (Pick<ProcessSelectedTurnSummary, "turnId" | "description"> & {
1962
+ /** Next frozen item when the selected mapped turn has items left. @internal */
1963
+ iteration?: ProcessTimelineIteration;
1964
+ }) | null;
1548
1965
  /** Durable requests in Chronicle order; at most one is open for the current turn. @internal */
1549
1966
  questionRequests: ProcessQuestionRequest[];
1550
1967
  /** @internal */
@@ -1601,6 +2018,12 @@ interface ProcessDetailUiSnapshotResponseBody {
1601
2018
  type InstanceTreeTurnResultState = "succeeded" | "failed" | "aborted" | "pending";
1602
2019
  /** Redacted, semantic process history. Pi message/activity categories are never exposed. @internal */
1603
2020
  interface InstanceTreeNodeSummary {
2021
+ /** @internal */
2022
+ turnId?: string;
2023
+ /** @internal */
2024
+ turnType?: ProcessTurnRecord["turnType"];
2025
+ /** @internal */
2026
+ origin?: ExecutionContextOrigin;
1604
2027
  /** @internal */
1605
2028
  id: string;
1606
2029
  /** @internal */
@@ -1718,6 +2141,11 @@ type LauncherRecentValuesResponseBody = {
1718
2141
  values: Record<string, readonly string[]>;
1719
2142
  };
1720
2143
  /** @internal */
2144
+ interface LauncherValidationResponseBody {
2145
+ /** Empty when the current launch request passes validation. @internal */
2146
+ errors: readonly LauncherValidationError[];
2147
+ }
2148
+ /** @internal */
1721
2149
  type LauncherModelConfigPreviewResponseBody = {
1722
2150
  /** @internal */
1723
2151
  preview: LauncherModelConfigPreview;
@@ -1847,7 +2275,7 @@ declare const futureLaunchPayloadInputSchema: v.ObjectSchema<{
1847
2275
  /** @internal */
1848
2276
  readonly selectedTurnModelKind: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["explicit", "inherited"], undefined>, undefined>, undefined>;
1849
2277
  /** @internal */
1850
- readonly selectedTurnModelSource: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["action_override", "launch_override", "instance_turn_config", "process_config_turn", "instance_default", "process_config_default", "catalog_default", "legacy_persisted"], undefined>, undefined>, undefined>;
2278
+ readonly selectedTurnModelSource: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["action_override", "launch_override", "instance_turn_config", "process_config_turn", "instance_default", "process_config_default", "scoped_purpose_default", "catalog_default", "legacy_persisted"], undefined>, undefined>, undefined>;
1851
2279
  /** @internal */
1852
2280
  readonly paramsJson: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1853
2281
  /** @internal */
@@ -2001,7 +2429,7 @@ declare const normalizeFutureLaunchPayload: (payload: FutureLaunchPayloadBase) =
2001
2429
  /** @internal */
2002
2430
  selectedTurnModelKind: "explicit" | "inherited" | null;
2003
2431
  /** @internal */
2004
- selectedTurnModelSource: "action_override" | "launch_override" | "instance_turn_config" | "process_config_turn" | "instance_default" | "process_config_default" | "catalog_default" | "legacy_persisted" | null;
2432
+ selectedTurnModelSource: "action_override" | "launch_override" | "instance_turn_config" | "process_config_turn" | "instance_default" | "scoped_purpose_default" | "process_config_default" | "catalog_default" | "legacy_persisted" | null;
2005
2433
  /** @internal */
2006
2434
  paramsJson: string | null;
2007
2435
  /** @internal */
@@ -2086,4 +2514,4 @@ declare function parseFutureActionPayloadObject(value: unknown, context?: string
2086
2514
  /** @internal */
2087
2515
  declare function parseFutureActionPayloadJson(payloadJson: string): ParseResult<FutureActionPayload>;
2088
2516
 
2089
- export { type SkillUsageSummary as $, type PrimaryPathUiSnapshot as A, type ProcessActionModelPreview as B, type CompactActiveTurnSnapshot as C, type ProcessBrowseItem as D, type ProcessDetailUiSnapshotResponseBody as E, type FutureExecutionSummary as F, type ProcessDiagnosticsData as G, type ProcessExternalTriggerSignal as H, type InstalledSkillCatalogDetail as I, type ProcessExternalTriggerSummary as J, type ProcessOverviewItem as K, type LaunchRunResponseBody as L, type ModelProfileOptionSummary as M, type ProcessSelectedTurnSummary as N, type ProcessStartupSummary as O, type PrimaryPathStreamingAssistantSnapshot as P, type ProcessTimelineInputSummary as Q, type ProcessTimelineSnapshot as R, type ProcessUiSnapshotProcess as S, type TurnTraceSnapshot as T, type UsageSnapshot as U, type ProcessUsageEstimateSnapshot as V, REASONING_PREVIEW_MAX_CHARS as W, type SkillCatalogDetail as X, type SkillCatalogItem as Y, type SkillRepositorySummary as Z, type SkillUsageProcessSummary as _, type FutureExecutionOverviewItem as a, type ProcessActionFormDefinition as a$, type SkillsCatalogResponseBody as a0, type StartLaunchRunResponseBody as a1, type StartupAttemptStepSummary as a2, type StartupAttemptSummary as a3, type StartupRecoverySummary as a4, type TurnPiInputPart as a5, type TurnPiInputSnapshot as a6, type TurnReasoningDetailResponseBody as a7, type TurnTracePreview as a8, type TurnTraceToolCallSnapshot as a9, type ErrorResponseBody as aA, type FutureActionOverviewItem as aB, type FutureActionSummary as aC, type FutureExecutionBaseSummary as aD, type FutureExecutionDetailResponseBody as aE, type FutureLaunchMutationResponseBody as aF, type FutureLaunchOverviewItem as aG, type FutureLaunchSummary as aH, type InstalledSkillCatalogDetailResponseBody as aI, type InstanceTreeEdgeSummary as aJ, type InstanceTreeNodeSummary as aK, type InstanceTreeTurnResultState as aL, type LauncherDefaultModelPreview as aM, type LauncherDefaultsResponseBody as aN, type LauncherModelConfigPreviewResponseBody as aO, type LauncherMutationResponseBody as aP, type LauncherOptionsResponseBody as aQ, type LauncherRecentValuesResponseBody as aR, type LauncherTurnModelConfigPreview as aS, type ModelProfileAvailability as aT, type PiSessionImageContentBlock as aU, type PiSessionTextContentBlock as aV, type PiSessionThinkingContentBlock as aW, type PiSessionToolCallContentBlock as aX, type PiSessionUsageSnapshot as aY, type PrimaryPathSnapshotResponseBody as aZ, type ProcessActionFieldDefinition as a_, type TurnUsageSnapshot as aa, type UsageCostSnapshot as ab, type UsageTokenCounts as ac, type WatcherPresentationField as ad, applyEventToCompactTurnSummary as ae, cloneUsageSnapshot as af, emptyCompactTurnSummary as ag, mergeUsageSnapshots as ah, normalizeUsageSnapshot as ai, parseActionRequestBody as aj, parseFutureActionPayloadJson as ak, parseFutureLaunchPayloadJson as al, parseLauncherInputJson as am, parseLauncherRequestBody as an, parseLauncherTurnConfigsJson as ao, reasoningPreviewTail as ap, serializeFutureActionPayload as aq, serializeFutureLaunchPayload as ar, validateScheduleRequestInput as as, type ApiTokenMetadata as at, type ApiTokenPolicy as au, type ApiTokensResponseBody as av, type AuthMeResponseBody as aw, type CreateApiTokenResponseBody as ax, type CronPreviewResponseBody as ay, type CurrentErrorSummary as az, type PrimaryPathToolCallSnapshot as b, type ProcessActionModelPreviewResponseBody as b0, type ProcessActionModelResolutionPreview as b1, type ProcessActionModelResolutionSource as b2, type ProcessActionPreviewSummary as b3, type ProcessActionSummary as b4, type ProcessActionWarmPromptCacheContext as b5, type ProcessBrowseFacets as b6, type ProcessBrowsePagination as b7, type ProcessBrowseResponseBody as b8, type ProcessDetailData as b9, type ScheduledActionDetail as bA, type ScheduledActionMutationResponseBody as bB, type SessionTransferOperationView as bC, type SkillCatalogDetailResponseBody as bD, type SkillRegistrationKind as bE, type SkillRevisionSummary as bF, type StartupAttemptStatus as bG, type SubmitQuestionAnswersRequestBody as bH, type TurnPiInputPartRole as bI, type UiLauncherSummary as bJ, type WatcherLaunchModelSummary as bK, type WatcherSummary as bL, type WatchersResponseBody as bM, parseFutureActionPayloadObject as bN, parseFutureLaunchPayloadObject as bO, parseLauncherModelConfigInput as bP, parseScheduleRequestInput as bQ, resolvePromptCacheSwitch as bR, type ProcessDiagnosticsResponseBody as ba, type ProcessExternalObservation as bb, type ProcessExternalSourceSummary as bc, type ProcessInstanceTreeResponseBody as bd, type ProcessLaunchConfigurationParameterView as be, type ProcessLaunchConfigurationProjectView as bf, type ProcessLaunchConfigurationView as bg, type ProcessLaunchRunsResponseBody as bh, type ProcessListItem as bi, type ProcessModelConfigurationIssueView as bj, type ProcessModelConfigurationView as bk, type ProcessRetryConfig as bl, type ProcessRetryConfigResponseBody as bm, type ProcessRunDetailsView as bn, type ProcessRunToolParameterView as bo, type ProcessRunToolView as bp, type ProcessRunTurnView as bq, type ProcessTurnModelConfigurationView as br, type ProcessesListResponseBody as bs, type ProcessesOverviewResponseBody as bt, type PromptCacheSwitchResolution as bu, type ProviderOptionChoiceSummary as bv, type ProviderOptionFieldSummary as bw, type QuestionRequestMutationResponseBody as bx, type ScheduleConfigInput as by, type ScheduleMode as bz, type PrimaryPathTraceItemSnapshot as c, type PrimaryPathOperationalTraceItemSnapshot as d, type PrimaryPathActiveTurnSnapshot as e, type ProcessTimelineTurnSummary as f, type ProcessTimelineTurnPresentation as g, type CompactTurnSummary as h, type CurrentProcessErrorSummary as i, type CurrentTurnRecoverySummary as j, type FutureActionPayload as k, type FutureLaunchPayload as l, type InstalledSkillCatalogItem as m, type LauncherModelConfigDefaults as n, type LauncherModelConfigPreview as o, type LauncherModelConfigSchema as p, type LaunchersResponseBody as q, type ModelProviderOptionsResponseBody as r, type ParsedActionRequestBody as s, type ParsedLauncherRequestBody as t, type ParsedScheduleRequest as u, type PiSessionContentBlock as v, type PiSessionEntry as w, type PiSessionMessageRecord as x, type PrimaryPathEntrySnapshot as y, type PrimaryPathSnapshot as z };
2517
+ export { type ProcessExternalTriggerSignal as $, type LaunchersResponseBody as A, type ModelProviderOptionsResponseBody as B, type CompactActiveTurnSnapshot as C, type ParsedActionRequestBody as D, type ExecutionContextOrigin as E, type FutureExecutionSummary as F, type ParsedLauncherRequestBody as G, type ParsedScheduleRequest as H, type InspectionBoundary as I, type PiSessionContentBlock as J, type PiSessionEntry as K, type LaunchRunResponseBody as L, type ModelProfileOptionSummary as M, type PiSessionMessageRecord as N, type PrimaryPathEntrySnapshot as O, type PrimaryPathActiveTurnSnapshot as P, type PrimaryPathSnapshot as Q, type PrimaryPathStreamingAssistantSnapshot as R, type PrimaryPathToolCallSnapshot as S, type TurnTraceSnapshot as T, type UsageSnapshot as U, type PrimaryPathTraceItemSnapshot as V, type PrimaryPathUiSnapshot as W, type ProcessActionModelPreview as X, type ProcessBrowseItem as Y, type ProcessDetailUiSnapshotResponseBody as Z, type ProcessDiagnosticsData as _, type FutureExecutionOverviewItem as a, type InstanceTreeEdgeSummary as a$, type ProcessExternalTriggerSummary as a0, type ProcessOverviewItem as a1, type ProcessSelectedTurnSummary as a2, type ProcessStartupSummary as a3, type ProcessTimelineInputSummary as a4, type ProcessTimelineIteration as a5, type ProcessTimelineSnapshot as a6, type ProcessUiSnapshotProcess as a7, type ProcessUsageEstimateSnapshot as a8, REASONING_PREVIEW_MAX_CHARS as a9, parseActionRequestBody as aA, parseFutureActionPayloadJson as aB, parseFutureLaunchPayloadJson as aC, parseLauncherInputJson as aD, parseLauncherRequestBody as aE, parseLauncherTurnConfigsJson as aF, parseSkillPackManifest as aG, reasoningPreviewTail as aH, serializeFutureActionPayload as aI, serializeFutureLaunchPayload as aJ, validateScheduleRequestInput as aK, type ApiTokenMetadata as aL, type ApiTokenPolicy as aM, type ApiTokensResponseBody as aN, type AuthMeResponseBody as aO, type CreateApiTokenResponseBody as aP, type CronPreviewResponseBody as aQ, type CurrentErrorSummary as aR, type ErrorResponseBody as aS, type FutureActionOverviewItem as aT, type FutureActionSummary as aU, type FutureExecutionBaseSummary as aV, type FutureExecutionDetailResponseBody as aW, type FutureLaunchMutationResponseBody as aX, type FutureLaunchOverviewItem as aY, type FutureLaunchSummary as aZ, type InstalledSkillCatalogDetailResponseBody as a_, type SkillCatalogDetail as aa, type SkillCatalogItem as ab, type SkillPackManifest as ac, type SkillRepositorySummary as ad, type SkillRevisionProvenance as ae, type SkillUsageProcessSummary as af, type SkillUsageSummary as ag, type SkillsCatalogResponseBody as ah, type StartLaunchRunResponseBody as ai, type StartupAttemptStepSummary as aj, type StartupAttemptSummary as ak, type StartupRecoverySummary as al, type TurnPiInputPart as am, type TurnPiInputSnapshot as an, type TurnReasoningDetailResponseBody as ao, type TurnTracePreview as ap, type TurnTraceToolCallSnapshot as aq, type TurnUsageSnapshot as ar, type UsageCostSnapshot as as, type UsageTokenCounts as at, type WatcherPresentationField as au, applyEventToCompactTurnSummary as av, cloneUsageSnapshot as aw, emptyCompactTurnSummary as ax, mergeUsageSnapshots as ay, normalizeUsageSnapshot as az, type PrimaryPathOperationalTraceItemSnapshot as b, type SettingMetadata as b$, type InstanceTreeNodeSummary as b0, type InstanceTreeTurnResultState as b1, type LauncherDefaultModelPreview as b2, type LauncherDefaultsResponseBody as b3, type LauncherModelConfigPreviewResponseBody as b4, type LauncherMutationResponseBody as b5, type LauncherOptionsResponseBody as b6, type LauncherRecentValuesResponseBody as b7, type LauncherTurnModelConfigPreview as b8, type LauncherValidationResponseBody as b9, type ProcessLaunchConfigurationView as bA, type ProcessLaunchRunsResponseBody as bB, type ProcessListItem as bC, type ProcessModelConfigPatch as bD, type ProcessModelConfigResponseBody as bE, type ProcessModelConfigurationIssueView as bF, type ProcessModelConfigurationView as bG, type ProcessRetryConfig as bH, type ProcessRetryConfigResponseBody as bI, type ProcessRunDetailsView as bJ, type ProcessRunToolParameterView as bK, type ProcessRunToolView as bL, type ProcessRunTurnView as bM, type ProcessTurnModelConfigurationView as bN, type ProcessesListResponseBody as bO, type ProcessesOverviewResponseBody as bP, type PromptCacheSwitchResolution as bQ, type ProviderOptionChoiceSummary as bR, type ProviderOptionFieldSummary as bS, type QuestionRequestMutationResponseBody as bT, type ScheduleConfigInput as bU, type ScheduleMode as bV, type ScheduledActionDetail as bW, type ScheduledActionMutationResponseBody as bX, type SessionTransferOperationView as bY, type SettingChoice as bZ, type SettingFieldView as b_, type ModelProfileAvailability as ba, type NamedSelection as bb, type PiSessionImageContentBlock as bc, type PiSessionTextContentBlock as bd, type PiSessionThinkingContentBlock as be, type PiSessionToolCallContentBlock as bf, type PiSessionUsageSnapshot as bg, type PrimaryPathSnapshotResponseBody as bh, type ProcessActionFieldDefinition as bi, type ProcessActionFormDefinition as bj, type ProcessActionModelPreviewResponseBody as bk, type ProcessActionModelResolutionPreview as bl, type ProcessActionModelResolutionSource as bm, type ProcessActionPreviewSummary as bn, type ProcessActionSummary as bo, type ProcessActionWarmPromptCacheContext as bp, type ProcessBrowseFacets as bq, type ProcessBrowsePagination as br, type ProcessBrowseResponseBody as bs, type ProcessDetailData as bt, type ProcessDiagnosticsResponseBody as bu, type ProcessExternalObservation as bv, type ProcessExternalSourceSummary as bw, type ProcessInstanceTreeResponseBody as bx, type ProcessLaunchConfigurationParameterView as by, type ProcessLaunchConfigurationProjectView as bz, type ProcessTimelineTurnSummary as c, type SettingsOverviewResponse as c0, type SettingsPreview as c1, type SettingsScopeOverview as c2, type SettingsScopesResponse as c3, type SkillCatalogDetailResponseBody as c4, type SkillRegistrationKind as c5, type SkillRevisionSummary as c6, type StartupAttemptStatus as c7, type SubmitQuestionAnswersRequestBody as c8, type TurnPiInputPartRole as c9, type UiLauncherSummary as ca, type WatcherLaunchModelSummary as cb, type WatcherSummary as cc, type WatchersResponseBody as cd, parseFutureActionPayloadObject as ce, parseFutureLaunchPayloadObject as cf, parseLauncherModelConfigInput as cg, parseScheduleRequestInput as ch, resolvePromptCacheSwitch as ci, settingSelectionValues as cj, type ProcessTimelineTurnPresentation as d, type CompactTurnSummary as e, type CurrentProcessErrorSummary as f, type CurrentTurnRecoverySummary as g, type ExecutionInspectionConfiguration as h, type ExecutionInspectionContext as i, type ExecutionInspectionSummary as j, type ExecutionInspectionTrace as k, type FutureActionPayload as l, type FutureLaunchPayload as m, type InspectionCompaction as n, type InspectionConfigurationRevision as o, type InspectionContextMessage as p, type InspectionInputRevision as q, type InspectionProductVersion as r, type InspectionTargetState as s, type InspectionTraceBlock as t, type InspectionTraceMessage as u, type InstalledSkillCatalogDetail as v, type InstalledSkillCatalogItem as w, type LauncherModelConfigDefaults as x, type LauncherModelConfigPreview as y, type LauncherModelConfigSchema as z };
@@ -1,4 +1,6 @@
1
1
  export type { ApiTokenMetadata, ApiTokenPolicy, ApiTokensResponseBody, CreateApiTokenResponseBody, } from "./api-token-contracts.js";
2
- export type { AuthMeResponseBody, CronPreviewResponseBody, CurrentErrorSummary, CurrentTurnRecoverySummary, ErrorResponseBody, FutureActionSummary, FutureExecutionDetailResponseBody, FutureExecutionOverviewItem, FutureExecutionSummary, FutureLaunchMutationResponseBody, FutureLaunchSummary, InstalledSkillCatalogDetail, InstalledSkillCatalogDetailResponseBody, InstalledSkillCatalogItem, InstanceTreeEdgeSummary, InstanceTreeNodeSummary, LauncherDefaultModelPreview, LauncherDefaultsResponseBody, LauncherModelConfigDefaults, LauncherModelConfigPreview, LauncherModelConfigPreviewResponseBody, LauncherModelConfigSchema, LauncherMutationResponseBody, LauncherOptionsResponseBody, LauncherRecentValuesResponseBody, LaunchersResponseBody, LauncherTurnModelConfigPreview, LaunchRunResponseBody, ModelProfileOptionSummary, ModelProviderOptionsResponseBody, PrimaryPathSnapshotResponseBody, ProcessActionFieldDefinition, ProcessActionModelPreview, ProcessActionModelPreviewResponseBody, ProcessActionModelResolutionPreview, ProcessActionPreviewSummary, ProcessActionSummary, ProcessActionWarmPromptCacheContext, ProcessBrowseFacets, ProcessBrowseItem, ProcessBrowsePagination, ProcessBrowseResponseBody, ProcessDetailUiSnapshotResponseBody, ProcessDiagnosticsData, ProcessDiagnosticsResponseBody, ProcessExternalSourceSummary, ProcessExternalTriggerSummary, ProcessesListResponseBody, ProcessesOverviewResponseBody, ProcessInstanceTreeResponseBody, ProcessLaunchConfigurationView, ProcessLaunchRunsResponseBody, ProcessListItem, ProcessModelConfigurationView, ProcessOverviewItem, ProcessRetryConfig, ProcessRetryConfigResponseBody, ProcessRunDetailsView, ProcessRunTurnView, ProcessSelectedTurnSummary, QuestionRequestMutationResponseBody, ScheduleConfigInput, ScheduledActionDetail, ScheduledActionMutationResponseBody, SessionTransferOperationView, SkillCatalogDetail, SkillCatalogDetailResponseBody, SkillCatalogItem, SkillRepositorySummary, SkillsCatalogResponseBody, StartLaunchRunResponseBody, SubmitQuestionAnswersRequestBody, TurnReasoningDetailResponseBody, UiLauncherSummary, WatcherLaunchModelSummary, WatcherSummary, WatchersResponseBody, } from "./http-contracts.js";
2
+ export type { AuthMeResponseBody, CronPreviewResponseBody, CurrentErrorSummary, CurrentTurnRecoverySummary, ErrorResponseBody, FutureActionSummary, FutureExecutionDetailResponseBody, FutureExecutionOverviewItem, FutureExecutionSummary, FutureLaunchMutationResponseBody, FutureLaunchSummary, InstalledSkillCatalogDetail, InstalledSkillCatalogDetailResponseBody, InstalledSkillCatalogItem, InstanceTreeEdgeSummary, InstanceTreeNodeSummary, LauncherDefaultModelPreview, LauncherDefaultsResponseBody, LauncherModelConfigDefaults, LauncherModelConfigPreview, LauncherModelConfigPreviewResponseBody, LauncherModelConfigSchema, LauncherMutationResponseBody, LauncherOptionsResponseBody, LauncherRecentValuesResponseBody, LaunchersResponseBody, LauncherTurnModelConfigPreview, LauncherValidationResponseBody, LaunchRunResponseBody, ModelProfileOptionSummary, ModelProviderOptionsResponseBody, PrimaryPathSnapshotResponseBody, ProcessActionFieldDefinition, ProcessActionModelPreview, ProcessActionModelPreviewResponseBody, ProcessActionModelResolutionPreview, ProcessActionPreviewSummary, ProcessActionSummary, ProcessActionWarmPromptCacheContext, ProcessBrowseFacets, ProcessBrowseItem, ProcessBrowsePagination, ProcessBrowseResponseBody, ProcessDetailUiSnapshotResponseBody, ProcessDiagnosticsData, ProcessDiagnosticsResponseBody, ProcessExternalSourceSummary, ProcessExternalTriggerSummary, ProcessesListResponseBody, ProcessesOverviewResponseBody, ProcessInstanceTreeResponseBody, ProcessLaunchConfigurationView, ProcessLaunchRunsResponseBody, ProcessListItem, ProcessModelConfigPatch, ProcessModelConfigResponseBody, ProcessModelConfigurationView, ProcessOverviewItem, ProcessRetryConfig, ProcessRetryConfigResponseBody, ProcessRunDetailsView, ProcessRunTurnView, ProcessSelectedTurnSummary, QuestionRequestMutationResponseBody, ScheduleConfigInput, ScheduledActionDetail, ScheduledActionMutationResponseBody, SessionTransferOperationView, SkillCatalogDetail, SkillCatalogDetailResponseBody, SkillCatalogItem, SkillRepositorySummary, SkillsCatalogResponseBody, StartLaunchRunResponseBody, SubmitQuestionAnswersRequestBody, TurnReasoningDetailResponseBody, UiLauncherSummary, WatcherLaunchModelSummary, WatcherSummary, WatchersResponseBody, } from "./http-contracts.js";
3
3
  export { parseScheduleRequestInput, resolvePromptCacheSwitch } from "./http-contracts.js";
4
+ export type { NamedSelection, SettingChoice, SettingFieldView, SettingMetadata, SettingsOverviewResponse, SettingsPreview, SettingsScopeOverview, SettingsScopesResponse, } from "./scoped-settings.js";
5
+ export { settingSelectionValues } from "./scoped-settings.js";
4
6
  //# sourceMappingURL=http-contracts-public.d.ts.map