opencode-orchestrator 0.8.8 → 0.8.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.
@@ -17,8 +17,13 @@ type OpencodeClient = PluginInput["client"];
17
17
  export declare function handleSessionIdle(client: OpencodeClient, sessionID: string, mainSessionID?: string): Promise<void>;
18
18
  /**
19
19
  * Handle user message - cancel countdown (user is interacting)
20
+ * Uses grace period to avoid cancelling countdown from our own injected messages
20
21
  */
21
22
  export declare function handleUserMessage(sessionID: string): void;
23
+ /**
24
+ * Handle session error - detect abort/cancel
25
+ */
26
+ export declare function handleSessionError(sessionID: string, error: unknown): void;
22
27
  /**
23
28
  * Handle abort/cancel - prevent automatic continuation
24
29
  */
package/dist/index.d.ts CHANGED
@@ -2,11 +2,7 @@
2
2
  * OpenCode Orchestrator Plugin
3
3
  *
4
4
  * This is the main entry point for the 4-Agent consolidated architecture.
5
- * We've optimized it for better efficiency by using:
6
- * - XML-structured prompts with clear boundaries
7
- * - Explicit reasoning patterns (THINK -> ACT -> OBSERVE -> ADJUST)
8
- * - Evidence-based completion requirements
9
- * - Autonomous execution loop that keeps going until done
5
+ * Handlers are modularized in src/plugin-handlers/ for maintainability.
10
6
  *
11
7
  * The agents are: Commander, Planner, Worker, Reviewer
12
8
  */