Repository navigation
Architecture remediation: streaming, security, standards - #3
Merged
Merged
Conversation
… config Streaming reliability: - Add SDK client timeouts (5min streaming, 30s control, 10s connect) - Wire CancellationToken to AbortController for proper request abort - Cache SDK clients per region for connection reuse - Add retry logic for transient errors (429, 5xx, network) - Type stream as AsyncIterable<ConverseStreamOutput> instead of any Security: - Scope bearer token to individual SDK calls via try/finally - Replace OpenRouter third-party API with bundled static metadata - Add sensitive key redaction in logger (apiKey, secret, token) - Add API key format validation with warning - Clean up env vars in deactivate() Standards: - Push provider registration disposable to context.subscriptions - Remove dead chatEndpoints code from ModelService - Fix all 56 lint issues (0 errors, 0 warnings) Configuration: - Remove no-op bedrock.selectModel command - Remove redundant "More Settings" QuickPick option - Support workspace-level configuration scope Docs: - Add architecture diagram (Mermaid) and data flow table - Update README commands, features, model list - Add .kiro/ to .gitignore
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
Full architectural remediation addressing streaming reliability, security, VS Code standards, and configuration management.
Streaming Reliability
AsyncIterable<ConverseStreamOutput>instead ofanySecurity
Standards
chatEndpointscodeConfiguration
bedrock.selectModelcommandDocs
.kiro/to .gitignoreVersion
What was tested
npm run compile— zero errorsnpm run lint— zero errors, zero warnings