agentscm 0.1.0-alpha.3 → 0.1.0-alpha.4
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 +8 -3
- package/SHA256SUMS +5 -5
- package/THIRD_PARTY_NOTICES.md +189 -7
- package/lib/install.js +50 -16
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -3,9 +3,14 @@
|
|
|
3
3
|
```
|
|
4
4
|
npx agentscm downloads the AgentSCM release binary for your platform from
|
|
5
5
|
GitHub Releases, verifies its SHA-256 checksum and build provenance, and then
|
|
6
|
-
starts the setup guide. It does not run install scripts
|
|
7
|
-
|
|
8
|
-
|
|
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`.
|
|
9
14
|
```
|
|
10
15
|
|
|
11
16
|
## Usage
|
package/SHA256SUMS
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
adfa10c9edd73b27bfc85c5b6fd79f43078cf30c9b9c2347453b295a2693a232 agentscm-aarch64-apple-darwin
|
|
2
|
+
16877eb05b84ac35251d90a33b5fd5f2d1f2e9f41477d29936140e736341cc24 agentscm-aarch64-unknown-linux-musl
|
|
3
|
+
5f40fe669845e85c3ab3ac6dbf11bed850b36c73f0b94ffe570aa80edfa464b1 agentscm-x86_64-apple-darwin
|
|
4
|
+
95f5d4d33517cae1cb706c7e58b5c94f960c31fc6dd7264e82e0424fb9a93267 agentscm-x86_64-pc-windows-msvc.exe
|
|
5
|
+
d37f2ce2591aa4e0d2e04ba61a6ccea5ab86595aefcac7e21ee9f578d8c5cf5e agentscm-x86_64-unknown-linux-musl
|
package/THIRD_PARTY_NOTICES.md
CHANGED
|
@@ -149,7 +149,7 @@ included below.
|
|
|
149
149
|
| rustix | 1.1.5 | Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT | notice-a60eea8175145316, notice-268872b9816f90fd, notice-23f18e03dc49df91 |
|
|
150
150
|
| rustls | 0.23.46 | Apache-2.0 OR ISC OR MIT | notice-a60eea8175145316, notice-7cfafc877eccc46c, notice-709e3175b4212f7b |
|
|
151
151
|
| rustls-pki-types | 1.15.1 | MIT OR Apache-2.0 | notice-45fd05c4865e7c35, notice-9117d922e6671255 |
|
|
152
|
-
| rustls-webpki | 0.103.
|
|
152
|
+
| rustls-webpki | 0.103.16 | ISC | notice-5b698ca13897be3a |
|
|
153
153
|
| rustversion | 1.0.23 | MIT OR Apache-2.0 | notice-62c7a1e35f564068, notice-23f18e03dc49df91 |
|
|
154
154
|
| ryu | 1.0.23 | Apache-2.0 OR BSL-1.0 | notice-62c7a1e35f564068, notice-c9bff75738922193 |
|
|
155
155
|
| scopeguard | 1.2.0 | MIT OR Apache-2.0 | notice-a60eea8175145316, notice-fb77f0a9c53e473a |
|
|
@@ -218,7 +218,7 @@ included below.
|
|
|
218
218
|
| wasm-bindgen-shared | 0.2.129 | MIT OR Apache-2.0 | notice-a60eea8175145316, notice-378f5840b258e277 |
|
|
219
219
|
| web-sys | 0.3.106 | MIT OR Apache-2.0 | notice-a60eea8175145316, notice-378f5840b258e277 |
|
|
220
220
|
| web-time | 1.1.0 | MIT OR Apache-2.0 | notice-54a744942eb3fa63, notice-f428305bbf2e70fb |
|
|
221
|
-
| webpki-roots | 1.0.
|
|
221
|
+
| webpki-roots | 1.0.10 | CDLA-Permissive-2.0 | notice-e271993808fec50a |
|
|
222
222
|
| whoami | 2.1.3 | Apache-2.0 OR BSL-1.0 OR MIT | notice-62c7a1e35f564068, notice-c9bff75738922193, notice-508a77d2e7b51d98 |
|
|
223
223
|
| windows-link | 0.2.1 | MIT OR Apache-2.0 | notice-c16f8dcf1a368b83, notice-c2cfccb812fe4821 |
|
|
224
224
|
| windows-sys | 0.52.0 | MIT OR Apache-2.0 | notice-c16f8dcf1a368b83, notice-c2cfccb812fe4821 |
|
|
@@ -8692,7 +8692,7 @@ DEALINGS IN THE SOFTWARE.
|
|
|
8692
8692
|
|
|
8693
8693
|
## notice-5b698ca13897be3a
|
|
8694
8694
|
|
|
8695
|
-
Applies to: rustls-webpki 0.103.
|
|
8695
|
+
Applies to: rustls-webpki 0.103.16 / LICENSE
|
|
8696
8696
|
|
|
8697
8697
|
```text
|
|
8698
8698
|
Except as otherwise noted, this project is licensed under the following
|
|
@@ -9214,7 +9214,7 @@ SOFTWARE.
|
|
|
9214
9214
|
|
|
9215
9215
|
## notice-e271993808fec50a
|
|
9216
9216
|
|
|
9217
|
-
Applies to: webpki-roots 1.0.
|
|
9217
|
+
Applies to: webpki-roots 1.0.10 / LICENSE
|
|
9218
9218
|
|
|
9219
9219
|
```text
|
|
9220
9220
|
# Community Data License Agreement - Permissive - Version 2.0
|
|
@@ -9355,32 +9355,46 @@ Production dependencies of the status page that are compiled into `app.js`. Buil
|
|
|
9355
9355
|
| @emotion/unitless | 0.7.5 | MIT | notice-719058ae8dbdba06 |
|
|
9356
9356
|
| @rc-component/async-validator | 5.1.2 | MIT | notice-509eabacb9ef4e7b |
|
|
9357
9357
|
| @rc-component/color-picker | 2.0.1 | MIT | notice-aa9ce8bad1af7244 |
|
|
9358
|
+
| @rc-component/context | 1.4.0 | MIT | notice-509eabacb9ef4e7b |
|
|
9359
|
+
| @rc-component/mini-decimal | 1.1.4 | MIT | notice-8781f0ca19205733 |
|
|
9358
9360
|
| @rc-component/portal | 1.1.2 | MIT | notice-8781f0ca19205733 |
|
|
9359
9361
|
| @rc-component/trigger | 2.3.1 | MIT | notice-fc54f50dbda2f75b |
|
|
9360
9362
|
| antd | 5.29.3 | MIT | notice-f696794c35873d9b |
|
|
9361
9363
|
| classnames | 2.5.1 | MIT | notice-bedcfd7e502f5429 |
|
|
9364
|
+
| compute-scroll-into-view | 3.1.1 | MIT | notice-b58c311d6fa4d272 |
|
|
9362
9365
|
| copy-to-clipboard | 3.3.3 | MIT | notice-5149051aed807f78 |
|
|
9363
9366
|
| rc-checkbox | 3.5.0 | MIT | notice-3fefe89002bfade4 |
|
|
9367
|
+
| rc-collapse | 3.9.0 | MIT | notice-509eabacb9ef4e7b |
|
|
9368
|
+
| rc-dialog | 9.6.0 | MIT | notice-509eabacb9ef4e7b |
|
|
9364
9369
|
| rc-dropdown | 4.2.1 | MIT | notice-fc54f50dbda2f75b |
|
|
9365
9370
|
| rc-field-form | 2.7.1 | MIT | notice-8781f0ca19205733 |
|
|
9366
9371
|
| rc-input | 1.8.0 | MIT | notice-e3be4577f9f03567 |
|
|
9372
|
+
| rc-input-number | 9.5.0 | MIT | notice-509eabacb9ef4e7b |
|
|
9367
9373
|
| rc-menu | 9.16.1 | MIT | notice-509eabacb9ef4e7b |
|
|
9368
9374
|
| rc-motion | 2.9.5 | MIT | notice-e3be4577f9f03567 |
|
|
9369
9375
|
| rc-overflow | 1.5.0 | MIT | notice-e3be4577f9f03567 |
|
|
9370
9376
|
| rc-pagination | 5.1.0 | MIT | notice-509eabacb9ef4e7b |
|
|
9371
9377
|
| rc-picker | 4.11.3 | MIT | notice-e3be4577f9f03567 |
|
|
9378
|
+
| rc-progress | 4.0.0 | MIT | notice-509eabacb9ef4e7b |
|
|
9372
9379
|
| rc-resize-observer | 1.4.3 | MIT | notice-e3be4577f9f03567 |
|
|
9373
9380
|
| rc-segmented | 2.7.1 | MIT | notice-e3be4577f9f03567 |
|
|
9381
|
+
| rc-select | 14.16.8 | MIT | notice-420804296afd6233 |
|
|
9382
|
+
| rc-steps | 6.0.1 | MIT | notice-509eabacb9ef4e7b |
|
|
9383
|
+
| rc-table | 7.54.0 | MIT | notice-06af38d559a6264a |
|
|
9374
9384
|
| rc-tabs | 15.7.0 | MIT | notice-509eabacb9ef4e7b |
|
|
9375
9385
|
| rc-textarea | 1.10.2 | MIT | notice-e3be4577f9f03567 |
|
|
9376
9386
|
| rc-tooltip | 6.4.0 | MIT | notice-fa70b699d4f04cb3 |
|
|
9387
|
+
| rc-tree | 5.13.1 | MIT | notice-a57f8fe084177ae3 |
|
|
9377
9388
|
| rc-util | 5.44.4 | MIT | notice-9eb9cb6b607e7370 |
|
|
9389
|
+
| rc-virtual-list | 3.19.2 | MIT | notice-fa70b699d4f04cb3 |
|
|
9378
9390
|
| react | 18.3.1 | MIT | notice-a80c79b8f80e824c |
|
|
9379
9391
|
| react-dom | 18.3.1 | MIT | notice-a80c79b8f80e824c |
|
|
9380
9392
|
| react-is | 18.3.1 | MIT | notice-a80c79b8f80e824c |
|
|
9381
9393
|
| resize-observer-polyfill | 1.5.1 | MIT | notice-ed9d31ab88a49256 |
|
|
9382
9394
|
| scheduler | 0.23.2 | MIT | notice-a80c79b8f80e824c |
|
|
9395
|
+
| scroll-into-view-if-needed | 3.1.0 | MIT | notice-96f25b41a87abdf7 |
|
|
9383
9396
|
| stylis | 4.4.0 | MIT | notice-6821b85df4724cdd |
|
|
9397
|
+
| throttle-debounce | 5.0.2 | MIT | notice-7c6cea49d80c4c20 |
|
|
9384
9398
|
| toggle-selection | 1.0.6 | MIT | none shipped |
|
|
9385
9399
|
|
|
9386
9400
|
### notice-a00104af602c87cb
|
|
@@ -9514,7 +9528,7 @@ SOFTWARE.
|
|
|
9514
9528
|
|
|
9515
9529
|
### notice-509eabacb9ef4e7b
|
|
9516
9530
|
|
|
9517
|
-
Applies to: @rc-component/async-validator 5.1.2 / LICENSE.md; rc-menu 9.16.1 / LICENSE.md; rc-pagination 5.1.0 / LICENSE.md; rc-tabs 15.7.0 / LICENSE.md
|
|
9531
|
+
Applies to: @rc-component/async-validator 5.1.2 / LICENSE.md; @rc-component/context 1.4.0 / LICENSE.md; rc-collapse 3.9.0 / LICENSE.md; rc-dialog 9.6.0 / LICENSE.md; rc-input-number 9.5.0 / LICENSE.md; rc-menu 9.16.1 / LICENSE.md; rc-pagination 5.1.0 / LICENSE.md; rc-progress 4.0.0 / LICENSE.md; rc-steps 6.0.1 / LICENSE.md; rc-tabs 15.7.0 / LICENSE.md
|
|
9518
9532
|
|
|
9519
9533
|
```text
|
|
9520
9534
|
The MIT License (MIT)
|
|
@@ -9546,7 +9560,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
|
|
|
9546
9560
|
|
|
9547
9561
|
### notice-8781f0ca19205733
|
|
9548
9562
|
|
|
9549
|
-
Applies to: @rc-component/portal 1.1.2 / LICENSE; rc-field-form 2.7.1 / LICENSE
|
|
9563
|
+
Applies to: @rc-component/mini-decimal 1.1.4 / LICENSE; @rc-component/portal 1.1.2 / LICENSE; rc-field-form 2.7.1 / LICENSE
|
|
9550
9564
|
|
|
9551
9565
|
```text
|
|
9552
9566
|
MIT License
|
|
@@ -9629,6 +9643,34 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
9629
9643
|
SOFTWARE.
|
|
9630
9644
|
```
|
|
9631
9645
|
|
|
9646
|
+
### notice-b58c311d6fa4d272
|
|
9647
|
+
|
|
9648
|
+
Applies to: compute-scroll-into-view 3.1.1 / LICENSE
|
|
9649
|
+
|
|
9650
|
+
```text
|
|
9651
|
+
MIT License
|
|
9652
|
+
|
|
9653
|
+
Copyright (c) 2025 Cody Olsen
|
|
9654
|
+
|
|
9655
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
9656
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
9657
|
+
in the Software without restriction, including without limitation the rights
|
|
9658
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9659
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
9660
|
+
furnished to do so, subject to the following conditions:
|
|
9661
|
+
|
|
9662
|
+
The above copyright notice and this permission notice shall be included in all
|
|
9663
|
+
copies or substantial portions of the Software.
|
|
9664
|
+
|
|
9665
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
9666
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
9667
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
9668
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
9669
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
9670
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
9671
|
+
SOFTWARE.
|
|
9672
|
+
```
|
|
9673
|
+
|
|
9632
9674
|
### notice-5149051aed807f78
|
|
9633
9675
|
|
|
9634
9676
|
Applies to: copy-to-clipboard 3.3.3 / LICENSE
|
|
@@ -9671,9 +9713,41 @@ The above copyright notice and this permission notice shall be included in all c
|
|
|
9671
9713
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
9672
9714
|
```
|
|
9673
9715
|
|
|
9716
|
+
### notice-420804296afd6233
|
|
9717
|
+
|
|
9718
|
+
Applies to: rc-select 14.16.8 / LICENSE.md
|
|
9719
|
+
|
|
9720
|
+
```text
|
|
9721
|
+
The MIT License (MIT)
|
|
9722
|
+
|
|
9723
|
+
Copyright (c) 2014-present alipay.com
|
|
9724
|
+
|
|
9725
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
9726
|
+
|
|
9727
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
9728
|
+
|
|
9729
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
9730
|
+
```
|
|
9731
|
+
|
|
9732
|
+
### notice-06af38d559a6264a
|
|
9733
|
+
|
|
9734
|
+
Applies to: rc-table 7.54.0 / LICENSE.md
|
|
9735
|
+
|
|
9736
|
+
```text
|
|
9737
|
+
MIT LICENSE
|
|
9738
|
+
|
|
9739
|
+
Copyright (c) 2015-present Alipay.com, https://www.alipay.com/
|
|
9740
|
+
|
|
9741
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
9742
|
+
|
|
9743
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
9744
|
+
|
|
9745
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
9746
|
+
```
|
|
9747
|
+
|
|
9674
9748
|
### notice-fa70b699d4f04cb3
|
|
9675
9749
|
|
|
9676
|
-
Applies to: rc-tooltip 6.4.0 / LICENSE
|
|
9750
|
+
Applies to: rc-tooltip 6.4.0 / LICENSE; rc-virtual-list 3.19.2 / LICENSE
|
|
9677
9751
|
|
|
9678
9752
|
```text
|
|
9679
9753
|
The MIT License (MIT)
|
|
@@ -9699,6 +9773,35 @@ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
|
9699
9773
|
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
9700
9774
|
```
|
|
9701
9775
|
|
|
9776
|
+
### notice-a57f8fe084177ae3
|
|
9777
|
+
|
|
9778
|
+
Applies to: rc-tree 5.13.1 / LICENSE.md
|
|
9779
|
+
|
|
9780
|
+
```text
|
|
9781
|
+
MIT LICENSE
|
|
9782
|
+
|
|
9783
|
+
Copyright (c) 2015-present Alipay.com, https://www.alipay.com/
|
|
9784
|
+
|
|
9785
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
9786
|
+
a copy of this software and associated documentation files (the
|
|
9787
|
+
"Software"), to deal in the Software without restriction, including
|
|
9788
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
|
9789
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
|
9790
|
+
permit persons to whom the Software is furnished to do so, subject to
|
|
9791
|
+
the following conditions:
|
|
9792
|
+
|
|
9793
|
+
The above copyright notice and this permission notice shall be
|
|
9794
|
+
included in all copies or substantial portions of the Software.
|
|
9795
|
+
|
|
9796
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
9797
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
9798
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
9799
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
9800
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
9801
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
9802
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
9803
|
+
```
|
|
9804
|
+
|
|
9702
9805
|
### notice-9eb9cb6b607e7370
|
|
9703
9806
|
|
|
9704
9807
|
Applies to: rc-util 5.44.4 / LICENSE
|
|
@@ -9784,6 +9887,34 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
9784
9887
|
SOFTWARE.
|
|
9785
9888
|
```
|
|
9786
9889
|
|
|
9890
|
+
### notice-96f25b41a87abdf7
|
|
9891
|
+
|
|
9892
|
+
Applies to: scroll-into-view-if-needed 3.1.0 / LICENSE
|
|
9893
|
+
|
|
9894
|
+
```text
|
|
9895
|
+
MIT License
|
|
9896
|
+
|
|
9897
|
+
Copyright (c) 2023 Cody Olsen
|
|
9898
|
+
|
|
9899
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
9900
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
9901
|
+
in the Software without restriction, including without limitation the rights
|
|
9902
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9903
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
9904
|
+
furnished to do so, subject to the following conditions:
|
|
9905
|
+
|
|
9906
|
+
The above copyright notice and this permission notice shall be included in all
|
|
9907
|
+
copies or substantial portions of the Software.
|
|
9908
|
+
|
|
9909
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
9910
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
9911
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
9912
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
9913
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
9914
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
9915
|
+
SOFTWARE.
|
|
9916
|
+
```
|
|
9917
|
+
|
|
9787
9918
|
### notice-6821b85df4724cdd
|
|
9788
9919
|
|
|
9789
9920
|
Applies to: stylis 4.4.0 / LICENSE
|
|
@@ -9811,3 +9942,54 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
9811
9942
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
9812
9943
|
SOFTWARE.
|
|
9813
9944
|
```
|
|
9945
|
+
|
|
9946
|
+
### notice-7c6cea49d80c4c20
|
|
9947
|
+
|
|
9948
|
+
Applies to: throttle-debounce 5.0.2 / LICENSE.md
|
|
9949
|
+
|
|
9950
|
+
```text
|
|
9951
|
+
Copyright (c) Ivan Nikolić <http://ivannikolic.com>
|
|
9952
|
+
|
|
9953
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
9954
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
9955
|
+
in the Software without restriction, including without limitation the rights
|
|
9956
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9957
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
9958
|
+
furnished to do so, subject to the following conditions:
|
|
9959
|
+
|
|
9960
|
+
The above copyright notice and this permission notice shall be included in
|
|
9961
|
+
all copies or substantial portions of the Software.
|
|
9962
|
+
|
|
9963
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
9964
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
9965
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
9966
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
9967
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
9968
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
9969
|
+
THE SOFTWARE.
|
|
9970
|
+
|
|
9971
|
+
---
|
|
9972
|
+
|
|
9973
|
+
Copyright (c) 2010 "Cowboy" Ben Alman
|
|
9974
|
+
|
|
9975
|
+
Permission is hereby granted, free of charge, to any person
|
|
9976
|
+
obtaining a copy of this software and associated documentation
|
|
9977
|
+
files (the "Software"), to deal in the Software without
|
|
9978
|
+
restriction, including without limitation the rights to use,
|
|
9979
|
+
copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9980
|
+
copies of the Software, and to permit persons to whom the
|
|
9981
|
+
Software is furnished to do so, subject to the following
|
|
9982
|
+
conditions:
|
|
9983
|
+
|
|
9984
|
+
The above copyright notice and this permission notice shall be
|
|
9985
|
+
included in all copies or substantial portions of the Software.
|
|
9986
|
+
|
|
9987
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
9988
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
|
9989
|
+
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
9990
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
|
9991
|
+
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
9992
|
+
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
9993
|
+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
9994
|
+
OTHER DEALINGS IN THE SOFTWARE.
|
|
9995
|
+
```
|
package/lib/install.js
CHANGED
|
@@ -3,18 +3,24 @@ const crypto = require('node:crypto');
|
|
|
3
3
|
const fs = require('node:fs');
|
|
4
4
|
const os = require('node:os');
|
|
5
5
|
const path = require('node:path');
|
|
6
|
-
const {
|
|
6
|
+
const { spawnSync } = require('node:child_process');
|
|
7
7
|
|
|
8
8
|
const REPO = 'counterbranch/agentscm';
|
|
9
9
|
const SUMS_MAX = 64 * 1024;
|
|
10
10
|
const BINARY_MAX = 200 * 1024 * 1024;
|
|
11
|
+
const VERIFY_OUTPUT_MAX = 1024 * 1024;
|
|
11
12
|
const BUDGET_MS = 600_000; // overall, for both downloads
|
|
12
13
|
|
|
13
14
|
const NOTICE_TEXT = `npx agentscm downloads the AgentSCM release binary for your platform from
|
|
14
15
|
GitHub Releases, verifies its SHA-256 checksum and build provenance, and then
|
|
15
|
-
starts the setup guide. It does not run install scripts
|
|
16
|
-
|
|
17
|
-
|
|
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\`.`;
|
|
18
24
|
|
|
19
25
|
const TARGETS = {
|
|
20
26
|
'linux/x64': 'x86_64-unknown-linux-musl',
|
|
@@ -43,6 +49,11 @@ const TOP_LEVEL_FLAGS = new Set(['--version', '-V', '--help', '-h']);
|
|
|
43
49
|
const launchArgs = (args) =>
|
|
44
50
|
args.length === 0 || (args[0].startsWith('-') && !TOP_LEVEL_FLAGS.has(args[0])) ? ['quickstart', ...args] : args;
|
|
45
51
|
|
|
52
|
+
const verifiedInstallEnv = (environment = process.env) => ({
|
|
53
|
+
...environment,
|
|
54
|
+
AGENTSCM_VERIFIED_INSTALL: '1',
|
|
55
|
+
});
|
|
56
|
+
|
|
46
57
|
// Strict: every line must be `<64 lowercase hex> agentscm-<target>[.exe]`, and the asset appears exactly once.
|
|
47
58
|
function parseSums(text, target) {
|
|
48
59
|
const hashes = [];
|
|
@@ -104,18 +115,32 @@ function provenanceGap(run = spawnSync) {
|
|
|
104
115
|
return null;
|
|
105
116
|
}
|
|
106
117
|
|
|
107
|
-
|
|
108
|
-
|
|
118
|
+
const verboseInstall = () => process.env.AGENTSCM_INSTALL_VERBOSE === '1';
|
|
119
|
+
|
|
120
|
+
function showVerifyOutput(result) {
|
|
121
|
+
for (const output of [result.stdout, result.stderr]) {
|
|
122
|
+
if (output && output.trim()) console.error(output.trimEnd());
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
// Throws if the attestation does not verify. Returns whether provenance was verified.
|
|
127
|
+
// gh output is captured so its success report and upgrade notices do not bury the setup prompt.
|
|
128
|
+
function checkProvenance(file, version, gap = provenanceGap(), run = spawnSync) {
|
|
109
129
|
if (gap) {
|
|
110
130
|
if (process.env.AGENTSCM_REQUIRE_PROVENANCE === '1') throw new Error(`AGENTSCM_REQUIRE_PROVENANCE=1 but ${gap}`);
|
|
111
|
-
|
|
112
|
-
return;
|
|
131
|
+
return false;
|
|
113
132
|
}
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
133
|
+
const result = run('gh', ghVerifyArgs(file, version), {
|
|
134
|
+
encoding: 'utf8',
|
|
135
|
+
stdio: ['ignore', 'pipe', 'pipe'],
|
|
136
|
+
maxBuffer: VERIFY_OUTPUT_MAX,
|
|
137
|
+
});
|
|
138
|
+
if (result.error || result.status !== 0) {
|
|
139
|
+
showVerifyOutput(result);
|
|
117
140
|
throw new Error('build provenance verification failed; not running the binary');
|
|
118
141
|
}
|
|
142
|
+
if (verboseInstall()) showVerifyOutput(result);
|
|
143
|
+
return true;
|
|
119
144
|
}
|
|
120
145
|
|
|
121
146
|
async function main(args) {
|
|
@@ -137,9 +162,9 @@ async function main(args) {
|
|
|
137
162
|
const parts = [];
|
|
138
163
|
await download(urlFor(version, 'SHA256SUMS'), SUMS_MAX, (c) => parts.push(c), signal);
|
|
139
164
|
sums = Buffer.concat(parts).toString('utf8');
|
|
140
|
-
console.log('Checksums from the GitHub release.');
|
|
165
|
+
if (verboseInstall()) console.log('Checksums from the GitHub release.');
|
|
141
166
|
} else {
|
|
142
|
-
console.log('Checksums from the npm package.');
|
|
167
|
+
if (verboseInstall()) console.log('Checksums from the npm package.');
|
|
143
168
|
}
|
|
144
169
|
const expected = parseSums(sums, target);
|
|
145
170
|
|
|
@@ -156,7 +181,7 @@ async function main(args) {
|
|
|
156
181
|
if (fs.existsSync(binary)) {
|
|
157
182
|
if (!matches(binary, expected)) throw new Error(`${binary} does not match the release checksum; delete it and retry`);
|
|
158
183
|
checkProvenance(binary, version, gap);
|
|
159
|
-
console.log(`Using the verified ${binary}`);
|
|
184
|
+
if (verboseInstall()) console.log(`Using the verified ${binary}`);
|
|
160
185
|
} else {
|
|
161
186
|
const tmp = path.join(dir, `.agentscm-${version}-${rand}.tmp`);
|
|
162
187
|
try {
|
|
@@ -192,9 +217,18 @@ async function main(args) {
|
|
|
192
217
|
}
|
|
193
218
|
}
|
|
194
219
|
|
|
195
|
-
|
|
220
|
+
if (gap) {
|
|
221
|
+
console.log(`Verified checksum; provenance was not checked (${gap}).`);
|
|
222
|
+
} else {
|
|
223
|
+
console.log('Verified checksum and build provenance. Set AGENTSCM_INSTALL_VERBOSE=1 for details.');
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
// This process-only assertion comes from the verified installer. The binary records an
|
|
227
|
+
// installation only after its disclosure/choice gates are effective; HTTP stays detached.
|
|
228
|
+
const env = verifiedInstallEnv();
|
|
229
|
+
const r = spawnSync(binary, launchArgs(args), { stdio: 'inherit', env });
|
|
196
230
|
if (r.error) throw r.error;
|
|
197
231
|
return r.status ?? 128 + (os.constants.signals[r.signal] ?? 0);
|
|
198
232
|
}
|
|
199
233
|
|
|
200
|
-
module.exports = { NOTICE_TEXT, targetFor, assetNameFor, installNames, urlFor, launchArgs, parseSums, sha256File, matches, localSums, ghVerifyArgs, provenanceGap, checkProvenance, main };
|
|
234
|
+
module.exports = { NOTICE_TEXT, targetFor, assetNameFor, installNames, urlFor, launchArgs, verifiedInstallEnv, parseSums, sha256File, matches, localSums, ghVerifyArgs, provenanceGap, checkProvenance, main };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agentscm",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.4",
|
|
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"},
|