oh-my-opencode 4.2.0 → 4.2.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/cli/index.js +12 -12
- package/dist/index.js +21 -3
- package/package.json +12 -12
package/dist/cli/index.js
CHANGED
|
@@ -54722,7 +54722,7 @@ var {
|
|
|
54722
54722
|
// package.json
|
|
54723
54723
|
var package_default = {
|
|
54724
54724
|
name: "oh-my-opencode",
|
|
54725
|
-
version: "4.2.
|
|
54725
|
+
version: "4.2.2",
|
|
54726
54726
|
description: "The Best AI Agent Harness - Batteries-Included OpenCode Plugin with Multi-Model Orchestration, Parallel Background Agents, and Crafted LSP/AST Tools",
|
|
54727
54727
|
main: "./dist/index.js",
|
|
54728
54728
|
types: "dist/index.d.ts",
|
|
@@ -54807,17 +54807,17 @@ var package_default = {
|
|
|
54807
54807
|
zod: "^4.4.3"
|
|
54808
54808
|
},
|
|
54809
54809
|
optionalDependencies: {
|
|
54810
|
-
"oh-my-opencode-darwin-arm64": "4.2.
|
|
54811
|
-
"oh-my-opencode-darwin-x64": "4.2.
|
|
54812
|
-
"oh-my-opencode-darwin-x64-baseline": "4.2.
|
|
54813
|
-
"oh-my-opencode-linux-arm64": "4.2.
|
|
54814
|
-
"oh-my-opencode-linux-arm64-musl": "4.2.
|
|
54815
|
-
"oh-my-opencode-linux-x64": "4.2.
|
|
54816
|
-
"oh-my-opencode-linux-x64-baseline": "4.2.
|
|
54817
|
-
"oh-my-opencode-linux-x64-musl": "4.2.
|
|
54818
|
-
"oh-my-opencode-linux-x64-musl-baseline": "4.2.
|
|
54819
|
-
"oh-my-opencode-windows-x64": "4.2.
|
|
54820
|
-
"oh-my-opencode-windows-x64-baseline": "4.2.
|
|
54810
|
+
"oh-my-opencode-darwin-arm64": "4.2.2",
|
|
54811
|
+
"oh-my-opencode-darwin-x64": "4.2.2",
|
|
54812
|
+
"oh-my-opencode-darwin-x64-baseline": "4.2.2",
|
|
54813
|
+
"oh-my-opencode-linux-arm64": "4.2.2",
|
|
54814
|
+
"oh-my-opencode-linux-arm64-musl": "4.2.2",
|
|
54815
|
+
"oh-my-opencode-linux-x64": "4.2.2",
|
|
54816
|
+
"oh-my-opencode-linux-x64-baseline": "4.2.2",
|
|
54817
|
+
"oh-my-opencode-linux-x64-musl": "4.2.2",
|
|
54818
|
+
"oh-my-opencode-linux-x64-musl-baseline": "4.2.2",
|
|
54819
|
+
"oh-my-opencode-windows-x64": "4.2.2",
|
|
54820
|
+
"oh-my-opencode-windows-x64-baseline": "4.2.2"
|
|
54821
54821
|
},
|
|
54822
54822
|
overrides: {
|
|
54823
54823
|
hono: "^4.12.18",
|
package/dist/index.js
CHANGED
|
@@ -89833,6 +89833,9 @@ async function injectBoulderContinuation(input) {
|
|
|
89833
89833
|
}
|
|
89834
89834
|
|
|
89835
89835
|
// src/hooks/atlas/resolve-active-boulder-session.ts
|
|
89836
|
+
function isInactiveBoulderStatus(status) {
|
|
89837
|
+
return status === "paused" || status === "abandoned";
|
|
89838
|
+
}
|
|
89836
89839
|
async function resolveActiveBoulderSession(input) {
|
|
89837
89840
|
const boulderState = readBoulderState(input.directory);
|
|
89838
89841
|
if (!boulderState) {
|
|
@@ -89857,6 +89860,9 @@ async function resolveActiveBoulderSession(input) {
|
|
|
89857
89860
|
worktree_path: sessionWork.worktree_path,
|
|
89858
89861
|
task_sessions: sessionWork.task_sessions ? { ...sessionWork.task_sessions } : {}
|
|
89859
89862
|
} : boulderState;
|
|
89863
|
+
if (isInactiveBoulderStatus(nextBoulderState.status)) {
|
|
89864
|
+
return null;
|
|
89865
|
+
}
|
|
89860
89866
|
const progress = getPlanProgress(sessionWork ? resolveBoulderPlanPathForWork(input.directory, sessionWork) : resolveBoulderPlanPath(input.directory, nextBoulderState));
|
|
89861
89867
|
if (progress.isComplete) {
|
|
89862
89868
|
return { boulderState: nextBoulderState, progress, appendedSession: false };
|
|
@@ -94465,7 +94471,7 @@ function createMessageUpdateHandler(deps, helpers) {
|
|
|
94465
94471
|
sessionAwaitingFallbackResult.delete(sessionID);
|
|
94466
94472
|
sessionStatusRetryKeys.delete(sessionID);
|
|
94467
94473
|
helpers.clearSessionFallbackTimeout(sessionID);
|
|
94468
|
-
|
|
94474
|
+
let state3 = sessionStates.get(sessionID);
|
|
94469
94475
|
if (state3?.pendingFallbackModel) {
|
|
94470
94476
|
state3.pendingFallbackModel = undefined;
|
|
94471
94477
|
}
|
|
@@ -94473,7 +94479,20 @@ function createMessageUpdateHandler(deps, helpers) {
|
|
|
94473
94479
|
return;
|
|
94474
94480
|
}
|
|
94475
94481
|
if (sessionID && role === "assistant" && error) {
|
|
94476
|
-
|
|
94482
|
+
let state3 = sessionStates.get(sessionID);
|
|
94483
|
+
const pendingFallbackModel = state3?.pendingFallbackModel;
|
|
94484
|
+
const wasAwaitingFallbackResult = sessionAwaitingFallbackResult.has(sessionID);
|
|
94485
|
+
if (wasAwaitingFallbackResult && pendingFallbackModel && !retrySignal && model !== pendingFallbackModel) {
|
|
94486
|
+
log(`[${HOOK_NAME11}] message.updated fallback skipped - awaiting fallback result`, {
|
|
94487
|
+
sessionID,
|
|
94488
|
+
pendingFallbackModel,
|
|
94489
|
+
model
|
|
94490
|
+
});
|
|
94491
|
+
return;
|
|
94492
|
+
}
|
|
94493
|
+
if (wasAwaitingFallbackResult) {
|
|
94494
|
+
sessionAwaitingFallbackResult.delete(sessionID);
|
|
94495
|
+
}
|
|
94477
94496
|
if (sessionRetryInFlight.has(sessionID) && !retrySignal) {
|
|
94478
94497
|
log(`[${HOOK_NAME11}] message.updated fallback skipped (retry in flight)`, { sessionID });
|
|
94479
94498
|
return;
|
|
@@ -94508,7 +94527,6 @@ function createMessageUpdateHandler(deps, helpers) {
|
|
|
94508
94527
|
});
|
|
94509
94528
|
return;
|
|
94510
94529
|
}
|
|
94511
|
-
let state3 = sessionStates.get(sessionID);
|
|
94512
94530
|
const agent = info?.agent;
|
|
94513
94531
|
const resolvedAgent = await helpers.resolveAgentForSessionFromContext(sessionID, agent);
|
|
94514
94532
|
const fallbackModels = getFallbackModelsForSession(sessionID, resolvedAgent, pluginConfig);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "oh-my-opencode",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.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",
|
|
@@ -85,17 +85,17 @@
|
|
|
85
85
|
"zod": "^4.4.3"
|
|
86
86
|
},
|
|
87
87
|
"optionalDependencies": {
|
|
88
|
-
"oh-my-opencode-darwin-arm64": "4.2.
|
|
89
|
-
"oh-my-opencode-darwin-x64": "4.2.
|
|
90
|
-
"oh-my-opencode-darwin-x64-baseline": "4.2.
|
|
91
|
-
"oh-my-opencode-linux-arm64": "4.2.
|
|
92
|
-
"oh-my-opencode-linux-arm64-musl": "4.2.
|
|
93
|
-
"oh-my-opencode-linux-x64": "4.2.
|
|
94
|
-
"oh-my-opencode-linux-x64-baseline": "4.2.
|
|
95
|
-
"oh-my-opencode-linux-x64-musl": "4.2.
|
|
96
|
-
"oh-my-opencode-linux-x64-musl-baseline": "4.2.
|
|
97
|
-
"oh-my-opencode-windows-x64": "4.2.
|
|
98
|
-
"oh-my-opencode-windows-x64-baseline": "4.2.
|
|
88
|
+
"oh-my-opencode-darwin-arm64": "4.2.2",
|
|
89
|
+
"oh-my-opencode-darwin-x64": "4.2.2",
|
|
90
|
+
"oh-my-opencode-darwin-x64-baseline": "4.2.2",
|
|
91
|
+
"oh-my-opencode-linux-arm64": "4.2.2",
|
|
92
|
+
"oh-my-opencode-linux-arm64-musl": "4.2.2",
|
|
93
|
+
"oh-my-opencode-linux-x64": "4.2.2",
|
|
94
|
+
"oh-my-opencode-linux-x64-baseline": "4.2.2",
|
|
95
|
+
"oh-my-opencode-linux-x64-musl": "4.2.2",
|
|
96
|
+
"oh-my-opencode-linux-x64-musl-baseline": "4.2.2",
|
|
97
|
+
"oh-my-opencode-windows-x64": "4.2.2",
|
|
98
|
+
"oh-my-opencode-windows-x64-baseline": "4.2.2"
|
|
99
99
|
},
|
|
100
100
|
"overrides": {
|
|
101
101
|
"hono": "^4.12.18",
|