refactor(ai/runner): CCRunner 多路复用架构升级与优雅关闭#272
Merged
Conversation
… vulnerability - Fix path traversal vulnerability in CheckFileAccess via filepath verification - Ensure doneChan is closed upon readStdout abrupt exit to prevent deadlocks - Refactor CCRunner lifecycle into ParrotHandler singletons (geekRunner, evoRunner) to fix "Session ID already in use" crashes during multiplexing - Implement strictly isolated sessionID namespace generation for Geek and Evolution modes using UUID v5 MD5 derivation - Remove unused and deprecated CCRunner aliases and event buffer structs
…tation with multiplexing and graceful shutdown concepts
…exing and UUID v5 isolation
…cture v2.0 (Hot-Multiplexing, Graceful Shutdown, UUID v5)
- Add quotes to mermaid node labels with special characters - Align table columns for better readability
a4a510a to
70b0510
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
CCRunner 架构升级至 v2.0,实现 Hot-Multiplexing 热多路复用和优雅关闭机制:
Resolves #271
Changes
5b8e809cfix(ai/runner): resolve session multiplexing crash and path traversal vulnerability94f6cea4fix(ai/runner): ensure graceful shutdown of all CC process groups on server exit41899819docs(architecture): completely rewrite cc-runner architecture documentation07aa7509fix(ai/runner): fix unhandled errcheck in CCRunner.Closea8969936chore(ai): optimize CCRunner comments and logs6238d7d2docs(ai): heavily upgrade AI package docsa4a510a7docs(ai/core): format mermaid and table in READMETest plan