class-ai-agent 1.6.1 → 1.6.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.
@@ -28,7 +28,7 @@ Supporting workflows: `debug`, `simplify`, `fix-issue`, `handoff`, `resume` in `
28
28
  - Prefer **tests first** and **small vertical slices** (see `.agents/skills/incremental-implementation/`).
29
29
  - Use **`.agents/references/`** for checklists (security, testing, performance, accessibility).
30
30
  - For **structural** code questions, prefer **CodeGraph** MCP tools per **`.agent/rules/codegraph.md`**.
31
- - When the user wants a **visual call graph**, use **OntoSight CLI** per **`.agent/rules/ontosight.md`** (`npx @royalsolution/ontosight`).
31
+ - When the user wants a **visual call graph**, use **OntoSight CLI** per **`.agent/rules/ontosight.md`** (`npx @royalsolution/ontosight@0.2.0`).
32
32
 
33
33
  ## Agents (personas)
34
34
 
@@ -23,7 +23,7 @@ Use codegraph for **structural** questions — what calls what, what would break
23
23
  | "See several related symbols' source at once" | `codegraph_explore` |
24
24
  | "What files exist under path/" | `codegraph_files` |
25
25
  | "Is the index healthy?" | `codegraph_status` |
26
- | Visual exploration of a subgraph in browser | `npx @royalsolution/ontosight` (see **`.agent/rules/ontosight.md`**) |
26
+ | Visual exploration of a subgraph in browser | `npx @royalsolution/ontosight@0.2.0` (see **`.agent/rules/ontosight.md`**) |
27
27
  | "Show/demonstrate impact of changing Z" | `codegraph_impact` → then OntoSight `--symbol Z` (see **`.agent/rules/ontosight.md`**) |
28
28
 
29
29
  ### Visualization
@@ -14,7 +14,7 @@ See **`.agent/rules/codegraph.md`** for MCP usage and **`.agents/references/onto
14
14
  | Goal | Use |
15
15
  |------|-----|
16
16
  | Find symbols, callers, traces, impact (text in chat) | `codegraph_*` MCP tools |
17
- | Visual exploration of a subgraph | `npx @royalsolution/ontosight` |
17
+ | Visual exploration of a subgraph | `npx @royalsolution/ontosight@0.2.0` |
18
18
  | User says "show me the graph" | OntoSight CLI |
19
19
  | Impact / blast radius demonstration | `codegraph_impact` → summary → OntoSight CLI |
20
20
 
@@ -46,7 +46,7 @@ Do **not** run OntoSight to collect agent context — that duplicates CodeGraph
46
46
  3. Read **`.agents/skills/ui-ux-pro-max/IMPACT-DEMO.md`** — presentation checklist (use your tool's skills path: `.agents/skills/`, `.agents/skills/`, `.agents/skills/`)
47
47
  4. Optional: run ui-ux-pro-max searches from the playbook for chart/UX framing
48
48
  5. Summarize in chat: seed symbol, top impacted callers, risk tier, what the graph will highlight
49
- 6. `npx @royalsolution/ontosight . --symbol <name> --path <dir> --hops 3 --max-nodes 200`
49
+ 6. `npx @royalsolution/ontosight@0.2.0 . --symbol <name> --path <dir> --hops 3 --max-nodes 200`
50
50
 
51
51
  **Hop guidance:** use `--hops 3` (or `4` for deep trees) for impact demos; prefer `--path` over raising `--max-nodes` when truncated.
52
52
 
@@ -58,23 +58,23 @@ Do **not** run OntoSight to collect agent context — that duplicates CodeGraph
58
58
 
59
59
  1. `codegraph_search({ query: "<name>" })` → confirm file + kind
60
60
  2. Summarize in chat
61
- 3. `npx @royalsolution/ontosight . --symbol <name> --path <dir-from-search>`
61
+ 3. `npx @royalsolution/ontosight@0.2.0 . --symbol <name> --path <dir-from-search>`
62
62
 
63
63
  **Feature area ("how does auth work?"):**
64
64
 
65
65
  1. `codegraph_context({ task: "authentication flow", maxNodes: 20 })`
66
66
  2. Summarize key symbols in chat
67
- 3. `npx @royalsolution/ontosight . --task "authentication flow" --hops 2 --max-nodes 200`
67
+ 3. `npx @royalsolution/ontosight@0.2.0 . --task "authentication flow" --hops 2 --max-nodes 200`
68
68
 
69
69
  **Large repo:** prefer `--path` or `--symbol` before raising `--max-nodes`.
70
70
 
71
71
  ### Commands
72
72
 
73
73
  ```bash
74
- npx @royalsolution/ontosight .
75
- npx @royalsolution/ontosight . --symbol <name> --path <dir>
76
- npx @royalsolution/ontosight . --task "auth flow" --hops 2 --max-nodes 200
77
- npx @royalsolution/ontosight . --symbol <name> --path <dir> --hops 3 --max-nodes 200
74
+ npx @royalsolution/ontosight@0.2.0 .
75
+ npx @royalsolution/ontosight@0.2.0 . --symbol <name> --path <dir>
76
+ npx @royalsolution/ontosight@0.2.0 . --task "auth flow" --hops 2 --max-nodes 200
77
+ npx @royalsolution/ontosight@0.2.0 . --symbol <name> --path <dir> --hops 3 --max-nodes 200
78
78
  ```
79
79
 
80
80
  Auto-creates the CodeGraph index when `.codegraph/codegraph.db` is missing (unless `ONTOSIGHT_SKIP_AUTO_INIT=1`). Ask the user before auto-init on very large repos.
@@ -83,7 +83,7 @@ Auto-creates the CodeGraph index when `.codegraph/codegraph.db` is missing (unle
83
83
 
84
84
  | Requirement | Notes |
85
85
  |-------------|-------|
86
- | Node 20+ | For `npx @royalsolution/ontosight` |
86
+ | Node 20+ | For `npx @royalsolution/ontosight@0.2.0` |
87
87
  | Python 3.11+ | Used by `ontosight-codegraph` |
88
88
  | uv (recommended) or pipx | Wrapper tries `uvx` first, then `pipx run` |
89
89
  | CodeGraph index | `.codegraph/codegraph.db` in project root |
@@ -89,6 +89,6 @@ Example — correct:
89
89
 
90
90
  ## Visualization (OntoSight)
91
91
 
92
- For interactive call-graph exploration in the browser, use **[OntoSight](https://www.npmjs.com/package/@royalsolution/ontosight)** (`npx @royalsolution/ontosight`). Gather facts with `codegraph_*` first; open OntoSight when the user wants a visual UI. See [`.cursor/references/ontosight.md`](ontosight.md).
92
+ For interactive call-graph exploration in the browser, use **[OntoSight](https://www.npmjs.com/package/@royalsolution/ontosight)** (`npx @royalsolution/ontosight@0.2.0`). Gather facts with `codegraph_*` first; open OntoSight when the user wants a visual UI. See [`.cursor/references/ontosight.md`](ontosight.md).
93
93
 
94
94
  Upstream: [colbymchenry/codegraph](https://github.com/colbymchenry/codegraph)
@@ -2,6 +2,8 @@
2
2
 
3
3
  [OntoSight](https://www.npmjs.com/package/@royalsolution/ontosight) visualizes [CodeGraph](https://github.com/colbymchenry/codegraph) call subgraphs in an interactive browser UI. **class-ai-agent** installs usage rules across all four agent trees; invocation is via `npx` (no npm dependency).
4
4
 
5
+ **Recommended version:** `@royalsolution/ontosight@0.2.0` (pins PyPI `ontosight-codegraph` 0.2.0). Use unpinned `npx @royalsolution/ontosight@0.2.0` only when the user explicitly wants latest.
6
+
5
7
  OntoSight complements CodeGraph MCP — use `codegraph_*` for structural facts in chat; use OntoSight when the user wants visual exploration. See also [`.cursor/references/codegraph.md`](codegraph.md).
6
8
 
7
9
  ## Per-tool wiring
@@ -17,13 +19,13 @@ OntoSight complements CodeGraph MCP — use `codegraph_*` for structural facts i
17
19
 
18
20
  ```bash
19
21
  # Full project — seeds from highest fan-in symbols
20
- npx @royalsolution/ontosight .
22
+ npx @royalsolution/ontosight@0.2.0 .
21
23
 
22
24
  # Seed around a symbol (optionally scoped to a path)
23
- npx @royalsolution/ontosight . --symbol view_graph --path src/auth/
25
+ npx @royalsolution/ontosight@0.2.0 . --symbol view_graph --path src/auth/
24
26
 
25
27
  # Task-scoped subgraph (keyword FTS seeding)
26
- npx @royalsolution/ontosight . --task "auth flow" --hops 2 --max-nodes 200
28
+ npx @royalsolution/ontosight@0.2.0 . --task "auth flow" --hops 2 --max-nodes 200
27
29
  ```
28
30
 
29
31
  Auto-creates the CodeGraph index when `.codegraph/codegraph.db` is missing (unless `ONTOSIGHT_SKIP_AUTO_INIT=1`).
@@ -48,7 +50,7 @@ Auto-creates the CodeGraph index when `.codegraph/codegraph.db` is missing (unle
48
50
  ```text
49
51
  1. codegraph_search({ query: "view_graph" }) → confirm file + kind
50
52
  2. Tell user what you found
51
- 3. npx @royalsolution/ontosight . --symbol view_graph --path <dir-from-search>
53
+ 3. npx @royalsolution/ontosight@0.2.0 . --symbol view_graph --path <dir-from-search>
52
54
  ```
53
55
 
54
56
  ### Feature area ("how does auth work?")
@@ -56,7 +58,7 @@ Auto-creates the CodeGraph index when `.codegraph/codegraph.db` is missing (unle
56
58
  ```text
57
59
  1. codegraph_context({ task: "authentication flow", maxNodes: 20 })
58
60
  2. Summarize key symbols in chat
59
- 3. npx @royalsolution/ontosight . --task "authentication flow" --hops 2 --max-nodes 200
61
+ 3. npx @royalsolution/ontosight@0.2.0 . --task "authentication flow" --hops 2 --max-nodes 200
60
62
  ```
61
63
 
62
64
  ### Impact analysis demonstration
@@ -73,13 +75,13 @@ When the user wants to **know** or **see** impact (blast radius, what breaks, do
73
75
  3. Read skills/ui-ux-pro-max/IMPACT-DEMO.md → UX presentation checklist
74
76
  4. Optional: ui-ux-pro-max chart/ux searches (see playbook)
75
77
  5. Summarize in chat (seed, ranked table, what graph shows)
76
- 6. npx @royalsolution/ontosight . --symbol <name> --path <dir> --hops 3 --max-nodes 200
78
+ 6. npx @royalsolution/ontosight@0.2.0 . --symbol <name> --path <dir> --hops 3 --max-nodes 200
77
79
  ```
78
80
 
79
81
  **Example:**
80
82
 
81
83
  ```bash
82
- npx @royalsolution/ontosight . --symbol deleteUser --path src/services/ --hops 3 --max-nodes 200
84
+ npx @royalsolution/ontosight@0.2.0 . --symbol deleteUser --path src/services/ --hops 3 --max-nodes 200
83
85
  ```
84
86
 
85
87
  **UX:** Always text summary before opening the browser; include a ranked table of top impacted symbols (accessible alternative to graph-only). See [IMPACT-DEMO.md](../skills/ui-ux-pro-max/IMPACT-DEMO.md).
@@ -104,7 +106,7 @@ npx @colbymchenry/codegraph init -i
104
106
 
105
107
  | Requirement | Notes |
106
108
  |-------------|-------|
107
- | Node 20+ | For `npx @royalsolution/ontosight` |
109
+ | Node 20+ | For `npx @royalsolution/ontosight@0.2.0` |
108
110
  | Python 3.11+ | Used by `ontosight-codegraph` |
109
111
  | uv (recommended) or pipx | Wrapper tries `uvx` first, then `pipx run` |
110
112
  | CodeGraph index | `.codegraph/codegraph.db` in project root |
@@ -46,7 +46,7 @@ Use for: summary-before-graph; tell the user what OntoSight is loading and what
46
46
 
47
47
  ## Chat summary template
48
48
 
49
- Present this **before** running `npx @royalsolution/ontosight`:
49
+ Present this **before** running `npx @royalsolution/ontosight@0.2.0`:
50
50
 
51
51
  ### 1. Seed
52
52
 
@@ -74,7 +74,7 @@ Group by risk: **direct callers** (highest) vs **transitive** (lower).
74
74
  Short line: *"Opening interactive impact graph…"* then run:
75
75
 
76
76
  ```bash
77
- npx @royalsolution/ontosight . --symbol <name> --path <dir-from-search> --hops 3 --max-nodes 200
77
+ npx @royalsolution/ontosight@0.2.0 . --symbol <name> --path <dir-from-search> --hops 3 --max-nodes 200
78
78
  ```
79
79
 
80
80
  ---
@@ -95,7 +95,7 @@ npx @royalsolution/ontosight . --symbol <name> --path <dir-from-search> --hops 3
95
95
  3. Read this file (IMPACT-DEMO.md)
96
96
  4. Optional: ui-ux-pro-max chart/ux searches above
97
97
  5. Chat summary (template sections 1–3)
98
- 6. npx @royalsolution/ontosight . --symbol <name> --path <dir> --hops 3 --max-nodes 200
98
+ 6. npx @royalsolution/ontosight@0.2.0 . --symbol <name> --path <dir> --hops 3 --max-nodes 200
99
99
  ```
100
100
 
101
101
  See **`.agents/references/ontosight.md`** for flags and troubleshooting.
package/.claude/CLAUDE.md CHANGED
@@ -132,7 +132,7 @@ This project includes **[OntoSight](https://www.npmjs.com/package/@royalsolution
132
132
  | Setup reference | `.claude/references/ontosight.md` |
133
133
  | Shared index | `.codegraph/` (same as CodeGraph) |
134
134
 
135
- Use `codegraph_*` MCP tools to gather structural facts in chat; run `npx @royalsolution/ontosight .` when the user wants a visual call graph. For **impact analysis demos**, follow `skills/ui-ux-pro-max/IMPACT-DEMO.md` (search → `codegraph_impact` → summary → graph). Requires Node 20+, Python 3.11+, and uv or pipx.
135
+ Use `codegraph_*` MCP tools to gather structural facts in chat; run `npx @royalsolution/ontosight@0.2.0 .` when the user wants a visual call graph. For **impact analysis demos**, follow `skills/ui-ux-pro-max/IMPACT-DEMO.md` (search → `codegraph_impact` → summary → graph). Requires Node 20+, Python 3.11+, and uv or pipx.
136
136
 
137
137
  ---
138
138
 
@@ -2,6 +2,8 @@
2
2
 
3
3
  [OntoSight](https://www.npmjs.com/package/@royalsolution/ontosight) visualizes [CodeGraph](https://github.com/colbymchenry/codegraph) call subgraphs in an interactive browser UI. **class-ai-agent** installs usage rules across all four agent trees; invocation is via `npx` (no npm dependency).
4
4
 
5
+ **Recommended version:** `@royalsolution/ontosight@0.2.0` (pins PyPI `ontosight-codegraph` 0.2.0). Use unpinned `npx @royalsolution/ontosight@0.2.0` only when the user explicitly wants latest.
6
+
5
7
  OntoSight complements CodeGraph MCP — use `codegraph_*` for structural facts in chat; use OntoSight when the user wants visual exploration. See also [`.cursor/references/codegraph.md`](codegraph.md).
6
8
 
7
9
  ## Per-tool wiring
@@ -17,13 +19,13 @@ OntoSight complements CodeGraph MCP — use `codegraph_*` for structural facts i
17
19
 
18
20
  ```bash
19
21
  # Full project — seeds from highest fan-in symbols
20
- npx @royalsolution/ontosight .
22
+ npx @royalsolution/ontosight@0.2.0 .
21
23
 
22
24
  # Seed around a symbol (optionally scoped to a path)
23
- npx @royalsolution/ontosight . --symbol view_graph --path src/auth/
25
+ npx @royalsolution/ontosight@0.2.0 . --symbol view_graph --path src/auth/
24
26
 
25
27
  # Task-scoped subgraph (keyword FTS seeding)
26
- npx @royalsolution/ontosight . --task "auth flow" --hops 2 --max-nodes 200
28
+ npx @royalsolution/ontosight@0.2.0 . --task "auth flow" --hops 2 --max-nodes 200
27
29
  ```
28
30
 
29
31
  Auto-creates the CodeGraph index when `.codegraph/codegraph.db` is missing (unless `ONTOSIGHT_SKIP_AUTO_INIT=1`).
@@ -48,7 +50,7 @@ Auto-creates the CodeGraph index when `.codegraph/codegraph.db` is missing (unle
48
50
  ```text
49
51
  1. codegraph_search({ query: "view_graph" }) → confirm file + kind
50
52
  2. Tell user what you found
51
- 3. npx @royalsolution/ontosight . --symbol view_graph --path <dir-from-search>
53
+ 3. npx @royalsolution/ontosight@0.2.0 . --symbol view_graph --path <dir-from-search>
52
54
  ```
53
55
 
54
56
  ### Feature area ("how does auth work?")
@@ -56,7 +58,7 @@ Auto-creates the CodeGraph index when `.codegraph/codegraph.db` is missing (unle
56
58
  ```text
57
59
  1. codegraph_context({ task: "authentication flow", maxNodes: 20 })
58
60
  2. Summarize key symbols in chat
59
- 3. npx @royalsolution/ontosight . --task "authentication flow" --hops 2 --max-nodes 200
61
+ 3. npx @royalsolution/ontosight@0.2.0 . --task "authentication flow" --hops 2 --max-nodes 200
60
62
  ```
61
63
 
62
64
  ### Impact analysis demonstration
@@ -73,13 +75,13 @@ When the user wants to **know** or **see** impact (blast radius, what breaks, do
73
75
  3. Read skills/ui-ux-pro-max/IMPACT-DEMO.md → UX presentation checklist
74
76
  4. Optional: ui-ux-pro-max chart/ux searches (see playbook)
75
77
  5. Summarize in chat (seed, ranked table, what graph shows)
76
- 6. npx @royalsolution/ontosight . --symbol <name> --path <dir> --hops 3 --max-nodes 200
78
+ 6. npx @royalsolution/ontosight@0.2.0 . --symbol <name> --path <dir> --hops 3 --max-nodes 200
77
79
  ```
78
80
 
79
81
  **Example:**
80
82
 
81
83
  ```bash
82
- npx @royalsolution/ontosight . --symbol deleteUser --path src/services/ --hops 3 --max-nodes 200
84
+ npx @royalsolution/ontosight@0.2.0 . --symbol deleteUser --path src/services/ --hops 3 --max-nodes 200
83
85
  ```
84
86
 
85
87
  **UX:** Always text summary before opening the browser; include a ranked table of top impacted symbols (accessible alternative to graph-only). See [IMPACT-DEMO.md](../skills/ui-ux-pro-max/IMPACT-DEMO.md).
@@ -104,7 +106,7 @@ npx @colbymchenry/codegraph init -i
104
106
 
105
107
  | Requirement | Notes |
106
108
  |-------------|-------|
107
- | Node 20+ | For `npx @royalsolution/ontosight` |
109
+ | Node 20+ | For `npx @royalsolution/ontosight@0.2.0` |
108
110
  | Python 3.11+ | Used by `ontosight-codegraph` |
109
111
  | uv (recommended) or pipx | Wrapper tries `uvx` first, then `pipx run` |
110
112
  | CodeGraph index | `.codegraph/codegraph.db` in project root |
@@ -19,7 +19,7 @@ Use codegraph for **structural** questions — what calls what, what would break
19
19
  | "See several related symbols' source at once" | `codegraph_explore` |
20
20
  | "What files exist under path/" | `codegraph_files` |
21
21
  | "Is the index healthy?" | `codegraph_status` |
22
- | Visual exploration of a subgraph in browser | `npx @royalsolution/ontosight` (see **`.claude/rules/ontosight.md`**) |
22
+ | Visual exploration of a subgraph in browser | `npx @royalsolution/ontosight@0.2.0` (see **`.claude/rules/ontosight.md`**) |
23
23
  | "Show/demonstrate impact of changing Z" | `codegraph_impact` → then OntoSight `--symbol Z` (see **`.claude/rules/ontosight.md`**) |
24
24
 
25
25
  ### Visualization
@@ -10,7 +10,7 @@ See **`.claude/rules/codegraph.md`** for MCP usage and **`.claude/references/ont
10
10
  | Goal | Use |
11
11
  |------|-----|
12
12
  | Find symbols, callers, traces, impact (text in chat) | `codegraph_*` MCP tools |
13
- | Visual exploration of a subgraph | `npx @royalsolution/ontosight` |
13
+ | Visual exploration of a subgraph | `npx @royalsolution/ontosight@0.2.0` |
14
14
  | User says "show me the graph" | OntoSight CLI |
15
15
  | Impact / blast radius demonstration | `codegraph_impact` → summary → OntoSight CLI |
16
16
 
@@ -42,7 +42,7 @@ Do **not** run OntoSight to collect agent context — that duplicates CodeGraph
42
42
  3. Read **`.claude/skills/ui-ux-pro-max/IMPACT-DEMO.md`** — presentation checklist (use your tool's skills path: `.claude/skills/`, `.kiro/skills/`, `.agents/skills/`)
43
43
  4. Optional: run ui-ux-pro-max searches from the playbook for chart/UX framing
44
44
  5. Summarize in chat: seed symbol, top impacted callers, risk tier, what the graph will highlight
45
- 6. `npx @royalsolution/ontosight . --symbol <name> --path <dir> --hops 3 --max-nodes 200`
45
+ 6. `npx @royalsolution/ontosight@0.2.0 . --symbol <name> --path <dir> --hops 3 --max-nodes 200`
46
46
 
47
47
  **Hop guidance:** use `--hops 3` (or `4` for deep trees) for impact demos; prefer `--path` over raising `--max-nodes` when truncated.
48
48
 
@@ -54,23 +54,23 @@ Do **not** run OntoSight to collect agent context — that duplicates CodeGraph
54
54
 
55
55
  1. `codegraph_search({ query: "<name>" })` → confirm file + kind
56
56
  2. Summarize in chat
57
- 3. `npx @royalsolution/ontosight . --symbol <name> --path <dir-from-search>`
57
+ 3. `npx @royalsolution/ontosight@0.2.0 . --symbol <name> --path <dir-from-search>`
58
58
 
59
59
  **Feature area ("how does auth work?"):**
60
60
 
61
61
  1. `codegraph_context({ task: "authentication flow", maxNodes: 20 })`
62
62
  2. Summarize key symbols in chat
63
- 3. `npx @royalsolution/ontosight . --task "authentication flow" --hops 2 --max-nodes 200`
63
+ 3. `npx @royalsolution/ontosight@0.2.0 . --task "authentication flow" --hops 2 --max-nodes 200`
64
64
 
65
65
  **Large repo:** prefer `--path` or `--symbol` before raising `--max-nodes`.
66
66
 
67
67
  ### Commands
68
68
 
69
69
  ```bash
70
- npx @royalsolution/ontosight .
71
- npx @royalsolution/ontosight . --symbol <name> --path <dir>
72
- npx @royalsolution/ontosight . --task "auth flow" --hops 2 --max-nodes 200
73
- npx @royalsolution/ontosight . --symbol <name> --path <dir> --hops 3 --max-nodes 200
70
+ npx @royalsolution/ontosight@0.2.0 .
71
+ npx @royalsolution/ontosight@0.2.0 . --symbol <name> --path <dir>
72
+ npx @royalsolution/ontosight@0.2.0 . --task "auth flow" --hops 2 --max-nodes 200
73
+ npx @royalsolution/ontosight@0.2.0 . --symbol <name> --path <dir> --hops 3 --max-nodes 200
74
74
  ```
75
75
 
76
76
  Auto-creates the CodeGraph index when `.codegraph/codegraph.db` is missing (unless `ONTOSIGHT_SKIP_AUTO_INIT=1`). Ask the user before auto-init on very large repos.
@@ -79,7 +79,7 @@ Auto-creates the CodeGraph index when `.codegraph/codegraph.db` is missing (unle
79
79
 
80
80
  | Requirement | Notes |
81
81
  |-------------|-------|
82
- | Node 20+ | For `npx @royalsolution/ontosight` |
82
+ | Node 20+ | For `npx @royalsolution/ontosight@0.2.0` |
83
83
  | Python 3.11+ | Used by `ontosight-codegraph` |
84
84
  | uv (recommended) or pipx | Wrapper tries `uvx` first, then `pipx run` |
85
85
  | CodeGraph index | `.codegraph/codegraph.db` in project root |
@@ -46,7 +46,7 @@ Use for: summary-before-graph; tell the user what OntoSight is loading and what
46
46
 
47
47
  ## Chat summary template
48
48
 
49
- Present this **before** running `npx @royalsolution/ontosight`:
49
+ Present this **before** running `npx @royalsolution/ontosight@0.2.0`:
50
50
 
51
51
  ### 1. Seed
52
52
 
@@ -74,7 +74,7 @@ Group by risk: **direct callers** (highest) vs **transitive** (lower).
74
74
  Short line: *"Opening interactive impact graph…"* then run:
75
75
 
76
76
  ```bash
77
- npx @royalsolution/ontosight . --symbol <name> --path <dir-from-search> --hops 3 --max-nodes 200
77
+ npx @royalsolution/ontosight@0.2.0 . --symbol <name> --path <dir-from-search> --hops 3 --max-nodes 200
78
78
  ```
79
79
 
80
80
  ---
@@ -95,7 +95,7 @@ npx @royalsolution/ontosight . --symbol <name> --path <dir-from-search> --hops 3
95
95
  3. Read this file (IMPACT-DEMO.md)
96
96
  4. Optional: ui-ux-pro-max chart/ux searches above
97
97
  5. Chat summary (template sections 1–3)
98
- 6. npx @royalsolution/ontosight . --symbol <name> --path <dir> --hops 3 --max-nodes 200
98
+ 6. npx @royalsolution/ontosight@0.2.0 . --symbol <name> --path <dir> --hops 3 --max-nodes 200
99
99
  ```
100
100
 
101
101
  See **`.cursor/references/ontosight.md`** for flags and troubleshooting.
package/.cursor/CURSOR.md CHANGED
@@ -91,7 +91,7 @@ This project includes **[OntoSight](https://www.npmjs.com/package/@royalsolution
91
91
  | Setup reference | `.cursor/references/ontosight.md` |
92
92
  | Shared index | `.codegraph/` (same as CodeGraph) |
93
93
 
94
- Use `codegraph_*` MCP tools to gather structural facts in chat; run `npx @royalsolution/ontosight .` when the user wants a visual call graph. For **impact analysis demos**, follow `skills/ui-ux-pro-max/IMPACT-DEMO.md` (search → `codegraph_impact` → summary → graph). Requires Node 20+, Python 3.11+, and uv or pipx.
94
+ Use `codegraph_*` MCP tools to gather structural facts in chat; run `npx @royalsolution/ontosight@0.2.0 .` when the user wants a visual call graph. For **impact analysis demos**, follow `skills/ui-ux-pro-max/IMPACT-DEMO.md` (search → `codegraph_impact` → summary → graph). Requires Node 20+, Python 3.11+, and uv or pipx.
95
95
 
96
96
  ---
97
97
 
@@ -86,6 +86,6 @@ Example — correct:
86
86
 
87
87
  ## Visualization (OntoSight)
88
88
 
89
- For interactive call-graph exploration in the browser, use **[OntoSight](https://www.npmjs.com/package/@royalsolution/ontosight)** (`npx @royalsolution/ontosight`). Gather facts with `codegraph_*` first; open OntoSight when the user wants a visual UI. See [`.cursor/references/ontosight.md`](ontosight.md).
89
+ For interactive call-graph exploration in the browser, use **[OntoSight](https://www.npmjs.com/package/@royalsolution/ontosight)** (`npx @royalsolution/ontosight@0.2.0`). Gather facts with `codegraph_*` first; open OntoSight when the user wants a visual UI. See [`.cursor/references/ontosight.md`](ontosight.md).
90
90
 
91
91
  Upstream: [colbymchenry/codegraph](https://github.com/colbymchenry/codegraph)
@@ -2,6 +2,8 @@
2
2
 
3
3
  [OntoSight](https://www.npmjs.com/package/@royalsolution/ontosight) visualizes [CodeGraph](https://github.com/colbymchenry/codegraph) call subgraphs in an interactive browser UI. **class-ai-agent** installs usage rules across all four agent trees; invocation is via `npx` (no npm dependency).
4
4
 
5
+ **Recommended version:** `@royalsolution/ontosight@0.2.0` (pins PyPI `ontosight-codegraph` 0.2.0). Use unpinned `npx @royalsolution/ontosight@0.2.0` only when the user explicitly wants latest.
6
+
5
7
  OntoSight complements CodeGraph MCP — use `codegraph_*` for structural facts in chat; use OntoSight when the user wants visual exploration. See also [`.cursor/references/codegraph.md`](codegraph.md).
6
8
 
7
9
  ## Per-tool wiring
@@ -17,13 +19,13 @@ OntoSight complements CodeGraph MCP — use `codegraph_*` for structural facts i
17
19
 
18
20
  ```bash
19
21
  # Full project — seeds from highest fan-in symbols
20
- npx @royalsolution/ontosight .
22
+ npx @royalsolution/ontosight@0.2.0 .
21
23
 
22
24
  # Seed around a symbol (optionally scoped to a path)
23
- npx @royalsolution/ontosight . --symbol view_graph --path src/auth/
25
+ npx @royalsolution/ontosight@0.2.0 . --symbol view_graph --path src/auth/
24
26
 
25
27
  # Task-scoped subgraph (keyword FTS seeding)
26
- npx @royalsolution/ontosight . --task "auth flow" --hops 2 --max-nodes 200
28
+ npx @royalsolution/ontosight@0.2.0 . --task "auth flow" --hops 2 --max-nodes 200
27
29
  ```
28
30
 
29
31
  Auto-creates the CodeGraph index when `.codegraph/codegraph.db` is missing (unless `ONTOSIGHT_SKIP_AUTO_INIT=1`).
@@ -48,7 +50,7 @@ Auto-creates the CodeGraph index when `.codegraph/codegraph.db` is missing (unle
48
50
  ```text
49
51
  1. codegraph_search({ query: "view_graph" }) → confirm file + kind
50
52
  2. Tell user what you found
51
- 3. npx @royalsolution/ontosight . --symbol view_graph --path <dir-from-search>
53
+ 3. npx @royalsolution/ontosight@0.2.0 . --symbol view_graph --path <dir-from-search>
52
54
  ```
53
55
 
54
56
  ### Feature area ("how does auth work?")
@@ -56,7 +58,7 @@ Auto-creates the CodeGraph index when `.codegraph/codegraph.db` is missing (unle
56
58
  ```text
57
59
  1. codegraph_context({ task: "authentication flow", maxNodes: 20 })
58
60
  2. Summarize key symbols in chat
59
- 3. npx @royalsolution/ontosight . --task "authentication flow" --hops 2 --max-nodes 200
61
+ 3. npx @royalsolution/ontosight@0.2.0 . --task "authentication flow" --hops 2 --max-nodes 200
60
62
  ```
61
63
 
62
64
  ### Impact analysis demonstration
@@ -73,13 +75,13 @@ When the user wants to **know** or **see** impact (blast radius, what breaks, do
73
75
  3. Read skills/ui-ux-pro-max/IMPACT-DEMO.md → UX presentation checklist
74
76
  4. Optional: ui-ux-pro-max chart/ux searches (see playbook)
75
77
  5. Summarize in chat (seed, ranked table, what graph shows)
76
- 6. npx @royalsolution/ontosight . --symbol <name> --path <dir> --hops 3 --max-nodes 200
78
+ 6. npx @royalsolution/ontosight@0.2.0 . --symbol <name> --path <dir> --hops 3 --max-nodes 200
77
79
  ```
78
80
 
79
81
  **Example:**
80
82
 
81
83
  ```bash
82
- npx @royalsolution/ontosight . --symbol deleteUser --path src/services/ --hops 3 --max-nodes 200
84
+ npx @royalsolution/ontosight@0.2.0 . --symbol deleteUser --path src/services/ --hops 3 --max-nodes 200
83
85
  ```
84
86
 
85
87
  **UX:** Always text summary before opening the browser; include a ranked table of top impacted symbols (accessible alternative to graph-only). See [IMPACT-DEMO.md](../skills/ui-ux-pro-max/IMPACT-DEMO.md).
@@ -104,7 +106,7 @@ npx @colbymchenry/codegraph init -i
104
106
 
105
107
  | Requirement | Notes |
106
108
  |-------------|-------|
107
- | Node 20+ | For `npx @royalsolution/ontosight` |
109
+ | Node 20+ | For `npx @royalsolution/ontosight@0.2.0` |
108
110
  | Python 3.11+ | Used by `ontosight-codegraph` |
109
111
  | uv (recommended) or pipx | Wrapper tries `uvx` first, then `pipx run` |
110
112
  | CodeGraph index | `.codegraph/codegraph.db` in project root |
@@ -23,7 +23,7 @@ Use codegraph for **structural** questions — what calls what, what would break
23
23
  | "See several related symbols' source at once" | `codegraph_explore` |
24
24
  | "What files exist under path/" | `codegraph_files` |
25
25
  | "Is the index healthy?" | `codegraph_status` |
26
- | Visual exploration of a subgraph in browser | `npx @royalsolution/ontosight` (see **`.cursor/rules/ontosight.mdc`**) |
26
+ | Visual exploration of a subgraph in browser | `npx @royalsolution/ontosight@0.2.0` (see **`.cursor/rules/ontosight.mdc`**) |
27
27
  | "Show/demonstrate impact of changing Z" | `codegraph_impact` → then OntoSight `--symbol Z` (see **`.cursor/rules/ontosight.mdc`**) |
28
28
 
29
29
  ### Visualization
@@ -28,7 +28,7 @@ Supporting prompts: `debug`, `simplify`, `fix-issue`, `handoff`, `resume` in `.c
28
28
  - Prefer **tests first** and **small vertical slices** (see `.cursor/skills/incremental-implementation/`).
29
29
  - Use **`.cursor/references/`** for checklists (security, testing, performance, accessibility).
30
30
  - For **structural** code questions (symbols, callers, callees, traces, impact), prefer **CodeGraph** MCP tools (`codegraph_*`) per **`.cursor/rules/codegraph.mdc`** instead of grep/read exploration loops.
31
- - When the user wants a **visual call graph**, use **OntoSight CLI** per **`.cursor/rules/ontosight.mdc`** (`npx @royalsolution/ontosight`).
31
+ - When the user wants a **visual call graph**, use **OntoSight CLI** per **`.cursor/rules/ontosight.mdc`** (`npx @royalsolution/ontosight@0.2.0`).
32
32
 
33
33
  ## Agents (personas)
34
34
 
@@ -14,7 +14,7 @@ See **`.cursor/rules/codegraph.mdc`** for MCP usage and **`.cursor/references/on
14
14
  | Goal | Use |
15
15
  |------|-----|
16
16
  | Find symbols, callers, traces, impact (text in chat) | `codegraph_*` MCP tools |
17
- | Visual exploration of a subgraph | `npx @royalsolution/ontosight` |
17
+ | Visual exploration of a subgraph | `npx @royalsolution/ontosight@0.2.0` |
18
18
  | User says "show me the graph" | OntoSight CLI |
19
19
  | Impact / blast radius demonstration | `codegraph_impact` → summary → OntoSight CLI |
20
20
 
@@ -46,7 +46,7 @@ Do **not** run OntoSight to collect agent context — that duplicates CodeGraph
46
46
  3. Read **`.cursor/skills/ui-ux-pro-max/IMPACT-DEMO.md`** — presentation checklist (use your tool's skills path: `.claude/skills/`, `.kiro/skills/`, `.agents/skills/`)
47
47
  4. Optional: run ui-ux-pro-max searches from the playbook for chart/UX framing
48
48
  5. Summarize in chat: seed symbol, top impacted callers, risk tier, what the graph will highlight
49
- 6. `npx @royalsolution/ontosight . --symbol <name> --path <dir> --hops 3 --max-nodes 200`
49
+ 6. `npx @royalsolution/ontosight@0.2.0 . --symbol <name> --path <dir> --hops 3 --max-nodes 200`
50
50
 
51
51
  **Hop guidance:** use `--hops 3` (or `4` for deep trees) for impact demos; prefer `--path` over raising `--max-nodes` when truncated.
52
52
 
@@ -58,23 +58,23 @@ Do **not** run OntoSight to collect agent context — that duplicates CodeGraph
58
58
 
59
59
  1. `codegraph_search({ query: "<name>" })` → confirm file + kind
60
60
  2. Summarize in chat
61
- 3. `npx @royalsolution/ontosight . --symbol <name> --path <dir-from-search>`
61
+ 3. `npx @royalsolution/ontosight@0.2.0 . --symbol <name> --path <dir-from-search>`
62
62
 
63
63
  **Feature area ("how does auth work?"):**
64
64
 
65
65
  1. `codegraph_context({ task: "authentication flow", maxNodes: 20 })`
66
66
  2. Summarize key symbols in chat
67
- 3. `npx @royalsolution/ontosight . --task "authentication flow" --hops 2 --max-nodes 200`
67
+ 3. `npx @royalsolution/ontosight@0.2.0 . --task "authentication flow" --hops 2 --max-nodes 200`
68
68
 
69
69
  **Large repo:** prefer `--path` or `--symbol` before raising `--max-nodes`.
70
70
 
71
71
  ### Commands
72
72
 
73
73
  ```bash
74
- npx @royalsolution/ontosight .
75
- npx @royalsolution/ontosight . --symbol <name> --path <dir>
76
- npx @royalsolution/ontosight . --task "auth flow" --hops 2 --max-nodes 200
77
- npx @royalsolution/ontosight . --symbol <name> --path <dir> --hops 3 --max-nodes 200
74
+ npx @royalsolution/ontosight@0.2.0 .
75
+ npx @royalsolution/ontosight@0.2.0 . --symbol <name> --path <dir>
76
+ npx @royalsolution/ontosight@0.2.0 . --task "auth flow" --hops 2 --max-nodes 200
77
+ npx @royalsolution/ontosight@0.2.0 . --symbol <name> --path <dir> --hops 3 --max-nodes 200
78
78
  ```
79
79
 
80
80
  Auto-creates the CodeGraph index when `.codegraph/codegraph.db` is missing (unless `ONTOSIGHT_SKIP_AUTO_INIT=1`). Ask the user before auto-init on very large repos.
@@ -83,7 +83,7 @@ Auto-creates the CodeGraph index when `.codegraph/codegraph.db` is missing (unle
83
83
 
84
84
  | Requirement | Notes |
85
85
  |-------------|-------|
86
- | Node 20+ | For `npx @royalsolution/ontosight` |
86
+ | Node 20+ | For `npx @royalsolution/ontosight@0.2.0` |
87
87
  | Python 3.11+ | Used by `ontosight-codegraph` |
88
88
  | uv (recommended) or pipx | Wrapper tries `uvx` first, then `pipx run` |
89
89
  | CodeGraph index | `.codegraph/codegraph.db` in project root |
@@ -46,7 +46,7 @@ Use for: summary-before-graph; tell the user what OntoSight is loading and what
46
46
 
47
47
  ## Chat summary template
48
48
 
49
- Present this **before** running `npx @royalsolution/ontosight`:
49
+ Present this **before** running `npx @royalsolution/ontosight@0.2.0`:
50
50
 
51
51
  ### 1. Seed
52
52
 
@@ -74,7 +74,7 @@ Group by risk: **direct callers** (highest) vs **transitive** (lower).
74
74
  Short line: *"Opening interactive impact graph…"* then run:
75
75
 
76
76
  ```bash
77
- npx @royalsolution/ontosight . --symbol <name> --path <dir-from-search> --hops 3 --max-nodes 200
77
+ npx @royalsolution/ontosight@0.2.0 . --symbol <name> --path <dir-from-search> --hops 3 --max-nodes 200
78
78
  ```
79
79
 
80
80
  ---
@@ -95,7 +95,7 @@ npx @royalsolution/ontosight . --symbol <name> --path <dir-from-search> --hops 3
95
95
  3. Read this file (IMPACT-DEMO.md)
96
96
  4. Optional: ui-ux-pro-max chart/ux searches above
97
97
  5. Chat summary (template sections 1–3)
98
- 6. npx @royalsolution/ontosight . --symbol <name> --path <dir> --hops 3 --max-nodes 200
98
+ 6. npx @royalsolution/ontosight@0.2.0 . --symbol <name> --path <dir> --hops 3 --max-nodes 200
99
99
  ```
100
100
 
101
101
  See **`.cursor/references/ontosight.md`** for flags and troubleshooting.
package/.kiro/KIRO.md CHANGED
@@ -99,7 +99,7 @@ This project includes **[OntoSight](https://www.npmjs.com/package/@royalsolution
99
99
  | Setup reference | `.kiro/references/ontosight.md` |
100
100
  | Shared index | `.codegraph/` (same as CodeGraph) |
101
101
 
102
- Use `codegraph_*` MCP tools to gather structural facts in chat; run `npx @royalsolution/ontosight .` when the user wants a visual call graph. For **impact analysis demos**, follow `skills/ui-ux-pro-max/IMPACT-DEMO.md` (search → `codegraph_impact` → summary → graph). Requires Node 20+, Python 3.11+, and uv or pipx.
102
+ Use `codegraph_*` MCP tools to gather structural facts in chat; run `npx @royalsolution/ontosight@0.2.0 .` when the user wants a visual call graph. For **impact analysis demos**, follow `skills/ui-ux-pro-max/IMPACT-DEMO.md` (search → `codegraph_impact` → summary → graph). Requires Node 20+, Python 3.11+, and uv or pipx.
103
103
 
104
104
  ---
105
105
 
@@ -85,6 +85,6 @@ Example — correct:
85
85
 
86
86
  ## Visualization (OntoSight)
87
87
 
88
- For interactive call-graph exploration in the browser, use **[OntoSight](https://www.npmjs.com/package/@royalsolution/ontosight)** (`npx @royalsolution/ontosight`). Gather facts with `codegraph_*` first; open OntoSight when the user wants a visual UI. See [`.cursor/references/ontosight.md`](ontosight.md).
88
+ For interactive call-graph exploration in the browser, use **[OntoSight](https://www.npmjs.com/package/@royalsolution/ontosight)** (`npx @royalsolution/ontosight@0.2.0`). Gather facts with `codegraph_*` first; open OntoSight when the user wants a visual UI. See [`.cursor/references/ontosight.md`](ontosight.md).
89
89
 
90
90
  Upstream: [colbymchenry/codegraph](https://github.com/colbymchenry/codegraph)
@@ -2,6 +2,8 @@
2
2
 
3
3
  [OntoSight](https://www.npmjs.com/package/@royalsolution/ontosight) visualizes [CodeGraph](https://github.com/colbymchenry/codegraph) call subgraphs in an interactive browser UI. **class-ai-agent** installs usage rules across all four agent trees; invocation is via `npx` (no npm dependency).
4
4
 
5
+ **Recommended version:** `@royalsolution/ontosight@0.2.0` (pins PyPI `ontosight-codegraph` 0.2.0). Use unpinned `npx @royalsolution/ontosight@0.2.0` only when the user explicitly wants latest.
6
+
5
7
  OntoSight complements CodeGraph MCP — use `codegraph_*` for structural facts in chat; use OntoSight when the user wants visual exploration. See also [`.cursor/references/codegraph.md`](codegraph.md).
6
8
 
7
9
  ## Per-tool wiring
@@ -17,13 +19,13 @@ OntoSight complements CodeGraph MCP — use `codegraph_*` for structural facts i
17
19
 
18
20
  ```bash
19
21
  # Full project — seeds from highest fan-in symbols
20
- npx @royalsolution/ontosight .
22
+ npx @royalsolution/ontosight@0.2.0 .
21
23
 
22
24
  # Seed around a symbol (optionally scoped to a path)
23
- npx @royalsolution/ontosight . --symbol view_graph --path src/auth/
25
+ npx @royalsolution/ontosight@0.2.0 . --symbol view_graph --path src/auth/
24
26
 
25
27
  # Task-scoped subgraph (keyword FTS seeding)
26
- npx @royalsolution/ontosight . --task "auth flow" --hops 2 --max-nodes 200
28
+ npx @royalsolution/ontosight@0.2.0 . --task "auth flow" --hops 2 --max-nodes 200
27
29
  ```
28
30
 
29
31
  Auto-creates the CodeGraph index when `.codegraph/codegraph.db` is missing (unless `ONTOSIGHT_SKIP_AUTO_INIT=1`).
@@ -48,7 +50,7 @@ Auto-creates the CodeGraph index when `.codegraph/codegraph.db` is missing (unle
48
50
  ```text
49
51
  1. codegraph_search({ query: "view_graph" }) → confirm file + kind
50
52
  2. Tell user what you found
51
- 3. npx @royalsolution/ontosight . --symbol view_graph --path <dir-from-search>
53
+ 3. npx @royalsolution/ontosight@0.2.0 . --symbol view_graph --path <dir-from-search>
52
54
  ```
53
55
 
54
56
  ### Feature area ("how does auth work?")
@@ -56,7 +58,7 @@ Auto-creates the CodeGraph index when `.codegraph/codegraph.db` is missing (unle
56
58
  ```text
57
59
  1. codegraph_context({ task: "authentication flow", maxNodes: 20 })
58
60
  2. Summarize key symbols in chat
59
- 3. npx @royalsolution/ontosight . --task "authentication flow" --hops 2 --max-nodes 200
61
+ 3. npx @royalsolution/ontosight@0.2.0 . --task "authentication flow" --hops 2 --max-nodes 200
60
62
  ```
61
63
 
62
64
  ### Impact analysis demonstration
@@ -73,13 +75,13 @@ When the user wants to **know** or **see** impact (blast radius, what breaks, do
73
75
  3. Read skills/ui-ux-pro-max/IMPACT-DEMO.md → UX presentation checklist
74
76
  4. Optional: ui-ux-pro-max chart/ux searches (see playbook)
75
77
  5. Summarize in chat (seed, ranked table, what graph shows)
76
- 6. npx @royalsolution/ontosight . --symbol <name> --path <dir> --hops 3 --max-nodes 200
78
+ 6. npx @royalsolution/ontosight@0.2.0 . --symbol <name> --path <dir> --hops 3 --max-nodes 200
77
79
  ```
78
80
 
79
81
  **Example:**
80
82
 
81
83
  ```bash
82
- npx @royalsolution/ontosight . --symbol deleteUser --path src/services/ --hops 3 --max-nodes 200
84
+ npx @royalsolution/ontosight@0.2.0 . --symbol deleteUser --path src/services/ --hops 3 --max-nodes 200
83
85
  ```
84
86
 
85
87
  **UX:** Always text summary before opening the browser; include a ranked table of top impacted symbols (accessible alternative to graph-only). See [IMPACT-DEMO.md](../skills/ui-ux-pro-max/IMPACT-DEMO.md).
@@ -104,7 +106,7 @@ npx @colbymchenry/codegraph init -i
104
106
 
105
107
  | Requirement | Notes |
106
108
  |-------------|-------|
107
- | Node 20+ | For `npx @royalsolution/ontosight` |
109
+ | Node 20+ | For `npx @royalsolution/ontosight@0.2.0` |
108
110
  | Python 3.11+ | Used by `ontosight-codegraph` |
109
111
  | uv (recommended) or pipx | Wrapper tries `uvx` first, then `pipx run` |
110
112
  | CodeGraph index | `.codegraph/codegraph.db` in project root |
@@ -46,7 +46,7 @@ Use for: summary-before-graph; tell the user what OntoSight is loading and what
46
46
 
47
47
  ## Chat summary template
48
48
 
49
- Present this **before** running `npx @royalsolution/ontosight`:
49
+ Present this **before** running `npx @royalsolution/ontosight@0.2.0`:
50
50
 
51
51
  ### 1. Seed
52
52
 
@@ -74,7 +74,7 @@ Group by risk: **direct callers** (highest) vs **transitive** (lower).
74
74
  Short line: *"Opening interactive impact graph…"* then run:
75
75
 
76
76
  ```bash
77
- npx @royalsolution/ontosight . --symbol <name> --path <dir-from-search> --hops 3 --max-nodes 200
77
+ npx @royalsolution/ontosight@0.2.0 . --symbol <name> --path <dir-from-search> --hops 3 --max-nodes 200
78
78
  ```
79
79
 
80
80
  ---
@@ -95,7 +95,7 @@ npx @royalsolution/ontosight . --symbol <name> --path <dir-from-search> --hops 3
95
95
  3. Read this file (IMPACT-DEMO.md)
96
96
  4. Optional: ui-ux-pro-max chart/ux searches above
97
97
  5. Chat summary (template sections 1–3)
98
- 6. npx @royalsolution/ontosight . --symbol <name> --path <dir> --hops 3 --max-nodes 200
98
+ 6. npx @royalsolution/ontosight@0.2.0 . --symbol <name> --path <dir> --hops 3 --max-nodes 200
99
99
  ```
100
100
 
101
101
  See **`.cursor/references/ontosight.md`** for flags and troubleshooting.
@@ -23,7 +23,7 @@ Use codegraph for **structural** questions — what calls what, what would break
23
23
  | "See several related symbols' source at once" | `codegraph_explore` |
24
24
  | "What files exist under path/" | `codegraph_files` |
25
25
  | "Is the index healthy?" | `codegraph_status` |
26
- | Visual exploration of a subgraph in browser | `npx @royalsolution/ontosight` (see **`.kiro/rules/ontosight.md`**) |
26
+ | Visual exploration of a subgraph in browser | `npx @royalsolution/ontosight@0.2.0` (see **`.kiro/rules/ontosight.md`**) |
27
27
  | "Show/demonstrate impact of changing Z" | `codegraph_impact` → then OntoSight `--symbol Z` (see **`.kiro/rules/ontosight.md`**) |
28
28
 
29
29
  ### Visualization
@@ -28,7 +28,7 @@ Supporting prompts: `debug`, `simplify`, `fix-issue`, `handoff`, `resume` in `.k
28
28
  - Prefer **tests first** and **small vertical slices** (see `.kiro/skills/incremental-implementation/`).
29
29
  - Use **`.kiro/references/`** for checklists (security, testing, performance, accessibility).
30
30
  - For **structural** code questions, prefer **CodeGraph** MCP tools per **`.kiro/steering/codegraph.md`**.
31
- - When the user wants a **visual call graph**, use **OntoSight CLI** per **`.kiro/steering/ontosight.md`** (`npx @royalsolution/ontosight`).
31
+ - When the user wants a **visual call graph**, use **OntoSight CLI** per **`.kiro/steering/ontosight.md`** (`npx @royalsolution/ontosight@0.2.0`).
32
32
 
33
33
  ## Agents (personas)
34
34
 
@@ -14,7 +14,7 @@ See **`.kiro/rules/codegraph.md`** for MCP usage and **`.kiro/references/ontosig
14
14
  | Goal | Use |
15
15
  |------|-----|
16
16
  | Find symbols, callers, traces, impact (text in chat) | `codegraph_*` MCP tools |
17
- | Visual exploration of a subgraph | `npx @royalsolution/ontosight` |
17
+ | Visual exploration of a subgraph | `npx @royalsolution/ontosight@0.2.0` |
18
18
  | User says "show me the graph" | OntoSight CLI |
19
19
  | Impact / blast radius demonstration | `codegraph_impact` → summary → OntoSight CLI |
20
20
 
@@ -46,7 +46,7 @@ Do **not** run OntoSight to collect agent context — that duplicates CodeGraph
46
46
  3. Read **`.kiro/skills/ui-ux-pro-max/IMPACT-DEMO.md`** — presentation checklist (use your tool's skills path: `.claude/skills/`, `.kiro/skills/`, `.agents/skills/`)
47
47
  4. Optional: run ui-ux-pro-max searches from the playbook for chart/UX framing
48
48
  5. Summarize in chat: seed symbol, top impacted callers, risk tier, what the graph will highlight
49
- 6. `npx @royalsolution/ontosight . --symbol <name> --path <dir> --hops 3 --max-nodes 200`
49
+ 6. `npx @royalsolution/ontosight@0.2.0 . --symbol <name> --path <dir> --hops 3 --max-nodes 200`
50
50
 
51
51
  **Hop guidance:** use `--hops 3` (or `4` for deep trees) for impact demos; prefer `--path` over raising `--max-nodes` when truncated.
52
52
 
@@ -58,23 +58,23 @@ Do **not** run OntoSight to collect agent context — that duplicates CodeGraph
58
58
 
59
59
  1. `codegraph_search({ query: "<name>" })` → confirm file + kind
60
60
  2. Summarize in chat
61
- 3. `npx @royalsolution/ontosight . --symbol <name> --path <dir-from-search>`
61
+ 3. `npx @royalsolution/ontosight@0.2.0 . --symbol <name> --path <dir-from-search>`
62
62
 
63
63
  **Feature area ("how does auth work?"):**
64
64
 
65
65
  1. `codegraph_context({ task: "authentication flow", maxNodes: 20 })`
66
66
  2. Summarize key symbols in chat
67
- 3. `npx @royalsolution/ontosight . --task "authentication flow" --hops 2 --max-nodes 200`
67
+ 3. `npx @royalsolution/ontosight@0.2.0 . --task "authentication flow" --hops 2 --max-nodes 200`
68
68
 
69
69
  **Large repo:** prefer `--path` or `--symbol` before raising `--max-nodes`.
70
70
 
71
71
  ### Commands
72
72
 
73
73
  ```bash
74
- npx @royalsolution/ontosight .
75
- npx @royalsolution/ontosight . --symbol <name> --path <dir>
76
- npx @royalsolution/ontosight . --task "auth flow" --hops 2 --max-nodes 200
77
- npx @royalsolution/ontosight . --symbol <name> --path <dir> --hops 3 --max-nodes 200
74
+ npx @royalsolution/ontosight@0.2.0 .
75
+ npx @royalsolution/ontosight@0.2.0 . --symbol <name> --path <dir>
76
+ npx @royalsolution/ontosight@0.2.0 . --task "auth flow" --hops 2 --max-nodes 200
77
+ npx @royalsolution/ontosight@0.2.0 . --symbol <name> --path <dir> --hops 3 --max-nodes 200
78
78
  ```
79
79
 
80
80
  Auto-creates the CodeGraph index when `.codegraph/codegraph.db` is missing (unless `ONTOSIGHT_SKIP_AUTO_INIT=1`). Ask the user before auto-init on very large repos.
@@ -83,7 +83,7 @@ Auto-creates the CodeGraph index when `.codegraph/codegraph.db` is missing (unle
83
83
 
84
84
  | Requirement | Notes |
85
85
  |-------------|-------|
86
- | Node 20+ | For `npx @royalsolution/ontosight` |
86
+ | Node 20+ | For `npx @royalsolution/ontosight@0.2.0` |
87
87
  | Python 3.11+ | Used by `ontosight-codegraph` |
88
88
  | uv (recommended) or pipx | Wrapper tries `uvx` first, then `pipx run` |
89
89
  | CodeGraph index | `.codegraph/codegraph.db` in project root |
package/AGENTS.md CHANGED
@@ -37,7 +37,7 @@ Project guidance for AI coding agents:
37
37
  ## Code intelligence
38
38
 
39
39
  - **CodeGraph MCP** (`codegraph_*`) — structural code search in chat; rules in each tool's `codegraph` rule file
40
- - **OntoSight** (`npx @royalsolution/ontosight`) — interactive call-graph visualization in the browser; rules in each tool's `ontosight` rule file
40
+ - **OntoSight** (`npx @royalsolution/ontosight@0.2.0`) — interactive call-graph visualization in the browser; rules in each tool's `ontosight` rule file
41
41
 
42
42
  ## Maintainers
43
43
 
package/GEMINI.md CHANGED
@@ -101,7 +101,7 @@ This project includes **[OntoSight](https://www.npmjs.com/package/@royalsolution
101
101
  | Setup reference | `.agents/references/ontosight.md` |
102
102
  | Shared index | `.codegraph/` (same as CodeGraph) |
103
103
 
104
- Use `codegraph_*` MCP tools to gather structural facts in chat; run `npx @royalsolution/ontosight .` when the user wants a visual call graph. Requires Node 20+, Python 3.11+, and uv or pipx.
104
+ Use `codegraph_*` MCP tools to gather structural facts in chat; run `npx @royalsolution/ontosight@0.2.0 .` when the user wants a visual call graph. For **impact analysis demos**, follow `skills/ui-ux-pro-max/IMPACT-DEMO.md` (search → `codegraph_impact` → summary → graph). Requires Node 20+, Python 3.11+, and uv or pipx.
105
105
 
106
106
  ---
107
107
 
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.6.1-blue?style=flat-square" alt="Version" />
21
+ <img src="https://img.shields.io/badge/version-1.6.2-blue?style=flat-square" alt="Version" />
22
22
  </p>
23
23
 
24
24
  </div>
@@ -58,7 +58,7 @@ Open-source AI agent scaffolding by **Royal Solution** — use it in your own pr
58
58
  | **13 topic rules** | Code style, security, API, DB, testing, git, and more (same ideas in both trees) |
59
59
  | **`npx` installer** | Copies the folders into your project in one command |
60
60
  | **CodeGraph** | MCP + usage rules for Cursor and Kiro; Antigravity via user `mcp_config.json`; local index via [CodeGraph](https://github.com/colbymchenry/codegraph) |
61
- | **OntoSight** | Visual call-graph UI via `npx @royalsolution/ontosight`; usage rules synced to all four agent trees |
61
+ | **OntoSight** | Visual call-graph UI via `npx @royalsolution/ontosight@0.2.0`; usage rules synced to all four agent trees |
62
62
  | **Agent continuity** | Committed **`.agent/SESSION.md`** — `/resume` and `/handoff` across Cursor, Claude Code, Kiro, and Antigravity |
63
63
 
64
64
  Root **`AGENTS.md`** links hubs: **`.cursor/CURSOR.md`**, **`.kiro/KIRO.md`**, **`.claude/CLAUDE.md`**, **`GEMINI.md`**.
@@ -151,7 +151,8 @@ npm exec -- class-ai-agent --dir /path/to/your/project
151
151
  | **Kiro** | `.kiro/steering/ontosight.md`, `.kiro/references/ontosight.md` |
152
152
  | **Claude Code** | `.claude/rules/ontosight.md`, `.claude/references/ontosight.md` |
153
153
  | **Antigravity** | `.agent/rules/ontosight.md`, `.agents/references/ontosight.md` |
154
- | **Quick start** | `npx @royalsolution/ontosight .` (auto-inits CodeGraph index if missing) |
154
+ | **Quick start** | `npx @royalsolution/ontosight@0.2.0 .` (auto-inits CodeGraph index if missing) |
155
+ | **Pinned version** | `@royalsolution/ontosight@0.2.0` (`ontosight-codegraph` 0.2.0 on PyPI) |
155
156
  | **Requirements** | Node 20+, Python 3.11+, uv or pipx; shares `.codegraph/` with CodeGraph |
156
157
  | **Troubleshooting** | `.cursor/references/ontosight.md` |
157
158
  | **Impact demos** | `skills/ui-ux-pro-max/IMPACT-DEMO.md` — `codegraph_impact` → UX summary → graph |
@@ -160,7 +161,7 @@ Example agent workflow (feature area):
160
161
 
161
162
  ```text
162
163
  1. codegraph_context({ task: "auth flow", maxNodes: 20 }) → answer in chat
163
- 2. npx @royalsolution/ontosight . --task "auth flow" --hops 2 → open graph for user
164
+ 2. npx @royalsolution/ontosight@0.2.0 . --task "auth flow" --hops 2 → open graph for user
164
165
  ```
165
166
 
166
167
  Example **impact analysis** demo:
@@ -169,7 +170,7 @@ Example **impact analysis** demo:
169
170
  1. codegraph_search({ query: "deleteUser" })
170
171
  2. codegraph_impact({ query: "deleteUser" }) → ranked blast radius in chat
171
172
  3. Follow IMPACT-DEMO.md (ui-ux-pro-max presentation)
172
- 4. npx @royalsolution/ontosight . --symbol deleteUser --path src/services/ --hops 3
173
+ 4. npx @royalsolution/ontosight@0.2.0 . --symbol deleteUser --path src/services/ --hops 3
173
174
  ```
174
175
 
175
176
  ---
@@ -436,6 +437,10 @@ Ship thin end-to-end slices (DB + API + UI), not “all models first, then all r
436
437
 
437
438
 
438
439
 
440
+ ### 1.6.2 — 2026-06-19
441
+
442
+ - Pin agent OntoSight CLI invocations to **`@royalsolution/ontosight@0.2.0`** (latest; `ontosight-codegraph` 0.2.0)
443
+
439
444
  ### 1.6.1 — 2026-06-19
440
445
 
441
446
  - Add **impact analysis demonstration** workflow: `codegraph_impact` → UX summary → OntoSight graph
@@ -444,7 +449,7 @@ Ship thin end-to-end slices (DB + API + UI), not “all models first, then all r
444
449
 
445
450
  ### 1.6.0 — 2026-06-19
446
451
 
447
- - Integrate **[OntoSight](https://www.npmjs.com/package/@royalsolution/ontosight)** — visual CodeGraph call subgraphs via `npx @royalsolution/ontosight`
452
+ - Integrate **[OntoSight](https://www.npmjs.com/package/@royalsolution/ontosight)** — visual CodeGraph call subgraphs via `npx @royalsolution/ontosight@0.2.0`
448
453
  - Add always-on `ontosight` rules and references synced to Cursor, Claude Code, Kiro, and Antigravity
449
454
  - Cross-link CodeGraph rules with OntoSight visualization workflows
450
455
 
@@ -40,7 +40,7 @@ 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 .
43
+ Visual call graphs: npx @royalsolution/ontosight@0.2.0 .
44
44
  Agent rules installed at .cursor/rules/ontosight.mdc (and synced trees).
45
45
  Requires Node 20+, Python 3.11+, uv or pipx.
46
46
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "class-ai-agent",
3
- "version": "1.6.1",
3
+ "version": "1.6.2",
4
4
  "description": "Production-grade AI agent configuration for Claude Code, Cursor, Kiro & Antigravity",
5
5
  "license": "MIT",
6
6
  "repository": {