Skip to content

fix: normalize prompt file paths in config during bundle apply#202

Merged
sven1103 merged 1 commit intomainfrom
fix/prompt-path-normalization
Apr 16, 2026
Merged

fix: normalize prompt file paths in config during bundle apply#202
sven1103 merged 1 commit intomainfrom
fix/prompt-path-normalization

Conversation

@sven1103-agent
Copy link
Copy Markdown
Collaborator

Summary

  • Adjusts prompt file references in preset configs from ./prompts/ to .opencode/prompts/ during bundle installation
  • Ensures configs work correctly after installation regardless of bundle's original path format
  • Adds test to verify path normalization and prompt file installation

Related

When installing prompt files from bundles, the CLI now adjusts file
references in the preset config from ./prompts/ to .opencode/prompts/
to match the target installation location.

This ensures the config works correctly after installation regardless
of the bundle's original path references.

Add test: TestBundleApplyAdjustsPromptFilePaths

Refs: qbicsoftware/opencode-config-bundle#11
@sven1103-agent sven1103-agent force-pushed the fix/prompt-path-normalization branch from 0174d8b to ef35feb Compare April 16, 2026 19:55
@sven1103 sven1103 merged commit 54ea574 into main Apr 16, 2026
8 checks passed
@sven1103 sven1103 deleted the fix/prompt-path-normalization branch April 16, 2026 19:57
@sven1103 sven1103 added the kind:chore Release notes: maintenance work label Apr 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind:chore Release notes: maintenance work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants