@taico/shared 0.4.0 → 0.4.1

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/README.md CHANGED
@@ -1,3 +1,3 @@
1
1
  # @taico/shared
2
2
 
3
- [![Socket Badge](https://badge.socket.dev/npm/package/@taico/shared/0.4.0)](https://badge.socket.dev/npm/package/@taico/shared/0.4.0)
3
+ [![Socket Badge](https://badge.socket.dev/npm/package/@taico/shared/0.4.1)](https://badge.socket.dev/npm/package/@taico/shared/0.4.1)
package/dist/index.d.ts CHANGED
@@ -7,5 +7,10 @@ export declare const INTERNAL_WORKER_AUTH_TARGET_VERSION = "0.0.0";
7
7
  export declare const INTERNAL_WORKER_AUTH_TARGET_NAME = "Taico Worker";
8
8
  export declare const INTERNAL_WORKER_AUTH_TARGET_DESCRIPTION = "Internal OAuth target for Taico worker bootstrap.";
9
9
  export declare const INTERNAL_WORKER_AUTH_SCOPES: Scope[];
10
+ export declare const DISPLAY_AUTH_TARGET_ID = "taico-display";
11
+ export declare const DISPLAY_AUTH_TARGET_VERSION = "0.0.0";
12
+ export declare const DISPLAY_AUTH_TARGET_NAME = "Taico Display";
13
+ export declare const DISPLAY_AUTH_TARGET_DESCRIPTION = "OAuth target for read-only Taico status displays.";
14
+ export declare const DISPLAY_AUTH_SCOPES: Scope[];
10
15
  export declare const DEFAULT_AGENT_TOKEN_SCOPES: readonly ["meta:read", "meta:write", "tasks:read", "tasks:write", "context:read", "context:write", "agents:read", "run:read", "run:write", "threads:read", "threads:write", "mcp-registry:read", "mcp:use", "secret:read"];
11
16
  export * from './agent-runtime-permissions.js';
package/dist/index.js CHANGED
@@ -36,6 +36,24 @@ export const INTERNAL_WORKER_AUTH_SCOPES = [
36
36
  description: 'Allows workers to read MCP server registry metadata.',
37
37
  },
38
38
  ];
39
+ export const DISPLAY_AUTH_TARGET_ID = 'taico-display';
40
+ export const DISPLAY_AUTH_TARGET_VERSION = '0.0.0';
41
+ export const DISPLAY_AUTH_TARGET_NAME = 'Taico Display';
42
+ export const DISPLAY_AUTH_TARGET_DESCRIPTION = 'OAuth target for read-only Taico status displays.';
43
+ export const DISPLAY_AUTH_SCOPES = [
44
+ {
45
+ id: 'tasks:read',
46
+ description: 'Allows users to read tasks, tags, comments, etc from Tasks.',
47
+ },
48
+ {
49
+ id: 'run:read',
50
+ description: 'Allows reading agent run information.',
51
+ },
52
+ {
53
+ id: 'workers:read',
54
+ description: 'Read workers.',
55
+ },
56
+ ];
39
57
  export const DEFAULT_AGENT_TOKEN_SCOPES = [
40
58
  'meta:read',
41
59
  'meta:write',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taico/shared",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "license": "PolyForm-Small-Business-1.0.0",