Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Small and medium teams
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
lishuceo
anycode
Repository navigation
Code
Issues
10
(10)
Pull requests
6
(6)
Actions
Projects
Security and quality
Insights
More
items
feat: 拦截 /compact 与 /clear,让上下文压缩真正生效
- #263
#263
Merged
lishuceo
merged 5 commits into
main
lishuceo/anycode:main
from
feat/claude-session-b59911
lishuceo/anycode:feat/claude-session-b59911
Copy head branch name
Jun 15, 2026
Conversation
Commits
5
(5)
Checks
Files changed
Merged
feat: 拦截 /compact 与 /clear,让上下文压缩真正生效
#263
lishuceo
merged 5 commits into
main
lishuceo/anycode:main
from
feat/claude-session-b59911
lishuceo/anycode:feat/claude-session-b59911
Copy head branch name
Commits
Commits on Jun 15, 2026
feat: ClaudeExecutor.compact() 透传裸 /compact 触发真实压缩
Show description for dca0bbf
lishuceo
and
claude
committed
dca0bbf
View commit details
Copy full SHA for dca0bbf
Browse repository at this point
test: ClaudeExecutor.compact 单元测试
Show description for 24eeb80
lishuceo
and
claude
committed
24eeb80
View commit details
Copy full SHA for 24eeb80
Browse repository at this point
feat: 拦截 /compact 与 /clear 命令并回传压缩结果
Show description for c1be777
lishuceo
and
claude
committed
c1be777
View commit details
Copy full SHA for c1be777
Browse repository at this point
test: /compact 回复格式化单元测试
Show description for 751f2e9
lishuceo
and
claude
committed
751f2e9
View commit details
Copy full SHA for 751f2e9
Browse repository at this point
Merge remote-tracking branch 'origin/main' into feat/claude-session-b59911
lishuceo
committed
e797984
View commit details
Copy full SHA for e797984
Browse repository at this point
You can’t perform that action at this time.