feat: Voyage-4-Nano backend + project-scoped coding "walking mode" (#758) - #759
Closed
igun997 wants to merge 5 commits into
Closed
feat: Voyage-4-Nano backend + project-scoped coding "walking mode" (#758)#759igun997 wants to merge 5 commits into
igun997 wants to merge 5 commits into
Conversation
…mit guard Introduce a multi-model ONNX engine supporting Voyage-4-Nano (qwen3, q4, dim 2048, 32k context) as a local alternative to EmbeddingGemma, per codecoradev#758. Also guard the OpenAI embedder against the 8192-token context limit via a conservative char budget plus shrink-and-retry on context-length 400.
Add an indexed_files tracking table (schema v15->v16 migration) for incremental code indexing, plus supporting CRUD. Guard the batch memory-edge insert against ghost endpoints (orphaned usearch vectors) so auto-linking can never trip a FOREIGN KEY constraint and abort the batch.
Add source-tree indexing that chunks code into recallable memories with file:line provenance (codecoradev#758 walking mode). Chunking uses tree-sitter AST grammars (rust/go/python/typescript/javascript/java/c/cpp) with a regex fallback, streamed via IndexProgress events, and is incremental via content hashing against the indexed_files table.
Add layered config (CLI > project .uteke/uteke.toml > global > defaults) with DB-per-repo isolation auto-scoped by cwd, `uteke init --project`, a streaming `uteke index` command, and a coding-vs-general usage-mode onboarding prompt (codecoradev#758). Add `uteke ui`: a single-binary local web UI streaming live chunking progress and rendering a zero-dependency WebGL 3D force-directed code graph.
… store Expose uteke_index and uteke_index_status MCP tools so agents can trigger and inspect code indexing (codecoradev#758). Document the code-indexing workflow and `uteke ui` in the skill guide, and gitignore per-repo project store DB/index artifacts.
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.
Closes #758
Implements both asks from #758: (1) an optional large-context local model, and (2) a project-scoped "walking mode" that lets a coding agent navigate a codebase file-to-file with precise
file:lineprovenance instead of fragmented summaries.Before → After
develop)~/.uteke).uteke/auto-scoped by cwd; global store still used outside reposfile:line, incremental via content hashfile:line, jump-to-definition readyuteke ui: single-binary local web UI — live chunking feed + zero-dep WebGL 3D code graph.uteke/uteke.toml> global > defaultsuteke_index/uteke_index_statusfor agentsRecall, before vs after (same repo)
Before — no code in the store; a query like "how does treesitter AST chunking work" returns nothing actionable.
After — top hits are the exact functions, correctly ranked, each with
file:line:What's in it
Embedding (
#758part 1)Walking mode (
#758part 2)code_indexengine: walks a tree, chunks each file, stores chunks as recallable memories withfile:line.unsafestays isolated in grammar crates (unsafe_code = "forbid"in consumer code).indexed_filestable + content hashing; only changed files re-embed; deleted files pruned.Surface area
uteke init --project, streaminguteke index [PATH],uteke index --status, coding-vs-general onboarding.uteke ui: single Rust binary, embedded HTML, zero npm/offline; liveIndexProgressfeed + WebGL 3D force-directed graph (orbit/zoom/pan, depth-shaded glow nodes, hover tofile:line).uteke_index,uteke_index_status.Verification
--features treesitter.Notes for reviewers
indexed_files(idempotent, existing DBs auto-migrate)..uteke/uteke.tomlproject config is intended to travel with the repo.