oh-my-opencode 3.7.1 → 3.7.2
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/agents/prometheus/identity-constraints.d.ts +1 -1
- package/dist/agents/prometheus/system-prompt.d.ts +1 -1
- package/dist/cli/index.js +884 -317
- package/dist/cli/run/agent-profile-colors.d.ts +2 -0
- package/dist/cli/run/continuation-state.d.ts +9 -0
- package/dist/cli/run/display-chars.d.ts +5 -0
- package/dist/cli/run/event-handlers.d.ts +1 -0
- package/dist/cli/run/event-state.d.ts +30 -0
- package/dist/cli/run/output-renderer.d.ts +7 -0
- package/dist/cli/run/tool-input-preview.d.ts +6 -0
- package/dist/cli/run/types.d.ts +12 -1
- package/dist/config/schema/hooks.d.ts +2 -0
- package/dist/config/schema/oh-my-opencode-config.d.ts +2 -0
- package/dist/create-hooks.d.ts +2 -0
- package/dist/features/run-continuation-state/constants.d.ts +1 -0
- package/dist/features/run-continuation-state/index.d.ts +3 -0
- package/dist/features/run-continuation-state/storage.d.ts +6 -0
- package/dist/features/run-continuation-state/types.d.ts +12 -0
- package/dist/hooks/index.d.ts +2 -0
- package/dist/hooks/json-error-recovery/hook.d.ts +15 -0
- package/dist/hooks/json-error-recovery/index.d.ts +1 -0
- package/dist/hooks/sisyphus-gpt-hephaestus-reminder/hook.d.ts +11 -0
- package/dist/hooks/sisyphus-gpt-hephaestus-reminder/index.d.ts +1 -0
- package/dist/hooks/stop-continuation-guard/hook.d.ts +1 -1
- package/dist/index.js +866 -686
- package/dist/plugin/hooks/create-core-hooks.d.ts +2 -0
- package/dist/plugin/hooks/create-session-hooks.d.ts +3 -1
- package/package.json +8 -8
|
@@ -33,10 +33,12 @@ export declare function createCoreHooks(args: {
|
|
|
33
33
|
interactiveBashSession: ReturnType<typeof import("../../hooks").createInteractiveBashSessionHook> | null;
|
|
34
34
|
ralphLoop: ReturnType<typeof import("../../hooks").createRalphLoopHook> | null;
|
|
35
35
|
editErrorRecovery: ReturnType<typeof import("../../hooks").createEditErrorRecoveryHook> | null;
|
|
36
|
+
jsonErrorRecovery: ReturnType<typeof import("../../hooks").createJsonErrorRecoveryHook> | null;
|
|
36
37
|
delegateTaskRetry: ReturnType<typeof import("../../hooks").createDelegateTaskRetryHook> | null;
|
|
37
38
|
startWork: ReturnType<typeof import("../../hooks").createStartWorkHook> | null;
|
|
38
39
|
prometheusMdOnly: ReturnType<typeof import("../../hooks").createPrometheusMdOnlyHook> | null;
|
|
39
40
|
sisyphusJuniorNotepad: ReturnType<typeof import("../../hooks").createSisyphusJuniorNotepadHook> | null;
|
|
41
|
+
sisyphusGptHephaestusReminder: ReturnType<typeof import("../../hooks").createSisyphusGptHephaestusReminderHook> | null;
|
|
40
42
|
questionLabelTruncator: ReturnType<typeof import("../../hooks").createQuestionLabelTruncatorHook>;
|
|
41
43
|
taskResumeInfo: ReturnType<typeof import("../../hooks").createTaskResumeInfoHook>;
|
|
42
44
|
anthropicEffort: ReturnType<typeof import("../../hooks/anthropic-effort").createAnthropicEffortHook> | null;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { OhMyOpenCodeConfig, HookName } from "../../config";
|
|
2
2
|
import type { ModelCacheState } from "../../plugin-state";
|
|
3
3
|
import type { PluginContext } from "../types";
|
|
4
|
-
import { createContextWindowMonitorHook, createSessionRecoveryHook, createSessionNotification, createThinkModeHook, createAnthropicContextWindowLimitRecoveryHook, createAutoUpdateCheckerHook, createAgentUsageReminderHook, createNonInteractiveEnvHook, createInteractiveBashSessionHook, createRalphLoopHook, createEditErrorRecoveryHook, createDelegateTaskRetryHook, createTaskResumeInfoHook, createStartWorkHook, createPrometheusMdOnlyHook, createSisyphusJuniorNotepadHook, createQuestionLabelTruncatorHook, createPreemptiveCompactionHook } from "../../hooks";
|
|
4
|
+
import { createContextWindowMonitorHook, createSessionRecoveryHook, createSessionNotification, createThinkModeHook, createAnthropicContextWindowLimitRecoveryHook, createAutoUpdateCheckerHook, createAgentUsageReminderHook, createNonInteractiveEnvHook, createInteractiveBashSessionHook, createRalphLoopHook, createEditErrorRecoveryHook, createJsonErrorRecoveryHook, createDelegateTaskRetryHook, createTaskResumeInfoHook, createStartWorkHook, createPrometheusMdOnlyHook, createSisyphusJuniorNotepadHook, createSisyphusGptHephaestusReminderHook, createQuestionLabelTruncatorHook, createPreemptiveCompactionHook } from "../../hooks";
|
|
5
5
|
import { createAnthropicEffortHook } from "../../hooks/anthropic-effort";
|
|
6
6
|
export type SessionHooks = {
|
|
7
7
|
contextWindowMonitor: ReturnType<typeof createContextWindowMonitorHook> | null;
|
|
@@ -16,10 +16,12 @@ export type SessionHooks = {
|
|
|
16
16
|
interactiveBashSession: ReturnType<typeof createInteractiveBashSessionHook> | null;
|
|
17
17
|
ralphLoop: ReturnType<typeof createRalphLoopHook> | null;
|
|
18
18
|
editErrorRecovery: ReturnType<typeof createEditErrorRecoveryHook> | null;
|
|
19
|
+
jsonErrorRecovery: ReturnType<typeof createJsonErrorRecoveryHook> | null;
|
|
19
20
|
delegateTaskRetry: ReturnType<typeof createDelegateTaskRetryHook> | null;
|
|
20
21
|
startWork: ReturnType<typeof createStartWorkHook> | null;
|
|
21
22
|
prometheusMdOnly: ReturnType<typeof createPrometheusMdOnlyHook> | null;
|
|
22
23
|
sisyphusJuniorNotepad: ReturnType<typeof createSisyphusJuniorNotepadHook> | null;
|
|
24
|
+
sisyphusGptHephaestusReminder: ReturnType<typeof createSisyphusGptHephaestusReminderHook> | null;
|
|
23
25
|
questionLabelTruncator: ReturnType<typeof createQuestionLabelTruncatorHook>;
|
|
24
26
|
taskResumeInfo: ReturnType<typeof createTaskResumeInfoHook>;
|
|
25
27
|
anthropicEffort: ReturnType<typeof createAnthropicEffortHook> | null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "oh-my-opencode",
|
|
3
|
-
"version": "3.7.
|
|
3
|
+
"version": "3.7.2",
|
|
4
4
|
"description": "The Best AI Agent Harness - Batteries-Included OpenCode Plugin with Multi-Model Orchestration, Parallel Background Agents, and Crafted LSP/AST Tools",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -74,13 +74,13 @@
|
|
|
74
74
|
"typescript": "^5.7.3"
|
|
75
75
|
},
|
|
76
76
|
"optionalDependencies": {
|
|
77
|
-
"oh-my-opencode-darwin-arm64": "3.7.
|
|
78
|
-
"oh-my-opencode-darwin-x64": "3.7.
|
|
79
|
-
"oh-my-opencode-linux-arm64": "3.7.
|
|
80
|
-
"oh-my-opencode-linux-arm64-musl": "3.7.
|
|
81
|
-
"oh-my-opencode-linux-x64": "3.7.
|
|
82
|
-
"oh-my-opencode-linux-x64-musl": "3.7.
|
|
83
|
-
"oh-my-opencode-windows-x64": "3.7.
|
|
77
|
+
"oh-my-opencode-darwin-arm64": "3.7.2",
|
|
78
|
+
"oh-my-opencode-darwin-x64": "3.7.2",
|
|
79
|
+
"oh-my-opencode-linux-arm64": "3.7.2",
|
|
80
|
+
"oh-my-opencode-linux-arm64-musl": "3.7.2",
|
|
81
|
+
"oh-my-opencode-linux-x64": "3.7.2",
|
|
82
|
+
"oh-my-opencode-linux-x64-musl": "3.7.2",
|
|
83
|
+
"oh-my-opencode-windows-x64": "3.7.2"
|
|
84
84
|
},
|
|
85
85
|
"trustedDependencies": [
|
|
86
86
|
"@ast-grep/cli",
|