@code-insights/cli 3.3.0 → 3.3.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.
- package/CHANGELOG.md +15 -0
- package/README.md +10 -6
- package/dashboard-dist/assets/{index-cAfuFBOl.js → index-Rr1JlICa.js} +127 -127
- package/dashboard-dist/favicon.svg +17 -3
- package/dashboard-dist/index.html +1 -1
- package/dist/commands/dashboard.d.ts.map +1 -1
- package/dist/commands/dashboard.js +9 -1
- package/dist/commands/dashboard.js.map +1 -1
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +4 -1
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/install-hook.d.ts.map +1 -1
- package/dist/commands/install-hook.js +48 -40
- package/dist/commands/install-hook.js.map +1 -1
- package/dist/commands/reset.d.ts.map +1 -1
- package/dist/commands/reset.js +4 -1
- package/dist/commands/reset.js.map +1 -1
- package/dist/commands/status.d.ts.map +1 -1
- package/dist/commands/status.js +66 -58
- package/dist/commands/status.js.map +1 -1
- package/dist/commands/sync.d.ts.map +1 -1
- package/dist/commands/sync.js +5 -1
- package/dist/commands/sync.js.map +1 -1
- package/dist/utils/banner.d.ts +6 -0
- package/dist/utils/banner.d.ts.map +1 -0
- package/dist/utils/banner.js +30 -0
- package/dist/utils/banner.js.map +1 -0
- package/dist/utils/telemetry.d.ts +16 -0
- package/dist/utils/telemetry.d.ts.map +1 -1
- package/dist/utils/telemetry.js +44 -0
- package/dist/utils/telemetry.js.map +1 -1
- package/dist/utils/welcome.d.ts.map +1 -1
- package/dist/utils/welcome.js +2 -3
- package/dist/utils/welcome.js.map +1 -1
- package/package.json +1 -1
- package/server-dist/llm/analysis.d.ts +4 -1
- package/server-dist/llm/analysis.d.ts.map +1 -1
- package/server-dist/llm/analysis.js +23 -8
- package/server-dist/llm/analysis.js.map +1 -1
- package/server-dist/llm/prompts.d.ts +14 -2
- package/server-dist/llm/prompts.d.ts.map +1 -1
- package/server-dist/llm/prompts.js +60 -36
- package/server-dist/llm/prompts.js.map +1 -1
- package/server-dist/routes/analysis.d.ts.map +1 -1
- package/server-dist/routes/analysis.js +76 -28
- package/server-dist/routes/analysis.js.map +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,21 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to `@code-insights/cli` will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## [3.3.1] - 2026-03-02
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- **Error telemetry with PostHog `captureException`** — All CLI commands (sync, dashboard, init, status, reset, install-hook) and server analysis routes now capture exceptions with classified error types and enriched context via `captureError()`.
|
|
10
|
+
- **Structured parse errors** — Server analysis routes use `ParseResult<T>` type for structured LLM response parsing with error classification (`error_type`, `response_length`).
|
|
11
|
+
- **CLI ASCII art banner** — Branded ASCII banner displayed on `code-insights init` welcome message and `code-insights dashboard` launch.
|
|
12
|
+
- **Logo integration** — Monochrome logo component added to dashboard header and mobile nav. Favicon replaced with branded logo. Logo assets added to READMEs.
|
|
13
|
+
- **CI gate** — GitHub Actions workflow for automated build + test on push/PR to master.
|
|
14
|
+
- **Test coverage expansion** — New tests for `config.ts` utilities and `config.test.ts` server route. Existing `read-write.test.ts` and `prompts.test.ts` tests enhanced.
|
|
15
|
+
|
|
16
|
+
### Fixed
|
|
17
|
+
|
|
18
|
+
- **Server chunked analysis** — Guard against all chunks failing in chunked analysis path, preventing unhandled errors.
|
|
19
|
+
|
|
5
20
|
## [3.3.0] - 2026-03-02
|
|
6
21
|
|
|
7
22
|
### Changed
|
package/README.md
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
<p align="center">
|
|
2
|
+
<img src="https://raw.githubusercontent.com/melagiri/code-insights/master/docs/assets/logo.svg" width="80" height="80" alt="Code Insights logo" />
|
|
3
|
+
</p>
|
|
4
|
+
|
|
5
|
+
<h1 align="center">Code Insights CLI</h1>
|
|
2
6
|
|
|
3
7
|
Analyze AI coding sessions from the terminal. Parses session history from Claude Code, Cursor, Codex CLI, and Copilot CLI — stores everything in a local SQLite database — and serves a built-in browser dashboard.
|
|
4
8
|
|
|
@@ -55,12 +59,11 @@ Opens the built-in React dashboard at `http://localhost:7890`. The dashboard pro
|
|
|
55
59
|
- **LLM Insights** — AI-generated summaries, decisions, learnings, and techniques
|
|
56
60
|
- **Settings** — configure your LLM provider for analysis
|
|
57
61
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
### Custom Port
|
|
62
|
+
### Options
|
|
61
63
|
|
|
62
64
|
```bash
|
|
63
|
-
code-insights dashboard --port 8080
|
|
65
|
+
code-insights dashboard --port 8080 # Custom port
|
|
66
|
+
code-insights dashboard --no-open # Start server without opening browser
|
|
64
67
|
```
|
|
65
68
|
|
|
66
69
|
## CLI Commands
|
|
@@ -152,8 +155,9 @@ code-insights stats models
|
|
|
152
155
|
# Show sync statistics (sessions, projects, last sync)
|
|
153
156
|
code-insights status
|
|
154
157
|
|
|
155
|
-
# Open the local dashboard in your browser
|
|
158
|
+
# Open the local dashboard in your browser
|
|
156
159
|
code-insights open
|
|
160
|
+
code-insights open --project # Open filtered to the current project
|
|
157
161
|
|
|
158
162
|
# Delete all local data and reset sync state
|
|
159
163
|
code-insights reset --confirm
|