@anhlp/alp-runtime 0.0.0-stage → 0.0.1-beta.10

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 (127) hide show
  1. package/LICENSE +202 -0
  2. package/NOTICE +7 -0
  3. package/README.md +6 -2
  4. package/dist/acp-transport.d.ts +130 -0
  5. package/dist/acp-transport.js +482 -0
  6. package/dist/antigravity-transport.d.ts +107 -0
  7. package/dist/antigravity-transport.js +665 -0
  8. package/dist/assignment-results.d.ts +55 -0
  9. package/dist/assignment-results.js +181 -0
  10. package/dist/attachments.d.ts +84 -0
  11. package/dist/attachments.js +213 -0
  12. package/dist/board-domain.d.ts +56 -0
  13. package/dist/board-domain.js +157 -0
  14. package/dist/board.d.ts +27 -0
  15. package/dist/board.js +76 -0
  16. package/dist/catalog.d.ts +44 -0
  17. package/dist/catalog.js +47 -0
  18. package/dist/claude-transport.d.ts +251 -0
  19. package/dist/claude-transport.js +931 -0
  20. package/dist/compact.d.ts +29 -0
  21. package/dist/compact.js +49 -0
  22. package/dist/configure.d.ts +44 -0
  23. package/dist/configure.js +64 -0
  24. package/dist/contracts.d.ts +378 -0
  25. package/dist/contracts.js +16 -0
  26. package/dist/conversation.d.ts +45 -0
  27. package/dist/conversation.js +62 -0
  28. package/dist/events.d.ts +1 -0
  29. package/dist/events.js +0 -0
  30. package/dist/github.d.ts +10 -0
  31. package/dist/github.js +39 -0
  32. package/dist/handoff.d.ts +36 -0
  33. package/dist/handoff.js +73 -0
  34. package/dist/index.d.ts +39 -0
  35. package/dist/index.js +122 -0
  36. package/dist/input-limits.d.ts +25 -0
  37. package/dist/input-limits.js +48 -0
  38. package/dist/language.d.ts +51 -0
  39. package/dist/language.js +94 -0
  40. package/dist/live.d.ts +48 -0
  41. package/dist/live.js +50 -0
  42. package/dist/mailbox.d.ts +26 -0
  43. package/dist/mailbox.js +38 -0
  44. package/dist/mcp-tools.d.ts +123 -0
  45. package/dist/mcp-tools.js +97 -0
  46. package/dist/model-catalog.d.ts +162 -0
  47. package/dist/model-catalog.js +338 -0
  48. package/dist/model-probes.d.ts +7 -0
  49. package/dist/model-probes.js +69 -0
  50. package/dist/permission-path.d.ts +2 -0
  51. package/dist/permission-path.js +44 -0
  52. package/dist/process-info.d.ts +14 -0
  53. package/dist/process-info.js +32 -0
  54. package/dist/providers.d.ts +28 -0
  55. package/dist/providers.js +73 -0
  56. package/dist/recall.d.ts +42 -0
  57. package/dist/recall.js +61 -0
  58. package/dist/resolve.d.ts +123 -0
  59. package/dist/resolve.js +242 -0
  60. package/dist/runtime-context.d.ts +43 -0
  61. package/dist/runtime-context.js +61 -0
  62. package/dist/runtime.d.ts +13 -0
  63. package/dist/runtime.js +4818 -0
  64. package/dist/session-config.d.ts +2345 -0
  65. package/dist/session-config.js +209 -0
  66. package/dist/session-state.d.ts +190 -0
  67. package/dist/session-state.js +0 -0
  68. package/dist/skill-resources.d.ts +30 -0
  69. package/dist/skill-resources.js +55 -0
  70. package/dist/tool-detail.d.ts +81 -0
  71. package/dist/tool-detail.js +332 -0
  72. package/dist/tool-results.d.ts +12 -0
  73. package/dist/tool-results.js +25 -0
  74. package/dist/tools.d.ts +827 -0
  75. package/dist/tools.js +463 -0
  76. package/dist/transport.d.ts +47 -0
  77. package/dist/transport.js +171 -0
  78. package/dist/usage.d.ts +25 -0
  79. package/dist/usage.js +60 -0
  80. package/dist/workspace.d.ts +127 -0
  81. package/dist/workspace.js +340 -0
  82. package/dist/worktree-domain.d.ts +89 -0
  83. package/dist/worktree-domain.js +199 -0
  84. package/dist/write-error.d.ts +2 -0
  85. package/dist/write-error.js +10 -0
  86. package/package.json +262 -4
  87. package/src/acp-transport.ts +481 -0
  88. package/src/antigravity-transport.ts +740 -0
  89. package/src/assignment-results.ts +154 -0
  90. package/src/attachments.ts +254 -0
  91. package/src/board-domain.ts +185 -0
  92. package/src/board.ts +87 -0
  93. package/src/catalog.ts +43 -0
  94. package/src/claude-transport.ts +1097 -0
  95. package/src/compact.ts +62 -0
  96. package/src/configure.ts +93 -0
  97. package/src/contracts.ts +363 -0
  98. package/src/conversation.ts +81 -0
  99. package/src/events.ts +1 -0
  100. package/src/github.ts +37 -0
  101. package/src/handoff.ts +86 -0
  102. package/src/index.ts +41 -0
  103. package/src/input-limits.ts +65 -0
  104. package/src/language.ts +130 -0
  105. package/src/live.ts +90 -0
  106. package/src/mailbox.ts +49 -0
  107. package/src/mcp-tools.ts +106 -0
  108. package/src/model-catalog.ts +316 -0
  109. package/src/model-probes.ts +58 -0
  110. package/src/permission-path.ts +37 -0
  111. package/src/process-info.ts +40 -0
  112. package/src/providers.ts +87 -0
  113. package/src/recall.ts +86 -0
  114. package/src/resolve.ts +238 -0
  115. package/src/runtime-context.ts +49 -0
  116. package/src/runtime.ts +5608 -0
  117. package/src/session-config.ts +312 -0
  118. package/src/session-state.ts +180 -0
  119. package/src/skill-resources.ts +73 -0
  120. package/src/tool-detail.ts +397 -0
  121. package/src/tool-results.ts +26 -0
  122. package/src/tools.ts +466 -0
  123. package/src/transport.ts +118 -0
  124. package/src/usage.ts +79 -0
  125. package/src/workspace.ts +424 -0
  126. package/src/worktree-domain.ts +220 -0
  127. package/src/write-error.ts +4 -0
@@ -0,0 +1,827 @@
1
+ import { type Task } from '@anhlp/alp-core/tasks';
2
+ import { type ResolvedSession } from './resolve.js';
3
+ export declare const handoffList: (description: string) => {
4
+ type: string;
5
+ items: {
6
+ type: string;
7
+ };
8
+ description: string;
9
+ };
10
+ export declare const HANDOFF_TOOL: {
11
+ type: string;
12
+ name: string;
13
+ description: string;
14
+ inputSchema: {
15
+ type: string;
16
+ properties: {
17
+ outcome: {
18
+ type: string;
19
+ enum: readonly ["complete", "partial", "blocked", "reconsider"];
20
+ description: string;
21
+ };
22
+ summary: {
23
+ type: string;
24
+ description: string;
25
+ };
26
+ candidate: {
27
+ type: string;
28
+ items: {
29
+ type: string;
30
+ };
31
+ description: string;
32
+ };
33
+ scope: {
34
+ type: string;
35
+ items: {
36
+ type: string;
37
+ };
38
+ description: string;
39
+ };
40
+ verification: {
41
+ type: string;
42
+ items: {
43
+ type: string;
44
+ };
45
+ description: string;
46
+ };
47
+ risks: {
48
+ type: string;
49
+ items: {
50
+ type: string;
51
+ };
52
+ description: string;
53
+ };
54
+ discovered: {
55
+ type: string;
56
+ items: {
57
+ type: string;
58
+ };
59
+ description: string;
60
+ };
61
+ ownership: {
62
+ type: string;
63
+ description: string;
64
+ };
65
+ verdict: {
66
+ type: string;
67
+ description: string;
68
+ properties: {
69
+ result: {
70
+ type: string;
71
+ enum: readonly ["pass", "pass_with_findings", "fail", "blocked"];
72
+ };
73
+ criteria: {
74
+ type: string;
75
+ items: {
76
+ type: string;
77
+ properties: {
78
+ criterion: {
79
+ type: string;
80
+ description: string;
81
+ };
82
+ result: {
83
+ type: string;
84
+ enum: readonly ["pass", "fail", "not_checked"];
85
+ };
86
+ evidence: {
87
+ type: string;
88
+ description: string;
89
+ };
90
+ };
91
+ required: string[];
92
+ additionalProperties: boolean;
93
+ };
94
+ };
95
+ findings: {
96
+ type: string;
97
+ items: {
98
+ type: string;
99
+ properties: {
100
+ severity: {
101
+ type: string;
102
+ enum: readonly ["critical", "high", "medium", "low"];
103
+ description: string;
104
+ };
105
+ where: {
106
+ type: string;
107
+ description: string;
108
+ };
109
+ problem: {
110
+ type: string;
111
+ description: string;
112
+ };
113
+ fix: {
114
+ type: string;
115
+ description: string;
116
+ };
117
+ };
118
+ required: string[];
119
+ additionalProperties: boolean;
120
+ };
121
+ };
122
+ };
123
+ required: string[];
124
+ additionalProperties: boolean;
125
+ };
126
+ };
127
+ required: string[];
128
+ additionalProperties: boolean;
129
+ };
130
+ };
131
+ export declare const WAIT_TOOL: {
132
+ type: string;
133
+ name: string;
134
+ description: string;
135
+ inputSchema: {
136
+ type: string;
137
+ properties: {
138
+ assignments: {
139
+ type: string;
140
+ items: {
141
+ type: string;
142
+ };
143
+ description: string;
144
+ };
145
+ timeoutMs: {
146
+ type: string;
147
+ description: string;
148
+ };
149
+ };
150
+ additionalProperties: boolean;
151
+ };
152
+ };
153
+ export declare const SEND_TOOL: {
154
+ type: string;
155
+ name: string;
156
+ description: string;
157
+ inputSchema: {
158
+ type: string;
159
+ properties: {
160
+ to: {
161
+ type: string;
162
+ description: string;
163
+ };
164
+ kind: {
165
+ type: string;
166
+ enum: string[];
167
+ description: string;
168
+ };
169
+ body: {
170
+ type: string;
171
+ };
172
+ replyTo: {
173
+ type: string;
174
+ description: string;
175
+ };
176
+ };
177
+ required: string[];
178
+ additionalProperties: boolean;
179
+ };
180
+ };
181
+ export declare const MERGE_TOOL: {
182
+ type: string;
183
+ name: string;
184
+ description: string;
185
+ inputSchema: {
186
+ type: string;
187
+ properties: {
188
+ assignmentId: {
189
+ type: string;
190
+ };
191
+ skipVerify: {
192
+ type: string;
193
+ description: string;
194
+ };
195
+ };
196
+ required: string[];
197
+ additionalProperties: boolean;
198
+ };
199
+ };
200
+ export declare const VERIFY_TOOL: {
201
+ type: string;
202
+ name: string;
203
+ description: string;
204
+ inputSchema: {
205
+ type: string;
206
+ properties: {
207
+ taskId: {
208
+ type: string;
209
+ description: string;
210
+ };
211
+ };
212
+ additionalProperties: boolean;
213
+ };
214
+ };
215
+ export declare const DISCARD_TOOL: {
216
+ type: string;
217
+ name: string;
218
+ description: string;
219
+ inputSchema: {
220
+ type: string;
221
+ properties: {
222
+ assignmentId: {
223
+ type: string;
224
+ };
225
+ };
226
+ required: string[];
227
+ additionalProperties: boolean;
228
+ };
229
+ };
230
+ export declare const RESOLVE_TOOL: {
231
+ type: string;
232
+ name: string;
233
+ description: string;
234
+ inputSchema: {
235
+ type: string;
236
+ properties: {
237
+ assignmentId: {
238
+ type: string;
239
+ };
240
+ outcome: {
241
+ type: string;
242
+ enum: readonly ["applied", "discarded", "acknowledged"];
243
+ };
244
+ note: {
245
+ type: string;
246
+ description: string;
247
+ };
248
+ };
249
+ required: string[];
250
+ additionalProperties: boolean;
251
+ };
252
+ };
253
+ export declare const CANCEL_TOOL: {
254
+ type: string;
255
+ name: string;
256
+ description: string;
257
+ inputSchema: {
258
+ type: string;
259
+ properties: {
260
+ assignmentId: {
261
+ type: string;
262
+ };
263
+ reason: {
264
+ type: string;
265
+ description: string;
266
+ };
267
+ };
268
+ required: string[];
269
+ additionalProperties: boolean;
270
+ };
271
+ };
272
+ export declare const RECALL_TOOL: {
273
+ type: string;
274
+ name: string;
275
+ description: string;
276
+ inputSchema: {
277
+ type: string;
278
+ properties: {
279
+ assignmentId: {
280
+ type: string;
281
+ description: string;
282
+ };
283
+ taskId: {
284
+ type: string;
285
+ description: string;
286
+ };
287
+ question: {
288
+ type: string;
289
+ description: string;
290
+ };
291
+ };
292
+ required: string[];
293
+ additionalProperties: boolean;
294
+ };
295
+ };
296
+ export declare const PIN_TOOL: {
297
+ type: string;
298
+ name: string;
299
+ description: string;
300
+ inputSchema: {
301
+ type: string;
302
+ properties: {
303
+ kind: {
304
+ type: string;
305
+ enum: readonly ["claim", "decision", "finding"];
306
+ };
307
+ body: {
308
+ type: string;
309
+ description: string;
310
+ };
311
+ paths: {
312
+ type: string;
313
+ items: {
314
+ type: string;
315
+ maxLength: number;
316
+ };
317
+ maxItems: number;
318
+ description: string;
319
+ };
320
+ };
321
+ required: string[];
322
+ additionalProperties: boolean;
323
+ };
324
+ };
325
+ export declare const BOARD_TOOL: {
326
+ type: string;
327
+ name: string;
328
+ description: string;
329
+ inputSchema: {
330
+ type: string;
331
+ properties: {
332
+ kinds: {
333
+ type: string;
334
+ items: {
335
+ type: string;
336
+ enum: readonly ["claim", "decision", "finding"];
337
+ };
338
+ maxItems: 3;
339
+ };
340
+ limit: {
341
+ type: string;
342
+ description: string;
343
+ };
344
+ };
345
+ additionalProperties: boolean;
346
+ };
347
+ };
348
+ export declare const UNPIN_TOOL: {
349
+ type: string;
350
+ name: string;
351
+ description: string;
352
+ inputSchema: {
353
+ type: string;
354
+ properties: {
355
+ pinId: {
356
+ type: string;
357
+ };
358
+ };
359
+ required: string[];
360
+ additionalProperties: boolean;
361
+ };
362
+ };
363
+ export declare const ASK_TOOL: {
364
+ type: string;
365
+ name: string;
366
+ description: string;
367
+ inputSchema: {
368
+ type: string;
369
+ properties: {
370
+ question: {
371
+ type: string;
372
+ };
373
+ to: {
374
+ type: string;
375
+ enum: string[];
376
+ description: string;
377
+ };
378
+ options: {
379
+ type: string;
380
+ items: {
381
+ type: string;
382
+ };
383
+ description: string;
384
+ };
385
+ };
386
+ required: string[];
387
+ additionalProperties: boolean;
388
+ };
389
+ };
390
+ export declare const LESSON_TOOL: {
391
+ type: string;
392
+ name: string;
393
+ description: string;
394
+ inputSchema: {
395
+ type: string;
396
+ properties: {
397
+ scope: {
398
+ type: string;
399
+ enum: string[];
400
+ };
401
+ lesson: {
402
+ type: string;
403
+ description: string;
404
+ };
405
+ };
406
+ required: string[];
407
+ additionalProperties: boolean;
408
+ };
409
+ };
410
+ export declare const LESSON_CURATE_TOOL: {
411
+ type: string;
412
+ name: string;
413
+ description: string;
414
+ inputSchema: {
415
+ type: string;
416
+ properties: {
417
+ changes: {
418
+ type: string;
419
+ description: string;
420
+ items: {
421
+ type: string;
422
+ properties: {
423
+ scope: {
424
+ type: string;
425
+ enum: string[];
426
+ };
427
+ remove: {
428
+ type: string;
429
+ items: {
430
+ type: string;
431
+ };
432
+ description: string;
433
+ };
434
+ add: {
435
+ type: string;
436
+ description: string;
437
+ };
438
+ reason: {
439
+ type: string;
440
+ description: string;
441
+ };
442
+ };
443
+ required: string[];
444
+ additionalProperties: boolean;
445
+ };
446
+ };
447
+ requestId: {
448
+ type: string;
449
+ description: string;
450
+ };
451
+ };
452
+ required: string[];
453
+ additionalProperties: boolean;
454
+ };
455
+ };
456
+ export declare const SKILL_TOOL: {
457
+ type: string;
458
+ name: string;
459
+ description: string;
460
+ inputSchema: {
461
+ type: string;
462
+ properties: {
463
+ name: {
464
+ type: string;
465
+ description: string;
466
+ };
467
+ description: {
468
+ type: string;
469
+ description: string;
470
+ };
471
+ body: {
472
+ type: string;
473
+ description: string;
474
+ };
475
+ roles: {
476
+ type: string;
477
+ items: {
478
+ type: string;
479
+ };
480
+ description: string;
481
+ };
482
+ lessons: {
483
+ type: string;
484
+ items: {
485
+ type: string;
486
+ };
487
+ description: string;
488
+ };
489
+ replace: {
490
+ type: string;
491
+ description: string;
492
+ };
493
+ requestId: {
494
+ type: string;
495
+ description: string;
496
+ };
497
+ };
498
+ required: string[];
499
+ additionalProperties: boolean;
500
+ };
501
+ };
502
+ export declare const SKILL_RETIRE_TOOL: {
503
+ type: string;
504
+ name: string;
505
+ description: string;
506
+ inputSchema: {
507
+ type: string;
508
+ properties: {
509
+ name: {
510
+ type: string;
511
+ description: string;
512
+ };
513
+ reason: {
514
+ type: string;
515
+ description: string;
516
+ };
517
+ requestId: {
518
+ type: string;
519
+ description: string;
520
+ };
521
+ };
522
+ required: string[];
523
+ additionalProperties: boolean;
524
+ };
525
+ };
526
+ export declare const ISSUE_TOOL: {
527
+ type: string;
528
+ name: string;
529
+ description: string;
530
+ inputSchema: {
531
+ type: string;
532
+ properties: {
533
+ action: {
534
+ type: string;
535
+ enum: string[];
536
+ };
537
+ target: {
538
+ type: string;
539
+ enum: string[];
540
+ };
541
+ query: {
542
+ type: string;
543
+ description: string;
544
+ };
545
+ title: {
546
+ type: string;
547
+ description: string;
548
+ };
549
+ body: {
550
+ type: string;
551
+ description: string;
552
+ };
553
+ issue: {
554
+ type: string;
555
+ description: string;
556
+ };
557
+ requestId: {
558
+ type: string;
559
+ description: string;
560
+ };
561
+ labels: {
562
+ type: string;
563
+ items: {
564
+ type: string;
565
+ };
566
+ description: string;
567
+ };
568
+ };
569
+ required: string[];
570
+ additionalProperties: boolean;
571
+ };
572
+ };
573
+ export declare const TASK_ACTIONS: readonly ["create", "update", "link", "start", "close", "reopen", "gate", "clear", "pour", "formulas", "show", "list", "ready"];
574
+ export type TaskAction = typeof TASK_ACTIONS[number];
575
+ export declare const TASK_PAST: Record<string, string>;
576
+ export declare const TASK_FIELDS: Record<TaskAction, string[]>;
577
+ /** The agent a session's team has as main (ALPD §42); `main` outside a team. */
578
+ export declare const mainOf: (mapping: Pick<ResolvedSession, "team">) => string;
579
+ /** A member's role in the session's team; without a team, the built-in agents' roles by name. */
580
+ export declare const roleOf: (mapping: Pick<ResolvedSession, "team">, agent: string) => string | undefined;
581
+ /** Whether an agent is read-only in this session's team: a built-in advisor, or a member serving as advisor or reviewer. */
582
+ export declare const readOnlyMember: (mapping: Pick<ResolvedSession, "team">, agent: string) => boolean;
583
+ /** What each role may do with the task graph: main changes it, the others read it. */
584
+ export declare function taskActions(mapping: Pick<ResolvedSession, 'agent' | 'team'>, parentAgent?: string, role?: 'supervisor'): TaskAction[];
585
+ export declare const taskLinks: (description: string) => {
586
+ type: string;
587
+ description: string;
588
+ properties: {
589
+ blockedBy: {
590
+ type: string;
591
+ items: {
592
+ type: string;
593
+ };
594
+ description: string;
595
+ };
596
+ related: {
597
+ type: string;
598
+ items: {
599
+ type: string;
600
+ };
601
+ };
602
+ parent: {
603
+ type: string;
604
+ description: string;
605
+ };
606
+ };
607
+ additionalProperties: boolean;
608
+ };
609
+ export declare function taskTool(actions: TaskAction[]): {
610
+ type: string;
611
+ name: string;
612
+ description: string;
613
+ inputSchema: {
614
+ type: string;
615
+ properties: {
616
+ limit?: {
617
+ type: string;
618
+ description: string;
619
+ } | undefined;
620
+ status?: {
621
+ type: string;
622
+ enum: import("@anhlp/alp-core/tasks").TaskStatus[];
623
+ description: string;
624
+ } | undefined;
625
+ label?: {
626
+ type: string;
627
+ description: string;
628
+ } | undefined;
629
+ title?: {
630
+ type: string;
631
+ description: string;
632
+ } | undefined;
633
+ description?: {
634
+ type: string;
635
+ description: string;
636
+ } | undefined;
637
+ type?: {
638
+ type: string;
639
+ enum: import("@anhlp/alp-core/tasks").TaskType[];
640
+ } | undefined;
641
+ priority?: {
642
+ type: string;
643
+ description: string;
644
+ } | undefined;
645
+ labels?: {
646
+ type: string;
647
+ items: {
648
+ type: string;
649
+ };
650
+ } | undefined;
651
+ paths?: {
652
+ type: string;
653
+ items: {
654
+ type: string;
655
+ };
656
+ description: string;
657
+ } | undefined;
658
+ parent?: {
659
+ type: string;
660
+ description: string;
661
+ } | undefined;
662
+ blockedBy?: {
663
+ type: string;
664
+ items: {
665
+ type: string;
666
+ };
667
+ description: string;
668
+ } | undefined;
669
+ discoveredFrom?: {
670
+ type: string;
671
+ description: string;
672
+ } | undefined;
673
+ add?: {
674
+ type: string;
675
+ description: string;
676
+ properties: {
677
+ blockedBy: {
678
+ type: string;
679
+ items: {
680
+ type: string;
681
+ };
682
+ description: string;
683
+ };
684
+ related: {
685
+ type: string;
686
+ items: {
687
+ type: string;
688
+ };
689
+ };
690
+ parent: {
691
+ type: string;
692
+ description: string;
693
+ };
694
+ };
695
+ additionalProperties: boolean;
696
+ } | undefined;
697
+ remove?: {
698
+ type: string;
699
+ description: string;
700
+ properties: {
701
+ blockedBy: {
702
+ type: string;
703
+ items: {
704
+ type: string;
705
+ };
706
+ description: string;
707
+ };
708
+ related: {
709
+ type: string;
710
+ items: {
711
+ type: string;
712
+ };
713
+ };
714
+ parent: {
715
+ type: string;
716
+ description: string;
717
+ };
718
+ };
719
+ additionalProperties: boolean;
720
+ } | undefined;
721
+ reason?: {
722
+ type: string;
723
+ enum: import("@anhlp/alp-core/tasks").CloseReason[];
724
+ description: string;
725
+ } | undefined;
726
+ kind?: {
727
+ type: string;
728
+ enum: import("@anhlp/alp-core/tasks").GateKind[];
729
+ description: string;
730
+ } | undefined;
731
+ until?: {
732
+ type: string;
733
+ description: string;
734
+ } | undefined;
735
+ ref?: {
736
+ type: string;
737
+ description: string;
738
+ } | undefined;
739
+ options?: {
740
+ type: string;
741
+ items: {
742
+ type: string;
743
+ maxLength: number;
744
+ };
745
+ maxItems: number;
746
+ description: string;
747
+ } | undefined;
748
+ gate?: {
749
+ type: string;
750
+ description: string;
751
+ } | undefined;
752
+ formula?: {
753
+ type: string;
754
+ description: string;
755
+ } | undefined;
756
+ vars?: {
757
+ type: string;
758
+ additionalProperties: {
759
+ type: string;
760
+ maxLength: number;
761
+ };
762
+ description: string;
763
+ } | undefined;
764
+ summary?: {
765
+ type: string;
766
+ description: string;
767
+ } | undefined;
768
+ unverified?: {
769
+ type: string;
770
+ description: string;
771
+ } | undefined;
772
+ note?: {
773
+ type: string;
774
+ description: string;
775
+ } | undefined;
776
+ action: {
777
+ type: string;
778
+ enum: ("link" | "close" | "list" | "create" | "update" | "start" | "reopen" | "gate" | "clear" | "pour" | "formulas" | "show" | "ready")[];
779
+ };
780
+ id: {
781
+ type: string;
782
+ description: string;
783
+ };
784
+ };
785
+ required: string[];
786
+ additionalProperties: boolean;
787
+ };
788
+ };
789
+ /** The task an assignment takes, as the start of its brief. */
790
+ export declare function taskBrief(task: Task, writing: boolean): string;
791
+ /** Only the project's main root may schedule a future continuation. */
792
+ export declare const SCHEDULE_TOOL: {
793
+ type: string;
794
+ name: string;
795
+ description: string;
796
+ inputSchema: {
797
+ type: string;
798
+ properties: {
799
+ action: {
800
+ type: string;
801
+ enum: string[];
802
+ };
803
+ dueAt: {
804
+ type: string;
805
+ description: string;
806
+ };
807
+ prompt: {
808
+ type: string;
809
+ description: string;
810
+ };
811
+ requestId: {
812
+ type: string;
813
+ description: string;
814
+ };
815
+ id: {
816
+ type: string;
817
+ description: string;
818
+ };
819
+ status: {
820
+ type: string;
821
+ enum: string[];
822
+ };
823
+ };
824
+ required: string[];
825
+ additionalProperties: boolean;
826
+ };
827
+ };