@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 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). Other platforms fail the install
20
- with a pointer to the [Releases page](https://github.com/aoagents/agent-orchestrator/releases),
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
- child = spawn(`${app}/agent-orchestrator`, process.argv.slice(2), {
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: the maker-zip/tar lays the packaged app dir down directly.
46
- return path.join(vendorDir, "agent-orchestrator");
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
- "name": "@theharshitsingh/ao",
3
- "version": "0.10.0",
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/aoagents/agent-orchestrator",
7
- "bin": {
8
- "ao": "bin/ao.js"
9
- },
10
- "scripts": {
11
- "postinstall": "node install.js",
12
- "test": "node test/selfcheck.js"
13
- },
14
- "files": [
15
- "bin/",
16
- "lib/",
17
- "install.js",
18
- "README.md"
19
- ],
20
- "engines": {
21
- "node": ">=20"
22
- },
23
- "publishConfig": {
24
- "access": "public"
25
- },
26
- "ao": {
27
- "releaseRepo": "harshitsinghbhandari/agent-orchestrator",
28
- "releaseTag": "npm-bootstrap-0.10.0",
29
- "checksums": "SHA256SUMS",
30
- "assets": {
31
- "darwin-arm64": "agent-orchestrator-darwin-arm64.zip"
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
  }