@theharshitsingh/ao 0.10.0 → 0.10.1
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 +5 -2
- package/bin/ao.js +7 -2
- package/lib/bootstrap.js +4 -4
- package/package.json +39 -32
package/README.md
CHANGED
|
@@ -16,8 +16,11 @@ through its built-in updater. `npm update` is **not** the update path.
|
|
|
16
16
|
|
|
17
17
|
## Supported platforms
|
|
18
18
|
|
|
19
|
-
This build ships `darwin-arm64` (Apple Silicon)
|
|
20
|
-
|
|
19
|
+
This build ships macOS `darwin-arm64` (Apple Silicon) and `darwin-x64` (Intel),
|
|
20
|
+
both signed + notarized, plus Linux `linux-x64` and `linux-arm64` portable bundles
|
|
21
|
+
(checksum-verified; Linux has no Apple-style notarization). Other platforms,
|
|
22
|
+
including Windows, fail the install with a pointer to the
|
|
23
|
+
[Releases page](https://github.com/harshitsinghbhandari/agent-orchestrator/releases),
|
|
21
24
|
where direct installers (`.dmg` / `.deb` / `.exe`) live.
|
|
22
25
|
|
|
23
26
|
## `--ignore-scripts`
|
package/bin/ao.js
CHANGED
|
@@ -21,8 +21,13 @@ async function main() {
|
|
|
21
21
|
stdio: "ignore",
|
|
22
22
|
});
|
|
23
23
|
} else {
|
|
24
|
-
// linux: launch the packaged executable directly.
|
|
25
|
-
|
|
24
|
+
// linux: launch the packaged executable directly. Ensure the exec bit
|
|
25
|
+
// survived unzip (some unzip impls drop it).
|
|
26
|
+
const exe = `${app}/agent-orchestrator`;
|
|
27
|
+
try {
|
|
28
|
+
require("node:fs").chmodSync(exe, 0o755);
|
|
29
|
+
} catch {}
|
|
30
|
+
child = spawn(exe, process.argv.slice(2), {
|
|
26
31
|
detached: true,
|
|
27
32
|
stdio: "ignore",
|
|
28
33
|
});
|
package/lib/bootstrap.js
CHANGED
|
@@ -42,8 +42,9 @@ function appLaunchPath() {
|
|
|
42
42
|
if (process.platform === "darwin") {
|
|
43
43
|
return path.join(vendorDir, "Agent Orchestrator.app");
|
|
44
44
|
}
|
|
45
|
-
// linux:
|
|
46
|
-
|
|
45
|
+
// linux: maker-zip lays down "Agent Orchestrator-linux-<arch>/" with the
|
|
46
|
+
// executable inside it.
|
|
47
|
+
return path.join(vendorDir, `Agent Orchestrator-linux-${process.arch}`);
|
|
47
48
|
}
|
|
48
49
|
|
|
49
50
|
function isInstalled() {
|
|
@@ -102,8 +103,7 @@ function extract(archive, dest) {
|
|
|
102
103
|
// ditto preserves the code signature / xattrs of the signed .app better
|
|
103
104
|
// than unzip. Present on every macOS.
|
|
104
105
|
const tool = process.platform === "darwin" ? "ditto" : "unzip";
|
|
105
|
-
const args =
|
|
106
|
-
tool === "ditto" ? ["-x", "-k", archive, dest] : ["-q", archive, "-d", dest];
|
|
106
|
+
const args = tool === "ditto" ? ["-x", "-k", archive, dest] : ["-q", archive, "-d", dest];
|
|
107
107
|
const r = spawnSync(tool, args, { stdio: "inherit" });
|
|
108
108
|
if (r.status !== 0) throw new Error(`extract failed (${tool} exit ${r.status})`);
|
|
109
109
|
} else {
|
package/package.json
CHANGED
|
@@ -1,34 +1,41 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
2
|
+
"name": "@theharshitsingh/ao",
|
|
3
|
+
"version": "0.10.1",
|
|
4
|
+
"description": "Bootstrapper for the Agent Orchestrator desktop app. Downloads the signed app for your platform and launches it.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"homepage": "https://github.com/harshitsinghbhandari/agent-orchestrator",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/harshitsinghbhandari/agent-orchestrator.git"
|
|
10
|
+
},
|
|
11
|
+
"bin": {
|
|
12
|
+
"ao": "bin/ao.js"
|
|
13
|
+
},
|
|
14
|
+
"scripts": {
|
|
15
|
+
"postinstall": "node install.js",
|
|
16
|
+
"test": "node test/selfcheck.js"
|
|
17
|
+
},
|
|
18
|
+
"files": [
|
|
19
|
+
"bin/",
|
|
20
|
+
"lib/",
|
|
21
|
+
"install.js",
|
|
22
|
+
"README.md"
|
|
23
|
+
],
|
|
24
|
+
"engines": {
|
|
25
|
+
"node": ">=20"
|
|
26
|
+
},
|
|
27
|
+
"publishConfig": {
|
|
28
|
+
"access": "public"
|
|
29
|
+
},
|
|
30
|
+
"ao": {
|
|
31
|
+
"releaseRepo": "harshitsinghbhandari/agent-orchestrator",
|
|
32
|
+
"releaseTag": "npm-bootstrap-0.10.0",
|
|
33
|
+
"checksums": "SHA256SUMS",
|
|
34
|
+
"assets": {
|
|
35
|
+
"darwin-arm64": "agent-orchestrator-darwin-arm64.zip",
|
|
36
|
+
"darwin-x64": "agent-orchestrator-darwin-x64.zip",
|
|
37
|
+
"linux-x64": "agent-orchestrator-linux-x64.zip",
|
|
38
|
+
"linux-arm64": "agent-orchestrator-linux-arm64.zip"
|
|
39
|
+
}
|
|
40
|
+
}
|
|
34
41
|
}
|