Skip to content

release: v0.6.0#52

Merged
ashu17706 merged 9 commits intomainfrom
dev
Mar 9, 2026
Merged

release: v0.6.0#52
ashu17706 merged 9 commits intomainfrom
dev

Conversation

@ashu17706
Copy link
Contributor

@ashu17706 ashu17706 commented Mar 9, 2026

Release Summary

  • Version: v0.6.0
  • Source: dev
  • Target: main
  • Scope: promote validated changes from dev to main

Changes Included

  • Make sidecar content searchable via unified FTS (dfc2b18)
  • feat(db): add model-aware cost estimation and sidecar cleanup (0781b1e)
  • feat(ingest): add --force flag for re-ingesting sessions (e7fd347)
  • feat(insights): add cost & usage analytics module with CLI commands (f35b92e)
  • Merge branch 'feat/cost-estimation' into dev (0b7b192)
  • Merge branch 'feat/ingest-force-mode' into dev (7383c94)
  • merge: resolve sidecar-content-search conflicts — keep all tables, agents, tests (e512082)
  • Merge branch 'feat/insights-module' into dev (ca85b41)
  • release: v0.6.0 — ingest force, sidecar search, cost & insights (f065d14)

Validation

  • CI passed on dev
  • Perf bench reviewed (if relevant)
  • Breaking changes documented
  • Release notes verified

Notes

  • Replace or extend this section with any release-specific context.

ashu17706 and others added 9 commits February 12, 2026 00:16
Extends memory_fts with thinking, artifacts, attachments, and voice_notes columns
to enable full-text search across all Claude.ai conversation content types.

## Changes

**Schema Migration (src/db.ts)**
- Add migrateFTSToV2() to extend memory_fts with sidecar columns
- Uses GROUP_CONCAT to flatten multi-row sidecar content into indexed text
- Rebuilds FTS index from existing data; idempotent on re-runs
- Updates triggers to maintain sidecar columns on message insert/delete

**Search Filtering (src/search/index.ts)**
- Add content-type filters: includeThinking, includeArtifacts, includeAttachments, includeVoiceNotes
- Thinking blocks opt-in (privacy-first); artifacts/attachments/voice default enabled
- Uses FTS5 column filter syntax {col1 col2} : query to restrict search
- Weighted BM25 scoring: title=10.0, content=5.0, sidecar=4.0, thinking=3.0, role=1.0

**CLI Flags (src/index.ts)**
- --include-thinking: opt-in for thinking block search
- --no-artifacts, --no-attachments, --no-voice-notes: opt-out from sidecar search
- Applied to both search and recall commands

**Testing (test/search.test.ts)**
- 12 new tests covering artifact/thinking/attachment/voice search
- Tests content-type filtering and filter combinations
- Verifies migration is idempotent and data intact
- Tests that thinking blocks excluded by default

## Indexing

Now searchable:
- Artifact code/documents/diagrams: 434 in claude-web sessions
- Thinking blocks: 102 (opt-in only)
- Attachments with extracted content: 34
- Voice note transcripts: 17

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Add MODEL_PRICING map for Claude model families, estimateCost() for
per-turn USD estimation, wire estimated_cost_usd into upsertSessionCosts,
and add deleteSidecarRows() for force re-ingest cleanup.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Thread force option through all agent ingest paths. When enabled,
deletes existing sidecar rows before re-processing to refresh tool
usage, costs, errors, and file operations. Adds tool correlation
map for linking tool calls to their results.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
New src/insights/ module with query functions for overview dashboard,
session deep-dives, project analysis, cost breakdowns, error analysis,
and tool reliability metrics. Wire CLI subcommands: smriti insights
[session|project|costs|errors|tools].

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@ashu17706 ashu17706 merged commit 73c16a0 into main Mar 9, 2026
18 of 19 checks passed
@github-actions github-actions bot changed the title release: batch 3 — ingest force, sidecar search, cost & insights (v0.6.0) release: v0.6.0 Mar 9, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Mar 9, 2026

Benchmark Scorecard (ci-small)

Bench Scorecard (ci-small)

threshold: 20.00%

metric baseline current (median) delta status
ingest_throughput_msgs_per_sec 1735.800 635.720 -63.38% WARN
ingest_p95_ms_per_session 6.960 17.897 +157.14% WARN
fts_p95_ms 0.410 0.677 +65.12% WARN
recall_p95_ms 0.436 0.752 +72.48% WARN

Summary: WARN (4 metrics)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant