Twinny 官方最新动态:Before the search: what Index workspace reads, skips, hashes and keeps when you cancel

ADK Twinny官方 / ADK编译 2026-10-14 3分钟 74 次浏览
速览导读 / Summary

Before the search: what Index workspace reads, skips, hashes and keeps when you cancel

官方发布 2026-10-14 官网即时同步

Key Insights / 核心看点

  • 1 Before the search: what Index workspace reads, skips, hashes and keeps when you

Twinny 官方最新动态:Before the search: what Index workspace reads, skips, hashes and keeps when you cancel

来源:Twinny 官方动态 | 发布日期:2026-10-14

核心更新概览

Before the search: what Index workspace reads, skips, hashes and keeps when you cancel

详细内容记录

Before the search: what Index workspace reads, skips, hashes and keeps when you cancel The search side of the workspace index has a post of its own. This one is the other half, from src/extension/embeddings/indexer.ts and embedder.ts. Which files are read, the two ways a file counts as unchanged, how many texts go to the server at once, what a cancelled run keeps, and why saving a file stops updating the index after you switch embedding models. in twinny’s Embeddings tab and a progress bar walks through your files. covered what happens after that, when a question is matched against the index: the two searches, the reranker, the labelled blocks in the prompt. It also said what a chunk is, so none of that is repeated here. This post is about the run itself: what gets read, why the second run is fast, what the embedding server sees, and what the odd cases do. The code is src/extension/embeddings/indexer.ts The walk is an allowlist. A file is considered only if its extension or its whole name is on a list in : about 150 extensions covering source, config, data formats and documentation, plus names like . Anything not on the list is never opened. Lockfiles (

更多技术细节可访问官方原文:https://blog.twinny.dev/posts/what-index-workspace-reads/。

code · 免费+付费
★ 5.0 · 120评测
T

Twinny

专为 VS Code 设计的AI代码补全插件

Twinny 是一个专为 VS Code 设计的AI代码补全插件,支持本地或API托管,提供智能代码自动完成服务。Twinny 旨在与Ollama无缝协作,类似于GitHub Copilot,但完全免费且100%私有。Twinny通过自动代码补全、多语言支持、易于安装和配置等特点,帮助开发者提高编程效率。Twinny 具备聊天功能,支持用户与AI进行交互,查看代码补全的差异,并直接接受解决方案。

查看 Twinny 使用教程与功能