opencode-hive 0.8.2 → 0.8.3

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.
@@ -0,0 +1,30 @@
1
+ /**
2
+ * Hive Agent - Hybrid Planner-Orchestrator
3
+ *
4
+ * The Hive Master agent that:
5
+ * - Plans features via hive_plan_write
6
+ * - Delegates execution via hive_exec_start (workers in tmux when OMO-Slim installed)
7
+ * - Asks questions on behalf of blocked workers (single point of contact)
8
+ * - Can do simple work directly if user asks
9
+ *
10
+ * Detailed workflow instructions are in the `hive` skill (hive.md).
11
+ * This prompt is minimal - load the skill for comprehensive guidance.
12
+ */
13
+ export interface FeatureContext {
14
+ name: string;
15
+ planStatus: 'none' | 'draft' | 'approved';
16
+ tasksSummary: string;
17
+ contextList: string[];
18
+ }
19
+ /**
20
+ * Build the complete Hive Agent prompt with adaptive sections.
21
+ */
22
+ export declare function buildHiveAgentPrompt(featureContext?: FeatureContext, omoSlimDetected?: boolean): string;
23
+ /**
24
+ * Hive Agent definition for OpenCode plugin registration.
25
+ */
26
+ export declare const hiveAgent: {
27
+ name: string;
28
+ description: string;
29
+ buildPrompt: typeof buildHiveAgentPrompt;
30
+ };