The open source coding agent.
TypeScript
ignore: fix
Aiden Cline3bb3f4f2c968
diff --git a/packages/extensions/zed/extension.toml b/packages/extensions/zed/extension.tomlindex a6e6aa6f82a..4e93745aded 100644--- a/packages/extensions/zed/extension.toml+++ b/packages/extensions/zed/extension.toml@@ -11,26 +11,26 @@ name = "OpenCode"icon = "./icons/opencode.svg"[agent_servers.opencode.targets.darwin-aarch64]-archive = "https://github.com/sst/opencode/releases/v1.0.44/download/opencode-darwin-arm64.zip"+archive = "https://github.com/sst/opencode/releases/download/v1.0.44/opencode-darwin-arm64.zip"cmd = "./opencode"args = ["acp"][agent_servers.opencode.targets.darwin-x86_64]-archive = "https://github.com/sst/opencode/releases/v1.0.44/download/opencode-darwin-x64.zip"+archive = "https://github.com/sst/opencode/releases/download/v1.0.44/opencode-darwin-x64.zip"cmd = "./opencode"args = ["acp"][agent_servers.opencode.targets.linux-aarch64]-archive = "https://github.com/sst/opencode/releases/v1.0.44/download/opencode-linux-arm64.zip"+archive = "https://github.com/sst/opencode/releases/download/v1.0.44/opencode-linux-arm64.zip"cmd = "./opencode"args = ["acp"][agent_servers.opencode.targets.linux-x86_64]-archive = "https://github.com/sst/opencode/releases/v1.0.44/download/opencode-linux-x64.zip"+archive = "https://github.com/sst/opencode/releases/download/v1.0.44/opencode-linux-x64.zip"cmd = "./opencode"args = ["acp"][agent_servers.opencode.targets.windows-x86_64]-archive = "https://github.com/sst/opencode/releases/v1.0.44/download/opencode-windows-x64.zip"+archive = "https://github.com/sst/opencode/releases/download/v1.0.44/opencode-windows-x64.zip"cmd = "./opencode.exe"args = ["acp"]diff --git a/script/publish.ts b/script/publish.tsindex 7cd81d41f7a..3c06942bc97 100755--- a/script/publish.ts+++ b/script/publish.ts@@ -87,7 +87,7 @@ for (const file of pkgjsons) {const extensionToml = new URL("../packages/extensions/zed/extension.toml", import.meta.url).pathnamelet toml = await Bun.file(extensionToml).text()toml = toml.replace(/^version = "[^"]+"/m, `version = "${Script.version}"`)-toml = toml.replaceAll(/releases\/v[^/]+\//g, `releases/v${Script.version}/`)+toml = toml.replaceAll(/releases\/download\/v[^/]+\//g, `releases/download/v${Script.version}/`)console.log("updated:", extensionToml)await Bun.file(extensionToml).write(toml)