@hiai-gg/hiai-opencode 0.1.8 → 0.1.9
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 -1
- package/dist/config/schema/oh-my-opencode-config.d.ts +2 -0
- package/dist/config/schema/ralph-loop.d.ts +2 -0
- package/dist/hooks/todo-continuation-enforcer/auto-loop.d.ts +23 -0
- package/dist/hooks/todo-continuation-enforcer/handler.d.ts +5 -0
- package/dist/hooks/todo-continuation-enforcer/idle-event.d.ts +5 -0
- package/dist/hooks/todo-continuation-enforcer/types.d.ts +18 -0
- package/dist/index.js +706 -645
- package/dist/plugin/hooks/create-continuation-hooks.d.ts +2 -1
- package/hiai-opencode.json +4 -0
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { HookName, HiaiOpenCodeConfig } from "../../config";
|
|
2
2
|
import type { BackgroundManager } from "../../features/background-agent";
|
|
3
3
|
import type { PluginContext } from "../types";
|
|
4
|
-
import { createTodoContinuationEnforcer, createBackgroundNotificationHook, createStopContinuationGuardHook, createCompactionContextInjector, createCompactionTodoPreserverHook, createGuardHook } from "../../hooks";
|
|
4
|
+
import { createTodoContinuationEnforcer, createBackgroundNotificationHook, createStopContinuationGuardHook, createCompactionContextInjector, createCompactionTodoPreserverHook, createGuardHook, type RalphLoopHook } from "../../hooks";
|
|
5
5
|
import { createUnstableAgentBabysitter } from "../unstable-agent-babysitter";
|
|
6
6
|
export type ContinuationHooks = {
|
|
7
7
|
stopContinuationGuard: ReturnType<typeof createStopContinuationGuardHook> | null;
|
|
@@ -23,5 +23,6 @@ export declare function createContinuationHooks(args: {
|
|
|
23
23
|
safeHookEnabled: boolean;
|
|
24
24
|
backgroundManager: BackgroundManager;
|
|
25
25
|
sessionRecovery: SessionRecovery;
|
|
26
|
+
ralphLoop?: RalphLoopHook | null;
|
|
26
27
|
}): ContinuationHooks;
|
|
27
28
|
export {};
|
package/hiai-opencode.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hiai-gg/hiai-opencode",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.9",
|
|
4
4
|
"description": "Unified OpenCode plugin — canonical 12-agent model with bundled skills, MCP integrations, LSP, and permissions in one install.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|