orchestrai 0.1.4 → 0.1.6
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 +11 -4
- package/bin/orchestrai.js +24 -6
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# orchestrai
|
|
2
2
|
|
|
3
|
-
Run
|
|
3
|
+
Run OrchestrAI — a local, terminal-oriented multi-agent DevOps orchestration prototype — with nothing pre-installed:
|
|
4
4
|
|
|
5
5
|
```
|
|
6
6
|
npx orchestrai --project /path/to/your/project
|
|
@@ -14,6 +14,8 @@ bunx orchestrai --project /path/to/your/project
|
|
|
14
14
|
|
|
15
15
|
No Bun, no clone, no separate download step — the right platform binary installs automatically as part of this package (an optional dependency scoped to your OS/architecture), and this command just runs it.
|
|
16
16
|
|
|
17
|
+
`orchestrai` starts the full local stack — 5 specialist agents (planning, DevOps, testing, documentation, security), an MCP tool server, and an orchestrator that routes work between them — then opens a **dashboard at [http://localhost:3000/dashboard](http://localhost:3000/dashboard)**. That's where you submit tasks and watch them run.
|
|
18
|
+
|
|
17
19
|
## Supported platforms
|
|
18
20
|
|
|
19
21
|
| Platform | Package |
|
|
@@ -22,7 +24,7 @@ No Bun, no clone, no separate download step — the right platform binary instal
|
|
|
22
24
|
| Linux x64 | `orchestrai-linux-x64` |
|
|
23
25
|
| macOS Apple Silicon (arm64) | `orchestrai-darwin-arm64` |
|
|
24
26
|
|
|
25
|
-
macOS Intel (x64) isn't published yet. If `npx`/`bunx` reports no build for your platform, that's why
|
|
27
|
+
macOS Intel (x64) isn't published yet. If `npx`/`bunx` reports no build for your platform, that's why.
|
|
26
28
|
|
|
27
29
|
### macOS: unsigned binary
|
|
28
30
|
|
|
@@ -40,12 +42,17 @@ xattr -d com.apple.quarantine "$(which orchestrai)"
|
|
|
40
42
|
orchestrai # start everything, interactively in a real terminal
|
|
41
43
|
orchestrai init # interactive setup wizard, run once per project
|
|
42
44
|
orchestrai --project "/path/to/app"
|
|
43
|
-
orchestrai --only devops-agent
|
|
45
|
+
orchestrai --only devops-agent # start a subset of services (comma-separated)
|
|
46
|
+
orchestrai --headless # backend only, plain logs — no interactive viewer
|
|
44
47
|
orchestrai --help
|
|
45
48
|
```
|
|
46
49
|
|
|
47
|
-
|
|
50
|
+
`orchestrai init` walks you through target path, which services to run, and whether to enable the optional LLM planning harness (provider/model/API key) — answer once, and a plain `orchestrai` afterward reuses that setup with no flags needed.
|
|
48
51
|
|
|
49
52
|
## Reproducibility
|
|
50
53
|
|
|
51
54
|
Each published version of this package corresponds to a specific, immutable build — pinning a version (`npx orchestrai@1.2.3`) always resolves the identical binary, not a rolling "latest."
|
|
55
|
+
|
|
56
|
+
## Source
|
|
57
|
+
|
|
58
|
+
The source repository is currently private, so it isn't publicly browsable — everything you need to actually run this is in this package itself (`orchestrai --help` and `orchestrai init` cover it). This README will link out to public docs if/when that changes.
|
package/bin/orchestrai.js
CHANGED
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
|
|
25
25
|
const path = require("path")
|
|
26
26
|
const { spawnSync } = require("child_process")
|
|
27
|
-
const { chmodSync } = require("fs")
|
|
27
|
+
const { chmodSync, existsSync } = require("fs")
|
|
28
28
|
|
|
29
29
|
// One fixed platform package per supported platform+arch — mirrors
|
|
30
30
|
// npm-package/*/package.json's own "os"/"cpu" restrictions exactly.
|
|
@@ -47,12 +47,19 @@ function resolveBinaryPath() {
|
|
|
47
47
|
`See https://github.com/Muhamad-Yussuf/devops-mcp-server#readme for building from source instead.`,
|
|
48
48
|
)
|
|
49
49
|
}
|
|
50
|
+
// Resolve the platform package's own package.json first, then join the
|
|
51
|
+
// known relative bin path onto its directory — rather than
|
|
52
|
+
// require.resolve()-ing the binary's deep sub-path directly. Found live
|
|
53
|
+
// (a real WSL/global-install report, binary confirmed present on disk
|
|
54
|
+
// in exactly the expected location, yet the deep-path resolve() still
|
|
55
|
+
// failed) that the direct approach is fragile in at least one real
|
|
56
|
+
// global-install layout, for a reason not fully pinned down. Resolving
|
|
57
|
+
// package.json is the same pattern esbuild's own installer uses for
|
|
58
|
+
// this exact reason — it only depends on Node finding the package
|
|
59
|
+
// directory at all, not on any deep multi-segment specifier resolution.
|
|
60
|
+
let pkgDir
|
|
50
61
|
try {
|
|
51
|
-
|
|
52
|
-
// would — correct whether this dispatcher is itself inside
|
|
53
|
-
// node_modules/orchestrai/bin/ (the real installed case) or run
|
|
54
|
-
// directly from a workspace/monorepo layout during local testing.
|
|
55
|
-
return require.resolve(path.join(entry.pkg, "bin", entry.bin))
|
|
62
|
+
pkgDir = path.dirname(require.resolve(path.join(entry.pkg, "package.json")))
|
|
56
63
|
} catch {
|
|
57
64
|
throw new Error(
|
|
58
65
|
`The "${entry.pkg}" optional dependency isn't installed. ` +
|
|
@@ -61,6 +68,17 @@ function resolveBinaryPath() {
|
|
|
61
68
|
`Try reinstalling without those flags.`,
|
|
62
69
|
)
|
|
63
70
|
}
|
|
71
|
+
|
|
72
|
+
const binPath = path.join(pkgDir, "bin", entry.bin)
|
|
73
|
+
if (!existsSync(binPath)) {
|
|
74
|
+
throw new Error(
|
|
75
|
+
`The "${entry.pkg}" optional dependency is installed at ${pkgDir}, ` +
|
|
76
|
+
`but its expected binary is missing at ${binPath}. The install may ` +
|
|
77
|
+
`be corrupted — try "npm uninstall -g orchestrai && npm cache clean ` +
|
|
78
|
+
`--force && npm i -g orchestrai" to reinstall cleanly.`,
|
|
79
|
+
)
|
|
80
|
+
}
|
|
81
|
+
return binPath
|
|
64
82
|
}
|
|
65
83
|
|
|
66
84
|
function main() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "orchestrai",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"description": "OrchestrAI — run the standalone orchestrai binary via bunx/npx with nothing pre-installed. The right platform binary is installed automatically as an optional dependency; no network download at runtime.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"bin": {
|
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
"README.md"
|
|
12
12
|
],
|
|
13
13
|
"optionalDependencies": {
|
|
14
|
-
"orchestrai-windows-x64": "0.1.
|
|
15
|
-
"orchestrai-linux-x64": "0.1.
|
|
16
|
-
"orchestrai-darwin-arm64": "0.1.
|
|
14
|
+
"orchestrai-windows-x64": "0.1.6",
|
|
15
|
+
"orchestrai-linux-x64": "0.1.6",
|
|
16
|
+
"orchestrai-darwin-arm64": "0.1.6"
|
|
17
17
|
},
|
|
18
18
|
"engines": {
|
|
19
19
|
"node": ">=18"
|