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.
- package/dist/core/loop/todo-continuation.d.ts +5 -0
- package/dist/index.d.ts +1 -5
- package/dist/index.js +1717 -1625
- package/dist/plugin-handlers/assistant-done-handler.d.ts +21 -0
- package/dist/plugin-handlers/chat-message-handler.d.ts +21 -0
- package/dist/plugin-handlers/config-handler.d.ts +9 -0
- package/dist/plugin-handlers/event-handler.d.ts +43 -0
- package/dist/plugin-handlers/index.d.ts +10 -0
- package/dist/plugin-handlers/tool-execute-handler.d.ts +25 -0
- package/package.json +1 -1
|
@@ -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
|
-
*
|
|
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
|
*/
|