@leitwerk-dev/process-sdk 0.1.8 → 0.2.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 (171) hide show
  1. package/dist/{chunk-TRQJ5PRM.js → chunk-TA4KO53Q.js} +1 -5
  2. package/dist/chunk-TA4KO53Q.js.map +1 -0
  3. package/dist/{chunk-5RJZ2E7D.js → chunk-WFY2WWZE.js} +2 -6
  4. package/dist/{chunk-5RJZ2E7D.js.map → chunk-WFY2WWZE.js.map} +1 -1
  5. package/dist/core-capabilities.d.ts +76 -34
  6. package/dist/core-capabilities.d.ts.map +1 -1
  7. package/dist/define-process.d.ts +36 -55
  8. package/dist/define-process.d.ts.map +1 -1
  9. package/dist/{extension-api-CqPGRqc9.d.ts → extension-api-CcqZCYJx.d.ts} +160 -74
  10. package/dist/extension-api.d.ts +120 -5
  11. package/dist/extension-api.d.ts.map +1 -1
  12. package/dist/external-action-source.d.ts +7 -0
  13. package/dist/external-action-source.d.ts.map +1 -0
  14. package/dist/external-source-poll.d.ts +15 -0
  15. package/dist/external-source-poll.d.ts.map +1 -0
  16. package/dist/flow.d.ts +92 -110
  17. package/dist/flow.d.ts.map +1 -1
  18. package/dist/fs-utils.d.ts +2 -0
  19. package/dist/fs-utils.d.ts.map +1 -1
  20. package/dist/git-binary.js +25 -33
  21. package/dist/git-binary.js.map +1 -1
  22. package/dist/index.d.ts +21 -9
  23. package/dist/index.d.ts.map +1 -1
  24. package/dist/index.js +4694 -29
  25. package/dist/index.js.map +1 -1
  26. package/dist/integration-http.d.ts +21 -0
  27. package/dist/integration-http.d.ts.map +1 -0
  28. package/dist/json-data.d.ts +3 -0
  29. package/dist/json-data.d.ts.map +1 -0
  30. package/dist/leaf-outcome-renderer.js +74 -64
  31. package/dist/leaf-outcome-renderer.js.map +1 -1
  32. package/dist/leaf-outcomes.d.ts.map +1 -1
  33. package/dist/model-provider.d.ts.map +1 -1
  34. package/dist/pi-config.d.ts +1 -5
  35. package/dist/pi-config.d.ts.map +1 -1
  36. package/dist/pi-config.js +20 -180
  37. package/dist/pi-config.js.map +1 -1
  38. package/dist/process-flow-view.d.ts.map +1 -1
  39. package/dist/process-graph.d.ts +1 -2
  40. package/dist/process-graph.d.ts.map +1 -1
  41. package/dist/process-watcher-source.d.ts +3 -1
  42. package/dist/process-watcher-source.d.ts.map +1 -1
  43. package/dist/project-binding.d.ts +9 -0
  44. package/dist/project-binding.d.ts.map +1 -0
  45. package/dist/registry-utils.d.ts.map +1 -1
  46. package/dist/repository-feedback.d.ts +29 -0
  47. package/dist/repository-feedback.d.ts.map +1 -0
  48. package/dist/repository-git-env.d.ts +2 -0
  49. package/dist/repository-git-env.d.ts.map +1 -1
  50. package/dist/repository-http.d.ts +19 -0
  51. package/dist/repository-http.d.ts.map +1 -0
  52. package/dist/repository-https.d.ts +3 -0
  53. package/dist/repository-https.d.ts.map +1 -0
  54. package/dist/repository-issue-watcher.d.ts +31 -0
  55. package/dist/repository-issue-watcher.d.ts.map +1 -0
  56. package/dist/repository-source-config.d.ts +32 -0
  57. package/dist/repository-source-config.d.ts.map +1 -0
  58. package/dist/repository-types.d.ts +36 -0
  59. package/dist/repository-types.d.ts.map +1 -0
  60. package/dist/review-flow.js +12 -43
  61. package/dist/review-flow.js.map +1 -1
  62. package/dist/runtime-internals.js +18 -2
  63. package/dist/runtime-internals.js.map +1 -1
  64. package/dist/state-helpers.d.ts +3 -2
  65. package/dist/state-helpers.d.ts.map +1 -1
  66. package/dist/subprocess-env.d.ts +1 -0
  67. package/dist/subprocess-env.d.ts.map +1 -1
  68. package/dist/tool-arguments.d.ts +7 -0
  69. package/dist/tool-arguments.d.ts.map +1 -0
  70. package/dist/turn-semantics.d.ts +5 -6
  71. package/dist/turn-semantics.d.ts.map +1 -1
  72. package/dist/types.d.ts +5 -15
  73. package/dist/types.d.ts.map +1 -1
  74. package/package.json +6 -5
  75. package/src/core-capabilities.ts +90 -37
  76. package/src/define-process.ts +231 -277
  77. package/src/extension-api.ts +148 -4
  78. package/src/external-action-source.ts +12 -0
  79. package/src/external-source-poll.ts +49 -0
  80. package/src/flow.ts +427 -646
  81. package/src/fs-utils.ts +17 -2
  82. package/src/index.ts +56 -13
  83. package/src/integration-http.ts +58 -0
  84. package/src/json-data.ts +25 -0
  85. package/src/leaf-outcomes.ts +1 -9
  86. package/src/model-provider.ts +10 -23
  87. package/src/pi-config.ts +1 -6
  88. package/src/process-flow-view.ts +32 -88
  89. package/src/process-graph.ts +25 -54
  90. package/src/process-watcher-source.ts +13 -8
  91. package/src/project-binding.ts +36 -0
  92. package/src/registry-utils.ts +1 -5
  93. package/src/repository-feedback.ts +59 -0
  94. package/src/repository-git-env.ts +34 -0
  95. package/src/repository-http.ts +71 -0
  96. package/src/repository-https.ts +22 -0
  97. package/src/repository-issue-watcher.ts +92 -0
  98. package/src/repository-source-config.ts +60 -0
  99. package/src/repository-types.ts +25 -0
  100. package/src/state-helpers.ts +8 -9
  101. package/src/subprocess-env.ts +6 -0
  102. package/src/tool-arguments.ts +37 -0
  103. package/src/turn-semantics.ts +31 -75
  104. package/src/types.ts +5 -15
  105. package/dist/browser-ui-extension.js +0 -2
  106. package/dist/browser-ui-extension.js.map +0 -1
  107. package/dist/capabilities.js +0 -7
  108. package/dist/capabilities.js.map +0 -1
  109. package/dist/chunk-TRQJ5PRM.js.map +0 -1
  110. package/dist/codecs.js +0 -9
  111. package/dist/codecs.js.map +0 -1
  112. package/dist/commit-message.js +0 -3
  113. package/dist/commit-message.js.map +0 -1
  114. package/dist/core-capabilities.js +0 -6
  115. package/dist/core-capabilities.js.map +0 -1
  116. package/dist/define-process.js +0 -1040
  117. package/dist/define-process.js.map +0 -1
  118. package/dist/event-bus.js +0 -31
  119. package/dist/event-bus.js.map +0 -1
  120. package/dist/extension-api.js +0 -5
  121. package/dist/extension-api.js.map +0 -1
  122. package/dist/flow.js +0 -1565
  123. package/dist/flow.js.map +0 -1
  124. package/dist/form-contract.js +0 -2
  125. package/dist/form-contract.js.map +0 -1
  126. package/dist/fs-utils.js +0 -23
  127. package/dist/fs-utils.js.map +0 -1
  128. package/dist/graph-fragments.js +0 -57
  129. package/dist/graph-fragments.js.map +0 -1
  130. package/dist/host-capabilities.js +0 -42
  131. package/dist/host-capabilities.js.map +0 -1
  132. package/dist/launcher-contract.js +0 -2
  133. package/dist/launcher-contract.js.map +0 -1
  134. package/dist/leaf-outcomes.js +0 -52
  135. package/dist/leaf-outcomes.js.map +0 -1
  136. package/dist/model-provider.js +0 -171
  137. package/dist/model-provider.js.map +0 -1
  138. package/dist/process-definition-internals.js +0 -25
  139. package/dist/process-definition-internals.js.map +0 -1
  140. package/dist/process-flow-view.js +0 -418
  141. package/dist/process-flow-view.js.map +0 -1
  142. package/dist/process-graph.js +0 -213
  143. package/dist/process-graph.js.map +0 -1
  144. package/dist/process-launcher-builder.js +0 -43
  145. package/dist/process-launcher-builder.js.map +0 -1
  146. package/dist/process-watcher-builder.js +0 -40
  147. package/dist/process-watcher-builder.js.map +0 -1
  148. package/dist/process-watcher-source.js +0 -45
  149. package/dist/process-watcher-source.js.map +0 -1
  150. package/dist/registry-utils.js +0 -18
  151. package/dist/registry-utils.js.map +0 -1
  152. package/dist/repository-git-env.js +0 -26
  153. package/dist/repository-git-env.js.map +0 -1
  154. package/dist/server-events.js +0 -2
  155. package/dist/server-events.js.map +0 -1
  156. package/dist/server-process-builder.js +0 -52
  157. package/dist/server-process-builder.js.map +0 -1
  158. package/dist/state-helpers.js +0 -20
  159. package/dist/state-helpers.js.map +0 -1
  160. package/dist/subprocess-env.js +0 -34
  161. package/dist/subprocess-env.js.map +0 -1
  162. package/dist/tool-renderers.js +0 -63
  163. package/dist/tool-renderers.js.map +0 -1
  164. package/dist/turn-semantics.js +0 -365
  165. package/dist/turn-semantics.js.map +0 -1
  166. package/dist/types.js +0 -23
  167. package/dist/types.js.map +0 -1
  168. package/dist/ui-process-builder.js +0 -30
  169. package/dist/ui-process-builder.js.map +0 -1
  170. package/dist/worker-process-builder.js +0 -22
  171. package/dist/worker-process-builder.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"define-process.d.ts","sourceRoot":"","sources":["../src/define-process.ts"],"names":[],"mappings":"AAAA,OAAO,EAEN,KAAK,SAAS,EACd,KAAK,WAAW,EAChB,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACpB,KAAK,0BAA0B,EAC/B,KAAK,yBAAyB,EAC9B,KAAK,kCAAkC,EAEvC,KAAK,aAAa,EAClB,KAAK,MAAM,EACX,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EACX,KAAK,EACL,0BAA0B,EAC1B,oBAAoB,EACpB,oBAAoB,EACpB,cAAc,EACd,kBAAkB,EAElB,uBAAuB,EACvB,iBAAiB,EACjB,2BAA2B,EAC3B,+BAA+B,EAC/B,gBAAgB,EAChB,oBAAoB,EAEpB,YAAY,EACZ,mBAAmB,EACnB,gBAAgB,EAChB,oBAAoB,EACpB,MAAM,oBAAoB,CAAC;AAM5B,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAClE,OAAO,KAAK,EACX,mBAAmB,EACnB,2BAA2B,EAC3B,wBAAwB,EACxB,mBAAmB,EACnB,wBAAwB,EACxB,iBAAiB,EACjB,8BAA8B,EAE9B,eAAe,EACf,mBAAmB,EACnB,cAAc,EACd,kBAAkB,EAClB,eAAe,EACf,0BAA0B,EAC1B,MAAM,YAAY,CAAC;AAEpB,KAAK,gBAAgB,GAAG,MAAM,uBAAuB,GAAG,MAAM,CAAC;AAE/D,KAAK,mBAAmB,GAAG;IAC1B,IAAI,EAAE,gBAAgB,CAAC;IACvB,IAAI,EAAE,OAAO,CAAC;CACd,CAAC;AAEF,KAAK,kBAAkB,GAAG;IACzB,MAAM,EAAE,WAAW,CAAC;IACpB,IAAI,EAAE,SAAS,CAAC;IAChB,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,kBAAkB,CAAC;CAC5B,CAAC;AAEF,KAAK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AE,OAAO,EAAE,MAAM,CAAC,CAK9C;AAED,wBAAgB,aAAa,CAC5B,OAAO,GAAG,OAAO,EACjB,MAAM,GAAG,OAAO,EAChB,QAAQ,SAAS,MAAM,GAAG,MAAM,EAEhC,KAAK,EAAE,IAAI,CAAC,uBAAuB,CAAC,QAAQ,EAAE,OAAO,EAAE,MAAM,CAAC,EAAE,MAAM,CAAC,GACrE,uBAAuB,CAAC,QAAQ,EAAE,OAAO,EAAE,MAAM,CAAC,CAKpD;AAED,wBAAgB,SAAS,CAAC,OAAO,GAAG,OAAO,EAAE,MAAM,GAAG,OAAO,EAC5D,KAAK,EAAE,IAAI,CAAC,mBAAmB,CAAC,OAAO,EAAE,MAAM,CAAC,EAAE,MAAM,CAAC,GACvD,mBAAmB,CAAC,OAAO,EAAE,MAAM,CAAC,CAKtC;AAED,wBAAgB,YAAY,CAAC,OAAO,GAAG,OAAO,EAAE,MAAM,GAAG,OAAO,EAC/D,KAAK,EAAE,IAAI,CAAC,sBAAsB,CAAC,OAAO,EAAE,MAAM,CAAC,EAAE,MAAM,CAAC,GAC1D,sBAAsB,CAAC,OAAO,EAAE,MAAM,CAAC,CAKzC"}
@@ -1,5 +1,6 @@
1
- import { ProcessInstance, ProcessProject, ProcessTurnRecord, WorkerErrorClass, ProcessLeafOutcomeSnapshot, ProcessQuestionRequest, TurnId, ProcessTurnTerminalLifecycleStatus, TurnAcceptanceState as TurnAcceptanceState$1, ProcessTurnRecordPathType, ProcessSemanticEntryRefKey, InputSource, InputKind, ProcessInputTarget, ReviewSubject, ProcessTurnStartSelection, ProcessLifecycleStatus, LaunchModelConfigInput, ProcessCustomizableFields } from '@leitwerk-dev/domain';
2
- import { WatcherPresentationField } from '@leitwerk-dev/protocol';
1
+ import * as _leitwerk_dev_domain from '@leitwerk-dev/domain';
2
+ import { ProcessInstance, ProcessProject, ProcessTurnRecord, WorkerErrorClass, ProcessLeafOutcomeSnapshot, ProcessQuestionRequest, TurnId, ProcessTurnTerminalLifecycleStatus, TurnAcceptanceState as TurnAcceptanceState$1, ProcessTurnRecordPathType, ProcessSemanticEntryRefKey, TurnProgressReport, ProcessTurnStartSelection, ProcessLifecycleStatus, InputSource, InputKind, ProcessInputTarget, LaunchModelConfigInput, ProcessCustomizableFields, Actor } from '@leitwerk-dev/domain';
3
+ import { UsageTokenCounts, UsageCostSnapshot, WatcherPresentationField } from '@leitwerk-dev/protocol';
3
4
  import { ActionFormDefinition } from '@leitwerk-dev/protocol/form-contract';
4
5
  import { LauncherCardMetadata, LauncherSchemaDefinition, LauncherFieldOptionDefinition, LauncherValidationError, UiLauncherSummaryBase } from '@leitwerk-dev/protocol/launcher-contract';
5
6
  import { ToolCallRendererDefinition } from '@leitwerk-dev/protocol/tool-renderer-contract';
@@ -166,6 +167,8 @@ interface OutcomeToolSpec {
166
167
  publishedProduct?: string;
167
168
  /** Outcome parameter whose markdown value is captured as the turn result. */
168
169
  turnResultMarkdownParameter?: string;
170
+ /** Outcome parameter containing a concise operator-facing summary. */
171
+ resultSummaryParameter?: string;
169
172
  }
170
173
  interface ProcessToolResult {
171
174
  status: string;
@@ -234,21 +237,8 @@ interface PiCustomTool {
234
237
  executionMode?: "sequential" | "parallel";
235
238
  execute(args: Record<string, unknown>, context?: PiCustomToolExecutionContext): Promise<unknown>;
236
239
  }
237
- interface PiUsageData {
238
- input: number;
239
- output: number;
240
- /** Provider-reported reasoning/thinking tokens. This is a subset of output tokens. */
241
- reasoning?: number;
242
- cacheRead: number;
243
- cacheWrite: number;
244
- totalTokens: number;
245
- cost: {
246
- input: number;
247
- output: number;
248
- cacheRead: number;
249
- cacheWrite: number;
250
- total: number;
251
- };
240
+ interface PiUsageData extends UsageTokenCounts {
241
+ cost: UsageCostSnapshot;
252
242
  cacheHitRate: number;
253
243
  }
254
244
  interface PiRunDetails {
@@ -399,12 +389,7 @@ type ProcessEmittedEvent = {
399
389
  type: ProcessEventName;
400
390
  data: unknown;
401
391
  };
402
- type ProcessQueuedInput = {
403
- source: InputSource;
404
- kind: InputKind;
405
- bodyMarkdown: string;
406
- target?: ProcessInputTarget;
407
- };
392
+ type ProcessQueuedInput = Parameters<ServerProcessContext["queueInput"]>[0];
408
393
  type MaybePromise<T> = T | Promise<T>;
409
394
  type StaticRouteTarget = {
410
395
  to?: TurnId;
@@ -413,6 +398,10 @@ type StaticRouteTarget = {
413
398
  };
414
399
  interface ProcessRuntimeTurnContext<TParams = unknown, TState = unknown> extends WorkerProcessContext<TParams, TState> {
415
400
  }
401
+ interface LlmTurnPreparationContext<TParams = unknown, TState = unknown> extends ProcessRuntimeTurnContext<TParams, TState> {
402
+ callIntegrationTool(name: string, args: Record<string, unknown>): Promise<unknown>;
403
+ reportProgress(report: TurnProgressReport): void;
404
+ }
416
405
  interface ProcessServerRuntimeContext<TParams = unknown, TState = unknown> {
417
406
  readonly process: ServerProcessContext<TParams, TState>["process"];
418
407
  readonly projects: ServerProcessContext<TParams, TState>["projects"];
@@ -420,12 +409,13 @@ interface ProcessServerRuntimeContext<TParams = unknown, TState = unknown> {
420
409
  readonly state: TState;
421
410
  readSemanticTurnResultMarkdown(ref: ProcessSemanticEntryRefKey): string | null;
422
411
  readProductTurnResultMarkdown(productName: string): string | null;
412
+ reportProgress?(report: TurnProgressReport): void;
423
413
  }
424
414
  interface ProcessBroadcastEffect {
425
415
  type: string;
426
416
  payload: Record<string, unknown>;
427
417
  }
428
- type ProcessPatchEffect = Partial<Pick<ProcessInstance, "planRevision" | "title" | "externalId" | "externalUrl" | "metadata" | "defaultModelProfileId" | "turnConfigsJson">>;
418
+ type ProcessPatchEffect = Partial<Pick<ProcessInstance, "lifecycleStatus" | "planRevision" | "title" | "externalId" | "externalUrl" | "metadata" | "defaultModelProfileId" | "turnConfigsJson">>;
429
419
  interface ProcessLifecycleEffects {
430
420
  processPatch?: ProcessPatchEffect;
431
421
  broadcasts?: readonly ProcessBroadcastEffect[];
@@ -461,6 +451,10 @@ interface ProcessOutcomeExecution<TParams = unknown, TState = unknown> {
461
451
  type ProcessActionEffect<TParams = unknown, TState = unknown> = (input: ProcessActionExecution<TParams, TState>) => MaybePromise<ProcessEffectPlan<TState> | undefined>;
462
452
  type ProcessActionBranchSelector<TParams = unknown, TState = unknown> = (input: Omit<ProcessActionExecution<TParams, TState>, "selectedBranchId">) => MaybePromise<string>;
463
453
  type ProcessOutcomeEffect<TParams = unknown, TState = unknown> = (input: ProcessOutcomeExecution<TParams, TState>) => MaybePromise<ProcessEffectPlan<TState> | undefined>;
454
+ type ProcessOutcomeBranchSelector<TParams = unknown, TState = unknown> = (input: ProcessOutcomeExecution<TParams, TState>) => MaybePromise<string>;
455
+ interface ProcessOutcomeBranchSpec extends StaticRouteTarget {
456
+ trigger?: string;
457
+ }
464
458
  interface ProcessActionExternalTrigger {
465
459
  id: string;
466
460
  label: string;
@@ -473,9 +467,12 @@ interface ExternalActionInputPublication {
473
467
  interface ProcessHumanTurnExternalActionSpec<TParams = unknown, TState = unknown, TEvent = unknown, TInput extends Record<string, unknown> = Record<string, unknown>> extends StaticRouteTarget {
474
468
  id: string;
475
469
  source: ExternalActionSource<TParams, TState, TEvent, TInput>;
470
+ /** Arms and exposes this action only when the current process snapshot matches. */
471
+ when?: (ctx: ExternalSourceResolveContext<TParams, TState>) => boolean;
476
472
  label?: string;
477
473
  description?: string;
478
474
  publishInput?: ExternalActionInputPublication;
475
+ effect?: ExternalSourceEffect<TParams, TState, TEvent, TInput>;
479
476
  }
480
477
  interface ProcessActionBranchSpec extends StaticRouteTarget {
481
478
  trigger?: string;
@@ -499,22 +496,27 @@ type ProcessHumanTurnActionSpec<TParams = unknown, TState = unknown> = BaseActio
499
496
  acceptanceState: TurnAcceptanceState;
500
497
  externalTriggers?: readonly ProcessActionExternalTrigger[];
501
498
  } & (StaticActionRouting | BranchingActionRouting<TParams, TState>);
502
- interface ProcessToolOutcomeSpec<TParams = unknown, TState = unknown> extends StaticRouteTarget {
499
+ interface ProcessToolOutcomeBaseSpec<TParams = unknown, TState = unknown> {
503
500
  description: string;
504
501
  parameters: Record<string, OutcomeToolParameterSpec>;
505
502
  /** Product published from this outcome's turn-result markdown, when this outcome is selected. */
506
503
  publishedProduct?: string;
507
504
  /** Outcome parameter whose markdown value is captured as the turn result. */
508
505
  turnResultMarkdownParameter?: string;
506
+ /** Outcome parameter containing a concise operator-facing summary. */
507
+ resultSummaryParameter?: string;
509
508
  effect?: ProcessOutcomeEffect<TParams, TState>;
510
509
  lifecycleIntent?: ProcessOutcomeLifecycleIntent<TParams, TState>;
511
510
  }
511
+ type ProcessToolOutcomeSpec<TParams = unknown, TState = unknown> = ProcessToolOutcomeBaseSpec<TParams, TState> & (StaticRouteTarget | {
512
+ branches: Record<string, ProcessOutcomeBranchSpec>;
513
+ choose: ProcessOutcomeBranchSelector<TParams, TState>;
514
+ });
512
515
  type HumanTurnOperatorAttention = "required" | "passive";
513
516
  interface HumanTurnDefinition<TParams = unknown, TState = unknown> {
514
517
  kind: "human";
515
518
  description: string;
516
- /** Optional for generic operator-waiting turns; review turns should set it. */
517
- reviewSubject?: ReviewSubject;
519
+ /** Named product rendered as the subject of this human review turn. */
518
520
  reviewProduct?: string;
519
521
  reviewSemanticRef?: ProcessSemanticEntryRefKey;
520
522
  /** Controls whether entering this turn should raise an action-required toast. */
@@ -543,8 +545,12 @@ interface LlmTurnDefinition<TOutcome extends string = string, TParams = unknown,
543
545
  availableTools: readonly PiBuiltInToolName[];
544
546
  /** Server-owned integration tools proxied over authenticated worker IPC. */
545
547
  integrationTools?: readonly string[];
548
+ /** Resolve a constrained tool set from validated durable process data at turn start. */
549
+ resolveIntegrationTools?: (params: TParams, state: TState) => readonly string[];
546
550
  /** Opt in to the durable, operator-facing ask_questions custom tool. */
547
551
  askQuestions?: boolean;
552
+ /** Deterministic worker preparation that must complete before Pi is prompted. */
553
+ prepare?(ctx: LlmTurnPreparationContext<TParams, TState>): MaybePromise<unknown>;
548
554
  completionMode?: TurnCompletionMode;
549
555
  branchType: TurnBranchType;
550
556
  context: TurnContextMode;
@@ -554,7 +560,6 @@ interface LlmTurnDefinition<TOutcome extends string = string, TParams = unknown,
554
560
  outcomes?: Partial<Record<TOutcome, ProcessToolOutcomeSpec<TParams, TState>>>;
555
561
  turnEnd?: ProcessTurnEndSpec<TParams, TState, TOutcome>;
556
562
  turnResultMarkdown?: TurnResultMarkdownBehavior;
557
- reviewSubject?: ReviewSubject;
558
563
  reviewSemanticRef?: ProcessSemanticEntryRefKey;
559
564
  resultSemanticRef?: ProcessSemanticEntryRefKey;
560
565
  publishedProduct?: string;
@@ -566,31 +571,15 @@ interface LlmTurnDefinition<TOutcome extends string = string, TParams = unknown,
566
571
  interface AutomaticTurnDefinition<TOutcome extends string = string, TParams = unknown, TState = unknown> {
567
572
  kind: "automatic";
568
573
  description: string;
574
+ /** Server-owned integration tools callable by this deterministic worker turn. */
575
+ integrationTools?: readonly string[];
576
+ /** External events armed while this automatic turn is selected and waiting. */
577
+ externalActions?: Record<string, ProcessHumanTurnExternalActionSpec<TParams, TState>>;
569
578
  outcomes?: Partial<Record<TOutcome, ProcessToolOutcomeSpec<TParams, TState>>>;
570
579
  turnEnd?: ProcessTurnEndSpec<TParams, TState, TOutcome>;
571
- reviewSubject?: ReviewSubject;
572
580
  reviewSemanticRef?: ProcessSemanticEntryRefKey;
573
581
  run(ctx: ProcessRuntimeTurnContext<TParams, TState>): Promise<WorkerCompleteInput<TOutcome>> | WorkerCompleteInput<TOutcome>;
574
582
  }
575
- interface ServerAutomaticTurnRunResult<TOutcome extends string = string, TState = unknown> extends WorkerCompleteInput<TOutcome> {
576
- state?: TState;
577
- }
578
- type ServerAutomaticTurnRestartBehavior = "rerun" | "fail_running";
579
- interface ServerAutomaticTurnDefinition<TOutcome extends string = string, TParams = unknown, TState = unknown> {
580
- kind: "server_automatic";
581
- description: string;
582
- outcomes?: Partial<Record<TOutcome, ProcessToolOutcomeSpec<TParams, TState>>>;
583
- turnEnd?: ProcessTurnEndSpec<TParams, TState, TOutcome>;
584
- reviewSubject?: ReviewSubject;
585
- reviewSemanticRef?: ProcessSemanticEntryRefKey;
586
- /**
587
- * Controls startup/drainer behavior when a durable running turn record already exists.
588
- * The default reruns the deterministic handler. Use fail_running for non-idempotent
589
- * host side effects that must not be replayed after a server crash/restart.
590
- */
591
- restartBehavior?: ServerAutomaticTurnRestartBehavior;
592
- run(ctx: ProcessServerRuntimeContext<TParams, TState>): Promise<ServerAutomaticTurnRunResult<TOutcome, TState>> | ServerAutomaticTurnRunResult<TOutcome, TState>;
593
- }
594
583
  interface ExternalSourceTransition<TParams = unknown, TState = unknown, TEvent = unknown, TInput extends Record<string, unknown> = Record<string, unknown>> extends StaticRouteTarget {
595
584
  source: ExternalActionSource<TParams, TState, TEvent, TInput>;
596
585
  effect?: ExternalSourceEffect<TParams, TState, TEvent, TInput>;
@@ -599,34 +588,17 @@ interface ExternalTurnDefinition<TParams = unknown, TState = unknown> {
599
588
  kind: "external";
600
589
  description: string;
601
590
  transitions: readonly ExternalSourceTransition<TParams, TState>[];
602
- reviewSubject?: ReviewSubject;
603
591
  reviewSemanticRef?: ProcessSemanticEntryRefKey;
604
592
  }
605
- type TurnDefinition<TParams = unknown, TState = unknown> = LlmTurnDefinition<string, TParams, TState> | AutomaticTurnDefinition<string, TParams, TState> | ServerAutomaticTurnDefinition<string, TParams, TState> | HumanTurnDefinition<TParams, TState> | ExternalTurnDefinition<TParams, TState>;
593
+ type TurnDefinition<TParams = unknown, TState = unknown> = LlmTurnDefinition<string, TParams, TState> | AutomaticTurnDefinition<string, TParams, TState> | HumanTurnDefinition<TParams, TState> | ExternalTurnDefinition<TParams, TState>;
606
594
  type TurnDefinitionRecord<TParams = unknown, TState = unknown> = Record<TurnId, TurnDefinition<TParams, TState>>;
607
595
  type ProcessDefinition<TParams = unknown, TState = unknown> = ExtensionProcessDefinition<TParams, TState>;
608
- interface DefinedProcessInput<TParams = unknown, TState = unknown> {
609
- id: string;
610
- displayName: string;
596
+ interface DefinedProcessInput<TParams = unknown, TState = unknown> extends Omit<ExtensionProcessDefinition<TParams, TState>, "entryTurnId" | "alternateEntryTurnIds" | "turns"> {
611
597
  /** Primary entry used when a launch does not select a start turn explicitly. */
612
598
  entry: TurnId;
613
599
  /** Additional entry turns that launchers may select explicitly. */
614
600
  alternateEntries?: readonly TurnId[];
615
- happyPath?: readonly TurnId[];
616
- paramsCodec: Codec<TParams>;
617
- stateCodec: Codec<TState>;
618
- initialState(params: TParams): TState;
619
- repositoryCredentials?(input: {
620
- params: TParams;
621
- projects: readonly RepositoryCredentialProject[];
622
- }): readonly RepositoryCredentialRequirement[];
623
- piConfig?: ProcessPiConfig;
624
601
  turns: TurnDefinitionRecord<TParams, TState>;
625
- worker?: (api: WorkerProcessAPI<TParams, TState>) => void;
626
- server?: (api: ServerProcessAPI<TParams, TState>) => void;
627
- ui?: (api: UiProcessAPI<TParams, TState>) => void;
628
- launchers?: (api: ProcessLauncherAPI<TParams>) => void;
629
- watchers?: (api: ProcessWatcherAPI<TParams>) => void;
630
602
  }
631
603
  declare function getExternalSourceTransitionId(input: {
632
604
  turnId: TurnId;
@@ -649,14 +621,13 @@ declare function resolveHumanTurnView<TParams, TState>(input: {
649
621
  externalActions: readonly HumanTurnExternalActionView[];
650
622
  };
651
623
  declare function defineProcess<TParams = unknown, TState = unknown>(input: DefinedProcessInput<TParams, TState>): ProcessDefinition<TParams, TState>;
652
- type RoutableTurnDefinition<TOutcome extends string, TParams, TState> = LlmTurnDefinition<TOutcome, TParams, TState> | AutomaticTurnDefinition<TOutcome, TParams, TState> | ServerAutomaticTurnDefinition<TOutcome, TParams, TState>;
624
+ type RoutableTurnDefinition<TOutcome extends string, TParams, TState> = LlmTurnDefinition<TOutcome, TParams, TState> | AutomaticTurnDefinition<TOutcome, TParams, TState>;
653
625
  type RoutableOutcome<TTurn> = TTurn extends RoutableTurnDefinition<infer TOutcome, any, any> ? TOutcome : never;
654
626
  type RoutableParams<TTurn> = TTurn extends RoutableTurnDefinition<any, infer TParams, any> ? TParams : never;
655
627
  type RoutableState<TTurn> = TTurn extends RoutableTurnDefinition<any, any, infer TState> ? TState : never;
656
628
  declare function routeTurnOutcomes<TTurn extends RoutableTurnDefinition<string, any, any>>(baseTurn: TTurn, routes: Partial<Record<RoutableOutcome<TTurn>, OutcomeRouteSpec<RoutableParams<TTurn>, RoutableState<TTurn>>>>, options?: OutcomeRouteOptions): TTurn;
657
629
  declare function llmTurn<TParams = unknown, TState = unknown, TOutcome extends string = string>(input: Omit<LlmTurnDefinition<TOutcome, TParams, TState>, "kind">): LlmTurnDefinition<TOutcome, TParams, TState>;
658
630
  declare function automaticTurn<TParams = unknown, TState = unknown, TOutcome extends string = string>(input: Omit<AutomaticTurnDefinition<TOutcome, TParams, TState>, "kind">): AutomaticTurnDefinition<TOutcome, TParams, TState>;
659
- declare function serverAutomaticTurn<TParams = unknown, TState = unknown, TOutcome extends string = string>(input: Omit<ServerAutomaticTurnDefinition<TOutcome, TParams, TState>, "kind">): ServerAutomaticTurnDefinition<TOutcome, TParams, TState>;
660
631
  declare function humanTurn<TParams = unknown, TState = unknown>(input: Omit<HumanTurnDefinition<TParams, TState>, "kind">): HumanTurnDefinition<TParams, TState>;
661
632
  declare function externalTurn<TParams = unknown, TState = unknown>(input: Omit<ExternalTurnDefinition<TParams, TState>, "kind">): ExternalTurnDefinition<TParams, TState>;
662
633
 
@@ -921,6 +892,8 @@ interface ProcessLaunchConfig<TParams = unknown> {
921
892
  turnConfigs?: Record<string, {
922
893
  modelProfileId?: string | null;
923
894
  }>;
895
+ /** Skill ids resolved to active immutable revisions before process creation. */
896
+ skillIds?: readonly string[];
924
897
  projects?: readonly ProcessLaunchProjectConfig[];
925
898
  }
926
899
  type UiLauncherConfigResolution<TParams = unknown> = {
@@ -930,6 +903,24 @@ type UiLauncherConfigResolution<TParams = unknown> = {
930
903
  ok: false;
931
904
  errors: readonly LauncherValidationError[];
932
905
  };
906
+ interface LaunchPreparationContext<TParams = unknown> {
907
+ readonly signal: AbortSignal;
908
+ readonly launchConfig: ProcessLaunchConfig<TParams>;
909
+ readonly logger: {
910
+ info(message: string): void;
911
+ warn(message: string): void;
912
+ };
913
+ }
914
+ interface LaunchPreparationCheck<TParams = unknown> {
915
+ readonly id: string;
916
+ readonly label: string;
917
+ run(ctx: LaunchPreparationContext<TParams>): Promise<void>;
918
+ }
919
+ /** A launcher check may throw this error to expose bounded operator-safe remediation. */
920
+ declare class SafeLaunchPreparationError extends Error {
921
+ readonly safeSummary: string;
922
+ constructor(message: string, safeSummary: string);
923
+ }
933
924
  interface UiLauncherDefinition<TParams = unknown> {
934
925
  card: LauncherCardMetadata;
935
926
  launchConfigSchema: LauncherSchemaDefinition;
@@ -940,6 +931,7 @@ interface UiLauncherDefinition<TParams = unknown> {
940
931
  * the complete input. Launchers override this only for values that must be rebuilt.
941
932
  */
942
933
  resolveRelaunchInput?(previousInput: Record<string, unknown>, ctx: LauncherContext): Record<string, unknown> | Promise<Record<string, unknown>>;
934
+ preparationChecks?(input: Record<string, unknown>, launchConfig: ProcessLaunchConfig<TParams>): readonly LaunchPreparationCheck<TParams>[];
943
935
  resolveLaunchConfig(input: Record<string, unknown>, ctx: LauncherContext): UiLauncherConfigResolution<TParams> | Promise<UiLauncherConfigResolution<TParams>>;
944
936
  }
945
937
  type ProcessWatcherPresentationField = WatcherPresentationField;
@@ -967,6 +959,7 @@ interface ProcessWatcherDefinition<TParams = unknown, TEvent = unknown, TConfig
967
959
  description: string;
968
960
  source: ProcessWatcherSource<TConfig, TEvent>;
969
961
  matches?(event: TEvent, ctx: LauncherContext): boolean | Promise<boolean>;
962
+ preparationChecks?(event: TEvent, launchConfig: ProcessLaunchConfig<TParams>): readonly LaunchPreparationCheck<TParams>[];
970
963
  resolveLaunchConfig(event: TEvent, ctx: LauncherContext): ProcessLaunchConfig<TParams> | Promise<ProcessLaunchConfig<TParams>>;
971
964
  }
972
965
  interface ProcessLauncherDefinition<TParams = unknown> {
@@ -993,6 +986,7 @@ interface ProcessLaunchPlan {
993
986
  titleSourceFields?: readonly ProcessTitleSourceField[];
994
987
  projectInputs: readonly ProcessLaunchProjectConfig[];
995
988
  startTurnId: TurnId | null;
989
+ skillIds?: readonly string[];
996
990
  }
997
991
  interface ResolvedProcessLauncher<TParams = unknown> {
998
992
  launcherId: string;
@@ -1015,6 +1009,7 @@ interface ProcessLauncherService {
1015
1009
  resolveUiDefaults(launcherId: string, ctx?: LauncherContext): Promise<Record<string, unknown>>;
1016
1010
  resolveUiOptions(launcherId: string, input: Record<string, unknown>, ctx?: LauncherContext): Promise<Record<string, readonly LauncherFieldOptionDefinition[]>>;
1017
1011
  resolveUiRelaunchInput(launcherId: string, previousInput: Record<string, unknown>, ctx?: LauncherContext): Promise<Record<string, unknown>>;
1012
+ resolvePreparationChecks?(launcherId: string, input: Record<string, unknown>, launchConfig: ProcessLaunchConfig): readonly LaunchPreparationCheck[];
1018
1013
  resolveUiLauncher(launcherId: string, input: Record<string, unknown>, ctx?: LauncherContext): Promise<UiLauncherResolutionResult>;
1019
1014
  }
1020
1015
  /** Resolve a UI launcher summary by id, returning `null` when it is unknown. */
@@ -1109,10 +1104,17 @@ interface ExternalSourceEffectContext<TParams = unknown, TState = unknown, TEven
1109
1104
  readonly input: TInput;
1110
1105
  }
1111
1106
  type ExternalSourceEffect<TParams = unknown, TState = unknown, TEvent = unknown, TInput extends Record<string, unknown> = Record<string, unknown>> = (ctx: ExternalSourceEffectContext<TParams, TState, TEvent, TInput>) => ProcessEffectPlan<TState> | Promise<ProcessEffectPlan<TState> | undefined> | undefined;
1107
+ interface ExternalEventDescription {
1108
+ summary: string;
1109
+ markdown?: string;
1110
+ links?: _leitwerk_dev_domain.TurnProgressLink[];
1111
+ }
1112
1112
  interface ExternalActionSource<TParams = unknown, TState = unknown, _TEvent = unknown, _TInput extends Record<string, unknown> = Record<string, unknown>> {
1113
1113
  kind: string;
1114
1114
  label?: string;
1115
1115
  description?: string;
1116
+ /** Pure description captured when the event is consumed. */
1117
+ describeEvent?(event: _TEvent): ExternalEventDescription;
1116
1118
  /**
1117
1119
  * Extension-owned opaque config. Core may persist, hash, and display it, but must not
1118
1120
  * interpret provider-specific fields.
@@ -1167,11 +1169,18 @@ interface WorkerProcessContext<TParams = unknown, TState = unknown> extends Proc
1167
1169
  readonly turnResultMarkdownByProduct?: Readonly<Record<string, string>>;
1168
1170
  /** Absolute workspace root for the current process instance, when available. */
1169
1171
  readonly workspaceRoot?: string;
1172
+ /** Durable output produced by this LLM turn's preparation phase, when declared. */
1173
+ readonly prepared?: unknown;
1174
+ /** Invoke a server-owned integration tool authorized for this automatic turn or LLM preparation. */
1175
+ callIntegrationTool?(name: string, args: Record<string, unknown>): Promise<unknown>;
1176
+ /** Replace the durable operator-facing progress report for this turn attempt. */
1177
+ reportProgress?(report: TurnProgressReport): void;
1170
1178
  }
1171
1179
  interface WorkerCompleteInput<TOutcome extends string = string> {
1172
1180
  outcome: TOutcome;
1173
1181
  params?: Record<string, unknown>;
1174
1182
  markdown?: string | null;
1183
+ resultSummary?: string;
1175
1184
  }
1176
1185
  interface WorkerRunHandle<TParams = unknown, TState = unknown> {
1177
1186
  readonly ctx: WorkerProcessContext<TParams, TState>;
@@ -1204,7 +1213,7 @@ interface ProcessWatcherAPI<TParams = unknown> {
1204
1213
  interface ProcessTurnBinding<TTurn = TurnDefinition> {
1205
1214
  definition: TTurn;
1206
1215
  }
1207
- type RepositoryCredentialKind = "git_ssh";
1216
+ type RepositoryCredentialKind = "git_ssh" | "git_https";
1208
1217
  /** Non-secret, code-defined repository authentication request. */
1209
1218
  interface RepositoryCredentialRequirement {
1210
1219
  readonly projectKey: string;
@@ -1223,13 +1232,28 @@ interface GitSshCredentialMaterial {
1223
1232
  readonly privateKey: string;
1224
1233
  readonly knownHosts: string;
1225
1234
  }
1226
- interface RepositoryCredentialProvider {
1227
- readonly kind: RepositoryCredentialKind;
1228
- resolve(credentialRef: string): GitSshCredentialMaterial | null;
1235
+ interface GitHttpsCredentialMaterial {
1236
+ /** HTTPS origin authorized by the credential-owning extension. */
1237
+ readonly origin: string;
1238
+ readonly username: string;
1239
+ readonly password: string;
1229
1240
  }
1241
+ type RepositoryCredentialProvider = {
1242
+ readonly kind: "git_ssh";
1243
+ resolve(credentialRef: string): GitSshCredentialMaterial | null;
1244
+ } | {
1245
+ readonly kind: "git_https";
1246
+ resolve(credentialRef: string): GitHttpsCredentialMaterial | null;
1247
+ };
1230
1248
  interface RepositoryCredentialRegistrar {
1231
1249
  register(provider: RepositoryCredentialProvider): void;
1232
1250
  }
1251
+ interface ProcessRuntimeCapabilities {
1252
+ /** Install repository-declared development tools with mise before accepting work. */
1253
+ readonly developmentTools?: boolean;
1254
+ /** Require a Docker CLI connected to a private or explicitly acknowledged daemon. */
1255
+ readonly docker?: boolean;
1256
+ }
1233
1257
  interface ExtensionProcessDefinition<TParams = unknown, TState = unknown> {
1234
1258
  id: string;
1235
1259
  displayName: string;
@@ -1248,6 +1272,18 @@ interface ExtensionProcessDefinition<TParams = unknown, TState = unknown> {
1248
1272
  paramsCodec: Codec<TParams>;
1249
1273
  stateCodec: Codec<TState>;
1250
1274
  initialState(params: TParams): TState;
1275
+ /** Process-owned runtime capabilities. All capabilities default to disabled. */
1276
+ runtime?: ProcessRuntimeCapabilities;
1277
+ /**
1278
+ * Server-only Kubernetes process-volume size, derived from extension configuration.
1279
+ * Explicit process storage_size wins; undefined uses the runner default.
1280
+ * Called before provisioning on worker starts. Must be synchronous and side-effect free;
1281
+ * repeated calls never resize or replace an existing volume.
1282
+ */
1283
+ resolveStorageSize?(input: {
1284
+ params: TParams;
1285
+ projects: readonly ProcessProject[];
1286
+ }): string | undefined;
1251
1287
  /** Runtime-only requirements; references are non-secret and remain in opaque params JSON. */
1252
1288
  repositoryCredentials?(input: {
1253
1289
  params: TParams;
@@ -1274,11 +1310,59 @@ interface ServerExtensionLogger {
1274
1310
  warn?(payload: Record<string, unknown>, message?: string): void;
1275
1311
  error?(payload: Record<string, unknown>, message?: string): void;
1276
1312
  }
1313
+ interface TicketCreationDestinationSummary {
1314
+ /** Adapter-owned opaque identifier. Browsers must not construct or interpret it. */
1315
+ readonly id: string;
1316
+ readonly displayName: string;
1317
+ readonly group?: string;
1318
+ readonly description?: string;
1319
+ }
1320
+ interface TicketCreationDestinationList {
1321
+ readonly destinations: readonly TicketCreationDestinationSummary[];
1322
+ readonly warnings?: readonly string[];
1323
+ }
1324
+ interface TicketCreationDestinationSnapshot {
1325
+ readonly summary: TicketCreationDestinationSummary;
1326
+ /** Adapter-owned, JSON-serializable immutable destination state. */
1327
+ readonly data: unknown;
1328
+ /** Untrusted destination context included in the ticket agent prompt. */
1329
+ readonly agentContext?: string;
1330
+ }
1331
+ interface TicketCreationDestinationContext {
1332
+ readonly actor: Actor;
1333
+ }
1334
+ interface TicketCreationDestinationProvider {
1335
+ list(ctx: TicketCreationDestinationContext): Promise<TicketCreationDestinationList>;
1336
+ resolve(ctx: TicketCreationDestinationContext & {
1337
+ destinationId: string;
1338
+ }): Promise<TicketCreationDestinationSnapshot>;
1339
+ /** Rejects stale, renamed, transferred, or otherwise invalid snapshots. */
1340
+ validate(snapshot: TicketCreationDestinationSnapshot): Promise<void>;
1341
+ }
1342
+ interface TicketCreationCapability {
1343
+ readonly kind: "ticket_creation";
1344
+ readonly displayName: string;
1345
+ /** Extension-owned process launched by the generic derived-ticket route. */
1346
+ readonly processId: string;
1347
+ /** Entry turn selected when the derived process starts. */
1348
+ readonly startTurnId: TurnId;
1349
+ /** RFC 6901 JSON Pointer into the tool arguments. */
1350
+ readonly titlePath?: string;
1351
+ /** RFC 6901 JSON Pointer into the tool arguments. */
1352
+ readonly descriptionPath?: string;
1353
+ readonly destinations?: TicketCreationDestinationProvider;
1354
+ }
1355
+ interface TicketCreationReceipt {
1356
+ readonly externalId: string;
1357
+ readonly url: string;
1358
+ readonly result?: unknown;
1359
+ }
1277
1360
  interface IntegrationToolExecutionContext {
1278
1361
  readonly process: ProcessInstance;
1279
1362
  readonly projects: readonly ProcessProject[];
1280
1363
  readonly turn: ProcessTurnRecord;
1281
1364
  readonly project: ProcessProject | null;
1365
+ readonly ticketDestination?: TicketCreationDestinationSnapshot;
1282
1366
  /** Stable for a single Pi tool call, including reconnect/replay. */
1283
1367
  readonly idempotencyKey: string;
1284
1368
  /** Aborted when the worker stops waiting for this tool call. */
@@ -1288,6 +1372,8 @@ interface IntegrationToolDefinition<TArgs = Record<string, unknown>> {
1288
1372
  readonly name: string;
1289
1373
  readonly description: string;
1290
1374
  readonly parameters: Record<string, unknown>;
1375
+ /** Sanitized discovery metadata; credentials and adapter configuration never belong here. */
1376
+ readonly capability?: TicketCreationCapability;
1291
1377
  parse?(value: unknown): TArgs;
1292
1378
  execute(ctx: IntegrationToolExecutionContext, args: TArgs): Promise<unknown>;
1293
1379
  }
@@ -1321,4 +1407,4 @@ interface LeitwerkExtensionModule {
1321
1407
  setupWorker?(api: WorkerExtensionAPI, config: unknown): void | Promise<void>;
1322
1408
  }
1323
1409
 
1324
- export { type WorkerTurnHandler as $, type AutomaticTurnDefinition as A, type HumanTurnOperatorAttention as B, type Codec as C, type LlmModelPurpose as D, type ExternalActionSource as E, type PiBuiltInToolName as F, type ProcessTurnEndSpec as G, type HumanTurnDefinition as H, type ProcessRuntimeTurnContext as I, type ServerAutomaticTurnRestartBehavior as J, type ProcessActionExecution as K, type LauncherContext as L, type ProcessActionEffect as M, type LeafOutcomeCaptureResult as N, type OutcomeToolParameterSpec as O, type ProcessLauncherService as P, type ProcessLeafOutcomeDefinition as Q, type RepositoryCredentialRegistrar as R, type ServerAutomaticTurnDefinition as S, type TurnResultMarkdownBehavior as T, type UiProcessAPI as U, type ExtensionProcessDefinition as V, type WorkerCompleteInput as W, type ProcessTurnOutcomeEvent as X, type ServerProcessContext as Y, type ProcessCleanupHandler as Z, type TurnBranchType as _, type ProcessLaunchPlan as a, type PiWorkerContribution as a$, type WorkerProcessAPI as a0, type BuiltinPiProviderReference as a1, type CapabilityCardinality as a2, type CatalogExtensionAPI as a3, type ConfiguredPiProviderReference as a4, type ConfiguredProviderModel as a5, type DefinedProcessInput as a6, type ErasedModelProviderDefinition as a7, type ExtensionLifecycleHook as a8, type ExternalSourceInputMode as a9, type OutcomeToolArrayItemType as aA, type OutcomeToolParameterType as aB, type OutcomeToolSpec as aC, PI_BUILT_IN_TOOL_NAMES as aD, type ParsedModelProviderConfig as aE, type ParsedProcessWatcherConfig as aF, type PiCustomMessageInput as aG, type PiCustomTool as aH, type PiCustomToolExecutionContext as aI, type PiEvent as aJ, type PiEventHandler as aK, type PiEventType as aL, type PiPromptOptions as aM, type PiRunDetails as aN, type PiServerAdapter as aO, type PiServerGenerateTextInput as aP, type PiServerReference as aQ, type PiSessionDiagnostic as aR, type PiSessionDiagnosticHandler as aS, type PiSessionDiagnosticLevel as aT, type PiTerminalAcknowledgementControl as aU, type PiTerminalAcknowledgementState as aV, type PiTreeEntry as aW, type PiTreeHandle as aX, type PiTreeNode as aY, type PiTurnExecutionResult as aZ, type PiUsageData as a_, type ExternalSourceResolveContext as aa, type ExternalSourceTransition as ab, FRAMEWORK_LLM_TOOL_NAMES as ac, type GitSshCredentialMaterial as ad, type HumanTurnActionView as ae, type HumanTurnExternalTrigger as af, type HumanTurnNotesField as ag, type IntegrationToolDefinition as ah, type IntegrationToolExecutionContext as ai, type LauncherModelProfileSummary as aj, type LauncherVisibility as ak, type LeafOutcomeCaptureContext as al, type LeafOutcomeCapturedEvent as am, type LeitwerkExtensionManifest as an, type LeitwerkExtensionModule as ao, type ModelProviderCredentialDefinition as ap, type ModelProviderDefinition as aq, type ModelProviderModelsContext as ar, type ModelProviderSecretsContext as as, type ModelProviderServer as at, type ModelProviderSet as au, type ModelProviderSetEntry as av, type ModelProviderWorker as aw, type OutcomeRouteOptions as ax, type OutcomeRouteSpec as ay, type OutcomeToolArrayItemSpec as az, type ProcessLaunchConfig as b, TURN_COMPLETION_MODES as b$, type PiWorkerContributionContext as b0, type PiWorkerReference as b1, type PiWorkerSecretBag as b2, type PlanApprovedEvent as b3, type PlanRevisionRequestedEvent as b4, type ProcessActionBranchSelector as b5, type ProcessActionBranchSpec as b6, type ProcessActionExternalTrigger as b7, type ProcessActionPreviewDefinition as b8, type ProcessActionSchedulingDefinition as b9, type ProviderOptionChoicesContext as bA, type ProviderOptionDefaultContext as bB, type ProviderOptionField as bC, type ProviderOptionValidationIssue as bD, type ProviderOptionsDefinition as bE, type ProviderOptionsResolution as bF, type ProviderOptionsResolutionInput as bG, type ProviderWorkerConfigContext as bH, type ProviderWorkerConfigDefinition as bI, type ProviderWorkerConfigSchema as bJ, type QuestionRequestedEvent as bK, RESERVED_INTEGRATION_TOOL_NAMES as bL, type RepositoryCredentialKind as bM, type RepositoryCredentialProvider as bN, type ResolvedProcessLauncher as bO, type ResolvedProcessPiConfig as bP, type ReviewCompletedEvent as bQ, type ReviewRequestedEvent as bR, type ServerAutomaticTurnRunResult as bS, type ServerExtensionAPI as bT, type ServerExtensionEventMap as bU, type ServerExtensionEventName as bV, type ServerExtensionEventPayloadInputMap as bW, type ServerExtensionLogger as bX, type ServerTransitionEffect as bY, type ServerTransitionRequest as bZ, type ServerTransitionRuntime as b_, type ProcessActionSchedulingFixedTurnPreview as ba, type ProcessActionSchedulingPreview as bb, type ProcessActionSchedulingTriggerPreview as bc, type ProcessBroadcastEffect as bd, type ProcessContext as be, type ProcessCreatedEvent as bf, type ProcessCustomTool as bg, type ProcessLaunchPlanProcessInput as bh, type ProcessLaunchProjectConfig as bi, type ProcessLifecycleEffects as bj, type ProcessOutcomeEffect as bk, type ProcessPatchEffect as bl, type ProcessServerRuntimeContext as bm, type ProcessSnapshotContext as bn, type ProcessTitleSourceField as bo, type ProcessToolResult as bp, type ProcessTurnBinding as bq, type ProcessUpdatedEvent as br, type ProcessWatcherPresentationField as bs, type ProviderAvailability as bt, type ProviderCredentialStatus as bu, type ProviderJsonObject as bv, type ProviderJsonPrimitive as bw, type ProviderJsonValue as bx, type ProviderModelStatus as by, type ProviderOptionChoice as bz, type ProcessWatcherPresentation as c, TURN_CONTEXT_MODES as c0, type TurnAcceptanceState as c1, type TurnCompletionMode as c2, type TurnContextMode as c3, type TurnDefinitionRecord as c4, type TurnFailedEvent as c5, type TurnOptions as c6, type TurnOutcomeEvent as c7, type TurnResult as c8, type TurnSemanticEntryRefKey as c9, humanTurn as cA, llmTurn as cB, piServer as cC, piWorker as cD, resolveHumanTurnView as cE, resolveProviderOptions as cF, routeTurnOutcomes as cG, serverAutomaticTurn as cH, type PlanSavedEvent as cI, type TurnStartedEvent as ca, type UiLauncherConfigResolution as cb, type UiLauncherDefinition as cc, type UiLauncherResolutionResult as cd, type UiLauncherSummary as ce, type WorkerExtensionAPI as cf, type WorkerProcessContext as cg, type WorkerRunHandle as ch, automaticTurn as ci, builtinPiProvider as cj, configuredPiProvider as ck, createCapabilityToken as cl, credentialBasedModelStatuses as cm, defineModelProvider as cn, defineModelProviders as co, definePiServerAdapter as cp, definePiWorker as cq, defineProcess as cr, defineProviderOptions as cs, defineWorkerConfig as ct, externalTurn as cu, filterProviderOptionsForDefinition as cv, findUiLauncherById as cw, getExternalActionArmingId as cx, getExternalActionTransitionTrigger as cy, getExternalSourceTransitionId as cz, type ProcessWatcherSource as d, type CapabilityToken as e, type EventBus as f, type ProcessOutcomeExecution as g, type ProcessEffectPlan as h, type ProcessToolOutcomeSpec as i, type ProcessHumanTurnExternalActionSpec as j, type ExternalTurnDefinition as k, type ExternalSourceEffectContext as l, type ExternalSourceEffect as m, type LlmTurnDefinition as n, type TurnDefinition as o, type ServerProcessAPI as p, type ProcessLauncherAPI as q, type ProcessWatcherAPI as r, type ProcessActionDefinition as s, type ProcessLauncherDefinition as t, type ProcessWatcherDefinition as u, type RepositoryCredentialProject as v, type RepositoryCredentialRequirement as w, type ProcessPiConfig as x, type ProcessDefinition as y, type ProcessHumanTurnActionSpec as z };
1410
+ export { type CapabilityCardinality as $, type AutomaticTurnDefinition as A, type PiBuiltInToolName as B, type Codec as C, type ProcessTurnEndSpec as D, type ExternalActionSource as E, type ProcessRuntimeTurnContext as F, type ProcessActionExecution as G, type HumanTurnDefinition as H, type ProcessActionEffect as I, type LeafOutcomeCaptureResult as J, type ProcessLeafOutcomeDefinition as K, type LauncherContext as L, type ExtensionProcessDefinition as M, type IntegrationToolExecutionContext as N, type OutcomeToolParameterSpec as O, type ProcessLauncherService as P, type ProcessTurnOutcomeEvent as Q, type RepositoryCredentialRegistrar as R, type ServerProcessAPI as S, type TurnResultMarkdownBehavior as T, type UiProcessAPI as U, type ServerProcessContext as V, type WorkerCompleteInput as W, type ProcessCleanupHandler as X, type WorkerTurnHandler as Y, type WorkerProcessAPI as Z, type BuiltinPiProviderReference as _, type ProcessLaunchPlan as a, type PiWorkerContribution as a$, type CatalogExtensionAPI as a0, type ConfiguredPiProviderReference as a1, type ConfiguredProviderModel as a2, type DefinedProcessInput as a3, type ErasedModelProviderDefinition as a4, type ExtensionLifecycleHook as a5, type ExternalEventDescription as a6, type ExternalSourceInputMode as a7, type ExternalSourceResolveContext as a8, type ExternalSourceTransition as a9, type OutcomeToolArrayItemType as aA, type OutcomeToolParameterType as aB, type OutcomeToolSpec as aC, PI_BUILT_IN_TOOL_NAMES as aD, type ParsedModelProviderConfig as aE, type ParsedProcessWatcherConfig as aF, type PiCustomMessageInput as aG, type PiCustomTool as aH, type PiCustomToolExecutionContext as aI, type PiEvent as aJ, type PiEventHandler as aK, type PiEventType as aL, type PiPromptOptions as aM, type PiRunDetails as aN, type PiServerAdapter as aO, type PiServerGenerateTextInput as aP, type PiServerReference as aQ, type PiSessionDiagnostic as aR, type PiSessionDiagnosticHandler as aS, type PiSessionDiagnosticLevel as aT, type PiTerminalAcknowledgementControl as aU, type PiTerminalAcknowledgementState as aV, type PiTreeEntry as aW, type PiTreeHandle as aX, type PiTreeNode as aY, type PiTurnExecutionResult as aZ, type PiUsageData as a_, FRAMEWORK_LLM_TOOL_NAMES as aa, type GitHttpsCredentialMaterial as ab, type GitSshCredentialMaterial as ac, type HumanTurnActionView as ad, type HumanTurnExternalTrigger as ae, type HumanTurnNotesField as af, type IntegrationToolDefinition as ag, type LaunchPreparationContext as ah, type LauncherModelProfileSummary as ai, type LauncherVisibility as aj, type LeafOutcomeCaptureContext as ak, type LeafOutcomeCapturedEvent as al, type LeitwerkExtensionManifest as am, type LeitwerkExtensionModule as an, type LlmTurnPreparationContext as ao, type ModelProviderCredentialDefinition as ap, type ModelProviderDefinition as aq, type ModelProviderModelsContext as ar, type ModelProviderSecretsContext as as, type ModelProviderServer as at, type ModelProviderSet as au, type ModelProviderSetEntry as av, type ModelProviderWorker as aw, type OutcomeRouteOptions as ax, type OutcomeRouteSpec as ay, type OutcomeToolArrayItemSpec as az, type ProcessWatcherPresentation as b, type ServerExtensionLogger as b$, type PiWorkerContributionContext as b0, type PiWorkerReference as b1, type PiWorkerSecretBag as b2, type PlanApprovedEvent as b3, type PlanRevisionRequestedEvent as b4, type ProcessActionBranchSelector as b5, type ProcessActionBranchSpec as b6, type ProcessActionExternalTrigger as b7, type ProcessActionPreviewDefinition as b8, type ProcessActionSchedulingDefinition as b9, type ProviderModelStatus as bA, type ProviderOptionChoice as bB, type ProviderOptionChoicesContext as bC, type ProviderOptionDefaultContext as bD, type ProviderOptionField as bE, type ProviderOptionValidationIssue as bF, type ProviderOptionsDefinition as bG, type ProviderOptionsResolution as bH, type ProviderOptionsResolutionInput as bI, type ProviderWorkerConfigContext as bJ, type ProviderWorkerConfigDefinition as bK, type ProviderWorkerConfigSchema as bL, type QuestionRequestedEvent as bM, RESERVED_INTEGRATION_TOOL_NAMES as bN, type RepositoryCredentialKind as bO, type RepositoryCredentialProject as bP, type RepositoryCredentialProvider as bQ, type RepositoryCredentialRequirement as bR, type ResolvedProcessLauncher as bS, type ResolvedProcessPiConfig as bT, type ReviewCompletedEvent as bU, type ReviewRequestedEvent as bV, SafeLaunchPreparationError as bW, type ServerExtensionAPI as bX, type ServerExtensionEventMap as bY, type ServerExtensionEventName as bZ, type ServerExtensionEventPayloadInputMap as b_, type ProcessActionSchedulingFixedTurnPreview as ba, type ProcessActionSchedulingPreview as bb, type ProcessActionSchedulingTriggerPreview as bc, type ProcessBroadcastEffect as bd, type ProcessContext as be, type ProcessCreatedEvent as bf, type ProcessCustomTool as bg, type ProcessLaunchPlanProcessInput as bh, type ProcessLaunchProjectConfig as bi, type ProcessLifecycleEffects as bj, type ProcessOutcomeBranchSelector as bk, type ProcessOutcomeBranchSpec as bl, type ProcessOutcomeEffect as bm, type ProcessPatchEffect as bn, type ProcessServerRuntimeContext as bo, type ProcessSnapshotContext as bp, type ProcessTitleSourceField as bq, type ProcessToolResult as br, type ProcessTurnBinding as bs, type ProcessUpdatedEvent as bt, type ProcessWatcherPresentationField as bu, type ProviderAvailability as bv, type ProviderCredentialStatus as bw, type ProviderJsonObject as bx, type ProviderJsonPrimitive as by, type ProviderJsonValue as bz, type ProcessLaunchConfig as c, type ServerTransitionEffect as c0, type ServerTransitionRequest as c1, type ServerTransitionRuntime as c2, TURN_COMPLETION_MODES as c3, TURN_CONTEXT_MODES as c4, type TicketCreationCapability as c5, type TicketCreationDestinationContext as c6, type TicketCreationDestinationList as c7, type TicketCreationDestinationProvider as c8, type TicketCreationDestinationSnapshot as c9, defineModelProviders as cA, definePiServerAdapter as cB, definePiWorker as cC, defineProcess as cD, defineProviderOptions as cE, defineWorkerConfig as cF, externalTurn as cG, filterProviderOptionsForDefinition as cH, findUiLauncherById as cI, getExternalActionArmingId as cJ, getExternalActionTransitionTrigger as cK, getExternalSourceTransitionId as cL, humanTurn as cM, llmTurn as cN, piServer as cO, piWorker as cP, resolveHumanTurnView as cQ, resolveProviderOptions as cR, routeTurnOutcomes as cS, type PlanSavedEvent as cT, type TicketCreationDestinationSummary as ca, type TicketCreationReceipt as cb, type TurnAcceptanceState as cc, type TurnBranchType as cd, type TurnCompletionMode as ce, type TurnContextMode as cf, type TurnDefinitionRecord as cg, type TurnFailedEvent as ch, type TurnOptions as ci, type TurnOutcomeEvent as cj, type TurnResult as ck, type TurnSemanticEntryRefKey as cl, type TurnStartedEvent as cm, type UiLauncherConfigResolution as cn, type UiLauncherDefinition as co, type UiLauncherResolutionResult as cp, type UiLauncherSummary as cq, type WorkerExtensionAPI as cr, type WorkerProcessContext as cs, type WorkerRunHandle as ct, automaticTurn as cu, builtinPiProvider as cv, configuredPiProvider as cw, createCapabilityToken as cx, credentialBasedModelStatuses as cy, defineModelProvider as cz, type LaunchPreparationCheck as d, type ProcessWatcherSource as e, type CapabilityToken as f, type EventBus as g, type ProcessHumanTurnExternalActionSpec as h, type ExternalSourceEffect as i, type ProcessOutcomeExecution as j, type ProcessEffectPlan as k, type ProcessToolOutcomeSpec as l, type ExternalTurnDefinition as m, type ExternalSourceEffectContext as n, type LlmTurnDefinition as o, type TurnDefinition as p, type ProcessLauncherAPI as q, type ProcessWatcherAPI as r, type ProcessActionDefinition as s, type ProcessLauncherDefinition as t, type ProcessWatcherDefinition as u, type ProcessDefinition as v, type ProcessPiConfig as w, type ProcessHumanTurnActionSpec as x, type HumanTurnOperatorAttention as y, type LlmModelPurpose as z };