Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/generated-dashboard-types.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"cargo-hauler": patch
---

Keep dashboard payload handling synchronized with generated Agent Bundle route result types. (#165)
4 changes: 2 additions & 2 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
binaries (`dist/bin/hauler.js`, `dist/bin/cargo-hauler.mjs`,
`dist/bin/cargo-hauler-install.js`).
- `pnpm run check` is the gate: validate, build, typecheck, Effect
diagnostics, `rstest`, and the route-unit suite. Run it before claiming a
change is done.
diagnostics, `rstest`, the route-unit suite, and browser App tests. Run it
before claiming a change is done.
- The plugin surface is an agent-bundle application: `src/layout.tsx` (the
shell), `src/providers/hauler-daemon.ts` (daemon connection), `src/components`
(typed components over `view-models.ts`), `src/mcp/hauler/tools` and
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,15 @@
],
"scripts": {
"build": "agent-bundle build",
"check": "pnpm validate && pnpm build && pnpm typecheck && pnpm diagnostics && pnpm test && pnpm test:routes",
"check": "pnpm validate && pnpm build && pnpm typecheck && pnpm diagnostics && pnpm test && pnpm test:routes && pnpm test:browser",
"changeset": "changeset",
"dev": "agent-bundle dev",
"diagnostics": "effect-tsgo diagnostics --project tsconfig.json",
"doctor": "agent-bundle doctor",
"inspect": "agent-bundle inspect",
"prepack": "agent-bundle prepack",
"test": "rstest",
"test:browser": "rstest --config rstest.browser-app.config.ts",
"test:routes": "rstest --config rstest.route-unit.config.ts",
"typecheck": "tsc -p tsconfig.json --noEmit",
"validate": "agent-bundle validate",
Expand All @@ -62,6 +63,7 @@
"@effect/platform-node": "4.0.0-rc.112",
"@effect/tsgo": "0.38.0",
"@modelcontextprotocol/server": "2.0.0",
"@rstest/browser": "0.11.12",
"@rstest/core": "0.11.12",
"@types/node": "^22.18.0",
"@types/proper-lockfile": "^4.1.4",
Expand All @@ -73,6 +75,7 @@
"effect": "4.0.0-rc.112",
"effect-rstest": "https://pkg.pr.new/ScriptedAlchemy/effect-rstest@e5f8d5f",
"proper-lockfile": "^4.1.2",
"playwright": "1.62.1",
"react": "^19.2.8",
"react-dom": "^19.2.8",
"scheduler": "^0.27.0",
Expand Down
Loading
Loading