@ia-qa/cli 1.0.9 → 1.0.11

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 (3) hide show
  1. package/README.md +24 -0
  2. package/index.js +8 -0
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -9,6 +9,30 @@ your own key (BYOK)** — pass it as a parameter; nothing is stored.
9
9
  The CLI carries no business logic: it discovers tools from the public MCP manifest and runs them on
10
10
  the hosted server (`https://www.ia-qa.com`). Requires **Node ≥ 18**.
11
11
 
12
+ ## Easiest start — have your agent set it up
13
+
14
+ Working with Claude Code, Cursor, Copilot CLI? Paste this to it instead of reading the flag list:
15
+
16
+ ```text
17
+ Set up @ia-qa/cli in this project so you can run QA tools from the shell.
18
+ 1. Run `npx -y @ia-qa/cli list` and `npx -y @ia-qa/cli --help`, then
19
+ `npx -y @ia-qa/cli <tool> --help` for anything you pick. That output is the
20
+ authoritative tool list — do not guess tool names or flags from memory.
21
+ 2. Look at what I'm working on and tell me which 3 of those tools actually fit,
22
+ what verdict each one returns, and how I'd gate CI on it.
23
+ 3. Tell me plainly which of them need my own API key (BYOK), and which ones send
24
+ my input to the hosted server.
25
+ 4. Run one of them on my real data — after I confirm which.
26
+ ```
27
+
28
+ Step 1 is the load-bearing one: the catalogue changes with every server deploy, so a model answering
29
+ from memory will confidently invoke tools that don't exist. `list` is generated from the live
30
+ manifest. Step 3 is not politeness — this CLI is a thin client, **your input is sent to
31
+ `https://www.ia-qa.com` to be executed there**; only `@ia-qa/self-healing` runs fully offline.
32
+
33
+ Agents that speak MCP can skip the CLI entirely and point at `https://www.ia-qa.com/mcp` — same
34
+ tools, same manifest.
35
+
12
36
  ## Install
13
37
 
14
38
  ```bash
package/index.js CHANGED
@@ -412,6 +412,7 @@ function compactHelp(m) {
412
412
  '',
413
413
  ' ia-qa <tool> --help flags for one tool',
414
414
  ' ia-qa list every tool, one line each',
415
+ ' ia-qa --version print the installed CLI version',
415
416
  '',
416
417
  'Examples:',
417
418
  ' ia-qa generate_uuid --count 3',
@@ -490,6 +491,13 @@ function cleanStdin(raw) {
490
491
 
491
492
  async function main(argv) {
492
493
  const args = argv.slice(2);
494
+
495
+ // Version is local — answer it before any manifest fetch so it works offline.
496
+ if (args[0] === '--version' || args[0] === '-v' || args[0] === 'version') {
497
+ process.stdout.write(VERSION + '\n');
498
+ return;
499
+ }
500
+
493
501
  const server = (() => {
494
502
  const i = args.indexOf('--server');
495
503
  return i !== -1 && args[i + 1] ? args[i + 1].replace(/\/+$/, '') : DEFAULT_SERVER;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ia-qa/cli",
3
- "version": "1.0.9",
3
+ "version": "1.0.11",
4
4
  "description": "Run ia-qa.com's QA/LLM/dev toolbox from your shell — for AI agents (Claude Code, Copilot CLI) and humans. Zero dependencies, no signup; most tools key-free, BYOK for the LLM-powered ones.",
5
5
  "keywords": [
6
6
  "ia-qa",