@graypark/loophaus 2.0.0 → 2.0.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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "loophaus",
3
3
  "description": "loophaus — Control plane for coding agents",
4
- "version": "0.0.0",
4
+ "version": "2.0.0",
5
5
  "author": {
6
6
  "name": "graypark",
7
7
  "email": "vcz.graypark@gmail.com"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graypark/loophaus",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "type": "module",
5
5
  "description": "loophaus — Control plane for coding agents. Iterative dev loops with multi-agent orchestration.",
6
6
  "license": "MIT",
@@ -104,10 +104,18 @@ export async function install({ dryRun = false, force = false } = {}) {
104
104
  skills: "./skills/",
105
105
  }],
106
106
  }, null, 2), "utf-8");
107
- await cp(
108
- join(PROJECT_ROOT, ".claude-plugin", "plugin.json"),
109
- join(mpDir, "plugin.json"),
110
- );
107
+ // Copy plugin.json and patch version dynamically
108
+ const pluginJson = JSON.parse(await readFile(join(PROJECT_ROOT, ".claude-plugin", "plugin.json"), "utf-8"));
109
+ pluginJson.version = version;
110
+ await writeFile(join(mpDir, "plugin.json"), JSON.stringify(pluginJson, null, 2), "utf-8");
111
+
112
+ // Also patch the cached copy
113
+ const cachedPluginJson = join(cacheDir, ".claude-plugin", "plugin.json");
114
+ if (await fileExists(cachedPluginJson)) {
115
+ const cached = JSON.parse(await readFile(cachedPluginJson, "utf-8"));
116
+ cached.version = version;
117
+ await writeFile(cachedPluginJson, JSON.stringify(cached, null, 2), "utf-8");
118
+ }
111
119
  }
112
120
 
113
121
  // Step 3: installed_plugins.json