@ghl-ai/aw 0.1.38-beta.16 → 0.1.38-beta.18

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/ecc.mjs +10 -2
  2. package/package.json +1 -1
package/ecc.mjs CHANGED
@@ -9,7 +9,7 @@ import * as fmt from "./fmt.mjs";
9
9
 
10
10
  const AW_ECC_REPO_SSH = "git@github.com:shreyansh-ghl/aw-ecc.git";
11
11
  const AW_ECC_REPO_HTTPS = "https://github.com/shreyansh-ghl/aw-ecc.git";
12
- const AW_ECC_TAG = "v1.4.27";
12
+ const AW_ECC_TAG = "v1.4.28";
13
13
 
14
14
  const MARKETPLACE_NAME = "aw-marketplace";
15
15
  const PLUGIN_KEY = `aw@${MARKETPLACE_NAME}`;
@@ -37,7 +37,7 @@ const PROTECTED_CONFIG_BY_TARGET = {
37
37
  };
38
38
 
39
39
  function run(cmd, opts = {}) {
40
- return execSync(cmd, { stdio: "pipe", ...opts });
40
+ return execSync(cmd, { stdio: "pipe", input: "", timeout: 120_000, ...opts });
41
41
  }
42
42
 
43
43
  function readIfExists(path) {
@@ -124,6 +124,14 @@ function installClaudePlugin(repoDir) {
124
124
  // previously-registered path, which may point to a stale/wrong directory.
125
125
  try { run(`claude plugin uninstall ${PLUGIN_KEY} --scope user`); } catch { /* not installed */ }
126
126
  try { run(`claude plugin marketplace remove ${MARKETPLACE_NAME}`); } catch { /* not registered */ }
127
+
128
+ // Purge stale plugin cache — Claude Code caches by package.json version,
129
+ // so old entries with outdated hooks can shadow a fresh install.
130
+ const cacheDir = join(homedir(), ".claude", "plugins", "cache", MARKETPLACE_NAME);
131
+ if (existsSync(cacheDir)) {
132
+ try { rmSync(cacheDir, { recursive: true, force: true }); } catch { /* best effort */ }
133
+ }
134
+
127
135
  run(`claude plugin marketplace add ${repoDir} --scope user`);
128
136
  run(`claude plugin install ${PLUGIN_KEY} --scope user`);
129
137
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ghl-ai/aw",
3
- "version": "0.1.38-beta.16",
3
+ "version": "0.1.38-beta.18",
4
4
  "description": "Agentic Workspace CLI — pull, push & manage agents, skills and commands from the registry",
5
5
  "type": "module",
6
6
  "bin": "bin.js",