fimo 2.11.0-staging.2 → 2.11.0

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.
Files changed (27) hide show
  1. package/assets/skills/fimo-cli/references/content.md +1 -0
  2. package/assets/skills/fimo-cli/references/media.md +9 -1
  3. package/assets/skills/fimo-code/references/best-practices/next.md +1 -1
  4. package/assets/skills/fimo-code/references/content/schema.md +5 -1
  5. package/assets/skills/fimo-code/references/forms.md +2 -3
  6. package/assets/skills/fimo-code/references/frameworks/next/app-router.md +4 -1
  7. package/assets/skills/fimo-code/references/frameworks/next/pages-router.md +2 -0
  8. package/assets/skills/fimo-code/references/frameworks/next/seo.md +2 -2
  9. package/assets/skills/fimo-code/references/frameworks/next.md +3 -1
  10. package/assets/skills/fimo-code/references/frameworks/react-router.md +1 -1
  11. package/assets/skills/fimo-code/references/frameworks/seo-head.md +1 -0
  12. package/assets/skills/fimo-code/references/frameworks/sveltekit.md +3 -1
  13. package/assets/skills/fimo-code/references/frameworks/vite-react.md +1 -1
  14. package/dist/cli/bundle.json +2 -2
  15. package/dist/cli/index.js +6 -6
  16. package/dist/scripts/sync-schemas.js +1 -0
  17. package/dist/scripts/validate-schemas.js +8 -1
  18. package/package.json +9 -9
  19. package/release.json +2 -2
  20. package/templates/astro/package.json +3 -3
  21. package/templates/nextjs/package.json +4 -4
  22. package/templates/nextjs/src/app/globals.css +1 -7
  23. package/templates/react-router/package.json +5 -5
  24. package/templates/react-router/src/index.css +1 -8
  25. package/templates/sveltekit/package.json +3 -3
  26. package/templates/vite/package.json +5 -5
  27. package/templates/vite/src/index.css +1 -7
@@ -25,6 +25,7 @@ const SCHEMA_DEFINITION_SCHEMA = z.object({
25
25
  name: z.string().min(1).optional(),
26
26
  isSingleton: z.boolean().optional(),
27
27
  i18n: z.object({ enabled: z.boolean().optional() }).optional(),
28
+ description: z.string().optional(),
28
29
  groups: z
29
30
  .array(z.object({ id: z.string().min(1), label: z.string().min(1), default: z.boolean().optional() }).strict())
30
31
  .optional(),
@@ -63,7 +63,7 @@ export function validateSchemaFile(absolutePath, file, schemaUids = new Set()) {
63
63
  return [{ rule: 'schemas/shape', message: 'Schema must be a JSON object.', file }];
64
64
  }
65
65
  const errors = [];
66
- const { uid, name, fields, i18n, isSingleton, groups } = schema;
66
+ const { uid, name, fields, i18n, isSingleton, description, groups } = schema;
67
67
  const expectedUid = basename(file, '.json');
68
68
  if (typeof uid !== 'string' || uid.length === 0) {
69
69
  errors.push({
@@ -100,6 +100,13 @@ export function validateSchemaFile(absolutePath, file, schemaUids = new Set()) {
100
100
  file,
101
101
  });
102
102
  }
103
+ if (description !== undefined && typeof description !== 'string') {
104
+ errors.push({
105
+ rule: 'schemas/description',
106
+ message: '"description" must be a string when provided.',
107
+ file,
108
+ });
109
+ }
103
110
  if (i18n !== undefined) {
104
111
  if (typeof i18n !== 'object' || i18n === null || Array.isArray(i18n)) {
105
112
  errors.push({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fimo",
3
- "version": "2.11.0-staging.2",
3
+ "version": "2.11.0",
4
4
  "description": "CLI for Fimo, the website platform for sites built with coding agents: CMS, previews, site agents, and hosting. Create, deploy, and manage Fimo sites.",
5
5
  "keywords": [
6
6
  "ai-agents",
@@ -202,13 +202,13 @@
202
202
  "devDependencies": {
203
203
  "@clack/core": "^1.5.1",
204
204
  "@clack/prompts": "^1.8.1",
205
- "@fimo/agents-bundle": "2.11.0-staging.2",
206
- "@fimo/api-contracts": "2.11.0-staging.2",
207
- "@fimo/cli-kit": "2.11.0-staging.2",
208
- "@fimo/framework-detect": "2.11.0-staging.2",
209
- "@fimo/routes": "2.11.0-staging.2",
210
- "@fimo/sdk": "2.11.0-staging.2",
211
- "@fimo/tsconfig": "2.11.0-staging.2",
205
+ "@fimo/agents-bundle": "2.11.0",
206
+ "@fimo/api-contracts": "2.11.0",
207
+ "@fimo/cli-kit": "2.11.0",
208
+ "@fimo/framework-detect": "2.11.0",
209
+ "@fimo/routes": "2.11.0",
210
+ "@fimo/sdk": "2.11.0",
211
+ "@fimo/tsconfig": "2.11.0",
212
212
  "@types/node": "22.18.6",
213
213
  "agent-install": "^0.0.5",
214
214
  "astro": "^7.4.5",
@@ -220,7 +220,7 @@
220
220
  "tsx": "4.22.4",
221
221
  "typescript": "7.0.2",
222
222
  "vite": "8.3.5",
223
- "vitest": "5.0.5",
223
+ "vitest": "5.1.0",
224
224
  "wrangler": "4.151.3",
225
225
  "yaml": "2.8.2"
226
226
  },
package/release.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "source": "npm",
3
- "apiUrl": "https://api.staging.fimo.team",
4
- "webUrl": "https://staging.fimo.team"
3
+ "apiUrl": "https://api.fimo.ai",
4
+ "webUrl": "https://fimo.ai"
5
5
  }
@@ -9,9 +9,9 @@
9
9
  "check": "astro sync && astro check"
10
10
  },
11
11
  "dependencies": {
12
- "fimo": "2.11.0-staging.2",
13
- "fimo-analytics": "2.11.0-staging.2",
14
- "fimo-astro": "2.11.0-staging.2",
12
+ "fimo": "2.11.0",
13
+ "fimo-analytics": "2.11.0",
14
+ "fimo-astro": "2.11.0",
15
15
  "zod": "^4.4.3"
16
16
  },
17
17
  "devDependencies": {
@@ -12,10 +12,10 @@
12
12
  },
13
13
  "dependencies": {
14
14
  "@tanstack/react-query": "^5.80.6",
15
- "fimo": "2.11.0-staging.2",
16
- "fimo-analytics": "2.11.0-staging.2",
17
- "fimo-next": "2.11.0-staging.2",
18
- "fimo-react": "2.11.0-staging.2",
15
+ "fimo": "2.11.0",
16
+ "fimo-analytics": "2.11.0",
17
+ "fimo-next": "2.11.0",
18
+ "fimo-react": "2.11.0",
19
19
  "next": "16.4.2",
20
20
  "react": "^19.2.7",
21
21
  "react-dom": "^19.2.7",
@@ -3,13 +3,7 @@
3
3
  :root {
4
4
  color-scheme: light;
5
5
  -webkit-text-size-adjust: 100%;
6
- font-family:
7
- Inter,
8
- ui-sans-serif,
9
- system-ui,
10
- -apple-system,
11
- 'Segoe UI',
12
- sans-serif;
6
+ font-family: Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
13
7
  line-height: 1.5;
14
8
  font-synthesis: none;
15
9
  text-rendering: optimizeLegibility;
@@ -21,11 +21,11 @@
21
21
  "cn": "0.2.4",
22
22
  "date-fns": "^4.1.0",
23
23
  "embla-carousel-react": "^8.6.0",
24
- "fimo": "2.11.0-staging.2",
25
- "fimo-analytics": "2.11.0-staging.2",
26
- "fimo-react": "2.11.0-staging.2",
27
- "fimo-react-router": "2.11.0-staging.2",
28
- "fimo-vite": "2.11.0-staging.2",
24
+ "fimo": "2.11.0",
25
+ "fimo-analytics": "2.11.0",
26
+ "fimo-react": "2.11.0",
27
+ "fimo-react-router": "2.11.0",
28
+ "fimo-vite": "2.11.0",
29
29
  "input-otp": "^1.4.2",
30
30
  "isbot": "^5",
31
31
  "lucide-react": "^0.577.0",
@@ -6,14 +6,7 @@
6
6
  @custom-variant dark (&:is(.dark *));
7
7
 
8
8
  :root {
9
- font-family:
10
- 'Inter',
11
- ui-sans-serif,
12
- system-ui,
13
- -apple-system,
14
- BlinkMacSystemFont,
15
- 'Segoe UI',
16
- sans-serif;
9
+ font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
17
10
  line-height: 1.5;
18
11
  font-weight: 400;
19
12
  color-scheme: light;
@@ -11,9 +11,9 @@
11
11
  "prepare": "svelte-kit sync"
12
12
  },
13
13
  "dependencies": {
14
- "fimo": "2.11.0-staging.2",
15
- "fimo-analytics": "2.11.0-staging.2",
16
- "fimo-sveltekit": "2.11.0-staging.2",
14
+ "fimo": "2.11.0",
15
+ "fimo-analytics": "2.11.0",
16
+ "fimo-sveltekit": "2.11.0",
17
17
  "zod": "^4.4.3"
18
18
  },
19
19
  "devDependencies": {
@@ -11,11 +11,11 @@
11
11
  },
12
12
  "dependencies": {
13
13
  "@tanstack/react-query": "^5.80.6",
14
- "fimo": "2.11.0-staging.2",
15
- "fimo-analytics": "2.11.0-staging.2",
16
- "fimo-react": "2.11.0-staging.2",
17
- "fimo-react-router": "2.11.0-staging.2",
18
- "fimo-vite": "2.11.0-staging.2",
14
+ "fimo": "2.11.0",
15
+ "fimo-analytics": "2.11.0",
16
+ "fimo-react": "2.11.0",
17
+ "fimo-react-router": "2.11.0",
18
+ "fimo-vite": "2.11.0",
19
19
  "react": "^19.2.7",
20
20
  "react-dom": "^19.2.7",
21
21
  "react-router": "^8.3.0",
@@ -3,13 +3,7 @@
3
3
  :root {
4
4
  color-scheme: light;
5
5
  -webkit-text-size-adjust: 100%;
6
- font-family:
7
- Inter,
8
- ui-sans-serif,
9
- system-ui,
10
- -apple-system,
11
- 'Segoe UI',
12
- sans-serif;
6
+ font-family: Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
13
7
  line-height: 1.5;
14
8
  font-synthesis: none;
15
9
  text-rendering: optimizeLegibility;