@agent-native/core 0.182.0 → 0.182.1-nightly-20260916195744

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 (60) hide show
  1. package/corpus/README.md +1 -1
  2. package/corpus/templates/analytics/.agents/skills/shadcn-ui/SKILL.md +65 -6
  3. package/corpus/templates/analytics/.mcp.json +8 -0
  4. package/corpus/templates/assets/.agents/skills/shadcn-ui/SKILL.md +65 -6
  5. package/corpus/templates/assets/.mcp.json +8 -0
  6. package/corpus/templates/brain/.agents/skills/shadcn-ui/SKILL.md +65 -6
  7. package/corpus/templates/brain/.mcp.json +8 -0
  8. package/corpus/templates/calendar/.agents/skills/shadcn-ui/SKILL.md +65 -6
  9. package/corpus/templates/calendar/.mcp.json +8 -0
  10. package/corpus/templates/chat/.agents/skills/shadcn-ui/SKILL.md +65 -6
  11. package/corpus/templates/chat/.mcp.json +8 -0
  12. package/corpus/templates/clips/.agents/skills/shadcn-ui/SKILL.md +65 -6
  13. package/corpus/templates/clips/.mcp.json +8 -0
  14. package/corpus/templates/clips/desktop/.mcp.json +8 -0
  15. package/corpus/templates/content/.agents/skills/shadcn-ui/SKILL.md +65 -6
  16. package/corpus/templates/content/.mcp.json +8 -0
  17. package/corpus/templates/crm/.agents/skills/shadcn-ui/SKILL.md +65 -6
  18. package/corpus/templates/crm/.mcp.json +8 -0
  19. package/corpus/templates/design/.agents/skills/shadcn-ui/SKILL.md +65 -6
  20. package/corpus/templates/design/.mcp.json +8 -0
  21. package/corpus/templates/dispatch/.agents/skills/shadcn-ui/SKILL.md +65 -6
  22. package/corpus/templates/dispatch/.mcp.json +8 -0
  23. package/corpus/templates/factory/.agents/skills/shadcn-ui/SKILL.md +65 -6
  24. package/corpus/templates/factory/.mcp.json +8 -0
  25. package/corpus/templates/forms/.agents/skills/shadcn-ui/SKILL.md +65 -6
  26. package/corpus/templates/forms/.mcp.json +8 -0
  27. package/corpus/templates/mail/.agents/skills/shadcn-ui/SKILL.md +65 -6
  28. package/corpus/templates/mail/.mcp.json +8 -0
  29. package/corpus/templates/plan/.agents/skills/shadcn-ui/SKILL.md +65 -6
  30. package/corpus/templates/plan/.mcp.json +8 -0
  31. package/corpus/templates/slides/.agents/skills/shadcn-ui/SKILL.md +65 -6
  32. package/corpus/templates/slides/.mcp.json +8 -0
  33. package/corpus/templates/tasks/.agents/skills/shadcn-ui/SKILL.md +65 -6
  34. package/corpus/templates/tasks/.mcp.json +8 -0
  35. package/dist/collab/routes.d.ts +1 -1
  36. package/dist/collab/struct-routes.d.ts +1 -1
  37. package/dist/mcp/screen-memory-stdio.d.ts +7 -7
  38. package/dist/notifications/routes.d.ts +4 -4
  39. package/dist/observability/routes.d.ts +8 -8
  40. package/dist/org/handlers.d.ts +1 -1
  41. package/dist/progress/routes.d.ts +1 -1
  42. package/dist/provider-api/actions/provider-api.d.ts +4 -4
  43. package/dist/resources/handlers.d.ts +1 -1
  44. package/dist/server/agent-engine-api-key-route.d.ts +1 -1
  45. package/dist/server/core-routes-plugin.d.ts +1 -1
  46. package/dist/templates/chat/.agents/skills/shadcn-ui/SKILL.md +65 -6
  47. package/dist/templates/chat/.mcp.json +8 -0
  48. package/dist/templates/default/.agents/skills/shadcn-ui/SKILL.md +65 -6
  49. package/dist/templates/default/.mcp.json +8 -0
  50. package/dist/templates/workspace-core/.agents/skills/shadcn-ui/SKILL.md +65 -6
  51. package/dist/templates/workspace-root/package.json +1 -1
  52. package/dist/templates/workspace-root/pnpm-workspace.yaml +18 -0
  53. package/package.json +1 -1
  54. package/src/templates/chat/.agents/skills/shadcn-ui/SKILL.md +65 -6
  55. package/src/templates/chat/.mcp.json +8 -0
  56. package/src/templates/default/.agents/skills/shadcn-ui/SKILL.md +65 -6
  57. package/src/templates/default/.mcp.json +8 -0
  58. package/src/templates/workspace-core/.agents/skills/shadcn-ui/SKILL.md +65 -6
  59. package/src/templates/workspace-root/package.json +1 -1
  60. package/src/templates/workspace-root/pnpm-workspace.yaml +18 -0
@@ -311,7 +311,6 @@ export declare function createProviderApiActions(runtime: Pick<ProviderApiRuntim
311
311
  notes?: string | undefined;
312
312
  scope?: "org" | "user" | undefined;
313
313
  }, {
314
- message?: undefined;
315
314
  id?: undefined;
316
315
  provider?: undefined;
317
316
  deleted?: undefined;
@@ -328,8 +327,8 @@ export declare function createProviderApiActions(runtime: Pick<ProviderApiRuntim
328
327
  count: number;
329
328
  registered?: undefined;
330
329
  label?: undefined;
331
- } | {
332
330
  message?: undefined;
331
+ } | {
333
332
  id?: undefined;
334
333
  deleted?: undefined;
335
334
  providers?: undefined;
@@ -338,8 +337,8 @@ export declare function createProviderApiActions(runtime: Pick<ProviderApiRuntim
338
337
  provider: import("../custom-registry.js").CustomProviderConfig;
339
338
  registered?: undefined;
340
339
  label?: undefined;
341
- } | {
342
340
  message?: undefined;
341
+ } | {
343
342
  provider?: undefined;
344
343
  deleted?: undefined;
345
344
  providers?: undefined;
@@ -348,8 +347,8 @@ export declare function createProviderApiActions(runtime: Pick<ProviderApiRuntim
348
347
  id: string;
349
348
  registered?: undefined;
350
349
  label?: undefined;
351
- } | {
352
350
  message?: undefined;
351
+ } | {
353
352
  provider?: undefined;
354
353
  found?: undefined;
355
354
  providers?: undefined;
@@ -358,6 +357,7 @@ export declare function createProviderApiActions(runtime: Pick<ProviderApiRuntim
358
357
  id: string;
359
358
  registered?: undefined;
360
359
  label?: undefined;
360
+ message?: undefined;
361
361
  } | {
362
362
  provider?: undefined;
363
363
  deleted?: undefined;
@@ -48,8 +48,8 @@ export declare function handleUpdateResource(event: any): Promise<import("./stor
48
48
  }>;
49
49
  /** DELETE /_agent-native/resources/:id — delete a resource */
50
50
  export declare function handleDeleteResource(event: any): Promise<{
51
- error: string;
52
51
  ok?: undefined;
52
+ error: string;
53
53
  } | {
54
54
  error?: undefined;
55
55
  ok: boolean;
@@ -56,10 +56,10 @@ export declare function createAgentEngineApiKeyHandler(): import("h3").EventHand
56
56
  ok: boolean;
57
57
  error: string;
58
58
  } | {
59
- error?: undefined;
60
59
  ok: boolean;
61
60
  key: string;
62
61
  baseUrlKey?: string;
63
62
  scope: AgentEngineApiKeyScope;
63
+ error?: undefined;
64
64
  }>>;
65
65
  export {};
@@ -408,8 +408,8 @@ export declare function createPublicRemoteAgentsHandler(discover?: PublicAgentDi
408
408
  error: string;
409
409
  agents?: undefined;
410
410
  } | {
411
- agents: Omit<import("./agent-discovery.js").DiscoveredAgent, "auth" | "kind">[];
412
411
  error?: undefined;
412
+ agents: Omit<import("./agent-discovery.js").DiscoveredAgent, "auth" | "kind">[];
413
413
  }>>;
414
414
  export declare function getBuilderConnectErrorDisposition(error: unknown, connectAttemptId: string | null): "correlated" | "legacy" | null;
415
415
  export declare function getBuilderConnectErrorKey(ownerEmail: string, connectAttemptId?: string | null): string;
@@ -1,10 +1,9 @@
1
1
  ---
2
2
  name: shadcn-ui
3
3
  description: >-
4
- The shadcn CLI, component composition, theming, and registry workflow. Use
5
- when adding, replacing, upgrading, or debugging a shadcn/ui primitive itself,
6
- or when changing a theme or registry. Do not load it for ordinary edits to a
7
- file that happens to import a shadcn component.
4
+ Project-aware shadcn/ui components, registry MCP, theming, and design-system
5
+ lint feedback. Use when adding or changing React/Tailwind UI, a primitive,
6
+ theme, registry, or component contract in an Agent-Native app.
8
7
  scope: dev
9
8
  source: https://ui.shadcn.com/docs/skills
10
9
  local-changes: >-
@@ -16,11 +15,18 @@ metadata:
16
15
 
17
16
  # shadcn/ui
18
17
 
19
- This skill keeps shadcn/ui work project-aware. Components are source files in the app, so always inspect the local project before adding, importing, or rewriting them.
18
+ This skill keeps shadcn/ui work project-aware. Components are source files in the
19
+ app, so always inspect the local project before adding, importing, or rewriting
20
+ them. When `@shadcn/lint` is configured, treat its feedback as implementation
21
+ guidance, not cosmetic noise. The framework repository runs it through the root
22
+ Oxlint configuration; generated workspaces carry this skill and the MCP
23
+ workflow, but do not automatically inherit that repository-only lint setup.
20
24
 
21
25
  ## First Steps
22
26
 
23
- 1. Work from the app root that owns `components.json`.
27
+ 1. Work from the app root that owns `components.json`. In this monorepo, that is
28
+ the selected app/template directory (usually under `templates/`), not the
29
+ repository root.
24
30
  2. In an Agent-Native app, inspect `app/design-system.ts` and
25
31
  `ToolkitProvider` before choosing a primitive. A registered company design
26
32
  system takes precedence over the default shadcn adapter.
@@ -29,6 +35,59 @@ This skill keeps shadcn/ui work project-aware. Components are source files in th
29
35
  5. Check `app/components/ui/` or the resolved `ui` path before importing a component.
30
36
  6. For unfamiliar components, run `pnpm dlx shadcn@latest docs <component>` and read the returned docs or examples before coding.
31
37
 
38
+ ## MCP Registry Workflow
39
+
40
+ Each first-party app keeps the official shadcn MCP configuration in `.mcp.json`
41
+ next to its `components.json`. Start the agent from that app root so the MCP
42
+ server resolves the correct aliases, local UI directory, and Tailwind theme.
43
+ Do not add a single repository-root server: the root is a workspace, not a
44
+ shadcn project, and would make installs target the wrong project.
45
+
46
+ - Use the shadcn MCP to search, inspect, and install registry items when it is
47
+ connected. Prefer the app's configured registries over copied source.
48
+ - Use `pnpm dlx shadcn@latest info --json` for project context; the MCP has no
49
+ equivalent project-info tool.
50
+ - If the MCP is unavailable, use the equivalent `pnpm dlx shadcn@latest`
51
+ command from the same app root and continue following this skill.
52
+ - Keep registry URLs and aliases in that app's `components.json`. Never put
53
+ registry credentials in MCP config or checked-in source.
54
+
55
+ ## Design-System Lint Feedback
56
+
57
+ In the framework repository, `pnpm lint` runs Oxlint with `@shadcn/lint` for the
58
+ scoped template UI paths. Run it after UI changes and fix every `shadcn/*`
59
+ finding before handing off. Template packages use the workspace lint
60
+ configuration; do not create a second local lint configuration just for one
61
+ app.
62
+
63
+ Before claiming that shadcn lint ran in another workspace, inspect its root
64
+ `package.json` and `.oxlintrc.json`. The generic generated workspace currently
65
+ exposes `pnpm lint` as formatting-only and does not ship `@shadcn/lint` or the
66
+ framework repository's Oxlint config. In that scaffold, use this skill plus the
67
+ connected shadcn MCP (or the CLI fallback) for design-system guidance, and do
68
+ not report `shadcn/*` checks as having run. If the workspace owner adopts the
69
+ linter, add the dependency, scoped config, and lint script together.
70
+
71
+ The Plan template is intentionally excluded from this rollout. Its files remain
72
+ under `templates/plan/**`, but the root Oxlint ignore list keeps them out of the
73
+ shadcn checks until that template has a separate lint baseline.
74
+
75
+ - `no-restyle`: use the component's `variant`, `size`, and semantic props; put
76
+ layout on a parent and add a component variant only when the design system
77
+ genuinely needs a new treatment.
78
+ - `no-raw-colors`: use the theme tokens in the app's `global.css`, not raw
79
+ Tailwind palette classes or hard-coded color attributes.
80
+ - `no-arbitrary-values`: use the theme scale or a declared token instead of
81
+ one-off bracket values.
82
+ - `no-inline-styles`: use classes or CSS custom properties for dynamic layout;
83
+ keep intentional editor/export exceptions scoped to their owning subsystem.
84
+ - `no-unknown-classes` and `require-static-classes`: use classes Tailwind can
85
+ generate and keep class strings statically discoverable.
86
+
87
+ The local primitive source is the contract boundary. Product code should consume
88
+ its props and variants; update `packages/toolkit/src/ui/` or an app's
89
+ `components/ui/` only when the design-system contract itself changes.
90
+
32
91
  ## Agent-Native Adapter Rule
33
92
 
34
93
  Pages, routes, and domain components import controls through the app's local UI
@@ -0,0 +1,8 @@
1
+ {
2
+ "mcpServers": {
3
+ "shadcn": {
4
+ "command": "npx",
5
+ "args": ["shadcn@latest", "mcp"]
6
+ }
7
+ }
8
+ }
@@ -1,10 +1,9 @@
1
1
  ---
2
2
  name: shadcn-ui
3
3
  description: >-
4
- The shadcn CLI, component composition, theming, and registry workflow. Use
5
- when adding, replacing, upgrading, or debugging a shadcn/ui primitive itself,
6
- or when changing a theme or registry. Do not load it for ordinary edits to a
7
- file that happens to import a shadcn component.
4
+ Project-aware shadcn/ui components, registry MCP, theming, and design-system
5
+ lint feedback. Use when adding or changing React/Tailwind UI, a primitive,
6
+ theme, registry, or component contract in an Agent-Native app.
8
7
  scope: dev
9
8
  source: https://ui.shadcn.com/docs/skills
10
9
  local-changes: >-
@@ -16,11 +15,18 @@ metadata:
16
15
 
17
16
  # shadcn/ui
18
17
 
19
- This skill keeps shadcn/ui work project-aware. Components are source files in the app, so always inspect the local project before adding, importing, or rewriting them.
18
+ This skill keeps shadcn/ui work project-aware. Components are source files in the
19
+ app, so always inspect the local project before adding, importing, or rewriting
20
+ them. When `@shadcn/lint` is configured, treat its feedback as implementation
21
+ guidance, not cosmetic noise. The framework repository runs it through the root
22
+ Oxlint configuration; generated workspaces carry this skill and the MCP
23
+ workflow, but do not automatically inherit that repository-only lint setup.
20
24
 
21
25
  ## First Steps
22
26
 
23
- 1. Work from the app root that owns `components.json`.
27
+ 1. Work from the app root that owns `components.json`. In this monorepo, that is
28
+ the selected app/template directory (usually under `templates/`), not the
29
+ repository root.
24
30
  2. In an Agent-Native app, inspect `app/design-system.ts` and
25
31
  `ToolkitProvider` before choosing a primitive. A registered company design
26
32
  system takes precedence over the default shadcn adapter.
@@ -29,6 +35,59 @@ This skill keeps shadcn/ui work project-aware. Components are source files in th
29
35
  5. Check `app/components/ui/` or the resolved `ui` path before importing a component.
30
36
  6. For unfamiliar components, run `pnpm dlx shadcn@latest docs <component>` and read the returned docs or examples before coding.
31
37
 
38
+ ## MCP Registry Workflow
39
+
40
+ Each first-party app keeps the official shadcn MCP configuration in `.mcp.json`
41
+ next to its `components.json`. Start the agent from that app root so the MCP
42
+ server resolves the correct aliases, local UI directory, and Tailwind theme.
43
+ Do not add a single repository-root server: the root is a workspace, not a
44
+ shadcn project, and would make installs target the wrong project.
45
+
46
+ - Use the shadcn MCP to search, inspect, and install registry items when it is
47
+ connected. Prefer the app's configured registries over copied source.
48
+ - Use `pnpm dlx shadcn@latest info --json` for project context; the MCP has no
49
+ equivalent project-info tool.
50
+ - If the MCP is unavailable, use the equivalent `pnpm dlx shadcn@latest`
51
+ command from the same app root and continue following this skill.
52
+ - Keep registry URLs and aliases in that app's `components.json`. Never put
53
+ registry credentials in MCP config or checked-in source.
54
+
55
+ ## Design-System Lint Feedback
56
+
57
+ In the framework repository, `pnpm lint` runs Oxlint with `@shadcn/lint` for the
58
+ scoped template UI paths. Run it after UI changes and fix every `shadcn/*`
59
+ finding before handing off. Template packages use the workspace lint
60
+ configuration; do not create a second local lint configuration just for one
61
+ app.
62
+
63
+ Before claiming that shadcn lint ran in another workspace, inspect its root
64
+ `package.json` and `.oxlintrc.json`. The generic generated workspace currently
65
+ exposes `pnpm lint` as formatting-only and does not ship `@shadcn/lint` or the
66
+ framework repository's Oxlint config. In that scaffold, use this skill plus the
67
+ connected shadcn MCP (or the CLI fallback) for design-system guidance, and do
68
+ not report `shadcn/*` checks as having run. If the workspace owner adopts the
69
+ linter, add the dependency, scoped config, and lint script together.
70
+
71
+ The Plan template is intentionally excluded from this rollout. Its files remain
72
+ under `templates/plan/**`, but the root Oxlint ignore list keeps them out of the
73
+ shadcn checks until that template has a separate lint baseline.
74
+
75
+ - `no-restyle`: use the component's `variant`, `size`, and semantic props; put
76
+ layout on a parent and add a component variant only when the design system
77
+ genuinely needs a new treatment.
78
+ - `no-raw-colors`: use the theme tokens in the app's `global.css`, not raw
79
+ Tailwind palette classes or hard-coded color attributes.
80
+ - `no-arbitrary-values`: use the theme scale or a declared token instead of
81
+ one-off bracket values.
82
+ - `no-inline-styles`: use classes or CSS custom properties for dynamic layout;
83
+ keep intentional editor/export exceptions scoped to their owning subsystem.
84
+ - `no-unknown-classes` and `require-static-classes`: use classes Tailwind can
85
+ generate and keep class strings statically discoverable.
86
+
87
+ The local primitive source is the contract boundary. Product code should consume
88
+ its props and variants; update `packages/toolkit/src/ui/` or an app's
89
+ `components/ui/` only when the design-system contract itself changes.
90
+
32
91
  ## Agent-Native Adapter Rule
33
92
 
34
93
  Pages, routes, and domain components import controls through the app's local UI
@@ -0,0 +1,8 @@
1
+ {
2
+ "mcpServers": {
3
+ "shadcn": {
4
+ "command": "npx",
5
+ "args": ["shadcn@latest", "mcp"]
6
+ }
7
+ }
8
+ }
@@ -1,10 +1,9 @@
1
1
  ---
2
2
  name: shadcn-ui
3
3
  description: >-
4
- The shadcn CLI, component composition, theming, and registry workflow. Use
5
- when adding, replacing, upgrading, or debugging a shadcn/ui primitive itself,
6
- or when changing a theme or registry. Do not load it for ordinary edits to a
7
- file that happens to import a shadcn component.
4
+ Project-aware shadcn/ui components, registry MCP, theming, and design-system
5
+ lint feedback. Use when adding or changing React/Tailwind UI, a primitive,
6
+ theme, registry, or component contract in an Agent-Native app.
8
7
  scope: dev
9
8
  source: https://ui.shadcn.com/docs/skills
10
9
  local-changes: >-
@@ -16,11 +15,18 @@ metadata:
16
15
 
17
16
  # shadcn/ui
18
17
 
19
- This skill keeps shadcn/ui work project-aware. Components are source files in the app, so always inspect the local project before adding, importing, or rewriting them.
18
+ This skill keeps shadcn/ui work project-aware. Components are source files in the
19
+ app, so always inspect the local project before adding, importing, or rewriting
20
+ them. When `@shadcn/lint` is configured, treat its feedback as implementation
21
+ guidance, not cosmetic noise. The framework repository runs it through the root
22
+ Oxlint configuration; generated workspaces carry this skill and the MCP
23
+ workflow, but do not automatically inherit that repository-only lint setup.
20
24
 
21
25
  ## First Steps
22
26
 
23
- 1. Work from the app root that owns `components.json`.
27
+ 1. Work from the app root that owns `components.json`. In this monorepo, that is
28
+ the selected app/template directory (usually under `templates/`), not the
29
+ repository root.
24
30
  2. In an Agent-Native app, inspect `app/design-system.ts` and
25
31
  `ToolkitProvider` before choosing a primitive. A registered company design
26
32
  system takes precedence over the default shadcn adapter.
@@ -29,6 +35,59 @@ This skill keeps shadcn/ui work project-aware. Components are source files in th
29
35
  5. Check `app/components/ui/` or the resolved `ui` path before importing a component.
30
36
  6. For unfamiliar components, run `pnpm dlx shadcn@latest docs <component>` and read the returned docs or examples before coding.
31
37
 
38
+ ## MCP Registry Workflow
39
+
40
+ Each first-party app keeps the official shadcn MCP configuration in `.mcp.json`
41
+ next to its `components.json`. Start the agent from that app root so the MCP
42
+ server resolves the correct aliases, local UI directory, and Tailwind theme.
43
+ Do not add a single repository-root server: the root is a workspace, not a
44
+ shadcn project, and would make installs target the wrong project.
45
+
46
+ - Use the shadcn MCP to search, inspect, and install registry items when it is
47
+ connected. Prefer the app's configured registries over copied source.
48
+ - Use `pnpm dlx shadcn@latest info --json` for project context; the MCP has no
49
+ equivalent project-info tool.
50
+ - If the MCP is unavailable, use the equivalent `pnpm dlx shadcn@latest`
51
+ command from the same app root and continue following this skill.
52
+ - Keep registry URLs and aliases in that app's `components.json`. Never put
53
+ registry credentials in MCP config or checked-in source.
54
+
55
+ ## Design-System Lint Feedback
56
+
57
+ In the framework repository, `pnpm lint` runs Oxlint with `@shadcn/lint` for the
58
+ scoped template UI paths. Run it after UI changes and fix every `shadcn/*`
59
+ finding before handing off. Template packages use the workspace lint
60
+ configuration; do not create a second local lint configuration just for one
61
+ app.
62
+
63
+ Before claiming that shadcn lint ran in another workspace, inspect its root
64
+ `package.json` and `.oxlintrc.json`. The generic generated workspace currently
65
+ exposes `pnpm lint` as formatting-only and does not ship `@shadcn/lint` or the
66
+ framework repository's Oxlint config. In that scaffold, use this skill plus the
67
+ connected shadcn MCP (or the CLI fallback) for design-system guidance, and do
68
+ not report `shadcn/*` checks as having run. If the workspace owner adopts the
69
+ linter, add the dependency, scoped config, and lint script together.
70
+
71
+ The Plan template is intentionally excluded from this rollout. Its files remain
72
+ under `templates/plan/**`, but the root Oxlint ignore list keeps them out of the
73
+ shadcn checks until that template has a separate lint baseline.
74
+
75
+ - `no-restyle`: use the component's `variant`, `size`, and semantic props; put
76
+ layout on a parent and add a component variant only when the design system
77
+ genuinely needs a new treatment.
78
+ - `no-raw-colors`: use the theme tokens in the app's `global.css`, not raw
79
+ Tailwind palette classes or hard-coded color attributes.
80
+ - `no-arbitrary-values`: use the theme scale or a declared token instead of
81
+ one-off bracket values.
82
+ - `no-inline-styles`: use classes or CSS custom properties for dynamic layout;
83
+ keep intentional editor/export exceptions scoped to their owning subsystem.
84
+ - `no-unknown-classes` and `require-static-classes`: use classes Tailwind can
85
+ generate and keep class strings statically discoverable.
86
+
87
+ The local primitive source is the contract boundary. Product code should consume
88
+ its props and variants; update `packages/toolkit/src/ui/` or an app's
89
+ `components/ui/` only when the design-system contract itself changes.
90
+
32
91
  ## Agent-Native Adapter Rule
33
92
 
34
93
  Pages, routes, and domain components import controls through the app's local UI
@@ -25,7 +25,7 @@
25
25
  "tsx": "catalog:",
26
26
  "typescript-7": "catalog:"
27
27
  },
28
- "packageManager": "pnpm@10.14.0",
28
+ "packageManager": "pnpm@10.29.1",
29
29
  "agent-native": {
30
30
  "workspaceCore": "@{{APP_NAME}}/shared"
31
31
  }
@@ -2,7 +2,25 @@ packages:
2
2
  - "packages/*"
3
3
  - "apps/*"
4
4
 
5
+ minimumReleaseAge: 1440
6
+ minimumReleaseAgeExclude:
7
+ - "@bacons/apple-targets"
8
+ - "@agent-native/core"
9
+ - "@modelcontextprotocol/client"
10
+ - "@modelcontextprotocol/core"
11
+ - "@modelcontextprotocol/node"
12
+ - "@modelcontextprotocol/server"
13
+ - "dom-to-pptx"
14
+ - "fast-xml-parser"
15
+ - "typescript"
16
+ - "@typescript/typescript6"
17
+ - "@typescript/typescript-*"
18
+
5
19
  overrides:
20
+ # @sentry/vite-plugin's range can resolve a newly published bundler tarball
21
+ # before the registry has made it fetchable. Keep fresh workspaces on the
22
+ # version already verified by this repository until Sentry is upgraded.
23
+ "@sentry/bundler-plugins": "10.73.0"
6
24
  "@assistant-ui/store": ">=0.2.9 <0.2.14"
7
25
  "@assistant-ui/tap": "^0.5.14"
8
26
  better-auth: "1.7.4"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agent-native/core",
3
- "version": "0.182.0",
3
+ "version": "0.182.1-nightly-20260916195744",
4
4
  "description": "The agentic application framework for building autonomous agents with intuitive UIs",
5
5
  "homepage": "https://github.com/BuilderIO/agent-native#readme",
6
6
  "bugs": {
@@ -1,10 +1,9 @@
1
1
  ---
2
2
  name: shadcn-ui
3
3
  description: >-
4
- The shadcn CLI, component composition, theming, and registry workflow. Use
5
- when adding, replacing, upgrading, or debugging a shadcn/ui primitive itself,
6
- or when changing a theme or registry. Do not load it for ordinary edits to a
7
- file that happens to import a shadcn component.
4
+ Project-aware shadcn/ui components, registry MCP, theming, and design-system
5
+ lint feedback. Use when adding or changing React/Tailwind UI, a primitive,
6
+ theme, registry, or component contract in an Agent-Native app.
8
7
  scope: dev
9
8
  source: https://ui.shadcn.com/docs/skills
10
9
  local-changes: >-
@@ -16,11 +15,18 @@ metadata:
16
15
 
17
16
  # shadcn/ui
18
17
 
19
- This skill keeps shadcn/ui work project-aware. Components are source files in the app, so always inspect the local project before adding, importing, or rewriting them.
18
+ This skill keeps shadcn/ui work project-aware. Components are source files in the
19
+ app, so always inspect the local project before adding, importing, or rewriting
20
+ them. When `@shadcn/lint` is configured, treat its feedback as implementation
21
+ guidance, not cosmetic noise. The framework repository runs it through the root
22
+ Oxlint configuration; generated workspaces carry this skill and the MCP
23
+ workflow, but do not automatically inherit that repository-only lint setup.
20
24
 
21
25
  ## First Steps
22
26
 
23
- 1. Work from the app root that owns `components.json`.
27
+ 1. Work from the app root that owns `components.json`. In this monorepo, that is
28
+ the selected app/template directory (usually under `templates/`), not the
29
+ repository root.
24
30
  2. In an Agent-Native app, inspect `app/design-system.ts` and
25
31
  `ToolkitProvider` before choosing a primitive. A registered company design
26
32
  system takes precedence over the default shadcn adapter.
@@ -29,6 +35,59 @@ This skill keeps shadcn/ui work project-aware. Components are source files in th
29
35
  5. Check `app/components/ui/` or the resolved `ui` path before importing a component.
30
36
  6. For unfamiliar components, run `pnpm dlx shadcn@latest docs <component>` and read the returned docs or examples before coding.
31
37
 
38
+ ## MCP Registry Workflow
39
+
40
+ Each first-party app keeps the official shadcn MCP configuration in `.mcp.json`
41
+ next to its `components.json`. Start the agent from that app root so the MCP
42
+ server resolves the correct aliases, local UI directory, and Tailwind theme.
43
+ Do not add a single repository-root server: the root is a workspace, not a
44
+ shadcn project, and would make installs target the wrong project.
45
+
46
+ - Use the shadcn MCP to search, inspect, and install registry items when it is
47
+ connected. Prefer the app's configured registries over copied source.
48
+ - Use `pnpm dlx shadcn@latest info --json` for project context; the MCP has no
49
+ equivalent project-info tool.
50
+ - If the MCP is unavailable, use the equivalent `pnpm dlx shadcn@latest`
51
+ command from the same app root and continue following this skill.
52
+ - Keep registry URLs and aliases in that app's `components.json`. Never put
53
+ registry credentials in MCP config or checked-in source.
54
+
55
+ ## Design-System Lint Feedback
56
+
57
+ In the framework repository, `pnpm lint` runs Oxlint with `@shadcn/lint` for the
58
+ scoped template UI paths. Run it after UI changes and fix every `shadcn/*`
59
+ finding before handing off. Template packages use the workspace lint
60
+ configuration; do not create a second local lint configuration just for one
61
+ app.
62
+
63
+ Before claiming that shadcn lint ran in another workspace, inspect its root
64
+ `package.json` and `.oxlintrc.json`. The generic generated workspace currently
65
+ exposes `pnpm lint` as formatting-only and does not ship `@shadcn/lint` or the
66
+ framework repository's Oxlint config. In that scaffold, use this skill plus the
67
+ connected shadcn MCP (or the CLI fallback) for design-system guidance, and do
68
+ not report `shadcn/*` checks as having run. If the workspace owner adopts the
69
+ linter, add the dependency, scoped config, and lint script together.
70
+
71
+ The Plan template is intentionally excluded from this rollout. Its files remain
72
+ under `templates/plan/**`, but the root Oxlint ignore list keeps them out of the
73
+ shadcn checks until that template has a separate lint baseline.
74
+
75
+ - `no-restyle`: use the component's `variant`, `size`, and semantic props; put
76
+ layout on a parent and add a component variant only when the design system
77
+ genuinely needs a new treatment.
78
+ - `no-raw-colors`: use the theme tokens in the app's `global.css`, not raw
79
+ Tailwind palette classes or hard-coded color attributes.
80
+ - `no-arbitrary-values`: use the theme scale or a declared token instead of
81
+ one-off bracket values.
82
+ - `no-inline-styles`: use classes or CSS custom properties for dynamic layout;
83
+ keep intentional editor/export exceptions scoped to their owning subsystem.
84
+ - `no-unknown-classes` and `require-static-classes`: use classes Tailwind can
85
+ generate and keep class strings statically discoverable.
86
+
87
+ The local primitive source is the contract boundary. Product code should consume
88
+ its props and variants; update `packages/toolkit/src/ui/` or an app's
89
+ `components/ui/` only when the design-system contract itself changes.
90
+
32
91
  ## Agent-Native Adapter Rule
33
92
 
34
93
  Pages, routes, and domain components import controls through the app's local UI
@@ -0,0 +1,8 @@
1
+ {
2
+ "mcpServers": {
3
+ "shadcn": {
4
+ "command": "npx",
5
+ "args": ["shadcn@latest", "mcp"]
6
+ }
7
+ }
8
+ }
@@ -1,10 +1,9 @@
1
1
  ---
2
2
  name: shadcn-ui
3
3
  description: >-
4
- The shadcn CLI, component composition, theming, and registry workflow. Use
5
- when adding, replacing, upgrading, or debugging a shadcn/ui primitive itself,
6
- or when changing a theme or registry. Do not load it for ordinary edits to a
7
- file that happens to import a shadcn component.
4
+ Project-aware shadcn/ui components, registry MCP, theming, and design-system
5
+ lint feedback. Use when adding or changing React/Tailwind UI, a primitive,
6
+ theme, registry, or component contract in an Agent-Native app.
8
7
  scope: dev
9
8
  source: https://ui.shadcn.com/docs/skills
10
9
  local-changes: >-
@@ -16,11 +15,18 @@ metadata:
16
15
 
17
16
  # shadcn/ui
18
17
 
19
- This skill keeps shadcn/ui work project-aware. Components are source files in the app, so always inspect the local project before adding, importing, or rewriting them.
18
+ This skill keeps shadcn/ui work project-aware. Components are source files in the
19
+ app, so always inspect the local project before adding, importing, or rewriting
20
+ them. When `@shadcn/lint` is configured, treat its feedback as implementation
21
+ guidance, not cosmetic noise. The framework repository runs it through the root
22
+ Oxlint configuration; generated workspaces carry this skill and the MCP
23
+ workflow, but do not automatically inherit that repository-only lint setup.
20
24
 
21
25
  ## First Steps
22
26
 
23
- 1. Work from the app root that owns `components.json`.
27
+ 1. Work from the app root that owns `components.json`. In this monorepo, that is
28
+ the selected app/template directory (usually under `templates/`), not the
29
+ repository root.
24
30
  2. In an Agent-Native app, inspect `app/design-system.ts` and
25
31
  `ToolkitProvider` before choosing a primitive. A registered company design
26
32
  system takes precedence over the default shadcn adapter.
@@ -29,6 +35,59 @@ This skill keeps shadcn/ui work project-aware. Components are source files in th
29
35
  5. Check `app/components/ui/` or the resolved `ui` path before importing a component.
30
36
  6. For unfamiliar components, run `pnpm dlx shadcn@latest docs <component>` and read the returned docs or examples before coding.
31
37
 
38
+ ## MCP Registry Workflow
39
+
40
+ Each first-party app keeps the official shadcn MCP configuration in `.mcp.json`
41
+ next to its `components.json`. Start the agent from that app root so the MCP
42
+ server resolves the correct aliases, local UI directory, and Tailwind theme.
43
+ Do not add a single repository-root server: the root is a workspace, not a
44
+ shadcn project, and would make installs target the wrong project.
45
+
46
+ - Use the shadcn MCP to search, inspect, and install registry items when it is
47
+ connected. Prefer the app's configured registries over copied source.
48
+ - Use `pnpm dlx shadcn@latest info --json` for project context; the MCP has no
49
+ equivalent project-info tool.
50
+ - If the MCP is unavailable, use the equivalent `pnpm dlx shadcn@latest`
51
+ command from the same app root and continue following this skill.
52
+ - Keep registry URLs and aliases in that app's `components.json`. Never put
53
+ registry credentials in MCP config or checked-in source.
54
+
55
+ ## Design-System Lint Feedback
56
+
57
+ In the framework repository, `pnpm lint` runs Oxlint with `@shadcn/lint` for the
58
+ scoped template UI paths. Run it after UI changes and fix every `shadcn/*`
59
+ finding before handing off. Template packages use the workspace lint
60
+ configuration; do not create a second local lint configuration just for one
61
+ app.
62
+
63
+ Before claiming that shadcn lint ran in another workspace, inspect its root
64
+ `package.json` and `.oxlintrc.json`. The generic generated workspace currently
65
+ exposes `pnpm lint` as formatting-only and does not ship `@shadcn/lint` or the
66
+ framework repository's Oxlint config. In that scaffold, use this skill plus the
67
+ connected shadcn MCP (or the CLI fallback) for design-system guidance, and do
68
+ not report `shadcn/*` checks as having run. If the workspace owner adopts the
69
+ linter, add the dependency, scoped config, and lint script together.
70
+
71
+ The Plan template is intentionally excluded from this rollout. Its files remain
72
+ under `templates/plan/**`, but the root Oxlint ignore list keeps them out of the
73
+ shadcn checks until that template has a separate lint baseline.
74
+
75
+ - `no-restyle`: use the component's `variant`, `size`, and semantic props; put
76
+ layout on a parent and add a component variant only when the design system
77
+ genuinely needs a new treatment.
78
+ - `no-raw-colors`: use the theme tokens in the app's `global.css`, not raw
79
+ Tailwind palette classes or hard-coded color attributes.
80
+ - `no-arbitrary-values`: use the theme scale or a declared token instead of
81
+ one-off bracket values.
82
+ - `no-inline-styles`: use classes or CSS custom properties for dynamic layout;
83
+ keep intentional editor/export exceptions scoped to their owning subsystem.
84
+ - `no-unknown-classes` and `require-static-classes`: use classes Tailwind can
85
+ generate and keep class strings statically discoverable.
86
+
87
+ The local primitive source is the contract boundary. Product code should consume
88
+ its props and variants; update `packages/toolkit/src/ui/` or an app's
89
+ `components/ui/` only when the design-system contract itself changes.
90
+
32
91
  ## Agent-Native Adapter Rule
33
92
 
34
93
  Pages, routes, and domain components import controls through the app's local UI
@@ -0,0 +1,8 @@
1
+ {
2
+ "mcpServers": {
3
+ "shadcn": {
4
+ "command": "npx",
5
+ "args": ["shadcn@latest", "mcp"]
6
+ }
7
+ }
8
+ }