pullfrog 0.1.74 → 0.1.76

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -42,6 +42,26 @@ interface AzureProviderEntry {
42
42
  * guaranteed present by `validateOpenAICompatibleSetup`.
43
43
  */
44
44
  export declare function openAICompatibleProvider(model: string | undefined): Record<string, OpenAICompatibleProviderEntry>;
45
+ /**
46
+ * Customer-gateway block for OPENCODE_CONFIG_CONTENT. opencode resolves a
47
+ * provider's endpoint as `options.baseURL ?? model.api.url` (`getSDK`), and
48
+ * models.dev declares no base-URL env var for any provider we catalog — so a
49
+ * config override is the ONLY lever that re-points one. Unlike
50
+ * `openAICompatibleProvider` this declares no `npm` and no models: the native
51
+ * provider and its catalog metadata (including token limits) stay exactly as
52
+ * they are, and only the host changes. `{}` when unset so the caller can spread
53
+ * it unconditionally.
54
+ *
55
+ * `anthropic/*` normally never reaches here — `resolveAgent` routes it to
56
+ * claude-code, which reads ANTHROPIC_BASE_URL natively — but keying off the
57
+ * resolved specifier rather than the harness means it still holds on the paths
58
+ * that do send a Claude model through opencode (`PULLFROG_AGENT=opencode`).
59
+ */
60
+ export declare function providerGatewayOverride(model: string | undefined): Record<string, {
61
+ options: {
62
+ baseURL: string;
63
+ };
64
+ }>;
45
65
  /**
46
66
  * Azure model block for OPENCODE_CONFIG_CONTENT. Unlike openai-compatible this
47
67
  * does NOT declare a provider — opencode has a native `azure` one and the env