@ghl-ai/aw 0.1.36-beta.24 → 0.1.36-beta.26
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/cli.mjs +1 -0
- package/commands/push.mjs +4 -0
- package/package.json +1 -1
package/cli.mjs
CHANGED
|
@@ -92,6 +92,7 @@ function printHelp() {
|
|
|
92
92
|
|
|
93
93
|
sec('Manage'),
|
|
94
94
|
cmd('aw status', 'Show synced paths, modified files & conflicts'),
|
|
95
|
+
cmd('aw link', 'Link current project as a git worktree (wires IDE symlinks)'),
|
|
95
96
|
cmd('aw drop <path>', 'Stop syncing or delete local content'),
|
|
96
97
|
cmd('aw nuke', 'Remove entire .aw_registry/ & start fresh'),
|
|
97
98
|
cmd('aw daemon install', 'Auto-pull on a schedule (macOS launchd / Linux cron)'),
|
package/commands/push.mjs
CHANGED
|
@@ -517,6 +517,10 @@ export function pushCommand(args) {
|
|
|
517
517
|
}
|
|
518
518
|
|
|
519
519
|
let absPath = resolved.localAbsPath;
|
|
520
|
+
// For namespace/folder paths (no type segment), localAbsPath is null — construct from workspaceDir
|
|
521
|
+
if (!absPath && resolved.registryPath) {
|
|
522
|
+
absPath = join(workspaceDir, resolved.registryPath);
|
|
523
|
+
}
|
|
520
524
|
if (!absPath || !existsSync(absPath)) {
|
|
521
525
|
if (absPath && !absPath.endsWith('.md') && existsSync(absPath + '.md')) {
|
|
522
526
|
absPath = absPath + '.md';
|