@trops/dash-core 0.1.496 → 0.1.497
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/electron/index.js +411 -23
- package/dist/electron/index.js.map +1 -1
- package/dist/index.esm.js +20 -0
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +20 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -49312,6 +49312,10 @@ var GrantOriginBadge = function GrantOriginBadge(_ref8) {
|
|
|
49312
49312
|
manual: {
|
|
49313
49313
|
label: "manual",
|
|
49314
49314
|
color: "text-blue-400"
|
|
49315
|
+
},
|
|
49316
|
+
live: {
|
|
49317
|
+
label: "live",
|
|
49318
|
+
color: "text-purple-400"
|
|
49315
49319
|
}
|
|
49316
49320
|
};
|
|
49317
49321
|
var style = styles[origin];
|
|
@@ -49396,6 +49400,22 @@ var EXAMPLE_FIXTURES = [{
|
|
|
49396
49400
|
}
|
|
49397
49401
|
}
|
|
49398
49402
|
}
|
|
49403
|
+
}, {
|
|
49404
|
+
caption: "Granted live, when the widget triggered a tool call without a pre-existing grant (just-in-time consent prompt).",
|
|
49405
|
+
widgetId: "@example/just-in-time-widget",
|
|
49406
|
+
hasManifest: false,
|
|
49407
|
+
grantOrigin: "live",
|
|
49408
|
+
declared: null,
|
|
49409
|
+
granted: {
|
|
49410
|
+
grantOrigin: "live",
|
|
49411
|
+
servers: {
|
|
49412
|
+
filesystem: {
|
|
49413
|
+
tools: ["read_file"],
|
|
49414
|
+
readPaths: ["~/Documents/notes/today.md"],
|
|
49415
|
+
writePaths: []
|
|
49416
|
+
}
|
|
49417
|
+
}
|
|
49418
|
+
}
|
|
49399
49419
|
}, {
|
|
49400
49420
|
caption: "Stale grant — the widget upgraded and dropped readPaths from its manifest, but the user's grant is still present.",
|
|
49401
49421
|
widgetId: "@example/upgraded-widget",
|