@lotics/cli 0.266.0 → 0.267.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 +5113 -5052
- package/docs/building_an_app.md +16 -3
- package/package.json +1 -1
package/docs/building_an_app.md
CHANGED
|
@@ -145,9 +145,22 @@ template you registered once (`lotics docs document_templates`).
|
|
|
145
145
|
|
|
146
146
|
## 7 — Look at it, then name it
|
|
147
147
|
|
|
148
|
-
|
|
149
|
-
definition, none of them the pixels
|
|
150
|
-
|
|
148
|
+
Look at every app you apply, at a desktop width and at a phone's — every check above reads the
|
|
149
|
+
definition, none of them the pixels:
|
|
150
|
+
|
|
151
|
+
```
|
|
152
|
+
lotics run screenshot_app '{"app_id":"app_…"}'
|
|
153
|
+
# one PNG per width, saved as a workspace file; "path":"/rec_…" opens a screen inside the app
|
|
154
|
+
lotics download <file_id>
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
Each shot is one screen, as a member sees it; `"full_page":true` grows it to the list scrolling
|
|
158
|
+
inside the app. Beside each image comes its `snapshot`, the screen's accessibility tree as text —
|
|
159
|
+
read it to check labels and values without opening the picture.
|
|
160
|
+
|
|
161
|
+
The app is drawn live, as you, read-only: a screen that writes when it opens shows that write
|
|
162
|
+
refused, and `errors` lists what failed on the page. A version that looks wrong is one
|
|
163
|
+
`lotics run rollback_app` away from the one before.
|
|
151
164
|
|
|
152
165
|
Then set the icon, the colour and the app's own `description` through `lotics run update_app`. The
|
|
153
166
|
`description` heads the capability listing the member's chat agent reads on **every** turn, so a
|