Skip to content

Bug: caveman-compress.md missing from opencode plugin — install always fails #391

@Mikuller

Description

@Mikuller

Bug: caveman-compress.md missing from opencode plugin — install always fails

Description

When installing the caveman skill for opencode, the installer fails with an ENOENT error because caveman-compress.md does not exist in the published package under src/plugins/opencode/commands/.

The file is referenced and expected by the installer, but it was never committed to the repo or included in the npm package.

Steps to Reproduce

  1. Run the caveman installer:
    irm https://raw.githubusercontent.com/JuliusBrussee/caveman/main/install.ps1 -OutFile install.ps1; .\install.ps1
  2. Select option 2 (opencode)
  3. Installer fails at the final copy step

Error

opencode install failed: ENOENT: no such file or directory, copyfile
'...\caveman-installer\src\plugins\opencode\commands\caveman-compress.md'
-> 'C:\Users\<user>\AppData\Roaming\opencode\commands\caveman-compress.md'

Verification

Inspecting the cached npm package confirms the file is absent:

Get-ChildItem "$env:LOCALAPPDATA\npm-cache\_npx\...\node_modules\caveman-installer\src\plugins\opencode\commands\"

caveman-compress.md is not listed. All other .md command files are present.

Environment

  • OS: Windows 11
  • Shell: PowerShell
  • Agent: opencode

Expected Behavior

caveman-compress.md should exist in src/plugins/opencode/commands/ so the installer can copy it successfully.

Workaround

Manually create the missing file at the destination:

New-Item -ItemType File -Force -Path "$env:APPDATA\opencode\commands\caveman-compress.md"

This allows the rest of the installation to function normally.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions