@ghl-ai/aw 0.1.42-beta.41 → 0.1.42-beta.43

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 +4 -0
  2. package/package.json +1 -1
package/ecc.mjs CHANGED
@@ -100,6 +100,8 @@ async function cloneOrUpdateAsync(tag, dest) {
100
100
  }
101
101
  await fetchOverrideRefAsync(dest, overrideRef || tag);
102
102
  }
103
+ // Restore working tree — pruneStaleHooks may have deleted tracked files
104
+ await runA(`git -C ${dest} checkout -- .`);
103
105
  return;
104
106
  } catch { /* fall through to fresh clone */ }
105
107
  }
@@ -197,6 +199,8 @@ function cloneOrUpdate(tag, dest) {
197
199
  }
198
200
  fetchOverrideRef(dest, overrideRef || tag);
199
201
  }
202
+ // Restore working tree — pruneStaleHooks may have deleted tracked files
203
+ run(`git -C ${dest} checkout -- .`);
200
204
  return;
201
205
  } catch { /* fall through to fresh clone */ }
202
206
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ghl-ai/aw",
3
- "version": "0.1.42-beta.41",
3
+ "version": "0.1.42-beta.43",
4
4
  "description": "Agentic Workspace CLI — pull, push & manage agents, skills and commands from the registry",
5
5
  "type": "module",
6
6
  "bin": {