GitNexus/gitnexus/src/cli
Gergő Magyar e137daf63b
fix(auto-sync): allow self-hosted remotes via allowed_hosts (#3391)
* fix(auto-sync): allow self-hosted remotes via allowed_hosts

Auto-sync skipped any remote whose host was not github.com, gitlab.com, or gitee.com. Operators can now name exact extra DNS hosts in watch_config.yml without opening the default set.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Address PR review feedback (#3391)

- Dial auto-sync DNS names as absolute hosts and store that URL so a later fetch cannot follow a search domain.
- Reject ambiguous numeric host spellings; an exact dotted IPv4 the operator listed stays opt-in.
- Document allowed_hosts on the root auto-sync contract.

Note: pre-existing failure in unit tests that require dist/cli/index.js and parse-worker.js (this worktree has no build); not addressed by this PR.
Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: Gergo Magyar <gergomagyar0@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-27 10:18:57 +01:00
..
i18n fix(auto-sync): allow self-hosted remotes via allowed_hosts (#3391) 2026-09-27 10:18:57 +01:00
ai-context.ts feat(storage): share one index store across linked worktrees and sibling clones (#3374) 2026-09-25 11:20:12 +01:00
analyze-config.ts feat(analyze): expose process-detection budget overrides (#3324) 2026-09-18 13:37:15 +01:00
analyze-options.ts fix(analyze): make --memory-budget set the real heap and report rebuild reasons once (#3386) 2026-09-26 18:14:36 +01:00
analyze-watch.ts fix(analyze): make --memory-budget set the real heap and report rebuild reasons once (#3386) 2026-09-26 18:14:36 +01:00
analyze.ts fix(analyze): make --memory-budget set the real heap and report rebuild reasons once (#3386) 2026-09-26 18:14:36 +01:00
augment.ts feat(cursor): upgrade hooks to Cursor 2.4 postToolUse for Read/Grep/Shell coverage (#1467) 2026-05-10 13:29:06 +01:00
auto-sync.ts fix(auto-sync): allow self-hosted remotes via allowed_hosts (#3391) 2026-09-27 10:18:57 +01:00
clean.ts feat(storage): share one index store across linked worktrees and sibling clones (#3374) 2026-09-25 11:20:12 +01:00
cli-message.ts fix(storage): guard stale file-lock reclamation (#3234) 2026-09-12 11:47:12 +01:00
command-banner.ts chore: release v1.6.11 (#3177) 2026-09-04 20:02:37 +01:00
detect-changes-format.ts fix(cli): do not call zero-symbol detect-changes a clean tree (#3138) 2026-09-02 18:59:53 +01:00
doctor.ts feat(storage): share one index store across linked worktrees and sibling clones (#3374) 2026-09-25 11:20:12 +01:00
editor-targets.ts feat: add Factory AI (Droid) integration (#2543) 2026-09-24 19:12:40 +01:00
embedding-dims.ts feat(cli): add --embeddings-baseurl/-model/-auth-token/-dims flags to analyze (#2140) 2026-06-13 14:01:12 +01:00
embeddings-sync.ts feat(storage): share one index store across linked worktrees and sibling clones (#3374) 2026-09-25 11:20:12 +01:00
embeddings.ts fix(embeddings): keep ONNX off the install and analyze critical path (#3287) 2026-09-15 12:11:47 +01:00
eval-server.ts fix(zig): model callable-value references, and stop reporting their absence as exact (#3219) 2026-09-09 20:12:17 +00:00
format-elapsed.ts feat(progress): add per-language progress reporting to scope-resolution phase (#1813) 2026-05-25 11:53:54 +01:00
format-symbol.ts fix(mcp): stop scaling the detect_changes query with the diff's hunk count (#2915) (#2930) 2026-08-12 14:51:17 +01:00
generated-skill.ts fix(mcp): stop scaling the detect_changes query with the diff's hunk count (#2915) (#2930) 2026-08-12 14:51:17 +01:00
group-status-format.ts feat(staleness): report diverged and unknown index state instead of fresh (#3257) 2026-09-11 08:07:37 +01:00
group.ts feat(staleness): report diverged and unknown index state instead of fresh (#3257) 2026-09-11 08:07:37 +01:00
help-i18n.ts fix(analyze): make --memory-budget set the real heap and report rebuild reasons once (#3386) 2026-09-26 18:14:36 +01:00
index-repo.ts feat(storage): add configurable index storage and content retention tiers (#3060) 2026-09-12 20:31:55 +00:00
index.ts fix(analyze): make --memory-budget set the real heap and report rebuild reasons once (#3386) 2026-09-26 18:14:36 +01:00
int-option.ts fix(analyze): make --memory-budget set the real heap and report rebuild reasons once (#3386) 2026-09-26 18:14:36 +01:00
lazy-action.ts feat(skills): GitNexus Engineering Tool Kits (#2566) 2026-07-19 15:07:24 +01:00
list.ts feat: multi-branch indexing and branch-scoped querying (#2106) (#2137) 2026-06-10 10:24:40 +01:00
mcp.ts feat: notify users when a newer gitnexus version is available (#3175) 2026-09-04 18:50:03 +01:00
optional-grammars.ts fix(zig): vendor tree-sitter-zig so npm i -g no longer warns on peers (#3180) 2026-09-05 10:35:33 +01:00
publish.ts feat(storage): add configurable index storage and content retention tiers (#3060) 2026-09-12 20:31:55 +00:00
remove.ts feat(storage): share one index store across linked worktrees and sibling clones (#3374) 2026-09-25 11:20:12 +01:00
resolve-invocation.ts feat(cli): add a bunx lane so bun-only machines can run gitnexus (#2765) 2026-08-06 08:40:36 +00:00
serve.ts feat(i18n): make web and CLI language-aware (#1748) 2026-05-23 06:14:24 +01:00
setup.ts feat: add Factory AI (Droid) integration (#2543) 2026-09-24 19:12:40 +01:00
skill-gen.ts fix(mcp): stop scaling the detect_changes query with the diff's hunk count (#2915) (#2930) 2026-08-12 14:51:17 +01:00
stale-branch-format.ts feat(cli): reclaim leftover per-branch indexes after branch delete (#3338) 2026-09-20 16:03:18 +01:00
standard-skills.ts feat(skills): GitNexus Engineering Tool Kits (#2566) 2026-07-19 15:07:24 +01:00
status.ts feat(storage): share one index store across linked worktrees and sibling clones (#3374) 2026-09-25 11:20:12 +01:00
tool.ts fix(check): stop reporting erased and deferred imports as initialization cycles (#2934) 2026-08-12 17:09:32 +00:00
uninstall.ts feat(skills): GitNexus Engineering Tool Kits (#2566) 2026-07-19 15:07:24 +01:00
update-notice.ts feat: notify users when a newer gitnexus version is available (#3175) 2026-09-04 18:50:03 +01:00
update.ts chore: release v1.6.11 (#3177) 2026-09-04 20:02:37 +01:00
watch-queue.ts feat(analyze): add incremental watch mode (#3072) 2026-08-29 10:40:56 +00:00
watch.ts feat: add gitnexus auto-sync for scheduled remote clone and analyze (#2493) 2026-09-02 19:40:18 +01:00
wiki.ts fix(analyze): make --memory-budget set the real heap and report rebuild reasons once (#3386) 2026-09-26 18:14:36 +01:00