feat: SDK v0.1.8 parity - infinite sessions and client utilities#3
Merged
Conversation
Add InfiniteSessionConfig for automatic context window management with configurable truncation strategy and summarization options. Add client utility methods: - get_status(): Returns CLI version and protocol info - get_auth_status(): Returns authentication state - list_models(): Returns available models with capabilities Add skills configuration (skill_directories, disabled_skills) to SessionConfig and ResumeSessionConfig. Includes comprehensive E2E test coverage for all new features. Tested with BYOK provider configuration.
25e2b26 to
6c6579c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
InfiniteSessionConfigfor automatic context window compactionget_status(),get_auth_status(),list_models()skill_directories,disabled_skills)What's New
Infinite Sessions
Automatic context window management that compacts conversation history when approaching token limits:
SessionConfig config; config.infinite_session = InfiniteSessionConfig{ .enabled = true, .truncation_strategy = "tail", .summarize_on_truncate = true };Client Utility Methods
Skills Configuration
SessionConfig config; config.skill_directories = {"/path/to/skills"}; config.disabled_skills = {"dangerous-skill"};Test Plan
get_status,get_auth_status,list_modelsBreaking Changes
None. All changes are additive.