onepipeline-cli 0.75.0 → 0.79.0
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/onepipeline.js +12 -6
- package/package.json +4 -5
package/bin/onepipeline.js
CHANGED
|
@@ -18,12 +18,11 @@ const path = require("node:path");
|
|
|
18
18
|
const { spawnSync } = require("node:child_process");
|
|
19
19
|
|
|
20
20
|
// process.platform-process.arch -> the platform package that carries the binary.
|
|
21
|
-
// The keys mirror the
|
|
22
|
-
//
|
|
23
|
-
//
|
|
21
|
+
// The keys mirror the targets release/release.py builds, the TARGETS table in
|
|
22
|
+
// scripts/npm-build.mjs, and the optionalDependencies in package.json; keep the
|
|
23
|
+
// four in lockstep.
|
|
24
24
|
const PACKAGES = {
|
|
25
25
|
"linux-x64": "onepipeline-cli-linux-x64",
|
|
26
|
-
"linux-arm64": "onepipeline-cli-linux-arm64",
|
|
27
26
|
"darwin-arm64": "onepipeline-cli-darwin-arm64",
|
|
28
27
|
"win32-x64": "onepipeline-cli-win32-x64",
|
|
29
28
|
};
|
|
@@ -41,8 +40,9 @@ function fail(message) {
|
|
|
41
40
|
|
|
42
41
|
function binaryPath() {
|
|
43
42
|
const key = `${process.platform}-${process.arch}`;
|
|
44
|
-
// Intel macOS packages are no longer published, so say that
|
|
45
|
-
// listing the platforms that are, or failing on a package that is
|
|
43
|
+
// Intel macOS and arm64 Linux packages are no longer published, so say that
|
|
44
|
+
// rather than listing the platforms that are, or failing on a package that is
|
|
45
|
+
// missing.
|
|
46
46
|
if (key === "darwin-x64") {
|
|
47
47
|
fail(
|
|
48
48
|
"Intel macOS (darwin-x64) is no longer supported: prebuilt binaries ship " +
|
|
@@ -50,6 +50,12 @@ function binaryPath() {
|
|
|
50
50
|
"Intel Mac, build from source with 'cargo install onepipeline --locked'.",
|
|
51
51
|
);
|
|
52
52
|
}
|
|
53
|
+
if (key === "linux-arm64") {
|
|
54
|
+
fail(
|
|
55
|
+
"arm64 Linux (linux-arm64) is no longer supported: prebuilt Linux binaries " +
|
|
56
|
+
"ship for x86-64 only. Build from source with 'cargo install onepipeline --locked'.",
|
|
57
|
+
);
|
|
58
|
+
}
|
|
53
59
|
const pkg = PACKAGES[key];
|
|
54
60
|
// llmlint: ignore-block[changed_behavior_has_e2e] reaching this branch means running
|
|
55
61
|
// where no prebuilt package exists, and a test could only get there by lying to node
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "onepipeline-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.79.0",
|
|
4
4
|
"description": "Execute a task DAG over oneagentgraph and onevcs, merging their event streams into one.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"orchestration",
|
|
@@ -27,9 +27,8 @@
|
|
|
27
27
|
"node": ">=18"
|
|
28
28
|
},
|
|
29
29
|
"optionalDependencies": {
|
|
30
|
-
"onepipeline-cli-linux-x64": "0.
|
|
31
|
-
"onepipeline-cli-
|
|
32
|
-
"onepipeline-cli-
|
|
33
|
-
"onepipeline-cli-win32-x64": "0.75.0"
|
|
30
|
+
"onepipeline-cli-linux-x64": "0.79.0",
|
|
31
|
+
"onepipeline-cli-darwin-arm64": "0.79.0",
|
|
32
|
+
"onepipeline-cli-win32-x64": "0.79.0"
|
|
34
33
|
}
|
|
35
34
|
}
|