fimo 2.4.0-staging.4 → 2.4.0-staging.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.
@@ -33,6 +33,7 @@ fimo login # connect your account when ready
33
33
  ```bash
34
34
  fimo skills install # interactive: pick agents, install the global bootstrap
35
35
  fimo skills install --agents=claude-code,cursor # explicit list
36
+ fimo skills install --agents=hermes # Hermes default profile, or the active HERMES_HOME
36
37
  fimo skills install -a claude-code -a cursor # repeatable form
37
38
  fimo skills sync # re-ensure the bootstrap + clean up stale old skills
38
39
  fimo skills uninstall # remove the global bootstrap
@@ -80,7 +81,7 @@ Every command that takes agents accepts the same selection inputs:
80
81
  - `-a claude-code -a cursor` — repeatable short form
81
82
  - No flag → interactive multi-select. The picker has two sections:
82
83
  - **Universal** — agents that read `AGENTS.md` natively (Codex, OpenCode, Aider, …). Always covered, not toggleable.
83
- - **Additional** — agents that get the global bootstrap skill installed. The 6 popular ones (`claude-code`, `cursor`, `codex`, `opencode`, `windsurf`, `gemini-cli`) appear at the top of an 8-item scrollable viewport; the full list of 50+ supported agents is below the fold. Agents already set up on the machine are pre-checked.
84
+ - **Additional** — agents that get the global bootstrap skill installed. The popular ones (`claude-code`, `cursor`, `codex`, `opencode`, `windsurf`, `gemini-cli`, `hermes`) appear at the top of the picker; the full list of supported agents remains available below them. Agents already set up on the machine are pre-checked.
84
85
  - `--agents=none` (only `fimo init`) — skip the global skill entirely.
85
86
 
86
87
  In headless contexts (CI, agent-spawned commands), pass the flag explicitly. Env-var detection (only Claude Code's `CLAUDECODE` / `CLAUDE_CODE_ENTRYPOINT`) silently targets `claude-code` if the flag is omitted; every other agent must be named explicitly with `--agents` in a headless shell, or the command exits with "No agents detected and no --agents flag passed."
@@ -271,7 +271,19 @@ fimo agents runs <name> [--limit <n>] [--cursor <cursor>] [--all-pages] [--branc
271
271
  fimo agents report <name> [--session <id>] [--branch <branch>] [--project <id>] [-C <dir>]
272
272
  ```
273
273
 
274
- - **`run <name>`** — fire the agent's `manual` trigger on the server; prints a `sessionId` on success. Skips with `no-manual-trigger` when `config.yaml` declares none, or `trigger-not-wired` when the push-to-main sync recorded the trigger but refused to wire it (see the wiring note below). **Pre-flight drift check**: if `.fimo/agents/<name>/` (or the legacy root bundle) has uncommitted git changes, the command refuses — the server would dispatch the _deployed_ version, so deploy first. Pass `--skip-drift-check` to dispatch the deployed bundle anyway. Defaults `--branch` to `main`.
274
+ - **`run <name>`** — fire the agent's `manual` trigger on the server; prints a `sessionId` on success. A refusal you must act on exits **1** with a stable code (`--json` puts it in `error.code`, and the raw server reason in `error.details.skipped`):
275
+
276
+ | Code | Means | Fix |
277
+ | --------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------- |
278
+ | `AGENT_NOT_DEPLOYED` | no bundle for this agent on `main` | `fimo deploy` |
279
+ | `AGENT_CONFIG_INVALID` | the deployed bundle does not parse, so the sync registered none of its triggers | `fimo agents validate <name>`, fix, `fimo deploy` |
280
+ | `NO_MANUAL_TRIGGER` | the deployed `config.yaml` really declares no `manual` trigger | add `- type: manual`, `fimo deploy` |
281
+ | `MANUAL_TRIGGER_NOT_SYNCED` | `main` declares it, the background sync has not registered it yet | wait a few seconds, retry |
282
+ | `TRIGGER_NOT_WIRED` | registered but not live (see the wiring note below) | `fimo agents list` for the reason |
283
+ | `INSUFFICIENT_CREDITS` | the org is under the credit floor a run needs | `fimo credits` |
284
+
285
+ A refusal that clears on its own (`agent-paused`, `run-in-progress`, `task-branch-budget`) exits **0** and prints `Dispatch was skipped: <reason>`. **Pre-flight drift check**: if `.fimo/agents/<name>/` (or the legacy root bundle) has uncommitted git changes, the command refuses — the server would dispatch the _deployed_ version, so deploy first. Pass `--skip-drift-check` to dispatch the deployed bundle anyway. Defaults `--branch` to `main`.
286
+
275
287
  - **`runs <name>`** — list past run sessions for the agent in a compact table (id, started, duration, status, trigger, Branch, credits — settled credit consumption, `—` until a run settles). Default `--limit 20`; `--branch` filters to one Branch. The response uses the canonical `branch` field.
276
288
  - **`report <name>`** — print a run's structured **report**: its durable outcome summary (for a read-only agent like `seo-audit` this _is_ the audit; for a write agent it's a "what I changed" summary). A run that returns plain text without calling `finish_run` receives a small structured fallback document. With no `--session`, the most recent run for `<name>` is used (combine with `--branch` to scope); `--session <id>` targets a specific run. Output is projected Markdown, so it stays readable in the terminal and pipes cleanly (e.g. `fimo agents report seo-audit | glow`). If the run hasn't finished, or produced no report, it says so (and shows the stop reason when there is one).
277
289
 
@@ -24,7 +24,7 @@ fimo forms delete <id> # delete a form
24
24
 
25
25
  Notification recipients for form submissions are configured in the Fimo web UI, not via CLI.
26
26
 
27
- ## Reading submissions
27
+ ## Reading and deleting submissions
28
28
 
29
29
  After a form is live and users have filled it out, inspect submissions from the terminal:
30
30
 
@@ -32,6 +32,7 @@ After a form is live and users have filled it out, inspect submissions from the
32
32
  fimo forms submissions list <formIdOrName> [--limit 50] [--cursor CURSOR] [--all-pages] [--search "<q>"] [--sort asc|desc]
33
33
  fimo forms submissions get <formIdOrName> <submissionId>
34
34
  fimo forms submissions stats <formIdOrName>
35
+ fimo forms submissions delete <formIdOrName> <submissionId>
35
36
  ```
36
37
 
37
38
  The list response includes `nextCursor` when another page exists. `--offset` remains a compatibility alias for existing scripts.
@@ -39,7 +40,8 @@ The list response includes `nextCursor` when another page exists. `--offset` rem
39
40
  - `<formIdOrName>` accepts either the form's UUID or its `name` (the same name in the JSON file). Names that don't resolve to exactly one form return an error.
40
41
  - `list` returns `{ data: [...], total }`. Newest-first by default; pass `--sort asc` to reverse.
41
42
  - `search` matches against submission contents server-side.
42
- - All three are read-only — there's no CLI command to create or delete a submission. Submissions are created by the form intake endpoint when a user submits the published site's form.
43
+ - `delete` removes one submission permanently and prints the deleted record. There is no undo, no bulk delete, and no confirmation prompt — confirm with the user before running it. An unknown or already-deleted id fails with `Submission not found`.
44
+ - There's no CLI command to create a submission. Submissions are created by the form intake endpoint when a user submits the published site's form.
43
45
 
44
46
  Use this when the user asks "who filled out the contact form?", "how many signups did we get this week?", or "show me the latest submission". For older submissions or bulk export, point them at the dashboard — there's no batch export endpoint yet.
45
47
 
@@ -51,12 +51,21 @@ From there:
51
51
  3. Pick a plan and complete checkout.
52
52
  4. Your new monthly credit pool is available right away.
53
53
 
54
+ ## Extra usage budget
55
+
56
+ Open **Billing & usage**, then **Details** beside public bandwidth. Billing admins on Pay as you go or Pro can edit one **Monthly budget** for extra public bandwidth and autonomous agent runtime. The page shows each meter's cost and **Spent this period**. This budget does not cover AI credit purchases or auto-refill.
57
+
58
+ - Enabling extra usage covers both meters. An existing bandwidth-only budget requires explicit consent before it also covers agent runtime.
59
+ - Agents shows included hours, usage, extra cost, and the reset date, with a link to the shared budget. Pay as you go includes 3 hours, then $0.75/hour; Pro includes 40 hours, then $0.33/hour.
60
+ - At the budget, additional paid usage stops; remaining included allowances stay usable. Running agents stop at a safe point, so stopping is not instantaneous.
61
+ - Disabling extra usage preserves charges already incurred. The budget cannot be lowered below existing extra-usage charges.
62
+
54
63
  ## Changing or leaving a paid plan
55
64
 
56
65
  - Free to Pay as you go or Pro, and Pay as you go to Pro, use checkout and take effect after payment succeeds.
57
- - Cancelling Pay as you go or Pro stops auto-refill and paid bandwidth immediately. The current plan, remaining allowances, credits, and reset date stay unchanged until Free takes over at renewal. Manual credit purchases remain available while the paid plan is active.
58
- - Automatic spending cannot be enabled while cancellation is scheduled. Keep your plan first; then you can immediately enable auto-refill and paid bandwidth independently. Keeping the plan itself leaves both off.
59
- - Usage before cancellation remains payable. Enabling paid bandwidth again does not make usage from the off-period billable.
66
+ - Cancelling Pay as you go or Pro stops auto-refill and paid extra usage immediately. The current plan, remaining allowances, credits, and reset date stay unchanged until Free takes over at renewal. Manual credit purchases remain available while the paid plan is active.
67
+ - Automatic spending cannot be enabled while cancellation is scheduled. Keep your plan first; then you can enable auto-refill and the shared extra-usage budget independently. Keeping the plan itself leaves both off.
68
+ - Usage before cancellation remains payable. Enabling extra usage again does not make usage from the off-period billable.
60
69
  - Pro to Pay as you go or Free takes effect at the end of the current billing period. Billing shows the destination and effective date until then.
61
70
  - Choosing the current plan again before that date cancels the scheduled change.
62
71
  - Pay as you go requires an active payment method. Removing its only valid card returns the organization to Free immediately.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "bundled": true,
3
3
  "bundler": "esbuild",
4
- "bundledAt": "2026-09-05T18:55:36.599Z",
4
+ "bundledAt": "2026-09-06T09:22:37.733Z",
5
5
  "cliVersion": "2.3.2",
6
6
  "external": [
7
7
  "oxc-parser",