leg-agents 0.8.0

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 ADDED
@@ -0,0 +1,58 @@
1
+ Leg License Agreement
2
+
3
+ Copyright 2026 Wes Sander (Practical Systems). All rights reserved.
4
+
5
+ This is a legal agreement between you and Wes Sander ("we") for the Leg
6
+ software, including its source files, documentation and updates ("Leg").
7
+ By installing or using Leg you accept it. If you do not accept it, do not
8
+ install or use Leg.
9
+
10
+ 1. License. When you buy a license we grant you a non-exclusive,
11
+ non-transferable license to install and use Leg as follows.
12
+ Personal: one named person, on any number of machines that person uses.
13
+ Team: one named person per seat purchased. A Team license also covers use
14
+ of the shared board (leg share) by the people holding seats. A Personal
15
+ license covers every Leg release dated on or before the date printed in
16
+ the license key; releases dated after that require a renewal, and the
17
+ releases already covered keep working. A Team license covers releases
18
+ while the subscription is active.
19
+
20
+ 2. Source. Leg ships as readable JavaScript so that you can inspect what it
21
+ does on your machine. You may read it and modify it for your own use under
22
+ your license. You may not publish, distribute, sublicense, rent, sell or
23
+ host Leg or any modified version for others, and you may not remove,
24
+ disable or work around the license check.
25
+
26
+ 3. What is yours. Everything Leg writes for you (session notes, handoff
27
+ bundles, worktrees, your repositories) is yours. Leg sends nothing about
28
+ your work anywhere; the only network calls it makes on its own behalf are
29
+ to this product's site to renew a Team key, and to the agent vendors'
30
+ endpoints that the agent CLIs themselves use.
31
+
32
+ 4. Third parties. Leg starts the coding-agent CLIs you already have and use
33
+ under your own accounts and their vendors' terms. You are responsible for
34
+ complying with those terms; see `leg accounts terms`.
35
+
36
+ 5. Ownership. Leg is licensed, not sold. We keep all rights not expressly
37
+ granted here.
38
+
39
+ 6. Money-back guarantee. Within 30 days of purchase, reply to your receipt
40
+ and we refund it in full. You do not have to give a reason, and you do not
41
+ have to have stopped using Leg before you ask.
42
+
43
+ 7. No warranty. Leg is provided "as is", without warranty of any kind,
44
+ express or implied, including fitness for a particular purpose. Coding
45
+ agents act on your code; you review what they do.
46
+
47
+ 8. Limitation of liability. To the extent the law allows, our total liability
48
+ for any claim related to Leg is limited to the amount you paid for it in
49
+ the 12 months before the claim, and we are not liable for indirect,
50
+ incidental or consequential damages.
51
+
52
+ 9. Termination. This agreement ends if you breach it; on termination you
53
+ stop using Leg. Sections 5, 7 and 8 survive.
54
+
55
+ 10. Law. This agreement is governed by the laws of the State of Ohio, USA,
56
+ without regard to conflict-of-law rules.
57
+
58
+ Contact: legcli@practicalsystems.io
package/NOTICE ADDED
@@ -0,0 +1,4 @@
1
+ Portions of this software (src/runner.mjs, src/ledger.mjs, src/git-snapshot.mjs
2
+ and their tests) were ported on 2026-09-10 from a private ucsandman repository
3
+ (team tooling) under the MIT license; that code is included here under the Leg License Agreement (see LICENSE), which its author also holds. Telegram delivery, chat identifiers,
4
+ and machine-specific paths were removed in the port.
package/README.md ADDED
@@ -0,0 +1,15 @@
1
+ # leg-agents
2
+
3
+ Alias installer for `@ucsandman/legcli`. Installing this package pins the
4
+ matching `@ucsandman/legcli` version and exposes the same `leg` binary.
5
+
6
+ ```
7
+ npm install -g leg-agents
8
+ leg --version
9
+ ```
10
+
11
+ `leg-agents` and `@ucsandman/legcli` always share one version number. Every
12
+ release publishes both.
13
+
14
+ See [legcli.com](https://legcli.com) and
15
+ [@ucsandman/legcli on npm](https://www.npmjs.com/package/@ucsandman/legcli).
package/bin/leg.mjs ADDED
@@ -0,0 +1,10 @@
1
+ #!/usr/bin/env node
2
+ // leg-agents: thin alias for @ucsandman/legcli.
3
+ // Installs the real package as a dependency and delegates to its CLI.
4
+ import { createRequire } from 'node:module';
5
+ import { dirname, join } from 'node:path';
6
+ import { pathToFileURL } from 'node:url';
7
+
8
+ const require = createRequire(import.meta.url);
9
+ const pkgRoot = dirname(require.resolve('@ucsandman/legcli/package.json'));
10
+ await import(pathToFileURL(join(pkgRoot, 'bin', 'leg.mjs')).href);
package/package.json ADDED
@@ -0,0 +1,41 @@
1
+ {
2
+ "name": "leg-agents",
3
+ "version": "0.8.0",
4
+ "description": "Alias installer for Leg: installs @ucsandman/legcli and exposes the `leg` binary. Your agent hits the limit. The next one keeps your place.",
5
+ "type": "module",
6
+ "license": "SEE LICENSE IN LICENSE",
7
+ "homepage": "https://legcli.com",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "https://github.com/ucsandman/legcli.git"
11
+ },
12
+ "bugs": {
13
+ "url": "https://legcli.com/support",
14
+ "email": "legcli@practicalsystems.io"
15
+ },
16
+ "keywords": [
17
+ "legcli",
18
+ "leg",
19
+ "claude-code",
20
+ "codex",
21
+ "usage-limits",
22
+ "agent-harness",
23
+ "handoff"
24
+ ],
25
+ "author": "Wes Sander",
26
+ "bin": {
27
+ "leg": "bin/leg.mjs"
28
+ },
29
+ "dependencies": {
30
+ "@ucsandman/legcli": "0.8.0"
31
+ },
32
+ "engines": {
33
+ "node": ">=22"
34
+ },
35
+ "files": [
36
+ "bin",
37
+ "LICENSE",
38
+ "NOTICE",
39
+ "README.md"
40
+ ]
41
+ }