Skip to content

extra directories created when installing packages #6

@vegastyle

Description

@vegastyle

When you use openpackage install, if openpackage detects a platform directory, it will create empty directories for all the configurations it supports even if the package being installed does not have any files for it. By default openpackage should not create directories for files that do not exist in the package.

Steps to recreate issue:

mkdir .claude
mkdir .opencode
openpackge init empty-package 
openpackage add some-file.md
# Set version manually of the generated package.yml
openpackage pack empty-package
openpackage install empty-package

.claude and .opencode should now have agents, commands directories created even though the package does not have any. The claude code directory should also have rules and skill files as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions