@womp/mcp-ui 0.1.8 → 0.1.9
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/README.md +8 -3
- package/dist/index.js +7 -7
- package/dist/upload/index.html +1 -10
- package/package.json +1 -1
- package/src/upload/index.html +0 -9
- package/src/upload/main.ts +12 -13
package/README.md
CHANGED
|
@@ -243,8 +243,8 @@ own refusal text on 4xx, 409/410 terminal. It never touches the model: the
|
|
|
243
243
|
bytes go disk → API.
|
|
244
244
|
|
|
245
245
|
Two things outside this repo make that PUT possible, and both fail as a bare
|
|
246
|
-
network error inside the card if missing (
|
|
247
|
-
|
|
246
|
+
network error inside the card if missing (the status line names that layer,
|
|
247
|
+
since there is no console in the sandbox):
|
|
248
248
|
|
|
249
249
|
- **`connectDomains` must name the API origin**, and the origin differs per
|
|
250
250
|
environment — so `bake-html.mjs` bakes `{}` for this card and swan-backend
|
|
@@ -256,7 +256,12 @@ upload page instead" button rather than a dead end):
|
|
|
256
256
|
|
|
257
257
|
While pending the card polls the app-callable `get_upload`, so a file the agent
|
|
258
258
|
pushed itself (`curl -T` from a shell that has it) flips the card to done
|
|
259
|
-
instead of leaving a drop zone for a file that already landed.
|
|
259
|
+
instead of leaving a drop zone for a file that already landed.
|
|
260
|
+
|
|
261
|
+
There is **no link out to an upload page**. swan-frontend had one at
|
|
262
|
+
`/upload/<token>` before this card existed; it was removed 2026-09-15 (Anuj)
|
|
263
|
+
so there is exactly one place a user sends a file from. The recovery for a
|
|
264
|
+
blocked PUT is the agent's own `curl -T`, which its tool text gives it. The dev stub
|
|
260
265
|
(`dev/server.mjs`) carries `create_upload` / `get_upload` and a `PUT
|
|
261
266
|
/mcp/v1/uploads/:token` sink with the GLB-magic sniff, so the refusal strip is
|
|
262
267
|
reachable locally too.
|