Skip to content

Commit efb4f9c

Browse files
Rick Valdesclaude
andcommitted
Exclude bundled assets from typecheck
Skills embedded under src/assets contain illustrative code samples that import modules which do not exist in this repo, so tsgo failed on them. They are data that gets copied into the config directory, never compiled — exclude the directory rather than editing the skills. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 899a948 commit efb4f9c

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

packages/opencode/tsconfig.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,10 @@
1212
"@/*": ["./src/*"],
1313
"@test/*": ["./test/*"]
1414
}
15-
}
15+
},
16+
// src/assets holds the skills and agents embedded into the binary. Their
17+
// contents are data, not project source — some skills include illustrative
18+
// code samples that reference modules which do not exist here, and those
19+
// must not fail the build.
20+
"exclude": ["src/assets"]
1621
}

0 commit comments

Comments
 (0)