GitNexus/gitnexus-shared
Gergo Magyar 975dedb6d2 refactor(shared): move MixedChainStep into gitnexus-shared
U3. The shared package owns the ScopeExtractor output contract, and a receiver
chain is about to become part of it, so the type moves to sit beside
`ReferenceSite` — the interface that will carry it.

Type-only move. `extractMixedChain` stays in the analyzer: it walks a
tree-sitter AST, so it cannot follow. `MAX_CHAIN_DEPTH` stays with it for the
same reason — nothing shared needs the bound yet, and moving it now would be
moving it on speculation.

`call-analysis.ts` re-exports the type so its existing importers keep a single
import site. The re-export is `import type` + `export type` rather than a bare
`export type { X } from`, which creates no local binding and left the file's own
two uses of the name unresolved.

Verified: `tsc --noEmit` clean in both packages, and the receiver-resolution
gate green end to end.

(The unit suite has seven failures on this tree, all subprocess-spawning CLI
tests timing out. Three pass in isolation — load flake. The fourth,
`skip-git-cli.test.ts`, fails harder on untouched `main` in this sandbox — six
failures there against four here — so it is environmental and predates this
branch.)
2026-07-30 18:19:58 +00:00
..
src refactor(shared): move MixedChainStep into gitnexus-shared 2026-07-30 18:19:58 +00:00
package-lock.json chore(deps)(deps-dev): bump typescript in /gitnexus-shared (#1034) 2026-04-23 05:06:42 +01:00
package.json feat: shared resilient-fetch (retries + circuit breaker) (#1448) 2026-05-09 15:18:09 +01:00
tsconfig.json feat: unify web and cli ingestion pipeline (#536) 2026-03-28 14:07:11 +00:00