@handsupmin/gc-tree 0.8.10 → 0.8.12

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.
@@ -51,7 +51,13 @@ export async function selfUpdate(home) {
51
51
  process.stderr.write(`Found ${hosts.length} scaffolded provider(s): ${hosts.map((h) => `${h.host}(${h.scope})`).join(', ')}\n`);
52
52
  }
53
53
  process.stderr.write('\nUpdating gctree to latest...\n');
54
- execSync('npm install -g @handsupmin/gc-tree@latest', { stdio: 'inherit' });
54
+ try {
55
+ execSync('npm install -g @handsupmin/gc-tree --force', { stdio: 'inherit' });
56
+ }
57
+ catch {
58
+ process.stderr.write('\nnpm registry may not have propagated the latest version yet. Wait a minute and retry: gctree update\n');
59
+ process.exit(1);
60
+ }
55
61
  if (hosts.length > 0) {
56
62
  process.stderr.write('\nRe-scaffolding providers with new version...\n');
57
63
  for (const record of hosts) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@handsupmin/gc-tree",
3
- "version": "0.8.10",
3
+ "version": "0.8.12",
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,