cargo-hauler 0.6.4 → 0.6.6

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 (61) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +5 -2
  3. package/artifact/agent-bundle.manifest.json +1 -1
  4. package/artifact/claude/.claude-plugin/marketplace.json +1 -1
  5. package/artifact/claude/.claude-plugin/plugin.json +1 -1
  6. package/artifact/claude/INSTALL.md +1 -1
  7. package/artifact/claude/bin/cargo-hauler-flight.mjs +35 -16
  8. package/artifact/claude/bin/cargo-hauler.mjs +73 -26
  9. package/artifact/claude/hooks/after-tool-shell-after-264de610.mjs +3 -3
  10. package/artifact/claude/hooks/before-tool-shell-before-9212219e.mjs +3 -3
  11. package/artifact/claude/hooks/event-route-session-start.mjs +2 -2
  12. package/artifact/claude/hooks/event-route-stop.mjs +2 -2
  13. package/artifact/claude/hooks/hooks-flight.mjs +36 -17
  14. package/artifact/claude/mcp/mcp-hauler-2b8242f9-flight.mjs +37 -18
  15. package/artifact/claude/mcp/mcp-hauler-2b8242f9.mjs +38 -19
  16. package/artifact/claude/mcp-apps/dashboard.html +1 -1
  17. package/artifact/claude/scripts/hauler.mjs +71 -24
  18. package/artifact/claude/skills/hauler-dashboard/SKILL.md +1 -1
  19. package/artifact/codex/.codex-plugin/plugin.json +1 -1
  20. package/artifact/codex/INSTALL.md +1 -1
  21. package/artifact/codex/bin/cargo-hauler-flight.mjs +35 -16
  22. package/artifact/codex/bin/cargo-hauler.mjs +73 -26
  23. package/artifact/codex/hooks/after-tool-shell-after-264de610.mjs +3 -3
  24. package/artifact/codex/hooks/before-tool-shell-before-9212219e.mjs +3 -3
  25. package/artifact/codex/hooks/event-route-session-start.mjs +2 -2
  26. package/artifact/codex/hooks/event-route-stop.mjs +2 -2
  27. package/artifact/codex/hooks/hooks-flight.mjs +36 -17
  28. package/artifact/codex/mcp/mcp-hauler-2b8242f9-flight.mjs +37 -18
  29. package/artifact/codex/mcp/mcp-hauler-2b8242f9.mjs +38 -19
  30. package/artifact/codex/mcp-apps/dashboard.html +1 -1
  31. package/artifact/codex/scripts/hauler.mjs +71 -24
  32. package/artifact/codex/skills/hauler-dashboard/SKILL.md +1 -1
  33. package/artifact/cursor/.cursor-plugin/plugin.json +1 -1
  34. package/artifact/cursor/INSTALL.md +1 -1
  35. package/artifact/cursor/bin/cargo-hauler-flight.mjs +35 -16
  36. package/artifact/cursor/bin/cargo-hauler.mjs +73 -26
  37. package/artifact/cursor/hooks/after-tool-shell-after-264de610.mjs +3 -3
  38. package/artifact/cursor/hooks/before-tool-shell-before-9212219e.mjs +3 -3
  39. package/artifact/cursor/hooks/event-route-session-start.mjs +2 -2
  40. package/artifact/cursor/hooks/event-route-stop.mjs +2 -2
  41. package/artifact/cursor/hooks/hooks-flight.mjs +36 -17
  42. package/artifact/cursor/install.mjs +1 -1
  43. package/artifact/cursor/mcp/mcp-hauler-2b8242f9-flight.mjs +37 -18
  44. package/artifact/cursor/mcp/mcp-hauler-2b8242f9.mjs +38 -19
  45. package/artifact/cursor/mcp-apps/dashboard.html +1 -1
  46. package/artifact/cursor/scripts/hauler.mjs +71 -24
  47. package/artifact/cursor/skills/hauler-dashboard/SKILL.md +1 -1
  48. package/artifact/portable/INSTALL.md +1 -1
  49. package/artifact/portable/bin/cargo-hauler-flight.mjs +35 -16
  50. package/artifact/portable/bin/cargo-hauler.mjs +73 -26
  51. package/artifact/portable/install.mjs +1 -1
  52. package/artifact/portable/mcp/mcp-hauler-2b8242f9-flight.mjs +36 -17
  53. package/artifact/portable/mcp/mcp-hauler-2b8242f9.mjs +37 -18
  54. package/artifact/portable/mcp-apps/dashboard.html +1 -1
  55. package/artifact/portable/plugin.json +1 -1
  56. package/artifact/portable/scripts/hauler.mjs +71 -24
  57. package/artifact/portable/skills/hauler-dashboard/SKILL.md +1 -1
  58. package/dist/bin/cargo-hauler-flight.mjs +35 -16
  59. package/dist/bin/cargo-hauler.js +73 -26
  60. package/dist/bin/hauler.js +71 -24
  61. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.6.6
4
+
5
+ ### Patch Changes
6
+
7
+ - 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.
8
+
9
+ ## 0.6.5
10
+
11
+ ### Patch Changes
12
+
13
+ - 4686a3b: Lane scheduling prefers the compile surface the lane just built. A queued request whose profile, features, target, toolchain, or compile-relevant environment differ from the last leader's is scored as 1.5× its estimate, so consecutive requests that share a surface run back to back instead of alternating `cargo test` (test profile) with `cargo check`/`build` (dev profile) or flipping a feature set on every ticket. The ledger showed 47% of consecutive same-lane runs switching surface and those runs taking 1.6–2.5× as long as same-surface runs. Shortest-job-first, fan-out, edit fail-fast, and age escape still apply: a switch that is clearly cheaper still runs first, and a switching request cannot be starved.
14
+
3
15
  ## 0.6.4
4
16
 
5
17
  ### Patch Changes
package/README.md CHANGED
@@ -252,8 +252,11 @@ compile phase and an execution phase once the ledger has seen
252
252
  `buildFinishedAtMs` on that intent. It can also use
253
253
  per-crate timing data from kache. Lower-cost work, requests with more attached
254
254
  callers, dependency-unblocking work, and recently edited packages receive a
255
- lower scheduling score. Waiting time lowers the score further so broad work
256
- eventually runs.
255
+ lower scheduling score. A request whose compile surface (profile, features,
256
+ target, toolchain, compile-relevant environment) differs from the one the lane
257
+ just built is scored as 1.5× its estimate, so like work runs back to back
258
+ instead of alternating test and dev profiles or flipping feature sets on every
259
+ ticket. Waiting time lowers the score further so broad work eventually runs.
257
260
 
258
261
  Admission within a lane is therefore cost-ordered, not first-in-first-out: a
259
262
  queued `cargo test -p foo` (a cheap estimate) normally starts before a queued