Files
computer/.prettierignore
r33drichards 6d9cbc1a90 code search and less opinionated tool calling interface (#733)
* Add design doc for versioned code search index

Defines architecture for per-component search index across all git tags,
exposed via the docs MCP server to help documentation and coding agents.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* code search

* f

* various changes

* vc

* mcp server url

* f

* Consolidate code search tools into single SQL query interface (#738)

* Initial plan

* Refactor code search to use single SQL query tool

Co-authored-by: r33drichards <57335981+r33drichards@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: r33drichards <57335981+r33drichards@users.noreply.github.com>

* Add timeout parameter to code search SQL queries (#739)

Add a timeout parameter to query_code_search_db() with a default of 10
seconds and max of 30 seconds. Queries exceeding the timeout are
interrupted using SQLite's connection.interrupt() mechanism.

Co-authored-by: Claude <noreply@anthropic.com>

* Fix lint and format issues

- Apply black formatting to Python scripts in docs/scripts/
- Apply Prettier formatting to TypeScript files in docs/src/
- Add .worktrees/ to .prettierignore to exclude git worktrees

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Claude/direct db querying 7 y tqq (#743)

* Consolidate MCP tools to direct read-only database queries

Replace template-based search tools with 4 direct query tools:
- query_docs_db: Direct SQL queries on documentation SQLite
- query_docs_vectors: Direct vector search on documentation LanceDB
- query_code_db: Direct SQL queries on code SQLite
- query_code_vectors: Direct vector search on code LanceDB

All databases are exposed as read-only with SELECT-only restrictions
for SQL and comprehensive schema documentation in tool descriptions.

* Simplify SQL query tools - rely on read-only database mode

Remove query validation, timeout handling, and dangerous keyword checks.
The databases are opened in read-only mode (?mode=ro), so modifications
will fail at the database level. YAGNI - if the agent tries to modify,
it will fail; if it somehow succeeded, the data is deterministically
recreatable.

---------

Co-authored-by: Claude <noreply@anthropic.com>

* Update Copilot tool calls UI to reflect new consolidated tool names

Replace old tool indicators (search_docs, sql_query, list_components,
list_versions, search_code, search_code_fts, get_code_file_content)
with new SQL query interface tools (query_docs_db, query_docs_vectors,
query_code_db, query_code_vectors).

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* update system prompt

* Update docs/scripts/code_search.py

Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com>

* Remove obsolete code search files

The CodeSearch class wrapper and its design document are no longer
needed since the MCP server now exposes direct database query tools.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Apply suggestion from @Copilot

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Apply suggestion from @Copilot

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Remove silent error handling in SQLite insert operations (#747)

* Initial plan

* Remove try-except block from SQLite insert to allow exceptions to propagate

Co-authored-by: r33drichards <57335981+r33drichards@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: r33drichards <57335981+r33drichards@users.noreply.github.com>

* Replace Git CLI subprocess calls with GitPython library (#745)

* Initial plan

* Replace Git CLI subprocess calls with GitPython library

Co-authored-by: r33drichards <57335981+r33drichards@users.noreply.github.com>

* Fix tag access to use repo.tag() instead of repo.tags[]

Co-authored-by: r33drichards <57335981+r33drichards@users.noreply.github.com>

* Add ValueError to exception handling for non-existent tags

Co-authored-by: r33drichards <57335981+r33drichards@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: r33drichards <57335981+r33drichards@users.noreply.github.com>

* Remove incremental mode from code search indexing script (#746)

* Initial plan

* Remove incremental mode and always reindex all tags

Co-authored-by: r33drichards <57335981+r33drichards@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: r33drichards <57335981+r33drichards@users.noreply.github.com>

* Remove redundant standalone code index script

The generate_code_index.py script was duplicated in modal_app.py.
Updated error message in mcp_server.py to reference the modal function.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Apply suggestion from @Copilot

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Batch database commits during code indexing (#750)

* Initial plan

* Batch database commits every 10 tags for better performance

Co-authored-by: r33drichards <57335981+r33drichards@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: r33drichards <57335981+r33drichards@users.noreply.github.com>

* Remove silent exception handlers in database operations (#749)

* Initial plan

* Remove silent exception handlers and allow errors to propagate

Co-authored-by: r33drichards <57335981+r33drichards@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: r33drichards <57335981+r33drichards@users.noreply.github.com>

* Fix copilot feedback buttons throwing TypeError on click

Add null check for visibleMessages from useCopilotChat() hook before
calling findIndex(), preventing "Cannot read properties of undefined"
error when clicking thumbs up/down buttons.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Add parallel code indexing functionality

Implement `generate_code_index_parallel` to enhance code indexing by processing components in parallel. Introduce `index_component` for individual component indexing, utilizing SQLite and LanceDB for storage. Update README with detailed architecture and usage instructions for the new indexing method. Modify existing functions to support the new parallel processing approach.

This change improves performance and scalability of code indexing across multiple components.

* f

* g

* Fix black formatting in modal_app.py

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Fix mcp_server.py compatibility with component-sharded code databases (#751)

* Initial plan

* Update mcp_server.py to support component-sharded code databases

Co-authored-by: r33drichards <57335981+r33drichards@users.noreply.github.com>

* Fix type annotations and FTS query examples for component-sharded databases

Co-authored-by: r33drichards <57335981+r33drichards@users.noreply.github.com>

* Fix legacy database inclusion and component filtering logic

Co-authored-by: r33drichards <57335981+r33drichards@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: r33drichards <57335981+r33drichards@users.noreply.github.com>

---------

Co-authored-by: r33drichrds <robert@trycua.com>
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-12 09:19:15 -08:00

38 lines
389 B
Plaintext

# Node / JS
node_modules/
dist/
build/
out/
.next/
*.min.js
# Python
__pycache__/
*.pyc
*.pyo
*.pyd
.venv/
venv/
.env
.env.local
# Logs
*.log
*.tmp
# VSCode / editor files
.vscode/
.idea/
# Other generated files
*.lock
*.db
*.sqlite
pnpm-lock.yaml
uv.lock
# Docs with complex JSX formatting
docs/content/docs/get-started/quickstart.mdx
# Git worktrees (separate branches)
.worktrees/