@tetsuo-ai/agenc 0.19.27 → 0.19.29
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.29",
|
|
4
4
|
"releaseRepository": "tetsuo-ai/agenc-releases",
|
|
5
|
-
"releaseTag": "agenc-v0.19.
|
|
5
|
+
"releaseTag": "agenc-v0.19.29",
|
|
6
6
|
"build": {
|
|
7
|
-
"sourceCommit": "
|
|
8
|
-
"sourceRef": "refs/tags/agenc-v0.19.
|
|
9
|
-
"sourceDateEpoch":
|
|
10
|
-
"lockfileSha256": "
|
|
7
|
+
"sourceCommit": "e3b738952806964c32452d67742fbf840b592949",
|
|
8
|
+
"sourceRef": "refs/tags/agenc-v0.19.29",
|
|
9
|
+
"sourceDateEpoch": 1793903603,
|
|
10
|
+
"lockfileSha256": "cb2f409564e47f096ab688fbf8f18fc52720d0c1eb4a00f7b223efdb30f54648",
|
|
11
11
|
"nodeVersion": "v26.12.1",
|
|
12
12
|
"nodeMajor": 26,
|
|
13
13
|
"nodeModuleAbi": "147",
|
|
@@ -16,32 +16,32 @@
|
|
|
16
16
|
"artifactProfile": "release",
|
|
17
17
|
"releaseCandidate": {
|
|
18
18
|
"workflow": "release-runtime.yml",
|
|
19
|
-
"runId":
|
|
19
|
+
"runId": 42101926867,
|
|
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/42101926867",
|
|
22
22
|
"phase": "candidate",
|
|
23
23
|
"sourceRef": "refs/heads/main",
|
|
24
|
-
"evidenceSha256": "
|
|
24
|
+
"evidenceSha256": "4e4188382aaedff294c8bc6f744c73d343217c1bd6cb054eac605fca4efaae13"
|
|
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.29",
|
|
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": "
|
|
35
|
+
"url": "https://github.com/tetsuo-ai/agenc-releases/releases/download/agenc-v0.19.29/agenc-runtime-0.19.29-darwin-arm64-node26-abi147.tar.gz",
|
|
36
|
+
"sha256": "66351658c67e798d22038b1fb90b0fe9382390c8c802b275b305cd867e482aa0",
|
|
37
|
+
"bytes": 113812322,
|
|
38
|
+
"attestationUrl": "https://github.com/tetsuo-ai/agenc-releases/releases/download/agenc-v0.19.29/agenc-runtime-0.19.29-darwin-arm64-node26-abi147.tar.gz.sigstore.json",
|
|
39
|
+
"attestationSha256": "59deacb4e388ca6360f2890473695ecdd3d1ed630107d73f0d552a252e3fb56e",
|
|
40
40
|
"attestationBytes": 11505,
|
|
41
|
-
"buildProvenanceUrl": "https://github.com/tetsuo-ai/agenc-releases/releases/download/agenc-v0.19.
|
|
42
|
-
"buildProvenanceSha256": "
|
|
43
|
-
"buildProvenanceBytes":
|
|
44
|
-
"metadataSha256": "
|
|
41
|
+
"buildProvenanceUrl": "https://github.com/tetsuo-ai/agenc-releases/releases/download/agenc-v0.19.29/agenc-runtime-0.19.29-darwin-arm64-node26-abi147.tar.gz.build.sigstore.json",
|
|
42
|
+
"buildProvenanceSha256": "f759e27529d36311a669c05ae48101c227ab54f2f78e3096cf77b4035ed1b7f3",
|
|
43
|
+
"buildProvenanceBytes": 11085,
|
|
44
|
+
"metadataSha256": "6aec597c0bf13168f4e859277c2f1436bd5144a44751d9d79a3d8a4ca43bfe2b",
|
|
45
45
|
"nativeToolchain": {
|
|
46
46
|
"schemaVersion": 1,
|
|
47
47
|
"builder": "github-hosted:macos-15:macos15:20261028.0489.1:ARM64",
|
|
@@ -71,13 +71,13 @@
|
|
|
71
71
|
"xcode": "Xcode 16.4\nBuild version 16F6",
|
|
72
72
|
"sdk": "15.5"
|
|
73
73
|
},
|
|
74
|
-
"dependencyTreeSha256": "
|
|
74
|
+
"dependencyTreeSha256": "606413150ebb668085dda76cd06d0e711092032b76ee57a805c6f9a4f92a001e",
|
|
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": 30437,
|
|
80
|
+
"uncompressedBytes": 445186560
|
|
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.29",
|
|
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.29/agenc-runtime-0.19.29-darwin-x64-node26-abi147.tar.gz",
|
|
96
|
+
"sha256": "665d4a792a7bd437f74a8bbe8d6f6e650cb79d4ced44d964f567303f7bd471b9",
|
|
97
|
+
"bytes": 115716706,
|
|
98
|
+
"attestationUrl": "https://github.com/tetsuo-ai/agenc-releases/releases/download/agenc-v0.19.29/agenc-runtime-0.19.29-darwin-x64-node26-abi147.tar.gz.sigstore.json",
|
|
99
|
+
"attestationSha256": "555535ece59005df410ee8db863a070addd37d095e2ef6970408506d80979c82",
|
|
100
|
+
"attestationBytes": 11458,
|
|
101
|
+
"buildProvenanceUrl": "https://github.com/tetsuo-ai/agenc-releases/releases/download/agenc-v0.19.29/agenc-runtime-0.19.29-darwin-x64-node26-abi147.tar.gz.build.sigstore.json",
|
|
102
|
+
"buildProvenanceSha256": "7d509ef441f33ab382a1ea5cc81027ea8d072172c45012c9deac017746a68fec",
|
|
103
|
+
"buildProvenanceBytes": 11226,
|
|
104
|
+
"metadataSha256": "2bf596036681bc36b7b88b1da773be82009c4350e0093e5a077da56399b87506",
|
|
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": "0f4242b0d92d988b5b6deed82938b27a6747f516202855c48997746afa1dfec7",
|
|
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": 30437,
|
|
140
|
+
"uncompressedBytes": 450128896
|
|
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.29",
|
|
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.29/agenc-runtime-0.19.29-linux-arm64-node26-abi147.tar.gz",
|
|
156
|
+
"sha256": "0e372db95038a0be3a39e11f534daac9ff873c363d8e48c8f2f842c74d9e2e7c",
|
|
157
|
+
"bytes": 128055632,
|
|
158
|
+
"attestationUrl": "https://github.com/tetsuo-ai/agenc-releases/releases/download/agenc-v0.19.29/agenc-runtime-0.19.29-linux-arm64-node26-abi147.tar.gz.sigstore.json",
|
|
159
|
+
"attestationSha256": "0e6d5b1c44aa4f1dd83338cb7856160af45907271f10eb6d125d1fb1452d5dc5",
|
|
160
|
+
"attestationBytes": 11548,
|
|
161
|
+
"buildProvenanceUrl": "https://github.com/tetsuo-ai/agenc-releases/releases/download/agenc-v0.19.29/agenc-runtime-0.19.29-linux-arm64-node26-abi147.tar.gz.build.sigstore.json",
|
|
162
|
+
"buildProvenanceSha256": "2c44176e340b5216ecf98d38a108dbd7bb397a8d8d717f8dad73eea064e4c2e0",
|
|
163
|
+
"buildProvenanceBytes": 11124,
|
|
164
|
+
"metadataSha256": "0e24b4b2db574698fa5c96c49afe979cb8096f4f129fe6eb42a2f791c8e38c64",
|
|
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": "a5fe9aad87df501288d13c873db1bbe3b408a5523304bed264138775d48d9870",
|
|
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": 30463,
|
|
212
|
+
"uncompressedBytes": 468977664
|
|
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.29",
|
|
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.29/agenc-runtime-0.19.29-linux-x64-node26-abi147.tar.gz",
|
|
232
|
+
"sha256": "028b7743905652a92cb9f172faf6c47335f76cccda59b4f8b3853e572439f742",
|
|
233
|
+
"bytes": 127958090,
|
|
234
|
+
"attestationUrl": "https://github.com/tetsuo-ai/agenc-releases/releases/download/agenc-v0.19.29/agenc-runtime-0.19.29-linux-x64-node26-abi147.tar.gz.sigstore.json",
|
|
235
|
+
"attestationSha256": "6eaa2cce8bd353696284fbf4fbcf07db1d711ca6588c78519f55cbafc142aaf7",
|
|
236
|
+
"attestationBytes": 11544,
|
|
237
|
+
"buildProvenanceUrl": "https://github.com/tetsuo-ai/agenc-releases/releases/download/agenc-v0.19.29/agenc-runtime-0.19.29-linux-x64-node26-abi147.tar.gz.build.sigstore.json",
|
|
238
|
+
"buildProvenanceSha256": "61d14a976d0bb93bc82d7c48fab45013fbd91afe0fdc51fc282c770064ff1ed1",
|
|
239
|
+
"buildProvenanceBytes": 11073,
|
|
240
|
+
"metadataSha256": "dac592e608abcd5e0fb4e68c14b2bc108467828c35c3aa695b04aae92f294541",
|
|
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": "4a8753f391b630513fc5466d4ed35bef40f366c95b7604a3b6b0213d9e73d43f",
|
|
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": 30463,
|
|
288
|
+
"uncompressedBytes": 470651392
|
|
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.29",
|
|
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": "
|
|
312
|
-
"attestationBytes":
|
|
313
|
-
"buildProvenanceUrl": "https://github.com/tetsuo-ai/agenc-releases/releases/download/agenc-v0.19.
|
|
314
|
-
"buildProvenanceSha256": "
|
|
315
|
-
"buildProvenanceBytes":
|
|
316
|
-
"metadataSha256": "
|
|
307
|
+
"url": "https://github.com/tetsuo-ai/agenc-releases/releases/download/agenc-v0.19.29/agenc-runtime-0.19.29-win-x64-node26-abi147.tar.gz",
|
|
308
|
+
"sha256": "37fbc585f76c49e54aa56580d9b4d428759d65c35e8749913e63f7be16168621",
|
|
309
|
+
"bytes": 109910803,
|
|
310
|
+
"attestationUrl": "https://github.com/tetsuo-ai/agenc-releases/releases/download/agenc-v0.19.29/agenc-runtime-0.19.29-win-x64-node26-abi147.tar.gz.sigstore.json",
|
|
311
|
+
"attestationSha256": "3d4ce64cb81b910780d97b0d6d9a8ebbae0b9479063d1a995a53f503808ca9a9",
|
|
312
|
+
"attestationBytes": 11450,
|
|
313
|
+
"buildProvenanceUrl": "https://github.com/tetsuo-ai/agenc-releases/releases/download/agenc-v0.19.29/agenc-runtime-0.19.29-win-x64-node26-abi147.tar.gz.build.sigstore.json",
|
|
314
|
+
"buildProvenanceSha256": "4a67c8fadadf137d518402a1503ea49756a0e4b475753f2cadacbfc8ec4da285",
|
|
315
|
+
"buildProvenanceBytes": 11019,
|
|
316
|
+
"metadataSha256": "b31b7f04cbde5bb9a5d5b80d6490878b7f596c68479f65d39ca13f85e3533a46",
|
|
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:20261030.294.1:X64",
|
|
320
320
|
"runnerLabel": "windows-2025-vs2026",
|
|
321
321
|
"runnerImage": "win25-vs2026",
|
|
322
|
-
"runnerImageVersion": "
|
|
322
|
+
"runnerImageVersion": "20261030.294.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",
|
|
@@ -347,7 +347,7 @@
|
|
|
347
347
|
"nodeCommonGypiTransformation": "disable-debug-information-and-full-paths",
|
|
348
348
|
"npmDistributionFile": "npm-11.17.0.tgz",
|
|
349
349
|
"npmDistributionSha256": "b290bbb35b9e72c3ef84edbe041f28c4479c4d9ee79f555817b8caafe7ce4bba",
|
|
350
|
-
"visualStudioVersion": "18.11.
|
|
350
|
+
"visualStudioVersion": "18.11.12328.437",
|
|
351
351
|
"visualStudioInstallPath": "C:\\Program Files\\Microsoft Visual Studio\\18\\Enterprise",
|
|
352
352
|
"msvcToolsVersion": "14.51.36231",
|
|
353
353
|
"windowsSdkVersion": "10.0.26100.0",
|
|
@@ -355,13 +355,13 @@
|
|
|
355
355
|
"msvcCompilerSha256": "b0a1818ebae6da7f18230a84e76ce839212584ac4c2ab55b97a0d5268085da57",
|
|
356
356
|
"msvcLinkerSha256": "a8c42e25c91ca2453e1110540ac08f0fc12d7539454a11b9af8baeecb469837d"
|
|
357
357
|
},
|
|
358
|
-
"dependencyTreeSha256": "
|
|
358
|
+
"dependencyTreeSha256": "37f739111a145eeff221cb9d693e46d0023cdfb0e6f9466837466cbb022a4f13",
|
|
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": 30480,
|
|
364
|
+
"uncompressedBytes": 407716352
|
|
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.
|