export declare function getPiUserAgent(version: string): string; /** * Upstream pi release whose model schema phi-code's model layer (phi-code-ai) implements. * Keep it equal to the phi-code-ai package version: bump it when an upstream merge moves * the internal packages (a regression test compares the two). */ export declare const PI_MODEL_CATALOG_COMPAT_VERSION = "0.84.2"; /** * User-Agent for the pi.dev model catalog (`/api/models/providers/`). * * pi.dev only serves a schema-compatible catalog revision to clients whose User-Agent * matches `pi/ (...)` (pi scripts/model-catalog-protocol.ts): it redirects them * to `?pi-version=` and picks the newest revision whose minimumPiVersion does * not exceed it. Any other User-Agent, including `phi/`, gets the latest * revision, whose schema may be newer than what phi-code-ai understands. Announcing the * upstream base version (never phi's own 0.99.x, which pi.dev would read as a newer pi) * selects the revision phi was built against. phi stays identifiable in the comment part, * which the protocol's pattern accepts. */ export declare function getModelCatalogUserAgent(appVersion: string): string; //# sourceMappingURL=pi-user-agent.d.ts.map