@granular-software/sdk 0.4.73 → 0.4.74
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/dist/agent-evals.d.mts +2 -2
- package/dist/agent-evals.d.ts +2 -2
- package/dist/agent-evals.js +11 -3
- package/dist/agent-evals.js.map +1 -1
- package/dist/agent-evals.mjs +11 -3
- package/dist/agent-evals.mjs.map +1 -1
- package/dist/cli/index.js +11 -3
- package/dist/{client-WJrPOw6N.d.ts → client-6d1OsWJf.d.mts} +4 -2
- package/dist/{client-U0rb2nG5.d.mts → client-DdEXINlv.d.ts} +4 -2
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +11 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11 -3
- package/dist/index.mjs.map +1 -1
- package/dist/{spend-k8V2Y1Tt.d.mts → spend-DBRQOSaj.d.mts} +2 -0
- package/dist/{spend-k8V2Y1Tt.d.ts → spend-DBRQOSaj.d.ts} +2 -0
- package/dist/spend.d.mts +1 -1
- package/dist/spend.d.ts +1 -1
- package/package.json +1 -1
|
@@ -612,6 +612,8 @@ interface GranularOptions {
|
|
|
612
612
|
token?: string;
|
|
613
613
|
/** Optional provider used to refresh JWT before authenticated requests and WebSocket (re)connect attempts */
|
|
614
614
|
tokenProvider?: AccessTokenProvider;
|
|
615
|
+
/** Optional key per logical GraphQL request. Preserve the key when explicitly replaying a request; no automatic retry is added. */
|
|
616
|
+
graphqlIdempotencyKey?: (query: string, variables?: Record<string, unknown>) => string;
|
|
615
617
|
/** Optional API URL (for on-prem or testing) */
|
|
616
618
|
apiUrl?: string;
|
|
617
619
|
/** Optional live effect-host WebSocket/base URL override (for local/on-prem routing) */
|
|
@@ -612,6 +612,8 @@ interface GranularOptions {
|
|
|
612
612
|
token?: string;
|
|
613
613
|
/** Optional provider used to refresh JWT before authenticated requests and WebSocket (re)connect attempts */
|
|
614
614
|
tokenProvider?: AccessTokenProvider;
|
|
615
|
+
/** Optional key per logical GraphQL request. Preserve the key when explicitly replaying a request; no automatic retry is added. */
|
|
616
|
+
graphqlIdempotencyKey?: (query: string, variables?: Record<string, unknown>) => string;
|
|
615
617
|
/** Optional API URL (for on-prem or testing) */
|
|
616
618
|
apiUrl?: string;
|
|
617
619
|
/** Optional live effect-host WebSocket/base URL override (for local/on-prem routing) */
|
package/dist/spend.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { aI as GranularSpendContext, aJ as OpenAIUsageSpendEvent, aK as RecordOpenAIUsageSpendOptions, aL as RecordOpenAIUsageSpendResult, aN as buildOpenAISpendEventId, aO as recordOpenAIUsageSpend, aM as toGranularHttpBase } from './spend-
|
|
1
|
+
export { aI as GranularSpendContext, aJ as OpenAIUsageSpendEvent, aK as RecordOpenAIUsageSpendOptions, aL as RecordOpenAIUsageSpendResult, aN as buildOpenAISpendEventId, aO as recordOpenAIUsageSpend, aM as toGranularHttpBase } from './spend-DBRQOSaj.mjs';
|
package/dist/spend.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { aI as GranularSpendContext, aJ as OpenAIUsageSpendEvent, aK as RecordOpenAIUsageSpendOptions, aL as RecordOpenAIUsageSpendResult, aN as buildOpenAISpendEventId, aO as recordOpenAIUsageSpend, aM as toGranularHttpBase } from './spend-
|
|
1
|
+
export { aI as GranularSpendContext, aJ as OpenAIUsageSpendEvent, aK as RecordOpenAIUsageSpendOptions, aL as RecordOpenAIUsageSpendResult, aN as buildOpenAISpendEventId, aO as recordOpenAIUsageSpend, aM as toGranularHttpBase } from './spend-DBRQOSaj.js';
|
package/package.json
CHANGED