@flowapt/flowiq-cli 0.4.6 → 0.4.7

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
@@ -84,6 +84,11 @@ Notes:
84
84
  push using the `## SECTION: <title>` format.
85
85
  - Sections support optional `hidden: boolean` + `channels: string[]`
86
86
  (`web` / `whatsapp` / `messenger` / `instagram`) — validated on push.
87
+ - **Time-boxed sections:** optional `active_from` / `active_until`
88
+ (`"YYYY-MM-DD"` or `"YYYY-MM-DDTHH:mm"`) + `active_tz` (IANA, default
89
+ `Africa/Johannesburg`). Outside the window the section is skipped at
90
+ prompt assembly server-side — an expired promo needs NO cleanup push.
91
+ Validated on push (format, from ≤ until, real timezone).
87
92
  - For legacy agents without a sections array, pull auto-bootstraps a
88
93
  single "Main" section from `settings.system_prompt` and returns
89
94
  `bootstrapped: true`. The CLI prints a heads-up before push.
package/TEAM-GUIDE.md CHANGED
@@ -143,6 +143,12 @@ flowiq prompts push phytoceutics
143
143
  flowiq test send 08becb51-… "question that exercises your change"
144
144
  ```
145
145
 
146
+ **Scheduling a promo section:** add `"active_from": "2026-08-07"`,
147
+ `"active_until": "2026-08-10"` (and optionally `"active_tz": "Europe/Lisbon"`,
148
+ default is SAST) to a section in the JSON and push. The AI only sees the
149
+ section inside that window — when the promo ends it disappears by itself,
150
+ no cleanup push needed. Date-only values mean start-of-day / end-of-day.
151
+
146
152
  ### Example: safely change custom tools
147
153
 
148
154
  ```bash
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowapt/flowiq-cli",
3
- "version": "0.4.6",
3
+ "version": "0.4.7",
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": {