@womp/mcp-ui 0.1.15 → 0.1.17
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 +9 -6
- package/dist/index.d.ts +4 -0
- package/dist/index.js +17 -8
- package/dist/openai-camera/index.html +9 -91
- package/dist/openai-quote/index.html +223 -0
- package/package.json +4 -3
- package/src/cart/main.ts +1 -1
- package/src/openai-camera/index.html +2 -84
- package/src/openai-camera/main.ts +23 -80
- package/src/openai-quote/index.html +149 -0
- package/src/openai-quote/main.ts +123 -0
- package/src/print/main.ts +3 -3
- package/src/shared/bridge.ts +41 -0
package/README.md
CHANGED
|
@@ -20,14 +20,17 @@ list_print_orders ─► ui://womp/order-<version>.html
|
|
|
20
20
|
create_upload ──► ui://womp/upload-<version>.html (266 KB) drop zone: the user's mesh file goes to the ticket URL from the chat
|
|
21
21
|
get_upload ──► ui://womp/upload-<version>.html (app-callable — the card polls it)
|
|
22
22
|
design_camera ──► ui://openai-mcp/camera-<version>.html the camera project's card for the OpenAI MCP
|
|
23
|
-
checkout_camera ──► ui://openai-mcp/
|
|
23
|
+
checkout_camera ──► ui://openai-mcp/quote-<version>.html (260 KB) price, shipping, arrival date, checkout link-out
|
|
24
24
|
```
|
|
25
25
|
|
|
26
|
-
The `openai-camera`
|
|
27
|
-
(swan-backend `src/docs/OPENAI_MCP.md`), the
|
|
28
|
-
`/openai-mcp/v1`, not to Womp's `/mcp/v1
|
|
29
|
-
|
|
30
|
-
|
|
26
|
+
The `openai-camera` and `openai-quote` cards are the odd ones out: they belong
|
|
27
|
+
to the OpenAI MCP (swan-backend `src/docs/OPENAI_MCP.md`), the server at
|
|
28
|
+
`/openai-mcp/v1`, not to Womp's `/mcp/v1`, and they have their own local
|
|
29
|
+
stand-in server (`dev/openai-mcp/`, `yarn dev:openai-mcp`). The camera card
|
|
30
|
+
names no Womp, in its copy or its URI; the quote card does, because its
|
|
31
|
+
checkout is Womp's own page (the plugin shows the Womp name, Kush 2026-10-12).
|
|
32
|
+
Their buttons that stand for something the user would type (Order, Edit
|
|
33
|
+
design) post it in the chat (`ui/message`) for the model to answer.
|
|
31
34
|
|
|
32
35
|
## What it exports
|
|
33
36
|
|
package/dist/index.d.ts
CHANGED
|
@@ -35,3 +35,7 @@ export declare const UPLOAD_APP_HTML: string;
|
|
|
35
35
|
export declare const OPENAI_CAMERA_APP_URI: string;
|
|
36
36
|
export declare const OPENAI_CAMERA_APP_CSP: AppCsp;
|
|
37
37
|
export declare const OPENAI_CAMERA_APP_HTML: string;
|
|
38
|
+
|
|
39
|
+
export declare const OPENAI_QUOTE_APP_URI: string;
|
|
40
|
+
export declare const OPENAI_QUOTE_APP_CSP: AppCsp;
|
|
41
|
+
export declare const OPENAI_QUOTE_APP_HTML: string;
|