cargo-hauler 0.6.5 → 0.6.7
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/CHANGELOG.md +12 -0
- package/README.md +6 -2
- package/artifact/agent-bundle.manifest.json +1 -1
- package/artifact/claude/.claude-plugin/marketplace.json +1 -1
- package/artifact/claude/.claude-plugin/plugin.json +1 -1
- package/artifact/claude/INSTALL.md +1 -1
- package/artifact/claude/bin/cargo-hauler-flight.mjs +146 -24
- package/artifact/claude/bin/cargo-hauler.mjs +187 -32
- package/artifact/claude/hooks/after-tool-shell-after-264de610.mjs +3 -3
- package/artifact/claude/hooks/before-tool-shell-before-9212219e.mjs +3 -3
- package/artifact/claude/hooks/event-route-session-start.mjs +2 -2
- package/artifact/claude/hooks/event-route-stop.mjs +2 -2
- package/artifact/claude/hooks/hooks-flight.mjs +146 -25
- package/artifact/claude/mcp/mcp-hauler-2b8242f9-flight.mjs +148 -26
- package/artifact/claude/mcp/mcp-hauler-2b8242f9.mjs +144 -27
- package/artifact/claude/mcp-apps/dashboard.html +5 -5
- package/artifact/claude/scripts/hauler.mjs +183 -30
- package/artifact/claude/skills/hauler-dashboard/SKILL.md +1 -1
- package/artifact/codex/.codex-plugin/plugin.json +1 -1
- package/artifact/codex/INSTALL.md +1 -1
- package/artifact/codex/bin/cargo-hauler-flight.mjs +146 -24
- package/artifact/codex/bin/cargo-hauler.mjs +187 -32
- package/artifact/codex/hooks/after-tool-shell-after-264de610.mjs +3 -3
- package/artifact/codex/hooks/before-tool-shell-before-9212219e.mjs +3 -3
- package/artifact/codex/hooks/event-route-session-start.mjs +2 -2
- package/artifact/codex/hooks/event-route-stop.mjs +2 -2
- package/artifact/codex/hooks/hooks-flight.mjs +146 -25
- package/artifact/codex/mcp/mcp-hauler-2b8242f9-flight.mjs +148 -26
- package/artifact/codex/mcp/mcp-hauler-2b8242f9.mjs +144 -27
- package/artifact/codex/mcp-apps/dashboard.html +5 -5
- package/artifact/codex/scripts/hauler.mjs +183 -30
- package/artifact/codex/skills/hauler-dashboard/SKILL.md +1 -1
- package/artifact/cursor/.cursor-plugin/plugin.json +1 -1
- package/artifact/cursor/INSTALL.md +1 -1
- package/artifact/cursor/bin/cargo-hauler-flight.mjs +146 -24
- package/artifact/cursor/bin/cargo-hauler.mjs +187 -32
- package/artifact/cursor/hooks/after-tool-shell-after-264de610.mjs +3 -3
- package/artifact/cursor/hooks/before-tool-shell-before-9212219e.mjs +3 -3
- package/artifact/cursor/hooks/event-route-session-start.mjs +2 -2
- package/artifact/cursor/hooks/event-route-stop.mjs +2 -2
- package/artifact/cursor/hooks/hooks-flight.mjs +146 -25
- package/artifact/cursor/install.mjs +1 -1
- package/artifact/cursor/mcp/mcp-hauler-2b8242f9-flight.mjs +148 -26
- package/artifact/cursor/mcp/mcp-hauler-2b8242f9.mjs +144 -27
- package/artifact/cursor/mcp-apps/dashboard.html +5 -5
- package/artifact/cursor/scripts/hauler.mjs +183 -30
- package/artifact/cursor/skills/hauler-dashboard/SKILL.md +1 -1
- package/artifact/portable/INSTALL.md +1 -1
- package/artifact/portable/bin/cargo-hauler-flight.mjs +146 -24
- package/artifact/portable/bin/cargo-hauler.mjs +187 -32
- package/artifact/portable/install.mjs +1 -1
- package/artifact/portable/mcp/mcp-hauler-2b8242f9-flight.mjs +147 -25
- package/artifact/portable/mcp/mcp-hauler-2b8242f9.mjs +143 -26
- package/artifact/portable/mcp-apps/dashboard.html +5 -5
- package/artifact/portable/plugin.json +1 -1
- package/artifact/portable/scripts/hauler.mjs +183 -30
- package/artifact/portable/skills/hauler-dashboard/SKILL.md +1 -1
- package/dist/bin/cargo-hauler-flight.mjs +146 -24
- package/dist/bin/cargo-hauler.js +187 -32
- package/dist/bin/hauler.js +183 -30
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.6.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 592863f: Make daemon replacement directional. Upgrading with long-lived sessions still on a previous plugin produced a war: the old clients shut down the new daemon on every hook call (and failed to start their own), the new clients started it again, and no daemon lived longer than two seconds. Now only a newer install replaces a daemon. The `shutdown` request carries the client's version; the daemon refuses a shutdown from a client older than itself or from one that sends no version (`shutdown-refused`), and a client that finds a newer daemon fails as `DaemonNewer` without touching it: `hauler exec` runs cargo directly with that reason, hooks continue, and `hauler status` / `hauler daemon status` name the newer daemon. `hauler daemon stop` from an older install is refused the same way.
|
|
8
|
+
|
|
9
|
+
## 0.6.6
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 60fd579: Spawn the daemon from an absolute entry path. The daemon runs with the state dir as its cwd, so a relative entry (a host running the plugin script from its own directory, or a relative plugin root) resolved to `<state dir>/scripts/hauler.mjs` and every start died with `MODULE_NOT_FOUND`; with version gating that repeated on each hook call after an upgrade. The entry is now resolved against the client's cwd and checked for existence, falling back to the package entry beside the bundled module and only then to the running script.
|
|
14
|
+
|
|
3
15
|
## 0.6.5
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -634,8 +634,12 @@ unset, the daemon reads kache's configured local store from
|
|
|
634
634
|
`hauler_last` read the ledger with the daemon marked `stopped` or
|
|
635
635
|
`unresponsive`. Before any live daemon reply is parsed, these reads apply
|
|
636
636
|
the one-version rule and replace a daemon left running by a previous
|
|
637
|
-
install.
|
|
638
|
-
the
|
|
637
|
+
install. Replacement is directional: only a newer install replaces a
|
|
638
|
+
daemon. A client older than the daemon it finds — a session still on a
|
|
639
|
+
previous plugin — never shuts it down (the daemon refuses a shutdown from
|
|
640
|
+
an older or unversioned client), reports the daemon as newer, and runs
|
|
641
|
+
cargo directly. If replacement fails, the reads report that failure
|
|
642
|
+
instead of reading the stale payload.
|
|
639
643
|
- The state directory is not migrated between installs. Every rendered
|
|
640
644
|
document names the one in use (`state dir …` in the header; `stateRoot` in
|
|
641
645
|
`--json`), so a `CARGO_HAULER_STATE_DIR` change is visible on the next
|