lavish-axi 0.1.21 → 0.1.23
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 +4 -3
- package/dist/cli.mjs +1 -1
- package/package.json +2 -2
- package/skills/{lavish-axi → lavish}/SKILL.md +9 -1
package/README.md
CHANGED
|
@@ -98,11 +98,12 @@ Prefer the [Agent Skills](https://agentskills.io) format, or use an agent that s
|
|
|
98
98
|
Install Lavish as a skill with [`npx skills`](https://github.com/vercel-labs/skills):
|
|
99
99
|
|
|
100
100
|
```sh
|
|
101
|
-
npx skills add kunchenguid/lavish-axi --skill lavish
|
|
101
|
+
npx skills add kunchenguid/lavish-axi --skill lavish
|
|
102
102
|
```
|
|
103
103
|
|
|
104
|
-
This drops a `lavish
|
|
104
|
+
This drops a `lavish` skill into your agent's skills directory (`.claude/skills/` for example; add `-g` for `~/.claude/skills/`).
|
|
105
105
|
The skill carries the same guidance the hook delivers, but it loads on demand when the agent recognizes a task that calls for a visual artifact, rather than every session.
|
|
106
|
+
In agents that expose skills as slash commands (Claude Code, for example), you can also invoke it explicitly with `/lavish <what the artifact should show>`.
|
|
106
107
|
It does not surface your live open sessions - run `lavish-axi setup hooks` if you want that ambient context too.
|
|
107
108
|
|
|
108
109
|
### No setup at all
|
|
@@ -178,7 +179,7 @@ Known playbook IDs: `diagram`, `table`, `comparison`, `plan`, `diff`, `input`, `
|
|
|
178
179
|
```sh
|
|
179
180
|
pnpm run check # Run all verification commands
|
|
180
181
|
pnpm run build # Bundle the publishable CLI, chrome, and design assets
|
|
181
|
-
pnpm run build:skill # Regenerate the installable lavish
|
|
182
|
+
pnpm run build:skill # Regenerate the installable lavish skill
|
|
182
183
|
pnpm test # Run node:test tests
|
|
183
184
|
pnpm run lint # Run ESLint
|
|
184
185
|
pnpm run format:check # Check Prettier formatting
|
package/dist/cli.mjs
CHANGED
|
@@ -1944,7 +1944,7 @@ function normalizePagePath(path5) {
|
|
|
1944
1944
|
// src/cli.js
|
|
1945
1945
|
var COMMANDS = /* @__PURE__ */ new Set(["open", "poll", "end", "stop", "server", "playbook", "design", "setup"]);
|
|
1946
1946
|
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`.";
|
|
1947
|
-
var VERSION = "0.1.
|
|
1947
|
+
var VERSION = "0.1.23";
|
|
1948
1948
|
async function run(argv) {
|
|
1949
1949
|
await ensureStateDir();
|
|
1950
1950
|
const normalizedArgv = normalizeArgv(argv);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lavish-axi",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.23",
|
|
4
4
|
"packageManager": "pnpm@11.1.1",
|
|
5
5
|
"description": "HTML is the new markdown. Lavish is the new editor for your HTML artifacts.",
|
|
6
6
|
"type": "module",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
},
|
|
10
10
|
"files": [
|
|
11
11
|
"dist",
|
|
12
|
-
"skills/lavish
|
|
12
|
+
"skills/lavish",
|
|
13
13
|
"lavish-editor-marketing/renders/lavish-editor-marketing.gif",
|
|
14
14
|
"LICENSE",
|
|
15
15
|
"README.md"
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: lavish
|
|
2
|
+
name: lavish
|
|
3
3
|
description: Turn complex or visual agent responses into rich, reviewable HTML artifacts the user can annotate and send feedback on, using the lavish-axi CLI. Use when about to give a plan, comparison, diagram, table, code diff, report, or anything easier to grasp visually than as prose.
|
|
4
|
+
argument-hint: <what the artifact should show>
|
|
4
5
|
---
|
|
5
6
|
|
|
6
7
|
# Lavish Editor
|
|
@@ -10,6 +11,13 @@ Lavish Editor helps agents turn rich HTML artifacts into collaborative human rev
|
|
|
10
11
|
You do not need lavish-axi installed globally - invoke it with `npx -y lavish-axi <html-file>`.
|
|
11
12
|
If lavish-axi output shows a follow-up command starting with `lavish-axi`, run it as `npx -y lavish-axi ...` instead.
|
|
12
13
|
|
|
14
|
+
## Request
|
|
15
|
+
|
|
16
|
+
$ARGUMENTS
|
|
17
|
+
|
|
18
|
+
If the request above is non-empty, the user invoked `/lavish` explicitly - build an HTML artifact for that request now, following the workflow below.
|
|
19
|
+
If it is empty, infer what to visualize from the conversation.
|
|
20
|
+
|
|
13
21
|
## When to use
|
|
14
22
|
|
|
15
23
|
Use lavish-axi when the user asks for a visual artifact, HTML explainer, interactive prototype, review surface, product or technical plan, comparison, report, or browser-based feedback loop
|