@arvoretech/hub 0.7.5 → 0.7.7

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.
@@ -121,7 +121,7 @@ async function checkAndAutoRegenerate(hubDir) {
121
121
  return;
122
122
  }
123
123
  console.log(chalk.yellow("\n Detected outdated configs, auto-regenerating..."));
124
- const { generators: generators2 } = await import("./generate-U6OR7AIX.js");
124
+ const { generators: generators2 } = await import("./generate-PLZD6GZN.js");
125
125
  const generator = generators2[result.editor];
126
126
  if (!generator) {
127
127
  console.log(chalk.red(` Unknown editor '${result.editor}' in cache. Run 'hub generate' manually.`));
@@ -1762,7 +1762,7 @@ function buildGitignoreLines(config) {
1762
1762
  "tasks/"
1763
1763
  );
1764
1764
  if (config.memory) {
1765
- const memPath = config.memory.path || "memories";
1765
+ const memPath = (config.memory.path || "memories").replace(/^\.\//, "");
1766
1766
  lines.push(
1767
1767
  "",
1768
1768
  "# Memory vector store (generated from markdown files)",
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  generateCommand,
3
3
  generators
4
- } from "./chunk-2PZA5OEV.js";
4
+ } from "./chunk-5N4KDPKV.js";
5
5
  export {
6
6
  generateCommand,
7
7
  generators
package/dist/index.js CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  checkAndAutoRegenerate,
4
4
  generateCommand,
5
5
  loadHubConfig
6
- } from "./chunk-2PZA5OEV.js";
6
+ } from "./chunk-5N4KDPKV.js";
7
7
 
8
8
  // src/index.ts
9
9
  import { Command as Command19 } from "commander";
@@ -2762,10 +2762,10 @@ import { fileURLToPath } from "url";
2762
2762
  import chalk16 from "chalk";
2763
2763
  var PACKAGE_NAME = "@arvoretech/hub";
2764
2764
  function getCurrentVersion() {
2765
- const __dirname = dirname(fileURLToPath(import.meta.url));
2766
- const pkgPath = join16(__dirname, "..", "package.json");
2767
- const pkg = JSON.parse(readFileSync(pkgPath, "utf-8"));
2768
- return pkg.version;
2765
+ const __dirname2 = dirname(fileURLToPath(import.meta.url));
2766
+ const pkgPath = join16(__dirname2, "..", "package.json");
2767
+ const pkg2 = JSON.parse(readFileSync(pkgPath, "utf-8"));
2768
+ return pkg2.version;
2769
2769
  }
2770
2770
  async function getLatestVersion() {
2771
2771
  const res = await fetch(`https://registry.npmjs.org/${PACKAGE_NAME}/latest`);
@@ -3169,10 +3169,16 @@ Run ${chalk18.bold("hub generate")} to update editor configs.
3169
3169
  });
3170
3170
 
3171
3171
  // src/index.ts
3172
+ import { readFileSync as readFileSync2 } from "fs";
3173
+ import { fileURLToPath as fileURLToPath2 } from "url";
3174
+ import { dirname as dirname2, join as join18 } from "path";
3175
+ var __filename = fileURLToPath2(import.meta.url);
3176
+ var __dirname = dirname2(__filename);
3177
+ var pkg = JSON.parse(readFileSync2(join18(__dirname, "..", "package.json"), "utf-8"));
3172
3178
  var program = new Command19();
3173
3179
  program.name("hub").description(
3174
3180
  "Give your AI coding assistant the full picture. Multi-repo context, agent orchestration, and end-to-end workflows."
3175
- ).version("0.7.3").enablePositionalOptions();
3181
+ ).version(pkg.version).enablePositionalOptions();
3176
3182
  program.addCommand(initCommand);
3177
3183
  program.addCommand(addRepoCommand);
3178
3184
  program.addCommand(setupCommand);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arvoretech/hub",
3
- "version": "0.7.5",
3
+ "version": "0.7.7",
4
4
  "description": "CLI for managing AI-aware multi-repository workspaces",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",