opencode-swarm-plugin 0.45.0 → 0.45.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.
- package/README.md +68 -0
- package/bin/swarm.ts +156 -29
- package/dist/bin/swarm.js +125980 -0
- package/dist/cass-tools.d.ts +75 -0
- package/dist/cass-tools.d.ts.map +1 -0
- package/dist/eval-capture.d.ts +6 -6
- package/dist/hive.d.ts +20 -20
- package/dist/hive.d.ts.map +1 -1
- package/dist/hive.js +79 -0
- package/dist/index.d.ts +91 -10
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +512 -35
- package/dist/memory-tools.d.ts.map +1 -1
- package/dist/plugin.js +511 -35
- package/dist/schemas/cell-events.d.ts +4 -4
- package/dist/schemas/cell.d.ts +10 -10
- package/dist/schemas/swarm-context.d.ts +2 -2
- package/dist/skills.d.ts +8 -8
- package/dist/skills.d.ts.map +1 -1
- package/dist/swarm-orchestrate.d.ts.map +1 -1
- package/dist/swarm-prompts.js +242 -29
- package/examples/plugin-wrapper-template.ts +419 -37
- package/package.json +3 -3
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CASS Tools - Cross-Agent Session Search
|
|
3
|
+
*
|
|
4
|
+
* Provides tools for searching across AI coding agent histories.
|
|
5
|
+
* Wraps the external `cass` CLI from:
|
|
6
|
+
* https://github.com/Dicklesworthstone/coding_agent_session_search
|
|
7
|
+
*
|
|
8
|
+
* Events emitted:
|
|
9
|
+
* - cass_searched: When a search is performed
|
|
10
|
+
* - cass_viewed: When a session is viewed
|
|
11
|
+
* - cass_indexed: When the index is built/rebuilt
|
|
12
|
+
*/
|
|
13
|
+
export declare const cassTools: {
|
|
14
|
+
cass_search: {
|
|
15
|
+
description: string;
|
|
16
|
+
args: {
|
|
17
|
+
query: import("zod").ZodString;
|
|
18
|
+
agent: import("zod").ZodOptional<import("zod").ZodString>;
|
|
19
|
+
days: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
20
|
+
limit: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
21
|
+
fields: import("zod").ZodOptional<import("zod").ZodString>;
|
|
22
|
+
};
|
|
23
|
+
execute(args: {
|
|
24
|
+
query: string;
|
|
25
|
+
agent?: string | undefined;
|
|
26
|
+
days?: number | undefined;
|
|
27
|
+
limit?: number | undefined;
|
|
28
|
+
fields?: string | undefined;
|
|
29
|
+
}, context: import("@opencode-ai/plugin").ToolContext): Promise<string>;
|
|
30
|
+
};
|
|
31
|
+
cass_view: {
|
|
32
|
+
description: string;
|
|
33
|
+
args: {
|
|
34
|
+
path: import("zod").ZodString;
|
|
35
|
+
line: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
36
|
+
};
|
|
37
|
+
execute(args: {
|
|
38
|
+
path: string;
|
|
39
|
+
line?: number | undefined;
|
|
40
|
+
}, context: import("@opencode-ai/plugin").ToolContext): Promise<string>;
|
|
41
|
+
};
|
|
42
|
+
cass_expand: {
|
|
43
|
+
description: string;
|
|
44
|
+
args: {
|
|
45
|
+
path: import("zod").ZodString;
|
|
46
|
+
line: import("zod").ZodNumber;
|
|
47
|
+
context: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
48
|
+
};
|
|
49
|
+
execute(args: {
|
|
50
|
+
path: string;
|
|
51
|
+
line: number;
|
|
52
|
+
context?: number | undefined;
|
|
53
|
+
}, context: import("@opencode-ai/plugin").ToolContext): Promise<string>;
|
|
54
|
+
};
|
|
55
|
+
cass_health: {
|
|
56
|
+
description: string;
|
|
57
|
+
args: {};
|
|
58
|
+
execute(args: Record<string, never>, context: import("@opencode-ai/plugin").ToolContext): Promise<string>;
|
|
59
|
+
};
|
|
60
|
+
cass_index: {
|
|
61
|
+
description: string;
|
|
62
|
+
args: {
|
|
63
|
+
full: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
64
|
+
};
|
|
65
|
+
execute(args: {
|
|
66
|
+
full?: boolean | undefined;
|
|
67
|
+
}, context: import("@opencode-ai/plugin").ToolContext): Promise<string>;
|
|
68
|
+
};
|
|
69
|
+
cass_stats: {
|
|
70
|
+
description: string;
|
|
71
|
+
args: {};
|
|
72
|
+
execute(args: Record<string, never>, context: import("@opencode-ai/plugin").ToolContext): Promise<string>;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
//# sourceMappingURL=cass-tools.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cass-tools.d.ts","sourceRoot":"","sources":["../src/cass-tools.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAiaH,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOrB,CAAC"}
|
package/dist/eval-capture.d.ts
CHANGED
|
@@ -78,12 +78,12 @@ export declare const CoordinatorEventSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
78
78
|
timestamp: z.ZodString;
|
|
79
79
|
event_type: z.ZodLiteral<"DECISION">;
|
|
80
80
|
decision_type: z.ZodEnum<{
|
|
81
|
-
strategy_selected: "strategy_selected";
|
|
82
81
|
worker_spawned: "worker_spawned";
|
|
83
82
|
review_completed: "review_completed";
|
|
83
|
+
skill_loaded: "skill_loaded";
|
|
84
|
+
strategy_selected: "strategy_selected";
|
|
84
85
|
decomposition_complete: "decomposition_complete";
|
|
85
86
|
researcher_spawned: "researcher_spawned";
|
|
86
|
-
skill_loaded: "skill_loaded";
|
|
87
87
|
inbox_checked: "inbox_checked";
|
|
88
88
|
blocker_resolved: "blocker_resolved";
|
|
89
89
|
scope_change_approved: "scope_change_approved";
|
|
@@ -121,9 +121,9 @@ export declare const CoordinatorEventSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
121
121
|
timestamp: z.ZodString;
|
|
122
122
|
event_type: z.ZodLiteral<"COMPACTION">;
|
|
123
123
|
compaction_type: z.ZodEnum<{
|
|
124
|
+
context_injected: "context_injected";
|
|
124
125
|
detection_complete: "detection_complete";
|
|
125
126
|
prompt_generated: "prompt_generated";
|
|
126
|
-
context_injected: "context_injected";
|
|
127
127
|
resumption_started: "resumption_started";
|
|
128
128
|
tool_call_tracked: "tool_call_tracked";
|
|
129
129
|
}>;
|
|
@@ -144,12 +144,12 @@ export declare const CoordinatorSessionSchema: z.ZodObject<{
|
|
|
144
144
|
timestamp: z.ZodString;
|
|
145
145
|
event_type: z.ZodLiteral<"DECISION">;
|
|
146
146
|
decision_type: z.ZodEnum<{
|
|
147
|
-
strategy_selected: "strategy_selected";
|
|
148
147
|
worker_spawned: "worker_spawned";
|
|
149
148
|
review_completed: "review_completed";
|
|
149
|
+
skill_loaded: "skill_loaded";
|
|
150
|
+
strategy_selected: "strategy_selected";
|
|
150
151
|
decomposition_complete: "decomposition_complete";
|
|
151
152
|
researcher_spawned: "researcher_spawned";
|
|
152
|
-
skill_loaded: "skill_loaded";
|
|
153
153
|
inbox_checked: "inbox_checked";
|
|
154
154
|
blocker_resolved: "blocker_resolved";
|
|
155
155
|
scope_change_approved: "scope_change_approved";
|
|
@@ -187,9 +187,9 @@ export declare const CoordinatorSessionSchema: z.ZodObject<{
|
|
|
187
187
|
timestamp: z.ZodString;
|
|
188
188
|
event_type: z.ZodLiteral<"COMPACTION">;
|
|
189
189
|
compaction_type: z.ZodEnum<{
|
|
190
|
+
context_injected: "context_injected";
|
|
190
191
|
detection_complete: "detection_complete";
|
|
191
192
|
prompt_generated: "prompt_generated";
|
|
192
|
-
context_injected: "context_injected";
|
|
193
193
|
resumption_started: "resumption_started";
|
|
194
194
|
tool_call_tracked: "tool_call_tracked";
|
|
195
195
|
}>;
|
package/dist/hive.d.ts
CHANGED
|
@@ -131,9 +131,9 @@ export declare const hive_create: {
|
|
|
131
131
|
args: {
|
|
132
132
|
title: z.ZodString;
|
|
133
133
|
type: z.ZodOptional<z.ZodEnum<{
|
|
134
|
+
task: "task";
|
|
134
135
|
bug: "bug";
|
|
135
136
|
feature: "feature";
|
|
136
|
-
task: "task";
|
|
137
137
|
epic: "epic";
|
|
138
138
|
chore: "chore";
|
|
139
139
|
}>>;
|
|
@@ -143,7 +143,7 @@ export declare const hive_create: {
|
|
|
143
143
|
};
|
|
144
144
|
execute(args: {
|
|
145
145
|
title: string;
|
|
146
|
-
type?: "
|
|
146
|
+
type?: "task" | "bug" | "feature" | "epic" | "chore" | undefined;
|
|
147
147
|
priority?: number | undefined;
|
|
148
148
|
description?: string | undefined;
|
|
149
149
|
parent_id?: string | undefined;
|
|
@@ -210,9 +210,9 @@ export declare const hive_query: {
|
|
|
210
210
|
closed: "closed";
|
|
211
211
|
}>>;
|
|
212
212
|
type: z.ZodOptional<z.ZodEnum<{
|
|
213
|
+
task: "task";
|
|
213
214
|
bug: "bug";
|
|
214
215
|
feature: "feature";
|
|
215
|
-
task: "task";
|
|
216
216
|
epic: "epic";
|
|
217
217
|
chore: "chore";
|
|
218
218
|
}>>;
|
|
@@ -222,7 +222,7 @@ export declare const hive_query: {
|
|
|
222
222
|
};
|
|
223
223
|
execute(args: {
|
|
224
224
|
status?: "open" | "in_progress" | "blocked" | "closed" | undefined;
|
|
225
|
-
type?: "
|
|
225
|
+
type?: "task" | "bug" | "feature" | "epic" | "chore" | undefined;
|
|
226
226
|
ready?: boolean | undefined;
|
|
227
227
|
parent_id?: string | undefined;
|
|
228
228
|
limit?: number | undefined;
|
|
@@ -299,9 +299,9 @@ export declare const hive_cells: {
|
|
|
299
299
|
closed: "closed";
|
|
300
300
|
}>>;
|
|
301
301
|
type: z.ZodOptional<z.ZodEnum<{
|
|
302
|
+
task: "task";
|
|
302
303
|
bug: "bug";
|
|
303
304
|
feature: "feature";
|
|
304
|
-
task: "task";
|
|
305
305
|
epic: "epic";
|
|
306
306
|
chore: "chore";
|
|
307
307
|
}>>;
|
|
@@ -312,7 +312,7 @@ export declare const hive_cells: {
|
|
|
312
312
|
execute(args: {
|
|
313
313
|
id?: string | undefined;
|
|
314
314
|
status?: "open" | "in_progress" | "blocked" | "closed" | undefined;
|
|
315
|
-
type?: "
|
|
315
|
+
type?: "task" | "bug" | "feature" | "epic" | "chore" | undefined;
|
|
316
316
|
parent_id?: string | undefined;
|
|
317
317
|
ready?: boolean | undefined;
|
|
318
318
|
limit?: number | undefined;
|
|
@@ -350,9 +350,9 @@ export declare const hiveTools: {
|
|
|
350
350
|
args: {
|
|
351
351
|
title: z.ZodString;
|
|
352
352
|
type: z.ZodOptional<z.ZodEnum<{
|
|
353
|
+
task: "task";
|
|
353
354
|
bug: "bug";
|
|
354
355
|
feature: "feature";
|
|
355
|
-
task: "task";
|
|
356
356
|
epic: "epic";
|
|
357
357
|
chore: "chore";
|
|
358
358
|
}>>;
|
|
@@ -362,7 +362,7 @@ export declare const hiveTools: {
|
|
|
362
362
|
};
|
|
363
363
|
execute(args: {
|
|
364
364
|
title: string;
|
|
365
|
-
type?: "
|
|
365
|
+
type?: "task" | "bug" | "feature" | "epic" | "chore" | undefined;
|
|
366
366
|
priority?: number | undefined;
|
|
367
367
|
description?: string | undefined;
|
|
368
368
|
parent_id?: string | undefined;
|
|
@@ -423,9 +423,9 @@ export declare const hiveTools: {
|
|
|
423
423
|
closed: "closed";
|
|
424
424
|
}>>;
|
|
425
425
|
type: z.ZodOptional<z.ZodEnum<{
|
|
426
|
+
task: "task";
|
|
426
427
|
bug: "bug";
|
|
427
428
|
feature: "feature";
|
|
428
|
-
task: "task";
|
|
429
429
|
epic: "epic";
|
|
430
430
|
chore: "chore";
|
|
431
431
|
}>>;
|
|
@@ -435,7 +435,7 @@ export declare const hiveTools: {
|
|
|
435
435
|
};
|
|
436
436
|
execute(args: {
|
|
437
437
|
status?: "open" | "in_progress" | "blocked" | "closed" | undefined;
|
|
438
|
-
type?: "
|
|
438
|
+
type?: "task" | "bug" | "feature" | "epic" | "chore" | undefined;
|
|
439
439
|
ready?: boolean | undefined;
|
|
440
440
|
parent_id?: string | undefined;
|
|
441
441
|
limit?: number | undefined;
|
|
@@ -497,9 +497,9 @@ export declare const hiveTools: {
|
|
|
497
497
|
closed: "closed";
|
|
498
498
|
}>>;
|
|
499
499
|
type: z.ZodOptional<z.ZodEnum<{
|
|
500
|
+
task: "task";
|
|
500
501
|
bug: "bug";
|
|
501
502
|
feature: "feature";
|
|
502
|
-
task: "task";
|
|
503
503
|
epic: "epic";
|
|
504
504
|
chore: "chore";
|
|
505
505
|
}>>;
|
|
@@ -510,7 +510,7 @@ export declare const hiveTools: {
|
|
|
510
510
|
execute(args: {
|
|
511
511
|
id?: string | undefined;
|
|
512
512
|
status?: "open" | "in_progress" | "blocked" | "closed" | undefined;
|
|
513
|
-
type?: "
|
|
513
|
+
type?: "task" | "bug" | "feature" | "epic" | "chore" | undefined;
|
|
514
514
|
parent_id?: string | undefined;
|
|
515
515
|
ready?: boolean | undefined;
|
|
516
516
|
limit?: number | undefined;
|
|
@@ -545,9 +545,9 @@ export declare const beads_create: {
|
|
|
545
545
|
args: {
|
|
546
546
|
title: z.ZodString;
|
|
547
547
|
type: z.ZodOptional<z.ZodEnum<{
|
|
548
|
+
task: "task";
|
|
548
549
|
bug: "bug";
|
|
549
550
|
feature: "feature";
|
|
550
|
-
task: "task";
|
|
551
551
|
epic: "epic";
|
|
552
552
|
chore: "chore";
|
|
553
553
|
}>>;
|
|
@@ -557,7 +557,7 @@ export declare const beads_create: {
|
|
|
557
557
|
};
|
|
558
558
|
execute(args: {
|
|
559
559
|
title: string;
|
|
560
|
-
type?: "
|
|
560
|
+
type?: "task" | "bug" | "feature" | "epic" | "chore" | undefined;
|
|
561
561
|
priority?: number | undefined;
|
|
562
562
|
description?: string | undefined;
|
|
563
563
|
parent_id?: string | undefined;
|
|
@@ -624,9 +624,9 @@ export declare const beads_query: {
|
|
|
624
624
|
closed: "closed";
|
|
625
625
|
}>>;
|
|
626
626
|
type: z.ZodOptional<z.ZodEnum<{
|
|
627
|
+
task: "task";
|
|
627
628
|
bug: "bug";
|
|
628
629
|
feature: "feature";
|
|
629
|
-
task: "task";
|
|
630
630
|
epic: "epic";
|
|
631
631
|
chore: "chore";
|
|
632
632
|
}>>;
|
|
@@ -636,7 +636,7 @@ export declare const beads_query: {
|
|
|
636
636
|
};
|
|
637
637
|
execute(args: {
|
|
638
638
|
status?: "open" | "in_progress" | "blocked" | "closed" | undefined;
|
|
639
|
-
type?: "
|
|
639
|
+
type?: "task" | "bug" | "feature" | "epic" | "chore" | undefined;
|
|
640
640
|
ready?: boolean | undefined;
|
|
641
641
|
parent_id?: string | undefined;
|
|
642
642
|
limit?: number | undefined;
|
|
@@ -734,9 +734,9 @@ export declare const beadsTools: {
|
|
|
734
734
|
args: {
|
|
735
735
|
title: z.ZodString;
|
|
736
736
|
type: z.ZodOptional<z.ZodEnum<{
|
|
737
|
+
task: "task";
|
|
737
738
|
bug: "bug";
|
|
738
739
|
feature: "feature";
|
|
739
|
-
task: "task";
|
|
740
740
|
epic: "epic";
|
|
741
741
|
chore: "chore";
|
|
742
742
|
}>>;
|
|
@@ -746,7 +746,7 @@ export declare const beadsTools: {
|
|
|
746
746
|
};
|
|
747
747
|
execute(args: {
|
|
748
748
|
title: string;
|
|
749
|
-
type?: "
|
|
749
|
+
type?: "task" | "bug" | "feature" | "epic" | "chore" | undefined;
|
|
750
750
|
priority?: number | undefined;
|
|
751
751
|
description?: string | undefined;
|
|
752
752
|
parent_id?: string | undefined;
|
|
@@ -807,9 +807,9 @@ export declare const beadsTools: {
|
|
|
807
807
|
closed: "closed";
|
|
808
808
|
}>>;
|
|
809
809
|
type: z.ZodOptional<z.ZodEnum<{
|
|
810
|
+
task: "task";
|
|
810
811
|
bug: "bug";
|
|
811
812
|
feature: "feature";
|
|
812
|
-
task: "task";
|
|
813
813
|
epic: "epic";
|
|
814
814
|
chore: "chore";
|
|
815
815
|
}>>;
|
|
@@ -819,7 +819,7 @@ export declare const beadsTools: {
|
|
|
819
819
|
};
|
|
820
820
|
execute(args: {
|
|
821
821
|
status?: "open" | "in_progress" | "blocked" | "closed" | undefined;
|
|
822
|
-
type?: "
|
|
822
|
+
type?: "task" | "bug" | "feature" | "epic" | "chore" | undefined;
|
|
823
823
|
ready?: boolean | undefined;
|
|
824
824
|
parent_id?: string | undefined;
|
|
825
825
|
limit?: number | undefined;
|
package/dist/hive.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hive.d.ts","sourceRoot":"","sources":["../src/hive.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAKL,KAAK,WAAW,EAKjB,MAAM,YAAY,CAAC;AAepB;;;;;GAKG;AACH,wBAAgB,uBAAuB,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAE/D;AAED;;;GAGG;AACH,wBAAgB,uBAAuB,IAAI,MAAM,CAEhD;AAGD,eAAO,MAAM,wBAAwB,gCAA0B,CAAC;AAChE,eAAO,MAAM,wBAAwB,gCAA0B,CAAC;AAuChE;;GAEG;AACH,qBAAa,SAAU,SAAQ,KAAK;aAGhB,OAAO,EAAE,MAAM;aACf,QAAQ,CAAC,EAAE,MAAM;aACjB,MAAM,CAAC,EAAE,MAAM;gBAH/B,OAAO,EAAE,MAAM,EACC,OAAO,EAAE,MAAM,EACf,QAAQ,CAAC,EAAE,MAAM,YAAA,EACjB,MAAM,CAAC,EAAE,MAAM,YAAA;CAKlC;AAGD,eAAO,MAAM,SAAS,kBAAY,CAAC;AAEnC;;GAEG;AACH,qBAAa,mBAAoB,SAAQ,KAAK;aAG1B,QAAQ,EAAE,CAAC,CAAC,QAAQ;gBADpC,OAAO,EAAE,MAAM,EACC,QAAQ,EAAE,CAAC,CAAC,QAAQ;CAKvC;AAGD,eAAO,MAAM,mBAAmB,4BAAsB,CAAC;AAMvD;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,kCAAkC;IAClC,MAAM,EAAE,OAAO,CAAC;IAChB,4CAA4C;IAC5C,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWrB,CAAC;AAkCF;;GAEG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;CAMvB,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAM5B,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMtB,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;CAMvB,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;CAMtB,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,WAAW;;;;;;;;CAMtB,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,WAAW;;;;CAMtB,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,UAAU;;;;;;;;CAMrB,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;CAM5B,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAUtB,CAAC"}
|
package/dist/hive.js
CHANGED
|
@@ -14104,6 +14104,20 @@ var hive_create = tool({
|
|
|
14104
14104
|
parent_id: validated.parent_id
|
|
14105
14105
|
});
|
|
14106
14106
|
await adapter.markDirty(projectKey, cell.id);
|
|
14107
|
+
try {
|
|
14108
|
+
const event = createEvent("cell_created", {
|
|
14109
|
+
project_key: projectKey,
|
|
14110
|
+
cell_id: cell.id,
|
|
14111
|
+
title: validated.title,
|
|
14112
|
+
description: validated.description,
|
|
14113
|
+
issue_type: validated.type || "task",
|
|
14114
|
+
priority: validated.priority ?? 2,
|
|
14115
|
+
parent_id: validated.parent_id
|
|
14116
|
+
});
|
|
14117
|
+
await appendEvent(event, projectKey);
|
|
14118
|
+
} catch (error45) {
|
|
14119
|
+
console.warn("[hive_create] Failed to emit cell_created event:", error45);
|
|
14120
|
+
}
|
|
14107
14121
|
const formatted = formatCellForOutput(cell);
|
|
14108
14122
|
return JSON.stringify(formatted, null, 2);
|
|
14109
14123
|
} catch (error45) {
|
|
@@ -14163,6 +14177,19 @@ var hive_create_epic = tool({
|
|
|
14163
14177
|
subtasks: created.slice(1).map((c) => formatCellForOutput(c))
|
|
14164
14178
|
};
|
|
14165
14179
|
const effectiveProjectKey = args.project_key || projectKey;
|
|
14180
|
+
try {
|
|
14181
|
+
const epicCreatedEvent = createEvent("epic_created", {
|
|
14182
|
+
project_key: effectiveProjectKey,
|
|
14183
|
+
epic_id: epic.id,
|
|
14184
|
+
title: validated.epic_title,
|
|
14185
|
+
description: validated.epic_description,
|
|
14186
|
+
subtask_count: validated.subtasks.length,
|
|
14187
|
+
subtask_ids: created.slice(1).map((c) => c.id)
|
|
14188
|
+
});
|
|
14189
|
+
await appendEvent(epicCreatedEvent, effectiveProjectKey);
|
|
14190
|
+
} catch (error45) {
|
|
14191
|
+
console.warn("[hive_create_epic] Failed to emit epic_created event:", error45);
|
|
14192
|
+
}
|
|
14166
14193
|
try {
|
|
14167
14194
|
const event = createEvent("decomposition_generated", {
|
|
14168
14195
|
project_key: effectiveProjectKey,
|
|
@@ -14327,6 +14354,23 @@ var hive_update = tool({
|
|
|
14327
14354
|
cell = existingCell;
|
|
14328
14355
|
}
|
|
14329
14356
|
await adapter.markDirty(projectKey, cellId);
|
|
14357
|
+
try {
|
|
14358
|
+
const fieldsChanged = [];
|
|
14359
|
+
if (validated.status)
|
|
14360
|
+
fieldsChanged.push("status");
|
|
14361
|
+
if (validated.description !== undefined)
|
|
14362
|
+
fieldsChanged.push("description");
|
|
14363
|
+
if (validated.priority !== undefined)
|
|
14364
|
+
fieldsChanged.push("priority");
|
|
14365
|
+
const event = createEvent("cell_updated", {
|
|
14366
|
+
project_key: projectKey,
|
|
14367
|
+
cell_id: cellId,
|
|
14368
|
+
fields_changed: fieldsChanged
|
|
14369
|
+
});
|
|
14370
|
+
await appendEvent(event, projectKey);
|
|
14371
|
+
} catch (error45) {
|
|
14372
|
+
console.warn("[hive_update] Failed to emit cell_updated event:", error45);
|
|
14373
|
+
}
|
|
14330
14374
|
const formatted = formatCellForOutput(cell);
|
|
14331
14375
|
return JSON.stringify(formatted, null, 2);
|
|
14332
14376
|
} catch (error45) {
|
|
@@ -14443,6 +14487,16 @@ var hive_close = tool({
|
|
|
14443
14487
|
console.warn("[hive_close] Failed to emit SwarmCompletedEvent:", error45);
|
|
14444
14488
|
}
|
|
14445
14489
|
}
|
|
14490
|
+
try {
|
|
14491
|
+
const event = createEvent("cell_closed", {
|
|
14492
|
+
project_key: projectKey,
|
|
14493
|
+
cell_id: cellId,
|
|
14494
|
+
reason: validated.reason
|
|
14495
|
+
});
|
|
14496
|
+
await appendEvent(event, projectKey);
|
|
14497
|
+
} catch (error45) {
|
|
14498
|
+
console.warn("[hive_close] Failed to emit cell_closed event:", error45);
|
|
14499
|
+
}
|
|
14446
14500
|
return `Closed ${cell.id}: ${validated.reason}`;
|
|
14447
14501
|
} catch (error45) {
|
|
14448
14502
|
const message = error45 instanceof Error ? error45.message : String(error45);
|
|
@@ -14468,6 +14522,17 @@ var hive_start = tool({
|
|
|
14468
14522
|
const cellId = await resolvePartialId(adapter, projectKey, args.id) || args.id;
|
|
14469
14523
|
const cell = await adapter.changeCellStatus(projectKey, cellId, "in_progress");
|
|
14470
14524
|
await adapter.markDirty(projectKey, cellId);
|
|
14525
|
+
try {
|
|
14526
|
+
const event = createEvent("cell_status_changed", {
|
|
14527
|
+
project_key: projectKey,
|
|
14528
|
+
cell_id: cellId,
|
|
14529
|
+
old_status: "open",
|
|
14530
|
+
new_status: "in_progress"
|
|
14531
|
+
});
|
|
14532
|
+
await appendEvent(event, projectKey);
|
|
14533
|
+
} catch (error45) {
|
|
14534
|
+
console.warn("[hive_start] Failed to emit cell_status_changed event:", error45);
|
|
14535
|
+
}
|
|
14471
14536
|
return `Started: ${cell.id}`;
|
|
14472
14537
|
} catch (error45) {
|
|
14473
14538
|
const message = error45 instanceof Error ? error45.message : String(error45);
|
|
@@ -14656,11 +14721,25 @@ var hive_sync = tool({
|
|
|
14656
14721
|
}
|
|
14657
14722
|
const remoteCheckResult = await runGitCommand(["remote"]);
|
|
14658
14723
|
const hasRemote = remoteCheckResult.stdout.trim() !== "";
|
|
14724
|
+
let pushSuccess = false;
|
|
14659
14725
|
if (hasRemote) {
|
|
14660
14726
|
const pushResult = await withTimeout(runGitCommand(["push"]), TIMEOUT_MS, "git push");
|
|
14661
14727
|
if (pushResult.exitCode !== 0) {
|
|
14662
14728
|
throw new HiveError(`Failed to push: ${pushResult.stderr}`, "git push", pushResult.exitCode);
|
|
14663
14729
|
}
|
|
14730
|
+
pushSuccess = true;
|
|
14731
|
+
}
|
|
14732
|
+
try {
|
|
14733
|
+
const event = createEvent("hive_synced", {
|
|
14734
|
+
project_key: projectKey,
|
|
14735
|
+
cells_synced: flushResult.cellsExported,
|
|
14736
|
+
push_success: pushSuccess
|
|
14737
|
+
});
|
|
14738
|
+
await appendEvent(event, projectKey);
|
|
14739
|
+
} catch (error45) {
|
|
14740
|
+
console.warn("[hive_sync] Failed to emit hive_synced event:", error45);
|
|
14741
|
+
}
|
|
14742
|
+
if (hasRemote) {
|
|
14664
14743
|
return "Hive synced and pushed successfully";
|
|
14665
14744
|
} else {
|
|
14666
14745
|
return "Hive synced successfully (no remote configured)";
|
package/dist/index.d.ts
CHANGED
|
@@ -140,6 +140,66 @@ export { swarmTools, SwarmError, DecompositionError, formatSubtaskPrompt, format
|
|
|
140
140
|
* Note: hiveTools includes both hive_* and beads_* (legacy aliases)
|
|
141
141
|
*/
|
|
142
142
|
export declare const allTools: {
|
|
143
|
+
readonly cass_search: {
|
|
144
|
+
description: string;
|
|
145
|
+
args: {
|
|
146
|
+
query: import("zod").ZodString;
|
|
147
|
+
agent: import("zod").ZodOptional<import("zod").ZodString>;
|
|
148
|
+
days: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
149
|
+
limit: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
150
|
+
fields: import("zod").ZodOptional<import("zod").ZodString>;
|
|
151
|
+
};
|
|
152
|
+
execute(args: {
|
|
153
|
+
query: string;
|
|
154
|
+
agent?: string | undefined;
|
|
155
|
+
days?: number | undefined;
|
|
156
|
+
limit?: number | undefined;
|
|
157
|
+
fields?: string | undefined;
|
|
158
|
+
}, context: import("@opencode-ai/plugin").ToolContext): Promise<string>;
|
|
159
|
+
};
|
|
160
|
+
readonly cass_view: {
|
|
161
|
+
description: string;
|
|
162
|
+
args: {
|
|
163
|
+
path: import("zod").ZodString;
|
|
164
|
+
line: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
165
|
+
};
|
|
166
|
+
execute(args: {
|
|
167
|
+
path: string;
|
|
168
|
+
line?: number | undefined;
|
|
169
|
+
}, context: import("@opencode-ai/plugin").ToolContext): Promise<string>;
|
|
170
|
+
};
|
|
171
|
+
readonly cass_expand: {
|
|
172
|
+
description: string;
|
|
173
|
+
args: {
|
|
174
|
+
path: import("zod").ZodString;
|
|
175
|
+
line: import("zod").ZodNumber;
|
|
176
|
+
context: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
177
|
+
};
|
|
178
|
+
execute(args: {
|
|
179
|
+
path: string;
|
|
180
|
+
line: number;
|
|
181
|
+
context?: number | undefined;
|
|
182
|
+
}, context: import("@opencode-ai/plugin").ToolContext): Promise<string>;
|
|
183
|
+
};
|
|
184
|
+
readonly cass_health: {
|
|
185
|
+
description: string;
|
|
186
|
+
args: {};
|
|
187
|
+
execute(args: Record<string, never>, context: import("@opencode-ai/plugin").ToolContext): Promise<string>;
|
|
188
|
+
};
|
|
189
|
+
readonly cass_index: {
|
|
190
|
+
description: string;
|
|
191
|
+
args: {
|
|
192
|
+
full: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
193
|
+
};
|
|
194
|
+
execute(args: {
|
|
195
|
+
full?: boolean | undefined;
|
|
196
|
+
}, context: import("@opencode-ai/plugin").ToolContext): Promise<string>;
|
|
197
|
+
};
|
|
198
|
+
readonly cass_stats: {
|
|
199
|
+
description: string;
|
|
200
|
+
args: {};
|
|
201
|
+
execute(args: Record<string, never>, context: import("@opencode-ai/plugin").ToolContext): Promise<string>;
|
|
202
|
+
};
|
|
143
203
|
readonly contributor_lookup: {
|
|
144
204
|
description: string;
|
|
145
205
|
args: {
|
|
@@ -491,10 +551,10 @@ export declare const allTools: {
|
|
|
491
551
|
tags: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
492
552
|
tools: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
493
553
|
directory: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
554
|
+
global: "global";
|
|
494
555
|
".opencode/skills": ".opencode/skills";
|
|
495
556
|
".claude/skills": ".claude/skills";
|
|
496
557
|
skills: "skills";
|
|
497
|
-
global: "global";
|
|
498
558
|
"global-claude": "global-claude";
|
|
499
559
|
}>>;
|
|
500
560
|
};
|
|
@@ -504,7 +564,7 @@ export declare const allTools: {
|
|
|
504
564
|
body: string;
|
|
505
565
|
tags?: string[] | undefined;
|
|
506
566
|
tools?: string[] | undefined;
|
|
507
|
-
directory?: ".opencode/skills" | ".claude/skills" | "skills" | "global
|
|
567
|
+
directory?: "global" | ".opencode/skills" | ".claude/skills" | "skills" | "global-claude" | undefined;
|
|
508
568
|
}, context: import("@opencode-ai/plugin").ToolContext): Promise<string>;
|
|
509
569
|
};
|
|
510
570
|
readonly skills_update: {
|
|
@@ -562,10 +622,10 @@ export declare const allTools: {
|
|
|
562
622
|
name: import("zod").ZodString;
|
|
563
623
|
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
564
624
|
directory: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
625
|
+
global: "global";
|
|
565
626
|
".opencode/skills": ".opencode/skills";
|
|
566
627
|
".claude/skills": ".claude/skills";
|
|
567
628
|
skills: "skills";
|
|
568
|
-
global: "global";
|
|
569
629
|
}>>;
|
|
570
630
|
include_example_script: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
571
631
|
include_reference: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
@@ -575,7 +635,7 @@ export declare const allTools: {
|
|
|
575
635
|
include_example_script: boolean;
|
|
576
636
|
include_reference: boolean;
|
|
577
637
|
description?: string | undefined;
|
|
578
|
-
directory?: ".opencode/skills" | ".claude/skills" | "skills" |
|
|
638
|
+
directory?: "global" | ".opencode/skills" | ".claude/skills" | "skills" | undefined;
|
|
579
639
|
}, context: import("@opencode-ai/plugin").ToolContext): Promise<string>;
|
|
580
640
|
};
|
|
581
641
|
readonly repo_readme: {
|
|
@@ -1431,9 +1491,9 @@ export declare const allTools: {
|
|
|
1431
1491
|
args: {
|
|
1432
1492
|
title: import("zod").ZodString;
|
|
1433
1493
|
type: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
1494
|
+
task: "task";
|
|
1434
1495
|
bug: "bug";
|
|
1435
1496
|
feature: "feature";
|
|
1436
|
-
task: "task";
|
|
1437
1497
|
epic: "epic";
|
|
1438
1498
|
chore: "chore";
|
|
1439
1499
|
}>>;
|
|
@@ -1443,7 +1503,7 @@ export declare const allTools: {
|
|
|
1443
1503
|
};
|
|
1444
1504
|
execute(args: {
|
|
1445
1505
|
title: string;
|
|
1446
|
-
type?: "
|
|
1506
|
+
type?: "task" | "bug" | "feature" | "epic" | "chore" | undefined;
|
|
1447
1507
|
priority?: number | undefined;
|
|
1448
1508
|
description?: string | undefined;
|
|
1449
1509
|
parent_id?: string | undefined;
|
|
@@ -1504,9 +1564,9 @@ export declare const allTools: {
|
|
|
1504
1564
|
closed: "closed";
|
|
1505
1565
|
}>>;
|
|
1506
1566
|
type: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
1567
|
+
task: "task";
|
|
1507
1568
|
bug: "bug";
|
|
1508
1569
|
feature: "feature";
|
|
1509
|
-
task: "task";
|
|
1510
1570
|
epic: "epic";
|
|
1511
1571
|
chore: "chore";
|
|
1512
1572
|
}>>;
|
|
@@ -1516,7 +1576,7 @@ export declare const allTools: {
|
|
|
1516
1576
|
};
|
|
1517
1577
|
execute(args: {
|
|
1518
1578
|
status?: "open" | "in_progress" | "blocked" | "closed" | undefined;
|
|
1519
|
-
type?: "
|
|
1579
|
+
type?: "task" | "bug" | "feature" | "epic" | "chore" | undefined;
|
|
1520
1580
|
ready?: boolean | undefined;
|
|
1521
1581
|
parent_id?: string | undefined;
|
|
1522
1582
|
limit?: number | undefined;
|
|
@@ -1578,9 +1638,9 @@ export declare const allTools: {
|
|
|
1578
1638
|
closed: "closed";
|
|
1579
1639
|
}>>;
|
|
1580
1640
|
type: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
1641
|
+
task: "task";
|
|
1581
1642
|
bug: "bug";
|
|
1582
1643
|
feature: "feature";
|
|
1583
|
-
task: "task";
|
|
1584
1644
|
epic: "epic";
|
|
1585
1645
|
chore: "chore";
|
|
1586
1646
|
}>>;
|
|
@@ -1591,7 +1651,7 @@ export declare const allTools: {
|
|
|
1591
1651
|
execute(args: {
|
|
1592
1652
|
id?: string | undefined;
|
|
1593
1653
|
status?: "open" | "in_progress" | "blocked" | "closed" | undefined;
|
|
1594
|
-
type?: "
|
|
1654
|
+
type?: "task" | "bug" | "feature" | "epic" | "chore" | undefined;
|
|
1595
1655
|
parent_id?: string | undefined;
|
|
1596
1656
|
ready?: boolean | undefined;
|
|
1597
1657
|
limit?: number | undefined;
|
|
@@ -1940,4 +2000,25 @@ export { ValidationIssueSeverity, ValidationIssueCategory, ValidationIssueSchema
|
|
|
1940
2000
|
* - EpicState - Epic state
|
|
1941
2001
|
*/
|
|
1942
2002
|
export { projectSwarmState, hasSwarmSignature, isSwarmActive, getSwarmSummary, type SwarmProjection, type ToolCallEvent, type SubtaskState, type SubtaskStatus, type EpicState, } from "./swarm-signature";
|
|
2003
|
+
/**
|
|
2004
|
+
* Re-export CASS tools module
|
|
2005
|
+
*
|
|
2006
|
+
* Cross-Agent Session Search - search across all AI coding agent histories.
|
|
2007
|
+
* Wraps the external `cass` CLI from Dicklesworthstone's repo.
|
|
2008
|
+
*
|
|
2009
|
+
* Includes:
|
|
2010
|
+
* - cassTools - All CASS tools (search, view, expand, health, index, stats)
|
|
2011
|
+
* - cass_search - Search across agent histories
|
|
2012
|
+
* - cass_view - View specific session
|
|
2013
|
+
* - cass_expand - Expand context around a line
|
|
2014
|
+
* - cass_health - Check index health
|
|
2015
|
+
* - cass_index - Build/rebuild index
|
|
2016
|
+
* - cass_stats - Show index statistics
|
|
2017
|
+
*
|
|
2018
|
+
* Events emitted:
|
|
2019
|
+
* - cass_searched - When a search is performed
|
|
2020
|
+
* - cass_viewed - When a session is viewed
|
|
2021
|
+
* - cass_indexed - When the index is built/rebuilt
|
|
2022
|
+
*/
|
|
2023
|
+
export { cassTools } from "./cass-tools";
|
|
1943
2024
|
//# sourceMappingURL=index.d.ts.map
|