@agent-relay/api-types 0.1.0

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.
Files changed (41) hide show
  1. package/dist/index.d.ts +21 -0
  2. package/dist/index.d.ts.map +1 -0
  3. package/dist/index.js +22 -0
  4. package/dist/index.js.map +1 -0
  5. package/dist/schemas/agent.d.ts +259 -0
  6. package/dist/schemas/agent.d.ts.map +1 -0
  7. package/dist/schemas/agent.js +102 -0
  8. package/dist/schemas/agent.js.map +1 -0
  9. package/dist/schemas/api.d.ts +290 -0
  10. package/dist/schemas/api.d.ts.map +1 -0
  11. package/dist/schemas/api.js +162 -0
  12. package/dist/schemas/api.js.map +1 -0
  13. package/dist/schemas/decision.d.ts +230 -0
  14. package/dist/schemas/decision.d.ts.map +1 -0
  15. package/dist/schemas/decision.js +104 -0
  16. package/dist/schemas/decision.js.map +1 -0
  17. package/dist/schemas/fleet.d.ts +615 -0
  18. package/dist/schemas/fleet.d.ts.map +1 -0
  19. package/dist/schemas/fleet.js +71 -0
  20. package/dist/schemas/fleet.js.map +1 -0
  21. package/dist/schemas/history.d.ts +180 -0
  22. package/dist/schemas/history.d.ts.map +1 -0
  23. package/dist/schemas/history.js +72 -0
  24. package/dist/schemas/history.js.map +1 -0
  25. package/dist/schemas/index.d.ts +14 -0
  26. package/dist/schemas/index.d.ts.map +1 -0
  27. package/dist/schemas/index.js +22 -0
  28. package/dist/schemas/index.js.map +1 -0
  29. package/dist/schemas/message.d.ts +456 -0
  30. package/dist/schemas/message.d.ts.map +1 -0
  31. package/dist/schemas/message.js +88 -0
  32. package/dist/schemas/message.js.map +1 -0
  33. package/dist/schemas/session.d.ts +60 -0
  34. package/dist/schemas/session.d.ts.map +1 -0
  35. package/dist/schemas/session.js +36 -0
  36. package/dist/schemas/session.js.map +1 -0
  37. package/dist/schemas/task.d.ts +111 -0
  38. package/dist/schemas/task.d.ts.map +1 -0
  39. package/dist/schemas/task.js +64 -0
  40. package/dist/schemas/task.js.map +1 -0
  41. package/package.json +61 -0
@@ -0,0 +1,21 @@
1
+ /**
2
+ * @agent-relay/api-types
3
+ *
4
+ * Shared API types and Zod schemas for Agent Relay.
5
+ * Provides type-safe API contracts between frontend and backend.
6
+ *
7
+ * @example
8
+ * ```typescript
9
+ * import { AgentSchema, type Agent } from '@agent-relay/api-types';
10
+ *
11
+ * // Validate API response
12
+ * const agent = AgentSchema.parse(response.data);
13
+ *
14
+ * // Use inferred type
15
+ * function displayAgent(agent: Agent) {
16
+ * console.log(agent.name, agent.status);
17
+ * }
18
+ * ```
19
+ */
20
+ export * from './schemas/index.js';
21
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAGH,cAAc,oBAAoB,CAAC"}
package/dist/index.js ADDED
@@ -0,0 +1,22 @@
1
+ /**
2
+ * @agent-relay/api-types
3
+ *
4
+ * Shared API types and Zod schemas for Agent Relay.
5
+ * Provides type-safe API contracts between frontend and backend.
6
+ *
7
+ * @example
8
+ * ```typescript
9
+ * import { AgentSchema, type Agent } from '@agent-relay/api-types';
10
+ *
11
+ * // Validate API response
12
+ * const agent = AgentSchema.parse(response.data);
13
+ *
14
+ * // Use inferred type
15
+ * function displayAgent(agent: Agent) {
16
+ * console.log(agent.name, agent.status);
17
+ * }
18
+ * ```
19
+ */
20
+ // Re-export all schemas and types
21
+ export * from './schemas/index.js';
22
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,kCAAkC;AAClC,cAAc,oBAAoB,CAAC"}
@@ -0,0 +1,259 @@
1
+ /**
2
+ * Agent Schemas
3
+ *
4
+ * Zod schemas for agent-related types used across the dashboard and API.
5
+ */
6
+ import { z } from 'zod';
7
+ /**
8
+ * Agent status enum
9
+ */
10
+ export declare const AgentStatusSchema: z.ZodEnum<["online", "idle", "busy", "offline"]>;
11
+ export type AgentStatus = z.infer<typeof AgentStatusSchema>;
12
+ /**
13
+ * Agent profile information - helps users understand agent behavior
14
+ */
15
+ export declare const AgentProfileSchema: z.ZodObject<{
16
+ /** Display title/role (e.g., "Lead Developer", "Code Reviewer") */
17
+ title: z.ZodOptional<z.ZodString>;
18
+ /** Short description of what this agent does */
19
+ description: z.ZodOptional<z.ZodString>;
20
+ /** The prompt/task the agent was spawned with */
21
+ spawnPrompt: z.ZodOptional<z.ZodString>;
22
+ /** Agent profile/persona prompt (e.g., lead agent instructions) */
23
+ personaPrompt: z.ZodOptional<z.ZodString>;
24
+ /** Name of the persona preset used (e.g., "lead", "reviewer", "shadow-auditor") */
25
+ personaName: z.ZodOptional<z.ZodString>;
26
+ /** Model being used (e.g., "claude-3-opus", "gpt-4") */
27
+ model: z.ZodOptional<z.ZodString>;
28
+ /** Working directory */
29
+ workingDirectory: z.ZodOptional<z.ZodString>;
30
+ /** When the agent was first seen */
31
+ firstSeen: z.ZodOptional<z.ZodString>;
32
+ /** Capabilities or tools available to the agent */
33
+ capabilities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
34
+ /** Tags for categorization */
35
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
36
+ }, "strip", z.ZodTypeAny, {
37
+ title?: string | undefined;
38
+ description?: string | undefined;
39
+ spawnPrompt?: string | undefined;
40
+ personaPrompt?: string | undefined;
41
+ personaName?: string | undefined;
42
+ model?: string | undefined;
43
+ workingDirectory?: string | undefined;
44
+ firstSeen?: string | undefined;
45
+ capabilities?: string[] | undefined;
46
+ tags?: string[] | undefined;
47
+ }, {
48
+ title?: string | undefined;
49
+ description?: string | undefined;
50
+ spawnPrompt?: string | undefined;
51
+ personaPrompt?: string | undefined;
52
+ personaName?: string | undefined;
53
+ model?: string | undefined;
54
+ workingDirectory?: string | undefined;
55
+ firstSeen?: string | undefined;
56
+ capabilities?: string[] | undefined;
57
+ tags?: string[] | undefined;
58
+ }>;
59
+ export type AgentProfile = z.infer<typeof AgentProfileSchema>;
60
+ /**
61
+ * Agent schema - represents a connected agent
62
+ */
63
+ export declare const AgentSchema: z.ZodObject<{
64
+ /** Agent name (required) */
65
+ name: z.ZodString;
66
+ /** Agent role description */
67
+ role: z.ZodOptional<z.ZodString>;
68
+ /** CLI type used by the agent (claude, codex, gemini, etc.) */
69
+ cli: z.ZodOptional<z.ZodString>;
70
+ /** Current agent status (required) */
71
+ status: z.ZodEnum<["online", "idle", "busy", "offline"]>;
72
+ /** Last seen timestamp (ISO string) */
73
+ lastSeen: z.ZodOptional<z.ZodString>;
74
+ /** Last active timestamp (ISO string) */
75
+ lastActive: z.ZodOptional<z.ZodString>;
76
+ /** Total message count */
77
+ messageCount: z.ZodOptional<z.ZodNumber>;
78
+ /** Whether the agent needs attention */
79
+ needsAttention: z.ZodOptional<z.ZodBoolean>;
80
+ /** Current task description */
81
+ currentTask: z.ZodOptional<z.ZodString>;
82
+ /** Server the agent is connected to (for fleet view) */
83
+ server: z.ZodOptional<z.ZodString>;
84
+ /** Whether agent is currently processing */
85
+ isProcessing: z.ZodOptional<z.ZodBoolean>;
86
+ /** Timestamp when processing started */
87
+ processingStartedAt: z.ZodOptional<z.ZodNumber>;
88
+ /** Whether agent was spawned via dashboard */
89
+ isSpawned: z.ZodOptional<z.ZodBoolean>;
90
+ /** Optional team grouping */
91
+ team: z.ZodOptional<z.ZodString>;
92
+ /** Unique agent ID for resume functionality */
93
+ agentId: z.ZodOptional<z.ZodString>;
94
+ /** Timestamp when agent last received a message */
95
+ lastMessageReceivedAt: z.ZodOptional<z.ZodNumber>;
96
+ /** Timestamp when agent last produced output */
97
+ lastOutputAt: z.ZodOptional<z.ZodNumber>;
98
+ /** Whether agent is stuck */
99
+ isStuck: z.ZodOptional<z.ZodBoolean>;
100
+ /** Whether this is a human user */
101
+ isHuman: z.ZodOptional<z.ZodBoolean>;
102
+ /** Avatar URL for human users */
103
+ avatarUrl: z.ZodOptional<z.ZodString>;
104
+ /** Whether agent's authentication has been revoked */
105
+ authRevoked: z.ZodOptional<z.ZodBoolean>;
106
+ /** Whether agent is from a linked local daemon */
107
+ isLocal: z.ZodOptional<z.ZodBoolean>;
108
+ /** Name of the linked daemon */
109
+ daemonName: z.ZodOptional<z.ZodString>;
110
+ /** Machine ID of the linked daemon */
111
+ machineId: z.ZodOptional<z.ZodString>;
112
+ /** Agent profile information */
113
+ profile: z.ZodOptional<z.ZodObject<{
114
+ /** Display title/role (e.g., "Lead Developer", "Code Reviewer") */
115
+ title: z.ZodOptional<z.ZodString>;
116
+ /** Short description of what this agent does */
117
+ description: z.ZodOptional<z.ZodString>;
118
+ /** The prompt/task the agent was spawned with */
119
+ spawnPrompt: z.ZodOptional<z.ZodString>;
120
+ /** Agent profile/persona prompt (e.g., lead agent instructions) */
121
+ personaPrompt: z.ZodOptional<z.ZodString>;
122
+ /** Name of the persona preset used (e.g., "lead", "reviewer", "shadow-auditor") */
123
+ personaName: z.ZodOptional<z.ZodString>;
124
+ /** Model being used (e.g., "claude-3-opus", "gpt-4") */
125
+ model: z.ZodOptional<z.ZodString>;
126
+ /** Working directory */
127
+ workingDirectory: z.ZodOptional<z.ZodString>;
128
+ /** When the agent was first seen */
129
+ firstSeen: z.ZodOptional<z.ZodString>;
130
+ /** Capabilities or tools available to the agent */
131
+ capabilities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
132
+ /** Tags for categorization */
133
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
134
+ }, "strip", z.ZodTypeAny, {
135
+ title?: string | undefined;
136
+ description?: string | undefined;
137
+ spawnPrompt?: string | undefined;
138
+ personaPrompt?: string | undefined;
139
+ personaName?: string | undefined;
140
+ model?: string | undefined;
141
+ workingDirectory?: string | undefined;
142
+ firstSeen?: string | undefined;
143
+ capabilities?: string[] | undefined;
144
+ tags?: string[] | undefined;
145
+ }, {
146
+ title?: string | undefined;
147
+ description?: string | undefined;
148
+ spawnPrompt?: string | undefined;
149
+ personaPrompt?: string | undefined;
150
+ personaName?: string | undefined;
151
+ model?: string | undefined;
152
+ workingDirectory?: string | undefined;
153
+ firstSeen?: string | undefined;
154
+ capabilities?: string[] | undefined;
155
+ tags?: string[] | undefined;
156
+ }>>;
157
+ }, "strip", z.ZodTypeAny, {
158
+ status: "online" | "idle" | "busy" | "offline";
159
+ name: string;
160
+ role?: string | undefined;
161
+ cli?: string | undefined;
162
+ lastSeen?: string | undefined;
163
+ lastActive?: string | undefined;
164
+ messageCount?: number | undefined;
165
+ needsAttention?: boolean | undefined;
166
+ currentTask?: string | undefined;
167
+ server?: string | undefined;
168
+ isProcessing?: boolean | undefined;
169
+ processingStartedAt?: number | undefined;
170
+ isSpawned?: boolean | undefined;
171
+ team?: string | undefined;
172
+ agentId?: string | undefined;
173
+ lastMessageReceivedAt?: number | undefined;
174
+ lastOutputAt?: number | undefined;
175
+ isStuck?: boolean | undefined;
176
+ isHuman?: boolean | undefined;
177
+ avatarUrl?: string | undefined;
178
+ authRevoked?: boolean | undefined;
179
+ isLocal?: boolean | undefined;
180
+ daemonName?: string | undefined;
181
+ machineId?: string | undefined;
182
+ profile?: {
183
+ title?: string | undefined;
184
+ description?: string | undefined;
185
+ spawnPrompt?: string | undefined;
186
+ personaPrompt?: string | undefined;
187
+ personaName?: string | undefined;
188
+ model?: string | undefined;
189
+ workingDirectory?: string | undefined;
190
+ firstSeen?: string | undefined;
191
+ capabilities?: string[] | undefined;
192
+ tags?: string[] | undefined;
193
+ } | undefined;
194
+ }, {
195
+ status: "online" | "idle" | "busy" | "offline";
196
+ name: string;
197
+ role?: string | undefined;
198
+ cli?: string | undefined;
199
+ lastSeen?: string | undefined;
200
+ lastActive?: string | undefined;
201
+ messageCount?: number | undefined;
202
+ needsAttention?: boolean | undefined;
203
+ currentTask?: string | undefined;
204
+ server?: string | undefined;
205
+ isProcessing?: boolean | undefined;
206
+ processingStartedAt?: number | undefined;
207
+ isSpawned?: boolean | undefined;
208
+ team?: string | undefined;
209
+ agentId?: string | undefined;
210
+ lastMessageReceivedAt?: number | undefined;
211
+ lastOutputAt?: number | undefined;
212
+ isStuck?: boolean | undefined;
213
+ isHuman?: boolean | undefined;
214
+ avatarUrl?: string | undefined;
215
+ authRevoked?: boolean | undefined;
216
+ isLocal?: boolean | undefined;
217
+ daemonName?: string | undefined;
218
+ machineId?: string | undefined;
219
+ profile?: {
220
+ title?: string | undefined;
221
+ description?: string | undefined;
222
+ spawnPrompt?: string | undefined;
223
+ personaPrompt?: string | undefined;
224
+ personaName?: string | undefined;
225
+ model?: string | undefined;
226
+ workingDirectory?: string | undefined;
227
+ firstSeen?: string | undefined;
228
+ capabilities?: string[] | undefined;
229
+ tags?: string[] | undefined;
230
+ } | undefined;
231
+ }>;
232
+ export type Agent = z.infer<typeof AgentSchema>;
233
+ /**
234
+ * Agent summary - condensed agent information
235
+ */
236
+ export declare const AgentSummarySchema: z.ZodObject<{
237
+ agentName: z.ZodString;
238
+ lastUpdated: z.ZodString;
239
+ currentTask: z.ZodOptional<z.ZodString>;
240
+ completedTasks: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
241
+ context: z.ZodOptional<z.ZodString>;
242
+ files: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
243
+ }, "strip", z.ZodTypeAny, {
244
+ agentName: string;
245
+ lastUpdated: string;
246
+ currentTask?: string | undefined;
247
+ completedTasks?: string[] | undefined;
248
+ context?: string | undefined;
249
+ files?: string[] | undefined;
250
+ }, {
251
+ agentName: string;
252
+ lastUpdated: string;
253
+ currentTask?: string | undefined;
254
+ completedTasks?: string[] | undefined;
255
+ context?: string | undefined;
256
+ files?: string[] | undefined;
257
+ }>;
258
+ export type AgentSummary = z.infer<typeof AgentSummarySchema>;
259
+ //# sourceMappingURL=agent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"agent.d.ts","sourceRoot":"","sources":["../../src/schem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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2D9B,CAAC;AACH,MAAM,MAAM,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC;AAEhD;;GAEG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;EAO7B,CAAC;AACH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC"}
@@ -0,0 +1,102 @@
1
+ /**
2
+ * Agent Schemas
3
+ *
4
+ * Zod schemas for agent-related types used across the dashboard and API.
5
+ */
6
+ import { z } from 'zod';
7
+ /**
8
+ * Agent status enum
9
+ */
10
+ export const AgentStatusSchema = z.enum(['online', 'idle', 'busy', 'offline']);
11
+ /**
12
+ * Agent profile information - helps users understand agent behavior
13
+ */
14
+ export const AgentProfileSchema = z.object({
15
+ /** Display title/role (e.g., "Lead Developer", "Code Reviewer") */
16
+ title: z.string().optional(),
17
+ /** Short description of what this agent does */
18
+ description: z.string().optional(),
19
+ /** The prompt/task the agent was spawned with */
20
+ spawnPrompt: z.string().optional(),
21
+ /** Agent profile/persona prompt (e.g., lead agent instructions) */
22
+ personaPrompt: z.string().optional(),
23
+ /** Name of the persona preset used (e.g., "lead", "reviewer", "shadow-auditor") */
24
+ personaName: z.string().optional(),
25
+ /** Model being used (e.g., "claude-3-opus", "gpt-4") */
26
+ model: z.string().optional(),
27
+ /** Working directory */
28
+ workingDirectory: z.string().optional(),
29
+ /** When the agent was first seen */
30
+ firstSeen: z.string().optional(),
31
+ /** Capabilities or tools available to the agent */
32
+ capabilities: z.array(z.string()).optional(),
33
+ /** Tags for categorization */
34
+ tags: z.array(z.string()).optional(),
35
+ });
36
+ /**
37
+ * Agent schema - represents a connected agent
38
+ */
39
+ export const AgentSchema = z.object({
40
+ /** Agent name (required) */
41
+ name: z.string(),
42
+ /** Agent role description */
43
+ role: z.string().optional(),
44
+ /** CLI type used by the agent (claude, codex, gemini, etc.) */
45
+ cli: z.string().optional(),
46
+ /** Current agent status (required) */
47
+ status: AgentStatusSchema,
48
+ /** Last seen timestamp (ISO string) */
49
+ lastSeen: z.string().optional(),
50
+ /** Last active timestamp (ISO string) */
51
+ lastActive: z.string().optional(),
52
+ /** Total message count */
53
+ messageCount: z.number().optional(),
54
+ /** Whether the agent needs attention */
55
+ needsAttention: z.boolean().optional(),
56
+ /** Current task description */
57
+ currentTask: z.string().optional(),
58
+ /** Server the agent is connected to (for fleet view) */
59
+ server: z.string().optional(),
60
+ /** Whether agent is currently processing */
61
+ isProcessing: z.boolean().optional(),
62
+ /** Timestamp when processing started */
63
+ processingStartedAt: z.number().optional(),
64
+ /** Whether agent was spawned via dashboard */
65
+ isSpawned: z.boolean().optional(),
66
+ /** Optional team grouping */
67
+ team: z.string().optional(),
68
+ /** Unique agent ID for resume functionality */
69
+ agentId: z.string().optional(),
70
+ /** Timestamp when agent last received a message */
71
+ lastMessageReceivedAt: z.number().optional(),
72
+ /** Timestamp when agent last produced output */
73
+ lastOutputAt: z.number().optional(),
74
+ /** Whether agent is stuck */
75
+ isStuck: z.boolean().optional(),
76
+ /** Whether this is a human user */
77
+ isHuman: z.boolean().optional(),
78
+ /** Avatar URL for human users */
79
+ avatarUrl: z.string().optional(),
80
+ /** Whether agent's authentication has been revoked */
81
+ authRevoked: z.boolean().optional(),
82
+ /** Whether agent is from a linked local daemon */
83
+ isLocal: z.boolean().optional(),
84
+ /** Name of the linked daemon */
85
+ daemonName: z.string().optional(),
86
+ /** Machine ID of the linked daemon */
87
+ machineId: z.string().optional(),
88
+ /** Agent profile information */
89
+ profile: AgentProfileSchema.optional(),
90
+ });
91
+ /**
92
+ * Agent summary - condensed agent information
93
+ */
94
+ export const AgentSummarySchema = z.object({
95
+ agentName: z.string(),
96
+ lastUpdated: z.string(),
97
+ currentTask: z.string().optional(),
98
+ completedTasks: z.array(z.string()).optional(),
99
+ context: z.string().optional(),
100
+ files: z.array(z.string()).optional(),
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