@tetsuo-ai/agenc 0.19.28 → 0.19.30
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.19.
|
|
3
|
+
"runtimeVersion": "0.19.30",
|
|
4
4
|
"releaseRepository": "tetsuo-ai/agenc-releases",
|
|
5
|
-
"releaseTag": "agenc-v0.19.
|
|
5
|
+
"releaseTag": "agenc-v0.19.30",
|
|
6
6
|
"build": {
|
|
7
|
-
"sourceCommit": "
|
|
8
|
-
"sourceRef": "refs/tags/agenc-v0.19.
|
|
9
|
-
"sourceDateEpoch":
|
|
10
|
-
"lockfileSha256": "
|
|
7
|
+
"sourceCommit": "78a065ad298e1f47a324caa2a40260b37c2b31c0",
|
|
8
|
+
"sourceRef": "refs/tags/agenc-v0.19.30",
|
|
9
|
+
"sourceDateEpoch": 1793979916,
|
|
10
|
+
"lockfileSha256": "e83ad88d6b52b4063b2cb04cbbf321674258cd624d3f4f0e64db8019b6e46a32",
|
|
11
11
|
"nodeVersion": "v26.12.1",
|
|
12
12
|
"nodeMajor": 26,
|
|
13
13
|
"nodeModuleAbi": "147",
|
|
@@ -16,38 +16,38 @@
|
|
|
16
16
|
"artifactProfile": "release",
|
|
17
17
|
"releaseCandidate": {
|
|
18
18
|
"workflow": "release-runtime.yml",
|
|
19
|
-
"runId":
|
|
19
|
+
"runId": 42249969002,
|
|
20
20
|
"runAttempt": 1,
|
|
21
|
-
"runUrl": "https://github.com/tetsuo-ai/agenc-core/actions/runs/
|
|
21
|
+
"runUrl": "https://github.com/tetsuo-ai/agenc-core/actions/runs/42249969002",
|
|
22
22
|
"phase": "candidate",
|
|
23
23
|
"sourceRef": "refs/heads/main",
|
|
24
|
-
"evidenceSha256": "
|
|
24
|
+
"evidenceSha256": "ded1481b851f35dfa064c6245800b623e45e3d8ca79154d2a0c6e74de623ca41"
|
|
25
25
|
}
|
|
26
26
|
},
|
|
27
27
|
"artifacts": [
|
|
28
28
|
{
|
|
29
29
|
"platform": "darwin",
|
|
30
30
|
"arch": "arm64",
|
|
31
|
-
"runtimeVersion": "0.19.
|
|
31
|
+
"runtimeVersion": "0.19.30",
|
|
32
32
|
"nodeMajor": 26,
|
|
33
33
|
"nodeModuleAbi": "147",
|
|
34
34
|
"nodeApiVersion": "10",
|
|
35
|
-
"url": "https://github.com/tetsuo-ai/agenc-releases/releases/download/agenc-v0.19.
|
|
36
|
-
"sha256": "
|
|
37
|
-
"bytes":
|
|
38
|
-
"attestationUrl": "https://github.com/tetsuo-ai/agenc-releases/releases/download/agenc-v0.19.
|
|
39
|
-
"attestationSha256": "
|
|
40
|
-
"attestationBytes":
|
|
41
|
-
"buildProvenanceUrl": "https://github.com/tetsuo-ai/agenc-releases/releases/download/agenc-v0.19.
|
|
42
|
-
"buildProvenanceSha256": "
|
|
43
|
-
"buildProvenanceBytes":
|
|
44
|
-
"metadataSha256": "
|
|
35
|
+
"url": "https://github.com/tetsuo-ai/agenc-releases/releases/download/agenc-v0.19.30/agenc-runtime-0.19.30-darwin-arm64-node26-abi147.tar.gz",
|
|
36
|
+
"sha256": "51e5f273d236d43171d662570a447ce1a8499dcc0afe7b8ca4753688395162ea",
|
|
37
|
+
"bytes": 113879335,
|
|
38
|
+
"attestationUrl": "https://github.com/tetsuo-ai/agenc-releases/releases/download/agenc-v0.19.30/agenc-runtime-0.19.30-darwin-arm64-node26-abi147.tar.gz.sigstore.json",
|
|
39
|
+
"attestationSha256": "b2cd5409f8afb3def2ba201df1f6bac28b9903425a9e94c7864fd4bc9987c3ef",
|
|
40
|
+
"attestationBytes": 11419,
|
|
41
|
+
"buildProvenanceUrl": "https://github.com/tetsuo-ai/agenc-releases/releases/download/agenc-v0.19.30/agenc-runtime-0.19.30-darwin-arm64-node26-abi147.tar.gz.build.sigstore.json",
|
|
42
|
+
"buildProvenanceSha256": "9f5bb7f7f4641f34912a0c84b4e49d173fe174ed205c2f5b1d63941360f6151f",
|
|
43
|
+
"buildProvenanceBytes": 11183,
|
|
44
|
+
"metadataSha256": "55a6ff1015145216dcdb3c6c21cf2856f14c9682022dc710095320feda659e72",
|
|
45
45
|
"nativeToolchain": {
|
|
46
46
|
"schemaVersion": 1,
|
|
47
|
-
"builder": "github-hosted:macos-15:macos15:
|
|
47
|
+
"builder": "github-hosted:macos-15:macos15:20261104.0514.1:ARM64",
|
|
48
48
|
"runnerLabel": "macos-15",
|
|
49
49
|
"runnerImage": "macos15",
|
|
50
|
-
"runnerImageVersion": "
|
|
50
|
+
"runnerImageVersion": "20261104.0514.1",
|
|
51
51
|
"runnerArch": "ARM64",
|
|
52
52
|
"cc": "Apple clang version 17.0.0 (clang-1700.0.13.5)",
|
|
53
53
|
"cxx": "Apple clang version 17.0.0 (clang-1700.0.13.5)",
|
|
@@ -71,13 +71,13 @@
|
|
|
71
71
|
"xcode": "Xcode 16.4\nBuild version 16F6",
|
|
72
72
|
"sdk": "15.5"
|
|
73
73
|
},
|
|
74
|
-
"dependencyTreeSha256": "
|
|
74
|
+
"dependencyTreeSha256": "eb56c0a4628f459607e243364d28d7178c990f76014e90584fc391e6b40581b5",
|
|
75
75
|
"dependencyPackages": 463,
|
|
76
76
|
"archiveFormat": "tar+gzip; portable; utf8-byte-order; normalized-mtime",
|
|
77
77
|
"archiveValidation": {
|
|
78
78
|
"policy": "agenc-runtime-archive-v1",
|
|
79
|
-
"entries":
|
|
80
|
-
"uncompressedBytes":
|
|
79
|
+
"entries": 30445,
|
|
80
|
+
"uncompressedBytes": 445411328
|
|
81
81
|
},
|
|
82
82
|
"minimumMacosVersion": "13.5",
|
|
83
83
|
"bins": {
|
|
@@ -88,20 +88,20 @@
|
|
|
88
88
|
{
|
|
89
89
|
"platform": "darwin",
|
|
90
90
|
"arch": "x64",
|
|
91
|
-
"runtimeVersion": "0.19.
|
|
91
|
+
"runtimeVersion": "0.19.30",
|
|
92
92
|
"nodeMajor": 26,
|
|
93
93
|
"nodeModuleAbi": "147",
|
|
94
94
|
"nodeApiVersion": "10",
|
|
95
|
-
"url": "https://github.com/tetsuo-ai/agenc-releases/releases/download/agenc-v0.19.
|
|
96
|
-
"sha256": "
|
|
97
|
-
"bytes":
|
|
98
|
-
"attestationUrl": "https://github.com/tetsuo-ai/agenc-releases/releases/download/agenc-v0.19.
|
|
99
|
-
"attestationSha256": "
|
|
100
|
-
"attestationBytes":
|
|
101
|
-
"buildProvenanceUrl": "https://github.com/tetsuo-ai/agenc-releases/releases/download/agenc-v0.19.
|
|
102
|
-
"buildProvenanceSha256": "
|
|
103
|
-
"buildProvenanceBytes":
|
|
104
|
-
"metadataSha256": "
|
|
95
|
+
"url": "https://github.com/tetsuo-ai/agenc-releases/releases/download/agenc-v0.19.30/agenc-runtime-0.19.30-darwin-x64-node26-abi147.tar.gz",
|
|
96
|
+
"sha256": "bbf77c1bf78653c8da27f81879985e787499ef038e2b1ee8d90c03437d7e7379",
|
|
97
|
+
"bytes": 115771244,
|
|
98
|
+
"attestationUrl": "https://github.com/tetsuo-ai/agenc-releases/releases/download/agenc-v0.19.30/agenc-runtime-0.19.30-darwin-x64-node26-abi147.tar.gz.sigstore.json",
|
|
99
|
+
"attestationSha256": "47a2129187537246619639fc4fce73964c43ab58f7af3d5e3b5f38a8aaa0c972",
|
|
100
|
+
"attestationBytes": 11356,
|
|
101
|
+
"buildProvenanceUrl": "https://github.com/tetsuo-ai/agenc-releases/releases/download/agenc-v0.19.30/agenc-runtime-0.19.30-darwin-x64-node26-abi147.tar.gz.build.sigstore.json",
|
|
102
|
+
"buildProvenanceSha256": "ad80a2d598857d7804e196205bf1aa6cb14d56ba4f57ea3baf3c21284819061b",
|
|
103
|
+
"buildProvenanceBytes": 11120,
|
|
104
|
+
"metadataSha256": "e36bb8e326d86001b84c567e9ae3a4c9086a24112a83ef1724dfdcb8b0af16c7",
|
|
105
105
|
"nativeToolchain": {
|
|
106
106
|
"schemaVersion": 1,
|
|
107
107
|
"builder": "github-hosted:macos-15-intel:macos15:20260824.0482.1:X64",
|
|
@@ -131,13 +131,13 @@
|
|
|
131
131
|
"xcode": "Xcode 16.4\nBuild version 16F6",
|
|
132
132
|
"sdk": "15.5"
|
|
133
133
|
},
|
|
134
|
-
"dependencyTreeSha256": "
|
|
134
|
+
"dependencyTreeSha256": "546b6b43419b9d33d142dbc049a14a97f62f53543c41cbb73327925d0d02b2db",
|
|
135
135
|
"dependencyPackages": 463,
|
|
136
136
|
"archiveFormat": "tar+gzip; portable; utf8-byte-order; normalized-mtime",
|
|
137
137
|
"archiveValidation": {
|
|
138
138
|
"policy": "agenc-runtime-archive-v1",
|
|
139
|
-
"entries":
|
|
140
|
-
"uncompressedBytes":
|
|
139
|
+
"entries": 30445,
|
|
140
|
+
"uncompressedBytes": 450353664
|
|
141
141
|
},
|
|
142
142
|
"minimumMacosVersion": "13.5",
|
|
143
143
|
"bins": {
|
|
@@ -148,20 +148,20 @@
|
|
|
148
148
|
{
|
|
149
149
|
"platform": "linux",
|
|
150
150
|
"arch": "arm64",
|
|
151
|
-
"runtimeVersion": "0.19.
|
|
151
|
+
"runtimeVersion": "0.19.30",
|
|
152
152
|
"nodeMajor": 26,
|
|
153
153
|
"nodeModuleAbi": "147",
|
|
154
154
|
"nodeApiVersion": "10",
|
|
155
|
-
"url": "https://github.com/tetsuo-ai/agenc-releases/releases/download/agenc-v0.19.
|
|
156
|
-
"sha256": "
|
|
157
|
-
"bytes":
|
|
158
|
-
"attestationUrl": "https://github.com/tetsuo-ai/agenc-releases/releases/download/agenc-v0.19.
|
|
159
|
-
"attestationSha256": "
|
|
160
|
-
"attestationBytes":
|
|
161
|
-
"buildProvenanceUrl": "https://github.com/tetsuo-ai/agenc-releases/releases/download/agenc-v0.19.
|
|
162
|
-
"buildProvenanceSha256": "
|
|
163
|
-
"buildProvenanceBytes":
|
|
164
|
-
"metadataSha256": "
|
|
155
|
+
"url": "https://github.com/tetsuo-ai/agenc-releases/releases/download/agenc-v0.19.30/agenc-runtime-0.19.30-linux-arm64-node26-abi147.tar.gz",
|
|
156
|
+
"sha256": "2714a3a02599940b92d5075298516fc1ffa4bf5a83893fb581e0f4f7f4b6f7ce",
|
|
157
|
+
"bytes": 128119004,
|
|
158
|
+
"attestationUrl": "https://github.com/tetsuo-ai/agenc-releases/releases/download/agenc-v0.19.30/agenc-runtime-0.19.30-linux-arm64-node26-abi147.tar.gz.sigstore.json",
|
|
159
|
+
"attestationSha256": "79cdfc6f12206c695ba765220816ca4928496770bab6926393279b8f405f5c9c",
|
|
160
|
+
"attestationBytes": 11407,
|
|
161
|
+
"buildProvenanceUrl": "https://github.com/tetsuo-ai/agenc-releases/releases/download/agenc-v0.19.30/agenc-runtime-0.19.30-linux-arm64-node26-abi147.tar.gz.build.sigstore.json",
|
|
162
|
+
"buildProvenanceSha256": "b4d2b2cf9760116fa41700a78a61f65871a47655cb647e8ac3266401098dcf0c",
|
|
163
|
+
"buildProvenanceBytes": 11312,
|
|
164
|
+
"metadataSha256": "ae24eb3f6148fc9afd76a8a6f825c440767f125dd82e71e05027cc28715c479d",
|
|
165
165
|
"nativeToolchain": {
|
|
166
166
|
"schemaVersion": 1,
|
|
167
167
|
"builder": "rockylinux@sha256:9794037624aaa6212aeada1d28861ef5e0a935adaf93e4ef79837119f2a2d04c+rpm-content-sha256:5829a1e40236ef0f7bc62ed3c6511bd3602a929e964cbb02cb3e0634df5a1c82",
|
|
@@ -203,13 +203,13 @@
|
|
|
203
203
|
"tar-1.30-11.el8_10"
|
|
204
204
|
]
|
|
205
205
|
},
|
|
206
|
-
"dependencyTreeSha256": "
|
|
206
|
+
"dependencyTreeSha256": "5600fea052e08fa4b3aa1c71c91a2c39a17b90605b838d10b9e2eaf8559dfa47",
|
|
207
207
|
"dependencyPackages": 465,
|
|
208
208
|
"archiveFormat": "tar+gzip; portable; utf8-byte-order; normalized-mtime",
|
|
209
209
|
"archiveValidation": {
|
|
210
210
|
"policy": "agenc-runtime-archive-v1",
|
|
211
|
-
"entries":
|
|
212
|
-
"uncompressedBytes":
|
|
211
|
+
"entries": 30471,
|
|
212
|
+
"uncompressedBytes": 469202432
|
|
213
213
|
},
|
|
214
214
|
"libcFamily": "glibc",
|
|
215
215
|
"minimumGlibcVersion": "2.28",
|
|
@@ -224,20 +224,20 @@
|
|
|
224
224
|
{
|
|
225
225
|
"platform": "linux",
|
|
226
226
|
"arch": "x64",
|
|
227
|
-
"runtimeVersion": "0.19.
|
|
227
|
+
"runtimeVersion": "0.19.30",
|
|
228
228
|
"nodeMajor": 26,
|
|
229
229
|
"nodeModuleAbi": "147",
|
|
230
230
|
"nodeApiVersion": "10",
|
|
231
|
-
"url": "https://github.com/tetsuo-ai/agenc-releases/releases/download/agenc-v0.19.
|
|
232
|
-
"sha256": "
|
|
233
|
-
"bytes":
|
|
234
|
-
"attestationUrl": "https://github.com/tetsuo-ai/agenc-releases/releases/download/agenc-v0.19.
|
|
235
|
-
"attestationSha256": "
|
|
236
|
-
"attestationBytes":
|
|
237
|
-
"buildProvenanceUrl": "https://github.com/tetsuo-ai/agenc-releases/releases/download/agenc-v0.19.
|
|
238
|
-
"buildProvenanceSha256": "
|
|
239
|
-
"buildProvenanceBytes":
|
|
240
|
-
"metadataSha256": "
|
|
231
|
+
"url": "https://github.com/tetsuo-ai/agenc-releases/releases/download/agenc-v0.19.30/agenc-runtime-0.19.30-linux-x64-node26-abi147.tar.gz",
|
|
232
|
+
"sha256": "f2d599b068c713fa85f6e1f1ce22e712ae97420d4be27351416a3bdb9e164d1b",
|
|
233
|
+
"bytes": 128016178,
|
|
234
|
+
"attestationUrl": "https://github.com/tetsuo-ai/agenc-releases/releases/download/agenc-v0.19.30/agenc-runtime-0.19.30-linux-x64-node26-abi147.tar.gz.sigstore.json",
|
|
235
|
+
"attestationSha256": "cd38c1093a5bc78b164a6d69573d0be9ba809f4c6b15add3503fb7b9ac8502ed",
|
|
236
|
+
"attestationBytes": 11321,
|
|
237
|
+
"buildProvenanceUrl": "https://github.com/tetsuo-ai/agenc-releases/releases/download/agenc-v0.19.30/agenc-runtime-0.19.30-linux-x64-node26-abi147.tar.gz.build.sigstore.json",
|
|
238
|
+
"buildProvenanceSha256": "842fdba89a0b0a92e3326c78ad09d4b05a3204767751e1415c842dddb6c596a0",
|
|
239
|
+
"buildProvenanceBytes": 11073,
|
|
240
|
+
"metadataSha256": "b12eea3b1e914ecb686137797121ba71dd85705ed086644a8750b3636ca916c3",
|
|
241
241
|
"nativeToolchain": {
|
|
242
242
|
"schemaVersion": 1,
|
|
243
243
|
"builder": "rockylinux@sha256:9794037624aaa6212aeada1d28861ef5e0a935adaf93e4ef79837119f2a2d04c+rpm-content-sha256:dd68b6a5168f632115be67586491fc7813f984ba80b56db539cc03b3c4bbd05f",
|
|
@@ -279,13 +279,13 @@
|
|
|
279
279
|
"tar-1.30-11.el8_10"
|
|
280
280
|
]
|
|
281
281
|
},
|
|
282
|
-
"dependencyTreeSha256": "
|
|
282
|
+
"dependencyTreeSha256": "75f8a9040aa9d50c3ca0d261bdeb79f97c62f7a84d47855e957b3e1948dec350",
|
|
283
283
|
"dependencyPackages": 465,
|
|
284
284
|
"archiveFormat": "tar+gzip; portable; utf8-byte-order; normalized-mtime",
|
|
285
285
|
"archiveValidation": {
|
|
286
286
|
"policy": "agenc-runtime-archive-v1",
|
|
287
|
-
"entries":
|
|
288
|
-
"uncompressedBytes":
|
|
287
|
+
"entries": 30471,
|
|
288
|
+
"uncompressedBytes": 470876160
|
|
289
289
|
},
|
|
290
290
|
"libcFamily": "glibc",
|
|
291
291
|
"minimumGlibcVersion": "2.28",
|
|
@@ -300,26 +300,26 @@
|
|
|
300
300
|
{
|
|
301
301
|
"platform": "win",
|
|
302
302
|
"arch": "x64",
|
|
303
|
-
"runtimeVersion": "0.19.
|
|
303
|
+
"runtimeVersion": "0.19.30",
|
|
304
304
|
"nodeMajor": 26,
|
|
305
305
|
"nodeModuleAbi": "147",
|
|
306
306
|
"nodeApiVersion": "10",
|
|
307
|
-
"url": "https://github.com/tetsuo-ai/agenc-releases/releases/download/agenc-v0.19.
|
|
308
|
-
"sha256": "
|
|
309
|
-
"bytes":
|
|
310
|
-
"attestationUrl": "https://github.com/tetsuo-ai/agenc-releases/releases/download/agenc-v0.19.
|
|
311
|
-
"attestationSha256": "
|
|
307
|
+
"url": "https://github.com/tetsuo-ai/agenc-releases/releases/download/agenc-v0.19.30/agenc-runtime-0.19.30-win-x64-node26-abi147.tar.gz",
|
|
308
|
+
"sha256": "13936c7873c3f12f99298733b2e12728e1920ffa00db8b4c67975935ade6f733",
|
|
309
|
+
"bytes": 109974720,
|
|
310
|
+
"attestationUrl": "https://github.com/tetsuo-ai/agenc-releases/releases/download/agenc-v0.19.30/agenc-runtime-0.19.30-win-x64-node26-abi147.tar.gz.sigstore.json",
|
|
311
|
+
"attestationSha256": "f1b1ccb47c0e6fd34e579fe65e8ab5167ce115525b7c25ceb50c523d1ac36f3d",
|
|
312
312
|
"attestationBytes": 11215,
|
|
313
|
-
"buildProvenanceUrl": "https://github.com/tetsuo-ai/agenc-releases/releases/download/agenc-v0.19.
|
|
314
|
-
"buildProvenanceSha256": "
|
|
315
|
-
"buildProvenanceBytes":
|
|
316
|
-
"metadataSha256": "
|
|
313
|
+
"buildProvenanceUrl": "https://github.com/tetsuo-ai/agenc-releases/releases/download/agenc-v0.19.30/agenc-runtime-0.19.30-win-x64-node26-abi147.tar.gz.build.sigstore.json",
|
|
314
|
+
"buildProvenanceSha256": "c0b3d4e3bfaa730a51568dad27edd0a46e87abe91ebd45ccff8ceea7497ee3d7",
|
|
315
|
+
"buildProvenanceBytes": 11215,
|
|
316
|
+
"metadataSha256": "d67d318649ab5a43bd83ed4d17ab0cbee693b0d1f19be968b4cd8ca89e236f30",
|
|
317
317
|
"nativeToolchain": {
|
|
318
318
|
"schemaVersion": 1,
|
|
319
|
-
"builder": "github-hosted:windows-2025-vs2026:win25-vs2026:
|
|
319
|
+
"builder": "github-hosted:windows-2025-vs2026:win25-vs2026:20261103.298.1:X64",
|
|
320
320
|
"runnerLabel": "windows-2025-vs2026",
|
|
321
321
|
"runnerImage": "win25-vs2026",
|
|
322
|
-
"runnerImageVersion": "
|
|
322
|
+
"runnerImageVersion": "20261103.298.1",
|
|
323
323
|
"runnerArch": "X64",
|
|
324
324
|
"cc": "Microsoft (R) C/C++ Optimizing Compiler Version 19.51.36260 for x64",
|
|
325
325
|
"cxx": "Microsoft (R) C/C++ Optimizing Compiler Version 19.51.36260 for x64",
|
|
@@ -355,13 +355,13 @@
|
|
|
355
355
|
"msvcCompilerSha256": "b0a1818ebae6da7f18230a84e76ce839212584ac4c2ab55b97a0d5268085da57",
|
|
356
356
|
"msvcLinkerSha256": "a8c42e25c91ca2453e1110540ac08f0fc12d7539454a11b9af8baeecb469837d"
|
|
357
357
|
},
|
|
358
|
-
"dependencyTreeSha256": "
|
|
358
|
+
"dependencyTreeSha256": "309413d258678a1f942683edffce822484ef0365dda2315e59b6268794d8f206",
|
|
359
359
|
"dependencyPackages": 462,
|
|
360
360
|
"archiveFormat": "tar+gzip; portable; utf8-byte-order; normalized-mtime",
|
|
361
361
|
"archiveValidation": {
|
|
362
362
|
"policy": "agenc-runtime-archive-v1",
|
|
363
|
-
"entries":
|
|
364
|
-
"uncompressedBytes":
|
|
363
|
+
"entries": 30488,
|
|
364
|
+
"uncompressedBytes": 407941632
|
|
365
365
|
},
|
|
366
366
|
"bins": {
|
|
367
367
|
"agenc": "node_modules/@tetsuo-ai/runtime/bin/agenc",
|
|
@@ -41,6 +41,15 @@ export function existingAgenCHomeIdentity(requested) {
|
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
+
function writableDirectoryError(label, path, mode) {
|
|
45
|
+
const permissions = (mode & 0o7777).toString(8).padStart(4, "0");
|
|
46
|
+
const quotedPath = "'" + path.replaceAll("'", "'\\''") + "'";
|
|
47
|
+
return new Error(
|
|
48
|
+
`${label} is group/world writable: ${path} (permissions ${permissions})\n` +
|
|
49
|
+
`To fix, run: chmod go-w ${quotedPath}`,
|
|
50
|
+
);
|
|
51
|
+
}
|
|
52
|
+
|
|
44
53
|
function ensureAccountRegistryPath(accountHome, segments, uid) {
|
|
45
54
|
const canonicalHome = realpathSync(accountHome);
|
|
46
55
|
const homeStat = lstatSync(canonicalHome);
|
|
@@ -51,7 +60,7 @@ function ensureAccountRegistryPath(accountHome, segments, uid) {
|
|
|
51
60
|
throw new Error(`account home has the wrong owner: ${canonicalHome}`);
|
|
52
61
|
}
|
|
53
62
|
if (uid !== undefined && (homeStat.mode & 0o022) !== 0) {
|
|
54
|
-
throw
|
|
63
|
+
throw writableDirectoryError("account home", canonicalHome, homeStat.mode);
|
|
55
64
|
}
|
|
56
65
|
let current = canonicalHome;
|
|
57
66
|
for (let index = 0; index < segments.length; index += 1) {
|
|
@@ -70,7 +79,7 @@ function ensureAccountRegistryPath(accountHome, segments, uid) {
|
|
|
70
79
|
throw new Error(`activation lock registry path has the wrong owner: ${current}`);
|
|
71
80
|
}
|
|
72
81
|
if ((stat.mode & 0o022) !== 0) {
|
|
73
|
-
throw
|
|
82
|
+
throw writableDirectoryError("activation lock registry path", current, stat.mode);
|
|
74
83
|
}
|
|
75
84
|
// AgenC-owned components are private. Do not rewrite conventional
|
|
76
85
|
// account directories such as .local/state or Library/Application Support.
|