Skip to content

fix(cortex-code): bump to v1.0.73 and fix binary cmd path#281

Merged
benbrandt merged 2 commits intoagentclientprotocol:mainfrom
kameshsampath:feat/cortex-version-bump-v1.0.73
May 4, 2026
Merged

fix(cortex-code): bump to v1.0.73 and fix binary cmd path#281
benbrandt merged 2 commits intoagentclientprotocol:mainfrom
kameshsampath:feat/cortex-version-bump-v1.0.73

Conversation

@kameshsampath
Copy link
Copy Markdown
Contributor

@kameshsampath kameshsampath commented May 4, 2026

Summary

Root cause

The Cortex Code tarball extracts into a versioned subdirectory:

coco-1.0.73+180523.e6179a031de9-darwin-arm64/
└── cortex

Zed resolves cmd relative to the extraction root (<version_dir>), so "./cortex" pointed to <version_dir>/cortex which does not exist. The binary actually lands at <version_dir>/coco-{version}-{platform}/cortex.

Fix

Updated cmd for all 6 platforms to include the versioned subdirectory prefix:

Platform Before After
darwin-aarch64 ./cortex coco-1.0.73+180523.e6179a031de9-darwin-arm64/cortex
darwin-x86_64 ./cortex coco-1.0.73+180523.e6179a031de9-darwin-amd64/cortex
linux-x86_64 ./cortex coco-1.0.73+180523.e6179a031de9-linux-amd64/cortex
linux-aarch64 ./cortex coco-1.0.73+180523.e6179a031de9-linux-arm64/cortex
windows-x86_64 ./cortex.exe coco-1.0.73+180523.e6179a031de9-windows-amd64/cortex.exe
windows-aarch64 ./cortex.exe coco-1.0.73+180523.e6179a031de9-windows-arm64/cortex.exe

Test plan

  • Verified tarball extraction layout by streaming all 6 platform archives (curl | tar -tzf -)
  • Tested cmd path on darwin-arm64: extracted to temp dir and executed coco-1.0.73+180523.e6179a031de9-darwin-arm64/cortex --versionCortex Code v0.26.0430
  • Confirmed no 1.0.58 references remain in agent.json
  • JSON valid (python3 -m json.tool)

.... Generated with Cortex Code

Co-Authored-By: Cortex Code noreply@snowflake.com

kameshsampath and others added 2 commits May 4, 2026 10:06
Update cortex-code/agent.json from v1.0.58 to v1.0.73
(1.0.73+180523.e6179a031de9) across all 6 platforms. Also fix the
cmd field to include the versioned subdirectory that the tarball
extracts into (e.g. coco-1.0.73+180523.e6179a031de9-darwin-arm64/cortex)
instead of the previously incorrect ./cortex.

.... Generated with [Cortex Code](https://docs.snowflake.com/en/user-guide/cortex-code/cortex-code)

Co-Authored-By: Cortex Code <noreply@snowflake.com>
@kameshsampath kameshsampath force-pushed the feat/cortex-version-bump-v1.0.73 branch from 090ea59 to d1516fc Compare May 4, 2026 04:36
@kameshsampath
Copy link
Copy Markdown
Contributor Author

@yeskunall the issue has been fixed here. Please review and merge.

@benbrandt benbrandt merged commit 054be23 into agentclientprotocol:main May 4, 2026
34 checks passed
@kameshsampath
Copy link
Copy Markdown
Contributor Author

@benbrandt thanks for merging this, and I see the tar extraction is good but the command need to be relative path in agent.json fixed in here can you please merge it #282

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