Files
llmx/codex-cli/src/shims-external.d.ts
Fouad Matin 9f5ccbb618 feat: add support for ZDR orgs (#481)
- Add `store: boolean` to `AgentLoop` to enable client-side storage of
response items
- Add `--disable-response-storage` arg + `disableResponseStorage` config
2025-04-22 01:30:16 -07:00

25 lines
736 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// Ambient module declarations for optional/runtimeonly dependencies so that
// `tsc --noEmit` succeeds without installing their full type definitions.
declare module "package-manager-detector" {
export type AgentName = "npm" | "pnpm" | "yarn" | "bun" | "deno";
/** Detects the package manager based on environment variables. */
export function getUserAgent(): AgentName | null | undefined;
}
declare module "fast-npm-meta" {
export interface LatestVersionMeta {
version: string;
}
export function getLatestVersion(
pkgName: string,
opts?: Record<string, unknown>,
): Promise<LatestVersionMeta | { error: unknown }>;
}
declare module "semver" {
export function gt(v1: string, v2: string): boolean;
}