@jmylchreest/aide-plugin 0.0.45 → 0.0.46

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -126,9 +126,15 @@ if [[ "$NEEDS_DOWNLOAD" == "true" ]]; then
126
126
  log "Downloading binary..."
127
127
  log "Using downloader: $DOWNLOADER"
128
128
 
129
- # Use tsx for .ts files (dev), node for .js files (npm install)
129
+ # Use bun/tsx for .ts files (dev), node for .js files (npm install)
130
130
  if [[ "$DOWNLOADER" == *.ts ]]; then
131
- RUNNER="npx --yes tsx"
131
+ if command -v bun &>/dev/null; then
132
+ RUNNER="bun"
133
+ elif command -v tsx &>/dev/null; then
134
+ RUNNER="tsx"
135
+ else
136
+ RUNNER="npx --yes tsx"
137
+ fi
132
138
  else
133
139
  RUNNER="node"
134
140
  fi
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jmylchreest/aide-plugin",
3
- "version": "0.0.45",
3
+ "version": "0.0.46",
4
4
  "description": "aide plugin for OpenCode — multi-agent orchestration, memory, skills, and persistence",
5
5
  "type": "module",
6
6
  "main": "./src/opencode/index.ts",