@draig/lexis-two 1.1.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@draig/lexis-two",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "The simple way to obtain the best code. Portable rules, skills, and slash commands for AI agents with lowest tokens usage.",
5
5
  "bin": {
6
6
  "lexis-two": "scripts/install.js"
@@ -252,9 +252,9 @@ function fileExists(target) {
252
252
  }
253
253
 
254
254
  function getOpencodeConfigDir(home) {
255
- if (process.platform === 'win32') {
256
- const appData = process.env.APPDATA || path.join(home, 'AppData', 'Roaming');
257
- return path.join(appData, 'opencode');
255
+ // lexis: match `opencode debug paths` — on Windows OpenCode uses ~/.config/opencode, not %APPDATA%/opencode
256
+ if (process.env.OPENCODE_CONFIG_DIR) {
257
+ return process.env.OPENCODE_CONFIG_DIR;
258
258
  }
259
259
  const xdg = process.env.XDG_CONFIG_HOME;
260
260
  if (xdg) {