armin-opencode 0.1.1 → 0.1.2

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.
Files changed (2) hide show
  1. package/bin/armin.js +4 -1
  2. package/package.json +1 -1
package/bin/armin.js CHANGED
@@ -97,7 +97,10 @@ function buildFromSource() {
97
97
  function registerPlugin() {
98
98
  const plugin = path.join(PKG_ROOT, "plugins", "armin.ts");
99
99
  if (!fs.existsSync(plugin)) throw new Error(`plugin not found at ${plugin}`);
100
- const cfgDir = process.env.XDG_CONFIG_HOME || path.join(os.homedir(), ".config", "opencode");
100
+ const cfgDir = path.join(
101
+ process.env.XDG_CONFIG_HOME || path.join(os.homedir(), ".config"),
102
+ "opencode",
103
+ );
101
104
  const cfgPath = fs.existsSync(path.join(cfgDir, "opencode.jsonc"))
102
105
  ? path.join(cfgDir, "opencode.jsonc")
103
106
  : path.join(cfgDir, "opencode.json");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "armin-opencode",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "ARMIN — queryable decision memory for AI coding agents. Installs the armin-engine sidecar and registers the opencode plugin.",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Bastian Seifert",