@lotics/cli 0.164.0 → 0.171.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/README.md +25 -4
- package/dist/src/cli.js +706 -421
- package/dist/src/client.d.ts +42 -0
- package/dist/src/client.js +42 -0
- package/docs/building_an_app.md +8 -0
- package/docs/cli_reference.md +3 -2
- package/package.json +4 -1
package/README.md
CHANGED
|
@@ -36,18 +36,39 @@ package (reachable at `node_modules/@lotics/cli/docs/*.md` once installed):
|
|
|
36
36
|
workspace facts an agent can't guess, the access-vs-activation model, and the
|
|
37
37
|
catalog-then-stage retrieval model agents use to pull only the lines they need.
|
|
38
38
|
|
|
39
|
-
##
|
|
39
|
+
## Start from a starter, in one command
|
|
40
|
+
|
|
41
|
+
Install the CLI, then copy a starter — it creates the account, copies the starter into its
|
|
42
|
+
workspace, deploys the app, and prints a one-time sign-in link:
|
|
40
43
|
|
|
41
44
|
```bash
|
|
42
|
-
|
|
45
|
+
curl -fsSL https://lotics.ai/install.sh | bash
|
|
46
|
+
lotics start <starter_id> --email you@company.com
|
|
43
47
|
```
|
|
44
48
|
|
|
45
|
-
|
|
49
|
+
The installer downloads one compiled executable — no Node.js, no npm. Copying a starter is the
|
|
50
|
+
one step that needs more: it builds the app locally, and building needs Node 18+.
|
|
51
|
+
|
|
52
|
+
Add `--json` for one machine-readable object instead of progress — the organization, the
|
|
53
|
+
workspace, the app id, what was created, the sign-in link, and any warnings. Already signed in?
|
|
54
|
+
Drop `--email` and `lotics start <starter_id>` copies into the account you have.
|
|
55
|
+
|
|
56
|
+
## Install
|
|
46
57
|
|
|
47
58
|
```bash
|
|
48
|
-
|
|
59
|
+
curl -fsSL https://lotics.ai/install.sh | bash # macOS, Linux, WSL — no Node.js needed
|
|
60
|
+
npm install -g @lotics/cli # or, if you already have Node 18+
|
|
49
61
|
```
|
|
50
62
|
|
|
63
|
+
```powershell
|
|
64
|
+
irm https://lotics.ai/install.ps1 | iex # Windows PowerShell — no Node.js needed
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
## Update
|
|
68
|
+
|
|
69
|
+
Re-run whichever installer you used; `npm install -g @lotics/cli@latest` updates an npm install.
|
|
70
|
+
The CLI names the right one for the copy you are running when it sees a newer version.
|
|
71
|
+
|
|
51
72
|
The CLI checks for updates once per day and prompts when a new version is available.
|
|
52
73
|
|
|
53
74
|
## Authentication
|