@quolu/lattice 0.1.0 → 0.12.2
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 +87 -4
- package/bin/lattice-bridge.mjs +87 -0
- package/bin/lattice-dashboard.mjs +70 -0
- package/bin/lattice-mcp.mjs +9 -9
- package/bin/lattice.mjs +61 -8
- package/docs/bridge-setup.md +87 -0
- package/docs/schemas/lattice.plan_create_input.v1.schema.json +56 -0
- package/docs/schemas/lattice.plan_create_input.v2.schema.json +72 -0
- package/docs/schemas/lattice.plan_create_input.v3.schema.json +81 -0
- package/package.json +19 -7
- package/sensor/dist/bin/command-supervision.d.ts +1 -1
- package/sensor/dist/bin/command-supervision.js +4 -4
- package/sensor/dist/bin/command-supervision.js.map +1 -1
- package/sensor/dist/bin/fatal-handler.js +2 -2
- package/sensor/dist/bin/fatal-handler.js.map +1 -1
- package/sensor/dist/bin/{codegraph.js → lattice-sensor.js} +207 -328
- package/sensor/dist/bin/node-version-check.d.ts +7 -5
- package/sensor/dist/bin/node-version-check.d.ts.map +1 -1
- package/sensor/dist/bin/node-version-check.js +19 -14
- package/sensor/dist/bin/node-version-check.js.map +1 -1
- package/sensor/dist/context/index.d.ts +1 -1
- package/sensor/dist/context/index.js +6 -6
- package/sensor/dist/context/index.js.map +1 -1
- package/sensor/dist/db/index.d.ts +5 -5
- package/sensor/dist/db/index.d.ts.map +1 -1
- package/sensor/dist/db/index.js +7 -7
- package/sensor/dist/db/index.js.map +1 -1
- package/sensor/dist/db/migrations.js +1 -1
- package/sensor/dist/db/migrations.js.map +1 -1
- package/sensor/dist/db/queries.d.ts +1 -1
- package/sensor/dist/db/queries.js +5 -5
- package/sensor/dist/db/queries.js.map +1 -1
- package/sensor/dist/db/schema.sql +2 -2
- package/sensor/dist/db/sqlite-adapter.d.ts +2 -2
- package/sensor/dist/db/sqlite-adapter.js +3 -3
- package/sensor/dist/db/sqlite-adapter.js.map +1 -1
- package/sensor/dist/db/wal-valve.d.ts +1 -1
- package/sensor/dist/db/wal-valve.d.ts.map +1 -1
- package/sensor/dist/db/wal-valve.js +2 -2
- package/sensor/dist/db/wal-valve.js.map +1 -1
- package/sensor/dist/directory.d.ts +27 -63
- package/sensor/dist/directory.d.ts.map +1 -1
- package/sensor/dist/directory.js +78 -134
- package/sensor/dist/directory.js.map +1 -1
- package/sensor/dist/errors.d.ts +15 -15
- package/sensor/dist/errors.d.ts.map +1 -1
- package/sensor/dist/errors.js +21 -21
- package/sensor/dist/errors.js.map +1 -1
- package/sensor/dist/extraction/dynamic-import.d.ts +1 -1
- package/sensor/dist/extraction/dynamic-import.js +1 -1
- package/sensor/dist/extraction/extraction-version.d.ts +1 -1
- package/sensor/dist/extraction/extraction-version.js +1 -1
- package/sensor/dist/extraction/generated-detection.d.ts +1 -1
- package/sensor/dist/extraction/generated-detection.js +1 -1
- package/sensor/dist/extraction/grammars.d.ts +3 -3
- package/sensor/dist/extraction/grammars.js +5 -5
- package/sensor/dist/extraction/grammars.js.map +1 -1
- package/sensor/dist/extraction/index.d.ts +6 -6
- package/sensor/dist/extraction/index.js +50 -50
- package/sensor/dist/extraction/index.js.map +1 -1
- package/sensor/dist/extraction/kernel/decode.d.ts +1 -1
- package/sensor/dist/extraction/kernel/decode.js +1 -1
- package/sensor/dist/extraction/kernel/index.d.ts +3 -3
- package/sensor/dist/extraction/kernel/index.js +6 -6
- package/sensor/dist/extraction/kernel/index.js.map +1 -1
- package/sensor/dist/extraction/kernel/layout.d.ts +1 -1
- package/sensor/dist/extraction/kernel/layout.js +1 -1
- package/sensor/dist/extraction/kernel/loader.d.ts +6 -6
- package/sensor/dist/extraction/kernel/loader.js +13 -13
- package/sensor/dist/extraction/kernel/loader.js.map +1 -1
- package/sensor/dist/extraction/languages/cfquery.d.ts +1 -1
- package/sensor/dist/extraction/languages/cfquery.js +1 -1
- package/sensor/dist/extraction/languages/lua.d.ts +11 -0
- package/sensor/dist/extraction/languages/lua.d.ts.map +1 -1
- package/sensor/dist/extraction/languages/lua.js +1 -0
- package/sensor/dist/extraction/languages/lua.js.map +1 -1
- package/sensor/dist/extraction/parse-pool.d.ts +5 -5
- package/sensor/dist/extraction/parse-pool.d.ts.map +1 -1
- package/sensor/dist/extraction/parse-pool.js +4 -4
- package/sensor/dist/extraction/parse-worker.js +1 -1
- package/sensor/dist/extraction/parse-worker.js.map +1 -1
- package/sensor/dist/extraction/store-writer.d.ts +1 -1
- package/sensor/dist/extraction/store-writer.js +1 -1
- package/sensor/dist/extraction/svelte-extractor.d.ts +1 -1
- package/sensor/dist/extraction/svelte-extractor.js +1 -1
- package/sensor/dist/extraction/tree-sitter-helpers.js +1 -1
- package/sensor/dist/extraction/tree-sitter.d.ts +2 -2
- package/sensor/dist/extraction/tree-sitter.d.ts.map +1 -1
- package/sensor/dist/extraction/tree-sitter.js +71 -4
- package/sensor/dist/extraction/tree-sitter.js.map +1 -1
- package/sensor/dist/extraction/wasm-runtime-flags.d.ts +2 -2
- package/sensor/dist/extraction/wasm-runtime-flags.d.ts.map +1 -1
- package/sensor/dist/extraction/wasm-runtime-flags.js +5 -5
- package/sensor/dist/extraction/wasm-runtime-flags.js.map +1 -1
- package/sensor/dist/index.d.ts +36 -36
- package/sensor/dist/index.d.ts.map +1 -1
- package/sensor/dist/index.js +71 -71
- package/sensor/dist/index.js.map +1 -1
- package/sensor/dist/mcp/daemon-manager.js +1 -1
- package/sensor/dist/mcp/daemon-paths.d.ts +3 -3
- package/sensor/dist/mcp/daemon-paths.js +7 -7
- package/sensor/dist/mcp/daemon-paths.js.map +1 -1
- package/sensor/dist/mcp/daemon-registry.d.ts +2 -2
- package/sensor/dist/mcp/daemon-registry.js +5 -5
- package/sensor/dist/mcp/daemon.d.ts +7 -7
- package/sensor/dist/mcp/daemon.d.ts.map +1 -1
- package/sensor/dist/mcp/daemon.js +21 -21
- package/sensor/dist/mcp/daemon.js.map +1 -1
- package/sensor/dist/mcp/dynamic-boundaries.js +1 -1
- package/sensor/dist/mcp/engine.d.ts +9 -9
- package/sensor/dist/mcp/engine.d.ts.map +1 -1
- package/sensor/dist/mcp/engine.js +44 -44
- package/sensor/dist/mcp/engine.js.map +1 -1
- package/sensor/dist/mcp/index.d.ts +14 -14
- package/sensor/dist/mcp/index.d.ts.map +1 -1
- package/sensor/dist/mcp/index.js +41 -41
- package/sensor/dist/mcp/index.js.map +1 -1
- package/sensor/dist/mcp/liveness-watchdog.js +7 -7
- package/sensor/dist/mcp/liveness-watchdog.js.map +1 -1
- package/sensor/dist/mcp/ppid-watchdog.d.ts +3 -3
- package/sensor/dist/mcp/ppid-watchdog.js +2 -2
- package/sensor/dist/mcp/proxy.d.ts.map +1 -1
- package/sensor/dist/mcp/proxy.js +37 -37
- package/sensor/dist/mcp/proxy.js.map +1 -1
- package/sensor/dist/mcp/query-pool.d.ts +3 -3
- package/sensor/dist/mcp/query-pool.js +7 -7
- package/sensor/dist/mcp/query-pool.js.map +1 -1
- package/sensor/dist/mcp/query-worker.d.ts +2 -2
- package/sensor/dist/mcp/query-worker.js +7 -7
- package/sensor/dist/mcp/query-worker.js.map +1 -1
- package/sensor/dist/mcp/server-instructions.d.ts +10 -12
- package/sensor/dist/mcp/server-instructions.d.ts.map +1 -1
- package/sensor/dist/mcp/server-instructions.js +39 -37
- package/sensor/dist/mcp/server-instructions.js.map +1 -1
- package/sensor/dist/mcp/session.d.ts +2 -2
- package/sensor/dist/mcp/session.js +18 -18
- package/sensor/dist/mcp/session.js.map +1 -1
- package/sensor/dist/mcp/startup-handshake.d.ts +3 -3
- package/sensor/dist/mcp/startup-handshake.d.ts.map +1 -1
- package/sensor/dist/mcp/startup-handshake.js +3 -3
- package/sensor/dist/mcp/startup-handshake.js.map +1 -1
- package/sensor/dist/mcp/tools.d.ts +53 -53
- package/sensor/dist/mcp/tools.d.ts.map +1 -1
- package/sensor/dist/mcp/tools.js +180 -216
- package/sensor/dist/mcp/tools.js.map +1 -1
- package/sensor/dist/mcp/transport.d.ts +1 -1
- package/sensor/dist/mcp/transport.js +6 -6
- package/sensor/dist/mcp/transport.js.map +1 -1
- package/sensor/dist/mcp/version.d.ts +2 -2
- package/sensor/dist/mcp/version.d.ts.map +1 -1
- package/sensor/dist/mcp/version.js +3 -3
- package/sensor/dist/mcp/version.js.map +1 -1
- package/sensor/dist/project-config.d.ts +6 -6
- package/sensor/dist/project-config.d.ts.map +1 -1
- package/sensor/dist/project-config.js +10 -10
- package/sensor/dist/project-config.js.map +1 -1
- package/sensor/dist/resolution/callback-synthesizer.js +4 -4
- package/sensor/dist/resolution/callback-synthesizer.js.map +1 -1
- package/sensor/dist/resolution/frameworks/drupal.d.ts +3 -3
- package/sensor/dist/resolution/frameworks/drupal.js +3 -3
- package/sensor/dist/resolution/frameworks/fabric.js +1 -1
- package/sensor/dist/resolution/frameworks/fabric.js.map +1 -1
- package/sensor/dist/resolution/frameworks/java.js +1 -1
- package/sensor/dist/resolution/frameworks/java.js.map +1 -1
- package/sensor/dist/resolution/frameworks/svelte.js +1 -1
- package/sensor/dist/resolution/frameworks/svelte.js.map +1 -1
- package/sensor/dist/resolution/goframe-synthesizer.d.ts +1 -1
- package/sensor/dist/resolution/goframe-synthesizer.js +1 -1
- package/sensor/dist/resolution/index.d.ts +1 -1
- package/sensor/dist/resolution/index.js +9 -9
- package/sensor/dist/resolution/index.js.map +1 -1
- package/sensor/dist/resolution/name-matcher.js +2 -2
- package/sensor/dist/resolution/name-matcher.js.map +1 -1
- package/sensor/dist/resolution/resolver-pool.d.ts +2 -2
- package/sensor/dist/resolution/resolver-pool.js +4 -4
- package/sensor/dist/resolution/resolver-pool.js.map +1 -1
- package/sensor/dist/resolution/resolver-worker.js +2 -2
- package/sensor/dist/resolution/resolver-worker.js.map +1 -1
- package/sensor/dist/resolution/workspace-packages.js +1 -1
- package/sensor/dist/resolution/workspace-packages.js.map +1 -1
- package/sensor/dist/search/identifier-segments.d.ts +1 -1
- package/sensor/dist/search/identifier-segments.js +1 -1
- package/sensor/dist/search/query-utils.d.ts +1 -0
- package/sensor/dist/search/query-utils.d.ts.map +1 -1
- package/sensor/dist/search/query-utils.js +10 -3
- package/sensor/dist/search/query-utils.js.map +1 -1
- package/sensor/dist/sync/git-hooks.d.ts +9 -9
- package/sensor/dist/sync/git-hooks.d.ts.map +1 -1
- package/sensor/dist/sync/git-hooks.js +15 -15
- package/sensor/dist/sync/git-hooks.js.map +1 -1
- package/sensor/dist/sync/watch-policy.d.ts +2 -2
- package/sensor/dist/sync/watch-policy.js +5 -5
- package/sensor/dist/sync/watch-policy.js.map +1 -1
- package/sensor/dist/sync/watcher.d.ts +2 -2
- package/sensor/dist/sync/watcher.d.ts.map +1 -1
- package/sensor/dist/sync/watcher.js +16 -16
- package/sensor/dist/sync/watcher.js.map +1 -1
- package/sensor/dist/sync/worktree.d.ts +5 -5
- package/sensor/dist/sync/worktree.d.ts.map +1 -1
- package/sensor/dist/sync/worktree.js +9 -9
- package/sensor/dist/sync/worktree.js.map +1 -1
- package/sensor/dist/telemetry/index.d.ts +8 -8
- package/sensor/dist/telemetry/index.d.ts.map +1 -1
- package/sensor/dist/telemetry/index.js +16 -16
- package/sensor/dist/telemetry/index.js.map +1 -1
- package/sensor/dist/types.d.ts +2 -2
- package/sensor/dist/types.js +1 -1
- package/sensor/dist/ui/color.d.ts +2 -2
- package/sensor/dist/ui/color.js +2 -2
- package/sensor/dist/ui/glyphs.d.ts +3 -3
- package/sensor/dist/ui/glyphs.js +7 -7
- package/sensor/dist/ui/glyphs.js.map +1 -1
- package/sensor/dist/utils.d.ts +4 -4
- package/sensor/dist/utils.js +8 -8
- package/sensor/dist/utils.js.map +1 -1
- package/sensor/package.json +8 -13
- package/src/artifact-contracts.mjs +2 -2
- package/src/boundary-compiler.mjs +28 -28
- package/src/boundary-observation-compiler-v2.mjs +10 -10
- package/src/bounded-seam.mjs +144 -0
- package/src/bridge-cli.mjs +227 -0
- package/src/bridge-config.mjs +346 -0
- package/src/bridge-daemon.mjs +328 -0
- package/src/bridge-launch-agent.mjs +311 -0
- package/src/bridge-server.mjs +309 -0
- package/src/cli-help.mjs +163 -0
- package/src/control-compiler.mjs +30 -30
- package/src/dag-chain.mjs +261 -0
- package/src/factory-diagnostics.mjs +8 -7
- package/src/hash-chain.mjs +76 -0
- package/src/node-version-guard.mjs +5 -4
- package/src/project-cli.mjs +392 -0
- package/src/project-identity.mjs +71 -0
- package/src/rc1-evidence-bundle.mjs +16 -16
- package/src/rc1-v4-campaign.mjs +15 -14
- package/src/rc1-v5-artifact-set.mjs +2 -2
- package/src/rc1-v5-campaign.mjs +15 -14
- package/src/rc1-v6-artifact-set.mjs +18 -18
- package/src/rc1-v6-campaign.mjs +16 -16
- package/src/rc1-v6-causal-binding.mjs +16 -14
- package/src/rc1-v6-measurement.mjs +20 -38
- package/src/rc2-artifact-set.mjs +45 -40
- package/src/rc2-campaign.mjs +48 -66
- package/src/rc2-delivery-policy-front-end.mjs +30 -30
- package/src/rc2-rc1-transfer-front-end.mjs +5 -5
- package/src/rc3-actual-dogfood.mjs +6 -6
- package/src/rc3-dogfood-scaffold.mjs +12 -7
- package/src/rc3-scripted-campaign.mjs +75 -21
- package/src/rc4-stage1-dogfood.mjs +24 -7
- package/src/runtime-cli.mjs +2424 -45
- package/src/runtime-contracts.mjs +7 -7
- package/src/runtime-control-store.mjs +547 -0
- package/src/runtime-controller-protocol.mjs +517 -0
- package/src/runtime-direct-os-observer.mjs +284 -0
- package/src/runtime-engine.mjs +2 -2
- package/src/runtime-errors.mjs +1 -1
- package/src/runtime-event-store.mjs +15 -43
- package/src/runtime-front-end.mjs +26 -26
- package/src/runtime-gate-store.mjs +477 -0
- package/src/runtime-hold-recompile.mjs +214 -23
- package/src/runtime-lifecycle-lock.mjs +290 -0
- package/src/runtime-managed-supervisor.mjs +1276 -0
- package/src/runtime-multi-epoch-store.mjs +761 -0
- package/src/runtime-projection.mjs +62 -0
- package/src/seam-transform.mjs +38 -38
- package/src/{codegraph-adapter.mjs → sensor-adapter.mjs} +7 -7
- package/src/sensor-cli.mjs +107 -0
- package/src/sensor-runtime.mjs +48 -0
- package/src/timestamp-contract.mjs +8 -0
- package/src/todo-chain.mjs +178 -0
- package/src/todo-cli.mjs +1032 -0
- package/src/todo-contracts.mjs +501 -0
- package/src/todo-dashboard-registry.mjs +318 -0
- package/src/todo-gantt-html.mjs +416 -0
- package/src/todo-gantt-layout.mjs +603 -0
- package/src/todo-gantt-live.mjs +269 -0
- package/src/todo-gantt-presentation.mjs +217 -0
- package/src/todo-gantt-svg.mjs +249 -0
- package/src/todo-markdown-renderer.mjs +260 -0
- package/src/todo-migration.mjs +260 -0
- package/src/todo-narrative-anchor.mjs +130 -0
- package/src/todo-revision.mjs +425 -0
- package/src/todo-status.mjs +340 -0
- package/src/todo-store.mjs +3451 -0
- package/src/treatment-compiler.mjs +28 -28
- package/src/treatment-runner.mjs +42 -44
- package/sensor/dist/bin/codegraph.d.ts +0 -26
- package/sensor/dist/bin/codegraph.d.ts.map +0 -1
- package/sensor/dist/bin/codegraph.js.map +0 -1
- package/sensor/dist/bin/uninstall.d.ts +0 -14
- package/sensor/dist/bin/uninstall.d.ts.map +0 -1
- package/sensor/dist/bin/uninstall.js +0 -36
- package/sensor/dist/bin/uninstall.js.map +0 -1
- package/sensor/dist/installer/beta-signup.d.ts +0 -54
- package/sensor/dist/installer/beta-signup.d.ts.map +0 -1
- package/sensor/dist/installer/beta-signup.js +0 -178
- package/sensor/dist/installer/beta-signup.js.map +0 -1
- package/sensor/dist/installer/config-writer.d.ts +0 -28
- package/sensor/dist/installer/config-writer.d.ts.map +0 -1
- package/sensor/dist/installer/config-writer.js +0 -91
- package/sensor/dist/installer/config-writer.js.map +0 -1
- package/sensor/dist/installer/index.d.ts +0 -142
- package/sensor/dist/installer/index.d.ts.map +0 -1
- package/sensor/dist/installer/index.js +0 -622
- package/sensor/dist/installer/index.js.map +0 -1
- package/sensor/dist/installer/instructions-template.d.ts +0 -41
- package/sensor/dist/installer/instructions-template.d.ts.map +0 -1
- package/sensor/dist/installer/instructions-template.js +0 -53
- package/sensor/dist/installer/instructions-template.js.map +0 -1
- package/sensor/dist/installer/targets/antigravity.d.ts +0 -57
- package/sensor/dist/installer/targets/antigravity.d.ts.map +0 -1
- package/sensor/dist/installer/targets/antigravity.js +0 -308
- package/sensor/dist/installer/targets/antigravity.js.map +0 -1
- package/sensor/dist/installer/targets/claude.d.ts +0 -62
- package/sensor/dist/installer/targets/claude.d.ts.map +0 -1
- package/sensor/dist/installer/targets/claude.js +0 -454
- package/sensor/dist/installer/targets/claude.js.map +0 -1
- package/sensor/dist/installer/targets/codex.d.ts +0 -18
- package/sensor/dist/installer/targets/codex.d.ts.map +0 -1
- package/sensor/dist/installer/targets/codex.js +0 -185
- package/sensor/dist/installer/targets/codex.js.map +0 -1
- package/sensor/dist/installer/targets/cursor.d.ts +0 -35
- package/sensor/dist/installer/targets/cursor.d.ts.map +0 -1
- package/sensor/dist/installer/targets/cursor.js +0 -254
- package/sensor/dist/installer/targets/cursor.js.map +0 -1
- package/sensor/dist/installer/targets/gemini.d.ts +0 -26
- package/sensor/dist/installer/targets/gemini.d.ts.map +0 -1
- package/sensor/dist/installer/targets/gemini.js +0 -165
- package/sensor/dist/installer/targets/gemini.js.map +0 -1
- package/sensor/dist/installer/targets/hermes.d.ts +0 -18
- package/sensor/dist/installer/targets/hermes.d.ts.map +0 -1
- package/sensor/dist/installer/targets/hermes.js +0 -359
- package/sensor/dist/installer/targets/hermes.js.map +0 -1
- package/sensor/dist/installer/targets/kiro.d.ts +0 -27
- package/sensor/dist/installer/targets/kiro.d.ts.map +0 -1
- package/sensor/dist/installer/targets/kiro.js +0 -178
- package/sensor/dist/installer/targets/kiro.js.map +0 -1
- package/sensor/dist/installer/targets/opencode.d.ts +0 -38
- package/sensor/dist/installer/targets/opencode.d.ts.map +0 -1
- package/sensor/dist/installer/targets/opencode.js +0 -288
- package/sensor/dist/installer/targets/opencode.js.map +0 -1
- package/sensor/dist/installer/targets/registry.d.ts +0 -35
- package/sensor/dist/installer/targets/registry.d.ts.map +0 -1
- package/sensor/dist/installer/targets/registry.js +0 -91
- package/sensor/dist/installer/targets/registry.js.map +0 -1
- package/sensor/dist/installer/targets/shared.d.ts +0 -101
- package/sensor/dist/installer/targets/shared.d.ts.map +0 -1
- package/sensor/dist/installer/targets/shared.js +0 -264
- package/sensor/dist/installer/targets/shared.js.map +0 -1
- package/sensor/dist/installer/targets/toml.d.ts +0 -52
- package/sensor/dist/installer/targets/toml.d.ts.map +0 -1
- package/sensor/dist/installer/targets/toml.js +0 -147
- package/sensor/dist/installer/targets/toml.js.map +0 -1
- package/sensor/dist/installer/targets/types.d.ts +0 -108
- package/sensor/dist/installer/targets/types.d.ts.map +0 -1
- package/sensor/dist/installer/targets/types.js +0 -16
- package/sensor/dist/installer/targets/types.js.map +0 -1
- package/sensor/dist/upgrade/index.d.ts +0 -171
- package/sensor/dist/upgrade/index.d.ts.map +0 -1
- package/sensor/dist/upgrade/index.js +0 -659
- package/sensor/dist/upgrade/index.js.map +0 -1
- package/sensor/dist/upgrade/remove-binary.d.ts +0 -87
- package/sensor/dist/upgrade/remove-binary.d.ts.map +0 -1
- package/sensor/dist/upgrade/remove-binary.js +0 -289
- package/sensor/dist/upgrade/remove-binary.js.map +0 -1
- package/sensor/dist/upgrade/update-check.d.ts +0 -92
- package/sensor/dist/upgrade/update-check.d.ts.map +0 -1
- package/sensor/dist/upgrade/update-check.js +0 -258
- package/sensor/dist/upgrade/update-check.js.map +0 -1
- package/src/bootstrap.mjs +0 -88
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Agent target abstraction for the installer.
|
|
3
|
-
*
|
|
4
|
-
* Each MCP-capable agent (Claude Code, Cursor, Codex CLI, opencode, ...)
|
|
5
|
-
* implements this interface so the installer orchestrator can write the
|
|
6
|
-
* right MCP-server config + instructions file + permissions for that
|
|
7
|
-
* agent without baking client-specific paths into core code. Adding a
|
|
8
|
-
* new agent = one new file in `targets/` + one entry in `registry.ts`.
|
|
9
|
-
*
|
|
10
|
-
* Closes the Claude-locked installer issue (upstream #137). The
|
|
11
|
-
* runtime MCP server is already agent-agnostic; this brings the
|
|
12
|
-
* installer to the same surface.
|
|
13
|
-
*/
|
|
14
|
-
export type Location = 'global' | 'local';
|
|
15
|
-
/**
|
|
16
|
-
* Stable string id used in the `--target` CLI flag and the registry
|
|
17
|
-
* lookup. New targets add a value here when they're added to the
|
|
18
|
-
* registry. Keep these short and lowercase.
|
|
19
|
-
*/
|
|
20
|
-
export type TargetId = 'claude' | 'cursor' | 'codex' | 'opencode' | 'hermes' | 'gemini' | 'antigravity' | 'kiro';
|
|
21
|
-
/**
|
|
22
|
-
* Result of `target.detect(location)`.
|
|
23
|
-
*
|
|
24
|
-
* `installed` is a best-effort heuristic that the agent's CLI / app /
|
|
25
|
-
* config dir is present on this system — used to default the
|
|
26
|
-
* multiselect prompt to "what's actually here." False positives are
|
|
27
|
-
* acceptable (we still write); false negatives just mean the user
|
|
28
|
-
* has to opt in manually.
|
|
29
|
-
*
|
|
30
|
-
* `alreadyConfigured` reports whether codegraph has already been
|
|
31
|
-
* wired into this target at this location — drives the
|
|
32
|
-
* "Updated"-vs-"Added" log line and lets `--check` exit 0/1.
|
|
33
|
-
*/
|
|
34
|
-
export interface DetectionResult {
|
|
35
|
-
installed: boolean;
|
|
36
|
-
alreadyConfigured: boolean;
|
|
37
|
-
/** Path inspected; surfaced in diagnostic / dry-run output. */
|
|
38
|
-
configPath?: string;
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
* What `target.install(location)` actually changed on disk. The
|
|
42
|
-
* orchestrator renders one log line per file using `action`.
|
|
43
|
-
*
|
|
44
|
-
* `unchanged` means we touched the file but its contents were already
|
|
45
|
-
* what we'd write — used for byte-identical idempotent re-runs.
|
|
46
|
-
*/
|
|
47
|
-
export interface WriteResult {
|
|
48
|
-
files: Array<{
|
|
49
|
-
path: string;
|
|
50
|
-
action: 'created' | 'updated' | 'unchanged' | 'removed' | 'not-found' | 'kept';
|
|
51
|
-
}>;
|
|
52
|
-
/**
|
|
53
|
-
* Optional one-line notes the orchestrator surfaces verbatim — e.g.
|
|
54
|
-
* "Restart Cursor to apply." Keep these short; multi-line goes in
|
|
55
|
-
* the README.
|
|
56
|
-
*/
|
|
57
|
-
notes?: string[];
|
|
58
|
-
}
|
|
59
|
-
export interface InstallOptions {
|
|
60
|
-
/**
|
|
61
|
-
* Whether to write the agent's permissions / auto-allow surface
|
|
62
|
-
* (Claude `settings.json`, others where applicable). When the
|
|
63
|
-
* target has no permissions concept this option is a no-op.
|
|
64
|
-
*/
|
|
65
|
-
autoAllow: boolean;
|
|
66
|
-
/**
|
|
67
|
-
* Front-load prompt hook (Claude `UserPromptSubmit`) that injects
|
|
68
|
-
* codegraph_explore context for structural prompts. `true` installs it,
|
|
69
|
-
* `false` removes any prior install (so opt-out round-trips), `undefined`
|
|
70
|
-
* leaves it untouched. Targets without a prompt-hook concept ignore it.
|
|
71
|
-
*/
|
|
72
|
-
promptHook?: boolean;
|
|
73
|
-
}
|
|
74
|
-
export interface AgentTarget {
|
|
75
|
-
/** Stable id; matches the `TargetId` union. */
|
|
76
|
-
readonly id: TargetId;
|
|
77
|
-
/** Human-readable name shown in clack prompts and log lines. */
|
|
78
|
-
readonly displayName: string;
|
|
79
|
-
/** Optional URL for "where do I learn more about this agent." */
|
|
80
|
-
readonly docsUrl?: string;
|
|
81
|
-
/**
|
|
82
|
-
* Whether this target supports the given install location.
|
|
83
|
-
*
|
|
84
|
-
* Some agents (Codex CLI as of 2026-05) have no project-local
|
|
85
|
-
* config concept — only a single `~/.codex/` dir. Returning false
|
|
86
|
-
* for an unsupported (target, location) pair lets the orchestrator
|
|
87
|
-
* skip cleanly with a clear message.
|
|
88
|
-
*/
|
|
89
|
-
supportsLocation(loc: Location): boolean;
|
|
90
|
-
detect(loc: Location): DetectionResult;
|
|
91
|
-
install(loc: Location, opts: InstallOptions): WriteResult;
|
|
92
|
-
/**
|
|
93
|
-
* Inverse of install. Removes only what install would have written;
|
|
94
|
-
* preserves sibling MCP servers, sibling permissions, and unrelated
|
|
95
|
-
* markdown sections. Must be safe to call when nothing was ever
|
|
96
|
-
* installed (returns `not-found` actions).
|
|
97
|
-
*/
|
|
98
|
-
uninstall(loc: Location): WriteResult;
|
|
99
|
-
/**
|
|
100
|
-
* Print the MCP-server snippet a user would paste manually for this
|
|
101
|
-
* target. Used by `codegraph install --print-config <id>` and by
|
|
102
|
-
* the README. Must NOT touch the filesystem.
|
|
103
|
-
*/
|
|
104
|
-
printConfig(loc: Location): string;
|
|
105
|
-
/** Filesystem paths this target would write to at this location. */
|
|
106
|
-
describePaths(loc: Location): string[];
|
|
107
|
-
}
|
|
108
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/installer/targets/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,MAAM,MAAM,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAC;AAE1C;;;;GAIG;AACH,MAAM,MAAM,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,OAAO,GAAG,UAAU,GAAG,QAAQ,GAAG,QAAQ,GAAG,aAAa,GAAG,MAAM,CAAC;AAEjH;;;;;;;;;;;;GAYG;AACH,MAAM,WAAW,eAAe;IAC9B,SAAS,EAAE,OAAO,CAAC;IACnB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,+DAA+D;IAC/D,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;;;;;GAMG;AACH,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,KAAK,CAAC;QACX,IAAI,EAAE,MAAM,CAAC;QACb,MAAM,EAAE,SAAS,GAAG,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,WAAW,GAAG,MAAM,CAAC;KAChF,CAAC,CAAC;IACH;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;CAClB;AAED,MAAM,WAAW,cAAc;IAC7B;;;;OAIG;IACH,SAAS,EAAE,OAAO,CAAC;IACnB;;;;;OAKG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,MAAM,WAAW,WAAW;IAC1B,+CAA+C;IAC/C,QAAQ,CAAC,EAAE,EAAE,QAAQ,CAAC;IACtB,gEAAgE;IAChE,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,iEAAiE;IACjE,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;;;;OAOG;IACH,gBAAgB,CAAC,GAAG,EAAE,QAAQ,GAAG,OAAO,CAAC;IACzC,MAAM,CAAC,GAAG,EAAE,QAAQ,GAAG,eAAe,CAAC;IACvC,OAAO,CAAC,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,cAAc,GAAG,WAAW,CAAC;IAC1D;;;;;OAKG;IACH,SAAS,CAAC,GAAG,EAAE,QAAQ,GAAG,WAAW,CAAC;IACtC;;;;OAIG;IACH,WAAW,CAAC,GAAG,EAAE,QAAQ,GAAG,MAAM,CAAC;IACnC,oEAAoE;IACpE,aAAa,CAAC,GAAG,EAAE,QAAQ,GAAG,MAAM,EAAE,CAAC;CACxC"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* Agent target abstraction for the installer.
|
|
4
|
-
*
|
|
5
|
-
* Each MCP-capable agent (Claude Code, Cursor, Codex CLI, opencode, ...)
|
|
6
|
-
* implements this interface so the installer orchestrator can write the
|
|
7
|
-
* right MCP-server config + instructions file + permissions for that
|
|
8
|
-
* agent without baking client-specific paths into core code. Adding a
|
|
9
|
-
* new agent = one new file in `targets/` + one entry in `registry.ts`.
|
|
10
|
-
*
|
|
11
|
-
* Closes the Claude-locked installer issue (upstream #137). The
|
|
12
|
-
* runtime MCP server is already agent-agnostic; this brings the
|
|
13
|
-
* installer to the same surface.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
//# sourceMappingURL=types.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/installer/targets/types.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG"}
|
|
@@ -1,171 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* `codegraph upgrade`
|
|
3
|
-
*
|
|
4
|
-
* Self-update for the CLI, whatever way it was installed:
|
|
5
|
-
*
|
|
6
|
-
* - **bundle** — the self-contained runtime+app installed by `install.sh`
|
|
7
|
-
* (Linux/macOS) or `install.ps1` (Windows). Upgrading re-runs the SAME
|
|
8
|
-
* canonical installer script (single source of truth) so the download /
|
|
9
|
-
* version-resolution / PATH logic never drifts between first-install and
|
|
10
|
-
* upgrade.
|
|
11
|
-
* - **npm** — installed via `npm i -g @colbymchenry/codegraph`. Upgrading
|
|
12
|
-
* shells out to npm.
|
|
13
|
-
* - **npx** — ephemeral; nothing to upgrade (next `npx` fetches latest).
|
|
14
|
-
* - **source** — a git checkout running its own `dist/`; `git pull` + rebuild.
|
|
15
|
-
*
|
|
16
|
-
* Detection is structural (see `detectInstallMethod`): a bundle carries a
|
|
17
|
-
* vendored `node` binary and a `bin/codegraph` launcher next to its `lib/`, so
|
|
18
|
-
* we can recognize it from the running file's path without a marker file.
|
|
19
|
-
*
|
|
20
|
-
* Windows wrinkle: a running `node.exe` is locked and can't be deleted, so the
|
|
21
|
-
* bundle's `current\` dir can't be overwritten in place by the process doing
|
|
22
|
-
* the upgrade. We therefore spawn a DETACHED helper that waits for this
|
|
23
|
-
* process to exit (releasing the lock), then runs `install.ps1`. This is the
|
|
24
|
-
* conventional Windows self-update dance (rustup/nvm-windows do the same).
|
|
25
|
-
*/
|
|
26
|
-
export declare const REPO = "colbymchenry/codegraph";
|
|
27
|
-
export declare const NPM_PACKAGE = "@colbymchenry/codegraph";
|
|
28
|
-
export declare const INSTALL_SH_URL = "https://raw.githubusercontent.com/colbymchenry/codegraph/main/install.sh";
|
|
29
|
-
export type InstallMethod = {
|
|
30
|
-
kind: 'bundle';
|
|
31
|
-
os: 'unix' | 'windows';
|
|
32
|
-
bundleRoot: string;
|
|
33
|
-
installDir: string | null;
|
|
34
|
-
} | {
|
|
35
|
-
kind: 'npm';
|
|
36
|
-
scope: 'global' | 'local';
|
|
37
|
-
} | {
|
|
38
|
-
kind: 'npx';
|
|
39
|
-
} | {
|
|
40
|
-
kind: 'source';
|
|
41
|
-
root: string;
|
|
42
|
-
} | {
|
|
43
|
-
kind: 'unknown';
|
|
44
|
-
reason: string;
|
|
45
|
-
};
|
|
46
|
-
export interface DetectInput {
|
|
47
|
-
/** `__filename` of the running CLI module — `<…>/dist/bin/codegraph.js`. */
|
|
48
|
-
filename: string;
|
|
49
|
-
platform: NodeJS.Platform;
|
|
50
|
-
cwd: string;
|
|
51
|
-
/** Injectable existence probe (defaults to fs.existsSync) — for tests. */
|
|
52
|
-
exists?: (p: string) => boolean;
|
|
53
|
-
}
|
|
54
|
-
/**
|
|
55
|
-
* Where the bundle installer keeps its install root, derived from the bundle
|
|
56
|
-
* dir so an upgrade reuses a custom `CODEGRAPH_INSTALL_DIR`. Returns null when
|
|
57
|
-
* the layout isn't the one the installer creates (then the installer falls
|
|
58
|
-
* back to its own default).
|
|
59
|
-
*
|
|
60
|
-
* unix: <installDir>/versions/<vX.Y.Z> (bundleRoot) → <installDir>
|
|
61
|
-
* windows: <installDir>\current (bundleRoot) → <installDir>
|
|
62
|
-
*/
|
|
63
|
-
export declare function deriveInstallDir(bundleRoot: string, os: 'unix' | 'windows', exists: (p: string) => boolean): string | null;
|
|
64
|
-
export declare function detectInstallMethod(input: DetectInput): InstallMethod;
|
|
65
|
-
export interface Semver {
|
|
66
|
-
major: number;
|
|
67
|
-
minor: number;
|
|
68
|
-
patch: number;
|
|
69
|
-
pre: string | null;
|
|
70
|
-
}
|
|
71
|
-
export declare function parseSemver(version: string): Semver | null;
|
|
72
|
-
/** Returns >0 if a>b, <0 if a<b, 0 if equal. Throws on unparseable input. */
|
|
73
|
-
export declare function compareVersions(a: string, b: string): number;
|
|
74
|
-
export declare function isUpdateAvailable(current: string, latest: string): boolean;
|
|
75
|
-
/** `0.9.9` / `v0.9.9` → `v0.9.9` (release tags are v-prefixed). */
|
|
76
|
-
export declare function normalizeVersion(v: string): string;
|
|
77
|
-
/** Strip a leading `v`: `v0.9.9` → `0.9.9`. */
|
|
78
|
-
export declare function stripV(v: string): string;
|
|
79
|
-
/**
|
|
80
|
-
* Parse the release tag out of the `Location` header GitHub returns for
|
|
81
|
-
* `/releases/latest` → `…/releases/tag/v0.9.9`. Pure so it's unit-tested.
|
|
82
|
-
*/
|
|
83
|
-
export declare function parseLatestTagFromLocation(location: string | undefined): string | null;
|
|
84
|
-
/**
|
|
85
|
-
* Resolve the latest release tag (e.g. `v0.9.9`).
|
|
86
|
-
*
|
|
87
|
-
* Primary: read the redirect `Location` from `github.com/<repo>/releases/latest`
|
|
88
|
-
* — same trick install.sh uses, because the unauthenticated GitHub API is
|
|
89
|
-
* rate-limited to 60 req/h/IP and 403s on shared/cloud hosts (issue #325). The
|
|
90
|
-
* redirect has no such limit. Fall back to the API only if the redirect can't
|
|
91
|
-
* be read.
|
|
92
|
-
*/
|
|
93
|
-
export declare function resolveLatestVersion(repo?: string, timeoutMs?: number): Promise<string>;
|
|
94
|
-
export interface UpgradeOptions {
|
|
95
|
-
/** Pin a specific version (positional arg or CODEGRAPH_VERSION). */
|
|
96
|
-
version?: string;
|
|
97
|
-
/** Report current vs latest, don't change anything. */
|
|
98
|
-
check?: boolean;
|
|
99
|
-
/** Reinstall even if already on the resolved version. */
|
|
100
|
-
force?: boolean;
|
|
101
|
-
}
|
|
102
|
-
/** Injectable side-effects so the orchestrator stays unit-testable. */
|
|
103
|
-
export interface UpgradeDeps {
|
|
104
|
-
currentVersion: string;
|
|
105
|
-
method: InstallMethod;
|
|
106
|
-
resolveLatest: (pin?: string) => Promise<string>;
|
|
107
|
-
/** Run a command inheriting stdio; returns its exit code (-1 = spawn failed). */
|
|
108
|
-
run: (cmd: string, args: string[], env?: NodeJS.ProcessEnv) => number;
|
|
109
|
-
/** Run a command capturing stdout (nothing reaches the terminal); null = spawn failed. */
|
|
110
|
-
capture: (cmd: string, args: string[]) => {
|
|
111
|
-
code: number;
|
|
112
|
-
stdout: string;
|
|
113
|
-
} | null;
|
|
114
|
-
hasCommand: (cmd: string) => boolean;
|
|
115
|
-
log: (msg: string) => void;
|
|
116
|
-
warn: (msg: string) => void;
|
|
117
|
-
error: (msg: string) => void;
|
|
118
|
-
platform: NodeJS.Platform;
|
|
119
|
-
/**
|
|
120
|
-
* Offer the one-time CodeGraph Pro beta opt-in after a successful update
|
|
121
|
-
* (see installer/beta-signup — self-gating: TTY only, and silent forever
|
|
122
|
-
* once any install/upgrade ask was answered). Optional so unit tests and
|
|
123
|
-
* embedded callers stay prompt-free; never fatal to the upgrade.
|
|
124
|
-
*/
|
|
125
|
-
offerBetaSignup?: () => Promise<void>;
|
|
126
|
-
}
|
|
127
|
-
/** The honest, additive re-index reminder shown after a successful upgrade. */
|
|
128
|
-
export declare function reindexAdvisory(): string;
|
|
129
|
-
/**
|
|
130
|
-
* Returns the process exit code (0 = success / nothing to do, 1 = failure).
|
|
131
|
-
*/
|
|
132
|
-
export declare function runUpgrade(opts: UpgradeOptions, deps: UpgradeDeps): Promise<number>;
|
|
133
|
-
type VersionProbe = 'match' | 'mismatch' | 'inconclusive';
|
|
134
|
-
/**
|
|
135
|
-
* Prove the upgrade actually took: spawn the `codegraph` this terminal's PATH
|
|
136
|
-
* resolves and compare its reported version to the target. Catches the silent
|
|
137
|
-
* failure mode where ANOTHER install shadows the one we just upgraded (issue
|
|
138
|
-
* #1071 — e.g. a stale `npm i -g` copy earlier on PATH than the bundle
|
|
139
|
-
* launcher): the upgrade "succeeds" but `codegraph -v` — in this terminal and
|
|
140
|
-
* every future one — keeps serving the old version. Exported for unit tests.
|
|
141
|
-
*/
|
|
142
|
-
export declare function verifyResolvedVersion(latest: string, deps: UpgradeDeps): VersionProbe;
|
|
143
|
-
/** Build the in-place Windows upgrade script (exported for unit-testing). */
|
|
144
|
-
export declare function buildWindowsUpgradeScript(bundleRoot: string, version: string, arch: string): string;
|
|
145
|
-
/**
|
|
146
|
-
* How to invoke npm. On Windows npm is a .cmd batch file, which Node refuses
|
|
147
|
-
* to spawn without a shell (EINVAL since the CVE-2024-27980 hardening) — a
|
|
148
|
-
* direct `npm.cmd` spawn fails on every current Node, so route it through
|
|
149
|
-
* cmd.exe, the same way the surface-refresh step invokes the .cmd launcher.
|
|
150
|
-
* (Verified live on the Windows VM: `spawnSync('npm.cmd')` → EINVAL;
|
|
151
|
-
* `cmd.exe /d /s /c npm …` → works.)
|
|
152
|
-
*/
|
|
153
|
-
export declare function npmInvocation(platform: NodeJS.Platform, npmArgs: string[]): {
|
|
154
|
-
cmd: string;
|
|
155
|
-
args: string[];
|
|
156
|
-
};
|
|
157
|
-
/**
|
|
158
|
-
* True if `cmd` resolves to an executable on PATH. A pure-Node PATH scan — NOT
|
|
159
|
-
* a spawned `command -v`/`which`: `command` is a shell builtin (no standalone
|
|
160
|
-
* binary on Debian, though macOS ships one), and `which` isn't guaranteed
|
|
161
|
-
* present on minimal images, so spawning either is unreliable. Scanning PATH
|
|
162
|
-
* ourselves behaves identically on every platform.
|
|
163
|
-
*/
|
|
164
|
-
export declare function hasCommand(cmd: string): boolean;
|
|
165
|
-
export declare function defaultRun(cmd: string, args: string[], env?: NodeJS.ProcessEnv): number;
|
|
166
|
-
export declare function defaultCapture(cmd: string, args: string[]): {
|
|
167
|
-
code: number;
|
|
168
|
-
stdout: string;
|
|
169
|
-
} | null;
|
|
170
|
-
export {};
|
|
171
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/upgrade/index.ts"],"names":[],"mappings":"AAAA;;;;;;;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