mirror of
https://github.com/garrytan/gstack.git
synced 2026-09-21 04:10:47 +02:00
search was running in cwd and missing the repo you indexed. Persist the indexed path per provider in the selection store and resolve it back so `search` reads the same graph `index` built. Graphify availability now checks `graphify --version` (installed = selectable) instead of "a graph already exists here", and the CLI keys Graphify sources on the repo path. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
27 lines
723 B
TypeScript
27 lines
723 B
TypeScript
/**
|
|
* code-intelligence — the OPTIONAL, repo-oriented provider contract.
|
|
* See docs/designs/CODE_INTELLIGENCE_PROVIDER_CONTRACT.md.
|
|
*/
|
|
|
|
export * from "./contract";
|
|
export { GbrainProvider, parseGbrainSearch } from "./gbrain-adapter";
|
|
export { GraphifyProvider, parseGraphifyQuery, type GraphifyOptions } from "./graphify-adapter";
|
|
export { SourcebotProvider, parseSourcebotSearch, type SourcebotOptions } from "./sourcebot-adapter";
|
|
export {
|
|
readSelection,
|
|
setProvider,
|
|
setConsent,
|
|
hasConsent,
|
|
setRoot,
|
|
getRoot,
|
|
type Selection,
|
|
} from "./selection";
|
|
export {
|
|
RECOMMENDED_ORDER,
|
|
providerById,
|
|
resolveSelectedProvider,
|
|
detectAvailable,
|
|
type PickerOptions,
|
|
type Availability,
|
|
} from "./picker";
|