@closedloop-ai/cli 0.3.5 → 0.3.6

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
@@ -92,8 +92,9 @@ The npm package is `@closedloop-ai/cli`; users of the earlier `cl` CLI can updat
92
92
  - Integrations set up only in the app get a link to it. Wherever the CLI sends you to the app it says how to sign in there: with your email address, since an account made in the CLI has no password: choose "Email me a code" and the app emails you a sign-in code.
93
93
  - `--reconnect` connects again, for example with a new key.
94
94
  - `closedloop integrations pause <id>` / `resume <id>`: stop syncing without disconnecting, and start again.
95
+ - `closedloop integrations limit <id>`: the most credits a day a source of conversations or feedback (Gong, Intercom, Slack and the like) may use, what it used today, and whether today's limit has paused its analysis. `--set <credits>` sets the limit (a whole number, e.g. `--set 1000000`); once a day reaches it, ClosedLoop AI stops analysing that source until 00:00 UTC, and new data waits. `--remove` removes it and lifts a pause at once. Changing it needs the right to manage integrations; an integration with several connections is limited in the app. As JSON: `daily_credit_limit` (null for none), `spent_today`, `resets_at`, `paused`, `paused_until`.
95
96
  - `closedloop integrations disconnect <id>`: stops syncing after confirmation (`--yes` for agents); what was already imported stays.
96
- - `closedloop backfills`: the workspace's history imports, running ones first: source, window, state (queued, importing, done, failed, cancelled, or stalled when nothing moved for 30 minutes), progress in days or records, and for a running one an estimate of when it finishes, from the pace so far, each with its id. `backfills show <id> [--watch]` gives one in detail, and `--watch` follows it every 30 seconds. Progress covers importing; insights appear as the records are analysed.
97
+ - `closedloop backfills`: the workspace's history imports, running ones first: source, window, state (queued, importing, analysing, done, failed, cancelled, or stalled when nothing moved for 30 minutes), progress in days or records while importing, and for a running import an estimate of when it finishes, from the pace so far, each with its id. A backfill is done only once its records are imported, analysed and turned into insights; until then it is analysing. `backfills show <id> [--watch]` gives one in detail: how many records it imported and how many were new, how many are analysed (`Analysed: 101 of 102`), the insights still to go, and when each stage finished; `--watch` follows it every 30 seconds until it is done. For a source whose records are not counted this way, progress covers importing; insights appear as the records are analysed.
97
98
  - `closedloop usage`: credits used this period, against the limit on the Free plan (when it resets, and when this pace reaches it) or with the cost so far on Pay as you go. The numbers are the Plan & billing page's.
98
99
  - `usage history [--months 12]`: credits per month, newest first.
99
100
  - `usage by-source [--month 2026-10]`: a month's credits per integration or feature, largest first.