agent-qa 0.2.3 → 0.2.4

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/dist/cli.cjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/color-posture.ts","../src/node-floor.ts","../src/cli.ts"],"sourcesContent":["// 2026-10-18 (444-14, D-42): picocolors turns colour on whenever CI is set, so a log without a\n// terminal got ANSI codes. This module imports nothing: it must run before anything loads picocolors.\n\nexport function applyColorPosture(env: NodeJS.ProcessEnv, stdoutIsTTY: boolean): void {\n if (stdoutIsTTY) return\n if (env.FORCE_COLOR !== undefined || env.NO_COLOR !== undefined) return\n env.NO_COLOR = '1'\n}\n\napplyColorPosture(process.env, process.stdout.isTTY === true)\n","// 2026-10-19 (445-01, D-21): imports nothing and stays ES2020; it runs on any Node the user has.\n\nexport const NODE_FLOOR_MAJOR = 24\n\nexport const NODE_FLOOR_INSTALL_LINE =\n 'Install Node.js 24 or newer from https://nodejs.org/, then run the command again.'\n\nexport function nodeFloorRefusal(version: string): string | undefined {\n const major = Number(version.replace(/^v/, '').split('.')[0])\n if (major >= NODE_FLOOR_MAJOR) return undefined\n return (\n `agent-qa needs Node.js ${NODE_FLOOR_MAJOR} or newer. This is Node.js ${version}.\\n` +\n `${NODE_FLOOR_INSTALL_LINE}\\n`\n )\n}\n","import './color-posture.js'\nimport { nodeFloorRefusal } from './node-floor.js'\n\n// 2026-10-18 (444-14, D-47): a variable specifier keeps the bundler from inlining the CLI, so no\n// static import evaluates (and reads the environment) before the posture above.\nconst main = './cli-main.js'\n\nconst refusal = nodeFloorRefusal(process.version)\nif (refusal !== undefined) {\n process.stderr.write(refusal)\n process.exit(2)\n} else {\n void import(main).catch((error: unknown) => {\n console.error(`Framework error: ${error instanceof Error ? error.message : String(error)}`)\n // 2026-10-18 (444-27, D-62 WR-01): the stack follows the line, so a load-time or synchronous\n // CLI failure still names where it threw.\n if (error instanceof Error && error.stack) console.error(error.stack)\n process.exit(2)\n })\n}\n"],"mappings":";;;;AAGO,SAAS,kBAAkB,KAAwB,aAA4B;AACpF,MAAI,YAAa;AACjB,MAAI,IAAI,gBAAgB,UAAa,IAAI,aAAa,OAAW;AACjE,MAAI,WAAW;AACjB;AAEA,kBAAkB,QAAQ,KAAK,QAAQ,OAAO,UAAU,IAAI;;;ACPrD,IAAM,mBAAmB;AAEzB,IAAM,0BACX;AAEK,SAAS,iBAAiB,SAAqC;AACpE,QAAM,QAAQ,OAAO,QAAQ,QAAQ,MAAM,EAAE,EAAE,MAAM,GAAG,EAAE,CAAC,CAAC;AAC5D,MAAI,SAAS,iBAAkB,QAAO;AACtC,SACE,0BAA0B,gBAAgB,8BAA8B,OAAO;AAAA,EAC5E,uBAAuB;AAAA;AAE9B;;;ACTA,IAAM,OAAO;AAEb,IAAM,UAAU,iBAAiB,QAAQ,OAAO;AAChD,IAAI,YAAY,QAAW;AACzB,UAAQ,OAAO,MAAM,OAAO;AAC5B,UAAQ,KAAK,CAAC;AAChB,OAAO;AACL,OAAK,OAAO,MAAM,MAAM,CAAC,UAAmB;AAC1C,YAAQ,MAAM,oBAAoB,iBAAiB,QAAQ,MAAM,UAAU,OAAO,KAAK,CAAC,EAAE;AAG1F,QAAI,iBAAiB,SAAS,MAAM,MAAO,SAAQ,MAAM,MAAM,KAAK;AACpE,YAAQ,KAAK,CAAC;AAAA,EAChB,CAAC;AACH;","names":[]}
1
+ {"version":3,"sources":["../src/color-posture.ts","../src/node-floor.ts","../src/cli.ts"],"sourcesContent":["// picocolors enables colour whenever CI is set; this module imports nothing so it runs first.\n\nexport function applyColorPosture(env: NodeJS.ProcessEnv, stdoutIsTTY: boolean): void {\n if (stdoutIsTTY) return\n if (env.FORCE_COLOR !== undefined || env.NO_COLOR !== undefined) return\n env.NO_COLOR = '1'\n}\n\napplyColorPosture(process.env, process.stdout.isTTY === true)\n","// Imports nothing and stays ES2020, so it runs on any Node the user has.\n\nexport const NODE_FLOOR_MAJOR = 24\n\nexport const NODE_FLOOR_INSTALL_LINE =\n 'Install Node.js 24 or newer from https://nodejs.org/, then run the command again.'\n\nexport function nodeFloorRefusal(version: string): string | undefined {\n const major = Number(version.replace(/^v/, '').split('.')[0])\n if (major >= NODE_FLOOR_MAJOR) return undefined\n return (\n `agent-qa needs Node.js ${NODE_FLOOR_MAJOR} or newer. This is Node.js ${version}.\\n` +\n `${NODE_FLOOR_INSTALL_LINE}\\n`\n )\n}\n","import './color-posture.js'\nimport { nodeFloorRefusal } from './node-floor.js'\n\n// A variable specifier keeps the bundler from inlining the CLI, so nothing loads before posture.\nconst main = './cli-main.js'\n\nconst refusal = nodeFloorRefusal(process.version)\nif (refusal !== undefined) {\n process.stderr.write(refusal)\n process.exit(2)\n} else {\n void import(main).catch((error: unknown) => {\n console.error(`Framework error: ${error instanceof Error ? error.message : String(error)}`)\n // The stack follows the line, so a load-time or synchronous failure still names where it threw.\n if (error instanceof Error && error.stack) console.error(error.stack)\n process.exit(2)\n })\n}\n"],"mappings":";;;;AAEO,SAAS,kBAAkB,KAAwB,aAA4B;AACpF,MAAI,YAAa;AACjB,MAAI,IAAI,gBAAgB,UAAa,IAAI,aAAa,OAAW;AACjE,MAAI,WAAW;AACjB;AAEA,kBAAkB,QAAQ,KAAK,QAAQ,OAAO,UAAU,IAAI;;;ACNrD,IAAM,mBAAmB;AAEzB,IAAM,0BACX;AAEK,SAAS,iBAAiB,SAAqC;AACpE,QAAM,QAAQ,OAAO,QAAQ,QAAQ,MAAM,EAAE,EAAE,MAAM,GAAG,EAAE,CAAC,CAAC;AAC5D,MAAI,SAAS,iBAAkB,QAAO;AACtC,SACE,0BAA0B,gBAAgB,8BAA8B,OAAO;AAAA,EAC5E,uBAAuB;AAAA;AAE9B;;;ACVA,IAAM,OAAO;AAEb,IAAM,UAAU,iBAAiB,QAAQ,OAAO;AAChD,IAAI,YAAY,QAAW;AACzB,UAAQ,OAAO,MAAM,OAAO;AAC5B,UAAQ,KAAK,CAAC;AAChB,OAAO;AACL,OAAK,OAAO,MAAM,MAAM,CAAC,UAAmB;AAC1C,YAAQ,MAAM,oBAAoB,iBAAiB,QAAQ,MAAM,UAAU,OAAO,KAAK,CAAC,EAAE;AAE1F,QAAI,iBAAiB,SAAS,MAAM,MAAO,SAAQ,MAAM,MAAM,KAAK;AACpE,YAAQ,KAAK,CAAC;AAAA,EAChB,CAAC;AACH;","names":[]}
package/dist/cli.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/color-posture.ts","../src/node-floor.ts","../src/cli.ts"],"sourcesContent":["// 2026-10-18 (444-14, D-42): picocolors turns colour on whenever CI is set, so a log without a\n// terminal got ANSI codes. This module imports nothing: it must run before anything loads picocolors.\n\nexport function applyColorPosture(env: NodeJS.ProcessEnv, stdoutIsTTY: boolean): void {\n if (stdoutIsTTY) return\n if (env.FORCE_COLOR !== undefined || env.NO_COLOR !== undefined) return\n env.NO_COLOR = '1'\n}\n\napplyColorPosture(process.env, process.stdout.isTTY === true)\n","// 2026-10-19 (445-01, D-21): imports nothing and stays ES2020; it runs on any Node the user has.\n\nexport const NODE_FLOOR_MAJOR = 24\n\nexport const NODE_FLOOR_INSTALL_LINE =\n 'Install Node.js 24 or newer from https://nodejs.org/, then run the command again.'\n\nexport function nodeFloorRefusal(version: string): string | undefined {\n const major = Number(version.replace(/^v/, '').split('.')[0])\n if (major >= NODE_FLOOR_MAJOR) return undefined\n return (\n `agent-qa needs Node.js ${NODE_FLOOR_MAJOR} or newer. This is Node.js ${version}.\\n` +\n `${NODE_FLOOR_INSTALL_LINE}\\n`\n )\n}\n","import './color-posture.js'\nimport { nodeFloorRefusal } from './node-floor.js'\n\n// 2026-10-18 (444-14, D-47): a variable specifier keeps the bundler from inlining the CLI, so no\n// static import evaluates (and reads the environment) before the posture above.\nconst main = './cli-main.js'\n\nconst refusal = nodeFloorRefusal(process.version)\nif (refusal !== undefined) {\n process.stderr.write(refusal)\n process.exit(2)\n} else {\n void import(main).catch((error: unknown) => {\n console.error(`Framework error: ${error instanceof Error ? error.message : String(error)}`)\n // 2026-10-18 (444-27, D-62 WR-01): the stack follows the line, so a load-time or synchronous\n // CLI failure still names where it threw.\n if (error instanceof Error && error.stack) console.error(error.stack)\n process.exit(2)\n })\n}\n"],"mappings":";;;AAGO,SAAS,kBAAkB,KAAwB,aAA4B;AACpF,MAAI,YAAa;AACjB,MAAI,IAAI,gBAAgB,UAAa,IAAI,aAAa,OAAW;AACjE,MAAI,WAAW;AACjB;AAEA,kBAAkB,QAAQ,KAAK,QAAQ,OAAO,UAAU,IAAI;;;ACPrD,IAAM,mBAAmB;AAEzB,IAAM,0BACX;AAEK,SAAS,iBAAiB,SAAqC;AACpE,QAAM,QAAQ,OAAO,QAAQ,QAAQ,MAAM,EAAE,EAAE,MAAM,GAAG,EAAE,CAAC,CAAC;AAC5D,MAAI,SAAS,iBAAkB,QAAO;AACtC,SACE,0BAA0B,gBAAgB,8BAA8B,OAAO;AAAA,EAC5E,uBAAuB;AAAA;AAE9B;;;ACTA,IAAM,OAAO;AAEb,IAAM,UAAU,iBAAiB,QAAQ,OAAO;AAChD,IAAI,YAAY,QAAW;AACzB,UAAQ,OAAO,MAAM,OAAO;AAC5B,UAAQ,KAAK,CAAC;AAChB,OAAO;AACL,OAAK,OAAO,MAAM,MAAM,CAAC,UAAmB;AAC1C,YAAQ,MAAM,oBAAoB,iBAAiB,QAAQ,MAAM,UAAU,OAAO,KAAK,CAAC,EAAE;AAG1F,QAAI,iBAAiB,SAAS,MAAM,MAAO,SAAQ,MAAM,MAAM,KAAK;AACpE,YAAQ,KAAK,CAAC;AAAA,EAChB,CAAC;AACH;","names":[]}
1
+ {"version":3,"sources":["../src/color-posture.ts","../src/node-floor.ts","../src/cli.ts"],"sourcesContent":["// picocolors enables colour whenever CI is set; this module imports nothing so it runs first.\n\nexport function applyColorPosture(env: NodeJS.ProcessEnv, stdoutIsTTY: boolean): void {\n if (stdoutIsTTY) return\n if (env.FORCE_COLOR !== undefined || env.NO_COLOR !== undefined) return\n env.NO_COLOR = '1'\n}\n\napplyColorPosture(process.env, process.stdout.isTTY === true)\n","// Imports nothing and stays ES2020, so it runs on any Node the user has.\n\nexport const NODE_FLOOR_MAJOR = 24\n\nexport const NODE_FLOOR_INSTALL_LINE =\n 'Install Node.js 24 or newer from https://nodejs.org/, then run the command again.'\n\nexport function nodeFloorRefusal(version: string): string | undefined {\n const major = Number(version.replace(/^v/, '').split('.')[0])\n if (major >= NODE_FLOOR_MAJOR) return undefined\n return (\n `agent-qa needs Node.js ${NODE_FLOOR_MAJOR} or newer. This is Node.js ${version}.\\n` +\n `${NODE_FLOOR_INSTALL_LINE}\\n`\n )\n}\n","import './color-posture.js'\nimport { nodeFloorRefusal } from './node-floor.js'\n\n// A variable specifier keeps the bundler from inlining the CLI, so nothing loads before posture.\nconst main = './cli-main.js'\n\nconst refusal = nodeFloorRefusal(process.version)\nif (refusal !== undefined) {\n process.stderr.write(refusal)\n process.exit(2)\n} else {\n void import(main).catch((error: unknown) => {\n console.error(`Framework error: ${error instanceof Error ? error.message : String(error)}`)\n // The stack follows the line, so a load-time or synchronous failure still names where it threw.\n if (error instanceof Error && error.stack) console.error(error.stack)\n process.exit(2)\n })\n}\n"],"mappings":";;;AAEO,SAAS,kBAAkB,KAAwB,aAA4B;AACpF,MAAI,YAAa;AACjB,MAAI,IAAI,gBAAgB,UAAa,IAAI,aAAa,OAAW;AACjE,MAAI,WAAW;AACjB;AAEA,kBAAkB,QAAQ,KAAK,QAAQ,OAAO,UAAU,IAAI;;;ACNrD,IAAM,mBAAmB;AAEzB,IAAM,0BACX;AAEK,SAAS,iBAAiB,SAAqC;AACpE,QAAM,QAAQ,OAAO,QAAQ,QAAQ,MAAM,EAAE,EAAE,MAAM,GAAG,EAAE,CAAC,CAAC;AAC5D,MAAI,SAAS,iBAAkB,QAAO;AACtC,SACE,0BAA0B,gBAAgB,8BAA8B,OAAO;AAAA,EAC5E,uBAAuB;AAAA;AAE9B;;;ACVA,IAAM,OAAO;AAEb,IAAM,UAAU,iBAAiB,QAAQ,OAAO;AAChD,IAAI,YAAY,QAAW;AACzB,UAAQ,OAAO,MAAM,OAAO;AAC5B,UAAQ,KAAK,CAAC;AAChB,OAAO;AACL,OAAK,OAAO,MAAM,MAAM,CAAC,UAAmB;AAC1C,YAAQ,MAAM,oBAAoB,iBAAiB,QAAQ,MAAM,UAAU,OAAO,KAAK,CAAC,EAAE;AAE1F,QAAI,iBAAiB,SAAS,MAAM,MAAO,SAAQ,MAAM,MAAM,KAAK;AACpE,YAAQ,KAAK,CAAC;AAAA,EAChB,CAAC;AACH;","names":[]}