@granular-software/sdk 0.4.63 → 0.4.64

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.
@@ -1358,9 +1358,9 @@ interface ToolWithHandler extends ToolSchema {
1358
1358
  dryRunHandler?: ToolHandler | InstanceToolHandler;
1359
1359
  reverseHandler?: ToolHandler | InstanceToolHandler;
1360
1360
  /**
1361
- * Optional server-authoritative relationship option resolver for prepared
1362
- * artifacts. It is invoked on the original effect and is not published as a
1363
- * separate agent-visible tool.
1361
+ * Optional server-authoritative option resolver for prepared artifact
1362
+ * relationship and enum fields. It is invoked on the original effect and is
1363
+ * not published as a separate agent-visible tool.
1364
1364
  */
1365
1365
  artifactOptionsHandler?: ArtifactOptionsHandler;
1366
1366
  }
@@ -1748,6 +1748,10 @@ interface SessionArtifactRelationshipOptionsResult {
1748
1748
  complete?: boolean;
1749
1749
  hasMore?: boolean;
1750
1750
  totalCount?: number | null;
1751
+ timings?: {
1752
+ providerMs: number;
1753
+ verificationMs: number;
1754
+ };
1751
1755
  status?: "ok" | "domain_empty" | "no_match" | "workspace_syncing" | "verification_failed" | "provider_unavailable";
1752
1756
  }
1753
1757
  interface SessionArtifactRelationshipCreateInput {
@@ -2512,6 +2516,7 @@ interface EnvironmentImporter {
2512
2516
  * Property specification in a manifest operation
2513
2517
  */
2514
2518
  interface ManifestPropertySpec {
2519
+ label?: string;
2515
2520
  value?: string | number | boolean;
2516
2521
  ref?: string;
2517
2522
  instanceOf?: string;
@@ -2528,6 +2533,7 @@ interface ManifestPropertySpec {
2528
2533
  type ManifestValidationOperator = "eq" | "neq" | "gt" | "gte" | "lt" | "lte" | "true" | "false" | "regex" | "contains" | "not_contains" | "starts_with" | "ends_with";
2529
2534
  interface ManifestEnumRuleSpec {
2530
2535
  values: string[];
2536
+ labels?: string[];
2531
2537
  message?: string;
2532
2538
  }
2533
2539
  interface ManifestFilterBySpec {
@@ -2701,6 +2707,7 @@ interface ManifestEffectSchema {
2701
2707
  }
2702
2708
  interface ManifestEffectDeclaration {
2703
2709
  name: string;
2710
+ label?: string;
2704
2711
  description?: string;
2705
2712
  attachedClass?: string;
2706
2713
  isStatic?: boolean;
@@ -2732,6 +2739,8 @@ interface ManifestEventStreamDef {
2732
2739
  interface ManifestOperation {
2733
2740
  /** Create a new model/class */
2734
2741
  create?: string;
2742
+ /** Authored user-facing name stored on the graph model. */
2743
+ label?: string;
2735
2744
  /** Target an existing model for modification */
2736
2745
  on?: string;
2737
2746
  /** Extend from a parent class */
@@ -1358,9 +1358,9 @@ interface ToolWithHandler extends ToolSchema {
1358
1358
  dryRunHandler?: ToolHandler | InstanceToolHandler;
1359
1359
  reverseHandler?: ToolHandler | InstanceToolHandler;
1360
1360
  /**
1361
- * Optional server-authoritative relationship option resolver for prepared
1362
- * artifacts. It is invoked on the original effect and is not published as a
1363
- * separate agent-visible tool.
1361
+ * Optional server-authoritative option resolver for prepared artifact
1362
+ * relationship and enum fields. It is invoked on the original effect and is
1363
+ * not published as a separate agent-visible tool.
1364
1364
  */
1365
1365
  artifactOptionsHandler?: ArtifactOptionsHandler;
1366
1366
  }
@@ -1748,6 +1748,10 @@ interface SessionArtifactRelationshipOptionsResult {
1748
1748
  complete?: boolean;
1749
1749
  hasMore?: boolean;
1750
1750
  totalCount?: number | null;
1751
+ timings?: {
1752
+ providerMs: number;
1753
+ verificationMs: number;
1754
+ };
1751
1755
  status?: "ok" | "domain_empty" | "no_match" | "workspace_syncing" | "verification_failed" | "provider_unavailable";
1752
1756
  }
1753
1757
  interface SessionArtifactRelationshipCreateInput {
@@ -2512,6 +2516,7 @@ interface EnvironmentImporter {
2512
2516
  * Property specification in a manifest operation
2513
2517
  */
2514
2518
  interface ManifestPropertySpec {
2519
+ label?: string;
2515
2520
  value?: string | number | boolean;
2516
2521
  ref?: string;
2517
2522
  instanceOf?: string;
@@ -2528,6 +2533,7 @@ interface ManifestPropertySpec {
2528
2533
  type ManifestValidationOperator = "eq" | "neq" | "gt" | "gte" | "lt" | "lte" | "true" | "false" | "regex" | "contains" | "not_contains" | "starts_with" | "ends_with";
2529
2534
  interface ManifestEnumRuleSpec {
2530
2535
  values: string[];
2536
+ labels?: string[];
2531
2537
  message?: string;
2532
2538
  }
2533
2539
  interface ManifestFilterBySpec {
@@ -2701,6 +2707,7 @@ interface ManifestEffectSchema {
2701
2707
  }
2702
2708
  interface ManifestEffectDeclaration {
2703
2709
  name: string;
2710
+ label?: string;
2704
2711
  description?: string;
2705
2712
  attachedClass?: string;
2706
2713
  isStatic?: boolean;
@@ -2732,6 +2739,8 @@ interface ManifestEventStreamDef {
2732
2739
  interface ManifestOperation {
2733
2740
  /** Create a new model/class */
2734
2741
  create?: string;
2742
+ /** Authored user-facing name stored on the graph model. */
2743
+ label?: string;
2735
2744
  /** Target an existing model for modification */
2736
2745
  on?: string;
2737
2746
  /** Extend from a parent class */
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-DtsHRNb5.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-CDLmk-KW.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-DtsHRNb5.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-CDLmk-KW.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@granular-software/sdk",
3
- "version": "0.4.63",
3
+ "version": "0.4.64",
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",