@womp/mcp-ui 0.1.11 → 0.1.13
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 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +15 -6
- package/dist/openai-camera/index.html +458 -0
- package/package.json +6 -3
- package/src/openai-camera/index.html +384 -0
- package/src/openai-camera/main.ts +576 -0
package/README.md
CHANGED
|
@@ -19,8 +19,16 @@ get_print_order ──► ui://womp/order-<version>.html (258 KB) status chips
|
|
|
19
19
|
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
|
+
design_camera ──► ui://openai-mcp/camera-<version>.html the camera project's card for the OpenAI MCP
|
|
23
|
+
checkout_camera ──► ui://openai-mcp/camera-<version>.html (opens on the order form; place_order is app-callable)
|
|
22
24
|
```
|
|
23
25
|
|
|
26
|
+
The `openai-camera` card is the odd one out: it belongs to the OpenAI MCP
|
|
27
|
+
(swan-backend `src/docs/OPENAI_MCP.md`), the white-label server at
|
|
28
|
+
`/openai-mcp/v1`, not to Womp's `/mcp/v1` — so it names no Womp, in its copy or
|
|
29
|
+
its URI, and it has its own local stand-in server (`dev/openai-mcp/`,
|
|
30
|
+
`yarn dev:openai-mcp`).
|
|
31
|
+
|
|
24
32
|
## What it exports
|
|
25
33
|
|
|
26
34
|
The package ships the built HTML **as a string**, not as files:
|
package/dist/index.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export declare const APP_MIME_TYPE: "text/html;profile=mcp-app";
|
|
|
5
5
|
export interface AppCsp {
|
|
6
6
|
resourceDomains?: string[];
|
|
7
7
|
connectDomains?: string[];
|
|
8
|
+
frameDomains?: string[];
|
|
8
9
|
}
|
|
9
10
|
|
|
10
11
|
export declare const IMAGE_APP_URI: string;
|
|
@@ -30,3 +31,7 @@ export declare const ORDER_APP_HTML: string;
|
|
|
30
31
|
export declare const UPLOAD_APP_URI: string;
|
|
31
32
|
export declare const UPLOAD_APP_CSP: AppCsp;
|
|
32
33
|
export declare const UPLOAD_APP_HTML: string;
|
|
34
|
+
|
|
35
|
+
export declare const OPENAI_CAMERA_APP_URI: string;
|
|
36
|
+
export declare const OPENAI_CAMERA_APP_CSP: AppCsp;
|
|
37
|
+
export declare const OPENAI_CAMERA_APP_HTML: string;
|