@tetsuo-ai/agenc 0.7.2 → 0.8.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.
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "manifestVersion": 2,
3
- "runtimeVersion": "0.7.2",
3
+ "runtimeVersion": "0.8.0",
4
4
  "releaseRepository": "tetsuo-ai/agenc-releases",
5
- "releaseTag": "agenc-v0.7.2",
5
+ "releaseTag": "agenc-v0.8.0",
6
6
  "build": {
7
- "sourceCommit": "e69274564c6316c2b4f7aea1f108e95939ebff20",
8
- "sourceRef": "refs/tags/agenc-v0.7.2",
9
- "sourceDateEpoch": 1784518801,
10
- "lockfileSha256": "78e8179e61c10f5aa5678a741cf539513a386f8d96cbdf0e056ce34750c969d4",
7
+ "sourceCommit": "1b12546ccb6306d646473e7d61289e44758ea38a",
8
+ "sourceRef": "refs/tags/agenc-v0.8.0",
9
+ "sourceDateEpoch": 1784565838,
10
+ "lockfileSha256": "f3ef34dddb679d3f71ad9198f51a64c82122bd7e3522e21f28b73d5e92a56c3b",
11
11
  "nodeVersion": "v25.9.0",
12
12
  "nodeMajor": 25,
13
13
  "nodeModuleAbi": "141",
@@ -19,17 +19,17 @@
19
19
  {
20
20
  "platform": "darwin",
21
21
  "arch": "arm64",
22
- "runtimeVersion": "0.7.2",
22
+ "runtimeVersion": "0.8.0",
23
23
  "nodeMajor": 25,
24
24
  "nodeModuleAbi": "141",
25
25
  "nodeApiVersion": "10",
26
- "url": "https://github.com/tetsuo-ai/agenc-releases/releases/download/agenc-v0.7.2/agenc-runtime-0.7.2-darwin-arm64-node25-abi141.tar.gz",
27
- "sha256": "5b11f8ceeb0fa0bbfdf010e2d691fa5bdbfc1fe4c23580f6ed94f7e12407a948",
28
- "bytes": 64289302,
29
- "attestationUrl": "https://github.com/tetsuo-ai/agenc-releases/releases/download/agenc-v0.7.2/agenc-runtime-0.7.2-darwin-arm64-node25-abi141.tar.gz.sigstore.json",
30
- "attestationSha256": "c292a8a21ece2c6f5d6ebdb1de99da5562cdf911550e221dab4c278cc56fe4e8",
31
- "attestationBytes": 11381,
32
- "metadataSha256": "b3570428ccd77d2990ab520f68af9cfdc5ec68f873eab1fb7d0012523f6c9a01",
26
+ "url": "https://github.com/tetsuo-ai/agenc-releases/releases/download/agenc-v0.8.0/agenc-runtime-0.8.0-darwin-arm64-node25-abi141.tar.gz",
27
+ "sha256": "30bd1f68f55b58f7291ff474f52a6599b688752afbfca07e3a7ebf4f791df091",
28
+ "bytes": 64437014,
29
+ "attestationUrl": "https://github.com/tetsuo-ai/agenc-releases/releases/download/agenc-v0.8.0/agenc-runtime-0.8.0-darwin-arm64-node25-abi141.tar.gz.sigstore.json",
30
+ "attestationSha256": "ed9c2304f0b3d77d3d3739c02f2767a5953e4789db1494515f446758109f8af0",
31
+ "attestationBytes": 11279,
32
+ "metadataSha256": "03ddc48fb70200696ad1b40f21e15b014b034f4438c9244009b777c103910616",
33
33
  "nativeToolchain": {
34
34
  "schemaVersion": 1,
35
35
  "builder": "github-hosted:macos-15:macos15:20260715.0234.1:ARM64",
@@ -59,13 +59,13 @@
59
59
  "xcode": "Xcode 16.4\nBuild version 16F6",
60
60
  "sdk": "15.5"
61
61
  },
62
- "dependencyTreeSha256": "58e0d4964cebde797a8b5b7ca9d7920f3a6357d5fd5933e4eb3b56aa7f582ce2",
62
+ "dependencyTreeSha256": "46791c98edb92613d56266b154f361a1feba1c634010084d854ac7c6dc3ebe76",
63
63
  "dependencyPackages": 459,
64
64
  "archiveFormat": "tar+gzip; portable; utf8-byte-order; normalized-mtime",
65
65
  "archiveValidation": {
66
66
  "policy": "agenc-runtime-archive-v1",
67
- "entries": 28784,
68
- "uncompressedBytes": 302283776
67
+ "entries": 28810,
68
+ "uncompressedBytes": 302923264
69
69
  },
70
70
  "minimumMacosVersion": "11.0",
71
71
  "bins": {
@@ -75,17 +75,17 @@
75
75
  {
76
76
  "platform": "darwin",
77
77
  "arch": "x64",
78
- "runtimeVersion": "0.7.2",
78
+ "runtimeVersion": "0.8.0",
79
79
  "nodeMajor": 25,
80
80
  "nodeModuleAbi": "141",
81
81
  "nodeApiVersion": "10",
82
- "url": "https://github.com/tetsuo-ai/agenc-releases/releases/download/agenc-v0.7.2/agenc-runtime-0.7.2-darwin-x64-node25-abi141.tar.gz",
83
- "sha256": "c3b5bdce06831fd4dbf5791194aeaace46672f560f8b4ae0ae67b9521bbe58f0",
84
- "bytes": 64926866,
85
- "attestationUrl": "https://github.com/tetsuo-ai/agenc-releases/releases/download/agenc-v0.7.2/agenc-runtime-0.7.2-darwin-x64-node25-abi141.tar.gz.sigstore.json",
86
- "attestationSha256": "a3dc7c822084ab35cc02bae2b04c31c87757b92b5802971a2f4eb811e7b97fd7",
87
- "attestationBytes": 11271,
88
- "metadataSha256": "cf093dd89088440ffc9c70b352331e1e7e01b1459ab99019dfbca07ce374f97c",
82
+ "url": "https://github.com/tetsuo-ai/agenc-releases/releases/download/agenc-v0.8.0/agenc-runtime-0.8.0-darwin-x64-node25-abi141.tar.gz",
83
+ "sha256": "3a812f178ea186a6c1d724ad6d3089dac0e34174e7fa5ab6709f672b7cbd4f60",
84
+ "bytes": 65072003,
85
+ "attestationUrl": "https://github.com/tetsuo-ai/agenc-releases/releases/download/agenc-v0.8.0/agenc-runtime-0.8.0-darwin-x64-node25-abi141.tar.gz.sigstore.json",
86
+ "attestationSha256": "109c8b07c323480245657c516917f6bdb71b598bcff660d97dc38aad409e7ad8",
87
+ "attestationBytes": 11048,
88
+ "metadataSha256": "61c2835b0aef62e4ae4ceb8c7e1f1f405e490295b8caf0769970304a713c702c",
89
89
  "nativeToolchain": {
90
90
  "schemaVersion": 1,
91
91
  "builder": "github-hosted:macos-15-intel:macos15:20260715.0340.1:X64",
@@ -115,13 +115,13 @@
115
115
  "xcode": "Xcode 16.4\nBuild version 16F6",
116
116
  "sdk": "15.5"
117
117
  },
118
- "dependencyTreeSha256": "4c921c33de0442ff19473b7a197c808745259a6deb33c8b9462b3e5d1b83d6c6",
118
+ "dependencyTreeSha256": "526b02b59a7bdb46d03018211a3b89c8dcfc2ec9ff2859caa7542dca2335c5bd",
119
119
  "dependencyPackages": 459,
120
120
  "archiveFormat": "tar+gzip; portable; utf8-byte-order; normalized-mtime",
121
121
  "archiveValidation": {
122
122
  "policy": "agenc-runtime-archive-v1",
123
- "entries": 28784,
124
- "uncompressedBytes": 304311296
123
+ "entries": 28810,
124
+ "uncompressedBytes": 304950784
125
125
  },
126
126
  "minimumMacosVersion": "10.15",
127
127
  "bins": {
@@ -131,17 +131,17 @@
131
131
  {
132
132
  "platform": "linux",
133
133
  "arch": "arm64",
134
- "runtimeVersion": "0.7.2",
134
+ "runtimeVersion": "0.8.0",
135
135
  "nodeMajor": 25,
136
136
  "nodeModuleAbi": "141",
137
137
  "nodeApiVersion": "10",
138
- "url": "https://github.com/tetsuo-ai/agenc-releases/releases/download/agenc-v0.7.2/agenc-runtime-0.7.2-linux-arm64-node25-abi141.tar.gz",
139
- "sha256": "abcb28cc611be964300b07d8d6105f60cd70bb67414e80a1d97b87abe487f89d",
140
- "bytes": 73128376,
141
- "attestationUrl": "https://github.com/tetsuo-ai/agenc-releases/releases/download/agenc-v0.7.2/agenc-runtime-0.7.2-linux-arm64-node25-abi141.tar.gz.sigstore.json",
142
- "attestationSha256": "fdee4577ca16688925a4ed658d9564bb6f8478aafbd6432e7d2a452c2a4c20b6",
143
- "attestationBytes": 11087,
144
- "metadataSha256": "a73b28729b0c281cef37673a79a5cb858b3c5c7dfc9f413b543bd95aea361a80",
138
+ "url": "https://github.com/tetsuo-ai/agenc-releases/releases/download/agenc-v0.8.0/agenc-runtime-0.8.0-linux-arm64-node25-abi141.tar.gz",
139
+ "sha256": "42627312607ce69b217d7209c36e828251abe17869c0f25033bac0bb368c8ed0",
140
+ "bytes": 73279799,
141
+ "attestationUrl": "https://github.com/tetsuo-ai/agenc-releases/releases/download/agenc-v0.8.0/agenc-runtime-0.8.0-linux-arm64-node25-abi141.tar.gz.sigstore.json",
142
+ "attestationSha256": "b22049b580f1b9a4c680f1ea046a9721882b41ecf389be87f302aae97c03ce90",
143
+ "attestationBytes": 11240,
144
+ "metadataSha256": "a31c47e18a6c88c1383a2c89d49ec11fa32525797159a71d39c8ce258e11d665",
145
145
  "nativeToolchain": {
146
146
  "schemaVersion": 1,
147
147
  "builder": "rockylinux@sha256:9794037624aaa6212aeada1d28861ef5e0a935adaf93e4ef79837119f2a2d04c+rpm-content-sha256:cd2f3fb1aa51e2142ca74e202d9403b2861d47fc82cb036150ecb92ee62306d2",
@@ -180,13 +180,13 @@
180
180
  "tar-1.30-11.el8_10"
181
181
  ]
182
182
  },
183
- "dependencyTreeSha256": "797875f7ff384962c39a91404720b01100b448939a7371c4e8df9d6d65787bd4",
183
+ "dependencyTreeSha256": "a836c91727a063bea10c93214c3654126a37fee897f1a9265c26fb77dd5e589c",
184
184
  "dependencyPackages": 461,
185
185
  "archiveFormat": "tar+gzip; portable; utf8-byte-order; normalized-mtime",
186
186
  "archiveValidation": {
187
187
  "policy": "agenc-runtime-archive-v1",
188
- "entries": 28800,
189
- "uncompressedBytes": 321190912
188
+ "entries": 28826,
189
+ "uncompressedBytes": 321830400
190
190
  },
191
191
  "libcFamily": "glibc",
192
192
  "minimumGlibcVersion": "2.28",
@@ -199,17 +199,17 @@
199
199
  {
200
200
  "platform": "linux",
201
201
  "arch": "x64",
202
- "runtimeVersion": "0.7.2",
202
+ "runtimeVersion": "0.8.0",
203
203
  "nodeMajor": 25,
204
204
  "nodeModuleAbi": "141",
205
205
  "nodeApiVersion": "10",
206
- "url": "https://github.com/tetsuo-ai/agenc-releases/releases/download/agenc-v0.7.2/agenc-runtime-0.7.2-linux-x64-node25-abi141.tar.gz",
207
- "sha256": "1f1d6e445963876b2f8900ed3188bfc01741fe2007eda55cc0119c9c38f4eff4",
208
- "bytes": 72649356,
209
- "attestationUrl": "https://github.com/tetsuo-ai/agenc-releases/releases/download/agenc-v0.7.2/agenc-runtime-0.7.2-linux-x64-node25-abi141.tar.gz.sigstore.json",
210
- "attestationSha256": "1726cf79f66f1337d216975237d0838e6dbf58b26de673290c6cfde0ee9c8a33",
211
- "attestationBytes": 11279,
212
- "metadataSha256": "b2c4f91e85e613b4ae777abaa5eace25667c9662d5ff46cbd69ed7b095312507",
206
+ "url": "https://github.com/tetsuo-ai/agenc-releases/releases/download/agenc-v0.8.0/agenc-runtime-0.8.0-linux-x64-node25-abi141.tar.gz",
207
+ "sha256": "e07806e146f7a7a03a741986ffc09bf5cb6a1a1f184368e8e7d6af8c18b9348b",
208
+ "bytes": 72795072,
209
+ "attestationUrl": "https://github.com/tetsuo-ai/agenc-releases/releases/download/agenc-v0.8.0/agenc-runtime-0.8.0-linux-x64-node25-abi141.tar.gz.sigstore.json",
210
+ "attestationSha256": "31e9a8a9ed816c4d84db19397f251f352cc1cf9aeac908c83b0e493bde3b9c47",
211
+ "attestationBytes": 11424,
212
+ "metadataSha256": "c05ee1002e263dad129cae0d6bb9e0d83ef6ff91f15b637ddb9b75bf7b6abf85",
213
213
  "nativeToolchain": {
214
214
  "schemaVersion": 1,
215
215
  "builder": "rockylinux@sha256:9794037624aaa6212aeada1d28861ef5e0a935adaf93e4ef79837119f2a2d04c+rpm-content-sha256:b218a774252c748c748d0e18837b7ca655c8e657bc20b1213a9f8cbb177b58bb",
@@ -248,13 +248,13 @@
248
248
  "tar-1.30-11.el8_10"
249
249
  ]
250
250
  },
251
- "dependencyTreeSha256": "07ec6137bdfc044af1d5652080841f31bb2535341f5356ff3f164f05e2a0e451",
251
+ "dependencyTreeSha256": "1756654cb0b9beceed2bf218608a50cf2ccd7c043361dbe6959252b82f336324",
252
252
  "dependencyPackages": 461,
253
253
  "archiveFormat": "tar+gzip; portable; utf8-byte-order; normalized-mtime",
254
254
  "archiveValidation": {
255
255
  "policy": "agenc-runtime-archive-v1",
256
- "entries": 28800,
257
- "uncompressedBytes": 321744384
256
+ "entries": 28826,
257
+ "uncompressedBytes": 322383872
258
258
  },
259
259
  "libcFamily": "glibc",
260
260
  "minimumGlibcVersion": "2.28",
@@ -267,17 +267,17 @@
267
267
  {
268
268
  "platform": "win",
269
269
  "arch": "x64",
270
- "runtimeVersion": "0.7.2",
270
+ "runtimeVersion": "0.8.0",
271
271
  "nodeMajor": 25,
272
272
  "nodeModuleAbi": "141",
273
273
  "nodeApiVersion": "10",
274
- "url": "https://github.com/tetsuo-ai/agenc-releases/releases/download/agenc-v0.7.2/agenc-runtime-0.7.2-win-x64-node25-abi141.tar.gz",
275
- "sha256": "3035b3ec41460b84ce8d313b81303493e54d3816ca754b41b38749bfde02c419",
276
- "bytes": 65825990,
277
- "attestationUrl": "https://github.com/tetsuo-ai/agenc-releases/releases/download/agenc-v0.7.2/agenc-runtime-0.7.2-win-x64-node25-abi141.tar.gz.sigstore.json",
278
- "attestationSha256": "e6b5919efcdaa0d21e76b5f37bf329951ea2199e8c8a0a470a946175c0a3c3b3",
279
- "attestationBytes": 11311,
280
- "metadataSha256": "b345197d88f31b766efff7062af6b8be00f38eed4321a4c0f6692774f9aa675e",
274
+ "url": "https://github.com/tetsuo-ai/agenc-releases/releases/download/agenc-v0.8.0/agenc-runtime-0.8.0-win-x64-node25-abi141.tar.gz",
275
+ "sha256": "4f992756fd59d883a49d24c800d314c63527e2ab21604181a6f62a67473ce74f",
276
+ "bytes": 65977760,
277
+ "attestationUrl": "https://github.com/tetsuo-ai/agenc-releases/releases/download/agenc-v0.8.0/agenc-runtime-0.8.0-win-x64-node25-abi141.tar.gz.sigstore.json",
278
+ "attestationSha256": "958e0f909c5f58436ec0b26cae2ec16305bffa8f3bc099ba9572f8cc468c86b3",
279
+ "attestationBytes": 11276,
280
+ "metadataSha256": "06641d813e0eb77e4b0df051890e482bf509a68c3a80306aa1480d0c989f808d",
281
281
  "nativeToolchain": {
282
282
  "schemaVersion": 1,
283
283
  "builder": "github-hosted:windows-2025:win25-vs2026:20260714.173.1:X64",
@@ -319,13 +319,13 @@
319
319
  "msvcCompilerSha256": "dc8426b8760d92cf757df3d10b9f0244a95b454ff43194a58161568a0ec70d53",
320
320
  "msvcLinkerSha256": "e8c524347b8bc87fba790d254c8a3b902bf1a4b63807093b816d992940af3791"
321
321
  },
322
- "dependencyTreeSha256": "c8b1f92eb764d82fe645a935c84ae33bd3f2bd0491bfa7aed856bfec0ca3a7f4",
322
+ "dependencyTreeSha256": "29ac5702c1df5cf41c480ce83cd9170accfd8009972922f4bf63554664ee7f48",
323
323
  "dependencyPackages": 458,
324
324
  "archiveFormat": "tar+gzip; portable; utf8-byte-order; normalized-mtime",
325
325
  "archiveValidation": {
326
326
  "policy": "agenc-runtime-archive-v1",
327
- "entries": 28823,
328
- "uncompressedBytes": 307360768
327
+ "entries": 28849,
328
+ "uncompressedBytes": 308016128
329
329
  },
330
330
  "bins": {
331
331
  "agenc": "node_modules/@tetsuo-ai/runtime/bin/agenc"
@@ -1143,7 +1143,36 @@ export async function ensureRuntime({
1143
1143
  const binRel = artifact?.bins?.agenc ?? "node_modules/@tetsuo-ai/runtime/bin/agenc";
1144
1144
  const versionDir = dirname(installDir);
1145
1145
  mkdirSync(versionDir, { recursive: true, mode: 0o700 });
1146
- chmodSync(versionDir, 0o700);
1146
+ // Repair every owner-owned segment between the version dir and the home
1147
+ // root, inclusive of the version dir. Pre-hardening launchers created
1148
+ // <home>/runtime with the ambient umask, so an 002-umask install from
1149
+ // before the 0.6.2 private-directory assertion is group-writable and every
1150
+ // command since then fails with "permits untrusted mutation" and no
1151
+ // automatic path out. Directories not owned by this uid are left alone —
1152
+ // the assertion downstream reports those precisely, and chmod would throw
1153
+ // EPERM anyway.
1154
+ if (process.platform !== "win32" && typeof process.getuid === "function") {
1155
+ for (
1156
+ let current = versionDir;
1157
+ current !== home && dirname(current) !== current;
1158
+ current = dirname(current)
1159
+ ) {
1160
+ try {
1161
+ const stats = lstatSync(current);
1162
+ if (
1163
+ stats.isDirectory() &&
1164
+ !stats.isSymbolicLink() &&
1165
+ stats.uid === process.getuid()
1166
+ ) {
1167
+ chmodSync(current, 0o700);
1168
+ }
1169
+ } catch {
1170
+ /* leave it for the private-directory assertion */
1171
+ }
1172
+ }
1173
+ } else {
1174
+ chmodSync(versionDir, 0o700);
1175
+ }
1147
1176
  const lockPath = `${installDir}.agenc-lock.sqlite`;
1148
1177
 
1149
1178
  if (
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tetsuo-ai/agenc",
3
- "version": "0.7.2",
3
+ "version": "0.8.0",
4
4
  "description": "Public AgenC CLI launcher package",
5
5
  "license": "MIT",
6
6
  "type": "module",
package/src/launcher.mjs CHANGED
@@ -231,12 +231,19 @@ export async function main(
231
231
  try {
232
232
  await ensureDaemonForLaunch({ argv, env, cwd, runtimeBin: resolvedBin, userHome });
233
233
  } catch (error) {
234
+ // The launcher is transport, not policy: a daemon that cannot start must
235
+ // not block daemon-independent commands. `agenc update` is the canonical
236
+ // case — a stale binary whose daemon refuses newer on-disk state made the
237
+ // fixing update itself unreachable (bootstrap deadlock, 2026-07-20). The
238
+ // runtime owns the per-command decision and reports the precise failure,
239
+ // including the daemon child's stderr tail, when a command truly needs
240
+ // the daemon.
234
241
  process.stderr.write(
235
242
  `agenc: daemon autostart failed: ${
236
243
  error instanceof Error ? error.message : String(error)
237
- }\n`,
244
+ }\n` +
245
+ "agenc: continuing without the daemon; commands that require it will report the failure\n",
238
246
  );
239
- return 1;
240
247
  }
241
248
  return spawnNodeScript(resolvedBin, argv, { env, cwd, stdio: "inherit" });
242
249
  }