@agents-shire/cli-linux-arm64 1.0.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 (38) hide show
  1. package/drizzle/0000_oval_zodiak.sql +46 -0
  2. package/drizzle/0001_familiar_captain_america.sql +5 -0
  3. package/drizzle/meta/0000_snapshot.json +350 -0
  4. package/drizzle/meta/0001_snapshot.json +385 -0
  5. package/drizzle/meta/_journal.json +20 -0
  6. package/frontend/chunk-080ent60.js +2 -0
  7. package/frontend/chunk-08yrv2nn.js +2 -0
  8. package/frontend/chunk-0sevb013.js +2 -0
  9. package/frontend/chunk-0v5erpy0.js +2 -0
  10. package/frontend/chunk-19284fra.js +2 -0
  11. package/frontend/chunk-2kh30qex.js +2 -0
  12. package/frontend/chunk-4ny2qr6s.js +2 -0
  13. package/frontend/chunk-62c2ejc6.js +2 -0
  14. package/frontend/chunk-6zekv36x.js +28 -0
  15. package/frontend/chunk-9c81zaw2.js +2 -0
  16. package/frontend/chunk-9eadacms.js +2 -0
  17. package/frontend/chunk-9g67pqq7.js +42 -0
  18. package/frontend/chunk-abx95kyf.js +2 -0
  19. package/frontend/chunk-bdx9vjnz.js +1 -0
  20. package/frontend/chunk-bkfyhghz.js +1 -0
  21. package/frontend/chunk-bs8nhy4h.js +2 -0
  22. package/frontend/chunk-dpy2bnvw.js +2 -0
  23. package/frontend/chunk-gxhame5n.js +2 -0
  24. package/frontend/chunk-j7zegcep.js +1 -0
  25. package/frontend/chunk-jenng4z6.js +12 -0
  26. package/frontend/chunk-kwqbxj7m.js +1 -0
  27. package/frontend/chunk-p8qycd26.js +30 -0
  28. package/frontend/chunk-q1tqw02v.js +1 -0
  29. package/frontend/chunk-r19vjw47.js +2 -0
  30. package/frontend/chunk-sxzad3y5.js +2 -0
  31. package/frontend/chunk-vp3by99k.js +2 -0
  32. package/frontend/chunk-w24pb2qv.js +2 -0
  33. package/frontend/chunk-z92gr3sp.js +3 -0
  34. package/frontend/chunk-zkc6t7cc.js +1 -0
  35. package/frontend/index.html +16 -0
  36. package/frontend/main.js +214 -0
  37. package/package.json +19 -0
  38. package/shire +0 -0
@@ -0,0 +1,46 @@
1
+ CREATE TABLE `agents` (
2
+ `id` text PRIMARY KEY NOT NULL,
3
+ `project_id` text NOT NULL,
4
+ `name` text NOT NULL,
5
+ `created_at` text DEFAULT (datetime('now')) NOT NULL,
6
+ `updated_at` text DEFAULT (datetime('now')) NOT NULL,
7
+ FOREIGN KEY (`project_id`) REFERENCES `projects`(`id`) ON UPDATE no action ON DELETE cascade
8
+ );
9
+ --> statement-breakpoint
10
+ CREATE UNIQUE INDEX `agents_project_name` ON `agents` (`project_id`,`name`);--> statement-breakpoint
11
+ CREATE TABLE `messages` (
12
+ `id` integer PRIMARY KEY AUTOINCREMENT NOT NULL,
13
+ `project_id` text NOT NULL,
14
+ `agent_id` text NOT NULL,
15
+ `role` text NOT NULL,
16
+ `content` text NOT NULL,
17
+ `created_at` text DEFAULT (datetime('now')) NOT NULL,
18
+ FOREIGN KEY (`project_id`) REFERENCES `projects`(`id`) ON UPDATE no action ON DELETE cascade,
19
+ FOREIGN KEY (`agent_id`) REFERENCES `agents`(`id`) ON UPDATE no action ON DELETE cascade
20
+ );
21
+ --> statement-breakpoint
22
+ CREATE INDEX `idx_messages_agent` ON `messages` (`project_id`,`agent_id`,`id`);--> statement-breakpoint
23
+ CREATE TABLE `projects` (
24
+ `id` text PRIMARY KEY NOT NULL,
25
+ `name` text NOT NULL,
26
+ `created_at` text DEFAULT (datetime('now')) NOT NULL,
27
+ `updated_at` text DEFAULT (datetime('now')) NOT NULL
28
+ );
29
+ --> statement-breakpoint
30
+ CREATE UNIQUE INDEX `projects_name_unique` ON `projects` (`name`);--> statement-breakpoint
31
+ CREATE TABLE `scheduled_tasks` (
32
+ `id` text PRIMARY KEY NOT NULL,
33
+ `project_id` text NOT NULL,
34
+ `agent_id` text NOT NULL,
35
+ `label` text NOT NULL,
36
+ `message` text NOT NULL,
37
+ `schedule_type` text NOT NULL,
38
+ `cron_expression` text,
39
+ `scheduled_at` text,
40
+ `enabled` integer DEFAULT true NOT NULL,
41
+ `last_run_at` text,
42
+ `created_at` text DEFAULT (datetime('now')) NOT NULL,
43
+ `updated_at` text DEFAULT (datetime('now')) NOT NULL,
44
+ FOREIGN KEY (`project_id`) REFERENCES `projects`(`id`) ON UPDATE no action ON DELETE cascade,
45
+ FOREIGN KEY (`agent_id`) REFERENCES `agents`(`id`) ON UPDATE no action ON DELETE cascade
46
+ );
@@ -0,0 +1,5 @@
1
+ ALTER TABLE `agents` ADD `session_id` text;--> statement-breakpoint
2
+ ALTER TABLE `agents` ADD `description` text;--> statement-breakpoint
3
+ ALTER TABLE `agents` ADD `harness` text;--> statement-breakpoint
4
+ ALTER TABLE `agents` ADD `model` text;--> statement-breakpoint
5
+ ALTER TABLE `agents` ADD `system_prompt` text;
@@ -0,0 +1,350 @@
1
+ {
2
+ "version": "6",
3
+ "dialect": "sqlite",
4
+ "id": "74bfc29d-6f0f-41b0-b1f0-ab3e64c8fe21",
5
+ "prevId": "00000000-0000-0000-0000-000000000000",
6
+ "tables": {
7
+ "agents": {
8
+ "name": "agents",
9
+ "columns": {
10
+ "id": {
11
+ "name": "id",
12
+ "type": "text",
13
+ "primaryKey": true,
14
+ "notNull": true,
15
+ "autoincrement": false
16
+ },
17
+ "project_id": {
18
+ "name": "project_id",
19
+ "type": "text",
20
+ "primaryKey": false,
21
+ "notNull": true,
22
+ "autoincrement": false
23
+ },
24
+ "name": {
25
+ "name": "name",
26
+ "type": "text",
27
+ "primaryKey": false,
28
+ "notNull": true,
29
+ "autoincrement": false
30
+ },
31
+ "created_at": {
32
+ "name": "created_at",
33
+ "type": "text",
34
+ "primaryKey": false,
35
+ "notNull": true,
36
+ "autoincrement": false,
37
+ "default": "(datetime('now'))"
38
+ },
39
+ "updated_at": {
40
+ "name": "updated_at",
41
+ "type": "text",
42
+ "primaryKey": false,
43
+ "notNull": true,
44
+ "autoincrement": false,
45
+ "default": "(datetime('now'))"
46
+ }
47
+ },
48
+ "indexes": {
49
+ "agents_project_name": {
50
+ "name": "agents_project_name",
51
+ "columns": [
52
+ "project_id",
53
+ "name"
54
+ ],
55
+ "isUnique": true
56
+ }
57
+ },
58
+ "foreignKeys": {
59
+ "agents_project_id_projects_id_fk": {
60
+ "name": "agents_project_id_projects_id_fk",
61
+ "tableFrom": "agents",
62
+ "tableTo": "projects",
63
+ "columnsFrom": [
64
+ "project_id"
65
+ ],
66
+ "columnsTo": [
67
+ "id"
68
+ ],
69
+ "onDelete": "cascade",
70
+ "onUpdate": "no action"
71
+ }
72
+ },
73
+ "compositePrimaryKeys": {},
74
+ "uniqueConstraints": {},
75
+ "checkConstraints": {}
76
+ },
77
+ "messages": {
78
+ "name": "messages",
79
+ "columns": {
80
+ "id": {
81
+ "name": "id",
82
+ "type": "integer",
83
+ "primaryKey": true,
84
+ "notNull": true,
85
+ "autoincrement": true
86
+ },
87
+ "project_id": {
88
+ "name": "project_id",
89
+ "type": "text",
90
+ "primaryKey": false,
91
+ "notNull": true,
92
+ "autoincrement": false
93
+ },
94
+ "agent_id": {
95
+ "name": "agent_id",
96
+ "type": "text",
97
+ "primaryKey": false,
98
+ "notNull": true,
99
+ "autoincrement": false
100
+ },
101
+ "role": {
102
+ "name": "role",
103
+ "type": "text",
104
+ "primaryKey": false,
105
+ "notNull": true,
106
+ "autoincrement": false
107
+ },
108
+ "content": {
109
+ "name": "content",
110
+ "type": "text",
111
+ "primaryKey": false,
112
+ "notNull": true,
113
+ "autoincrement": false
114
+ },
115
+ "created_at": {
116
+ "name": "created_at",
117
+ "type": "text",
118
+ "primaryKey": false,
119
+ "notNull": true,
120
+ "autoincrement": false,
121
+ "default": "(datetime('now'))"
122
+ }
123
+ },
124
+ "indexes": {
125
+ "idx_messages_agent": {
126
+ "name": "idx_messages_agent",
127
+ "columns": [
128
+ "project_id",
129
+ "agent_id",
130
+ "id"
131
+ ],
132
+ "isUnique": false
133
+ }
134
+ },
135
+ "foreignKeys": {
136
+ "messages_project_id_projects_id_fk": {
137
+ "name": "messages_project_id_projects_id_fk",
138
+ "tableFrom": "messages",
139
+ "tableTo": "projects",
140
+ "columnsFrom": [
141
+ "project_id"
142
+ ],
143
+ "columnsTo": [
144
+ "id"
145
+ ],
146
+ "onDelete": "cascade",
147
+ "onUpdate": "no action"
148
+ },
149
+ "messages_agent_id_agents_id_fk": {
150
+ "name": "messages_agent_id_agents_id_fk",
151
+ "tableFrom": "messages",
152
+ "tableTo": "agents",
153
+ "columnsFrom": [
154
+ "agent_id"
155
+ ],
156
+ "columnsTo": [
157
+ "id"
158
+ ],
159
+ "onDelete": "cascade",
160
+ "onUpdate": "no action"
161
+ }
162
+ },
163
+ "compositePrimaryKeys": {},
164
+ "uniqueConstraints": {},
165
+ "checkConstraints": {}
166
+ },
167
+ "projects": {
168
+ "name": "projects",
169
+ "columns": {
170
+ "id": {
171
+ "name": "id",
172
+ "type": "text",
173
+ "primaryKey": true,
174
+ "notNull": true,
175
+ "autoincrement": false
176
+ },
177
+ "name": {
178
+ "name": "name",
179
+ "type": "text",
180
+ "primaryKey": false,
181
+ "notNull": true,
182
+ "autoincrement": false
183
+ },
184
+ "created_at": {
185
+ "name": "created_at",
186
+ "type": "text",
187
+ "primaryKey": false,
188
+ "notNull": true,
189
+ "autoincrement": false,
190
+ "default": "(datetime('now'))"
191
+ },
192
+ "updated_at": {
193
+ "name": "updated_at",
194
+ "type": "text",
195
+ "primaryKey": false,
196
+ "notNull": true,
197
+ "autoincrement": false,
198
+ "default": "(datetime('now'))"
199
+ }
200
+ },
201
+ "indexes": {
202
+ "projects_name_unique": {
203
+ "name": "projects_name_unique",
204
+ "columns": [
205
+ "name"
206
+ ],
207
+ "isUnique": true
208
+ }
209
+ },
210
+ "foreignKeys": {},
211
+ "compositePrimaryKeys": {},
212
+ "uniqueConstraints": {},
213
+ "checkConstraints": {}
214
+ },
215
+ "scheduled_tasks": {
216
+ "name": "scheduled_tasks",
217
+ "columns": {
218
+ "id": {
219
+ "name": "id",
220
+ "type": "text",
221
+ "primaryKey": true,
222
+ "notNull": true,
223
+ "autoincrement": false
224
+ },
225
+ "project_id": {
226
+ "name": "project_id",
227
+ "type": "text",
228
+ "primaryKey": false,
229
+ "notNull": true,
230
+ "autoincrement": false
231
+ },
232
+ "agent_id": {
233
+ "name": "agent_id",
234
+ "type": "text",
235
+ "primaryKey": false,
236
+ "notNull": true,
237
+ "autoincrement": false
238
+ },
239
+ "label": {
240
+ "name": "label",
241
+ "type": "text",
242
+ "primaryKey": false,
243
+ "notNull": true,
244
+ "autoincrement": false
245
+ },
246
+ "message": {
247
+ "name": "message",
248
+ "type": "text",
249
+ "primaryKey": false,
250
+ "notNull": true,
251
+ "autoincrement": false
252
+ },
253
+ "schedule_type": {
254
+ "name": "schedule_type",
255
+ "type": "text",
256
+ "primaryKey": false,
257
+ "notNull": true,
258
+ "autoincrement": false
259
+ },
260
+ "cron_expression": {
261
+ "name": "cron_expression",
262
+ "type": "text",
263
+ "primaryKey": false,
264
+ "notNull": false,
265
+ "autoincrement": false
266
+ },
267
+ "scheduled_at": {
268
+ "name": "scheduled_at",
269
+ "type": "text",
270
+ "primaryKey": false,
271
+ "notNull": false,
272
+ "autoincrement": false
273
+ },
274
+ "enabled": {
275
+ "name": "enabled",
276
+ "type": "integer",
277
+ "primaryKey": false,
278
+ "notNull": true,
279
+ "autoincrement": false,
280
+ "default": true
281
+ },
282
+ "last_run_at": {
283
+ "name": "last_run_at",
284
+ "type": "text",
285
+ "primaryKey": false,
286
+ "notNull": false,
287
+ "autoincrement": false
288
+ },
289
+ "created_at": {
290
+ "name": "created_at",
291
+ "type": "text",
292
+ "primaryKey": false,
293
+ "notNull": true,
294
+ "autoincrement": false,
295
+ "default": "(datetime('now'))"
296
+ },
297
+ "updated_at": {
298
+ "name": "updated_at",
299
+ "type": "text",
300
+ "primaryKey": false,
301
+ "notNull": true,
302
+ "autoincrement": false,
303
+ "default": "(datetime('now'))"
304
+ }
305
+ },
306
+ "indexes": {},
307
+ "foreignKeys": {
308
+ "scheduled_tasks_project_id_projects_id_fk": {
309
+ "name": "scheduled_tasks_project_id_projects_id_fk",
310
+ "tableFrom": "scheduled_tasks",
311
+ "tableTo": "projects",
312
+ "columnsFrom": [
313
+ "project_id"
314
+ ],
315
+ "columnsTo": [
316
+ "id"
317
+ ],
318
+ "onDelete": "cascade",
319
+ "onUpdate": "no action"
320
+ },
321
+ "scheduled_tasks_agent_id_agents_id_fk": {
322
+ "name": "scheduled_tasks_agent_id_agents_id_fk",
323
+ "tableFrom": "scheduled_tasks",
324
+ "tableTo": "agents",
325
+ "columnsFrom": [
326
+ "agent_id"
327
+ ],
328
+ "columnsTo": [
329
+ "id"
330
+ ],
331
+ "onDelete": "cascade",
332
+ "onUpdate": "no action"
333
+ }
334
+ },
335
+ "compositePrimaryKeys": {},
336
+ "uniqueConstraints": {},
337
+ "checkConstraints": {}
338
+ }
339
+ },
340
+ "views": {},
341
+ "enums": {},
342
+ "_meta": {
343
+ "schemas": {},
344
+ "tables": {},
345
+ "columns": {}
346
+ },
347
+ "internal": {
348
+ "indexes": {}
349
+ }
350
+ }