Skip to content

Commit a24ba13

Browse files
authored
fix: correct default instructions path in opencode.json to .opencode/… (#5)
* fix: correct default instructions path in opencode.json to .opencode/guidelines/*.md The default value for instructions in opencode.json was incorrectly set to 'guideline/*.md'. This has been corrected to '.opencode/guidelines/*.md' to align with the standard project structure where: - opencode.json is located in the .opencode/ directory - guidelines are stored in .opencode/guidelines/ directory * Update opencode-link.js * chore: release v0.3.1 - Update version to 0.3.1 - Update CHANGELOG with new fixes * Update CHANGELOG.md
1 parent b89a5d0 commit a24ba13

3 files changed

Lines changed: 10 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,15 @@
22

33
All notable changes to this project will be documented in this file.
44

5-
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.3.1] - 2026-03-13
9+
10+
### Fixed
11+
- Corrected default instructions path in opencode.json to `.opencode/guidelines/*.md`
12+
- Updated `opencode-link.js` for improved CLI tool compatibility
13+
814
## [0.3.0] - 2026-03-12
915

1016
### Added
@@ -21,7 +27,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2127

2228
### Changed
2329
- `bin/opencode-link.js` - Extended with new CLI commands for skills.sh integration
24-
- `README.md` - Updated documentation with new functions
30+
- `README.md` - Updated documentation of new features
2531
- `package.json` - Updated dependencies and version
2632

2733
### Details

bin/opencode-link.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ function ensureDirectoryStructure() {
262262
if (!fs.existsSync(configPath)) {
263263
const defaultConfig = {
264264
$schema: 'https://opencode.ai/config.json',
265-
instructions: ['guideline/*.md'],
265+
instructions: ['guidelines/*.md'],
266266
};
267267
fs.writeFileSync(configPath, JSON.stringify(defaultConfig, null, 2) + '\n');
268268
logSuccess('opencode.json created');

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@techdivision/opencode-cli",
3-
"version": "0.3.0",
3+
"version": "0.3.1",
44
"description": "CLI tools for OpenCode plugin management",
55
"type": "module",
66
"bin": {

0 commit comments

Comments
 (0)