@the-agenticflow/openflows 0.1.8-dev.230.5aa03a0 → 0.1.8-dev.241.d090075

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.
Files changed (2) hide show
  1. package/package.json +2 -10
  2. package/scripts/install.js +13 -1
package/package.json CHANGED
@@ -1,8 +1,7 @@
1
1
  {
2
2
  "name": "@the-agenticflow/openflows",
3
- "version": "0.1.8-dev.230.5aa03a0",
3
+ "version": "0.1.8-dev.241.d090075",
4
4
  "description": "Autonomous AI development team — turns GitHub issues into working PRs",
5
- "main": "index.js",
6
5
  "bin": {
7
6
  "openflows": "./bin/openflows.js",
8
7
  "openflows-setup": "./bin/openflows-setup.js",
@@ -39,12 +38,5 @@
39
38
  "cpu": [
40
39
  "x64",
41
40
  "arm64"
42
- ],
43
- "optionalDependencies": {
44
- "@openflows/linux-x64-gnu": "0.1.0",
45
- "@openflows/linux-x64-musl": "0.1.0",
46
- "@openflows/linux-arm64-gnu": "0.1.0",
47
- "@openflows/darwin-x64": "0.1.0",
48
- "@openflows/darwin-arm64": "0.1.0"
49
- }
41
+ ]
50
42
  }
@@ -9,8 +9,9 @@ const path = require('path');
9
9
  const os = require('os');
10
10
  const { execSync } = require('child_process');
11
11
 
12
- const REPO = 'The-AgenticFlow/AgentFlow';
12
+ const REPO = 'The-AgenticFlow/openflows';
13
13
  const BIN_DIR = path.join(__dirname, '..', 'bin');
14
+ const PKG_DIR = path.join(__dirname, '..');
14
15
 
15
16
  function detectPlatform() {
16
17
  const platform = os.platform();
@@ -179,6 +180,17 @@ async function main() {
179
180
  }
180
181
  }
181
182
 
183
+ // Move orchestration config to package root so the binary can find it
184
+ const orchestrationSrc = path.join(BIN_DIR, 'orchestration');
185
+ const orchestrationDst = path.join(PKG_DIR, 'orchestration');
186
+ if (fs.existsSync(orchestrationSrc)) {
187
+ if (fs.existsSync(orchestrationDst)) {
188
+ fs.rmSync(orchestrationDst, { recursive: true });
189
+ }
190
+ fs.renameSync(orchestrationSrc, orchestrationDst);
191
+ console.log('[openflows] Installed orchestration config');
192
+ }
193
+
182
194
  if (fs.existsSync(tmpFile)) {
183
195
  fs.unlinkSync(tmpFile);
184
196
  }