@granular-software/sdk 0.4.65 → 0.4.66

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.
@@ -2344,6 +2344,12 @@ interface UserEnvironmentStateOptions {
2344
2344
  sessionScope?: string | null;
2345
2345
  status?: "active" | "closed" | "expired" | "failed" | "timeout" | "all";
2346
2346
  limit?: number;
2347
+ /**
2348
+ * `cached` uses the normal short freshness window. `refresh` performs the
2349
+ * control-plane reconciliation now, which is useful after a known external
2350
+ * state change and for deterministic integration tests.
2351
+ */
2352
+ consistency?: "cached" | "refresh";
2347
2353
  }
2348
2354
  interface MarkUserEnvironmentReadOptions {
2349
2355
  sessionId?: string;
@@ -2344,6 +2344,12 @@ interface UserEnvironmentStateOptions {
2344
2344
  sessionScope?: string | null;
2345
2345
  status?: "active" | "closed" | "expired" | "failed" | "timeout" | "all";
2346
2346
  limit?: number;
2347
+ /**
2348
+ * `cached` uses the normal short freshness window. `refresh` performs the
2349
+ * control-plane reconciliation now, which is useful after a known external
2350
+ * state change and for deterministic integration tests.
2351
+ */
2352
+ consistency?: "cached" | "refresh";
2347
2353
  }
2348
2354
  interface MarkUserEnvironmentReadOptions {
2349
2355
  sessionId?: string;
package/dist/spend.d.mts CHANGED
@@ -1 +1 @@
1
- export { aC as GranularSpendContext, aD as OpenAIUsageSpendEvent, aE as RecordOpenAIUsageSpendOptions, aF as RecordOpenAIUsageSpendResult, aH as buildOpenAISpendEventId, aI as recordOpenAIUsageSpend, aG as toGranularHttpBase } from './spend-CESUvrZC.mjs';
1
+ export { aC as GranularSpendContext, aD as OpenAIUsageSpendEvent, aE as RecordOpenAIUsageSpendOptions, aF as RecordOpenAIUsageSpendResult, aH as buildOpenAISpendEventId, aI as recordOpenAIUsageSpend, aG as toGranularHttpBase } from './spend-x-lpt8n1.mjs';
package/dist/spend.d.ts CHANGED
@@ -1 +1 @@
1
- export { aC as GranularSpendContext, aD as OpenAIUsageSpendEvent, aE as RecordOpenAIUsageSpendOptions, aF as RecordOpenAIUsageSpendResult, aH as buildOpenAISpendEventId, aI as recordOpenAIUsageSpend, aG as toGranularHttpBase } from './spend-CESUvrZC.js';
1
+ export { aC as GranularSpendContext, aD as OpenAIUsageSpendEvent, aE as RecordOpenAIUsageSpendOptions, aF as RecordOpenAIUsageSpendResult, aH as buildOpenAISpendEventId, aI as recordOpenAIUsageSpend, aG as toGranularHttpBase } from './spend-x-lpt8n1.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@granular-software/sdk",
3
- "version": "0.4.65",
3
+ "version": "0.4.66",
4
4
  "description": "TypeScript SDK and CLI for Granular - define, build, and deploy AI sandboxes",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",