@ghl-ai/aw 0.1.36-beta.70 → 0.1.36-beta.71

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 +2 -2
  2. package/package.json +1 -1
package/git.mjs CHANGED
@@ -323,7 +323,7 @@ export function commitToCurrentBranch(awHome, files, commitMsg, preStaged = fals
323
323
  if (!preStaged) {
324
324
  try {
325
325
  const quotedFiles = files.map(f => `"${f}"`).join(' ');
326
- execSync(`git -C "${awHome}" add ${quotedFiles}`, { stdio: 'pipe' });
326
+ execSync(`git -C "${awHome}" add --sparse ${quotedFiles}`, { stdio: 'pipe' });
327
327
  } catch (e) {
328
328
  throw new Error(`Failed to stage files: ${e.message}`);
329
329
  }
@@ -379,7 +379,7 @@ export async function createPushBranch(awHome, branchName, files, commitMsg, pre
379
379
  if (!preStaged) {
380
380
  try {
381
381
  const quotedFiles = files.map(f => `"${f}"`).join(' ');
382
- await exec(`git -C "${awHome}" add ${quotedFiles}`);
382
+ await exec(`git -C "${awHome}" add --sparse ${quotedFiles}`);
383
383
  } catch (e) {
384
384
  throw new Error(`Failed to stage files: ${e.message}`);
385
385
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ghl-ai/aw",
3
- "version": "0.1.36-beta.70",
3
+ "version": "0.1.36-beta.71",
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",