@vivix-labs/studio-chat-mcp 0.1.9 → 0.1.10
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 -7
- package/dist/chat-ui/index.html +10 -10
- package/dist/server.js +7 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -39,7 +39,7 @@ Authorization = "Bearer <route-credential>"
|
|
|
39
39
|
|
|
40
40
|
Keep the credential in the client's private configuration. It authorizes this exact plugin route. The Host derives it from the profile's existing persistent browser key. The saved Host port and route credential survive Host restarts. CLI bearer credentials continue rotating at startup. Start the Host through the Studio CLI before reconnecting a stopped Host.
|
|
41
41
|
|
|
42
|
-
The plugin requires Studio plugin API 0.2.6. It exposes discovery and media reads on the same connection as `run_studio_action`, the app-only `studio_card_action`, and `ui://studio/chat/
|
|
42
|
+
The plugin requires Studio plugin API 0.2.6. It exposes discovery and media reads on the same connection as `run_studio_action`, the app-only `studio_card_action`, and `ui://studio/chat/v12.html`. Its connection PID equals the Studio Host PID. Disabling the plugin removes the route through the normal plugin lifecycle. The current bundled MCP dependency requires an explicit Host restart for code upgrades when the generic reloader reports `restart_required`.
|
|
43
43
|
|
|
44
44
|
## Discover and read through one connection
|
|
45
45
|
|
|
@@ -110,12 +110,13 @@ server-owned context to this callback. The callback returns `{intent, data}` wit
|
|
|
110
110
|
a nonempty intent and JSON object data. This read-only path invokes no business
|
|
111
111
|
operation and creates no business receipt.
|
|
112
112
|
|
|
113
|
-
|
|
114
|
-
`
|
|
115
|
-
|
|
116
|
-
|
|
113
|
+
When the client advertises structured model context, the outer MCP App uses
|
|
114
|
+
`updateModelContext` for the exact interaction data, then sends the readable
|
|
115
|
+
request. Clients with messaging but without structured context receive the
|
|
116
|
+
request followed by the complete interaction JSON in the same message.
|
|
117
|
+
The sandbox receives the result status without prepared message metadata.
|
|
117
118
|
|
|
118
119
|
Unsupported or rejected sends retain the draft. Unknown sends retain their
|
|
119
120
|
original request identity and are not automatically resent. The component's
|
|
120
|
-
prompt and target actions remain exclusive per button.
|
|
121
|
-
|
|
121
|
+
prompt and target actions remain exclusive per button. If a client advertises
|
|
122
|
+
structured context but the update fails, the page retains the draft.
|