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.
- package/dist/installer/index.d.ts +1 -1
- package/dist/installer/index.js +1 -1
- package/package.json +1 -1
- package/scripts/install.sh +17 -8
|
@@ -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.
|
|
27
|
+
export declare const VERSION = "2.6.2";
|
|
28
28
|
/** Installation result */
|
|
29
29
|
export interface InstallResult {
|
|
30
30
|
success: boolean;
|
package/dist/installer/index.js
CHANGED
|
@@ -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.
|
|
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
package/scripts/install.sh
CHANGED
|
@@ -1049,16 +1049,20 @@ I will check for available updates to Olympus.
|
|
|
1049
1049
|
|
|
1050
1050
|
### Update Methods
|
|
1051
1051
|
|
|
1052
|
-
**
|
|
1053
|
-
Run the install script to update:
|
|
1052
|
+
**npm (Recommended):**
|
|
1054
1053
|
\`\`\`bash
|
|
1055
|
-
|
|
1054
|
+
npm update -g olympus-ai
|
|
1055
|
+
olympus-ai install --force
|
|
1056
1056
|
\`\`\`
|
|
1057
1057
|
|
|
1058
|
-
**
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
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
|
-
|
|
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
|