feat: 7 Claude Code-inspired improvements + readline overflow fix - #8
Merged
Merged
Conversation
Based on reverse-engineering Claude Code v2.1.216, implementing: 1. Plan Permission Mode — analyze-only mode for code review 2. Plugin URL Loading — dynamic .zip plugin install from URLs 3. MCP Strict Mode — isolated MCP debugging 4. Telemetry Skeleton — OpenTelemetry-compatible export 5. Multi-Provider Abstraction — OpenAI/Anthropic/Bedrock/Vertex 6. Local Settings Level — user → project → local 3-tier hierarchy 7. Extended Hook Events — Route/OnError/PreTask/PostTask/SessionEnd Plus bugfix: deepcode-lineguard.js prevents RangeError crash when MCP tools return 100MB+ single-line JSON responses. Files: - .deepcode/skills/deepcode-improvements/SKILL.md - .deepcode/permission_gate.py - .deepcode/plugin_loader.py - .deepcode/effort_router.py - .deepcode/settings.local.json - .deepcode/plugin_registry.json - .deepcode/patches/deepcode-lineguard.js
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
Based on Claude Code v2.1.216 reverse-engineering: 7 architecture improvements + 1 critical bugfix.
7 Improvements
Bugfix: Readline RangeError
When MCP tools return 100MB+ single-line JSON, Node.js readline crashes with RangeError. Fixed via deepcode-lineguard.js preloaded through NODE_OPTIONS --require. Lines exceeding 10MB are safely truncated.
Files
Verification