@ghl-ai/aw 0.1.36-beta.47 → 0.1.36-beta.48

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/commands/nuke.mjs CHANGED
@@ -229,9 +229,11 @@ function removeIdeTasks() {
229
229
  export async function nukeCommand(args) {
230
230
  fmt.intro('aw nuke');
231
231
 
232
- // Remove stale local .aw_registry symlink if present
233
- const local = join(process.cwd(), '.aw_registry');
234
- try { if (lstatSync(local).isSymbolicLink()) unlinkSync(local); } catch { /* fine */ }
232
+ // Remove stale local .aw_registry symlink if present (skip if cwd IS home — that's the global one)
233
+ if (process.cwd() !== HOME) {
234
+ const local = join(process.cwd(), '.aw_registry');
235
+ try { if (lstatSync(local).isSymbolicLink()) unlinkSync(local); } catch { /* fine */ }
236
+ }
235
237
 
236
238
  const manifest = loadManifest();
237
239
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ghl-ai/aw",
3
- "version": "0.1.36-beta.47",
3
+ "version": "0.1.36-beta.48",
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",