@flowapt/flowiq-cli 0.6.1 → 0.6.2

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
@@ -1176,9 +1176,12 @@ flowiq agent config <organization_id> # show current
1176
1176
  flowiq agent config <organization_id> --use-settings-prompt --model gpt-5.4-mini \
1177
1177
  --rename Zara --tool woo_order_build=true --tool view_cart_tool=true --discount true
1178
1178
  flowiq agent config <organization_id> --test-contact-number 27000000001 --test-contact-name "QA Bot"
1179
+ flowiq agent config <organization_id> --model gpt-5.6-luna --reasoning-effort high
1179
1180
  ```
1180
1181
 
1181
- Settable: `settings.use_settings_prompt`, `settings.model`, agent `--rename`,
1182
+ Settable: `settings.use_settings_prompt`, `settings.model`,
1183
+ `settings.reasoning_effort` (`--reasoning-effort low|medium|high`, `""` clears it —
1184
+ pairs with reasoning models like `gpt-5.6-luna`), agent `--rename`,
1182
1185
  the tool-flag columns (`woo_order_build`, `woo_tip_field`, `woo_order_note_field`,
1183
1186
  `view_cart_tool`, `restock_tool`, `block_tool_status`, `postal_code_tool_status`,
1184
1187
  `shopify_products_web_chat`, `ticket_tool_status`, `product_lookup`,
package/TEAM-GUIDE.md CHANGED
@@ -97,6 +97,7 @@ When you see it, run `npm i -g @flowapt/flowiq-cli` — a stale version also mea
97
97
  | 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` |
98
98
  | See an org's agents / create one | `flowiq agent list <org_id>` / `flowiq agent create <org_id> --name "…"` |
99
99
  | Change agent model / tool flags | `flowiq agent config <org_id> --model … --tool view_cart_tool=true` |
100
+ | Set the house model + reasoning tier | `flowiq agent config <org_id> --model gpt-5.6-luna --reasoning-effort high` |
100
101
  | 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 |
101
102
  | Agent can't quote ANY price / "I can't pull the live menu" | `flowiq agent config <org_id> --tool product_lookup=true` — name-based fuzzy lookup that works without embeddings or a live OpenAI key (semantic `get_product_info` needs both) |
102
103
  | Talk to the live agent safely (no real WhatsApp ever sent) | `flowiq test send <org_id> "hi, do you sell X?"` |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowapt/flowiq-cli",
3
- "version": "0.6.1",
3
+ "version": "0.6.2",
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": {
@@ -41,6 +41,7 @@ export async function config(orgId, opts = {}) {
41
41
  const settings = {};
42
42
  if (opts.useSettingsPrompt !== undefined) settings.use_settings_prompt = parseBool(opts.useSettingsPrompt, "--use-settings-prompt");
43
43
  if (opts.model !== undefined) settings.model = opts.model;
44
+ if (opts.reasoningEffort !== undefined) settings.reasoning_effort = opts.reasoningEffort;
44
45
  if (opts.testContactNumber !== undefined) settings.test_contact_number = opts.testContactNumber;
45
46
  if (opts.testContactName !== undefined) settings.test_contact_name = opts.testContactName;
46
47
  if (Object.keys(settings).length) body.settings = settings;
@@ -75,7 +76,7 @@ export async function config(orgId, opts = {}) {
75
76
  }
76
77
  console.log(`${resp.organization_name} → agent ${resp.agent_id}${resp.is_active === false ? " [NON-active]" : ""}`);
77
78
  printSnapshot("current", resp.current);
78
- console.log("\n(pass --use-settings-prompt / --model / --rename / --tool / --discount / --test-contact-number / --test-contact-name to change)");
79
+ console.log("\n(pass --use-settings-prompt / --model / --reasoning-effort / --rename / --tool / --discount / --test-contact-number / --test-contact-name to change)");
79
80
  return;
80
81
  }
81
82
 
package/src/index.js CHANGED
@@ -271,6 +271,7 @@ export function run(argv) {
271
271
  .option("--agent <id>", "target a specific agent instead of the org's active one")
272
272
  .option("--use-settings-prompt [bool]", "settings.use_settings_prompt (true if bare)")
273
273
  .option("--model <model>", "settings.model (e.g. gpt-5.4-mini)")
274
+ .option("--reasoning-effort <level>", "settings.reasoning_effort — low|medium|high (\"\" clears it); pairs with reasoning models (e.g. gpt-5.6-luna + high)")
274
275
  .option("--rename <name>", "rename the agent")
275
276
  .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/collapse_product_variants", agentConfigCmd.collectTool, [])
276
277
  .option("--discount [bool]", "agent.discount.enabled (true if bare)")