[Feature]: 使用结构化读取和索引维护代替全量读
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 5/5
- Tempo estimado
- Mais de uma semana
- Facilidade para iniciantes
- 25/100
- Tipo de issue
- Funcionalidade
- Clareza
- Razoavelmente clara
- Status de atividade
- Ativa
- Stack de tecnologia
- rust
- Domínio
- ai-infra-agents
Direção de pesquisa
Start by tracing how the desktop app's agent reads files and assembles conversation context; the issue does not identify specific files or tests. Compare that flow with the proposed indexing, structured extraction, range reads, and truncation approaches, then define scope and acceptance criteria before implementation. Done should mean relevant file context can be retrieved without routinely loading whole files, with tests showing the intended behavior.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Problem / opportunity
Proposed behavior
从“全量读取”转向“按需检索与结构化摘要”。它们不再让 Agent 动辄把整个文件塞进上下文,而是通过索引、符号提取、范围读取或强制拦截,只给模型看真正需要的那一小块。
- AST 结构化提取(只给骨架,不给血肉)
- 语义检索与索引(只取相关片段);与其让 Agent 盲猜去读文件,不如先建索引,让它“问”出相关代码。Harness 在后台对仓库建立向量或符号索引。当 Agent 需要信息时,通过语义搜索(如 memory_query)直接返回最相关的代码块(chunk),并附带文件路径和行号,而不是整个文件。
- 数据支撑:ContextOS 的实测显示,相比传统的“Grep 搜索 + 全文件读取”,这种语义检索方式平均每次查询的 Token 消耗从 2,891 降到 1,054(降低约 64%),且准确率更高。
- 强制门禁与范围读取(物理拦截全量读取)
- 大结果转储与截断(溢出处理)
原始链接:https://chat.deepseek.com/share/ng5kcltilw0mlug2ru
Product surface
Desktop app
Details, examples, or constraints
No response
- Linguagem predominante
- Rust
- Estrelas
- 2.3k
- Forks
- 236
- Merge médio
- 12h 24min
- PRs com merge (30d)
- 370
Preparar o ambiente
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de GCWing/OpenBitFun
-
[Feature]: 模型服务表单缺少「图像生成」分类入口 —— 后端已支持 default_models.image_generationTalvez já em andamento @skyfireitdiy assumiu há 22 dias. Aberta
Dificuldade 2/5 Meio dia Facilidade para iniciantes 74/100
GCWing/OpenBitFun#3279 · 1 reação ·
Mantenedores costumam responder em até 1 dia
-
[Feature]: 增加窗口化的侧边提问Aberta
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 35/100
GCWing/OpenBitFun#3784 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 52/100
GCWing/OpenBitFun#3777 ·
Mantenedores costumam responder em até 1 dia
-
[Bug]: v1.0.9 GLIBC_2.43 not foundTalvez já em andamento @kev1n77 assumiu hoje. Aberta
GCWing/OpenBitFun#3767 · 1 responsável ·
Mantenedores costumam responder em até 1 dia
-
[Feature]: 选择性的删除每次归档的提醒Aberta
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 48/100
GCWing/OpenBitFun#3761 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de GCWing/OpenBitFun
Issues semelhantes
-
enhancement
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
-
bug order-flow studies ui
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 88/100
userFRM/egui-charts#2417 ·
Mantenedores costumam responder em até 1 dia
-
In a plain-text message, Font, Font Size, Font Color and Text Highlight Color stay liveTalvez já em andamento @ragelfundionctrumnar assumiu hoje. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
UCS-Care-Group/mailcraft#862 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
smoltcp-rs/smoltcp#1243 ·
Mantenedores costumam responder em até 1 dia
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
Mantenedores costumam responder em até 4 dias