cargo-hauler 0.9.3 → 0.9.4

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 (44) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/README.md +20 -3
  3. package/dist/.claude-plugin/marketplace.json +1 -1
  4. package/dist/.claude-plugin/plugin.json +1 -1
  5. package/dist/.codex-plugin/plugin.json +1 -1
  6. package/dist/.cursor-plugin/plugin.json +1 -1
  7. package/dist/AGENTS.md +6 -1
  8. package/dist/INSTALL.md +1 -1
  9. package/dist/README.md +20 -3
  10. package/dist/agent-bundle.compile-evidence.json +1 -1
  11. package/dist/agent-bundle.manifest.json +1 -1
  12. package/dist/agent-bundle.package-compile-evidence.json +1 -1
  13. package/dist/bin/cargo-hauler-flight.mjs +68 -56
  14. package/dist/bin/cargo-hauler-install.js +28 -28
  15. package/dist/bin/cargo-hauler.mjs +100 -88
  16. package/dist/bin/hauler.js +39 -25
  17. package/dist/hooks/event-route-session-start.claude.mjs +47 -47
  18. package/dist/hooks/event-route-session-start.codex.mjs +47 -47
  19. package/dist/hooks/event-route-session-start.cursor.mjs +47 -47
  20. package/dist/hooks/event-route-stop.claude.mjs +47 -47
  21. package/dist/hooks/event-route-stop.codex.mjs +47 -47
  22. package/dist/hooks/event-route-stop.cursor.mjs +47 -47
  23. package/dist/hooks/event-route-tool-after.claude.execute.mjs +47 -47
  24. package/dist/hooks/event-route-tool-after.claude.mjs +36 -36
  25. package/dist/hooks/event-route-tool-after.codex.execute.mjs +47 -47
  26. package/dist/hooks/event-route-tool-after.codex.mjs +36 -36
  27. package/dist/hooks/event-route-tool-after.cursor.execute.mjs +47 -47
  28. package/dist/hooks/event-route-tool-after.cursor.mjs +36 -36
  29. package/dist/hooks/event-route-tool-before.claude.execute.mjs +47 -47
  30. package/dist/hooks/event-route-tool-before.claude.mjs +31 -31
  31. package/dist/hooks/event-route-tool-before.codex.execute.mjs +47 -47
  32. package/dist/hooks/event-route-tool-before.codex.mjs +31 -31
  33. package/dist/hooks/event-route-tool-before.cursor.execute.mjs +47 -47
  34. package/dist/hooks/event-route-tool-before.cursor.mjs +31 -31
  35. package/dist/hooks/hooks-flight.mjs +55 -43
  36. package/dist/install.mjs +1 -1
  37. package/dist/mcp/mcp-hauler-2b8242f9-flight.mjs +92 -80
  38. package/dist/mcp/mcp-hauler-2b8242f9.mjs +125 -113
  39. package/dist/mcp-apps/dashboard.html +2 -2
  40. package/dist/package.json +11 -9
  41. package/dist/plugin.json +1 -1
  42. package/dist/scripts/hauler.mjs +39 -25
  43. package/dist/skills/hauler-dashboard/SKILL.md +1 -1
  44. package/package.json +10 -8
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.9.4
4
+
5
+ ### Patch Changes
6
+
7
+ - 1986024: Keep GitHub cargo-hauler artifacts current by rejecting stale source inputs and executable modes before `pnpm check` rebuilds, and generate next-version artifacts through `release:version` without main self-pushes. (#261)
8
+ - ecc05aa: Install cargo-hauler directly from GitHub with framework-generated repository marketplaces and committed plugin artifacts, and preserve Codex settings during refresh. (#259)
9
+ - bf3f257: Identical cargo requests share one run again when only shell bookkeeping differs. Request identity no longer hashes `PWD`, `OLDPWD`, `SHLVL`, `_`, or mise's `__MISE_*` session state, which change on every tool call. Other forwarded variables, such as an `OUT` path, still keep requests apart.
10
+
3
11
  ## 0.9.3
4
12
 
5
13
  ### Patch Changes
package/README.md CHANGED
@@ -617,13 +617,30 @@ node ./install.mjs --mode marketplace # local marketplace repository
617
617
 
618
618
  Upgrading to a new version: `claude plugin marketplace update cargo-hauler-marketplace
619
619
  && claude plugin update cargo-hauler@cargo-hauler-marketplace`, `codex plugin
620
- remove … && codex plugin marketplace add ./ && codex plugin add …`, and
620
+ marketplace add ./ && codex plugin add …` (without removing its settings), and
621
621
  `node "$PLUGIN_ROOT/install.mjs" --replace`. `claude plugin update` is
622
622
  version-gated, so after a rebuild that did not bump the version use
623
623
  `claude plugin uninstall … --keep-data` and install again (the installer does
624
624
  this automatically). Restart or reload the host after installing.
625
625
 
626
- ### From a checkout
626
+ ### From GitHub
627
+
628
+ The repository includes the generated `artifact/` plugin root and native
629
+ marketplaces, so GitHub installs need no local build or framework dependency:
630
+
631
+ ```sh
632
+ claude plugin marketplace add ScriptedAlchemy/cargo-hauler
633
+ claude plugin install cargo-hauler@cargo-hauler-marketplace --scope user
634
+ codex plugin marketplace add ScriptedAlchemy/cargo-hauler
635
+ codex plugin add cargo-hauler@cargo-hauler-marketplace
636
+ ```
637
+
638
+ In Cursor, use Customize → From GitHub Repository and select
639
+ `ScriptedAlchemy/cargo-hauler`. Contributors commit native build output with
640
+ source changes; `pnpm check` rejects stale committed artifacts before rebuilding.
641
+ Release versioning rebuilds the artifacts with the new version in its version PR.
642
+
643
+ ### Developing from a checkout
627
644
 
628
645
  ```sh
629
646
  pnpm install
@@ -1028,7 +1045,7 @@ ships no preview harness of its own.
1028
1045
 
1029
1046
  This repository pins the
1030
1047
  [pkg.pr.new](https://pkg.pr.new) preview of Agent Bundle main commit
1031
- [`ab5ae66`](https://github.com/ScriptedAlchemy/agent-bundle/commit/ab5ae66e1d9c2829a092640c586e2b3eacc4be88),
1048
+ [`477abe9`](https://github.com/ScriptedAlchemy/agent-bundle/commit/477abe956bdb1a862d957733c9d936580d65b5a9),
1032
1049
  for `agent-bundle`, `@agent-bundle/runtime`, and their paired
1033
1050
  `rsc-markdown-stream` preview. This pin emits manifest v6. `inspect` reports the
1034
1051
  `agent` component kind as unavailable on every host (agent-bundle G5
@@ -1 +1 @@
1
- {"description":"Coalesce, schedule, and stream cargo so concurrent agent sessions share compiles instead of fighting locks.","name":"cargo-hauler-marketplace","owner":{"name":"cargo-hauler"},"plugins":[{"description":"Coalesce, schedule, and stream cargo so concurrent agent sessions share compiles instead of fighting locks.","keywords":["cargo","rust","agent","mcp","claude-code","codex","cursor","build-orchestration"],"license":"MIT","name":"cargo-hauler","repository":"https://github.com/ScriptedAlchemy/cargo-hauler","source":"./","version":"0.9.3"}]}
1
+ {"description":"Coalesce, schedule, and stream cargo so concurrent agent sessions share compiles instead of fighting locks.","name":"cargo-hauler-marketplace","owner":{"name":"cargo-hauler"},"plugins":[{"description":"Coalesce, schedule, and stream cargo so concurrent agent sessions share compiles instead of fighting locks.","keywords":["cargo","rust","agent","mcp","claude-code","codex","cursor","build-orchestration"],"license":"MIT","name":"cargo-hauler","repository":"https://github.com/ScriptedAlchemy/cargo-hauler","source":"./","version":"0.9.4"}]}
@@ -1 +1 @@
1
- {"author":{"name":"cargo-hauler"},"description":"Coalesce, schedule, and stream cargo so concurrent agent sessions share compiles instead of fighting locks.","name":"cargo-hauler","version":"0.9.3"}
1
+ {"author":{"name":"cargo-hauler"},"description":"Coalesce, schedule, and stream cargo so concurrent agent sessions share compiles instead of fighting locks.","name":"cargo-hauler","version":"0.9.4"}
@@ -1 +1 @@
1
- {"author":{"name":"cargo-hauler"},"description":"Coalesce, schedule, and stream cargo so concurrent agent sessions share compiles instead of fighting locks.","hooks":"./.codex-plugin/hooks.json","interface":{"capabilities":["mcp","hooks","skills"],"category":"Productivity","defaultPrompt":["Help me use cargo-hauler."],"developerName":"cargo-hauler","displayName":"cargo-hauler","longDescription":"Coalesce, schedule, and stream cargo so concurrent agent sessions share compiles instead of fighting locks.","shortDescription":"Coalesce, schedule, and stream cargo so concurrent agent sessions share compiles instead of fighting locks."},"keywords":["cargo","rust","agent","mcp","claude-code","codex","cursor","build-orchestration"],"license":"MIT","mcpServers":"./.codex-plugin/mcp.json","name":"cargo-hauler","repository":"https://github.com/ScriptedAlchemy/cargo-hauler","skills":"./skills/","version":"0.9.3"}
1
+ {"author":{"name":"cargo-hauler"},"description":"Coalesce, schedule, and stream cargo so concurrent agent sessions share compiles instead of fighting locks.","hooks":"./.codex-plugin/hooks.json","interface":{"capabilities":["mcp","hooks","skills"],"category":"Productivity","defaultPrompt":["Help me use cargo-hauler."],"developerName":"cargo-hauler","displayName":"cargo-hauler","longDescription":"Coalesce, schedule, and stream cargo so concurrent agent sessions share compiles instead of fighting locks.","shortDescription":"Coalesce, schedule, and stream cargo so concurrent agent sessions share compiles instead of fighting locks."},"keywords":["cargo","rust","agent","mcp","claude-code","codex","cursor","build-orchestration"],"license":"MIT","mcpServers":"./.codex-plugin/mcp.json","name":"cargo-hauler","repository":"https://github.com/ScriptedAlchemy/cargo-hauler","skills":"./skills/","version":"0.9.4"}
@@ -1 +1 @@
1
- {"description":"Coalesce, schedule, and stream cargo so concurrent agent sessions share compiles instead of fighting locks.","displayName":"cargo-hauler","hooks":"./.cursor-plugin/hooks.json","keywords":["cargo","rust","agent","mcp","claude-code","codex","cursor","build-orchestration"],"license":"MIT","mcpServers":"./.cursor-plugin/mcp.json","name":"cargo-hauler","repository":"https://github.com/ScriptedAlchemy/cargo-hauler","skills":"./skills/","version":"0.9.3"}
1
+ {"description":"Coalesce, schedule, and stream cargo so concurrent agent sessions share compiles instead of fighting locks.","displayName":"cargo-hauler","hooks":"./.cursor-plugin/hooks.json","keywords":["cargo","rust","agent","mcp","claude-code","codex","cursor","build-orchestration"],"license":"MIT","mcpServers":"./.cursor-plugin/mcp.json","name":"cargo-hauler","repository":"https://github.com/ScriptedAlchemy/cargo-hauler","skills":"./skills/","version":"0.9.4"}
package/dist/AGENTS.md CHANGED
@@ -20,7 +20,12 @@ native features over new wrappers or fallback frameworks.
20
20
  set of files, `agent-bundle.manifest.json` beside `bin/`) and the package
21
21
  binaries (`dist/bin/hauler.js`, `dist/bin/cargo-hauler.mjs`,
22
22
  `dist/bin/cargo-hauler-install.js`).
23
- - `pnpm run check` is the gate: validate, build, typecheck, Effect
23
+ - Commit `artifact/` and the repository-root `.claude-plugin/`,
24
+ `.agents/plugins/`, and `.cursor-plugin/` marketplace manifests generated by
25
+ that build. GitHub installs read them without building source. Never
26
+ hand-edit generated outputs; `pnpm validate:artifact` verifies the root.
27
+ - `pnpm run check` is the gate: verify committed artifact freshness and bytes
28
+ before any build, validate, build, typecheck, Effect
24
29
  diagnostics, `rstest`, the route-unit suite, and browser App tests. Run it
25
30
  before claiming a change is done.
26
31
  - The plugin surface is an agent-bundle application: `src/layout.tsx` (the
package/dist/INSTALL.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Coalesce, schedule, and stream cargo so concurrent agent sessions share compiles instead of fighting locks.
4
4
 
5
- Version: `0.9.3`
5
+ Version: `0.9.4`
6
6
 
7
7
  Run these commands from this bundle directory. The bundle is self-contained: every command below is
8
8
  a host command or the bundled installer, and nothing requires the `agent-bundle` CLI. Where that CLI is
package/dist/README.md CHANGED
@@ -617,13 +617,30 @@ node ./install.mjs --mode marketplace # local marketplace repository
617
617
 
618
618
  Upgrading to a new version: `claude plugin marketplace update cargo-hauler-marketplace
619
619
  && claude plugin update cargo-hauler@cargo-hauler-marketplace`, `codex plugin
620
- remove … && codex plugin marketplace add ./ && codex plugin add …`, and
620
+ marketplace add ./ && codex plugin add …` (without removing its settings), and
621
621
  `node "$PLUGIN_ROOT/install.mjs" --replace`. `claude plugin update` is
622
622
  version-gated, so after a rebuild that did not bump the version use
623
623
  `claude plugin uninstall … --keep-data` and install again (the installer does
624
624
  this automatically). Restart or reload the host after installing.
625
625
 
626
- ### From a checkout
626
+ ### From GitHub
627
+
628
+ The repository includes the generated `artifact/` plugin root and native
629
+ marketplaces, so GitHub installs need no local build or framework dependency:
630
+
631
+ ```sh
632
+ claude plugin marketplace add ScriptedAlchemy/cargo-hauler
633
+ claude plugin install cargo-hauler@cargo-hauler-marketplace --scope user
634
+ codex plugin marketplace add ScriptedAlchemy/cargo-hauler
635
+ codex plugin add cargo-hauler@cargo-hauler-marketplace
636
+ ```
637
+
638
+ In Cursor, use Customize → From GitHub Repository and select
639
+ `ScriptedAlchemy/cargo-hauler`. Contributors commit native build output with
640
+ source changes; `pnpm check` rejects stale committed artifacts before rebuilding.
641
+ Release versioning rebuilds the artifacts with the new version in its version PR.
642
+
643
+ ### Developing from a checkout
627
644
 
628
645
  ```sh
629
646
  pnpm install
@@ -1028,7 +1045,7 @@ ships no preview harness of its own.
1028
1045
 
1029
1046
  This repository pins the
1030
1047
  [pkg.pr.new](https://pkg.pr.new) preview of Agent Bundle main commit
1031
- [`ab5ae66`](https://github.com/ScriptedAlchemy/agent-bundle/commit/ab5ae66e1d9c2829a092640c586e2b3eacc4be88),
1048
+ [`477abe9`](https://github.com/ScriptedAlchemy/agent-bundle/commit/477abe956bdb1a862d957733c9d936580d65b5a9),
1032
1049
  for `agent-bundle`, `@agent-bundle/runtime`, and their paired
1033
1050
  `rsc-markdown-stream` preview. This pin emits manifest v6. `inspect` reports the
1034
1051
  `agent` component kind as unavailable on every host (agent-bundle G5