@arvoretech/hub 0.5.0 → 0.6.0

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/index.js +25 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -605,6 +605,7 @@ async function generateCursor(config, hubDir) {
605
605
  }
606
606
  }
607
607
  await generateCursorCommands(config, hubDir, cursorDir);
608
+ await generateVSCodeSettings(config, hubDir);
608
609
  }
609
610
  function buildCursorMcpEntry(mcp) {
610
611
  if (mcp.url) {
@@ -1303,6 +1304,29 @@ async function generateKiro(config, hubDir) {
1303
1304
  }
1304
1305
  }
1305
1306
  }
1307
+ await generateVSCodeSettings(config, hubDir);
1308
+ }
1309
+ async function generateVSCodeSettings(config, hubDir) {
1310
+ const vscodeDir = join5(hubDir, ".vscode");
1311
+ await mkdir2(vscodeDir, { recursive: true });
1312
+ const settingsPath = join5(vscodeDir, "settings.json");
1313
+ let existing = {};
1314
+ if (existsSync3(settingsPath)) {
1315
+ try {
1316
+ const raw = await readFile3(settingsPath, "utf-8");
1317
+ existing = JSON.parse(raw);
1318
+ } catch {
1319
+ existing = {};
1320
+ }
1321
+ }
1322
+ const managed = {
1323
+ "git.autoRepositoryDetection": true,
1324
+ "git.detectSubmodules": true,
1325
+ "git.detectSubmodulesLimit": Math.max(config.repos.length * 2, 20)
1326
+ };
1327
+ const merged = { ...existing, ...managed };
1328
+ await writeFile4(settingsPath, JSON.stringify(merged, null, 2) + "\n", "utf-8");
1329
+ console.log(chalk4.green(" Generated .vscode/settings.json (git multi-repo detection)"));
1306
1330
  }
1307
1331
  function buildGitignoreLines(config) {
1308
1332
  const lines = [
@@ -3827,7 +3851,7 @@ var directoryCommand = new Command18("directory").alias("dir").description("Brow
3827
3851
  var program = new Command19();
3828
3852
  program.name("hub").description(
3829
3853
  "Give your AI coding assistant the full picture. Multi-repo context, agent orchestration, and end-to-end workflows."
3830
- ).version("0.5.0").enablePositionalOptions();
3854
+ ).version("0.6.0").enablePositionalOptions();
3831
3855
  program.addCommand(initCommand);
3832
3856
  program.addCommand(addRepoCommand);
3833
3857
  program.addCommand(setupCommand);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arvoretech/hub",
3
- "version": "0.5.0",
3
+ "version": "0.6.0",
4
4
  "description": "CLI for managing AI-aware multi-repository workspaces",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",