Skip to content
Merged
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
29 changes: 29 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,3 +130,32 @@ jobs:
working-directory: vscode-extension
run: npm test
if: runner.os == 'macOS'

zed-dev-wrapper:
name: Update Zed Dev Wrapper
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
permissions:
contents: write

steps:
- uses: actions/checkout@v4

- name: Build wrapper archives
working-directory: zed-extension/dev/wrapper
run: ./build-archives.sh

- name: Update zed-dev-wrapper release
uses: softprops/action-gh-release@v2
with:
tag_name: zed-dev-wrapper
name: Zed Dev Wrapper
body: |
Wrapper scripts for the Symposium Dev Zed extension.
These delegate to your locally installed `symposium-acp-agent`.

Updated automatically on each push to main.
files: |
zed-extension/dev/wrapper/symposium-dev-darwin.tar.gz
zed-extension/dev/wrapper/symposium-dev-linux.tar.gz
prerelease: true
1 change: 1 addition & 0 deletions release-plz.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[workspace]
4 changes: 2 additions & 2 deletions vendor/mynah-ui/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ node_modules
*.zip
**/.DS_Store
.idea
package-lock.json
# package-lock.json - we track this for reproducible builds
.gitcommit
.vscode
__results__/
e2e-results/
coverage/
coverage/
21 changes: 21 additions & 0 deletions zed-extension/dev/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Symposium Dev Extension

Development version of the Symposium Zed extension that uses your locally installed `symposium-acp-agent` instead of downloading release binaries.

## Prerequisites

Install symposium-acp-agent locally:

```bash
cargo install --path crates/symposium-acp-agent
```

## How it works

The extension downloads a tiny wrapper script that simply calls `symposium-acp-agent` from your PATH. This means you can `cargo install` new versions and they take effect immediately without updating the extension.

The wrapper archives are automatically updated on each push to main via CI.

## Installing the extension

Add this directory as a dev extension in Zed.
31 changes: 31 additions & 0 deletions zed-extension/dev/extension.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
id = "symposium-dev"
name = "Symposium Dev"
version = "0.1.0"
schema_version = 1
authors = ["Niko Matsakis <[email protected]>"]
description = "Development version - uses locally installed symposium-acp-agent"
repository = "https://github.com/symposium-dev/symposium"

[agent_servers.symposium-dev]
name = "Symposium Dev"
icon = "./icons/symposium.svg"

[agent_servers.symposium-dev.targets.darwin-aarch64]
archive = "https://github.com/symposium-dev/symposium/releases/download/zed-dev-wrapper/symposium-dev-darwin.tar.gz"
cmd = "./symposium-dev"
args = ["--", "npx", "-y", "@anthropic-ai/claude-code@latest"]

[agent_servers.symposium-dev.targets.darwin-x86_64]
archive = "https://github.com/symposium-dev/symposium/releases/download/zed-dev-wrapper/symposium-dev-darwin.tar.gz"
cmd = "./symposium-dev"
args = ["--", "npx", "-y", "@anthropic-ai/claude-code@latest"]

[agent_servers.symposium-dev.targets.linux-x86_64]
archive = "https://github.com/symposium-dev/symposium/releases/download/zed-dev-wrapper/symposium-dev-linux.tar.gz"
cmd = "./symposium-dev"
args = ["--", "npx", "-y", "@anthropic-ai/claude-code@latest"]

[agent_servers.symposium-dev.targets.linux-aarch64]
archive = "https://github.com/symposium-dev/symposium/releases/download/zed-dev-wrapper/symposium-dev-linux.tar.gz"
cmd = "./symposium-dev"
args = ["--", "npx", "-y", "@anthropic-ai/claude-code@latest"]
1 change: 1 addition & 0 deletions zed-extension/dev/wrapper/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.tar.gz
14 changes: 14 additions & 0 deletions zed-extension/dev/wrapper/build-archives.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/bash
# Build wrapper archives for the Symposium Dev Zed extension

set -e
cd "$(dirname "$0")"

# Darwin (macOS) - same script works for both architectures
tar -czvf symposium-dev-darwin.tar.gz symposium-dev

# Linux - same script works for both architectures
tar -czvf symposium-dev-linux.tar.gz symposium-dev

echo "Built archives:"
ls -la *.tar.gz
2 changes: 2 additions & 0 deletions zed-extension/dev/wrapper/symposium-dev
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
exec symposium-acp-agent "$@"
File renamed without changes.
File renamed without changes.
File renamed without changes.
40 changes: 40 additions & 0 deletions zed-extension/prod/icons/symposium.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.