lavish-axi 0.1.25 → 0.1.26

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 (2) hide show
  1. package/dist/cli.mjs +2 -2
  2. package/package.json +1 -1
package/dist/cli.mjs CHANGED
@@ -1946,7 +1946,7 @@ function normalizePagePath(path5) {
1946
1946
  // src/cli.js
1947
1947
  var COMMANDS = /* @__PURE__ */ new Set(["open", "poll", "end", "stop", "server", "playbook", "design", "setup"]);
1948
1948
  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`.";
1949
- var VERSION = "0.1.25";
1949
+ var VERSION = "0.1.26";
1950
1950
  async function run(argv) {
1951
1951
  await ensureStateDir();
1952
1952
  const normalizedArgv = normalizeArgv(argv);
@@ -2107,7 +2107,6 @@ async function pollCommand(args) {
2107
2107
  }
2108
2108
  const timeoutMs = flagValue(args, "--timeout-ms");
2109
2109
  const timeoutQuery = timeoutMs ? `&timeoutMs=${encodeURIComponent(timeoutMs)}` : "";
2110
- const waitReporter = timeoutMs ? null : startPollWaitReporter({ file: absolute });
2111
2110
  const onPollSignal = (signal) => {
2112
2111
  process.stderr.write(`
2113
2112
  ${pollInterruptedText(absolute)}
@@ -2118,6 +2117,7 @@ ${pollInterruptedText(absolute)}
2118
2117
  process.on("SIGINT", onPollSignal);
2119
2118
  process.on("SIGTERM", onPollSignal);
2120
2119
  }
2120
+ const waitReporter = timeoutMs ? null : startPollWaitReporter({ file: absolute });
2121
2121
  try {
2122
2122
  const response = await fetchJson(`${baseUrl}/api/poll?file=${encodeURIComponent(absolute)}${timeoutQuery}`, {
2123
2123
  retries: 3,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lavish-axi",
3
- "version": "0.1.25",
3
+ "version": "0.1.26",
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",