[Feature]: Cache-preserving dynamic runtime updates
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- typescript
- Lĩnh vực
- ai, cli, performance
Hướng nghiên cứu
Start by tracing MCode’s existing prompt-cache awareness, context management, compaction, tools/MCPs, skills, and resumable-session entry points. Compare a small runtime change across supported and unsupported model/providers; done means stable cached context is reused where supported while unsupported providers retain current behavior.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Product or interface
CLI - interactive TUI
Use case and problem
Long-running MCode sessions change while they are already running: tools become relevant, instructions change, sessions resume, or context approaches compaction. Small runtime changes can force more prompt/tool state to be rebuilt or reprocessed than necessary, reducing prompt/KV-cache reuse and adding avoidable latency, token processing, and cost. The goal is to keep MCode’s behavior unchanged while making the runtime more cache-aware wherever the selected model/provider supports it.
Desired behavior
Allow MCode to preserve reusable cached context across small runtime changes: add/remove tools without unnecessarily losing the stable prompt prefix, introduce mid-conversation runtime instructions while preserving cache where supported, reuse or warm recent session context on resume, and let compaction/cache behavior adapt per model/provider. Unsupported providers should simply keep the current behavior.
Acceptance idea
existing cached session → small runtime change → reuse stable prefix → process only what changed
instead of:
existing session → small runtime change → rebuild/reprocess everything
Platform
Multiple platforms
Alternatives and additional context
Other agent harnesses are starting to expose ideas like dynamic tools without losing KV cache, mid-conversation system messages, cache warming, and faster resume. MCode already has prompt-cache awareness, context management, compaction, tools, MCPs, skills, and resumable sessions, so this feels like a natural next efficiency step rather than a change to how MCode fundamentally works.
- Ngôn ngữ chính
- TypeScript
- Star
- 1.3k
- Fork
- 141
- Merge trung bình
- 3 giờ 50 phút
- Pull request đã merge (30 ngày)
- 102
Chuẩn bị môi trường
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của MiniMax-AI/minimax-code
-
bug cli documentation needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
MiniMax-AI/minimax-code#299 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug cli needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
MiniMax-AI/minimax-code#128 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug desktop
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
MiniMax-AI/minimax-code#87 · 2 bình luận · 2 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug desktop needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
MiniMax-AI/minimax-code#80 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug desktop needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
MiniMax-AI/minimax-code#66 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của MiniMax-AI/minimax-code
Issue tương tự
-
bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
StabilityNexus/Fate-EVM-Frontend#153 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
code-yeongyu/oh-my-openagent#9039 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Tencent/teamai-cli#862 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug good first issue hacktoberfest redis
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
libredb/libredb-studio#1164 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
flake
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
coder/xum#4920 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày