@leitwerk-dev/server 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app.d.ts +65 -0
- package/dist/app.d.ts.map +1 -0
- package/dist/app.js +909 -0
- package/dist/app.js.map +1 -0
- package/dist/auth/auth-config.d.ts +21 -0
- package/dist/auth/auth-config.d.ts.map +1 -0
- package/dist/auth/auth-config.js +42 -0
- package/dist/auth/auth-config.js.map +1 -0
- package/dist/auth/auth-service.d.ts +41 -0
- package/dist/auth/auth-service.d.ts.map +1 -0
- package/dist/auth/auth-service.js +129 -0
- package/dist/auth/auth-service.js.map +1 -0
- package/dist/auth/auth-test-helpers.d.ts +10 -0
- package/dist/auth/auth-test-helpers.d.ts.map +1 -0
- package/dist/auth/auth-test-helpers.js +30 -0
- package/dist/auth/auth-test-helpers.js.map +1 -0
- package/dist/auth/auth-tokens.d.ts +4 -0
- package/dist/auth/auth-tokens.d.ts.map +1 -0
- package/dist/auth/auth-tokens.js +11 -0
- package/dist/auth/auth-tokens.js.map +1 -0
- package/dist/auth/fastify-auth.d.ts +12 -0
- package/dist/auth/fastify-auth.d.ts.map +1 -0
- package/dist/auth/fastify-auth.js +20 -0
- package/dist/auth/fastify-auth.js.map +1 -0
- package/dist/auth/oidc-client.d.ts +21 -0
- package/dist/auth/oidc-client.d.ts.map +1 -0
- package/dist/auth/oidc-client.js +55 -0
- package/dist/auth/oidc-client.js.map +1 -0
- package/dist/auth/routes.d.ts +4 -0
- package/dist/auth/routes.d.ts.map +1 -0
- package/dist/auth/routes.js +74 -0
- package/dist/auth/routes.js.map +1 -0
- package/dist/commit-message-policy.d.ts +5 -0
- package/dist/commit-message-policy.d.ts.map +1 -0
- package/dist/commit-message-policy.js +15 -0
- package/dist/commit-message-policy.js.map +1 -0
- package/dist/config/config-loader.d.ts +18 -0
- package/dist/config/config-loader.d.ts.map +1 -0
- package/dist/config/config-loader.js +924 -0
- package/dist/config/config-loader.js.map +1 -0
- package/dist/config/config-types.d.ts +219 -0
- package/dist/config/config-types.d.ts.map +1 -0
- package/dist/config/config-types.js +2 -0
- package/dist/config/config-types.js.map +1 -0
- package/dist/config/index.d.ts +3 -0
- package/dist/config/index.d.ts.map +1 -0
- package/dist/config/index.js +2 -0
- package/dist/config/index.js.map +1 -0
- package/dist/config/url-policy.d.ts +6 -0
- package/dist/config/url-policy.d.ts.map +1 -0
- package/dist/config/url-policy.js +25 -0
- package/dist/config/url-policy.js.map +1 -0
- package/dist/db/auth-repo.d.ts +39 -0
- package/dist/db/auth-repo.d.ts.map +1 -0
- package/dist/db/auth-repo.js +92 -0
- package/dist/db/auth-repo.js.map +1 -0
- package/dist/db/credential-cipher.d.ts +13 -0
- package/dist/db/credential-cipher.d.ts.map +1 -0
- package/dist/db/credential-cipher.js +47 -0
- package/dist/db/credential-cipher.js.map +1 -0
- package/dist/db/database.d.ts +30 -0
- package/dist/db/database.d.ts.map +1 -0
- package/dist/db/database.js +423 -0
- package/dist/db/database.js.map +1 -0
- package/dist/db/external-write-log-repo.d.ts +14 -0
- package/dist/db/external-write-log-repo.d.ts.map +1 -0
- package/dist/db/external-write-log-repo.js +49 -0
- package/dist/db/external-write-log-repo.js.map +1 -0
- package/dist/db/future-execution-repo.d.ts +61 -0
- package/dist/db/future-execution-repo.d.ts.map +1 -0
- package/dist/db/future-execution-repo.js +267 -0
- package/dist/db/future-execution-repo.js.map +1 -0
- package/dist/db/index.d.ts +4 -0
- package/dist/db/index.d.ts.map +1 -0
- package/dist/db/index.js +4 -0
- package/dist/db/index.js.map +1 -0
- package/dist/db/launcher-recent-value-repo.d.ts +21 -0
- package/dist/db/launcher-recent-value-repo.d.ts.map +1 -0
- package/dist/db/launcher-recent-value-repo.js +76 -0
- package/dist/db/launcher-recent-value-repo.js.map +1 -0
- package/dist/db/pending-external-source-fire-repo.d.ts +41 -0
- package/dist/db/pending-external-source-fire-repo.d.ts.map +1 -0
- package/dist/db/pending-external-source-fire-repo.js +108 -0
- package/dist/db/pending-external-source-fire-repo.js.map +1 -0
- package/dist/db/process-event-repo.d.ts +19 -0
- package/dist/db/process-event-repo.d.ts.map +1 -0
- package/dist/db/process-event-repo.js +98 -0
- package/dist/db/process-event-repo.js.map +1 -0
- package/dist/db/process-handoff-dedup-key-repo.d.ts +17 -0
- package/dist/db/process-handoff-dedup-key-repo.d.ts.map +1 -0
- package/dist/db/process-handoff-dedup-key-repo.js +34 -0
- package/dist/db/process-handoff-dedup-key-repo.js.map +1 -0
- package/dist/db/process-input-repo.d.ts +20 -0
- package/dist/db/process-input-repo.d.ts.map +1 -0
- package/dist/db/process-input-repo.js +90 -0
- package/dist/db/process-input-repo.js.map +1 -0
- package/dist/db/process-instance-repo.d.ts +60 -0
- package/dist/db/process-instance-repo.d.ts.map +1 -0
- package/dist/db/process-instance-repo.js +281 -0
- package/dist/db/process-instance-repo.js.map +1 -0
- package/dist/db/process-leaf-outcome-snapshot-repo.d.ts +23 -0
- package/dist/db/process-leaf-outcome-snapshot-repo.d.ts.map +1 -0
- package/dist/db/process-leaf-outcome-snapshot-repo.js +77 -0
- package/dist/db/process-leaf-outcome-snapshot-repo.js.map +1 -0
- package/dist/db/process-project-repo.d.ts +32 -0
- package/dist/db/process-project-repo.d.ts.map +1 -0
- package/dist/db/process-project-repo.js +129 -0
- package/dist/db/process-project-repo.js.map +1 -0
- package/dist/db/process-question-request-repo.d.ts +26 -0
- package/dist/db/process-question-request-repo.d.ts.map +1 -0
- package/dist/db/process-question-request-repo.js +99 -0
- package/dist/db/process-question-request-repo.js.map +1 -0
- package/dist/db/process-skill-repo.d.ts +9 -0
- package/dist/db/process-skill-repo.d.ts.map +1 -0
- package/dist/db/process-skill-repo.js +58 -0
- package/dist/db/process-skill-repo.js.map +1 -0
- package/dist/db/process-title-job-repo.d.ts +53 -0
- package/dist/db/process-title-job-repo.d.ts.map +1 -0
- package/dist/db/process-title-job-repo.js +173 -0
- package/dist/db/process-title-job-repo.js.map +1 -0
- package/dist/db/process-turn-annotation-repo.d.ts +30 -0
- package/dist/db/process-turn-annotation-repo.d.ts.map +1 -0
- package/dist/db/process-turn-annotation-repo.js +104 -0
- package/dist/db/process-turn-annotation-repo.js.map +1 -0
- package/dist/db/process-turn-record-repo.d.ts +47 -0
- package/dist/db/process-turn-record-repo.d.ts.map +1 -0
- package/dist/db/process-turn-record-repo.js +125 -0
- package/dist/db/process-turn-record-repo.js.map +1 -0
- package/dist/db/provider-credential-repo.d.ts +23 -0
- package/dist/db/provider-credential-repo.d.ts.map +1 -0
- package/dist/db/provider-credential-repo.js +60 -0
- package/dist/db/provider-credential-repo.js.map +1 -0
- package/dist/db/repo-helpers.d.ts +5 -0
- package/dist/db/repo-helpers.d.ts.map +1 -0
- package/dist/db/repo-helpers.js +20 -0
- package/dist/db/repo-helpers.js.map +1 -0
- package/dist/db/repositories.d.ts +71 -0
- package/dist/db/repositories.d.ts.map +1 -0
- package/dist/db/repositories.js +73 -0
- package/dist/db/repositories.js.map +1 -0
- package/dist/db/schema-ddl.d.ts +6 -0
- package/dist/db/schema-ddl.d.ts.map +1 -0
- package/dist/db/schema-ddl.js +99 -0
- package/dist/db/schema-ddl.js.map +1 -0
- package/dist/db/schema.d.ts +4678 -0
- package/dist/db/schema.d.ts.map +1 -0
- package/dist/db/schema.js +475 -0
- package/dist/db/schema.js.map +1 -0
- package/dist/db/skill-repo.d.ts +28 -0
- package/dist/db/skill-repo.d.ts.map +1 -0
- package/dist/db/skill-repo.js +476 -0
- package/dist/db/skill-repo.js.map +1 -0
- package/dist/db/turn-start-record-repo.d.ts +15 -0
- package/dist/db/turn-start-record-repo.d.ts.map +1 -0
- package/dist/db/turn-start-record-repo.js +67 -0
- package/dist/db/turn-start-record-repo.js.map +1 -0
- package/dist/db/worker-lease-repo.d.ts +32 -0
- package/dist/db/worker-lease-repo.d.ts.map +1 -0
- package/dist/db/worker-lease-repo.js +109 -0
- package/dist/db/worker-lease-repo.js.map +1 -0
- package/dist/domain-logic/cron.d.ts +2 -0
- package/dist/domain-logic/cron.d.ts.map +1 -0
- package/dist/domain-logic/cron.js +25 -0
- package/dist/domain-logic/cron.js.map +1 -0
- package/dist/domain-logic/idempotency.d.ts +3 -0
- package/dist/domain-logic/idempotency.d.ts.map +1 -0
- package/dist/domain-logic/idempotency.js +3 -0
- package/dist/domain-logic/idempotency.js.map +1 -0
- package/dist/domain-logic/index.d.ts +7 -0
- package/dist/domain-logic/index.d.ts.map +1 -0
- package/dist/domain-logic/index.js +6 -0
- package/dist/domain-logic/index.js.map +1 -0
- package/dist/domain-logic/input-sequencer.d.ts +16 -0
- package/dist/domain-logic/input-sequencer.d.ts.map +1 -0
- package/dist/domain-logic/input-sequencer.js +2 -0
- package/dist/domain-logic/input-sequencer.js.map +1 -0
- package/dist/domain-logic/outcome-tools.d.ts +13 -0
- package/dist/domain-logic/outcome-tools.d.ts.map +1 -0
- package/dist/domain-logic/outcome-tools.js +267 -0
- package/dist/domain-logic/outcome-tools.js.map +1 -0
- package/dist/domain-logic/process-state-machine.d.ts +32 -0
- package/dist/domain-logic/process-state-machine.d.ts.map +1 -0
- package/dist/domain-logic/process-state-machine.js +140 -0
- package/dist/domain-logic/process-state-machine.js.map +1 -0
- package/dist/domain-logic/scheduled-action-lock.d.ts +21 -0
- package/dist/domain-logic/scheduled-action-lock.d.ts.map +1 -0
- package/dist/domain-logic/scheduled-action-lock.js +39 -0
- package/dist/domain-logic/scheduled-action-lock.js.map +1 -0
- package/dist/domain-logic/string-normalize.d.ts +2 -0
- package/dist/domain-logic/string-normalize.d.ts.map +1 -0
- package/dist/domain-logic/string-normalize.js +2 -0
- package/dist/domain-logic/string-normalize.js.map +1 -0
- package/dist/domain-logic/turn-record-guards.d.ts +9 -0
- package/dist/domain-logic/turn-record-guards.d.ts.map +1 -0
- package/dist/domain-logic/turn-record-guards.js +26 -0
- package/dist/domain-logic/turn-record-guards.js.map +1 -0
- package/dist/domain-logic/worker-lease-lifecycle.d.ts +30 -0
- package/dist/domain-logic/worker-lease-lifecycle.d.ts.map +1 -0
- package/dist/domain-logic/worker-lease-lifecycle.js +77 -0
- package/dist/domain-logic/worker-lease-lifecycle.js.map +1 -0
- package/dist/effects/post-commit-effect.d.ts +48 -0
- package/dist/effects/post-commit-effect.d.ts.map +1 -0
- package/dist/effects/post-commit-effect.js +8 -0
- package/dist/effects/post-commit-effect.js.map +1 -0
- package/dist/effects/post-commit-runner.d.ts +32 -0
- package/dist/effects/post-commit-runner.d.ts.map +1 -0
- package/dist/effects/post-commit-runner.js +215 -0
- package/dist/effects/post-commit-runner.js.map +1 -0
- package/dist/extension-ui/catalog.d.ts +42 -0
- package/dist/extension-ui/catalog.d.ts.map +1 -0
- package/dist/extension-ui/catalog.js +265 -0
- package/dist/extension-ui/catalog.js.map +1 -0
- package/dist/extensions/extension-host.d.ts +14 -0
- package/dist/extensions/extension-host.d.ts.map +1 -0
- package/dist/extensions/extension-host.js +34 -0
- package/dist/extensions/extension-host.js.map +1 -0
- package/dist/external-source-service.d.ts +16 -0
- package/dist/external-source-service.d.ts.map +1 -0
- package/dist/external-source-service.js +1033 -0
- package/dist/external-source-service.js.map +1 -0
- package/dist/filesystem-process-watchers.d.ts +22 -0
- package/dist/filesystem-process-watchers.d.ts.map +1 -0
- package/dist/filesystem-process-watchers.js +79 -0
- package/dist/filesystem-process-watchers.js.map +1 -0
- package/dist/future-execution/execution.d.ts +60 -0
- package/dist/future-execution/execution.d.ts.map +1 -0
- package/dist/future-execution/execution.js +321 -0
- package/dist/future-execution/execution.js.map +1 -0
- package/dist/future-execution/index.d.ts +2 -0
- package/dist/future-execution/index.d.ts.map +1 -0
- package/dist/future-execution/index.js +2 -0
- package/dist/future-execution/index.js.map +1 -0
- package/dist/future-execution/lifecycle.d.ts +197 -0
- package/dist/future-execution/lifecycle.d.ts.map +1 -0
- package/dist/future-execution/lifecycle.js +783 -0
- package/dist/future-execution/lifecycle.js.map +1 -0
- package/dist/future-execution/model-projection.d.ts +40 -0
- package/dist/future-execution/model-projection.d.ts.map +1 -0
- package/dist/future-execution/model-projection.js +98 -0
- package/dist/future-execution/model-projection.js.map +1 -0
- package/dist/future-execution/reconciliation.d.ts +29 -0
- package/dist/future-execution/reconciliation.d.ts.map +1 -0
- package/dist/future-execution/reconciliation.js +91 -0
- package/dist/future-execution/reconciliation.js.map +1 -0
- package/dist/future-execution/support.d.ts +16 -0
- package/dist/future-execution/support.d.ts.map +1 -0
- package/dist/future-execution/support.js +36 -0
- package/dist/future-execution/support.js.map +1 -0
- package/dist/future-execution/transition-planner.d.ts +49 -0
- package/dist/future-execution/transition-planner.d.ts.map +1 -0
- package/dist/future-execution/transition-planner.js +84 -0
- package/dist/future-execution/transition-planner.js.map +1 -0
- package/dist/future-execution-broadcast.d.ts +4 -0
- package/dist/future-execution-broadcast.d.ts.map +1 -0
- package/dist/future-execution-broadcast.js +13 -0
- package/dist/future-execution-broadcast.js.map +1 -0
- package/dist/future-execution-presenter.d.ts +22 -0
- package/dist/future-execution-presenter.d.ts.map +1 -0
- package/dist/future-execution-presenter.js +143 -0
- package/dist/future-execution-presenter.js.map +1 -0
- package/dist/future-execution-scheduler.d.ts +10 -0
- package/dist/future-execution-scheduler.d.ts.map +1 -0
- package/dist/future-execution-scheduler.js +37 -0
- package/dist/future-execution-scheduler.js.map +1 -0
- package/dist/index.d.ts +31 -898
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +29 -238
- package/dist/index.js.map +1 -1
- package/dist/instance-tree.d.ts +22 -0
- package/dist/instance-tree.d.ts.map +1 -0
- package/dist/instance-tree.js +41 -0
- package/dist/instance-tree.js.map +1 -0
- package/dist/launch-title.d.ts +11 -0
- package/dist/launch-title.d.ts.map +1 -0
- package/dist/launch-title.js +36 -0
- package/dist/launch-title.js.map +1 -0
- package/dist/launcher-model-config-service.d.ts +33 -0
- package/dist/launcher-model-config-service.d.ts.map +1 -0
- package/dist/launcher-model-config-service.js +73 -0
- package/dist/launcher-model-config-service.js.map +1 -0
- package/dist/launcher-recent-values-service.d.ts +12 -0
- package/dist/launcher-recent-values-service.d.ts.map +1 -0
- package/dist/launcher-recent-values-service.js +43 -0
- package/dist/launcher-recent-values-service.js.map +1 -0
- package/dist/leaf-outcome-snapshot-capture.d.ts +26 -0
- package/dist/leaf-outcome-snapshot-capture.d.ts.map +1 -0
- package/dist/leaf-outcome-snapshot-capture.js +101 -0
- package/dist/leaf-outcome-snapshot-capture.js.map +1 -0
- package/dist/live-turn-projection.d.ts +2 -0
- package/dist/live-turn-projection.d.ts.map +1 -0
- package/dist/live-turn-projection.js +2 -0
- package/dist/live-turn-projection.js.map +1 -0
- package/dist/main.d.ts +2 -2
- package/dist/main.d.ts.map +1 -0
- package/dist/main.js +58 -119
- package/dist/main.js.map +1 -1
- package/dist/model-providers/builtin-server-adapter.d.ts +7 -0
- package/dist/model-providers/builtin-server-adapter.d.ts.map +1 -0
- package/dist/model-providers/builtin-server-adapter.js +65 -0
- package/dist/model-providers/builtin-server-adapter.js.map +1 -0
- package/dist/model-providers/credentials.d.ts +34 -0
- package/dist/model-providers/credentials.d.ts.map +1 -0
- package/dist/model-providers/credentials.js +165 -0
- package/dist/model-providers/credentials.js.map +1 -0
- package/dist/model-providers/index.d.ts +7 -0
- package/dist/model-providers/index.d.ts.map +1 -0
- package/dist/model-providers/index.js +7 -0
- package/dist/model-providers/index.js.map +1 -0
- package/dist/model-providers/model-status-cache.d.ts +44 -0
- package/dist/model-providers/model-status-cache.d.ts.map +1 -0
- package/dist/model-providers/model-status-cache.js +220 -0
- package/dist/model-providers/model-status-cache.js.map +1 -0
- package/dist/model-providers/provider-boundary-utils.d.ts +5 -0
- package/dist/model-providers/provider-boundary-utils.d.ts.map +1 -0
- package/dist/model-providers/provider-boundary-utils.js +32 -0
- package/dist/model-providers/provider-boundary-utils.js.map +1 -0
- package/dist/model-providers/provider-options.d.ts +34 -0
- package/dist/model-providers/provider-options.d.ts.map +1 -0
- package/dist/model-providers/provider-options.js +76 -0
- package/dist/model-providers/provider-options.js.map +1 -0
- package/dist/model-providers/registry.d.ts +35 -0
- package/dist/model-providers/registry.d.ts.map +1 -0
- package/dist/model-providers/registry.js +138 -0
- package/dist/model-providers/registry.js.map +1 -0
- package/dist/model-providers/server-adapters.d.ts +28 -0
- package/dist/model-providers/server-adapters.d.ts.map +1 -0
- package/dist/model-providers/server-adapters.js +63 -0
- package/dist/model-providers/server-adapters.js.map +1 -0
- package/dist/pi-resources/assemble.d.ts +36 -0
- package/dist/pi-resources/assemble.d.ts.map +1 -0
- package/dist/pi-resources/assemble.js +275 -0
- package/dist/pi-resources/assemble.js.map +1 -0
- package/dist/pi-resources/bundle-cache.d.ts +27 -0
- package/dist/pi-resources/bundle-cache.d.ts.map +1 -0
- package/dist/pi-resources/bundle-cache.js +125 -0
- package/dist/pi-resources/bundle-cache.js.map +1 -0
- package/dist/pi-resources/bundle-pin-lifecycle.d.ts +13 -0
- package/dist/pi-resources/bundle-pin-lifecycle.d.ts.map +1 -0
- package/dist/pi-resources/bundle-pin-lifecycle.js +41 -0
- package/dist/pi-resources/bundle-pin-lifecycle.js.map +1 -0
- package/dist/pi-resources/index.d.ts +4 -0
- package/dist/pi-resources/index.d.ts.map +1 -0
- package/dist/pi-resources/index.js +4 -0
- package/dist/pi-resources/index.js.map +1 -0
- package/dist/pi-resources/resource-collector.d.ts +41 -0
- package/dist/pi-resources/resource-collector.d.ts.map +1 -0
- package/dist/pi-resources/resource-collector.js +163 -0
- package/dist/pi-resources/resource-collector.js.map +1 -0
- package/dist/pi-session-tree.d.ts +26 -0
- package/dist/pi-session-tree.d.ts.map +1 -0
- package/dist/pi-session-tree.js +106 -0
- package/dist/pi-session-tree.js.map +1 -0
- package/dist/primary-path-snapshot.d.ts +20 -0
- package/dist/primary-path-snapshot.d.ts.map +1 -0
- package/dist/primary-path-snapshot.js +246 -0
- package/dist/primary-path-snapshot.js.map +1 -0
- package/dist/process-action-input-validation.d.ts +8 -0
- package/dist/process-action-input-validation.d.ts.map +1 -0
- package/dist/process-action-input-validation.js +75 -0
- package/dist/process-action-input-validation.js.map +1 -0
- package/dist/process-action-next-turn-model.d.ts +20 -0
- package/dist/process-action-next-turn-model.d.ts.map +1 -0
- package/dist/process-action-next-turn-model.js +102 -0
- package/dist/process-action-next-turn-model.js.map +1 -0
- package/dist/process-action-planner.d.ts +35 -0
- package/dist/process-action-planner.d.ts.map +1 -0
- package/dist/process-action-planner.js +93 -0
- package/dist/process-action-planner.js.map +1 -0
- package/dist/process-action-registry.d.ts +64 -0
- package/dist/process-action-registry.d.ts.map +1 -0
- package/dist/process-action-registry.js +332 -0
- package/dist/process-action-registry.js.map +1 -0
- package/dist/process-attention-notifier.d.ts +6 -0
- package/dist/process-attention-notifier.d.ts.map +1 -0
- package/dist/process-attention-notifier.js +41 -0
- package/dist/process-attention-notifier.js.map +1 -0
- package/dist/process-deletion-service.d.ts +42 -0
- package/dist/process-deletion-service.d.ts.map +1 -0
- package/dist/process-deletion-service.js +48 -0
- package/dist/process-deletion-service.js.map +1 -0
- package/dist/process-engine/decision.d.ts +36 -0
- package/dist/process-engine/decision.d.ts.map +1 -0
- package/dist/process-engine/decision.js +22 -0
- package/dist/process-engine/decision.js.map +1 -0
- package/dist/process-engine/engine.d.ts +3 -0
- package/dist/process-engine/engine.d.ts.map +1 -0
- package/dist/process-engine/engine.js +168 -0
- package/dist/process-engine/engine.js.map +1 -0
- package/dist/process-engine/index.d.ts +11 -0
- package/dist/process-engine/index.d.ts.map +1 -0
- package/dist/process-engine/index.js +8 -0
- package/dist/process-engine/index.js.map +1 -0
- package/dist/process-engine/internal-failures.d.ts +17 -0
- package/dist/process-engine/internal-failures.d.ts.map +1 -0
- package/dist/process-engine/internal-failures.js +32 -0
- package/dist/process-engine/internal-failures.js.map +1 -0
- package/dist/process-engine/operation.d.ts +34 -0
- package/dist/process-engine/operation.d.ts.map +1 -0
- package/dist/process-engine/operation.js +4 -0
- package/dist/process-engine/operation.js.map +1 -0
- package/dist/process-engine/ops/abort-process.d.ts +7 -0
- package/dist/process-engine/ops/abort-process.d.ts.map +1 -0
- package/dist/process-engine/ops/abort-process.js +104 -0
- package/dist/process-engine/ops/abort-process.js.map +1 -0
- package/dist/process-engine/ops/abort-turn.d.ts +8 -0
- package/dist/process-engine/ops/abort-turn.d.ts.map +1 -0
- package/dist/process-engine/ops/abort-turn.js +48 -0
- package/dist/process-engine/ops/abort-turn.js.map +1 -0
- package/dist/process-engine/ops/accept-worker-turn-start.d.ts +10 -0
- package/dist/process-engine/ops/accept-worker-turn-start.d.ts.map +1 -0
- package/dist/process-engine/ops/accept-worker-turn-start.js +137 -0
- package/dist/process-engine/ops/accept-worker-turn-start.js.map +1 -0
- package/dist/process-engine/ops/continue-failed-turn.d.ts +13 -0
- package/dist/process-engine/ops/continue-failed-turn.d.ts.map +1 -0
- package/dist/process-engine/ops/continue-failed-turn.js +109 -0
- package/dist/process-engine/ops/continue-failed-turn.js.map +1 -0
- package/dist/process-engine/ops/deferred-process-activation.d.ts +16 -0
- package/dist/process-engine/ops/deferred-process-activation.d.ts.map +1 -0
- package/dist/process-engine/ops/deferred-process-activation.js +98 -0
- package/dist/process-engine/ops/deferred-process-activation.js.map +1 -0
- package/dist/process-engine/ops/execute-action.d.ts +17 -0
- package/dist/process-engine/ops/execute-action.d.ts.map +1 -0
- package/dist/process-engine/ops/execute-action.js +292 -0
- package/dist/process-engine/ops/execute-action.js.map +1 -0
- package/dist/process-engine/ops/index.d.ts +17 -0
- package/dist/process-engine/ops/index.d.ts.map +1 -0
- package/dist/process-engine/ops/index.js +17 -0
- package/dist/process-engine/ops/index.js.map +1 -0
- package/dist/process-engine/ops/park-process.d.ts +7 -0
- package/dist/process-engine/ops/park-process.d.ts.map +1 -0
- package/dist/process-engine/ops/park-process.js +14 -0
- package/dist/process-engine/ops/park-process.js.map +1 -0
- package/dist/process-engine/ops/queue-inputs.d.ts +12 -0
- package/dist/process-engine/ops/queue-inputs.d.ts.map +1 -0
- package/dist/process-engine/ops/queue-inputs.js +35 -0
- package/dist/process-engine/ops/queue-inputs.js.map +1 -0
- package/dist/process-engine/ops/retry-failed-turn.d.ts +9 -0
- package/dist/process-engine/ops/retry-failed-turn.d.ts.map +1 -0
- package/dist/process-engine/ops/retry-failed-turn.js +74 -0
- package/dist/process-engine/ops/retry-failed-turn.js.map +1 -0
- package/dist/process-engine/ops/retry-startup.d.ts +11 -0
- package/dist/process-engine/ops/retry-startup.d.ts.map +1 -0
- package/dist/process-engine/ops/retry-startup.js +65 -0
- package/dist/process-engine/ops/retry-startup.js.map +1 -0
- package/dist/process-engine/ops/start-process.d.ts +8 -0
- package/dist/process-engine/ops/start-process.d.ts.map +1 -0
- package/dist/process-engine/ops/start-process.js +20 -0
- package/dist/process-engine/ops/start-process.js.map +1 -0
- package/dist/process-engine/ops/turn-failed.d.ts +7 -0
- package/dist/process-engine/ops/turn-failed.d.ts.map +1 -0
- package/dist/process-engine/ops/turn-failed.js +34 -0
- package/dist/process-engine/ops/turn-failed.js.map +1 -0
- package/dist/process-engine/ops/turn-outcome.d.ts +7 -0
- package/dist/process-engine/ops/turn-outcome.d.ts.map +1 -0
- package/dist/process-engine/ops/turn-outcome.js +345 -0
- package/dist/process-engine/ops/turn-outcome.js.map +1 -0
- package/dist/process-engine/ops/update-product-refs.d.ts +7 -0
- package/dist/process-engine/ops/update-product-refs.d.ts.map +1 -0
- package/dist/process-engine/ops/update-product-refs.js +18 -0
- package/dist/process-engine/ops/update-product-refs.js.map +1 -0
- package/dist/process-engine/ops/update-semantic-refs.d.ts +7 -0
- package/dist/process-engine/ops/update-semantic-refs.d.ts.map +1 -0
- package/dist/process-engine/ops/update-semantic-refs.js +21 -0
- package/dist/process-engine/ops/update-semantic-refs.js.map +1 -0
- package/dist/process-engine/ops/worker-failure.d.ts +11 -0
- package/dist/process-engine/ops/worker-failure.d.ts.map +1 -0
- package/dist/process-engine/ops/worker-failure.js +79 -0
- package/dist/process-engine/ops/worker-failure.js.map +1 -0
- package/dist/process-engine/reactions.d.ts +14 -0
- package/dist/process-engine/reactions.d.ts.map +1 -0
- package/dist/process-engine/reactions.js +23 -0
- package/dist/process-engine/reactions.js.map +1 -0
- package/dist/process-engine/recorder.d.ts +14 -0
- package/dist/process-engine/recorder.d.ts.map +1 -0
- package/dist/process-engine/recorder.js +245 -0
- package/dist/process-engine/recorder.js.map +1 -0
- package/dist/process-engine/runner.d.ts +6 -0
- package/dist/process-engine/runner.d.ts.map +1 -0
- package/dist/process-engine/runner.js +194 -0
- package/dist/process-engine/runner.js.map +1 -0
- package/dist/process-engine/startup-reconciliation.d.ts +26 -0
- package/dist/process-engine/startup-reconciliation.d.ts.map +1 -0
- package/dist/process-engine/startup-reconciliation.js +130 -0
- package/dist/process-engine/startup-reconciliation.js.map +1 -0
- package/dist/process-engine/state-json.d.ts +2 -0
- package/dist/process-engine/state-json.d.ts.map +1 -0
- package/dist/process-engine/state-json.js +5 -0
- package/dist/process-engine/state-json.js.map +1 -0
- package/dist/process-engine/turn-start-preflight.d.ts +30 -0
- package/dist/process-engine/turn-start-preflight.d.ts.map +1 -0
- package/dist/process-engine/turn-start-preflight.js +229 -0
- package/dist/process-engine/turn-start-preflight.js.map +1 -0
- package/dist/process-engine/turn-worker-requirement.d.ts +8 -0
- package/dist/process-engine/turn-worker-requirement.d.ts.map +1 -0
- package/dist/process-engine/turn-worker-requirement.js +11 -0
- package/dist/process-engine/turn-worker-requirement.js.map +1 -0
- package/dist/process-engine/types.d.ts +184 -0
- package/dist/process-engine/types.d.ts.map +1 -0
- package/dist/process-engine/types.js +2 -0
- package/dist/process-engine/types.js.map +1 -0
- package/dist/process-engine/worker-reconciliation.d.ts +8 -0
- package/dist/process-engine/worker-reconciliation.d.ts.map +1 -0
- package/dist/process-engine/worker-reconciliation.js +29 -0
- package/dist/process-engine/worker-reconciliation.js.map +1 -0
- package/dist/process-engine/writes/build-continue-failed-turn-writes.d.ts +13 -0
- package/dist/process-engine/writes/build-continue-failed-turn-writes.d.ts.map +1 -0
- package/dist/process-engine/writes/build-continue-failed-turn-writes.js +95 -0
- package/dist/process-engine/writes/build-continue-failed-turn-writes.js.map +1 -0
- package/dist/process-engine/writes/build-process-abort-writes.d.ts +11 -0
- package/dist/process-engine/writes/build-process-abort-writes.d.ts.map +1 -0
- package/dist/process-engine/writes/build-process-abort-writes.js +64 -0
- package/dist/process-engine/writes/build-process-abort-writes.js.map +1 -0
- package/dist/process-engine/writes/build-process-action-writes.d.ts +25 -0
- package/dist/process-engine/writes/build-process-action-writes.d.ts.map +1 -0
- package/dist/process-engine/writes/build-process-action-writes.js +140 -0
- package/dist/process-engine/writes/build-process-action-writes.js.map +1 -0
- package/dist/process-engine/writes/build-process-park-writes.d.ts +9 -0
- package/dist/process-engine/writes/build-process-park-writes.d.ts.map +1 -0
- package/dist/process-engine/writes/build-process-park-writes.js +48 -0
- package/dist/process-engine/writes/build-process-park-writes.js.map +1 -0
- package/dist/process-engine/writes/build-retry-writes.d.ts +11 -0
- package/dist/process-engine/writes/build-retry-writes.d.ts.map +1 -0
- package/dist/process-engine/writes/build-retry-writes.js +83 -0
- package/dist/process-engine/writes/build-retry-writes.js.map +1 -0
- package/dist/process-engine/writes/build-server-transition-writes.d.ts +6 -0
- package/dist/process-engine/writes/build-server-transition-writes.d.ts.map +1 -0
- package/dist/process-engine/writes/build-server-transition-writes.js +81 -0
- package/dist/process-engine/writes/build-server-transition-writes.js.map +1 -0
- package/dist/process-engine/writes/build-turn-failed-writes.d.ts +10 -0
- package/dist/process-engine/writes/build-turn-failed-writes.d.ts.map +1 -0
- package/dist/process-engine/writes/build-turn-failed-writes.js +52 -0
- package/dist/process-engine/writes/build-turn-failed-writes.js.map +1 -0
- package/dist/process-engine/writes/build-turn-outcome-writes.d.ts +15 -0
- package/dist/process-engine/writes/build-turn-outcome-writes.d.ts.map +1 -0
- package/dist/process-engine/writes/build-turn-outcome-writes.js +171 -0
- package/dist/process-engine/writes/build-turn-outcome-writes.js.map +1 -0
- package/dist/process-engine/writes/build-turn-selection-writes.d.ts +15 -0
- package/dist/process-engine/writes/build-turn-selection-writes.d.ts.map +1 -0
- package/dist/process-engine/writes/build-turn-selection-writes.js +214 -0
- package/dist/process-engine/writes/build-turn-selection-writes.js.map +1 -0
- package/dist/process-engine/writes/build-worker-failure-writes.d.ts +12 -0
- package/dist/process-engine/writes/build-worker-failure-writes.d.ts.map +1 -0
- package/dist/process-engine/writes/build-worker-failure-writes.js +58 -0
- package/dist/process-engine/writes/build-worker-failure-writes.js.map +1 -0
- package/dist/process-engine/writes/commit-writes.d.ts +28 -0
- package/dist/process-engine/writes/commit-writes.d.ts.map +1 -0
- package/dist/process-engine/writes/commit-writes.js +252 -0
- package/dist/process-engine/writes/commit-writes.js.map +1 -0
- package/dist/process-engine/writes/deferred-extension-events.d.ts +11 -0
- package/dist/process-engine/writes/deferred-extension-events.d.ts.map +1 -0
- package/dist/process-engine/writes/deferred-extension-events.js +13 -0
- package/dist/process-engine/writes/deferred-extension-events.js.map +1 -0
- package/dist/process-engine/writes/process-effects.d.ts +5 -0
- package/dist/process-engine/writes/process-effects.d.ts.map +1 -0
- package/dist/process-engine/writes/process-effects.js +20 -0
- package/dist/process-engine/writes/process-effects.js.map +1 -0
- package/dist/process-engine/writes/writes.d.ts +134 -0
- package/dist/process-engine/writes/writes.d.ts.map +1 -0
- package/dist/process-engine/writes/writes.js +139 -0
- package/dist/process-engine/writes/writes.js.map +1 -0
- package/dist/process-graph.d.ts +6 -0
- package/dist/process-graph.d.ts.map +1 -0
- package/dist/process-graph.js +7 -0
- package/dist/process-graph.js.map +1 -0
- package/dist/process-input-dispatch.d.ts +30 -0
- package/dist/process-input-dispatch.d.ts.map +1 -0
- package/dist/process-input-dispatch.js +85 -0
- package/dist/process-input-dispatch.js.map +1 -0
- package/dist/process-instance-tree-presenter.d.ts +11 -0
- package/dist/process-instance-tree-presenter.d.ts.map +1 -0
- package/dist/process-instance-tree-presenter.js +202 -0
- package/dist/process-instance-tree-presenter.js.map +1 -0
- package/dist/process-launch-executor.d.ts +41 -0
- package/dist/process-launch-executor.d.ts.map +1 -0
- package/dist/process-launch-executor.js +295 -0
- package/dist/process-launch-executor.js.map +1 -0
- package/dist/process-launch-plan-model-config.d.ts +4 -0
- package/dist/process-launch-plan-model-config.d.ts.map +1 -0
- package/dist/process-launch-plan-model-config.js +22 -0
- package/dist/process-launch-plan-model-config.js.map +1 -0
- package/dist/process-launch-plan.d.ts +12 -0
- package/dist/process-launch-plan.d.ts.map +1 -0
- package/dist/process-launch-plan.js +63 -0
- package/dist/process-launch-plan.js.map +1 -0
- package/dist/process-launcher-registry.d.ts +11 -0
- package/dist/process-launcher-registry.d.ts.map +1 -0
- package/dist/process-launcher-registry.js +104 -0
- package/dist/process-launcher-registry.js.map +1 -0
- package/dist/process-model-availability-recovery.d.ts +22 -0
- package/dist/process-model-availability-recovery.d.ts.map +1 -0
- package/dist/process-model-availability-recovery.js +41 -0
- package/dist/process-model-availability-recovery.js.map +1 -0
- package/dist/process-model-availability-transitions.d.ts +8 -0
- package/dist/process-model-availability-transitions.d.ts.map +1 -0
- package/dist/process-model-availability-transitions.js +14 -0
- package/dist/process-model-availability-transitions.js.map +1 -0
- package/dist/process-model-integrity-reconciler.d.ts +16 -0
- package/dist/process-model-integrity-reconciler.d.ts.map +1 -0
- package/dist/process-model-integrity-reconciler.js +27 -0
- package/dist/process-model-integrity-reconciler.js.map +1 -0
- package/dist/process-model-policy/construct.d.ts +19 -0
- package/dist/process-model-policy/construct.d.ts.map +1 -0
- package/dist/process-model-policy/construct.js +94 -0
- package/dist/process-model-policy/construct.js.map +1 -0
- package/dist/process-model-policy/evaluate.d.ts +7 -0
- package/dist/process-model-policy/evaluate.d.ts.map +1 -0
- package/dist/process-model-policy/evaluate.js +163 -0
- package/dist/process-model-policy/evaluate.js.map +1 -0
- package/dist/process-model-policy/fingerprint.d.ts +3 -0
- package/dist/process-model-policy/fingerprint.d.ts.map +1 -0
- package/dist/process-model-policy/fingerprint.js +39 -0
- package/dist/process-model-policy/fingerprint.js.map +1 -0
- package/dist/process-model-policy/index.d.ts +16 -0
- package/dist/process-model-policy/index.d.ts.map +1 -0
- package/dist/process-model-policy/index.js +47 -0
- package/dist/process-model-policy/index.js.map +1 -0
- package/dist/process-model-policy/input.d.ts +12 -0
- package/dist/process-model-policy/input.d.ts.map +1 -0
- package/dist/process-model-policy/input.js +79 -0
- package/dist/process-model-policy/input.js.map +1 -0
- package/dist/process-model-policy/integrity.d.ts +9 -0
- package/dist/process-model-policy/integrity.d.ts.map +1 -0
- package/dist/process-model-policy/integrity.js +53 -0
- package/dist/process-model-policy/integrity.js.map +1 -0
- package/dist/process-model-policy/launch.d.ts +5 -0
- package/dist/process-model-policy/launch.d.ts.map +1 -0
- package/dist/process-model-policy/launch.js +171 -0
- package/dist/process-model-policy/launch.js.map +1 -0
- package/dist/process-model-policy/project.d.ts +3 -0
- package/dist/process-model-policy/project.d.ts.map +1 -0
- package/dist/process-model-policy/project.js +144 -0
- package/dist/process-model-policy/project.js.map +1 -0
- package/dist/process-model-policy/stable-availability.d.ts +17 -0
- package/dist/process-model-policy/stable-availability.d.ts.map +1 -0
- package/dist/process-model-policy/stable-availability.js +16 -0
- package/dist/process-model-policy/stable-availability.js.map +1 -0
- package/dist/process-model-policy/types.d.ts +261 -0
- package/dist/process-model-policy/types.d.ts.map +1 -0
- package/dist/process-model-policy/types.js +9 -0
- package/dist/process-model-policy/types.js.map +1 -0
- package/dist/process-model-policy-presenter.d.ts +17 -0
- package/dist/process-model-policy-presenter.d.ts.map +1 -0
- package/dist/process-model-policy-presenter.js +77 -0
- package/dist/process-model-policy-presenter.js.map +1 -0
- package/dist/process-model-selection.d.ts +32 -0
- package/dist/process-model-selection.d.ts.map +1 -0
- package/dist/process-model-selection.js +101 -0
- package/dist/process-model-selection.js.map +1 -0
- package/dist/process-operation-coordinator.d.ts +5 -0
- package/dist/process-operation-coordinator.d.ts.map +1 -0
- package/dist/process-operation-coordinator.js +23 -0
- package/dist/process-operation-coordinator.js.map +1 -0
- package/dist/process-operator-attention.d.ts +33 -0
- package/dist/process-operator-attention.d.ts.map +1 -0
- package/dist/process-operator-attention.js +149 -0
- package/dist/process-operator-attention.js.map +1 -0
- package/dist/process-overview-presenter.d.ts +61 -0
- package/dist/process-overview-presenter.d.ts.map +1 -0
- package/dist/process-overview-presenter.js +220 -0
- package/dist/process-overview-presenter.js.map +1 -0
- package/dist/process-question-service.d.ts +40 -0
- package/dist/process-question-service.d.ts.map +1 -0
- package/dist/process-question-service.js +131 -0
- package/dist/process-question-service.js.map +1 -0
- package/dist/process-session-store.d.ts +79 -0
- package/dist/process-session-store.d.ts.map +1 -0
- package/dist/process-session-store.js +210 -0
- package/dist/process-session-store.js.map +1 -0
- package/dist/process-title-generator.d.ts +80 -0
- package/dist/process-title-generator.d.ts.map +1 -0
- package/dist/process-title-generator.js +628 -0
- package/dist/process-title-generator.js.map +1 -0
- package/dist/process-turn-trace.d.ts +19 -0
- package/dist/process-turn-trace.d.ts.map +1 -0
- package/dist/process-turn-trace.js +482 -0
- package/dist/process-turn-trace.js.map +1 -0
- package/dist/process-ui-registry.d.ts +10 -0
- package/dist/process-ui-registry.d.ts.map +1 -0
- package/dist/process-ui-registry.js +22 -0
- package/dist/process-ui-registry.js.map +1 -0
- package/dist/process-ui-snapshot-presenter.d.ts +92 -0
- package/dist/process-ui-snapshot-presenter.d.ts.map +1 -0
- package/dist/process-ui-snapshot-presenter.js +875 -0
- package/dist/process-ui-snapshot-presenter.js.map +1 -0
- package/dist/process-watcher-registry.d.ts +40 -0
- package/dist/process-watcher-registry.d.ts.map +1 -0
- package/dist/process-watcher-registry.js +152 -0
- package/dist/process-watcher-registry.js.map +1 -0
- package/dist/product-ref-state.d.ts +13 -0
- package/dist/product-ref-state.d.ts.map +1 -0
- package/dist/product-ref-state.js +84 -0
- package/dist/product-ref-state.js.map +1 -0
- package/dist/product-turn-result-markdown.d.ts +9 -0
- package/dist/product-turn-result-markdown.d.ts.map +1 -0
- package/dist/product-turn-result-markdown.js +44 -0
- package/dist/product-turn-result-markdown.js.map +1 -0
- package/dist/project-mutation-service.d.ts +31 -0
- package/dist/project-mutation-service.d.ts.map +1 -0
- package/dist/project-mutation-service.js +68 -0
- package/dist/project-mutation-service.js.map +1 -0
- package/dist/repository-credentials/service.d.ts +22 -0
- package/dist/repository-credentials/service.d.ts.map +1 -0
- package/dist/repository-credentials/service.js +49 -0
- package/dist/repository-credentials/service.js.map +1 -0
- package/dist/result-image-store.d.ts +29 -0
- package/dist/result-image-store.d.ts.map +1 -0
- package/dist/result-image-store.js +85 -0
- package/dist/result-image-store.js.map +1 -0
- package/dist/result-image-validation.d.ts +15 -0
- package/dist/result-image-validation.d.ts.map +1 -0
- package/dist/result-image-validation.js +47 -0
- package/dist/result-image-validation.js.map +1 -0
- package/dist/routes/future-executions.d.ts +5 -0
- package/dist/routes/future-executions.d.ts.map +1 -0
- package/dist/routes/future-executions.js +62 -0
- package/dist/routes/future-executions.js.map +1 -0
- package/dist/routes/internal-worker-auth.d.ts +14 -0
- package/dist/routes/internal-worker-auth.d.ts.map +1 -0
- package/dist/routes/internal-worker-auth.js +33 -0
- package/dist/routes/internal-worker-auth.js.map +1 -0
- package/dist/routes/internal-worker-session-snapshot.d.ts +14 -0
- package/dist/routes/internal-worker-session-snapshot.d.ts.map +1 -0
- package/dist/routes/internal-worker-session-snapshot.js +172 -0
- package/dist/routes/internal-worker-session-snapshot.js.map +1 -0
- package/dist/routes/launchers.d.ts +5 -0
- package/dist/routes/launchers.d.ts.map +1 -0
- package/dist/routes/launchers.js +140 -0
- package/dist/routes/launchers.js.map +1 -0
- package/dist/routes/process-actions.d.ts +5 -0
- package/dist/routes/process-actions.d.ts.map +1 -0
- package/dist/routes/process-actions.js +210 -0
- package/dist/routes/process-actions.js.map +1 -0
- package/dist/routes/process-detail.d.ts +4 -0
- package/dist/routes/process-detail.d.ts.map +1 -0
- package/dist/routes/process-detail.js +110 -0
- package/dist/routes/process-detail.js.map +1 -0
- package/dist/routes/process-diagnostics-assembler.d.ts +9 -0
- package/dist/routes/process-diagnostics-assembler.d.ts.map +1 -0
- package/dist/routes/process-diagnostics-assembler.js +92 -0
- package/dist/routes/process-diagnostics-assembler.js.map +1 -0
- package/dist/routes/process-engine-http.d.ts +10 -0
- package/dist/routes/process-engine-http.d.ts.map +1 -0
- package/dist/routes/process-engine-http.js +82 -0
- package/dist/routes/process-engine-http.js.map +1 -0
- package/dist/routes/process-primary-path-assembler.d.ts +18 -0
- package/dist/routes/process-primary-path-assembler.d.ts.map +1 -0
- package/dist/routes/process-primary-path-assembler.js +67 -0
- package/dist/routes/process-primary-path-assembler.js.map +1 -0
- package/dist/routes/process-questions.d.ts +4 -0
- package/dist/routes/process-questions.d.ts.map +1 -0
- package/dist/routes/process-questions.js +12 -0
- package/dist/routes/process-questions.js.map +1 -0
- package/dist/routes/process-route-helpers.d.ts +142 -0
- package/dist/routes/process-route-helpers.d.ts.map +1 -0
- package/dist/routes/process-route-helpers.js +523 -0
- package/dist/routes/process-route-helpers.js.map +1 -0
- package/dist/routes/process-session.d.ts +4 -0
- package/dist/routes/process-session.d.ts.map +1 -0
- package/dist/routes/process-session.js +24 -0
- package/dist/routes/process-session.js.map +1 -0
- package/dist/routes/processes.d.ts +5 -0
- package/dist/routes/processes.d.ts.map +1 -0
- package/dist/routes/processes.js +15 -0
- package/dist/routes/processes.js.map +1 -0
- package/dist/routes/result-images.d.ts +9 -0
- package/dist/routes/result-images.d.ts.map +1 -0
- package/dist/routes/result-images.js +92 -0
- package/dist/routes/result-images.js.map +1 -0
- package/dist/routes/skills.d.ts +7 -0
- package/dist/routes/skills.d.ts.map +1 -0
- package/dist/routes/skills.js +36 -0
- package/dist/routes/skills.js.map +1 -0
- package/dist/routes/ui-renderers.d.ts +8 -0
- package/dist/routes/ui-renderers.d.ts.map +1 -0
- package/dist/routes/ui-renderers.js +40 -0
- package/dist/routes/ui-renderers.js.map +1 -0
- package/dist/routes/watchers.d.ts +7 -0
- package/dist/routes/watchers.d.ts.map +1 -0
- package/dist/routes/watchers.js +82 -0
- package/dist/routes/watchers.js.map +1 -0
- package/dist/runtime-server-config.d.ts +16 -0
- package/dist/runtime-server-config.d.ts.map +1 -0
- package/dist/runtime-server-config.js +46 -0
- package/dist/runtime-server-config.js.map +1 -0
- package/dist/scheduled-action-preflight.d.ts +29 -0
- package/dist/scheduled-action-preflight.d.ts.map +1 -0
- package/dist/scheduled-action-preflight.js +53 -0
- package/dist/scheduled-action-preflight.js.map +1 -0
- package/dist/semantic-entry-ref-state.d.ts +15 -0
- package/dist/semantic-entry-ref-state.d.ts.map +1 -0
- package/dist/semantic-entry-ref-state.js +97 -0
- package/dist/semantic-entry-ref-state.js.map +1 -0
- package/dist/semantic-state-json.d.ts +7 -0
- package/dist/semantic-state-json.d.ts.map +1 -0
- package/dist/semantic-state-json.js +7 -0
- package/dist/semantic-state-json.js.map +1 -0
- package/dist/semantic-turn-result-markdown.d.ts +19 -0
- package/dist/semantic-turn-result-markdown.d.ts.map +1 -0
- package/dist/semantic-turn-result-markdown.js +45 -0
- package/dist/semantic-turn-result-markdown.js.map +1 -0
- package/dist/server-automatic-turn-drainer.d.ts +13 -0
- package/dist/server-automatic-turn-drainer.d.ts.map +1 -0
- package/dist/server-automatic-turn-drainer.js +235 -0
- package/dist/server-automatic-turn-drainer.js.map +1 -0
- package/dist/server-bootstrap/build-host-capabilities.d.ts +36 -0
- package/dist/server-bootstrap/build-host-capabilities.d.ts.map +1 -0
- package/dist/server-bootstrap/build-host-capabilities.js +82 -0
- package/dist/server-bootstrap/build-host-capabilities.js.map +1 -0
- package/dist/server-bootstrap/load-extension-catalog.d.ts +13 -0
- package/dist/server-bootstrap/load-extension-catalog.d.ts.map +1 -0
- package/dist/server-bootstrap/load-extension-catalog.js +17 -0
- package/dist/server-bootstrap/load-extension-catalog.js.map +1 -0
- package/dist/server-bootstrap/register-http.d.ts +19 -0
- package/dist/server-bootstrap/register-http.d.ts.map +1 -0
- package/dist/server-bootstrap/register-http.js +45 -0
- package/dist/server-bootstrap/register-http.js.map +1 -0
- package/dist/server-bootstrap/register-websocket.d.ts +13 -0
- package/dist/server-bootstrap/register-websocket.d.ts.map +1 -0
- package/dist/server-bootstrap/register-websocket.js +111 -0
- package/dist/server-bootstrap/register-websocket.js.map +1 -0
- package/dist/server-topology.d.ts +30 -0
- package/dist/server-topology.d.ts.map +1 -0
- package/dist/server-topology.js +33 -0
- package/dist/server-topology.js.map +1 -0
- package/dist/skills/catalog-service.d.ts +18 -0
- package/dist/skills/catalog-service.d.ts.map +1 -0
- package/dist/skills/catalog-service.js +66 -0
- package/dist/skills/catalog-service.js.map +1 -0
- package/dist/skills/catalog-sync.d.ts +9 -0
- package/dist/skills/catalog-sync.d.ts.map +1 -0
- package/dist/skills/catalog-sync.js +7 -0
- package/dist/skills/catalog-sync.js.map +1 -0
- package/dist/skills/invocation-detector.d.ts +12 -0
- package/dist/skills/invocation-detector.d.ts.map +1 -0
- package/dist/skills/invocation-detector.js +54 -0
- package/dist/skills/invocation-detector.js.map +1 -0
- package/dist/skills/skill-dependencies.d.ts +3 -0
- package/dist/skills/skill-dependencies.d.ts.map +1 -0
- package/dist/skills/skill-dependencies.js +17 -0
- package/dist/skills/skill-dependencies.js.map +1 -0
- package/dist/skills/skill-id.d.ts +3 -0
- package/dist/skills/skill-id.d.ts.map +1 -0
- package/dist/skills/skill-id.js +3 -0
- package/dist/skills/skill-id.js.map +1 -0
- package/dist/skills/source-importer.d.ts +18 -0
- package/dist/skills/source-importer.d.ts.map +1 -0
- package/dist/skills/source-importer.js +151 -0
- package/dist/skills/source-importer.js.map +1 -0
- package/dist/supervisor/adoption/adoption-plan.d.ts +14 -0
- package/dist/supervisor/adoption/adoption-plan.d.ts.map +1 -0
- package/dist/supervisor/adoption/adoption-plan.js +25 -0
- package/dist/supervisor/adoption/adoption-plan.js.map +1 -0
- package/dist/supervisor/adoption/worker-adoption-coordinator.d.ts +53 -0
- package/dist/supervisor/adoption/worker-adoption-coordinator.d.ts.map +1 -0
- package/dist/supervisor/adoption/worker-adoption-coordinator.js +225 -0
- package/dist/supervisor/adoption/worker-adoption-coordinator.js.map +1 -0
- package/dist/supervisor/idle-worker-ttl.d.ts +19 -0
- package/dist/supervisor/idle-worker-ttl.d.ts.map +1 -0
- package/dist/supervisor/idle-worker-ttl.js +26 -0
- package/dist/supervisor/idle-worker-ttl.js.map +1 -0
- package/dist/supervisor/ipc-handler.d.ts +37 -0
- package/dist/supervisor/ipc-handler.d.ts.map +1 -0
- package/dist/supervisor/ipc-handler.js +258 -0
- package/dist/supervisor/ipc-handler.js.map +1 -0
- package/dist/supervisor/stale-heartbeat-watchdog.d.ts +18 -0
- package/dist/supervisor/stale-heartbeat-watchdog.d.ts.map +1 -0
- package/dist/supervisor/stale-heartbeat-watchdog.js +46 -0
- package/dist/supervisor/stale-heartbeat-watchdog.js.map +1 -0
- package/dist/supervisor/synthetic-worker-failure.d.ts +13 -0
- package/dist/supervisor/synthetic-worker-failure.d.ts.map +1 -0
- package/dist/supervisor/synthetic-worker-failure.js +21 -0
- package/dist/supervisor/synthetic-worker-failure.js.map +1 -0
- package/dist/supervisor/worker-api-compatibility.d.ts +9 -0
- package/dist/supervisor/worker-api-compatibility.d.ts.map +1 -0
- package/dist/supervisor/worker-api-compatibility.js +20 -0
- package/dist/supervisor/worker-api-compatibility.js.map +1 -0
- package/dist/supervisor/worker-connect-token.d.ts +4 -0
- package/dist/supervisor/worker-connect-token.d.ts.map +1 -0
- package/dist/supervisor/worker-connect-token.js +13 -0
- package/dist/supervisor/worker-connect-token.js.map +1 -0
- package/dist/supervisor/worker-event-ingestor.d.ts +29 -0
- package/dist/supervisor/worker-event-ingestor.d.ts.map +1 -0
- package/dist/supervisor/worker-event-ingestor.js +193 -0
- package/dist/supervisor/worker-event-ingestor.js.map +1 -0
- package/dist/supervisor/worker-input-ack-handler.d.ts +12 -0
- package/dist/supervisor/worker-input-ack-handler.d.ts.map +1 -0
- package/dist/supervisor/worker-input-ack-handler.js +37 -0
- package/dist/supervisor/worker-input-ack-handler.js.map +1 -0
- package/dist/supervisor/worker-lease-observer.d.ts +35 -0
- package/dist/supervisor/worker-lease-observer.d.ts.map +1 -0
- package/dist/supervisor/worker-lease-observer.js +79 -0
- package/dist/supervisor/worker-lease-observer.js.map +1 -0
- package/dist/supervisor/worker-shutdown-controller.d.ts +16 -0
- package/dist/supervisor/worker-shutdown-controller.d.ts.map +1 -0
- package/dist/supervisor/worker-shutdown-controller.js +68 -0
- package/dist/supervisor/worker-shutdown-controller.js.map +1 -0
- package/dist/supervisor/worker-start-payload-builder.d.ts +33 -0
- package/dist/supervisor/worker-start-payload-builder.d.ts.map +1 -0
- package/dist/supervisor/worker-start-payload-builder.js +271 -0
- package/dist/supervisor/worker-start-payload-builder.js.map +1 -0
- package/dist/supervisor/worker-storage-layout.d.ts +17 -0
- package/dist/supervisor/worker-storage-layout.d.ts.map +1 -0
- package/dist/supervisor/worker-storage-layout.js +60 -0
- package/dist/supervisor/worker-storage-layout.js.map +1 -0
- package/dist/supervisor/worker-supervisor.d.ts +60 -0
- package/dist/supervisor/worker-supervisor.d.ts.map +1 -0
- package/dist/supervisor/worker-supervisor.js +666 -0
- package/dist/supervisor/worker-supervisor.js.map +1 -0
- package/dist/supervisor/worker-turn-ipc-recorder.d.ts +16 -0
- package/dist/supervisor/worker-turn-ipc-recorder.d.ts.map +1 -0
- package/dist/supervisor/worker-turn-ipc-recorder.js +62 -0
- package/dist/supervisor/worker-turn-ipc-recorder.js.map +1 -0
- package/dist/supervisor/worker-websocket-ipc.d.ts +55 -0
- package/dist/supervisor/worker-websocket-ipc.d.ts.map +1 -0
- package/dist/supervisor/worker-websocket-ipc.js +220 -0
- package/dist/supervisor/worker-websocket-ipc.js.map +1 -0
- package/dist/test-helpers/fake-worker-supervisor.d.ts +15 -0
- package/dist/test-helpers/fake-worker-supervisor.d.ts.map +1 -0
- package/dist/test-helpers/fake-worker-supervisor.js +59 -0
- package/dist/test-helpers/fake-worker-supervisor.js.map +1 -0
- package/dist/test-helpers/in-process-worker.d.ts +2 -0
- package/dist/test-helpers/in-process-worker.d.ts.map +1 -0
- package/dist/test-helpers/in-process-worker.js +2 -0
- package/dist/test-helpers/in-process-worker.js.map +1 -0
- package/dist/test-helpers/ipc-handler-harness.d.ts +17 -0
- package/dist/test-helpers/ipc-handler-harness.d.ts.map +1 -0
- package/dist/test-helpers/ipc-handler-harness.js +332 -0
- package/dist/test-helpers/ipc-handler-harness.js.map +1 -0
- package/dist/test-helpers/leaf-outcome-fixtures.d.ts +37 -0
- package/dist/test-helpers/leaf-outcome-fixtures.d.ts.map +1 -0
- package/dist/test-helpers/leaf-outcome-fixtures.js +81 -0
- package/dist/test-helpers/leaf-outcome-fixtures.js.map +1 -0
- package/dist/test-helpers/model-provider-fixtures.d.ts +4 -0
- package/dist/test-helpers/model-provider-fixtures.d.ts.map +1 -0
- package/dist/test-helpers/model-provider-fixtures.js +8 -0
- package/dist/test-helpers/model-provider-fixtures.js.map +1 -0
- package/dist/test-helpers/process-binding-fixtures.d.ts +23 -0
- package/dist/test-helpers/process-binding-fixtures.d.ts.map +1 -0
- package/dist/test-helpers/process-binding-fixtures.js +121 -0
- package/dist/test-helpers/process-binding-fixtures.js.map +1 -0
- package/dist/test-helpers/process-fixtures.d.ts +20 -0
- package/dist/test-helpers/process-fixtures.d.ts.map +1 -0
- package/dist/test-helpers/process-fixtures.js +212 -0
- package/dist/test-helpers/process-fixtures.js.map +1 -0
- package/dist/test-helpers/process-model-fixtures.d.ts +52 -0
- package/dist/test-helpers/process-model-fixtures.d.ts.map +1 -0
- package/dist/test-helpers/process-model-fixtures.js +159 -0
- package/dist/test-helpers/process-model-fixtures.js.map +1 -0
- package/dist/test-helpers/process-title-fixtures.d.ts +3 -0
- package/dist/test-helpers/process-title-fixtures.d.ts.map +1 -0
- package/dist/test-helpers/process-title-fixtures.js +36 -0
- package/dist/test-helpers/process-title-fixtures.js.map +1 -0
- package/dist/test-helpers/structural-process-fixtures.d.ts +7 -0
- package/dist/test-helpers/structural-process-fixtures.d.ts.map +1 -0
- package/dist/test-helpers/structural-process-fixtures.js +24 -0
- package/dist/test-helpers/structural-process-fixtures.js.map +1 -0
- package/dist/test-helpers/turn-fixtures.d.ts +168 -0
- package/dist/test-helpers/turn-fixtures.d.ts.map +1 -0
- package/dist/test-helpers/turn-fixtures.js +148 -0
- package/dist/test-helpers/turn-fixtures.js.map +1 -0
- package/dist/test-helpers/turn-start-preflight-fixtures.d.ts +12 -0
- package/dist/test-helpers/turn-start-preflight-fixtures.d.ts.map +1 -0
- package/dist/test-helpers/turn-start-preflight-fixtures.js +34 -0
- package/dist/test-helpers/turn-start-preflight-fixtures.js.map +1 -0
- package/dist/test-helpers/unit-deps.d.ts +17 -0
- package/dist/test-helpers/unit-deps.d.ts.map +1 -0
- package/dist/test-helpers/unit-deps.js +106 -0
- package/dist/test-helpers/unit-deps.js.map +1 -0
- package/dist/testing.d.ts +8 -114
- package/dist/testing.d.ts.map +1 -0
- package/dist/testing.js +6 -345
- package/dist/testing.js.map +1 -1
- package/dist/worker-runtime-profile-selection.d.ts +56 -0
- package/dist/worker-runtime-profile-selection.d.ts.map +1 -0
- package/dist/worker-runtime-profile-selection.js +90 -0
- package/dist/worker-runtime-profile-selection.js.map +1 -0
- package/dist/ws/broadcast.d.ts +15 -0
- package/dist/ws/broadcast.d.ts.map +1 -0
- package/dist/ws/broadcast.js +34 -0
- package/dist/ws/broadcast.js.map +1 -0
- package/package.json +10 -10
package/dist/index.d.ts
CHANGED
|
@@ -1,898 +1,31 @@
|
|
|
1
|
-
|
|
2
|
-
export {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
export
|
|
9
|
-
|
|
10
|
-
export {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
export {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
declare function applyConfigDefaults(raw: Record<string, unknown>): LeitwerkConfig;
|
|
33
|
-
declare function loadConfig(explicitPath?: string): ConfigLoadResult | ConfigLoadError;
|
|
34
|
-
declare function sanitizeConfigForLogging(value: unknown, path?: readonly string[]): unknown;
|
|
35
|
-
declare function getDefaultConfig(): LeitwerkConfig;
|
|
36
|
-
|
|
37
|
-
interface ExtensionUiRendererDescriptor {
|
|
38
|
-
rendererId: string;
|
|
39
|
-
kind: "custom_element";
|
|
40
|
-
tagName: string;
|
|
41
|
-
modulePath: string;
|
|
42
|
-
rendererApiVersion: number;
|
|
43
|
-
extensionManifestId: string;
|
|
44
|
-
}
|
|
45
|
-
interface ExtensionUiRendererLookup {
|
|
46
|
-
rendererId: string;
|
|
47
|
-
kind: "custom_element";
|
|
48
|
-
tagName: string;
|
|
49
|
-
modulePath: string;
|
|
50
|
-
rendererApiVersion: number;
|
|
51
|
-
extensionManifestId: string;
|
|
52
|
-
moduleUrl: string;
|
|
53
|
-
}
|
|
54
|
-
interface ExtensionUiBrowserModuleDescriptor {
|
|
55
|
-
extensionManifestId: string;
|
|
56
|
-
modulePath: string;
|
|
57
|
-
browserApiVersion: number;
|
|
58
|
-
}
|
|
59
|
-
interface ExtensionUiBrowserModuleLookup extends ExtensionUiBrowserModuleDescriptor {
|
|
60
|
-
moduleUrl: string;
|
|
61
|
-
}
|
|
62
|
-
interface ExtensionUiAssetRoot {
|
|
63
|
-
extensionManifestId: string;
|
|
64
|
-
assetRootDir: string;
|
|
65
|
-
}
|
|
66
|
-
interface ExtensionUiCatalog {
|
|
67
|
-
getRenderer(rendererId: string): ExtensionUiRendererLookup | null;
|
|
68
|
-
listBrowserModules(): readonly ExtensionUiBrowserModuleLookup[];
|
|
69
|
-
getAssetRoot(extensionManifestId: string): ExtensionUiAssetRoot | null;
|
|
70
|
-
}
|
|
71
|
-
interface BuildExtensionUiCatalogOptions {
|
|
72
|
-
runtimeLane?: LeitwerkRuntimeLane;
|
|
73
|
-
}
|
|
74
|
-
declare function buildExtensionUiCatalog(loadedModules: readonly LoadedExtensionModule[], options?: BuildExtensionUiCatalogOptions): Promise<ExtensionUiCatalog>;
|
|
75
|
-
declare function resolveExtensionUiAssetPath(catalog: ExtensionUiCatalog, extensionManifestId: string, requestedPath: string): string | null;
|
|
76
|
-
declare function inferExtensionUiAssetContentType(pathname: string): string;
|
|
77
|
-
|
|
78
|
-
/**
|
|
79
|
-
* Direct, server-only Pi AI adapter. It never reads PI_CODING_AGENT_DIR or an
|
|
80
|
-
* ambient auth file; the current credential revision is supplied per call.
|
|
81
|
-
*/
|
|
82
|
-
declare function createBuiltinPiServerAdapter(builtinProviderId: string): PiServerAdapter;
|
|
83
|
-
|
|
84
|
-
type CredentialRepo = ReturnType<typeof createProviderCredentialRepo>;
|
|
85
|
-
interface ResolvedProviderCredential {
|
|
86
|
-
providerId: string;
|
|
87
|
-
revision: number | null;
|
|
88
|
-
values: Record<string, string>;
|
|
89
|
-
}
|
|
90
|
-
interface ProviderCredentialUpdateResult {
|
|
91
|
-
accepted: boolean;
|
|
92
|
-
currentRevision: number | null;
|
|
93
|
-
safeReason?: string;
|
|
94
|
-
}
|
|
95
|
-
interface ModelProviderCredentialService {
|
|
96
|
-
initialize(): void;
|
|
97
|
-
status: ModelProviderCredentialStatusResolver;
|
|
98
|
-
resolve(providerId: string, options?: Readonly<Record<string, string>>): ResolvedProviderCredential | null;
|
|
99
|
-
compareAndSet(input: {
|
|
100
|
-
providerId: string;
|
|
101
|
-
expectedRevision: number;
|
|
102
|
-
value: unknown;
|
|
103
|
-
}): ProviderCredentialUpdateResult;
|
|
104
|
-
}
|
|
105
|
-
/**
|
|
106
|
-
* Owns encrypted provider credential reads, startup seed/rotation, short-lived
|
|
107
|
-
* secret projection, and revision compare-and-set. Secret values never enter
|
|
108
|
-
* model status, receipts, or durable turn records.
|
|
109
|
-
*/
|
|
110
|
-
declare function createModelProviderCredentialService(input: {
|
|
111
|
-
registry: ModelProviderRegistry;
|
|
112
|
-
repo: CredentialRepo;
|
|
113
|
-
}): ModelProviderCredentialService;
|
|
114
|
-
|
|
115
|
-
interface ResolveRegisteredProviderOptionsInput {
|
|
116
|
-
readonly provider: RegisteredModelProvider;
|
|
117
|
-
readonly explicit?: Readonly<Record<string, unknown>> | null;
|
|
118
|
-
readonly profileDefaults?: Readonly<Record<string, unknown>> | null;
|
|
119
|
-
}
|
|
120
|
-
/**
|
|
121
|
-
* Resolve structural option values. Dynamic choices are deliberately absent:
|
|
122
|
-
* they are advisory UI data, not an allowlist or fallback source.
|
|
123
|
-
*/
|
|
124
|
-
declare function resolveRegisteredProviderOptions(input: ResolveRegisteredProviderOptionsInput): ProviderOptionsResolution;
|
|
125
|
-
declare function validateConfiguredProviderOptions(input: {
|
|
126
|
-
readonly provider: RegisteredModelProvider;
|
|
127
|
-
readonly values: Readonly<Record<string, unknown>>;
|
|
128
|
-
}): readonly ProviderOptionValidationIssue[];
|
|
129
|
-
type ProviderOptionChoicesResult = {
|
|
130
|
-
readonly ok: true;
|
|
131
|
-
readonly choices: Readonly<Record<string, readonly ProviderOptionChoice[]>>;
|
|
132
|
-
} | {
|
|
133
|
-
readonly ok: false;
|
|
134
|
-
readonly safeReason: string;
|
|
135
|
-
};
|
|
136
|
-
interface LoadProviderOptionChoicesInput {
|
|
137
|
-
readonly provider: RegisteredModelProvider;
|
|
138
|
-
readonly credentialStatus: ModelProviderCredentialStatusResolver;
|
|
139
|
-
readonly timeoutMs?: number;
|
|
140
|
-
readonly maxFields?: number;
|
|
141
|
-
readonly maxChoicesPerField?: number;
|
|
142
|
-
readonly maxTextLength?: number;
|
|
143
|
-
}
|
|
144
|
-
/** Fetch bounded advisory choices without making them part of option validation. */
|
|
145
|
-
declare function loadProviderOptionChoices(input: LoadProviderOptionChoicesInput): Promise<ProviderOptionChoicesResult>;
|
|
146
|
-
|
|
147
|
-
type BuiltinPiServerAdapterFactory = (builtinProviderId: string, provider: RegisteredModelProvider) => PiServerAdapter | Promise<PiServerAdapter>;
|
|
148
|
-
interface ModelProviderServerAdapterRegistry {
|
|
149
|
-
get(providerId: string): PiServerAdapter | null;
|
|
150
|
-
require(providerId: string): PiServerAdapter;
|
|
151
|
-
generateText(input: {
|
|
152
|
-
profileId: string;
|
|
153
|
-
prompt: string;
|
|
154
|
-
systemPrompt: string;
|
|
155
|
-
maxTokens: number;
|
|
156
|
-
request: {
|
|
157
|
-
timeoutMs?: number;
|
|
158
|
-
maxRetries?: number;
|
|
159
|
-
maxRetryDelayMs: number;
|
|
160
|
-
};
|
|
161
|
-
}): Promise<string>;
|
|
162
|
-
}
|
|
163
|
-
declare function createModelProviderServerAdapterRegistry(input: {
|
|
164
|
-
registry: ModelProviderRegistry;
|
|
165
|
-
modelProfiles: readonly ModelProfileSnapshot[];
|
|
166
|
-
credentials: ModelProviderCredentialService;
|
|
167
|
-
createBuiltinAdapter: BuiltinPiServerAdapterFactory;
|
|
168
|
-
loadExtensionAdapter?: (entryPath: string) => Promise<PiServerAdapter>;
|
|
169
|
-
}): Promise<ModelProviderServerAdapterRegistry>;
|
|
170
|
-
|
|
171
|
-
type ProcessTitleRepos = Pick<RepositoryBundle, "futureExecutions" | "processes" | "titleJobs">;
|
|
172
|
-
interface ProcessTitleLogger {
|
|
173
|
-
warn(message: string, details?: Record<string, unknown>): void;
|
|
174
|
-
}
|
|
175
|
-
interface ProcessTitleGenerator {
|
|
176
|
-
start?(): Promise<void>;
|
|
177
|
-
queueProcessTitleGeneration(input: {
|
|
178
|
-
processId: string;
|
|
179
|
-
launchPlan: ProcessLaunchPlan;
|
|
180
|
-
}): void;
|
|
181
|
-
queueFutureExecutionTitleGeneration(input: {
|
|
182
|
-
futureExecutionId: string;
|
|
183
|
-
launchPlan: ProcessLaunchPlan;
|
|
184
|
-
expectedPayloadJson?: string;
|
|
185
|
-
}): void;
|
|
186
|
-
close?(): Promise<void>;
|
|
187
|
-
}
|
|
188
|
-
interface ProcessTitleProviderOptions {
|
|
189
|
-
timeoutMs?: number;
|
|
190
|
-
maxRetries?: number;
|
|
191
|
-
maxRetryDelayMs: number;
|
|
192
|
-
}
|
|
193
|
-
type FutureExecutionTitleApplier = (input: {
|
|
194
|
-
futureExecutionId: string;
|
|
195
|
-
expectedPayloadJson: string;
|
|
196
|
-
title: string;
|
|
197
|
-
}) => Promise<{
|
|
198
|
-
kind: "applied";
|
|
199
|
-
} | {
|
|
200
|
-
kind: "applied_with_reaction_error";
|
|
201
|
-
error: string;
|
|
202
|
-
code: string;
|
|
203
|
-
} | {
|
|
204
|
-
kind: "superseded";
|
|
205
|
-
} | {
|
|
206
|
-
kind: "failed";
|
|
207
|
-
error: string;
|
|
208
|
-
}>;
|
|
209
|
-
interface ProcessTitleGeneratorRuntimeDeps {
|
|
210
|
-
generateTitle(input: {
|
|
211
|
-
expandedAgentDir: string;
|
|
212
|
-
provider: string;
|
|
213
|
-
modelId: string;
|
|
214
|
-
prompt: string;
|
|
215
|
-
maxTokens: number;
|
|
216
|
-
providerOptions: ProcessTitleProviderOptions;
|
|
217
|
-
}): Promise<string>;
|
|
218
|
-
defer(work: () => void): {
|
|
219
|
-
unref?(): void;
|
|
220
|
-
};
|
|
221
|
-
now(): Date;
|
|
222
|
-
pollIntervalMs: number;
|
|
223
|
-
}
|
|
224
|
-
declare function normalizeProcessTitle(value: string | null | undefined): string | null;
|
|
225
|
-
declare function buildProcessTitleSourceFields(launchPlan: ProcessLaunchPlan): ProcessTitleSourceField[];
|
|
226
|
-
declare function buildProcessTitlePrompt(launchPlan: ProcessLaunchPlan): string | null;
|
|
227
|
-
declare function createProcessTitleGenerator(options: {
|
|
228
|
-
config: LeitwerkConfig;
|
|
229
|
-
repos: ProcessTitleRepos;
|
|
230
|
-
broadcaster: Broadcaster;
|
|
231
|
-
logger?: ProcessTitleLogger;
|
|
232
|
-
runtime?: Partial<ProcessTitleGeneratorRuntimeDeps>;
|
|
233
|
-
extensionHost?: ExtensionHost;
|
|
234
|
-
futureExecutionTitleApplier?: FutureExecutionTitleApplier;
|
|
235
|
-
}): ProcessTitleGenerator;
|
|
236
|
-
|
|
237
|
-
interface WorkerReconcileEffectChange {
|
|
238
|
-
fromTurnId: string | null;
|
|
239
|
-
toTurnId: string | null;
|
|
240
|
-
fromLifecycleStatus: ProcessLifecycleStatus;
|
|
241
|
-
toLifecycleStatus: ProcessLifecycleStatus;
|
|
242
|
-
}
|
|
243
|
-
type FutureExecutionUpdatedOperation = "created" | "updated" | "deleted";
|
|
244
|
-
type PostCommitEffect = {
|
|
245
|
-
kind: "broadcast";
|
|
246
|
-
frame: DurableWsFrameInput;
|
|
247
|
-
} | {
|
|
248
|
-
kind: "future_execution_updated";
|
|
249
|
-
futureExecution: Pick<FutureExecution, "id" | "kind" | "instanceId">;
|
|
250
|
-
operation: FutureExecutionUpdatedOperation;
|
|
251
|
-
} | {
|
|
252
|
-
kind: "dispatch_inputs";
|
|
253
|
-
instanceId: string;
|
|
254
|
-
inputs: ProcessInput[];
|
|
255
|
-
spawnIfMissing: boolean;
|
|
256
|
-
} | {
|
|
257
|
-
kind: "worker";
|
|
258
|
-
instanceId: string;
|
|
259
|
-
effect: WorkerIntent;
|
|
260
|
-
} | {
|
|
261
|
-
kind: "worker_reconcile";
|
|
262
|
-
instanceId: string;
|
|
263
|
-
processId: string;
|
|
264
|
-
change: WorkerReconcileEffectChange;
|
|
265
|
-
} | {
|
|
266
|
-
kind: "extension_event";
|
|
267
|
-
event: DeferredProcessExtensionEvent;
|
|
268
|
-
} | {
|
|
269
|
-
kind: "queue_process_title";
|
|
270
|
-
processId: string;
|
|
271
|
-
launchPlan: ProcessLaunchPlan;
|
|
272
|
-
} | {
|
|
273
|
-
kind: "queue_future_execution_title";
|
|
274
|
-
futureExecutionId: string;
|
|
275
|
-
launchPlan: ProcessLaunchPlan;
|
|
276
|
-
expectedPayloadJson?: string;
|
|
277
|
-
};
|
|
278
|
-
|
|
279
|
-
type ProjectUpdatedFrameInput = Extract<DurableWsFrameInput, {
|
|
280
|
-
type: "project.updated";
|
|
281
|
-
}>;
|
|
282
|
-
interface ProjectMutationCommit {
|
|
283
|
-
project: ProcessProject | null;
|
|
284
|
-
effects: PostCommitEffect[];
|
|
285
|
-
}
|
|
286
|
-
interface ProjectMutationService {
|
|
287
|
-
create(input: CreateProcessProjectInput): ProcessProject;
|
|
288
|
-
update(id: string, input: UpdateProcessProjectInput): ProcessProject | null;
|
|
289
|
-
getById(id: string): ProcessProject | null;
|
|
290
|
-
getByInstanceAndKey(instanceId: string, key: string): ProcessProject | null;
|
|
291
|
-
listByInstance(instanceId: string): ProcessProject[];
|
|
292
|
-
}
|
|
293
|
-
interface ProjectMutationServiceDeps extends Pick<RepositoryBundle, "projects" | "transaction"> {
|
|
294
|
-
broadcaster: Broadcaster;
|
|
295
|
-
onProjectMutated?: (project: ProcessProject) => void;
|
|
296
|
-
}
|
|
297
|
-
declare function buildProjectUpdatedFrame(project: ProcessProject): ProjectUpdatedFrameInput;
|
|
298
|
-
declare function buildProjectUpdatedEffect(project: ProcessProject): PostCommitEffect;
|
|
299
|
-
declare function commitProjectCreate(deps: Pick<RepositoryBundle, "projects">, input: CreateProcessProjectInput): ProjectMutationCommit & {
|
|
300
|
-
project: ProcessProject;
|
|
301
|
-
};
|
|
302
|
-
declare function commitProjectUpdate(deps: Pick<RepositoryBundle, "projects">, id: string, input: UpdateProcessProjectInput): ProjectMutationCommit;
|
|
303
|
-
declare function createProjectMutationService(deps: ProjectMutationServiceDeps): ProjectMutationService;
|
|
304
|
-
|
|
305
|
-
type PostCommitEffectFailureCode = "input_dispatch_failed" | "worker_reconcile_failed" | "broadcast_failed" | "extension_event_failed" | "queue_process_title_failed" | "queue_future_execution_title_failed";
|
|
306
|
-
|
|
307
|
-
interface LauncherRecentValuesService {
|
|
308
|
-
list(launcherId: string): Record<string, readonly string[]>;
|
|
309
|
-
record(launcherId: string, launcherInput: Record<string, unknown>): void;
|
|
310
|
-
}
|
|
311
|
-
|
|
312
|
-
type FutureExecutionItemOutcome = {
|
|
313
|
-
kind: "no_work";
|
|
314
|
-
} | {
|
|
315
|
-
kind: "blocked";
|
|
316
|
-
} | {
|
|
317
|
-
kind: "retry_scheduled";
|
|
318
|
-
} | {
|
|
319
|
-
kind: "occurrence_advanced";
|
|
320
|
-
} | {
|
|
321
|
-
kind: "terminal_invalid_removed";
|
|
322
|
-
} | {
|
|
323
|
-
kind: "durable_work_committed";
|
|
324
|
-
} | {
|
|
325
|
-
kind: "durable_work_committed_with_reaction_error";
|
|
326
|
-
error: string;
|
|
327
|
-
};
|
|
328
|
-
|
|
329
|
-
interface FutureExecutionLifecycleDeps extends Pick<RepositoryBundle, "futureExecutions" | "processes" | "projects" | "handoffDedupKeys" | "turnRecords" | "skills" | "processSkills" | "transaction"> {
|
|
330
|
-
broadcaster: Broadcaster;
|
|
331
|
-
commands: ProcessEngine;
|
|
332
|
-
processOperations: ProcessOperationCoordinator;
|
|
333
|
-
launcherService?: ProcessLauncherService;
|
|
334
|
-
launcherRecentValues?: LauncherRecentValuesService;
|
|
335
|
-
launchPlans: ProcessLaunchPlanServiceLike;
|
|
336
|
-
processTitles?: ProcessTitleGenerator;
|
|
337
|
-
extensionHost?: ExtensionHost;
|
|
338
|
-
processGraphs?: ProcessGraphRegistry;
|
|
339
|
-
processActionRegistry?: ProcessActionRegistry;
|
|
340
|
-
processModelPolicy: ServerProcessModelPolicy;
|
|
341
|
-
modelStatusCache: Pick<ModelStatusCache, "snapshot">;
|
|
342
|
-
logger?: ProcessEngineLogger;
|
|
343
|
-
}
|
|
344
|
-
interface FutureExecutionLifecycleOptions {
|
|
345
|
-
now?: () => Date;
|
|
346
|
-
}
|
|
347
|
-
interface FutureExecutionIssue {
|
|
348
|
-
code: string;
|
|
349
|
-
message: string;
|
|
350
|
-
fieldId?: string;
|
|
351
|
-
}
|
|
352
|
-
type LifecycleFailure = {
|
|
353
|
-
kind: "invalid";
|
|
354
|
-
issues: readonly FutureExecutionIssue[];
|
|
355
|
-
} | {
|
|
356
|
-
kind: "not_found";
|
|
357
|
-
target: "future_execution" | "launch" | "action" | "process";
|
|
358
|
-
} | {
|
|
359
|
-
kind: "conflict";
|
|
360
|
-
issue: FutureExecutionIssue;
|
|
361
|
-
} | {
|
|
362
|
-
kind: "unavailable";
|
|
363
|
-
reason: string;
|
|
364
|
-
} | {
|
|
365
|
-
kind: "failed";
|
|
366
|
-
issue: FutureExecutionIssue;
|
|
367
|
-
};
|
|
368
|
-
type LaunchMutationOutcome = {
|
|
369
|
-
kind: "scheduled";
|
|
370
|
-
execution: FutureExecution;
|
|
371
|
-
operation: "created" | "updated";
|
|
372
|
-
} | {
|
|
373
|
-
kind: "launched";
|
|
374
|
-
process: ProcessInstance;
|
|
375
|
-
projects: ProcessProject[];
|
|
376
|
-
operation: "created" | "updated";
|
|
377
|
-
} | {
|
|
378
|
-
kind: "committed_with_reaction_error";
|
|
379
|
-
process: ProcessInstance;
|
|
380
|
-
projects: ProcessProject[];
|
|
381
|
-
error: string;
|
|
382
|
-
code?: string;
|
|
383
|
-
} | {
|
|
384
|
-
kind: "committed_with_reaction_error";
|
|
385
|
-
execution: FutureExecution;
|
|
386
|
-
operation: "created" | "updated";
|
|
387
|
-
error: string;
|
|
388
|
-
code: string;
|
|
389
|
-
} | LifecycleFailure;
|
|
390
|
-
type ActionMutationOutcome = {
|
|
391
|
-
kind: "scheduled";
|
|
392
|
-
execution: FutureExecution;
|
|
393
|
-
instanceId: string;
|
|
394
|
-
operation: "created" | "updated";
|
|
395
|
-
} | {
|
|
396
|
-
kind: "executed";
|
|
397
|
-
process: ProcessInstance;
|
|
398
|
-
data?: Record<string, unknown>;
|
|
399
|
-
} | {
|
|
400
|
-
kind: "committed_with_reaction_error";
|
|
401
|
-
process: ProcessInstance;
|
|
402
|
-
error: string;
|
|
403
|
-
code?: string;
|
|
404
|
-
} | {
|
|
405
|
-
kind: "committed_with_reaction_error";
|
|
406
|
-
execution: FutureExecution;
|
|
407
|
-
instanceId: string;
|
|
408
|
-
operation: "created" | "updated";
|
|
409
|
-
error: string;
|
|
410
|
-
code: string;
|
|
411
|
-
} | LifecycleFailure;
|
|
412
|
-
type CancelFutureExecutionOutcome = {
|
|
413
|
-
kind: "canceled";
|
|
414
|
-
execution: FutureExecution;
|
|
415
|
-
} | {
|
|
416
|
-
kind: "committed_with_reaction_error";
|
|
417
|
-
execution: FutureExecution;
|
|
418
|
-
error: string;
|
|
419
|
-
code: string;
|
|
420
|
-
} | {
|
|
421
|
-
kind: "not_found";
|
|
422
|
-
target: "future_execution";
|
|
423
|
-
};
|
|
424
|
-
interface FutureExecutionDueItemOutcome {
|
|
425
|
-
futureExecutionId: string;
|
|
426
|
-
kind: FutureExecutionItemOutcome["kind"] | "unexpected_error";
|
|
427
|
-
error?: string;
|
|
428
|
-
}
|
|
429
|
-
interface FutureExecutionDueBatchOutcome {
|
|
430
|
-
kind: "batch_completed";
|
|
431
|
-
asOf: string;
|
|
432
|
-
items: FutureExecutionDueItemOutcome[];
|
|
433
|
-
}
|
|
434
|
-
interface NormalizedScheduledLaunchInput {
|
|
435
|
-
title: string | null;
|
|
436
|
-
titleProvided: boolean;
|
|
437
|
-
launcherInput: Record<string, unknown>;
|
|
438
|
-
launcherInputProvided: boolean;
|
|
439
|
-
skillIds?: string[];
|
|
440
|
-
modelConfig: LauncherModelConfigDefaults;
|
|
441
|
-
modelConfigProvided: boolean;
|
|
442
|
-
schedule: ParsedScheduleRequest;
|
|
443
|
-
scheduleProvided: boolean;
|
|
444
|
-
}
|
|
445
|
-
interface NormalizedScheduledActionInput {
|
|
446
|
-
input: Record<string, unknown>;
|
|
447
|
-
inputProvided: boolean;
|
|
448
|
-
nextTurnModelProfileId?: string | null;
|
|
449
|
-
nextTurnModelProfileIdProvided: boolean;
|
|
450
|
-
schedule: ParsedScheduleRequest;
|
|
451
|
-
scheduleProvided: boolean;
|
|
452
|
-
}
|
|
453
|
-
declare function createFutureExecutionLifecycle(deps: FutureExecutionLifecycleDeps, _options?: FutureExecutionLifecycleOptions): {
|
|
454
|
-
scheduleLaunch(launcherId: string, request: NormalizedScheduledLaunchInput, opts?: {
|
|
455
|
-
actor?: Actor;
|
|
456
|
-
}): Promise<LaunchMutationOutcome>;
|
|
457
|
-
reviseScheduledLaunch(futureExecutionId: string, request: NormalizedScheduledLaunchInput, opts?: {
|
|
458
|
-
actor?: Actor;
|
|
459
|
-
}): Promise<LaunchMutationOutcome>;
|
|
460
|
-
scheduleAction(process: ProcessInstance, actionId: string, request: NormalizedScheduledActionInput, opts?: {
|
|
461
|
-
actor?: Actor;
|
|
462
|
-
}): Promise<ActionMutationOutcome>;
|
|
463
|
-
reviseScheduledAction(futureExecutionId: string, request: NormalizedScheduledActionInput, opts?: {
|
|
464
|
-
actor?: Actor;
|
|
465
|
-
}): Promise<ActionMutationOutcome>;
|
|
466
|
-
cancel(futureExecutionId: string): Promise<CancelFutureExecutionOutcome>;
|
|
467
|
-
applyGeneratedFutureLaunchTitleIfUnchanged(input: {
|
|
468
|
-
futureExecutionId: string;
|
|
469
|
-
expectedPayloadJson: string;
|
|
470
|
-
title: string;
|
|
471
|
-
}): Promise<{
|
|
472
|
-
kind: "applied";
|
|
473
|
-
execution: FutureExecution;
|
|
474
|
-
} | {
|
|
475
|
-
kind: "applied_with_reaction_error";
|
|
476
|
-
execution: FutureExecution;
|
|
477
|
-
error: string;
|
|
478
|
-
code: string;
|
|
479
|
-
} | {
|
|
480
|
-
kind: "superseded";
|
|
481
|
-
} | {
|
|
482
|
-
kind: "failed";
|
|
483
|
-
error: string;
|
|
484
|
-
}>;
|
|
485
|
-
reconcileModelAvailability(input: {
|
|
486
|
-
availability: ModelStatusCacheSnapshot;
|
|
487
|
-
profileIds?: ReadonlySet<string>;
|
|
488
|
-
asOf?: string;
|
|
489
|
-
}): Promise<{
|
|
490
|
-
kind: string;
|
|
491
|
-
changed: number;
|
|
492
|
-
asOf: string;
|
|
493
|
-
error?: undefined;
|
|
494
|
-
code?: undefined;
|
|
495
|
-
} | {
|
|
496
|
-
kind: string;
|
|
497
|
-
changed: number;
|
|
498
|
-
asOf: string;
|
|
499
|
-
error: string;
|
|
500
|
-
code: PostCommitEffectFailureCode;
|
|
501
|
-
}>;
|
|
502
|
-
reconcileMissedScheduleOccurrences(asOf: string): Promise<{
|
|
503
|
-
kind: "occurrences_advanced";
|
|
504
|
-
asOf: string;
|
|
505
|
-
}>;
|
|
506
|
-
runDueWork(asOf: string): Promise<FutureExecutionDueBatchOutcome>;
|
|
507
|
-
};
|
|
508
|
-
type FutureExecutionLifecycle = ReturnType<typeof createFutureExecutionLifecycle>;
|
|
509
|
-
|
|
510
|
-
interface ResultImageMetadata {
|
|
511
|
-
imageId: string;
|
|
512
|
-
mimeType: ResultImageMimeType;
|
|
513
|
-
byteSize: number;
|
|
514
|
-
}
|
|
515
|
-
declare class ResultImageStore {
|
|
516
|
-
readonly rootDir: string;
|
|
517
|
-
constructor(input: {
|
|
518
|
-
rootDir: string;
|
|
519
|
-
});
|
|
520
|
-
private turnDir;
|
|
521
|
-
put(input: {
|
|
522
|
-
instanceId: string;
|
|
523
|
-
turnRecordId: string;
|
|
524
|
-
bytes: Buffer;
|
|
525
|
-
mimeType: ResultImageMimeType;
|
|
526
|
-
}): Promise<ResultImageMetadata>;
|
|
527
|
-
deleteProcess(instanceId: string): Promise<void>;
|
|
528
|
-
cleanupProcesses(input: {
|
|
529
|
-
retainedInstanceIds: ReadonlySet<string>;
|
|
530
|
-
expiredInstanceIds?: ReadonlySet<string>;
|
|
531
|
-
}): Promise<string[]>;
|
|
532
|
-
get(instanceId: string, turnRecordId: string, imageId: string): Promise<{
|
|
533
|
-
metadata: ResultImageMetadata;
|
|
534
|
-
bytes: Buffer;
|
|
535
|
-
} | null>;
|
|
536
|
-
}
|
|
537
|
-
|
|
538
|
-
type ProcessDeletionResult = {
|
|
539
|
-
ok: true;
|
|
540
|
-
} | {
|
|
541
|
-
ok: false;
|
|
542
|
-
kind: "not_found";
|
|
543
|
-
} | {
|
|
544
|
-
ok: false;
|
|
545
|
-
kind: "abort_failed";
|
|
546
|
-
failure: EngineFailure<void>;
|
|
547
|
-
} | {
|
|
548
|
-
ok: false;
|
|
549
|
-
kind: "cleanup_failed";
|
|
550
|
-
message: string;
|
|
551
|
-
};
|
|
552
|
-
interface ProcessDeletionService {
|
|
553
|
-
deleteProcess(instanceId: string, actor: Actor): Promise<ProcessDeletionResult>;
|
|
554
|
-
}
|
|
555
|
-
|
|
556
|
-
interface SkillCatalogService {
|
|
557
|
-
refresh(): Promise<SkillsCatalogResponseBody>;
|
|
558
|
-
list(): SkillsCatalogResponseBody;
|
|
559
|
-
detail(repositoryId: string, skillId: string): SkillCatalogDetail | null;
|
|
560
|
-
installedDetail(skillId: string): InstalledSkillCatalogDetail | null;
|
|
561
|
-
register(repositoryId: string, skillId: string): string;
|
|
562
|
-
remove(skillId: string): boolean;
|
|
563
|
-
}
|
|
564
|
-
|
|
565
|
-
interface RouteDeps extends Pick<RepositoryBundle, "processes" | "projects" | "inputs" | "events" | "futureExecutions" | "skills" | "processSkills" | "handoffDedupKeys" | "leafOutcomeSnapshots" | "questionRequests" | "turnRecords" | "turnStarts" | "turnAnnotations" | "leases" | "externalWrites" | "transaction"> {
|
|
566
|
-
broadcaster: Broadcaster;
|
|
567
|
-
processOperations: ProcessOperationCoordinator;
|
|
568
|
-
processQuestions: ProcessQuestionService;
|
|
569
|
-
processGraphs: ProcessGraphRegistry;
|
|
570
|
-
supervisor?: WorkerSupervisor;
|
|
571
|
-
processEngine: ProcessEngine;
|
|
572
|
-
processDeletion: ProcessDeletionService;
|
|
573
|
-
processActionRegistry?: ProcessActionRegistry;
|
|
574
|
-
processUiRegistry?: ProcessUiRegistry;
|
|
575
|
-
extensionHost?: ExtensionHost;
|
|
576
|
-
launcherService: ProcessLauncherService;
|
|
577
|
-
launcherRecentValues: LauncherRecentValuesService;
|
|
578
|
-
launchPlans: ProcessLaunchPlanServiceLike;
|
|
579
|
-
processTitles?: ProcessTitleGenerator;
|
|
580
|
-
toolRenderers?: ReadonlyMap<string, ToolCallRendererDefinition>;
|
|
581
|
-
config?: LeitwerkConfig;
|
|
582
|
-
sessionReader: ProcessSessionReader;
|
|
583
|
-
futureExecutionLifecycle: FutureExecutionLifecycle;
|
|
584
|
-
modelProviderRegistry?: ModelProviderRegistry;
|
|
585
|
-
modelProviderCredentialStatus?: ModelProviderCredentialStatusResolver;
|
|
586
|
-
modelStatusCache: ModelStatusCache;
|
|
587
|
-
processModelPolicy: ServerProcessModelPolicy;
|
|
588
|
-
processModelSelection: ProcessModelSelectionServiceLike;
|
|
589
|
-
skillCatalog?: SkillCatalogService;
|
|
590
|
-
}
|
|
591
|
-
|
|
592
|
-
interface AppOptions {
|
|
593
|
-
host?: string;
|
|
594
|
-
port?: number;
|
|
595
|
-
config?: LeitwerkConfig;
|
|
596
|
-
db?: LeitwerkDb;
|
|
597
|
-
logger?: boolean;
|
|
598
|
-
extensionCatalog?: ExtensionCatalog | Promise<ExtensionCatalog>;
|
|
599
|
-
resolvedExtensionEntries?: readonly DiscoveredExtensionEntry[];
|
|
600
|
-
extensionLoadingStartDir?: string;
|
|
601
|
-
/** Runtime lane override for extension UI assets. */
|
|
602
|
-
extensionUiRuntimeLane?: LeitwerkRuntimeLane;
|
|
603
|
-
/** Pre-provided capabilities injected before extensions are set up (e.g. fake adapters for testing). */
|
|
604
|
-
preProvidedCapabilities?: readonly ProvidedCapability[];
|
|
605
|
-
processTitleGenerator?: ProcessTitleGenerator;
|
|
606
|
-
/** Test/custom seam for supplying a concrete container runner implementation. */
|
|
607
|
-
workerRunnerRuntime?: {
|
|
608
|
-
runner: WorkerRunner;
|
|
609
|
-
volume?: ProcessVolume;
|
|
610
|
-
webSocketIpc?: WorkerWebSocketIpcManager;
|
|
611
|
-
};
|
|
612
|
-
/** Local runner spawn seam for tests/dev only. */
|
|
613
|
-
localWorkerSpawnImpl?: typeof spawn;
|
|
614
|
-
/** Credential-store seam. Declared credential providers default unavailable until it is wired. */
|
|
615
|
-
modelProviderCredentialStatus?: ModelProviderCredentialStatusResolver;
|
|
616
|
-
}
|
|
617
|
-
interface AppContext {
|
|
618
|
-
app: FastifyInstance;
|
|
619
|
-
db: LeitwerkDb;
|
|
620
|
-
broadcaster: Broadcaster;
|
|
621
|
-
config: LeitwerkConfig;
|
|
622
|
-
deps: RouteDeps;
|
|
623
|
-
extensionCatalog: ExtensionCatalog;
|
|
624
|
-
modelProviderRegistry: ModelProviderRegistry;
|
|
625
|
-
modelProviderServerAdapters: ModelProviderServerAdapterRegistry;
|
|
626
|
-
modelStatusCache: ModelStatusCache;
|
|
627
|
-
extensionUiCatalog: ExtensionUiCatalog;
|
|
628
|
-
processGraphs: ProcessGraphRegistry;
|
|
629
|
-
extensionHost: ExtensionHost;
|
|
630
|
-
projectMutations: ProjectMutationService;
|
|
631
|
-
ipcHandler: IpcHandler;
|
|
632
|
-
supervisor: WorkerSupervisor;
|
|
633
|
-
startBackgroundServices(): Promise<void>;
|
|
634
|
-
stopBackgroundServices(): Promise<void>;
|
|
635
|
-
}
|
|
636
|
-
declare function createApp(opts?: AppOptions): Promise<FastifyInstance>;
|
|
637
|
-
declare function createAppContext(opts?: AppOptions): Promise<AppContext>;
|
|
638
|
-
|
|
639
|
-
type JsonObject = Record<string, unknown>;
|
|
640
|
-
type PiResourceAssemblyLimits = PiResourceLimits;
|
|
641
|
-
interface AssemblePiResourceSnapshotInput {
|
|
642
|
-
/** Immutable resource fragments pinned to the process. */
|
|
643
|
-
readonly resourceLayers?: readonly PiResourceLayer[];
|
|
644
|
-
/** Catalog dependency order is preserved in generated numeric extension paths. */
|
|
645
|
-
readonly piContributions: readonly CatalogPiContribution[];
|
|
646
|
-
readonly model: PiResourceSnapshotModel;
|
|
647
|
-
readonly providerOptions: Readonly<Record<string, string>>;
|
|
648
|
-
readonly providerWorkerConfig: PiResourceSnapshotWorkerConfig | null;
|
|
649
|
-
readonly piSettings: JsonObject;
|
|
650
|
-
/** Non-secret Pi model definitions and overrides. Defaults to an empty provider map. */
|
|
651
|
-
readonly piModels?: JsonObject;
|
|
652
|
-
readonly declaredCredentialPaths: readonly string[];
|
|
653
|
-
readonly compatibility: PiResourceSnapshotCompatibility;
|
|
654
|
-
readonly systemPrompt?: string | null;
|
|
655
|
-
readonly appendSystemPrompt?: string | null;
|
|
656
|
-
readonly limits?: PiResourceAssemblyLimits;
|
|
657
|
-
}
|
|
658
|
-
type PiResourceGeneratedMetadata = PiResourceManifest;
|
|
659
|
-
interface AssembledPiResourceSnapshot {
|
|
660
|
-
readonly bundle: PiResourceBundle;
|
|
661
|
-
readonly generated: PiResourceGeneratedMetadata;
|
|
662
|
-
readonly files: readonly {
|
|
663
|
-
readonly path: string;
|
|
664
|
-
readonly sha256: string;
|
|
665
|
-
readonly size: number;
|
|
666
|
-
}[];
|
|
667
|
-
}
|
|
668
|
-
/** Assemble one immutable, non-secret, canonical Pi resource snapshot. */
|
|
669
|
-
declare function assemblePiResourceSnapshot(input: AssemblePiResourceSnapshotInput): Promise<AssembledPiResourceSnapshot>;
|
|
670
|
-
|
|
671
|
-
interface PiResourceBundleCacheOptions {
|
|
672
|
-
readonly maxEntries?: number;
|
|
673
|
-
readonly maxBytes?: number;
|
|
674
|
-
}
|
|
675
|
-
interface PiResourceBundleCacheStats {
|
|
676
|
-
readonly entries: number;
|
|
677
|
-
readonly bytes: number;
|
|
678
|
-
readonly pinnedEntries: number;
|
|
679
|
-
readonly pins: number;
|
|
680
|
-
}
|
|
681
|
-
interface PiResourceBundleCacheGcResult {
|
|
682
|
-
readonly removedDigests: readonly string[];
|
|
683
|
-
readonly removedBytes: number;
|
|
684
|
-
}
|
|
685
|
-
interface PiResourceBundleCache {
|
|
686
|
-
put(bundle: PiResourceBundle): void;
|
|
687
|
-
get(digest: string): PiResourceBundle | null;
|
|
688
|
-
has(digest: string): boolean;
|
|
689
|
-
pin(digest: string): boolean;
|
|
690
|
-
unpin(digest: string): boolean;
|
|
691
|
-
gc(): PiResourceBundleCacheGcResult;
|
|
692
|
-
stats(): PiResourceBundleCacheStats;
|
|
693
|
-
}
|
|
694
|
-
/** In-memory operational cache. Bundles are immutable copies and pins are reference-counted. */
|
|
695
|
-
declare function createPiResourceBundleCache(options?: PiResourceBundleCacheOptions): PiResourceBundleCache;
|
|
696
|
-
|
|
697
|
-
interface PiResourceBundlePinReconciler {
|
|
698
|
-
reconcile(process: ProcessInstance): {
|
|
699
|
-
missingDigest: string | null;
|
|
700
|
-
};
|
|
701
|
-
}
|
|
702
|
-
/** Keeps only the current live LLM start's resource bundle retained in this server. */
|
|
703
|
-
declare function createPiResourceBundlePinReconciler(deps: Pick<RepositoryBundle, "turnStarts" | "turnRecords"> & {
|
|
704
|
-
bundleCache: PiResourceBundleCache;
|
|
705
|
-
}): PiResourceBundlePinReconciler;
|
|
706
|
-
|
|
707
|
-
declare function createProcessEngine(deps: ProcessEngineDeps): ProcessEngine;
|
|
708
|
-
|
|
709
|
-
interface LoggerLike {
|
|
710
|
-
info?: (...args: unknown[]) => void;
|
|
711
|
-
warn?: (...args: unknown[]) => void;
|
|
712
|
-
error?: (...args: unknown[]) => void;
|
|
713
|
-
}
|
|
714
|
-
interface StartupReconciliationDeps extends Pick<RepositoryBundle, "processes" | "leases" | "turnStarts" | "turnRecords"> {
|
|
715
|
-
config: LeitwerkConfig;
|
|
716
|
-
broadcaster: Broadcaster;
|
|
717
|
-
supervisor: WorkerSupervisor;
|
|
718
|
-
commands: Pick<ProcessEngine, "drainServerAutomaticTurns"> & Partial<Pick<ProcessEngine, "recordWorkerFailure">>;
|
|
719
|
-
bundlePins?: PiResourceBundlePinReconciler;
|
|
720
|
-
processActionRegistry: ProcessActionRegistry;
|
|
721
|
-
logger?: LoggerLike;
|
|
722
|
-
}
|
|
723
|
-
declare function shouldResumeProcessOnStartup(process: Pick<ProcessInstance, "selectedTurnId" | "lifecycleStatus" | "currentExecution">, config: Pick<LeitwerkConfig, "workers">): boolean;
|
|
724
|
-
declare function reconcileProcessesOnStartup(deps: StartupReconciliationDeps): Promise<void>;
|
|
725
|
-
|
|
726
|
-
interface ParkProcessWritesOptions {
|
|
727
|
-
allowInactiveLifecycle?: boolean;
|
|
728
|
-
}
|
|
729
|
-
declare function buildParkProcessWrites(process: ProcessInstance, payload: ParkProcessLifecyclePayload, opts?: ParkProcessWritesOptions): WriteBuildResult;
|
|
730
|
-
|
|
731
|
-
interface RetryWritesInput {
|
|
732
|
-
processGraphs: ProcessGraphRegistry;
|
|
733
|
-
process: ProcessInstance;
|
|
734
|
-
failedRun: ProcessTurnRecord;
|
|
735
|
-
acceptedStart: TurnStartRecord;
|
|
736
|
-
}
|
|
737
|
-
declare function buildRetryWrites(input: RetryWritesInput): Writes;
|
|
738
|
-
|
|
739
|
-
interface TurnFailedWritesInput {
|
|
740
|
-
process: ProcessInstance;
|
|
741
|
-
payload: TurnFailedPayload;
|
|
742
|
-
existingTurnRecord: ProcessTurnRecord;
|
|
743
|
-
endedAt?: string;
|
|
744
|
-
}
|
|
745
|
-
declare function buildTurnFailedWrites(input: TurnFailedWritesInput): Writes;
|
|
746
|
-
|
|
747
|
-
interface TurnRecordMarkdownLookup {
|
|
748
|
-
getById(id: string): Pick<ProcessTurnRecord, "instanceId" | "resultPiEntryId" | "turnResultMarkdown"> | null;
|
|
749
|
-
}
|
|
750
|
-
|
|
751
|
-
interface TurnOutcomePlanningInput {
|
|
752
|
-
process: ProcessInstance;
|
|
753
|
-
projects: readonly ProcessProject[];
|
|
754
|
-
payload: TurnOutcomePayload;
|
|
755
|
-
turnRecords: TurnRecordMarkdownLookup;
|
|
756
|
-
processGraphs: ProcessGraphRegistry;
|
|
757
|
-
processActionRegistry: ProcessActionRegistry;
|
|
758
|
-
}
|
|
759
|
-
declare function buildTurnOutcomeWrites(input: TurnOutcomePlanningInput): Promise<WriteBuildResult>;
|
|
760
|
-
|
|
761
|
-
interface TurnSelectionWritesInput {
|
|
762
|
-
fromTurnId?: TurnId | null;
|
|
763
|
-
toTurnId: TurnId | null;
|
|
764
|
-
trigger?: TransitionTrigger | string;
|
|
765
|
-
lifecycleStatus?: ProcessLifecycleStatus;
|
|
766
|
-
workerIntent?: WorkerIntent;
|
|
767
|
-
state?: unknown;
|
|
768
|
-
}
|
|
769
|
-
declare function buildTurnSelectionWrites(processGraphs: ProcessGraphRegistry, process: ProcessInstance, input: TurnSelectionWritesInput): WriteBuildResult;
|
|
770
|
-
|
|
771
|
-
interface RegisteredProcessWatcherLike {
|
|
772
|
-
processId: string;
|
|
773
|
-
processDisplayName: string;
|
|
774
|
-
watcherId: string;
|
|
775
|
-
watcherLabel: string;
|
|
776
|
-
watcherDescription: string;
|
|
777
|
-
type: ProcessWatcherType;
|
|
778
|
-
enabled: boolean;
|
|
779
|
-
pollInterval: string;
|
|
780
|
-
configPath: string;
|
|
781
|
-
config: ProcessWatcherConfigSnapshot;
|
|
782
|
-
launchModelConfig: LaunchModelConfigInputLike;
|
|
783
|
-
}
|
|
784
|
-
interface ResolvedProcessWatcherStartLike {
|
|
785
|
-
watcher: RegisteredProcessWatcherLike;
|
|
786
|
-
launchPlan: ProcessLaunchPlan;
|
|
787
|
-
}
|
|
788
|
-
interface ProcessWatcherServiceLike {
|
|
789
|
-
listAll(): readonly RegisteredProcessWatcherLike[];
|
|
790
|
-
listByType(type: ProcessWatcherType): readonly RegisteredProcessWatcherLike[];
|
|
791
|
-
resolveLaunch(processId: string, watcherId: string, payload: unknown, ctx?: LauncherContext): Promise<ResolvedProcessWatcherStartLike | null>;
|
|
792
|
-
}
|
|
793
|
-
interface ProcessWatcherRegistryOptions {
|
|
794
|
-
modelProfiles?: readonly LauncherModelProfileSummary[];
|
|
795
|
-
getModelProfilesForProcess?: (processId: string) => readonly LauncherModelProfileSummary[];
|
|
796
|
-
}
|
|
797
|
-
declare function validateConfiguredProcessWatchersAgainstCatalog(input: {
|
|
798
|
-
config: LeitwerkConfig;
|
|
799
|
-
catalog: Pick<ExtensionCatalog, "processes">;
|
|
800
|
-
processModelPolicy?: ServerProcessModelPolicy;
|
|
801
|
-
}): string[];
|
|
802
|
-
declare function buildProcessWatcherRegistry(catalog: Pick<ExtensionCatalog, "processes">, config: LeitwerkConfig, options?: ProcessWatcherRegistryOptions): ProcessWatcherServiceLike;
|
|
803
|
-
|
|
804
|
-
interface UiRouteDeps {
|
|
805
|
-
extensionUiCatalog: ExtensionUiCatalog;
|
|
806
|
-
extensionUiAssetCacheControl?: string;
|
|
807
|
-
}
|
|
808
|
-
declare function registerUiRendererRoutes(app: FastifyInstance, deps: UiRouteDeps): void;
|
|
809
|
-
|
|
810
|
-
interface WatcherRouteDeps {
|
|
811
|
-
processWatchers?: ProcessWatcherServiceLike;
|
|
812
|
-
}
|
|
813
|
-
declare function registerWatcherRoutes(app: FastifyInstance, deps: WatcherRouteDeps): void;
|
|
814
|
-
|
|
815
|
-
/** Reads a file's UTF-8 contents. Injected so the pure logic stays testable. */
|
|
816
|
-
type FileReader = (path: string) => string;
|
|
817
|
-
/**
|
|
818
|
-
* Internal-listener TLS options for the server, shaped for Fastify's `https`
|
|
819
|
-
* constructor option (which forwards to Node's TLS server).
|
|
820
|
-
*
|
|
821
|
-
* `requestCert` + `rejectUnauthorized` would turn on worker client-certificate
|
|
822
|
-
* verification. Config validation currently rejects `internal_tls.client_ca_file`
|
|
823
|
-
* until workers receive client cert/key material.
|
|
824
|
-
*/
|
|
825
|
-
interface ServerTlsOptions {
|
|
826
|
-
cert: string;
|
|
827
|
-
key: string;
|
|
828
|
-
ca?: string;
|
|
829
|
-
requestCert: boolean;
|
|
830
|
-
rejectUnauthorized: boolean;
|
|
831
|
-
}
|
|
832
|
-
/**
|
|
833
|
-
* Resolves the server's internal TLS listener options, or `null` to stay on
|
|
834
|
-
* plain HTTP (the default, so local and parity runs are unaffected).
|
|
835
|
-
*
|
|
836
|
-
* Public UI/API HTTPS terminates at a reverse proxy in front of the server;
|
|
837
|
-
* this TLS is for the internal worker → server IPC endpoint, presenting a cert
|
|
838
|
-
* with a SAN for the stable internal name. Worker client-certificate
|
|
839
|
-
* verification is intentionally not configurable yet because workers do not
|
|
840
|
-
* receive client cert/key material.
|
|
841
|
-
*/
|
|
842
|
-
declare function resolveServerTlsOptions(config: LeitwerkConfig, readFile?: FileReader): ServerTlsOptions | null;
|
|
843
|
-
|
|
844
|
-
/**
|
|
845
|
-
* Per-component runtime profile selection input. `profile` is the component's
|
|
846
|
-
* configured `worker_runtime_profile`, or `undefined` when it declares none.
|
|
847
|
-
*/
|
|
848
|
-
interface ComponentRuntimeProfileSelection {
|
|
849
|
-
component: string;
|
|
850
|
-
profile?: string;
|
|
851
|
-
}
|
|
852
|
-
interface RuntimeProfileSelectionInput {
|
|
853
|
-
processId: string;
|
|
854
|
-
/** `process_configs.<processId>.worker_runtime_profile`, if set. */
|
|
855
|
-
processOverride?: string;
|
|
856
|
-
/** Per-component profile selections for the process's projects. */
|
|
857
|
-
componentProfiles: ComponentRuntimeProfileSelection[];
|
|
858
|
-
/** Runner-specific default profile (`kubernetes.default_worker_runtime_profile` wins in Kubernetes mode). */
|
|
859
|
-
defaultProfile?: string;
|
|
860
|
-
/** Configured `worker_runtime_profiles` keyed by id. */
|
|
861
|
-
profiles: Record<string, WorkerRuntimeProfileConfig>;
|
|
862
|
-
}
|
|
863
|
-
type RuntimeProfileSelectionResult = {
|
|
864
|
-
ok: true;
|
|
865
|
-
runtimeProfile: string;
|
|
866
|
-
image: ResolvedWorkerImage;
|
|
867
|
-
/** Nested-container isolation derived from the profile's `dind` mode. */
|
|
868
|
-
isolation: WorkerIsolation;
|
|
869
|
-
} | {
|
|
870
|
-
ok: false;
|
|
871
|
-
error: string;
|
|
872
|
-
};
|
|
873
|
-
/**
|
|
874
|
-
* Selects the worker runtime profile for a process.
|
|
875
|
-
*
|
|
876
|
-
* Precedence (matching the Kubernetes plan so both runners agree):
|
|
877
|
-
* 1. Process-level override wins.
|
|
878
|
-
* 2. Otherwise inspect component profiles:
|
|
879
|
-
* - none declared → fall back to the configured default.
|
|
880
|
-
* - all components agree on one profile → use it.
|
|
881
|
-
* - components disagree → reject before the worker starts.
|
|
882
|
-
* 3. The resolved profile id must exist in `worker_runtime_profiles`.
|
|
883
|
-
*
|
|
884
|
-
* Repository branch content never reaches this function; image authority lives
|
|
885
|
-
* entirely in leitwerk config.
|
|
886
|
-
*/
|
|
887
|
-
declare function selectWorkerRuntimeProfile(input: RuntimeProfileSelectionInput): RuntimeProfileSelectionResult;
|
|
888
|
-
/**
|
|
889
|
-
* Builds {@link RuntimeProfileSelectionInput} from leitwerk config for a
|
|
890
|
-
* process and the components it spans.
|
|
891
|
-
*/
|
|
892
|
-
declare function buildRuntimeProfileSelectionInput(args: {
|
|
893
|
-
config: LeitwerkConfig;
|
|
894
|
-
processId: string;
|
|
895
|
-
componentKeys: string[];
|
|
896
|
-
}): RuntimeProfileSelectionInput;
|
|
897
|
-
|
|
898
|
-
export { type AppContext, type AppOptions, type AssemblePiResourceSnapshotInput, type AssembledPiResourceSnapshot, Broadcaster, type BuiltinPiServerAdapterFactory, type ComponentRuntimeProfileSelection, CreateProcessProjectInput, DeferredProcessExtensionEvent, ExtensionHost, type ExtensionUiAssetRoot, type ExtensionUiCatalog, type ExtensionUiRendererDescriptor, type ExtensionUiRendererLookup, type FileReader, IpcHandler, LeitwerkConfig, LeitwerkDb, type LoadProviderOptionChoicesInput, type ModelProviderCredentialService, ModelProviderCredentialStatusResolver, ModelProviderRegistry, type ModelProviderServerAdapterRegistry, ModelStatusCache, ModelStatusCacheSnapshot, type PiResourceAssemblyLimits, type PiResourceBundleCache, type PiResourceBundleCacheGcResult, type PiResourceBundleCacheOptions, type PiResourceBundleCacheStats, type PiResourceBundlePinReconciler, type PiResourceGeneratedMetadata, ProcessEngine, ProcessEngineDeps, type ProcessTitleGenerator, type ProcessTitleLogger, type ProjectMutationService, type ProviderCredentialUpdateResult, type ProviderOptionChoicesResult, RegisteredModelProvider, RepositoryBundle, type ResolveRegisteredProviderOptionsInput, type ResolvedProviderCredential, ResultImageStore, type RouteDeps, type RuntimeProfileSelectionInput, type RuntimeProfileSelectionResult, type ServerTlsOptions, type StartupReconciliationDeps, type UiRouteDeps, UpdateProcessProjectInput, type WatcherRouteDeps, WorkerSupervisor, applyConfigDefaults, assemblePiResourceSnapshot, buildExtensionUiCatalog, buildParkProcessWrites, buildProcessTitlePrompt, buildProcessTitleSourceFields, buildProcessWatcherRegistry, buildProjectUpdatedEffect, buildProjectUpdatedFrame, buildRetryWrites, buildRuntimeProfileSelectionInput, buildTurnFailedWrites, buildTurnOutcomeWrites, buildTurnSelectionWrites, commitProjectCreate, commitProjectUpdate, createApp, createAppContext, createBuiltinPiServerAdapter, createModelProviderCredentialService, createModelProviderServerAdapterRegistry, createPiResourceBundleCache, createPiResourceBundlePinReconciler, createProcessEngine, createProcessTitleGenerator, createProjectMutationService, createProviderCredentialRepo, getDefaultConfig, inferExtensionUiAssetContentType, loadConfig, loadProviderOptionChoices, normalizeProcessTitle, reconcileProcessesOnStartup, registerUiRendererRoutes, registerWatcherRoutes, resolveExtensionUiAssetPath, resolveRegisteredProviderOptions, resolveServerTlsOptions, sanitizeConfigForLogging, selectWorkerRuntimeProfile, shouldResumeProcessOnStartup, validateConfiguredProcessWatchersAgainstCatalog, validateConfiguredProviderOptions };
|
|
1
|
+
export { buildKubernetesAdmissionPolicyManifests, buildKubernetesProcessNamespaceManifest, buildKubernetesProcessPvcManifest, buildKubernetesWorkerPodManifest, buildProcessResourceLabels, buildWorkerUnitLabels, createDockerWorkerRunner, createKubernetesWorkerRunner, createLocalWorkerRunner, type DockerEngineClient, type DockerProcessVolumeOptions, type DockerWorkerRunnerOptions, FakeKubernetesApiClient, type IsolatedStartWorkerInput, isManagedWorkerUnitLabels, type KubernetesApiClient, type KubernetesNamespaceSummary, type KubernetesPersistentVolumeClaimManifest, type KubernetesPodManifest, type KubernetesPodSpecOptions, type KubernetesPodSummary, type KubernetesProcessNamespaceManifest, type KubernetesProcessVolumeSpec, type KubernetesValidatingAdmissionPolicyBindingManifest, type KubernetesValidatingAdmissionPolicyManifest, type KubernetesWorkerRunnerOptions, kubernetesProcessNamespaceName, kubernetesProcessPvcName, kubernetesWorkerPodName, type LocalStartWorkerInput, type LocalWorkerRunnerOptions, managedProcessNamespaceLabelSelector, managedWorkerLabelSelector, mapKubernetesPodExit, PROCESS_NAMESPACE_COMPONENT_VALUE, PROCESS_SERVER_CA_COMPONENT_VALUE, PROCESS_VOLUME_COMPONENT_VALUE, type ProcessVolume, parseWorkerUnitIdentity, type ResolvedWorkerImage, type StartWorkerInput, type StopWorkerOptions, sanitizeKubernetesNameSegment, type VolumeRef, WORKER_LABEL_COMPONENT, WORKER_LABEL_INSTANCE_ID, WORKER_LABEL_MANAGED_BY, WORKER_LABEL_SERVER_EPOCH, WORKER_LABEL_WORKER_ID, type WorkerExitInfo, type WorkerIsolation, type WorkerResourceLimits, type WorkerRunner, type WorkerUnit, type WorkerUnitDescriptor, type WorkerUnitIdentity, type WorkerUnitRef, } from "@leitwerk-dev/worker-runners";
|
|
2
|
+
export { type AppContext, type AppOptions, createApp, createAppContext } from "./app.js";
|
|
3
|
+
export { applyConfigDefaults, getDefaultConfig, type LeitwerkConfig, loadConfig, sanitizeConfigForLogging, } from "./config/index.js";
|
|
4
|
+
export { closeDatabase, createDatabase, createInMemoryDatabase, DatabaseSchemaMismatchError, type InitializeSchemaOptions, initializeSchema, type LeitwerkDb, } from "./db/database.js";
|
|
5
|
+
export * from "./db/repositories.js";
|
|
6
|
+
export { buildExtensionUiCatalog, type ExtensionUiAssetRoot, type ExtensionUiCatalog, type ExtensionUiRendererDescriptor, type ExtensionUiRendererLookup, inferExtensionUiAssetContentType, resolveExtensionUiAssetPath, } from "./extension-ui/catalog.js";
|
|
7
|
+
export { createExtensionHost, type ExtensionHost } from "./extensions/extension-host.js";
|
|
8
|
+
export * from "./model-providers/index.js";
|
|
9
|
+
export * from "./pi-resources/index.js";
|
|
10
|
+
export { type ActionExecutionResult, createProcessEngine, type EngineResult, type ProcessEngine, type ProcessEngineDeps, } from "./process-engine/index.js";
|
|
11
|
+
export { reconcileProcessesOnStartup, type StartupReconciliationDeps, shouldResumeProcessOnStartup, } from "./process-engine/startup-reconciliation.js";
|
|
12
|
+
export { buildParkProcessWrites } from "./process-engine/writes/build-process-park-writes.js";
|
|
13
|
+
export { buildRetryWrites } from "./process-engine/writes/build-retry-writes.js";
|
|
14
|
+
export { buildTurnFailedWrites } from "./process-engine/writes/build-turn-failed-writes.js";
|
|
15
|
+
export { buildTurnOutcomeWrites } from "./process-engine/writes/build-turn-outcome-writes.js";
|
|
16
|
+
export { buildTurnSelectionWrites } from "./process-engine/writes/build-turn-selection-writes.js";
|
|
17
|
+
export { type DeferredProcessExtensionEvent, emitDeferredExtensionEvent, } from "./process-engine/writes/deferred-extension-events.js";
|
|
18
|
+
export { buildProcessTitlePrompt, buildProcessTitleSourceFields, createProcessTitleGenerator, normalizeProcessTitle, type ProcessTitleGenerator, type ProcessTitleLogger, } from "./process-title-generator.js";
|
|
19
|
+
export { buildProcessWatcherRegistry, validateConfiguredProcessWatchersAgainstCatalog, } from "./process-watcher-registry.js";
|
|
20
|
+
export { buildProjectUpdatedEffect, buildProjectUpdatedFrame, commitProjectCreate, commitProjectUpdate, createProjectMutationService, type ProjectMutationService, } from "./project-mutation-service.js";
|
|
21
|
+
export { ResultImageStore } from "./result-image-store.js";
|
|
22
|
+
export type { RouteDeps } from "./routes/processes.js";
|
|
23
|
+
export { registerUiRendererRoutes, type UiRouteDeps } from "./routes/ui-renderers.js";
|
|
24
|
+
export { registerWatcherRoutes, type WatcherRouteDeps } from "./routes/watchers.js";
|
|
25
|
+
export { type FileReader, resolveServerTlsOptions, type ServerTlsOptions, } from "./server-topology.js";
|
|
26
|
+
export { createIpcHandler, type IpcHandler, type IpcHandlerCallbacks, type IpcHandlerDeps, } from "./supervisor/ipc-handler.js";
|
|
27
|
+
export { createLocalWorkerStorageLayout, createProcessVolumeWorkerStorageLayout, createWorkerStorageLayout, type WorkerStorageLayout, type WorkerTreePaths, } from "./supervisor/worker-storage-layout.js";
|
|
28
|
+
export { createWorkerSupervisor, type SupervisorDeps, type WorkerHandle, type WorkerSupervisor, } from "./supervisor/worker-supervisor.js";
|
|
29
|
+
export { buildRuntimeProfileSelectionInput, type ComponentRuntimeProfileSelection, type RuntimeProfileSelectionInput, type RuntimeProfileSelectionResult, selectWorkerRuntimeProfile, } from "./worker-runtime-profile-selection.js";
|
|
30
|
+
export { type Broadcaster, createBroadcaster, type WsFrame } from "./ws/broadcast.js";
|
|
31
|
+
//# sourceMappingURL=index.d.ts.map
|