@talonic/mcp 0.1.54 → 0.1.55
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/dist/http-server.js +9 -1
- package/dist/http-server.js.map +1 -1
- package/dist/index.js +9 -1
- package/dist/index.js.map +1 -1
- package/dist/server.js +9 -1
- package/dist/server.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -287,6 +287,7 @@ var EXTRACTION_RESULT_WIDGET_URI = "ui://widget/extraction-result.html";
|
|
|
287
287
|
var EXTRACTION_RESULT_WIDGET_MIME = "text/html;profile=mcp-app";
|
|
288
288
|
|
|
289
289
|
// src/widgets/register.ts
|
|
290
|
+
var WIDGET_DOMAIN = "https://talonic.com";
|
|
290
291
|
function registerExtractionResultWidget(server) {
|
|
291
292
|
server.registerResource(
|
|
292
293
|
"extraction-result-widget",
|
|
@@ -311,12 +312,19 @@ function registerExtractionResultWidget(server) {
|
|
|
311
312
|
// (legacy ChatGPT compatibility).
|
|
312
313
|
_meta: {
|
|
313
314
|
ui: {
|
|
315
|
+
// Unique HTTPS origin for this app's widget. Required for app
|
|
316
|
+
// submission. ChatGPT renders the widget in an isolated sandbox
|
|
317
|
+
// at <domain>.web-sandbox.oaiusercontent.com. It is an isolation
|
|
318
|
+
// namespace, not a served endpoint — it need not host anything.
|
|
319
|
+
domain: WIDGET_DOMAIN,
|
|
314
320
|
csp: {
|
|
315
321
|
connectDomains: [],
|
|
316
322
|
resourceDomains: [],
|
|
317
323
|
frameDomains: []
|
|
318
324
|
}
|
|
319
325
|
},
|
|
326
|
+
// OpenAI compatibility aliases for the two fields above.
|
|
327
|
+
"openai/widgetDomain": WIDGET_DOMAIN,
|
|
320
328
|
"openai/widgetCSP": {
|
|
321
329
|
connect_domains: [],
|
|
322
330
|
resource_domains: [],
|
|
@@ -1358,7 +1366,7 @@ function registerToMarkdown(server, getTalonic) {
|
|
|
1358
1366
|
|
|
1359
1367
|
// package.json
|
|
1360
1368
|
var package_default = {
|
|
1361
|
-
version: "0.1.
|
|
1369
|
+
version: "0.1.55"};
|
|
1362
1370
|
|
|
1363
1371
|
// src/version.ts
|
|
1364
1372
|
var VERSION = package_default.version;
|