oh-my-claude-sisyphus 3.0.2 → 3.0.4

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.
@@ -269,7 +269,7 @@ describe('Installer Constants', () => {
269
269
  });
270
270
  it('should match package.json version', () => {
271
271
  // This is a runtime check - VERSION should match the package.json
272
- expect(VERSION).toBe('3.0.2');
272
+ expect(VERSION).toBe('3.0.4');
273
273
  });
274
274
  });
275
275
  describe('File Paths', () => {
@@ -31,7 +31,7 @@ export declare const VERSION_FILE: string;
31
31
  */
32
32
  export declare const CORE_COMMANDS: string[];
33
33
  /** Current version */
34
- export declare const VERSION = "3.0.2";
34
+ export declare const VERSION = "3.0.4";
35
35
  /** Installation result */
36
36
  export interface InstallResult {
37
37
  success: boolean;
@@ -37,7 +37,7 @@ export const VERSION_FILE = join(CLAUDE_CONFIG_DIR, '.omc-version.json');
37
37
  */
38
38
  export const CORE_COMMANDS = [];
39
39
  /** Current version */
40
- export const VERSION = '3.0.2';
40
+ export const VERSION = '3.0.4';
41
41
  /**
42
42
  * Check if the current Node.js version meets the minimum requirement
43
43
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oh-my-claude-sisyphus",
3
- "version": "3.0.2",
3
+ "version": "3.0.4",
4
4
  "description": "Multi-agent orchestration system for Claude Code - Inspired by oh-my-opencode",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -3,7 +3,6 @@
3
3
  * Plugin Post-Install Setup
4
4
  *
5
5
  * Configures HUD statusline when plugin is installed.
6
- * This runs after `claude plugin install oh-my-claude-sisyphus`
7
6
  */
8
7
 
9
8
  import { existsSync, mkdirSync, writeFileSync, readFileSync, readdirSync, chmodSync } from 'node:fs';
@@ -40,8 +39,8 @@ import { join } from "node:path";
40
39
  async function main() {
41
40
  const home = homedir();
42
41
 
43
- // 1. Try plugin cache first (npm package name: oh-my-claude-sisyphus)
44
- const pluginCacheBase = join(home, ".claude/plugins/cache/oh-my-claude-sisyphus/oh-my-claude-sisyphus");
42
+ // 1. Try plugin cache first (marketplace: omc, plugin: oh-my-claudecode)
43
+ const pluginCacheBase = join(home, ".claude/plugins/cache/omc/oh-my-claudecode");
45
44
  if (existsSync(pluginCacheBase)) {
46
45
  try {
47
46
  const versions = readdirSync(pluginCacheBase);
@@ -56,7 +55,7 @@ async function main() {
56
55
  } catch { /* continue */ }
57
56
  }
58
57
 
59
- // 2. Development paths (try both old and new directory names)
58
+ // 2. Development paths
60
59
  const devPaths = [
61
60
  join(home, "Workspace/oh-my-claude-sisyphus/dist/hud/index.js"),
62
61
  join(home, "workspace/oh-my-claude-sisyphus/dist/hud/index.js"),
@@ -93,20 +92,13 @@ try {
93
92
  settings = JSON.parse(readFileSync(SETTINGS_FILE, 'utf-8'));
94
93
  }
95
94
 
96
- // Add statusLine if not configured or update old path
97
- const needsUpdate = !settings.statusLine ||
98
- (settings.statusLine.command && settings.statusLine.command.includes('sisyphus-hud.mjs'));
99
-
100
- if (needsUpdate) {
101
- settings.statusLine = {
102
- type: 'command',
103
- command: `node ${hudScriptPath}`
104
- };
105
- writeFileSync(SETTINGS_FILE, JSON.stringify(settings, null, 2));
106
- console.log('[OMC] Configured HUD statusLine in settings.json');
107
- } else {
108
- console.log('[OMC] statusLine already configured, skipping');
109
- }
95
+ // Update statusLine to use new HUD path
96
+ settings.statusLine = {
97
+ type: 'command',
98
+ command: `node ${hudScriptPath}`
99
+ };
100
+ writeFileSync(SETTINGS_FILE, JSON.stringify(settings, null, 2));
101
+ console.log('[OMC] Configured HUD statusLine in settings.json');
110
102
  } catch (e) {
111
103
  console.log('[OMC] Warning: Could not configure settings.json:', e.message);
112
104
  }