@kici-dev/orchestrator 0.11.0 → 0.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (131) hide show
  1. package/dist/__test-helpers__/mock-db-query.d.ts +4 -5
  2. package/dist/agent/agent-version.d.ts +5 -5
  3. package/dist/agent/dispatcher.d.ts +26 -0
  4. package/dist/agent/registry.d.ts +7 -9
  5. package/dist/agent-packaging/node-runtime-members.d.ts +14 -0
  6. package/dist/app.d.ts +3 -3
  7. package/dist/approvals/apply-decision.d.ts +1 -1
  8. package/dist/audit/access-log.d.ts +2 -3
  9. package/dist/cli/commands/access-log.d.ts +3 -3
  10. package/dist/cli/commands/agent-service/agent-env.d.ts +20 -0
  11. package/dist/cli/commands/agent-service/status.d.ts +3 -3
  12. package/dist/cli/commands/attestations.d.ts +1 -1
  13. package/dist/cli/commands/context.d.ts +2 -2
  14. package/dist/cli/commands/event-dlq.d.ts +5 -6
  15. package/dist/cli/commands/event-log.d.ts +2 -3
  16. package/dist/cli/commands/execution.d.ts +1 -3
  17. package/dist/cli/commands/orchestrator-service/status.d.ts +10 -3
  18. package/dist/cli/commands/queue.d.ts +1 -2
  19. package/dist/cli/commands/runs.d.ts +2 -3
  20. package/dist/cli/commands/service-health.d.ts +68 -0
  21. package/dist/cli/commands/shared/env-file-mode.d.ts +3 -2
  22. package/dist/cli/commands/shared/upgrade-safety.d.ts +11 -5
  23. package/dist/cli/commands/shared/versioned-upgrade.d.ts +119 -7
  24. package/dist/cli/commands/workflow.d.ts +3 -4
  25. package/dist/cli/open-browser.d.ts +1 -1
  26. package/dist/cli/service/entrypoint.d.ts +18 -0
  27. package/dist/cli/service/image-digests.d.ts +10 -0
  28. package/dist/cli/service/index.d.ts +4 -2
  29. package/dist/cli/service/instance/manifest.d.ts +39 -0
  30. package/dist/cli/service/launchd.d.ts +45 -10
  31. package/dist/cli/service/shutdown-grace.d.ts +35 -0
  32. package/dist/cli/service/types.d.ts +9 -0
  33. package/dist/cli/service/windows-acl.d.ts +40 -0
  34. package/dist/cli/service/windows-env-file.d.ts +45 -0
  35. package/dist/cli/service/windows.d.ts +13 -0
  36. package/dist/cli.js +1620 -551
  37. package/dist/cluster/cluster-identity.d.ts +4 -4
  38. package/dist/cluster/join-token.d.ts +2 -2
  39. package/dist/cluster/leader-gated-scheduler.d.ts +7 -1
  40. package/dist/cluster/peer-credentials.d.ts +1 -1
  41. package/dist/cluster/raft-state.d.ts +6 -0
  42. package/dist/cluster/raft.d.ts +16 -2
  43. package/dist/cold-store/load-access-log-range.d.ts +3 -3
  44. package/dist/cold-store/load-event-log-range.d.ts +1 -1
  45. package/dist/cold-store/load-secret-audit-log-range.d.ts +2 -2
  46. package/dist/cold-store/orchestrator-cold-store.d.ts +9 -11
  47. package/dist/cold-store/tables/access-log.d.ts +2 -2
  48. package/dist/cold-store/tables/event-log.d.ts +4 -10
  49. package/dist/cold-store/tables/execution-jobs.d.ts +1 -1
  50. package/dist/cold-store/tables/execution-runs.d.ts +4 -4
  51. package/dist/cold-store/tables/execution-steps.d.ts +1 -1
  52. package/dist/cold-store/tables/secret-audit-log.d.ts +3 -3
  53. package/dist/config.d.ts +3 -1
  54. package/dist/contexts/held-runs.d.ts +2 -2
  55. package/dist/dashboard/attestation-filters.d.ts +1 -1
  56. package/dist/dashboard/handler.d.ts +8 -8
  57. package/dist/db/deferred-indexes.d.ts +2 -2
  58. package/dist/db/migrations/005_cold_store_chunk_counter.d.ts +2 -4
  59. package/dist/db/migrations/006_runs_jobs_steps_archived_at.d.ts +4 -4
  60. package/dist/db/migrations/007_audit_logs_archived_at.d.ts +6 -9
  61. package/dist/db/migrations/008_event_log_archived_at.d.ts +4 -6
  62. package/dist/db/migrations/010_cold_store_chunks.d.ts +2 -2
  63. package/dist/db/migrations/012_peer_credentials_active_uniq.d.ts +2 -4
  64. package/dist/db/migrations/016_org_settings_allow_http_npm.d.ts +2 -2
  65. package/dist/db/migrations/045_host_properties.d.ts +1 -1
  66. package/dist/db/migrations/046_join_token_consumed_by_instance.d.ts +1 -1
  67. package/dist/db/migrations/048_host_reboot_pending.d.ts +1 -1
  68. package/dist/db/migrations/049_held_runs_payload.d.ts +1 -1
  69. package/dist/db/migrations/050_sources_slug.d.ts +1 -1
  70. package/dist/db/migrations/051_binding_host_pattern.d.ts +1 -1
  71. package/dist/db/migrations/052_host_reach_metadata.d.ts +1 -1
  72. package/dist/db/migrations/053_agent_token_single_use.d.ts +1 -1
  73. package/dist/db/migrations/054_local_working_tree.d.ts +1 -1
  74. package/dist/db/migrations/055_agent_token_mandatory_labels.d.ts +1 -1
  75. package/dist/db/migrations/056_execution_jobs_environments.d.ts +1 -1
  76. package/dist/db/migrations/064_execution_jobs_skipped_environments.d.ts +1 -1
  77. package/dist/db/types.d.ts +12 -13
  78. package/dist/events/types.d.ts +1 -1
  79. package/dist/fault-injection-types.d.ts +2 -2
  80. package/dist/firecracker/host-network.d.ts +21 -3
  81. package/dist/firecracker/net-interfaces.d.ts +1 -1
  82. package/dist/helpers/run-detached.d.ts +12 -0
  83. package/dist/index.js +50 -14
  84. package/dist/oidc/db-signer.d.ts +1 -1
  85. package/dist/pipeline/global-eval-round.d.ts +2 -2
  86. package/dist/pipeline/processor.d.ts +2 -2
  87. package/dist/provenance/retrier-mint.d.ts +1 -1
  88. package/dist/provenance/trust-root.d.ts +3 -3
  89. package/dist/providers/universal-git/clone-token.d.ts +9 -13
  90. package/dist/providers/universal-git/index.d.ts +1 -2
  91. package/dist/providers/universal-git/normalizer.d.ts +2 -3
  92. package/dist/providers/universal-git/ssh-auth.d.ts +4 -4
  93. package/dist/queue/cleanup.d.ts +2 -2
  94. package/dist/queue/job-queue.d.ts +6 -6
  95. package/dist/queue/scheduled-job.d.ts +5 -7
  96. package/dist/registration/extractor.d.ts +1 -1
  97. package/dist/registration/registration-index.d.ts +1 -1
  98. package/dist/reporting/execution-tracker.d.ts +3 -3
  99. package/dist/routes/admin-access-log.d.ts +1 -1
  100. package/dist/routes/admin-auth.d.ts +2 -2
  101. package/dist/routes/admin-event-log.d.ts +2 -2
  102. package/dist/routes/admin-runs.d.ts +3 -3
  103. package/dist/routes/admin-scheduled-jobs.d.ts +2 -3
  104. package/dist/routes/health.d.ts +9 -0
  105. package/dist/scaler/container-backend.d.ts +1 -1
  106. package/dist/scaler/firecracker-backend.d.ts +15 -10
  107. package/dist/scaler/firecracker-extra-hosts.d.ts +20 -0
  108. package/dist/scaler/machine-ledger.d.ts +3 -4
  109. package/dist/scaler/scaler-state-store.d.ts +1 -1
  110. package/dist/scaler/types.d.ts +4 -1
  111. package/dist/secrets/audit-logger.d.ts +2 -2
  112. package/dist/security/reduced-privilege-note.d.ts +2 -3
  113. package/dist/security/trust-policy-store.d.ts +3 -3
  114. package/dist/server.d.ts +2 -1
  115. package/dist/server.js +2736 -2211
  116. package/dist/stale-detector/stale-run-detector.d.ts +1 -1
  117. package/dist/standalone.d.ts +1 -1
  118. package/dist/standalone.js +2105 -1629
  119. package/dist/storage/filesystem.d.ts +1 -1
  120. package/dist/storage/index.d.ts +1 -1
  121. package/dist/storage/sign-url.d.ts +2 -1
  122. package/dist/storage/types.d.ts +2 -2
  123. package/dist/ws/agent-handler.d.ts +34 -3
  124. package/dist/ws/agent-heartbeat.d.ts +2 -3
  125. package/dist/ws/dashboard-context-handler.d.ts +1 -1
  126. package/dist/ws/platform-client.d.ts +44 -32
  127. package/dist/ws/server-options.d.ts +1 -1
  128. package/dist/ws/test-relay-handlers.d.ts +1 -1
  129. package/installer-image-digests.json +3 -3
  130. package/package.json +4 -4
  131. package/sbom.spdx.json +53 -53
@@ -193,7 +193,7 @@ export declare class StaleRunDetector {
193
193
  * After all sub-scans, checks run completion for affected runs.
194
194
  *
195
195
  * Note: jobs in 'recovering' state are NOT scanned -- they have their own
196
- * per-job recovery timers managed by the Dispatcher (see Phase 15).
196
+ * per-job recovery timers managed by the Dispatcher.
197
197
  * All sub-scans filter on status='running' or status='dispatched',
198
198
  * so recovering jobs are naturally excluded.
199
199
  */
@@ -16,5 +16,5 @@
16
16
  * Graceful shutdown:
17
17
  * agent WS -> heartbeat -> HTTP -> DB
18
18
  */
19
- export {};
19
+ import '@kici-dev/shared/load-service-env-file';
20
20
  //# sourceMappingURL=standalone.d.ts.map