gstack/lib
Garry Tan 0e29d7d1a3
feat: add enriched transcript sync — Haiku summaries, session file enrichment
Add session intelligence pipeline for team transcript sync:
- lib/transcript-sync.ts: parse history.jsonl, enrich with Claude session
  file data (tools_used, full turn count), sync marker management,
  10-concurrent push with 5-concurrent Haiku summarization
- lib/llm-summarize.ts: raw fetch() to Anthropic Messages API (no SDK dep),
  retry-after on 429, exponential backoff on 5xx, SHA-based eval-cache
- lib/sync.ts: pushTranscript() and pullTranscripts() following existing patterns
- 006_transcript_sync.sql: unique index on (team_id, session_id) for
  idempotent upsert, RLS changed from admin-only to team-wide read

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-16 00:15:19 -05:00
..
auth.ts feat: add team sync infrastructure (config, auth, push/pull, CLI) 2026-03-15 02:02:40 -05:00
cli-eval.ts feat: sync heartbeats, eval:trend --team, setup guide, 10 new tests 2026-03-15 19:43:03 -05:00
cli-sync.ts feat: DRY push functions, add push-greptile + sync test/show commands 2026-03-15 19:42:45 -05:00
eval-cache.ts feat: add SHA-based eval caching with EVAL_CACHE=0 bypass 2026-03-15 09:39:26 -05:00
eval-cost.ts feat: wire costs[] from modelUsage into eval results 2026-03-15 16:47:27 -05:00
eval-format.ts feat: wire costs[] from modelUsage into eval results 2026-03-15 16:47:27 -05:00
eval-tier.ts feat: add eval format validation, tier selection, cost tracking 2026-03-15 09:39:18 -05:00
llm-summarize.ts feat: add enriched transcript sync — Haiku summaries, session file enrichment 2026-03-16 00:15:19 -05:00
sync-config.ts feat: add team sync infrastructure (config, auth, push/pull, CLI) 2026-03-15 02:02:40 -05:00
sync.ts feat: add enriched transcript sync — Haiku summaries, session file enrichment 2026-03-16 00:15:19 -05:00
transcript-sync.ts feat: add enriched transcript sync — Haiku summaries, session file enrichment 2026-03-16 00:15:19 -05:00
util.ts feat: add listEvalFiles, loadEvalResults, formatTimestamp to lib/util.ts 2026-03-15 09:39:09 -05:00