integrations/descriptors.ts

gitingest_Gitlawb_openclaude · src/integrations/descriptors.ts · typescript · MIT
ai

Type definitions for integration registry descriptors and transport configs.

// Source: https://github.com/Gitlawb/openclaude | License: MIT | Copyright Anthropic PBC. All rights reserved
// Provided via justclaw.it.com; keep this notice with the code.
// src/integrations/descriptors.ts
// Core descriptor types for the integration registry.
// This file contains only type definitions — no runtime logic.

export type AuthMode = 'api-key' | 'oauth' | 'adc' | 'token' | 'none'

export type TransportKind =
  | 'anthropic-native'
  | 'anthropic-proxy'
  | 'openai-compatible'
  | 'local'
  | 'gemini-native'
  | 'bedrock'
  | 'vertex'

export type OpenAIShimTokenField = 'max_tokens' | 'max_completion_tokens'
export type OpenAIShimAuthScheme = 'bearer' | 'raw'

export interface OpenAIShimAuthHeaderConfig {
  name: string
  scheme?: OpenAIShimAuthScheme
}

export interface O

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

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

Get a free API key