@flowapt/flowiq-cli 0.9.4 → 0.9.5

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
@@ -1607,7 +1607,7 @@ flowiq agent create <new_org_id> --name "Zara" --make-active
1607
1607
  flowiq prompts pull <new_org_id> # edit → push
1608
1608
  ```
1609
1609
  (No `agent config` step any more — since 29 Aug 2026 a new agent is born on the
1610
- house default: `gpt-5.6-luna`, `reasoning_effort high`, `use_settings_prompt` ON.)
1610
+ house default: `gpt-6-luna` (since 23 Sep 2026; was `gpt-5.6-luna`), `reasoning_effort high`, `use_settings_prompt` ON.)
1611
1611
 
1612
1612
  #### Feature flags — `flowiq org flags show|list|set|unset|keys` (v0.7.0)
1613
1613
 
@@ -1666,7 +1666,7 @@ flowiq agent create <organization_id> --name "Zara" \
1666
1666
  seeds its prompt into a single "Main" section, and — with `--make-active` — sets
1667
1667
  it as the org's `active_whatsapp_agent`.
1668
1668
 
1669
- **Since 29 Aug 2026 a new agent is born configured** — `gpt-5.6-luna`,
1669
+ **Since 29 Aug 2026 a new agent is born configured** — `gpt-6-luna` (since 23 Sep 2026; was `gpt-5.6-luna`),
1670
1670
  `reasoning_effort high`, `use_settings_prompt` ON — the same house default the
1671
1671
  web UI's create button writes. You no longer have to follow `create` with an
1672
1672
  `agent config --model … --use-settings-prompt`; that step used to be the "silent
@@ -1684,7 +1684,7 @@ on the org's **active** agent. To target a **different** agent, pass `--agent <i
1684
1684
  ```bash
1685
1685
  flowiq prompts pull <org> --agent <agent_id> # pull a NON-active agent's prompt
1686
1686
  flowiq prompts push <slug> # pushes back to that same agent (id is in the file)
1687
- flowiq agent config <org> --agent <agent_id> --model gpt-5.6-luna
1687
+ flowiq agent config <org> --agent <agent_id> --model gpt-6-luna
1688
1688
  ```
1689
1689
 
1690
1690
  `pull` records the agent id in the JSON, so `push` always writes back to the exact
@@ -1702,10 +1702,10 @@ Set an allowlisted set of the active agent's config fields (the prompt-builder
1702
1702
 
1703
1703
  ```bash
1704
1704
  flowiq agent config <organization_id> # show current
1705
- flowiq agent config <organization_id> --use-settings-prompt --model gpt-5.6-luna \
1705
+ flowiq agent config <organization_id> --use-settings-prompt --model gpt-6-luna \
1706
1706
  --rename Zara --tool woo_order_build=true --tool view_cart_tool=true --discount true
1707
1707
  flowiq agent config <organization_id> --test-contact-number 27000000001 --test-contact-name "QA Bot"
1708
- flowiq agent config <organization_id> --model gpt-5.6-luna --reasoning-effort high
1708
+ flowiq agent config <organization_id> --model gpt-6-luna --reasoning-effort high # the house pairing (23 Sep 2026)
1709
1709
  flowiq agent config <organization_id> --model claude-sonnet-5 --reasoning-effort medium # Claude (needs the org's Claude key; warns if missing)
1710
1710
  flowiq agent config <organization_id> --disable-base-tool get_product_info
1711
1711
  flowiq agent config <organization_id> --enable-base-tool get_product_info
package/TEAM-GUIDE.md CHANGED
@@ -107,9 +107,9 @@ When you see it, run `npm i -g @flowapt/flowiq-cli` — a stale version also mea
107
107
  | Ask a client's WooCommerce store anything (read-only) | `flowiq woo get <org_id> orders --q status=completed --all` |
108
108
  | Pull every matching record, not just the first page | add `--all` (bounded — it prints `⚠ TRUNCATED` if it stops early, so a partial answer never looks complete) |
109
109
  | Feed store data into jq / a file | stdout is the payload only, banner goes to stderr: `flowiq shopify get <org> orders.json \| jq -r '.orders[].name'` · or `--out ./orders.json` |
110
- | See an org's agents / create one | `flowiq agent list <org_id>` / `flowiq agent create <org_id> --name "…"` — a new agent arrives ready to work (gpt-5.6-luna, high reasoning, prompt switched ON); no follow-up `agent config` needed |
110
+ | See an org's agents / create one | `flowiq agent list <org_id>` / `flowiq agent create <org_id> --name "…"` — a new agent arrives ready to work (gpt-6-luna, high reasoning, prompt switched ON); no follow-up `agent config` needed |
111
111
  | Change agent model / tool flags | `flowiq agent config <org_id> --model … --tool view_cart_tool=true` |
112
- | Set the house model + reasoning tier | `flowiq agent config <org_id> --model gpt-5.6-luna --reasoning-effort high` |
112
+ | Set the house model + reasoning tier | `flowiq agent config <org_id> --model gpt-6-luna --reasoning-effort high` |
113
113
  | Run the agent on Claude (org needs a Claude key in Settings → Integrations) | `flowiq agent config <org_id> --model claude-sonnet-5 --reasoning-effort medium` |
114
114
  | Remove a conflicting built-in tool from one agent | `flowiq agent config <org_id> --disable-base-tool get_product_info` (repeatable; safety/delivery tools cannot be disabled) |
115
115
  | Agent says an in-stock product "isn't showing" | `flowiq agent config <org_id> --tool collapse_product_variants=true` — the search cap counts VARIANT rows until this is on |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowapt/flowiq-cli",
3
- "version": "0.9.4",
3
+ "version": "0.9.5",
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": {
@@ -71,6 +71,9 @@ export async function create(orgId, opts = {}) {
71
71
  console.log(` active: ${resp.is_active ? "yes (set as the org's active agent)" : "no"}`);
72
72
  console.log(` seeded prompt: ${resp.seeded_prompt ? "yes (single \"Main\" section)" : "no (default settings)"}`);
73
73
  if (resp.warning) console.log(` ⚠ ${resp.warning}`);
74
- console.log("\nNext: `agent config " + orgId + " --agent " + resp.agent_id + " --use-settings-prompt --model gpt-5.4-mini`");
75
- console.log(" then `prompts pull " + orgId + " --agent " + resp.agent_id + "` to author the full prompt.");
74
+ // The agent is born on the house default (the server's DEFAULT_SETTINGS), so no
75
+ // `agent config` step is needed; the old hint told people to set gpt-5.4-mini,
76
+ // which DOWNGRADED a new agent (fixed 23 Sep 2026).
77
+ console.log("\nNext: `prompts pull " + orgId + " --agent " + resp.agent_id + "` to author the full prompt.");
78
+ console.log(" (No `agent config` needed: it is born on the house model, high reasoning, prompt switched on.)");
76
79
  }
@@ -95,6 +95,5 @@ export async function create(opts = {}) {
95
95
  console.log("");
96
96
  console.log("Next steps:");
97
97
  console.log(` flowiq agent create ${resp.id} --name "<AgentName>" --make-active`);
98
- console.log(` flowiq agent config ${resp.id} --model gpt-5.4-mini --use-settings-prompt`);
99
98
  console.log(` flowiq prompts pull ${resp.id} # then edit + push`);
100
99
  }
package/src/index.js CHANGED
@@ -492,8 +492,8 @@ export function run(argv) {
492
492
  .description("Set allowlisted agent config (no write flags = show current; defaults to the active agent)")
493
493
  .option("--agent <id>", "target a specific agent instead of the org's active one")
494
494
  .option("--use-settings-prompt [bool]", "settings.use_settings_prompt (true if bare)")
495
- .option("--model <model>", "settings.model (e.g. gpt-5.4-mini)")
496
- .option("--reasoning-effort <level>", "settings.reasoning_effort — low|medium|high|xhigh|max (\"\" clears it; max = GPT-6 and Claude only); pairs with reasoning models (e.g. gpt-5.6-luna + high, gpt-6-luna + high, claude-sonnet-5 + medium)")
495
+ .option("--model <model>", "settings.model (e.g. gpt-6-luna, the house default)")
496
+ .option("--reasoning-effort <level>", "settings.reasoning_effort — low|medium|high|xhigh|max (\"\" clears it; max = GPT-6 and Claude only); pairs with reasoning models (e.g. gpt-6-luna + high, gpt-6-luna + high, claude-sonnet-5 + medium)")
497
497
  .option("--rename <name>", "rename the agent")
498
498
  .option("--tool <flag=bool>", "toggle a tool flag (repeatable): woo_order_build/woo_tip_field/woo_order_note_field/view_cart_tool/restock_tool/block_tool_status/postal_code_tool_status/shopify_products_web_chat/ticket_tool_status/product_lookup/email_request_tool/collapse_product_variants", agentConfigCmd.collectTool, [])
499
499
  .option("--discount [bool]", "agent.discount.enabled (true if bare)")