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