class-ai-agent 1.6.2 → 1.6.4
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/.agent/SESSION.md +1 -0
- package/.agent/rules/codegraph.md +2 -0
- package/.agent/rules/ontosight.md +55 -12
- package/.agents/references/codegraph.md +3 -1
- package/.agents/references/ontosight.md +40 -16
- package/.agents/skills/ui-ux-pro-max/IMPACT-DEMO.md +7 -6
- package/.claude/references/ontosight.md +40 -16
- package/.claude/rules/codegraph.md +2 -0
- package/.claude/rules/ontosight.md +55 -12
- package/.claude/skills/ui-ux-pro-max/IMPACT-DEMO.md +7 -6
- package/.cursor/references/codegraph.md +3 -1
- package/.cursor/references/ontosight.md +40 -16
- package/.cursor/rules/codegraph.mdc +2 -0
- package/.cursor/rules/ontosight.mdc +55 -12
- package/.cursor/skills/ui-ux-pro-max/IMPACT-DEMO.md +7 -6
- package/.kiro/references/codegraph.md +3 -1
- package/.kiro/references/ontosight.md +40 -16
- package/.kiro/skills/ui-ux-pro-max/IMPACT-DEMO.md +7 -6
- package/.kiro/steering/codegraph.md +2 -0
- package/.kiro/steering/ontosight.md +55 -12
- package/README.md +35 -9
- package/bin/class-ai-agent.cjs +3 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
1
|
-
#
|
|
1
|
+
# class-ai-agent
|
|
2
2
|
|
|
3
|
-
**
|
|
3
|
+
**Give your AI coding agents the same discipline your team expects from production software.**
|
|
4
|
+
|
|
5
|
+
AI assistants like [Cursor](https://cursor.com), [Claude Code](https://code.claude.com/docs), [Kiro](https://kiro.dev), and [Antigravity](https://antigravity.google) move fast—but without shared rules, workflows, and handoff, every session starts from zero and quality depends on whoever wrote the prompt last. **class-ai-agent** is open-source scaffolding you drop into any repository: structured workflows, security guardrails, specialized agent personas, and code intelligence that stays with the project—not in a single chat thread.
|
|
6
|
+
|
|
7
|
+
Install once with `npx class-ai-agent`. You get four parallel layouts (`.cursor/`, `.claude/`, `.kiro/`, `.agents/` + `GEMINI.md`) wired to the same habits: Spec → Plan → Build → Test → Review → Ship. Session continuity lives in committed [`.agent/SESSION.md`](.agent/SESSION.md), so you can switch IDE, teammate, or model and resume with `/handoff` and `/resume`. CodeGraph and OntoSight rules, Supabase skills, and MCP configs ship pre-configured for Cursor and Kiro.
|
|
8
|
+
|
|
9
|
+
**Built for:** developers who want AI speed without sacrificing standards · teams aligning multiple AI tools · repos where security, TDD, and review are non-negotiable.
|
|
4
10
|
|
|
5
11
|
<div align="center">
|
|
6
12
|
|
|
@@ -18,7 +24,7 @@ Open-source AI agent scaffolding by **Royal Solution** — use it in your own pr
|
|
|
18
24
|
<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
25
|
<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
26
|
<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.6.
|
|
27
|
+
<img src="https://img.shields.io/badge/version-1.6.4-blue?style=flat-square" alt="Version" />
|
|
22
28
|
</p>
|
|
23
29
|
|
|
24
30
|
</div>
|
|
@@ -151,7 +157,8 @@ npm exec -- class-ai-agent --dir /path/to/your/project
|
|
|
151
157
|
| **Kiro** | `.kiro/steering/ontosight.md`, `.kiro/references/ontosight.md` |
|
|
152
158
|
| **Claude Code** | `.claude/rules/ontosight.md`, `.claude/references/ontosight.md` |
|
|
153
159
|
| **Antigravity** | `.agent/rules/ontosight.md`, `.agents/references/ontosight.md` |
|
|
154
|
-
| **Quick start** | `npx @royalsolution/ontosight@0.2.0
|
|
160
|
+
| **Quick start** | `npx @royalsolution/ontosight@0.2.0 "<workspace-root>"` — pass absolute workspace root (not bare `.`); auto-inits CodeGraph index if missing |
|
|
161
|
+
| **Project graph** | Preflight with `codegraph_status`; seeds from `codegraph_search` in same project — see `.cursor/rules/ontosight.mdc` |
|
|
155
162
|
| **Pinned version** | `@royalsolution/ontosight@0.2.0` (`ontosight-codegraph` 0.2.0 on PyPI) |
|
|
156
163
|
| **Requirements** | Node 20+, Python 3.11+, uv or pipx; shares `.codegraph/` with CodeGraph |
|
|
157
164
|
| **Troubleshooting** | `.cursor/references/ontosight.md` |
|
|
@@ -160,19 +167,23 @@ npm exec -- class-ai-agent --dir /path/to/your/project
|
|
|
160
167
|
Example agent workflow (feature area):
|
|
161
168
|
|
|
162
169
|
```text
|
|
163
|
-
|
|
164
|
-
|
|
170
|
+
0. codegraph_status({ projectPath: "<workspace-root>" })
|
|
171
|
+
1. codegraph_context({ task: "auth flow", maxNodes: 20, projectPath: "<workspace-root>" }) → answer in chat
|
|
172
|
+
2. npx @royalsolution/ontosight@0.2.0 "<workspace-root>" --task "auth flow" --hops 2 → open graph for user
|
|
165
173
|
```
|
|
166
174
|
|
|
167
175
|
Example **impact analysis** demo:
|
|
168
176
|
|
|
169
177
|
```text
|
|
170
|
-
|
|
171
|
-
|
|
178
|
+
0. codegraph_status({ projectPath: "<workspace-root>" })
|
|
179
|
+
1. codegraph_search({ query: "<symbol>", projectPath: "<workspace-root>" })
|
|
180
|
+
2. codegraph_impact({ query: "<symbol>", projectPath: "<workspace-root>" }) → ranked blast radius in chat
|
|
172
181
|
3. Follow IMPACT-DEMO.md (ui-ux-pro-max presentation)
|
|
173
|
-
4. npx @royalsolution/ontosight@0.2.0
|
|
182
|
+
4. npx @royalsolution/ontosight@0.2.0 "<workspace-root>" --symbol <name> --path <dir> --hops 3
|
|
174
183
|
```
|
|
175
184
|
|
|
185
|
+
**Wrong graph in browser?** OntoSight defaults to shell `cwd` — always pass the absolute workspace root as `[project-path]`. See `.cursor/references/ontosight.md` troubleshooting.
|
|
186
|
+
|
|
176
187
|
---
|
|
177
188
|
|
|
178
189
|
## Overview
|
|
@@ -437,6 +448,21 @@ Ship thin end-to-end slices (DB + API + UI), not “all models first, then all r
|
|
|
437
448
|
|
|
438
449
|
|
|
439
450
|
|
|
451
|
+
|
|
452
|
+
|
|
453
|
+
|
|
454
|
+
|
|
455
|
+
### 1.6.4 — 2026-06-19
|
|
456
|
+
|
|
457
|
+
- Professional README hero introduction — outcome-led copy for developers and teams using Cursor, Claude Code, Kiro, and Antigravity
|
|
458
|
+
- Update npm package description to highlight rules, workflows, agents, CodeGraph, and cross-tool session handoff
|
|
459
|
+
|
|
460
|
+
### 1.6.3 — 2026-06-19
|
|
461
|
+
|
|
462
|
+
- Add **Project graph fidelity** rules for OntoSight — mandatory `codegraph_status` preflight, absolute workspace root as `[project-path]`, seed binding from CodeGraph MCP
|
|
463
|
+
- Replace fragile bare `.` OntoSight examples with `<workspace-root>` across rules, references, IMPACT-DEMO, README, and CLI help
|
|
464
|
+
- Add wrong-graph troubleshooting (foreign repo symbols, MCP/OntoSight path mismatch)
|
|
465
|
+
|
|
440
466
|
### 1.6.2 — 2026-06-19
|
|
441
467
|
|
|
442
468
|
- Pin agent OntoSight CLI invocations to **`@royalsolution/ontosight@0.2.0`** (latest; `ontosight-codegraph` 0.2.0)
|
package/bin/class-ai-agent.cjs
CHANGED
|
@@ -40,7 +40,9 @@ CodeGraph:
|
|
|
40
40
|
(Node 20+ recommended). Set CODEGRAPH_SKIP_INIT=1 to skip indexing.
|
|
41
41
|
|
|
42
42
|
OntoSight:
|
|
43
|
-
Visual call graphs: npx @royalsolution/ontosight@0.2.0
|
|
43
|
+
Visual call graphs: npx @royalsolution/ontosight@0.2.0 "<workspace-root>"
|
|
44
|
+
Pass absolute workspace root as [project-path] (not bare .) so the browser loads this project's graph.
|
|
45
|
+
Preflight with codegraph_status; seed --symbol from codegraph_search in the same project.
|
|
44
46
|
Agent rules installed at .cursor/rules/ontosight.mdc (and synced trees).
|
|
45
47
|
Requires Node 20+, Python 3.11+, uv or pipx.
|
|
46
48
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "class-ai-agent",
|
|
3
|
-
"version": "1.6.
|
|
4
|
-
"description": "Production-grade AI agent
|
|
3
|
+
"version": "1.6.4",
|
|
4
|
+
"description": "Production-grade AI agent scaffolding for Cursor, Claude Code, Kiro & Antigravity — rules, workflows, agents, CodeGraph, and cross-tool handoff.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|