@ghl-ai/aw 0.1.3 → 0.1.5

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/init.mjs CHANGED
@@ -112,7 +112,7 @@ export async function initCommand(args) {
112
112
  // ── Check existing install ────────────────────────────────────────────
113
113
 
114
114
  if (config.exists(GLOBAL_AW_DIR)) {
115
- fmt.cancel(`.aw_registry already initialized at ~/\nRun ${chalk.bold('aw nuke')} first to start fresh.`);
115
+ fmt.logStep('Existing install found re-initializing...');
116
116
  }
117
117
 
118
118
  // ── Auto-detect user ──────────────────────────────────────────────────
package/git.mjs CHANGED
@@ -13,12 +13,13 @@ import { REGISTRY_BASE_BRANCH } from './constants.mjs';
13
13
  export function sparseCheckout(repo, paths) {
14
14
  const tempDir = mkdtempSync(join(tmpdir(), 'aw-'));
15
15
 
16
+ const repoUrl = repo.startsWith('http') ? repo : `https://github.com/${repo}.git`;
16
17
  try {
17
- execSync(`gh repo clone ${repo} ${tempDir} -- --filter=blob:none --no-checkout`, {
18
+ execSync(`git clone --filter=blob:none --no-checkout "${repoUrl}" "${tempDir}"`, {
18
19
  stdio: 'pipe',
19
20
  });
20
21
  } catch (e) {
21
- throw new Error(`Failed to clone ${repo}. Check: gh auth status`);
22
+ throw new Error(`Failed to clone ${repo}. Check your git credentials and repo access.`);
22
23
  }
23
24
 
24
25
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ghl-ai/aw",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "description": "Agentic Workspace CLI — pull, push & manage agents, skills and commands from the registry",
5
5
  "type": "module",
6
6
  "bin": {