agentscm 0.1.0-alpha.6 → 0.1.2

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
@@ -1,16 +1,7 @@
1
1
  # agentscm
2
2
 
3
3
  ```
4
- npx agentscm downloads the AgentSCM release binary for your platform from
5
- GitHub Releases, verifies its SHA-256 checksum and build provenance, and then
6
- starts the setup guide. It does not run install scripts. After verification it
7
- marks that binary invocation as a verified install; the binary records one
8
- installation indicator only after setup explains pseudonymous product telemetry
9
- and the configured choice permits it. Disable this before any send with
10
- `--no-telemetry`, `AGENTSCM_TELEMETRY=off`, or `DO_NOT_TRACK=1`.
11
- The setup guide previews repository, hook and Hub changes; `agentscm uninstall`
12
- reverses setup. Manage usage reporting with `agentscm telemetry status` and
13
- `agentscm telemetry off`.
4
+ npx agentscm downloads the release binary from GitHub Releases and checks its SHA-256 checksum before it runs; no install scripts. Usage reporting is off until you run `agentscm telemetry on`.
14
5
  ```
15
6
 
16
7
  ## Usage
@@ -23,9 +14,9 @@ npx agentscm uninstall # runs any other subcommand as given
23
14
  npx agentscm tray # optional macOS status-bar companion
24
15
  ```
25
16
 
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.
17
+ 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
18
 
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
19
+ Details, manual verification and Docker: [docs/install.md](https://github.com/agentscm/agentscm/blob/main/docs/install.md). Source and license (FSL-1.1-ALv2): https://github.com/agentscm/agentscm
29
20
 
30
21
  The tray uses the same verified binary; there is no separate app install. It is an unsigned,
31
22
  unnotarized macOS alpha and does not update itself. **Start at Login** is off until enabled in
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
+ 134fa9f76cb5e292490b40b2b3c4ebfead583c751876b39cf9fe027347b752d4 agentscm-aarch64-apple-darwin
2
+ eb74e540094e6afab91f7ae116dcf99fe32aa09d211b577e005417601fc0b0db agentscm-aarch64-unknown-linux-musl
3
+ 934e2f6040b26a875871d56c3573e8be76d9a8618f0dacd925c00c0015591cde agentscm-x86_64-apple-darwin
4
+ a8e77a341d35edf2b4c60558e0fd451327133ded8df4d5a651b90e70534b4076 agentscm-x86_64-pc-windows-msvc.exe
5
+ 1de99f972073f1606a61dec51f226f4c8e6991f8b43c0740405e03ecdb765201 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
@@ -5,22 +5,13 @@ const os = require('node:os');
5
5
  const path = require('node:path');
6
6
  const { spawnSync } = require('node:child_process');
7
7
 
8
- const REPO = 'counterbranch/agentscm';
8
+ const REPO = 'agentscm/agentscm';
9
9
  const SUMS_MAX = 64 * 1024;
10
10
  const BINARY_MAX = 200 * 1024 * 1024;
11
11
  const VERIFY_OUTPUT_MAX = 1024 * 1024;
12
12
  const BUDGET_MS = 600_000; // overall, for both downloads
13
13
 
14
- const NOTICE_TEXT = `npx agentscm downloads the AgentSCM release binary for your platform from
15
- GitHub Releases, verifies its SHA-256 checksum and build provenance, and then
16
- starts the setup guide. It does not run install scripts. After verification it
17
- marks that binary invocation as a verified install; the binary records one
18
- installation indicator only after setup explains pseudonymous product telemetry
19
- and the configured choice permits it. Disable this before any send with
20
- \`--no-telemetry\`, \`AGENTSCM_TELEMETRY=off\`, or \`DO_NOT_TRACK=1\`.
21
- The setup guide previews repository, hook and Hub changes; \`agentscm uninstall\`
22
- reverses setup. Manage usage reporting with \`agentscm telemetry status\` and
23
- \`agentscm telemetry off\`.`;
14
+ const NOTICE_TEXT = `npx agentscm downloads the release binary from GitHub Releases and checks its SHA-256 checksum before it runs; no install scripts. Usage reporting is off until you run \`agentscm telemetry on\`.`;
24
15
 
25
16
  const TARGETS = {
26
17
  'linux/x64': 'x86_64-unknown-linux-musl',
@@ -134,6 +125,7 @@ function checkProvenance(file, version, gap = provenanceGap(), run = spawnSync)
134
125
  encoding: 'utf8',
135
126
  stdio: ['ignore', 'pipe', 'pipe'],
136
127
  maxBuffer: VERIFY_OUTPUT_MAX,
128
+ env: { ...process.env, GH_HOST: 'github.com' },
137
129
  });
138
130
  if (result.error || result.status !== 0) {
139
131
  showVerifyOutput(result);
@@ -143,6 +135,11 @@ function checkProvenance(file, version, gap = provenanceGap(), run = spawnSync)
143
135
  return true;
144
136
  }
145
137
 
138
+ // The notice and the provenance line belong to installing: shown when this version is first
139
+ // fetched (never before help text), and on every run only with AGENTSCM_INSTALL_VERBOSE=1.
140
+ const announces = (args, installing, verbose) =>
141
+ verbose || (installing && !['--help', '-h'].includes(args[0]));
142
+
146
143
  // The one-line report of what was actually checked.
147
144
  const provenanceLine = (gap) => gap
148
145
  ? `Checked the SHA-256 checksum (provenance not checked: ${gap}).`
@@ -155,7 +152,6 @@ async function main(args) {
155
152
  console.log(`agentscm ${version}`);
156
153
  return 0;
157
154
  }
158
- console.log(`${NOTICE_TEXT}\n`);
159
155
  const target = targetFor(process.platform, process.arch);
160
156
  if (!target) {
161
157
  console.error(`agentscm: ${unsupported(version)}`);
@@ -163,6 +159,10 @@ async function main(args) {
163
159
  }
164
160
  const asset = assetNameFor(target);
165
161
  const names = installNames(version, process.platform);
162
+ const dir = path.join(os.homedir(), '.agentscm', 'bin');
163
+ const binary = path.join(dir, names.versioned);
164
+ const announce = announces(args, !fs.existsSync(binary), verboseInstall());
165
+ if (announce) console.log(NOTICE_TEXT);
166
166
  const signal = AbortSignal.timeout(BUDGET_MS);
167
167
  const gap = provenanceGap(); // checked once: `gh auth status` goes over the network
168
168
  if (gap && process.env.AGENTSCM_REQUIRE_PROVENANCE === '1') throw new Error(`AGENTSCM_REQUIRE_PROVENANCE=1 but ${gap}`);
@@ -178,7 +178,6 @@ async function main(args) {
178
178
  }
179
179
  const expected = parseSums(sums, target);
180
180
 
181
- const dir = path.join(os.homedir(), '.agentscm', 'bin');
182
181
  fs.mkdirSync(dir, { recursive: true, mode: 0o700 });
183
182
  fs.chmodSync(dir, 0o700);
184
183
  const link = path.join(dir, names.latest);
@@ -186,7 +185,6 @@ async function main(args) {
186
185
  if (names.symlink && lst && !lst.isSymbolicLink()) throw new Error(`${link} exists and is not a symlink; remove it`);
187
186
 
188
187
  // 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
188
  const rand = crypto.randomBytes(6).toString('hex');
191
189
  if (fs.existsSync(binary)) {
192
190
  if (!matches(binary, expected)) throw new Error(`${binary} does not match the release checksum; delete it and retry`);
@@ -227,7 +225,7 @@ async function main(args) {
227
225
  }
228
226
  }
229
227
 
230
- console.log(provenanceLine(gap));
228
+ if (announce) console.log(provenanceLine(gap));
231
229
 
232
230
  // This process-only assertion comes from the verified installer. The binary records an
233
231
  // installation only after its disclosure/choice gates are effective; HTTP stays detached.
@@ -237,4 +235,4 @@ async function main(args) {
237
235
  return r.status ?? 128 + (os.constants.signals[r.signal] ?? 0);
238
236
  }
239
237
 
240
- module.exports = { NOTICE_TEXT, targetFor, assetNameFor, installNames, urlFor, launchArgs, verifiedInstallEnv, parseSums, sha256File, matches, localSums, ghVerifyArgs, provenanceGap, checkProvenance, provenanceLine, main };
238
+ 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,14 +1,32 @@
1
1
  {
2
2
  "name": "agentscm",
3
- "version": "0.1.0-alpha.6",
3
+ "version": "0.1.2",
4
4
  "description": "Downloads, verifies and starts the AgentSCM release binary.",
5
5
  "license": "FSL-1.1-ALv2",
6
- "repository": {"type": "git", "url": "git+https://github.com/counterbranch/agentscm.git"},
7
- "homepage": "https://github.com/counterbranch/agentscm",
8
- "bin": {"agentscm": "bin/agentscm.js"},
9
- "files": ["bin", "lib", "README.md", "LICENSE", "NOTICE", "THIRD_PARTY_NOTICES.md", "SHA256SUMS"],
10
- "engines": {"node": ">=18"},
11
- "publishConfig": {"provenance": true, "access": "public"},
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/agentscm/agentscm.git"
9
+ },
10
+ "homepage": "https://github.com/agentscm/agentscm",
11
+ "bin": {
12
+ "agentscm": "bin/agentscm.js"
13
+ },
14
+ "files": [
15
+ "bin",
16
+ "lib",
17
+ "README.md",
18
+ "LICENSE",
19
+ "NOTICE",
20
+ "THIRD_PARTY_NOTICES.md",
21
+ "SHA256SUMS"
22
+ ],
23
+ "engines": {
24
+ "node": ">=18"
25
+ },
26
+ "publishConfig": {
27
+ "provenance": true,
28
+ "access": "public"
29
+ },
12
30
  "scripts": {
13
31
  "test": "node --test"
14
32
  }