@dmmulroy/overseer 0.7.0 → 0.8.2

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 (62) hide show
  1. package/bin/os +20 -134
  2. package/{dist → host/dist}/api/index.d.ts +1 -2
  3. package/{dist → host/dist}/api/index.js +1 -2
  4. package/{dist → host/dist}/api/learnings.d.ts +0 -1
  5. package/{dist → host/dist}/api/learnings.js +2 -2
  6. package/{dist → host/dist}/api/tasks.d.ts +0 -1
  7. package/{dist → host/dist}/api/tasks.js +0 -1
  8. package/host/dist/cli.d.ts +18 -0
  9. package/{dist → host/dist}/cli.js +22 -6
  10. package/{dist → host/dist}/decoder.d.ts +0 -1
  11. package/{dist → host/dist}/decoder.js +0 -1
  12. package/{dist → host/dist}/executor.d.ts +0 -1
  13. package/{dist → host/dist}/executor.js +0 -1
  14. package/host/dist/index.d.ts +2 -0
  15. package/host/dist/index.js +136 -0
  16. package/{dist/server.d.ts → host/dist/mcp.d.ts} +2 -3
  17. package/{dist/server.js → host/dist/mcp.js} +4 -5
  18. package/{dist → host/dist}/types.d.ts +0 -1
  19. package/{dist → host/dist}/types.js +0 -1
  20. package/host/dist/ui.d.ts +462 -0
  21. package/host/dist/ui.js +278 -0
  22. package/package.json +15 -12
  23. package/ui/dist/assets/index-71exl-6F.css +1 -0
  24. package/ui/dist/assets/index-CwXwWbGm.js +112 -0
  25. package/{dist/ui/static → ui/dist}/index.html +3 -3
  26. package/dist/api/index.d.ts.map +0 -1
  27. package/dist/api/index.js.map +0 -1
  28. package/dist/api/learnings.d.ts.map +0 -1
  29. package/dist/api/learnings.js.map +0 -1
  30. package/dist/api/tasks.d.ts.map +0 -1
  31. package/dist/api/tasks.js.map +0 -1
  32. package/dist/cli.d.ts +0 -5
  33. package/dist/cli.d.ts.map +0 -1
  34. package/dist/cli.js.map +0 -1
  35. package/dist/decoder.d.ts.map +0 -1
  36. package/dist/decoder.js.map +0 -1
  37. package/dist/executor.d.ts.map +0 -1
  38. package/dist/executor.js.map +0 -1
  39. package/dist/index.d.ts +0 -3
  40. package/dist/index.d.ts.map +0 -1
  41. package/dist/index.js +0 -10
  42. package/dist/index.js.map +0 -1
  43. package/dist/server.d.ts.map +0 -1
  44. package/dist/server.js.map +0 -1
  45. package/dist/tests/executor.test.d.ts +0 -2
  46. package/dist/tests/executor.test.d.ts.map +0 -1
  47. package/dist/tests/executor.test.js +0 -169
  48. package/dist/tests/executor.test.js.map +0 -1
  49. package/dist/tests/integration.test.d.ts +0 -2
  50. package/dist/tests/integration.test.d.ts.map +0 -1
  51. package/dist/tests/integration.test.js +0 -543
  52. package/dist/tests/integration.test.js.map +0 -1
  53. package/dist/tests/server.test.d.ts +0 -2
  54. package/dist/tests/server.test.d.ts.map +0 -1
  55. package/dist/tests/server.test.js +0 -53
  56. package/dist/tests/server.test.js.map +0 -1
  57. package/dist/types.d.ts.map +0 -1
  58. package/dist/types.js.map +0 -1
  59. package/dist/ui/server.js +0 -5
  60. package/dist/ui/server.js.map +0 -7
  61. package/dist/ui/static/assets/index-DnoPgzO1.js +0 -112
  62. package/dist/ui/static/assets/index-KqpkQhtL.css +0 -1
@@ -0,0 +1,462 @@
1
+ import type { StatusCode } from "hono/utils/http-status";
2
+ import { type Priority } from "./types.js";
3
+ export interface UiServerConfig {
4
+ port: number;
5
+ staticRoot: string;
6
+ }
7
+ /**
8
+ * Create UI app with API routes and static file serving
9
+ */
10
+ export declare function createUiApp(staticRoot: string): import("hono/hono-base").HonoBase<{}, (import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<({
11
+ "/health": {
12
+ $get: {
13
+ input: {};
14
+ output: {
15
+ status: string;
16
+ };
17
+ outputFormat: "json";
18
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19
+ };
20
+ };
21
+ } | import("hono/types").MergeSchemaPath<{
22
+ "/": {
23
+ $get: {
24
+ input: {};
25
+ output: {
26
+ error: string;
27
+ };
28
+ outputFormat: "json";
29
+ status: 400;
30
+ } | {
31
+ input: {};
32
+ output: {
33
+ id: import("./types.js").TaskId;
34
+ parentId: import("./types.js").TaskId | null;
35
+ description: string;
36
+ priority: Priority;
37
+ completed: boolean;
38
+ completedAt: string | null;
39
+ startedAt: string | null;
40
+ createdAt: string;
41
+ updatedAt: string;
42
+ result: string | null;
43
+ commitSha: string | null;
44
+ depth: import("./types.js").Depth;
45
+ blockedBy?: import("./types.js").TaskId[] | undefined;
46
+ blocks?: import("./types.js").TaskId[] | undefined;
47
+ bookmark?: string | undefined;
48
+ startCommit?: string | undefined;
49
+ effectivelyBlocked: boolean;
50
+ }[];
51
+ outputFormat: "json";
52
+ status: import("hono/utils/http-status").ContentfulStatusCode;
53
+ } | {
54
+ input: {};
55
+ output: {};
56
+ outputFormat: string;
57
+ status: StatusCode;
58
+ };
59
+ };
60
+ } & {
61
+ "/next-ready": {
62
+ $get: {
63
+ input: {};
64
+ output: {};
65
+ outputFormat: string;
66
+ status: StatusCode;
67
+ } | {
68
+ input: {};
69
+ output: {
70
+ error: string;
71
+ };
72
+ outputFormat: "json";
73
+ status: 400;
74
+ } | {
75
+ input: {};
76
+ output: null;
77
+ outputFormat: "json";
78
+ status: 200;
79
+ } | {
80
+ input: {};
81
+ output: {
82
+ context: {
83
+ own: string;
84
+ parent?: string | undefined;
85
+ milestone?: string | undefined;
86
+ };
87
+ learnings: {
88
+ own: {
89
+ id: import("./types.js").LearningId;
90
+ taskId: import("./types.js").TaskId;
91
+ content: string;
92
+ sourceTaskId: import("./types.js").TaskId | null;
93
+ createdAt: string;
94
+ }[];
95
+ parent: {
96
+ id: import("./types.js").LearningId;
97
+ taskId: import("./types.js").TaskId;
98
+ content: string;
99
+ sourceTaskId: import("./types.js").TaskId | null;
100
+ createdAt: string;
101
+ }[];
102
+ milestone: {
103
+ id: import("./types.js").LearningId;
104
+ taskId: import("./types.js").TaskId;
105
+ content: string;
106
+ sourceTaskId: import("./types.js").TaskId | null;
107
+ createdAt: string;
108
+ }[];
109
+ };
110
+ id: import("./types.js").TaskId;
111
+ parentId: import("./types.js").TaskId | null;
112
+ description: string;
113
+ priority: Priority;
114
+ completed: boolean;
115
+ completedAt: string | null;
116
+ startedAt: string | null;
117
+ createdAt: string;
118
+ updatedAt: string;
119
+ result: string | null;
120
+ commitSha: string | null;
121
+ depth: import("./types.js").Depth;
122
+ blockedBy?: import("./types.js").TaskId[] | undefined;
123
+ blocks?: import("./types.js").TaskId[] | undefined;
124
+ bookmark?: string | undefined;
125
+ startCommit?: string | undefined;
126
+ effectivelyBlocked: boolean;
127
+ };
128
+ outputFormat: "json";
129
+ status: import("hono/utils/http-status").ContentfulStatusCode;
130
+ };
131
+ };
132
+ } & {
133
+ "/:id": {
134
+ $get: {
135
+ input: {
136
+ param: {
137
+ id: string;
138
+ };
139
+ };
140
+ output: {};
141
+ outputFormat: string;
142
+ status: StatusCode;
143
+ } | {
144
+ input: {
145
+ param: {
146
+ id: string;
147
+ };
148
+ };
149
+ output: {
150
+ context: {
151
+ own: string;
152
+ parent?: string | undefined;
153
+ milestone?: string | undefined;
154
+ };
155
+ learnings: {
156
+ own: {
157
+ id: import("./types.js").LearningId;
158
+ taskId: import("./types.js").TaskId;
159
+ content: string;
160
+ sourceTaskId: import("./types.js").TaskId | null;
161
+ createdAt: string;
162
+ }[];
163
+ parent: {
164
+ id: import("./types.js").LearningId;
165
+ taskId: import("./types.js").TaskId;
166
+ content: string;
167
+ sourceTaskId: import("./types.js").TaskId | null;
168
+ createdAt: string;
169
+ }[];
170
+ milestone: {
171
+ id: import("./types.js").LearningId;
172
+ taskId: import("./types.js").TaskId;
173
+ content: string;
174
+ sourceTaskId: import("./types.js").TaskId | null;
175
+ createdAt: string;
176
+ }[];
177
+ };
178
+ id: import("./types.js").TaskId;
179
+ parentId: import("./types.js").TaskId | null;
180
+ description: string;
181
+ priority: Priority;
182
+ completed: boolean;
183
+ completedAt: string | null;
184
+ startedAt: string | null;
185
+ createdAt: string;
186
+ updatedAt: string;
187
+ result: string | null;
188
+ commitSha: string | null;
189
+ depth: import("./types.js").Depth;
190
+ blockedBy?: import("./types.js").TaskId[] | undefined;
191
+ blocks?: import("./types.js").TaskId[] | undefined;
192
+ bookmark?: string | undefined;
193
+ startCommit?: string | undefined;
194
+ effectivelyBlocked: boolean;
195
+ };
196
+ outputFormat: "json";
197
+ status: import("hono/utils/http-status").ContentfulStatusCode;
198
+ } | {
199
+ input: {
200
+ param: {
201
+ id: string;
202
+ };
203
+ };
204
+ output: {
205
+ error: string;
206
+ };
207
+ outputFormat: "json";
208
+ status: 400;
209
+ };
210
+ };
211
+ } & {
212
+ "/:id": {
213
+ $put: {
214
+ input: {
215
+ param: {
216
+ id: string;
217
+ };
218
+ };
219
+ output: {};
220
+ outputFormat: string;
221
+ status: StatusCode;
222
+ } | {
223
+ input: {
224
+ param: {
225
+ id: string;
226
+ };
227
+ };
228
+ output: {
229
+ error: string;
230
+ };
231
+ outputFormat: "json";
232
+ status: 400;
233
+ } | {
234
+ input: {
235
+ param: {
236
+ id: string;
237
+ };
238
+ };
239
+ output: {
240
+ id: import("./types.js").TaskId;
241
+ parentId: import("./types.js").TaskId | null;
242
+ description: string;
243
+ priority: Priority;
244
+ completed: boolean;
245
+ completedAt: string | null;
246
+ startedAt: string | null;
247
+ createdAt: string;
248
+ updatedAt: string;
249
+ result: string | null;
250
+ commitSha: string | null;
251
+ depth: import("./types.js").Depth;
252
+ blockedBy?: import("./types.js").TaskId[] | undefined;
253
+ blocks?: import("./types.js").TaskId[] | undefined;
254
+ bookmark?: string | undefined;
255
+ startCommit?: string | undefined;
256
+ effectivelyBlocked: boolean;
257
+ };
258
+ outputFormat: "json";
259
+ status: import("hono/utils/http-status").ContentfulStatusCode;
260
+ };
261
+ };
262
+ } & {
263
+ "/:id": {
264
+ $delete: {
265
+ input: {
266
+ param: {
267
+ id: string;
268
+ };
269
+ };
270
+ output: {};
271
+ outputFormat: string;
272
+ status: StatusCode;
273
+ } | {
274
+ input: {
275
+ param: {
276
+ id: string;
277
+ };
278
+ };
279
+ output: {
280
+ error: string;
281
+ };
282
+ outputFormat: "json";
283
+ status: 400;
284
+ } | {
285
+ input: {
286
+ param: {
287
+ id: string;
288
+ };
289
+ };
290
+ output: {
291
+ deleted: true;
292
+ };
293
+ outputFormat: "json";
294
+ status: import("hono/utils/http-status").ContentfulStatusCode;
295
+ };
296
+ };
297
+ } & {
298
+ "/:id/complete": {
299
+ $post: {
300
+ input: {
301
+ param: {
302
+ id: string;
303
+ };
304
+ };
305
+ output: {};
306
+ outputFormat: string;
307
+ status: StatusCode;
308
+ } | {
309
+ input: {
310
+ param: {
311
+ id: string;
312
+ };
313
+ };
314
+ output: {
315
+ id: import("./types.js").TaskId;
316
+ parentId: import("./types.js").TaskId | null;
317
+ description: string;
318
+ priority: Priority;
319
+ completed: boolean;
320
+ completedAt: string | null;
321
+ startedAt: string | null;
322
+ createdAt: string;
323
+ updatedAt: string;
324
+ result: string | null;
325
+ commitSha: string | null;
326
+ depth: import("./types.js").Depth;
327
+ blockedBy?: import("./types.js").TaskId[] | undefined;
328
+ blocks?: import("./types.js").TaskId[] | undefined;
329
+ bookmark?: string | undefined;
330
+ startCommit?: string | undefined;
331
+ effectivelyBlocked: boolean;
332
+ };
333
+ outputFormat: "json";
334
+ status: import("hono/utils/http-status").ContentfulStatusCode;
335
+ } | {
336
+ input: {
337
+ param: {
338
+ id: string;
339
+ };
340
+ };
341
+ output: {
342
+ error: string;
343
+ };
344
+ outputFormat: "json";
345
+ status: 400;
346
+ };
347
+ };
348
+ } & {
349
+ "/:id/reopen": {
350
+ $post: {
351
+ input: {
352
+ param: {
353
+ id: string;
354
+ };
355
+ };
356
+ output: {};
357
+ outputFormat: string;
358
+ status: StatusCode;
359
+ } | {
360
+ input: {
361
+ param: {
362
+ id: string;
363
+ };
364
+ };
365
+ output: {
366
+ id: import("./types.js").TaskId;
367
+ parentId: import("./types.js").TaskId | null;
368
+ description: string;
369
+ priority: Priority;
370
+ completed: boolean;
371
+ completedAt: string | null;
372
+ startedAt: string | null;
373
+ createdAt: string;
374
+ updatedAt: string;
375
+ result: string | null;
376
+ commitSha: string | null;
377
+ depth: import("./types.js").Depth;
378
+ blockedBy?: import("./types.js").TaskId[] | undefined;
379
+ blocks?: import("./types.js").TaskId[] | undefined;
380
+ bookmark?: string | undefined;
381
+ startCommit?: string | undefined;
382
+ effectivelyBlocked: boolean;
383
+ };
384
+ outputFormat: "json";
385
+ status: import("hono/utils/http-status").ContentfulStatusCode;
386
+ } | {
387
+ input: {
388
+ param: {
389
+ id: string;
390
+ };
391
+ };
392
+ output: {
393
+ error: string;
394
+ };
395
+ outputFormat: "json";
396
+ status: 400;
397
+ };
398
+ };
399
+ } & {
400
+ "/:taskId/learnings": {
401
+ $get: {
402
+ input: {
403
+ param: {
404
+ taskId: string;
405
+ };
406
+ };
407
+ output: {};
408
+ outputFormat: string;
409
+ status: StatusCode;
410
+ } | {
411
+ input: {
412
+ param: {
413
+ taskId: string;
414
+ };
415
+ };
416
+ output: {
417
+ error: string;
418
+ };
419
+ outputFormat: "json";
420
+ status: 400;
421
+ } | {
422
+ input: {
423
+ param: {
424
+ taskId: string;
425
+ };
426
+ };
427
+ output: {
428
+ id: import("./types.js").LearningId;
429
+ taskId: import("./types.js").TaskId;
430
+ content: string;
431
+ sourceTaskId: import("./types.js").TaskId | null;
432
+ createdAt: string;
433
+ }[];
434
+ outputFormat: "json";
435
+ status: import("hono/utils/http-status").ContentfulStatusCode;
436
+ };
437
+ };
438
+ }, "/api/tasks">) & {
439
+ "/api/*": {
440
+ $all: {
441
+ input: {};
442
+ output: {
443
+ error: string;
444
+ };
445
+ outputFormat: "json";
446
+ status: 404;
447
+ };
448
+ };
449
+ }, "/">) & {
450
+ "/*": {
451
+ $get: {
452
+ input: {};
453
+ output: {};
454
+ outputFormat: string;
455
+ status: StatusCode;
456
+ };
457
+ };
458
+ }, "/", "/*">;
459
+ /**
460
+ * Start UI server
461
+ */
462
+ export declare function startUiServer(config: UiServerConfig): Promise<void>;