@flowapt/flowiq-cli 0.9.8 → 0.9.9

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 CHANGED
@@ -1962,7 +1962,7 @@ flowiq gaps list --mine
1962
1962
  flowiq gaps show 12 # detail, verbatim error, every hit / note / status change
1963
1963
  flowiq gaps hit 12 --note "same on Barkyn IT while copying the escalation config"
1964
1964
  flowiq gaps note 12 "also needs --agent"
1965
- flowiq gaps status 12 --to done --version 0.9.8 --note "agent config --tool-instruction name=@file.txt" # maintainers
1965
+ flowiq gaps status 12 --to done --fixed-in 0.9.8 --note "agent config --tool-instruction name=@file.txt" # maintainers
1966
1966
  flowiq gaps status 14 --to duplicate --of 12 # hits move to #12
1967
1967
  ```
1968
1968
 
package/TEAM-GUIDE.md CHANGED
@@ -135,7 +135,7 @@ When you see it, run `npm i -g @flowapt/flowiq-cli` — a stale version also mea
135
135
  | Set which contact `flowiq test` uses (use a FAKE number!) | `flowiq agent config <org_id> --test-contact-number 27000000001 --test-contact-name "QA Bot"` |
136
136
  | **The CLI can't do something I need** (or does it wrong, or should do more) | `flowiq gaps report "<command> cannot <thing>" --command "<command>" --error "<exact error>" --workaround "<what you did instead>"`. If it is already on the list you are told its number: `flowiq gaps hit <number> --note "…"` |
137
137
  | See what the team has asked the CLI to do | `flowiq gaps list` (open, most-hit first) · `flowiq gaps list --mine` · `flowiq gaps show <number>` · in the app: Changelog → **CLI requests** |
138
- | Close a request (Matt / Gidon) | `flowiq gaps status <number> --to done --version 0.9.8 --note "what shipped"` — emails everyone who reported or hit it |
138
+ | Close a request (Matt / Gidon) | `flowiq gaps status <number> --to done --fixed-in 0.9.8 --note "what shipped"` — emails everyone who reported or hit it |
139
139
  > **Publishing the CLI (maintainers only):** publish from a clean clone, never
140
140
  > from your working tree — `npm publish` packs whatever is on disk. A
141
141
  > `prepublishOnly` check now stops you if `cli/` differs from `origin/main`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowapt/flowiq-cli",
3
- "version": "0.9.8",
3
+ "version": "0.9.9",
4
4
  "description": "Command-line tool for FlowIQ staff: round-trip agent prompts, questionnaires, fine-tuning, pin-board tasks, webhooks, templates, agent-updates, chat exports, and live agent testing without ever touching service-role credentials.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -244,7 +244,7 @@ export async function show(ref, opts = {}) {
244
244
  }
245
245
  }
246
246
  console.log(`\nSame problem? flowiq gaps hit ${r.number} --note "what you were doing"`);
247
- console.log(`Maintainers (${(resp.editors || []).join(", ")}): flowiq gaps status ${r.number} --to done --version <x.y.z> --note "…"`);
247
+ console.log(`Maintainers (${(resp.editors || []).join(", ")}): flowiq gaps status ${r.number} --to done --fixed-in <x.y.z> --note "…"`);
248
248
  }
249
249
 
250
250
  // ── hit ─────────────────────────────────────────────────────────────────────
@@ -324,7 +324,7 @@ export async function status(ref, opts = {}) {
324
324
  ref: r0,
325
325
  status: to,
326
326
  note: opts.note ?? null,
327
- version: opts.version ?? null,
327
+ version: opts.fixedIn ?? null,
328
328
  duplicate_of: dupRef,
329
329
  notify: opts.notify !== false,
330
330
  });
package/src/index.js CHANGED
@@ -664,7 +664,9 @@ export function run(argv) {
664
664
  .description("Maintainers: planned | in_progress | done | declined | duplicate. Closing emails everyone who reported or hit it")
665
665
  .requiredOption("--to <status>", "open | planned | in_progress | done | declined | duplicate")
666
666
  .option("--note <text>", "what shipped / why not (required for done + declined; the people who asked read it)")
667
- .option("--version <x.y.z>", "the CLI version the fix shipped in (done)")
667
+ // Not --version: the root program owns that flag, so it printed the CLI version
668
+ // and exited before anything was sent (found closing 27 requests, 1 Oct 2026).
669
+ .option("--fixed-in <x.y.z>", "the CLI version the fix shipped in (done)")
668
670
  .option("--of <number>", "with --to duplicate: the request this one duplicates (hits move across)")
669
671
  .option("--no-notify", "close without emailing the people who asked")
670
672
  .option("--json", "print the raw response")