@sentropic/h2a 0.97.3 → 0.97.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. package/.claude-plugin/plugin.json +1 -1
  2. package/.codex-plugin/plugin.json +1 -1
  3. package/dist/cli-command-map.d.ts.map +1 -1
  4. package/dist/cli-command-map.js +1 -0
  5. package/dist/cli-command-map.js.map +1 -1
  6. package/dist/cli.d.ts +13 -0
  7. package/dist/cli.d.ts.map +1 -1
  8. package/dist/cli.js +129 -53
  9. package/dist/cli.js.map +1 -1
  10. package/dist/hosts/muse.d.ts +14 -0
  11. package/dist/hosts/muse.d.ts.map +1 -0
  12. package/dist/hosts/muse.js +39 -0
  13. package/dist/hosts/muse.js.map +1 -0
  14. package/dist/hosts/plugin.d.ts +3 -3
  15. package/dist/hosts/plugin.d.ts.map +1 -1
  16. package/dist/hosts/plugin.js +9 -2
  17. package/dist/hosts/plugin.js.map +1 -1
  18. package/dist/index.d.ts +5 -4
  19. package/dist/index.d.ts.map +1 -1
  20. package/dist/index.js +4 -2
  21. package/dist/index.js.map +1 -1
  22. package/dist/mcp.d.ts +1 -1
  23. package/dist/mcp.d.ts.map +1 -1
  24. package/dist/mcp.js +1 -0
  25. package/dist/mcp.js.map +1 -1
  26. package/dist/runtime/identity/bindings.d.ts +33 -0
  27. package/dist/runtime/identity/bindings.d.ts.map +1 -1
  28. package/dist/runtime/identity/bindings.js +49 -1
  29. package/dist/runtime/identity/bindings.js.map +1 -1
  30. package/dist/runtime/identity/index.d.ts +4 -4
  31. package/dist/runtime/identity/index.d.ts.map +1 -1
  32. package/dist/runtime/identity/index.js +2 -2
  33. package/dist/runtime/identity/index.js.map +1 -1
  34. package/dist/runtime/identity/live.d.ts +63 -0
  35. package/dist/runtime/identity/live.d.ts.map +1 -1
  36. package/dist/runtime/identity/live.js +339 -64
  37. package/dist/runtime/identity/live.js.map +1 -1
  38. package/dist/runtime/identity/worker.d.ts +19 -0
  39. package/dist/runtime/identity/worker.d.ts.map +1 -0
  40. package/dist/runtime/identity/worker.js +189 -0
  41. package/dist/runtime/identity/worker.js.map +1 -0
  42. package/dist/runtime/local-files/locks.d.ts +14 -0
  43. package/dist/runtime/local-files/locks.d.ts.map +1 -1
  44. package/dist/runtime/local-files/locks.js +13 -0
  45. package/dist/runtime/local-files/locks.js.map +1 -1
  46. package/dist/runtime/local-files/store.d.ts +21 -0
  47. package/dist/runtime/local-files/store.d.ts.map +1 -1
  48. package/dist/runtime/local-files/store.js +37 -6
  49. package/dist/runtime/local-files/store.js.map +1 -1
  50. package/dist/runtime/loop/index.d.ts +1 -1
  51. package/dist/runtime/loop/index.d.ts.map +1 -1
  52. package/dist/runtime/loop/index.js.map +1 -1
  53. package/dist/runtime/mcp/agent-launch.d.ts +1 -1
  54. package/dist/runtime/mcp/agent-launch.d.ts.map +1 -1
  55. package/dist/runtime/mcp/agent-launch.js +8 -5
  56. package/dist/runtime/mcp/agent-launch.js.map +1 -1
  57. package/dist/runtime/mcp/handlers.js +1 -1
  58. package/dist/runtime/mcp/handlers.js.map +1 -1
  59. package/dist/runtime/mcp/identity-state.d.ts +131 -0
  60. package/dist/runtime/mcp/identity-state.d.ts.map +1 -0
  61. package/dist/runtime/mcp/identity-state.js +288 -0
  62. package/dist/runtime/mcp/identity-state.js.map +1 -0
  63. package/dist/runtime/mcp/index.d.ts +1 -0
  64. package/dist/runtime/mcp/index.d.ts.map +1 -1
  65. package/dist/runtime/mcp/index.js +1 -0
  66. package/dist/runtime/mcp/index.js.map +1 -1
  67. package/dist/runtime/mcp/server.d.ts +23 -0
  68. package/dist/runtime/mcp/server.d.ts.map +1 -1
  69. package/dist/runtime/mcp/server.js +105 -2
  70. package/dist/runtime/mcp/server.js.map +1 -1
  71. package/dist/runtime/mcp/sessions.d.ts +12 -2
  72. package/dist/runtime/mcp/sessions.d.ts.map +1 -1
  73. package/dist/runtime/mcp/sessions.js +15 -3
  74. package/dist/runtime/mcp/sessions.js.map +1 -1
  75. package/dist/runtime/mcp/stdio.d.ts +21 -0
  76. package/dist/runtime/mcp/stdio.d.ts.map +1 -1
  77. package/dist/runtime/mcp/stdio.js +203 -84
  78. package/dist/runtime/mcp/stdio.js.map +1 -1
  79. package/dist/runtime/mcp/tools.d.ts.map +1 -1
  80. package/dist/runtime/mcp/tools.js +22 -6
  81. package/dist/runtime/mcp/tools.js.map +1 -1
  82. package/dist/runtime/mcp-http/readonly-allowlist.d.ts.map +1 -1
  83. package/dist/runtime/mcp-http/readonly-allowlist.js +3 -0
  84. package/dist/runtime/mcp-http/readonly-allowlist.js.map +1 -1
  85. package/dist/runtime/version/agent-version.d.ts.map +1 -1
  86. package/dist/runtime/version/agent-version.js +2 -1
  87. package/dist/runtime/version/agent-version.js.map +1 -1
  88. package/package.json +3 -3
  89. package/skills/h2a/SKILL.md +2 -2
  90. package/skills/h2a-run/SKILL.md +5 -3
@@ -1 +1 @@
1
- {"version":3,"file":"readonly-allowlist.js","sourceRoot":"","sources":["../../../src/runtime/mcp-http/readonly-allowlist.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAIH,sFAAsF;AACtF,MAAM,CAAC,MAAM,yBAAyB,GAA2B;IAC/D,wBAAwB;IACxB,8EAA8E;IAC9E,+EAA+E;IAC/E,kBAAkB;IAClB,uBAAuB;IACvB,mBAAmB;IACnB,gBAAgB;IAChB,sBAAsB;IACtB,mBAAmB;IACnB,yEAAyE;IACzE,2EAA2E;IAC3E,cAAc;IACd,gBAAgB;IAChB,aAAa;IACb,gBAAgB;IAChB,aAAa;IACb,yBAAyB;IACzB,iBAAiB;IACjB,qBAAqB;IACrB,cAAc;IACd,yBAAyB;IACzB,sBAAsB;IACtB,cAAc;IACd,eAAe;IACf,uBAAuB;IACvB,0BAA0B;CAC3B,CAAC;AAEF,qFAAqF;AACrF,MAAM,UAAU,mBAAmB,CAAC,UAA6B;IAC/D,OAAO,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,WAAW,IAAI,EAAE,CAAC,CAAC,QAAQ,CAAC,eAAe,CAAC,CAAC;AAChF,CAAC;AAED,MAAM,UAAU,oBAAoB,CAAC,IAAY;IAC/C,OAAQ,yBAA+C,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;AACzE,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,yBAAyB,CACvC,GAAiC;IAEjC,MAAM,OAAO,GAAG,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,oBAAoB,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;IAChE,MAAM,KAAK,GAAG,OAAO,CAAC,MAAM,CAAC,mBAAmB,CAAC,CAAC;IAClD,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACrB,MAAM,IAAI,KAAK,CACb,+DAA+D,KAAK;aACjE,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC;aAClB,IAAI,CAAC,IAAI,CAAC,EAAE,CAChB,CAAC;IACJ,CAAC;IACD,OAAO,OAAO,CAAC;AACjB,CAAC"}
1
+ {"version":3,"file":"readonly-allowlist.js","sourceRoot":"","sources":["../../../src/runtime/mcp-http/readonly-allowlist.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAIH,sFAAsF;AACtF,MAAM,CAAC,MAAM,yBAAyB,GAA2B;IAC/D,wBAAwB;IACxB,8EAA8E;IAC9E,+EAA+E;IAC/E,kBAAkB;IAClB,gFAAgF;IAChF,sEAAsE;IACtE,qBAAqB;IACrB,uBAAuB;IACvB,mBAAmB;IACnB,gBAAgB;IAChB,sBAAsB;IACtB,mBAAmB;IACnB,yEAAyE;IACzE,2EAA2E;IAC3E,cAAc;IACd,gBAAgB;IAChB,aAAa;IACb,gBAAgB;IAChB,aAAa;IACb,yBAAyB;IACzB,iBAAiB;IACjB,qBAAqB;IACrB,cAAc;IACd,yBAAyB;IACzB,sBAAsB;IACtB,cAAc;IACd,eAA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+ {"version":3,"file":"agent-version.d.ts","sourceRoot":"","sources":["../../../src/runtime/version/agent-version.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAgBtD;;;;;GAKG;AACH,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,GAAE,MAAkB,GAAG,MAAM,GAAG,SAAS,CAUpG;AAED;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,IAAI,GAAE,MAAkB,GAAG,eAAe,CAOrF"}
@@ -19,7 +19,8 @@ const HOST_SKILL_FILE = {
19
19
  gemini: (home) => join(home, ".gemini", "commands", "h2a.toml"),
20
20
  agy: (home) => join(home, ".gemini", "commands", "h2a.toml"),
21
21
  hermes: (home) => join(home, ".hermes", "skills", "h2a", "SKILL.md"),
22
- opencode: (home) => join(home, ".config", "opencode", "skills", "h2a", "SKILL.md")
22
+ opencode: (home) => join(home, ".config", "opencode", "skills", "h2a", "SKILL.md"),
23
+ muse: (home) => join(home, ".config", "muse", "skills", "h2a", "SKILL.md")
23
24
  };
24
25
  /**
25
26
  * Read the `version` stamp from the installed h2a skill for `host`, best-effort.
@@ -1 +1 @@
1
- {"version":3,"file":"agent-version.js","sourceRoot":"","sources":["../../../src/runtime/version/agent-version.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAClC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAIjC,OAAO,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AAC/D,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,gFAAgF;AAChF,MAAM,eAAe,GAA6C;IAChE,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,qBAAqB,CA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C,CAAC,CAAC,CAAC,SAAS,CAAC;IACvE,OAAO;QACL,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QACvB,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;KAC5B,CAAC;AACJ,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentropic/h2a",
3
- "version": "0.97.3",
3
+ "version": "0.97.5",
4
4
  "description": "h2a — the unified CLI + core for human-to-agent coordination.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -55,10 +55,10 @@
55
55
  "@sentropic/cluster-mesh": "0.9.0",
56
56
  "@sentropic/contracts": "^0.3.0",
57
57
  "@sentropic/events": "^0.2.0",
58
- "@sentropic/track": "^0.97.3",
58
+ "@sentropic/track": "^0.97.5",
59
59
  "hono": "^4.13.7"
60
60
  },
61
61
  "peerDependencies": {
62
- "@sentropic/h2a-runtime": "^0.97.3"
62
+ "@sentropic/h2a-runtime": "^0.97.5"
63
63
  }
64
64
  }
@@ -352,7 +352,7 @@ These can be invoked directly from the shell at any time, outside the slash-comm
352
352
  - `h2a sessions [--root <path>]` — same listing as `/h2a discover` but from the shell.
353
353
  - `h2a status [--root <path>] [--scope <s>] [--instance <i>]` — inventory of connected sessions split **direct** (local mcp-serve heartbeat) vs **indirect** (mirrored in from a remote/sidecar), with counts.
354
354
  - `h2a keys generate --instance <id>` — produce an ed25519 PEM keypair.
355
- - `h2a install-skills --host <claude|codex|gemini|agy|hermes|opencode>` — re-install or update this skill on another host. *(For **agy**/Antigravity the skill is written to the shared `~/.gemini/commands/h2a.toml`; the command then prints an `importHint` — run `agy plugin import gemini` (then `agy plugin enable h2a`) to pull it into agy. DEC-096/101.)*
355
+ - `h2a install-skills --host <claude|codex|gemini|agy|hermes|opencode|muse>` — re-install or update this skill on another host. *(For **agy**/Antigravity the skill is written to the shared `~/.gemini/commands/h2a.toml`; the command then prints an `importHint` — run `agy plugin import gemini` (then `agy plugin enable h2a`) to pull it into agy. DEC-096/101. For **muse** the skill lands in `~/.config/muse/skills` (user scope, verified) or `<workspace>/.muse/skills` (project scope); verify pickup with `muse skills list`.)*
356
356
 
357
357
  **Operational surfaces** (also shell-invocable; matching `h2a_*` MCP tools where noted):
358
358
 
@@ -360,4 +360,4 @@ These can be invoked directly from the shell at any time, outside the slash-comm
360
360
  - `h2a blockage raise|list|resolve` — the peer blockage feedback loop, distinct from the drumbeat and from escalation (`h2a_blockage_*`, DEC-092). Subscribed sessions get `peer.blocked`/`peer.unblocked` pushes.
361
361
  - `h2a drumbeat record|scan|clear|escalations|watch` — anti-stall relance daemon + escalation-to-PRINCIPAL (DEC-086/091/095). Gov D2/D4 (0.64.0): a claimed conductor owns its workspace's relances — peers defer on fresh stalls (relanceCount=0); a failsafe lets a peer step in if the conductor leaves an agent stuck (relanceCount>=1, preventing workspace freeze). Cross-workspace relances emit a CoI advisory (warn, not blocked). Both behaviors are opt-in and default-allow: pass `--instance <self>` to `h2a drumbeat watch` to activate them.
362
362
  - `h2a sysml verify --json <env> --public-key <pem>` — verify a SysML-v2 ref embedded in a signed envelope (commit-trust + content-integrity, DEC-099).
363
- - `h2a host setup|status|plugin --host <codex|claude|gemini|agy|hermes|opencode>` — render the per-host singleton MCP config / stop-hook glue. `host setup --endpoint local|remote` selects one h2a endpoint and removes standalone Track MCP configuration.
363
+ - `h2a host setup|status|plugin --host <codex|claude|gemini|agy|hermes|opencode|muse>` — render the per-host singleton MCP config / stop-hook glue. `host setup --endpoint local|remote` selects one h2a endpoint and removes standalone Track MCP configuration. *(For **muse**: stdio pickup under `mcpServers` in `~/.config/muse/settings.json` is unconfirmed — only streamable-HTTP is documented — so verify with your muse build, else re-run with `--endpoint remote`. Muse is poll-only for the plugin surface.)*
@@ -19,9 +19,9 @@ This plugin's PreToolUse hook (`packages/h2a/hooks/deny-manual-h2a-cli.mjs`) blo
19
19
 
20
20
  None of these require knowing a provider model id up front:
21
21
 
22
- 1. **Profile** — `claude`, `codex`, or `agy` (which CLI to launch). Default to whichever CLI the user is already in if unstated; ask if genuinely ambiguous.
22
+ 1. **Profile** — `claude`, `codex`, `agy`, or `muse` (which CLI to launch). Default to whichever CLI the user is already in if unstated; ask if genuinely ambiguous.
23
23
  2. **Model flavor** — a nickname like *terra*, *sol* (aka *fable*), *luna*, or unstated (→ the CLI's own default model). Resolves to a `--model` / `model` value (Step 2).
24
- 3. **Effort** — `low | medium | high | xhigh`. For Claude/Codex, "max" means `xhigh`; AGY accepts only `low | medium | high` and rejects both `xhigh` and "max".
24
+ 3. **Effort** — `low | medium | high | xhigh`. For Claude/Codex/Muse, "max" means `xhigh`; AGY accepts only `low | medium | high` and rejects both `xhigh` and "max".
25
25
 
26
26
  ## Step 2 — resolve the model flavor (source-of-truth caveat)
27
27
 
@@ -41,11 +41,13 @@ Any non-default flavor needs the llm-mesh gateway to translate the Anthropic-sha
41
41
 
42
42
  AGY is the exception to the named-flavor rule: it talks to its provider directly. Use `gateway: "off"` for `profile: "agy"`; `"required"` is rejected. AGY accepts effort `low|medium|high`, not `xhigh`, and supports run-once mode through its verified `--print` stdin contract. Resolve the exact AGY model with `agy models`; for example, the displayed "Gemini 3.7 Flash (High)" id is `gemini-3.7-flash-high`.
43
43
 
44
+ Muse talks to the Meta provider directly: always `gateway: "off"` (or `"auto"`, which resolves direct); `"required"` is rejected. Muse maps `effort` to its native `--reasoning-effort` (all four levels) and `model` to `--model`. Muse is interactive/background only — `headless: true` is rejected because `muse exec` has no stdin prompt contract (verified: piped stdin reports "missing prompt").
45
+
44
46
  ## Step 4 — compose the call
45
47
 
46
48
  ### `h2a_run` MCP tool (what this agent must use)
47
49
 
48
- Required: `profile` (`"claude"|"codex"|"agy"`), `name` (`^[A-Za-z0-9_-]{1,64}$`), `workspace` (absolute path, must exist, must stay inside the MCP server's startup workspace root), `prompt` (1–65536 UTF-8 bytes, sent on stdin — never put it in argv), `background` (must be literal `true`). Optional: `agent` (AGY only; for example `"stp"`), `model` (free-text, format-checked only — see Step 2 for the value), `effort` (`"low"|"medium"|"high"|"xhigh"`; AGY rejects `xhigh`), `gateway` (`"auto"|"required"|"off"`, default `"auto"`; AGY uses `"off"`), `headless` (default `false`; AGY maps `true` to `--print`), `h2aSidecar` (default `!headless`; cannot be `true` together with `headless: true`).
50
+ Required: `profile` (`"claude"|"codex"|"agy"|"muse"`), `name` (`^[A-Za-z0-9_-]{1,64}$`), `workspace` (absolute path, must exist, must stay inside the MCP server's startup workspace root), `prompt` (1–65536 UTF-8 bytes, sent on stdin — never put it in argv), `background` (must be literal `true`). Optional: `agent` (AGY only; for example `"stp"`), `model` (free-text, format-checked only — see Step 2 for the value), `effort` (`"low"|"medium"|"high"|"xhigh"`; AGY rejects `xhigh`), `gateway` (`"auto"|"required"|"off"`, default `"auto"`; AGY and Muse use `"off"`, `"required"` is rejected for them), `headless` (default `false`; AGY maps `true` to `--print`; Muse rejects `true`), `h2aSidecar` (default `!headless`; cannot be `true` together with `headless: true`).
49
51
 
50
52
  Example — "terra, xhigh, headless, on this repo":
51
53