@ghl-ai/aw 0.1.4 → 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.
Files changed (2) hide show
  1. package/git.mjs +3 -2
  2. package/package.json +1 -1
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.4",
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": {