Repository navigation
Commit 8e3a183
committed
fix(opencode): declare .scm imports for the opencode typecheck
packages/tui/src/parsers-config.ts imports the bundled grammars'
highlights and injections queries as `*.scm` files. The opencode
program compiles parsers-config.ts through its import of the tui
package but does not include tui's parsers/assets.d.ts, so its
typecheck failed with TS2307 for every .scm import. Declare `*.scm`
beside `*.wasm` in packages/opencode/src/audio.d.ts.
Turbo's cached opencode#typecheck hides this until a push changes a
file under packages/opencode, because the task hash covers only that
package.
AI-Model: anthropic/claude-opus-5-5
AI-Variant: high
AI-Tool: opencode 1.19.0-vt-227-dfb56f76c7
AI-Platform: linux
AI-Harness: Vibeterm e6434eb
AI-Session-ID: ses_ed1e2b932ffe6tTqhsOiGuYXRE1 parent bfc03b0 commit 8e3a183
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
0 commit comments