/** * The inline web-search plugin: short-circuits agent-loop model calls on * the `llm/stream` waterfall, injecting the server-side `web_search` tool * into the wire request so search executes inside the model's own turn. * The narrow gate keeps every other request on the normal adapter path. * @module dsh-github-copilot */ import type { Context } from '@deepseek-ai/cordis'; import type { SettingsNamespace } from '@deepseek-ai/dsh-settings'; import type { LiveInlineConfig } from './config.ts'; export { COPILOT_HOSTED_SEARCH_PROVIDER_ID, GITHUB_COPILOT_HOSTED_SEARCH_PROVIDER_ID, } from './traditional-search.ts'; /** Cordis plugin name used by loader diagnostics. */ export declare const name = "github-copilot"; /** * Bootstrap dependency. The integration itself is mounted below only after * every service in {@link integrationInject}, including authorization, is * active. */ export declare const inject: string[]; /** Settings namespace carrying this plugin's section. */ export declare const GITHUB_COPILOT_SETTINGS_NAMESPACE: SettingsNamespace; /** Schema of the plugin's settings section, exported for composition consumers. */ export { Config } from './config.ts'; export type { InlineConfig } from './config.ts'; export { NO_DEFAULT_SEARCH_PROVIDER, WEB_SEARCH_ROUTING_SETTINGS_NAMESPACE, WebSearchRoutingConfigSchema, } from './web-search-routing-config.ts'; export type { WebSearchRoutingConfig } from './web-search-routing-config.ts'; export { assertDshCompatibility, DSH_COMPATIBILITY } from './compatibility.ts'; export { GITHUB_COPILOT_CREDENTIAL_KEY, GitHubCopilotAuthorizationController, describeGitHubCopilotProviderProfile, ensureGitHubCopilotProviderProfile, LLM_PI_AI_SETTINGS_NAMESPACE, } from './authorization-controller.ts'; export type { AuthorizationNoticeView, GitHubCopilotAuthorizationPhase, GitHubCopilotAuthorizationView, GitHubCopilotRouteView, } from './authorization-controller.ts'; /** * Register the inline short-circuit. The plan (candidates plus probe * verdict) follows the settings section; the listener reads the CURRENT * plan and config per request. * @param ctx - context whose `llm` events and `systemPrompt` receive the * registrations; both are effect-scoped and unregister on dispose. * @param config - the composition entry config, used as the settings base layer. */ export declare function apply(ctx: Context, config: LiveInlineConfig): void; //# sourceMappingURL=index.d.ts.map