@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
20 lines • 1.23 kB
TypeScript
/**
* Minimum Claude Code versions the Anthropic API has been observed to demand for a model, taken
* from its 400 "Claude Code X does not support this model; version Y or newer is required".
* Append-only: record a floor only from such an observed rejection, never from a guess.
* `claude-fable-5-2` has none yet: add `"claude-fable-5-2": "<Y>"` here once that 400 is observed.
*/
export declare const OBSERVED_CLAUDE_CODE_MODEL_FLOORS: Readonly<Record<string, string>>;
export type BundledClaudeCodeBinary = {
path: string;
claudeCodeVersion: string | undefined;
};
/** The platform binary the pinned SDK ships for this host - never a `claude` on PATH. */
export declare function bundledClaudeCodeBinary(): BundledClaudeCodeBinary | undefined;
/**
* Which of `tokens` the Claude Code binary at `path` embeds as plain text. The binary is a compiled
* bundle whose model table is stored verbatim, so a model id it does not contain is one it predates.
* Read in chunks that overlap by the longest token so a match across a chunk boundary is not lost.
*/
export declare function binaryEmbedsTokens(path: string, tokens: readonly string[]): Map<string, boolean>;
//# sourceMappingURL=executable-model-support.d.ts.map