Skip to content

Commit b929fb0

Browse files
authored
Merge pull request #59 from nikomatsakis/main
fix(vendor): stop ignoring package-lock.json in mynah-ui
2 parents 155c92f + 6de4662 commit b929fb0

File tree

13 files changed

+141
-2
lines changed

13 files changed

+141
-2
lines changed

.github/workflows/ci.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,3 +130,32 @@ jobs:
130130
working-directory: vscode-extension
131131
run: npm test
132132
if: runner.os == 'macOS'
133+
134+
zed-dev-wrapper:
135+
name: Update Zed Dev Wrapper
136+
runs-on: ubuntu-latest
137+
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
138+
permissions:
139+
contents: write
140+
141+
steps:
142+
- uses: actions/checkout@v4
143+
144+
- name: Build wrapper archives
145+
working-directory: zed-extension/dev/wrapper
146+
run: ./build-archives.sh
147+
148+
- name: Update zed-dev-wrapper release
149+
uses: softprops/action-gh-release@v2
150+
with:
151+
tag_name: zed-dev-wrapper
152+
name: Zed Dev Wrapper
153+
body: |
154+
Wrapper scripts for the Symposium Dev Zed extension.
155+
These delegate to your locally installed `symposium-acp-agent`.
156+
157+
Updated automatically on each push to main.
158+
files: |
159+
zed-extension/dev/wrapper/symposium-dev-darwin.tar.gz
160+
zed-extension/dev/wrapper/symposium-dev-linux.tar.gz
161+
prerelease: true

release-plz.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
[workspace]

vendor/mynah-ui/.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ node_modules
77
*.zip
88
**/.DS_Store
99
.idea
10-
package-lock.json
10+
# package-lock.json - we track this for reproducible builds
1111
.gitcommit
1212
.vscode
1313
__results__/
1414
e2e-results/
15-
coverage/
15+
coverage/

zed-extension/dev/README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Symposium Dev Extension
2+
3+
Development version of the Symposium Zed extension that uses your locally installed `symposium-acp-agent` instead of downloading release binaries.
4+
5+
## Prerequisites
6+
7+
Install symposium-acp-agent locally:
8+
9+
```bash
10+
cargo install --path crates/symposium-acp-agent
11+
```
12+
13+
## How it works
14+
15+
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.
16+
17+
The wrapper archives are automatically updated on each push to main via CI.
18+
19+
## Installing the extension
20+
21+
Add this directory as a dev extension in Zed.

zed-extension/dev/extension.toml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
id = "symposium-dev"
2+
name = "Symposium Dev"
3+
version = "0.1.0"
4+
schema_version = 1
5+
authors = ["Niko Matsakis <niko@alum.mit.edu>"]
6+
description = "Development version - uses locally installed symposium-acp-agent"
7+
repository = "https://github.com/symposium-dev/symposium"
8+
9+
[agent_servers.symposium-dev]
10+
name = "Symposium Dev"
11+
icon = "./icons/symposium.svg"
12+
13+
[agent_servers.symposium-dev.targets.darwin-aarch64]
14+
archive = "https://github.com/symposium-dev/symposium/releases/download/zed-dev-wrapper/symposium-dev-darwin.tar.gz"
15+
cmd = "./symposium-dev"
16+
args = ["--", "npx", "-y", "@anthropic-ai/claude-code@latest"]
17+
18+
[agent_servers.symposium-dev.targets.darwin-x86_64]
19+
archive = "https://github.com/symposium-dev/symposium/releases/download/zed-dev-wrapper/symposium-dev-darwin.tar.gz"
20+
cmd = "./symposium-dev"
21+
args = ["--", "npx", "-y", "@anthropic-ai/claude-code@latest"]
22+
23+
[agent_servers.symposium-dev.targets.linux-x86_64]
24+
archive = "https://github.com/symposium-dev/symposium/releases/download/zed-dev-wrapper/symposium-dev-linux.tar.gz"
25+
cmd = "./symposium-dev"
26+
args = ["--", "npx", "-y", "@anthropic-ai/claude-code@latest"]
27+
28+
[agent_servers.symposium-dev.targets.linux-aarch64]
29+
archive = "https://github.com/symposium-dev/symposium/releases/download/zed-dev-wrapper/symposium-dev-linux.tar.gz"
30+
cmd = "./symposium-dev"
31+
args = ["--", "npx", "-y", "@anthropic-ai/claude-code@latest"]
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.tar.gz
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!/bin/bash
2+
# Build wrapper archives for the Symposium Dev Zed extension
3+
4+
set -e
5+
cd "$(dirname "$0")"
6+
7+
# Darwin (macOS) - same script works for both architectures
8+
tar -czvf symposium-dev-darwin.tar.gz symposium-dev
9+
10+
# Linux - same script works for both architectures
11+
tar -czvf symposium-dev-linux.tar.gz symposium-dev
12+
13+
echo "Built archives:"
14+
ls -la *.tar.gz
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/bin/bash
2+
exec symposium-acp-agent "$@"

0 commit comments

Comments
 (0)