class-ai-agent 1.3.0 → 1.4.1

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 (161) hide show
  1. package/.agent/SESSION.md +18 -13
  2. package/.claude/CLAUDE.md +26 -0
  3. package/.claude/agents/business-analyst.md +380 -0
  4. package/.claude/references/codegraph.md +26 -14
  5. package/.claude/references/supabase.md +55 -0
  6. package/.claude/rules/agent-continuity.md +3 -2
  7. package/.claude/rules/api-conventions.md +1 -0
  8. package/.claude/rules/clean-code.md +1 -0
  9. package/.claude/rules/code-style.md +1 -0
  10. package/.claude/rules/codegraph.md +43 -0
  11. package/.claude/rules/database.md +2 -1
  12. package/.claude/rules/error-handling.md +1 -0
  13. package/.claude/rules/git-workflow.md +1 -0
  14. package/.claude/rules/monitoring.md +1 -0
  15. package/.claude/rules/naming-conventions.md +1 -0
  16. package/.claude/rules/project-structure.md +1 -0
  17. package/.claude/rules/security.md +1 -0
  18. package/.claude/rules/system-design.md +1 -0
  19. package/.claude/rules/tech-stack.md +3 -1
  20. package/.claude/rules/testing.md +1 -0
  21. package/.claude/settings.json +3 -1
  22. package/.claude/skills/supabase/SKILL.md +135 -0
  23. package/.claude/skills/supabase/UPSTREAM.md +16 -0
  24. package/.claude/skills/supabase/assets/feedback-issue-template.md +17 -0
  25. package/.claude/skills/supabase/references/skill-feedback.md +17 -0
  26. package/.claude/skills/supabase-postgres-best-practices/SKILL.md +64 -0
  27. package/.claude/skills/supabase-postgres-best-practices/UPSTREAM.md +16 -0
  28. package/.claude/skills/supabase-postgres-best-practices/references/_contributing.md +170 -0
  29. package/.claude/skills/supabase-postgres-best-practices/references/_sections.md +39 -0
  30. package/.claude/skills/supabase-postgres-best-practices/references/_template.md +34 -0
  31. package/.claude/skills/supabase-postgres-best-practices/references/advanced-full-text-search.md +55 -0
  32. package/.claude/skills/supabase-postgres-best-practices/references/advanced-jsonb-indexing.md +49 -0
  33. package/.claude/skills/supabase-postgres-best-practices/references/conn-idle-timeout.md +46 -0
  34. package/.claude/skills/supabase-postgres-best-practices/references/conn-limits.md +44 -0
  35. package/.claude/skills/supabase-postgres-best-practices/references/conn-pooling.md +41 -0
  36. package/.claude/skills/supabase-postgres-best-practices/references/conn-prepared-statements.md +46 -0
  37. package/.claude/skills/supabase-postgres-best-practices/references/data-batch-inserts.md +54 -0
  38. package/.claude/skills/supabase-postgres-best-practices/references/data-n-plus-one.md +53 -0
  39. package/.claude/skills/supabase-postgres-best-practices/references/data-pagination.md +50 -0
  40. package/.claude/skills/supabase-postgres-best-practices/references/data-upsert.md +50 -0
  41. package/.claude/skills/supabase-postgres-best-practices/references/lock-advisory.md +56 -0
  42. package/.claude/skills/supabase-postgres-best-practices/references/lock-deadlock-prevention.md +68 -0
  43. package/.claude/skills/supabase-postgres-best-practices/references/lock-short-transactions.md +50 -0
  44. package/.claude/skills/supabase-postgres-best-practices/references/lock-skip-locked.md +54 -0
  45. package/.claude/skills/supabase-postgres-best-practices/references/monitor-explain-analyze.md +45 -0
  46. package/.claude/skills/supabase-postgres-best-practices/references/monitor-pg-stat-statements.md +55 -0
  47. package/.claude/skills/supabase-postgres-best-practices/references/monitor-vacuum-analyze.md +55 -0
  48. package/.claude/skills/supabase-postgres-best-practices/references/query-composite-indexes.md +44 -0
  49. package/.claude/skills/supabase-postgres-best-practices/references/query-covering-indexes.md +40 -0
  50. package/.claude/skills/supabase-postgres-best-practices/references/query-index-types.md +48 -0
  51. package/.claude/skills/supabase-postgres-best-practices/references/query-missing-indexes.md +43 -0
  52. package/.claude/skills/supabase-postgres-best-practices/references/query-partial-indexes.md +45 -0
  53. package/.claude/skills/supabase-postgres-best-practices/references/schema-constraints.md +80 -0
  54. package/.claude/skills/supabase-postgres-best-practices/references/schema-data-types.md +46 -0
  55. package/.claude/skills/supabase-postgres-best-practices/references/schema-foreign-key-indexes.md +59 -0
  56. package/.claude/skills/supabase-postgres-best-practices/references/schema-lowercase-identifiers.md +55 -0
  57. package/.claude/skills/supabase-postgres-best-practices/references/schema-partitioning.md +55 -0
  58. package/.claude/skills/supabase-postgres-best-practices/references/schema-primary-keys.md +61 -0
  59. package/.claude/skills/supabase-postgres-best-practices/references/security-privileges.md +54 -0
  60. package/.claude/skills/supabase-postgres-best-practices/references/security-rls-basics.md +50 -0
  61. package/.claude/skills/supabase-postgres-best-practices/references/security-rls-performance.md +63 -0
  62. package/.claude/skills/ui-ux-pro-max/SKILL.md +1 -90
  63. package/.cursor/CURSOR.md +4 -1
  64. package/.cursor/agents/business-analyst.md +380 -0
  65. package/.cursor/mcp.json +4 -0
  66. package/.cursor/references/supabase.md +55 -0
  67. package/.cursor/rules/cursor-overview.mdc +1 -1
  68. package/.cursor/rules/database.mdc +2 -2
  69. package/.cursor/rules/tech-stack.mdc +2 -1
  70. package/.cursor/settings.json +6 -1
  71. package/.cursor/skills/supabase/SKILL.md +135 -0
  72. package/.cursor/skills/supabase/UPSTREAM.md +16 -0
  73. package/.cursor/skills/supabase/assets/feedback-issue-template.md +17 -0
  74. package/.cursor/skills/supabase/references/skill-feedback.md +17 -0
  75. package/.cursor/skills/supabase-postgres-best-practices/SKILL.md +64 -0
  76. package/.cursor/skills/supabase-postgres-best-practices/UPSTREAM.md +16 -0
  77. package/.cursor/skills/supabase-postgres-best-practices/references/_contributing.md +170 -0
  78. package/.cursor/skills/supabase-postgres-best-practices/references/_sections.md +39 -0
  79. package/.cursor/skills/supabase-postgres-best-practices/references/_template.md +34 -0
  80. package/.cursor/skills/supabase-postgres-best-practices/references/advanced-full-text-search.md +55 -0
  81. package/.cursor/skills/supabase-postgres-best-practices/references/advanced-jsonb-indexing.md +49 -0
  82. package/.cursor/skills/supabase-postgres-best-practices/references/conn-idle-timeout.md +46 -0
  83. package/.cursor/skills/supabase-postgres-best-practices/references/conn-limits.md +44 -0
  84. package/.cursor/skills/supabase-postgres-best-practices/references/conn-pooling.md +41 -0
  85. package/.cursor/skills/supabase-postgres-best-practices/references/conn-prepared-statements.md +46 -0
  86. package/.cursor/skills/supabase-postgres-best-practices/references/data-batch-inserts.md +54 -0
  87. package/.cursor/skills/supabase-postgres-best-practices/references/data-n-plus-one.md +53 -0
  88. package/.cursor/skills/supabase-postgres-best-practices/references/data-pagination.md +50 -0
  89. package/.cursor/skills/supabase-postgres-best-practices/references/data-upsert.md +50 -0
  90. package/.cursor/skills/supabase-postgres-best-practices/references/lock-advisory.md +56 -0
  91. package/.cursor/skills/supabase-postgres-best-practices/references/lock-deadlock-prevention.md +68 -0
  92. package/.cursor/skills/supabase-postgres-best-practices/references/lock-short-transactions.md +50 -0
  93. package/.cursor/skills/supabase-postgres-best-practices/references/lock-skip-locked.md +54 -0
  94. package/.cursor/skills/supabase-postgres-best-practices/references/monitor-explain-analyze.md +45 -0
  95. package/.cursor/skills/supabase-postgres-best-practices/references/monitor-pg-stat-statements.md +55 -0
  96. package/.cursor/skills/supabase-postgres-best-practices/references/monitor-vacuum-analyze.md +55 -0
  97. package/.cursor/skills/supabase-postgres-best-practices/references/query-composite-indexes.md +44 -0
  98. package/.cursor/skills/supabase-postgres-best-practices/references/query-covering-indexes.md +40 -0
  99. package/.cursor/skills/supabase-postgres-best-practices/references/query-index-types.md +48 -0
  100. package/.cursor/skills/supabase-postgres-best-practices/references/query-missing-indexes.md +43 -0
  101. package/.cursor/skills/supabase-postgres-best-practices/references/query-partial-indexes.md +45 -0
  102. package/.cursor/skills/supabase-postgres-best-practices/references/schema-constraints.md +80 -0
  103. package/.cursor/skills/supabase-postgres-best-practices/references/schema-data-types.md +46 -0
  104. package/.cursor/skills/supabase-postgres-best-practices/references/schema-foreign-key-indexes.md +59 -0
  105. package/.cursor/skills/supabase-postgres-best-practices/references/schema-lowercase-identifiers.md +55 -0
  106. package/.cursor/skills/supabase-postgres-best-practices/references/schema-partitioning.md +55 -0
  107. package/.cursor/skills/supabase-postgres-best-practices/references/schema-primary-keys.md +61 -0
  108. package/.cursor/skills/supabase-postgres-best-practices/references/security-privileges.md +54 -0
  109. package/.cursor/skills/supabase-postgres-best-practices/references/security-rls-basics.md +50 -0
  110. package/.cursor/skills/supabase-postgres-best-practices/references/security-rls-performance.md +63 -0
  111. package/.kiro/KIRO.md +6 -3
  112. package/.kiro/agents/business-analyst.md +380 -0
  113. package/.kiro/references/supabase.md +55 -0
  114. package/.kiro/settings/mcp.json +4 -0
  115. package/.kiro/skills/supabase/SKILL.md +135 -0
  116. package/.kiro/skills/supabase/UPSTREAM.md +16 -0
  117. package/.kiro/skills/supabase/assets/feedback-issue-template.md +17 -0
  118. package/.kiro/skills/supabase/references/skill-feedback.md +17 -0
  119. package/.kiro/skills/supabase-postgres-best-practices/SKILL.md +64 -0
  120. package/.kiro/skills/supabase-postgres-best-practices/UPSTREAM.md +16 -0
  121. package/.kiro/skills/supabase-postgres-best-practices/references/_contributing.md +170 -0
  122. package/.kiro/skills/supabase-postgres-best-practices/references/_sections.md +39 -0
  123. package/.kiro/skills/supabase-postgres-best-practices/references/_template.md +34 -0
  124. package/.kiro/skills/supabase-postgres-best-practices/references/advanced-full-text-search.md +55 -0
  125. package/.kiro/skills/supabase-postgres-best-practices/references/advanced-jsonb-indexing.md +49 -0
  126. package/.kiro/skills/supabase-postgres-best-practices/references/conn-idle-timeout.md +46 -0
  127. package/.kiro/skills/supabase-postgres-best-practices/references/conn-limits.md +44 -0
  128. package/.kiro/skills/supabase-postgres-best-practices/references/conn-pooling.md +41 -0
  129. package/.kiro/skills/supabase-postgres-best-practices/references/conn-prepared-statements.md +46 -0
  130. package/.kiro/skills/supabase-postgres-best-practices/references/data-batch-inserts.md +54 -0
  131. package/.kiro/skills/supabase-postgres-best-practices/references/data-n-plus-one.md +53 -0
  132. package/.kiro/skills/supabase-postgres-best-practices/references/data-pagination.md +50 -0
  133. package/.kiro/skills/supabase-postgres-best-practices/references/data-upsert.md +50 -0
  134. package/.kiro/skills/supabase-postgres-best-practices/references/lock-advisory.md +56 -0
  135. package/.kiro/skills/supabase-postgres-best-practices/references/lock-deadlock-prevention.md +68 -0
  136. package/.kiro/skills/supabase-postgres-best-practices/references/lock-short-transactions.md +50 -0
  137. package/.kiro/skills/supabase-postgres-best-practices/references/lock-skip-locked.md +54 -0
  138. package/.kiro/skills/supabase-postgres-best-practices/references/monitor-explain-analyze.md +45 -0
  139. package/.kiro/skills/supabase-postgres-best-practices/references/monitor-pg-stat-statements.md +55 -0
  140. package/.kiro/skills/supabase-postgres-best-practices/references/monitor-vacuum-analyze.md +55 -0
  141. package/.kiro/skills/supabase-postgres-best-practices/references/query-composite-indexes.md +44 -0
  142. package/.kiro/skills/supabase-postgres-best-practices/references/query-covering-indexes.md +40 -0
  143. package/.kiro/skills/supabase-postgres-best-practices/references/query-index-types.md +48 -0
  144. package/.kiro/skills/supabase-postgres-best-practices/references/query-missing-indexes.md +43 -0
  145. package/.kiro/skills/supabase-postgres-best-practices/references/query-partial-indexes.md +45 -0
  146. package/.kiro/skills/supabase-postgres-best-practices/references/schema-constraints.md +80 -0
  147. package/.kiro/skills/supabase-postgres-best-practices/references/schema-data-types.md +46 -0
  148. package/.kiro/skills/supabase-postgres-best-practices/references/schema-foreign-key-indexes.md +59 -0
  149. package/.kiro/skills/supabase-postgres-best-practices/references/schema-lowercase-identifiers.md +55 -0
  150. package/.kiro/skills/supabase-postgres-best-practices/references/schema-partitioning.md +55 -0
  151. package/.kiro/skills/supabase-postgres-best-practices/references/schema-primary-keys.md +61 -0
  152. package/.kiro/skills/supabase-postgres-best-practices/references/security-privileges.md +54 -0
  153. package/.kiro/skills/supabase-postgres-best-practices/references/security-rls-basics.md +50 -0
  154. package/.kiro/skills/supabase-postgres-best-practices/references/security-rls-performance.md +63 -0
  155. package/.kiro/steering/database.md +2 -2
  156. package/.kiro/steering/kiro-overview.md +1 -1
  157. package/.kiro/steering/tech-stack.md +2 -1
  158. package/AGENTS.md +20 -1
  159. package/README.md +26 -13
  160. package/bin/class-ai-agent.cjs +8 -2
  161. package/package.json +6 -2
package/README.md CHANGED
@@ -18,7 +18,7 @@ Open-source AI agent scaffolding by **Royal Solution** — use it in your own pr
18
18
  <a href="https://www.npmjs.com/package/class-ai-agent"><img src="https://img.shields.io/npm/v/class-ai-agent?label=npm&logo=npm&style=flat-square" alt="npm version" /></a>
19
19
  <img src="https://img.shields.io/badge/node-%3E%3D16.7-339933?logo=node.js&logoColor=white&style=flat-square" alt="Node.js 16.7+" />
20
20
  <img src="https://img.shields.io/badge/license-MIT-blue?style=flat-square" alt="License MIT" />
21
- <img src="https://img.shields.io/badge/version-1.3.0-blue?style=flat-square" alt="Version" />
21
+ <img src="https://img.shields.io/badge/version-1.4.1-blue?style=flat-square" alt="Version" />
22
22
  </p>
23
23
 
24
24
  </div>
@@ -53,7 +53,7 @@ Open-source AI agent scaffolding by **Royal Solution** — use it in your own pr
53
53
  |--------|---------|
54
54
  | **Three layouts** | **`.claude/`** (Claude Code), **`.cursor/`** (Cursor), **`.kiro/`** (Kiro steering + MCP) |
55
55
  | **One workflow** | Spec → Plan → Build → Test → Review → Ship |
56
- | **10 agent personas** | Frontend, backend, architect, review, QA, security, PM, UX, SEO, test engineer |
56
+ | **11 agent personas** | Frontend, backend, architect, review, QA, security, BA, PM, UX, SEO, test engineer |
57
57
  | **13 topic rules** | Code style, security, API, DB, testing, git, and more (same ideas in both trees) |
58
58
  | **`npx` installer** | Copies the folders into your project in one command |
59
59
  | **CodeGraph** | MCP + usage rules for Cursor and Kiro; local index via [CodeGraph](https://github.com/colbymchenry/codegraph) |
@@ -150,14 +150,14 @@ What is inside:
150
150
 
151
151
  - **Structured workflow** (Spec → Plan → Build → Test → Review → Ship)
152
152
  - **10 specialized agents** (markdown personas under `agents/`)
153
- - **13 mandatory topic rules** (plus **`cursor-overview.mdc`** under `.cursor/rules/`)
153
+ - **13 mandatory topic rules** (plus **`cursor-overview.mdc`**, **`codegraph.mdc`**, and **`agent-continuity.mdc`** under `.cursor/rules/`)
154
154
  - **11 workflow prompts** under `commands/` (includes `handoff`, `resume`)
155
- - **7 skills** (TDD, code review, incremental implementation, deploy, security review, agent continuity, UI/UX Pro Max)
156
- - **6 reference docs** (security, testing, performance, accessibility, codegraph, agent-continuity)
155
+ - **9 skills** (TDD, code review, incremental implementation, deploy, security review, agent continuity, UI/UX Pro Max, **supabase**, **supabase-postgres-best-practices**)
156
+ - **7 reference docs** (security, testing, performance, accessibility, codegraph, agent-continuity, **supabase**)
157
157
  - **`.agent/SESSION.md`** for cross-tool session handoff
158
- - **CodeGraph MCP** for Cursor and Kiro (`.cursor/mcp.json`, `.kiro/settings/mcp.json`)
158
+ - **CodeGraph + Supabase MCP** for Cursor and Kiro (`.cursor/mcp.json`, `.kiro/settings/mcp.json`)
159
159
 
160
- Keep **`.claude/`**, **`.cursor/`**, and **`.kiro/`** in sync when you change standards. After editing `.cursor/`, run **`npm run sync:kiro`** (or `node scripts/sync-kiro-from-cursor.mjs`) to refresh `.kiro/`.
160
+ Keep **`.claude/`**, **`.cursor/`**, and **`.kiro/`** in sync when you change standards. After editing `.cursor/` (canonical), run **`npm run sync:all`** to refresh `.claude/` and `.kiro/`.
161
161
 
162
162
  ---
163
163
 
@@ -203,7 +203,7 @@ At session boundaries, use **`/handoff`** before switching tools and **`/resume`
203
203
  ├── CLAUDE.md # Main configuration
204
204
  ├── commands/ # 11 workflow prompts (spec, plan, build, handoff, resume, …)
205
205
  ├── agents/ # 10 personas
206
- ├── rules/ # 14 mandatory topic rules (.md)
206
+ ├── rules/ # 15 mandatory topic rules (.md, synced from .cursor/)
207
207
  ├── skills/ # TDD, review, deploy, …
208
208
  ├── references/ # Checklists + codegraph.md
209
209
  └── settings.json
@@ -224,7 +224,7 @@ Same ideas as `.claude/` for `commands/`, `agents/`, `skills/`, `references/`. D
224
224
  ```
225
225
  .cursor/
226
226
  ├── CURSOR.md
227
- ├── mcp.json # CodeGraph MCP (npx @colbymchenry/codegraph)
227
+ ├── mcp.json # CodeGraph + Supabase MCP
228
228
  ├── settings.json
229
229
  ├── commands/
230
230
  ├── agents/
@@ -250,7 +250,7 @@ Mirrors `.cursor/` for `commands/`, `agents/`, `skills/`, `references/`. Kiro us
250
250
  .kiro/
251
251
  ├── KIRO.md
252
252
  ├── settings/
253
- │ └── mcp.json # CodeGraph MCP
253
+ │ └── mcp.json # CodeGraph + Supabase MCP
254
254
  ├── settings.json
255
255
  ├── steering/ # kiro-overview.md, security.md, codegraph.md, …
256
256
  ├── commands/
@@ -259,7 +259,7 @@ Mirrors `.cursor/` for `commands/`, `agents/`, `skills/`, `references/`. Kiro us
259
259
  └── references/
260
260
  ```
261
261
 
262
- Regenerate from `.cursor/` after rule changes: `npm run sync:kiro`.
262
+ Regenerate from `.cursor/` after rule changes: `npm run sync:all`.
263
263
 
264
264
  ### Skill notes
265
265
 
@@ -330,7 +330,9 @@ Use **`.claude/rules/*.md`** or **`.cursor/rules/*.mdc`** (paired content; Curso
330
330
 
331
331
  **Cursor** — prompts live under **`.cursor/commands/`**. Open the file, copy the section you need, or **`@`** it (e.g. `@.cursor/commands/spec.md`).
332
332
 
333
- **Agents** — describe the role in natural language, or in Cursor **`@`** an agent file, e.g. `@.cursor/agents/code-reviewer.md`.
333
+ **Kiro** — prompts live under **`.kiro/commands/`**. Open the file, paste or attach in chat, or reference it when running a slash workflow. Restart Kiro after install so MCP (CodeGraph, Supabase) connects.
334
+
335
+ **Agents** — describe the role in natural language, or **`@`** (Cursor) / reference (Claude, Kiro) an agent file, e.g. `@.cursor/agents/code-reviewer.md` or `.kiro/agents/code-reviewer.md`.
334
336
 
335
337
  ---
336
338
 
@@ -366,6 +368,17 @@ Ship thin end-to-end slices (DB + API + UI), not “all models first, then all r
366
368
 
367
369
 
368
370
 
371
+ ### 1.4.1 — 2026-06-17
372
+
373
+ - Add **Business Analyst** agent persona (BABOK v3) for Cursor, Claude Code, and Kiro
374
+ - Document Business Analyst in hub agent tables (`.cursor/CURSOR.md`, `.claude/CLAUDE.md`, `.kiro/KIRO.md`)
375
+
376
+ ### 1.4.0 — 2026-06-02
377
+
378
+ - Bundle official **Supabase Agent Skills** (`supabase`, `supabase-postgres-best-practices`) for Cursor, Claude Code, and Kiro
379
+ - Add **Supabase MCP** (`https://mcp.supabase.com/mcp?features=docs`) alongside CodeGraph in `.cursor/mcp.json` and `.kiro/settings/mcp.json`
380
+ - Add `.cursor/references/supabase.md`, `THIRD_PARTY_NOTICES.md`, and maintainer command `npm run sync:supabase-skills` (pinned to [supabase/agent-skills](https://github.com/supabase/agent-skills) v0.1.5)
381
+
369
382
  ### 1.3.0 — 2026-06-02
370
383
 
371
384
  - Add **Kiro** support (steering, commands, MCP) with `npm run sync:kiro` to keep `.kiro/` aligned with `.cursor/`
@@ -380,7 +393,7 @@ Ship thin end-to-end slices (DB + API + UI), not “all models first, then all r
380
393
  2. Keep tests green.
381
394
  3. Run **`/review`** before opening a PR.
382
395
  4. Use [conventional commits](https://www.conventionalcommits.org/).
383
- 5. Update **`.claude/`**, **`.cursor/`**, and **`.kiro/`** when rules or workflows change (run `npm run sync:kiro` after `.cursor/` edits).
396
+ 5. Update **`.cursor/`** when rules or workflows change, then run **`npm run sync:all`** to refresh `.claude/` and `.kiro/`; run **`npm run sync:supabase-skills`** to refresh vendored Supabase skills.
384
397
 
385
398
  ---
386
399
 
@@ -37,6 +37,10 @@ CodeGraph:
37
37
  After install, runs "npx @colbymchenry/codegraph init -i" in the target directory
38
38
  (Node 20+ recommended). Set CODEGRAPH_SKIP_INIT=1 to skip indexing.
39
39
 
40
+ Supabase:
41
+ Bundled skills under skills/supabase/ and skills/supabase-postgres-best-practices/.
42
+ MCP: https://mcp.supabase.com/mcp (OAuth on first use). Reload Cursor / restart Kiro after install.
43
+
40
44
  Examples:
41
45
  npx class-ai-agent
42
46
  npx class-ai-agent --dir ./my-app
@@ -304,10 +308,12 @@ function run(opts) {
304
308
  if (installKiro) hints.push('.kiro/KIRO.md');
305
309
  console.log(`\nDone. Next steps: read ${hints.join(', ')}.`);
306
310
  if (installCursor) {
307
- console.log(' Cursor: reload the window so CodeGraph MCP loads (.cursor/mcp.json).');
311
+ console.log(' Cursor: reload the window so MCP loads (.cursor/mcp.json — CodeGraph + Supabase).');
312
+ console.log(' Supabase: complete OAuth in the browser when you first use Supabase MCP tools.');
308
313
  }
309
314
  if (installKiro) {
310
- console.log(' Kiro: restart IDE/CLI so CodeGraph MCP loads (.kiro/settings/mcp.json).');
315
+ console.log(' Kiro: restart IDE/CLI so MCP loads (.kiro/settings/mcp.json — CodeGraph + Supabase).');
316
+ console.log(' Supabase: complete OAuth when you first use Supabase MCP tools.');
311
317
  }
312
318
  if (shouldInstallAgentDir(opts)) {
313
319
  console.log(' Continuity: edit .agent/SESSION.md at session end (/handoff); read at start (/resume).');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "class-ai-agent",
3
- "version": "1.3.0",
3
+ "version": "1.4.1",
4
4
  "description": "Production-grade AI agent configuration for Claude Code, Cursor & Kiro",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -17,6 +17,7 @@
17
17
  "cursor",
18
18
  "kiro",
19
19
  "codegraph",
20
+ "supabase",
20
21
  "ai",
21
22
  "agent",
22
23
  "scaffold"
@@ -39,7 +40,10 @@
39
40
  "scripts": {
40
41
  "prepack": "node -e \"const fs=require('fs');['.agent','.claude','.cursor','.kiro','AGENTS.md'].forEach(p=>{if(!fs.existsSync(p))process.exit(1)})\"",
41
42
  "sync:kiro": "node scripts/sync-kiro-from-cursor.mjs",
43
+ "sync:claude": "node scripts/sync-claude-from-cursor.mjs",
44
+ "sync:all": "node scripts/sync-all.mjs",
45
+ "sync:supabase-skills": "node scripts/sync-supabase-skills.mjs",
42
46
  "release:readme": "node scripts/update-readme-release.mjs",
43
- "test:cli": "node bin/class-ai-agent.cjs --help && node bin/class-ai-agent.cjs --version && node -e \"const fs=require('fs');const c=JSON.parse(fs.readFileSync('.cursor/mcp.json','utf8'));const k=JSON.parse(fs.readFileSync('.kiro/settings/mcp.json','utf8'));if(!c.mcpServers?.codegraph||!k.mcpServers?.codegraph)throw new Error('missing codegraph MCP');if(!fs.existsSync('.cursor/rules/codegraph.mdc'))throw new Error('missing codegraph.mdc');if(!fs.existsSync('.kiro/steering/codegraph.md'))throw new Error('missing kiro codegraph steering');if(!fs.existsSync('.agent/SESSION.template.md'))throw new Error('missing SESSION.template');if(!fs.existsSync('.cursor/rules/agent-continuity.mdc'))throw new Error('missing agent-continuity.mdc');if(!fs.existsSync('.kiro/steering/agent-continuity.md'))throw new Error('missing kiro agent-continuity steering');if(!fs.existsSync('.cursor/commands/handoff.md')||!fs.existsSync('.cursor/commands/resume.md'))throw new Error('missing handoff/resume commands');\""
47
+ "test:cli": "node bin/class-ai-agent.cjs --help && node bin/class-ai-agent.cjs --version && node -e \"const fs=require('fs');const c=JSON.parse(fs.readFileSync('.cursor/mcp.json','utf8'));const k=JSON.parse(fs.readFileSync('.kiro/settings/mcp.json','utf8'));if(!c.mcpServers?.codegraph||!k.mcpServers?.codegraph)throw new Error('missing codegraph MCP');if(!c.mcpServers?.supabase?.url?.includes('mcp.supabase.com')||!k.mcpServers?.supabase?.url?.includes('mcp.supabase.com'))throw new Error('missing supabase MCP');if(!fs.existsSync('.cursor/skills/supabase/SKILL.md')||!fs.existsSync('.cursor/skills/supabase-postgres-best-practices/SKILL.md'))throw new Error('missing supabase skills');if(!fs.existsSync('.claude/skills/supabase/SKILL.md'))throw new Error('missing claude supabase skill');if(!fs.existsSync('.cursor/references/supabase.md'))throw new Error('missing supabase reference');if(!fs.existsSync('scripts/sync-supabase-skills.mjs'))throw new Error('missing sync-supabase-skills');if(!fs.existsSync('.cursor/rules/codegraph.mdc'))throw new Error('missing codegraph.mdc');if(!fs.existsSync('.claude/rules/codegraph.md'))throw new Error('missing claude codegraph rule');if(!fs.existsSync('.kiro/steering/codegraph.md'))throw new Error('missing kiro codegraph steering');if(!fs.existsSync('.agent/SESSION.template.md'))throw new Error('missing SESSION.template');if(!fs.existsSync('.cursor/rules/agent-continuity.mdc'))throw new Error('missing agent-continuity.mdc');if(!fs.existsSync('.kiro/steering/agent-continuity.md'))throw new Error('missing kiro agent-continuity steering');if(!fs.existsSync('.cursor/commands/handoff.md')||!fs.existsSync('.cursor/commands/resume.md'))throw new Error('missing handoff/resume commands');\" && node scripts/check-parity.mjs"
44
48
  }
45
49
  }