fimo 2.0.1 → 2.1.0-staging.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/assets/skills/fimo-cli/references/agents.md +36 -1
- package/dist/cli/bundle.json +1 -1
- package/dist/cli/index.js +35 -13
- package/package.json +7 -7
- package/release.json +2 -2
- package/templates/astro/package.json +2 -2
- package/templates/nextjs/package.json +3 -3
- package/templates/react-router/package.json +4 -4
- package/templates/sveltekit/package.json +2 -2
- package/templates/vite/package.json +4 -4
|
@@ -147,6 +147,41 @@ When three or more earlier runs still await a question answer, review, conflict
|
|
|
147
147
|
normally starts no new independent work. Unless the current trigger explicitly asks it to proceed anyway, it makes no
|
|
148
148
|
changes and finishes with `discard` and a brief report of what is waiting.
|
|
149
149
|
|
|
150
|
+
## Define reporting preferences when they matter
|
|
151
|
+
|
|
152
|
+
Fimo's default report needs no setup: a short, scannable brief appears in email and the Inbox, while the full report in
|
|
153
|
+
Fimo carries the organized evidence and depth. Do not add a reporting section merely to restate that default.
|
|
154
|
+
|
|
155
|
+
When the user names an audience, depth, recurring comparison, required section, or useful visual, preserve the request
|
|
156
|
+
in a short **Reporting** section of `GOAL.md`. Describe the communication outcome in ordinary language. Do not prescribe
|
|
157
|
+
report block arrays or promise that the full report will appear in email.
|
|
158
|
+
|
|
159
|
+
Examples for different jobs:
|
|
160
|
+
|
|
161
|
+
```md
|
|
162
|
+
## Reporting
|
|
163
|
+
|
|
164
|
+
Write the brief for a marketing lead. Lead with the outcome and at most three decisions or risks. Keep implementation
|
|
165
|
+
evidence in the full report.
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
```md
|
|
169
|
+
## Reporting
|
|
170
|
+
|
|
171
|
+
Compare this week with the previous four weeks. Use a graph only when the change over time is part of the conclusion,
|
|
172
|
+
and include the complete channel breakdown in the full report.
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
```md
|
|
176
|
+
## Reporting
|
|
177
|
+
|
|
178
|
+
Show enough of each created article to judge its voice, then link to the draft. Preserve the complete copy and editorial
|
|
179
|
+
decisions in the full report.
|
|
180
|
+
```
|
|
181
|
+
|
|
182
|
+
These are preferences, not templates. Keep the default brief short and scannable unless the user asks for a different
|
|
183
|
+
audience or emphasis. Even then, the brief remains the external handoff and the full report holds the supporting depth.
|
|
184
|
+
|
|
150
185
|
## Capabilities
|
|
151
186
|
|
|
152
187
|
Capabilities describe the opt-in Fimo and network actions an agent may take. Managed agents always receive project
|
|
@@ -213,7 +248,7 @@ fimo agents logs <name> [--session <id>] [--project <id>] [-C <dir>]
|
|
|
213
248
|
|
|
214
249
|
- **`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`; legacy `--env` remains an alias.
|
|
215
250
|
- **`runs <name>`** — list past run sessions for the agent in a compact table (id, started, duration, status, trigger, Branch, cost). Default `--limit 20`; `--branch` filters to one Branch. The response's legacy `env` field is still present for API compatibility.
|
|
216
|
-
- **`report <name>`** — print a run's **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
|
|
251
|
+
- **`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). This is the command to read what a run actually produced — see the `logs` note below.
|
|
217
252
|
- **`logs <name>`** — stream a run's log (defaults to the latest session; `--session <id>` targets one). **Note:** the log-streaming endpoint is still a server-side stub at time of writing — the command prints a placeholder rather than real log lines. To read a finished run's output today, use `report`.
|
|
218
253
|
|
|
219
254
|
## How triggers get wired
|