Toolchain Type Definitions (types/toolchains.ts)

deepchat · src/shared/types/toolchains.ts · typescript · Apache-2.0
ai, dev-tools, lang:typescript, tag:toolchain, tag:configuration

Defines TypeScript types and constants for managing toolchain configurations, sources, and resolution states in AI development environments.

// Source: https://github.com/ThinkInAIXYZ/deepchat | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
export const TOOLCHAIN_KINDS = ['node', 'uv', 'cloudflared'] as const
export type ToolchainKind = (typeof TOOLCHAIN_KINDS)[number]

export const TOOLCHAIN_SOURCES = ['bundled', 'managed', 'system', 'custom', 'unconfigured'] as const
export type ToolchainSource = (typeof TOOLCHAIN_SOURCES)[number]

export const TOOLCHAIN_PURPOSES = ['ocr', 'mcp', 'acp', 'skill', 'generic'] as const
export type ToolchainPurpose = (typeof TOOLCHAIN_PURPOSES)[number]

export const TOOLCHAIN_RESOLVE_REASONS = [
  'unconfigured',
  'missing',
  'incomplete',
  'version_mismatch',
  'abi_mismatch',
  'path

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key