@skj1724/oh-my-opencode 3.18.17 → 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 CHANGED
@@ -6736,10 +6736,10 @@ 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: "Sisyphus-Ultra Worker",
6740
- hephaestus: "Hephaestus-Deep Agent",
6741
- prometheus: "Prometheus-Planner",
6742
- atlas: "Atlas-Executer",
6739
+ sisyphus: "UltraWorker",
6740
+ hephaestus: "\u6DF1\u5EA6\u4EE3\u7406",
6741
+ prometheus: "\u89C4\u5212\u5927\u5E08",
6742
+ atlas: "\u6267\u884C\u8005",
6743
6743
  "sisyphus-junior": "Sisyphus-Junior",
6744
6744
  metis: "Metis-Consultant",
6745
6745
  momus: "Mom-Plan Critic",
@@ -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.17",
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,10 +2825,10 @@ 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: "Sisyphus-Ultra Worker",
2829
- hephaestus: "Hephaestus-Deep Agent",
2830
- prometheus: "Prometheus-Planner",
2831
- atlas: "Atlas-Executer",
2828
+ sisyphus: "UltraWorker",
2829
+ hephaestus: "\u6DF1\u5EA6\u4EE3\u7406",
2830
+ prometheus: "\u89C4\u5212\u5927\u5E08",
2831
+ atlas: "\u6267\u884C\u8005",
2832
2832
  "sisyphus-junior": "Sisyphus-Junior",
2833
2833
  metis: "Metis-Consultant",
2834
2834
  momus: "Mom-Plan Critic",
@@ -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.17",
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.17",
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,