@ghl-ai/aw 0.1.36-beta.23 → 0.1.36-beta.25
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/push.mjs +4 -0
- package/constants.mjs +1 -1
- package/package.json +1 -1
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';
|
package/constants.mjs
CHANGED
|
@@ -4,7 +4,7 @@ import { homedir } from 'node:os';
|
|
|
4
4
|
import { join } from 'node:path';
|
|
5
5
|
|
|
6
6
|
/** Base branch for PRs and sync checkout */
|
|
7
|
-
export const REGISTRY_BASE_BRANCH = '
|
|
7
|
+
export const REGISTRY_BASE_BRANCH = 'main';
|
|
8
8
|
|
|
9
9
|
/** Default registry repository */
|
|
10
10
|
export const REGISTRY_REPO = 'GoHighLevel/platform-docs';
|