altimate-code
altimate-code copied to clipboard
fix: skills, dbt-tools, and altimate-setup not bundled in shipped npm binary
Problem
Several packages and skills are not getting bundled when shipping the npm binary:
altimate-setupskill missing — exists inpackages/opencode/.opencode/skills/butpublish.tscopies from root.opencode/skills/, so it never ships@altimateai/dbt-toolsnot shipped — not a dependency, not built in release workflow, not copied into dist- Skills unavailable for Homebrew/AUR/Docker — these channels skip npm postinstall, so no skills at all
- Two separate skills directories (root vs packages/opencode) cause split-brain
Solution
- Embed skills in binary at build time (like migrations) with filesystem-first fallback
- Consolidate
altimate-setupto root.opencode/skills/ - Bundle dbt-tools binary+dist in npm package with postinstall symlinking
- Export
ALTIMATE_BIN_DIRfrom wrapper scripts, prepend to PATH in bash tool - Handle Windows .cmd shim, copy fallback path resolution, and
builtin:location prefix in skill tool
Related: #308