@lotics/cli 0.266.0 → 0.268.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/AGENTS.md +1 -1
- package/dist/src/cli.js +5335 -5047
- package/docs/building_an_app.md +19 -4
- package/package.json +1 -1
package/docs/building_an_app.md
CHANGED
|
@@ -93,7 +93,9 @@ create or change in the tables and which apps it would create, update or refuse
|
|
|
93
93
|
|
|
94
94
|
**The model changes after the app exists, and applying it again is how it lands.** Edit the file,
|
|
95
95
|
apply it. An act whose write the model cannot say names its own `workflow`; that workflow's body is
|
|
96
|
-
the live one, and `lotics run set_app_workflow` changes it.
|
|
96
|
+
the live one, and `lotics run set_app_workflow` changes it. An act that reads papers runs an agent
|
|
97
|
+
apply owns: made, replaced and removed with the act, and an agent of that alias apply did not make
|
|
98
|
+
is refused, never rewritten.
|
|
97
99
|
|
|
98
100
|
## 5 — A custom-code app
|
|
99
101
|
|
|
@@ -145,9 +147,22 @@ template you registered once (`lotics docs document_templates`).
|
|
|
145
147
|
|
|
146
148
|
## 7 — Look at it, then name it
|
|
147
149
|
|
|
148
|
-
|
|
149
|
-
definition, none of them the pixels
|
|
150
|
-
|
|
150
|
+
Look at every app you apply, at a desktop width and at a phone's — every check above reads the
|
|
151
|
+
definition, none of them the pixels:
|
|
152
|
+
|
|
153
|
+
```
|
|
154
|
+
lotics run screenshot_app '{"app_id":"app_…"}'
|
|
155
|
+
# one PNG per width, saved as a workspace file; "path":"/rec_…" opens a screen inside the app
|
|
156
|
+
lotics download <file_id>
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
Each shot is one screen, as a member sees it; `"full_page":true` grows it to the list scrolling
|
|
160
|
+
inside the app. Beside each image comes its `snapshot`, the screen's accessibility tree as text —
|
|
161
|
+
read it to check labels and values without opening the picture.
|
|
162
|
+
|
|
163
|
+
The app is drawn live, as you, read-only: a screen that writes when it opens shows that write
|
|
164
|
+
refused, and `errors` lists what failed on the page. A version that looks wrong is one
|
|
165
|
+
`lotics run rollback_app` away from the one before.
|
|
151
166
|
|
|
152
167
|
Then set the icon, the colour and the app's own `description` through `lotics run update_app`. The
|
|
153
168
|
`description` heads the capability listing the member's chat agent reads on **every** turn, so a
|