peerllm-host-cli 0.3.0 → 1.7.1
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/LICENSE +82 -13
- package/README.md +2 -16
- package/dist/cli/commands/dashboard.d.ts +1 -0
- package/dist/cli/commands/dashboard.d.ts.map +1 -1
- package/dist/cli/commands/dashboard.js +465 -209
- package/dist/cli/commands/dashboard.js.map +1 -1
- package/dist/cli/commands/models.js +8 -8
- package/dist/cli/commands/models.js.map +1 -1
- package/dist/cli/commands/start.d.ts.map +1 -1
- package/dist/cli/commands/start.js +5 -4
- package/dist/cli/commands/start.js.map +1 -1
- package/dist/cli/tui.d.ts +12 -0
- package/dist/cli/tui.d.ts.map +1 -1
- package/dist/cli/tui.js +49 -0
- package/dist/cli/tui.js.map +1 -1
- package/dist/core/catalog.d.ts +10 -7
- package/dist/core/catalog.d.ts.map +1 -1
- package/dist/core/catalog.js +10 -2
- package/dist/core/catalog.js.map +1 -1
- package/dist/core/host-stats.d.ts +54 -0
- package/dist/core/host-stats.d.ts.map +1 -0
- package/dist/core/host-stats.js +148 -0
- package/dist/core/host-stats.js.map +1 -0
- package/dist/core/model-download.d.ts.map +1 -1
- package/dist/core/model-download.js +9 -16
- package/dist/core/model-download.js.map +1 -1
- package/dist/core/npm-version.d.ts +23 -0
- package/dist/core/npm-version.d.ts.map +1 -0
- package/dist/core/npm-version.js +73 -0
- package/dist/core/npm-version.js.map +1 -0
- package/dist/core/orchestrator.d.ts +9 -0
- package/dist/core/orchestrator.d.ts.map +1 -1
- package/dist/core/orchestrator.js +25 -4
- package/dist/core/orchestrator.js.map +1 -1
- package/dist/core/token-rate.d.ts +14 -0
- package/dist/core/token-rate.d.ts.map +1 -0
- package/dist/core/token-rate.js +36 -0
- package/dist/core/token-rate.js.map +1 -0
- package/dist/daemon/methods.d.ts +4 -0
- package/dist/daemon/methods.d.ts.map +1 -1
- package/dist/daemon/methods.js +58 -6
- package/dist/daemon/methods.js.map +1 -1
- package/dist/daemon/run.d.ts.map +1 -1
- package/dist/daemon/run.js +10 -0
- package/dist/daemon/run.js.map +1 -1
- package/dist/shared/protocol.d.ts +41 -1
- package/dist/shared/protocol.d.ts.map +1 -1
- package/dist/shared/protocol.js +1 -1
- package/package.json +2 -2
package/LICENSE
CHANGED
|
@@ -1,19 +1,88 @@
|
|
|
1
|
+
END USER LICENSE AGREEMENT
|
|
2
|
+
PeerLLM Host CLI
|
|
1
3
|
Copyright (c) 2026 Hassan Habib / BestBytes AI LLC. All rights reserved.
|
|
2
4
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
+
PLEASE READ THIS END USER LICENSE AGREEMENT ("AGREEMENT") CAREFULLY BEFORE
|
|
6
|
+
INSTALLING OR USING THE PEERLLM HOST CLI ("SOFTWARE"). BY INSTALLING OR USING
|
|
7
|
+
THE SOFTWARE, YOU AGREE TO BE BOUND BY THE TERMS OF THIS AGREEMENT. IF YOU DO
|
|
8
|
+
NOT AGREE, DO NOT INSTALL OR USE THE SOFTWARE.
|
|
5
9
|
|
|
6
|
-
|
|
7
|
-
- Install and run this CLI to operate a PeerLLM host.
|
|
8
|
-
- Inspect the published JavaScript for security or compliance purposes.
|
|
10
|
+
1. GRANT OF LICENSE
|
|
9
11
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
BestBytes AI LLC ("Licensor") grants you a limited, non-exclusive,
|
|
13
|
+
non-transferable, revocable license to install and run the Software solely for
|
|
14
|
+
the purpose of operating a PeerLLM host node on your own hardware. No other
|
|
15
|
+
rights are granted.
|
|
14
16
|
|
|
15
|
-
|
|
16
|
-
Apache 2.0) before the 1.0 public release. Until then, treat the source
|
|
17
|
-
as proprietary.
|
|
17
|
+
2. RESTRICTIONS
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
You may not, without prior written permission from Licensor:
|
|
20
|
+
|
|
21
|
+
a. Copy, modify, merge, or create derivative works of the Software.
|
|
22
|
+
b. Redistribute, sublicense, sell, rent, or lend the Software or any copy
|
|
23
|
+
of it.
|
|
24
|
+
c. Reverse engineer, decompile, or disassemble the Software except to the
|
|
25
|
+
extent expressly permitted by applicable law.
|
|
26
|
+
d. Re-publish the Software under a different name or as part of another
|
|
27
|
+
product.
|
|
28
|
+
e. Remove or alter any proprietary notices, labels, or marks on the
|
|
29
|
+
Software.
|
|
30
|
+
f. Use the Software to build a competing product or service.
|
|
31
|
+
|
|
32
|
+
3. INTELLECTUAL PROPERTY
|
|
33
|
+
|
|
34
|
+
The Software, including all source code, object code, documentation, and any
|
|
35
|
+
modifications, is and remains the exclusive property of Licensor. This
|
|
36
|
+
Agreement does not convey any ownership interest to you.
|
|
37
|
+
|
|
38
|
+
4. THIRD-PARTY COMPONENTS
|
|
39
|
+
|
|
40
|
+
The Software may include third-party open-source components, each governed by
|
|
41
|
+
its own license terms. Those terms are listed in the accompanying
|
|
42
|
+
node_modules directory. This Agreement does not alter your rights under those
|
|
43
|
+
third-party licenses.
|
|
44
|
+
|
|
45
|
+
5. UPDATES AND CHANGES
|
|
46
|
+
|
|
47
|
+
Licensor may, at its sole discretion, release updates, patches, or new
|
|
48
|
+
versions of the Software. This Agreement applies to all such releases unless a
|
|
49
|
+
separate agreement accompanies them.
|
|
50
|
+
|
|
51
|
+
6. DISCLAIMER OF WARRANTIES
|
|
52
|
+
|
|
53
|
+
THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
54
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
55
|
+
FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. LICENSOR DOES NOT
|
|
56
|
+
WARRANT THAT THE SOFTWARE WILL MEET YOUR REQUIREMENTS, OPERATE WITHOUT
|
|
57
|
+
INTERRUPTION, OR BE ERROR-FREE.
|
|
58
|
+
|
|
59
|
+
7. LIMITATION OF LIABILITY
|
|
60
|
+
|
|
61
|
+
TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT SHALL LICENSOR
|
|
62
|
+
BE LIABLE FOR ANY INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
63
|
+
DAMAGES (INCLUDING LOSS OF PROFITS, DATA, OR GOODWILL) ARISING OUT OF OR IN
|
|
64
|
+
CONNECTION WITH THIS AGREEMENT OR THE USE OR INABILITY TO USE THE SOFTWARE,
|
|
65
|
+
EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
|
66
|
+
LICENSOR'S TOTAL CUMULATIVE LIABILITY SHALL NOT EXCEED USD $100.
|
|
67
|
+
|
|
68
|
+
8. TERM AND TERMINATION
|
|
69
|
+
|
|
70
|
+
This Agreement is effective until terminated. Your rights under this Agreement
|
|
71
|
+
terminate automatically without notice if you fail to comply with any term
|
|
72
|
+
herein. Upon termination you must cease all use and delete all copies of the
|
|
73
|
+
Software.
|
|
74
|
+
|
|
75
|
+
9. GOVERNING LAW
|
|
76
|
+
|
|
77
|
+
This Agreement shall be governed by and construed in accordance with the laws
|
|
78
|
+
of the State of Delaware, USA, without regard to conflict-of-law principles.
|
|
79
|
+
Any dispute arising under this Agreement shall be subject to the exclusive
|
|
80
|
+
jurisdiction of the courts located in Delaware.
|
|
81
|
+
|
|
82
|
+
10. ENTIRE AGREEMENT
|
|
83
|
+
|
|
84
|
+
This Agreement constitutes the entire agreement between you and Licensor
|
|
85
|
+
regarding the Software and supersedes all prior negotiations, representations,
|
|
86
|
+
or agreements relating to the subject matter herein.
|
|
87
|
+
|
|
88
|
+
Contact: hassan@bestbytes.ai | https://peerllm.com
|
package/README.md
CHANGED
|
@@ -63,21 +63,7 @@ SPEC.md product spec + release plan
|
|
|
63
63
|
RELEASING.md how to cut a release
|
|
64
64
|
```
|
|
65
65
|
|
|
66
|
-
## Contributing
|
|
67
|
-
|
|
68
|
-
```
|
|
69
|
-
npm install
|
|
70
|
-
npm run typecheck
|
|
71
|
-
npm run test
|
|
72
|
-
npm run lint
|
|
73
|
-
npm run build
|
|
74
|
-
bash scripts/smoke-test.sh # full pack + global install + run loop
|
|
75
|
-
```
|
|
76
|
-
|
|
77
|
-
CI runs the same matrix you see on GitHub Actions (Ubuntu / macOS Intel
|
|
78
|
-
+ Apple Silicon / Windows / Arch container) × Node 20 + Node 22 before
|
|
79
|
-
any merge.
|
|
80
|
-
|
|
81
66
|
## License
|
|
82
67
|
|
|
83
|
-
|
|
68
|
+
Proprietary — see [LICENSE](./LICENSE) for the full End User License Agreement.
|
|
69
|
+
All rights reserved. BestBytes AI LLC.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dashboard.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/dashboard.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"dashboard.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/dashboard.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAqepC,wBAAsB,YAAY,CAChC,WAAW,EAAE,MAAM,EACnB,SAAS,EAAE,MAAM,EACjB,UAAU,SAAO,GAChB,OAAO,CAAC,IAAI,CAAC,CA2Nf;AAED,wBAAgB,oBAAoB,IAAI,OAAO,CAU9C"}
|