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