Description
[BUG] LSP install silently fails on npm 11 — need package.json stub before npm install --no-save
Environment
- AFT CLI: v0.35.1
- AFT binary: 0.35.1
- OS: darwin arm64
- Node: v25.9.0
Diagnostics
- Timestamp: 2026-06-03T18:51:41.831Z
- AFT CLI: v0.35.1
- AFT binary: 0.35.1
- OS: darwin arm64
- Node: v25.9.0
OpenCode
- Host installed: true
- Host version: 1.15.13
- Plugin registered: true
- Plugin version: 0.35.1
- AFT config parse error: none
Config paths
{
"configDir": "~/.config/opencode",
"harnessConfig": "~/.config/opencode/opencode.json",
"harnessConfigFormat": "json",
"aftConfig": "~/.config/opencode/aft.json",
"aftConfigFormat": "json",
"tuiConfig": "~/.config/opencode/tui.json",
"tuiConfigFormat": "json"
}
AFT flags
{
"$schema": "https://raw.githubusercontent.com/cortexkit/aft/master/assets/aft.schema.json"
}
Plugin cache
{
"path": "~/.cache/opencode/packages/@cortexkit/aft-opencode@latest",
"cached": "0.35.1",
"latest": "0.35.1",
"exists": true
}
Storage
{
"path": "~/.local/share/cortexkit/aft",
"exists": true,
"accessible": true,
"sizesByKey": {
"index": 0,
"semantic": 0,
"backups": 0,
"url_cache": 0,
"onnxruntime": 0
}
}
ONNX Runtime
{
"required": false,
"systemPath": null,
"systemVersion": null,
"systemCompatible": null,
"cachedPath": null,
"cachedVersion": null,
"cachedCompatible": null,
"platform": "darwin-arm64",
"installHint": "brew install onnxruntime (Apple Silicon)",
"requirement": ">=1.20"
}
Log file
/var/folders/9f/hp9ydfwn7wxcm48907jlpm3c0000gn/T/aft-plugin.log (204 KB)
Binary cache
{
"versions": [
"v0.33.0",
"v0.34.0",
"v0.35.1"
],
"activeVersion": "v0.35.1",
"totalSize": 171565508,
"path": "~/.cache/aft/bin"
}
LSP cache
{
"npm": {
"path": "~/.cache/aft/lsp-packages",
"entries": [
{
"name": "@biomejs/biome",
"path": "~/.cache/aft/lsp-packages/%40biomejs%2Fbiome",
"size": 49958703
},
{
"name": "yaml-language-server",
"path": "~/.cache/aft/lsp-packages/yaml-language-server",
"size": 18337174
},
{
"name": "bash-language-server",
"path": "~/.cache/aft/lsp-packages/bash-language-server",
"size": 14512953
},
{
"name": "typescript-language-server",
"path": "~/.cache/aft/lsp-packages/typescript-language-server",
"size": 3226449
},
{
"name": "pyright",
"path": "~/.cache/aft/lsp-packages/pyright",
"size": 80
},
{
"name": "LuaLS/lua-language-server",
"path": "~/.cache/aft/lsp-packages/LuaLS%2Flua-language-server",
"size": 79
},
{
"name": "dockerfile-language-server-nodejs",
"path": "~/.cache/aft/lsp-packages/dockerfile-language-server-nodejs",
"size": 79
},
{
"name": "intelephense",
"path": "~/.cache/aft/lsp-packages/intelephense",
"size": 79
},
{
"name": "@vue/language-server",
"path": "~/.cache/aft/lsp-packages/%40vue%2Flanguage-server",
"size": 78
}
],
"totalSize": 86035674
},
"github": {
"path": "~/.cache/aft/lsp-binaries",
"entries": [
{
"name": "lua-ls",
"path": "~/.cache/aft/lsp-binaries/lua-ls",
"size": 19189185
}
],
"totalSize": 19189185
},
"totalSize": 105224859
}
Recent errors (last 20, sanitized)
[2026-06-02T21:33:59.076Z] WARN [aft-plugin] [lsp] could not hash newly-installed bash-language-server binary: Error: installed binary not found at any of: ~/.cache/aft/lsp-packages/bash-language-server/node_modules/.bin/bash-language-server
[2026-06-02T21:33:59.421Z] WARN [aft-plugin] [lsp] could not hash newly-installed @biomejs/biome binary: Error: installed binary not found at any of: ~/.cache/aft/lsp-packages/%40biomejs%2Fbiome/node_modules/.bin/biome
[2026-06-02T21:33:59.428Z] WARN [aft-plugin] [lsp] could not hash newly-installed yaml-language-server binary: Error: installed binary not found at any of: ~/.cache/aft/lsp-packages/yaml-language-server/node_modules/.bin/yaml-language-server
[2026-06-02T21:33:59.885Z] WARN [aft-plugin] [lsp] could not hash newly-installed pyright binary: Error: installed binary not found at any of: ~/.cache/aft/lsp-packages/pyright/node_modules/.bin/pyright-langserver
[2026-06-02T21:51:40.074Z] WARN [aft-plugin] [lsp] could not hash newly-installed typescript-language-server binary: Error: installed binary not found at any of: ~/.cache/aft/lsp-packages/typescript-language-server/node_modules/.bin/typescript-language-server
[2026-06-02T22:05:44.775Z] WARN [aft-plugin] [lsp] could not hash newly-installed @biomejs/biome binary: Error: installed binary not found at any of: ~/.cache/aft/lsp-packages/%40biomejs%2Fbiome/node_modules/.bin/biome
[2026-06-02T22:05:44.776Z] WARN [aft-plugin] [lsp] could not hash newly-installed typescript-language-server binary: Error: installed binary not found at any of: ~/.cache/aft/lsp-packages/typescript-language-server/node_modules/.bin/typescript-language-server
[2026-06-02T22:05:44.777Z] WARN [aft-plugin] [lsp] could not hash newly-installed yaml-language-server binary: Error: installed binary not found at any of: ~/.cache/aft/lsp-packages/yaml-language-server/node_modules/.bin/yaml-language-server
[2026-06-03T02:13:37.730Z] WARN [aft-plugin] [lsp] could not hash newly-installed @biomejs/biome binary: Error: installed binary not found at any of: ~/.cache/aft/lsp-packages/%40biomejs%2Fbiome/node_modules/.bin/biome
[2026-06-03T02:13:37.731Z] WARN [aft-plugin] [lsp] could not hash newly-installed typescript-language-server binary: Error: installed binary not found at any of: ~/.cache/aft/lsp-packages/typescript-language-server/node_modules/.bin/typescript-language-server
[2026-06-03T05:06:45.285Z] WARN [aft-plugin] [lsp] could not hash newly-installed pyright binary: Error: installed binary not found at any of: ~/.cache/aft/lsp-packages/pyright/node_modules/.bin/pyright-langserver
[2026-06-03T16:56:50.954Z] WARN [aft-plugin] [lsp] could not hash newly-installed @vue/language-server binary: Error: installed binary not found at any of: ~/.cache/aft/lsp-packages/%40vue%2Flanguage-server/node_modules/.bin/vue-language-server
[2026-06-03T16:56:50.976Z] WARN [aft-plugin] [lsp] could not hash newly-installed intelephense binary: Error: installed binary not found at any of: ~/.cache/aft/lsp-packages/intelephense/node_modules/.bin/intelephense
[2026-06-03T17:04:43.206Z] WARN [aft-plugin] [lsp] could not hash newly-installed @biomejs/biome binary: Error: installed binary not found at any of: ~/.cache/aft/lsp-packages/%40biomejs%2Fbiome/node_modules/.bin/biome
[2026-06-03T17:04:43.763Z] WARN [aft-plugin] [lsp] could not hash newly-installed intelephense binary: Error: installed binary not found at any of: ~/.cache/aft/lsp-packages/intelephense/node_modules/.bin/intelephense
[2026-06-03T17:19:59.468Z] WARN [aft-plugin] [lsp] could not hash newly-installed typescript-language-server binary: Error: installed binary not found at any of: ~/.cache/aft/lsp-packages/typescript-language-server/node_modules/.bin/typescript-language-server
[2026-06-03T17:19:59.470Z] WARN [aft-plugin] [lsp] could not hash newly-installed @biomejs/biome binary: Error: installed binary not found at any of: ~/.cache/aft/lsp-packages/%40biomejs%2Fbiome/node_modules/.bin/biome
[2026-06-03T17:28:24.415Z] WARN [aft-plugin] [lsp] could not hash newly-installed intelephense binary: Error: installed binary not found at any of: ~/.cache/aft/lsp-packages/intelephense/node_modules/.bin/intelephense
[2026-06-03T18:01:58.650Z] WARN [aft-plugin] [lsp] could not hash newly-installed @biomejs/biome binary: Error: installed binary not found at any of: ~/.cache/aft/lsp-packages/%40biomejs%2Fbiome/node_modules/.bin/biome
[2026-06-03T18:01:58.652Z] WARN [aft-plugin] [lsp] could not hash newly-installed @vue/language-server binary: Error: installed binary not found at any of: ~/.cache/aft/lsp-packages/%40vue%2Flanguage-server/node_modules/.bin/vue-language-server
Logs (last 200 lines per harness)
OpenCode log (/var/folders/9f/hp9ydfwn7wxcm48907jlpm3c0000gn/T/aft-plugin.log)
[2026-06-03T17:04:40.040Z] ERROR [aft-plugin] [lsp] install bash-language-server@5.6.0 exited with code 254; last stderr:
[2026-06-03T17:04:42.528Z] INFO [aft-plugin] [auto-update-checker] Skipping check (another instance ran one recently)
[2026-06-03T17:04:43.206Z] INFO [aft-plugin] [lsp] installed @biomejs/biome@2.4.15
[2026-06-03T17:04:43.206Z] WARN [aft-plugin] [lsp] could not hash newly-installed @biomejs/biome binary: Error: installed binary not found at any of: ~/.cache/aft/lsp-packages/%40biomejs%2Fbiome/node_modules/.bin/biome
[2026-06-03T17:04:43.763Z] INFO [aft-plugin] [lsp] installed intelephense@1.18.3
[2026-06-03T17:04:43.763Z] WARN [aft-plugin] [lsp] could not hash newly-installed intelephense binary: Error: installed binary not found at any of: ~/.cache/aft/lsp-packages/intelephense/node_modules/.bin/intelephense
[2026-06-03T17:19:44.802Z] INFO [aft-plugin] Resolved binary: ~/.cache/aft/bin/v0.35.1/aft
[2026-06-03T17:19:44.802Z] INFO [aft-plugin] AFT storage migration skipped for opencode: no legacy data at ~/.local/share/opencode/storage/plugin/aft; using ~/.local/share/cortexkit/aft for fresh install
[2026-06-03T17:19:44.804Z] INFO [aft-plugin] Config loaded from ~/.config/opencode/aft.json
[2026-06-03T17:19:44.816Z] INFO [aft-plugin] [lsp] auto-install: 6 npm + 0 github install(s) running in background
[2026-06-03T17:19:44.827Z] INFO [aft-plugin] Workflow hints injected (2109 chars)
[2026-06-03T17:19:44.827Z] INFO [aft-plugin] [lsp] installing typescript-language-server@5.3.0 to ~/.cache/aft/lsp-packages/typescript-language-server
[2026-06-03T17:19:44.827Z] INFO [aft-plugin] [lsp] installing yaml-language-server@1.23.0 to ~/.cache/aft/lsp-packages/yaml-language-server
[2026-06-03T17:19:44.828Z] INFO [aft-plugin] [lsp] installing bash-language-server@5.6.0 to ~/.cache/aft/lsp-packages/bash-language-server
[2026-06-03T17:19:44.828Z] INFO [aft-plugin] [lsp] installing @vue/language-server@3.3.1 to ~/.cache/aft/lsp-packages/%40vue%2Flanguage-server
[2026-06-03T17:19:44.828Z] INFO [aft-plugin] [lsp] installing intelephense@1.18.3 to ~/.cache/aft/lsp-packages/intelephense
[2026-06-03T17:19:44.828Z] INFO [aft-plugin] [lsp] installing @biomejs/biome@2.4.15 to ~/.cache/aft/lsp-packages/%40biomejs%2Fbiome
[2026-06-03T17:19:44.831Z] DEBUG [aft-plugin] Live OpenCode HTTP listener unreachable; bg-notifications wake path = in-process-fallback. Wakes will still arrive but the upstream duplicate-runner bug (anomalyco/opencode#28202) is not worked around. Launch with `opencode --port 0` in TUI mode to activate the workaround.
[2026-06-03T17:19:44.831Z] INFO [aft-plugin] RPC server listening on 127.0.0.1:50958
[2026-06-03T17:19:49.831Z] INFO [aft-plugin] [auto-update-checker] Skipping check (another instance ran one recently)
[2026-06-03T17:19:59.467Z] INFO [aft-plugin] [lsp] installed typescript-language-server@5.3.0
[2026-06-03T17:19:59.468Z] WARN [aft-plugin] [lsp] could not hash newly-installed typescript-language-server binary: Error: installed binary not found at any of: ~/.cache/aft/lsp-packages/typescript-language-server/node_modules/.bin/typescript-language-server
[2026-06-03T17:19:59.470Z] INFO [aft-plugin] [lsp] installed @biomejs/biome@2.4.15
[2026-06-03T17:19:59.470Z] WARN [aft-plugin] [lsp] could not hash newly-installed @biomejs/biome binary: Error: installed binary not found at any of: ~/.cache/aft/lsp-packages/%40biomejs%2Fbiome/node_modules/.bin/biome
[2026-06-03T17:20:01.089Z] INFO [aft-plugin] Shutdown triggered by dispose — running 1 cleanup(s)
[2026-06-03T17:20:01.089Z] WARN [aft-plugin] [lsp] install yaml-language-server@1.23.0 aborted during shutdown
[2026-06-03T17:20:01.089Z] WARN [aft-plugin] [lsp] install bash-language-server@5.6.0 aborted during shutdown
[2026-06-03T17:20:01.089Z] WARN [aft-plugin] [lsp] install @vue/language-server@3.3.1 aborted during shutdown
[2026-06-03T17:20:01.089Z] WARN [aft-plugin] [lsp] install intelephense@1.18.3 aborted during shutdown
[2026-06-03T17:20:01.902Z] ERROR [aft-plugin] [lsp] install @vue/language-server@3.3.1 exited with code 190; last stderr:
[2026-06-03T17:20:01.904Z] ERROR [aft-plugin] [lsp] install yaml-language-server@1.23.0 exited with code 239; last stderr:
[2026-06-03T17:20:02.040Z] ERROR [aft-plugin] [lsp] install bash-language-server@5.6.0 exited with code 1; last stderr:
[2026-06-03T17:28:07.860Z] INFO [aft-plugin] Resolved binary: ~/.cache/aft/bin/v0.35.1/aft
[2026-06-03T17:28:07.860Z] INFO [aft-plugin] AFT storage migration skipped for opencode: no legacy data at ~/.local/share/opencode/storage/plugin/aft; using ~/.local/share/cortexkit/aft for fresh install
[2026-06-03T17:28:07.863Z] INFO [aft-plugin] Config loaded from ~/.config/opencode/aft.json
[2026-06-03T17:28:07.870Z] INFO [aft-plugin] [lsp] reclaiming install lock for intelephense (owner_pid=16751, alive=false, age_ms=503058.57568359375)
[2026-06-03T17:28:07.876Z] INFO [aft-plugin] [lsp] auto-install: 6 npm + 0 github install(s) running in background
[2026-06-03T17:28:07.888Z] INFO [aft-plugin] Workflow hints injected (2109 chars)
[2026-06-03T17:28:07.888Z] INFO [aft-plugin] [lsp] installing typescript-language-server@5.3.0 to ~/.cache/aft/lsp-packages/typescript-language-server
[2026-06-03T17:28:07.889Z] INFO [aft-plugin] [lsp] installing yaml-language-server@1.23.0 to ~/.cache/aft/lsp-packages/yaml-language-server
[2026-06-03T17:28:07.890Z] INFO [aft-plugin] [lsp] installing bash-language-server@5.6.0 to ~/.cache/aft/lsp-packages/bash-language-server
[2026-06-03T17:28:07.890Z] INFO [aft-plugin] [lsp] installing @vue/language-server@3.3.1 to ~/.cache/aft/lsp-packages/%40vue%2Flanguage-server
[2026-06-03T17:28:07.890Z] INFO [aft-plugin] [lsp] installing intelephense@1.18.3 to ~/.cache/aft/lsp-packages/intelephense
[2026-06-03T17:28:07.890Z] INFO [aft-plugin] [lsp] installing @biomejs/biome@2.4.15 to ~/.cache/aft/lsp-packages/%40biomejs%2Fbiome
[2026-06-03T17:28:07.893Z] DEBUG [aft-plugin] Live OpenCode HTTP listener unreachable; bg-notifications wake path = in-process-fallback. Wakes will still arrive but the upstream duplicate-runner bug (anomalyco/opencode#28202) is not worked around. Launch with `opencode --port 0` in TUI mode to activate the workaround.
[2026-06-03T17:28:07.897Z] INFO [aft-plugin] RPC server listening on 127.0.0.1:51202
[2026-06-03T17:28:12.893Z] INFO [aft-plugin] [auto-update-checker] Skipping check (another instance ran one recently)
[2026-06-03T17:28:23.642Z] ERROR [aft-plugin] [lsp] install bash-language-server@5.6.0 exited with code 239; last stderr:
[2026-06-03T17:28:23.863Z] ERROR [aft-plugin] [lsp] install @vue/language-server@3.3.1 exited with code 239; last stderr:
[2026-06-03T17:28:23.932Z] ERROR [aft-plugin] [lsp] install @biomejs/biome@2.4.15 exited with code 239; last stderr:
[2026-06-03T17:28:24.022Z] ERROR [aft-plugin] [lsp] install yaml-language-server@1.23.0 exited with code 239; last stderr:
[2026-06-03T17:28:24.415Z] INFO [aft-plugin] [lsp] installed intelephense@1.18.3
[2026-06-03T17:28:24.415Z] WARN [aft-plugin] [lsp] could not hash newly-installed intelephense binary: Error: installed binary not found at any of: ~/.cache/aft/lsp-packages/intelephense/node_modules/.bin/intelephense
[2026-06-03T17:28:25.114Z] ERROR [aft-plugin] [lsp] install typescript-language-server@5.3.0 exited with code 254; last stderr:
[2026-06-03T18:01:44.238Z] INFO [aft-plugin] Resolved binary: ~/.cache/aft/bin/v0.35.1/aft
[2026-06-03T18:01:44.238Z] INFO [aft-plugin] AFT storage migration skipped for opencode: no legacy data at ~/.local/share/opencode/storage/plugin/aft; using ~/.local/share/cortexkit/aft for fresh install
[2026-06-03T18:01:44.240Z] INFO [aft-plugin] Config loaded from ~/.config/opencode/aft.json
[2026-06-03T18:01:44.251Z] INFO [aft-plugin] [lsp] auto-install: 6 npm + 0 github install(s) running in background
[2026-06-03T18:01:44.262Z] INFO [aft-plugin] Workflow hints injected (2109 chars)
[2026-06-03T18:01:44.262Z] INFO [aft-plugin] [lsp] installing typescript-language-server@5.3.0 to ~/.cache/aft/lsp-packages/typescript-language-server
[2026-06-03T18:01:44.263Z] INFO [aft-plugin] [lsp] installing yaml-language-server@1.23.0 to ~/.cache/aft/lsp-packages/yaml-language-server
[2026-06-03T18:01:44.263Z] INFO [aft-plugin] [lsp] installing bash-language-server@5.6.0 to ~/.cache/aft/lsp-packages/bash-language-server
[2026-06-03T18:01:44.263Z] INFO [aft-plugin] [lsp] installing @vue/language-server@3.3.1 to ~/.cache/aft/lsp-packages/%40vue%2Flanguage-server
[2026-06-03T18:01:44.264Z] INFO [aft-plugin] [lsp] installing intelephense@1.18.3 to ~/.cache/aft/lsp-packages/intelephense
[2026-06-03T18:01:44.264Z] INFO [aft-plugin] [lsp] installing @biomejs/biome@2.4.15 to ~/.cache/aft/lsp-packages/%40biomejs%2Fbiome
[2026-06-03T18:01:44.266Z] DEBUG [aft-plugin] Live OpenCode HTTP listener unreachable; bg-notifications wake path = in-process-fallback. Wakes will still arrive but the upstream duplicate-runner bug (anomalyco/opencode#28202) is not worked around. Launch with `opencode --port 0` in TUI mode to activate the workaround.
[2026-06-03T18:01:44.266Z] INFO [aft-plugin] RPC server listening on 127.0.0.1:51797
[2026-06-03T18:01:49.544Z] INFO [aft-plugin] [auto-update-checker] Already on latest version for channel: latest
[2026-06-03T18:01:51.586Z] ERROR [aft-plugin] [lsp] install intelephense@1.18.3 exited with code 254; last stderr:
[2026-06-03T18:01:51.597Z] ERROR [aft-plugin] [lsp] install typescript-language-server@5.3.0 exited with code 254; last stderr:
[2026-06-03T18:01:58.618Z] ERROR [aft-plugin] [lsp] install bash-language-server@5.6.0 exited with code 254; last stderr:
[2026-06-03T18:01:58.649Z] INFO [aft-plugin] [lsp] installed @biomejs/biome@2.4.15
[2026-06-03T18:01:58.650Z] WARN [aft-plugin] [lsp] could not hash newly-installed @biomejs/biome binary: Error: installed binary not found at any of: ~/.cache/aft/lsp-packages/%40biomejs%2Fbiome/node_modules/.bin/biome
[2026-06-03T18:01:58.652Z] INFO [aft-plugin] [lsp] installed @vue/language-server@3.3.1
[2026-06-03T18:01:58.652Z] WARN [aft-plugin] [lsp] could not hash newly-installed @vue/language-server binary: Error: installed binary not found at any of: ~/.cache/aft/lsp-packages/%40vue%2Flanguage-server/node_modules/.bin/vue-language-server
[2026-06-03T18:01:58.967Z] ERROR [aft-plugin] [lsp] install yaml-language-server@1.23.0 exited with code 239; last stderr:
[2026-06-03T18:03:05.828Z] INFO [aft-plugin] Resolved binary: ~/.cache/aft/bin/v0.35.1/aft
[2026-06-03T18:03:05.828Z] INFO [aft-plugin] AFT storage migration skipped for opencode: no legacy data at ~/.local/share/opencode/storage/plugin/aft; using ~/.local/share/cortexkit/aft for fresh install
[2026-06-03T18:03:05.831Z] INFO [aft-plugin] Config loaded from ~/.config/opencode/aft.json
[2026-06-03T18:03:05.858Z] INFO [aft-plugin] [lsp] auto-install: 4 npm + 0 github install(s) running in background
[2026-06-03T18:03:05.869Z] INFO [aft-plugin] Workflow hints injected (2109 chars)
[2026-06-03T18:03:05.869Z] INFO [aft-plugin] [lsp] installing typescript-language-server@5.3.0 to ~/.cache/aft/lsp-packages/typescript-language-server
[2026-06-03T18:03:05.870Z] INFO [aft-plugin] [lsp] installing yaml-language-server@1.23.0 to ~/.cache/aft/lsp-packages/yaml-language-server
[2026-06-03T18:03:05.870Z] INFO [aft-plugin] [lsp] installing bash-language-server@5.6.0 to ~/.cache/aft/lsp-packages/bash-language-server
[2026-06-03T18:03:05.870Z] INFO [aft-plugin] [lsp] installing @biomejs/biome@2.4.15 to ~/.cache/aft/lsp-packages/%40biomejs%2Fbiome
[2026-06-03T18:03:05.884Z] INFO [aft-plugin] RPC server listening on 127.0.0.1:51923
[2026-06-03T18:03:05.887Z] DEBUG [aft-plugin] Live OpenCode HTTP listener unreachable; bg-notifications wake path = in-process-fallback. Wakes will still arrive but the upstream duplicate-runner bug (anomalyco/opencode#28202) is not worked around. Launch with `opencode --port 0` in TUI mode to activate the workaround.
[2026-06-03T18:03:08.303Z] ERROR [aft-plugin] [lsp] install typescript-language-server@5.3.0 exited with code 254; last stderr:
[2026-06-03T18:03:08.304Z] ERROR [aft-plugin] [lsp] install bash-language-server@5.6.0 exited with code 254; last stderr:
[2026-06-03T18:03:08.304Z] ERROR [aft-plugin] [lsp] install yaml-language-server@1.23.0 exited with code 254; last stderr:
[2026-06-03T18:03:10.871Z] INFO [aft-plugin] [auto-update-checker] Skipping check (another instance ran one recently)
[2026-06-03T18:03:11.153Z] ERROR [aft-plugin] [lsp] install @biomejs/biome@2.4.15 exited with code 254; last stderr:
[2026-06-03T18:04:20.165Z] INFO [aft-plugin] Config loaded from ~/.config/opencode/aft.json
[2026-06-03T18:04:20.166Z] INFO [aft-plugin] [ses_1d10242ceffeplaViGN09YuVvZ] Spawning binary: ~/.cache/aft/bin/v0.35.1/aft (cwd: <PROJECT>)
[2026-06-03T18:04:20.166Z] INFO [aft-plugin] bridge.spawnProcess: useFastembedBackend=true, parentORT=(unset), ortLibraryPath=(none)
[2026-06-03T18:04:20.177Z] INFO [aft-plugin] [aft] started, pid 31533
[2026-06-03T18:04:20.295Z] INFO [aft-plugin] [aft] [ses_1d10242ceffeplaViGN09YuVvZ] loaded 183 backup entries across 17 session(s) from disk
[2026-06-03T18:04:20.328Z] INFO [aft-plugin] [aft] [ses_1d10242ceffeplaViGN09YuVvZ] gitignore matcher built: 185 pattern(s)
[2026-06-03T18:04:20.359Z] INFO [aft-plugin] [aft] [ses_1d10242ceffeplaViGN09YuVvZ] project root set: <PROJECT>
[2026-06-03T18:04:20.359Z] INFO [aft-plugin] [aft] [ses_1d10242ceffeplaViGN09YuVvZ] watcher started: <PROJECT>
[2026-06-03T18:04:20.387Z] INFO [aft-plugin] Binary version: 0.35.1
[2026-06-03T18:04:21.026Z] INFO [aft-plugin] [ses_1d10242ceffeplaViGN09YuVvZ] [subagent-detect] cache miss, calling client.session.get(id=ses_1d10242ceffeplaViGN09YuVvZ)
[2026-06-03T18:04:21.027Z] INFO [aft-plugin] [ses_1d10242ceffeplaViGN09YuVvZ] [subagent-detect] SDK returned session=present, parentID=undefined → isSubagent=false
[2026-06-03T18:04:21.391Z] INFO [aft-plugin] Received status_changed push frame; cached AFT status snapshot
[2026-06-03T18:04:40.666Z] INFO [aft-plugin] [ses_1d10242ceffeplaViGN09YuVvZ] [aft-plugin] bg-notifications: in-turn append {"event":"bash_completion_in_turn_append","task_ids":["bash-505b999e"],"long_running_task_ids":[],"reminder_sha256":"94a8ee8902695804","reminder_chars":94}
[2026-06-03T18:04:40.682Z] INFO [aft-plugin] [ses_1d10242ceffeplaViGN09YuVvZ] [aft-plugin] bg-notifications: ack ok {"event":"bash_completion_ack_ok","delivery_id":null,"task_ids":["bash-505b999e"]}
[2026-06-03T18:05:46.170Z] INFO [aft-plugin] Config loaded from ~/.config/opencode/aft.json
[2026-06-03T18:05:46.171Z] INFO [aft-plugin] [ses_1d7832679ffezo3O5b5ISJygT5] Spawning binary: ~/.cache/aft/bin/v0.35.1/aft (cwd: /Volumes/Topper2TB/Git/atlas)
[2026-06-03T18:05:46.171Z] INFO [aft-plugin] bridge.spawnProcess: useFastembedBackend=true, parentORT=(unset), ortLibraryPath=(none)
[2026-06-03T18:05:46.378Z] INFO [aft-plugin] [aft] started, pid 32511
[2026-06-03T18:05:46.444Z] INFO [aft-plugin] [aft] [ses_1d7832679ffezo3O5b5ISJygT5] loaded 183 backup entries across 17 session(s) from disk
[2026-06-03T18:05:46.453Z] INFO [aft-plugin] [aft] [ses_1d7832679ffezo3O5b5ISJygT5] gitignore matcher built: 65 pattern(s)
[2026-06-03T18:05:46.464Z] INFO [aft-plugin] [aft] [ses_1d7832679ffezo3O5b5ISJygT5] project root set: /Volumes/Topper2TB/Git/atlas
[2026-06-03T18:05:46.466Z] INFO [aft-plugin] [aft] [ses_1d7832679ffezo3O5b5ISJygT5] watcher started: /Volumes/Topper2TB/Git/atlas
[2026-06-03T18:05:46.490Z] INFO [aft-plugin] Binary version: 0.35.1
[2026-06-03T18:05:47.495Z] INFO [aft-plugin] Received status_changed push frame; cached AFT status snapshot
[2026-06-03T18:05:50.352Z] INFO [aft-plugin] [aft] [ses_1d10242ceffeplaViGN09YuVvZ] tier2 refresh scheduled: reason=configure_warm, categories=["dead_code", "unused_exports", "duplicates"]
[2026-06-03T18:05:57.573Z] INFO [aft-plugin] [ses_1d7832679ffezo3O5b5ISJygT5] [subagent-detect] cache miss, calling client.session.get(id=ses_1d7832679ffezo3O5b5ISJygT5)
[2026-06-03T18:05:57.574Z] INFO [aft-plugin] [ses_1d7832679ffezo3O5b5ISJygT5] [subagent-detect] SDK returned session=present, parentID=undefined → isSubagent=false
[2026-06-03T18:07:16.671Z] INFO [aft-plugin] [aft] [ses_1d7832679ffezo3O5b5ISJygT5] tier2 refresh scheduled: reason=configure_warm, categories=["dead_code", "unused_exports", "duplicates"]
[2026-06-03T18:10:38.811Z] INFO [aft-plugin] [ses_1d10242ceffeplaViGN09YuVvZ] [aft-plugin] bg-notifications: in-turn append {"event":"bash_completion_in_turn_append","task_ids":["bash-db265320"],"long_running_task_ids":[],"reminder_sha256":"60cb639dec869448","reminder_chars":319}
[2026-06-03T18:10:38.825Z] INFO [aft-plugin] [ses_1d10242ceffeplaViGN09YuVvZ] [aft-plugin] bg-notifications: ack ok {"event":"bash_completion_ack_ok","delivery_id":null,"task_ids":["bash-db265320"]}
[2026-06-03T18:12:10.573Z] INFO [aft-plugin] [ses_1d10242ceffeplaViGN09YuVvZ] [aft-plugin] bg-notifications: in-turn append {"event":"bash_completion_in_turn_append","task_ids":["bash-fe7cf1c5"],"long_running_task_ids":[],"reminder_sha256":"1aeb01444d8d1081","reminder_chars":494}
[2026-06-03T18:12:10.586Z] INFO [aft-plugin] [ses_1d10242ceffeplaViGN09YuVvZ] [aft-plugin] bg-notifications: ack ok {"event":"bash_completion_ack_ok","delivery_id":null,"task_ids":["bash-fe7cf1c5"]}
[2026-06-03T18:18:44.442Z] INFO [aft-plugin] [ses_1714a9ff0fferFenYnXq3mdnbR] [subagent-detect] cache miss, calling client.session.get(id=ses_1714a9ff0fferFenYnXq3mdnbR)
[2026-06-03T18:18:44.442Z] INFO [aft-plugin] [ses_1714a9ff0fferFenYnXq3mdnbR] [subagent-detect] SDK returned session=present, parentID="ses_1d7832679ffezo3O5b5ISJygT5" → isSubagent=true
[2026-06-03T18:18:50.337Z] INFO [aft-plugin] [ses_1714a7b2affeGvl6Kf2WG2ajZN] [subagent-detect] cache miss, calling client.session.get(id=ses_1714a7b2affeGvl6Kf2WG2ajZN)
[2026-06-03T18:18:50.338Z] INFO [aft-plugin] [ses_1714a7b2affeGvl6Kf2WG2ajZN] [subagent-detect] SDK returned session=present, parentID="ses_1d7832679ffezo3O5b5ISJygT5" → isSubagent=true
[2026-06-03T18:22:16.627Z] INFO [aft-plugin] [ses_1d10242ceffeplaViGN09YuVvZ] [aft-plugin] bg-notifications: in-turn append {"event":"bash_completion_in_turn_append","task_ids":["bash-7f4aab78"],"long_running_task_ids":[],"reminder_sha256":"311efe5011cb653e","reminder_chars":394}
[2026-06-03T18:22:16.641Z] INFO [aft-plugin] [ses_1d10242ceffeplaViGN09YuVvZ] [aft-plugin] bg-notifications: ack ok {"event":"bash_completion_ack_ok","delivery_id":null,"task_ids":["bash-7f4aab78"]}
[2026-06-03T18:23:45.522Z] INFO [aft-plugin] [aft] [ses_1d10242ceffeplaViGN09YuVvZ] bash rewrite rule grep declined: grep declined: grep: search path does not exist: <PROJECT>/~/.cache/opencode/packages/@cortexkit/aft-opencode@latest/node_modules/@cortexkit/aft-opencode/dist/index.js
[2026-06-03T18:23:50.200Z] INFO [aft-plugin] [aft] [ses_1d10242ceffeplaViGN09YuVvZ] bash rewrite rule sed declined: read declined: read: file not found: ~/.cache/opencode/packages/@cortexkit/aft-opencode@latest/node_modules/@cortexkit/aft-opencode/dist/index.js
[2026-06-03T18:23:57.415Z] INFO [aft-plugin] [ses_1d7832679ffezo3O5b5ISJygT5] [aft-plugin] bg-notifications: wake scheduled {"event":"bash_completion_wake_scheduled","delay_ms":200,"pending_completions":2,"pending_long_running":0,"pending_pattern_matches":0,"retry_attempt":0}
[2026-06-03T18:23:57.677Z] INFO [aft-plugin] [ses_1d7832679ffezo3O5b5ISJygT5] [aft-plugin] bg-notifications: wake fire {"event":"bash_completion_wake_fire","task_ids":["bash-629f3bfd","bash-45943f2a"],"long_running_task_ids":[],"reminder_sha256":"968561856459c29b","reminder_chars":595,"retry_attempt":0}
[2026-06-03T18:23:57.683Z] INFO [aft-plugin] [ses_1d7832679ffezo3O5b5ISJygT5] [aft-plugin] bg-notifications: wake promptAsync start {"event":"bash_completion_wake_prompt_async_start","delivery_id":"aftdel_d30b6287-3d3e-4706-b966-ee831c9d26ca","attempt":1,"task_ids":["bash-629f3bfd","bash-45943f2a"],"directory":"/Volumes/Topper2TB/Git/atlas","reminder_sha256":"968561856459c29b","reminder_chars":595,"wake_client_path":"in-process-fallback","prompt_context":{"agent":"Sisyphus - ultraworker","model":{"providerID":"anthropic","modelID":"claude-sonnet-4-6"},"variant":"high"}}
[2026-06-03T18:23:57.686Z] INFO [aft-plugin] [ses_1d7832679ffezo3O5b5ISJygT5] [aft-plugin] bg-notifications: wake promptAsync ok {"event":"bash_completion_wake_prompt_async_ok","delivery_id":"aftdel_d30b6287-3d3e-4706-b966-ee831c9d26ca","attempt":1,"task_ids":["bash-629f3bfd","bash-45943f2a"],"wake_client_path":"in-process-fallback"}
[2026-06-03T18:23:57.735Z] INFO [aft-plugin] [ses_1d7832679ffezo3O5b5ISJygT5] [aft-plugin] bg-notifications: ack ok {"event":"bash_completion_ack_ok","delivery_id":"aftdel_d30b6287-3d3e-4706-b966-ee831c9d26ca","task_ids":["bash-629f3bfd","bash-45943f2a"]}
[2026-06-03T18:23:58.205Z] INFO [aft-plugin] [aft] [ses_1d10242ceffeplaViGN09YuVvZ] bash rewrite rule sed declined: read declined: read: file not found: ~/.cache/opencode/packages/@cortexkit/aft-opencode@latest/node_modules/@cortexkit/aft-opencode/dist/index.js
[2026-06-03T18:24:31.565Z] INFO [aft-plugin] [aft-lsp] [ses_1d10242ceffeplaViGN09YuVvZ] failed to spawn TypeScript Language Server: not found: language server binary 'typescript-language-server' not found in node_modules/.bin, lsp_paths_extra, or PATH
[2026-06-03T18:25:23.707Z] INFO [aft-plugin] [aft] [ses_1d10242ceffeplaViGN09YuVvZ] bash rewrite rule sed declined: read declined: read: file not found: ~/.cache/opencode/packages/@cortexkit/aft-opencode@latest/node_modules/@cortexkit/aft-opencode/dist/index.js
[2026-06-03T18:25:41.993Z] INFO [aft-plugin] [aft] [ses_1d10242ceffeplaViGN09YuVvZ] bash rewrite rule sed declined: read declined: read: file not found: ~/.cache/opencode/packages/@cortexkit/aft-opencode@latest/node_modules/@cortexkit/aft-opencode/dist/index.js
[2026-06-03T18:25:49.682Z] INFO [aft-plugin] [aft] [ses_1d10242ceffeplaViGN09YuVvZ] bash rewrite rule sed declined: read declined: read: file not found: ~/.cache/opencode/packages/@cortexkit/aft-opencode@latest/node_modules/@cortexkit/aft-opencode/dist/index.js
[2026-06-03T18:26:08.815Z] INFO [aft-plugin] [aft] [ses_1d10242ceffeplaViGN09YuVvZ] bash rewrite rule sed declined: read declined: read: file not found: ~/.cache/opencode/packages/@cortexkit/aft-opencode@latest/node_modules/@cortexkit/aft-opencode/dist/index.js
[2026-06-03T18:26:18.509Z] INFO [aft-plugin] [aft] [ses_1d10242ceffeplaViGN09YuVvZ] bash rewrite rule sed declined: read declined: read: file not found: ~/.cache/opencode/packages/@cortexkit/aft-opencode@latest/node_modules/@cortexkit/aft-opencode/dist/index.js
[2026-06-03T18:26:30.135Z] INFO [aft-plugin] [aft] [ses_1d10242ceffeplaViGN09YuVvZ] bash rewrite rule sed declined: read declined: read: file not found: ~/.cache/opencode/packages/@cortexkit/aft-opencode@latest/node_modules/@cortexkit/aft-opencode/dist/index.js
[2026-06-03T18:26:43.055Z] INFO [aft-plugin] [aft] [ses_1d10242ceffeplaViGN09YuVvZ] bash rewrite rule sed declined: read declined: read: file not found: ~/.cache/opencode/packages/@cortexkit/aft-opencode@latest/node_modules/@cortexkit/aft-opencode/dist/index.js
[2026-06-03T18:30:19.008Z] INFO [aft-plugin] [aft] [ses_1d10242ceffeplaViGN09YuVvZ] invalidated 1 files
[2026-06-03T18:30:53.025Z] INFO [aft-plugin] [ses_1713f6298ffeOczkSVyptp2dAB] [subagent-detect] cache miss, calling client.session.get(id=ses_1713f6298ffeOczkSVyptp2dAB)
[2026-06-03T18:30:53.026Z] INFO [aft-plugin] [ses_1713f6298ffeOczkSVyptp2dAB] [subagent-detect] SDK returned session=present, parentID="ses_1d10242ceffeplaViGN09YuVvZ" → isSubagent=true
[2026-06-03T18:31:03.988Z] INFO [aft-plugin] [aft] [ses_1713f6298ffeOczkSVyptp2dAB] tier2 refresh scheduled: reason=debounce, categories=["dead_code", "unused_exports", "duplicates"]
[2026-06-03T18:41:31.611Z] INFO [aft-plugin] [ses_17135b04effezs0ImGQTEj716k] [subagent-detect] cache miss, calling client.session.get(id=ses_17135b04effezs0ImGQTEj716k)
[2026-06-03T18:41:31.612Z] INFO [aft-plugin] [ses_17135b04effezs0ImGQTEj716k] [subagent-detect] SDK returned session=present, parentID="ses_1d7832679ffezo3O5b5ISJygT5" → isSubagent=true
[2026-06-03T18:48:36.542Z] INFO [aft-plugin] Resolved binary: ~/.cache/aft/bin/v0.35.1/aft
[2026-06-03T18:48:36.543Z] INFO [aft-plugin] AFT storage migration skipped for opencode: no legacy data at ~/.local/share/opencode/storage/plugin/aft; using ~/.local/share/cortexkit/aft for fresh install
[2026-06-03T18:48:36.545Z] INFO [aft-plugin] Config loaded from ~/.config/opencode/aft.json
[2026-06-03T18:48:36.559Z] INFO [aft-plugin] [lsp] auto-install: 4 npm + 0 github install(s) running in background
[2026-06-03T18:48:36.571Z] INFO [aft-plugin] Workflow hints injected (2109 chars)
[2026-06-03T18:48:36.571Z] INFO [aft-plugin] [lsp] installing typescript-language-server@5.3.0 to ~/.cache/aft/lsp-packages/typescript-language-server
[2026-06-03T18:48:36.572Z] INFO [aft-plugin] [lsp] installing yaml-language-server@1.23.0 to ~/.cache/aft/lsp-packages/yaml-language-server
[2026-06-03T18:48:36.573Z] INFO [aft-plugin] [lsp] installing bash-language-server@5.6.0 to ~/.cache/aft/lsp-packages/bash-language-server
[2026-06-03T18:48:36.573Z] INFO [aft-plugin] [lsp] installing @biomejs/biome@2.4.15 to ~/.cache/aft/lsp-packages/%40biomejs%2Fbiome
[2026-06-03T18:48:36.576Z] DEBUG [aft-plugin] Live OpenCode HTTP listener unreachable; bg-notifications wake path = in-process-fallback. Wakes will still arrive but the upstream duplicate-runner bug (anomalyco/opencode#28202) is not worked around. Launch with `opencode --port 0` in TUI mode to activate the workaround.
[2026-06-03T18:48:36.586Z] INFO [aft-plugin] RPC server listening on 127.0.0.1:52766
[2026-06-03T18:48:37.147Z] INFO [aft-plugin] [lsp] installed typescript-language-server@5.3.0
[2026-06-03T18:48:37.149Z] INFO [aft-plugin] [lsp] typescript-language-server@5.3.0 installed sha256=86ef128358dcd71d0c684d786d7751ee09fbbbbb2a521482b160007b8228be2e
[2026-06-03T18:48:37.780Z] INFO [aft-plugin] [lsp] installed yaml-language-server@1.23.0
[2026-06-03T18:48:37.780Z] INFO [aft-plugin] [lsp] yaml-language-server@1.23.0 installed sha256=93e9cff3dee44232379f0bccb98dd96d042a4472fe648ac9d4f85633e32c7e8d
[2026-06-03T18:48:37.787Z] INFO [aft-plugin] [lsp] installed @biomejs/biome@2.4.15
[2026-06-03T18:48:37.787Z] INFO [aft-plugin] [lsp] @biomejs/biome@2.4.15 installed sha256=84b3bc11895b48aa39258850383bfaf66399dab97df905df446681303d9d6798
[2026-06-03T18:48:38.148Z] INFO [aft-plugin] [lsp] installed bash-language-server@5.6.0
[2026-06-03T18:48:38.149Z] INFO [aft-plugin] [lsp] bash-language-server@5.6.0 installed sha256=9b40161b305793636fa6c3649c292b28a077a5200483b51ea57cc7e8f25211ad
[2026-06-03T18:48:41.578Z] INFO [aft-plugin] [auto-update-checker] Skipping check (another instance ran one recently)
[2026-06-03T18:50:26.652Z] INFO [aft-plugin] Config loaded from ~/.config/opencode/aft.json
[2026-06-03T18:50:26.653Z] INFO [aft-plugin] [ses_1712d8123ffeYVRvGLr5Vp4iVd] Spawning binary: ~/.cache/aft/bin/v0.35.1/aft (cwd: <PROJECT>)
[2026-06-03T18:50:26.653Z] INFO [aft-plugin] bridge.spawnProcess: useFastembedBackend=true, parentORT=(unset), ortLibraryPath=(none)
[2026-06-03T18:50:26.664Z] INFO [aft-plugin] [aft] started, pid 79811
[2026-06-03T18:50:26.723Z] INFO [aft-plugin] [aft] [ses_1712d8123ffeYVRvGLr5Vp4iVd] removed stale backup session ~/.local/share/cortexkit/aft/opencode/backups/988aa3480cd34182 (last_accessed=1780424313)
[2026-06-03T18:50:26.762Z] INFO [aft-plugin] [aft] [ses_1712d8123ffeYVRvGLr5Vp4iVd] loaded 190 backup entries across 17 session(s) from disk
[2026-06-03T18:50:26.790Z] INFO [aft-plugin] [aft] [ses_1712d8123ffeYVRvGLr5Vp4iVd] gitignore matcher built: 185 pattern(s)
[2026-06-03T18:50:26.796Z] INFO [aft-plugin] [aft] [ses_1712d8123ffeYVRvGLr5Vp4iVd] project root set: <PROJECT>
[2026-06-03T18:50:26.797Z] INFO [aft-plugin] [aft] [ses_1712d8123ffeYVRvGLr5Vp4iVd] watcher started: <PROJECT>
[2026-06-03T18:50:26.829Z] INFO [aft-plugin] Binary version: 0.35.1
[2026-06-03T18:50:27.833Z] INFO [aft-plugin] Received status_changed push frame; cached AFT status snapshot
Usernames and home paths have been stripped from this report.
Description
[BUG] LSP install silently fails on npm 11 — need package.json stub before npm install --no-save
Environment
Diagnostics
OpenCode
Config paths
{ "configDir": "~/.config/opencode", "harnessConfig": "~/.config/opencode/opencode.json", "harnessConfigFormat": "json", "aftConfig": "~/.config/opencode/aft.json", "aftConfigFormat": "json", "tuiConfig": "~/.config/opencode/tui.json", "tuiConfigFormat": "json" }AFT flags
{ "$schema": "https://raw.githubusercontent.com/cortexkit/aft/master/assets/aft.schema.json" }Plugin cache
{ "path": "~/.cache/opencode/packages/@cortexkit/aft-opencode@latest", "cached": "0.35.1", "latest": "0.35.1", "exists": true }Storage
{ "path": "~/.local/share/cortexkit/aft", "exists": true, "accessible": true, "sizesByKey": { "index": 0, "semantic": 0, "backups": 0, "url_cache": 0, "onnxruntime": 0 } }ONNX Runtime
{ "required": false, "systemPath": null, "systemVersion": null, "systemCompatible": null, "cachedPath": null, "cachedVersion": null, "cachedCompatible": null, "platform": "darwin-arm64", "installHint": "brew install onnxruntime (Apple Silicon)", "requirement": ">=1.20" }Log file
/var/folders/9f/hp9ydfwn7wxcm48907jlpm3c0000gn/T/aft-plugin.log(204 KB)Binary cache
{ "versions": [ "v0.33.0", "v0.34.0", "v0.35.1" ], "activeVersion": "v0.35.1", "totalSize": 171565508, "path": "~/.cache/aft/bin" }LSP cache
{ "npm": { "path": "~/.cache/aft/lsp-packages", "entries": [ { "name": "@biomejs/biome", "path": "~/.cache/aft/lsp-packages/%40biomejs%2Fbiome", "size": 49958703 }, { "name": "yaml-language-server", "path": "~/.cache/aft/lsp-packages/yaml-language-server", "size": 18337174 }, { "name": "bash-language-server", "path": "~/.cache/aft/lsp-packages/bash-language-server", "size": 14512953 }, { "name": "typescript-language-server", "path": "~/.cache/aft/lsp-packages/typescript-language-server", "size": 3226449 }, { "name": "pyright", "path": "~/.cache/aft/lsp-packages/pyright", "size": 80 }, { "name": "LuaLS/lua-language-server", "path": "~/.cache/aft/lsp-packages/LuaLS%2Flua-language-server", "size": 79 }, { "name": "dockerfile-language-server-nodejs", "path": "~/.cache/aft/lsp-packages/dockerfile-language-server-nodejs", "size": 79 }, { "name": "intelephense", "path": "~/.cache/aft/lsp-packages/intelephense", "size": 79 }, { "name": "@vue/language-server", "path": "~/.cache/aft/lsp-packages/%40vue%2Flanguage-server", "size": 78 } ], "totalSize": 86035674 }, "github": { "path": "~/.cache/aft/lsp-binaries", "entries": [ { "name": "lua-ls", "path": "~/.cache/aft/lsp-binaries/lua-ls", "size": 19189185 } ], "totalSize": 19189185 }, "totalSize": 105224859 }Recent errors (last 20, sanitized)
Logs (last 200 lines per harness)
OpenCode log (/var/folders/9f/hp9ydfwn7wxcm48907jlpm3c0000gn/T/aft-plugin.log)
Usernames and home paths have been stripped from this report.