@knpkv/herdr-work 0.4.0 → 0.5.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.
- package/README.md +95 -1
- package/dist/agent-binding.d.ts +4 -0
- package/dist/agent-binding.d.ts.map +1 -0
- package/dist/agent-binding.js +26 -0
- package/dist/agent-binding.js.map +1 -0
- package/dist/errors.d.ts +141 -0
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +97 -0
- package/dist/errors.js.map +1 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/dist/internal/agent-binding-admission.d.ts +15 -0
- package/dist/internal/agent-binding-admission.d.ts.map +1 -0
- package/dist/internal/agent-binding-admission.js +92 -0
- package/dist/internal/agent-binding-admission.js.map +1 -0
- package/dist/internal/agent-binding-readback.d.ts +55 -0
- package/dist/internal/agent-binding-readback.d.ts.map +1 -0
- package/dist/internal/agent-binding-readback.js +124 -0
- package/dist/internal/agent-binding-readback.js.map +1 -0
- package/dist/internal/coordinator-authority.d.ts +62 -0
- package/dist/internal/coordinator-authority.d.ts.map +1 -0
- package/dist/internal/coordinator-authority.js +214 -0
- package/dist/internal/coordinator-authority.js.map +1 -0
- package/dist/internal/decision-handoff-migration.d.ts +126 -0
- package/dist/internal/decision-handoff-migration.d.ts.map +1 -0
- package/dist/internal/decision-handoff-migration.js +51 -0
- package/dist/internal/decision-handoff-migration.js.map +1 -0
- package/dist/internal/history-validation.d.ts +5 -0
- package/dist/internal/history-validation.d.ts.map +1 -0
- package/dist/internal/history-validation.js +33 -0
- package/dist/internal/history-validation.js.map +1 -0
- package/dist/model.d.ts +3075 -51
- package/dist/model.d.ts.map +1 -1
- package/dist/model.js +334 -12
- package/dist/model.js.map +1 -1
- package/dist/navigation.d.ts +17 -0
- package/dist/navigation.d.ts.map +1 -0
- package/dist/navigation.js +62 -0
- package/dist/navigation.js.map +1 -0
- package/dist/projection.d.ts +644 -0
- package/dist/projection.d.ts.map +1 -1
- package/dist/projection.js +65 -30
- package/dist/projection.js.map +1 -1
- package/dist/service.d.ts +1870 -3
- package/dist/service.d.ts.map +1 -1
- package/dist/service.js +138 -5
- package/dist/service.js.map +1 -1
- package/dist/sql.d.ts +30 -0
- package/dist/sql.d.ts.map +1 -0
- package/dist/sql.js +1454 -0
- package/dist/sql.js.map +1 -0
- package/dist/store.d.ts +1068 -4
- package/dist/store.d.ts.map +1 -1
- package/dist/store.js +3309 -26
- package/dist/store.js.map +1 -1
- package/dist/view.d.ts.map +1 -1
- package/dist/view.js +154 -8
- package/dist/view.js.map +1 -1
- package/package.json +25 -13
- package/src/styles.css +91 -17
package/dist/projection.d.ts
CHANGED
|
@@ -86,6 +86,167 @@ export declare const projectWorkSnapshots: (input: readonly WorkGoalCheckpoint[]
|
|
|
86
86
|
readonly createdAt: number;
|
|
87
87
|
readonly updatedAt: number;
|
|
88
88
|
}[];
|
|
89
|
+
readonly families?: readonly {
|
|
90
|
+
readonly canonicalGoalId: string;
|
|
91
|
+
readonly canonical: {
|
|
92
|
+
readonly id: string;
|
|
93
|
+
readonly title: string;
|
|
94
|
+
readonly summary: string;
|
|
95
|
+
readonly detail: string;
|
|
96
|
+
readonly state: "blocked" | "completed" | "deployed" | "planned" | "review" | "working";
|
|
97
|
+
readonly owner: {
|
|
98
|
+
readonly id: string;
|
|
99
|
+
readonly name: string;
|
|
100
|
+
};
|
|
101
|
+
readonly repository: {
|
|
102
|
+
readonly repository: string;
|
|
103
|
+
readonly branch: string;
|
|
104
|
+
};
|
|
105
|
+
readonly spend: {
|
|
106
|
+
readonly currency: string;
|
|
107
|
+
readonly minorUnits: number;
|
|
108
|
+
} | null;
|
|
109
|
+
readonly delivery: "deployed" | "local" | "merged" | "pull_request" | "review";
|
|
110
|
+
readonly blocker: {
|
|
111
|
+
readonly summary: string;
|
|
112
|
+
readonly since: number;
|
|
113
|
+
} | null;
|
|
114
|
+
readonly connectTarget: {
|
|
115
|
+
readonly host: string;
|
|
116
|
+
readonly agentId: string;
|
|
117
|
+
readonly url: string;
|
|
118
|
+
} | null;
|
|
119
|
+
readonly goalFamily?: {
|
|
120
|
+
readonly canonicalGoalId: string;
|
|
121
|
+
readonly role: "canonical" | "superseded";
|
|
122
|
+
};
|
|
123
|
+
readonly agentHierarchy?: {
|
|
124
|
+
readonly agent: {
|
|
125
|
+
readonly host: string;
|
|
126
|
+
readonly agentId: string;
|
|
127
|
+
readonly name: string;
|
|
128
|
+
readonly paneId: string;
|
|
129
|
+
readonly relationship?: {
|
|
130
|
+
readonly parentAgentId: string;
|
|
131
|
+
readonly relation: "delegated" | "pair" | "review";
|
|
132
|
+
};
|
|
133
|
+
};
|
|
134
|
+
} | null;
|
|
135
|
+
readonly activity?: readonly {
|
|
136
|
+
readonly id: string;
|
|
137
|
+
readonly kind: "blocker" | "note" | "request" | "review" | "shipment" | "status";
|
|
138
|
+
readonly summary: string;
|
|
139
|
+
readonly occurredAt: number;
|
|
140
|
+
}[];
|
|
141
|
+
readonly blockers?: readonly {
|
|
142
|
+
readonly summary: string;
|
|
143
|
+
readonly since: number;
|
|
144
|
+
}[];
|
|
145
|
+
readonly requests?: readonly {
|
|
146
|
+
readonly id: string;
|
|
147
|
+
readonly summary: string;
|
|
148
|
+
readonly state: "approved" | "fulfilled" | "open" | "rejected";
|
|
149
|
+
readonly requestedAt: number;
|
|
150
|
+
readonly approvalTarget: {
|
|
151
|
+
readonly host: string;
|
|
152
|
+
readonly jobId: string;
|
|
153
|
+
readonly url: string;
|
|
154
|
+
} | null;
|
|
155
|
+
}[];
|
|
156
|
+
readonly review?: {
|
|
157
|
+
readonly state: "approved" | "changes_requested" | "not_requested" | "requested";
|
|
158
|
+
readonly summary: string | null;
|
|
159
|
+
readonly updatedAt: number;
|
|
160
|
+
readonly url: string | null;
|
|
161
|
+
} | null;
|
|
162
|
+
readonly approvalTarget?: {
|
|
163
|
+
readonly host: string;
|
|
164
|
+
readonly jobId: string;
|
|
165
|
+
readonly url: string;
|
|
166
|
+
} | null;
|
|
167
|
+
readonly createdAt: number;
|
|
168
|
+
readonly updatedAt: number;
|
|
169
|
+
};
|
|
170
|
+
readonly superseded: readonly {
|
|
171
|
+
readonly id: string;
|
|
172
|
+
readonly title: string;
|
|
173
|
+
readonly summary: string;
|
|
174
|
+
readonly detail: string;
|
|
175
|
+
readonly state: "blocked" | "completed" | "deployed" | "planned" | "review" | "working";
|
|
176
|
+
readonly owner: {
|
|
177
|
+
readonly id: string;
|
|
178
|
+
readonly name: string;
|
|
179
|
+
};
|
|
180
|
+
readonly repository: {
|
|
181
|
+
readonly repository: string;
|
|
182
|
+
readonly branch: string;
|
|
183
|
+
};
|
|
184
|
+
readonly spend: {
|
|
185
|
+
readonly currency: string;
|
|
186
|
+
readonly minorUnits: number;
|
|
187
|
+
} | null;
|
|
188
|
+
readonly delivery: "deployed" | "local" | "merged" | "pull_request" | "review";
|
|
189
|
+
readonly blocker: {
|
|
190
|
+
readonly summary: string;
|
|
191
|
+
readonly since: number;
|
|
192
|
+
} | null;
|
|
193
|
+
readonly connectTarget: {
|
|
194
|
+
readonly host: string;
|
|
195
|
+
readonly agentId: string;
|
|
196
|
+
readonly url: string;
|
|
197
|
+
} | null;
|
|
198
|
+
readonly goalFamily?: {
|
|
199
|
+
readonly canonicalGoalId: string;
|
|
200
|
+
readonly role: "canonical" | "superseded";
|
|
201
|
+
};
|
|
202
|
+
readonly agentHierarchy?: {
|
|
203
|
+
readonly agent: {
|
|
204
|
+
readonly host: string;
|
|
205
|
+
readonly agentId: string;
|
|
206
|
+
readonly name: string;
|
|
207
|
+
readonly paneId: string;
|
|
208
|
+
readonly relationship?: {
|
|
209
|
+
readonly parentAgentId: string;
|
|
210
|
+
readonly relation: "delegated" | "pair" | "review";
|
|
211
|
+
};
|
|
212
|
+
};
|
|
213
|
+
} | null;
|
|
214
|
+
readonly activity?: readonly {
|
|
215
|
+
readonly id: string;
|
|
216
|
+
readonly kind: "blocker" | "note" | "request" | "review" | "shipment" | "status";
|
|
217
|
+
readonly summary: string;
|
|
218
|
+
readonly occurredAt: number;
|
|
219
|
+
}[];
|
|
220
|
+
readonly blockers?: readonly {
|
|
221
|
+
readonly summary: string;
|
|
222
|
+
readonly since: number;
|
|
223
|
+
}[];
|
|
224
|
+
readonly requests?: readonly {
|
|
225
|
+
readonly id: string;
|
|
226
|
+
readonly summary: string;
|
|
227
|
+
readonly state: "approved" | "fulfilled" | "open" | "rejected";
|
|
228
|
+
readonly requestedAt: number;
|
|
229
|
+
readonly approvalTarget: {
|
|
230
|
+
readonly host: string;
|
|
231
|
+
readonly jobId: string;
|
|
232
|
+
readonly url: string;
|
|
233
|
+
} | null;
|
|
234
|
+
}[];
|
|
235
|
+
readonly review?: {
|
|
236
|
+
readonly state: "approved" | "changes_requested" | "not_requested" | "requested";
|
|
237
|
+
readonly summary: string | null;
|
|
238
|
+
readonly updatedAt: number;
|
|
239
|
+
readonly url: string | null;
|
|
240
|
+
} | null;
|
|
241
|
+
readonly approvalTarget?: {
|
|
242
|
+
readonly host: string;
|
|
243
|
+
readonly jobId: string;
|
|
244
|
+
readonly url: string;
|
|
245
|
+
} | null;
|
|
246
|
+
readonly createdAt: number;
|
|
247
|
+
readonly updatedAt: number;
|
|
248
|
+
}[];
|
|
249
|
+
}[];
|
|
89
250
|
};
|
|
90
251
|
readonly day: {
|
|
91
252
|
readonly window: "day" | "month" | "now" | "week";
|
|
@@ -170,6 +331,167 @@ export declare const projectWorkSnapshots: (input: readonly WorkGoalCheckpoint[]
|
|
|
170
331
|
readonly createdAt: number;
|
|
171
332
|
readonly updatedAt: number;
|
|
172
333
|
}[];
|
|
334
|
+
readonly families?: readonly {
|
|
335
|
+
readonly canonicalGoalId: string;
|
|
336
|
+
readonly canonical: {
|
|
337
|
+
readonly id: string;
|
|
338
|
+
readonly title: string;
|
|
339
|
+
readonly summary: string;
|
|
340
|
+
readonly detail: string;
|
|
341
|
+
readonly state: "blocked" | "completed" | "deployed" | "planned" | "review" | "working";
|
|
342
|
+
readonly owner: {
|
|
343
|
+
readonly id: string;
|
|
344
|
+
readonly name: string;
|
|
345
|
+
};
|
|
346
|
+
readonly repository: {
|
|
347
|
+
readonly repository: string;
|
|
348
|
+
readonly branch: string;
|
|
349
|
+
};
|
|
350
|
+
readonly spend: {
|
|
351
|
+
readonly currency: string;
|
|
352
|
+
readonly minorUnits: number;
|
|
353
|
+
} | null;
|
|
354
|
+
readonly delivery: "deployed" | "local" | "merged" | "pull_request" | "review";
|
|
355
|
+
readonly blocker: {
|
|
356
|
+
readonly summary: string;
|
|
357
|
+
readonly since: number;
|
|
358
|
+
} | null;
|
|
359
|
+
readonly connectTarget: {
|
|
360
|
+
readonly host: string;
|
|
361
|
+
readonly agentId: string;
|
|
362
|
+
readonly url: string;
|
|
363
|
+
} | null;
|
|
364
|
+
readonly goalFamily?: {
|
|
365
|
+
readonly canonicalGoalId: string;
|
|
366
|
+
readonly role: "canonical" | "superseded";
|
|
367
|
+
};
|
|
368
|
+
readonly agentHierarchy?: {
|
|
369
|
+
readonly agent: {
|
|
370
|
+
readonly host: string;
|
|
371
|
+
readonly agentId: string;
|
|
372
|
+
readonly name: string;
|
|
373
|
+
readonly paneId: string;
|
|
374
|
+
readonly relationship?: {
|
|
375
|
+
readonly parentAgentId: string;
|
|
376
|
+
readonly relation: "delegated" | "pair" | "review";
|
|
377
|
+
};
|
|
378
|
+
};
|
|
379
|
+
} | null;
|
|
380
|
+
readonly activity?: readonly {
|
|
381
|
+
readonly id: string;
|
|
382
|
+
readonly kind: "blocker" | "note" | "request" | "review" | "shipment" | "status";
|
|
383
|
+
readonly summary: string;
|
|
384
|
+
readonly occurredAt: number;
|
|
385
|
+
}[];
|
|
386
|
+
readonly blockers?: readonly {
|
|
387
|
+
readonly summary: string;
|
|
388
|
+
readonly since: number;
|
|
389
|
+
}[];
|
|
390
|
+
readonly requests?: readonly {
|
|
391
|
+
readonly id: string;
|
|
392
|
+
readonly summary: string;
|
|
393
|
+
readonly state: "approved" | "fulfilled" | "open" | "rejected";
|
|
394
|
+
readonly requestedAt: number;
|
|
395
|
+
readonly approvalTarget: {
|
|
396
|
+
readonly host: string;
|
|
397
|
+
readonly jobId: string;
|
|
398
|
+
readonly url: string;
|
|
399
|
+
} | null;
|
|
400
|
+
}[];
|
|
401
|
+
readonly review?: {
|
|
402
|
+
readonly state: "approved" | "changes_requested" | "not_requested" | "requested";
|
|
403
|
+
readonly summary: string | null;
|
|
404
|
+
readonly updatedAt: number;
|
|
405
|
+
readonly url: string | null;
|
|
406
|
+
} | null;
|
|
407
|
+
readonly approvalTarget?: {
|
|
408
|
+
readonly host: string;
|
|
409
|
+
readonly jobId: string;
|
|
410
|
+
readonly url: string;
|
|
411
|
+
} | null;
|
|
412
|
+
readonly createdAt: number;
|
|
413
|
+
readonly updatedAt: number;
|
|
414
|
+
};
|
|
415
|
+
readonly superseded: readonly {
|
|
416
|
+
readonly id: string;
|
|
417
|
+
readonly title: string;
|
|
418
|
+
readonly summary: string;
|
|
419
|
+
readonly detail: string;
|
|
420
|
+
readonly state: "blocked" | "completed" | "deployed" | "planned" | "review" | "working";
|
|
421
|
+
readonly owner: {
|
|
422
|
+
readonly id: string;
|
|
423
|
+
readonly name: string;
|
|
424
|
+
};
|
|
425
|
+
readonly repository: {
|
|
426
|
+
readonly repository: string;
|
|
427
|
+
readonly branch: string;
|
|
428
|
+
};
|
|
429
|
+
readonly spend: {
|
|
430
|
+
readonly currency: string;
|
|
431
|
+
readonly minorUnits: number;
|
|
432
|
+
} | null;
|
|
433
|
+
readonly delivery: "deployed" | "local" | "merged" | "pull_request" | "review";
|
|
434
|
+
readonly blocker: {
|
|
435
|
+
readonly summary: string;
|
|
436
|
+
readonly since: number;
|
|
437
|
+
} | null;
|
|
438
|
+
readonly connectTarget: {
|
|
439
|
+
readonly host: string;
|
|
440
|
+
readonly agentId: string;
|
|
441
|
+
readonly url: string;
|
|
442
|
+
} | null;
|
|
443
|
+
readonly goalFamily?: {
|
|
444
|
+
readonly canonicalGoalId: string;
|
|
445
|
+
readonly role: "canonical" | "superseded";
|
|
446
|
+
};
|
|
447
|
+
readonly agentHierarchy?: {
|
|
448
|
+
readonly agent: {
|
|
449
|
+
readonly host: string;
|
|
450
|
+
readonly agentId: string;
|
|
451
|
+
readonly name: string;
|
|
452
|
+
readonly paneId: string;
|
|
453
|
+
readonly relationship?: {
|
|
454
|
+
readonly parentAgentId: string;
|
|
455
|
+
readonly relation: "delegated" | "pair" | "review";
|
|
456
|
+
};
|
|
457
|
+
};
|
|
458
|
+
} | null;
|
|
459
|
+
readonly activity?: readonly {
|
|
460
|
+
readonly id: string;
|
|
461
|
+
readonly kind: "blocker" | "note" | "request" | "review" | "shipment" | "status";
|
|
462
|
+
readonly summary: string;
|
|
463
|
+
readonly occurredAt: number;
|
|
464
|
+
}[];
|
|
465
|
+
readonly blockers?: readonly {
|
|
466
|
+
readonly summary: string;
|
|
467
|
+
readonly since: number;
|
|
468
|
+
}[];
|
|
469
|
+
readonly requests?: readonly {
|
|
470
|
+
readonly id: string;
|
|
471
|
+
readonly summary: string;
|
|
472
|
+
readonly state: "approved" | "fulfilled" | "open" | "rejected";
|
|
473
|
+
readonly requestedAt: number;
|
|
474
|
+
readonly approvalTarget: {
|
|
475
|
+
readonly host: string;
|
|
476
|
+
readonly jobId: string;
|
|
477
|
+
readonly url: string;
|
|
478
|
+
} | null;
|
|
479
|
+
}[];
|
|
480
|
+
readonly review?: {
|
|
481
|
+
readonly state: "approved" | "changes_requested" | "not_requested" | "requested";
|
|
482
|
+
readonly summary: string | null;
|
|
483
|
+
readonly updatedAt: number;
|
|
484
|
+
readonly url: string | null;
|
|
485
|
+
} | null;
|
|
486
|
+
readonly approvalTarget?: {
|
|
487
|
+
readonly host: string;
|
|
488
|
+
readonly jobId: string;
|
|
489
|
+
readonly url: string;
|
|
490
|
+
} | null;
|
|
491
|
+
readonly createdAt: number;
|
|
492
|
+
readonly updatedAt: number;
|
|
493
|
+
}[];
|
|
494
|
+
}[];
|
|
173
495
|
};
|
|
174
496
|
readonly week: {
|
|
175
497
|
readonly window: "day" | "month" | "now" | "week";
|
|
@@ -254,6 +576,167 @@ export declare const projectWorkSnapshots: (input: readonly WorkGoalCheckpoint[]
|
|
|
254
576
|
readonly createdAt: number;
|
|
255
577
|
readonly updatedAt: number;
|
|
256
578
|
}[];
|
|
579
|
+
readonly families?: readonly {
|
|
580
|
+
readonly canonicalGoalId: string;
|
|
581
|
+
readonly canonical: {
|
|
582
|
+
readonly id: string;
|
|
583
|
+
readonly title: string;
|
|
584
|
+
readonly summary: string;
|
|
585
|
+
readonly detail: string;
|
|
586
|
+
readonly state: "blocked" | "completed" | "deployed" | "planned" | "review" | "working";
|
|
587
|
+
readonly owner: {
|
|
588
|
+
readonly id: string;
|
|
589
|
+
readonly name: string;
|
|
590
|
+
};
|
|
591
|
+
readonly repository: {
|
|
592
|
+
readonly repository: string;
|
|
593
|
+
readonly branch: string;
|
|
594
|
+
};
|
|
595
|
+
readonly spend: {
|
|
596
|
+
readonly currency: string;
|
|
597
|
+
readonly minorUnits: number;
|
|
598
|
+
} | null;
|
|
599
|
+
readonly delivery: "deployed" | "local" | "merged" | "pull_request" | "review";
|
|
600
|
+
readonly blocker: {
|
|
601
|
+
readonly summary: string;
|
|
602
|
+
readonly since: number;
|
|
603
|
+
} | null;
|
|
604
|
+
readonly connectTarget: {
|
|
605
|
+
readonly host: string;
|
|
606
|
+
readonly agentId: string;
|
|
607
|
+
readonly url: string;
|
|
608
|
+
} | null;
|
|
609
|
+
readonly goalFamily?: {
|
|
610
|
+
readonly canonicalGoalId: string;
|
|
611
|
+
readonly role: "canonical" | "superseded";
|
|
612
|
+
};
|
|
613
|
+
readonly agentHierarchy?: {
|
|
614
|
+
readonly agent: {
|
|
615
|
+
readonly host: string;
|
|
616
|
+
readonly agentId: string;
|
|
617
|
+
readonly name: string;
|
|
618
|
+
readonly paneId: string;
|
|
619
|
+
readonly relationship?: {
|
|
620
|
+
readonly parentAgentId: string;
|
|
621
|
+
readonly relation: "delegated" | "pair" | "review";
|
|
622
|
+
};
|
|
623
|
+
};
|
|
624
|
+
} | null;
|
|
625
|
+
readonly activity?: readonly {
|
|
626
|
+
readonly id: string;
|
|
627
|
+
readonly kind: "blocker" | "note" | "request" | "review" | "shipment" | "status";
|
|
628
|
+
readonly summary: string;
|
|
629
|
+
readonly occurredAt: number;
|
|
630
|
+
}[];
|
|
631
|
+
readonly blockers?: readonly {
|
|
632
|
+
readonly summary: string;
|
|
633
|
+
readonly since: number;
|
|
634
|
+
}[];
|
|
635
|
+
readonly requests?: readonly {
|
|
636
|
+
readonly id: string;
|
|
637
|
+
readonly summary: string;
|
|
638
|
+
readonly state: "approved" | "fulfilled" | "open" | "rejected";
|
|
639
|
+
readonly requestedAt: number;
|
|
640
|
+
readonly approvalTarget: {
|
|
641
|
+
readonly host: string;
|
|
642
|
+
readonly jobId: string;
|
|
643
|
+
readonly url: string;
|
|
644
|
+
} | null;
|
|
645
|
+
}[];
|
|
646
|
+
readonly review?: {
|
|
647
|
+
readonly state: "approved" | "changes_requested" | "not_requested" | "requested";
|
|
648
|
+
readonly summary: string | null;
|
|
649
|
+
readonly updatedAt: number;
|
|
650
|
+
readonly url: string | null;
|
|
651
|
+
} | null;
|
|
652
|
+
readonly approvalTarget?: {
|
|
653
|
+
readonly host: string;
|
|
654
|
+
readonly jobId: string;
|
|
655
|
+
readonly url: string;
|
|
656
|
+
} | null;
|
|
657
|
+
readonly createdAt: number;
|
|
658
|
+
readonly updatedAt: number;
|
|
659
|
+
};
|
|
660
|
+
readonly superseded: readonly {
|
|
661
|
+
readonly id: string;
|
|
662
|
+
readonly title: string;
|
|
663
|
+
readonly summary: string;
|
|
664
|
+
readonly detail: string;
|
|
665
|
+
readonly state: "blocked" | "completed" | "deployed" | "planned" | "review" | "working";
|
|
666
|
+
readonly owner: {
|
|
667
|
+
readonly id: string;
|
|
668
|
+
readonly name: string;
|
|
669
|
+
};
|
|
670
|
+
readonly repository: {
|
|
671
|
+
readonly repository: string;
|
|
672
|
+
readonly branch: string;
|
|
673
|
+
};
|
|
674
|
+
readonly spend: {
|
|
675
|
+
readonly currency: string;
|
|
676
|
+
readonly minorUnits: number;
|
|
677
|
+
} | null;
|
|
678
|
+
readonly delivery: "deployed" | "local" | "merged" | "pull_request" | "review";
|
|
679
|
+
readonly blocker: {
|
|
680
|
+
readonly summary: string;
|
|
681
|
+
readonly since: number;
|
|
682
|
+
} | null;
|
|
683
|
+
readonly connectTarget: {
|
|
684
|
+
readonly host: string;
|
|
685
|
+
readonly agentId: string;
|
|
686
|
+
readonly url: string;
|
|
687
|
+
} | null;
|
|
688
|
+
readonly goalFamily?: {
|
|
689
|
+
readonly canonicalGoalId: string;
|
|
690
|
+
readonly role: "canonical" | "superseded";
|
|
691
|
+
};
|
|
692
|
+
readonly agentHierarchy?: {
|
|
693
|
+
readonly agent: {
|
|
694
|
+
readonly host: string;
|
|
695
|
+
readonly agentId: string;
|
|
696
|
+
readonly name: string;
|
|
697
|
+
readonly paneId: string;
|
|
698
|
+
readonly relationship?: {
|
|
699
|
+
readonly parentAgentId: string;
|
|
700
|
+
readonly relation: "delegated" | "pair" | "review";
|
|
701
|
+
};
|
|
702
|
+
};
|
|
703
|
+
} | null;
|
|
704
|
+
readonly activity?: readonly {
|
|
705
|
+
readonly id: string;
|
|
706
|
+
readonly kind: "blocker" | "note" | "request" | "review" | "shipment" | "status";
|
|
707
|
+
readonly summary: string;
|
|
708
|
+
readonly occurredAt: number;
|
|
709
|
+
}[];
|
|
710
|
+
readonly blockers?: readonly {
|
|
711
|
+
readonly summary: string;
|
|
712
|
+
readonly since: number;
|
|
713
|
+
}[];
|
|
714
|
+
readonly requests?: readonly {
|
|
715
|
+
readonly id: string;
|
|
716
|
+
readonly summary: string;
|
|
717
|
+
readonly state: "approved" | "fulfilled" | "open" | "rejected";
|
|
718
|
+
readonly requestedAt: number;
|
|
719
|
+
readonly approvalTarget: {
|
|
720
|
+
readonly host: string;
|
|
721
|
+
readonly jobId: string;
|
|
722
|
+
readonly url: string;
|
|
723
|
+
} | null;
|
|
724
|
+
}[];
|
|
725
|
+
readonly review?: {
|
|
726
|
+
readonly state: "approved" | "changes_requested" | "not_requested" | "requested";
|
|
727
|
+
readonly summary: string | null;
|
|
728
|
+
readonly updatedAt: number;
|
|
729
|
+
readonly url: string | null;
|
|
730
|
+
} | null;
|
|
731
|
+
readonly approvalTarget?: {
|
|
732
|
+
readonly host: string;
|
|
733
|
+
readonly jobId: string;
|
|
734
|
+
readonly url: string;
|
|
735
|
+
} | null;
|
|
736
|
+
readonly createdAt: number;
|
|
737
|
+
readonly updatedAt: number;
|
|
738
|
+
}[];
|
|
739
|
+
}[];
|
|
257
740
|
};
|
|
258
741
|
readonly month: {
|
|
259
742
|
readonly window: "day" | "month" | "now" | "week";
|
|
@@ -338,6 +821,167 @@ export declare const projectWorkSnapshots: (input: readonly WorkGoalCheckpoint[]
|
|
|
338
821
|
readonly createdAt: number;
|
|
339
822
|
readonly updatedAt: number;
|
|
340
823
|
}[];
|
|
824
|
+
readonly families?: readonly {
|
|
825
|
+
readonly canonicalGoalId: string;
|
|
826
|
+
readonly canonical: {
|
|
827
|
+
readonly id: string;
|
|
828
|
+
readonly title: string;
|
|
829
|
+
readonly summary: string;
|
|
830
|
+
readonly detail: string;
|
|
831
|
+
readonly state: "blocked" | "completed" | "deployed" | "planned" | "review" | "working";
|
|
832
|
+
readonly owner: {
|
|
833
|
+
readonly id: string;
|
|
834
|
+
readonly name: string;
|
|
835
|
+
};
|
|
836
|
+
readonly repository: {
|
|
837
|
+
readonly repository: string;
|
|
838
|
+
readonly branch: string;
|
|
839
|
+
};
|
|
840
|
+
readonly spend: {
|
|
841
|
+
readonly currency: string;
|
|
842
|
+
readonly minorUnits: number;
|
|
843
|
+
} | null;
|
|
844
|
+
readonly delivery: "deployed" | "local" | "merged" | "pull_request" | "review";
|
|
845
|
+
readonly blocker: {
|
|
846
|
+
readonly summary: string;
|
|
847
|
+
readonly since: number;
|
|
848
|
+
} | null;
|
|
849
|
+
readonly connectTarget: {
|
|
850
|
+
readonly host: string;
|
|
851
|
+
readonly agentId: string;
|
|
852
|
+
readonly url: string;
|
|
853
|
+
} | null;
|
|
854
|
+
readonly goalFamily?: {
|
|
855
|
+
readonly canonicalGoalId: string;
|
|
856
|
+
readonly role: "canonical" | "superseded";
|
|
857
|
+
};
|
|
858
|
+
readonly agentHierarchy?: {
|
|
859
|
+
readonly agent: {
|
|
860
|
+
readonly host: string;
|
|
861
|
+
readonly agentId: string;
|
|
862
|
+
readonly name: string;
|
|
863
|
+
readonly paneId: string;
|
|
864
|
+
readonly relationship?: {
|
|
865
|
+
readonly parentAgentId: string;
|
|
866
|
+
readonly relation: "delegated" | "pair" | "review";
|
|
867
|
+
};
|
|
868
|
+
};
|
|
869
|
+
} | null;
|
|
870
|
+
readonly activity?: readonly {
|
|
871
|
+
readonly id: string;
|
|
872
|
+
readonly kind: "blocker" | "note" | "request" | "review" | "shipment" | "status";
|
|
873
|
+
readonly summary: string;
|
|
874
|
+
readonly occurredAt: number;
|
|
875
|
+
}[];
|
|
876
|
+
readonly blockers?: readonly {
|
|
877
|
+
readonly summary: string;
|
|
878
|
+
readonly since: number;
|
|
879
|
+
}[];
|
|
880
|
+
readonly requests?: readonly {
|
|
881
|
+
readonly id: string;
|
|
882
|
+
readonly summary: string;
|
|
883
|
+
readonly state: "approved" | "fulfilled" | "open" | "rejected";
|
|
884
|
+
readonly requestedAt: number;
|
|
885
|
+
readonly approvalTarget: {
|
|
886
|
+
readonly host: string;
|
|
887
|
+
readonly jobId: string;
|
|
888
|
+
readonly url: string;
|
|
889
|
+
} | null;
|
|
890
|
+
}[];
|
|
891
|
+
readonly review?: {
|
|
892
|
+
readonly state: "approved" | "changes_requested" | "not_requested" | "requested";
|
|
893
|
+
readonly summary: string | null;
|
|
894
|
+
readonly updatedAt: number;
|
|
895
|
+
readonly url: string | null;
|
|
896
|
+
} | null;
|
|
897
|
+
readonly approvalTarget?: {
|
|
898
|
+
readonly host: string;
|
|
899
|
+
readonly jobId: string;
|
|
900
|
+
readonly url: string;
|
|
901
|
+
} | null;
|
|
902
|
+
readonly createdAt: number;
|
|
903
|
+
readonly updatedAt: number;
|
|
904
|
+
};
|
|
905
|
+
readonly superseded: readonly {
|
|
906
|
+
readonly id: string;
|
|
907
|
+
readonly title: string;
|
|
908
|
+
readonly summary: string;
|
|
909
|
+
readonly detail: string;
|
|
910
|
+
readonly state: "blocked" | "completed" | "deployed" | "planned" | "review" | "working";
|
|
911
|
+
readonly owner: {
|
|
912
|
+
readonly id: string;
|
|
913
|
+
readonly name: string;
|
|
914
|
+
};
|
|
915
|
+
readonly repository: {
|
|
916
|
+
readonly repository: string;
|
|
917
|
+
readonly branch: string;
|
|
918
|
+
};
|
|
919
|
+
readonly spend: {
|
|
920
|
+
readonly currency: string;
|
|
921
|
+
readonly minorUnits: number;
|
|
922
|
+
} | null;
|
|
923
|
+
readonly delivery: "deployed" | "local" | "merged" | "pull_request" | "review";
|
|
924
|
+
readonly blocker: {
|
|
925
|
+
readonly summary: string;
|
|
926
|
+
readonly since: number;
|
|
927
|
+
} | null;
|
|
928
|
+
readonly connectTarget: {
|
|
929
|
+
readonly host: string;
|
|
930
|
+
readonly agentId: string;
|
|
931
|
+
readonly url: string;
|
|
932
|
+
} | null;
|
|
933
|
+
readonly goalFamily?: {
|
|
934
|
+
readonly canonicalGoalId: string;
|
|
935
|
+
readonly role: "canonical" | "superseded";
|
|
936
|
+
};
|
|
937
|
+
readonly agentHierarchy?: {
|
|
938
|
+
readonly agent: {
|
|
939
|
+
readonly host: string;
|
|
940
|
+
readonly agentId: string;
|
|
941
|
+
readonly name: string;
|
|
942
|
+
readonly paneId: string;
|
|
943
|
+
readonly relationship?: {
|
|
944
|
+
readonly parentAgentId: string;
|
|
945
|
+
readonly relation: "delegated" | "pair" | "review";
|
|
946
|
+
};
|
|
947
|
+
};
|
|
948
|
+
} | null;
|
|
949
|
+
readonly activity?: readonly {
|
|
950
|
+
readonly id: string;
|
|
951
|
+
readonly kind: "blocker" | "note" | "request" | "review" | "shipment" | "status";
|
|
952
|
+
readonly summary: string;
|
|
953
|
+
readonly occurredAt: number;
|
|
954
|
+
}[];
|
|
955
|
+
readonly blockers?: readonly {
|
|
956
|
+
readonly summary: string;
|
|
957
|
+
readonly since: number;
|
|
958
|
+
}[];
|
|
959
|
+
readonly requests?: readonly {
|
|
960
|
+
readonly id: string;
|
|
961
|
+
readonly summary: string;
|
|
962
|
+
readonly state: "approved" | "fulfilled" | "open" | "rejected";
|
|
963
|
+
readonly requestedAt: number;
|
|
964
|
+
readonly approvalTarget: {
|
|
965
|
+
readonly host: string;
|
|
966
|
+
readonly jobId: string;
|
|
967
|
+
readonly url: string;
|
|
968
|
+
} | null;
|
|
969
|
+
}[];
|
|
970
|
+
readonly review?: {
|
|
971
|
+
readonly state: "approved" | "changes_requested" | "not_requested" | "requested";
|
|
972
|
+
readonly summary: string | null;
|
|
973
|
+
readonly updatedAt: number;
|
|
974
|
+
readonly url: string | null;
|
|
975
|
+
} | null;
|
|
976
|
+
readonly approvalTarget?: {
|
|
977
|
+
readonly host: string;
|
|
978
|
+
readonly jobId: string;
|
|
979
|
+
readonly url: string;
|
|
980
|
+
} | null;
|
|
981
|
+
readonly createdAt: number;
|
|
982
|
+
readonly updatedAt: number;
|
|
983
|
+
}[];
|
|
984
|
+
}[];
|
|
341
985
|
};
|
|
342
986
|
}, WorkProjectionError, never>;
|
|
343
987
|
//# sourceMappingURL=projection.d.ts.map
|
package/dist/projection.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"projection.d.ts","sourceRoot":"","sources":["../src/projection.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAU,MAAM,QAAQ,CAAA;AACvC,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAA;AAEjD,OAAO,EAEL,kBAAkB,
|
|
1
|
+
{"version":3,"file":"projection.d.ts","sourceRoot":"","sources":["../src/projection.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAU,MAAM,QAAQ,CAAA;AACvC,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAA;AAEjD,OAAO,EAEL,kBAAkB,EAMnB,MAAM,YAAY,CAAA;AAmHnB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8BAiB/B,CAAA"}
|