@standardagents/code 0.14.4-branch.9e48e914.ee06ef → 0.14.5-branch.9e48e914.ded17d

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/lib/launcher.mjs +11 -0
  2. package/package.json +7 -7
package/lib/launcher.mjs CHANGED
@@ -60,6 +60,17 @@ export function stableBinary(command, options = {}) {
60
60
  }
61
61
  }
62
62
 
63
+ // The executable this npm package itself carries, never the daemon's
64
+ // native-releases slot behind the stable link. Postinstall marks only this
65
+ // one executable: a slot's files are verified as release state, and a chmod
66
+ // through the stable link would loosen the running release's executables.
67
+ export function packagedBinary(command, options = {}) {
68
+ if (!COMMANDS.has(command)) {
69
+ throw new Error(`Unknown Standard executable: ${command}`)
70
+ }
71
+ return resolvePackagedBinary(command, options)
72
+ }
73
+
63
74
  function resolvePackagedBinary(command, options) {
64
75
  const platform = platformPackage(
65
76
  options.platform,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@standardagents/code",
3
- "version": "0.14.4-branch.9e48e914.ee06ef",
3
+ "version": "0.14.5-branch.9e48e914.ded17d",
4
4
  "description": "Platform launcher for the Standard universal terminal network.",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",
@@ -31,14 +31,14 @@
31
31
  "schema": 1,
32
32
  "targets": {
33
33
  "aarch64-apple-darwin": {
34
- "url": "https://builds.standardcode.ai/artifacts/0.14.4-branch.9e48e914.ee06ef/aarch64-apple-darwin.tar.gz",
35
- "sha256": "7f3838b48309f23c341a597c724ad36a5d70adf0b9bbf8415ae07970cc2b59e7",
36
- "size": 26200073
34
+ "url": "https://builds.standardcode.ai/artifacts/0.14.5-branch.9e48e914.ded17d/aarch64-apple-darwin.tar.gz",
35
+ "sha256": "97319a7ce9afb9ee725dfabeb4f5ad3ab447f6fae4d6c5f34d3569e6980c915c",
36
+ "size": 26202924
37
37
  },
38
38
  "x86_64-unknown-linux-gnu": {
39
- "url": "https://builds.standardcode.ai/artifacts/0.14.4-branch.9e48e914.ee06ef/x86_64-unknown-linux-gnu.tar.gz",
40
- "sha256": "874bd4025e2bc77f6ed0b7f8fe13befeb6a28c3cb8c351b66d11266e75d3006a",
41
- "size": 35023132
39
+ "url": "https://builds.standardcode.ai/artifacts/0.14.5-branch.9e48e914.ded17d/x86_64-unknown-linux-gnu.tar.gz",
40
+ "sha256": "696e7c000df3fda3092c8d1dbcb7a1a85f61f541ccd5cc3e3cfd380b66ca83c3",
41
+ "size": 35029154
42
42
  }
43
43
  }
44
44
  },