@cline/llms 0.2.0-nightly.1793312794 → 0.2.0

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cline/llms",
3
- "version": "0.2.0-nightly.1793312794",
3
+ "version": "0.2.0",
4
4
  "description": "Config-driven SDK for selecting, extending, and instantiating LLM providers and models",
5
5
  "repository": {
6
6
  "type": "git",
@@ -62,7 +62,7 @@
62
62
  "@ai-sdk/provider": "^4.0.26",
63
63
  "@ai-sdk/provider-utils": "^5.0.58",
64
64
  "@aws-sdk/credential-providers": "^3.922.0",
65
- "@cline/shared": "0.2.0-nightly.1793312794",
65
+ "@cline/shared": "0.2.0",
66
66
  "@jerome-benoit/sap-ai-provider": "5.0.3",
67
67
  "@langfuse/core": "5.10.1",
68
68
  "@langfuse/otel": "5.10.1",
@@ -1,33 +0,0 @@
1
- /**
2
- * aimlapi.com partner attribution for requests Cline sends to the gateway.
3
- *
4
- * The partner id is minted by aimlapi.com, which issues ids server-side as
5
- * random tokens. An id the gateway did not issue is accepted and silently
6
- * dropped, so a made-up value here would leave all traffic unattributed.
7
- * `AIMLAPI_PARTNER_ID` overrides it (for staging and testing).
8
- */
9
- export declare const AIMLAPI_PARTNER_ID = "part_HSyUEqWOLXYAn56CBHNOMBlj";
10
- /**
11
- * The one host attribution may reach, compared for EQUALITY on the parsed
12
- * hostname. A suffix or substring test would hand the partner id to
13
- * `api.aimlapi.com.example.net` or `notapi.aimlapi.com`.
14
- */
15
- export declare const AIMLAPI_ATTRIBUTION_HOST = "api.aimlapi.com";
16
- /** Attribution sent with every aimlapi.com request Cline makes. */
17
- export declare function aimlapiAttributionHeaders(): Record<string, string>;
18
- /** Whether a request is bound for the aimlapi.com gateway itself. */
19
- export declare function isAimlapiAttributionTarget(input: Parameters<typeof fetch>[0]): boolean;
20
- /**
21
- * Wrap the aimlapi provider's fetch so attribution follows the DESTINATION of
22
- * each request rather than the provider's configuration.
23
- *
24
- * Static `defaults.headers` would go to whatever `baseUrl` a user points the
25
- * provider at — a proxy, a staging host, someone else's gateway — partner id
26
- * included. Here the headers are added only when the request URL's hostname
27
- * is exactly `api.aimlapi.com`. The wrap sits in the provider factory rather
28
- * than in `defaults.fetch`: the registry resolves `config.fetch ??
29
- * defaults.fetch`, so a fetch supplied by the host would bypass a default and
30
- * drop attribution entirely. In the factory it wraps whichever fetch arrives.
31
- */
32
- export declare function wrapFetchForAimlapiAttribution(baseFetch: typeof fetch | undefined, providerId: string): typeof fetch | undefined;
33
- //# sourceMappingURL=attribution.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"attribution.d.ts","sourceRoot":"","sources":["../../../src/providers/aimlapi/attribution.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,eAAO,MAAM,kBAAkB,kCAAkC,CAAC;AAElE;;;;GAIG;AACH,eAAO,MAAM,wBAAwB,oBAAoB,CAAC;AAQ1D,mEAAmE;AACnE,wBAAgB,yBAAyB,IAAI,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAUlE;AAQD,qEAAqE;AACrE,wBAAgB,0BAA0B,CACzC,KAAK,EAAE,UAAU,CAAC,OAAO,KAAK,CAAC,CAAC,CAAC,CAAC,GAChC,OAAO,CAMT;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,8BAA8B,CAC7C,SAAS,EAAE,OAAO,KAAK,GAAG,SAAS,EACnC,UAAU,EAAE,MAAM,GAChB,OAAO,KAAK,GAAG,SAAS,CAkC1B"}