opencode-swarm-plugin 0.36.1 → 0.38.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/.hive/issues.jsonl +16 -0
- package/.hive/memories.jsonl +13 -1
- package/.turbo/turbo-build.log +4 -4
- package/.turbo/turbo-test.log +286 -286
- package/CHANGELOG.md +170 -0
- package/README.md +33 -0
- package/bin/swarm.test.ts +106 -0
- package/bin/swarm.ts +181 -208
- package/dist/hive.d.ts +59 -0
- package/dist/hive.d.ts.map +1 -1
- package/dist/index.d.ts +43 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +453 -118
- package/dist/plugin.js +452 -118
- package/dist/swarm-decompose.d.ts +30 -0
- package/dist/swarm-decompose.d.ts.map +1 -1
- package/dist/swarm.d.ts +15 -0
- package/dist/swarm.d.ts.map +1 -1
- package/evals/README.md +27 -10
- package/examples/plugin-wrapper-template.ts +60 -8
- package/package.json +4 -1
- package/src/compaction-hook.test.ts +97 -2
- package/src/compaction-hook.ts +32 -2
- package/src/hive.integration.test.ts +148 -0
- package/src/hive.ts +89 -0
- package/src/swarm-decompose.test.ts +188 -0
- package/src/swarm-decompose.ts +52 -1
- package/src/swarm-orchestrate.test.ts +270 -7
- package/src/swarm-orchestrate.ts +98 -11
- package/src/swarm-prompts.test.ts +121 -0
- package/src/swarm-prompts.ts +295 -2
- package/src/swarm-research.integration.test.ts +157 -0
- package/src/swarm-review.integration.test.ts +24 -29
package/bin/swarm.ts
CHANGED
|
@@ -35,6 +35,7 @@ import {
|
|
|
35
35
|
ensureHiveDirectory,
|
|
36
36
|
getHiveAdapter,
|
|
37
37
|
} from "../src/hive";
|
|
38
|
+
import { formatCoordinatorPrompt } from "../src/swarm-prompts";
|
|
38
39
|
import {
|
|
39
40
|
legacyDatabaseExists,
|
|
40
41
|
migratePGliteToLibSQL,
|
|
@@ -993,214 +994,7 @@ const SWARM_COMMAND = `---
|
|
|
993
994
|
description: Decompose task into parallel subtasks and coordinate agents
|
|
994
995
|
---
|
|
995
996
|
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
## Task
|
|
999
|
-
|
|
1000
|
-
$ARGUMENTS
|
|
1001
|
-
|
|
1002
|
-
## CRITICAL: Coordinator Role Boundaries
|
|
1003
|
-
|
|
1004
|
-
**⚠️ COORDINATORS NEVER EXECUTE WORK DIRECTLY**
|
|
1005
|
-
|
|
1006
|
-
Your role is **ONLY** to:
|
|
1007
|
-
1. **Clarify** - Ask questions to understand scope
|
|
1008
|
-
2. **Decompose** - Break into subtasks with clear boundaries
|
|
1009
|
-
3. **Spawn** - Create worker agents for ALL subtasks
|
|
1010
|
-
4. **Monitor** - Check progress, unblock, mediate conflicts
|
|
1011
|
-
5. **Verify** - Confirm completion, run final checks
|
|
1012
|
-
|
|
1013
|
-
**YOU DO NOT:**
|
|
1014
|
-
- Read implementation files (only metadata/structure for planning)
|
|
1015
|
-
- Edit code directly
|
|
1016
|
-
- Run tests yourself (workers run tests)
|
|
1017
|
-
- Implement features
|
|
1018
|
-
- Fix bugs inline
|
|
1019
|
-
- Make "quick fixes" yourself
|
|
1020
|
-
|
|
1021
|
-
**ALWAYS spawn workers, even for sequential tasks.** Sequential just means spawn them in order and wait for each to complete before spawning the next.
|
|
1022
|
-
|
|
1023
|
-
### Why This Matters
|
|
1024
|
-
|
|
1025
|
-
| Coordinator Work | Worker Work | Consequence of Mixing |
|
|
1026
|
-
|-----------------|-------------|----------------------|
|
|
1027
|
-
| Sonnet context ($$$) | Disposable context | Expensive context waste |
|
|
1028
|
-
| Long-lived state | Task-scoped state | Context exhaustion |
|
|
1029
|
-
| Orchestration concerns | Implementation concerns | Mixed concerns |
|
|
1030
|
-
| No checkpoints | Checkpoints enabled | No recovery |
|
|
1031
|
-
| No learning signals | Outcomes tracked | No improvement |
|
|
1032
|
-
|
|
1033
|
-
## Workflow
|
|
1034
|
-
|
|
1035
|
-
### Phase 0: Socratic Planning (INTERACTIVE - unless --fast)
|
|
1036
|
-
|
|
1037
|
-
**Before decomposing, clarify the task with the user.**
|
|
1038
|
-
|
|
1039
|
-
Check for flags in the task:
|
|
1040
|
-
- \`--fast\` → Skip questions, use reasonable defaults
|
|
1041
|
-
- \`--auto\` → Zero interaction, heuristic decisions
|
|
1042
|
-
- \`--confirm-only\` → Show plan, get yes/no only
|
|
1043
|
-
|
|
1044
|
-
**Default (no flags): Full Socratic Mode**
|
|
1045
|
-
|
|
1046
|
-
1. **Analyze task for ambiguity:**
|
|
1047
|
-
- Scope unclear? (what's included/excluded)
|
|
1048
|
-
- Strategy unclear? (file-based vs feature-based)
|
|
1049
|
-
- Dependencies unclear? (what needs to exist first)
|
|
1050
|
-
- Success criteria unclear? (how do we know it's done)
|
|
1051
|
-
|
|
1052
|
-
2. **If clarification needed, ask ONE question at a time:**
|
|
1053
|
-
\`\`\`
|
|
1054
|
-
The task "<task>" needs clarification before I can decompose it.
|
|
1055
|
-
|
|
1056
|
-
**Question:** <specific question>
|
|
1057
|
-
|
|
1058
|
-
Options:
|
|
1059
|
-
a) <option 1> - <tradeoff>
|
|
1060
|
-
b) <option 2> - <tradeoff>
|
|
1061
|
-
c) <option 3> - <tradeoff>
|
|
1062
|
-
|
|
1063
|
-
I'd recommend (b) because <reason>. Which approach?
|
|
1064
|
-
\`\`\`
|
|
1065
|
-
|
|
1066
|
-
3. **Wait for user response before proceeding**
|
|
1067
|
-
|
|
1068
|
-
4. **Iterate if needed** (max 2-3 questions)
|
|
1069
|
-
|
|
1070
|
-
**Rules:**
|
|
1071
|
-
- ONE question at a time - don't overwhelm
|
|
1072
|
-
- Offer concrete options - not open-ended
|
|
1073
|
-
- Lead with recommendation - save cognitive load
|
|
1074
|
-
- Wait for answer - don't assume
|
|
1075
|
-
|
|
1076
|
-
### Phase 1: Initialize
|
|
1077
|
-
\`swarmmail_init(project_path="$PWD", task_description="Swarm: <task>")\`
|
|
1078
|
-
|
|
1079
|
-
### Phase 2: Knowledge Gathering (MANDATORY)
|
|
1080
|
-
|
|
1081
|
-
**Before decomposing, query ALL knowledge sources:**
|
|
1082
|
-
|
|
1083
|
-
\`\`\`
|
|
1084
|
-
semantic-memory_find(query="<task keywords>", limit=5) # Past learnings
|
|
1085
|
-
cass_search(query="<task description>", limit=5) # Similar past tasks
|
|
1086
|
-
skills_list() # Available skills
|
|
1087
|
-
\`\`\`
|
|
1088
|
-
|
|
1089
|
-
Synthesize findings into shared_context for workers.
|
|
1090
|
-
|
|
1091
|
-
### Phase 3: Decompose
|
|
1092
|
-
\`\`\`
|
|
1093
|
-
swarm_select_strategy(task="<task>")
|
|
1094
|
-
swarm_plan_prompt(task="<task>", context="<synthesized knowledge>")
|
|
1095
|
-
swarm_validate_decomposition(response="<CellTree JSON>")
|
|
1096
|
-
\`\`\`
|
|
1097
|
-
|
|
1098
|
-
### Phase 4: Create Beads
|
|
1099
|
-
\`hive_create_epic(epic_title="<task>", subtasks=[...])\`
|
|
1100
|
-
|
|
1101
|
-
### Phase 5: DO NOT Reserve Files
|
|
1102
|
-
|
|
1103
|
-
> **⚠️ Coordinator NEVER reserves files.** Workers reserve their own files.
|
|
1104
|
-
> If coordinator reserves, workers get blocked and swarm stalls.
|
|
1105
|
-
|
|
1106
|
-
### Phase 6: Spawn Workers for ALL Subtasks (MANDATORY)
|
|
1107
|
-
|
|
1108
|
-
> **⚠️ ALWAYS spawn workers, even for sequential tasks.**
|
|
1109
|
-
> - Parallel tasks: Spawn ALL in a single message
|
|
1110
|
-
> - Sequential tasks: Spawn one, wait for completion, spawn next
|
|
1111
|
-
|
|
1112
|
-
**For parallel work:**
|
|
1113
|
-
\`\`\`
|
|
1114
|
-
// Single message with multiple Task calls
|
|
1115
|
-
swarm_spawn_subtask(bead_id_1, epic_id, title_1, files_1, shared_context, project_path="$PWD")
|
|
1116
|
-
Task(subagent_type="swarm/worker", prompt="<from above>")
|
|
1117
|
-
swarm_spawn_subtask(bead_id_2, epic_id, title_2, files_2, shared_context, project_path="$PWD")
|
|
1118
|
-
Task(subagent_type="swarm/worker", prompt="<from above>")
|
|
1119
|
-
\`\`\`
|
|
1120
|
-
|
|
1121
|
-
**For sequential work:**
|
|
1122
|
-
\`\`\`
|
|
1123
|
-
// Spawn worker 1, wait for completion
|
|
1124
|
-
swarm_spawn_subtask(bead_id_1, ...)
|
|
1125
|
-
const result1 = await Task(subagent_type="swarm/worker", prompt="<from above>")
|
|
1126
|
-
|
|
1127
|
-
// THEN spawn worker 2 with context from worker 1
|
|
1128
|
-
swarm_spawn_subtask(bead_id_2, ..., shared_context="Worker 1 completed: " + result1)
|
|
1129
|
-
const result2 = await Task(subagent_type="swarm/worker", prompt="<from above>")
|
|
1130
|
-
\`\`\`
|
|
1131
|
-
|
|
1132
|
-
**NEVER do the work yourself.** Even if it seems faster, spawn a worker.
|
|
1133
|
-
|
|
1134
|
-
**IMPORTANT:** Pass \`project_path\` to \`swarm_spawn_subtask\` so workers can call \`swarmmail_init\`.
|
|
1135
|
-
|
|
1136
|
-
### Phase 7: MANDATORY Review Loop (NON-NEGOTIABLE)
|
|
1137
|
-
|
|
1138
|
-
**⚠️ AFTER EVERY Task() RETURNS, YOU MUST:**
|
|
1139
|
-
|
|
1140
|
-
1. **CHECK INBOX** - Worker may have sent messages
|
|
1141
|
-
\`swarmmail_inbox()\`
|
|
1142
|
-
\`swarmmail_read_message(message_id=N)\`
|
|
1143
|
-
|
|
1144
|
-
2. **REVIEW WORK** - Generate review with diff
|
|
1145
|
-
\`swarm_review(project_key, epic_id, task_id, files_touched)\`
|
|
1146
|
-
|
|
1147
|
-
3. **EVALUATE** - Does it meet epic goals?
|
|
1148
|
-
- Fulfills subtask requirements?
|
|
1149
|
-
- Serves overall epic goal?
|
|
1150
|
-
- Enables downstream tasks?
|
|
1151
|
-
- Type safety, no obvious bugs?
|
|
1152
|
-
|
|
1153
|
-
4. **SEND FEEDBACK** - Approve or request changes
|
|
1154
|
-
\`swarm_review_feedback(project_key, task_id, worker_id, status, issues)\`
|
|
1155
|
-
|
|
1156
|
-
**If approved:**
|
|
1157
|
-
- Close cell, spawn next worker
|
|
1158
|
-
|
|
1159
|
-
**If needs_changes:**
|
|
1160
|
-
- \`swarm_review_feedback\` returns \`retry_context\` (NOT sends message - worker is dead)
|
|
1161
|
-
- Generate retry prompt: \`swarm_spawn_retry(retry_context)\`
|
|
1162
|
-
- Spawn NEW worker with Task() using retry prompt
|
|
1163
|
-
- Max 3 attempts before marking task blocked
|
|
1164
|
-
|
|
1165
|
-
**If 3 failures:**
|
|
1166
|
-
- Mark task blocked, escalate to human
|
|
1167
|
-
|
|
1168
|
-
5. **ONLY THEN** - Spawn next worker or complete
|
|
1169
|
-
|
|
1170
|
-
**DO NOT skip this. DO NOT batch reviews. Review EACH worker IMMEDIATELY after return.**
|
|
1171
|
-
|
|
1172
|
-
**Intervene if:**
|
|
1173
|
-
- Worker blocked >5min → unblock or reassign
|
|
1174
|
-
- File conflicts → mediate between workers
|
|
1175
|
-
- Scope creep → approve or reject expansion
|
|
1176
|
-
- Review fails 3x → mark task blocked, escalate to human
|
|
1177
|
-
|
|
1178
|
-
### Phase 8: Complete
|
|
1179
|
-
\`\`\`
|
|
1180
|
-
# After all workers complete and reviews pass:
|
|
1181
|
-
hive_sync() # Sync all cells to git
|
|
1182
|
-
# Coordinator does NOT call swarm_complete - workers do that
|
|
1183
|
-
\`\`\`
|
|
1184
|
-
|
|
1185
|
-
## Strategy Reference
|
|
1186
|
-
|
|
1187
|
-
| Strategy | Best For | Keywords |
|
|
1188
|
-
| -------------- | ------------------------ | -------------------------------------- |
|
|
1189
|
-
| file-based | Refactoring, migrations | refactor, migrate, rename, update all |
|
|
1190
|
-
| feature-based | New features | add, implement, build, create, feature |
|
|
1191
|
-
| risk-based | Bug fixes, security | fix, bug, security, critical, urgent |
|
|
1192
|
-
| research-based | Investigation, discovery | research, investigate, explore, learn |
|
|
1193
|
-
|
|
1194
|
-
## Flag Reference
|
|
1195
|
-
|
|
1196
|
-
| Flag | Effect |
|
|
1197
|
-
|------|--------|
|
|
1198
|
-
| \`--fast\` | Skip Socratic questions, use defaults |
|
|
1199
|
-
| \`--auto\` | Zero interaction, heuristic decisions |
|
|
1200
|
-
| \`--confirm-only\` | Show plan, get yes/no only |
|
|
1201
|
-
|
|
1202
|
-
Begin with Phase 0 (Socratic Planning) unless \`--fast\` or \`--auto\` flag is present.
|
|
1203
|
-
`;
|
|
997
|
+
${formatCoordinatorPrompt({ task: "$ARGUMENTS", projectPath: "$PWD" })}`;
|
|
1204
998
|
|
|
1205
999
|
const getPlannerAgent = (model: string) => `---
|
|
1206
1000
|
name: swarm-planner
|
|
@@ -2722,6 +2516,7 @@ ${cyan("Commands:")}
|
|
|
2722
2516
|
swarm config Show paths to generated config files
|
|
2723
2517
|
swarm agents Update AGENTS.md with skill awareness
|
|
2724
2518
|
swarm migrate Migrate PGlite database to libSQL
|
|
2519
|
+
swarm cells List or get cells from database (replaces 'swarm tool hive_query')
|
|
2725
2520
|
swarm log View swarm logs with filtering
|
|
2726
2521
|
swarm update Update to latest version
|
|
2727
2522
|
swarm version Show version and banner
|
|
@@ -2733,6 +2528,14 @@ ${cyan("Tool Execution:")}
|
|
|
2733
2528
|
swarm tool <name> Execute tool with no args
|
|
2734
2529
|
swarm tool <name> --json '<args>' Execute tool with JSON args
|
|
2735
2530
|
|
|
2531
|
+
${cyan("Cell Management:")}
|
|
2532
|
+
swarm cells List cells from database (default: 20 most recent)
|
|
2533
|
+
swarm cells <id> Get single cell by ID or partial hash
|
|
2534
|
+
swarm cells --status <status> Filter by status (open, in_progress, closed, blocked)
|
|
2535
|
+
swarm cells --type <type> Filter by type (task, bug, feature, epic, chore)
|
|
2536
|
+
swarm cells --ready Show next ready (unblocked) cell
|
|
2537
|
+
swarm cells --json Raw JSON output (array, no wrapper)
|
|
2538
|
+
|
|
2736
2539
|
${cyan("Log Viewing:")}
|
|
2737
2540
|
swarm log Tail recent logs (last 50 lines)
|
|
2738
2541
|
swarm log <module> Filter by module (e.g., compaction)
|
|
@@ -3245,6 +3048,173 @@ function readLogFiles(dir: string): LogEntry[] {
|
|
|
3245
3048
|
return entries;
|
|
3246
3049
|
}
|
|
3247
3050
|
|
|
3051
|
+
/**
|
|
3052
|
+
* Format cells as table output
|
|
3053
|
+
*/
|
|
3054
|
+
function formatCellsTable(cells: Array<{
|
|
3055
|
+
id: string;
|
|
3056
|
+
title: string;
|
|
3057
|
+
status: string;
|
|
3058
|
+
priority: number;
|
|
3059
|
+
}>): string {
|
|
3060
|
+
if (cells.length === 0) {
|
|
3061
|
+
return "No cells found";
|
|
3062
|
+
}
|
|
3063
|
+
|
|
3064
|
+
const rows = cells.map(c => ({
|
|
3065
|
+
id: c.id,
|
|
3066
|
+
title: c.title.length > 50 ? c.title.slice(0, 47) + "..." : c.title,
|
|
3067
|
+
status: c.status,
|
|
3068
|
+
priority: String(c.priority),
|
|
3069
|
+
}));
|
|
3070
|
+
|
|
3071
|
+
// Calculate column widths
|
|
3072
|
+
const widths = {
|
|
3073
|
+
id: Math.max(2, ...rows.map(r => r.id.length)),
|
|
3074
|
+
title: Math.max(5, ...rows.map(r => r.title.length)),
|
|
3075
|
+
status: Math.max(6, ...rows.map(r => r.status.length)),
|
|
3076
|
+
priority: Math.max(8, ...rows.map(r => r.priority.length)),
|
|
3077
|
+
};
|
|
3078
|
+
|
|
3079
|
+
// Build header
|
|
3080
|
+
const header = [
|
|
3081
|
+
"ID".padEnd(widths.id),
|
|
3082
|
+
"TITLE".padEnd(widths.title),
|
|
3083
|
+
"STATUS".padEnd(widths.status),
|
|
3084
|
+
"PRIORITY".padEnd(widths.priority),
|
|
3085
|
+
].join(" ");
|
|
3086
|
+
|
|
3087
|
+
const separator = "-".repeat(header.length);
|
|
3088
|
+
|
|
3089
|
+
// Build rows
|
|
3090
|
+
const bodyRows = rows.map(r =>
|
|
3091
|
+
[
|
|
3092
|
+
r.id.padEnd(widths.id),
|
|
3093
|
+
r.title.padEnd(widths.title),
|
|
3094
|
+
r.status.padEnd(widths.status),
|
|
3095
|
+
r.priority.padEnd(widths.priority),
|
|
3096
|
+
].join(" ")
|
|
3097
|
+
);
|
|
3098
|
+
|
|
3099
|
+
return [header, separator, ...bodyRows].join("\n");
|
|
3100
|
+
}
|
|
3101
|
+
|
|
3102
|
+
/**
|
|
3103
|
+
* List or get cells from database
|
|
3104
|
+
*/
|
|
3105
|
+
async function cells() {
|
|
3106
|
+
const args = process.argv.slice(3);
|
|
3107
|
+
|
|
3108
|
+
// Parse arguments
|
|
3109
|
+
let cellId: string | null = null;
|
|
3110
|
+
let statusFilter: string | null = null;
|
|
3111
|
+
let typeFilter: string | null = null;
|
|
3112
|
+
let readyOnly = false;
|
|
3113
|
+
let jsonOutput = false;
|
|
3114
|
+
|
|
3115
|
+
for (let i = 0; i < args.length; i++) {
|
|
3116
|
+
const arg = args[i];
|
|
3117
|
+
|
|
3118
|
+
if (arg === "--status" && i + 1 < args.length) {
|
|
3119
|
+
statusFilter = args[++i];
|
|
3120
|
+
if (!["open", "in_progress", "closed", "blocked"].includes(statusFilter)) {
|
|
3121
|
+
p.log.error(`Invalid status: ${statusFilter}`);
|
|
3122
|
+
p.log.message(dim(" Valid statuses: open, in_progress, closed, blocked"));
|
|
3123
|
+
process.exit(1);
|
|
3124
|
+
}
|
|
3125
|
+
} else if (arg === "--type" && i + 1 < args.length) {
|
|
3126
|
+
typeFilter = args[++i];
|
|
3127
|
+
if (!["task", "bug", "feature", "epic", "chore"].includes(typeFilter)) {
|
|
3128
|
+
p.log.error(`Invalid type: ${typeFilter}`);
|
|
3129
|
+
p.log.message(dim(" Valid types: task, bug, feature, epic, chore"));
|
|
3130
|
+
process.exit(1);
|
|
3131
|
+
}
|
|
3132
|
+
} else if (arg === "--ready") {
|
|
3133
|
+
readyOnly = true;
|
|
3134
|
+
} else if (arg === "--json") {
|
|
3135
|
+
jsonOutput = true;
|
|
3136
|
+
} else if (!arg.startsWith("--") && !arg.startsWith("-")) {
|
|
3137
|
+
// Positional arg = cell ID (full or partial)
|
|
3138
|
+
cellId = arg;
|
|
3139
|
+
}
|
|
3140
|
+
}
|
|
3141
|
+
|
|
3142
|
+
// Get adapter using swarm-mail
|
|
3143
|
+
const projectPath = process.cwd();
|
|
3144
|
+
const { getSwarmMailLibSQL, createHiveAdapter, resolvePartialId } = await import("swarm-mail");
|
|
3145
|
+
|
|
3146
|
+
try {
|
|
3147
|
+
const swarmMail = await getSwarmMailLibSQL(projectPath);
|
|
3148
|
+
const db = await swarmMail.getDatabase();
|
|
3149
|
+
const adapter = createHiveAdapter(db, projectPath);
|
|
3150
|
+
|
|
3151
|
+
// Run migrations to ensure schema exists
|
|
3152
|
+
await adapter.runMigrations();
|
|
3153
|
+
|
|
3154
|
+
// If cell ID provided, get single cell
|
|
3155
|
+
if (cellId) {
|
|
3156
|
+
// Resolve partial ID to full ID
|
|
3157
|
+
const fullId = await resolvePartialId(adapter, projectPath, cellId) || cellId;
|
|
3158
|
+
const cell = await adapter.getCell(projectPath, fullId);
|
|
3159
|
+
|
|
3160
|
+
if (!cell) {
|
|
3161
|
+
p.log.error(`Cell not found: ${cellId}`);
|
|
3162
|
+
process.exit(1);
|
|
3163
|
+
}
|
|
3164
|
+
|
|
3165
|
+
if (jsonOutput) {
|
|
3166
|
+
console.log(JSON.stringify([cell], null, 2));
|
|
3167
|
+
} else {
|
|
3168
|
+
const table = formatCellsTable([{
|
|
3169
|
+
id: cell.id,
|
|
3170
|
+
title: cell.title,
|
|
3171
|
+
status: cell.status,
|
|
3172
|
+
priority: cell.priority,
|
|
3173
|
+
}]);
|
|
3174
|
+
console.log(table);
|
|
3175
|
+
}
|
|
3176
|
+
return;
|
|
3177
|
+
}
|
|
3178
|
+
|
|
3179
|
+
// Otherwise query cells
|
|
3180
|
+
let cells: Array<{ id: string; title: string; status: string; priority: number }>;
|
|
3181
|
+
|
|
3182
|
+
if (readyOnly) {
|
|
3183
|
+
const readyCell = await adapter.getNextReadyCell(projectPath);
|
|
3184
|
+
cells = readyCell ? [{
|
|
3185
|
+
id: readyCell.id,
|
|
3186
|
+
title: readyCell.title,
|
|
3187
|
+
status: readyCell.status,
|
|
3188
|
+
priority: readyCell.priority,
|
|
3189
|
+
}] : [];
|
|
3190
|
+
} else {
|
|
3191
|
+
const queriedCells = await adapter.queryCells(projectPath, {
|
|
3192
|
+
status: statusFilter as any || undefined,
|
|
3193
|
+
type: typeFilter as any || undefined,
|
|
3194
|
+
limit: 20,
|
|
3195
|
+
});
|
|
3196
|
+
|
|
3197
|
+
cells = queriedCells.map(c => ({
|
|
3198
|
+
id: c.id,
|
|
3199
|
+
title: c.title,
|
|
3200
|
+
status: c.status,
|
|
3201
|
+
priority: c.priority,
|
|
3202
|
+
}));
|
|
3203
|
+
}
|
|
3204
|
+
|
|
3205
|
+
if (jsonOutput) {
|
|
3206
|
+
console.log(JSON.stringify(cells, null, 2));
|
|
3207
|
+
} else {
|
|
3208
|
+
const table = formatCellsTable(cells);
|
|
3209
|
+
console.log(table);
|
|
3210
|
+
}
|
|
3211
|
+
} catch (error) {
|
|
3212
|
+
const message = error instanceof Error ? error.message : String(error);
|
|
3213
|
+
p.log.error(`Failed to query cells: ${message}`);
|
|
3214
|
+
process.exit(1);
|
|
3215
|
+
}
|
|
3216
|
+
}
|
|
3217
|
+
|
|
3248
3218
|
async function logs() {
|
|
3249
3219
|
const args = process.argv.slice(3);
|
|
3250
3220
|
|
|
@@ -3614,6 +3584,9 @@ switch (command) {
|
|
|
3614
3584
|
case "db":
|
|
3615
3585
|
await db();
|
|
3616
3586
|
break;
|
|
3587
|
+
case "cells":
|
|
3588
|
+
await cells();
|
|
3589
|
+
break;
|
|
3617
3590
|
case "log":
|
|
3618
3591
|
case "logs":
|
|
3619
3592
|
await logs();
|
package/dist/hive.d.ts
CHANGED
|
@@ -283,6 +283,37 @@ export declare const hive_ready: {
|
|
|
283
283
|
args: {};
|
|
284
284
|
execute(args: Record<string, never>, context: import("@opencode-ai/plugin").ToolContext): Promise<string>;
|
|
285
285
|
};
|
|
286
|
+
/**
|
|
287
|
+
* Query cells from the hive database with flexible filtering
|
|
288
|
+
*/
|
|
289
|
+
export declare const hive_cells: {
|
|
290
|
+
description: string;
|
|
291
|
+
args: {
|
|
292
|
+
id: z.ZodOptional<z.ZodString>;
|
|
293
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
294
|
+
open: "open";
|
|
295
|
+
in_progress: "in_progress";
|
|
296
|
+
blocked: "blocked";
|
|
297
|
+
closed: "closed";
|
|
298
|
+
}>>;
|
|
299
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
300
|
+
bug: "bug";
|
|
301
|
+
feature: "feature";
|
|
302
|
+
task: "task";
|
|
303
|
+
epic: "epic";
|
|
304
|
+
chore: "chore";
|
|
305
|
+
}>>;
|
|
306
|
+
ready: z.ZodOptional<z.ZodBoolean>;
|
|
307
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
308
|
+
};
|
|
309
|
+
execute(args: {
|
|
310
|
+
id?: string | undefined;
|
|
311
|
+
status?: "open" | "in_progress" | "blocked" | "closed" | undefined;
|
|
312
|
+
type?: "bug" | "feature" | "task" | "epic" | "chore" | undefined;
|
|
313
|
+
ready?: boolean | undefined;
|
|
314
|
+
limit?: number | undefined;
|
|
315
|
+
}, context: import("@opencode-ai/plugin").ToolContext): Promise<string>;
|
|
316
|
+
};
|
|
286
317
|
/**
|
|
287
318
|
* Sync hive to git and push
|
|
288
319
|
*/
|
|
@@ -449,6 +480,34 @@ export declare const hiveTools: {
|
|
|
449
480
|
args: {};
|
|
450
481
|
execute(args: Record<string, never>, context: import("@opencode-ai/plugin").ToolContext): Promise<string>;
|
|
451
482
|
};
|
|
483
|
+
hive_cells: {
|
|
484
|
+
description: string;
|
|
485
|
+
args: {
|
|
486
|
+
id: z.ZodOptional<z.ZodString>;
|
|
487
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
488
|
+
open: "open";
|
|
489
|
+
in_progress: "in_progress";
|
|
490
|
+
blocked: "blocked";
|
|
491
|
+
closed: "closed";
|
|
492
|
+
}>>;
|
|
493
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
494
|
+
bug: "bug";
|
|
495
|
+
feature: "feature";
|
|
496
|
+
task: "task";
|
|
497
|
+
epic: "epic";
|
|
498
|
+
chore: "chore";
|
|
499
|
+
}>>;
|
|
500
|
+
ready: z.ZodOptional<z.ZodBoolean>;
|
|
501
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
502
|
+
};
|
|
503
|
+
execute(args: {
|
|
504
|
+
id?: string | undefined;
|
|
505
|
+
status?: "open" | "in_progress" | "blocked" | "closed" | undefined;
|
|
506
|
+
type?: "bug" | "feature" | "task" | "epic" | "chore" | undefined;
|
|
507
|
+
ready?: boolean | undefined;
|
|
508
|
+
limit?: number | undefined;
|
|
509
|
+
}, context: import("@opencode-ai/plugin").ToolContext): Promise<string>;
|
|
510
|
+
};
|
|
452
511
|
hive_sync: {
|
|
453
512
|
description: string;
|
|
454
513
|
args: {
|
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,EAIjB,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,C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,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/index.d.ts
CHANGED
|
@@ -1069,9 +1069,24 @@ export declare const allTools: {
|
|
|
1069
1069
|
description: string;
|
|
1070
1070
|
args: {
|
|
1071
1071
|
response: import("zod").ZodString;
|
|
1072
|
+
project_path: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1073
|
+
task: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1074
|
+
context: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1075
|
+
strategy: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
1076
|
+
"file-based": "file-based";
|
|
1077
|
+
"feature-based": "feature-based";
|
|
1078
|
+
"risk-based": "risk-based";
|
|
1079
|
+
auto: "auto";
|
|
1080
|
+
}>>;
|
|
1081
|
+
epic_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1072
1082
|
};
|
|
1073
1083
|
execute(args: {
|
|
1074
1084
|
response: string;
|
|
1085
|
+
project_path?: string | undefined;
|
|
1086
|
+
task?: string | undefined;
|
|
1087
|
+
context?: string | undefined;
|
|
1088
|
+
strategy?: "file-based" | "feature-based" | "risk-based" | "auto" | undefined;
|
|
1089
|
+
epic_id?: string | undefined;
|
|
1075
1090
|
}, context: import("@opencode-ai/plugin").ToolContext): Promise<string>;
|
|
1076
1091
|
};
|
|
1077
1092
|
readonly swarm_delegate_planning: {
|
|
@@ -1421,6 +1436,34 @@ export declare const allTools: {
|
|
|
1421
1436
|
args: {};
|
|
1422
1437
|
execute(args: Record<string, never>, context: import("@opencode-ai/plugin").ToolContext): Promise<string>;
|
|
1423
1438
|
};
|
|
1439
|
+
readonly hive_cells: {
|
|
1440
|
+
description: string;
|
|
1441
|
+
args: {
|
|
1442
|
+
id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1443
|
+
status: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
1444
|
+
open: "open";
|
|
1445
|
+
in_progress: "in_progress";
|
|
1446
|
+
blocked: "blocked";
|
|
1447
|
+
closed: "closed";
|
|
1448
|
+
}>>;
|
|
1449
|
+
type: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
1450
|
+
bug: "bug";
|
|
1451
|
+
feature: "feature";
|
|
1452
|
+
task: "task";
|
|
1453
|
+
epic: "epic";
|
|
1454
|
+
chore: "chore";
|
|
1455
|
+
}>>;
|
|
1456
|
+
ready: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1457
|
+
limit: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1458
|
+
};
|
|
1459
|
+
execute(args: {
|
|
1460
|
+
id?: string | undefined;
|
|
1461
|
+
status?: "open" | "in_progress" | "blocked" | "closed" | undefined;
|
|
1462
|
+
type?: "bug" | "feature" | "task" | "epic" | "chore" | undefined;
|
|
1463
|
+
ready?: boolean | undefined;
|
|
1464
|
+
limit?: number | undefined;
|
|
1465
|
+
}, context: import("@opencode-ai/plugin").ToolContext): Promise<string>;
|
|
1466
|
+
};
|
|
1424
1467
|
readonly hive_sync: {
|
|
1425
1468
|
description: string;
|
|
1426
1469
|
args: {
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,OAAO,KAAK,EAAE,MAAM,EAAsB,MAAM,qBAAqB,CAAC;AA6CtE;;;;;;;;;;;;;;;;;GAiBG;AACH,QAAA,MAAM,WAAW,EAAE,MA0QlB,CAAC;AAEF;;;;;;;GAOG;AACH,eAAe,WAAW,CAAC;AAM3B;;GAEG;AACH,cAAc,WAAW,CAAC;AAE1B;;;;;;;;;;;GAWG;AACH,cAAc,QAAQ,CAAC;AAEvB;;;;;;;;;;;;GAYG;AACH,OAAO,EACL,cAAc,EACd,cAAc,EACd,4BAA4B,EAC5B,4BAA4B,EAC5B,oBAAoB,EACpB,4BAA4B,EAC5B,4BAA4B,EAC5B,mBAAmB,EACnB,sBAAsB,EACtB,oBAAoB,EACpB,KAAK,cAAc,GACpB,MAAM,cAAc,CAAC;AAEtB;;;;;;;;;;;;;;;GAeG;AACH,OAAO,EACL,cAAc,EACd,4BAA4B,EAC5B,4BAA4B,EAC5B,iBAAiB,EACjB,KAAK,cAAc,GACpB,MAAM,cAAc,CAAC;AAEtB;;;;;GAKG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAEnD;;;;;;GAMG;AACH,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,eAAe,EACf,eAAe,GAChB,MAAM,cAAc,CAAC;AAEtB;;;;;;;;;;;;;;;;GAgBG;AACH,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