@granular-software/sdk 0.4.59 → 0.4.61

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.
@@ -1236,6 +1236,14 @@ interface EffectArtifactRelationshipOption {
1236
1236
  }
1237
1237
  interface EffectArtifactRelationshipOptionsResult {
1238
1238
  items: EffectArtifactRelationshipOption[];
1239
+ /** True when the returned page contains the complete eligible option set. */
1240
+ complete?: boolean;
1241
+ /** True when more eligible options exist beyond this response. */
1242
+ hasMore?: boolean;
1243
+ /** Number of eligible options for the current query when known. */
1244
+ totalCount?: number;
1245
+ /** Typed empty/loading outcome that the Artifact UI can explain locally. */
1246
+ status?: "ok" | "domain_empty" | "no_match" | "workspace_syncing" | "verification_failed" | "provider_unavailable";
1239
1247
  /**
1240
1248
  * Actionable explanation shown when no eligible record is available.
1241
1249
  * It must be customer-facing and must not expose internal policy machinery.
@@ -1717,6 +1725,11 @@ interface SessionArtifactRelationshipOptionsResult {
1717
1725
  supported: boolean;
1718
1726
  items: SessionArtifactRelationshipOption[];
1719
1727
  emptyMessage?: string | null;
1728
+ /** True when this response contains the complete eligible option set. */
1729
+ complete?: boolean;
1730
+ hasMore?: boolean;
1731
+ totalCount?: number | null;
1732
+ status?: "ok" | "domain_empty" | "no_match" | "workspace_syncing" | "verification_failed" | "provider_unavailable";
1720
1733
  }
1721
1734
  interface SessionArtifactRelationshipCreateInput {
1722
1735
  fieldName: string;
@@ -2545,6 +2558,8 @@ type ManifestStateTransitionInputBinding = null | string | number | boolean | Ma
2545
2558
  };
2546
2559
  interface ManifestStateTransitionActionSpec {
2547
2560
  effect: string;
2561
+ /** User-facing name of the connected system that performs the effect. */
2562
+ providerLabel?: string;
2548
2563
  input?: Record<string, ManifestStateTransitionInputBinding>;
2549
2564
  }
2550
2565
  interface ManifestStateTransitionAssigneeSpec {
@@ -1236,6 +1236,14 @@ interface EffectArtifactRelationshipOption {
1236
1236
  }
1237
1237
  interface EffectArtifactRelationshipOptionsResult {
1238
1238
  items: EffectArtifactRelationshipOption[];
1239
+ /** True when the returned page contains the complete eligible option set. */
1240
+ complete?: boolean;
1241
+ /** True when more eligible options exist beyond this response. */
1242
+ hasMore?: boolean;
1243
+ /** Number of eligible options for the current query when known. */
1244
+ totalCount?: number;
1245
+ /** Typed empty/loading outcome that the Artifact UI can explain locally. */
1246
+ status?: "ok" | "domain_empty" | "no_match" | "workspace_syncing" | "verification_failed" | "provider_unavailable";
1239
1247
  /**
1240
1248
  * Actionable explanation shown when no eligible record is available.
1241
1249
  * It must be customer-facing and must not expose internal policy machinery.
@@ -1717,6 +1725,11 @@ interface SessionArtifactRelationshipOptionsResult {
1717
1725
  supported: boolean;
1718
1726
  items: SessionArtifactRelationshipOption[];
1719
1727
  emptyMessage?: string | null;
1728
+ /** True when this response contains the complete eligible option set. */
1729
+ complete?: boolean;
1730
+ hasMore?: boolean;
1731
+ totalCount?: number | null;
1732
+ status?: "ok" | "domain_empty" | "no_match" | "workspace_syncing" | "verification_failed" | "provider_unavailable";
1720
1733
  }
1721
1734
  interface SessionArtifactRelationshipCreateInput {
1722
1735
  fieldName: string;
@@ -2545,6 +2558,8 @@ type ManifestStateTransitionInputBinding = null | string | number | boolean | Ma
2545
2558
  };
2546
2559
  interface ManifestStateTransitionActionSpec {
2547
2560
  effect: string;
2561
+ /** User-facing name of the connected system that performs the effect. */
2562
+ providerLabel?: string;
2548
2563
  input?: Record<string, ManifestStateTransitionInputBinding>;
2549
2564
  }
2550
2565
  interface ManifestStateTransitionAssigneeSpec {
package/dist/spend.d.mts CHANGED
@@ -1 +1 @@
1
- export { at as GranularSpendContext, au as OpenAIUsageSpendEvent, av as RecordOpenAIUsageSpendOptions, aw as RecordOpenAIUsageSpendResult, ay as buildOpenAISpendEventId, az as recordOpenAIUsageSpend, ax as toGranularHttpBase } from './spend-3DNM1u9N.mjs';
1
+ export { at as GranularSpendContext, au as OpenAIUsageSpendEvent, av as RecordOpenAIUsageSpendOptions, aw as RecordOpenAIUsageSpendResult, ay as buildOpenAISpendEventId, az as recordOpenAIUsageSpend, ax as toGranularHttpBase } from './spend-CNe-Ff6U.mjs';
package/dist/spend.d.ts CHANGED
@@ -1 +1 @@
1
- export { at as GranularSpendContext, au as OpenAIUsageSpendEvent, av as RecordOpenAIUsageSpendOptions, aw as RecordOpenAIUsageSpendResult, ay as buildOpenAISpendEventId, az as recordOpenAIUsageSpend, ax as toGranularHttpBase } from './spend-3DNM1u9N.js';
1
+ export { at as GranularSpendContext, au as OpenAIUsageSpendEvent, av as RecordOpenAIUsageSpendOptions, aw as RecordOpenAIUsageSpendResult, ay as buildOpenAISpendEventId, az as recordOpenAIUsageSpend, ax as toGranularHttpBase } from './spend-CNe-Ff6U.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@granular-software/sdk",
3
- "version": "0.4.59",
3
+ "version": "0.4.61",
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",