oh-my-opencode 3.2.0 → 3.2.1
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 +9 -9
- package/dist/index.js +6 -4
- package/package.json +8 -8
package/dist/cli/index.js
CHANGED
|
@@ -6359,7 +6359,7 @@ function isProviderAvailable(provider, avail) {
|
|
|
6359
6359
|
}
|
|
6360
6360
|
function transformModelForProvider(provider, model) {
|
|
6361
6361
|
if (provider === "github-copilot") {
|
|
6362
|
-
return model.replace("claude-opus-4-5", "claude-opus-4.5").replace("claude-sonnet-4-5", "claude-sonnet-4.5").replace("claude-haiku-4-5", "claude-haiku-4.5").replace("claude-sonnet-4", "claude-sonnet-4");
|
|
6362
|
+
return model.replace("claude-opus-4-5", "claude-opus-4.5").replace("claude-sonnet-4-5", "claude-sonnet-4.5").replace("claude-haiku-4-5", "claude-haiku-4.5").replace("claude-sonnet-4", "claude-sonnet-4").replace("gemini-3-pro", "gemini-3-pro-preview").replace("gemini-3-flash", "gemini-3-flash-preview");
|
|
6363
6363
|
}
|
|
6364
6364
|
return model;
|
|
6365
6365
|
}
|
|
@@ -8160,7 +8160,7 @@ var import_picocolors2 = __toESM(require_picocolors(), 1);
|
|
|
8160
8160
|
// package.json
|
|
8161
8161
|
var package_default = {
|
|
8162
8162
|
name: "oh-my-opencode",
|
|
8163
|
-
version: "3.2.
|
|
8163
|
+
version: "3.2.1",
|
|
8164
8164
|
description: "The Best AI Agent Harness - Batteries-Included OpenCode Plugin with Multi-Model Orchestration, Parallel Background Agents, and Crafted LSP/AST Tools",
|
|
8165
8165
|
main: "dist/index.js",
|
|
8166
8166
|
types: "dist/index.d.ts",
|
|
@@ -8234,13 +8234,13 @@ var package_default = {
|
|
|
8234
8234
|
typescript: "^5.7.3"
|
|
8235
8235
|
},
|
|
8236
8236
|
optionalDependencies: {
|
|
8237
|
-
"oh-my-opencode-darwin-arm64": "3.2.
|
|
8238
|
-
"oh-my-opencode-darwin-x64": "3.2.
|
|
8239
|
-
"oh-my-opencode-linux-arm64": "3.2.
|
|
8240
|
-
"oh-my-opencode-linux-arm64-musl": "3.2.
|
|
8241
|
-
"oh-my-opencode-linux-x64": "3.2.
|
|
8242
|
-
"oh-my-opencode-linux-x64-musl": "3.2.
|
|
8243
|
-
"oh-my-opencode-windows-x64": "3.2.
|
|
8237
|
+
"oh-my-opencode-darwin-arm64": "3.2.1",
|
|
8238
|
+
"oh-my-opencode-darwin-x64": "3.2.1",
|
|
8239
|
+
"oh-my-opencode-linux-arm64": "3.2.1",
|
|
8240
|
+
"oh-my-opencode-linux-arm64-musl": "3.2.1",
|
|
8241
|
+
"oh-my-opencode-linux-x64": "3.2.1",
|
|
8242
|
+
"oh-my-opencode-linux-x64-musl": "3.2.1",
|
|
8243
|
+
"oh-my-opencode-windows-x64": "3.2.1"
|
|
8244
8244
|
},
|
|
8245
8245
|
trustedDependencies: [
|
|
8246
8246
|
"@ast-grep/cli",
|
package/dist/index.js
CHANGED
|
@@ -49656,6 +49656,9 @@ class BackgroundManager {
|
|
|
49656
49656
|
await this.startTask(item);
|
|
49657
49657
|
} catch (error45) {
|
|
49658
49658
|
log("[background-agent] Error starting task:", error45);
|
|
49659
|
+
if (!item.task.concurrencyKey) {
|
|
49660
|
+
this.concurrencyManager.release(key);
|
|
49661
|
+
}
|
|
49659
49662
|
}
|
|
49660
49663
|
queue.shift();
|
|
49661
49664
|
}
|
|
@@ -49690,14 +49693,13 @@ class BackgroundManager {
|
|
|
49690
49693
|
query: {
|
|
49691
49694
|
directory: parentDirectory
|
|
49692
49695
|
}
|
|
49693
|
-
}).catch((error45) => {
|
|
49694
|
-
this.concurrencyManager.release(concurrencyKey);
|
|
49695
|
-
throw error45;
|
|
49696
49696
|
});
|
|
49697
49697
|
if (createResult.error) {
|
|
49698
|
-
this.concurrencyManager.release(concurrencyKey);
|
|
49699
49698
|
throw new Error(`Failed to create background session: ${createResult.error}`);
|
|
49700
49699
|
}
|
|
49700
|
+
if (!createResult.data?.id) {
|
|
49701
|
+
throw new Error("Failed to create background session: API returned no session ID");
|
|
49702
|
+
}
|
|
49701
49703
|
const sessionID = createResult.data.id;
|
|
49702
49704
|
subagentSessions.add(sessionID);
|
|
49703
49705
|
log("[background-agent] tmux callback check", {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "oh-my-opencode",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.1",
|
|
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.2.
|
|
78
|
-
"oh-my-opencode-darwin-x64": "3.2.
|
|
79
|
-
"oh-my-opencode-linux-arm64": "3.2.
|
|
80
|
-
"oh-my-opencode-linux-arm64-musl": "3.2.
|
|
81
|
-
"oh-my-opencode-linux-x64": "3.2.
|
|
82
|
-
"oh-my-opencode-linux-x64-musl": "3.2.
|
|
83
|
-
"oh-my-opencode-windows-x64": "3.2.
|
|
77
|
+
"oh-my-opencode-darwin-arm64": "3.2.1",
|
|
78
|
+
"oh-my-opencode-darwin-x64": "3.2.1",
|
|
79
|
+
"oh-my-opencode-linux-arm64": "3.2.1",
|
|
80
|
+
"oh-my-opencode-linux-arm64-musl": "3.2.1",
|
|
81
|
+
"oh-my-opencode-linux-x64": "3.2.1",
|
|
82
|
+
"oh-my-opencode-linux-x64-musl": "3.2.1",
|
|
83
|
+
"oh-my-opencode-windows-x64": "3.2.1"
|
|
84
84
|
},
|
|
85
85
|
"trustedDependencies": [
|
|
86
86
|
"@ast-grep/cli",
|