@lotics/cli 0.181.1 → 0.183.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 +7 -5
- package/dist/src/cli.js +132 -256
- package/dist/src/client.d.ts +115 -170
- package/dist/src/client.js +59 -79
- package/docs/cli_reference.md +4 -4
- package/docs/knowledge_docs.md +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -39,18 +39,19 @@ package (reachable at `node_modules/@lotics/cli/docs/*.md` once installed):
|
|
|
39
39
|
## Start from a starter, in one command
|
|
40
40
|
|
|
41
41
|
Install the CLI, then copy a starter — it creates the account, copies the starter into its
|
|
42
|
-
workspace, deploys
|
|
42
|
+
workspace, deploys its apps, and prints a one-time sign-in link:
|
|
43
43
|
|
|
44
44
|
```bash
|
|
45
45
|
curl -fsSL https://lotics.ai/install.sh | bash
|
|
46
46
|
lotics setup <starter_id> --email you@company.com
|
|
47
47
|
```
|
|
48
48
|
|
|
49
|
-
The installer downloads one compiled executable — no Node.js, no npm
|
|
50
|
-
|
|
49
|
+
The installer downloads one compiled executable — no Node.js, no npm, and copying a starter needs
|
|
50
|
+
neither: every app is deployed on Lotics and nothing is written here. Node 18+ comes in only when
|
|
51
|
+
you pull an app's source to change it (`lotics app pull <app_id>`) and build it to deploy again.
|
|
51
52
|
|
|
52
53
|
Add `--json` for one machine-readable object instead of progress — the organization, the
|
|
53
|
-
workspace, the app
|
|
54
|
+
workspace, the app ids, what was created, the sign-in link, and any warnings. Already signed in?
|
|
54
55
|
Drop `--email` and `lotics setup <starter_id>` copies into the account you have.
|
|
55
56
|
|
|
56
57
|
## Install
|
|
@@ -333,7 +334,8 @@ lotics run run_app_agent '{...}' --json # full run summary to stdou
|
|
|
333
334
|
# A run that outlives the call's bounded wait keeps going server-side; read it with
|
|
334
335
|
lotics run get_app_agent_run '{"app_id":"app_abc","run_id":"run_..."}'
|
|
335
336
|
|
|
336
|
-
# Dev-link @lotics/ui to a monorepo checkout for ONE command — nothing
|
|
337
|
+
# Dev-link @lotics/ui to a monorepo checkout for ONE command — nothing hand-written is touched
|
|
338
|
+
# (the matching tsc `paths` land in the CLI's own .lotics/tsconfig.link.json)
|
|
337
339
|
LOTICS_UI_SRC=/abs/monorepo/packages/ui/src lotics app dev
|
|
338
340
|
LOTICS_UI_SRC=/abs/monorepo/packages/ui/src lotics app deploy -m "..." # warns: bundles YOUR kit copy
|
|
339
341
|
lotics app dev # unset ⇒ @lotics/ui resolves from node_modules again
|