@pleri/olam-cli 0.1.201 → 0.1.205
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 +102 -169
- package/dist/agent-stream/agent-sdk-to-chunks.js +1 -1
- package/dist/agent-stream/driver-runner.js +73 -7
- package/dist/agent-stream/host-driver-launch.js +14 -1
- package/dist/agent-stream/prototype-gen-launch.js +113 -0
- package/dist/agent-stream/question-broker-bridge.js +335 -0
- package/dist/agent-stream/sdk-env-merge.demo.js +35 -0
- package/dist/agent-stream/sdk-env-merge.js +98 -0
- package/dist/image-digests.json +8 -8
- package/dist/index.js +9533 -6258
- package/dist/index.js.map +1 -1
- package/dist/mcp-server.js +24721 -12934
- package/hermes-bundle/version.json +1 -1
- package/hooks/__tests__/_loader.py +26 -0
- package/hooks/__tests__/prompts.py +63 -0
- package/hooks/__tests__/test_classify_bench.py +94 -0
- package/hooks/__tests__/test_classify_pins.py +78 -0
- package/hooks/model-router.py +17 -4
- package/host-cp/k8s/manifests/50-deployment.yaml +1 -1
- package/host-cp/k8s/manifests/auth-service/50-deployment.yaml +1 -1
- package/host-cp/k8s/manifests/kg-service/50-deployment.yaml +1 -1
- package/host-cp/k8s/manifests/mcp-auth-service/50-deployment.yaml +1 -1
- package/host-cp/k8s/manifests/memory-service/50-deployment.yaml +1 -1
- package/host-cp/src/op-side-longpoll.mjs +212 -0
- package/host-cp/src/plan-chat-proxy-headers.mjs +53 -0
- package/host-cp/src/plan-chat-service.mjs +100 -0
- package/host-cp/src/plan-orchestrator.mjs +100 -6
- package/host-cp/src/server.mjs +607 -45
- package/memory-hooks/agentmemory-classify-queue.mjs +363 -0
- package/memory-hooks/agentmemory-recall-trigger.mjs +233 -0
- package/memory-hooks/agentmemory-reflect-cite.mjs +332 -0
- package/memory-hooks/agentmemory-session-recall.js +332 -0
- package/memory-hooks/recall-log.mjs +185 -0
- package/package.json +9 -4
- package/dist/ask/checkout.d.ts +0 -19
- package/dist/ask/checkout.d.ts.map +0 -1
- package/dist/ask/checkout.js +0 -40
- package/dist/ask/checkout.js.map +0 -1
- package/dist/ask/knowledge-pack-builder.d.ts +0 -72
- package/dist/ask/knowledge-pack-builder.d.ts.map +0 -1
- package/dist/ask/knowledge-pack-builder.js +0 -96
- package/dist/ask/knowledge-pack-builder.js.map +0 -1
- package/dist/ask/knowledge-pack.generated.d.ts +0 -8
- package/dist/ask/knowledge-pack.generated.d.ts.map +0 -1
- package/dist/ask/knowledge-pack.generated.js +0 -2362
- package/dist/ask/knowledge-pack.generated.js.map +0 -1
- package/dist/ask/one-shot.d.ts +0 -21
- package/dist/ask/one-shot.d.ts.map +0 -1
- package/dist/ask/one-shot.js +0 -50
- package/dist/ask/one-shot.js.map +0 -1
- package/dist/ask/repl.d.ts +0 -30
- package/dist/ask/repl.d.ts.map +0 -1
- package/dist/ask/repl.js +0 -109
- package/dist/ask/repl.js.map +0 -1
- package/dist/ask/sdk-client.d.ts +0 -87
- package/dist/ask/sdk-client.d.ts.map +0 -1
- package/dist/ask/sdk-client.js +0 -118
- package/dist/ask/sdk-client.js.map +0 -1
- package/dist/ask/system-prompt.d.ts +0 -30
- package/dist/ask/system-prompt.d.ts.map +0 -1
- package/dist/ask/system-prompt.js +0 -31
- package/dist/ask/system-prompt.js.map +0 -1
- package/dist/cli-version.d.ts +0 -16
- package/dist/cli-version.d.ts.map +0 -1
- package/dist/cli-version.js +0 -39
- package/dist/cli-version.js.map +0 -1
- package/dist/commands/ask.d.ts +0 -27
- package/dist/commands/ask.d.ts.map +0 -1
- package/dist/commands/ask.js +0 -63
- package/dist/commands/ask.js.map +0 -1
- package/dist/commands/auth-list-json.d.ts +0 -87
- package/dist/commands/auth-list-json.d.ts.map +0 -1
- package/dist/commands/auth-list-json.js +0 -71
- package/dist/commands/auth-list-json.js.map +0 -1
- package/dist/commands/auth-migrate.d.ts +0 -212
- package/dist/commands/auth-migrate.d.ts.map +0 -1
- package/dist/commands/auth-migrate.js +0 -465
- package/dist/commands/auth-migrate.js.map +0 -1
- package/dist/commands/auth-status.d.ts +0 -51
- package/dist/commands/auth-status.d.ts.map +0 -1
- package/dist/commands/auth-status.js +0 -250
- package/dist/commands/auth-status.js.map +0 -1
- package/dist/commands/auth-upgrade.d.ts +0 -88
- package/dist/commands/auth-upgrade.d.ts.map +0 -1
- package/dist/commands/auth-upgrade.js +0 -431
- package/dist/commands/auth-upgrade.js.map +0 -1
- package/dist/commands/auth.d.ts +0 -31
- package/dist/commands/auth.d.ts.map +0 -1
- package/dist/commands/auth.js +0 -784
- package/dist/commands/auth.js.map +0 -1
- package/dist/commands/begin.d.ts +0 -27
- package/dist/commands/begin.d.ts.map +0 -1
- package/dist/commands/begin.js +0 -45
- package/dist/commands/begin.js.map +0 -1
- package/dist/commands/bootstrap.d.ts +0 -111
- package/dist/commands/bootstrap.d.ts.map +0 -1
- package/dist/commands/bootstrap.js +0 -485
- package/dist/commands/bootstrap.js.map +0 -1
- package/dist/commands/clean.d.ts +0 -41
- package/dist/commands/clean.d.ts.map +0 -1
- package/dist/commands/clean.js +0 -382
- package/dist/commands/clean.js.map +0 -1
- package/dist/commands/completion.d.ts +0 -30
- package/dist/commands/completion.d.ts.map +0 -1
- package/dist/commands/completion.js +0 -50
- package/dist/commands/completion.js.map +0 -1
- package/dist/commands/config.d.ts +0 -3
- package/dist/commands/config.d.ts.map +0 -1
- package/dist/commands/config.js +0 -146
- package/dist/commands/config.js.map +0 -1
- package/dist/commands/create.d.ts +0 -8
- package/dist/commands/create.d.ts.map +0 -1
- package/dist/commands/create.js +0 -775
- package/dist/commands/create.js.map +0 -1
- package/dist/commands/crystallize.d.ts +0 -18
- package/dist/commands/crystallize.d.ts.map +0 -1
- package/dist/commands/crystallize.js +0 -123
- package/dist/commands/crystallize.js.map +0 -1
- package/dist/commands/destroy.d.ts +0 -59
- package/dist/commands/destroy.d.ts.map +0 -1
- package/dist/commands/destroy.js +0 -148
- package/dist/commands/destroy.js.map +0 -1
- package/dist/commands/diagnose.d.ts +0 -36
- package/dist/commands/diagnose.d.ts.map +0 -1
- package/dist/commands/diagnose.js +0 -177
- package/dist/commands/diagnose.js.map +0 -1
- package/dist/commands/dispatch-resolve.d.ts +0 -54
- package/dist/commands/dispatch-resolve.d.ts.map +0 -1
- package/dist/commands/dispatch-resolve.js +0 -105
- package/dist/commands/dispatch-resolve.js.map +0 -1
- package/dist/commands/dispatch.d.ts +0 -18
- package/dist/commands/dispatch.d.ts.map +0 -1
- package/dist/commands/dispatch.js +0 -159
- package/dist/commands/dispatch.js.map +0 -1
- package/dist/commands/doctor.d.ts +0 -258
- package/dist/commands/doctor.d.ts.map +0 -1
- package/dist/commands/doctor.js +0 -1073
- package/dist/commands/doctor.js.map +0 -1
- package/dist/commands/enter.d.ts +0 -63
- package/dist/commands/enter.d.ts.map +0 -1
- package/dist/commands/enter.js +0 -230
- package/dist/commands/enter.js.map +0 -1
- package/dist/commands/flywheel/check-persona-skeleton.d.ts +0 -35
- package/dist/commands/flywheel/check-persona-skeleton.d.ts.map +0 -1
- package/dist/commands/flywheel/check-persona-skeleton.js +0 -151
- package/dist/commands/flywheel/check-persona-skeleton.js.map +0 -1
- package/dist/commands/flywheel/diversity-check.d.ts +0 -17
- package/dist/commands/flywheel/diversity-check.d.ts.map +0 -1
- package/dist/commands/flywheel/diversity-check.js +0 -64
- package/dist/commands/flywheel/diversity-check.js.map +0 -1
- package/dist/commands/flywheel/emit-breadcrumb.d.ts +0 -20
- package/dist/commands/flywheel/emit-breadcrumb.d.ts.map +0 -1
- package/dist/commands/flywheel/emit-breadcrumb.js +0 -137
- package/dist/commands/flywheel/emit-breadcrumb.js.map +0 -1
- package/dist/commands/flywheel/index.d.ts +0 -27
- package/dist/commands/flywheel/index.d.ts.map +0 -1
- package/dist/commands/flywheel/index.js +0 -54
- package/dist/commands/flywheel/index.js.map +0 -1
- package/dist/commands/flywheel/install-sessionstart-hook.d.ts +0 -64
- package/dist/commands/flywheel/install-sessionstart-hook.d.ts.map +0 -1
- package/dist/commands/flywheel/install-sessionstart-hook.js +0 -197
- package/dist/commands/flywheel/install-sessionstart-hook.js.map +0 -1
- package/dist/commands/flywheel/install-shims.d.ts +0 -41
- package/dist/commands/flywheel/install-shims.d.ts.map +0 -1
- package/dist/commands/flywheel/install-shims.js +0 -126
- package/dist/commands/flywheel/install-shims.js.map +0 -1
- package/dist/commands/flywheel/k10-measure.d.ts +0 -17
- package/dist/commands/flywheel/k10-measure.d.ts.map +0 -1
- package/dist/commands/flywheel/k10-measure.js +0 -63
- package/dist/commands/flywheel/k10-measure.js.map +0 -1
- package/dist/commands/flywheel/k5-score.d.ts +0 -14
- package/dist/commands/flywheel/k5-score.d.ts.map +0 -1
- package/dist/commands/flywheel/k5-score.js +0 -59
- package/dist/commands/flywheel/k5-score.js.map +0 -1
- package/dist/commands/flywheel/k5-validate.d.ts +0 -46
- package/dist/commands/flywheel/k5-validate.d.ts.map +0 -1
- package/dist/commands/flywheel/k5-validate.js +0 -246
- package/dist/commands/flywheel/k5-validate.js.map +0 -1
- package/dist/commands/flywheel/migrate-overlays.d.ts +0 -116
- package/dist/commands/flywheel/migrate-overlays.d.ts.map +0 -1
- package/dist/commands/flywheel/migrate-overlays.js +0 -792
- package/dist/commands/flywheel/migrate-overlays.js.map +0 -1
- package/dist/commands/flywheel/ping.d.ts +0 -21
- package/dist/commands/flywheel/ping.d.ts.map +0 -1
- package/dist/commands/flywheel/ping.js +0 -79
- package/dist/commands/flywheel/ping.js.map +0 -1
- package/dist/commands/flywheel/sanitize-persona-output.d.ts +0 -38
- package/dist/commands/flywheel/sanitize-persona-output.d.ts.map +0 -1
- package/dist/commands/flywheel/sanitize-persona-output.js +0 -102
- package/dist/commands/flywheel/sanitize-persona-output.js.map +0 -1
- package/dist/commands/flywheel/session-start.d.ts +0 -26
- package/dist/commands/flywheel/session-start.d.ts.map +0 -1
- package/dist/commands/flywheel/session-start.js +0 -119
- package/dist/commands/flywheel/session-start.js.map +0 -1
- package/dist/commands/hermes-kg-hook.d.ts +0 -36
- package/dist/commands/hermes-kg-hook.d.ts.map +0 -1
- package/dist/commands/hermes-kg-hook.js +0 -80
- package/dist/commands/hermes-kg-hook.js.map +0 -1
- package/dist/commands/hermes.d.ts +0 -46
- package/dist/commands/hermes.d.ts.map +0 -1
- package/dist/commands/hermes.js +0 -320
- package/dist/commands/hermes.js.map +0 -1
- package/dist/commands/host-cp.d.ts +0 -216
- package/dist/commands/host-cp.d.ts.map +0 -1
- package/dist/commands/host-cp.js +0 -913
- package/dist/commands/host-cp.js.map +0 -1
- package/dist/commands/implode.d.ts +0 -86
- package/dist/commands/implode.d.ts.map +0 -1
- package/dist/commands/implode.js +0 -468
- package/dist/commands/implode.js.map +0 -1
- package/dist/commands/init.d.ts +0 -86
- package/dist/commands/init.d.ts.map +0 -1
- package/dist/commands/init.js +0 -357
- package/dist/commands/init.js.map +0 -1
- package/dist/commands/install.d.ts +0 -22
- package/dist/commands/install.d.ts.map +0 -1
- package/dist/commands/install.js +0 -203
- package/dist/commands/install.js.map +0 -1
- package/dist/commands/keys-list-json.d.ts +0 -55
- package/dist/commands/keys-list-json.d.ts.map +0 -1
- package/dist/commands/keys-list-json.js +0 -54
- package/dist/commands/keys-list-json.js.map +0 -1
- package/dist/commands/keys.d.ts +0 -26
- package/dist/commands/keys.d.ts.map +0 -1
- package/dist/commands/keys.js +0 -157
- package/dist/commands/keys.js.map +0 -1
- package/dist/commands/kg-build.d.ts +0 -80
- package/dist/commands/kg-build.d.ts.map +0 -1
- package/dist/commands/kg-build.js +0 -282
- package/dist/commands/kg-build.js.map +0 -1
- package/dist/commands/kg-classify.d.ts +0 -30
- package/dist/commands/kg-classify.d.ts.map +0 -1
- package/dist/commands/kg-classify.js +0 -88
- package/dist/commands/kg-classify.js.map +0 -1
- package/dist/commands/kg-doctor.d.ts +0 -76
- package/dist/commands/kg-doctor.d.ts.map +0 -1
- package/dist/commands/kg-doctor.js +0 -262
- package/dist/commands/kg-doctor.js.map +0 -1
- package/dist/commands/kg-install-hook.d.ts +0 -20
- package/dist/commands/kg-install-hook.d.ts.map +0 -1
- package/dist/commands/kg-install-hook.js +0 -208
- package/dist/commands/kg-install-hook.js.map +0 -1
- package/dist/commands/kg-mirror.d.ts +0 -72
- package/dist/commands/kg-mirror.d.ts.map +0 -1
- package/dist/commands/kg-mirror.js +0 -397
- package/dist/commands/kg-mirror.js.map +0 -1
- package/dist/commands/kg-savings.d.ts +0 -20
- package/dist/commands/kg-savings.d.ts.map +0 -1
- package/dist/commands/kg-savings.js +0 -77
- package/dist/commands/kg-savings.js.map +0 -1
- package/dist/commands/kg-service-container.d.ts +0 -68
- package/dist/commands/kg-service-container.d.ts.map +0 -1
- package/dist/commands/kg-service-container.js +0 -191
- package/dist/commands/kg-service-container.js.map +0 -1
- package/dist/commands/kg-status.d.ts +0 -59
- package/dist/commands/kg-status.d.ts.map +0 -1
- package/dist/commands/kg-status.js +0 -344
- package/dist/commands/kg-status.js.map +0 -1
- package/dist/commands/kg-uninstall-hook.d.ts +0 -12
- package/dist/commands/kg-uninstall-hook.d.ts.map +0 -1
- package/dist/commands/kg-uninstall-hook.js +0 -121
- package/dist/commands/kg-uninstall-hook.js.map +0 -1
- package/dist/commands/kg-watch.d.ts +0 -49
- package/dist/commands/kg-watch.d.ts.map +0 -1
- package/dist/commands/kg-watch.js +0 -172
- package/dist/commands/kg-watch.js.map +0 -1
- package/dist/commands/lanes-list-json.d.ts +0 -69
- package/dist/commands/lanes-list-json.d.ts.map +0 -1
- package/dist/commands/lanes-list-json.js +0 -42
- package/dist/commands/lanes-list-json.js.map +0 -1
- package/dist/commands/lanes.d.ts +0 -18
- package/dist/commands/lanes.d.ts.map +0 -1
- package/dist/commands/lanes.js +0 -133
- package/dist/commands/lanes.js.map +0 -1
- package/dist/commands/list.d.ts +0 -33
- package/dist/commands/list.d.ts.map +0 -1
- package/dist/commands/list.js +0 -87
- package/dist/commands/list.js.map +0 -1
- package/dist/commands/logs.d.ts +0 -52
- package/dist/commands/logs.d.ts.map +0 -1
- package/dist/commands/logs.js +0 -180
- package/dist/commands/logs.js.map +0 -1
- package/dist/commands/mcp/add.d.ts +0 -9
- package/dist/commands/mcp/add.d.ts.map +0 -1
- package/dist/commands/mcp/add.js +0 -87
- package/dist/commands/mcp/add.js.map +0 -1
- package/dist/commands/mcp/client.d.ts +0 -60
- package/dist/commands/mcp/client.d.ts.map +0 -1
- package/dist/commands/mcp/client.js +0 -70
- package/dist/commands/mcp/client.js.map +0 -1
- package/dist/commands/mcp/complete.d.ts +0 -36
- package/dist/commands/mcp/complete.d.ts.map +0 -1
- package/dist/commands/mcp/complete.js +0 -66
- package/dist/commands/mcp/complete.js.map +0 -1
- package/dist/commands/mcp/import-discovery.d.ts +0 -25
- package/dist/commands/mcp/import-discovery.d.ts.map +0 -1
- package/dist/commands/mcp/import-discovery.js +0 -135
- package/dist/commands/mcp/import-discovery.js.map +0 -1
- package/dist/commands/mcp/import-validate.d.ts +0 -15
- package/dist/commands/mcp/import-validate.d.ts.map +0 -1
- package/dist/commands/mcp/import-validate.js +0 -55
- package/dist/commands/mcp/import-validate.js.map +0 -1
- package/dist/commands/mcp/import.d.ts +0 -12
- package/dist/commands/mcp/import.d.ts.map +0 -1
- package/dist/commands/mcp/import.js +0 -126
- package/dist/commands/mcp/import.js.map +0 -1
- package/dist/commands/mcp/index.d.ts +0 -14
- package/dist/commands/mcp/index.d.ts.map +0 -1
- package/dist/commands/mcp/index.js +0 -39
- package/dist/commands/mcp/index.js.map +0 -1
- package/dist/commands/mcp/install-shared.d.ts +0 -24
- package/dist/commands/mcp/install-shared.d.ts.map +0 -1
- package/dist/commands/mcp/install-shared.js +0 -42
- package/dist/commands/mcp/install-shared.js.map +0 -1
- package/dist/commands/mcp/install.d.ts +0 -20
- package/dist/commands/mcp/install.d.ts.map +0 -1
- package/dist/commands/mcp/install.js +0 -59
- package/dist/commands/mcp/install.js.map +0 -1
- package/dist/commands/mcp/list.d.ts +0 -6
- package/dist/commands/mcp/list.d.ts.map +0 -1
- package/dist/commands/mcp/list.js +0 -56
- package/dist/commands/mcp/list.js.map +0 -1
- package/dist/commands/mcp/login.d.ts +0 -6
- package/dist/commands/mcp/login.d.ts.map +0 -1
- package/dist/commands/mcp/login.js +0 -38
- package/dist/commands/mcp/login.js.map +0 -1
- package/dist/commands/mcp/remove.d.ts +0 -6
- package/dist/commands/mcp/remove.d.ts.map +0 -1
- package/dist/commands/mcp/remove.js +0 -21
- package/dist/commands/mcp/remove.js.map +0 -1
- package/dist/commands/mcp/revoke.d.ts +0 -11
- package/dist/commands/mcp/revoke.d.ts.map +0 -1
- package/dist/commands/mcp/revoke.js +0 -51
- package/dist/commands/mcp/revoke.js.map +0 -1
- package/dist/commands/mcp/serve.d.ts +0 -23
- package/dist/commands/mcp/serve.d.ts.map +0 -1
- package/dist/commands/mcp/serve.js +0 -55
- package/dist/commands/mcp/serve.js.map +0 -1
- package/dist/commands/mcp/status.d.ts +0 -6
- package/dist/commands/mcp/status.d.ts.map +0 -1
- package/dist/commands/mcp/status.js +0 -57
- package/dist/commands/mcp/status.js.map +0 -1
- package/dist/commands/mcp/uninstall.d.ts +0 -20
- package/dist/commands/mcp/uninstall.d.ts.map +0 -1
- package/dist/commands/mcp/uninstall.js +0 -60
- package/dist/commands/mcp/uninstall.js.map +0 -1
- package/dist/commands/memory/_paths.d.ts +0 -25
- package/dist/commands/memory/_paths.d.ts.map +0 -1
- package/dist/commands/memory/_paths.js +0 -57
- package/dist/commands/memory/_paths.js.map +0 -1
- package/dist/commands/memory/bridge.d.ts +0 -57
- package/dist/commands/memory/bridge.d.ts.map +0 -1
- package/dist/commands/memory/bridge.js +0 -152
- package/dist/commands/memory/bridge.js.map +0 -1
- package/dist/commands/memory/index.d.ts +0 -20
- package/dist/commands/memory/index.d.ts.map +0 -1
- package/dist/commands/memory/index.js +0 -47
- package/dist/commands/memory/index.js.map +0 -1
- package/dist/commands/memory/install-hooks.d.ts +0 -22
- package/dist/commands/memory/install-hooks.d.ts.map +0 -1
- package/dist/commands/memory/install-hooks.js +0 -156
- package/dist/commands/memory/install-hooks.js.map +0 -1
- package/dist/commands/memory/install.d.ts +0 -57
- package/dist/commands/memory/install.d.ts.map +0 -1
- package/dist/commands/memory/install.js +0 -114
- package/dist/commands/memory/install.js.map +0 -1
- package/dist/commands/memory/logs.d.ts +0 -19
- package/dist/commands/memory/logs.d.ts.map +0 -1
- package/dist/commands/memory/logs.js +0 -50
- package/dist/commands/memory/logs.js.map +0 -1
- package/dist/commands/memory/mode.d.ts +0 -47
- package/dist/commands/memory/mode.d.ts.map +0 -1
- package/dist/commands/memory/mode.js +0 -185
- package/dist/commands/memory/mode.js.map +0 -1
- package/dist/commands/memory/reclassify.d.ts +0 -56
- package/dist/commands/memory/reclassify.d.ts.map +0 -1
- package/dist/commands/memory/reclassify.js +0 -177
- package/dist/commands/memory/reclassify.js.map +0 -1
- package/dist/commands/memory/secret.d.ts +0 -16
- package/dist/commands/memory/secret.d.ts.map +0 -1
- package/dist/commands/memory/secret.js +0 -80
- package/dist/commands/memory/secret.js.map +0 -1
- package/dist/commands/memory/start.d.ts +0 -25
- package/dist/commands/memory/start.d.ts.map +0 -1
- package/dist/commands/memory/start.js +0 -83
- package/dist/commands/memory/start.js.map +0 -1
- package/dist/commands/memory/stats.d.ts +0 -69
- package/dist/commands/memory/stats.d.ts.map +0 -1
- package/dist/commands/memory/stats.js +0 -164
- package/dist/commands/memory/stats.js.map +0 -1
- package/dist/commands/memory/status.d.ts +0 -45
- package/dist/commands/memory/status.d.ts.map +0 -1
- package/dist/commands/memory/status.js +0 -134
- package/dist/commands/memory/status.js.map +0 -1
- package/dist/commands/memory/stop.d.ts +0 -13
- package/dist/commands/memory/stop.d.ts.map +0 -1
- package/dist/commands/memory/stop.js +0 -52
- package/dist/commands/memory/stop.js.map +0 -1
- package/dist/commands/memory/uninstall.d.ts +0 -19
- package/dist/commands/memory/uninstall.d.ts.map +0 -1
- package/dist/commands/memory/uninstall.js +0 -60
- package/dist/commands/memory/uninstall.js.map +0 -1
- package/dist/commands/memory-service-container.d.ts +0 -130
- package/dist/commands/memory-service-container.d.ts.map +0 -1
- package/dist/commands/memory-service-container.js +0 -251
- package/dist/commands/memory-service-container.js.map +0 -1
- package/dist/commands/observe.d.ts +0 -9
- package/dist/commands/observe.d.ts.map +0 -1
- package/dist/commands/observe.js +0 -42
- package/dist/commands/observe.js.map +0 -1
- package/dist/commands/plans-list-json.d.ts +0 -77
- package/dist/commands/plans-list-json.d.ts.map +0 -1
- package/dist/commands/plans-list-json.js +0 -61
- package/dist/commands/plans-list-json.js.map +0 -1
- package/dist/commands/plans.d.ts +0 -3
- package/dist/commands/plans.d.ts.map +0 -1
- package/dist/commands/plans.js +0 -221
- package/dist/commands/plans.js.map +0 -1
- package/dist/commands/policy-check.d.ts +0 -14
- package/dist/commands/policy-check.d.ts.map +0 -1
- package/dist/commands/policy-check.js +0 -76
- package/dist/commands/policy-check.js.map +0 -1
- package/dist/commands/pr.d.ts +0 -17
- package/dist/commands/pr.d.ts.map +0 -1
- package/dist/commands/pr.js +0 -148
- package/dist/commands/pr.js.map +0 -1
- package/dist/commands/ps.d.ts +0 -57
- package/dist/commands/ps.d.ts.map +0 -1
- package/dist/commands/ps.js +0 -202
- package/dist/commands/ps.js.map +0 -1
- package/dist/commands/refresh-helpers.d.ts +0 -25
- package/dist/commands/refresh-helpers.d.ts.map +0 -1
- package/dist/commands/refresh-helpers.js +0 -56
- package/dist/commands/refresh-helpers.js.map +0 -1
- package/dist/commands/refresh.d.ts +0 -23
- package/dist/commands/refresh.d.ts.map +0 -1
- package/dist/commands/refresh.js +0 -237
- package/dist/commands/refresh.js.map +0 -1
- package/dist/commands/rekey.d.ts +0 -84
- package/dist/commands/rekey.d.ts.map +0 -1
- package/dist/commands/rekey.js +0 -209
- package/dist/commands/rekey.js.map +0 -1
- package/dist/commands/repos-list-json.d.ts +0 -58
- package/dist/commands/repos-list-json.d.ts.map +0 -1
- package/dist/commands/repos-list-json.js +0 -45
- package/dist/commands/repos-list-json.js.map +0 -1
- package/dist/commands/repos.d.ts +0 -11
- package/dist/commands/repos.d.ts.map +0 -1
- package/dist/commands/repos.js +0 -102
- package/dist/commands/repos.js.map +0 -1
- package/dist/commands/restart.d.ts +0 -18
- package/dist/commands/restart.d.ts.map +0 -1
- package/dist/commands/restart.js +0 -113
- package/dist/commands/restart.js.map +0 -1
- package/dist/commands/resume.d.ts +0 -63
- package/dist/commands/resume.d.ts.map +0 -1
- package/dist/commands/resume.js +0 -174
- package/dist/commands/resume.js.map +0 -1
- package/dist/commands/runbooks.d.ts +0 -45
- package/dist/commands/runbooks.d.ts.map +0 -1
- package/dist/commands/runbooks.js +0 -313
- package/dist/commands/runbooks.js.map +0 -1
- package/dist/commands/seed.d.ts +0 -27
- package/dist/commands/seed.d.ts.map +0 -1
- package/dist/commands/seed.js +0 -303
- package/dist/commands/seed.js.map +0 -1
- package/dist/commands/services-tls.d.ts +0 -120
- package/dist/commands/services-tls.d.ts.map +0 -1
- package/dist/commands/services-tls.js +0 -489
- package/dist/commands/services-tls.js.map +0 -1
- package/dist/commands/services.d.ts +0 -218
- package/dist/commands/services.d.ts.map +0 -1
- package/dist/commands/services.js +0 -830
- package/dist/commands/services.js.map +0 -1
- package/dist/commands/setup-linux-gate.d.ts +0 -26
- package/dist/commands/setup-linux-gate.d.ts.map +0 -1
- package/dist/commands/setup-linux-gate.js +0 -40
- package/dist/commands/setup-linux-gate.js.map +0 -1
- package/dist/commands/setup-metrics.d.ts +0 -26
- package/dist/commands/setup-metrics.d.ts.map +0 -1
- package/dist/commands/setup-metrics.js +0 -56
- package/dist/commands/setup-metrics.js.map +0 -1
- package/dist/commands/setup-phase-5a-skill-source.d.ts +0 -84
- package/dist/commands/setup-phase-5a-skill-source.d.ts.map +0 -1
- package/dist/commands/setup-phase-5a-skill-source.js +0 -259
- package/dist/commands/setup-phase-5a-skill-source.js.map +0 -1
- package/dist/commands/setup-phase-5b-project-sweep.d.ts +0 -38
- package/dist/commands/setup-phase-5b-project-sweep.d.ts.map +0 -1
- package/dist/commands/setup-phase-5b-project-sweep.js +0 -175
- package/dist/commands/setup-phase-5b-project-sweep.js.map +0 -1
- package/dist/commands/setup-phase-8-kg-hook.d.ts +0 -48
- package/dist/commands/setup-phase-8-kg-hook.d.ts.map +0 -1
- package/dist/commands/setup-phase-8-kg-hook.js +0 -93
- package/dist/commands/setup-phase-8-kg-hook.js.map +0 -1
- package/dist/commands/setup-phase-9-memory-bridge.d.ts +0 -36
- package/dist/commands/setup-phase-9-memory-bridge.d.ts.map +0 -1
- package/dist/commands/setup-phase-9-memory-bridge.js +0 -59
- package/dist/commands/setup-phase-9-memory-bridge.js.map +0 -1
- package/dist/commands/setup.d.ts +0 -231
- package/dist/commands/setup.d.ts.map +0 -1
- package/dist/commands/setup.js +0 -1374
- package/dist/commands/setup.js.map +0 -1
- package/dist/commands/skills-100x.d.ts +0 -34
- package/dist/commands/skills-100x.d.ts.map +0 -1
- package/dist/commands/skills-100x.js +0 -405
- package/dist/commands/skills-100x.js.map +0 -1
- package/dist/commands/skills-doctor.d.ts +0 -14
- package/dist/commands/skills-doctor.d.ts.map +0 -1
- package/dist/commands/skills-doctor.js +0 -126
- package/dist/commands/skills-doctor.js.map +0 -1
- package/dist/commands/skills-hook.d.ts +0 -19
- package/dist/commands/skills-hook.d.ts.map +0 -1
- package/dist/commands/skills-hook.js +0 -99
- package/dist/commands/skills-hook.js.map +0 -1
- package/dist/commands/skills-install-model-router.d.ts +0 -20
- package/dist/commands/skills-install-model-router.d.ts.map +0 -1
- package/dist/commands/skills-install-model-router.js +0 -55
- package/dist/commands/skills-install-model-router.js.map +0 -1
- package/dist/commands/skills-migrate-back.d.ts +0 -21
- package/dist/commands/skills-migrate-back.d.ts.map +0 -1
- package/dist/commands/skills-migrate-back.js +0 -222
- package/dist/commands/skills-migrate-back.js.map +0 -1
- package/dist/commands/skills-migrate-hooks-back.d.ts +0 -19
- package/dist/commands/skills-migrate-hooks-back.d.ts.map +0 -1
- package/dist/commands/skills-migrate-hooks-back.js +0 -83
- package/dist/commands/skills-migrate-hooks-back.js.map +0 -1
- package/dist/commands/skills-migrate-hooks.d.ts +0 -40
- package/dist/commands/skills-migrate-hooks.d.ts.map +0 -1
- package/dist/commands/skills-migrate-hooks.js +0 -178
- package/dist/commands/skills-migrate-hooks.js.map +0 -1
- package/dist/commands/skills-migrate.d.ts +0 -33
- package/dist/commands/skills-migrate.d.ts.map +0 -1
- package/dist/commands/skills-migrate.js +0 -216
- package/dist/commands/skills-migrate.js.map +0 -1
- package/dist/commands/skills-onboard.d.ts +0 -26
- package/dist/commands/skills-onboard.d.ts.map +0 -1
- package/dist/commands/skills-onboard.js +0 -230
- package/dist/commands/skills-onboard.js.map +0 -1
- package/dist/commands/skills-shadow-backups.d.ts +0 -15
- package/dist/commands/skills-shadow-backups.d.ts.map +0 -1
- package/dist/commands/skills-shadow-backups.js +0 -132
- package/dist/commands/skills-shadow-backups.js.map +0 -1
- package/dist/commands/skills-source.d.ts +0 -61
- package/dist/commands/skills-source.d.ts.map +0 -1
- package/dist/commands/skills-source.js +0 -895
- package/dist/commands/skills-source.js.map +0 -1
- package/dist/commands/skills.d.ts +0 -59
- package/dist/commands/skills.d.ts.map +0 -1
- package/dist/commands/skills.js +0 -461
- package/dist/commands/skills.js.map +0 -1
- package/dist/commands/status.d.ts +0 -65
- package/dist/commands/status.d.ts.map +0 -1
- package/dist/commands/status.js +0 -249
- package/dist/commands/status.js.map +0 -1
- package/dist/commands/stop.d.ts +0 -10
- package/dist/commands/stop.d.ts.map +0 -1
- package/dist/commands/stop.js +0 -17
- package/dist/commands/stop.js.map +0 -1
- package/dist/commands/substrate-audit-log.d.ts +0 -51
- package/dist/commands/substrate-audit-log.d.ts.map +0 -1
- package/dist/commands/substrate-audit-log.js +0 -161
- package/dist/commands/substrate-audit-log.js.map +0 -1
- package/dist/commands/substrate.d.ts +0 -87
- package/dist/commands/substrate.d.ts.map +0 -1
- package/dist/commands/substrate.js +0 -194
- package/dist/commands/substrate.js.map +0 -1
- package/dist/commands/update.d.ts +0 -89
- package/dist/commands/update.d.ts.map +0 -1
- package/dist/commands/update.js +0 -331
- package/dist/commands/update.js.map +0 -1
- package/dist/commands/upgrade-history.d.ts +0 -15
- package/dist/commands/upgrade-history.d.ts.map +0 -1
- package/dist/commands/upgrade-history.js +0 -34
- package/dist/commands/upgrade-history.js.map +0 -1
- package/dist/commands/upgrade-lock.d.ts +0 -93
- package/dist/commands/upgrade-lock.d.ts.map +0 -1
- package/dist/commands/upgrade-lock.js +0 -225
- package/dist/commands/upgrade-lock.js.map +0 -1
- package/dist/commands/upgrade-log.d.ts +0 -86
- package/dist/commands/upgrade-log.d.ts.map +0 -1
- package/dist/commands/upgrade-log.js +0 -146
- package/dist/commands/upgrade-log.js.map +0 -1
- package/dist/commands/upgrade.d.ts +0 -445
- package/dist/commands/upgrade.d.ts.map +0 -1
- package/dist/commands/upgrade.js +0 -1718
- package/dist/commands/upgrade.js.map +0 -1
- package/dist/commands/workspace-list-json.d.ts +0 -73
- package/dist/commands/workspace-list-json.d.ts.map +0 -1
- package/dist/commands/workspace-list-json.js +0 -59
- package/dist/commands/workspace-list-json.js.map +0 -1
- package/dist/commands/workspace.d.ts +0 -23
- package/dist/commands/workspace.d.ts.map +0 -1
- package/dist/commands/workspace.js +0 -203
- package/dist/commands/workspace.js.map +0 -1
- package/dist/commands/world-snapshot.d.ts +0 -32
- package/dist/commands/world-snapshot.d.ts.map +0 -1
- package/dist/commands/world-snapshot.js +0 -531
- package/dist/commands/world-snapshot.js.map +0 -1
- package/dist/commands/world-upgrade.d.ts +0 -33
- package/dist/commands/world-upgrade.d.ts.map +0 -1
- package/dist/commands/world-upgrade.js +0 -82
- package/dist/commands/world-upgrade.js.map +0 -1
- package/dist/commands/world.d.ts +0 -12
- package/dist/commands/world.d.ts.map +0 -1
- package/dist/commands/world.js +0 -18
- package/dist/commands/world.js.map +0 -1
- package/dist/commands/worldspec/compile.d.ts +0 -20
- package/dist/commands/worldspec/compile.d.ts.map +0 -1
- package/dist/commands/worldspec/compile.js +0 -130
- package/dist/commands/worldspec/compile.js.map +0 -1
- package/dist/commands/worldspec/index.d.ts +0 -12
- package/dist/commands/worldspec/index.d.ts.map +0 -1
- package/dist/commands/worldspec/index.js +0 -23
- package/dist/commands/worldspec/index.js.map +0 -1
- package/dist/commands/worldspec/init.d.ts +0 -15
- package/dist/commands/worldspec/init.d.ts.map +0 -1
- package/dist/commands/worldspec/init.js +0 -166
- package/dist/commands/worldspec/init.js.map +0 -1
- package/dist/commands/worldspec/schema.d.ts +0 -11
- package/dist/commands/worldspec/schema.d.ts.map +0 -1
- package/dist/commands/worldspec/schema.js +0 -55
- package/dist/commands/worldspec/schema.js.map +0 -1
- package/dist/commands/worldspec/validate.d.ts +0 -15
- package/dist/commands/worldspec/validate.d.ts.map +0 -1
- package/dist/commands/worldspec/validate.js +0 -66
- package/dist/commands/worldspec/validate.js.map +0 -1
- package/dist/commands/yolo.d.ts +0 -95
- package/dist/commands/yolo.d.ts.map +0 -1
- package/dist/commands/yolo.js +0 -377
- package/dist/commands/yolo.js.map +0 -1
- package/dist/context.d.ts +0 -30
- package/dist/context.d.ts.map +0 -1
- package/dist/context.js +0 -56
- package/dist/context.js.map +0 -1
- package/dist/docker-host.d.ts +0 -18
- package/dist/docker-host.d.ts.map +0 -1
- package/dist/docker-host.js +0 -17
- package/dist/docker-host.js.map +0 -1
- package/dist/exit-codes.d.ts +0 -67
- package/dist/exit-codes.d.ts.map +0 -1
- package/dist/exit-codes.js +0 -67
- package/dist/exit-codes.js.map +0 -1
- package/dist/from-manifest.d.ts +0 -53
- package/dist/from-manifest.d.ts.map +0 -1
- package/dist/from-manifest.js +0 -95
- package/dist/from-manifest.js.map +0 -1
- package/dist/image-presence.d.ts +0 -40
- package/dist/image-presence.d.ts.map +0 -1
- package/dist/image-presence.js +0 -39
- package/dist/image-presence.js.map +0 -1
- package/dist/index.d.ts +0 -9
- package/dist/index.d.ts.map +0 -1
- package/dist/install-root.d.ts +0 -74
- package/dist/install-root.d.ts.map +0 -1
- package/dist/install-root.js +0 -98
- package/dist/install-root.js.map +0 -1
- package/dist/lib/anthropic-base-url-file.d.ts +0 -37
- package/dist/lib/anthropic-base-url-file.d.ts.map +0 -1
- package/dist/lib/anthropic-base-url-file.js +0 -46
- package/dist/lib/anthropic-base-url-file.js.map +0 -1
- package/dist/lib/auth-backend.d.ts +0 -168
- package/dist/lib/auth-backend.d.ts.map +0 -1
- package/dist/lib/auth-backend.js +0 -172
- package/dist/lib/auth-backend.js.map +0 -1
- package/dist/lib/auth-list-cache.d.ts +0 -67
- package/dist/lib/auth-list-cache.d.ts.map +0 -1
- package/dist/lib/auth-list-cache.js +0 -84
- package/dist/lib/auth-list-cache.js.map +0 -1
- package/dist/lib/auth-list.d.ts +0 -107
- package/dist/lib/auth-list.d.ts.map +0 -1
- package/dist/lib/auth-list.js +0 -123
- package/dist/lib/auth-list.js.map +0 -1
- package/dist/lib/auth-login.d.ts +0 -92
- package/dist/lib/auth-login.d.ts.map +0 -1
- package/dist/lib/auth-login.js +0 -124
- package/dist/lib/auth-login.js.map +0 -1
- package/dist/lib/auth-mutator-backend.d.ts +0 -54
- package/dist/lib/auth-mutator-backend.d.ts.map +0 -1
- package/dist/lib/auth-mutator-backend.js +0 -62
- package/dist/lib/auth-mutator-backend.js.map +0 -1
- package/dist/lib/auth-refresh-kubernetes.d.ts +0 -65
- package/dist/lib/auth-refresh-kubernetes.d.ts.map +0 -1
- package/dist/lib/auth-refresh-kubernetes.js +0 -125
- package/dist/lib/auth-refresh-kubernetes.js.map +0 -1
- package/dist/lib/auth-remote.d.ts +0 -172
- package/dist/lib/auth-remote.d.ts.map +0 -1
- package/dist/lib/auth-remote.js +0 -394
- package/dist/lib/auth-remote.js.map +0 -1
- package/dist/lib/bootstrap-kubernetes.d.ts +0 -164
- package/dist/lib/bootstrap-kubernetes.d.ts.map +0 -1
- package/dist/lib/bootstrap-kubernetes.js +0 -1002
- package/dist/lib/bootstrap-kubernetes.js.map +0 -1
- package/dist/lib/build-if-stale.d.ts +0 -33
- package/dist/lib/build-if-stale.d.ts.map +0 -1
- package/dist/lib/build-if-stale.js +0 -156
- package/dist/lib/build-if-stale.js.map +0 -1
- package/dist/lib/bundle-freshness.d.ts +0 -57
- package/dist/lib/bundle-freshness.d.ts.map +0 -1
- package/dist/lib/bundle-freshness.js +0 -223
- package/dist/lib/bundle-freshness.js.map +0 -1
- package/dist/lib/bundle-source.d.ts +0 -52
- package/dist/lib/bundle-source.d.ts.map +0 -1
- package/dist/lib/bundle-source.js +0 -83
- package/dist/lib/bundle-source.js.map +0 -1
- package/dist/lib/cf-access-token.d.ts +0 -32
- package/dist/lib/cf-access-token.d.ts.map +0 -1
- package/dist/lib/cf-access-token.js +0 -51
- package/dist/lib/cf-access-token.js.map +0 -1
- package/dist/lib/completion-generator.d.ts +0 -107
- package/dist/lib/completion-generator.d.ts.map +0 -1
- package/dist/lib/completion-generator.js +0 -226
- package/dist/lib/completion-generator.js.map +0 -1
- package/dist/lib/config.d.ts +0 -114
- package/dist/lib/config.d.ts.map +0 -1
- package/dist/lib/config.js +0 -246
- package/dist/lib/config.js.map +0 -1
- package/dist/lib/flywheel-probes.d.ts +0 -58
- package/dist/lib/flywheel-probes.d.ts.map +0 -1
- package/dist/lib/flywheel-probes.js +0 -163
- package/dist/lib/flywheel-probes.js.map +0 -1
- package/dist/lib/health-probes.d.ts +0 -267
- package/dist/lib/health-probes.d.ts.map +0 -1
- package/dist/lib/health-probes.js +0 -933
- package/dist/lib/health-probes.js.map +0 -1
- package/dist/lib/help-groups.d.ts +0 -36
- package/dist/lib/help-groups.d.ts.map +0 -1
- package/dist/lib/help-groups.js +0 -124
- package/dist/lib/help-groups.js.map +0 -1
- package/dist/lib/host-side-proxy.d.ts +0 -67
- package/dist/lib/host-side-proxy.d.ts.map +0 -1
- package/dist/lib/host-side-proxy.js +0 -177
- package/dist/lib/host-side-proxy.js.map +0 -1
- package/dist/lib/instrumentation.d.ts +0 -85
- package/dist/lib/instrumentation.d.ts.map +0 -1
- package/dist/lib/instrumentation.js +0 -104
- package/dist/lib/instrumentation.js.map +0 -1
- package/dist/lib/k8s-bootstrap.d.ts +0 -126
- package/dist/lib/k8s-bootstrap.d.ts.map +0 -1
- package/dist/lib/k8s-bootstrap.js +0 -218
- package/dist/lib/k8s-bootstrap.js.map +0 -1
- package/dist/lib/k8s-context-discovery.d.ts +0 -80
- package/dist/lib/k8s-context-discovery.d.ts.map +0 -1
- package/dist/lib/k8s-context-discovery.js +0 -102
- package/dist/lib/k8s-context-discovery.js.map +0 -1
- package/dist/lib/k8s-secret-render.d.ts +0 -141
- package/dist/lib/k8s-secret-render.d.ts.map +0 -1
- package/dist/lib/k8s-secret-render.js +0 -318
- package/dist/lib/k8s-secret-render.js.map +0 -1
- package/dist/lib/kg-caps.d.ts +0 -19
- package/dist/lib/kg-caps.d.ts.map +0 -1
- package/dist/lib/kg-caps.js +0 -19
- package/dist/lib/kg-caps.js.map +0 -1
- package/dist/lib/kubectl-context.d.ts +0 -87
- package/dist/lib/kubectl-context.d.ts.map +0 -1
- package/dist/lib/kubectl-context.js +0 -105
- package/dist/lib/kubectl-context.js.map +0 -1
- package/dist/lib/kubectl-wrap.d.ts +0 -65
- package/dist/lib/kubectl-wrap.d.ts.map +0 -1
- package/dist/lib/kubectl-wrap.js +0 -135
- package/dist/lib/kubectl-wrap.js.map +0 -1
- package/dist/lib/manifest-refresh.d.ts +0 -136
- package/dist/lib/manifest-refresh.d.ts.map +0 -1
- package/dist/lib/manifest-refresh.js +0 -298
- package/dist/lib/manifest-refresh.js.map +0 -1
- package/dist/lib/memory-host-process-migration.d.ts +0 -56
- package/dist/lib/memory-host-process-migration.d.ts.map +0 -1
- package/dist/lib/memory-host-process-migration.js +0 -156
- package/dist/lib/memory-host-process-migration.js.map +0 -1
- package/dist/lib/memory-secret.d.ts +0 -83
- package/dist/lib/memory-secret.d.ts.map +0 -1
- package/dist/lib/memory-secret.js +0 -147
- package/dist/lib/memory-secret.js.map +0 -1
- package/dist/lib/peripheral-registry.d.ts +0 -53
- package/dist/lib/peripheral-registry.d.ts.map +0 -1
- package/dist/lib/peripheral-registry.js +0 -73
- package/dist/lib/peripheral-registry.js.map +0 -1
- package/dist/lib/plans-client.d.ts +0 -69
- package/dist/lib/plans-client.d.ts.map +0 -1
- package/dist/lib/plans-client.js +0 -140
- package/dist/lib/plans-client.js.map +0 -1
- package/dist/lib/port-forward.d.ts +0 -168
- package/dist/lib/port-forward.d.ts.map +0 -1
- package/dist/lib/port-forward.js +0 -393
- package/dist/lib/port-forward.js.map +0 -1
- package/dist/lib/shell-rc.d.ts +0 -90
- package/dist/lib/shell-rc.d.ts.map +0 -1
- package/dist/lib/shell-rc.js +0 -91
- package/dist/lib/shell-rc.js.map +0 -1
- package/dist/lib/shim-generator.d.ts +0 -51
- package/dist/lib/shim-generator.d.ts.map +0 -1
- package/dist/lib/shim-generator.js +0 -88
- package/dist/lib/shim-generator.js.map +0 -1
- package/dist/lib/skills-apply-overlays.d.ts +0 -35
- package/dist/lib/skills-apply-overlays.d.ts.map +0 -1
- package/dist/lib/skills-apply-overlays.js +0 -243
- package/dist/lib/skills-apply-overlays.js.map +0 -1
- package/dist/lib/symlink-reconcile.d.ts +0 -32
- package/dist/lib/symlink-reconcile.d.ts.map +0 -1
- package/dist/lib/symlink-reconcile.js +0 -80
- package/dist/lib/symlink-reconcile.js.map +0 -1
- package/dist/lib/upgrade-check.d.ts +0 -60
- package/dist/lib/upgrade-check.d.ts.map +0 -1
- package/dist/lib/upgrade-check.js +0 -169
- package/dist/lib/upgrade-check.js.map +0 -1
- package/dist/lib/upgrade-kubernetes.d.ts +0 -193
- package/dist/lib/upgrade-kubernetes.d.ts.map +0 -1
- package/dist/lib/upgrade-kubernetes.js +0 -1014
- package/dist/lib/upgrade-kubernetes.js.map +0 -1
- package/dist/lib/world-mcp-register.d.ts +0 -98
- package/dist/lib/world-mcp-register.d.ts.map +0 -1
- package/dist/lib/world-mcp-register.js +0 -117
- package/dist/lib/world-mcp-register.js.map +0 -1
- package/dist/output.d.ts +0 -10
- package/dist/output.d.ts.map +0 -1
- package/dist/output.js +0 -31
- package/dist/output.js.map +0 -1
- package/dist/pleri-config.d.ts +0 -22
- package/dist/pleri-config.d.ts.map +0 -1
- package/dist/pleri-config.js +0 -42
- package/dist/pleri-config.js.map +0 -1
- package/dist/protocol-version.d.ts +0 -79
- package/dist/protocol-version.d.ts.map +0 -1
- package/dist/protocol-version.js +0 -133
- package/dist/protocol-version.js.map +0 -1
- package/dist/registry-allowlist.d.ts +0 -47
- package/dist/registry-allowlist.d.ts.map +0 -1
- package/dist/registry-allowlist.js +0 -67
- package/dist/registry-allowlist.js.map +0 -1
- package/dist/spawn/home-override.d.ts +0 -82
- package/dist/spawn/home-override.d.ts.map +0 -1
- package/dist/spawn/home-override.js +0 -107
- package/dist/spawn/home-override.js.map +0 -1
- package/host-cp/src/linear-sync.mjs +0 -43
package/dist/context.js
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* CLI context — mirrors the MCP server's OlamContext initialization.
|
|
3
|
-
*
|
|
4
|
-
* Loads config, creates WorldManager, CostTracker, and compute provider.
|
|
5
|
-
* Returns undefined with an error if Olam is not configured.
|
|
6
|
-
*/
|
|
7
|
-
export async function loadContext() {
|
|
8
|
-
try {
|
|
9
|
-
const { loadConfigWithFallback } = await import('@olam/core/src/config/loader.js');
|
|
10
|
-
const { WorldManager } = await import('@olam/core/src/world/manager.js');
|
|
11
|
-
const { WorldRegistry } = await import('@olam/core/src/world/registry.js');
|
|
12
|
-
const { CostTracker } = await import('@olam/core/src/cost/tracker.js');
|
|
13
|
-
const { DockerProvider } = await import('@olam/adapters');
|
|
14
|
-
const { DashboardManager } = await import('@olam/core/src/dashboard/index.js');
|
|
15
|
-
const { PleriClient } = await import('@olam/core/src/pleri/index.js');
|
|
16
|
-
const { config, isFallback: configIsFallback } = loadConfigWithFallback(process.env.OLAM_CONFIG_DIR);
|
|
17
|
-
const registry = new WorldRegistry();
|
|
18
|
-
// Resolve docker daemon endpoint via the CLI's active context — handles
|
|
19
|
-
// Docker Desktop's `~/.docker/run/docker.sock` path on macOS where the
|
|
20
|
-
// default `/var/run/docker.sock` doesn't exist. See packages/cli/src/docker-host.ts.
|
|
21
|
-
const { resolveDockerHostOptions } = await import('./docker-host.js');
|
|
22
|
-
const computeProvider = new DockerProvider(resolveDockerHostOptions());
|
|
23
|
-
const dashboardManager = new DashboardManager(config.dashboard);
|
|
24
|
-
let pleriClient;
|
|
25
|
-
if (config.pleri) {
|
|
26
|
-
pleriClient = new PleriClient({
|
|
27
|
-
baseUrl: config.pleri.base_url,
|
|
28
|
-
planeId: config.pleri.plane_id,
|
|
29
|
-
apiKey: config.pleri.api_key,
|
|
30
|
-
});
|
|
31
|
-
}
|
|
32
|
-
const worldManager = new WorldManager(config, computeProvider, registry, dashboardManager, pleriClient);
|
|
33
|
-
const costTracker = new CostTracker({
|
|
34
|
-
maxPerWorldUsd: config.cost.max_per_world_usd,
|
|
35
|
-
maxDailyUsd: config.cost.max_daily_usd,
|
|
36
|
-
warningThreshold: config.cost.warning_threshold,
|
|
37
|
-
});
|
|
38
|
-
return {
|
|
39
|
-
ctx: {
|
|
40
|
-
worldManager,
|
|
41
|
-
costTracker,
|
|
42
|
-
computeProvider,
|
|
43
|
-
config,
|
|
44
|
-
dashboardManager,
|
|
45
|
-
pleriClient,
|
|
46
|
-
configIsFallback,
|
|
47
|
-
},
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
catch (err) {
|
|
51
|
-
return {
|
|
52
|
-
error: err instanceof Error ? err : new Error(String(err)),
|
|
53
|
-
};
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
//# sourceMappingURL=context.js.map
|
package/dist/context.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"context.js","sourceRoot":"","sources":["../src/context.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AA2BH,MAAM,CAAC,KAAK,UAAU,WAAW;IAC/B,IAAI,CAAC;QACH,MAAM,EAAE,sBAAsB,EAAE,GAAG,MAAM,MAAM,CAAC,iCAAiC,CAAC,CAAC;QACnF,MAAM,EAAE,YAAY,EAAE,GAAG,MAAM,MAAM,CAAC,iCAAiC,CAAC,CAAC;QACzE,MAAM,EAAE,aAAa,EAAE,GAAG,MAAM,MAAM,CAAC,kCAAkC,CAAC,CAAC;QAC3E,MAAM,EAAE,WAAW,EAAE,GAAG,MAAM,MAAM,CAAC,gCAAgC,CAAC,CAAC;QACvE,MAAM,EAAE,cAAc,EAAE,GAAG,MAAM,MAAM,CAAC,gBAAgB,CAAC,CAAC;QAC1D,MAAM,EAAE,gBAAgB,EAAE,GAAG,MAAM,MAAM,CAAC,mCAAmC,CAAC,CAAC;QAC/E,MAAM,EAAE,WAAW,EAAE,GAAG,MAAM,MAAM,CAAC,+BAA+B,CAAC,CAAC;QAEtE,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,gBAAgB,EAAE,GAAG,sBAAsB,CACrE,OAAO,CAAC,GAAG,CAAC,eAAe,CAC5B,CAAC;QACF,MAAM,QAAQ,GAAG,IAAI,aAAa,EAAE,CAAC;QACrC,wEAAwE;QACxE,uEAAuE;QACvE,qFAAqF;QACrF,MAAM,EAAE,wBAAwB,EAAE,GAAG,MAAM,MAAM,CAAC,kBAAkB,CAAC,CAAC;QACtE,MAAM,eAAe,GAAG,IAAI,cAAc,CAAC,wBAAwB,EAAE,CAAC,CAAC;QACvE,MAAM,gBAAgB,GAAG,IAAI,gBAAgB,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC;QAEhE,IAAI,WAAoC,CAAC;QACzC,IAAI,MAAM,CAAC,KAAK,EAAE,CAAC;YACjB,WAAW,GAAG,IAAI,WAAW,CAAC;gBAC5B,OAAO,EAAE,MAAM,CAAC,KAAK,CAAC,QAAQ;gBAC9B,OAAO,EAAE,MAAM,CAAC,KAAK,CAAC,QAAQ;gBAC9B,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO;aAC7B,CAAC,CAAC;QACL,CAAC;QAED,MAAM,YAAY,GAAG,IAAI,YAAY,CACnC,MAAM,EACN,eAAe,EACf,QAAQ,EACR,gBAAgB,EAChB,WAAW,CACZ,CAAC;QAEF,MAAM,WAAW,GAAG,IAAI,WAAW,CAAC;YAClC,cAAc,EAAE,MAAM,CAAC,IAAI,CAAC,iBAAiB;YAC7C,WAAW,EAAE,MAAM,CAAC,IAAI,CAAC,aAAa;YACtC,gBAAgB,EAAE,MAAM,CAAC,IAAI,CAAC,iBAAiB;SAChD,CAAC,CAAC;QAEH,OAAO;YACL,GAAG,EAAE;gBACH,YAAY;gBACZ,WAAW;gBACX,eAAe;gBACf,MAAM;gBACN,gBAAgB;gBAChB,WAAW;gBACX,gBAAgB;aACjB;SACF,CAAC;IACJ,CAAC;IAAC,OAAO,GAAG,EAAE,CAAC;QACb,OAAO;YACL,KAAK,EAAE,GAAG,YAAY,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;SAC3D,CAAC;IACJ,CAAC;AACH,CAAC"}
|
package/dist/docker-host.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Re-export of the canonical Docker socket resolver from @olam/adapters.
|
|
3
|
-
*
|
|
4
|
-
* History: this lived in the CLI package only, which meant the MCP
|
|
5
|
-
* server's `new DockerProvider()` call (packages/mcp-server/src/
|
|
6
|
-
* compute-provider.ts) bypassed the resolver and fell back to the
|
|
7
|
-
* dangling `/var/run/docker.sock` symlink on colima / Docker Desktop
|
|
8
|
-
* uninstall setups, surfacing as "Docker daemon is not available".
|
|
9
|
-
* The function moved to `packages/adapters/src/docker/host.ts` so MCP
|
|
10
|
-
* and host-cp can both reach the same daemon as `docker pull`.
|
|
11
|
-
*
|
|
12
|
-
* Kept here as a re-export to preserve the existing
|
|
13
|
-
* `import { resolveDockerHostOptions } from '../docker-host.js'`
|
|
14
|
-
* call sites inside the CLI package.
|
|
15
|
-
*/
|
|
16
|
-
export { resolveDockerHostOptions, describeDockerEndpoint, } from '@olam/adapters';
|
|
17
|
-
export type { DockerHostOptions } from '@olam/adapters';
|
|
18
|
-
//# sourceMappingURL=docker-host.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"docker-host.d.ts","sourceRoot":"","sources":["../src/docker-host.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,wBAAwB,EACxB,sBAAsB,GACvB,MAAM,gBAAgB,CAAC;AACxB,YAAY,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC"}
|
package/dist/docker-host.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Re-export of the canonical Docker socket resolver from @olam/adapters.
|
|
3
|
-
*
|
|
4
|
-
* History: this lived in the CLI package only, which meant the MCP
|
|
5
|
-
* server's `new DockerProvider()` call (packages/mcp-server/src/
|
|
6
|
-
* compute-provider.ts) bypassed the resolver and fell back to the
|
|
7
|
-
* dangling `/var/run/docker.sock` symlink on colima / Docker Desktop
|
|
8
|
-
* uninstall setups, surfacing as "Docker daemon is not available".
|
|
9
|
-
* The function moved to `packages/adapters/src/docker/host.ts` so MCP
|
|
10
|
-
* and host-cp can both reach the same daemon as `docker pull`.
|
|
11
|
-
*
|
|
12
|
-
* Kept here as a re-export to preserve the existing
|
|
13
|
-
* `import { resolveDockerHostOptions } from '../docker-host.js'`
|
|
14
|
-
* call sites inside the CLI package.
|
|
15
|
-
*/
|
|
16
|
-
export { resolveDockerHostOptions, describeDockerEndpoint, } from '@olam/adapters';
|
|
17
|
-
//# sourceMappingURL=docker-host.js.map
|
package/dist/docker-host.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"docker-host.js","sourceRoot":"","sources":["../src/docker-host.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,wBAAwB,EACxB,sBAAsB,GACvB,MAAM,gBAAgB,CAAC"}
|
package/dist/exit-codes.d.ts
DELETED
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Named exit codes for the olam CLI.
|
|
3
|
-
*
|
|
4
|
-
* Pipelines and CI workflows depend on these to distinguish "skipped because
|
|
5
|
-
* an optional feature wasn't configured" from "failed because of an actual
|
|
6
|
-
* error" (both differ from exit 0 = success).
|
|
7
|
-
*/
|
|
8
|
-
/** Generic failure (default for any unhandled error path). */
|
|
9
|
-
export declare const EXIT_GENERIC_ERROR = 1;
|
|
10
|
-
/**
|
|
11
|
-
* Skipped: PLERI integration not configured. Emitted by `olam crystallize`
|
|
12
|
-
* when `PLERI_BASE_URL` (or the equivalent `pleri` config block) is absent.
|
|
13
|
-
* Pipelines that script `olam crystallize` should treat exit 2 as "skipped,
|
|
14
|
-
* not failed" — equivalent to exit 0 for "did the pipeline succeed?" but
|
|
15
|
-
* distinguishable from "the operation actually ran."
|
|
16
|
-
*/
|
|
17
|
-
export declare const EXIT_PLERI_NOT_CONFIGURED = 2;
|
|
18
|
-
/**
|
|
19
|
-
* Bootstrap pull failure (transient network / GHCR outage / arch mismatch).
|
|
20
|
-
* Reserved for Phase C's `olam bootstrap` command.
|
|
21
|
-
*/
|
|
22
|
-
export declare const EXIT_BOOTSTRAP_PULL_FAILED = 3;
|
|
23
|
-
/**
|
|
24
|
-
* Devbox image's `olam.protocol.versions` LABEL doesn't overlap CLI's
|
|
25
|
-
* compiled-in supported list. Reserved for Phase C's protocol-version
|
|
26
|
-
* handshake (Decision #14).
|
|
27
|
-
*/
|
|
28
|
-
export declare const EXIT_PROTOCOL_MISMATCH = 4;
|
|
29
|
-
/**
|
|
30
|
-
* Auth-service has no eligible credential to pick (all cooled-down,
|
|
31
|
-
* disabled, or expired). Used by `olam auth status` to signal "needs
|
|
32
|
-
* attention" — distinct from EXIT_PLERI_NOT_CONFIGURED (= 2).
|
|
33
|
-
*/
|
|
34
|
-
export declare const EXIT_AUTH_NEEDS_ATTENTION = 5;
|
|
35
|
-
/**
|
|
36
|
-
* `olam worldspec validate` failed because the worldspec violates the
|
|
37
|
-
* v1 schema (one or more Zod issues surfaced). Plan AC #4 reserves a
|
|
38
|
-
* worldspec-scoped range (20–29) so future worldspec commands can sub-
|
|
39
|
-
* distinguish without colliding with codes 1–5 which already carry
|
|
40
|
-
* CLI-wide meaning.
|
|
41
|
-
*
|
|
42
|
-
* `olam worldspec validate <path>`:
|
|
43
|
-
* exit 0 → worldspec valid
|
|
44
|
-
* exit 20 → schema violation (one or more issues)
|
|
45
|
-
* exit 21 → worldspec file not found / not readable
|
|
46
|
-
* exit 1 → internal error (parse crash, etc)
|
|
47
|
-
*/
|
|
48
|
-
export declare const EXIT_WORLDSPEC_INVALID = 20;
|
|
49
|
-
export declare const EXIT_WORLDSPEC_FILE_NOT_FOUND = 21;
|
|
50
|
-
/**
|
|
51
|
-
* `olam worldspec compile` failed to resolve image content-digests
|
|
52
|
-
* (Docker unreachable / image not present locally). Distinct from
|
|
53
|
-
* EXIT_GENERIC_ERROR=1 so CI pipelines can fail-fast on lockfile-
|
|
54
|
-
* digest gaps. Decision #13 invariant: lockfile MUST record digests
|
|
55
|
-
* for fail-fast at world-spawn. MEDIUM-fix (A6 CP3 audit 2026-05-09):
|
|
56
|
-
* digest resolution failure now exits 23 by default; `--allow-pending-
|
|
57
|
-
* digests` opts INTO the soft-warning path for dry-run / no-Docker CI.
|
|
58
|
-
*/
|
|
59
|
-
export declare const EXIT_DIGEST_UNRESOLVED = 23;
|
|
60
|
-
/**
|
|
61
|
-
* `olam worldspec init` refused to overwrite an existing default.yaml
|
|
62
|
-
* without `--force`. Distinct from EXIT_GENERIC_ERROR=1 (internal/parse
|
|
63
|
-
* crash) so pipelines can distinguish "user forgot --force" from
|
|
64
|
-
* "something is broken." A3 CP3 audit MEDIUM-fix 2026-05-09.
|
|
65
|
-
*/
|
|
66
|
-
export declare const EXIT_WORLDSPEC_EXISTS = 22;
|
|
67
|
-
//# sourceMappingURL=exit-codes.d.ts.map
|
package/dist/exit-codes.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"exit-codes.d.ts","sourceRoot":"","sources":["../src/exit-codes.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,8DAA8D;AAC9D,eAAO,MAAM,kBAAkB,IAAI,CAAC;AAEpC;;;;;;GAMG;AACH,eAAO,MAAM,yBAAyB,IAAI,CAAC;AAE3C;;;GAGG;AACH,eAAO,MAAM,0BAA0B,IAAI,CAAC;AAE5C;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,IAAI,CAAC;AAExC;;;;GAIG;AACH,eAAO,MAAM,yBAAyB,IAAI,CAAC;AAE3C;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,sBAAsB,KAAK,CAAC;AACzC,eAAO,MAAM,6BAA6B,KAAK,CAAC;AAEhD;;;;;;;;GAQG;AACH,eAAO,MAAM,sBAAsB,KAAK,CAAC;AAEzC;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB,KAAK,CAAC"}
|
package/dist/exit-codes.js
DELETED
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Named exit codes for the olam CLI.
|
|
3
|
-
*
|
|
4
|
-
* Pipelines and CI workflows depend on these to distinguish "skipped because
|
|
5
|
-
* an optional feature wasn't configured" from "failed because of an actual
|
|
6
|
-
* error" (both differ from exit 0 = success).
|
|
7
|
-
*/
|
|
8
|
-
/** Generic failure (default for any unhandled error path). */
|
|
9
|
-
export const EXIT_GENERIC_ERROR = 1;
|
|
10
|
-
/**
|
|
11
|
-
* Skipped: PLERI integration not configured. Emitted by `olam crystallize`
|
|
12
|
-
* when `PLERI_BASE_URL` (or the equivalent `pleri` config block) is absent.
|
|
13
|
-
* Pipelines that script `olam crystallize` should treat exit 2 as "skipped,
|
|
14
|
-
* not failed" — equivalent to exit 0 for "did the pipeline succeed?" but
|
|
15
|
-
* distinguishable from "the operation actually ran."
|
|
16
|
-
*/
|
|
17
|
-
export const EXIT_PLERI_NOT_CONFIGURED = 2;
|
|
18
|
-
/**
|
|
19
|
-
* Bootstrap pull failure (transient network / GHCR outage / arch mismatch).
|
|
20
|
-
* Reserved for Phase C's `olam bootstrap` command.
|
|
21
|
-
*/
|
|
22
|
-
export const EXIT_BOOTSTRAP_PULL_FAILED = 3;
|
|
23
|
-
/**
|
|
24
|
-
* Devbox image's `olam.protocol.versions` LABEL doesn't overlap CLI's
|
|
25
|
-
* compiled-in supported list. Reserved for Phase C's protocol-version
|
|
26
|
-
* handshake (Decision #14).
|
|
27
|
-
*/
|
|
28
|
-
export const EXIT_PROTOCOL_MISMATCH = 4;
|
|
29
|
-
/**
|
|
30
|
-
* Auth-service has no eligible credential to pick (all cooled-down,
|
|
31
|
-
* disabled, or expired). Used by `olam auth status` to signal "needs
|
|
32
|
-
* attention" — distinct from EXIT_PLERI_NOT_CONFIGURED (= 2).
|
|
33
|
-
*/
|
|
34
|
-
export const EXIT_AUTH_NEEDS_ATTENTION = 5;
|
|
35
|
-
/**
|
|
36
|
-
* `olam worldspec validate` failed because the worldspec violates the
|
|
37
|
-
* v1 schema (one or more Zod issues surfaced). Plan AC #4 reserves a
|
|
38
|
-
* worldspec-scoped range (20–29) so future worldspec commands can sub-
|
|
39
|
-
* distinguish without colliding with codes 1–5 which already carry
|
|
40
|
-
* CLI-wide meaning.
|
|
41
|
-
*
|
|
42
|
-
* `olam worldspec validate <path>`:
|
|
43
|
-
* exit 0 → worldspec valid
|
|
44
|
-
* exit 20 → schema violation (one or more issues)
|
|
45
|
-
* exit 21 → worldspec file not found / not readable
|
|
46
|
-
* exit 1 → internal error (parse crash, etc)
|
|
47
|
-
*/
|
|
48
|
-
export const EXIT_WORLDSPEC_INVALID = 20;
|
|
49
|
-
export const EXIT_WORLDSPEC_FILE_NOT_FOUND = 21;
|
|
50
|
-
/**
|
|
51
|
-
* `olam worldspec compile` failed to resolve image content-digests
|
|
52
|
-
* (Docker unreachable / image not present locally). Distinct from
|
|
53
|
-
* EXIT_GENERIC_ERROR=1 so CI pipelines can fail-fast on lockfile-
|
|
54
|
-
* digest gaps. Decision #13 invariant: lockfile MUST record digests
|
|
55
|
-
* for fail-fast at world-spawn. MEDIUM-fix (A6 CP3 audit 2026-05-09):
|
|
56
|
-
* digest resolution failure now exits 23 by default; `--allow-pending-
|
|
57
|
-
* digests` opts INTO the soft-warning path for dry-run / no-Docker CI.
|
|
58
|
-
*/
|
|
59
|
-
export const EXIT_DIGEST_UNRESOLVED = 23;
|
|
60
|
-
/**
|
|
61
|
-
* `olam worldspec init` refused to overwrite an existing default.yaml
|
|
62
|
-
* without `--force`. Distinct from EXIT_GENERIC_ERROR=1 (internal/parse
|
|
63
|
-
* crash) so pipelines can distinguish "user forgot --force" from
|
|
64
|
-
* "something is broken." A3 CP3 audit MEDIUM-fix 2026-05-09.
|
|
65
|
-
*/
|
|
66
|
-
export const EXIT_WORLDSPEC_EXISTS = 22;
|
|
67
|
-
//# sourceMappingURL=exit-codes.js.map
|
package/dist/exit-codes.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"exit-codes.js","sourceRoot":"","sources":["../src/exit-codes.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,8DAA8D;AAC9D,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,CAAC;AAEpC;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,CAAC;AAE3C;;;GAGG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,CAAC;AAE5C;;;;GAIG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC;AAExC;;;;GAIG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,CAAC;AAE3C;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,EAAE,CAAC;AACzC,MAAM,CAAC,MAAM,6BAA6B,GAAG,EAAE,CAAC;AAEhD;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,EAAE,CAAC;AAEzC;;;;;GAKG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,EAAE,CAAC"}
|
package/dist/from-manifest.d.ts
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Trace-replay v2 — `olam create --from-manifest <path>` support.
|
|
3
|
-
*
|
|
4
|
-
* Reads + validates a fork manifest written by `scripts/olam-trace-replay.mjs`
|
|
5
|
-
* (v1, ADR 041) and projects it into the inputs `olam create` needs:
|
|
6
|
-
* a `task` to dispatch and a default `name` to derive when the operator
|
|
7
|
-
* omits `--name`.
|
|
8
|
-
*
|
|
9
|
-
* Validation is strict-enough to catch malformed JSON, missing
|
|
10
|
-
* `newPrompt`, and shape-drift from the v1 schema, but tolerant of
|
|
11
|
-
* forward-compatible extensions (extra fields are ignored). Errors carry
|
|
12
|
-
* the path so the operator's first reflex — re-read the manifest — is
|
|
13
|
-
* already wired up.
|
|
14
|
-
*
|
|
15
|
-
* Pure module: no fs/network side effects beyond the single read.
|
|
16
|
-
* Side effects (logging, spinner, world provisioning) live in create.ts
|
|
17
|
-
* where they can be unit-tested against the action surface.
|
|
18
|
-
*/
|
|
19
|
-
/** Subset of fork-manifest fields the CLI consumes. Extra fields ignored. */
|
|
20
|
-
export interface ParsedForkManifest {
|
|
21
|
-
readonly originalWorldId: string;
|
|
22
|
-
readonly forkPoint: {
|
|
23
|
-
readonly resolvedPhase: string | null;
|
|
24
|
-
readonly resolvedSpanId: string | null;
|
|
25
|
-
readonly resolvedAt: number;
|
|
26
|
-
};
|
|
27
|
-
readonly newPrompt: string;
|
|
28
|
-
readonly manifestPath: string;
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* Read + parse a fork manifest. Throws a descriptive Error on:
|
|
32
|
-
* - file missing / unreadable
|
|
33
|
-
* - malformed JSON
|
|
34
|
-
* - missing/blank originalWorldId
|
|
35
|
-
* - missing/blank newPrompt
|
|
36
|
-
*
|
|
37
|
-
* `forkPoint` fields default to `null`/`0` when absent — the v1 manifest
|
|
38
|
-
* always emits them, but tolerating their absence keeps the projection
|
|
39
|
-
* forward-compatible with manifests authored by hand for testing.
|
|
40
|
-
*/
|
|
41
|
-
export declare function parseForkManifest(path: string): ParsedForkManifest;
|
|
42
|
-
/**
|
|
43
|
-
* Derive a default world name from the manifest's originalWorldId.
|
|
44
|
-
* Pattern: `fork-<originalWorldId>` truncated at 40 chars to match the
|
|
45
|
-
* existing slug bound used by `defaultNameFromPrompt` in create.ts.
|
|
46
|
-
*/
|
|
47
|
-
export declare function defaultNameFromManifest(manifest: ParsedForkManifest): string;
|
|
48
|
-
/**
|
|
49
|
-
* Human-readable provenance line printed at `olam create --from-manifest`
|
|
50
|
-
* time so the operator can confirm the fork they intended.
|
|
51
|
-
*/
|
|
52
|
-
export declare function provenanceLine(manifest: ParsedForkManifest): string;
|
|
53
|
-
//# sourceMappingURL=from-manifest.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"from-manifest.d.ts","sourceRoot":"","sources":["../src/from-manifest.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAIH,6EAA6E;AAC7E,MAAM,WAAW,kBAAkB;IACjC,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;IACjC,QAAQ,CAAC,SAAS,EAAE;QAClB,QAAQ,CAAC,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;QACtC,QAAQ,CAAC,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;QACvC,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;KAC7B,CAAC;IACF,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;CAC/B;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,GAAG,kBAAkB,CA+ClE;AAED;;;;GAIG;AACH,wBAAgB,uBAAuB,CAAC,QAAQ,EAAE,kBAAkB,GAAG,MAAM,CAO5E;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAAC,QAAQ,EAAE,kBAAkB,GAAG,MAAM,CAGnE"}
|
package/dist/from-manifest.js
DELETED
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Trace-replay v2 — `olam create --from-manifest <path>` support.
|
|
3
|
-
*
|
|
4
|
-
* Reads + validates a fork manifest written by `scripts/olam-trace-replay.mjs`
|
|
5
|
-
* (v1, ADR 041) and projects it into the inputs `olam create` needs:
|
|
6
|
-
* a `task` to dispatch and a default `name` to derive when the operator
|
|
7
|
-
* omits `--name`.
|
|
8
|
-
*
|
|
9
|
-
* Validation is strict-enough to catch malformed JSON, missing
|
|
10
|
-
* `newPrompt`, and shape-drift from the v1 schema, but tolerant of
|
|
11
|
-
* forward-compatible extensions (extra fields are ignored). Errors carry
|
|
12
|
-
* the path so the operator's first reflex — re-read the manifest — is
|
|
13
|
-
* already wired up.
|
|
14
|
-
*
|
|
15
|
-
* Pure module: no fs/network side effects beyond the single read.
|
|
16
|
-
* Side effects (logging, spinner, world provisioning) live in create.ts
|
|
17
|
-
* where they can be unit-tested against the action surface.
|
|
18
|
-
*/
|
|
19
|
-
import { readFileSync } from 'node:fs';
|
|
20
|
-
/**
|
|
21
|
-
* Read + parse a fork manifest. Throws a descriptive Error on:
|
|
22
|
-
* - file missing / unreadable
|
|
23
|
-
* - malformed JSON
|
|
24
|
-
* - missing/blank originalWorldId
|
|
25
|
-
* - missing/blank newPrompt
|
|
26
|
-
*
|
|
27
|
-
* `forkPoint` fields default to `null`/`0` when absent — the v1 manifest
|
|
28
|
-
* always emits them, but tolerating their absence keeps the projection
|
|
29
|
-
* forward-compatible with manifests authored by hand for testing.
|
|
30
|
-
*/
|
|
31
|
-
export function parseForkManifest(path) {
|
|
32
|
-
let raw;
|
|
33
|
-
try {
|
|
34
|
-
raw = readFileSync(path, 'utf8');
|
|
35
|
-
}
|
|
36
|
-
catch (err) {
|
|
37
|
-
const reason = err?.code === 'ENOENT'
|
|
38
|
-
? 'file does not exist'
|
|
39
|
-
: err.message;
|
|
40
|
-
throw new Error(`--from-manifest: cannot read ${path} (${reason})`);
|
|
41
|
-
}
|
|
42
|
-
let json;
|
|
43
|
-
try {
|
|
44
|
-
json = JSON.parse(raw);
|
|
45
|
-
}
|
|
46
|
-
catch (err) {
|
|
47
|
-
throw new Error(`--from-manifest: ${path} is not valid JSON (${err.message})`);
|
|
48
|
-
}
|
|
49
|
-
if (!isPlainObject(json)) {
|
|
50
|
-
throw new Error(`--from-manifest: ${path} root must be a JSON object`);
|
|
51
|
-
}
|
|
52
|
-
const originalWorldId = json.originalWorldId;
|
|
53
|
-
if (typeof originalWorldId !== 'string' || originalWorldId.trim().length === 0) {
|
|
54
|
-
throw new Error(`--from-manifest: ${path} missing required string "originalWorldId"`);
|
|
55
|
-
}
|
|
56
|
-
const newPrompt = json.newPrompt;
|
|
57
|
-
if (typeof newPrompt !== 'string' || newPrompt.trim().length === 0) {
|
|
58
|
-
throw new Error(`--from-manifest: ${path} has no "newPrompt" — re-run trace-replay with --with-prompt "<alternate dispatch>"`);
|
|
59
|
-
}
|
|
60
|
-
const fp = isPlainObject(json.forkPoint) ? json.forkPoint : {};
|
|
61
|
-
const resolvedPhase = typeof fp.resolvedPhase === 'string' ? fp.resolvedPhase : null;
|
|
62
|
-
const resolvedSpanId = typeof fp.resolvedSpanId === 'string' ? fp.resolvedSpanId : null;
|
|
63
|
-
const resolvedAt = typeof fp.resolvedAt === 'number' ? fp.resolvedAt : 0;
|
|
64
|
-
return {
|
|
65
|
-
originalWorldId: originalWorldId.trim(),
|
|
66
|
-
forkPoint: { resolvedPhase, resolvedSpanId, resolvedAt },
|
|
67
|
-
newPrompt,
|
|
68
|
-
manifestPath: path,
|
|
69
|
-
};
|
|
70
|
-
}
|
|
71
|
-
/**
|
|
72
|
-
* Derive a default world name from the manifest's originalWorldId.
|
|
73
|
-
* Pattern: `fork-<originalWorldId>` truncated at 40 chars to match the
|
|
74
|
-
* existing slug bound used by `defaultNameFromPrompt` in create.ts.
|
|
75
|
-
*/
|
|
76
|
-
export function defaultNameFromManifest(manifest) {
|
|
77
|
-
const base = `fork-${manifest.originalWorldId}`
|
|
78
|
-
.toLowerCase()
|
|
79
|
-
.replace(/[^a-z0-9-]/g, '-')
|
|
80
|
-
.replace(/-+/g, '-')
|
|
81
|
-
.replace(/^-|-$/g, '');
|
|
82
|
-
return (base || 'fork').slice(0, 40);
|
|
83
|
-
}
|
|
84
|
-
/**
|
|
85
|
-
* Human-readable provenance line printed at `olam create --from-manifest`
|
|
86
|
-
* time so the operator can confirm the fork they intended.
|
|
87
|
-
*/
|
|
88
|
-
export function provenanceLine(manifest) {
|
|
89
|
-
const phase = manifest.forkPoint.resolvedPhase ?? 'end-of-trace';
|
|
90
|
-
return `Forking from ${manifest.originalWorldId} @ phase=${phase} (manifest: ${manifest.manifestPath})`;
|
|
91
|
-
}
|
|
92
|
-
function isPlainObject(v) {
|
|
93
|
-
return typeof v === 'object' && v !== null && !Array.isArray(v);
|
|
94
|
-
}
|
|
95
|
-
//# sourceMappingURL=from-manifest.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"from-manifest.js","sourceRoot":"","sources":["../src/from-manifest.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAcvC;;;;;;;;;;GAUG;AACH,MAAM,UAAU,iBAAiB,CAAC,IAAY;IAC5C,IAAI,GAAW,CAAC;IAChB,IAAI,CAAC;QACH,GAAG,GAAG,YAAY,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;IACnC,CAAC;IAAC,OAAO,GAAG,EAAE,CAAC;QACb,MAAM,MAAM,GAAI,GAA6B,EAAE,IAAI,KAAK,QAAQ;YAC9D,CAAC,CAAC,qBAAqB;YACvB,CAAC,CAAE,GAAa,CAAC,OAAO,CAAC;QAC3B,MAAM,IAAI,KAAK,CAAC,gCAAgC,IAAI,KAAK,MAAM,GAAG,CAAC,CAAC;IACtE,CAAC;IAED,IAAI,IAAa,CAAC;IAClB,IAAI,CAAC;QACH,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IACzB,CAAC;IAAC,OAAO,GAAG,EAAE,CAAC;QACb,MAAM,IAAI,KAAK,CAAC,oBAAoB,IAAI,uBAAwB,GAAa,CAAC,OAAO,GAAG,CAAC,CAAC;IAC5F,CAAC;IAED,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,EAAE,CAAC;QACzB,MAAM,IAAI,KAAK,CAAC,oBAAoB,IAAI,6BAA6B,CAAC,CAAC;IACzE,CAAC;IAED,MAAM,eAAe,GAAG,IAAI,CAAC,eAAe,CAAC;IAC7C,IAAI,OAAO,eAAe,KAAK,QAAQ,IAAI,eAAe,CAAC,IAAI,EAAE,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QAC/E,MAAM,IAAI,KAAK,CAAC,oBAAoB,IAAI,4CAA4C,CAAC,CAAC;IACxF,CAAC;IAED,MAAM,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC;IACjC,IAAI,OAAO,SAAS,KAAK,QAAQ,IAAI,SAAS,CAAC,IAAI,EAAE,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACnE,MAAM,IAAI,KAAK,CACb,oBAAoB,IAAI,qFAAqF,CAC9G,CAAC;IACJ,CAAC;IAED,MAAM,EAAE,GAAG,aAAa,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC;IAC/D,MAAM,aAAa,GACjB,OAAO,EAAE,CAAC,aAAa,KAAK,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,aAAa,CAAC,CAAC,CAAC,IAAI,CAAC;IACjE,MAAM,cAAc,GAClB,OAAO,EAAE,CAAC,cAAc,KAAK,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,cAAc,CAAC,CAAC,CAAC,IAAI,CAAC;IACnE,MAAM,UAAU,GAAG,OAAO,EAAE,CAAC,UAAU,KAAK,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC;IAEzE,OAAO;QACL,eAAe,EAAE,eAAe,CAAC,IAAI,EAAE;QACvC,SAAS,EAAE,EAAE,aAAa,EAAE,cAAc,EAAE,UAAU,EAAE;QACxD,SAAS;QACT,YAAY,EAAE,IAAI;KACnB,CAAC;AACJ,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,uBAAuB,CAAC,QAA4B;IAClE,MAAM,IAAI,GAAG,QAAQ,QAAQ,CAAC,eAAe,EAAE;SAC5C,WAAW,EAAE;SACb,OAAO,CAAC,aAAa,EAAE,GAAG,CAAC;SAC3B,OAAO,CAAC,KAAK,EAAE,GAAG,CAAC;SACnB,OAAO,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC;IACzB,OAAO,CAAC,IAAI,IAAI,MAAM,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;AACvC,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,cAAc,CAAC,QAA4B;IACzD,MAAM,KAAK,GAAG,QAAQ,CAAC,SAAS,CAAC,aAAa,IAAI,cAAc,CAAC;IACjE,OAAO,gBAAgB,QAAQ,CAAC,eAAe,YAAY,KAAK,eAAe,QAAQ,CAAC,YAAY,GAAG,CAAC;AAC1G,CAAC;AAED,SAAS,aAAa,CAAC,CAAU;IAC/B,OAAO,OAAO,CAAC,KAAK,QAAQ,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;AAClE,CAAC"}
|
package/dist/image-presence.d.ts
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Image-presence pre-flight + fail-fast hint.
|
|
3
|
-
*
|
|
4
|
-
* Implements Decision #6 (revised pass 3) — `olam bootstrap` is the
|
|
5
|
-
* SOLE on-ramp; existing commands (`host-cp start`, `auth up`, `create`)
|
|
6
|
-
* do NOT auto-pull on missing image. Instead they fail-fast with a
|
|
7
|
-
* named remedy pointing operators at bootstrap.
|
|
8
|
-
*
|
|
9
|
-
* Why no auto-pull:
|
|
10
|
-
* - Eliminates ~150 LOC of dual-path maintenance (Phase 2 review's
|
|
11
|
-
* OQ39 finding).
|
|
12
|
-
* - Predictable: there's exactly ONE place that can pull images
|
|
13
|
-
* (`olam bootstrap`), so support questions ("which command pulled
|
|
14
|
-
* the wrong digest?") have a single answer.
|
|
15
|
-
* - The hint operators see is the same regardless of which command
|
|
16
|
-
* they tried — easier to remember.
|
|
17
|
-
*/
|
|
18
|
-
export interface DockerImageInspectFn {
|
|
19
|
-
(imageRef: string): {
|
|
20
|
-
exitCode: number;
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
export interface RequireImageInput {
|
|
24
|
-
readonly imageRef: string;
|
|
25
|
-
/**
|
|
26
|
-
* The CLI command that's asking. Surfaced in the remedy line so the
|
|
27
|
-
* operator knows which command failed (helps with screenshots).
|
|
28
|
-
*/
|
|
29
|
-
readonly callerCommand: string;
|
|
30
|
-
}
|
|
31
|
-
export interface RequireImageDecision {
|
|
32
|
-
readonly imageRef: string;
|
|
33
|
-
readonly present: boolean;
|
|
34
|
-
/**
|
|
35
|
-
* Empty when present; the named remedy line (stderr) when absent.
|
|
36
|
-
*/
|
|
37
|
-
readonly stderrLine: string;
|
|
38
|
-
}
|
|
39
|
-
export declare function checkImagePresent(input: RequireImageInput, inspect?: DockerImageInspectFn): RequireImageDecision;
|
|
40
|
-
//# sourceMappingURL=image-presence.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"image-presence.d.ts","sourceRoot":"","sources":["../src/image-presence.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAIH,MAAM,WAAW,oBAAoB;IACnC,CAAC,QAAQ,EAAE,MAAM,GAAG;QAAE,QAAQ,EAAE,MAAM,CAAA;KAAE,CAAC;CAC1C;AAWD,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B;;;OAGG;IACH,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;CAChC;AAED,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAC1B;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;CAC7B;AAED,wBAAgB,iBAAiB,CAC/B,KAAK,EAAE,iBAAiB,EACxB,OAAO,GAAE,oBAA6C,GACrD,oBAAoB,CAkBtB"}
|
package/dist/image-presence.js
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Image-presence pre-flight + fail-fast hint.
|
|
3
|
-
*
|
|
4
|
-
* Implements Decision #6 (revised pass 3) — `olam bootstrap` is the
|
|
5
|
-
* SOLE on-ramp; existing commands (`host-cp start`, `auth up`, `create`)
|
|
6
|
-
* do NOT auto-pull on missing image. Instead they fail-fast with a
|
|
7
|
-
* named remedy pointing operators at bootstrap.
|
|
8
|
-
*
|
|
9
|
-
* Why no auto-pull:
|
|
10
|
-
* - Eliminates ~150 LOC of dual-path maintenance (Phase 2 review's
|
|
11
|
-
* OQ39 finding).
|
|
12
|
-
* - Predictable: there's exactly ONE place that can pull images
|
|
13
|
-
* (`olam bootstrap`), so support questions ("which command pulled
|
|
14
|
-
* the wrong digest?") have a single answer.
|
|
15
|
-
* - The hint operators see is the same regardless of which command
|
|
16
|
-
* they tried — easier to remember.
|
|
17
|
-
*/
|
|
18
|
-
import { spawnSync } from 'node:child_process';
|
|
19
|
-
const realDockerImageInspect = (imageRef) => {
|
|
20
|
-
const result = spawnSync('docker', ['image', 'inspect', imageRef, '--format', '{{.Id}}'], { encoding: 'utf8', timeout: 10_000 });
|
|
21
|
-
return { exitCode: result.status ?? -1 };
|
|
22
|
-
};
|
|
23
|
-
export function checkImagePresent(input, inspect = realDockerImageInspect) {
|
|
24
|
-
const { imageRef, callerCommand } = input;
|
|
25
|
-
const result = inspect(imageRef);
|
|
26
|
-
if (result.exitCode === 0) {
|
|
27
|
-
return { imageRef, present: true, stderrLine: '' };
|
|
28
|
-
}
|
|
29
|
-
return {
|
|
30
|
-
imageRef,
|
|
31
|
-
present: false,
|
|
32
|
-
stderrLine: `Error: image '${imageRef}' not found locally.\n` +
|
|
33
|
-
` ${callerCommand} does not auto-pull (per Decision #6 in the` +
|
|
34
|
-
` olam-fresh-install-self-bootstrap epic).\n` +
|
|
35
|
-
` Remedy: run \`olam bootstrap\` to pull all required images,` +
|
|
36
|
-
` then retry.`,
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
//# sourceMappingURL=image-presence.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"image-presence.js","sourceRoot":"","sources":["../src/image-presence.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAM/C,MAAM,sBAAsB,GAAyB,CAAC,QAAQ,EAAE,EAAE;IAChE,MAAM,MAAM,GAAG,SAAS,CACtB,QAAQ,EACR,CAAC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,UAAU,EAAE,SAAS,CAAC,EACrD,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,CACtC,CAAC;IACF,OAAO,EAAE,QAAQ,EAAE,MAAM,CAAC,MAAM,IAAI,CAAC,CAAC,EAAE,CAAC;AAC3C,CAAC,CAAC;AAoBF,MAAM,UAAU,iBAAiB,CAC/B,KAAwB,EACxB,UAAgC,sBAAsB;IAEtD,MAAM,EAAE,QAAQ,EAAE,aAAa,EAAE,GAAG,KAAK,CAAC;IAC1C,MAAM,MAAM,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC;IAEjC,IAAI,MAAM,CAAC,QAAQ,KAAK,CAAC,EAAE,CAAC;QAC1B,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,EAAE,EAAE,CAAC;IACrD,CAAC;IAED,OAAO;QACL,QAAQ;QACR,OAAO,EAAE,KAAK;QACd,UAAU,EACR,iBAAiB,QAAQ,wBAAwB;YACjD,KAAK,aAAa,6CAA6C;YAC/D,6CAA6C;YAC7C,+DAA+D;YAC/D,cAAc;KACjB,CAAC;AACJ,CAAC"}
|
package/dist/index.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
/**
|
|
3
|
-
* @olam/cli — Standalone CLI for the Olam agentic thinking platform.
|
|
4
|
-
*
|
|
5
|
-
* Commands mirror the MCP server tools, delegating to the same
|
|
6
|
-
* core functions (WorldManager, CostTracker, etc.).
|
|
7
|
-
*/
|
|
8
|
-
export {};
|
|
9
|
-
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAEA;;;;;GAKG"}
|
package/dist/install-root.d.ts
DELETED
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Phase B (olam-fresh-install-self-bootstrap) — B6.
|
|
3
|
-
*
|
|
4
|
-
* `installRoot()` + `isDevMode()` — the seam between an installed
|
|
5
|
-
* @pleri/olam-cli and a monorepo clone. Three CLI commands need to
|
|
6
|
-
* shell out to `packages/adapters/src/docker/build-*.sh` (legacy
|
|
7
|
-
* source-build paths from before Phase B's image registry):
|
|
8
|
-
*
|
|
9
|
-
* - olam auth upgrade --from-source
|
|
10
|
-
* - olam upgrade --from-source
|
|
11
|
-
* - olam create --rebuild-base
|
|
12
|
-
*
|
|
13
|
-
* From an installed CLI, those scripts don't exist (the published
|
|
14
|
-
* tarball ships dist/ + plugin/ + host-cp/ — not the build scripts).
|
|
15
|
-
* From a monorepo clone, they do.
|
|
16
|
-
*
|
|
17
|
-
* Decision #1 (Phase B) carries-forward Decision #1 (Phase C revision):
|
|
18
|
-
* dev mode is a 2-condition opt-in:
|
|
19
|
-
* 1. OLAM_DEV=1 in the environment
|
|
20
|
-
* 2. A `packages/` sibling exists at the installRoot
|
|
21
|
-
*
|
|
22
|
-
* Both must be true. The OLAM_DEV flag prevents a stray `packages/`
|
|
23
|
-
* directory adjacent to a global npm install from accidentally
|
|
24
|
-
* activating source-build paths (still imperfect — see S10's deferred
|
|
25
|
-
* 4-condition opt-in for full path-traversal hardening — but adequate
|
|
26
|
-
* for the local-dev / dogfood audience the epic targets).
|
|
27
|
-
*
|
|
28
|
-
* S10 simplified the 4-condition opt-in (uid match + sentinel file)
|
|
29
|
-
* to 2-condition per the user's "perf + leak/logic over security
|
|
30
|
-
* hardening" reframe in pass 3.
|
|
31
|
-
*/
|
|
32
|
-
/**
|
|
33
|
-
* Returns the absolute path to the package's install root.
|
|
34
|
-
*
|
|
35
|
-
* - Locally (from src/): /<repo>/packages/cli
|
|
36
|
-
* - Globally installed: /<global-prefix>/lib/node_modules/@pleri/olam-cli
|
|
37
|
-
* - From dist/index.js: /<global-prefix>/lib/node_modules/@pleri/olam-cli
|
|
38
|
-
*
|
|
39
|
-
* Implementation: this file lives at <pkg>/src/install-root.ts (dev)
|
|
40
|
-
* or <pkg>/dist/install-root.js (when bundled). Walking up one directory
|
|
41
|
-
* from this file's location lands at <pkg> in both cases — the
|
|
42
|
-
* `import.meta.url`-resolved dirname. The fileURLToPath conversion
|
|
43
|
-
* handles `file:` URLs cleanly across platforms (Windows-forward-slash
|
|
44
|
-
* tolerance comes for free from path.dirname).
|
|
45
|
-
*/
|
|
46
|
-
export declare function installRoot(metaUrl?: string): string;
|
|
47
|
-
/**
|
|
48
|
-
* 2-condition dev-mode detection.
|
|
49
|
-
*
|
|
50
|
-
* @param env - Process env. Defaults to `process.env`. Injectable for tests.
|
|
51
|
-
* @param installRootDir - Where to look for the `packages/` sibling. Defaults
|
|
52
|
-
* to `installRoot()`. Injectable for tests.
|
|
53
|
-
*/
|
|
54
|
-
export declare function isDevMode(env?: NodeJS.ProcessEnv, installRootDir?: string): boolean;
|
|
55
|
-
/**
|
|
56
|
-
* Resolve the path to a build script under packages/adapters/src/docker/.
|
|
57
|
-
* In dev mode → returns the absolute path to the source script.
|
|
58
|
-
* In install mode → throws `MissingBuildScriptError` with a named remedy.
|
|
59
|
-
*
|
|
60
|
-
* The exception, not exit-code path, lets call sites decide whether to
|
|
61
|
-
* recover gracefully (e.g. fall back to a pull-by-digest path) or just
|
|
62
|
-
* surface to stderr + exit. Phase C's C6 will use the recover-gracefully
|
|
63
|
-
* path; today's three call sites just exit.
|
|
64
|
-
*/
|
|
65
|
-
export declare class MissingBuildScriptError extends Error {
|
|
66
|
-
constructor(scriptRelPath: string);
|
|
67
|
-
}
|
|
68
|
-
export interface ResolveBuildScriptInput {
|
|
69
|
-
readonly scriptRelPath: string;
|
|
70
|
-
readonly env?: NodeJS.ProcessEnv;
|
|
71
|
-
readonly installRootDir?: string;
|
|
72
|
-
}
|
|
73
|
-
export declare function resolveBuildScript(input: ResolveBuildScriptInput): string;
|
|
74
|
-
//# sourceMappingURL=install-root.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"install-root.d.ts","sourceRoot":"","sources":["../src/install-root.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AAMH;;;;;;;;;;;;;GAaG;AACH,wBAAgB,WAAW,CAAC,OAAO,GAAE,MAAwB,GAAG,MAAM,CAIrE;AAED;;;;;;GAMG;AACH,wBAAgB,SAAS,CACvB,GAAG,GAAE,MAAM,CAAC,UAAwB,EACpC,cAAc,GAAE,MAAsB,GACrC,OAAO,CAMT;AAED;;;;;;;;;GASG;AACH,qBAAa,uBAAwB,SAAQ,KAAK;gBACpC,aAAa,EAAE,MAAM;CAWlC;AAED,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC,UAAU,CAAC;IACjC,QAAQ,CAAC,cAAc,CAAC,EAAE,MAAM,CAAC;CAClC;AAED,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,uBAAuB,GAAG,MAAM,CAOzE"}
|