@stratusagent/dashboard 0.12.3 → 0.12.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stratusagent/dashboard",
3
- "version": "0.12.3",
3
+ "version": "0.12.4",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -1,6 +1,6 @@
1
1
  // Types for the one UI module a test imports. The UI itself is plain ES
2
2
  // modules with no build step; this declaration is what lets `pnpm typecheck`
3
3
  // cover the test without pretending the module is TypeScript.
4
- export type AlwaysMeans = 'scope' | 'origin' | 'tool' | 'session';
4
+ export type AlwaysMeans = 'scope' | 'origin' | 'tool' | 'destination' | 'session';
5
5
  /** The line shown beside **Always allow**, or undefined when the lifetime is unknown. */
6
6
  export const alwaysOffer: (always: AlwaysMeans | undefined, agentName: string) => string | undefined;
package/ui/lib/grants.js CHANGED
@@ -17,6 +17,8 @@ export const alwaysOffer = (always, agentName) => {
17
17
  switch (always) {
18
18
  case 'tool':
19
19
  return `Always allow grants this tool to ${agentName} until an operator revokes it.`;
20
+ case 'destination':
21
+ return `Always allow lets ${agentName} use this tool on this conversation without asking, until revoked.`;
20
22
  case 'session':
21
23
  return 'Always allow stops this tool asking again for the rest of this session.';
22
24
  case 'scope':