@lotics/cli 0.316.24 → 0.316.25
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 +4 -5
- package/dist/src/cli.js +8092 -3153
- package/dist/src/client.d.ts +33 -0
- package/docs/building_an_app.md +15 -7
- package/docs/cli_reference.md +1 -1
- package/package.json +7 -6
package/README.md
CHANGED
|
@@ -129,7 +129,7 @@ lotics auth login a@b.com --local # pins this directory to that org (implies
|
|
|
129
129
|
|
|
130
130
|
A command run before you press Confirm names the page and the code again and exits 1; the request is good for 15 minutes, after which the next command says to ask again. Re-running `auth login` is always safe — it replaces the request, so only the newest code is the live one.
|
|
131
131
|
|
|
132
|
-
**`lotics auth web`** — Send a magic link email to access the web app (requires prior signup).
|
|
132
|
+
**`lotics auth web`** — Send a magic link email to access the web app (requires prior signup). If the account's email address was never confirmed and it holds a password, signing in with the link removes that password; the command says so and names where *Forgot password* sets a new one.
|
|
133
133
|
|
|
134
134
|
```bash
|
|
135
135
|
lotics auth web
|
|
@@ -306,9 +306,8 @@ lotics knowledge restore kdc_... [kdc_...] # bring them back,
|
|
|
306
306
|
## Custom-code apps
|
|
307
307
|
|
|
308
308
|
```bash
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
npm run typecheck && npm run lint && npm test
|
|
309
|
+
# Your own project depending on @lotics/app-sdk (React 19); `npm run build` writes a static dist/ with index.html
|
|
310
|
+
lotics app create "Sales Desk" --custom . # registers the app, links this directory by package.json#lotics
|
|
312
311
|
lotics app deploy -m "Add quote drawer" # build + upload a new version of the live app
|
|
313
312
|
lotics app pull # in the project: bring it up to the live version (refused while it has edits)
|
|
314
313
|
|
|
@@ -323,7 +322,7 @@ lotics run run_app_workflow '{"app_id":"app_abc","alias":"issueInvoice","inputs"
|
|
|
323
322
|
lotics run run_app_workflow '{...}' --print-created # the records it created + a cleanup plan
|
|
324
323
|
```
|
|
325
324
|
|
|
326
|
-
The app's SDK reference is `node_modules/@lotics/app-sdk/AGENTS.md`
|
|
325
|
+
The app's SDK reference is `node_modules/@lotics/app-sdk/AGENTS.md` once the project installs it. `lotics tools <name>` prints any tool's input.
|
|
327
326
|
|
|
328
327
|
## SDK
|
|
329
328
|
|