lavish-axi 0.1.5 → 0.1.7
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 +5 -3
- package/dist/cli.mjs +555 -28
- package/dist/design/daisyui-themes.css +1 -0
- package/dist/design/daisyui.css +1 -0
- package/dist/design/tailwindcss-browser.js +947 -0
- package/package.json +4 -2
package/README.md
CHANGED
|
@@ -95,7 +95,8 @@ npm link
|
|
|
95
95
|
```
|
|
96
96
|
|
|
97
97
|
- **File-path identity** - Sessions are keyed by the canonical HTML file path, so agents do not need opaque IDs.
|
|
98
|
-
- **Sandboxed artifact** - The artifact runs in an iframe while Lavish injects a small SDK for annotations and
|
|
98
|
+
- **Sandboxed artifact** - The artifact runs in an iframe while Lavish injects a small SDK for annotations, snapshots, and feedback controls, plus Tailwind CSS v4 and DaisyUI v5 design assets unless the HTML includes `<meta name="lavish-design" content="off">`.
|
|
99
|
+
- **Feedback controls** - Mark buttons, choices, and other interactive elements with `data-lavish-action` so Lavish does not annotate them, then call `window.lavish.queuePrompt()` or `window.lavish.sendQueuedPrompts()` from the control handler.
|
|
99
100
|
- **Precise targets** - Text annotations include selected text plus range anchors, so agents are not limited to whole-element selectors.
|
|
100
101
|
- **Local-first state** - Session state stays under `.lavish-axi/` in the workspace.
|
|
101
102
|
|
|
@@ -108,8 +109,9 @@ npm link
|
|
|
108
109
|
| `lavish-axi poll <html-file>` | Long-poll until the user sends feedback or ends the session. |
|
|
109
110
|
| `lavish-axi end <html-file>` | End a session. |
|
|
110
111
|
| `lavish-axi playbook [id]` | List focused artifact guidance or show one playbook. |
|
|
112
|
+
| `lavish-axi design` | Show the injected Tailwind CSS and DaisyUI design reference. |
|
|
111
113
|
|
|
112
|
-
Known playbook IDs: `diagram`, `table`, `comparison`, `plan`, `diff`, `
|
|
114
|
+
Known playbook IDs: `diagram`, `table`, `comparison`, `plan`, `diff`, `input`, `slides`.
|
|
113
115
|
|
|
114
116
|
### Flags
|
|
115
117
|
|
|
@@ -123,7 +125,7 @@ Known playbook IDs: `diagram`, `table`, `comparison`, `plan`, `diff`, `interacti
|
|
|
123
125
|
|
|
124
126
|
```sh
|
|
125
127
|
npm run check # Run all verification commands
|
|
126
|
-
npm run build # Bundle the publishable CLI and
|
|
128
|
+
npm run build # Bundle the publishable CLI, chrome, and design assets
|
|
127
129
|
npm test # Run node:test tests
|
|
128
130
|
npm run lint # Run ESLint
|
|
129
131
|
npm run format:check # Check Prettier formatting
|