The design language that makes your AI harness better at design.
JavaScript
Sync generated provider output
github-actions[bot]a42d4a70603f
diff --git a/.agents/skills/impeccable/scripts/live-poll.mjs b/.agents/skills/impeccable/scripts/live-poll.mjsindex b031055fe..740161e10 100644--- a/.agents/skills/impeccable/scripts/live-poll.mjs+++ b/.agents/skills/impeccable/scripts/live-poll.mjs@@ -2,11 +2,11 @@* CLI client for the live variant mode poll/reply protocol.** Usage:- * npx impeccable poll # Block until browser event, print JSON- * npx impeccable poll --stream # Experimental: keep polling; one JSON line per event- * npx impeccable poll --timeout=600000 # Custom timeout (ms); default is long-poll friendly- * npx impeccable poll --reply <id> done # Reply "done" to event <id>- * npx impeccable poll --reply <id> error "msg" # Reply with error+ * node <scripts_path>/live-poll.mjs # Block until browser event, print JSON+ * node <scripts_path>/live-poll.mjs --stream # Experimental: keep polling; one JSON line per event+ * node <scripts_path>/live-poll.mjs --timeout=600000 # Custom timeout (ms); default is long-poll friendly+ * node <scripts_path>/live-poll.mjs --reply <id> done # Reply "done" to event <id>+ * node <scripts_path>/live-poll.mjs --reply <id> error "msg" # Reply with error*/import { execFileSync } from 'node:child_process';@@ -15,6 +15,11 @@ import { fileURLToPath } from 'node:url';import { completionAckForAcceptResult, completionTypeForAcceptResult } from './live/completion.mjs';import { readLiveServerInfo } from './lib/impeccable-paths.mjs';+// Absolute path to a sibling script in this skill's scripts dir, so runtime+// error hints print a directly-runnable command instead of a placeholder.+const SELF_DIR = path.dirname(fileURLToPath(import.meta.url));+const scriptCmd = (name) => `node "${path.join(SELF_DIR, name)}"`;+// Node's built-in fetch (undici under the hood) enforces a 300s headers// timeout that can't be lowered per-request. We cap each request below// that ceiling and loop in `pollOnce` to synthesize a long poll without@@ -27,7 +32,7 @@ const EVENT_TYPES_NEEDING_AGENT_REPLY = new Set(['generate', 'steer', 'manual_edfunction readServerInfo() {const record = readLiveServerInfo(process.cwd());if (!record) {- console.error('No running live server found. Start one with: npx impeccable live');+ console.error(`No running live server found. Start one with: ${scriptCmd('live.mjs')}`);process.exit(1);}return record.info;@@ -82,7 +87,7 @@ export function parseReplyArgs(args) {}function validateReplyArgs({ id, status }) {- const usage = "Usage: npx impeccable poll --reply <id> <status> [--file path] [--data '<json>'] [message]";+ const usage = `Usage: ${scriptCmd('live-poll.mjs')} --reply <id> <status> [--file path] [--data '<json>'] [message]`;if (!id || id.startsWith('--')) {const err = new Error(`${usage}\nMissing event id after --reply.`);err.code = 'INVALID_REPLY_ARGS';@@ -283,11 +288,11 @@ export async function runPollStream(base, token, {function handlePollError(err) {if (err.code === 'AUTH_FAILED') {console.error(err.message);- console.error('Try restarting: npx impeccable live stop && npx impeccable live');+ console.error(`Try restarting: ${scriptCmd('live-server.mjs')} stop && ${scriptCmd('live.mjs')}`);process.exit(1);}if (err.cause?.code === 'ECONNREFUSED') {- console.error('Live server not running. Start one with: npx impeccable live');+ console.error(`Live server not running. Start one with: ${scriptCmd('live.mjs')}`);process.exit(1);}if (err.code === 'ACK_TIMEOUT') {@@ -331,7 +336,7 @@ Harness note:const info = readServerInfo();const base = `http://localhost:${info.port}`;- // Reply mode: npx impeccable poll --reply <id> <status> [--file path] [--data '<json>'] [message]+ // Reply mode: node <scripts_path>/live-poll.mjs --reply <id> <status> [--file path] [--data '<json>'] [message]if (args.includes('--reply')) {let reply;try {@@ -345,7 +350,7 @@ Harness note:await postReply(base, info.token, reply);} catch (err) {if (err.cause?.code === 'ECONNREFUSED') {- console.error('Live server not running. Start one with: npx impeccable live');+ console.error(`Live server not running. Start one with: ${scriptCmd('live.mjs')}`);} else {console.error('Reply failed:', err.message);}diff --git a/.agents/skills/impeccable/scripts/live-wrap.mjs b/.agents/skills/impeccable/scripts/live-wrap.mjsindex c3f00f3a4..438c01b68 100644--- a/.agents/skills/impeccable/scripts/live-wrap.mjs+++ b/.agents/skills/impeccable/scripts/live-wrap.mjs@@ -2,7 +2,7 @@* CLI helper: find an element in source and wrap it in a variant container.** Usage:- * npx impeccable wrap --id SESSION_ID --count N --query "hero-combined-left" [--file path]+ * node <scripts_path>/live-wrap.mjs --id SESSION_ID --count N --query "hero-combined-left" [--file path]** Searches project files for the element matching the query (class name, ID, or* text snippet), wraps it with the variant scaffolding, and prints the file pathdiff --git a/.claude/skills/impeccable/scripts/live-poll.mjs b/.claude/skills/impeccable/scripts/live-poll.mjsindex b031055fe..740161e10 100644--- a/.claude/skills/impeccable/scripts/live-poll.mjs+++ b/.claude/skills/impeccable/scripts/live-poll.mjs@@ -2,11 +2,11 @@* CLI client for the live variant mode poll/reply protocol.** Usage:- * npx impeccable poll # Block until browser event, print JSON- * npx impeccable poll --stream # Experimental: keep polling; one JSON line per event- * npx impeccable poll --timeout=600000 # Custom timeout (ms); default is long-poll friendly- * npx impeccable poll --reply <id> done # Reply "done" to event <id>- * npx impeccable poll --reply <id> error "msg" # Reply with error+ * node <scripts_path>/live-poll.mjs # Block until browser event, print JSON+ * node <scripts_path>/live-poll.mjs --stream # Experimental: keep polling; one JSON line per event+ * node <scripts_path>/live-poll.mjs --timeout=600000 # Custom timeout (ms); default is long-poll friendly+ * node <scripts_path>/live-poll.mjs --reply <id> done # Reply "done" to event <id>+ * node <scripts_path>/live-poll.mjs --reply <id> error "msg" # Reply with error*/import { execFileSync } from 'node:child_process';@@ -15,6 +15,11 @@ import { fileURLToPath } from 'node:url';import { completionAckForAcceptResult, completionTypeForAcceptResult } from './live/completion.mjs';import { readLiveServerInfo } from './lib/impeccable-paths.mjs';+// Absolute path to a sibling script in this skill's scripts dir, so runtime+// error hints print a directly-runnable command instead of a placeholder.+const SELF_DIR = path.dirname(fileURLToPath(import.meta.url));+const scriptCmd = (name) => `node "${path.join(SELF_DIR, name)}"`;+// Node's built-in fetch (undici under the hood) enforces a 300s headers// timeout that can't be lowered per-request. We cap each request below// that ceiling and loop in `pollOnce` to synthesize a long poll without@@ -27,7 +32,7 @@ const EVENT_TYPES_NEEDING_AGENT_REPLY = new Set(['generate', 'steer', 'manual_edfunction readServerInfo() {const record = readLiveServerInfo(process.cwd());if (!record) {- console.error('No running live server found. Start one with: npx impeccable live');+ console.error(`No running live server found. Start one with: ${scriptCmd('live.mjs')}`);process.exit(1);}return record.info;@@ -82,7 +87,7 @@ export function parseReplyArgs(args) {}function validateReplyArgs({ id, status }) {- const usage = "Usage: npx impeccable poll --reply <id> <status> [--file path] [--data '<json>'] [message]";+ const usage = `Usage: ${scriptCmd('live-poll.mjs')} --reply <id> <status> [--file path] [--data '<json>'] [message]`;if (!id || id.startsWith('--')) {const err = new Error(`${usage}\nMissing event id after --reply.`);err.code = 'INVALID_REPLY_ARGS';@@ -283,11 +288,11 @@ export async function runPollStream(base, token, {function handlePollError(err) {if (err.code === 'AUTH_FAILED') {console.error(err.message);- console.error('Try restarting: npx impeccable live stop && npx impeccable live');+ console.error(`Try restarting: ${scriptCmd('live-server.mjs')} stop && ${scriptCmd('live.mjs')}`);process.exit(1);}if (err.cause?.code === 'ECONNREFUSED') {- console.error('Live server not running. Start one with: npx impeccable live');+ console.error(`Live server not running. Start one with: ${scriptCmd('live.mjs')}`);process.exit(1);}if (err.code === 'ACK_TIMEOUT') {@@ -331,7 +336,7 @@ Harness note:const info = readServerInfo();const base = `http://localhost:${info.port}`;- // Reply mode: npx impeccable poll --reply <id> <status> [--file path] [--data '<json>'] [message]+ // Reply mode: node <scripts_path>/live-poll.mjs --reply <id> <status> [--file path] [--data '<json>'] [message]if (args.includes('--reply')) {let reply;try {@@ -345,7 +350,7 @@ Harness note:await postReply(base, info.token, reply);} catch (err) {if (err.cause?.code === 'ECONNREFUSED') {- console.error('Live server not running. Start one with: npx impeccable live');+ console.error(`Live server not running. Start one with: ${scriptCmd('live.mjs')}`);} else {console.error('Reply failed:', err.message);}diff --git a/.claude/skills/impeccable/scripts/live-wrap.mjs b/.claude/skills/impeccable/scripts/live-wrap.mjsindex c3f00f3a4..438c01b68 100644--- a/.claude/skills/impeccable/scripts/live-wrap.mjs+++ b/.claude/skills/impeccable/scripts/live-wrap.mjs@@ -2,7 +2,7 @@* CLI helper: find an element in source and wrap it in a variant container.** Usage:- * npx impeccable wrap --id SESSION_ID --count N --query "hero-combined-left" [--file path]+ * node <scripts_path>/live-wrap.mjs --id SESSION_ID --count N --query "hero-combined-left" [--file path]** Searches project files for the element matching the query (class name, ID, or* text snippet), wraps it with the variant scaffolding, and prints the file pathdiff --git a/.cursor/skills/impeccable/scripts/live-poll.mjs b/.cursor/skills/impeccable/scripts/live-poll.mjsindex b031055fe..740161e10 100644--- a/.cursor/skills/impeccable/scripts/live-poll.mjs+++ b/.cursor/skills/impeccable/scripts/live-poll.mjs@@ -2,11 +2,11 @@* CLI client for the live variant mode poll/reply protocol.** Usage:- * npx impeccable poll # Block until browser event, print JSON- * npx impeccable poll --stream # Experimental: keep polling; one JSON line per event- * npx impeccable poll --timeout=600000 # Custom timeout (ms); default is long-poll friendly- * npx impeccable poll --reply <id> done # Reply "done" to event <id>- * npx impeccable poll --reply <id> error "msg" # Reply with error+ * node <scripts_path>/live-poll.mjs # Block until browser event, print JSON+ * node <scripts_path>/live-poll.mjs --stream # Experimental: keep polling; one JSON line per event+ * node <scripts_path>/live-poll.mjs --timeout=600000 # Custom timeout (ms); default is long-poll friendly+ * node <scripts_path>/live-poll.mjs --reply <id> done # Reply "done" to event <id>+ * node <scripts_path>/live-poll.mjs --reply <id> error "msg" # Reply with error*/import { execFileSync } from 'node:child_process';@@ -15,6 +15,11 @@ import { fileURLToPath } from 'node:url';import { completionAckForAcceptResult, completionTypeForAcceptResult } from './live/completion.mjs';import { readLiveServerInfo } from './lib/impeccable-paths.mjs';+// Absolute path to a sibling script in this skill's scripts dir, so runtime+// error hints print a directly-runnable command instead of a placeholder.+const SELF_DIR = path.dirname(fileURLToPath(import.meta.url));+const scriptCmd = (name) => `node "${path.join(SELF_DIR, name)}"`;+// Node's built-in fetch (undici under the hood) enforces a 300s headers// timeout that can't be lowered per-request. We cap each request below// that ceiling and loop in `pollOnce` to synthesize a long poll without@@ -27,7 +32,7 @@ const EVENT_TYPES_NEEDING_AGENT_REPLY = new Set(['generate', 'steer', 'manual_edfunction readServerInfo() {const record = readLiveServerInfo(process.cwd());if (!record) {- console.error('No running live server found. Start one with: npx impeccable live');+ console.error(`No running live server found. Start one with: ${scriptCmd('live.mjs')}`);process.exit(1);}return record.info;@@ -82,7 +87,7 @@ export function parseReplyArgs(args) {}function validateReplyArgs({ id, status }) {- const usage = "Usage: npx impeccable poll --reply <id> <status> [--file path] [--data '<json>'] [message]";+ const usage = `Usage: ${scriptCmd('live-poll.mjs')} --reply <id> <status> [--file path] [--data '<json>'] [message]`;if (!id || id.startsWith('--')) {const err = new Error(`${usage}\nMissing event id after --reply.`);err.code = 'INVALID_REPLY_ARGS';@@ -283,11 +288,11 @@ export async function runPollStream(base, token, {function handlePollError(err) {if (err.code === 'AUTH_FAILED') {console.error(err.message);- console.error('Try restarting: npx impeccable live stop && npx impeccable live');+ console.error(`Try restarting: ${scriptCmd('live-server.mjs')} stop && ${scriptCmd('live.mjs')}`);process.exit(1);}if (err.cause?.code === 'ECONNREFUSED') {- console.error('Live server not running. Start one with: npx impeccable live');+ console.error(`Live server not running. Start one with: ${scriptCmd('live.mjs')}`);process.exit(1);}if (err.code === 'ACK_TIMEOUT') {@@ -331,7 +336,7 @@ Harness note:const info = readServerInfo();const base = `http://localhost:${info.port}`;- // Reply mode: npx impeccable poll --reply <id> <status> [--file path] [--data '<json>'] [message]+ // Reply mode: node <scripts_path>/live-poll.mjs --reply <id> <status> [--file path] [--data '<json>'] [message]if (args.includes('--reply')) {let reply;try {@@ -345,7 +350,7 @@ Harness note:await postReply(base, info.token, reply);} catch (err) {if (err.cause?.code === 'ECONNREFUSED') {- console.error('Live server not running. Start one with: npx impeccable live');+ console.error(`Live server not running. Start one with: ${scriptCmd('live.mjs')}`);} else {console.error('Reply failed:', err.message);}diff --git a/.cursor/skills/impeccable/scripts/live-wrap.mjs b/.cursor/skills/impeccable/scripts/live-wrap.mjsindex c3f00f3a4..438c01b68 100644--- a/.cursor/skills/impeccable/scripts/live-wrap.mjs+++ b/.cursor/skills/impeccable/scripts/live-wrap.mjs@@ -2,7 +2,7 @@* CLI helper: find an element in source and wrap it in a variant container.** Usage:- * npx impeccable wrap --id SESSION_ID --count N --query "hero-combined-left" [--file path]+ * node <scripts_path>/live-wrap.mjs --id SESSION_ID --count N --query "hero-combined-left" [--file path]** Searches project files for the element matching the query (class name, ID, or* text snippet), wraps it with the variant scaffolding, and prints the file pathdiff --git a/.gemini/skills/impeccable/scripts/live-poll.mjs b/.gemini/skills/impeccable/scripts/live-poll.mjsindex b031055fe..740161e10 100644--- a/.gemini/skills/impeccable/scripts/live-poll.mjs+++ b/.gemini/skills/impeccable/scripts/live-poll.mjs@@ -2,11 +2,11 @@* CLI client for the live variant mode poll/reply protocol.** Usage:- * npx impeccable poll # Block until browser event, print JSON- * npx impeccable poll --stream # Experimental: keep polling; one JSON line per event- * npx impeccable poll --timeout=600000 # Custom timeout (ms); default is long-poll friendly- * npx impeccable poll --reply <id> done # Reply "done" to event <id>- * npx impeccable poll --reply <id> error "msg" # Reply with error+ * node <scripts_path>/live-poll.mjs # Block until browser event, print JSON+ * node <scripts_path>/live-poll.mjs --stream # Experimental: keep polling; one JSON line per event+ * node <scripts_path>/live-poll.mjs --timeout=600000 # Custom timeout (ms); default is long-poll friendly+ * node <scripts_path>/live-poll.mjs --reply <id> done # Reply "done" to event <id>+ * node <scripts_path>/live-poll.mjs --reply <id> error "msg" # Reply with error*/import { execFileSync } from 'node:child_process';@@ -15,6 +15,11 @@ import { fileURLToPath } from 'node:url';import { completionAckForAcceptResult, completionTypeForAcceptResult } from './live/completion.mjs';import { readLiveServerInfo } from './lib/impeccable-paths.mjs';+// Absolute path to a sibling script in this skill's scripts dir, so runtime+// error hints print a directly-runnable command instead of a placeholder.+const SELF_DIR = path.dirname(fileURLToPath(import.meta.url));+const scriptCmd = (name) => `node "${path.join(SELF_DIR, name)}"`;+// Node's built-in fetch (undici under the hood) enforces a 300s headers// timeout that can't be lowered per-request. We cap each request below// that ceiling and loop in `pollOnce` to synthesize a long poll without@@ -27,7 +32,7 @@ const EVENT_TYPES_NEEDING_AGENT_REPLY = new Set(['generate', 'steer', 'manual_edfunction readServerInfo() {const record = readLiveServerInfo(process.cwd());if (!record) {- console.error('No running live server found. Start one with: npx impeccable live');+ console.error(`No running live server found. Start one with: ${scriptCmd('live.mjs')}`);process.exit(1);}return record.info;@@ -82,7 +87,7 @@ export function parseReplyArgs(args) {}function validateReplyArgs({ id, status }) {- const usage = "Usage: npx impeccable poll --reply <id> <status> [--file path] [--data '<json>'] [message]";+ const usage = `Usage: ${scriptCmd('live-poll.mjs')} --reply <id> <status> [--file path] [--data '<json>'] [message]`;if (!id || id.startsWith('--')) {const err = new Error(`${usage}\nMissing event id after --reply.`);err.code = 'INVALID_REPLY_ARGS';@@ -283,11 +288,11 @@ export async function runPollStream(base, token, {function handlePollError(err) {if (err.code === 'AUTH_FAILED') {console.error(err.message);- console.error('Try restarting: npx impeccable live stop && npx impeccable live');+ console.error(`Try restarting: ${scriptCmd('live-server.mjs')} stop && ${scriptCmd('live.mjs')}`);process.exit(1);}if (err.cause?.code === 'ECONNREFUSED') {- console.error('Live server not running. Start one with: npx impeccable live');+ console.error(`Live server not running. Start one with: ${scriptCmd('live.mjs')}`);process.exit(1);}if (err.code === 'ACK_TIMEOUT') {@@ -331,7 +336,7 @@ Harness note:const info = readServerInfo();const base = `http://localhost:${info.port}`;- // Reply mode: npx impeccable poll --reply <id> <status> [--file path] [--data '<json>'] [message]+ // Reply mode: node <scripts_path>/live-poll.mjs --reply <id> <status> [--file path] [--data '<json>'] [message]if (args.includes('--reply')) {let reply;try {@@ -345,7 +350,7 @@ Harness note:await postReply(base, info.token, reply);} catch (err) {if (err.cause?.code === 'ECONNREFUSED') {- console.error('Live server not running. Start one with: npx impeccable live');+ console.error(`Live server not running. Start one with: ${scriptCmd('live.mjs')}`);} else {console.error('Reply failed:', err.message);}diff --git a/.gemini/skills/impeccable/scripts/live-wrap.mjs b/.gemini/skills/impeccable/scripts/live-wrap.mjsindex c3f00f3a4..438c01b68 100644--- a/.gemini/skills/impeccable/scripts/live-wrap.mjs+++ b/.gemini/skills/impeccable/scripts/live-wrap.mjs@@ -2,7 +2,7 @@* CLI helper: find an element in source and wrap it in a variant container.** Usage:- * npx impeccable wrap --id SESSION_ID --count N --query "hero-combined-left" [--file path]+ * node <scripts_path>/live-wrap.mjs --id SESSION_ID --count N --query "hero-combined-left" [--file path]** Searches project files for the element matching the query (class name, ID, or* text snippet), wraps it with the variant scaffolding, and prints the file pathdiff --git a/.github/skills/impeccable/scripts/live-poll.mjs b/.github/skills/impeccable/scripts/live-poll.mjsindex b031055fe..740161e10 100644--- a/.github/skills/impeccable/scripts/live-poll.mjs+++ b/.github/skills/impeccable/scripts/live-poll.mjs@@ -2,11 +2,11 @@* CLI client for the live variant mode poll/reply protocol.** Usage:- * npx impeccable poll # Block until browser event, print JSON- * npx impeccable poll --stream # Experimental: keep polling; one JSON line per event- * npx impeccable poll --timeout=600000 # Custom timeout (ms); default is long-poll friendly- * npx impeccable poll --reply <id> done # Reply "done" to event <id>- * npx impeccable poll --reply <id> error "msg" # Reply with error+ * node <scripts_path>/live-poll.mjs # Block until browser event, print JSON+ * node <scripts_path>/live-poll.mjs --stream # Experimental: keep polling; one JSON line per event+ * node <scripts_path>/live-poll.mjs --timeout=600000 # Custom timeout (ms); default is long-poll friendly+ * node <scripts_path>/live-poll.mjs --reply <id> done # Reply "done" to event <id>+ * node <scripts_path>/live-poll.mjs --reply <id> error "msg" # Reply with error*/import { execFileSync } from 'node:child_process';@@ -15,6 +15,11 @@ import { fileURLToPath } from 'node:url';import { completionAckForAcceptResult, completionTypeForAcceptResult } from './live/completion.mjs';import { readLiveServerInfo } from './lib/impeccable-paths.mjs';+// Absolute path to a sibling script in this skill's scripts dir, so runtime+// error hints print a directly-runnable command instead of a placeholder.+const SELF_DIR = path.dirname(fileURLToPath(import.meta.url));+const scriptCmd = (name) => `node "${path.join(SELF_DIR, name)}"`;+// Node's built-in fetch (undici under the hood) enforces a 300s headers// timeout that can't be lowered per-request. We cap each request below// that ceiling and loop in `pollOnce` to synthesize a long poll without@@ -27,7 +32,7 @@ const EVENT_TYPES_NEEDING_AGENT_REPLY = new Set(['generate', 'steer', 'manual_edfunction readServerInfo() {const record = readLiveServerInfo(process.cwd());if (!record) {- console.error('No running live server found. Start one with: npx impeccable live');+ console.error(`No running live server found. Start one with: ${scriptCmd('live.mjs')}`);process.exit(1);}return record.info;@@ -82,7 +87,7 @@ export function parseReplyArgs(args) {}function validateReplyArgs({ id, status }) {- const usage = "Usage: npx impeccable poll --reply <id> <status> [--file path] [--data '<json>'] [message]";+ const usage = `Usage: ${scriptCmd('live-poll.mjs')} --reply <id> <status> [--file path] [--data '<json>'] [message]`;if (!id || id.startsWith('--')) {const err = new Error(`${usage}\nMissing event id after --reply.`);err.code = 'INVALID_REPLY_ARGS';@@ -283,11 +288,11 @@ export async function runPollStream(base, token, {function handlePollError(err) {if (err.code === 'AUTH_FAILED') {console.error(err.message);- console.error('Try restarting: npx impeccable live stop && npx impeccable live');+ console.error(`Try restarting: ${scriptCmd('live-server.mjs')} stop && ${scriptCmd('live.mjs')}`);process.exit(1);}if (err.cause?.code === 'ECONNREFUSED') {- console.error('Live server not running. Start one with: npx impeccable live');+ console.error(`Live server not running. Start one with: ${scriptCmd('live.mjs')}`);process.exit(1);}if (err.code === 'ACK_TIMEOUT') {@@ -331,7 +336,7 @@ Harness note:const info = readServerInfo();const base = `http://localhost:${info.port}`;- // Reply mode: npx impeccable poll --reply <id> <status> [--file path] [--data '<json>'] [message]+ // Reply mode: node <scripts_path>/live-poll.mjs --reply <id> <status> [--file path] [--data '<json>'] [message]if (args.includes('--reply')) {let reply;try {@@ -345,7 +350,7 @@ Harness note:await postReply(base, info.token, reply);} catch (err) {if (err.cause?.code === 'ECONNREFUSED') {- console.error('Live server not running. Start one with: npx impeccable live');+ console.error(`Live server not running. Start one with: ${scriptCmd('live.mjs')}`);} else {console.error('Reply failed:', err.message);}diff --git a/.github/skills/impeccable/scripts/live-wrap.mjs b/.github/skills/impeccable/scripts/live-wrap.mjsindex c3f00f3a4..438c01b68 100644--- a/.github/skills/impeccable/scripts/live-wrap.mjs+++ b/.github/skills/impeccable/scripts/live-wrap.mjs@@ -2,7 +2,7 @@* CLI helper: find an element in source and wrap it in a variant container.** Usage:- * npx impeccable wrap --id SESSION_ID --count N --query "hero-combined-left" [--file path]+ * node <scripts_path>/live-wrap.mjs --id SESSION_ID --count N --query "hero-combined-left" [--file path]** Searches project files for the element matching the query (class name, ID, or* text snippet), wraps it with the variant scaffolding, and prints the file pathdiff --git a/.kiro/skills/impeccable/scripts/live-poll.mjs b/.kiro/skills/impeccable/scripts/live-poll.mjsindex b031055fe..740161e10 100644--- a/.kiro/skills/impeccable/scripts/live-poll.mjs+++ b/.kiro/skills/impeccable/scripts/live-poll.mjs@@ -2,11 +2,11 @@* CLI client for the live variant mode poll/reply protocol.** Usage:- * npx impeccable poll # Block until browser event, print JSON- * npx impeccable poll --stream # Experimental: keep polling; one JSON line per event- * npx impeccable poll --timeout=600000 # Custom timeout (ms); default is long-poll friendly- * npx impeccable poll --reply <id> done # Reply "done" to event <id>- * npx impeccable poll --reply <id> error "msg" # Reply with error+ * node <scripts_path>/live-poll.mjs # Block until browser event, print JSON+ * node <scripts_path>/live-poll.mjs --stream # Experimental: keep polling; one JSON line per event+ * node <scripts_path>/live-poll.mjs --timeout=600000 # Custom timeout (ms); default is long-poll friendly+ * node <scripts_path>/live-poll.mjs --reply <id> done # Reply "done" to event <id>+ * node <scripts_path>/live-poll.mjs --reply <id> error "msg" # Reply with error*/import { execFileSync } from 'node:child_process';@@ -15,6 +15,11 @@ import { fileURLToPath } from 'node:url';import { completionAckForAcceptResult, completionTypeForAcceptResult } from './live/completion.mjs';import { readLiveServerInfo } from './lib/impeccable-paths.mjs';+// Absolute path to a sibling script in this skill's scripts dir, so runtime+// error hints print a directly-runnable command instead of a placeholder.+const SELF_DIR = path.dirname(fileURLToPath(import.meta.url));+const scriptCmd = (name) => `node "${path.join(SELF_DIR, name)}"`;+// Node's built-in fetch (undici under the hood) enforces a 300s headers// timeout that can't be lowered per-request. We cap each request below// that ceiling and loop in `pollOnce` to synthesize a long poll without@@ -27,7 +32,7 @@ const EVENT_TYPES_NEEDING_AGENT_REPLY = new Set(['generate', 'steer', 'manual_edfunction readServerInfo() {const record = readLiveServerInfo(process.cwd());if (!record) {- console.error('No running live server found. Start one with: npx impeccable live');+ console.error(`No running live server found. Start one with: ${scriptCmd('live.mjs')}`);process.exit(1);}return record.info;@@ -82,7 +87,7 @@ export function parseReplyArgs(args) {}function validateReplyArgs({ id, status }) {- const usage = "Usage: npx impeccable poll --reply <id> <status> [--file path] [--data '<json>'] [message]";+ const usage = `Usage: ${scriptCmd('live-poll.mjs')} --reply <id> <status> [--file path] [--data '<json>'] [message]`;if (!id || id.startsWith('--')) {const err = new Error(`${usage}\nMissing event id after --reply.`);err.code = 'INVALID_REPLY_ARGS';@@ -283,11 +288,11 @@ export async function runPollStream(base, token, {function handlePollError(err) {if (err.code === 'AUTH_FAILED') {console.error(err.message);- console.error('Try restarting: npx impeccable live stop && npx impeccable live');+ console.error(`Try restarting: ${scriptCmd('live-server.mjs')} stop && ${scriptCmd('live.mjs')}`);process.exit(1);}if (err.cause?.code === 'ECONNREFUSED') {- console.error('Live server not running. Start one with: npx impeccable live');+ console.error(`Live server not running. Start one with: ${scriptCmd('live.mjs')}`);process.exit(1);}if (err.code === 'ACK_TIMEOUT') {@@ -331,7 +336,7 @@ Harness note:const info = readServerInfo();const base = `http://localhost:${info.port}`;- // Reply mode: npx impeccable poll --reply <id> <status> [--file path] [--data '<json>'] [message]+ // Reply mode: node <scripts_path>/live-poll.mjs --reply <id> <status> [--file path] [--data '<json>'] [message]if (args.includes('--reply')) {let reply;try {@@ -345,7 +350,7 @@ Harness note:await postReply(base, info.token, reply);} catch (err) {if (err.cause?.code === 'ECONNREFUSED') {- console.error('Live server not running. Start one with: npx impeccable live');+ console.error(`Live server not running. Start one with: ${scriptCmd('live.mjs')}`);} else {console.error('Reply failed:', err.message);}diff --git a/.kiro/skills/impeccable/scripts/live-wrap.mjs b/.kiro/skills/impeccable/scripts/live-wrap.mjsindex c3f00f3a4..438c01b68 100644--- a/.kiro/skills/impeccable/scripts/live-wrap.mjs+++ b/.kiro/skills/impeccable/scripts/live-wrap.mjs@@ -2,7 +2,7 @@* CLI helper: find an element in source and wrap it in a variant container.** Usage:- * npx impeccable wrap --id SESSION_ID --count N --query "hero-combined-left" [--file path]+ * node <scripts_path>/live-wrap.mjs --id SESSION_ID --count N --query "hero-combined-left" [--file path]** Searches project files for the element matching the query (class name, ID, or* text snippet), wraps it with the variant scaffolding, and prints the file pathdiff --git a/.opencode/skills/impeccable/scripts/live-poll.mjs b/.opencode/skills/impeccable/scripts/live-poll.mjsindex b031055fe..740161e10 100644--- a/.opencode/skills/impeccable/scripts/live-poll.mjs+++ b/.opencode/skills/impeccable/scripts/live-poll.mjs@@ -2,11 +2,11 @@* CLI client for the live variant mode poll/reply protocol.** Usage:- * npx impeccable poll # Block until browser event, print JSON- * npx impeccable poll --stream # Experimental: keep polling; one JSON line per event- * npx impeccable poll --timeout=600000 # Custom timeout (ms); default is long-poll friendly- * npx impeccable poll --reply <id> done # Reply "done" to event <id>- * npx impeccable poll --reply <id> error "msg" # Reply with error+ * node <scripts_path>/live-poll.mjs # Block until browser event, print JSON+ * node <scripts_path>/live-poll.mjs --stream # Experimental: keep polling; one JSON line per event+ * node <scripts_path>/live-poll.mjs --timeout=600000 # Custom timeout (ms); default is long-poll friendly+ * node <scripts_path>/live-poll.mjs --reply <id> done # Reply "done" to event <id>+ * node <scripts_path>/live-poll.mjs --reply <id> error "msg" # Reply with error*/import { execFileSync } from 'node:child_process';@@ -15,6 +15,11 @@ import { fileURLToPath } from 'node:url';import { completionAckForAcceptResult, completionTypeForAcceptResult } from './live/completion.mjs';import { readLiveServerInfo } from './lib/impeccable-paths.mjs';+// Absolute path to a sibling script in this skill's scripts dir, so runtime+// error hints print a directly-runnable command instead of a placeholder.+const SELF_DIR = path.dirname(fileURLToPath(import.meta.url));+const scriptCmd = (name) => `node "${path.join(SELF_DIR, name)}"`;+// Node's built-in fetch (undici under the hood) enforces a 300s headers// timeout that can't be lowered per-request. We cap each request below// that ceiling and loop in `pollOnce` to synthesize a long poll without@@ -27,7 +32,7 @@ const EVENT_TYPES_NEEDING_AGENT_REPLY = new Set(['generate', 'steer', 'manual_edfunction readServerInfo() {const record = readLiveServerInfo(process.cwd());if (!record) {- console.error('No running live server found. Start one with: npx impeccable live');+ console.error(`No running live server found. Start one with: ${scriptCmd('live.mjs')}`);process.exit(1);}return record.info;@@ -82,7 +87,7 @@ export function parseReplyArgs(args) {}function validateReplyArgs({ id, status }) {- const usage = "Usage: npx impeccable poll --reply <id> <status> [--file path] [--data '<json>'] [message]";+ const usage = `Usage: ${scriptCmd('live-poll.mjs')} --reply <id> <status> [--file path] [--data '<json>'] [message]`;if (!id || id.startsWith('--')) {const err = new Error(`${usage}\nMissing event id after --reply.`);err.code = 'INVALID_REPLY_ARGS';@@ -283,11 +288,11 @@ export async function runPollStream(base, token, {function handlePollError(err) {if (err.code === 'AUTH_FAILED') {console.error(err.message);- console.error('Try restarting: npx impeccable live stop && npx impeccable live');+ console.error(`Try restarting: ${scriptCmd('live-server.mjs')} stop && ${scriptCmd('live.mjs')}`);process.exit(1);}if (err.cause?.code === 'ECONNREFUSED') {- console.error('Live server not running. Start one with: npx impeccable live');+ console.error(`Live server not running. Start one with: ${scriptCmd('live.mjs')}`);process.exit(1);}if (err.code === 'ACK_TIMEOUT') {@@ -331,7 +336,7 @@ Harness note:const info = readServerInfo();const base = `http://localhost:${info.port}`;- // Reply mode: npx impeccable poll --reply <id> <status> [--file path] [--data '<json>'] [message]+ // Reply mode: node <scripts_path>/live-poll.mjs --reply <id> <status> [--file path] [--data '<json>'] [message]if (args.includes('--reply')) {let reply;try {@@ -345,7 +350,7 @@ Harness note:await postReply(base, info.token, reply);} catch (err) {if (err.cause?.code === 'ECONNREFUSED') {- console.error('Live server not running. Start one with: npx impeccable live');+ console.error(`Live server not running. Start one with: ${scriptCmd('live.mjs')}`);} else {console.error('Reply failed:', err.message);}diff --git a/.opencode/skills/impeccable/scripts/live-wrap.mjs b/.opencode/skills/impeccable/scripts/live-wrap.mjsindex c3f00f3a4..438c01b68 100644--- a/.opencode/skills/impeccable/scripts/live-wrap.mjs+++ b/.opencode/skills/impeccable/scripts/live-wrap.mjs@@ -2,7 +2,7 @@* CLI helper: find an element in source and wrap it in a variant container.** Usage:- * npx impeccable wrap --id SESSION_ID --count N --query "hero-combined-left" [--file path]+ * node <scripts_path>/live-wrap.mjs --id SESSION_ID --count N --query "hero-combined-left" [--file path]** Searches project files for the element matching the query (class name, ID, or* text snippet), wraps it with the variant scaffolding, and prints the file pathdiff --git a/.pi/skills/impeccable/scripts/live-poll.mjs b/.pi/skills/impeccable/scripts/live-poll.mjsindex b031055fe..740161e10 100644--- a/.pi/skills/impeccable/scripts/live-poll.mjs+++ b/.pi/skills/impeccable/scripts/live-poll.mjs@@ -2,11 +2,11 @@* CLI client for the live variant mode poll/reply protocol.** Usage:- * npx impeccable poll # Block until browser event, print JSON- * npx impeccable poll --stream # Experimental: keep polling; one JSON line per event- * npx impeccable poll --timeout=600000 # Custom timeout (ms); default is long-poll friendly- * npx impeccable poll --reply <id> done # Reply "done" to event <id>- * npx impeccable poll --reply <id> error "msg" # Reply with error+ * node <scripts_path>/live-poll.mjs # Block until browser event, print JSON+ * node <scripts_path>/live-poll.mjs --stream # Experimental: keep polling; one JSON line per event+ * node <scripts_path>/live-poll.mjs --timeout=600000 # Custom timeout (ms); default is long-poll friendly+ * node <scripts_path>/live-poll.mjs --reply <id> done # Reply "done" to event <id>+ * node <scripts_path>/live-poll.mjs --reply <id> error "msg" # Reply with error*/import { execFileSync } from 'node:child_process';@@ -15,6 +15,11 @@ import { fileURLToPath } from 'node:url';import { completionAckForAcceptResult, completionTypeForAcceptResult } from './live/completion.mjs';import { readLiveServerInfo } from './lib/impeccable-paths.mjs';+// Absolute path to a sibling script in this skill's scripts dir, so runtime+// error hints print a directly-runnable command instead of a placeholder.+const SELF_DIR = path.dirname(fileURLToPath(import.meta.url));+const scriptCmd = (name) => `node "${path.join(SELF_DIR, name)}"`;+// Node's built-in fetch (undici under the hood) enforces a 300s headers// timeout that can't be lowered per-request. We cap each request below// that ceiling and loop in `pollOnce` to synthesize a long poll without@@ -27,7 +32,7 @@ const EVENT_TYPES_NEEDING_AGENT_REPLY = new Set(['generate', 'steer', 'manual_edfunction readServerInfo() {const record = readLiveServerInfo(process.cwd());if (!record) {- console.error('No running live server found. Start one with: npx impeccable live');+ console.error(`No running live server found. Start one with: ${scriptCmd('live.mjs')}`);process.exit(1);}return record.info;@@ -82,7 +87,7 @@ export function parseReplyArgs(args) {}function validateReplyArgs({ id, status }) {- const usage = "Usage: npx impeccable poll --reply <id> <status> [--file path] [--data '<json>'] [message]";+ const usage = `Usage: ${scriptCmd('live-poll.mjs')} --reply <id> <status> [--file path] [--data '<json>'] [message]`;if (!id || id.startsWith('--')) {const err = new Error(`${usage}\nMissing event id after --reply.`);err.code = 'INVALID_REPLY_ARGS';@@ -283,11 +288,11 @@ export async function runPollStream(base, token, {function handlePollError(err) {if (err.code === 'AUTH_FAILED') {console.error(err.message);- console.error('Try restarting: npx impeccable live stop && npx impeccable live');+ console.error(`Try restarting: ${scriptCmd('live-server.mjs')} stop && ${scriptCmd('live.mjs')}`);process.exit(1);}if (err.cause?.code === 'ECONNREFUSED') {- console.error('Live server not running. Start one with: npx impeccable live');+ console.error(`Live server not running. Start one with: ${scriptCmd('live.mjs')}`);process.exit(1);}if (err.code === 'ACK_TIMEOUT') {@@ -331,7 +336,7 @@ Harness note:const info = readServerInfo();const base = `http://localhost:${info.port}`;- // Reply mode: npx impeccable poll --reply <id> <status> [--file path] [--data '<json>'] [message]+ // Reply mode: node <scripts_path>/live-poll.mjs --reply <id> <status> [--file path] [--data '<json>'] [message]if (args.includes('--reply')) {let reply;try {@@ -345,7 +350,7 @@ Harness note:await postReply(base, info.token, reply);} catch (err) {if (err.cause?.code === 'ECONNREFUSED') {- console.error('Live server not running. Start one with: npx impeccable live');+ console.error(`Live server not running. Start one with: ${scriptCmd('live.mjs')}`);} else {console.error('Reply failed:', err.message);}diff --git a/.pi/skills/impeccable/scripts/live-wrap.mjs b/.pi/skills/impeccable/scripts/live-wrap.mjsindex c3f00f3a4..438c01b68 100644--- a/.pi/skills/impeccable/scripts/live-wrap.mjs+++ b/.pi/skills/impeccable/scripts/live-wrap.mjs@@ -2,7 +2,7 @@* CLI helper: find an element in source and wrap it in a variant container.** Usage:- * npx impeccable wrap --id SESSION_ID --count N --query "hero-combined-left" [--file path]+ * node <scripts_path>/live-wrap.mjs --id SESSION_ID --count N --query "hero-combined-left" [--file path]** Searches project files for the element matching the query (class name, ID, or* text snippet), wraps it with the variant scaffolding, and prints the file pathdiff --git a/.qoder/skills/impeccable/scripts/live-poll.mjs b/.qoder/skills/impeccable/scripts/live-poll.mjsindex b031055fe..740161e10 100644--- a/.qoder/skills/impeccable/scripts/live-poll.mjs+++ b/.qoder/skills/impeccable/scripts/live-poll.mjs@@ -2,11 +2,11 @@* CLI client for the live variant mode poll/reply protocol.** Usage:- * npx impeccable poll # Block until browser event, print JSON- * npx impeccable poll --stream # Experimental: keep polling; one JSON line per event- * npx impeccable poll --timeout=600000 # Custom timeout (ms); default is long-poll friendly- * npx impeccable poll --reply <id> done # Reply "done" to event <id>- * npx impeccable poll --reply <id> error "msg" # Reply with error+ * node <scripts_path>/live-poll.mjs # Block until browser event, print JSON+ * node <scripts_path>/live-poll.mjs --stream # Experimental: keep polling; one JSON line per event+ * node <scripts_path>/live-poll.mjs --timeout=600000 # Custom timeout (ms); default is long-poll friendly+ * node <scripts_path>/live-poll.mjs --reply <id> done # Reply "done" to event <id>+ * node <scripts_path>/live-poll.mjs --reply <id> error "msg" # Reply with error*/import { execFileSync } from 'node:child_process';@@ -15,6 +15,11 @@ import { fileURLToPath } from 'node:url';import { completionAckForAcceptResult, completionTypeForAcceptResult } from './live/completion.mjs';import { readLiveServerInfo } from './lib/impeccable-paths.mjs';+// Absolute path to a sibling script in this skill's scripts dir, so runtime+// error hints print a directly-runnable command instead of a placeholder.+const SELF_DIR = path.dirname(fileURLToPath(import.meta.url));+const scriptCmd = (name) => `node "${path.join(SELF_DIR, name)}"`;+// Node's built-in fetch (undici under the hood) enforces a 300s headers// timeout that can't be lowered per-request. We cap each request below// that ceiling and loop in `pollOnce` to synthesize a long poll without@@ -27,7 +32,7 @@ const EVENT_TYPES_NEEDING_AGENT_REPLY = new Set(['generate', 'steer', 'manual_edfunction readServerInfo() {const record = readLiveServerInfo(process.cwd());if (!record) {- console.error('No running live server found. Start one with: npx impeccable live');+ console.error(`No running live server found. Start one with: ${scriptCmd('live.mjs')}`);process.exit(1);}return record.info;@@ -82,7 +87,7 @@ export function parseReplyArgs(args) {}function validateReplyArgs({ id, status }) {- const usage = "Usage: npx impeccable poll --reply <id> <status> [--file path] [--data '<json>'] [message]";+ const usage = `Usage: ${scriptCmd('live-poll.mjs')} --reply <id> <status> [--file path] [--data '<json>'] [message]`;if (!id || id.startsWith('--')) {const err = new Error(`${usage}\nMissing event id after --reply.`);err.code = 'INVALID_REPLY_ARGS';@@ -283,11 +288,11 @@ export async function runPollStream(base, token, {function handlePollError(err) {if (err.code === 'AUTH_FAILED') {console.error(err.message);- console.error('Try restarting: npx impeccable live stop && npx impeccable live');+ console.error(`Try restarting: ${scriptCmd('live-server.mjs')} stop && ${scriptCmd('live.mjs')}`);process.exit(1);}if (err.cause?.code === 'ECONNREFUSED') {- console.error('Live server not running. Start one with: npx impeccable live');+ console.error(`Live server not running. Start one with: ${scriptCmd('live.mjs')}`);process.exit(1);}if (err.code === 'ACK_TIMEOUT') {@@ -331,7 +336,7 @@ Harness note:const info = readServerInfo();const base = `http://localhost:${info.port}`;- // Reply mode: npx impeccable poll --reply <id> <status> [--file path] [--data '<json>'] [message]+ // Reply mode: node <scripts_path>/live-poll.mjs --reply <id> <status> [--file path] [--data '<json>'] [message]if (args.includes('--reply')) {let reply;try {@@ -345,7 +350,7 @@ Harness note:await postReply(base, info.token, reply);} catch (err) {if (err.cause?.code === 'ECONNREFUSED') {- console.error('Live server not running. Start one with: npx impeccable live');+ console.error(`Live server not running. Start one with: ${scriptCmd('live.mjs')}`);} else {console.error('Reply failed:', err.message);}diff --git a/.qoder/skills/impeccable/scripts/live-wrap.mjs b/.qoder/skills/impeccable/scripts/live-wrap.mjsindex c3f00f3a4..438c01b68 100644--- a/.qoder/skills/impeccable/scripts/live-wrap.mjs+++ b/.qoder/skills/impeccable/scripts/live-wrap.mjs@@ -2,7 +2,7 @@* CLI helper: find an element in source and wrap it in a variant container.** Usage:- * npx impeccable wrap --id SESSION_ID --count N --query "hero-combined-left" [--file path]+ * node <scripts_path>/live-wrap.mjs --id SESSION_ID --count N --query "hero-combined-left" [--file path]** Searches project files for the element matching the query (class name, ID, or* text snippet), wraps it with the variant scaffolding, and prints the file pathdiff --git a/.rovodev/skills/impeccable/scripts/live-poll.mjs b/.rovodev/skills/impeccable/scripts/live-poll.mjsindex b031055fe..740161e10 100644--- a/.rovodev/skills/impeccable/scripts/live-poll.mjs+++ b/.rovodev/skills/impeccable/scripts/live-poll.mjs@@ -2,11 +2,11 @@* CLI client for the live variant mode poll/reply protocol.** Usage:- * npx impeccable poll # Block until browser event, print JSON- * npx impeccable poll --stream # Experimental: keep polling; one JSON line per event- * npx impeccable poll --timeout=600000 # Custom timeout (ms); default is long-poll friendly- * npx impeccable poll --reply <id> done # Reply "done" to event <id>- * npx impeccable poll --reply <id> error "msg" # Reply with error+ * node <scripts_path>/live-poll.mjs # Block until browser event, print JSON+ * node <scripts_path>/live-poll.mjs --stream # Experimental: keep polling; one JSON line per event+ * node <scripts_path>/live-poll.mjs --timeout=600000 # Custom timeout (ms); default is long-poll friendly+ * node <scripts_path>/live-poll.mjs --reply <id> done # Reply "done" to event <id>+ * node <scripts_path>/live-poll.mjs --reply <id> error "msg" # Reply with error*/import { execFileSync } from 'node:child_process';@@ -15,6 +15,11 @@ import { fileURLToPath } from 'node:url';import { completionAckForAcceptResult, completionTypeForAcceptResult } from './live/completion.mjs';import { readLiveServerInfo } from './lib/impeccable-paths.mjs';+// Absolute path to a sibling script in this skill's scripts dir, so runtime+// error hints print a directly-runnable command instead of a placeholder.+const SELF_DIR = path.dirname(fileURLToPath(import.meta.url));+const scriptCmd = (name) => `node "${path.join(SELF_DIR, name)}"`;+// Node's built-in fetch (undici under the hood) enforces a 300s headers// timeout that can't be lowered per-request. We cap each request below// that ceiling and loop in `pollOnce` to synthesize a long poll without@@ -27,7 +32,7 @@ const EVENT_TYPES_NEEDING_AGENT_REPLY = new Set(['generate', 'steer', 'manual_edfunction readServerInfo() {const record = readLiveServerInfo(process.cwd());if (!record) {- console.error('No running live server found. Start one with: npx impeccable live');+ console.error(`No running live server found. Start one with: ${scriptCmd('live.mjs')}`);process.exit(1);}return record.info;@@ -82,7 +87,7 @@ export function parseReplyArgs(args) {}function validateReplyArgs({ id, status }) {- const usage = "Usage: npx impeccable poll --reply <id> <status> [--file path] [--data '<json>'] [message]";+ const usage = `Usage: ${scriptCmd('live-poll.mjs')} --reply <id> <status> [--file path] [--data '<json>'] [message]`;if (!id || id.startsWith('--')) {const err = new Error(`${usage}\nMissing event id after --reply.`);err.code = 'INVALID_REPLY_ARGS';@@ -283,11 +288,11 @@ export async function runPollStream(base, token, {function handlePollError(err) {if (err.code === 'AUTH_FAILED') {console.error(err.message);- console.error('Try restarting: npx impeccable live stop && npx impeccable live');+ console.error(`Try restarting: ${scriptCmd('live-server.mjs')} stop && ${scriptCmd('live.mjs')}`);process.exit(1);}if (err.cause?.code === 'ECONNREFUSED') {- console.error('Live server not running. Start one with: npx impeccable live');+ console.error(`Live server not running. Start one with: ${scriptCmd('live.mjs')}`);process.exit(1);}if (err.code === 'ACK_TIMEOUT') {@@ -331,7 +336,7 @@ Harness note:const info = readServerInfo();const base = `http://localhost:${info.port}`;- // Reply mode: npx impeccable poll --reply <id> <status> [--file path] [--data '<json>'] [message]+ // Reply mode: node <scripts_path>/live-poll.mjs --reply <id> <status> [--file path] [--data '<json>'] [message]if (args.includes('--reply')) {let reply;try {@@ -345,7 +350,7 @@ Harness note:await postReply(base, info.token, reply);} catch (err) {if (err.cause?.code === 'ECONNREFUSED') {- console.error('Live server not running. Start one with: npx impeccable live');+ console.error(`Live server not running. Start one with: ${scriptCmd('live.mjs')}`);} else {console.error('Reply failed:', err.message);}diff --git a/.rovodev/skills/impeccable/scripts/live-wrap.mjs b/.rovodev/skills/impeccable/scripts/live-wrap.mjsindex c3f00f3a4..438c01b68 100644--- a/.rovodev/skills/impeccable/scripts/live-wrap.mjs+++ b/.rovodev/skills/impeccable/scripts/live-wrap.mjs@@ -2,7 +2,7 @@* CLI helper: find an element in source and wrap it in a variant container.** Usage:- * npx impeccable wrap --id SESSION_ID --count N --query "hero-combined-left" [--file path]+ * node <scripts_path>/live-wrap.mjs --id SESSION_ID --count N --query "hero-combined-left" [--file path]** Searches project files for the element matching the query (class name, ID, or* text snippet), wraps it with the variant scaffolding, and prints the file pathdiff --git a/.trae-cn/skills/impeccable/scripts/live-poll.mjs b/.trae-cn/skills/impeccable/scripts/live-poll.mjsindex b031055fe..740161e10 100644--- a/.trae-cn/skills/impeccable/scripts/live-poll.mjs+++ b/.trae-cn/skills/impeccable/scripts/live-poll.mjs@@ -2,11 +2,11 @@* CLI client for the live variant mode poll/reply protocol.** Usage:- * npx impeccable poll # Block until browser event, print JSON- * npx impeccable poll --stream # Experimental: keep polling; one JSON line per event- * npx impeccable poll --timeout=600000 # Custom timeout (ms); default is long-poll friendly- * npx impeccable poll --reply <id> done # Reply "done" to event <id>- * npx impeccable poll --reply <id> error "msg" # Reply with error+ * node <scripts_path>/live-poll.mjs # Block until browser event, print JSON+ * node <scripts_path>/live-poll.mjs --stream # Experimental: keep polling; one JSON line per event+ * node <scripts_path>/live-poll.mjs --timeout=600000 # Custom timeout (ms); default is long-poll friendly+ * node <scripts_path>/live-poll.mjs --reply <id> done # Reply "done" to event <id>+ * node <scripts_path>/live-poll.mjs --reply <id> error "msg" # Reply with error*/import { execFileSync } from 'node:child_process';@@ -15,6 +15,11 @@ import { fileURLToPath } from 'node:url';import { completionAckForAcceptResult, completionTypeForAcceptResult } from './live/completion.mjs';import { readLiveServerInfo } from './lib/impeccable-paths.mjs';+// Absolute path to a sibling script in this skill's scripts dir, so runtime+// error hints print a directly-runnable command instead of a placeholder.+const SELF_DIR = path.dirname(fileURLToPath(import.meta.url));+const scriptCmd = (name) => `node "${path.join(SELF_DIR, name)}"`;+// Node's built-in fetch (undici under the hood) enforces a 300s headers// timeout that can't be lowered per-request. We cap each request below// that ceiling and loop in `pollOnce` to synthesize a long poll without@@ -27,7 +32,7 @@ const EVENT_TYPES_NEEDING_AGENT_REPLY = new Set(['generate', 'steer', 'manual_edfunction readServerInfo() {const record = readLiveServerInfo(process.cwd());if (!record) {- console.error('No running live server found. Start one with: npx impeccable live');+ console.error(`No running live server found. Start one with: ${scriptCmd('live.mjs')}`);process.exit(1);}return record.info;@@ -82,7 +87,7 @@ export function parseReplyArgs(args) {}function validateReplyArgs({ id, status }) {- const usage = "Usage: npx impeccable poll --reply <id> <status> [--file path] [--data '<json>'] [message]";+ const usage = `Usage: ${scriptCmd('live-poll.mjs')} --reply <id> <status> [--file path] [--data '<json>'] [message]`;if (!id || id.startsWith('--')) {const err = new Error(`${usage}\nMissing event id after --reply.`);err.code = 'INVALID_REPLY_ARGS';@@ -283,11 +288,11 @@ export async function runPollStream(base, token, {function handlePollError(err) {if (err.code === 'AUTH_FAILED') {console.error(err.message);- console.error('Try restarting: npx impeccable live stop && npx impeccable live');+ console.error(`Try restarting: ${scriptCmd('live-server.mjs')} stop && ${scriptCmd('live.mjs')}`);process.exit(1);}if (err.cause?.code === 'ECONNREFUSED') {- console.error('Live server not running. Start one with: npx impeccable live');+ console.error(`Live server not running. Start one with: ${scriptCmd('live.mjs')}`);process.exit(1);}if (err.code === 'ACK_TIMEOUT') {@@ -331,7 +336,7 @@ Harness note:const info = readServerInfo();const base = `http://localhost:${info.port}`;- // Reply mode: npx impeccable poll --reply <id> <status> [--file path] [--data '<json>'] [message]+ // Reply mode: node <scripts_path>/live-poll.mjs --reply <id> <status> [--file path] [--data '<json>'] [message]if (args.includes('--reply')) {let reply;try {@@ -345,7 +350,7 @@ Harness note:await postReply(base, info.token, reply);} catch (err) {if (err.cause?.code === 'ECONNREFUSED') {- console.error('Live server not running. Start one with: npx impeccable live');+ console.error(`Live server not running. Start one with: ${scriptCmd('live.mjs')}`);} else {console.error('Reply failed:', err.message);}diff --git a/.trae-cn/skills/impeccable/scripts/live-wrap.mjs b/.trae-cn/skills/impeccable/scripts/live-wrap.mjsindex c3f00f3a4..438c01b68 100644--- a/.trae-cn/skills/impeccable/scripts/live-wrap.mjs+++ b/.trae-cn/skills/impeccable/scripts/live-wrap.mjs@@ -2,7 +2,7 @@* CLI helper: find an element in source and wrap it in a variant container.** Usage:- * npx impeccable wrap --id SESSION_ID --count N --query "hero-combined-left" [--file path]+ * node <scripts_path>/live-wrap.mjs --id SESSION_ID --count N --query "hero-combined-left" [--file path]** Searches project files for the element matching the query (class name, ID, or* text snippet), wraps it with the variant scaffolding, and prints the file pathdiff --git a/.trae/skills/impeccable/scripts/live-poll.mjs b/.trae/skills/impeccable/scripts/live-poll.mjsindex b031055fe..740161e10 100644--- a/.trae/skills/impeccable/scripts/live-poll.mjs+++ b/.trae/skills/impeccable/scripts/live-poll.mjs@@ -2,11 +2,11 @@* CLI client for the live variant mode poll/reply protocol.** Usage:- * npx impeccable poll # Block until browser event, print JSON- * npx impeccable poll --stream # Experimental: keep polling; one JSON line per event- * npx impeccable poll --timeout=600000 # Custom timeout (ms); default is long-poll friendly- * npx impeccable poll --reply <id> done # Reply "done" to event <id>- * npx impeccable poll --reply <id> error "msg" # Reply with error+ * node <scripts_path>/live-poll.mjs # Block until browser event, print JSON+ * node <scripts_path>/live-poll.mjs --stream # Experimental: keep polling; one JSON line per event+ * node <scripts_path>/live-poll.mjs --timeout=600000 # Custom timeout (ms); default is long-poll friendly+ * node <scripts_path>/live-poll.mjs --reply <id> done # Reply "done" to event <id>+ * node <scripts_path>/live-poll.mjs --reply <id> error "msg" # Reply with error*/import { execFileSync } from 'node:child_process';@@ -15,6 +15,11 @@ import { fileURLToPath } from 'node:url';import { completionAckForAcceptResult, completionTypeForAcceptResult } from './live/completion.mjs';import { readLiveServerInfo } from './lib/impeccable-paths.mjs';+// Absolute path to a sibling script in this skill's scripts dir, so runtime+// error hints print a directly-runnable command instead of a placeholder.+const SELF_DIR = path.dirname(fileURLToPath(import.meta.url));+const scriptCmd = (name) => `node "${path.join(SELF_DIR, name)}"`;+// Node's built-in fetch (undici under the hood) enforces a 300s headers// timeout that can't be lowered per-request. We cap each request below// that ceiling and loop in `pollOnce` to synthesize a long poll without@@ -27,7 +32,7 @@ const EVENT_TYPES_NEEDING_AGENT_REPLY = new Set(['generate', 'steer', 'manual_edfunction readServerInfo() {const record = readLiveServerInfo(process.cwd());if (!record) {- console.error('No running live server found. Start one with: npx impeccable live');+ console.error(`No running live server found. Start one with: ${scriptCmd('live.mjs')}`);process.exit(1);}return record.info;@@ -82,7 +87,7 @@ export function parseReplyArgs(args) {}function validateReplyArgs({ id, status }) {- const usage = "Usage: npx impeccable poll --reply <id> <status> [--file path] [--data '<json>'] [message]";+ const usage = `Usage: ${scriptCmd('live-poll.mjs')} --reply <id> <status> [--file path] [--data '<json>'] [message]`;if (!id || id.startsWith('--')) {const err = new Error(`${usage}\nMissing event id after --reply.`);err.code = 'INVALID_REPLY_ARGS';@@ -283,11 +288,11 @@ export async function runPollStream(base, token, {function handlePollError(err) {if (err.code === 'AUTH_FAILED') {console.error(err.message);- console.error('Try restarting: npx impeccable live stop && npx impeccable live');+ console.error(`Try restarting: ${scriptCmd('live-server.mjs')} stop && ${scriptCmd('live.mjs')}`);process.exit(1);}if (err.cause?.code === 'ECONNREFUSED') {- console.error('Live server not running. Start one with: npx impeccable live');+ console.error(`Live server not running. Start one with: ${scriptCmd('live.mjs')}`);process.exit(1);}if (err.code === 'ACK_TIMEOUT') {@@ -331,7 +336,7 @@ Harness note:const info = readServerInfo();const base = `http://localhost:${info.port}`;- // Reply mode: npx impeccable poll --reply <id> <status> [--file path] [--data '<json>'] [message]+ // Reply mode: node <scripts_path>/live-poll.mjs --reply <id> <status> [--file path] [--data '<json>'] [message]if (args.includes('--reply')) {let reply;try {@@ -345,7 +350,7 @@ Harness note:await postReply(base, info.token, reply);} catch (err) {if (err.cause?.code === 'ECONNREFUSED') {- console.error('Live server not running. Start one with: npx impeccable live');+ console.error(`Live server not running. Start one with: ${scriptCmd('live.mjs')}`);} else {console.error('Reply failed:', err.message);}diff --git a/.trae/skills/impeccable/scripts/live-wrap.mjs b/.trae/skills/impeccable/scripts/live-wrap.mjsindex c3f00f3a4..438c01b68 100644--- a/.trae/skills/impeccable/scripts/live-wrap.mjs+++ b/.trae/skills/impeccable/scripts/live-wrap.mjs@@ -2,7 +2,7 @@* CLI helper: find an element in source and wrap it in a variant container.** Usage:- * npx impeccable wrap --id SESSION_ID --count N --query "hero-combined-left" [--file path]+ * node <scripts_path>/live-wrap.mjs --id SESSION_ID --count N --query "hero-combined-left" [--file path]** Searches project files for the element matching the query (class name, ID, or* text snippet), wraps it with the variant scaffolding, and prints the file pathdiff --git a/plugin/skills/impeccable/scripts/live-poll.mjs b/plugin/skills/impeccable/scripts/live-poll.mjsindex b031055fe..740161e10 100644--- a/plugin/skills/impeccable/scripts/live-poll.mjs+++ b/plugin/skills/impeccable/scripts/live-poll.mjs@@ -2,11 +2,11 @@* CLI client for the live variant mode poll/reply protocol.** Usage:- * npx impeccable poll # Block until browser event, print JSON- * npx impeccable poll --stream # Experimental: keep polling; one JSON line per event- * npx impeccable poll --timeout=600000 # Custom timeout (ms); default is long-poll friendly- * npx impeccable poll --reply <id> done # Reply "done" to event <id>- * npx impeccable poll --reply <id> error "msg" # Reply with error+ * node <scripts_path>/live-poll.mjs # Block until browser event, print JSON+ * node <scripts_path>/live-poll.mjs --stream # Experimental: keep polling; one JSON line per event+ * node <scripts_path>/live-poll.mjs --timeout=600000 # Custom timeout (ms); default is long-poll friendly+ * node <scripts_path>/live-poll.mjs --reply <id> done # Reply "done" to event <id>+ * node <scripts_path>/live-poll.mjs --reply <id> error "msg" # Reply with error*/import { execFileSync } from 'node:child_process';@@ -15,6 +15,11 @@ import { fileURLToPath } from 'node:url';import { completionAckForAcceptResult, completionTypeForAcceptResult } from './live/completion.mjs';import { readLiveServerInfo } from './lib/impeccable-paths.mjs';+// Absolute path to a sibling script in this skill's scripts dir, so runtime+// error hints print a directly-runnable command instead of a placeholder.+const SELF_DIR = path.dirname(fileURLToPath(import.meta.url));+const scriptCmd = (name) => `node "${path.join(SELF_DIR, name)}"`;+// Node's built-in fetch (undici under the hood) enforces a 300s headers// timeout that can't be lowered per-request. We cap each request below// that ceiling and loop in `pollOnce` to synthesize a long poll without@@ -27,7 +32,7 @@ const EVENT_TYPES_NEEDING_AGENT_REPLY = new Set(['generate', 'steer', 'manual_edfunction readServerInfo() {const record = readLiveServerInfo(process.cwd());if (!record) {- console.error('No running live server found. Start one with: npx impeccable live');+ console.error(`No running live server found. Start one with: ${scriptCmd('live.mjs')}`);process.exit(1);}return record.info;@@ -82,7 +87,7 @@ export function parseReplyArgs(args) {}function validateReplyArgs({ id, status }) {- const usage = "Usage: npx impeccable poll --reply <id> <status> [--file path] [--data '<json>'] [message]";+ const usage = `Usage: ${scriptCmd('live-poll.mjs')} --reply <id> <status> [--file path] [--data '<json>'] [message]`;if (!id || id.startsWith('--')) {const err = new Error(`${usage}\nMissing event id after --reply.`);err.code = 'INVALID_REPLY_ARGS';@@ -283,11 +288,11 @@ export async function runPollStream(base, token, {function handlePollError(err) {if (err.code === 'AUTH_FAILED') {console.error(err.message);- console.error('Try restarting: npx impeccable live stop && npx impeccable live');+ console.error(`Try restarting: ${scriptCmd('live-server.mjs')} stop && ${scriptCmd('live.mjs')}`);process.exit(1);}if (err.cause?.code === 'ECONNREFUSED') {- console.error('Live server not running. Start one with: npx impeccable live');+ console.error(`Live server not running. Start one with: ${scriptCmd('live.mjs')}`);process.exit(1);}if (err.code === 'ACK_TIMEOUT') {@@ -331,7 +336,7 @@ Harness note:const info = readServerInfo();const base = `http://localhost:${info.port}`;- // Reply mode: npx impeccable poll --reply <id> <status> [--file path] [--data '<json>'] [message]+ // Reply mode: node <scripts_path>/live-poll.mjs --reply <id> <status> [--file path] [--data '<json>'] [message]if (args.includes('--reply')) {let reply;try {@@ -345,7 +350,7 @@ Harness note:await postReply(base, info.token, reply);} catch (err) {if (err.cause?.code === 'ECONNREFUSED') {- console.error('Live server not running. Start one with: npx impeccable live');+ console.error(`Live server not running. Start one with: ${scriptCmd('live.mjs')}`);} else {console.error('Reply failed:', err.message);}diff --git a/plugin/skills/impeccable/scripts/live-wrap.mjs b/plugin/skills/impeccable/scripts/live-wrap.mjsindex c3f00f3a4..438c01b68 100644--- a/plugin/skills/impeccable/scripts/live-wrap.mjs+++ b/plugin/skills/impeccable/scripts/live-wrap.mjs@@ -2,7 +2,7 @@* CLI helper: find an element in source and wrap it in a variant container.** Usage:- * npx impeccable wrap --id SESSION_ID --count N --query "hero-combined-left" [--file path]+ * node <scripts_path>/live-wrap.mjs --id SESSION_ID --count N --query "hero-combined-left" [--file path]** Searches project files for the element matching the query (class name, ID, or* text snippet), wraps it with the variant scaffolding, and prints the file path