letmeknow-cli 0.4.0 → 0.4.2

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.
Files changed (3) hide show
  1. package/README.md +2 -3
  2. package/SKILL.md +4 -2
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -102,7 +102,7 @@ Typing, focusing, expanding `<details>`, validation, scrolling, and other local
102
102
 
103
103
  `render` accepts page CSS in its `css` field. A `response` may include `css` to replace it; omitting `css` preserves it.
104
104
 
105
- Modern CSS is supported, including grid, flexbox, media queries, variables, transitions, and print styles. External stylesheets, `@import`, scripts, inline handlers, and inline `style` attributes are blocked. Local assets work in HTML and CSS.
105
+ Modern CSS is supported, including grid, flexbox, media queries, variables, transitions, and print styles. External stylesheets, `@import`, scripts, inline handlers, and inline `style` attributes are blocked. Local assets work in HTML and CSS. The built-in style is deliberately document-like and avoids decorative cards, gradients, shadows, and rounded controls.
106
106
 
107
107
  ## One browser client
108
108
 
@@ -149,12 +149,11 @@ Events:
149
149
 
150
150
  - `session`: public URL and producer disconnect grace.
151
151
  - `action`: normalized form or standalone-button action.
152
- - `cancelled`: the browser stopped waiting for an action.
153
152
  - `ack`: command completion.
154
153
  - `error`: invalid command or protocol state.
155
154
  - `closing`: explicit session destruction.
156
155
 
157
- Actions remain pending for at most five minutes. One form or overlapping target can be pending at a time; independent regions may proceed concurrently. Match responses by action ID.
156
+ Actions remain pending until `response`, a superseding full `render`, or session close. One form or overlapping target can be pending at a time; independent regions may proceed concurrently. Match responses by action ID.
158
157
 
159
158
  HTML, CSS, asset, and action bodies are each limited to 1 MiB. Up to 32 actions may be pending.
160
159
 
package/SKILL.md CHANGED
@@ -47,6 +47,8 @@ Use semantic HTML: headings, sections, paragraphs, lists, tables, `dl`, forms, l
47
47
 
48
48
  The optional `css` field supports modern CSS, including grid, flexbox, media queries, variables, transitions, and print styles. External stylesheets, `@import`, and remote resources do not work. Use relative session assets.
49
49
 
50
+ Unless the human asks for a visual treatment, keep the page document-like: plain backgrounds, restrained typography, square corners, and simple borders. Avoid gradients, shadows, pill badges, rounded card grids, and decorative dashboard styling by default.
51
+
50
52
  A full `render` intentionally replaces the current page, resets drafts, and cancels actions from the previous render. Use `response` rather than `render` after a user action.
51
53
 
52
54
  ## Forms
@@ -125,7 +127,7 @@ A response may include `css` to replace the page CSS. Omitting it preserves the
125
127
  {"type":"response","id":"response-2","request_id":"event-2","body":"<h1 class=\"success\">Approved</h1>","css":".success { color: green; }"}
126
128
  ```
127
129
 
128
- Wait for the acknowledgement and its new `render_id`. Actions time out after five minutes. A `cancelled` event means the browser stopped waiting; do not respond to that action afterward. Independent regions may be pending concurrently, so always match by action ID.
130
+ Wait for the acknowledgement and its new `render_id`. An action remains pending until `response`, a superseding full `render`, or session close. Independent regions may be pending concurrently, so always match by action ID.
129
131
 
130
132
  ## One-browser behavior
131
133
 
@@ -159,6 +161,6 @@ Wait for `ack` and `closing`. Closing stdin only disconnects the producer.
159
161
 
160
162
  If the producer disconnects, the page remains visible, drafts remain, and actions are disabled. The CLI has ten minutes to reconnect. Browser traffic does not extend that period. Explicit close or expiry deletes HTML, CSS, credentials, actions, and assets.
161
163
 
162
- Limits: 1 MiB per HTML, CSS, asset, or action body; 100 assets; 10 MiB decoded asset storage; 32 pending actions; five minutes per action.
164
+ Limits: 1 MiB per HTML, CSS, asset, or action body; 100 assets; 10 MiB decoded asset storage; and 32 pending actions.
163
165
 
164
166
  Treat the URL as a bearer secret. Never expose either private reconnect credential.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "letmeknow-cli",
3
- "version": "0.4.0",
3
+ "version": "0.4.2",
4
4
  "description": "A temporary interactive web surface for agents.",
5
5
  "files": [
6
6
  "bin",