Repository navigation
v1.8.3
Eight findings from a five-lens swarm review applied as a single batch.
Fixed
$ZED_SYMBOLno longer flows into abash -cstring in the "Run handler" task. It's now passed as an environment variable (HANDLER) and read as a normal shell variable, eliminating the textual-injection risk a maliciously named handler could otherwise exploit. (Security audit.)mktempleak in the handler task closed. The previous one-liner appended.applescriptto$(mktemp …), leaving the original temp file un-deleted on every run. Now usesmktemp+mv+trap … EXITfor guaranteed cleanup. (Code review.)runnables.scmhandler-name capture renamed@_name→@nameso Zed actually populates$ZED_SYMBOLin the task label. The leading-underscore convention marks a capture as internal/unused, which on some Zed builds suppressed the substitution silently. (Code review.)just testno longer truncates its output with| tail -3. CI failures now show which fixture broke and the diff, not just the summary count. (Code review.)just releaseuses explicitgit addpaths (extension.toml,grammars/tree-sitter-applescript,CHANGELOG.md) instead ofgit add -A, so a release commit can't sweep in stray local files. (Security audit.)tree-sitter-cli@0.22pinned in CI (ci.yml+release.yml). The previous unpinnednpm install -g tree-sitter-cliwould have broken silently on a major-version bump. (Maintenance forecast.)
Added
- Comment language injection (
injections.scm): both(comment)and(block_comment)now inject Zed'scommentpseudo-language, activating built-in TODO/FIXME/NOTE/HACK gutter highlighting. (Comparative analysis vs Dart/Haskell/Lua.) - GitHub topics on the extension repo (
zed-editor,zed-extension,osascript,automation,tree-sitter,macos,applescript,zed) and a clearer description that drops the misleading(WIP)prefix at v1.8.3. (Outside-skeptic review.)