Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 2 additions & 49 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,70 +72,23 @@ jobs:
run: cargo ci test

vscode-extension:
name: VSCode Extension Tests
strategy:
matrix:
os: [ubuntu-latest, macos-latest]

runs-on: ${{ matrix.os }}
name: VSCode Extension Build
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Install Rust
uses: dtolnay/rust-toolchain@stable

- name: Cache Rust dependencies
uses: actions/cache@v4
with:
path: |
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-vscode-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-vscode-
${{ runner.os }}-cargo-

- name: Cache VS Code test download
uses: actions/cache@v4
with:
path: vscode-extension/.vscode-test
key: ${{ runner.os }}-vscode-test-1.108.0

- name: Install ACP tools
run: |
cargo install --force elizacp
cargo install --force --path src/symposium-acp-agent

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
cache: "npm"
cache-dependency-path: vscode-extension/package-lock.json

- name: Build vendored mynah-ui
working-directory: vendor/mynah-ui
run: |
npm ci
npm run build

- name: Install dependencies
working-directory: vscode-extension
run: npm ci

- name: Compile TypeScript
working-directory: vscode-extension
run: npm run compile

- name: Run tests
working-directory: vscode-extension
run: xvfb-run -a npm test
if: runner.os == 'Linux'

- name: Run tests (macOS)
working-directory: vscode-extension
run: npm test
if: runner.os == 'macOS'
6 changes: 0 additions & 6 deletions .github/workflows/release-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,12 +120,6 @@ jobs:
if: runner.os != 'Windows'
run: chmod +x vscode-extension/bin/${{ matrix.vscode-target }}/${{ matrix.binary }}

- name: Build vendored mynah-ui
working-directory: vendor/mynah-ui
run: |
npm ci
npm run build

- name: Install extension dependencies
working-directory: vscode-extension
run: npm ci
Expand Down
16 changes: 15 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ members = [
"src/symposium-recommendations",
"src/cli-agent-util",
"src/symposium-benchmark",
"src/symposium-editor-context",
]
resolver = "2"

Expand Down
8 changes: 0 additions & 8 deletions md/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,20 +46,12 @@
- [Run Mode](./design/run-mode.md)
- [Rust Crate Sources](./design/rust-crate-sources.md)
- [VSCode Extension](./design/vscode-extension/architecture.md)
- [Message Protocol](./design/vscode-extension/message-protocol.md)
- [Tool Authorization](./design/vscode-extension/tool-authorization.md)
- [State Persistence](./design/vscode-extension/state-persistence.md)
- [Webview Lifecycle](./design/vscode-extension/webview-lifecycle.md)
- [Testing](./design/vscode-extension/testing.md)
- [Testing Implementation](./design/vscode-extension/testing-implementation.md)
- [Packaging](./design/vscode-extension/packaging.md)
- [Mods UI](./design/vscode-extension/mods.md)
- [Language Model Provider](./design/vscode-extension/lm-provider.md)
- [Language Model Tool Bridging](./design/vscode-extension/lm-tool-bridging.md)
- [Implementation Status](./design/vscode-extension/implementation-status.md)
- [Reference material](./references/index.md)
- [MynahUI GUI Capabilities](./references/mynah-ui-guide.md)
- [VSCode Webview Lifecycle](./references/vscode-webview-lifecycle.md)
- [VSCode Language Model Tool API](./references/vscode-lm-tool-api.md)
- [VSCode Language Model Tool Rejection](./references/vscode-lm-tool-rejection.md)
- [GitHub Actions Rust Releases](./references/gh-actions-rust-releases.md)
Expand Down
13 changes: 13 additions & 0 deletions md/design/components.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,19 @@ Provides AI collaboration framework through prompt injection and MCP tooling.
- **Function:** Enables partnership dynamics, pattern anchors, and meta-collaboration capabilities
- **Documentation:** [Sparkle docs](https://symposium-dev.github.io/sparkle/)

### Editor Context

Injects the editor's current state (active file, selection) into agent prompts.

- **Type:** Standalone component (no adapter)
- **Implementation:** Reads a JSON state file written by the editor extension, prepends an `<editor-context>` block to each `PromptRequest`
- **Activation:** Conditional — only inserted into the proxy chain when the `SYMPOSIUM_EDITOR_STATE_FILE` environment variable is set
- **Staleness:** Skips injection if the state file is older than 30 seconds
- **Crate:** `symposium-editor-context`
- **Documentation:** [VSCode Extension Architecture](./vscode-extension/architecture.md#editor-context-proxy)

The editor extension writes the state file; the proxy reads it. They communicate only through the filesystem, bridged by the environment variable. This means the proxy works with any editor that writes the expected JSON format — it is not VSCode-specific.

## Future Components

Additional components can be added following these patterns:
Expand Down
Loading