oh-my-claude-sisyphus 3.0.1 → 3.0.3

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.1');
272
+ expect(VERSION).toBe('3.0.3');
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.1";
34
+ export declare const VERSION = "3.0.3";
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.1';
40
+ export const VERSION = '3.0.3';
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.1",
3
+ "version": "3.0.3",
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-claudecode@oh-my-claudecode`
7
6
  */
8
7
 
9
8
  import { existsSync, mkdirSync, writeFileSync, readFileSync, readdirSync, chmodSync } from 'node:fs';
@@ -18,7 +17,7 @@ const CLAUDE_DIR = join(homedir(), '.claude');
18
17
  const HUD_DIR = join(CLAUDE_DIR, 'hud');
19
18
  const SETTINGS_FILE = join(CLAUDE_DIR, 'settings.json');
20
19
 
21
- console.log('[Sisyphus] Running post-install setup...');
20
+ console.log('[OMC] Running post-install setup...');
22
21
 
23
22
  // 1. Create HUD directory
24
23
  if (!existsSync(HUD_DIR)) {
@@ -26,10 +25,10 @@ if (!existsSync(HUD_DIR)) {
26
25
  }
27
26
 
28
27
  // 2. Create HUD wrapper script
29
- const hudScriptPath = join(HUD_DIR, 'sisyphus-hud.mjs');
28
+ const hudScriptPath = join(HUD_DIR, 'omc-hud.mjs');
30
29
  const hudScript = `#!/usr/bin/env node
31
30
  /**
32
- * Sisyphus HUD - Statusline Script
31
+ * OMC HUD - Statusline Script
33
32
  * Wrapper that imports from plugin cache or development paths
34
33
  */
35
34
 
@@ -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 (preferred for 3.0.0+)
44
- const pluginCacheBase = join(home, ".claude/plugins/cache/oh-my-claudecode/oh-my-claudecode");
42
+ // 1. Try plugin cache first (npm package: oh-my-claude-sisyphus)
43
+ const pluginCacheBase = join(home, ".claude/plugins/cache/oh-my-claude-sisyphus/oh-my-claude-sisyphus");
45
44
  if (existsSync(pluginCacheBase)) {
46
45
  try {
47
46
  const versions = readdirSync(pluginCacheBase);
@@ -58,8 +57,8 @@ async function main() {
58
57
 
59
58
  // 2. Development paths
60
59
  const devPaths = [
61
- join(home, "Workspace/oh-my-claudecode/dist/hud/index.js"),
62
- join(home, "workspace/oh-my-claudecode/dist/hud/index.js"),
60
+ join(home, "Workspace/oh-my-claude-sisyphus/dist/hud/index.js"),
61
+ join(home, "workspace/oh-my-claude-sisyphus/dist/hud/index.js"),
63
62
  ];
64
63
 
65
64
  for (const devPath of devPaths) {
@@ -72,7 +71,7 @@ async function main() {
72
71
  }
73
72
 
74
73
  // 3. Fallback
75
- console.log("[SISYPHUS] active");
74
+ console.log("[OMC] active");
76
75
  }
77
76
 
78
77
  main();
@@ -82,7 +81,7 @@ writeFileSync(hudScriptPath, hudScript);
82
81
  try {
83
82
  chmodSync(hudScriptPath, 0o755);
84
83
  } catch { /* Windows doesn't need this */ }
85
- console.log('[Sisyphus] Installed HUD wrapper script');
84
+ console.log('[OMC] Installed HUD wrapper script');
86
85
 
87
86
  // 3. Configure settings.json
88
87
  try {
@@ -91,19 +90,15 @@ try {
91
90
  settings = JSON.parse(readFileSync(SETTINGS_FILE, 'utf-8'));
92
91
  }
93
92
 
94
- // Add statusLine if not configured
95
- if (!settings.statusLine) {
96
- settings.statusLine = {
97
- type: 'command',
98
- command: `node ${hudScriptPath}`
99
- };
100
- writeFileSync(SETTINGS_FILE, JSON.stringify(settings, null, 2));
101
- console.log('[Sisyphus] Configured HUD statusLine in settings.json');
102
- } else {
103
- console.log('[Sisyphus] statusLine already configured, skipping');
104
- }
93
+ // Update statusLine to use new HUD path
94
+ settings.statusLine = {
95
+ type: 'command',
96
+ command: `node ${hudScriptPath}`
97
+ };
98
+ writeFileSync(SETTINGS_FILE, JSON.stringify(settings, null, 2));
99
+ console.log('[OMC] Configured HUD statusLine in settings.json');
105
100
  } catch (e) {
106
- console.log('[Sisyphus] Warning: Could not configure settings.json:', e.message);
101
+ console.log('[OMC] Warning: Could not configure settings.json:', e.message);
107
102
  }
108
103
 
109
- console.log('[Sisyphus] Setup complete! Restart Claude Code to activate HUD.');
104
+ console.log('[OMC] Setup complete! Restart Claude Code to activate HUD.');