@lotics/cli 0.318.31 → 0.318.33
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/AGENTS.md +1 -1
- package/README.md +1 -1
- package/dist/src/cli.js +263 -274
- package/docs/agent_surface.md +9 -10
- package/docs/app_architecture.md +2 -2
- package/docs/app_bindings.md +25 -10
- package/docs/building_an_app.md +3 -3
- package/docs/cli_reference.md +3 -3
- package/docs/data_model.md +1 -1
- package/docs/design.md +194 -28
- package/docs/examples.md +39 -33
- package/docs/filters.md +3 -3
- package/docs/first_build.md +10 -20
- package/docs/getting_started.md +2 -2
- package/docs/migration.md +3 -2
- package/docs/workflow_steps.md +3 -76
- package/docs/workflows.md +137 -128
- package/package.json +1 -1
package/AGENTS.md
CHANGED
|
@@ -95,7 +95,7 @@ something exists, read `lotics --help` § COMMANDS — the whole section, not a
|
|
|
95
95
|
agent-readable summary to the full structured object.
|
|
96
96
|
- **Every tool is invoked one way — `lotics run <tool>`.** Including the ones that RUN something
|
|
97
97
|
(`run_app_workflow`, `run_app_query`) and every one that builds
|
|
98
|
-
(`set_tables`, `set_app`, `
|
|
98
|
+
(`set_tables`, `set_app`, `set_workflow`). A command
|
|
99
99
|
exists only for work that touches a local file.
|
|
100
100
|
- **Building is two tools, each a writer that creates without an id and edits with one.** `set_tables`
|
|
101
101
|
takes `{ "tables": [...] }` — always a list, one or many, all or nothing — each table a document keyed
|
package/README.md
CHANGED
|
@@ -312,7 +312,7 @@ lotics app deploy -m "Add quote drawer" # build + upload a new version of the
|
|
|
312
312
|
lotics app pull # in the project: bring it up to the live version (refused while it has edits)
|
|
313
313
|
|
|
314
314
|
# What the app reads and writes is bound on the app, and each change mints a version:
|
|
315
|
-
lotics run
|
|
315
|
+
lotics run set_app '{"app_id":"app_...","nodes":{"openInvoices":{"type":"Query","ast":{...}}}}'
|
|
316
316
|
lotics run set_workflow '{"source":"on({ type: \"app\", app_id: \"app_...\", alias: \"issueInvoice\" });\n..."}'
|
|
317
317
|
|
|
318
318
|
# Running an app's alias is a TOOL call, like every other tool. Exits non-zero
|