olympus-ai 2.6.1 → 2.6.2

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.
@@ -24,7 +24,7 @@ export declare const HOOKS_DIR: string;
24
24
  export declare const SETTINGS_FILE: string;
25
25
  export declare const VERSION_FILE: string;
26
26
  /** Current version - MUST match package.json */
27
- export declare const VERSION = "2.6.1";
27
+ export declare const VERSION = "2.6.2";
28
28
  /** Installation result */
29
29
  export interface InstallResult {
30
30
  success: boolean;
@@ -29,7 +29,7 @@ export const HOOKS_DIR = join(CLAUDE_CONFIG_DIR, 'hooks');
29
29
  export const SETTINGS_FILE = join(CLAUDE_CONFIG_DIR, 'settings.json');
30
30
  export const VERSION_FILE = join(CLAUDE_CONFIG_DIR, '.olympus-version.json');
31
31
  /** Current version - MUST match package.json */
32
- export const VERSION = '2.6.1';
32
+ export const VERSION = '2.6.2';
33
33
  /**
34
34
  * Check if the current Node.js version meets the minimum requirement
35
35
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "olympus-ai",
3
- "version": "2.6.1",
3
+ "version": "2.6.2",
4
4
  "description": "Olympus: Multi-agent orchestration for Claude Code. Only the worthy ascend.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -1049,16 +1049,20 @@ I will check for available updates to Olympus.
1049
1049
 
1050
1050
  ### Update Methods
1051
1051
 
1052
- **Automatic (Recommended):**
1053
- Run the install script to update:
1052
+ **npm (Recommended):**
1054
1053
  \`\`\`bash
1055
- curl -fsSL https://raw.githubusercontent.com/mikev10/olympus/main/scripts/install.sh | bash
1054
+ npm update -g olympus-ai
1055
+ olympus-ai install --force
1056
1056
  \`\`\`
1057
1057
 
1058
- **Manual:**
1059
- 1. Check your current version in \`~/.claude/.olympus-version.json\`
1060
- 2. Visit https://github.com/mikev10/olympus/releases
1061
- 3. Download and run the install script from the latest release
1058
+ **Alternative (install script):**
1059
+ \`\`\`bash
1060
+ # macOS/Linux
1061
+ curl -fsSL https://raw.githubusercontent.com/mikev10/olympus/main/scripts/install.sh | bash
1062
+
1063
+ # Windows (PowerShell)
1064
+ irm https://raw.githubusercontent.com/mikev10/olympus/main/scripts/install.ps1 | iex
1065
+ \`\`\`
1062
1066
 
1063
1067
  ### Version Info Location
1064
1068
 
@@ -1842,7 +1846,12 @@ else
1842
1846
  fi
1843
1847
 
1844
1848
  # Save version metadata for auto-update system
1845
- VERSION="2.0.4"
1849
+ # Fetch current version from GitHub package.json
1850
+ VERSION=$(curl -fsSL --connect-timeout 5 --max-time 10 "https://raw.githubusercontent.com/mikev10/olympus/main/package.json" 2>/dev/null | grep -o '"version"[[:space:]]*:[[:space:]]*"[^"]*"' | head -1 | sed 's/.*"\([^"]*\)"$/\1/')
1851
+ if [ -z "$VERSION" ]; then
1852
+ VERSION="unknown"
1853
+ echo -e "${YELLOW}⚠ Could not fetch version from GitHub, using 'unknown'${NC}"
1854
+ fi
1846
1855
  VERSION_FILE="$CLAUDE_CONFIG_DIR/.olympus-version.json"
1847
1856
 
1848
1857
  cat > "$VERSION_FILE" << VERSION_EOF