Skip to content

feat(cli): add Jev session compaction - #250

Open
codeaholicguy wants to merge 3 commits into
mainfrom
feature-session-compact-jev
Open

codeaholicguy wants to merge 3 commits into
mainfrom
feature-session-compact-jev

Conversation

@codeaholicguy

Copy link
Copy Markdown
Owner

Summary

  • add ai-devkit agent session compact --id <session-id> [--type <provider>] [--format markdown|json]
  • require TYPESAFE_API_KEY before session discovery or transcript reads, returning an explicit Jev-unavailable result when absent with no fallback
  • classify redacted session events through the TypeSafe Jev SDK and build deterministic Markdown or JSON continuation artifacts
  • add network-free service, SDK-boundary, CLI, and built-in skill coverage plus lifecycle documentation

Validation

  • npm run lint
  • npm run build
  • npm test (all six projects; CLI 98 files / 1176 tests)
  • CommitCat secret scan and repository pre-push hook

Risks

  • classification is intentionally sequential and makes one Jev request per source message, so very long sessions may have noticeable latency and API cost
  • no live paid-key call was run; the SDK boundary is covered with deterministic mocks

This branch has not been deployed

No deployments
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