@skj1724/oh-my-opencode 3.18.16 → 3.18.18
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 +9 -9
- package/package.json +1 -1
- package/postinstall.mjs +16 -0
package/dist/cli/index.js
CHANGED
|
@@ -6736,14 +6736,14 @@ function getAgentConfigKey(agentName) {
|
|
|
6736
6736
|
var AGENT_DISPLAY_NAMES, AGENT_LIST_SORT_PREFIXES, INVISIBLE_AGENT_CHARACTERS_REGEX, REVERSE_DISPLAY_NAMES, LEGACY_DISPLAY_NAMES;
|
|
6737
6737
|
var init_agent_display_names = __esm(() => {
|
|
6738
6738
|
AGENT_DISPLAY_NAMES = {
|
|
6739
|
-
sisyphus: "
|
|
6740
|
-
hephaestus: "
|
|
6741
|
-
prometheus: "
|
|
6742
|
-
atlas: "
|
|
6743
|
-
"sisyphus-junior": "
|
|
6744
|
-
metis: "
|
|
6745
|
-
momus: "Mom-
|
|
6746
|
-
athena: "
|
|
6739
|
+
sisyphus: "UltraWorker",
|
|
6740
|
+
hephaestus: "\u6DF1\u5EA6\u4EE3\u7406",
|
|
6741
|
+
prometheus: "\u89C4\u5212\u5927\u5E08",
|
|
6742
|
+
atlas: "\u6267\u884C\u8005",
|
|
6743
|
+
"sisyphus-junior": "Sisyphus-Junior",
|
|
6744
|
+
metis: "Metis-Consultant",
|
|
6745
|
+
momus: "Mom-Plan Critic",
|
|
6746
|
+
athena: "Athena-Council",
|
|
6747
6747
|
"athena-junior": "Athena-Junior",
|
|
6748
6748
|
oracle: "oracle",
|
|
6749
6749
|
librarian: "librarian",
|
|
@@ -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.18",
|
|
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",
|
package/dist/index.js
CHANGED
|
@@ -2825,14 +2825,14 @@ function normalizeAgentForPromptKey(agentName) {
|
|
|
2825
2825
|
var AGENT_DISPLAY_NAMES, AGENT_LIST_SORT_PREFIXES, INVISIBLE_AGENT_CHARACTERS_REGEX, REVERSE_DISPLAY_NAMES, LEGACY_DISPLAY_NAMES;
|
|
2826
2826
|
var init_agent_display_names = __esm(() => {
|
|
2827
2827
|
AGENT_DISPLAY_NAMES = {
|
|
2828
|
-
sisyphus: "
|
|
2829
|
-
hephaestus: "
|
|
2830
|
-
prometheus: "
|
|
2831
|
-
atlas: "
|
|
2832
|
-
"sisyphus-junior": "
|
|
2833
|
-
metis: "
|
|
2834
|
-
momus: "Mom-
|
|
2835
|
-
athena: "
|
|
2828
|
+
sisyphus: "UltraWorker",
|
|
2829
|
+
hephaestus: "\u6DF1\u5EA6\u4EE3\u7406",
|
|
2830
|
+
prometheus: "\u89C4\u5212\u5927\u5E08",
|
|
2831
|
+
atlas: "\u6267\u884C\u8005",
|
|
2832
|
+
"sisyphus-junior": "Sisyphus-Junior",
|
|
2833
|
+
metis: "Metis-Consultant",
|
|
2834
|
+
momus: "Mom-Plan Critic",
|
|
2835
|
+
athena: "Athena-Council",
|
|
2836
2836
|
"athena-junior": "Athena-Junior",
|
|
2837
2837
|
oracle: "oracle",
|
|
2838
2838
|
librarian: "librarian",
|
|
@@ -131004,7 +131004,7 @@ class PostHog extends PostHogBackendClient {
|
|
|
131004
131004
|
// package.json
|
|
131005
131005
|
var package_default = {
|
|
131006
131006
|
name: "@skj1724/oh-my-opencode",
|
|
131007
|
-
version: "3.18.
|
|
131007
|
+
version: "3.18.18",
|
|
131008
131008
|
description: "The Best AI Agent Harness - Batteries-Included OpenCode Plugin with Multi-Model Orchestration, Parallel Background Agents, and Crafted LSP/AST Tools",
|
|
131009
131009
|
main: "./dist/index.js",
|
|
131010
131010
|
types: "dist/index.d.ts",
|
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.18",
|
|
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",
|
package/postinstall.mjs
CHANGED
|
@@ -99,6 +99,22 @@ 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
|
+
|
|
102
118
|
try {
|
|
103
119
|
const packageCandidates = getPlatformPackageCandidates({
|
|
104
120
|
platform,
|