fimo 2.10.4-staging.1 → 2.10.4-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.
@@ -114,7 +114,7 @@ header on a static asset.
114
114
  serves `/about` and `/about/` as separate URLs, which search engines index as
115
115
  duplicates.
116
116
  - **An empty `hosting: {}` means no platform routing**, which is different from
117
- omitting `hosting` entirely — that leaves legacy SPA behaviour untouched.
117
+ omitting `hosting` entirely — that leaves legacy SPA behavior untouched.
118
118
  - **Not supported:** cron jobs (use `fimo schedules`), image optimization (use
119
119
  Fimo media), per-function runtime settings, deployment regions.
120
120
 
@@ -32,16 +32,23 @@ permission to learn and persist. A request to change site copy is not a request
32
32
  Read the current knowledge, edit the complete Markdown while preserving unrelated guidance, and save:
33
33
 
34
34
  ```bash
35
- fimo knowledge set --file knowledge.md --json
36
- cat knowledge.md | fimo knowledge set --stdin --json
35
+ fimo knowledge set --file knowledge.md --expected-updated-at '<updatedAt from get>' --json
36
+ cat knowledge.md | fimo knowledge set --stdin --expected-updated-at '<updatedAt from get>' --json
37
37
  ```
38
38
 
39
39
  `--file -` also reads stdin. Content is limited to 10,000 characters. An empty file explicitly clears
40
40
  knowledge. Each save replaces the current Markdown.
41
41
 
42
+ Use `none` for a read whose `updatedAt` is null. On `KNOWLEDGE_CONFLICT`, read again and merge
43
+ your changes while preserving the newer sections; save with the revision from that read.
44
+ Never fetch a newer timestamp just to submit the old content or retry without the condition.
45
+ Fimo's structured `fimo` tool tracks the revision itself: use `knowledge get` successfully
46
+ before `knowledge set` in the same run and omit the flag from tool arguments.
47
+
42
48
  CLI `--branch` does not isolate knowledge. Saved updates apply on the next agent context refresh.
43
49
  For MCP, use `knowledge_get` or `knowledge_update`
44
- with `projectId`; update accepts `content`.
50
+ with `projectId`; update accepts `content` and optional `expectedUpdatedAt`, the timestamp read
51
+ or null for an absent document. Standalone CLI and MCP calls that omit it still replace unconditionally.
45
52
 
46
53
  Settings also offers **Draft from website**. It runs analysis in the background and returns an editable
47
54
  draft for review. Only an explicit **Save** updates shared knowledge; drafting does not grant permission
@@ -44,7 +44,7 @@ It also measures accessibility in each page, and opens one or two pages of each
44
44
  - **Mobile optimization:** a missing viewport or one that blocks zoom, sideways scrolling, images, tables and forms wider than the screen, tap targets under 24 × 24 px, text mostly under 12 px.
45
45
  - **Page speed** (3rd of each month): Lighthouse on a phone for the home page and one page of each template.
46
46
 
47
- Alone, it names a control or labels a field from words the page shows, fixes heading levels, tabindex and a removed focus outline, lets visitors zoom again, keeps media inside the screen by its own width, gives small tap targets 24 × 24 px, and moves a failing colour to a passing shade the site's palette already has. Any other colour, size or layout change is asked as a decision. Image alt text stays with SEO.
47
+ Alone, it names a control or labels a field from words the page shows, fixes heading levels, tabindex and a removed focus outline, lets visitors zoom again, keeps media inside the screen by its own width, gives small tap targets 24 × 24 px, and moves a failing color to a passing shade the site's palette already has. Any other color, size or layout change is asked as a decision. Image alt text stays with SEO.
48
48
 
49
49
  ## Compliance (3 routines)
50
50
 
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "bundled": true,
3
3
  "bundler": "esbuild",
4
- "bundledAt": "2026-11-02T11:03:38.848Z",
4
+ "bundledAt": "2026-11-03T09:51:28.520Z",
5
5
  "cliVersion": "2.10.3",
6
6
  "external": [
7
7
  "oxc-parser",