@handsupmin/gc-tree 0.7.7 → 0.7.8

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/dist/src/cli.js +2 -2
  2. package/package.json +1 -1
package/dist/src/cli.js CHANGED
@@ -524,10 +524,10 @@ async function main() {
524
524
  const host = normalizeProviderMode(readArg('--host'));
525
525
  if (!host)
526
526
  usage();
527
- const targetDir = readArg('--target') || process.cwd();
527
+ const explicitTarget = readArg('--target');
528
528
  const result = await ensureScaffold({
529
529
  providerMode: host,
530
- targetDir,
530
+ ...(explicitTarget ? { targetDir: explicitTarget, scope: 'local' } : { scope: 'global' }),
531
531
  force: hasFlag('--force'),
532
532
  });
533
533
  console.log(JSON.stringify(result, null, 2));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@handsupmin/gc-tree",
3
- "version": "0.7.7",
3
+ "version": "0.7.8",
4
4
  "description": "Global Context Tree, a lightweight branch-aware global context orchestrator for AI coding tools",
5
5
  "type": "module",
6
6
  "private": false,