gitnexushub 0.4.0 → 0.4.1

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.
@@ -24,6 +24,6 @@ export declare function resolveHookScriptPath(): string;
24
24
  */
25
25
  export declare function runConnect(tokenArg: string | undefined, opts: {
26
26
  editor?: string;
27
- hub: string;
27
+ hub?: string;
28
28
  skipProject?: boolean;
29
29
  }): Promise<undefined>;
package/dist/index.js CHANGED
@@ -56,7 +56,7 @@ program
56
56
  .description('Register Hub MCP, install skills, and write project files')
57
57
  .argument('[token]', 'gnx_ API token (optional if already saved)')
58
58
  .option('--editor <name>', 'Editor to configure: claude-code | cursor | windsurf | opencode')
59
- .option('--hub <url>', 'Hub URL', DEFAULT_HUB_URL)
59
+ .option('--hub <url>', `Hub URL (default: saved config or ${DEFAULT_HUB_URL})`)
60
60
  .option('--skip-project', 'Only configure MCP, skip project files')
61
61
  .action(connectAction);
62
62
  // ─── disconnect command ───────────────────────────────────────────
@@ -80,7 +80,7 @@ program
80
80
  program
81
81
  .command('index <repo>')
82
82
  .description('Index a GitHub repo (owner/repo or URL)')
83
- .option('--hub <url>', 'Hub URL', DEFAULT_HUB_URL)
83
+ .option('--hub <url>', `Hub URL (default: saved config or ${DEFAULT_HUB_URL})`)
84
84
  .option('--token <token>', 'gnx_ API token (optional if already saved)')
85
85
  .option('--wait', 'Wait for indexing to complete', false)
86
86
  .action(async (repo, opts) => {
@@ -100,7 +100,7 @@ program
100
100
  .command('sync')
101
101
  .description('Push local working-tree state to the hub for re-indexing')
102
102
  .option('--wait', 'Wait for indexing to complete', false)
103
- .option('--hub <url>', 'Hub URL', DEFAULT_HUB_URL)
103
+ .option('--hub <url>', `Hub URL (default: saved config or ${DEFAULT_HUB_URL})`)
104
104
  .action(async (opts) => {
105
105
  try {
106
106
  await runSync(opts);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gitnexushub",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "Connect your editor to GitNexus Hub — one command MCP setup + project context",
5
5
  "author": "Abhigyan Patwari",
6
6
  "license": "PolyForm-Noncommercial-1.0.0",