@maiaos/node 0.1.0-canary.44938d4.manual.1
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/README.md +517 -0
- package/dist/admin-monitor/application-projection.d.ts +27 -0
- package/dist/admin-monitor/application-projection.d.ts.map +1 -0
- package/dist/admin-monitor/application-projection.js +299 -0
- package/dist/admin-monitor/application-projection.js.map +1 -0
- package/dist/admin-monitor/application-reads.d.ts +20 -0
- package/dist/admin-monitor/application-reads.d.ts.map +1 -0
- package/dist/admin-monitor/application-reads.js +82 -0
- package/dist/admin-monitor/application-reads.js.map +1 -0
- package/dist/admin-monitor/assets.d.ts +7 -0
- package/dist/admin-monitor/assets.d.ts.map +1 -0
- package/dist/admin-monitor/assets.js +506 -0
- package/dist/admin-monitor/assets.js.map +1 -0
- package/dist/admin-monitor/housekeeping.d.ts +12 -0
- package/dist/admin-monitor/housekeeping.d.ts.map +1 -0
- package/dist/admin-monitor/housekeeping.js +59 -0
- package/dist/admin-monitor/housekeeping.js.map +1 -0
- package/dist/admin-monitor/http.d.ts +22 -0
- package/dist/admin-monitor/http.d.ts.map +1 -0
- package/dist/admin-monitor/http.js +219 -0
- package/dist/admin-monitor/http.js.map +1 -0
- package/dist/admin-monitor/listener.d.ts +9 -0
- package/dist/admin-monitor/listener.d.ts.map +1 -0
- package/dist/admin-monitor/listener.js +118 -0
- package/dist/admin-monitor/listener.js.map +1 -0
- package/dist/admin-monitor/model.d.ts +71 -0
- package/dist/admin-monitor/model.d.ts.map +1 -0
- package/dist/admin-monitor/model.js +31 -0
- package/dist/admin-monitor/model.js.map +1 -0
- package/dist/admin-monitor/projection.d.ts +10 -0
- package/dist/admin-monitor/projection.d.ts.map +1 -0
- package/dist/admin-monitor/projection.js +48 -0
- package/dist/admin-monitor/projection.js.map +1 -0
- package/dist/admin-monitor/routes.d.ts +13 -0
- package/dist/admin-monitor/routes.d.ts.map +1 -0
- package/dist/admin-monitor/routes.js +290 -0
- package/dist/admin-monitor/routes.js.map +1 -0
- package/dist/admin-monitor/service.d.ts +5 -0
- package/dist/admin-monitor/service.d.ts.map +1 -0
- package/dist/admin-monitor/service.js +155 -0
- package/dist/admin-monitor/service.js.map +1 -0
- package/dist/application/control-request.d.ts +38 -0
- package/dist/application/control-request.d.ts.map +1 -0
- package/dist/application/control-request.js +164 -0
- package/dist/application/control-request.js.map +1 -0
- package/dist/application/run-desktop-node.d.ts +18 -0
- package/dist/application/run-desktop-node.d.ts.map +1 -0
- package/dist/application/run-desktop-node.js +482 -0
- package/dist/application/run-desktop-node.js.map +1 -0
- package/dist/bin/maia-node.NOTICES.txt +100 -0
- package/dist/bin/maia-node.cdx.json +273 -0
- package/dist/bin/maia-node.d.ts +3 -0
- package/dist/bin/maia-node.d.ts.map +1 -0
- package/dist/bin/maia-node.meta.json +1 -0
- package/dist/bin/maia-node.mjs +4546 -0
- package/dist/bin/maia-node.mjs.map +6 -0
- package/dist/bin/maia-node.release.json +90 -0
- package/dist/bin/maia-process-host-darwin-arm64 +0 -0
- package/dist/bin/maia-process-host-darwin-arm64.build.json +59 -0
- package/dist/command-receipt/storage/codec.d.ts +16 -0
- package/dist/command-receipt/storage/codec.d.ts.map +1 -0
- package/dist/command-receipt/storage/codec.js +51 -0
- package/dist/command-receipt/storage/codec.js.map +1 -0
- package/dist/command-receipt/storage/cursor.d.ts +7 -0
- package/dist/command-receipt/storage/cursor.d.ts.map +1 -0
- package/dist/command-receipt/storage/cursor.js +62 -0
- package/dist/command-receipt/storage/cursor.js.map +1 -0
- package/dist/command-receipt/storage/list.d.ts +28 -0
- package/dist/command-receipt/storage/list.d.ts.map +1 -0
- package/dist/command-receipt/storage/list.js +113 -0
- package/dist/command-receipt/storage/list.js.map +1 -0
- package/dist/configuration/document-role.d.ts +4 -0
- package/dist/configuration/document-role.d.ts.map +1 -0
- package/dist/configuration/document-role.js +10 -0
- package/dist/configuration/document-role.js.map +1 -0
- package/dist/configuration/filesystem.d.ts +27 -0
- package/dist/configuration/filesystem.d.ts.map +1 -0
- package/dist/configuration/filesystem.js +227 -0
- package/dist/configuration/filesystem.js.map +1 -0
- package/dist/configuration/model.d.ts +68 -0
- package/dist/configuration/model.d.ts.map +1 -0
- package/dist/configuration/model.js +2 -0
- package/dist/configuration/model.js.map +1 -0
- package/dist/configuration/parser.d.ts +49 -0
- package/dist/configuration/parser.d.ts.map +1 -0
- package/dist/configuration/parser.js +35 -0
- package/dist/configuration/parser.js.map +1 -0
- package/dist/configuration/policy.d.ts +15 -0
- package/dist/configuration/policy.d.ts.map +1 -0
- package/dist/configuration/policy.js +15 -0
- package/dist/configuration/policy.js.map +1 -0
- package/dist/configuration/resolver.d.ts +15 -0
- package/dist/configuration/resolver.d.ts.map +1 -0
- package/dist/configuration/resolver.js +260 -0
- package/dist/configuration/resolver.js.map +1 -0
- package/dist/configuration/writer-child.d.ts +2 -0
- package/dist/configuration/writer-child.d.ts.map +1 -0
- package/dist/configuration/writer-child.js +32 -0
- package/dist/configuration/writer-child.js.map +1 -0
- package/dist/configuration/writer.d.ts +15 -0
- package/dist/configuration/writer.d.ts.map +1 -0
- package/dist/configuration/writer.js +789 -0
- package/dist/configuration/writer.js.map +1 -0
- package/dist/execution/application.d.ts +135 -0
- package/dist/execution/application.d.ts.map +1 -0
- package/dist/execution/application.js +14 -0
- package/dist/execution/application.js.map +1 -0
- package/dist/execution/database-operations.d.ts +15 -0
- package/dist/execution/database-operations.d.ts.map +1 -0
- package/dist/execution/database-operations.js +9 -0
- package/dist/execution/database-operations.js.map +1 -0
- package/dist/execution/request-digest.d.ts +3 -0
- package/dist/execution/request-digest.d.ts.map +1 -0
- package/dist/execution/request-digest.js +22 -0
- package/dist/execution/request-digest.js.map +1 -0
- package/dist/execution/service.d.ts +14 -0
- package/dist/execution/service.d.ts.map +1 -0
- package/dist/execution/service.js +19 -0
- package/dist/execution/service.js.map +1 -0
- package/dist/execution/storage.d.ts +20 -0
- package/dist/execution/storage.d.ts.map +1 -0
- package/dist/execution/storage.js +349 -0
- package/dist/execution/storage.js.map +1 -0
- package/dist/harness/application/requests.d.ts +304 -0
- package/dist/harness/application/requests.d.ts.map +1 -0
- package/dist/harness/application/requests.js +45 -0
- package/dist/harness/application/requests.js.map +1 -0
- package/dist/harness/codex/lifecycle.d.ts +39 -0
- package/dist/harness/codex/lifecycle.d.ts.map +1 -0
- package/dist/harness/codex/lifecycle.js +55 -0
- package/dist/harness/codex/lifecycle.js.map +1 -0
- package/dist/harness/codex/observability.d.ts +6 -0
- package/dist/harness/codex/observability.d.ts.map +1 -0
- package/dist/harness/codex/observability.js +58 -0
- package/dist/harness/codex/observability.js.map +1 -0
- package/dist/harness/codex/policy.d.ts +15 -0
- package/dist/harness/codex/policy.d.ts.map +1 -0
- package/dist/harness/codex/policy.js +15 -0
- package/dist/harness/codex/policy.js.map +1 -0
- package/dist/harness/codex/probe.d.ts +173 -0
- package/dist/harness/codex/probe.d.ts.map +1 -0
- package/dist/harness/codex/probe.js +134 -0
- package/dist/harness/codex/probe.js.map +1 -0
- package/dist/harness/codex/protocol.d.ts +15 -0
- package/dist/harness/codex/protocol.d.ts.map +1 -0
- package/dist/harness/codex/protocol.js +52 -0
- package/dist/harness/codex/protocol.js.map +1 -0
- package/dist/harness/codex/service.d.ts +196 -0
- package/dist/harness/codex/service.d.ts.map +1 -0
- package/dist/harness/codex/service.js +141 -0
- package/dist/harness/codex/service.js.map +1 -0
- package/dist/harness/codex/session-lifecycle.d.ts +40 -0
- package/dist/harness/codex/session-lifecycle.d.ts.map +1 -0
- package/dist/harness/codex/session-lifecycle.js +39 -0
- package/dist/harness/codex/session-lifecycle.js.map +1 -0
- package/dist/harness/codex/session-observability.d.ts +7 -0
- package/dist/harness/codex/session-observability.d.ts.map +1 -0
- package/dist/harness/codex/session-observability.js +39 -0
- package/dist/harness/codex/session-observability.js.map +1 -0
- package/dist/harness/codex/session-protocol.d.ts +92 -0
- package/dist/harness/codex/session-protocol.d.ts.map +1 -0
- package/dist/harness/codex/session-protocol.js +475 -0
- package/dist/harness/codex/session-protocol.js.map +1 -0
- package/dist/harness/codex/session-service.d.ts +59 -0
- package/dist/harness/codex/session-service.d.ts.map +1 -0
- package/dist/harness/codex/session-service.js +340 -0
- package/dist/harness/codex/session-service.js.map +1 -0
- package/dist/harness/codex/session-transport.d.ts +22 -0
- package/dist/harness/codex/session-transport.d.ts.map +1 -0
- package/dist/harness/codex/session-transport.js +152 -0
- package/dist/harness/codex/session-transport.js.map +1 -0
- package/dist/harness/codex/transport.d.ts +104 -0
- package/dist/harness/codex/transport.d.ts.map +1 -0
- package/dist/harness/codex/transport.js +645 -0
- package/dist/harness/codex/transport.js.map +1 -0
- package/dist/harness/codex/turn/lifecycle.d.ts +40 -0
- package/dist/harness/codex/turn/lifecycle.d.ts.map +1 -0
- package/dist/harness/codex/turn/lifecycle.js +43 -0
- package/dist/harness/codex/turn/lifecycle.js.map +1 -0
- package/dist/harness/codex/turn/observability.d.ts +8 -0
- package/dist/harness/codex/turn/observability.d.ts.map +1 -0
- package/dist/harness/codex/turn/observability.js +63 -0
- package/dist/harness/codex/turn/observability.js.map +1 -0
- package/dist/harness/codex/turn/transport.d.ts +21 -0
- package/dist/harness/codex/turn/transport.d.ts.map +1 -0
- package/dist/harness/codex/turn/transport.js +387 -0
- package/dist/harness/codex/turn/transport.js.map +1 -0
- package/dist/harness/installed/catalog.d.ts +30 -0
- package/dist/harness/installed/catalog.d.ts.map +1 -0
- package/dist/harness/installed/catalog.js +29 -0
- package/dist/harness/installed/catalog.js.map +1 -0
- package/dist/harness/installed/policy.d.ts +23 -0
- package/dist/harness/installed/policy.d.ts.map +1 -0
- package/dist/harness/installed/policy.js +29 -0
- package/dist/harness/installed/policy.js.map +1 -0
- package/dist/harness/installed/resolver.d.ts +39 -0
- package/dist/harness/installed/resolver.d.ts.map +1 -0
- package/dist/harness/installed/resolver.js +93 -0
- package/dist/harness/installed/resolver.js.map +1 -0
- package/dist/harness/installed/scan.d.ts +61 -0
- package/dist/harness/installed/scan.d.ts.map +1 -0
- package/dist/harness/installed/scan.js +327 -0
- package/dist/harness/installed/scan.js.map +1 -0
- package/dist/harness/installed/service.d.ts +99 -0
- package/dist/harness/installed/service.d.ts.map +1 -0
- package/dist/harness/installed/service.js +206 -0
- package/dist/harness/installed/service.js.map +1 -0
- package/dist/harness/pi-rpc/artifact.d.ts +57 -0
- package/dist/harness/pi-rpc/artifact.d.ts.map +1 -0
- package/dist/harness/pi-rpc/artifact.js +431 -0
- package/dist/harness/pi-rpc/artifact.js.map +1 -0
- package/dist/harness/pi-rpc/authorization/authorization-store.d.ts +41 -0
- package/dist/harness/pi-rpc/authorization/authorization-store.d.ts.map +1 -0
- package/dist/harness/pi-rpc/authorization/authorization-store.js +235 -0
- package/dist/harness/pi-rpc/authorization/authorization-store.js.map +1 -0
- package/dist/harness/pi-rpc/authorization/database.d.ts +99 -0
- package/dist/harness/pi-rpc/authorization/database.d.ts.map +1 -0
- package/dist/harness/pi-rpc/authorization/database.js +94 -0
- package/dist/harness/pi-rpc/authorization/database.js.map +1 -0
- package/dist/harness/pi-rpc/authorization/index.d.ts +7 -0
- package/dist/harness/pi-rpc/authorization/index.d.ts.map +1 -0
- package/dist/harness/pi-rpc/authorization/index.js +6 -0
- package/dist/harness/pi-rpc/authorization/index.js.map +1 -0
- package/dist/harness/pi-rpc/authorization/permit-compaction-store.d.ts +3 -0
- package/dist/harness/pi-rpc/authorization/permit-compaction-store.d.ts.map +1 -0
- package/dist/harness/pi-rpc/authorization/permit-compaction-store.js +61 -0
- package/dist/harness/pi-rpc/authorization/permit-compaction-store.js.map +1 -0
- package/dist/harness/pi-rpc/authorization/permit-store.d.ts +38 -0
- package/dist/harness/pi-rpc/authorization/permit-store.d.ts.map +1 -0
- package/dist/harness/pi-rpc/authorization/permit-store.js +310 -0
- package/dist/harness/pi-rpc/authorization/permit-store.js.map +1 -0
- package/dist/harness/pi-rpc/authorization/plan-store.d.ts +14 -0
- package/dist/harness/pi-rpc/authorization/plan-store.d.ts.map +1 -0
- package/dist/harness/pi-rpc/authorization/plan-store.js +205 -0
- package/dist/harness/pi-rpc/authorization/plan-store.js.map +1 -0
- package/dist/harness/pi-rpc/authorization/policy.d.ts +18 -0
- package/dist/harness/pi-rpc/authorization/policy.d.ts.map +1 -0
- package/dist/harness/pi-rpc/authorization/policy.js +131 -0
- package/dist/harness/pi-rpc/authorization/policy.js.map +1 -0
- package/dist/harness/pi-rpc/authorization/projection.d.ts +7 -0
- package/dist/harness/pi-rpc/authorization/projection.d.ts.map +1 -0
- package/dist/harness/pi-rpc/authorization/projection.js +195 -0
- package/dist/harness/pi-rpc/authorization/projection.js.map +1 -0
- package/dist/harness/pi-rpc/authorization/recovery-store.d.ts +3 -0
- package/dist/harness/pi-rpc/authorization/recovery-store.d.ts.map +1 -0
- package/dist/harness/pi-rpc/authorization/recovery-store.js +63 -0
- package/dist/harness/pi-rpc/authorization/recovery-store.js.map +1 -0
- package/dist/harness/pi-rpc/authorization/replay-store.d.ts +11 -0
- package/dist/harness/pi-rpc/authorization/replay-store.d.ts.map +1 -0
- package/dist/harness/pi-rpc/authorization/replay-store.js +60 -0
- package/dist/harness/pi-rpc/authorization/replay-store.js.map +1 -0
- package/dist/harness/pi-rpc/authorization/types.d.ts +117 -0
- package/dist/harness/pi-rpc/authorization/types.d.ts.map +1 -0
- package/dist/harness/pi-rpc/authorization/types.js +3 -0
- package/dist/harness/pi-rpc/authorization/types.js.map +1 -0
- package/dist/harness/pi-rpc/contract.d.ts +86 -0
- package/dist/harness/pi-rpc/contract.d.ts.map +1 -0
- package/dist/harness/pi-rpc/contract.js +206 -0
- package/dist/harness/pi-rpc/contract.js.map +1 -0
- package/dist/harness/pi-rpc/conversation.d.ts +129 -0
- package/dist/harness/pi-rpc/conversation.d.ts.map +1 -0
- package/dist/harness/pi-rpc/conversation.js +885 -0
- package/dist/harness/pi-rpc/conversation.js.map +1 -0
- package/dist/harness/pi-rpc/jsonl.d.ts +16 -0
- package/dist/harness/pi-rpc/jsonl.d.ts.map +1 -0
- package/dist/harness/pi-rpc/jsonl.js +115 -0
- package/dist/harness/pi-rpc/jsonl.js.map +1 -0
- package/dist/harness/pi-rpc/managed-process.d.ts +13 -0
- package/dist/harness/pi-rpc/managed-process.d.ts.map +1 -0
- package/dist/harness/pi-rpc/managed-process.js +64 -0
- package/dist/harness/pi-rpc/managed-process.js.map +1 -0
- package/dist/harness/pi-rpc/manifest-order.d.ts +7 -0
- package/dist/harness/pi-rpc/manifest-order.d.ts.map +1 -0
- package/dist/harness/pi-rpc/manifest-order.js +11 -0
- package/dist/harness/pi-rpc/manifest-order.js.map +1 -0
- package/dist/harness/pi-rpc/probe.d.ts +18 -0
- package/dist/harness/pi-rpc/probe.d.ts.map +1 -0
- package/dist/harness/pi-rpc/probe.js +168 -0
- package/dist/harness/pi-rpc/probe.js.map +1 -0
- package/dist/harness/pi-rpc/runtime-probe.d.ts +93 -0
- package/dist/harness/pi-rpc/runtime-probe.d.ts.map +1 -0
- package/dist/harness/pi-rpc/runtime-probe.js +381 -0
- package/dist/harness/pi-rpc/runtime-probe.js.map +1 -0
- package/dist/harness/pi-rpc/session-launch.d.ts +46 -0
- package/dist/harness/pi-rpc/session-launch.d.ts.map +1 -0
- package/dist/harness/pi-rpc/session-launch.js +547 -0
- package/dist/harness/pi-rpc/session-launch.js.map +1 -0
- package/dist/harness/pi-rpc/session-service.d.ts +71 -0
- package/dist/harness/pi-rpc/session-service.d.ts.map +1 -0
- package/dist/harness/pi-rpc/session-service.js +336 -0
- package/dist/harness/pi-rpc/session-service.js.map +1 -0
- package/dist/index.d.ts +49 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +173 -0
- package/dist/index.js.map +1 -0
- package/dist/integration-authorization/application.d.ts +56 -0
- package/dist/integration-authorization/application.d.ts.map +1 -0
- package/dist/integration-authorization/application.js +185 -0
- package/dist/integration-authorization/application.js.map +1 -0
- package/dist/integration-authorization/pi-rpc-application.d.ts +46 -0
- package/dist/integration-authorization/pi-rpc-application.d.ts.map +1 -0
- package/dist/integration-authorization/pi-rpc-application.js +201 -0
- package/dist/integration-authorization/pi-rpc-application.js.map +1 -0
- package/dist/integration-authorization/pi-rpc-requests.d.ts +10 -0
- package/dist/integration-authorization/pi-rpc-requests.d.ts.map +1 -0
- package/dist/integration-authorization/pi-rpc-requests.js +221 -0
- package/dist/integration-authorization/pi-rpc-requests.js.map +1 -0
- package/dist/integration-authorization/requests.d.ts +10 -0
- package/dist/integration-authorization/requests.d.ts.map +1 -0
- package/dist/integration-authorization/requests.js +208 -0
- package/dist/integration-authorization/requests.js.map +1 -0
- package/dist/invocation-context/application.d.ts +34 -0
- package/dist/invocation-context/application.d.ts.map +1 -0
- package/dist/invocation-context/application.js +14 -0
- package/dist/invocation-context/application.js.map +1 -0
- package/dist/invocation-context/resolver.d.ts +6 -0
- package/dist/invocation-context/resolver.d.ts.map +1 -0
- package/dist/invocation-context/resolver.js +15 -0
- package/dist/invocation-context/resolver.js.map +1 -0
- package/dist/lifecycle/node-machine.d.ts +45 -0
- package/dist/lifecycle/node-machine.d.ts.map +1 -0
- package/dist/lifecycle/node-machine.js +64 -0
- package/dist/lifecycle/node-machine.js.map +1 -0
- package/dist/orchestration/application.d.ts +10 -0
- package/dist/orchestration/application.d.ts.map +1 -0
- package/dist/orchestration/application.js +97 -0
- package/dist/orchestration/application.js.map +1 -0
- package/dist/orchestration/lifecycle.d.ts +98 -0
- package/dist/orchestration/lifecycle.d.ts.map +1 -0
- package/dist/orchestration/lifecycle.js +118 -0
- package/dist/orchestration/lifecycle.js.map +1 -0
- package/dist/orchestration/mutations.d.ts +28 -0
- package/dist/orchestration/mutations.d.ts.map +1 -0
- package/dist/orchestration/mutations.js +562 -0
- package/dist/orchestration/mutations.js.map +1 -0
- package/dist/orchestration/storage.d.ts +200 -0
- package/dist/orchestration/storage.d.ts.map +1 -0
- package/dist/orchestration/storage.js +1214 -0
- package/dist/orchestration/storage.js.map +1 -0
- package/dist/project-workspace/application/requests.d.ts +44 -0
- package/dist/project-workspace/application/requests.d.ts.map +1 -0
- package/dist/project-workspace/application/requests.js +92 -0
- package/dist/project-workspace/application/requests.js.map +1 -0
- package/dist/project-workspace/repository/inspector.d.ts +47 -0
- package/dist/project-workspace/repository/inspector.d.ts.map +1 -0
- package/dist/project-workspace/repository/inspector.js +311 -0
- package/dist/project-workspace/repository/inspector.js.map +1 -0
- package/dist/project-workspace/storage/request-digest.d.ts +11 -0
- package/dist/project-workspace/storage/request-digest.d.ts.map +1 -0
- package/dist/project-workspace/storage/request-digest.js +21 -0
- package/dist/project-workspace/storage/request-digest.js.map +1 -0
- package/dist/project-workspace/storage/store.d.ts +34 -0
- package/dist/project-workspace/storage/store.d.ts.map +1 -0
- package/dist/project-workspace/storage/store.js +603 -0
- package/dist/project-workspace/storage/store.js.map +1 -0
- package/dist/runtime/connection-descriptor.d.ts +19 -0
- package/dist/runtime/connection-descriptor.d.ts.map +1 -0
- package/dist/runtime/connection-descriptor.js +136 -0
- package/dist/runtime/connection-descriptor.js.map +1 -0
- package/dist/runtime/errors.d.ts +21 -0
- package/dist/runtime/errors.d.ts.map +1 -0
- package/dist/runtime/errors.js +48 -0
- package/dist/runtime/errors.js.map +1 -0
- package/dist/runtime/framing.d.ts +9 -0
- package/dist/runtime/framing.d.ts.map +1 -0
- package/dist/runtime/framing.js +48 -0
- package/dist/runtime/framing.js.map +1 -0
- package/dist/runtime/instance-lock.d.ts +54 -0
- package/dist/runtime/instance-lock.d.ts.map +1 -0
- package/dist/runtime/instance-lock.js +566 -0
- package/dist/runtime/instance-lock.js.map +1 -0
- package/dist/runtime/local-credential.d.ts +16 -0
- package/dist/runtime/local-credential.d.ts.map +1 -0
- package/dist/runtime/local-credential.js +66 -0
- package/dist/runtime/local-credential.js.map +1 -0
- package/dist/runtime/local-server-channels.d.ts +11 -0
- package/dist/runtime/local-server-channels.d.ts.map +1 -0
- package/dist/runtime/local-server-channels.js +21 -0
- package/dist/runtime/local-server-channels.js.map +1 -0
- package/dist/runtime/local-server-listener.d.ts +12 -0
- package/dist/runtime/local-server-listener.d.ts.map +1 -0
- package/dist/runtime/local-server-listener.js +41 -0
- package/dist/runtime/local-server-listener.js.map +1 -0
- package/dist/runtime/local-server.d.ts +27 -0
- package/dist/runtime/local-server.d.ts.map +1 -0
- package/dist/runtime/local-server.js +639 -0
- package/dist/runtime/local-server.js.map +1 -0
- package/dist/runtime/observability.d.ts +21 -0
- package/dist/runtime/observability.d.ts.map +1 -0
- package/dist/runtime/observability.js +164 -0
- package/dist/runtime/observability.js.map +1 -0
- package/dist/runtime/process/owned-tree.d.ts +24 -0
- package/dist/runtime/process/owned-tree.d.ts.map +1 -0
- package/dist/runtime/process/owned-tree.js +228 -0
- package/dist/runtime/process/owned-tree.js.map +1 -0
- package/dist/runtime/process/resource/cleanup.d.ts +13 -0
- package/dist/runtime/process/resource/cleanup.d.ts.map +1 -0
- package/dist/runtime/process/resource/cleanup.js +196 -0
- package/dist/runtime/process/resource/cleanup.js.map +1 -0
- package/dist/runtime/process/resource/contract.d.ts +382 -0
- package/dist/runtime/process/resource/contract.d.ts.map +1 -0
- package/dist/runtime/process/resource/contract.js +2 -0
- package/dist/runtime/process/resource/contract.js.map +1 -0
- package/dist/runtime/process/resource/darwin-native-host-bootstrap.d.ts +7 -0
- package/dist/runtime/process/resource/darwin-native-host-bootstrap.d.ts.map +1 -0
- package/dist/runtime/process/resource/darwin-native-host-bootstrap.js +196 -0
- package/dist/runtime/process/resource/darwin-native-host-bootstrap.js.map +1 -0
- package/dist/runtime/process/resource/darwin-source-candidate-layer.d.ts +16 -0
- package/dist/runtime/process/resource/darwin-source-candidate-layer.d.ts.map +1 -0
- package/dist/runtime/process/resource/darwin-source-candidate-layer.js +51 -0
- package/dist/runtime/process/resource/darwin-source-candidate-layer.js.map +1 -0
- package/dist/runtime/process/resource/darwin-vouch-policy.d.ts +44 -0
- package/dist/runtime/process/resource/darwin-vouch-policy.d.ts.map +1 -0
- package/dist/runtime/process/resource/darwin-vouch-policy.js +253 -0
- package/dist/runtime/process/resource/darwin-vouch-policy.js.map +1 -0
- package/dist/runtime/process/resource/health.d.ts +45 -0
- package/dist/runtime/process/resource/health.d.ts.map +1 -0
- package/dist/runtime/process/resource/health.js +197 -0
- package/dist/runtime/process/resource/health.js.map +1 -0
- package/dist/runtime/process/resource/host-frame.d.ts +39 -0
- package/dist/runtime/process/resource/host-frame.d.ts.map +1 -0
- package/dist/runtime/process/resource/host-frame.js +266 -0
- package/dist/runtime/process/resource/host-frame.js.map +1 -0
- package/dist/runtime/process/resource/host-launch.d.ts +11 -0
- package/dist/runtime/process/resource/host-launch.d.ts.map +1 -0
- package/dist/runtime/process/resource/host-launch.js +296 -0
- package/dist/runtime/process/resource/host-launch.js.map +1 -0
- package/dist/runtime/process/resource/host-lifecycle.d.ts +91 -0
- package/dist/runtime/process/resource/host-lifecycle.d.ts.map +1 -0
- package/dist/runtime/process/resource/host-lifecycle.js +96 -0
- package/dist/runtime/process/resource/host-lifecycle.js.map +1 -0
- package/dist/runtime/process/resource/host-message.d.ts +15 -0
- package/dist/runtime/process/resource/host-message.d.ts.map +1 -0
- package/dist/runtime/process/resource/host-message.js +538 -0
- package/dist/runtime/process/resource/host-message.js.map +1 -0
- package/dist/runtime/process/resource/host-protocol-contract.d.ts +222 -0
- package/dist/runtime/process/resource/host-protocol-contract.d.ts.map +1 -0
- package/dist/runtime/process/resource/host-protocol-contract.js +69 -0
- package/dist/runtime/process/resource/host-protocol-contract.js.map +1 -0
- package/dist/runtime/process/resource/host-protocol-sequence.d.ts +14 -0
- package/dist/runtime/process/resource/host-protocol-sequence.d.ts.map +1 -0
- package/dist/runtime/process/resource/host-protocol-sequence.js +304 -0
- package/dist/runtime/process/resource/host-protocol-sequence.js.map +1 -0
- package/dist/runtime/process/resource/host-protocol.d.ts +5 -0
- package/dist/runtime/process/resource/host-protocol.d.ts.map +1 -0
- package/dist/runtime/process/resource/host-protocol.js +5 -0
- package/dist/runtime/process/resource/host-protocol.js.map +1 -0
- package/dist/runtime/process/resource/host-snapshot.d.ts +11 -0
- package/dist/runtime/process/resource/host-snapshot.d.ts.map +1 -0
- package/dist/runtime/process/resource/host-snapshot.js +239 -0
- package/dist/runtime/process/resource/host-snapshot.js.map +1 -0
- package/dist/runtime/process/resource/integration-authorization/authorization-store.d.ts +48 -0
- package/dist/runtime/process/resource/integration-authorization/authorization-store.d.ts.map +1 -0
- package/dist/runtime/process/resource/integration-authorization/authorization-store.js +269 -0
- package/dist/runtime/process/resource/integration-authorization/authorization-store.js.map +1 -0
- package/dist/runtime/process/resource/integration-authorization/database.d.ts +10 -0
- package/dist/runtime/process/resource/integration-authorization/database.d.ts.map +1 -0
- package/dist/runtime/process/resource/integration-authorization/database.js +98 -0
- package/dist/runtime/process/resource/integration-authorization/database.js.map +1 -0
- package/dist/runtime/process/resource/integration-authorization/index.d.ts +7 -0
- package/dist/runtime/process/resource/integration-authorization/index.d.ts.map +1 -0
- package/dist/runtime/process/resource/integration-authorization/index.js +6 -0
- package/dist/runtime/process/resource/integration-authorization/index.js.map +1 -0
- package/dist/runtime/process/resource/integration-authorization/permit-compaction-store.d.ts +3 -0
- package/dist/runtime/process/resource/integration-authorization/permit-compaction-store.d.ts.map +1 -0
- package/dist/runtime/process/resource/integration-authorization/permit-compaction-store.js +87 -0
- package/dist/runtime/process/resource/integration-authorization/permit-compaction-store.js.map +1 -0
- package/dist/runtime/process/resource/integration-authorization/permit-store.d.ts +44 -0
- package/dist/runtime/process/resource/integration-authorization/permit-store.d.ts.map +1 -0
- package/dist/runtime/process/resource/integration-authorization/permit-store.js +486 -0
- package/dist/runtime/process/resource/integration-authorization/permit-store.js.map +1 -0
- package/dist/runtime/process/resource/integration-authorization/plan-integrity.d.ts +21 -0
- package/dist/runtime/process/resource/integration-authorization/plan-integrity.d.ts.map +1 -0
- package/dist/runtime/process/resource/integration-authorization/plan-integrity.js +172 -0
- package/dist/runtime/process/resource/integration-authorization/plan-integrity.js.map +1 -0
- package/dist/runtime/process/resource/integration-authorization/plan-payload.d.ts +31 -0
- package/dist/runtime/process/resource/integration-authorization/plan-payload.d.ts.map +1 -0
- package/dist/runtime/process/resource/integration-authorization/plan-payload.js +15 -0
- package/dist/runtime/process/resource/integration-authorization/plan-payload.js.map +1 -0
- package/dist/runtime/process/resource/integration-authorization/plan-store.d.ts +11 -0
- package/dist/runtime/process/resource/integration-authorization/plan-store.d.ts.map +1 -0
- package/dist/runtime/process/resource/integration-authorization/plan-store.js +124 -0
- package/dist/runtime/process/resource/integration-authorization/plan-store.js.map +1 -0
- package/dist/runtime/process/resource/integration-authorization/policy.d.ts +37 -0
- package/dist/runtime/process/resource/integration-authorization/policy.d.ts.map +1 -0
- package/dist/runtime/process/resource/integration-authorization/policy.js +141 -0
- package/dist/runtime/process/resource/integration-authorization/policy.js.map +1 -0
- package/dist/runtime/process/resource/integration-authorization/projection.d.ts +5 -0
- package/dist/runtime/process/resource/integration-authorization/projection.d.ts.map +1 -0
- package/dist/runtime/process/resource/integration-authorization/projection.js +56 -0
- package/dist/runtime/process/resource/integration-authorization/projection.js.map +1 -0
- package/dist/runtime/process/resource/integration-authorization/replay-store.d.ts +9 -0
- package/dist/runtime/process/resource/integration-authorization/replay-store.d.ts.map +1 -0
- package/dist/runtime/process/resource/integration-authorization/replay-store.js +55 -0
- package/dist/runtime/process/resource/integration-authorization/replay-store.js.map +1 -0
- package/dist/runtime/process/resource/integration-authorization/types.d.ts +152 -0
- package/dist/runtime/process/resource/integration-authorization/types.d.ts.map +1 -0
- package/dist/runtime/process/resource/integration-authorization/types.js +3 -0
- package/dist/runtime/process/resource/integration-authorization/types.js.map +1 -0
- package/dist/runtime/process/resource/integration-authorization-manager.d.ts +9 -0
- package/dist/runtime/process/resource/integration-authorization-manager.d.ts.map +1 -0
- package/dist/runtime/process/resource/integration-authorization-manager.js +353 -0
- package/dist/runtime/process/resource/integration-authorization-manager.js.map +1 -0
- package/dist/runtime/process/resource/integration-authorization-storage.d.ts +2 -0
- package/dist/runtime/process/resource/integration-authorization-storage.d.ts.map +1 -0
- package/dist/runtime/process/resource/integration-authorization-storage.js +2 -0
- package/dist/runtime/process/resource/integration-authorization-storage.js.map +1 -0
- package/dist/runtime/process/resource/internal-spawn.d.ts +27 -0
- package/dist/runtime/process/resource/internal-spawn.d.ts.map +1 -0
- package/dist/runtime/process/resource/internal-spawn.js +7 -0
- package/dist/runtime/process/resource/internal-spawn.js.map +1 -0
- package/dist/runtime/process/resource/launch-authority.d.ts +5 -0
- package/dist/runtime/process/resource/launch-authority.d.ts.map +1 -0
- package/dist/runtime/process/resource/launch-authority.js +37 -0
- package/dist/runtime/process/resource/launch-authority.js.map +1 -0
- package/dist/runtime/process/resource/launch-gate.d.ts +19 -0
- package/dist/runtime/process/resource/launch-gate.d.ts.map +1 -0
- package/dist/runtime/process/resource/launch-gate.js +16 -0
- package/dist/runtime/process/resource/launch-gate.js.map +1 -0
- package/dist/runtime/process/resource/linux-process-identity.d.ts +13 -0
- package/dist/runtime/process/resource/linux-process-identity.d.ts.map +1 -0
- package/dist/runtime/process/resource/linux-process-identity.js +40 -0
- package/dist/runtime/process/resource/linux-process-identity.js.map +1 -0
- package/dist/runtime/process/resource/managed-tree.d.ts +28 -0
- package/dist/runtime/process/resource/managed-tree.d.ts.map +1 -0
- package/dist/runtime/process/resource/managed-tree.js +79 -0
- package/dist/runtime/process/resource/managed-tree.js.map +1 -0
- package/dist/runtime/process/resource/native-host-adapter.d.ts +17 -0
- package/dist/runtime/process/resource/native-host-adapter.d.ts.map +1 -0
- package/dist/runtime/process/resource/native-host-adapter.js +169 -0
- package/dist/runtime/process/resource/native-host-adapter.js.map +1 -0
- package/dist/runtime/process/resource/native-host-artifact.d.ts +28 -0
- package/dist/runtime/process/resource/native-host-artifact.d.ts.map +1 -0
- package/dist/runtime/process/resource/native-host-artifact.js +110 -0
- package/dist/runtime/process/resource/native-host-artifact.js.map +1 -0
- package/dist/runtime/process/resource/native-host-bootstrap.d.ts +29 -0
- package/dist/runtime/process/resource/native-host-bootstrap.d.ts.map +1 -0
- package/dist/runtime/process/resource/native-host-bootstrap.js +2 -0
- package/dist/runtime/process/resource/native-host-bootstrap.js.map +1 -0
- package/dist/runtime/process/resource/native-host-capability.d.ts +5 -0
- package/dist/runtime/process/resource/native-host-capability.d.ts.map +1 -0
- package/dist/runtime/process/resource/native-host-capability.js +86 -0
- package/dist/runtime/process/resource/native-host-capability.js.map +1 -0
- package/dist/runtime/process/resource/native-host-connection.d.ts +82 -0
- package/dist/runtime/process/resource/native-host-connection.d.ts.map +1 -0
- package/dist/runtime/process/resource/native-host-connection.js +448 -0
- package/dist/runtime/process/resource/native-host-connection.js.map +1 -0
- package/dist/runtime/process/resource/native-host-contract.d.ts +47 -0
- package/dist/runtime/process/resource/native-host-contract.d.ts.map +1 -0
- package/dist/runtime/process/resource/native-host-contract.js +2 -0
- package/dist/runtime/process/resource/native-host-contract.js.map +1 -0
- package/dist/runtime/process/resource/native-host-frame-parser.d.ts +22 -0
- package/dist/runtime/process/resource/native-host-frame-parser.d.ts.map +1 -0
- package/dist/runtime/process/resource/native-host-frame-parser.js +110 -0
- package/dist/runtime/process/resource/native-host-frame-parser.js.map +1 -0
- package/dist/runtime/process/resource/native-host-output.d.ts +16 -0
- package/dist/runtime/process/resource/native-host-output.d.ts.map +1 -0
- package/dist/runtime/process/resource/native-host-output.js +94 -0
- package/dist/runtime/process/resource/native-host-output.js.map +1 -0
- package/dist/runtime/process/resource/native-host-projection.d.ts +20 -0
- package/dist/runtime/process/resource/native-host-projection.d.ts.map +1 -0
- package/dist/runtime/process/resource/native-host-projection.js +74 -0
- package/dist/runtime/process/resource/native-host-projection.js.map +1 -0
- package/dist/runtime/process/resource/native-host-release-identity.d.ts +19 -0
- package/dist/runtime/process/resource/native-host-release-identity.d.ts.map +1 -0
- package/dist/runtime/process/resource/native-host-release-identity.js +56 -0
- package/dist/runtime/process/resource/native-host-release-identity.js.map +1 -0
- package/dist/runtime/process/resource/native-host-state.d.ts +38 -0
- package/dist/runtime/process/resource/native-host-state.d.ts.map +1 -0
- package/dist/runtime/process/resource/native-host-state.js +303 -0
- package/dist/runtime/process/resource/native-host-state.js.map +1 -0
- package/dist/runtime/process/resource/native-manager.d.ts +11 -0
- package/dist/runtime/process/resource/native-manager.d.ts.map +1 -0
- package/dist/runtime/process/resource/native-manager.js +646 -0
- package/dist/runtime/process/resource/native-manager.js.map +1 -0
- package/dist/runtime/process/resource/pi-rpc-launch-authority.d.ts +8 -0
- package/dist/runtime/process/resource/pi-rpc-launch-authority.d.ts.map +1 -0
- package/dist/runtime/process/resource/pi-rpc-launch-authority.js +158 -0
- package/dist/runtime/process/resource/pi-rpc-launch-authority.js.map +1 -0
- package/dist/runtime/process/resource/policy.d.ts +53 -0
- package/dist/runtime/process/resource/policy.d.ts.map +1 -0
- package/dist/runtime/process/resource/policy.js +501 -0
- package/dist/runtime/process/resource/policy.js.map +1 -0
- package/dist/runtime/process/resource/process-identity.d.ts +29 -0
- package/dist/runtime/process/resource/process-identity.d.ts.map +1 -0
- package/dist/runtime/process/resource/process-identity.js +199 -0
- package/dist/runtime/process/resource/process-identity.js.map +1 -0
- package/dist/runtime/process/resource/ps-snapshot.d.ts +12 -0
- package/dist/runtime/process/resource/ps-snapshot.d.ts.map +1 -0
- package/dist/runtime/process/resource/ps-snapshot.js +77 -0
- package/dist/runtime/process/resource/ps-snapshot.js.map +1 -0
- package/dist/runtime/process/resource/sampler.d.ts +18 -0
- package/dist/runtime/process/resource/sampler.d.ts.map +1 -0
- package/dist/runtime/process/resource/sampler.js +19 -0
- package/dist/runtime/process/resource/sampler.js.map +1 -0
- package/dist/runtime/process/resource/sampling.d.ts +23 -0
- package/dist/runtime/process/resource/sampling.d.ts.map +1 -0
- package/dist/runtime/process/resource/sampling.js +131 -0
- package/dist/runtime/process/resource/sampling.js.map +1 -0
- package/dist/runtime/process/resource/service.d.ts +15 -0
- package/dist/runtime/process/resource/service.d.ts.map +1 -0
- package/dist/runtime/process/resource/service.js +39 -0
- package/dist/runtime/process/resource/service.js.map +1 -0
- package/dist/runtime/process/resource/snapshot.d.ts +24 -0
- package/dist/runtime/process/resource/snapshot.d.ts.map +1 -0
- package/dist/runtime/process/resource/snapshot.js +149 -0
- package/dist/runtime/process/resource/snapshot.js.map +1 -0
- package/dist/runtime/process/resource/telemetry.d.ts +9 -0
- package/dist/runtime/process/resource/telemetry.d.ts.map +1 -0
- package/dist/runtime/process/resource/telemetry.js +51 -0
- package/dist/runtime/process/resource/telemetry.js.map +1 -0
- package/dist/runtime/process/resource/test-runtime-layer.d.ts +25 -0
- package/dist/runtime/process/resource/test-runtime-layer.d.ts.map +1 -0
- package/dist/runtime/process/resource/test-runtime-layer.js +296 -0
- package/dist/runtime/process/resource/test-runtime-layer.js.map +1 -0
- package/dist/runtime/process/resource/testing.d.ts +18 -0
- package/dist/runtime/process/resource/testing.d.ts.map +1 -0
- package/dist/runtime/process/resource/testing.js +216 -0
- package/dist/runtime/process/resource/testing.js.map +1 -0
- package/dist/runtime/profile-paths.d.ts +27 -0
- package/dist/runtime/profile-paths.d.ts.map +1 -0
- package/dist/runtime/profile-paths.js +111 -0
- package/dist/runtime/profile-paths.js.map +1 -0
- package/dist/runtime/startup/testing/benchmark-evidence.d.ts +45 -0
- package/dist/runtime/startup/testing/benchmark-evidence.d.ts.map +1 -0
- package/dist/runtime/startup/testing/benchmark-evidence.js +261 -0
- package/dist/runtime/startup/testing/benchmark-evidence.js.map +1 -0
- package/dist/session/application/activation.d.ts +22 -0
- package/dist/session/application/activation.d.ts.map +1 -0
- package/dist/session/application/activation.js +202 -0
- package/dist/session/application/activation.js.map +1 -0
- package/dist/session/application/requests.d.ts +25 -0
- package/dist/session/application/requests.d.ts.map +1 -0
- package/dist/session/application/requests.js +76 -0
- package/dist/session/application/requests.js.map +1 -0
- package/dist/session/application/testing/activation-barrier.d.ts +8 -0
- package/dist/session/application/testing/activation-barrier.d.ts.map +1 -0
- package/dist/session/application/testing/activation-barrier.js +55 -0
- package/dist/session/application/testing/activation-barrier.js.map +1 -0
- package/dist/session/runtime/admission.d.ts +8 -0
- package/dist/session/runtime/admission.d.ts.map +1 -0
- package/dist/session/runtime/admission.js +22 -0
- package/dist/session/runtime/admission.js.map +1 -0
- package/dist/session/runtime/policy.d.ts +5 -0
- package/dist/session/runtime/policy.d.ts.map +1 -0
- package/dist/session/runtime/policy.js +5 -0
- package/dist/session/runtime/policy.js.map +1 -0
- package/dist/session/storage/activation-command.d.ts +12 -0
- package/dist/session/storage/activation-command.d.ts.map +1 -0
- package/dist/session/storage/activation-command.js +146 -0
- package/dist/session/storage/activation-command.js.map +1 -0
- package/dist/session/storage/activation-mutations.d.ts +25 -0
- package/dist/session/storage/activation-mutations.d.ts.map +1 -0
- package/dist/session/storage/activation-mutations.js +34 -0
- package/dist/session/storage/activation-mutations.js.map +1 -0
- package/dist/session/storage/activation-record.d.ts +28 -0
- package/dist/session/storage/activation-record.d.ts.map +1 -0
- package/dist/session/storage/activation-record.js +109 -0
- package/dist/session/storage/activation-record.js.map +1 -0
- package/dist/session/storage/activation-state.d.ts +18 -0
- package/dist/session/storage/activation-state.d.ts.map +1 -0
- package/dist/session/storage/activation-state.js +173 -0
- package/dist/session/storage/activation-state.js.map +1 -0
- package/dist/session/storage/activation.d.ts +4 -0
- package/dist/session/storage/activation.d.ts.map +1 -0
- package/dist/session/storage/activation.js +4 -0
- package/dist/session/storage/activation.js.map +1 -0
- package/dist/session/storage/create.d.ts +12 -0
- package/dist/session/storage/create.d.ts.map +1 -0
- package/dist/session/storage/create.js +115 -0
- package/dist/session/storage/create.js.map +1 -0
- package/dist/session/storage/events.d.ts +4 -0
- package/dist/session/storage/events.d.ts.map +1 -0
- package/dist/session/storage/events.js +119 -0
- package/dist/session/storage/events.js.map +1 -0
- package/dist/session/storage/queries.d.ts +5 -0
- package/dist/session/storage/queries.d.ts.map +1 -0
- package/dist/session/storage/queries.js +24 -0
- package/dist/session/storage/queries.js.map +1 -0
- package/dist/session/storage/request-digest.d.ts +4 -0
- package/dist/session/storage/request-digest.d.ts.map +1 -0
- package/dist/session/storage/request-digest.js +19 -0
- package/dist/session/storage/request-digest.js.map +1 -0
- package/dist/session/storage/runtime-profile.d.ts +15 -0
- package/dist/session/storage/runtime-profile.d.ts.map +1 -0
- package/dist/session/storage/runtime-profile.js +4 -0
- package/dist/session/storage/runtime-profile.js.map +1 -0
- package/dist/session/storage/session-record.d.ts +25 -0
- package/dist/session/storage/session-record.d.ts.map +1 -0
- package/dist/session/storage/session-record.js +53 -0
- package/dist/session/storage/session-record.js.map +1 -0
- package/dist/session/storage/testing/database.d.ts +13 -0
- package/dist/session/storage/testing/database.d.ts.map +1 -0
- package/dist/session/storage/testing/database.js +63 -0
- package/dist/session/storage/testing/database.js.map +1 -0
- package/dist/session/testing/activation-waiter.d.ts +7 -0
- package/dist/session/testing/activation-waiter.d.ts.map +1 -0
- package/dist/session/testing/activation-waiter.js +38 -0
- package/dist/session/testing/activation-waiter.js.map +1 -0
- package/dist/session/testing/built-session-bounded-capture.d.ts +15 -0
- package/dist/session/testing/built-session-bounded-capture.d.ts.map +1 -0
- package/dist/session/testing/built-session-bounded-capture.js +136 -0
- package/dist/session/testing/built-session-bounded-capture.js.map +1 -0
- package/dist/session/testing/built-session-cli-supervisor.d.ts +36 -0
- package/dist/session/testing/built-session-cli-supervisor.d.ts.map +1 -0
- package/dist/session/testing/built-session-cli-supervisor.js +52 -0
- package/dist/session/testing/built-session-cli-supervisor.js.map +1 -0
- package/dist/session/testing/built-session-execution-authenticator.d.ts +11 -0
- package/dist/session/testing/built-session-execution-authenticator.d.ts.map +1 -0
- package/dist/session/testing/built-session-execution-authenticator.js +33 -0
- package/dist/session/testing/built-session-execution-authenticator.js.map +1 -0
- package/dist/session/testing/built-session-execution-authority.d.ts +12 -0
- package/dist/session/testing/built-session-execution-authority.d.ts.map +1 -0
- package/dist/session/testing/built-session-execution-authority.js +1242 -0
- package/dist/session/testing/built-session-execution-authority.js.map +1 -0
- package/dist/session/testing/built-session-execution-budget.d.ts +29 -0
- package/dist/session/testing/built-session-execution-budget.d.ts.map +1 -0
- package/dist/session/testing/built-session-execution-budget.js +72 -0
- package/dist/session/testing/built-session-execution-budget.js.map +1 -0
- package/dist/session/testing/built-session-execution-contract.d.ts +64 -0
- package/dist/session/testing/built-session-execution-contract.d.ts.map +1 -0
- package/dist/session/testing/built-session-execution-contract.js +4 -0
- package/dist/session/testing/built-session-execution-contract.js.map +1 -0
- package/dist/session/testing/built-session-execution-failure.d.ts +32 -0
- package/dist/session/testing/built-session-execution-failure.d.ts.map +1 -0
- package/dist/session/testing/built-session-execution-failure.js +51 -0
- package/dist/session/testing/built-session-execution-failure.js.map +1 -0
- package/dist/session/testing/built-session-execution-handle.d.ts +29 -0
- package/dist/session/testing/built-session-execution-handle.d.ts.map +1 -0
- package/dist/session/testing/built-session-execution-handle.js +37 -0
- package/dist/session/testing/built-session-execution-handle.js.map +1 -0
- package/dist/session/testing/built-session-execution-input.d.ts +94 -0
- package/dist/session/testing/built-session-execution-input.d.ts.map +1 -0
- package/dist/session/testing/built-session-execution-input.js +356 -0
- package/dist/session/testing/built-session-execution-input.js.map +1 -0
- package/dist/session/testing/built-session-execution-lifecycle.d.ts +36 -0
- package/dist/session/testing/built-session-execution-lifecycle.d.ts.map +1 -0
- package/dist/session/testing/built-session-execution-lifecycle.js +143 -0
- package/dist/session/testing/built-session-execution-lifecycle.js.map +1 -0
- package/dist/session/testing/built-session-execution-policy.d.ts +67 -0
- package/dist/session/testing/built-session-execution-policy.d.ts.map +1 -0
- package/dist/session/testing/built-session-execution-policy.js +110 -0
- package/dist/session/testing/built-session-execution-policy.js.map +1 -0
- package/dist/session/testing/built-session-execution-private-types.d.ts +137 -0
- package/dist/session/testing/built-session-execution-private-types.d.ts.map +1 -0
- package/dist/session/testing/built-session-execution-private-types.js +2 -0
- package/dist/session/testing/built-session-execution-private-types.js.map +1 -0
- package/dist/session/testing/built-session-execution-projection.d.ts +177 -0
- package/dist/session/testing/built-session-execution-projection.d.ts.map +1 -0
- package/dist/session/testing/built-session-execution-projection.js +226 -0
- package/dist/session/testing/built-session-execution-projection.js.map +1 -0
- package/dist/session/testing/built-session-execution-provider.d.ts +36 -0
- package/dist/session/testing/built-session-execution-provider.d.ts.map +1 -0
- package/dist/session/testing/built-session-execution-provider.js +2 -0
- package/dist/session/testing/built-session-execution-provider.js.map +1 -0
- package/dist/session/testing/built-session-execution-receipt.d.ts +331 -0
- package/dist/session/testing/built-session-execution-receipt.d.ts.map +1 -0
- package/dist/session/testing/built-session-execution-receipt.js +243 -0
- package/dist/session/testing/built-session-execution-receipt.js.map +1 -0
- package/dist/session/testing/built-session-execution-record.d.ts +15 -0
- package/dist/session/testing/built-session-execution-record.d.ts.map +1 -0
- package/dist/session/testing/built-session-execution-record.js +27 -0
- package/dist/session/testing/built-session-execution-record.js.map +1 -0
- package/dist/session/testing/built-session-execution-snapshot.d.ts +83 -0
- package/dist/session/testing/built-session-execution-snapshot.d.ts.map +1 -0
- package/dist/session/testing/built-session-execution-snapshot.js +5 -0
- package/dist/session/testing/built-session-execution-snapshot.js.map +1 -0
- package/dist/session/testing/built-session-node.d.ts +110 -0
- package/dist/session/testing/built-session-node.d.ts.map +1 -0
- package/dist/session/testing/built-session-node.js +715 -0
- package/dist/session/testing/built-session-node.js.map +1 -0
- package/dist/session/testing/built-session-structural-gate.d.ts +40 -0
- package/dist/session/testing/built-session-structural-gate.d.ts.map +1 -0
- package/dist/session/testing/built-session-structural-gate.js +207 -0
- package/dist/session/testing/built-session-structural-gate.js.map +1 -0
- package/dist/session/testing/built-session-temporary-lifecycle.d.ts +35 -0
- package/dist/session/testing/built-session-temporary-lifecycle.d.ts.map +1 -0
- package/dist/session/testing/built-session-temporary-lifecycle.js +314 -0
- package/dist/session/testing/built-session-temporary-lifecycle.js.map +1 -0
- package/dist/session/testing/git-repository.d.ts +2 -0
- package/dist/session/testing/git-repository.d.ts.map +1 -0
- package/dist/session/testing/git-repository.js +29 -0
- package/dist/session/testing/git-repository.js.map +1 -0
- package/dist/session/testing/session-fixture.d.ts +7 -0
- package/dist/session/testing/session-fixture.d.ts.map +1 -0
- package/dist/session/testing/session-fixture.js +53 -0
- package/dist/session/testing/session-fixture.js.map +1 -0
- package/dist/session/turn/application/requests.d.ts +24 -0
- package/dist/session/turn/application/requests.d.ts.map +1 -0
- package/dist/session/turn/application/requests.js +164 -0
- package/dist/session/turn/application/requests.js.map +1 -0
- package/dist/session/turn/application/source-candidate-authority.d.ts +5 -0
- package/dist/session/turn/application/source-candidate-authority.d.ts.map +1 -0
- package/dist/session/turn/application/source-candidate-authority.js +4 -0
- package/dist/session/turn/application/source-candidate-authority.js.map +1 -0
- package/dist/session/turn/storage/interrupt.d.ts +74 -0
- package/dist/session/turn/storage/interrupt.d.ts.map +1 -0
- package/dist/session/turn/storage/interrupt.js +757 -0
- package/dist/session/turn/storage/interrupt.js.map +1 -0
- package/dist/session/turn/storage/lifecycle.d.ts +29 -0
- package/dist/session/turn/storage/lifecycle.d.ts.map +1 -0
- package/dist/session/turn/storage/lifecycle.js +310 -0
- package/dist/session/turn/storage/lifecycle.js.map +1 -0
- package/dist/session/turn/storage/queries.d.ts +4 -0
- package/dist/session/turn/storage/queries.d.ts.map +1 -0
- package/dist/session/turn/storage/queries.js +7 -0
- package/dist/session/turn/storage/queries.js.map +1 -0
- package/dist/session/turn/storage/record.d.ts +28 -0
- package/dist/session/turn/storage/record.d.ts.map +1 -0
- package/dist/session/turn/storage/record.js +84 -0
- package/dist/session/turn/storage/record.js.map +1 -0
- package/dist/session/turn/storage/request-digest.d.ts +8 -0
- package/dist/session/turn/storage/request-digest.d.ts.map +1 -0
- package/dist/session/turn/storage/request-digest.js +20 -0
- package/dist/session/turn/storage/request-digest.js.map +1 -0
- package/dist/session/turn/storage/send.d.ts +12 -0
- package/dist/session/turn/storage/send.d.ts.map +1 -0
- package/dist/session/turn/storage/send.js +149 -0
- package/dist/session/turn/storage/send.js.map +1 -0
- package/dist/storage/database-files.d.ts +6 -0
- package/dist/storage/database-files.d.ts.map +1 -0
- package/dist/storage/database-files.js +146 -0
- package/dist/storage/database-files.js.map +1 -0
- package/dist/storage/integration-authorization-operations.d.ts +7 -0
- package/dist/storage/integration-authorization-operations.d.ts.map +1 -0
- package/dist/storage/integration-authorization-operations.js +134 -0
- package/dist/storage/integration-authorization-operations.js.map +1 -0
- package/dist/storage/journal.d.ts +108 -0
- package/dist/storage/journal.d.ts.map +1 -0
- package/dist/storage/journal.js +459 -0
- package/dist/storage/journal.js.map +1 -0
- package/dist/storage/migration-eleven.d.ts +2 -0
- package/dist/storage/migration-eleven.d.ts.map +1 -0
- package/dist/storage/migration-eleven.js +298 -0
- package/dist/storage/migration-eleven.js.map +1 -0
- package/dist/storage/migration-fourteen.d.ts +2 -0
- package/dist/storage/migration-fourteen.d.ts.map +1 -0
- package/dist/storage/migration-fourteen.js +316 -0
- package/dist/storage/migration-fourteen.js.map +1 -0
- package/dist/storage/migration-nine.d.ts +2 -0
- package/dist/storage/migration-nine.d.ts.map +1 -0
- package/dist/storage/migration-nine.js +1224 -0
- package/dist/storage/migration-nine.js.map +1 -0
- package/dist/storage/migration-ten.d.ts +2 -0
- package/dist/storage/migration-ten.d.ts.map +1 -0
- package/dist/storage/migration-ten.js +14 -0
- package/dist/storage/migration-ten.js.map +1 -0
- package/dist/storage/migration-thirteen.d.ts +2 -0
- package/dist/storage/migration-thirteen.d.ts.map +1 -0
- package/dist/storage/migration-thirteen.js +380 -0
- package/dist/storage/migration-thirteen.js.map +1 -0
- package/dist/storage/migration-twelve.d.ts +2 -0
- package/dist/storage/migration-twelve.d.ts.map +1 -0
- package/dist/storage/migration-twelve.js +85 -0
- package/dist/storage/migration-twelve.js.map +1 -0
- package/dist/storage/migrations.d.ts +20 -0
- package/dist/storage/migrations.d.ts.map +1 -0
- package/dist/storage/migrations.js +909 -0
- package/dist/storage/migrations.js.map +1 -0
- package/dist/storage/node-database.d.ts +282 -0
- package/dist/storage/node-database.d.ts.map +1 -0
- package/dist/storage/node-database.js +448 -0
- package/dist/storage/node-database.js.map +1 -0
- package/dist/storage/pi-rpc-authorization-operations.d.ts +91 -0
- package/dist/storage/pi-rpc-authorization-operations.d.ts.map +1 -0
- package/dist/storage/pi-rpc-authorization-operations.js +136 -0
- package/dist/storage/pi-rpc-authorization-operations.js.map +1 -0
- package/dist/storage/policy.d.ts +8 -0
- package/dist/storage/policy.d.ts.map +1 -0
- package/dist/storage/policy.js +8 -0
- package/dist/storage/policy.js.map +1 -0
- package/dist/storage/sqlite-integer.d.ts +3 -0
- package/dist/storage/sqlite-integer.d.ts.map +1 -0
- package/dist/storage/sqlite-integer.js +25 -0
- package/dist/storage/sqlite-integer.js.map +1 -0
- package/dist/storage/store-effect.d.ts +5 -0
- package/dist/storage/store-effect.d.ts.map +1 -0
- package/dist/storage/store-effect.js +15 -0
- package/dist/storage/store-effect.js.map +1 -0
- package/dist/terminal/application/live-requests.d.ts +18 -0
- package/dist/terminal/application/live-requests.d.ts.map +1 -0
- package/dist/terminal/application/live-requests.js +24 -0
- package/dist/terminal/application/live-requests.js.map +1 -0
- package/dist/terminal/application/requests.d.ts +10 -0
- package/dist/terminal/application/requests.d.ts.map +1 -0
- package/dist/terminal/application/requests.js +50 -0
- package/dist/terminal/application/requests.js.map +1 -0
- package/dist/terminal/live-launch.d.ts +16 -0
- package/dist/terminal/live-launch.d.ts.map +1 -0
- package/dist/terminal/live-launch.js +213 -0
- package/dist/terminal/live-launch.js.map +1 -0
- package/dist/terminal/live-lifecycle.d.ts +104 -0
- package/dist/terminal/live-lifecycle.d.ts.map +1 -0
- package/dist/terminal/live-lifecycle.js +185 -0
- package/dist/terminal/live-lifecycle.js.map +1 -0
- package/dist/terminal/live-native-control.d.ts +7 -0
- package/dist/terminal/live-native-control.d.ts.map +1 -0
- package/dist/terminal/live-native-control.js +233 -0
- package/dist/terminal/live-native-control.js.map +1 -0
- package/dist/terminal/live-runtime-state.d.ts +69 -0
- package/dist/terminal/live-runtime-state.d.ts.map +1 -0
- package/dist/terminal/live-runtime-state.js +75 -0
- package/dist/terminal/live-runtime-state.js.map +1 -0
- package/dist/terminal/live-service.d.ts +29 -0
- package/dist/terminal/live-service.d.ts.map +1 -0
- package/dist/terminal/live-service.js +79 -0
- package/dist/terminal/live-service.js.map +1 -0
- package/dist/terminal/live-supervision.d.ts +19 -0
- package/dist/terminal/live-supervision.d.ts.map +1 -0
- package/dist/terminal/live-supervision.js +78 -0
- package/dist/terminal/live-supervision.js.map +1 -0
- package/dist/terminal/storage/create.d.ts +23 -0
- package/dist/terminal/storage/create.d.ts.map +1 -0
- package/dist/terminal/storage/create.js +151 -0
- package/dist/terminal/storage/create.js.map +1 -0
- package/dist/terminal/storage/events.d.ts +4 -0
- package/dist/terminal/storage/events.d.ts.map +1 -0
- package/dist/terminal/storage/events.js +151 -0
- package/dist/terminal/storage/events.js.map +1 -0
- package/dist/terminal/storage/live-command-shared.d.ts +39 -0
- package/dist/terminal/storage/live-command-shared.d.ts.map +1 -0
- package/dist/terminal/storage/live-command-shared.js +142 -0
- package/dist/terminal/storage/live-command-shared.js.map +1 -0
- package/dist/terminal/storage/live-commands.d.ts +7 -0
- package/dist/terminal/storage/live-commands.d.ts.map +1 -0
- package/dist/terminal/storage/live-commands.js +7 -0
- package/dist/terminal/storage/live-commands.js.map +1 -0
- package/dist/terminal/storage/live-controller-commands.d.ts +4 -0
- package/dist/terminal/storage/live-controller-commands.d.ts.map +1 -0
- package/dist/terminal/storage/live-controller-commands.js +4 -0
- package/dist/terminal/storage/live-controller-commands.js.map +1 -0
- package/dist/terminal/storage/live-controller-lease.d.ts +17 -0
- package/dist/terminal/storage/live-controller-lease.d.ts.map +1 -0
- package/dist/terminal/storage/live-controller-lease.js +316 -0
- package/dist/terminal/storage/live-controller-lease.js.map +1 -0
- package/dist/terminal/storage/live-controller-policy.d.ts +44 -0
- package/dist/terminal/storage/live-controller-policy.d.ts.map +1 -0
- package/dist/terminal/storage/live-controller-policy.js +135 -0
- package/dist/terminal/storage/live-controller-policy.js.map +1 -0
- package/dist/terminal/storage/live-controller-request.d.ts +15 -0
- package/dist/terminal/storage/live-controller-request.d.ts.map +1 -0
- package/dist/terminal/storage/live-controller-request.js +166 -0
- package/dist/terminal/storage/live-controller-request.js.map +1 -0
- package/dist/terminal/storage/live-controller-shared.d.ts +40 -0
- package/dist/terminal/storage/live-controller-shared.d.ts.map +1 -0
- package/dist/terminal/storage/live-controller-shared.js +74 -0
- package/dist/terminal/storage/live-controller-shared.js.map +1 -0
- package/dist/terminal/storage/live-create-commands.d.ts +21 -0
- package/dist/terminal/storage/live-create-commands.d.ts.map +1 -0
- package/dist/terminal/storage/live-create-commands.js +227 -0
- package/dist/terminal/storage/live-create-commands.js.map +1 -0
- package/dist/terminal/storage/live-launch-context.d.ts +17 -0
- package/dist/terminal/storage/live-launch-context.d.ts.map +1 -0
- package/dist/terminal/storage/live-launch-context.js +44 -0
- package/dist/terminal/storage/live-launch-context.js.map +1 -0
- package/dist/terminal/storage/live-mutations.d.ts +65 -0
- package/dist/terminal/storage/live-mutations.d.ts.map +1 -0
- package/dist/terminal/storage/live-mutations.js +291 -0
- package/dist/terminal/storage/live-mutations.js.map +1 -0
- package/dist/terminal/storage/live-native-commands.d.ts +77 -0
- package/dist/terminal/storage/live-native-commands.d.ts.map +1 -0
- package/dist/terminal/storage/live-native-commands.js +728 -0
- package/dist/terminal/storage/live-native-commands.js.map +1 -0
- package/dist/terminal/storage/live-process-settlement.d.ts +30 -0
- package/dist/terminal/storage/live-process-settlement.d.ts.map +1 -0
- package/dist/terminal/storage/live-process-settlement.js +159 -0
- package/dist/terminal/storage/live-process-settlement.js.map +1 -0
- package/dist/terminal/storage/live-record.d.ts +36 -0
- package/dist/terminal/storage/live-record.d.ts.map +1 -0
- package/dist/terminal/storage/live-record.js +153 -0
- package/dist/terminal/storage/live-record.js.map +1 -0
- package/dist/terminal/storage/live-recovery.d.ts +6 -0
- package/dist/terminal/storage/live-recovery.d.ts.map +1 -0
- package/dist/terminal/storage/live-recovery.js +539 -0
- package/dist/terminal/storage/live-recovery.js.map +1 -0
- package/dist/terminal/storage/live-retention.d.ts +46 -0
- package/dist/terminal/storage/live-retention.d.ts.map +1 -0
- package/dist/terminal/storage/live-retention.js +362 -0
- package/dist/terminal/storage/live-retention.js.map +1 -0
- package/dist/terminal/storage/queries.d.ts +6 -0
- package/dist/terminal/storage/queries.d.ts.map +1 -0
- package/dist/terminal/storage/queries.js +85 -0
- package/dist/terminal/storage/queries.js.map +1 -0
- package/dist/terminal/storage/record.d.ts +29 -0
- package/dist/terminal/storage/record.d.ts.map +1 -0
- package/dist/terminal/storage/record.js +87 -0
- package/dist/terminal/storage/record.js.map +1 -0
- package/dist/terminal/storage/request-digest.d.ts +3 -0
- package/dist/terminal/storage/request-digest.d.ts.map +1 -0
- package/dist/terminal/storage/request-digest.js +10 -0
- package/dist/terminal/storage/request-digest.js.map +1 -0
- package/dist/terminal/storage/sqlite-counter.d.ts +4 -0
- package/dist/terminal/storage/sqlite-counter.d.ts.map +1 -0
- package/dist/terminal/storage/sqlite-counter.js +15 -0
- package/dist/terminal/storage/sqlite-counter.js.map +1 -0
- package/package.json +70 -0
package/README.md
ADDED
|
@@ -0,0 +1,517 @@
|
|
|
1
|
+
# `@maiaos/node`
|
|
2
|
+
|
|
3
|
+
> **Publication status:** Source-implemented candidate, canary-only. npm
|
|
4
|
+
> canaries use the
|
|
5
|
+
> `canary` dist-tag for installation evidence and remain
|
|
6
|
+
> `releaseQualified: false`. No stable version or `latest` dist-tag is
|
|
7
|
+
> released.
|
|
8
|
+
|
|
9
|
+
`@maiaos/node` is the headless authority foundation for Maia OS: one logical
|
|
10
|
+
node is one brain. It is deliberately a service under `services/node`, not a
|
|
11
|
+
desktop application package: CLI, desktop, mobile/tablet, and web consume the
|
|
12
|
+
same node-owned protocol and state through `@maiaos/sdk`.
|
|
13
|
+
|
|
14
|
+
The source manifest is prepared for npm packing: only built `dist` output and
|
|
15
|
+
this README are packable, and pnpm preserves the internal Darwin helper's
|
|
16
|
+
executable mode without publishing it as a command. The built executable
|
|
17
|
+
embeds the manifest's exact Node version and exits before node command handling
|
|
18
|
+
when the runtime is not Node 24.19.0. The source manifest remains `0.0.0`;
|
|
19
|
+
release tooling prepares an exact canary version only in an isolated pack copy.
|
|
20
|
+
Exact stable closure/provenance/clean-install evidence remains open. Homebrew is
|
|
21
|
+
a later CLI distribution channel.
|
|
22
|
+
|
|
23
|
+
The current package implements `help`, `version`, and a constrained `--desktop`
|
|
24
|
+
process. Desktop mode owns one profile lock, a private ephemeral credential,
|
|
25
|
+
authenticated user-local IPC, one readiness record, `node.status`, idempotent
|
|
26
|
+
`node.shutdown`, bounded drain, crash recovery, durable SQLite command/event
|
|
27
|
+
storage, bounded JSONC resolution, atomic user-configuration writes/restores,
|
|
28
|
+
a durable session ledger and Codex activation mapping, and local structured
|
|
29
|
+
observability. Schema v9 preserves the schema-v8 local-v1 orchestration, the
|
|
30
|
+
schema-v7 terminal availability record, and the schema-v6 session/turn ledger,
|
|
31
|
+
and adds the macOS live-terminal source candidate. Schema v10 adds receipt
|
|
32
|
+
recent/actor/method indexes only and preserves that v9 live-terminal data.
|
|
33
|
+
`receipt.list` is an ordinary no-payload read beside keyed `receipt.get`.
|
|
34
|
+
Schema v11 adds the private Codex integration-authorization boundary described
|
|
35
|
+
below. Schema v12 adds the exact built-in neutral execution catalog and
|
|
36
|
+
workspace execution-selection binding. The node exposes
|
|
37
|
+
`execution.catalog.get`, `workspace.execution.show`, and the revision-fenced,
|
|
38
|
+
receipt-backed `workspace.execution.configure` candidate through authenticated
|
|
39
|
+
local IPC and SQLite. Its one provider is canonical `trusted_host`, agentless,
|
|
40
|
+
unbound, and not release-qualified; every resolution remains `unavailable`
|
|
41
|
+
with `local_provider_unbound`. Configuration launches no process, calls no
|
|
42
|
+
provider, creates no execution instance, and grants no local or remote
|
|
43
|
+
execution authority. The source candidate is not release-qualified product
|
|
44
|
+
behavior.
|
|
45
|
+
Schema v8
|
|
46
|
+
durably owns one normalized Run/Task DAG, one Attempt and Dispatch, Run and
|
|
47
|
+
Dispatch mailboxes, immutable Message/Delivery records, individual
|
|
48
|
+
receipt-backed acknowledgement, a Run-scoped objective-free Task index, a
|
|
49
|
+
keyed Run-scoped Task show, a keyed Run-scoped Dispatch show, and
|
|
50
|
+
one coordinator-authored Question that
|
|
51
|
+
parks/resumes XState-owned lifecycles without model compute. Its only
|
|
52
|
+
settlement re-reads the exact Terminal and fails closed; it creates no Worker,
|
|
53
|
+
lease, model turn, Gate, automation, provider, or execution authority. The
|
|
54
|
+
local-v1 orchestration family is a blocked, release-disabled source candidate.
|
|
55
|
+
The macOS source candidate owns one fixed-login-shell PTY through the exact
|
|
56
|
+
`local_user_interactive_terminal` compatibility tier. Its exact 13 active
|
|
57
|
+
public methods are create/list/show/events/read, controller request/show/acquire/release,
|
|
58
|
+
input write, resize/signal/close. Observer attach/check/detach/resync,
|
|
59
|
+
controller renew, restart, delete, and reconcile remain unavailable or inert.
|
|
60
|
+
The SDK, CLI, authenticated IPC, SQLite, and native-host path is proven at the
|
|
61
|
+
real built boundary, but this remains a blocked, release-disabled source
|
|
62
|
+
candidate rather than release-qualified product behavior. It supplies no
|
|
63
|
+
arbitrary executable, caller argv/environment/cwd, model, runtime, plugin,
|
|
64
|
+
worker, or remote authority. Schema v6 atomically records session-start intent,
|
|
65
|
+
receipt, event,
|
|
66
|
+
queued activation, and the bounded turn ledger before external work. A
|
|
67
|
+
bounded Effect/FiberSet supervisor then drives the XState lifecycle through
|
|
68
|
+
exact-version Codex `thread/start`, followed by a non-token-consuming `thread/name/set`
|
|
69
|
+
acknowledgement that materializes even an empty thread; restart resumes only the
|
|
70
|
+
stored native thread. The registered repository and Git-common-directory
|
|
71
|
+
physical identities are revalidated before each launch. An uncertain
|
|
72
|
+
launch fails closed without replay. At readiness the node atomically publishes a
|
|
73
|
+
private, token-free connection descriptor consumed by `@maiaos/sdk/node` and
|
|
74
|
+
`maia status`. It opens no TCP listener. Configuration CLI/migration
|
|
75
|
+
operations, structured Session attachments, terminal observer fanout,
|
|
76
|
+
background installation, and remote access remain later milestones.
|
|
77
|
+
Client multi-node registration/switching, organization-node creation,
|
|
78
|
+
transactional node bootstrap, one-time remote pairing, and forget/destroy
|
|
79
|
+
lifecycles are also unimplemented. The source implements the Client-principal
|
|
80
|
+
`context.show` Invocation-context candidate over authenticated local IPC
|
|
81
|
+
only. It is release-disabled. The projection uses the authenticated local-user
|
|
82
|
+
actor with `attachmentUsed: false` and performs no Session, Run, or Dispatch
|
|
83
|
+
inference or Invocation-attachment minting. SDK `showCurrentContext` and
|
|
84
|
+
`maia context show --json` consume that same candidate. Authenticated
|
|
85
|
+
Invocation attachments and general current-context resolution remain planned
|
|
86
|
+
and unimplemented. The node will be the sole issuer/resolver: caller-supplied
|
|
87
|
+
IDs, cwd, Git metadata, environment strings, and project files will never
|
|
88
|
+
establish a Client, Session, Run, or Dispatch principal. The node is not a node factory: planned
|
|
89
|
+
local, self-hosted-operator, and managed bootstrap providers allocate one empty
|
|
90
|
+
authority outside the ordinary public protocol, then pair a client only after
|
|
91
|
+
authenticated readiness. See
|
|
92
|
+
[ADR-014](../README.md#adr-014).
|
|
93
|
+
Revision-guarded `turn.send` and
|
|
94
|
+
bounded `turn.show` are
|
|
95
|
+
source-implemented candidates that persist before runtime wake, but they are
|
|
96
|
+
not release-qualified or enabled. Ordinary authenticated control requests for
|
|
97
|
+
either method fail before database or runtime access; only the exact internal
|
|
98
|
+
test authority can reach the retained candidate, and desktop/product
|
|
99
|
+
composition never supplies it. The same identity gate wraps the turn claim and
|
|
100
|
+
pre-dispatch callbacks shared by new Session activation and restart recovery,
|
|
101
|
+
so ordinary composition does not claim or dispatch an already queued turn; the
|
|
102
|
+
turn remains queued. The bounded `runtime.probe` compatibility
|
|
103
|
+
path is an implemented compatibility check. Durable session start/resume is a
|
|
104
|
+
source-implemented candidate, but no Codex consumer is migrated or enabled and
|
|
105
|
+
the path remains blocked and release-disabled; approvals and release-enabled
|
|
106
|
+
model work are not implemented. Both explicit-endpoint and
|
|
107
|
+
discovered SDK paths are tested against the exact built node executable.
|
|
108
|
+
|
|
109
|
+
The node also source-implements the candidate `harness.installed.list`
|
|
110
|
+
application path through authenticated local IPC. It is an ordinary read that
|
|
111
|
+
returns the closed four-item schema-v1 catalog and keeps `selected` and
|
|
112
|
+
`authorized` false. Desktop-node composition builds one scanner layer from an
|
|
113
|
+
immutable startup PATH snapshot and platform; each request only performs the
|
|
114
|
+
bounded filesystem inventory scan. That scoped layer enforces four
|
|
115
|
+
node-lifetime outstanding native filesystem operations across all requests,
|
|
116
|
+
retains two lookups per scan, queues no saturated caller, and holds each slot
|
|
117
|
+
until the actual non-abortable Promise settles after any request timeout or
|
|
118
|
+
disconnect. Saturation returns the fixed redacted four-item indeterminate
|
|
119
|
+
projection immediately and emits bounded count-only telemetry. Shutdown
|
|
120
|
+
reports exact remaining admitted work as cleanup-unavailable and does not wait
|
|
121
|
+
indefinitely. The path does not consult cwd, projects,
|
|
122
|
+
configuration, the database, receipts/events, Codex or version probes, process
|
|
123
|
+
resource authority, caches, or watchers, and it launches no executable. This
|
|
124
|
+
N2 node candidate is not release-qualified or exposed through an implemented
|
|
125
|
+
SDK/CLI surface; S1, C1, and R1 remain separate work. See the
|
|
126
|
+
[harness component](./src/harness/README.md).
|
|
127
|
+
|
|
128
|
+
ADR-009 now owns a release-disabled Pi RPC conversation-only node candidate.
|
|
129
|
+
Pi-specific integration plan/apply/status/remove uses separate schema-v14
|
|
130
|
+
authorization for exact owner kinds `pi-rpc-probe`, `pi-rpc-session`. The probe
|
|
131
|
+
disables automatic retry/compaction and reads only `get_state`. The Session
|
|
132
|
+
owner is workspace-attributed for resource metrics but receives no repository
|
|
133
|
+
authority; it binds one exact node-private Pi 0.84.2 v3 file, resumes without
|
|
134
|
+
replay, admits at most eight outstanding turns total per Session, of which at
|
|
135
|
+
most one may be dispatching or running,
|
|
136
|
+
persists assistant-only completion, and supports interrupt. Startup recovery
|
|
137
|
+
fences uncertain permits before Session reconciliation, and `cleanup_unknown`
|
|
138
|
+
drains all trees on the authorization revision. Tools, extensions, Skills,
|
|
139
|
+
context, approvals, attachments, credentials/providers, repository mutation,
|
|
140
|
+
and execution-provider authority remain denied. The exact built boundary now
|
|
141
|
+
proves two independent Sessions started concurrently through the Maia CLI,
|
|
142
|
+
with distinct Maia/native Session identities, session files, permits, and
|
|
143
|
+
process trees; graceful node restart settles the original trees and resumes
|
|
144
|
+
the same native identities under new permits, and authorization removal settles
|
|
145
|
+
both resumed trees before node shutdown. The proof observes exactly two new
|
|
146
|
+
macOS `pi` process titles and zero new survivors, while recording that Pi
|
|
147
|
+
rewrites its process title so original argv is unavailable through `ps`. Both
|
|
148
|
+
private Pi files retain one header and zero message records, and Maia retains
|
|
149
|
+
zero Turns. This is exact no-model lifecycle evidence only; no model completion,
|
|
150
|
+
provider call, repository authority, release qualification, or product
|
|
151
|
+
enablement is claimed.
|
|
152
|
+
|
|
153
|
+
ADR-009 D2 is source-complete for the exact macOS tiers:
|
|
154
|
+
`ProcessResourceManager` selects `cooperative_multi_pgid` only for official
|
|
155
|
+
Codex and retains `vouched_runtime` only for Git while owning admission,
|
|
156
|
+
registration, and fencing through the native host, XState lifecycle, and Effect
|
|
157
|
+
resources. Git and Codex consumer source already call that neutral manager. H2
|
|
158
|
+
now source-qualifies the exact ordinary Darwin-arm64 composition: layer
|
|
159
|
+
acquisition verifies the embedded sibling helper and fixed system Git identity,
|
|
160
|
+
authenticated `node.status` reports `macos_cooperative` with
|
|
161
|
+
`sourceCandidate: true` and `releaseQualified: false`, exact static
|
|
162
|
+
`git-inspection` requests are admitted, and Codex requires an active private
|
|
163
|
+
authorization plus permit. No public product consumer is release-enabled.
|
|
164
|
+
Schema v11 now source-implements the private SQLite plan, authorization-revision, permit-fence, replay, and
|
|
165
|
+
bounded-rollup storage for the ADR-009 integration gate. Ordinary Darwin
|
|
166
|
+
composition privately binds a current authorization row and revision-fenced
|
|
167
|
+
permit to each Codex process-manager launch. The node now handles the strict
|
|
168
|
+
public plan/apply/status/remove protocol slice: plan resolves and hashes only
|
|
169
|
+
the startup-captured closed-catalog Codex target, apply reopens and revalidates
|
|
170
|
+
it, status emits one bounded display-safe item, and remove first persists
|
|
171
|
+
`revoking` before manager cleanup and preserves `cleanup_unknown`. The exact
|
|
172
|
+
built lifecycle is source-qualified at revision
|
|
173
|
+
`80631fb5c9adeb38ab58b12a7db80647161d5871` through CLI, SDK, authenticated
|
|
174
|
+
IPC, SQLite, restart, hostile replacement, active-tree cleanup, and
|
|
175
|
+
`cleanup_unknown` recovery. E1 now source-qualifies the exact authorized
|
|
176
|
+
`codex-probe` and `codex-session` migration at revision
|
|
177
|
+
`54fb0400793507017c0f3f4c2b11a227f2c180b1`: the source node consumer modules
|
|
178
|
+
running through the exact built helper proved
|
|
179
|
+
PREPARED-before-START, descendant observation, synthetic interruption,
|
|
180
|
+
shutdown/cleanup, revocation races, restart fencing, and default denial without
|
|
181
|
+
a model runtime or model turn. E2 now source-qualifies exact repository
|
|
182
|
+
inspection at revision `c29f1166932a837f7482e2f46bb155b573006bad` through the
|
|
183
|
+
fixed Apple system-Git `vouched_runtime` target, including per-spawn identity
|
|
184
|
+
revalidation, bounded output/deadlines, hostile-root and replacement denial,
|
|
185
|
+
`cleanup_unknown` fencing, and no numeric PID fallback. These slices remain
|
|
186
|
+
release-disabled; product enablement remains planned. Scanner/config/caller
|
|
187
|
+
state does not grant process authority. The exact
|
|
188
|
+
macOS F1 artifact/SBOM/notices/combined-size
|
|
189
|
+
evidence is complete, while its manifest remains `releaseQualified: false`.
|
|
190
|
+
The current G2 record is phase-qualified only for source revision
|
|
191
|
+
`e7f784b4aa567d19311235d729b047f96c9dfc7c` and its bound
|
|
192
|
+
application/helper pair; prior records remain unchanged and qualify only their
|
|
193
|
+
exact identities. The current-source authorized one-turn real-Codex lifecycle
|
|
194
|
+
is source-qualified at revision `d85d059ce7db15fd054fa5752414c9542496fb61`:
|
|
195
|
+
the official artifact completed one model turn through the exact source-built
|
|
196
|
+
test entries, durable authorization and runtime binding survived restart,
|
|
197
|
+
duplicate receipt/event identity remained stable, no known process survived,
|
|
198
|
+
and the unrelated sentinel remained. The harness retains no prompt, response,
|
|
199
|
+
credentials, account configuration, or raw logs. The bounded repository
|
|
200
|
+
coding-task gate is separately source-qualified at revision
|
|
201
|
+
`8f590e8865289b1d43deb6a6ddd2bb3c67e5b242`: one private test-only
|
|
202
|
+
`workspace-write` turn produced the exact 21-byte requested file and clean
|
|
203
|
+
system-Git diff, recovered a lost mutation response, preserved duplicate
|
|
204
|
+
receipt/event and runtime-binding identity across restart, exposed bounded SDK
|
|
205
|
+
CPU/RSS/peak-RSS/process/FD/I/O accounting, cleaned both observed process trees,
|
|
206
|
+
and preserved the sentinel. The active-node-crash subcase remains blocked on
|
|
207
|
+
unavailable strong containment. A1 npm package/install evidence remains open;
|
|
208
|
+
app/DMG qualification is later.
|
|
209
|
+
|
|
210
|
+
The node now projects compact process-resource developer health through
|
|
211
|
+
authenticated `node.status`: active/tracked trees, watcher fibers, immediate
|
|
212
|
+
non-queued admission usage/headroom, fenced and cleanup-unknown counts,
|
|
213
|
+
capability/pressure truth, and one bounded operator next step. On the H2-qualified exact Darwin-arm64 composition, this projection is
|
|
214
|
+
`macos_cooperative` with `sourceCandidate: true`, host-sampled metrics, no hard
|
|
215
|
+
CPU/memory/process-limit claim, no observed-pressure auto-termination, and
|
|
216
|
+
`releaseQualified: false`. Its atomic bounded accounting snapshot also
|
|
217
|
+
projects latest-target CPU, RSS/peak RSS, process, FD, and I/O availability;
|
|
218
|
+
declared-limit crossings are inspect-only warnings. Cleanup uncertainty retains the affected permit
|
|
219
|
+
and degrades admission; it never triggers raw PID/PGID signalling. This status
|
|
220
|
+
slice does not migrate or enable a process consumer.
|
|
221
|
+
|
|
222
|
+
The implemented Codex probe is a compatibility check, not an authentication or
|
|
223
|
+
model-readiness check. It validates the App Server-reported exact version,
|
|
224
|
+
completes initialize/initialized, and confirms protocol consumption through
|
|
225
|
+
read-only `account/read` with token refresh disabled; account identity is
|
|
226
|
+
discarded. Production probing is enabled on macOS and Linux. Windows returns
|
|
227
|
+
`platform_unsupported` until lifetime process-tree ownership is qualified.
|
|
228
|
+
|
|
229
|
+
Node 24.19.0 is the sole supported JavaScript runtime and reference runtime.
|
|
230
|
+
|
|
231
|
+
Device endpoints are a separate planned node capability surface, not Workers,
|
|
232
|
+
terminals, or execution instances. No registry, grant mailbox, invocation
|
|
233
|
+
receipt, or native device adapter is implemented; see
|
|
234
|
+
[Device capabilities](../README.md#device-capabilities).
|
|
235
|
+
|
|
236
|
+
ADR-015 also accepts a later node-owned Notebook aggregate and Public operation
|
|
237
|
+
catalog projection. The node will own Space identity, one-Session controller
|
|
238
|
+
binding, control/fencing epochs, cell commands and Receipts, portable variable
|
|
239
|
+
and checkpoint heads, retention, handoff planning, restart recovery, and
|
|
240
|
+
authorization. It will not evaluate TypeScript. A separate Node 24.19.0 Runtime
|
|
241
|
+
process inside a hard-contained ExecutionInstance owns live cell evaluation and
|
|
242
|
+
receives only a revocable Session Invocation attachment plus an SDK-conformant
|
|
243
|
+
operation bridge.
|
|
244
|
+
|
|
245
|
+
This package currently contains no Notebook migration, record, handler,
|
|
246
|
+
protocol method, catalog handler, kernel supervisor, or bridge. The A3 node
|
|
247
|
+
slice may add catalog and non-executing Notebook persistence/projections, but
|
|
248
|
+
execution must return unavailable until A6/W3 hard containment passes. The
|
|
249
|
+
current cooperative macOS process tier is ineligible and cannot be used as a
|
|
250
|
+
fallback. See the [canonical contract](../README.md#execution--portable-notebooks)
|
|
251
|
+
and [ADR-015](../README.md#adr-015).
|
|
252
|
+
|
|
253
|
+
## Is this like Orca Server?
|
|
254
|
+
|
|
255
|
+
Yes at the process boundary, but not as a copy of its implementation.
|
|
256
|
+
|
|
257
|
+
Maia adopts the useful server shape: one standalone headless process owns
|
|
258
|
+
durable product state and can eventually serve desktop, CLI, mobile, web, and
|
|
259
|
+
automation clients. The first Maia delivery is narrower than a general server:
|
|
260
|
+
|
|
261
|
+
| Property | First Maia node | Later Maia node |
|
|
262
|
+
| ---------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- |
|
|
263
|
+
| Lifecycle | Started and stopped by Maia Desktop | OS user service, self-hosted server, or managed service |
|
|
264
|
+
| Transport | User-owned Unix socket or user-scoped Windows named pipe | The same local IPC plus authenticated TLS/WSS when explicitly enabled |
|
|
265
|
+
| Authority | Single local user; lifecycle and durable local storage | Personal or managed authority through the same public contracts |
|
|
266
|
+
| Runtime | Codex probe/internal turn evidence; release-disabled Pi no-model Session/Turn candidate | Qualified credentials/model turns/attachments, then ACP, Hermes, OpenClaw, and other adapters |
|
|
267
|
+
| Execution | Local-only; no hosted provider dependency | Trusted broker plus provider-neutral local, self-hosted, and hosted workers/sandboxes |
|
|
268
|
+
| Network exposure | None; no TCP listener | Pairing, identity, revocation, policy, TLS, and recovery are prerequisites |
|
|
269
|
+
|
|
270
|
+
The node never depends on Electron, a virtual display, or an open desktop
|
|
271
|
+
window. Tauri supervises the first mode, but it does not become the authority.
|
|
272
|
+
|
|
273
|
+
## Implemented command surface
|
|
274
|
+
|
|
275
|
+
```sh
|
|
276
|
+
pnpm turbo run build --filter=@maiaos/node
|
|
277
|
+
node services/node/dist/bin/maia-node.mjs --help
|
|
278
|
+
node services/node/dist/bin/maia-node.mjs --json --version
|
|
279
|
+
node services/node/dist/bin/maia-node.mjs --desktop --json
|
|
280
|
+
```
|
|
281
|
+
|
|
282
|
+
The desktop command stays attached until an authenticated shutdown request or
|
|
283
|
+
process signal interrupts its Effect scope. Standard output is reserved for one
|
|
284
|
+
LF-terminated readiness record; structured diagnostics use standard error and
|
|
285
|
+
the private per-profile observability file. `maia-node --background` and
|
|
286
|
+
`maia-node serve` remain rejected.
|
|
287
|
+
|
|
288
|
+
## Storage and migrations
|
|
289
|
+
|
|
290
|
+
The node—not the CLI or a client—owns one private SQLite database per profile.
|
|
291
|
+
Startup acquires the profile lock, verifies file ownership/type/link count and
|
|
292
|
+
database integrity, and then performs automatic forward-only migrations.
|
|
293
|
+
Three values must agree:
|
|
294
|
+
|
|
295
|
+
- SQLite `PRAGMA user_version`, the ordered machine version;
|
|
296
|
+
- immutable migration history containing version, name, SHA-256 checksum, and
|
|
297
|
+
application time;
|
|
298
|
+
- `maia.node-storage/vN`, the readable compatibility tag surfaced by
|
|
299
|
+
`node.status`.
|
|
300
|
+
|
|
301
|
+
Every existing database is checkpointed and copied to a bounded private backup
|
|
302
|
+
before migration. The complete pending batch—including migration
|
|
303
|
+
infrastructure and every SQL/history/tag/version update—commits in one immediate
|
|
304
|
+
transaction. An intermediate failure rolls back the whole pending batch. A
|
|
305
|
+
newer schema, downgrade attempt, altered checksum, missing history, mismatched
|
|
306
|
+
tag, failed integrity check, foreign application identifier, unsafe file, or
|
|
307
|
+
failed backup stops startup. There is no automatic downgrade. See
|
|
308
|
+
[ADR-007](../README.md#adr-007).
|
|
309
|
+
|
|
310
|
+
## File configuration
|
|
311
|
+
|
|
312
|
+
`NodeConfiguration` resolves the canonical private user root and one registered
|
|
313
|
+
project overlay with deterministic include/profile precedence and per-pointer
|
|
314
|
+
provenance. User edits use an expected SHA-256 digest, a stale-recoverable
|
|
315
|
+
cross-process write lease, exclusive `0600` sibling files, fsync, atomic
|
|
316
|
+
replacement, verified read-back, and content-addressed backups. Restore runs
|
|
317
|
+
through the same write transaction and therefore remains reversible. Backup
|
|
318
|
+
retention is bounded to 20 revisions and 10 MiB; an unsafe, conflicting, or
|
|
319
|
+
uncertain recovery state fails closed.
|
|
320
|
+
|
|
321
|
+
The filesystem implementation deliberately retains Node-native open/stat/sync
|
|
322
|
+
calls inside named Effect boundaries: Effect v4 `FileSystem.open` does not expose
|
|
323
|
+
the `O_NOFOLLOW`, inode/link-count, or directory-fsync controls required at this
|
|
324
|
+
authority boundary. Effect still owns the service, typed failure channel,
|
|
325
|
+
resource bracket, uninterruptible commit region, time, and traces.
|
|
326
|
+
|
|
327
|
+
## Runtime architecture rule
|
|
328
|
+
|
|
329
|
+
Maia standardizes on complementary tools for non-trivial orchestration:
|
|
330
|
+
|
|
331
|
+
- **Effect** owns typed services, resource scopes, failures, cancellation,
|
|
332
|
+
retries, timeouts, dependency injection, and observability.
|
|
333
|
+
- **XState** owns explicit long-lived state topology and legal transitions for
|
|
334
|
+
node, connection, session, runtime, approval, synchronization, and deployment
|
|
335
|
+
lifecycles.
|
|
336
|
+
- XState actions and actors call Effect-owned services at effectful boundaries.
|
|
337
|
+
State machines do not become an alternative service container, and Effect
|
|
338
|
+
programs do not hide an important lifecycle in ad hoc booleans.
|
|
339
|
+
|
|
340
|
+
The help/version parser remains pure. The desktop lifecycle uses the exact
|
|
341
|
+
pinned Effect v4 prerelease, `@effect/platform-node-shared/NodeRuntime`, and
|
|
342
|
+
XState v5. See
|
|
343
|
+
[ADR-003](../README.md#adr-003).
|
|
344
|
+
Provider-neutral worker/sandbox ownership and the local-first sequence are in
|
|
345
|
+
[the execution specification](../README.md#execution) and
|
|
346
|
+
[ADR-004](../README.md#adr-004).
|
|
347
|
+
|
|
348
|
+
## Development
|
|
349
|
+
|
|
350
|
+
```sh
|
|
351
|
+
pnpm turbo run lint --filter=@maiaos/node
|
|
352
|
+
pnpm turbo run typecheck --filter=@maiaos/node
|
|
353
|
+
pnpm turbo run test --filter=@maiaos/node
|
|
354
|
+
pnpm --filter @maiaos/node test:fresh
|
|
355
|
+
pnpm --filter @maiaos/node test:integration-authorization
|
|
356
|
+
MAIA_REAL_PI_RPC_EVIDENCE=1 pnpm --filter @maiaos/node exec vitest run --maxWorkers=1 src/harness/pi-rpc/product-boundary.integration.test.ts # installed Pi; zero model turns
|
|
357
|
+
pnpm --filter @maiaos/node test:real-codex # explicit digest/version/path; one model turn
|
|
358
|
+
pnpm --filter @maiaos/node test:real-codex-coding # exact bounded coding proof; one model turn
|
|
359
|
+
pnpm --filter @maiaos/node test:startup-budget
|
|
360
|
+
pnpm --filter @maiaos/node test:configuration-budget
|
|
361
|
+
pnpm --filter @maiaos/node test:orchestration-budget
|
|
362
|
+
pnpm turbo run build --filter=@maiaos/node
|
|
363
|
+
```
|
|
364
|
+
|
|
365
|
+
The gated Pi command requires the exact installed Node 24.19.0 and Pi 0.84.2
|
|
366
|
+
artifacts plus a current built CLI/node. It creates a private temporary Git
|
|
367
|
+
repository only to satisfy Project/Workspace registration, grants the runtime
|
|
368
|
+
no repository path authority, sends no prompt, performs no provider call, and
|
|
369
|
+
consumes no model turn. `test:real-codex` and `test:real-codex-coding` require
|
|
370
|
+
explicit `MAIA_REAL_CODEX_EXECUTABLE`, `MAIA_REAL_CODEX_SHA256`, and
|
|
371
|
+
`MAIA_REAL_CODEX_VERSION` inputs. Each consumes one model turn; run either only
|
|
372
|
+
for its authorized exact-revision evidence gate. The coding command exercises
|
|
373
|
+
private test authority only and does not enable product `workspace-write`.
|
|
374
|
+
|
|
375
|
+
Turbo's focused tasks preserve the dependency-ordered build graph. Its `test`
|
|
376
|
+
task consumes the node build without mutating shared build output. Use
|
|
377
|
+
`test:fresh` when invoking this package directly; it serializes a complete
|
|
378
|
+
dependency build before Vitest. TypeScript emits modular
|
|
379
|
+
library/types output, while the executable is bundled, tree-shaken, and
|
|
380
|
+
minified across whitespace, syntax, and identifiers. It remains linked to an
|
|
381
|
+
external source map and is accompanied by bundle metadata, exact-input
|
|
382
|
+
third-party notices, and a
|
|
383
|
+
CycloneDX 1.6 SBOM tied to its SHA-256 digest. Its version is embedded during
|
|
384
|
+
the build, and a staged-artifact test runs the copied `.mjs` without package
|
|
385
|
+
metadata or dependencies. The test suite launches that exact release binary
|
|
386
|
+
over real Unix sockets or Windows named pipes. It covers readiness, status,
|
|
387
|
+
shutdown, eight-way stale-lock
|
|
388
|
+
contention, mixed live/stale owners, bounded prepared-claim recovery,
|
|
389
|
+
owner-read and rename races, authentication, malformed/byte-chunked/
|
|
390
|
+
oversized/slow frames, connection saturation, permissions, signal cleanup,
|
|
391
|
+
forced drain, deterministic post-acquisition startup cancellation, hard-crash
|
|
392
|
+
recovery, a physically blocked telemetry writer with fail-closed successor
|
|
393
|
+
denial, single-writer trace hierarchy, timestamped metrics, and local
|
|
394
|
+
observability. The built session suite also proves transactionally durable
|
|
395
|
+
activation intent, exact Codex thread identity, restart resume, no replay after
|
|
396
|
+
an unknown launch outcome, migration-v6 crash rollback, and bounded activation
|
|
397
|
+
trace/metric emission. The built local-v1 orchestration suite crosses the
|
|
398
|
+
actual CLI/SDK/socket/node/SQLite boundary, kills and restarts the node before
|
|
399
|
+
acknowledgement, proves redelivery, individual ack, Question park/resume and
|
|
400
|
+
reply/cancel fencing, duplicate unavailable-Terminal settlement, and a second
|
|
401
|
+
restart with exact DAG projection. Its optional budget writes 30 exact-artifact
|
|
402
|
+
SDK check/ack and built CLI samples to
|
|
403
|
+
`.artifacts/benchmarks/orchestration-local-v1.json`; the local candidate result
|
|
404
|
+
and footprint decision are in the
|
|
405
|
+
[benchmark ledger](../README.md#benchmarks--local-v1-orchestration-candidate).
|
|
406
|
+
Successful startup records bounded per-phase histograms and one
|
|
407
|
+
structured phase ledger for profile paths, profile lock, the Effect-owned
|
|
408
|
+
built-in SQLite runtime load, observability, database, credential, local server,
|
|
409
|
+
and readiness publication. The SQLite runtime load performs no profile access,
|
|
410
|
+
overlaps lock acquisition, and is joined before database open. A missed
|
|
411
|
+
physical-drain deadline retains the exact profile claim
|
|
412
|
+
until dead-PID recovery instead of admitting an overlapping writer. The Linux
|
|
413
|
+
built-process suite explicitly opts into an exact-allowlist cooperative test
|
|
414
|
+
fixture for Git and Codex drivers. That fixture is independently revoked
|
|
415
|
+
outside test mode, does not enable a product compatibility tier, and provides
|
|
416
|
+
no Linux containment or release evidence; production remains fail-closed until
|
|
417
|
+
the ADR-009 cgroup/namespace host is qualified. The
|
|
418
|
+
optional budget command enforces 1.25 MiB node and 256 KiB CLI executable
|
|
419
|
+
ceilings, and measures 30
|
|
420
|
+
bootstrap processes, 30 isolated process starts through SDK-authenticated
|
|
421
|
+
status, the corresponding 30 built `maia status --json` processes, and 30 SDK
|
|
422
|
+
status round trips. It records every sample plus p50/p95/maximum and enforces
|
|
423
|
+
respective p95 ceilings of 250, 200, 150, and 150 milliseconds. Before asserting
|
|
424
|
+
those budgets, the test writes raw
|
|
425
|
+
samples, stage summaries, host/runtime/OS/hardware identity, host-load
|
|
426
|
+
context, a pass/fail verdict, the non-retroactive rerun policy, and both
|
|
427
|
+
executable digests to
|
|
428
|
+
`.artifacts/benchmarks/node-startup.json`. A later run archives the previous
|
|
429
|
+
artifact into `.artifacts/benchmarks/node-startup-history/` through an
|
|
430
|
+
exclusive, descriptor-bound, digest-verified transaction. Only ENOENT means
|
|
431
|
+
the live artifact is absent; observation failures, symlinks, unsafe modes,
|
|
432
|
+
wrong owners, and extra hard links fail closed and retain the live file.
|
|
433
|
+
History names include the content digest and are created with `O_EXCL`, so an
|
|
434
|
+
existing history file is never overwritten. Pruning keeps at most eight
|
|
435
|
+
validated owned regular history files and ignores unrelated JSON and symlink
|
|
436
|
+
entries. An unexplained hard-gate failure remains a failure; a later
|
|
437
|
+
local-unqualified retry does not reclassify it, and reference acceptance
|
|
438
|
+
requires a newly qualified run on the documented `macos-15` arm64 class with
|
|
439
|
+
observed host load. Host load uses `os.loadavg()` on Darwin and Linux; other
|
|
440
|
+
platforms record `unavailable` rather than fabricating zeroes, and missing
|
|
441
|
+
load identity cannot qualify the reference class. The 2026-08-14 local built
|
|
442
|
+
gate recorded authenticated-readiness p95 `219.303875 ms` against the
|
|
443
|
+
unchanged 200 ms ceiling. Later local-unqualified observations at
|
|
444
|
+
`111.49 ms` and `102.58 ms` remain diagnostic only and do not erase that
|
|
445
|
+
failed sample. CI retains that exact-revision JSON
|
|
446
|
+
for 14 days. The CI authority is the consolidated standard `macos-15` arm64 M1
|
|
447
|
+
reference lane (three CPUs, 7 GB RAM, 14 GB SSD), which records and validates
|
|
448
|
+
its runner class, image/version, OS release, CPU, memory, run URL/attempt, Node,
|
|
449
|
+
commit, and artifacts before enforcing the unchanged ceilings. It qualifies
|
|
450
|
+
that macOS class only; Linux and Windows lifecycle lanes are compatibility
|
|
451
|
+
evidence. The settled alpha coordinator snapshot records 55 node test files,
|
|
452
|
+
351 passed and 5 skipped node tests, 33 passed CLI tests, and a green full
|
|
453
|
+
repository `pnpm check` under Node 24.19.0. Its 555,547-byte node artifact has
|
|
454
|
+
SHA-256
|
|
455
|
+
`d63e33ba61b7c71f78d73bd70cd9297d3ca9aa70599e6dd373792ab3643ef8cc`.
|
|
456
|
+
The current phase-qualified, attempt-specific H2 G2 record binds source
|
|
457
|
+
revision `e7f784b4aa567d19311235d729b047f96c9dfc7c` to Node v24.19.0, the
|
|
458
|
+
1,051,808-byte node artifact with SHA-256
|
|
459
|
+
`6e1170baf36dbadbe05bc49911458eff120dd0fe4eba3707683b6ca02ef0641b`, and
|
|
460
|
+
the 55,360-byte helper with SHA-256
|
|
461
|
+
`81a4c238344c6657a931c759071027ec57cce963143c11bf361fadd35ac57bce`.
|
|
462
|
+
Attempt `e9d2e7ee-2bc8-4a96-9258-ea2e8bab3412` ran for 3,600,044 ms across
|
|
463
|
+
100 trees, recorded 359,714 sampling observations, ended with 100 clean
|
|
464
|
+
outcomes and all 300 recorded PIDs absent, preserved the unrelated sentinel,
|
|
465
|
+
recorded a 91 ms sampling p99 and 6,094,848-byte RSS delta, returned to a
|
|
466
|
+
zero-byte after-cleanup RSS delta, and observed no monotonic memory growth. Its
|
|
467
|
+
10-file verified local archive is
|
|
468
|
+
`.artifacts/benchmarks/darwin-g2-e7f784b-e9d2e7ee-2bc8-4a96-9258-ea2e8bab3412`.
|
|
469
|
+
The prior `653c917e...` and older historical records remain unchanged. Each
|
|
470
|
+
qualifies G2 only for its exact artifact set and enables no consumer. A new G2
|
|
471
|
+
runner invocation now creates an exclusive, exact-attempt pending marker before
|
|
472
|
+
fixture work. Completion durably writes an immutable attempt-named record before
|
|
473
|
+
removing the marker; observed interrupted, concurrent, malformed, symlinked,
|
|
474
|
+
foreign, or ancestor-redirected state therefore fails verification without
|
|
475
|
+
replacing an older retained record. Retention is capped at two immutable records
|
|
476
|
+
per soak duration, and the official command's clean build starts from zero. An
|
|
477
|
+
interrupted attempt remains unqualified and requires explicit process
|
|
478
|
+
reconciliation plus a clean rebuild before retry. This evidence path assumes the
|
|
479
|
+
required controlled, single-user qualification host; malicious concurrent
|
|
480
|
+
same-account directory renames are outside that host trust boundary and cannot
|
|
481
|
+
be closed by Node's path APIs without a native directory-handle operation. The retained seven-file H2/F1 root manifest binds 3,054,114 bytes and remains
|
|
482
|
+
`releaseQualified: false` with the five exact historical macOS identifiers in
|
|
483
|
+
[the benchmark ledger](../README.md#benchmarks--current-f1-manifest-state).
|
|
484
|
+
Those app/DMG-oriented deficits are not the A1 headless install gate. Current
|
|
485
|
+
source prepares `@maiaos/node` for bounded pnpm packing and preserves the
|
|
486
|
+
internal Darwin helper's executable mode without exposing it as a public bin.
|
|
487
|
+
The local-artifact gate now fails closed unless the source-verified native
|
|
488
|
+
release entry, exact source revision, helper and build-metadata bytes, SHA-256,
|
|
489
|
+
and packed modes agree; it records that identity while retaining
|
|
490
|
+
`missing_release_signature`. This is source preparation only: exact revised
|
|
491
|
+
`0.1.0` tarball closure, signature, integrity/provenance, and clean-host npm
|
|
492
|
+
evidence remain open. The earlier 2026-08-10 Apple M4 Pro/repository-pinned Node 24.19.0
|
|
493
|
+
project/workspace/session-activation plus runtime-probe, startup-overlap, and
|
|
494
|
+
standalone-minification run measured a 513,237-byte node, a 143,119-byte
|
|
495
|
+
standalone CLI, and p95 values of 65.61 ms bootstrap, 85.07 ms authenticated
|
|
496
|
+
readiness, 62.86 ms built `maia status --json`, and 1.80 ms SDK status. These
|
|
497
|
+
are local diagnostics, not cross-platform qualification.
|
|
498
|
+
An Effect-scoped 90-second supervisor owns the benchmark process tree and
|
|
499
|
+
force-terminates every descendant if the deadline wins; the real
|
|
500
|
+
failure-injection test proves no child survives.
|
|
501
|
+
The configuration suite uses real files and independent Node processes for
|
|
502
|
+
conflict, replacement, rollback, restore, retention, permission, symbolic-link,
|
|
503
|
+
hard-link, and interrupted-artifact cases. Its optional 30-write, 4 KiB durable
|
|
504
|
+
benchmark enforces a 50 ms local p95; the 2026-08-09 macOS reference run measured
|
|
505
|
+
36.76 ms p95 with every raw sample emitted by the test. This is a local
|
|
506
|
+
reference-host diagnostic, not cross-platform release qualification.
|
|
507
|
+
|
|
508
|
+
```bash
|
|
509
|
+
pnpm --filter @maiaos/node test:configuration-budget
|
|
510
|
+
pnpm test:resource-diagnostic
|
|
511
|
+
```
|
|
512
|
+
|
|
513
|
+
The delivery sequence and gates live in [ROADMAP.md](../README.md#node-roadmap). The system
|
|
514
|
+
boundary is retained by [ADR-001](../README.md#adr-001),
|
|
515
|
+
while product order and logical-node authority are owned by
|
|
516
|
+
[ADR-011](../README.md#adr-011)
|
|
517
|
+
and the [canonical roadmap](../../ROADMAP.md).
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { ExecutionCatalogGetResult, LocalNodeStatusResult, OrchestrationDispatchShowResult, OrchestrationRunListResult, OrchestrationTaskListResult, ProjectListResult, SessionListResult, WorkspaceExecutionShowResult, WorkspaceListResult } from "@maiaos/protocol";
|
|
2
|
+
import { Effect } from "effect";
|
|
3
|
+
import { type NodeRuntimeError } from "../runtime/errors.js";
|
|
4
|
+
import type { AdminMonitorSnapshotReader } from "./projection.js";
|
|
5
|
+
type Read<T> = () => Effect.Effect<T, NodeRuntimeError>;
|
|
6
|
+
type ReadById<T> = (id: string) => Effect.Effect<T, NodeRuntimeError>;
|
|
7
|
+
export type AdminMonitorApplicationReads = {
|
|
8
|
+
readonly catalog: Read<ExecutionCatalogGetResult>;
|
|
9
|
+
readonly dispatch: ReadById<OrchestrationDispatchShowResult>;
|
|
10
|
+
readonly execution: ReadById<WorkspaceExecutionShowResult>;
|
|
11
|
+
readonly projects: Read<ProjectListResult>;
|
|
12
|
+
readonly runs: ReadById<OrchestrationRunListResult>;
|
|
13
|
+
readonly sessions: ReadById<SessionListResult>;
|
|
14
|
+
readonly status: Read<LocalNodeStatusResult>;
|
|
15
|
+
readonly tasks: ReadById<OrchestrationTaskListResult>;
|
|
16
|
+
readonly workspaces: ReadById<WorkspaceListResult>;
|
|
17
|
+
};
|
|
18
|
+
export declare const makeAdminMonitorSnapshotReader: (reads: AdminMonitorApplicationReads) => AdminMonitorSnapshotReader;
|
|
19
|
+
export declare const adminMonitorReadLimits: {
|
|
20
|
+
readonly childPage: 8;
|
|
21
|
+
readonly projects: 8;
|
|
22
|
+
readonly runPage: 4;
|
|
23
|
+
readonly taskPage: 4;
|
|
24
|
+
readonly total: 12;
|
|
25
|
+
};
|
|
26
|
+
export {};
|
|
27
|
+
//# sourceMappingURL=application-projection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"application-projection.d.ts","sourceRoot":"","sources":["../../src/admin-monitor/application-projection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,yBAAyB,EACzB,qBAAqB,EACrB,+BAA+B,EAC/B,0BAA0B,EAC1B,2BAA2B,EAC3B,iBAAiB,EACjB,iBAAiB,EACjB,4BAA4B,EAC5B,mBAAmB,EACpB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhC,OAAO,EAEL,KAAK,gBAAgB,EACtB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,iBAAiB,CAAC;AAalE,KAAK,IAAI,CAAC,CAAC,IAAI,MAAM,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,gBAAgB,CAAC,CAAC;AACxD,KAAK,QAAQ,CAAC,CAAC,IAAI,CAAC,EAAE,EAAE,MAAM,KAAK,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,gBAAgB,CAAC,CAAC;AACtE,MAAM,MAAM,4BAA4B,GAAG;IACzC,QAAQ,CAAC,OAAO,EAAE,IAAI,CAAC,yBAAyB,CAAC,CAAC;IAClD,QAAQ,CAAC,QAAQ,EAAE,QAAQ,CAAC,+BAA+B,CAAC,CAAC;IAC7D,QAAQ,CAAC,SAAS,EAAE,QAAQ,CAAC,4BAA4B,CAAC,CAAC;IAC3D,QAAQ,CAAC,QAAQ,EAAE,IAAI,CAAC,iBAAiB,CAAC,CAAC;IAC3C,QAAQ,CAAC,IAAI,EAAE,QAAQ,CAAC,0BAA0B,CAAC,CAAC;IACpD,QAAQ,CAAC,QAAQ,EAAE,QAAQ,CAAC,iBAAiB,CAAC,CAAC;IAC/C,QAAQ,CAAC,MAAM,EAAE,IAAI,CAAC,qBAAqB,CAAC,CAAC;IAC7C,QAAQ,CAAC,KAAK,EAAE,QAAQ,CAAC,2BAA2B,CAAC,CAAC;IACtD,QAAQ,CAAC,UAAU,EAAE,QAAQ,CAAC,mBAAmB,CAAC,CAAC;CACpD,CAAC;AAucF,eAAO,MAAM,8BAA8B,GACxC,OAAO,4BAA4B,KAAG,0BAElB,CAAC;AAExB,eAAO,MAAM,sBAAsB;;;;;;CAMzB,CAAC"}
|