@the-agenticflow/openflows 0.1.9 → 0.1.11

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/bin/openflows.js CHANGED
@@ -70,7 +70,7 @@ function needsProxy() {
70
70
  async function startProxy() {
71
71
  console.log('[openflows] Starting built-in API proxy...');
72
72
 
73
- const proxyBinary = path.join(__dirname, '..', 'bin', 'anthropic-proxy-bin');
73
+ let proxyBinary = path.join(__dirname, '..', 'bin', 'anthropic-proxy-bin');
74
74
 
75
75
  // Check if proxy binary exists
76
76
  if (!fs.existsSync(proxyBinary)) {
@@ -80,6 +80,7 @@ async function startProxy() {
80
80
  console.log('[openflows] No built-in proxy found, skipping proxy startup');
81
81
  return null;
82
82
  }
83
+ proxyBinary = altProxy;
83
84
  }
84
85
 
85
86
  const proxy = spawn(proxyBinary, [], {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@the-agenticflow/openflows",
3
- "version": "0.1.9",
3
+ "version": "0.1.11",
4
4
  "description": "Autonomous AI development team — turns GitHub issues into working PRs",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -292,7 +292,7 @@ async function main() {
292
292
  }
293
293
 
294
294
  // Rename binaries to match expected names
295
- const binaries = ['agentflow', 'agentflow-setup', 'agentflow-dashboard', 'agentflow-doctor'];
295
+ const binaries = ['agentflow', 'agentflow-setup', 'agentflow-dashboard', 'agentflow-doctor', 'anthropic-proxy'];
296
296
  for (const bin of binaries) {
297
297
  const src = path.join(BIN_DIR, bin);
298
298
  const dst = path.join(BIN_DIR, `${bin}-bin`);
@@ -301,6 +301,12 @@ async function main() {
301
301
  fs.chmodSync(dst, 0o755);
302
302
  }
303
303
  }
304
+
305
+ // Also ensure anthropic-proxy is executable even if not renamed
306
+ const proxyBin = path.join(BIN_DIR, 'anthropic-proxy');
307
+ if (fs.existsSync(proxyBin)) {
308
+ fs.chmodSync(proxyBin, 0o755);
309
+ }
304
310
 
305
311
  if (fs.existsSync(tmpFile)) {
306
312
  fs.unlinkSync(tmpFile);