lavish-axi 0.1.7 → 0.1.8
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 +9 -9
- package/dist/cli.mjs +3 -3
- package/dist/design/tailwindcss-browser.js +25 -25
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -64,9 +64,9 @@ npm install -g lavish-axi
|
|
|
64
64
|
```sh
|
|
65
65
|
git clone https://github.com/kunchenguid/lavish-axi.git
|
|
66
66
|
cd lavish-axi
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
67
|
+
pnpm install --frozen-lockfile
|
|
68
|
+
pnpm run build
|
|
69
|
+
pnpm link
|
|
70
70
|
```
|
|
71
71
|
|
|
72
72
|
## How It Works
|
|
@@ -124,10 +124,10 @@ Known playbook IDs: `diagram`, `table`, `comparison`, `plan`, `diff`, `input`, `
|
|
|
124
124
|
## Development
|
|
125
125
|
|
|
126
126
|
```sh
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
127
|
+
pnpm run check # Run all verification commands
|
|
128
|
+
pnpm run build # Bundle the publishable CLI, chrome, and design assets
|
|
129
|
+
pnpm test # Run node:test tests
|
|
130
|
+
pnpm run lint # Run ESLint
|
|
131
|
+
pnpm run format:check # Check Prettier formatting
|
|
132
|
+
pnpm run typecheck # Run TypeScript checkJs validation
|
|
133
133
|
```
|
package/dist/cli.mjs
CHANGED
|
@@ -1716,8 +1716,8 @@ function normalizePagePath(path5) {
|
|
|
1716
1716
|
|
|
1717
1717
|
// src/cli.js
|
|
1718
1718
|
var COMMANDS = /* @__PURE__ */ new Set(["open", "poll", "end", "server", "playbook", "design"]);
|
|
1719
|
-
var DESCRIPTION = "Lavish Editor helps agents turn rich HTML artifacts into collaborative human review surfaces. First generate an interactive HTML artifact according to user request, then run `lavish-axi <html-file>` so the user can visually review it, annotate elements or selected text, queue prompts, and send feedback back through `lavish-axi poll`.";
|
|
1720
|
-
var VERSION = "0.1.
|
|
1719
|
+
var DESCRIPTION = "Lavish Editor helps agents turn rich HTML artifacts into collaborative human review surfaces. Whenever you are about to give user a complex response that will be easier to understand via a rich / interactive page, consider using Lavish Editor. First generate an interactive HTML artifact according to user request, then run `lavish-axi <html-file>` so the user can visually review it, annotate elements or selected text, queue prompts, and send feedback back through `lavish-axi poll`.";
|
|
1720
|
+
var VERSION = "0.1.8";
|
|
1721
1721
|
async function run(argv) {
|
|
1722
1722
|
await ensureStateDir();
|
|
1723
1723
|
const normalizedArgv = normalizeArgv(argv);
|
|
@@ -1834,7 +1834,7 @@ function createPlaybookOutput(args) {
|
|
|
1834
1834
|
function createOpenOutput({ file, url, status }) {
|
|
1835
1835
|
return {
|
|
1836
1836
|
session: { file, url, status },
|
|
1837
|
-
next_step: `
|
|
1837
|
+
next_step: `Run \`lavish-axi poll ${file}\`. This command long-polls until the user sends feedback or ends the session. Do not pass --timeout-ms during normal agent use. Do not set a short shell timeout; either run it without a timeout or set the shell timeout above 10 minutes. After applying feedback, run \`lavish-axi poll ${file} --agent-reply "<message for the user>"\` without --timeout-ms to show your response in Lavish Editor and wait for more feedback.`
|
|
1838
1838
|
};
|
|
1839
1839
|
}
|
|
1840
1840
|
async function openCommand(args) {
|