@ace3-memory/ace 3.0.8 → 3.0.10

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/README.md CHANGED
@@ -5,8 +5,8 @@
5
5
  > ACE gives your AI tools (Claude, ChatGPT, Gemini) a persistent, shared memory that lives on **your** infrastructure, not the cloud.
6
6
 
7
7
  [![License: Proprietary](https://img.shields.io/badge/License-Proprietary-red.svg)](https://ace3-ai.com/license)
8
- [![Python 3.9+](https://img.shields.io/badge/python-3.9+-blue.svg)](https://www.python.org/downloads/)
9
- [![Version 3.0.5](https://img.shields.io/badge/version-3.0.5-green.svg)](https://github.com/AdyBrooks46/AutonomousContextEngine/releases)
8
+ [![Python 3.11+](https://img.shields.io/badge/python-3.11+-blue.svg)](https://www.python.org/downloads/)
9
+ [![Version 3.0.9](https://img.shields.io/badge/version-3.0.9-green.svg)](https://github.com/AdyBrooks46/AutonomousContextEngine/releases)
10
10
 
11
11
  ---
12
12
 
@@ -1,15 +1,15 @@
1
1
  #!/usr/bin/env node
2
2
  /**
3
3
  * ACE Binary Downloader (npm postinstall script)
4
- * Downloads platform-specific ACE binary from GitHub releases
5
- * Dynamically fetches latest release - no hardcoded versions
4
+ * Downloads platform-specific ACE binary from GCP Cloud Storage
5
+ * Binaries hosted publicly for all users
6
6
  */
7
7
 
8
8
  const https = require('https');
9
9
  const fs = require('fs');
10
10
  const path = require('path');
11
11
 
12
- const GITHUB_REPO = 'AdyBrooks46/AutonomousContextEngine';
12
+ const GCP_BUCKET = 'ace3-releases';
13
13
  const BINARY_DIR = path.join(__dirname, 'bin');
14
14
 
15
15
  // Detect platform and architecture
@@ -24,28 +24,14 @@ const BINARY_MAP = {
24
24
  'win32-x64': 'ace-windows-x64.exe'
25
25
  };
26
26
 
27
- // Fetch latest release version from GitHub API
28
- function getLatestVersion() {
29
- return new Promise((resolve) => {
30
- const options = {
31
- hostname: 'api.github.com',
32
- path: `/repos/${GITHUB_REPO}/releases/latest`,
33
- headers: { 'User-Agent': 'ace-installer' }
34
- };
35
-
36
- https.get(options, (res) => {
37
- let data = '';
38
- res.on('data', chunk => data += chunk);
39
- res.on('end', () => {
40
- try {
41
- const release = JSON.parse(data);
42
- resolve(release.tag_name);
43
- } catch {
44
- resolve(null);
45
- }
46
- });
47
- }).on('error', () => resolve(null));
48
- });
27
+ // Get version from package.json
28
+ function getPackageVersion() {
29
+ try {
30
+ const pkg = require('./package.json');
31
+ return `v${pkg.version}`;
32
+ } catch {
33
+ return null;
34
+ }
49
35
  }
50
36
 
51
37
  // Download file with redirect support
@@ -102,19 +88,19 @@ async function install() {
102
88
  process.exit(1);
103
89
  }
104
90
 
105
- // Get latest version from GitHub
106
- console.log('\nšŸ“¦ Checking for latest ACE release...');
107
- const version = process.env.ACE_VERSION || await getLatestVersion();
91
+ // Get version from package.json (matches npm package version)
92
+ const version = process.env.ACE_VERSION || getPackageVersion();
108
93
 
109
94
  if (!version) {
110
- console.error('āŒ Could not determine latest version from GitHub');
95
+ console.error('āŒ Could not determine version from package.json');
111
96
  process.exit(1);
112
97
  }
113
98
 
114
- const downloadUrl = `https://github.com/${GITHUB_REPO}/releases/download/${version}/${binaryName}`;
99
+ // Download from GCP Cloud Storage (public bucket)
100
+ const downloadUrl = `https://storage.googleapis.com/${GCP_BUCKET}/${version}/${binaryName}`;
115
101
  const binaryPath = path.join(BINARY_DIR, 'ace' + (platform === 'win32' ? '.exe' : ''));
116
102
 
117
- console.log(`šŸ“¦ Installing ACE ${version} for ${platform} ${arch}...`);
103
+ console.log(`\nšŸ“¦ Installing ACE ${version} for ${platform} ${arch}...`);
118
104
  console.log(`šŸ“„ Downloading: ${binaryName}`);
119
105
 
120
106
  // Create bin directory
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ace3-memory/ace",
3
- "version": "3.0.8",
3
+ "version": "3.0.10",
4
4
  "description": "Your Logbook for AI - persistent memory for ChatGPT, Claude, Gemini, and more",
5
5
  "main": "index.js",
6
6
  "bin": {