bopodev 0.1.9 → 0.1.11
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/LICENSE +1 -1
- package/dist/index.js +5 -1
- package/package.json +1 -1
package/LICENSE
CHANGED
package/dist/index.js
CHANGED
|
@@ -354,6 +354,7 @@ var defaultDeps = {
|
|
|
354
354
|
options: [
|
|
355
355
|
{ value: "codex", label: "Codex" },
|
|
356
356
|
{ value: "claude_code", label: "Claude Code" },
|
|
357
|
+
{ value: "opencode", label: "OpenCode" },
|
|
357
358
|
{ value: "shell", label: "Shell Runtime" }
|
|
358
359
|
]
|
|
359
360
|
});
|
|
@@ -546,7 +547,7 @@ function parseSeedResult(stdout) {
|
|
|
546
547
|
};
|
|
547
548
|
}
|
|
548
549
|
function parseAgentProvider(value) {
|
|
549
|
-
if (value === "codex" || value === "claude_code" || value === "shell") {
|
|
550
|
+
if (value === "codex" || value === "claude_code" || value === "opencode" || value === "shell") {
|
|
550
551
|
return value;
|
|
551
552
|
}
|
|
552
553
|
return null;
|
|
@@ -558,6 +559,9 @@ function formatAgentProvider(provider) {
|
|
|
558
559
|
if (provider === "claude_code") {
|
|
559
560
|
return "Claude Code";
|
|
560
561
|
}
|
|
562
|
+
if (provider === "opencode") {
|
|
563
|
+
return "OpenCode";
|
|
564
|
+
}
|
|
561
565
|
return "Shell Runtime";
|
|
562
566
|
}
|
|
563
567
|
async function fileExists2(path) {
|