Skip to content

Updating the vscode extension so that it is just an MCP server for use with copilot in vscode#2060

Open
JonLMyers wants to merge 14 commits intomainfrom
JonLMyers/Eldritch-vscode-Extension
Open

Updating the vscode extension so that it is just an MCP server for use with copilot in vscode#2060
JonLMyers wants to merge 14 commits intomainfrom
JonLMyers/Eldritch-vscode-Extension

Conversation

@JonLMyers
Copy link
Copy Markdown
Collaborator

What type of PR is this?

What this PR does / why we need it:

Which issue(s) this PR fixes:

Fixes #

JonLMyers and others added 11 commits February 1, 2026 20:04
* feat: generate vscode-tome-builder documentation and examples from source

- Add `scripts/generate-assets.ts` to read documentation and tome examples from the repo root.
- Update `package.json` to run generation before compilation.
- Update `tsconfig.json` to exclude the scripts directory.
- Update `docs.ts` and `examples.ts` with generated content.

Co-authored-by: JonLMyers <14082284+JonLMyers@users.noreply.github.com>

* feat: generate vscode-tome-builder assets from source

- Add `scripts/generate-assets.ts` to read documentation and tome examples from the repo root.
- Update `package.json` to run generation before compilation.
- Update `tsconfig.json` to exclude the scripts directory.
- Update `.gitignore` to ignore generated `docs.ts` and `examples.ts` in `mcp-server/src`.
- Remove existing `docs.ts` and `examples.ts` to stop tracking them.

Co-authored-by: JonLMyers <14082284+JonLMyers@users.noreply.github.com>

* feat: vscode-tome-builder reads docs and examples from disk at runtime

- Update `mcp-server/src/docs.ts` to locate the repo root and read markdown docs from `docs/_docs/user-guide/`.
- Update `mcp-server/src/examples.ts` to locate the repo root and read tome examples from `tavern/tomes/`.
- Update `mcp-server/src/index.ts` to use the new runtime file reading functions.
- Revert previous build-time generation scripts and config changes.

Co-authored-by: JonLMyers <14082284+JonLMyers@users.noreply.github.com>

---------

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Co-authored-by: JonLMyers <14082284+JonLMyers@users.noreply.github.com>
- Update `mcp-server/src/index.ts` to locate the repo root and read markdown docs from `docs/_docs/user-guide/` and tome examples from `tavern/tomes/` at runtime.
- Remove redundant `mcp-server/src/docs.ts` and `mcp-server/src/examples.ts` files.
- Revert previous build-time generation scripts, config changes, and dependencies.
- Revert `.gitignore` changes as no files are generated anymore.

Co-authored-by: JonLMyers <14082284+JonLMyers@users.noreply.github.com>
- **vscode-tome-builder**: Switch to runtime parsing for documentation and examples.
    - `index.ts` now locates repo root and reads files directly.
    - Removed redundant `docs.ts` and `examples.ts`.
- **eldritch-lsp**: Create new Rust Language Server crate.
    - Located in `implants/lib/eldritch/eldritch-lsp`.
    - Added to `implants` workspace.
    - Features linter with optimization hooks (`LintRule`).
    - Indexes standard library from `implants/lib/eldritch/stdlib`.
    - Integrates `eldritch-core` for parsing.

Co-authored-by: JonLMyers <14082284+JonLMyers@users.noreply.github.com>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 8, 2026

Summary

Tests 📝 Passed ✅ Failed ❌ Skipped ⏭️ Other ❓ Flaky 🍂 Duration ⏱️
2758    ±0 2758    ±0 0    ±0 0    ±0 0    ±0 0    ±0 1ms    ±0

Previous Results

Build 🏗️ Result 🧪 Tests 📝 Passed ✅ Failed ❌ Skipped ⏭️ Other ❓ Flaky 🍂 Duration ⏱️
#1594 2758 2758 0 0 0 0 36.9s

Insights

Average Tests per Run Total Flaky Tests Total Failed Slowest Test (p95)
2758 0 0 5.8s

Slowest Tests

Test 📝 Results 📊 Duration (avg) ⏱️ Duration (p95) ⏱️
TestDockerExecutor_Build_ContextCancellation 1 5.8s 5.8s
eldritch-libsys: std::dll_inject_impl::tests::test_dll_inject_simple 1 5.2s 5.2s
TestOtherStreamOutput 1 5.1s 5.1s
TestInteractiveShell 1 5.0s 5.0s
imix::bin/imix: install::tests::test_install_execution 3 1.7s 4.9s
imix::bin/imix: install::tests::test_install_execution 3 1.7s 4.9s
imix::bin/imix: install::tests::test_install_execution 3 1.7s 4.9s
TestDockerExecutor_Build_SimpleEcho 1 4.0s 4.0s
imix::bin/imix: tests::task_tests::test_task_streaming_output 3 3.0s 3.0s
imix::bin/imix: tests::task_tests::test_task_streaming_output 3 3.0s 3.0s

🎉 No failed tests in this run. | 🍂 No flaky tests in this run.

Github Test Reporter by CTRF 💚

🔄 This comment has been updated

Copy link
Copy Markdown
Collaborator

@hulto hulto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Few comments otherwise LGTM

mcp-server/src/assets.ts

# Ignore auto-generated MCP configurations
.vscode/cline_mcp_settings.json
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cline?

"eldritch"
],
"extensions": [
".tome",
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No .tome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants