agentscm 0.1.0-alpha.6 → 0.1.0-alpha.8

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
@@ -23,7 +23,7 @@ npx agentscm uninstall # runs any other subcommand as given
23
23
  npx agentscm tray # optional macOS status-bar companion
24
24
  ```
25
25
 
26
- The binary is kept in `~/.agentscm/bin` (`%USERPROFILE%\.agentscm\bin` on Windows). The checksum is always verified; provenance is verified when the GitHub CLI (`gh`) is installed and signed in, and otherwise the script says it was not checked. Supported: Linux and macOS on x64 and arm64, and Windows on x64 (a subset of commands). Elsewhere, use Docker.
26
+ The binary is kept in `~/.agentscm/bin` (`%USERPROFILE%\.agentscm\bin` on Windows). The checksum is always verified; provenance is verified when the GitHub CLI (`gh`) is installed and signed in, and otherwise the script says it was not checked. The notice above and that one-line result are printed when a version is first downloaded (not before `--help`); later runs start AgentSCM directly, and `AGENTSCM_INSTALL_VERBOSE=1` prints them on every run. Supported: Linux and macOS on x64 and arm64, and Windows on x64 (a subset of commands). Elsewhere, use Docker.
27
27
 
28
28
  Details, manual verification and Docker: [docs/install.md](https://github.com/counterbranch/agentscm/blob/main/docs/install.md). Source and license (FSL-1.1-ALv2): https://github.com/counterbranch/agentscm
29
29
 
package/SHA256SUMS CHANGED
@@ -1,5 +1,5 @@
1
- 62169edc623a1458ca1acebb59d9b809cadb641bc9bdda4a9b9e766839feac2d agentscm-aarch64-apple-darwin
2
- b6b77b0cdf188845713ecde081dd0d9cb828cebad784e08968f903a6a70c5017 agentscm-aarch64-unknown-linux-musl
3
- f9888830776bb974bc7a326a01e1465ce532f766a08d833258f23657619c3271 agentscm-x86_64-apple-darwin
4
- 6e14f44b0f3fe703ba4f14b559cd1d9dff2fcb297be6f1d1c17982236c07b03f agentscm-x86_64-pc-windows-msvc.exe
5
- 0c987509087914e6ec0aecb004137aa9143bf3877f32690520bb066d511b54cc agentscm-x86_64-unknown-linux-musl
1
+ c8399fe5c2d79948f69b755035a155160e00e9ba42f48b25764dd159f01999cb agentscm-aarch64-apple-darwin
2
+ 1109a798c6464c1a96172cdf1551f87a99d913358faa068de1efdec527277400 agentscm-aarch64-unknown-linux-musl
3
+ 70ad2806a3f972cf47c43c012cf64c526642b9ad1e2499b24374cf19308a45ea agentscm-x86_64-apple-darwin
4
+ 61528640c7037356ce5c9b662af34c6cfd5b9096dde76f499754190aab81bf88 agentscm-x86_64-pc-windows-msvc.exe
5
+ 8a684085a031f1885a648f6498aa956f76af64b0a57a0540c2cab8388ad7bc13 agentscm-x86_64-unknown-linux-musl
@@ -12028,18 +12028,323 @@ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
12028
12028
  OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
12029
12029
  WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
12030
12030
  ```
12031
+
12031
12032
  ## Status page (JavaScript bundled in builds with the ui feature)
12032
12033
 
12033
- Production dependencies of the status page that are compiled into `app.js`. Build tools and type packages are not shipped.
12034
+ Production dependencies of the status page that are compiled into `app.js`, or whose stylesheets and fonts are inlined into `app.css`. Build tools and type packages are not shipped.
12034
12035
 
12035
12036
  | Package | Version | License | Notice |
12036
12037
  |---|---|---|---|
12038
+ | @fontsource-variable/onest | 5.3.1 | OFL-1.1 | notice-9d82d54a6701819c |
12039
+ | @fontsource/jetbrains-mono | 5.3.0 | OFL-1.1 | notice-0eb004541463faa2 |
12040
+ | @fontsource/unbounded | 5.3.0 | OFL-1.1 | notice-6f59facdb015c381 |
12037
12041
  | @popperjs/core | 2.11.8 | MIT | notice-59da8f4d3a59b0f9 |
12038
12042
  | bootstrap | 5.3.8 | MIT | notice-68113f0f6c0e9571 |
12043
+ | bootstrap-icons | 1.13.2 | MIT | notice-5b2e1cc7660ce577 |
12039
12044
  | react | 18.3.1 | MIT | notice-a80c79b8f80e824c |
12040
12045
  | react-dom | 18.3.1 | MIT | notice-a80c79b8f80e824c |
12041
12046
  | scheduler | 0.23.2 | MIT | notice-a80c79b8f80e824c |
12042
12047
 
12048
+ ### notice-9d82d54a6701819c
12049
+
12050
+ Applies to: @fontsource-variable/onest 5.3.1 / LICENSE
12051
+
12052
+ ```text
12053
+ Copyright 2021 The Onest Project Authors (https://github.com/simpals/onest)
12054
+
12055
+ This Font Software is licensed under the SIL Open Font License, Version 1.1.
12056
+ This license is copied below, and is also available with a FAQ at:
12057
+ http://scripts.sil.org/OFL
12058
+
12059
+
12060
+ -----------------------------------------------------------
12061
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
12062
+ -----------------------------------------------------------
12063
+
12064
+ PREAMBLE
12065
+ The goals of the Open Font License (OFL) are to stimulate worldwide
12066
+ development of collaborative font projects, to support the font creation
12067
+ efforts of academic and linguistic communities, and to provide a free and
12068
+ open framework in which fonts may be shared and improved in partnership
12069
+ with others.
12070
+
12071
+ The OFL allows the licensed fonts to be used, studied, modified and
12072
+ redistributed freely as long as they are not sold by themselves. The
12073
+ fonts, including any derivative works, can be bundled, embedded,
12074
+ redistributed and/or sold with any software provided that any reserved
12075
+ names are not used by derivative works. The fonts and derivatives,
12076
+ however, cannot be released under any other type of license. The
12077
+ requirement for fonts to remain under this license does not apply
12078
+ to any document created using the fonts or their derivatives.
12079
+
12080
+ DEFINITIONS
12081
+ "Font Software" refers to the set of files released by the Copyright
12082
+ Holder(s) under this license and clearly marked as such. This may
12083
+ include source files, build scripts and documentation.
12084
+
12085
+ "Reserved Font Name" refers to any names specified as such after the
12086
+ copyright statement(s).
12087
+
12088
+ "Original Version" refers to the collection of Font Software components as
12089
+ distributed by the Copyright Holder(s).
12090
+
12091
+ "Modified Version" refers to any derivative made by adding to, deleting,
12092
+ or substituting -- in part or in whole -- any of the components of the
12093
+ Original Version, by changing formats or by porting the Font Software to a
12094
+ new environment.
12095
+
12096
+ "Author" refers to any designer, engineer, programmer, technical
12097
+ writer or other person who contributed to the Font Software.
12098
+
12099
+ PERMISSION & CONDITIONS
12100
+ Permission is hereby granted, free of charge, to any person obtaining
12101
+ a copy of the Font Software, to use, study, copy, merge, embed, modify,
12102
+ redistribute, and sell modified and unmodified copies of the Font
12103
+ Software, subject to the following conditions:
12104
+
12105
+ 1) Neither the Font Software nor any of its individual components,
12106
+ in Original or Modified Versions, may be sold by itself.
12107
+
12108
+ 2) Original or Modified Versions of the Font Software may be bundled,
12109
+ redistributed and/or sold with any software, provided that each copy
12110
+ contains the above copyright notice and this license. These can be
12111
+ included either as stand-alone text files, human-readable headers or
12112
+ in the appropriate machine-readable metadata fields within text or
12113
+ binary files as long as those fields can be easily viewed by the user.
12114
+
12115
+ 3) No Modified Version of the Font Software may use the Reserved Font
12116
+ Name(s) unless explicit written permission is granted by the corresponding
12117
+ Copyright Holder. This restriction only applies to the primary font name as
12118
+ presented to the users.
12119
+
12120
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
12121
+ Software shall not be used to promote, endorse or advertise any
12122
+ Modified Version, except to acknowledge the contribution(s) of the
12123
+ Copyright Holder(s) and the Author(s) or with their explicit written
12124
+ permission.
12125
+
12126
+ 5) The Font Software, modified or unmodified, in part or in whole,
12127
+ must be distributed entirely under this license, and must not be
12128
+ distributed under any other license. The requirement for fonts to
12129
+ remain under this license does not apply to any document created
12130
+ using the Font Software.
12131
+
12132
+ TERMINATION
12133
+ This license becomes null and void if any of the above conditions are
12134
+ not met.
12135
+
12136
+ DISCLAIMER
12137
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
12138
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
12139
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
12140
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
12141
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
12142
+ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
12143
+ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
12144
+ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
12145
+ OTHER DEALINGS IN THE FONT SOFTWARE.
12146
+ ```
12147
+
12148
+ ### notice-0eb004541463faa2
12149
+
12150
+ Applies to: @fontsource/jetbrains-mono 5.3.0 / LICENSE
12151
+
12152
+ ```text
12153
+ Copyright 2020 The JetBrains Mono Project Authors (https://github.com/JetBrains/JetBrainsMono) JetBrainsMono-Italic[wght].ttf: Copyright 2020 The JetBrains Mono Project Authors (https://github.com/JetBrains/JetBrainsMono)
12154
+
12155
+ This Font Software is licensed under the SIL Open Font License, Version 1.1.
12156
+ This license is copied below, and is also available with a FAQ at:
12157
+ http://scripts.sil.org/OFL
12158
+
12159
+
12160
+ -----------------------------------------------------------
12161
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
12162
+ -----------------------------------------------------------
12163
+
12164
+ PREAMBLE
12165
+ The goals of the Open Font License (OFL) are to stimulate worldwide
12166
+ development of collaborative font projects, to support the font creation
12167
+ efforts of academic and linguistic communities, and to provide a free and
12168
+ open framework in which fonts may be shared and improved in partnership
12169
+ with others.
12170
+
12171
+ The OFL allows the licensed fonts to be used, studied, modified and
12172
+ redistributed freely as long as they are not sold by themselves. The
12173
+ fonts, including any derivative works, can be bundled, embedded,
12174
+ redistributed and/or sold with any software provided that any reserved
12175
+ names are not used by derivative works. The fonts and derivatives,
12176
+ however, cannot be released under any other type of license. The
12177
+ requirement for fonts to remain under this license does not apply
12178
+ to any document created using the fonts or their derivatives.
12179
+
12180
+ DEFINITIONS
12181
+ "Font Software" refers to the set of files released by the Copyright
12182
+ Holder(s) under this license and clearly marked as such. This may
12183
+ include source files, build scripts and documentation.
12184
+
12185
+ "Reserved Font Name" refers to any names specified as such after the
12186
+ copyright statement(s).
12187
+
12188
+ "Original Version" refers to the collection of Font Software components as
12189
+ distributed by the Copyright Holder(s).
12190
+
12191
+ "Modified Version" refers to any derivative made by adding to, deleting,
12192
+ or substituting -- in part or in whole -- any of the components of the
12193
+ Original Version, by changing formats or by porting the Font Software to a
12194
+ new environment.
12195
+
12196
+ "Author" refers to any designer, engineer, programmer, technical
12197
+ writer or other person who contributed to the Font Software.
12198
+
12199
+ PERMISSION & CONDITIONS
12200
+ Permission is hereby granted, free of charge, to any person obtaining
12201
+ a copy of the Font Software, to use, study, copy, merge, embed, modify,
12202
+ redistribute, and sell modified and unmodified copies of the Font
12203
+ Software, subject to the following conditions:
12204
+
12205
+ 1) Neither the Font Software nor any of its individual components,
12206
+ in Original or Modified Versions, may be sold by itself.
12207
+
12208
+ 2) Original or Modified Versions of the Font Software may be bundled,
12209
+ redistributed and/or sold with any software, provided that each copy
12210
+ contains the above copyright notice and this license. These can be
12211
+ included either as stand-alone text files, human-readable headers or
12212
+ in the appropriate machine-readable metadata fields within text or
12213
+ binary files as long as those fields can be easily viewed by the user.
12214
+
12215
+ 3) No Modified Version of the Font Software may use the Reserved Font
12216
+ Name(s) unless explicit written permission is granted by the corresponding
12217
+ Copyright Holder. This restriction only applies to the primary font name as
12218
+ presented to the users.
12219
+
12220
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
12221
+ Software shall not be used to promote, endorse or advertise any
12222
+ Modified Version, except to acknowledge the contribution(s) of the
12223
+ Copyright Holder(s) and the Author(s) or with their explicit written
12224
+ permission.
12225
+
12226
+ 5) The Font Software, modified or unmodified, in part or in whole,
12227
+ must be distributed entirely under this license, and must not be
12228
+ distributed under any other license. The requirement for fonts to
12229
+ remain under this license does not apply to any document created
12230
+ using the Font Software.
12231
+
12232
+ TERMINATION
12233
+ This license becomes null and void if any of the above conditions are
12234
+ not met.
12235
+
12236
+ DISCLAIMER
12237
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
12238
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
12239
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
12240
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
12241
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
12242
+ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
12243
+ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
12244
+ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
12245
+ OTHER DEALINGS IN THE FONT SOFTWARE.
12246
+ ```
12247
+
12248
+ ### notice-6f59facdb015c381
12249
+
12250
+ Applies to: @fontsource/unbounded 5.3.0 / LICENSE
12251
+
12252
+ ```text
12253
+ Copyright 2022 The Unbounded Project Authors (https://github.com/googlefonts/unbounded)
12254
+
12255
+ This Font Software is licensed under the SIL Open Font License, Version 1.1.
12256
+ This license is copied below, and is also available with a FAQ at:
12257
+ http://scripts.sil.org/OFL
12258
+
12259
+
12260
+ -----------------------------------------------------------
12261
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
12262
+ -----------------------------------------------------------
12263
+
12264
+ PREAMBLE
12265
+ The goals of the Open Font License (OFL) are to stimulate worldwide
12266
+ development of collaborative font projects, to support the font creation
12267
+ efforts of academic and linguistic communities, and to provide a free and
12268
+ open framework in which fonts may be shared and improved in partnership
12269
+ with others.
12270
+
12271
+ The OFL allows the licensed fonts to be used, studied, modified and
12272
+ redistributed freely as long as they are not sold by themselves. The
12273
+ fonts, including any derivative works, can be bundled, embedded,
12274
+ redistributed and/or sold with any software provided that any reserved
12275
+ names are not used by derivative works. The fonts and derivatives,
12276
+ however, cannot be released under any other type of license. The
12277
+ requirement for fonts to remain under this license does not apply
12278
+ to any document created using the fonts or their derivatives.
12279
+
12280
+ DEFINITIONS
12281
+ "Font Software" refers to the set of files released by the Copyright
12282
+ Holder(s) under this license and clearly marked as such. This may
12283
+ include source files, build scripts and documentation.
12284
+
12285
+ "Reserved Font Name" refers to any names specified as such after the
12286
+ copyright statement(s).
12287
+
12288
+ "Original Version" refers to the collection of Font Software components as
12289
+ distributed by the Copyright Holder(s).
12290
+
12291
+ "Modified Version" refers to any derivative made by adding to, deleting,
12292
+ or substituting -- in part or in whole -- any of the components of the
12293
+ Original Version, by changing formats or by porting the Font Software to a
12294
+ new environment.
12295
+
12296
+ "Author" refers to any designer, engineer, programmer, technical
12297
+ writer or other person who contributed to the Font Software.
12298
+
12299
+ PERMISSION & CONDITIONS
12300
+ Permission is hereby granted, free of charge, to any person obtaining
12301
+ a copy of the Font Software, to use, study, copy, merge, embed, modify,
12302
+ redistribute, and sell modified and unmodified copies of the Font
12303
+ Software, subject to the following conditions:
12304
+
12305
+ 1) Neither the Font Software nor any of its individual components,
12306
+ in Original or Modified Versions, may be sold by itself.
12307
+
12308
+ 2) Original or Modified Versions of the Font Software may be bundled,
12309
+ redistributed and/or sold with any software, provided that each copy
12310
+ contains the above copyright notice and this license. These can be
12311
+ included either as stand-alone text files, human-readable headers or
12312
+ in the appropriate machine-readable metadata fields within text or
12313
+ binary files as long as those fields can be easily viewed by the user.
12314
+
12315
+ 3) No Modified Version of the Font Software may use the Reserved Font
12316
+ Name(s) unless explicit written permission is granted by the corresponding
12317
+ Copyright Holder. This restriction only applies to the primary font name as
12318
+ presented to the users.
12319
+
12320
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
12321
+ Software shall not be used to promote, endorse or advertise any
12322
+ Modified Version, except to acknowledge the contribution(s) of the
12323
+ Copyright Holder(s) and the Author(s) or with their explicit written
12324
+ permission.
12325
+
12326
+ 5) The Font Software, modified or unmodified, in part or in whole,
12327
+ must be distributed entirely under this license, and must not be
12328
+ distributed under any other license. The requirement for fonts to
12329
+ remain under this license does not apply to any document created
12330
+ using the Font Software.
12331
+
12332
+ TERMINATION
12333
+ This license becomes null and void if any of the above conditions are
12334
+ not met.
12335
+
12336
+ DISCLAIMER
12337
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
12338
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
12339
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
12340
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
12341
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
12342
+ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
12343
+ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
12344
+ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
12345
+ OTHER DEALINGS IN THE FONT SOFTWARE.
12346
+ ```
12347
+
12043
12348
  ### notice-59da8f4d3a59b0f9
12044
12349
 
12045
12350
  Applies to: @popperjs/core 2.11.8 / LICENSE.md
@@ -12095,6 +12400,34 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
12095
12400
  THE SOFTWARE.
12096
12401
  ```
12097
12402
 
12403
+ ### notice-5b2e1cc7660ce577
12404
+
12405
+ Applies to: bootstrap-icons 1.13.2 / LICENSE
12406
+
12407
+ ```text
12408
+ The MIT License (MIT)
12409
+
12410
+ Copyright (c) 2019-2024 The Bootstrap Authors
12411
+
12412
+ Permission is hereby granted, free of charge, to any person obtaining a copy
12413
+ of this software and associated documentation files (the "Software"), to deal
12414
+ in the Software without restriction, including without limitation the rights
12415
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12416
+ copies of the Software, and to permit persons to whom the Software is
12417
+ furnished to do so, subject to the following conditions:
12418
+
12419
+ The above copyright notice and this permission notice shall be included in
12420
+ all copies or substantial portions of the Software.
12421
+
12422
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
12423
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
12424
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
12425
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
12426
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
12427
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
12428
+ THE SOFTWARE.
12429
+ ```
12430
+
12098
12431
  ### notice-a80c79b8f80e824c
12099
12432
 
12100
12433
  Applies to: react 18.3.1 / LICENSE; react-dom 18.3.1 / LICENSE; scheduler 0.23.2 / LICENSE
package/lib/install.js CHANGED
@@ -143,6 +143,11 @@ function checkProvenance(file, version, gap = provenanceGap(), run = spawnSync)
143
143
  return true;
144
144
  }
145
145
 
146
+ // The notice and the provenance line belong to installing: shown when this version is first
147
+ // fetched (never before help text), and on every run only with AGENTSCM_INSTALL_VERBOSE=1.
148
+ const announces = (args, installing, verbose) =>
149
+ verbose || (installing && !['--help', '-h'].includes(args[0]));
150
+
146
151
  // The one-line report of what was actually checked.
147
152
  const provenanceLine = (gap) => gap
148
153
  ? `Checked the SHA-256 checksum (provenance not checked: ${gap}).`
@@ -155,7 +160,6 @@ async function main(args) {
155
160
  console.log(`agentscm ${version}`);
156
161
  return 0;
157
162
  }
158
- console.log(`${NOTICE_TEXT}\n`);
159
163
  const target = targetFor(process.platform, process.arch);
160
164
  if (!target) {
161
165
  console.error(`agentscm: ${unsupported(version)}`);
@@ -163,6 +167,10 @@ async function main(args) {
163
167
  }
164
168
  const asset = assetNameFor(target);
165
169
  const names = installNames(version, process.platform);
170
+ const dir = path.join(os.homedir(), '.agentscm', 'bin');
171
+ const binary = path.join(dir, names.versioned);
172
+ const announce = announces(args, !fs.existsSync(binary), verboseInstall());
173
+ if (announce) console.log(`${NOTICE_TEXT}\n`);
166
174
  const signal = AbortSignal.timeout(BUDGET_MS);
167
175
  const gap = provenanceGap(); // checked once: `gh auth status` goes over the network
168
176
  if (gap && process.env.AGENTSCM_REQUIRE_PROVENANCE === '1') throw new Error(`AGENTSCM_REQUIRE_PROVENANCE=1 but ${gap}`);
@@ -178,7 +186,6 @@ async function main(args) {
178
186
  }
179
187
  const expected = parseSums(sums, target);
180
188
 
181
- const dir = path.join(os.homedir(), '.agentscm', 'bin');
182
189
  fs.mkdirSync(dir, { recursive: true, mode: 0o700 });
183
190
  fs.chmodSync(dir, 0o700);
184
191
  const link = path.join(dir, names.latest);
@@ -186,7 +193,6 @@ async function main(args) {
186
193
  if (names.symlink && lst && !lst.isSymbolicLink()) throw new Error(`${link} exists and is not a symlink; remove it`);
187
194
 
188
195
  // Order: checksum, provenance, chmod, rename, link, exec. Nothing is installed or linked before both checks pass.
189
- const binary = path.join(dir, names.versioned);
190
196
  const rand = crypto.randomBytes(6).toString('hex');
191
197
  if (fs.existsSync(binary)) {
192
198
  if (!matches(binary, expected)) throw new Error(`${binary} does not match the release checksum; delete it and retry`);
@@ -227,7 +233,7 @@ async function main(args) {
227
233
  }
228
234
  }
229
235
 
230
- console.log(provenanceLine(gap));
236
+ if (announce) console.log(provenanceLine(gap));
231
237
 
232
238
  // This process-only assertion comes from the verified installer. The binary records an
233
239
  // installation only after its disclosure/choice gates are effective; HTTP stays detached.
@@ -237,4 +243,4 @@ async function main(args) {
237
243
  return r.status ?? 128 + (os.constants.signals[r.signal] ?? 0);
238
244
  }
239
245
 
240
- module.exports = { NOTICE_TEXT, targetFor, assetNameFor, installNames, urlFor, launchArgs, verifiedInstallEnv, parseSums, sha256File, matches, localSums, ghVerifyArgs, provenanceGap, checkProvenance, provenanceLine, main };
246
+ module.exports = { NOTICE_TEXT, announces, targetFor, assetNameFor, installNames, urlFor, launchArgs, verifiedInstallEnv, parseSums, sha256File, matches, localSums, ghVerifyArgs, provenanceGap, checkProvenance, provenanceLine, main };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentscm",
3
- "version": "0.1.0-alpha.6",
3
+ "version": "0.1.0-alpha.8",
4
4
  "description": "Downloads, verifies and starts the AgentSCM release binary.",
5
5
  "license": "FSL-1.1-ALv2",
6
6
  "repository": {"type": "git", "url": "git+https://github.com/counterbranch/agentscm.git"},