@openbrt/weclawbotctl 0.1.17 → 0.1.18

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 CHANGED
@@ -86,6 +86,13 @@ value contains the same `preview.pages[].path` list. The agent owns delivering
86
86
  that preview to the user. The optional automatic preview hook is off by default
87
87
  and exists only for legacy experiments.
88
88
 
89
+ The purpose of sending the preview is not just proof that MQTT worked. The
90
+ preview is the feedback surface that lets the user's agent learn the user's
91
+ reading habits, layout taste, density tolerance, font preferences, and page
92
+ rhythm over time. Treat "send to screen" as a two-part delivery: the device is
93
+ updated, and the user receives the same effect image in the current chat unless
94
+ the agent reports a concrete preview-delivery failure.
95
+
89
96
  To clear the current note, use the firmware clear command:
90
97
 
91
98
  ```bash
@@ -297,7 +304,9 @@ Before publishing, agents should inspect or otherwise self-evaluate the rendered
297
304
  pages against the user's preferences and their own learned standards when their
298
305
  runtime supports it. Regenerate the document if the bitmap does not satisfy those
299
306
  standards. After a successful publish, send the preview PNGs to the user through
300
- the current chat/media channel so the user can see the effect.
307
+ the current chat/media channel so the user can see the effect and correct the
308
+ agent's choices. Carry those corrections forward instead of resetting local
309
+ style memory on plugin upgrades.
301
310
 
302
311
  ```bash
303
312
  weclawbotctl preview /path/to/screen-document.json
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbrt/weclawbotctl",
3
- "version": "0.1.17",
3
+ "version": "0.1.18",
4
4
  "description": "WeClawBot pairing and screen-control CLI for local AI agents.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -58,7 +58,10 @@ OpenClaw Telegram/UI sessions, prefer `weclawbot_publish_screen_document`: its
58
58
  result includes `preview.pages[].path` PNG files for the exact mono1 pages. The
59
59
  agent must inspect those preview files when possible, then send the preview PNGs
60
60
  back to the user through its normal chat/media channel before or alongside the
61
- "已上屏" reply. If the agent used CLI instead, run `weclawbotctl preview <doc>`
61
+ "已上屏" reply. This preview is not decoration and not merely proof of delivery:
62
+ it is the feedback surface that lets the user and agent steadily converge on the
63
+ user's reading habits, layout taste, density tolerance, font preferences, and
64
+ page rhythm. If the agent used CLI instead, run `weclawbotctl preview <doc>`
62
65
  before publishing, or read the `preview` field emitted by `weclawbotctl screen`.
63
66
  Do not use OpenClaw Canvas for requests that
64
67
  mention WeClawBot, the physical screen, or “屏上”; Canvas is an OpenClaw UI
@@ -92,9 +95,12 @@ inspect images. Judge the preview against the user's preferences and the agent's
92
95
  own learned standards: legibility, margins, crowding, page count, and continuity
93
96
  across pages. If the preview does not satisfy those standards, regenerate the
94
97
  pages before publishing. After a successful publish, include the preview PNG in
95
- the user-visible response so the user can see what was sent. This review and
96
- proof loop belongs in the agent/tool layer; do not expect firmware to fix
97
- typography, show chat previews, or split pages after the pixels arrive.
98
+ the user-visible response so the user can see what was sent and correct the
99
+ agent's choices. Treat explicit comments, repeated corrections, clear requests,
100
+ manual page changes, and acceptance without complaint as signals for future
101
+ layout decisions. This review and feedback loop belongs in the agent/tool layer;
102
+ do not expect firmware to fix typography, show chat previews, or split pages
103
+ after the pixels arrive.
98
104
 
99
105
  `weclawbotctl screen` and `weclawbot_publish_screen_document` wait for the
100
106
  device status topic by default. Treat only `applied` as success. If the device
@@ -48,7 +48,11 @@ the tool returns `preview.pages[].path` PNG files for the exact pages. Inspect
48
48
  those preview images when possible, and send them back to the user through the
49
49
  normal chat/media channel before or alongside the success reply. If using CLI,
50
50
  run `weclawbotctl preview <document.json>` before publishing, or read the
51
- `preview` field emitted by `weclawbotctl screen`.
51
+ `preview` field emitted by `weclawbotctl screen`. The preview is the user's
52
+ feedback surface: use it to learn their reading habits, preferred density,
53
+ layout taste, font choices, and page rhythm over time. Do not treat "上屏" as
54
+ complete until the physical screen is updated and the user can see the same
55
+ effect in chat, or you have clearly reported why the preview could not be sent.
52
56
 
53
57
  The firmware receives pixels. Do not send raw text to firmware, and do not
54
58
  answer that direct delivery is unavailable before checking the local