@skj1724/oh-my-opencode 3.18.19 → 3.18.20
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/bin/oh-my-opencode.js
CHANGED
|
@@ -74,7 +74,7 @@ function getSignalExitCode(signal) {
|
|
|
74
74
|
function getPackageBaseName() {
|
|
75
75
|
try {
|
|
76
76
|
const packageJson = JSON.parse(readFileSync(new URL("../package.json", import.meta.url), "utf8"));
|
|
77
|
-
return packageJson.name || "oh-my-opencode";
|
|
77
|
+
return packageJson.name || "oh-my-opencode"||"@skj1724/oh-my-opencode";
|
|
78
78
|
} catch {
|
|
79
79
|
return "oh-my-opencode";
|
|
80
80
|
}
|
package/bin/platform.js
CHANGED
|
@@ -27,7 +27,7 @@ export function getPlatformPackage({ platform, arch, libcFamily, packageBaseName
|
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
/** @param {{ platform: string, arch: string, libcFamily?: string | null, preferBaseline?: boolean, packageBaseName?: string }} options */
|
|
30
|
-
export function getPlatformPackageCandidates({ platform, arch, libcFamily, preferBaseline = false, packageBaseName = "oh-my-opencode" }) {
|
|
30
|
+
export function getPlatformPackageCandidates({ platform, arch, libcFamily, preferBaseline = false, packageBaseName = "@skj1724/oh-my-opencode" }) {
|
|
31
31
|
const primaryPackage = getPlatformPackage({ platform, arch, libcFamily, packageBaseName });
|
|
32
32
|
const baselinePackage = getBaselinePlatformPackage({ platform, arch, libcFamily, packageBaseName });
|
|
33
33
|
|
|
@@ -39,7 +39,7 @@ export function getPlatformPackageCandidates({ platform, arch, libcFamily, prefe
|
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
/** @param {{ platform: string, arch: string, libcFamily?: string | null, packageBaseName?: string }} options */
|
|
42
|
-
function getBaselinePlatformPackage({ platform, arch, libcFamily, packageBaseName = "oh-my-opencode" }) {
|
|
42
|
+
function getBaselinePlatformPackage({ platform, arch, libcFamily, packageBaseName = "@skj1724/oh-my-opencode" }) {
|
|
43
43
|
if (arch !== "x64") {
|
|
44
44
|
return null;
|
|
45
45
|
}
|
package/dist/cli/index.js
CHANGED
|
@@ -53770,7 +53770,7 @@ var {
|
|
|
53770
53770
|
// package.json
|
|
53771
53771
|
var package_default = {
|
|
53772
53772
|
name: "@skj1724/oh-my-opencode",
|
|
53773
|
-
version: "3.18.
|
|
53773
|
+
version: "3.18.20",
|
|
53774
53774
|
description: "The Best AI Agent Harness - Batteries-Included OpenCode Plugin with Multi-Model Orchestration, Parallel Background Agents, and Crafted LSP/AST Tools",
|
|
53775
53775
|
main: "./dist/index.js",
|
|
53776
53776
|
types: "dist/index.d.ts",
|
|
@@ -53851,7 +53851,7 @@ var package_default = {
|
|
|
53851
53851
|
"oh-my-opencode-linux-x64-baseline": "3.17.4",
|
|
53852
53852
|
"oh-my-opencode-linux-x64-musl": "3.17.4",
|
|
53853
53853
|
"oh-my-opencode-linux-x64-musl-baseline": "3.17.4",
|
|
53854
|
-
"@skj1724/oh-my-opencode-windows-x64": "3.
|
|
53854
|
+
"@skj1724/oh-my-opencode-windows-x64": "3.18.19",
|
|
53855
53855
|
"oh-my-opencode-windows-x64-baseline": "3.17.4"
|
|
53856
53856
|
},
|
|
53857
53857
|
overrides: {},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const OPEN_PLAN_TEMPLATE = "You are executing the /open-plan command.\n\n## WHAT TO DO\n\n1. **Read the current boulder state**: Read `.sisyphus/boulder.json` to find the active plan path.\n\n2. **Check if active plan exists**:\n - If `active_plan` field exists and is not empty \u2192 proceed to step 3\n - If no active plan (file doesn't exist, or `active_plan` is null/empty) \u2192 output error and stop\n\n3. **
|
|
1
|
+
export declare const OPEN_PLAN_TEMPLATE = "You are executing the /open-plan command.\n\n## WHAT TO DO\n\n1. **Read the current boulder state**: Read `.sisyphus/boulder.json` to find the active plan path.\n\n2. **Check if active plan exists**:\n - If `active_plan` field exists and is not empty \u2192 proceed to step 3\n - If no active plan (file doesn't exist, or `active_plan` is null/empty) \u2192 output error and stop\n\n3. **Output the /editor command**:\n Output exactly the following format (replace with actual path):\n `/editor <active_plan_path>`\n\n For example, if the active plan is `C:/projects/myproject/.sisyphus/plans/my-feature.md`, output:\n `/editor C:/projects/myproject/.sisyphus/plans/my-feature.md`\n\n## ERROR HANDLING\n\nIf no active plan exists, output exactly:\n```\nNo active plan. Use /start-work to set a plan first.\n```\n\n## EXAMPLE\n\nIf `.sisyphus/boulder.json` contains:\n```json\n{\n \"active_plan\": \"C:/projects/myproject/.sisyphus/plans/my-feature.md\",\n \"plan_name\": \"my-feature\"\n}\n```\n\nOutput:\n`/editor C:/projects/myproject/.sisyphus/plans/my-feature.md`";
|
package/dist/index.js
CHANGED
|
@@ -84046,29 +84046,12 @@ var OPEN_PLAN_TEMPLATE = `You are executing the /open-plan command.
|
|
|
84046
84046
|
- If \`active_plan\` field exists and is not empty \u2192 proceed to step 3
|
|
84047
84047
|
- If no active plan (file doesn't exist, or \`active_plan\` is null/empty) \u2192 output error and stop
|
|
84048
84048
|
|
|
84049
|
-
3. **
|
|
84050
|
-
|
|
84049
|
+
3. **Output the /editor command**:
|
|
84050
|
+
Output exactly the following format (replace with actual path):
|
|
84051
|
+
\`/editor <active_plan_path>\`
|
|
84051
84052
|
|
|
84052
|
-
|
|
84053
|
-
|
|
84054
|
-
start "" "C:/path/to/plan.md"
|
|
84055
|
-
\`\`\`
|
|
84056
|
-
|
|
84057
|
-
**macOS:**
|
|
84058
|
-
\`\`\`bash
|
|
84059
|
-
open "/path/to/plan.md"
|
|
84060
|
-
\`\`\`
|
|
84061
|
-
|
|
84062
|
-
**Linux:**
|
|
84063
|
-
\`\`\`bash
|
|
84064
|
-
xdg-open "/path/to/plan.md"
|
|
84065
|
-
\`\`\`
|
|
84066
|
-
|
|
84067
|
-
Replace the path with the actual \`active_plan\` path from boulder.json.
|
|
84068
|
-
|
|
84069
|
-
4. **Report success**:
|
|
84070
|
-
- If file was opened successfully, output: "Opened plan file: {plan-name}"
|
|
84071
|
-
- If there was an error opening the file, report the error
|
|
84053
|
+
For example, if the active plan is \`C:/projects/myproject/.sisyphus/plans/my-feature.md\`, output:
|
|
84054
|
+
\`/editor C:/projects/myproject/.sisyphus/plans/my-feature.md\`
|
|
84072
84055
|
|
|
84073
84056
|
## ERROR HANDLING
|
|
84074
84057
|
|
|
@@ -84087,20 +84070,8 @@ If \`.sisyphus/boulder.json\` contains:
|
|
|
84087
84070
|
}
|
|
84088
84071
|
\`\`\`
|
|
84089
84072
|
|
|
84090
|
-
|
|
84091
|
-
|
|
84092
|
-
start "" "C:/projects/myproject/.sisyphus/plans/my-feature.md"
|
|
84093
|
-
\`\`\`
|
|
84094
|
-
|
|
84095
|
-
On macOS, execute:
|
|
84096
|
-
\`\`\`bash
|
|
84097
|
-
open "C:/projects/myproject/.sisyphus/plans/my-feature.md"
|
|
84098
|
-
\`\`\`
|
|
84099
|
-
|
|
84100
|
-
On Linux, execute:
|
|
84101
|
-
\`\`\`bash
|
|
84102
|
-
xdg-open "C:/projects/myproject/.sisyphus/plans/my-feature.md"
|
|
84103
|
-
\`\`\``;
|
|
84073
|
+
Output:
|
|
84074
|
+
\`/editor C:/projects/myproject/.sisyphus/plans/my-feature.md\``;
|
|
84104
84075
|
|
|
84105
84076
|
// src/features/builtin-commands/commands.ts
|
|
84106
84077
|
function resolveStartWorkAgent(options) {
|
|
@@ -131004,7 +130975,7 @@ class PostHog extends PostHogBackendClient {
|
|
|
131004
130975
|
// package.json
|
|
131005
130976
|
var package_default = {
|
|
131006
130977
|
name: "@skj1724/oh-my-opencode",
|
|
131007
|
-
version: "3.18.
|
|
130978
|
+
version: "3.18.20",
|
|
131008
130979
|
description: "The Best AI Agent Harness - Batteries-Included OpenCode Plugin with Multi-Model Orchestration, Parallel Background Agents, and Crafted LSP/AST Tools",
|
|
131009
130980
|
main: "./dist/index.js",
|
|
131010
130981
|
types: "dist/index.d.ts",
|
|
@@ -131085,7 +131056,7 @@ var package_default = {
|
|
|
131085
131056
|
"oh-my-opencode-linux-x64-baseline": "3.17.4",
|
|
131086
131057
|
"oh-my-opencode-linux-x64-musl": "3.17.4",
|
|
131087
131058
|
"oh-my-opencode-linux-x64-musl-baseline": "3.17.4",
|
|
131088
|
-
"@skj1724/oh-my-opencode-windows-x64": "3.
|
|
131059
|
+
"@skj1724/oh-my-opencode-windows-x64": "3.18.19",
|
|
131089
131060
|
"oh-my-opencode-windows-x64-baseline": "3.17.4"
|
|
131090
131061
|
},
|
|
131091
131062
|
overrides: {},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skj1724/oh-my-opencode",
|
|
3
|
-
"version": "3.18.
|
|
3
|
+
"version": "3.18.20",
|
|
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",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"oh-my-opencode-linux-x64-baseline": "3.17.4",
|
|
82
82
|
"oh-my-opencode-linux-x64-musl": "3.17.4",
|
|
83
83
|
"oh-my-opencode-linux-x64-musl-baseline": "3.17.4",
|
|
84
|
-
"@skj1724/oh-my-opencode-windows-x64": "3.
|
|
84
|
+
"@skj1724/oh-my-opencode-windows-x64": "3.18.19",
|
|
85
85
|
"oh-my-opencode-windows-x64-baseline": "3.17.4"
|
|
86
86
|
},
|
|
87
87
|
"overrides": {},
|
package/postinstall.mjs
CHANGED
|
@@ -80,7 +80,7 @@ function getLibcFamily() {
|
|
|
80
80
|
function getPackageBaseName() {
|
|
81
81
|
try {
|
|
82
82
|
const packageJson = JSON.parse(readFileSync(new URL("./package.json", import.meta.url), "utf8"));
|
|
83
|
-
return packageJson.name || "oh-my-opencode";
|
|
83
|
+
return packageJson.name || "oh-my-opencode" || "@skj1724/oh-my-opencode";
|
|
84
84
|
} catch {
|
|
85
85
|
return "oh-my-opencode";
|
|
86
86
|
}
|
|
@@ -99,22 +99,6 @@ function main() {
|
|
|
99
99
|
console.warn(` Please update OpenCode to avoid compatibility issues.`);
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
-
// Detect if running in own workspace - skip binary check to avoid
|
|
103
|
-
// triggering npm install loop (npm would add self-referential dependency)
|
|
104
|
-
const isOwnWorkspace = (() => {
|
|
105
|
-
try {
|
|
106
|
-
const pkg = JSON.parse(readFileSync(new URL("./package.json", import.meta.url), "utf8"));
|
|
107
|
-
return pkg.name === "@skj1724/oh-my-opencode";
|
|
108
|
-
} catch {
|
|
109
|
-
return false;
|
|
110
|
-
}
|
|
111
|
-
})();
|
|
112
|
-
|
|
113
|
-
if (isOwnWorkspace) {
|
|
114
|
-
console.log(`✓ ${packageBaseName} postinstall skipped (own workspace)`);
|
|
115
|
-
return;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
102
|
try {
|
|
119
103
|
const packageCandidates = getPlatformPackageCandidates({
|
|
120
104
|
platform,
|