SYMBOL INDEX (771 symbols across 124 files) FILE: docs/src/components/HomepageFeatures.tsx type FeatureItem (line 5) | type FeatureItem = { function Feature (line 44) | function Feature({title, Svg, description}: FeatureItem) { function HomepageFeatures (line 58) | function HomepageFeatures() { FILE: docs/src/docusaurus.d.ts type Props (line 8) | type Props = { FILE: docs/src/pages/index.tsx function HomepageHeader (line 6) | function HomepageHeader() { function FeatureSection (line 171) | function FeatureSection() { function CodeDemo (line 281) | function CodeDemo() { function UseCases (line 418) | function UseCases() { function CTASection (line 546) | function CTASection() { function Home (line 660) | function Home() { FILE: packages/cli/src/cli.ts constant KNOWN_COMMANDS (line 26) | const KNOWN_COMMANDS = [ constant HELP_TEXT (line 45) | const HELP_TEXT = ` function waitForService (line 79) | async function waitForService( function main (line 99) | async function main() { FILE: packages/cli/src/types.d.ts type Options (line 7) | interface Options { type ParsedArgs (line 17) | interface ParsedArgs { type ProcessEnv (line 56) | interface ProcessEnv { type ClaudeSettingsFlag (line 65) | interface ClaudeSettingsFlag { FILE: packages/cli/src/types/inquirer.d.ts type PromptConfig (line 4) | interface PromptConfig { type PromptConfig (line 12) | interface PromptConfig { type PromptConfig (line 28) | interface PromptConfig { type PromptConfig (line 43) | interface PromptConfig { FILE: packages/cli/src/utils/codeCommand.ts type PresetConfig (line 12) | interface PresetConfig { function executeCodeCommand (line 25) | async function executeCodeCommand( FILE: packages/cli/src/utils/installCommand.ts constant RESET (line 10) | const RESET = "\x1B[0m"; constant GREEN (line 11) | const GREEN = "\x1B[32m"; constant YELLOW (line 12) | const YELLOW = "\x1B[33m"; constant BOLDGREEN (line 13) | const BOLDGREEN = "\x1B[1m\x1B[32m"; constant BOLDYELLOW (line 14) | const BOLDYELLOW = "\x1B[1m\x1B[33m"; constant BOLDCYAN (line 15) | const BOLDCYAN = "\x1B[1m\x1B[36m"; constant DIM (line 16) | const DIM = "\x1B[2m"; function handleInstallCommand (line 22) | async function handleInstallCommand(presetName: string): Promise { FILE: packages/cli/src/utils/modelSelector.ts constant RESET (line 6) | const RESET = "\x1B[0m"; constant DIM (line 7) | const DIM = "\x1B[2m"; constant BOLDGREEN (line 8) | const BOLDGREEN = "\x1B[1m\x1B[32m"; constant CYAN (line 9) | const CYAN = "\x1B[36m"; constant BOLDCYAN (line 10) | const BOLDCYAN = "\x1B[1m\x1B[36m"; constant GREEN (line 11) | const GREEN = "\x1B[32m"; constant YELLOW (line 12) | const YELLOW = "\x1B[33m"; constant BOLDYELLOW (line 13) | const BOLDYELLOW = "\x1B[1m\x1B[33m"; type TransformerConfig (line 15) | interface TransformerConfig { type Provider (line 20) | interface Provider { type RouterConfig (line 28) | interface RouterConfig { type Config (line 39) | interface Config { type ModelResult (line 45) | interface ModelResult { constant AVAILABLE_TRANSFORMERS (line 51) | const AVAILABLE_TRANSFORMERS = [ function getConfigPath (line 70) | function getConfigPath(): string { function loadConfig (line 81) | function loadConfig(): Config { function saveConfig (line 86) | function saveConfig(config: Config): void { function getAllModels (line 92) | function getAllModels(config: Config) { function displayCurrentConfig (line 108) | function displayCurrentConfig(config: Config): void { function selectModelType (line 154) | async function selectModelType() { function selectModel (line 169) | async function selectModel(config: Config, modelType: string) { function configureTransformers (line 179) | async function configureTransformers(): Promise { function addModelToExistingProvider (line 261) | async function addModelToExistingProvider(config: Config, providerName: ... function addNewProvider (line 327) | async function addNewProvider(config: Config): Promise { FILE: packages/cli/src/utils/preset/commands.ts constant RESET (line 14) | const RESET = "\x1B[0m"; constant GREEN (line 15) | const GREEN = "\x1B[32m"; constant YELLOW (line 16) | const YELLOW = "\x1B[33m"; constant BOLDCYAN (line 17) | const BOLDCYAN = "\x1B[1m\x1B[36m"; constant BOLDYELLOW (line 18) | const BOLDYELLOW = "\x1B[1m\x1B[33m"; constant DIM (line 19) | const DIM = "\x1B[2m"; function listPresets (line 24) | async function listPresets(): Promise { function deletePreset (line 89) | async function deletePreset(name: string): Promise { function showPresetInfo (line 117) | async function showPresetInfo(name: string): Promise { function handlePresetCommand (line 170) | async function handlePresetCommand(args: string[]): Promise { FILE: packages/cli/src/utils/preset/export.ts constant RESET (line 11) | const RESET = "\x1B[0m"; constant GREEN (line 12) | const GREEN = "\x1B[32m"; constant BOLDGREEN (line 13) | const BOLDGREEN = "\x1B[1m\x1B[32m"; constant YELLOW (line 14) | const YELLOW = "\x1B[33m"; constant BOLDCYAN (line 15) | const BOLDCYAN = "\x1B[1m\x1B[36m"; function exportPresetCli (line 22) | async function exportPresetCli( FILE: packages/cli/src/utils/preset/install-github.ts constant RESET (line 20) | const RESET = "\x1B[0m"; constant GREEN (line 21) | const GREEN = "\x1B[32m"; constant BOLDCYAN (line 22) | const BOLDCYAN = "\x1B[1m\x1B[36m"; constant BOLDYELLOW (line 23) | const BOLDYELLOW = "\x1B[1m\x1B[33m"; function parseGitHubRepo (line 34) | function parseGitHubRepo(input: string): { owner: string; repoName: stri... function loadPresetFromZip (line 47) | async function loadPresetFromZip(zipFile: string): Promise { function installPresetFromMarket (line 73) | async function installPresetFromMarket(presetName: string): Promise<{ na... FILE: packages/cli/src/utils/preset/install.ts constant RESET (line 27) | const RESET = "\x1B[0m"; constant GREEN (line 28) | const GREEN = "\x1B[32m"; constant BOLDGREEN (line 29) | const BOLDGREEN = "\x1B[1m\x1B[32m"; constant YELLOW (line 30) | const YELLOW = "\x1B[33m"; constant BOLDYELLOW (line 31) | const BOLDYELLOW = "\x1B[1m\x1B[33m"; constant BOLDCYAN (line 32) | const BOLDCYAN = "\x1B[1m\x1B[36m"; constant DIM (line 33) | const DIM = "\x1B[2m"; function applyPresetCli (line 40) | async function applyPresetCli( function installPresetCli (line 166) | async function installPresetCli( FILE: packages/cli/src/utils/processCheck.ts function isProcessRunning (line 7) | async function isProcessRunning(pid: number): Promise { function incrementReferenceCount (line 16) | function incrementReferenceCount() { function decrementReferenceCount (line 25) | function decrementReferenceCount() { function getReferenceCount (line 34) | function getReferenceCount(): number { function isServiceRunning (line 41) | function isServiceRunning(): boolean { function savePid (line 94) | function savePid(pid: number) { function cleanupPidFile (line 98) | function cleanupPidFile() { function getServicePid (line 109) | function getServicePid(): number | null { function getServiceInfo (line 122) | async function getServiceInfo() { function closeService (line 138) | async function closeService() { FILE: packages/cli/src/utils/prompt/schema-input.ts constant COLORS (line 26) | const COLORS = { function collectUserInputs (line 39) | async function collectUserInputs( function recollectAffectedFields (line 87) | async function recollectAffectedFields( function promptField (line 130) | async function promptField( function collectSensitiveInputs (line 220) | async function collectSensitiveInputs( FILE: packages/cli/src/utils/status.ts function showStatus (line 3) | async function showStatus() { FILE: packages/cli/src/utils/statusline.ts type StatusLineModuleConfig (line 8) | interface StatusLineModuleConfig { type StatusLineThemeConfig (line 18) | interface StatusLineThemeConfig { type StatusLineInput (line 22) | interface StatusLineInput { type AssistantMessage (line 59) | interface AssistantMessage { constant COLORS (line 71) | const COLORS: Record = { constant TRUE_COLOR_PREFIX (line 114) | const TRUE_COLOR_PREFIX = "\x1b[38;2;"; constant TRUE_COLOR_BG_PREFIX (line 115) | const TRUE_COLOR_BG_PREFIX = "\x1b[48;2;"; function hexToRgb (line 118) | function hexToRgb(hex: string): { r: number; g: number; b: number } | nu... function getColorCode (line 144) | function getColorCode(colorName: string): string { function replaceVariables (line 159) | function replaceVariables(text: string, variables: Record = { function getTrueColorRgb (line 880) | function getTrueColorRgb(colorName: string): { r: number; g: number; b: ... function color256ToRgb (line 901) | function color256ToRgb(index: number): { r: number; g: number; b: number... function segment (line 930) | function segment(text: string, textFg: string, bgColor: string, nextBgCo... function renderPowerlineStyle (line 973) | async function renderPowerlineStyle( FILE: packages/cli/src/utils/update.ts function checkForUpdates (line 13) | async function checkForUpdates(currentVersion: string) { function performUpdate (line 37) | async function performUpdate() { function compareVersions (line 67) | function compareVersions(v1: string, v2: string): number { FILE: packages/core/scripts/build.ts function generateTypeDeclarations (line 36) | function generateTypeDeclarations() { function replacePathAliases (line 43) | function replacePathAliases(dir: string, baseDir = dir) { function copyDtsFiles (line 70) | function copyDtsFiles(sourceDir: string, targetDir: string) { function build (line 104) | async function build() { FILE: packages/core/scripts/esbuild-plugin-path-alias.ts method setup (line 15) | setup(build) { FILE: packages/core/src/api/middleware.ts type ApiError (line 3) | interface ApiError extends Error { function createApiError (line 9) | function createApiError( function errorHandler (line 22) | async function errorHandler( FILE: packages/core/src/api/routes.ts type FastifyInstance (line 18) | interface FastifyInstance { type FastifyRequest (line 24) | interface FastifyRequest { function handleTransformerEndpoint (line 34) | async function handleTransformerEndpoint( function handleFallback (line 108) | async function handleFallback( function processRequestTransformers (line 201) | async function processRequestTransformers( function shouldBypassTransformers (line 282) | function shouldBypassTransformers( function sendRequestToProvider (line 300) | async function sendRequestToProvider( function processResponseTransformers (line 385) | async function processResponseTransformers( function formatResponse (line 446) | function formatResponse(response: any, reply: FastifyReply, body: any) { function isValidUrl (line 685) | function isValidUrl(url: string): boolean { FILE: packages/core/src/plugins/output/console-handler.ts class ConsoleOutputHandler (line 7) | class ConsoleOutputHandler implements OutputHandler { method constructor (line 25) | constructor(config: ConsoleOutputConfig = {}) { method formatData (line 36) | private formatData(data: any, options: OutputOptions): string { method toMarkdown (line 92) | private toMarkdown(data: any, indent = 0): string { method output (line 119) | async output(data: any, options: OutputOptions = {}): Promise { FILE: packages/core/src/plugins/output/index.ts function registerConsoleOutput (line 17) | function registerConsoleOutput(config?: import('./types').ConsoleOutputC... function registerWebhookOutput (line 31) | function registerWebhookOutput(config: import('./types').WebhookOutputCo... function registerTempFileOutput (line 45) | function registerTempFileOutput(config?: import('./types').TempFileOutpu... function registerOutputHandlers (line 59) | function registerOutputHandlers(configs: import('./types').OutputHandler... FILE: packages/core/src/plugins/output/output-manager.ts class OutputManager (line 10) | class OutputManager { method registerHandler (line 19) | registerHandler(name: string, handler: OutputHandler): void { method registerHandlers (line 27) | registerHandlers(configs: OutputHandlerConfig[]): void { method createHandler (line 47) | private createHandler(config: OutputHandlerConfig): OutputHandler { method unregisterHandler (line 71) | unregisterHandler(name: string): boolean { method getHandler (line 79) | getHandler(name: string): OutputHandler | undefined { method getAllHandlers (line 86) | getAllHandlers(): Map { method clearHandlers (line 93) | clearHandlers(): void { method setDefaultOptions (line 101) | setDefaultOptions(options: OutputOptions): void { method getDefaultOptions (line 108) | getDefaultOptions(): OutputOptions { method output (line 118) | async output( method outputTo (line 153) | async outputTo( method outputToType (line 193) | async outputToType( function output (line 216) | async function output(data: any, options?: OutputOptions) { function outputTo (line 226) | async function outputTo(type: string, data: any, options?: OutputOptions) { FILE: packages/core/src/plugins/output/temp-file-handler.ts type TempFileOutputConfig (line 9) | interface TempFileOutputConfig { class TempFileOutputHandler (line 35) | class TempFileOutputHandler implements OutputHandler { method constructor (line 40) | constructor(config: TempFileOutputConfig = {}) { method ensureDir (line 60) | private ensureDir(): void { method extractSessionId (line 74) | private extractSessionId(userId: string): string | null { method getFilePath (line 86) | private getFilePath(sessionId: string): string { method output (line 106) | async output(data: any, options: OutputOptions = {}): Promise { method getBaseDir (line 137) | getBaseDir(): string { FILE: packages/core/src/plugins/output/types.ts type OutputHandler (line 5) | interface OutputHandler { type OutputOptions (line 23) | interface OutputOptions { type ConsoleOutputConfig (line 53) | interface ConsoleOutputConfig { type WebhookOutputConfig (line 68) | interface WebhookOutputConfig { type WebSocketOutputConfig (line 115) | interface WebSocketOutputConfig { type TempFileOutputConfig (line 141) | interface TempFileOutputConfig { type OutputHandlerConfig (line 166) | interface OutputHandlerConfig { FILE: packages/core/src/plugins/output/webhook-handler.ts class WebhookOutputHandler (line 7) | class WebhookOutputHandler implements OutputHandler { method constructor (line 12) | constructor(config: WebhookOutputConfig) { method buildHeaders (line 30) | private buildHeaders(): Record { method buildBody (line 68) | private buildBody(data: any, options: OutputOptions): any { method sendRequest (line 93) | private async sendRequest( method delay (line 127) | private delay(ms: number): Promise { method sendWithRetry (line 134) | private async sendWithRetry( method output (line 174) | async output(data: any, options: OutputOptions = {}): Promise { FILE: packages/core/src/plugins/plugin-manager.ts class PluginManager (line 7) | class PluginManager { method registerPlugin (line 16) | registerPlugin(plugin: CCRPlugin, options: any = {}): void { method enablePlugin (line 30) | async enablePlugin(name: string, fastify: FastifyInstance): Promise { method getPlugins (line 62) | getPlugins(): PluginMetadata[] { method getPlugin (line 70) | getPlugin(name: string): CCRPlugin | undefined { method hasPlugin (line 78) | hasPlugin(name: string): boolean { method isPluginEnabled (line 86) | isPluginEnabled(name: string): boolean { method setPluginEnabled (line 96) | setPluginEnabled(name: string, enabled: boolean): void { method removePlugin (line 107) | removePlugin(name: string): void { method clear (line 115) | clear(): void { FILE: packages/core/src/plugins/token-speed.ts type TokenStats (line 10) | interface TokenStats { type TokenSpeedOptions (line 26) | interface TokenSpeedOptions extends CCRPluginOptions { function estimateTokens (line 404) | function estimateTokens(text: string): number { function outputStats (line 414) | async function outputStats( FILE: packages/core/src/plugins/types.ts type CCRPluginOptions (line 6) | interface CCRPluginOptions { type CCRPlugin (line 14) | interface CCRPlugin { type PluginMetadata (line 24) | interface PluginMetadata { FILE: packages/core/src/server.ts type FastifyRequest (line 39) | interface FastifyRequest { type FastifyInstance (line 44) | interface FastifyInstance { type ServerOptions (line 49) | interface ServerOptions extends FastifyServerOptions { function createApp (line 54) | function createApp(options: FastifyServerOptions = {}): FastifyInstance { class Server (line 69) | class Server { method constructor (line 76) | constructor(options: ServerOptions = {}) { method register (line 104) | async register { FILE: packages/core/src/services/config.ts type ConfigOptions (line 6) | interface ConfigOptions { type AppConfig (line 15) | interface AppConfig { class ConfigService (line 19) | class ConfigService { method constructor (line 23) | constructor( method loadConfig (line 40) | private loadConfig(): void { method loadJsonConfig (line 65) | private loadJsonConfig(): void { method loadEnvConfig (line 86) | private loadEnvConfig(): void { method loadEnvironmentVariables (line 106) | private loadEnvironmentVariables(): void { method parseEnvConfig (line 111) | private parseEnvConfig( method isAbsolutePath (line 121) | private isAbsolutePath(path: string): boolean { method get (line 127) | public get(key: keyof AppConfig, defaultValue?: T): T | undef... method getAll (line 132) | public getAll(): AppConfig { method getHttpsProxy (line 136) | public getHttpsProxy(): string | undefined { method has (line 145) | public has(key: keyof AppConfig): boolean { method set (line 149) | public set(key: keyof AppConfig, value: any): void { method reload (line 153) | public reload(): void { method getConfigSummary (line 158) | public getConfigSummary(): string { FILE: packages/core/src/services/provider.ts class ProviderService (line 12) | class ProviderService { method constructor (line 16) | constructor(private readonly configService: ConfigService, private rea... method initializeCustomProviders (line 20) | private initializeCustomProviders() { method initializeFromProvidersArray (line 29) | private initializeFromProvidersArray(providersConfig: ConfigProvider[]) { method registerProvider (line 101) | registerProvider(request: RegisterProviderRequest): LLMProvider { method getProviders (line 124) | getProviders(): LLMProvider[] { method getProvider (line 128) | getProvider(name: string): LLMProvider | undefined { method updateProvider (line 132) | updateProvider( method deleteProvider (line 173) | deleteProvider(id: string): boolean { method toggleProvider (line 189) | toggleProvider(name: string, enabled: boolean): boolean { method resolveModelRoute (line 197) | resolveModelRoute(modelName: string): RequestRouteInfo | null { method getAvailableModelNames (line 215) | getAvailableModelNames(): string[] { method getModelRoutes (line 226) | getModelRoutes(): ModelRoute[] { method parseTransformerConfig (line 230) | private parseTransformerConfig(transformerConfig: any): any { method getAvailableModels (line 248) | async getAvailableModels(): Promise<{ FILE: packages/core/src/services/tokenizer.ts class TokenizerService (line 26) | class TokenizerService { method constructor (line 35) | constructor( method initialize (line 48) | async initialize(): Promise { method getTokenizer (line 67) | async getTokenizer(config: TokenizerConfig): Promise { method countTokens (line 132) | async countTokens( method getTokenizerConfigForModel (line 154) | getTokenizerConfigForModel( method dispose (line 177) | dispose(): void { method getCacheKey (line 191) | private getCacheKey(config: TokenizerConfig): string { FILE: packages/core/src/services/transformer.ts type TransformerConfig (line 6) | interface TransformerConfig { class TransformerService (line 15) | class TransformerService { method constructor (line 19) | constructor( method registerTransformer (line 24) | registerTransformer(name: string, transformer: Transformer): void { method getTransformer (line 35) | getTransformer( method getAllTransformers (line 41) | getAllTransformers(): Map { method getTransformersWithEndpoint (line 45) | getTransformersWithEndpoint(): { name: string; transformer: Transforme... method getTransformersWithoutEndpoint (line 58) | getTransformersWithoutEndpoint(): { method removeTransformer (line 74) | removeTransformer(name: string): boolean { method hasTransformer (line 78) | hasTransformer(name: string): boolean { method registerTransformerFromConfig (line 82) | async registerTransformerFromConfig(config: { method initialize (line 113) | async initialize(): Promise { method registerDefaultTransformersInternal (line 124) | private async registerDefaultTransformersInternal(): Promise { method loadFromConfig (line 157) | private async loadFromConfig(): Promise { FILE: packages/core/src/tokenizer/api-tokenizer.ts type ApiTokenizerOptions (line 11) | interface ApiTokenizerOptions { class ApiTokenizer (line 20) | class ApiTokenizer implements ITokenizer { method constructor (line 29) | constructor( method initialize (line 56) | async initialize(): Promise { method countTokens (line 66) | async countTokens(request: TokenizeRequest): Promise { method isInitialized (line 114) | isInitialized(): boolean { method dispose (line 118) | dispose(): void { method formatRequestBody (line 125) | private formatRequestBody(request: TokenizeRequest): any { method extractMessagesAsOpenAIFormat (line 160) | private extractMessagesAsOpenAIFormat(request: TokenizeRequest): any[] { method extractTextFromMessage (line 172) | private extractTextFromMessage(message: any): string { method extractConcatenatedText (line 200) | private extractConcatenatedText(request: TokenizeRequest): string { method extractTokenCount (line 242) | private extractTokenCount(data: any): number { FILE: packages/core/src/tokenizer/huggingface-tokenizer.ts type HFTokenizerOptions (line 14) | interface HFTokenizerOptions { class HuggingFaceTokenizer (line 23) | class HuggingFaceTokenizer implements ITokenizer { method constructor (line 33) | constructor(modelId: string, logger: any, options: HFTokenizerOptions ... method getCachePaths (line 46) | private getCachePaths() { method ensureDir (line 58) | private ensureDir(dir: string): void { method loadFromCache (line 67) | private async loadFromCache(): Promise<{ tokenizerJson: any; tokenizer... method downloadAndCache (line 93) | private async downloadAndCache(): Promise<{ tokenizerJson: any; tokeni... method initialize (line 132) | async initialize(): Promise { method countTokens (line 149) | async countTokens(request: TokenizeRequest): Promise { method isInitialized (line 163) | isInitialized(): boolean { method encodeText (line 170) | encodeText(text: string): number[] { method dispose (line 177) | dispose(): void { method extractTextFromRequest (line 184) | private extractTextFromRequest(request: TokenizeRequest): string { FILE: packages/core/src/tokenizer/tiktoken-tokenizer.ts class TiktokenTokenizer (line 8) | class TiktokenTokenizer implements ITokenizer { method constructor (line 13) | constructor(encodingName: TiktokenEncoding = "cl100k_base") { method initialize (line 22) | async initialize(): Promise { method countTokens (line 29) | async countTokens(request: TokenizeRequest): Promise { method isInitialized (line 98) | isInitialized(): boolean { method encodeText (line 105) | encodeText(text: string): number[] { method dispose (line 113) | dispose(): void { FILE: packages/core/src/transformer/anthropic.transformer.ts class AnthropicTransformer (line 18) | class AnthropicTransformer implements Transformer { method constructor (line 24) | constructor(private readonly options?: TransformerOptions) { method auth (line 28) | async auth(request: any, provider: LLMProvider): Promise { method transformRequestOut (line 47) | async transformRequestOut( method transformResponseIn (line 211) | async transformResponseIn( method convertAnthropicToolsToUnified (line 245) | private convertAnthropicToolsToUnified(tools: any[]): UnifiedTool[] { method convertOpenAIStreamToAnthropic (line 256) | private async convertOpenAIStreamToAnthropic( method convertOpenAIResponseToAnthropic (line 952) | private convertOpenAIResponseToAnthropic( FILE: packages/core/src/transformer/cerebras.transformer.ts class CerebrasTransformer (line 8) | class CerebrasTransformer implements Transformer { method transformRequestIn (line 17) | async transformRequestIn( method transformResponseOut (line 41) | async transformResponseOut(response: Response): Promise { FILE: packages/core/src/transformer/cleancache.transformer.ts class CleancacheTransformer (line 4) | class CleancacheTransformer implements Transformer { method transformRequestIn (line 7) | async transformRequestIn(request: UnifiedChatRequest): Promise { method deepMergeObjects (line 70) | private deepMergeObjects(target: any, source: any): any { method cloneValue (line 93) | private cloneValue(value: any): any { FILE: packages/core/src/transformer/deepseek.transformer.ts class DeepseekTransformer (line 4) | class DeepseekTransformer implements Transformer { method transformRequestIn (line 7) | async transformRequestIn(request: UnifiedChatRequest): Promise { FILE: packages/core/src/transformer/enhancetool.transformer.ts class EnhanceToolTransformer (line 4) | class EnhanceToolTransformer implements Transformer { method transformResponseOut (line 7) | async transformResponseOut(response: Response): Promise { FILE: packages/core/src/transformer/forcereasoning.transformer.ts constant PROMPT (line 4) | const PROMPT = `Always think before answering. Even if the problem seems... constant MAX_INTERLEAVED_TIMES (line 12) | const MAX_INTERLEAVED_TIMES = 10; class ForceReasoningTransformer (line 14) | class ForceReasoningTransformer implements Transformer { method transformRequestIn (line 17) | async transformRequestIn( method transformResponseOut (line 69) | async transformResponseOut(response: Response): Promise { FILE: packages/core/src/transformer/gemini.transformer.ts class GeminiTransformer (line 9) | class GeminiTransformer implements Transformer { method transformRequestIn (line 14) | async transformRequestIn( method transformResponseOut (line 37) | async transformResponseOut(response: Response): Promise { FILE: packages/core/src/transformer/groq.transformer.ts class GroqTransformer (line 5) | class GroqTransformer implements Transformer { method transformRequestIn (line 8) | async transformRequestIn(request: UnifiedChatRequest): Promise { FILE: packages/core/src/transformer/maxcompletiontokens.transformer.ts class MaxCompletionTokens (line 4) | class MaxCompletionTokens implements Transformer { method transformRequestIn (line 7) | async transformRequestIn( FILE: packages/core/src/transformer/maxtoken.transformer.ts class MaxTokenTransformer (line 4) | class MaxTokenTransformer implements Transformer { method constructor (line 8) | constructor(private readonly options?: TransformerOptions) { method transformRequestIn (line 12) | async transformRequestIn(request: UnifiedChatRequest): Promise { method normalizeRequestContent (line 610) | private normalizeRequestContent(content: any, role: string | undefined) { method convertResponseToChat (line 638) | private convertResponseToChat(responseData: ResponsesAPIPayload): any { method buildImageContent (line 772) | private buildImageContent(source: { FILE: packages/core/src/transformer/openai.transformer.ts class OpenAITransformer (line 3) | class OpenAITransformer implements Transformer { FILE: packages/core/src/transformer/openrouter.transformer.ts class OpenrouterTransformer (line 5) | class OpenrouterTransformer implements Transformer { method constructor (line 8) | constructor(private readonly options?: TransformerOptions) {} method transformRequestIn (line 10) | async transformRequestIn( method transformResponseOut (line 49) | async transformResponseOut(response: Response): Promise { FILE: packages/core/src/transformer/reasoning.transformer.ts class ReasoningTransformer (line 4) | class ReasoningTransformer implements Transformer { method constructor (line 8) | constructor(private readonly options?: TransformerOptions) { method transformRequestIn (line 12) | async transformRequestIn( method transformResponseOut (line 33) | async transformResponseOut(response: Response): Promise { FILE: packages/core/src/transformer/sampling.transformer.ts class SamplingTransformer (line 4) | class SamplingTransformer implements Transformer { method constructor (line 13) | constructor(private readonly options?: TransformerOptions) { method transformRequestIn (line 21) | async transformRequestIn( FILE: packages/core/src/transformer/streamoptions.transformer.ts class StreamOptionsTransformer (line 4) | class StreamOptionsTransformer implements Transformer { method transformRequestIn (line 7) | async transformRequestIn( FILE: packages/core/src/transformer/tooluse.transformer.ts class TooluseTransformer (line 4) | class TooluseTransformer implements Transformer { method transformRequestIn (line 7) | transformRequestIn(request: UnifiedChatRequest): UnifiedChatRequest { method transformResponseOut (line 42) | async transformResponseOut(response: Response): Promise { FILE: packages/core/src/transformer/vercel.transformer.ts class VercelTransformer (line 5) | class VercelTransformer implements Transformer { method constructor (line 9) | constructor(private readonly options?: TransformerOptions) {} method transformRequestIn (line 11) | async transformRequestIn( method transformResponseOut (line 50) | async transformResponseOut(response: Response): Promise { FILE: packages/core/src/transformer/vertex-claude.transformer.ts function getAccessToken (line 9) | async function getAccessToken(): Promise { class VertexClaudeTransformer (line 31) | class VertexClaudeTransformer implements Transformer { method transformRequestIn (line 34) | async transformRequestIn( method transformRequestOut (line 74) | async transformRequestOut(request: Record): Promise { FILE: packages/core/src/transformer/vertex-gemini.transformer.ts function getAccessToken (line 9) | async function getAccessToken(): Promise { class VertexGeminiTransformer (line 29) | class VertexGeminiTransformer implements Transformer { method transformRequestIn (line 32) | async transformRequestIn( method transformRequestOut (line 72) | async transformRequestOut(request: Record): Promise { FILE: packages/core/src/types/llm.ts type UrlCitation (line 16) | interface UrlCitation { type Annotation (line 23) | interface Annotation { type TextContent (line 29) | interface TextContent { type ImageContent (line 37) | interface ImageContent { type MessageContent (line 45) | type MessageContent = TextContent | ImageContent; type UnifiedMessage (line 48) | interface UnifiedMessage { type UnifiedTool (line 70) | interface UnifiedTool { type ThinkLevel (line 85) | type ThinkLevel = "none" | "low" | "medium" | "high"; type UnifiedChatRequest (line 88) | interface UnifiedChatRequest { type UnifiedChatResponse (line 113) | interface UnifiedChatResponse { type StreamChunk (line 134) | interface StreamChunk { type AnthropicStreamEvent (line 163) | type AnthropicStreamEvent = MessageStreamEvent; type OpenAIStreamChunk (line 166) | type OpenAIStreamChunk = ChatCompletionChunk; type OpenAIChatRequest (line 169) | interface OpenAIChatRequest { type AnthropicChatRequest (line 183) | interface AnthropicChatRequest { type ConversionOptions (line 195) | interface ConversionOptions { type LLMProvider (line 200) | interface LLMProvider { type RegisterProviderRequest (line 214) | type RegisterProviderRequest = LLMProvider; type ModelRoute (line 216) | interface ModelRoute { type RequestRouteInfo (line 222) | interface RequestRouteInfo { type ConfigProvider (line 228) | interface ConfigProvider { FILE: packages/core/src/types/tokenizer.d.ts type TokenizerType (line 8) | type TokenizerType = 'tiktoken' | 'huggingface' | 'api'; type ApiRequestFormat (line 13) | type ApiRequestFormat = 'standard' | 'openai' | 'anthropic' | 'custom'; type TokenizerConfig (line 18) | interface TokenizerConfig { type TokenizerOptions (line 50) | interface TokenizerOptions { type TokenizeRequest (line 64) | interface TokenizeRequest { type TokenizerResult (line 88) | interface TokenizerResult { type ITokenizer (line 102) | interface ITokenizer { type ProviderTokenizerConfig (line 128) | interface ProviderTokenizerConfig { FILE: packages/core/src/types/transformer.ts type TransformerOptions (line 3) | interface TransformerOptions { type TransformerWithStaticName (line 7) | interface TransformerWithStaticName { type TransformerWithInstanceName (line 13) | interface TransformerWithInstanceName { type TransformerConstructor (line 18) | type TransformerConstructor = TransformerWithStaticName; type TransformerContext (line 20) | interface TransformerContext { type Transformer (line 24) | type Transformer = { FILE: packages/core/src/utils/cache.ts type Usage (line 3) | interface Usage { class LRUCache (line 8) | class LRUCache { method constructor (line 12) | constructor(capacity: number) { method get (line 17) | get(key: K): V | undefined { method put (line 28) | put(key: K, value: V): void { method values (line 42) | values(): V[] { FILE: packages/core/src/utils/converter.ts function log (line 15) | function log(...args: any[]) { function convertToolsToOpenAI (line 20) | function convertToolsToOpenAI( function convertToolsToAnthropic (line 33) | function convertToolsToAnthropic(tools: UnifiedTool[]): AnthropicTool[] { function convertToolsFromOpenAI (line 41) | function convertToolsFromOpenAI( function convertToolsFromAnthropic (line 54) | function convertToolsFromAnthropic( function convertToOpenAI (line 67) | function convertToOpenAI( function isToolCallContent (line 171) | function isToolCallContent(content: string): boolean { function convertFromOpenAI (line 183) | function convertFromOpenAI( function convertFromAnthropic (line 260) | function convertFromAnthropic( function convertRequest (line 459) | function convertRequest( FILE: packages/core/src/utils/gemini.util.ts function cleanupParameters (line 4) | function cleanupParameters(obj: any, keyName?: string): void { function flattenTypeArrayToAnyOf (line 83) | function flattenTypeArrayToAnyOf( function processJsonSchema (line 115) | function processJsonSchema(_jsonSchema: any): any { function tTool (line 208) | function tTool(tool: any): any { function buildRequestBody (line 242) | function buildRequestBody( function transformRequestOut (line 441) | function transformRequestOut( function transformResponseOut (line 516) | async function transformResponseOut( FILE: packages/core/src/utils/request.ts function sendUnifiedRequest (line 4) | function sendUnifiedRequest( FILE: packages/core/src/utils/router.ts type Tool (line 12) | interface Tool { type ContentBlockParam (line 18) | interface ContentBlockParam { type MessageParam (line 23) | interface MessageParam { type MessageCreateParamsBase (line 28) | interface MessageCreateParamsBase { type RouterContext (line 202) | interface RouterContext { type RouterScenarioType (line 208) | type RouterScenarioType = 'default' | 'background' | 'think' | 'longCont... type RouterFallbackConfig (line 210) | interface RouterFallbackConfig { FILE: packages/core/src/utils/sse/SSEParser.transform.ts class SSEParserTransform (line 1) | class SSEParserTransform extends TransformStream { method constructor (line 5) | constructor() { method processLine (line 37) | private processLine(line: string, events?: any[]): any | null { FILE: packages/core/src/utils/sse/SSESerializer.transform.ts class SSESerializerTransform (line 1) | class SSESerializerTransform extends TransformStream { method constructor (line 2) | constructor() { FILE: packages/core/src/utils/sse/rewriteStream.ts method start (line 13) | async start(controller) { FILE: packages/core/src/utils/toolArgumentsParser.ts function parseToolArguments (line 11) | function parseToolArguments(argsString: string, logger?: any): string { FILE: packages/core/src/utils/vertex-claude.util.ts type ClaudeMessage (line 4) | interface ClaudeMessage { type ClaudeTool (line 18) | interface ClaudeTool { type VertexClaudeRequest (line 31) | interface VertexClaudeRequest { type VertexClaudeResponse (line 44) | interface VertexClaudeResponse { function buildRequestBody (line 66) | function buildRequestBody( function transformRequestOut (line 168) | function transformRequestOut( function transformResponseOut (line 239) | async function transformResponseOut( FILE: packages/server/src/agents/image.agent.ts type ImageCacheEntry (line 5) | interface ImageCacheEntry { class ImageCache (line 10) | class ImageCache { method constructor (line 13) | constructor(maxSize = 100) { method storeImage (line 21) | storeImage(id: string, source: any): void { method getImage (line 29) | getImage(id: string): any { method hasImage (line 34) | hasImage(hash: string): boolean { method clear (line 38) | clear(): void { method size (line 42) | size(): number { class ImageAgent (line 49) | class ImageAgent implements IAgent { method constructor (line 53) | constructor() { method shouldHandle (line 58) | shouldHandle(req: any, config: any): boolean { method appendTools (line 103) | appendTools() { method reqHandler (line 244) | reqHandler(req: any, config: any) { FILE: packages/server/src/agents/index.ts class AgentsManager (line 4) | class AgentsManager { method registerAgent (line 12) | registerAgent(agent: IAgent): void { method getAgent (line 20) | getAgent(name: string): IAgent | undefined { method getAllAgents (line 28) | getAllAgents(): IAgent[] { method getAllTools (line 37) | getAllTools(): any[] { FILE: packages/server/src/agents/type.ts type ITool (line 1) | interface ITool { type IAgent (line 9) | interface IAgent { FILE: packages/server/src/index.ts function initializeClaudeConfig (line 22) | async function initializeClaudeConfig() { type RunOptions (line 42) | interface RunOptions { type PluginConfig (line 50) | interface PluginConfig { function registerPluginsFromConfig (line 61) | async function registerPluginsFromConfig(serverInstance: any, config: an... function getServer (line 91) | async function getServer(options: RunOptions = {}) { function run (line 439) | async function run() { FILE: packages/server/src/server.ts function loadPresetFromZip (line 466) | async function loadPresetFromZip(zipFile: string): Promise { FILE: packages/server/src/types.d.ts type ServerConfig (line 5) | interface ServerConfig { type PluginConfig (line 14) | interface PluginConfig { type Server (line 20) | interface Server { type Usage (line 33) | interface Usage { type RouterContext (line 41) | interface RouterContext { class ConfigService (line 53) | class ConfigService { class ProviderService (line 63) | class ProviderService { class TransformerService (line 67) | class TransformerService { type TokenizerType (line 73) | type TokenizerType = 'tiktoken' | 'huggingface' | 'api'; type ApiRequestFormat (line 74) | type ApiRequestFormat = 'standard' | 'openai' | 'anthropic' | 'custom'; type TokenizerConfig (line 76) | interface TokenizerConfig { type TokenizeRequest (line 88) | interface TokenizeRequest { type TokenizerResult (line 109) | interface TokenizerResult { class TokenizerService (line 115) | class TokenizerService { type TokenStats (line 123) | interface TokenStats { FILE: packages/server/src/types/llms-plugin.d.ts type CCRPluginOptions (line 5) | interface CCRPluginOptions { type CCRPlugin (line 11) | interface CCRPlugin { type PluginMetadata (line 19) | interface PluginMetadata { class PluginManager (line 26) | class PluginManager { class SSEParserTransform (line 48) | class SSEParserTransform extends TransformStream { class SSESerializerTransform (line 53) | class SSESerializerTransform extends TransformStream { FILE: packages/server/src/utils/SSEParser.transform.ts class SSEParserTransform (line 1) | class SSEParserTransform extends TransformStream { method constructor (line 5) | constructor() { method processLine (line 37) | private processLine(line: string, events?: any[]): any | null { FILE: packages/server/src/utils/SSESerializer.transform.ts class SSESerializerTransform (line 1) | class SSESerializerTransform extends TransformStream { method constructor (line 2) | constructor() { FILE: packages/server/src/utils/rewriteStream.ts method start (line 10) | async start(controller) { FILE: packages/shared/src/constants.ts constant HOME_DIR (line 4) | const HOME_DIR = path.join(os.homedir(), ".claude-code-router"); constant CONFIG_FILE (line 6) | const CONFIG_FILE = path.join(HOME_DIR, "config.json"); constant PLUGINS_DIR (line 8) | const PLUGINS_DIR = path.join(HOME_DIR, "plugins"); constant PRESETS_DIR (line 10) | const PRESETS_DIR = path.join(HOME_DIR, "presets"); constant PID_FILE (line 12) | const PID_FILE = path.join(HOME_DIR, '.claude-code-router.pid'); constant REFERENCE_COUNT_FILE (line 14) | const REFERENCE_COUNT_FILE = path.join(os.tmpdir(), "claude-code-referen... constant CLAUDE_PROJECTS_DIR (line 17) | const CLAUDE_PROJECTS_DIR = path.join(os.homedir(), ".claude", "projects"); type DefaultConfig (line 20) | interface DefaultConfig { constant DEFAULT_CONFIG (line 27) | const DEFAULT_CONFIG: DefaultConfig = { FILE: packages/shared/src/preset/export.ts type ExportOptions (line 15) | interface ExportOptions { type ExportResult (line 25) | interface ExportResult { function createManifest (line 39) | function createManifest( function exportPreset (line 66) | async function exportPreset( FILE: packages/shared/src/preset/install.ts function validatePresetName (line 18) | function validatePresetName(presetName: string): void { function getPresetDir (line 38) | function getPresetDir(presetName: string): string { function getTempDir (line 46) | function getTempDir(): string { function validateAndResolvePath (line 56) | function validateAndResolvePath(targetDir: string, entryPath: string): s... function extractPreset (line 73) | async function extractPreset(sourceZip: string, targetDir: string): Prom... function readManifestFromDir (line 158) | async function readManifestFromDir(presetDir: string): Promise { function loadPreset (line 249) | async function loadPreset(source: string): Promise { function validatePreset (line 268) | async function validatePreset(preset: PresetFile): Promise<{ function extractMetadata (line 320) | function extractMetadata(manifest: ManifestFile): PresetMetadata { function saveManifest (line 346) | async function saveManifest(presetName: string, manifest: ManifestFile):... function isPresetInstalled (line 356) | async function isPresetInstalled(presetName: string): Promise { function listPresets (line 370) | async function listPresets(): Promise { FILE: packages/shared/src/preset/marketplace.ts constant MARKET_URL (line 9) | const MARKET_URL = 'https://pub-0dc3e1677e894f07bbea11b17a29e032.r2.dev/... function fetchMarketData (line 14) | async function fetchMarketData(): Promise { function getMarketPresets (line 29) | async function getMarketPresets(): Promise { function findMarketPresetByName (line 38) | async function findMarketPresetByName(presetName: string): Promise { FILE: packages/shared/src/preset/schema.ts function parseFieldPath (line 25) | function parseFieldPath(path: string): string[] { function getValueByPath (line 40) | function getValueByPath(obj: any, path: string): any { function setValueByPath (line 57) | function setValueByPath(obj: any, path: string, value: any): void { function evaluateCondition (line 81) | function evaluateCondition( function evaluateConditions (line 125) | function evaluateConditions( function shouldShowField (line 144) | function shouldShowField( function getDynamicOptions (line 158) | function getDynamicOptions( function resolveOptions (line 219) | function resolveOptions( function replaceTemplateVariables (line 248) | function replaceTemplateVariables( function applyConfigMappings (line 284) | function applyConfigMappings( function getSchemaFields (line 318) | function getSchemaFields(schema?: RequiredInput[]): Set { function applyUserInputs (line 332) | function applyUserInputs( function validateInput (line 379) | function validateInput( function getDefaultValue (line 466) | function getDefaultValue(field: RequiredInput): any { function sortFieldsByDependencies (line 488) | function sortFieldsByDependencies( function buildDependencyGraph (line 534) | function buildDependencyGraph( function getAffectedFields (line 575) | function getAffectedFields( function processStatusLineConfig (line 597) | function processStatusLineConfig(statusLineConfig: any, presetDir?: stri... function processTransformersConfig (line 634) | function processTransformersConfig(transformersConfig: any[], presetDir?... function loadConfigFromManifest (line 663) | function loadConfigFromManifest(manifest: ManifestFile, presetDir?: stri... FILE: packages/shared/src/preset/sensitiveFields.ts constant SENSITIVE_PATTERNS (line 8) | const SENSITIVE_PATTERNS = [ constant ENV_VAR_REGEX (line 19) | const ENV_VAR_REGEX = /^\$\{?[A-Z_][A-Z0-9_]*\}?$/; function isSensitiveField (line 24) | function isSensitiveField(fieldName: string): boolean { function generateEnvVarName (line 37) | function generateEnvVarName( function isEnvPlaceholder (line 58) | function isEnvPlaceholder(value: any): boolean { function extractEnvVarName (line 69) | function extractEnvVarName(value: string): string | null { function sanitizeObject (line 93) | function sanitizeObject( function sanitizeConfig (line 172) | async function sanitizeConfig(config: any): Promise { function fillSensitiveInputs (line 190) | function fillSensitiveInputs(config: any, inputs: Record... FILE: packages/shared/src/preset/types.ts type UserInputValues (line 6) | interface UserInputValues { type InputType (line 11) | enum InputType { type InputOption (line 22) | interface InputOption { type DynamicOptions (line 31) | interface DynamicOptions { type Condition (line 52) | interface Condition { type RequiredInput (line 68) | interface RequiredInput { type ProviderConfig (line 98) | interface ProviderConfig { type RouterConfig (line 108) | interface RouterConfig { type TransformerConfig (line 120) | interface TransformerConfig { type PresetMetadata (line 128) | interface PresetMetadata { type PresetConfigSection (line 144) | interface PresetConfigSection { type TemplateConfig (line 163) | interface TemplateConfig { type ConfigMapping (line 170) | interface ConfigMapping { type PresetFile (line 182) | interface PresetFile { type ManifestFile (line 203) | interface ManifestFile extends PresetMetadata, PresetConfigSection { type PresetIndexEntry (line 216) | interface PresetIndexEntry { type PresetRegistry (line 232) | interface PresetRegistry { type ValidationResult (line 239) | interface ValidationResult { type MergeStrategy (line 246) | enum MergeStrategy { type SanitizeResult (line 254) | interface SanitizeResult { type PresetInfo (line 260) | interface PresetInfo { FILE: packages/ui/src/App.tsx function App (line 31) | function App() { FILE: packages/ui/src/components/ConfigProvider.tsx type ConfigContextType (line 6) | interface ConfigContextType { function useConfig (line 15) | function useConfig() { type ConfigProviderProps (line 23) | interface ConfigProviderProps { function ConfigProvider (line 27) | function ConfigProvider({ children }: ConfigProviderProps) { FILE: packages/ui/src/components/DebugPage.tsx function DebugPage (line 11) | function DebugPage() { FILE: packages/ui/src/components/JsonEditor.tsx type JsonEditorProps (line 9) | interface JsonEditorProps { function JsonEditor (line 15) | function JsonEditor({ open, onOpenChange, showToast }: JsonEditorProps) { FILE: packages/ui/src/components/LogViewer.tsx type LogViewerProps (line 9) | interface LogViewerProps { type LogEntry (line 15) | interface LogEntry { type LogFile (line 24) | interface LogFile { type GroupedLogs (line 31) | interface GroupedLogs { type LogGroupSummary (line 35) | interface LogGroupSummary { type GroupedLogsResponse (line 43) | interface GroupedLogsResponse { function LogViewer (line 53) | function LogViewer({ open, onOpenChange, showToast }: LogViewerProps) { FILE: packages/ui/src/components/Login.tsx function Login (line 10) | function Login() { FILE: packages/ui/src/components/Presets.tsx type InputOption (line 22) | interface InputOption { type DynamicOptions (line 29) | interface DynamicOptions { type Condition (line 35) | interface Condition { type RequiredInput (line 41) | interface RequiredInput { type PresetMetadata (line 58) | interface PresetMetadata { type PresetConfigSection (line 75) | interface PresetConfigSection { type PresetDetail (line 85) | interface PresetDetail extends PresetMetadata { type MarketPreset (line 93) | interface MarketPreset { function Presets (line 101) | function Presets() { FILE: packages/ui/src/components/ProviderList.tsx type ProviderListProps (line 6) | interface ProviderListProps { function ProviderList (line 12) | function ProviderList({ providers, onEdit, onRemove }: ProviderListProps) { FILE: packages/ui/src/components/Providers.tsx type ProviderType (line 24) | interface ProviderType extends Provider {} function Providers (line 26) | function Providers() { FILE: packages/ui/src/components/RequestHistoryDrawer.tsx type RequestHistoryDrawerProps (line 6) | interface RequestHistoryDrawerProps { function RequestHistoryDrawer (line 12) | function RequestHistoryDrawer({ isOpen, onClose, onSelectRequest }: Requ... FILE: packages/ui/src/components/Router.tsx function Router (line 8) | function Router() { FILE: packages/ui/src/components/SettingsDialog.tsx type SettingsDialogProps (line 19) | interface SettingsDialogProps { function SettingsDialog (line 24) | function SettingsDialog({ isOpen, onOpenChange }: SettingsDialogProps) { FILE: packages/ui/src/components/StatusLineConfigDialog.tsx constant DEFAULT_MODULE (line 29) | const DEFAULT_MODULE: StatusLineModuleConfig = { constant NERD_FONTS (line 37) | const NERD_FONTS = [ constant MODULE_TYPES (line 49) | const MODULE_TYPES = [ constant ANSI_COLORS (line 59) | const ANSI_COLORS: Record = { type IconData (line 103) | interface IconData { type IconSearchInputProps (line 109) | interface IconSearchInputProps { function replaceVariables (line 303) | function replaceVariables( function renderModulePreview (line 313) | function renderModulePreview( type StatusLineConfigDialogProps (line 409) | interface StatusLineConfigDialogProps { function StatusLineConfigDialog (line 414) | function StatusLineConfigDialog({ FILE: packages/ui/src/components/StatusLineImportExport.tsx type StatusLineImportExportProps (line 8) | interface StatusLineImportExportProps { function StatusLineImportExport (line 14) | function StatusLineImportExport({ config, onImport, onShowToast }: Statu... FILE: packages/ui/src/components/TransformerList.tsx type TransformerListProps (line 5) | interface TransformerListProps { function TransformerList (line 11) | function TransformerList({ transformers, onEdit, onRemove }: Transformer... FILE: packages/ui/src/components/Transformers.tsx function Transformers (line 19) | function Transformers() { FILE: packages/ui/src/components/preset/DynamicConfigForm.tsx type InputOption (line 18) | interface InputOption { type DynamicOptions (line 25) | interface DynamicOptions { type Condition (line 31) | interface Condition { type RequiredInput (line 37) | interface RequiredInput { type PresetConfigSection (line 54) | interface PresetConfigSection { type DynamicConfigFormProps (line 64) | interface DynamicConfigFormProps { function DynamicConfigForm (line 73) | function DynamicConfigForm({ FILE: packages/ui/src/components/ui/badge.tsx type BadgeProps (line 27) | interface BadgeProps function Badge (line 31) | function Badge({ className, variant, ...props }: BadgeProps) { FILE: packages/ui/src/components/ui/button.tsx type ButtonProps (line 36) | interface ButtonProps FILE: packages/ui/src/components/ui/color-picker.tsx type ColorPickerProps (line 11) | interface ColorPickerProps { function ColorPicker (line 29) | function ColorPicker({ FILE: packages/ui/src/components/ui/combo-input.tsx type ComboInputProps (line 23) | interface ComboInputProps { FILE: packages/ui/src/components/ui/combobox.tsx type ComboboxProps (line 22) | interface ComboboxProps { function Combobox (line 31) | function Combobox({ FILE: packages/ui/src/components/ui/command.tsx function Command (line 16) | function Command({ function CommandDialog (line 32) | function CommandDialog({ function CommandInput (line 60) | function CommandInput({ function CommandList (line 82) | function CommandList({ function CommandEmpty (line 98) | function CommandEmpty({ function CommandGroup (line 110) | function CommandGroup({ function CommandSeparator (line 126) | function CommandSeparator({ function CommandItem (line 139) | function CommandItem({ function CommandShortcut (line 155) | function CommandShortcut({ FILE: packages/ui/src/components/ui/multi-combobox.tsx type MultiComboboxProps (line 23) | interface MultiComboboxProps { function MultiCombobox (line 32) | function MultiCombobox({ FILE: packages/ui/src/components/ui/popover.tsx function Popover (line 6) | function Popover({ function PopoverTrigger (line 12) | function PopoverTrigger({ function PopoverContent (line 18) | function PopoverContent({ function PopoverAnchor (line 40) | function PopoverAnchor({ FILE: packages/ui/src/components/ui/textarea.tsx type TextareaProps (line 5) | interface TextareaProps FILE: packages/ui/src/components/ui/toast.tsx type ToastProps (line 4) | interface ToastProps { function Toast (line 10) | function Toast({ message, type, onClose }: ToastProps) { FILE: packages/ui/src/lib/api.ts type GroupedLogsResponse (line 4) | interface GroupedLogsResponse { class ApiClient (line 20) | class ApiClient { method constructor (line 25) | constructor(baseUrl: string = '/api', apiKey: string = '') { method setBaseUrl (line 34) | setBaseUrl(url: string) { method setApiKey (line 39) | setApiKey(apiKey: string) { method setTempApiKey (line 50) | setTempApiKey(tempApiKey: string | null) { method createHeaders (line 55) | private createHeaders(contentType: string = 'application/json'): Heade... method apiFetch (line 75) | private async apiFetch(endpoint: string, options: RequestInit = {})... method get (line 129) | async get(endpoint: string): Promise { method post (line 136) | async post(endpoint: string, data: unknown): Promise { method put (line 144) | async put(endpoint: string, data: unknown): Promise { method delete (line 152) | async delete(endpoint: string, body?: any): Promise { method getConfig (line 161) | async getConfig(): Promise { method updateConfig (line 166) | async updateConfig(config: Config): Promise { method getProviders (line 171) | async getProviders(): Promise { method addProvider (line 176) | async addProvider(provider: Provider): Promise { method updateProvider (line 181) | async updateProvider(index: number, provider: Provider): Promise { method getTransformers (line 191) | async getTransformers(): Promise { method addTransformer (line 196) | async addTransformer(transformer: Transformer): Promise { method updateTransformer (line 201) | async updateTransformer(index: number, transformer: Transformer): Prom... method deleteTransformer (line 206) | async deleteTransformer(index: number): Promise { method getConfigNew (line 211) | async getConfigNew(): Promise { method saveConfig (line 216) | async saveConfig(config: Config): Promise { method restartService (line 221) | async restartService(): Promise { method checkForUpdates (line 226) | async checkForUpdates(): Promise<{ hasUpdate: boolean; latestVersion?:... method performUpdate (line 231) | async performUpdate(): Promise<{ success: boolean; message: string }> { method getLogFiles (line 236) | async getLogFiles(): Promise { method clearLogs (line 246) | async clearLogs(filePath: string): Promise { method getPresets (line 253) | async getPresets(): Promise<{ presets: Array }> { method getPreset (line 258) | async getPreset(name: string): Promise { method installPresetFromUrl (line 263) | async installPresetFromUrl(url: string, name?: string): Promise { method uploadPresetFile (line 268) | async uploadPresetFile(file: File, name?: string): Promise { method applyPreset (line 308) | async applyPreset(name: string, secrets: Record): Prom... method deletePreset (line 313) | async deletePreset(name: string): Promise { method getMarketPresets (line 318) | async getMarketPresets(): Promise<{ presets: Array }> { method installPresetFromGitHub (line 323) | async installPresetFromGitHub(repo: string, name?: string): Promise { method saveRequest (line 39) | async saveRequest(request: Omit { method deleteRequest (line 81) | async deleteRequest(id: string): Promise { method clearAllRequests (line 93) | async clearAllRequests(): Promise { FILE: packages/ui/src/lib/utils.ts function cn (line 4) | function cn(...inputs: ClassValue[]) { FILE: packages/ui/src/types.ts type ProviderTransformer (line 1) | interface ProviderTransformer { type Provider (line 6) | interface Provider { type RouterConfig (line 14) | interface RouterConfig { type Transformer (line 25) | interface Transformer { type StatusLineModuleConfig (line 31) | interface StatusLineModuleConfig { type StatusLineThemeConfig (line 40) | interface StatusLineThemeConfig { type StatusLineConfig (line 44) | interface StatusLineConfig { type Config (line 52) | interface Config { type AccessLevel (line 70) | type AccessLevel = 'restricted' | 'full'; FILE: packages/ui/src/utils/statusline.ts type ValidationResult (line 4) | interface ValidationResult { function validateStatusLineConfig (line 14) | function validateStatusLineConfig(config: unknown): ValidationResult { function formatValidationError (line 23) | function formatValidationError(error: unknown, t: (key: string, options?... function parseColorValue (line 33) | function parseColorValue(color: string | undefined, defaultColor: string... function isHexColor (line 52) | function isHexColor(color: string): boolean { constant COLOR_HEX_MAP (line 57) | const COLOR_HEX_MAP: Record = { function createDefaultStatusLineConfig (line 95) | function createDefaultStatusLineConfig(): StatusLineConfig { function backupConfig (line 123) | function backupConfig(config: StatusLineConfig): string { function restoreConfig (line 135) | function restoreConfig(backupStr: string): StatusLineConfig | null {