@code-insights/cli 3.3.1 → 3.3.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.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,30 @@
2
2
 
3
3
  All notable changes to `@code-insights/cli` will be documented in this file.
4
4
 
5
+ ## [3.3.2] - 2026-03-02
6
+
7
+ ### Added
8
+
9
+ - **Richer analysis prompts (v3.0.0)** — Decomposed insight schemas: decisions now include situation, choice, reasoning, alternatives (with rejection reason), trade-offs, and revisit conditions. Learnings include symptom, root cause, transferable takeaway, and applicability. Summaries include outcome status.
10
+ - **Session traits in prompt quality** — Detects higher-level behavioral patterns: context drift, objective bloat, late context, no planning, and good structure. Each trait includes severity, evidence, and suggestions.
11
+ - **LLM-based session character classification** — Sessions are classified into one of 7 types (deep_focus, bug_hunt, feature_build, exploration, refactor, learning, quick_task) by the LLM during analysis, replacing the heuristic-only approach.
12
+ - **PR link extraction** — GitHub PR links referenced in session messages are automatically detected and displayed as clickable badges on the session detail page.
13
+ - **Few-shot examples in analysis prompt** — Two curated examples (a decision and a learning) set the quality bar for LLM output.
14
+ - **Chain-of-thought pre-analysis** — Prompt quality analysis now uses a 6-step mental walkthrough before scoring.
15
+
16
+ ### Changed
17
+
18
+ - **Analysis version bumped to 3.0.0** — New decomposed schemas are not backward-compatible with v2 insight format. Re-analyze sessions to generate v3 insights.
19
+ - **Tool result cap raised from 200 to 500 chars** — Better context for error messages in analysis input.
20
+ - **Source tool badge shown for all sessions** — Previously hidden for claude-code sessions.
21
+
22
+ ### Fixed
23
+
24
+ - **Dashboard compact layout** — Higher information density across dashboard pages.
25
+ - **7-day range filter** — Default range filter applied to dashboard and analytics.
26
+ - **LLM JSON truncation** — 3-layer fix: max_tokens 8192, jsonrepair fallback, conciseness constraints.
27
+ - **PostHog exception tracking** — Stack trace frames included in error reports.
28
+
5
29
  ## [3.3.1] - 2026-03-02
6
30
 
7
31
  ### Added
package/README.md CHANGED
@@ -56,7 +56,7 @@ Opens the built-in React dashboard at `http://localhost:7890`. The dashboard pro
56
56
 
57
57
  - **Session Browser** — search, filter, and view full session details
58
58
  - **Analytics** — usage patterns, cost trends, activity charts
59
- - **LLM Insights** — AI-generated summaries, decisions, learnings, and techniques
59
+ - **LLM Insights** — AI-generated summaries, decisions (with reasoning and trade-offs), learnings (with root cause analysis), prompt quality scoring with session traits
60
60
  - **Settings** — configure your LLM provider for analysis
61
61
 
62
62
  ### Options