@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.esm.js
CHANGED
|
@@ -49294,6 +49294,10 @@ var GrantOriginBadge = function GrantOriginBadge(_ref8) {
|
|
|
49294
49294
|
manual: {
|
|
49295
49295
|
label: "manual",
|
|
49296
49296
|
color: "text-blue-400"
|
|
49297
|
+
},
|
|
49298
|
+
live: {
|
|
49299
|
+
label: "live",
|
|
49300
|
+
color: "text-purple-400"
|
|
49297
49301
|
}
|
|
49298
49302
|
};
|
|
49299
49303
|
var style = styles[origin];
|
|
@@ -49378,6 +49382,22 @@ var EXAMPLE_FIXTURES = [{
|
|
|
49378
49382
|
}
|
|
49379
49383
|
}
|
|
49380
49384
|
}
|
|
49385
|
+
}, {
|
|
49386
|
+
caption: "Granted live, when the widget triggered a tool call without a pre-existing grant (just-in-time consent prompt).",
|
|
49387
|
+
widgetId: "@example/just-in-time-widget",
|
|
49388
|
+
hasManifest: false,
|
|
49389
|
+
grantOrigin: "live",
|
|
49390
|
+
declared: null,
|
|
49391
|
+
granted: {
|
|
49392
|
+
grantOrigin: "live",
|
|
49393
|
+
servers: {
|
|
49394
|
+
filesystem: {
|
|
49395
|
+
tools: ["read_file"],
|
|
49396
|
+
readPaths: ["~/Documents/notes/today.md"],
|
|
49397
|
+
writePaths: []
|
|
49398
|
+
}
|
|
49399
|
+
}
|
|
49400
|
+
}
|
|
49381
49401
|
}, {
|
|
49382
49402
|
caption: "Stale grant — the widget upgraded and dropped readPaths from its manifest, but the user's grant is still present.",
|
|
49383
49403
|
widgetId: "@example/upgraded-widget",
|