MEGAINFRA-WEBAPP/src/mcp
DEls 0307d2cb35 feat(mcp): prepare_delivery stages a slip for the site manager without booking it
Agents can now save a whole receiving plan (lines by number, kits, NIL
auto-close) and leave the slip in Ready to post; the site manager checks
the totals and presses Confirm delivery, which posts exactly what was
saved. Quantities over the PO need acceptExcess (site-approved) and a
slip with an open site question is refused.

Confirm delivery on the web now refreshes a slip whose match went stale
because another slip on the same PO was booked, re-applying the saved
decisions instead of sending the user back to an AI re-match.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-09 17:47:35 +02:00
..
auth.test.ts feat: add remote purchasing MCP to existing app 2026-10-05 02:46:36 +02:00
auth.ts feat: add remote purchasing MCP to existing app 2026-10-05 02:46:36 +02:00
create-server.ts feat: share validated purchasing writes with MCP 2026-10-05 01:48:49 +02:00
http.test.ts feat: share validated purchasing writes with MCP 2026-10-05 01:48:49 +02:00
http.ts feat: add authenticated same-app MCP transport 2026-10-05 01:31:17 +02:00
purchasing-read-tools.ts feat(mcp): compact delivery inbox board for agents 2026-10-09 02:39:38 +02:00
purchasing-write-tools.ts feat(mcp): prepare_delivery stages a slip for the site manager without booking it 2026-10-09 17:47:35 +02:00
server.ts feat: add authenticated same-app MCP transport 2026-10-05 01:31:17 +02:00
tool-contract.ts fix(mcp): return and journal the real purchasing error with a hint 2026-10-09 01:59:21 +02:00