@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
34 lines • 1.56 kB
TypeScript
import type { ExtensionAPI } from "../../types.ts";
import { type AnthropicSubscriptionProviderSettings } from "./settings.ts";
export { ANTHROPIC_SUBSCRIPTION_PROVIDER_ID } from "./account-management.ts";
export type AnthropicSubscriptionExtensionDeps = {
readAmbientAuthStatus?: () => Promise<boolean>;
/** Overrides the on-disk provider settings the auth predicate consults. */
readSettings?: () => AnthropicSubscriptionProviderSettings;
};
/**
* The lane's models carry the window their requests actually get, which is what compaction plans
* against: the catalog window, except a legacy long-context id at Claude Code's 200k default after the
* account refused its 1M opt-in (senpi#3408, senpi#3801).
*/
export declare const anthropicSubscriptionModels: (longContext?: boolean) => {
id: string;
name: string;
reasoning: boolean;
input: ("image" | "text" | "video")[];
cost: import("@earendil-works/pi-ai").ModelCost;
contextWindow: number;
maxTokens: number;
thinkingLevelMap: {
minimal: null;
high?: string | null | undefined;
low?: string | null | undefined;
max?: string | null | undefined;
medium?: string | null | undefined;
off?: string | null | undefined;
xhigh?: string | null | undefined;
};
}[];
export declare function registerAnthropicSubscriptionExtension(pi: ExtensionAPI, deps?: AnthropicSubscriptionExtensionDeps): void;
export default function anthropicSubscriptionExtension(pi: ExtensionAPI): void;
//# sourceMappingURL=index.d.ts.map