@granular-software/sdk 0.4.61 → 0.4.63

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.
@@ -647,7 +647,11 @@ interface User {
647
647
  name?: string;
648
648
  /** User's email */
649
649
  email?: string;
650
- /** Permission profile IDs to be assigned when connecting */
650
+ /**
651
+ * Exact permission profile names or IDs requested when opening an
652
+ * environment. Unknown references fail closed; only the explicit
653
+ * `allow-all` compatibility profile may be provisioned automatically.
654
+ */
651
655
  permissions: string[];
652
656
  }
653
657
  /**
@@ -660,7 +664,11 @@ interface RecordUserOptions {
660
664
  name?: string;
661
665
  /** User's email */
662
666
  email?: string;
663
- /** Permission profile IDs to assign when connecting to sandboxes */
667
+ /**
668
+ * Exact permission profile names or IDs to carry into environment opening.
669
+ * Custom profiles must already be provisioned with `granular build` or
670
+ * `granular deploy`.
671
+ */
664
672
  permissions?: string[];
665
673
  }
666
674
  /**
@@ -709,7 +717,11 @@ interface OpenEnvironmentOptions {
709
717
  /** Optional email used when upserting the user. */
710
718
  email?: string;
711
719
  /**
712
- * Permission profile names or IDs to ensure before opening the environment.
720
+ * Exact permission profile names or IDs to resolve before opening the
721
+ * environment. Unknown references are rejected before assignment writes.
722
+ * The reserved `allow-all` name is the only profile the SDK may provision
723
+ * automatically for backwards compatibility; custom, `confirm-all`, and
724
+ * `deny-all` profiles must already be synced.
713
725
  * Required at runtime when `assignmentMode` is omitted or set to `ensure`.
714
726
  * Ignored by `require-existing`, which never mutates authorization records.
715
727
  */
@@ -832,7 +844,8 @@ type ConversationSessionListStatus = ConversationSessionInfo["status"] | "all";
832
844
  *
833
845
  * At least one ownership filter (`environmentId`, `sandboxId`, or
834
846
  * `subjectId`) is required by the SDK. Results are newest-first and default to
835
- * 100 rows; use `offset` to request the next page.
847
+ * 100 rows; use the opaque `cursor` returned by the page response to request
848
+ * the next page.
836
849
  */
837
850
  interface ConversationSessionListOptions {
838
851
  environmentId?: string;
@@ -841,7 +854,11 @@ interface ConversationSessionListOptions {
841
854
  sessionScope?: string | null;
842
855
  status?: ConversationSessionListStatus;
843
856
  limit?: number;
844
- offset?: number;
857
+ cursor?: string;
858
+ }
859
+ interface ConversationSessionListResponse {
860
+ items: ConversationSessionInfo[];
861
+ nextCursor: string | null;
845
862
  }
846
863
  type SpendLineItemType = "llm_tokens" | "granular_session_time" | string;
847
864
  type QuotaScopeType = "tenant" | "sandbox" | "permission_profile" | "subject";
@@ -1065,6 +1082,7 @@ interface CreateEnvironmentData {
1065
1082
  */
1066
1083
  interface EnvironmentListResponse {
1067
1084
  items: EnvironmentData[];
1085
+ nextCursor: string | null;
1068
1086
  }
1069
1087
  /**
1070
1088
  * A manifest describes the structure and behavior of a sandbox
@@ -1083,6 +1101,7 @@ interface Manifest {
1083
1101
  */
1084
1102
  interface ManifestListResponse {
1085
1103
  items: Manifest[];
1104
+ nextCursor: string | null;
1086
1105
  }
1087
1106
  type BuildStatus = "queued" | "building" | "completed" | "failed" | "canceled";
1088
1107
  /**
@@ -2105,7 +2124,6 @@ interface UserEnvironmentStateOptions {
2105
2124
  sessionScope?: string | null;
2106
2125
  status?: "active" | "closed" | "expired" | "failed" | "timeout" | "all";
2107
2126
  limit?: number;
2108
- offset?: number;
2109
2127
  }
2110
2128
  interface MarkUserEnvironmentReadOptions {
2111
2129
  sessionId?: string;
@@ -2898,4 +2916,4 @@ declare function toGranularHttpBase(apiUrl: string): string;
2898
2916
  declare function buildOpenAISpendEventId(usage: Pick<OpenAIUsageSpendEvent, "requestId">, context?: GranularSpendContext): string | undefined;
2899
2917
  declare function recordOpenAIUsageSpend(options: RecordOpenAIUsageSpendOptions): Promise<RecordOpenAIUsageSpendResult>;
2900
2918
 
2901
- export { type FeedListTransport as $, type ArtifactFeedItem as A, type FileFeedItem as B, type ActionSuggestionFeedItem as C, type DomainState as D, type EndpointMode as E, type FeedPublishTransport as F, type PromptFeedItem as G, type TransientFeedItemBase as H, type InstanceToolHandler as I, type TransientMessageFeedItem as J, type TransientFeedbackFeedItem as K, type TransientFeedItem as L, type ManifestEffectMetamodelSpec as M, type NormalizedSuggestedArtifact as N, type ObjectsFeedItem as O, type Prompt as P, type FeedSnapshot as Q, type ResolvedEffectBehaviors as R, type SessionHeapEntry as S, type ToolWithHandler as T, type FeedListOptions as U, type FeedPage as V, type FeedSubscribeOptions as W, type FeedSubscriptionChange as X, type SessionFeedApi as Y, mergeFeedItemsBySequence as Z, orderTransientFeedItems as _, type EffectHandlerContext as a, type GranularQuotaProgress as a$, type FeedSnapshotRegressionReason as a0, type FeedDiagnostic as a1, type FeedDiagnosticListener as a2, GRANULAR_FEED_DIAGNOSTIC_EVENT as a3, normalizeFeedDiagnosticKind as a4, normalizeFeedDiagnostic as a5, emitFeedDiagnosticToDefaultSink as a6, emitFeedDiagnostic as a7, type SessionFeedControllerOptions as a8, type FeedDocumentState as a9, type PolicySource as aA, type PolicyPredicateSource as aB, type PolicyOperator as aC, type ConditionIR as aD, type PolicyOrigin as aE, type PolicyRuleIR as aF, type MatchedPolicy as aG, type AccessTokenProvider as aH, type GranularOptions as aI, type GranularAuth as aJ, type User as aK, type RecordUserOptions as aL, type Subject as aM, type OpenEnvironmentOptions as aN, type AdoptEnvironmentOptions as aO, type ConnectOptions as aP, type CreateSessionOptions as aQ, type ConversationSessionInfo as aR, type ConversationSessionListStatus as aS, type ConversationSessionListOptions as aT, type SpendLineItemType as aU, type QuotaScopeType as aV, type QuotaPeriod as aW, type QuotaStatus as aX, type SpendSummary as aY, type QuotaLineItemFilter as aZ, type GranularQuotaPolicy as a_, emptyFeedSnapshot as aa, hasCanonicalSessionFeedActivation as ab, isCanonicalSessionFeedDocument as ac, readSessionFeedSnapshot as ad, normalizeFeedPage as ae, SessionFeedController as af, type PublishFeedbackOptions as ag, type PublishTransientFeedbackOptions as ah, type SettleTransientFeedbackOptions as ai, type TransientFeedbackHandle as aj, type FeedPublisher as ak, createFeedPublisher as al, type OpenAIModelPricing as am, type NormalizedOpenAIUsage as an, type OpenAITokenSpend as ao, OPENAI_MODEL_PRICING_USD_PER_MILLION as ap, getOpenAIModelPricing as aq, normalizeOpenAIUsage as ar, calculateOpenAITokenSpend as as, type GranularSpendContext as at, type OpenAIUsageSpendEvent as au, type RecordOpenAIUsageSpendOptions as av, type RecordOpenAIUsageSpendResult as aw, toGranularHttpBase as ax, buildOpenAISpendEventId as ay, recordOpenAIUsageSpend as az, type SessionHeapList as b, type SessionFileStatus as b$, type Sandbox as b0, type CreateSandboxData as b1, type SandboxListResponse as b2, type PermissionRules as b3, type PermissionProfile as b4, type CreatePermissionProfileData as b5, type PermissionProfileListResponse as b6, type Assignment as b7, type AssignmentListResponse as b8, type BuildPolicy as b9, type EffectVersionSelector as bA, type ToolInfo as bB, type EffectInfo as bC, type ToolsChangedEvent as bD, type EffectsChangedEvent as bE, type EffectHandler as bF, type InstanceEffectHandler as bG, type JobStatus as bH, type JobFeedbackSentiment as bI, type JobFeedbackToolCall as bJ, type JobFeedbackMetadata as bK, type JobFeedbackInput as bL, type JobFeedbackRecord as bM, type EnvironmentFeedbackRecord as bN, type JobSubmitResult as bO, type Job as bP, type UserMessageShowRefs as bQ, type UserMessageTarget as bR, type UserMessageInput as bS, type UserMessageAppendResult as bT, type AssistantReplyPublicationInput as bU, type AssistantReplyPublicationResult as bV, type SessionTranscriptActionSuggestion as bW, type SessionTranscriptShowRefs as bX, type SessionTimelineEvent as bY, type SessionFileSource as bZ, type SessionFileKind as b_, type VersionTracking as ba, type VersionTag as bb, type EnvironmentData as bc, type CreateEnvironmentData as bd, type EnvironmentListResponse as be, type Manifest as bf, type ManifestListResponse as bg, type BuildStatus as bh, type Build as bi, type Version as bj, type BuildListResponse as bk, type SemanticVersionDiffEntry as bl, type SemanticVersionDiff as bm, type ResolvedEffectPostCondition as bn, type ResolvedEffectDryRun as bo, type ResolvedEffectReverse as bp, type ResolvedEffectApprovalRequired as bq, type EffectInvocationMode as br, type EffectArtifactOptionsInvocation as bs, type EffectInvocationMetadata as bt, type EffectArtifactRelationshipOption as bu, type EffectArtifactRelationshipOptionsResult as bv, type ArtifactOptionsHandler as bw, type EffectSchema as bx, type EffectWithHandler as by, type PublishEffectsResult as bz, type FeedItem as c, type EnvironmentStateUpdateInput as c$, type SessionFileRecord as c0, type SessionArtifactStatus as c1, type SessionArtifactKind as c2, type SessionArtifactAutonomyPolicy as c3, type SessionArtifactRecord as c4, type SessionArtifactListOptions as c5, type SessionArtifactValidationResult as c6, type SessionArtifactRelationshipOptionsInput as c7, type SessionArtifactRelationshipOption as c8, type SessionArtifactRelationshipOptionsResult as c9, type RecordMentionInput as cA, type SessionDocumentResult as cB, type SessionCollectionListOptions as cC, type SessionJobListOptions as cD, type SessionCollectionListResult as cE, type UserEnvironmentPrompt as cF, type UserEnvironmentMessagePreview as cG, type UserEnvironmentSessionState as cH, type UserEnvironmentState as cI, type UserEnvironmentStateOptions as cJ, type MarkUserEnvironmentReadOptions as cK, type WSDisconnectInfo as cL, type WSReconnectErrorInfo as cM, type WSClientOptions as cN, type RPCRequest as cO, type RPCResponse as cP, type SnapshotResetMessage as cQ, type RPCRequestFromServer as cR, type ToolInvokeParams as cS, type ToolResultParams as cT, type ModelRef as cU, type RelationshipInfo as cV, type DefineRelationshipOptions as cW, type RecordObjectOptions as cX, type RecordObjectStateValue as cY, type EnvironmentStateTarget as cZ, type EnvironmentStateObservationInput as c_, type SessionArtifactRelationshipCreateInput as ca, type SessionArtifactExecutionResult as cb, type SessionArtifactExecutionOptions as cc, type SessionArtifactApprovalOptions as cd, type ArtifactApprovalTaskStatus as ce, type ArtifactApprovalTask as cf, type ArtifactApprovalTaskListOptions as cg, type ArtifactApprovalDecisionInput as ch, type ArtifactApprovalDecisionResult as ci, type ManualActionStatus as cj, type ManualActionSource as ck, type ManualActionTarget as cl, type ManualActionRelatedRecord as cm, type RecordManualActionInput as cn, type ManualActionOccurrence as co, type ManualActionRecordResult as cp, type ManualActionListOptions as cq, type ManualActionSuggestion as cr, type ManualActionSuggestionOptions as cs, type SessionFileUploadOptions as ct, type SessionJobRecord as cu, type SessionHeapFieldType as cv, type SessionHeapFieldValue as cw, type SessionHeapVariable as cx, type RecordSearchResult as cy, type RecordSearchOptions as cz, type SessionHeapSnapshot as d, type EnvironmentStateMachineProxy as d0, type EnvironmentStateProxy as d1, type RecordObjectResult as d2, type RecordObjectsChunkInfo as d3, type RecordObjectsOptions as d4, type RecordImportWriteMode as d5, type RecordImportOptions as d6, type RecordImportStatus as d7, type RecordImportItemStatus as d8, type RecordImportStats as d9, type ManifestPostConditionSpec as dA, type ManifestDryRunSpec as dB, type ManifestReverseSpec as dC, type ManifestApprovalRequiredSpec as dD, type ManifestCreatesSpec as dE, type ManifestRelationshipDef as dF, type ManifestEffectSchema as dG, type ManifestEffectDeclaration as dH, type ManifestEventTypeDef as dI, type ManifestEventStreamDef as dJ, type ManifestOperation as dK, type ManifestImport as dL, type ManifestVolume as dM, type ManifestContent as dN, type GraphQLResult as dO, type APIError as dP, type DeleteResponse as dQ, type StreamEvent as dR, type StreamSubscription as dS, type StreamStats as dT, type RecordImportItem as da, type RecordImport as db, type EnvironmentRecordImportSummary as dc, type EnvironmentSetupTriggerReason as dd, type RunEnvironmentImporterOptions as de, type EnvironmentSetupLifecycleStatus as df, type EnvironmentSetupSummary as dg, type EnvironmentSetupImporterClaim as dh, type EnvironmentImporterImportOptions as di, type EnvironmentImporter as dj, type ManifestPropertySpec as dk, type ManifestValidationOperator as dl, type ManifestEnumRuleSpec as dm, type ManifestFilterBySpec as dn, type ManifestValidationRuleSpec as dp, type ManifestStateMachineStateSpec as dq, type ManifestStateTransitionInputBinding as dr, type ManifestStateTransitionActionSpec as ds, type ManifestStateTransitionAssigneeSpec as dt, type ManifestStateTransitionRelatedStateRequirementSpec as du, type ManifestStateTransitionRequirementsSpec as dv, type ManifestStateTransitionPermissionSpec as dw, type ManifestStateTransitionExpectedOutcomeSpec as dx, type ManifestStateMachineTransitionSpec as dy, type ManifestStateMachineSpec as dz, type SessionTranscriptEntry as e, type ToolSchema as f, type PublishToolsResult as g, type ToolHandler as h, type FeedSourceActor as i, type FeedSource as j, type FeedIconToken as k, type FeedFeedbackTone as l, type FeedTransientFeedbackTone as m, type FeedItemKind as n, type FeedTarget as o, type FeedItemBase as p, type MessageFeedItem as q, type FeedbackFeedItem as r, type FeedObjectReference as s, type FeedTableCell as t, type FeedTableColumn as u, type FeedTableRowReference as v, type FeedTableRow as w, type FeedTableProjection as x, type TableFeedItem as y, type FeedFileSource as z };
2919
+ export { type FeedListTransport as $, type ArtifactFeedItem as A, type FileFeedItem as B, type ActionSuggestionFeedItem as C, type DomainState as D, type EndpointMode as E, type FeedPublishTransport as F, type PromptFeedItem as G, type TransientFeedItemBase as H, type InstanceToolHandler as I, type TransientMessageFeedItem as J, type TransientFeedbackFeedItem as K, type TransientFeedItem as L, type ManifestEffectMetamodelSpec as M, type NormalizedSuggestedArtifact as N, type ObjectsFeedItem as O, type Prompt as P, type FeedSnapshot as Q, type ResolvedEffectBehaviors as R, type SessionHeapEntry as S, type ToolWithHandler as T, type FeedListOptions as U, type FeedPage as V, type FeedSubscribeOptions as W, type FeedSubscriptionChange as X, type SessionFeedApi as Y, mergeFeedItemsBySequence as Z, orderTransientFeedItems as _, type EffectHandlerContext as a, type GranularQuotaPolicy as a$, type FeedSnapshotRegressionReason as a0, type FeedDiagnostic as a1, type FeedDiagnosticListener as a2, GRANULAR_FEED_DIAGNOSTIC_EVENT as a3, normalizeFeedDiagnosticKind as a4, normalizeFeedDiagnostic as a5, emitFeedDiagnosticToDefaultSink as a6, emitFeedDiagnostic as a7, type SessionFeedControllerOptions as a8, type FeedDocumentState as a9, type PolicySource as aA, type PolicyPredicateSource as aB, type PolicyOperator as aC, type ConditionIR as aD, type PolicyOrigin as aE, type PolicyRuleIR as aF, type MatchedPolicy as aG, type AccessTokenProvider as aH, type GranularOptions as aI, type GranularAuth as aJ, type User as aK, type RecordUserOptions as aL, type Subject as aM, type OpenEnvironmentOptions as aN, type AdoptEnvironmentOptions as aO, type ConnectOptions as aP, type CreateSessionOptions as aQ, type ConversationSessionInfo as aR, type ConversationSessionListStatus as aS, type ConversationSessionListOptions as aT, type ConversationSessionListResponse as aU, type SpendLineItemType as aV, type QuotaScopeType as aW, type QuotaPeriod as aX, type QuotaStatus as aY, type SpendSummary as aZ, type QuotaLineItemFilter as a_, emptyFeedSnapshot as aa, hasCanonicalSessionFeedActivation as ab, isCanonicalSessionFeedDocument as ac, readSessionFeedSnapshot as ad, normalizeFeedPage as ae, SessionFeedController as af, type PublishFeedbackOptions as ag, type PublishTransientFeedbackOptions as ah, type SettleTransientFeedbackOptions as ai, type TransientFeedbackHandle as aj, type FeedPublisher as ak, createFeedPublisher as al, type OpenAIModelPricing as am, type NormalizedOpenAIUsage as an, type OpenAITokenSpend as ao, OPENAI_MODEL_PRICING_USD_PER_MILLION as ap, getOpenAIModelPricing as aq, normalizeOpenAIUsage as ar, calculateOpenAITokenSpend as as, type GranularSpendContext as at, type OpenAIUsageSpendEvent as au, type RecordOpenAIUsageSpendOptions as av, type RecordOpenAIUsageSpendResult as aw, toGranularHttpBase as ax, buildOpenAISpendEventId as ay, recordOpenAIUsageSpend as az, type SessionHeapList as b, type SessionFileKind as b$, type GranularQuotaProgress as b0, type Sandbox as b1, type CreateSandboxData as b2, type SandboxListResponse as b3, type PermissionRules as b4, type PermissionProfile as b5, type CreatePermissionProfileData as b6, type PermissionProfileListResponse as b7, type Assignment as b8, type AssignmentListResponse as b9, type PublishEffectsResult as bA, type EffectVersionSelector as bB, type ToolInfo as bC, type EffectInfo as bD, type ToolsChangedEvent as bE, type EffectsChangedEvent as bF, type EffectHandler as bG, type InstanceEffectHandler as bH, type JobStatus as bI, type JobFeedbackSentiment as bJ, type JobFeedbackToolCall as bK, type JobFeedbackMetadata as bL, type JobFeedbackInput as bM, type JobFeedbackRecord as bN, type EnvironmentFeedbackRecord as bO, type JobSubmitResult as bP, type Job as bQ, type UserMessageShowRefs as bR, type UserMessageTarget as bS, type UserMessageInput as bT, type UserMessageAppendResult as bU, type AssistantReplyPublicationInput as bV, type AssistantReplyPublicationResult as bW, type SessionTranscriptActionSuggestion as bX, type SessionTranscriptShowRefs as bY, type SessionTimelineEvent as bZ, type SessionFileSource as b_, type BuildPolicy as ba, type VersionTracking as bb, type VersionTag as bc, type EnvironmentData as bd, type CreateEnvironmentData as be, type EnvironmentListResponse as bf, type Manifest as bg, type ManifestListResponse as bh, type BuildStatus as bi, type Build as bj, type Version as bk, type BuildListResponse as bl, type SemanticVersionDiffEntry as bm, type SemanticVersionDiff as bn, type ResolvedEffectPostCondition as bo, type ResolvedEffectDryRun as bp, type ResolvedEffectReverse as bq, type ResolvedEffectApprovalRequired as br, type EffectInvocationMode as bs, type EffectArtifactOptionsInvocation as bt, type EffectInvocationMetadata as bu, type EffectArtifactRelationshipOption as bv, type EffectArtifactRelationshipOptionsResult as bw, type ArtifactOptionsHandler as bx, type EffectSchema as by, type EffectWithHandler as bz, type FeedItem as c, type EnvironmentStateObservationInput as c$, type SessionFileStatus as c0, type SessionFileRecord as c1, type SessionArtifactStatus as c2, type SessionArtifactKind as c3, type SessionArtifactAutonomyPolicy as c4, type SessionArtifactRecord as c5, type SessionArtifactListOptions as c6, type SessionArtifactValidationResult as c7, type SessionArtifactRelationshipOptionsInput as c8, type SessionArtifactRelationshipOption as c9, type RecordSearchOptions as cA, type RecordMentionInput as cB, type SessionDocumentResult as cC, type SessionCollectionListOptions as cD, type SessionJobListOptions as cE, type SessionCollectionListResult as cF, type UserEnvironmentPrompt as cG, type UserEnvironmentMessagePreview as cH, type UserEnvironmentSessionState as cI, type UserEnvironmentState as cJ, type UserEnvironmentStateOptions as cK, type MarkUserEnvironmentReadOptions as cL, type WSDisconnectInfo as cM, type WSReconnectErrorInfo as cN, type WSClientOptions as cO, type RPCRequest as cP, type RPCResponse as cQ, type SnapshotResetMessage as cR, type RPCRequestFromServer as cS, type ToolInvokeParams as cT, type ToolResultParams as cU, type ModelRef as cV, type RelationshipInfo as cW, type DefineRelationshipOptions as cX, type RecordObjectOptions as cY, type RecordObjectStateValue as cZ, type EnvironmentStateTarget as c_, type SessionArtifactRelationshipOptionsResult as ca, type SessionArtifactRelationshipCreateInput as cb, type SessionArtifactExecutionResult as cc, type SessionArtifactExecutionOptions as cd, type SessionArtifactApprovalOptions as ce, type ArtifactApprovalTaskStatus as cf, type ArtifactApprovalTask as cg, type ArtifactApprovalTaskListOptions as ch, type ArtifactApprovalDecisionInput as ci, type ArtifactApprovalDecisionResult as cj, type ManualActionStatus as ck, type ManualActionSource as cl, type ManualActionTarget as cm, type ManualActionRelatedRecord as cn, type RecordManualActionInput as co, type ManualActionOccurrence as cp, type ManualActionRecordResult as cq, type ManualActionListOptions as cr, type ManualActionSuggestion as cs, type ManualActionSuggestionOptions as ct, type SessionFileUploadOptions as cu, type SessionJobRecord as cv, type SessionHeapFieldType as cw, type SessionHeapFieldValue as cx, type SessionHeapVariable as cy, type RecordSearchResult as cz, type SessionHeapSnapshot as d, type EnvironmentStateUpdateInput as d0, type EnvironmentStateMachineProxy as d1, type EnvironmentStateProxy as d2, type RecordObjectResult as d3, type RecordObjectsChunkInfo as d4, type RecordObjectsOptions as d5, type RecordImportWriteMode as d6, type RecordImportOptions as d7, type RecordImportStatus as d8, type RecordImportItemStatus as d9, type ManifestStateMachineSpec as dA, type ManifestPostConditionSpec as dB, type ManifestDryRunSpec as dC, type ManifestReverseSpec as dD, type ManifestApprovalRequiredSpec as dE, type ManifestCreatesSpec as dF, type ManifestRelationshipDef as dG, type ManifestEffectSchema as dH, type ManifestEffectDeclaration as dI, type ManifestEventTypeDef as dJ, type ManifestEventStreamDef as dK, type ManifestOperation as dL, type ManifestImport as dM, type ManifestVolume as dN, type ManifestContent as dO, type GraphQLResult as dP, type APIError as dQ, type DeleteResponse as dR, type StreamEvent as dS, type StreamSubscription as dT, type StreamStats as dU, type RecordImportStats as da, type RecordImportItem as db, type RecordImport as dc, type EnvironmentRecordImportSummary as dd, type EnvironmentSetupTriggerReason as de, type RunEnvironmentImporterOptions as df, type EnvironmentSetupLifecycleStatus as dg, type EnvironmentSetupSummary as dh, type EnvironmentSetupImporterClaim as di, type EnvironmentImporterImportOptions as dj, type EnvironmentImporter as dk, type ManifestPropertySpec as dl, type ManifestValidationOperator as dm, type ManifestEnumRuleSpec as dn, type ManifestFilterBySpec as dp, type ManifestValidationRuleSpec as dq, type ManifestStateMachineStateSpec as dr, type ManifestStateTransitionInputBinding as ds, type ManifestStateTransitionActionSpec as dt, type ManifestStateTransitionAssigneeSpec as du, type ManifestStateTransitionRelatedStateRequirementSpec as dv, type ManifestStateTransitionRequirementsSpec as dw, type ManifestStateTransitionPermissionSpec as dx, type ManifestStateTransitionExpectedOutcomeSpec as dy, type ManifestStateMachineTransitionSpec as dz, type SessionTranscriptEntry as e, type ToolSchema as f, type PublishToolsResult as g, type ToolHandler as h, type FeedSourceActor as i, type FeedSource as j, type FeedIconToken as k, type FeedFeedbackTone as l, type FeedTransientFeedbackTone as m, type FeedItemKind as n, type FeedTarget as o, type FeedItemBase as p, type MessageFeedItem as q, type FeedbackFeedItem as r, type FeedObjectReference as s, type FeedTableCell as t, type FeedTableColumn as u, type FeedTableRowReference as v, type FeedTableRow as w, type FeedTableProjection as x, type TableFeedItem as y, type FeedFileSource as z };
@@ -647,7 +647,11 @@ interface User {
647
647
  name?: string;
648
648
  /** User's email */
649
649
  email?: string;
650
- /** Permission profile IDs to be assigned when connecting */
650
+ /**
651
+ * Exact permission profile names or IDs requested when opening an
652
+ * environment. Unknown references fail closed; only the explicit
653
+ * `allow-all` compatibility profile may be provisioned automatically.
654
+ */
651
655
  permissions: string[];
652
656
  }
653
657
  /**
@@ -660,7 +664,11 @@ interface RecordUserOptions {
660
664
  name?: string;
661
665
  /** User's email */
662
666
  email?: string;
663
- /** Permission profile IDs to assign when connecting to sandboxes */
667
+ /**
668
+ * Exact permission profile names or IDs to carry into environment opening.
669
+ * Custom profiles must already be provisioned with `granular build` or
670
+ * `granular deploy`.
671
+ */
664
672
  permissions?: string[];
665
673
  }
666
674
  /**
@@ -709,7 +717,11 @@ interface OpenEnvironmentOptions {
709
717
  /** Optional email used when upserting the user. */
710
718
  email?: string;
711
719
  /**
712
- * Permission profile names or IDs to ensure before opening the environment.
720
+ * Exact permission profile names or IDs to resolve before opening the
721
+ * environment. Unknown references are rejected before assignment writes.
722
+ * The reserved `allow-all` name is the only profile the SDK may provision
723
+ * automatically for backwards compatibility; custom, `confirm-all`, and
724
+ * `deny-all` profiles must already be synced.
713
725
  * Required at runtime when `assignmentMode` is omitted or set to `ensure`.
714
726
  * Ignored by `require-existing`, which never mutates authorization records.
715
727
  */
@@ -832,7 +844,8 @@ type ConversationSessionListStatus = ConversationSessionInfo["status"] | "all";
832
844
  *
833
845
  * At least one ownership filter (`environmentId`, `sandboxId`, or
834
846
  * `subjectId`) is required by the SDK. Results are newest-first and default to
835
- * 100 rows; use `offset` to request the next page.
847
+ * 100 rows; use the opaque `cursor` returned by the page response to request
848
+ * the next page.
836
849
  */
837
850
  interface ConversationSessionListOptions {
838
851
  environmentId?: string;
@@ -841,7 +854,11 @@ interface ConversationSessionListOptions {
841
854
  sessionScope?: string | null;
842
855
  status?: ConversationSessionListStatus;
843
856
  limit?: number;
844
- offset?: number;
857
+ cursor?: string;
858
+ }
859
+ interface ConversationSessionListResponse {
860
+ items: ConversationSessionInfo[];
861
+ nextCursor: string | null;
845
862
  }
846
863
  type SpendLineItemType = "llm_tokens" | "granular_session_time" | string;
847
864
  type QuotaScopeType = "tenant" | "sandbox" | "permission_profile" | "subject";
@@ -1065,6 +1082,7 @@ interface CreateEnvironmentData {
1065
1082
  */
1066
1083
  interface EnvironmentListResponse {
1067
1084
  items: EnvironmentData[];
1085
+ nextCursor: string | null;
1068
1086
  }
1069
1087
  /**
1070
1088
  * A manifest describes the structure and behavior of a sandbox
@@ -1083,6 +1101,7 @@ interface Manifest {
1083
1101
  */
1084
1102
  interface ManifestListResponse {
1085
1103
  items: Manifest[];
1104
+ nextCursor: string | null;
1086
1105
  }
1087
1106
  type BuildStatus = "queued" | "building" | "completed" | "failed" | "canceled";
1088
1107
  /**
@@ -2105,7 +2124,6 @@ interface UserEnvironmentStateOptions {
2105
2124
  sessionScope?: string | null;
2106
2125
  status?: "active" | "closed" | "expired" | "failed" | "timeout" | "all";
2107
2126
  limit?: number;
2108
- offset?: number;
2109
2127
  }
2110
2128
  interface MarkUserEnvironmentReadOptions {
2111
2129
  sessionId?: string;
@@ -2898,4 +2916,4 @@ declare function toGranularHttpBase(apiUrl: string): string;
2898
2916
  declare function buildOpenAISpendEventId(usage: Pick<OpenAIUsageSpendEvent, "requestId">, context?: GranularSpendContext): string | undefined;
2899
2917
  declare function recordOpenAIUsageSpend(options: RecordOpenAIUsageSpendOptions): Promise<RecordOpenAIUsageSpendResult>;
2900
2918
 
2901
- export { type FeedListTransport as $, type ArtifactFeedItem as A, type FileFeedItem as B, type ActionSuggestionFeedItem as C, type DomainState as D, type EndpointMode as E, type FeedPublishTransport as F, type PromptFeedItem as G, type TransientFeedItemBase as H, type InstanceToolHandler as I, type TransientMessageFeedItem as J, type TransientFeedbackFeedItem as K, type TransientFeedItem as L, type ManifestEffectMetamodelSpec as M, type NormalizedSuggestedArtifact as N, type ObjectsFeedItem as O, type Prompt as P, type FeedSnapshot as Q, type ResolvedEffectBehaviors as R, type SessionHeapEntry as S, type ToolWithHandler as T, type FeedListOptions as U, type FeedPage as V, type FeedSubscribeOptions as W, type FeedSubscriptionChange as X, type SessionFeedApi as Y, mergeFeedItemsBySequence as Z, orderTransientFeedItems as _, type EffectHandlerContext as a, type GranularQuotaProgress as a$, type FeedSnapshotRegressionReason as a0, type FeedDiagnostic as a1, type FeedDiagnosticListener as a2, GRANULAR_FEED_DIAGNOSTIC_EVENT as a3, normalizeFeedDiagnosticKind as a4, normalizeFeedDiagnostic as a5, emitFeedDiagnosticToDefaultSink as a6, emitFeedDiagnostic as a7, type SessionFeedControllerOptions as a8, type FeedDocumentState as a9, type PolicySource as aA, type PolicyPredicateSource as aB, type PolicyOperator as aC, type ConditionIR as aD, type PolicyOrigin as aE, type PolicyRuleIR as aF, type MatchedPolicy as aG, type AccessTokenProvider as aH, type GranularOptions as aI, type GranularAuth as aJ, type User as aK, type RecordUserOptions as aL, type Subject as aM, type OpenEnvironmentOptions as aN, type AdoptEnvironmentOptions as aO, type ConnectOptions as aP, type CreateSessionOptions as aQ, type ConversationSessionInfo as aR, type ConversationSessionListStatus as aS, type ConversationSessionListOptions as aT, type SpendLineItemType as aU, type QuotaScopeType as aV, type QuotaPeriod as aW, type QuotaStatus as aX, type SpendSummary as aY, type QuotaLineItemFilter as aZ, type GranularQuotaPolicy as a_, emptyFeedSnapshot as aa, hasCanonicalSessionFeedActivation as ab, isCanonicalSessionFeedDocument as ac, readSessionFeedSnapshot as ad, normalizeFeedPage as ae, SessionFeedController as af, type PublishFeedbackOptions as ag, type PublishTransientFeedbackOptions as ah, type SettleTransientFeedbackOptions as ai, type TransientFeedbackHandle as aj, type FeedPublisher as ak, createFeedPublisher as al, type OpenAIModelPricing as am, type NormalizedOpenAIUsage as an, type OpenAITokenSpend as ao, OPENAI_MODEL_PRICING_USD_PER_MILLION as ap, getOpenAIModelPricing as aq, normalizeOpenAIUsage as ar, calculateOpenAITokenSpend as as, type GranularSpendContext as at, type OpenAIUsageSpendEvent as au, type RecordOpenAIUsageSpendOptions as av, type RecordOpenAIUsageSpendResult as aw, toGranularHttpBase as ax, buildOpenAISpendEventId as ay, recordOpenAIUsageSpend as az, type SessionHeapList as b, type SessionFileStatus as b$, type Sandbox as b0, type CreateSandboxData as b1, type SandboxListResponse as b2, type PermissionRules as b3, type PermissionProfile as b4, type CreatePermissionProfileData as b5, type PermissionProfileListResponse as b6, type Assignment as b7, type AssignmentListResponse as b8, type BuildPolicy as b9, type EffectVersionSelector as bA, type ToolInfo as bB, type EffectInfo as bC, type ToolsChangedEvent as bD, type EffectsChangedEvent as bE, type EffectHandler as bF, type InstanceEffectHandler as bG, type JobStatus as bH, type JobFeedbackSentiment as bI, type JobFeedbackToolCall as bJ, type JobFeedbackMetadata as bK, type JobFeedbackInput as bL, type JobFeedbackRecord as bM, type EnvironmentFeedbackRecord as bN, type JobSubmitResult as bO, type Job as bP, type UserMessageShowRefs as bQ, type UserMessageTarget as bR, type UserMessageInput as bS, type UserMessageAppendResult as bT, type AssistantReplyPublicationInput as bU, type AssistantReplyPublicationResult as bV, type SessionTranscriptActionSuggestion as bW, type SessionTranscriptShowRefs as bX, type SessionTimelineEvent as bY, type SessionFileSource as bZ, type SessionFileKind as b_, type VersionTracking as ba, type VersionTag as bb, type EnvironmentData as bc, type CreateEnvironmentData as bd, type EnvironmentListResponse as be, type Manifest as bf, type ManifestListResponse as bg, type BuildStatus as bh, type Build as bi, type Version as bj, type BuildListResponse as bk, type SemanticVersionDiffEntry as bl, type SemanticVersionDiff as bm, type ResolvedEffectPostCondition as bn, type ResolvedEffectDryRun as bo, type ResolvedEffectReverse as bp, type ResolvedEffectApprovalRequired as bq, type EffectInvocationMode as br, type EffectArtifactOptionsInvocation as bs, type EffectInvocationMetadata as bt, type EffectArtifactRelationshipOption as bu, type EffectArtifactRelationshipOptionsResult as bv, type ArtifactOptionsHandler as bw, type EffectSchema as bx, type EffectWithHandler as by, type PublishEffectsResult as bz, type FeedItem as c, type EnvironmentStateUpdateInput as c$, type SessionFileRecord as c0, type SessionArtifactStatus as c1, type SessionArtifactKind as c2, type SessionArtifactAutonomyPolicy as c3, type SessionArtifactRecord as c4, type SessionArtifactListOptions as c5, type SessionArtifactValidationResult as c6, type SessionArtifactRelationshipOptionsInput as c7, type SessionArtifactRelationshipOption as c8, type SessionArtifactRelationshipOptionsResult as c9, type RecordMentionInput as cA, type SessionDocumentResult as cB, type SessionCollectionListOptions as cC, type SessionJobListOptions as cD, type SessionCollectionListResult as cE, type UserEnvironmentPrompt as cF, type UserEnvironmentMessagePreview as cG, type UserEnvironmentSessionState as cH, type UserEnvironmentState as cI, type UserEnvironmentStateOptions as cJ, type MarkUserEnvironmentReadOptions as cK, type WSDisconnectInfo as cL, type WSReconnectErrorInfo as cM, type WSClientOptions as cN, type RPCRequest as cO, type RPCResponse as cP, type SnapshotResetMessage as cQ, type RPCRequestFromServer as cR, type ToolInvokeParams as cS, type ToolResultParams as cT, type ModelRef as cU, type RelationshipInfo as cV, type DefineRelationshipOptions as cW, type RecordObjectOptions as cX, type RecordObjectStateValue as cY, type EnvironmentStateTarget as cZ, type EnvironmentStateObservationInput as c_, type SessionArtifactRelationshipCreateInput as ca, type SessionArtifactExecutionResult as cb, type SessionArtifactExecutionOptions as cc, type SessionArtifactApprovalOptions as cd, type ArtifactApprovalTaskStatus as ce, type ArtifactApprovalTask as cf, type ArtifactApprovalTaskListOptions as cg, type ArtifactApprovalDecisionInput as ch, type ArtifactApprovalDecisionResult as ci, type ManualActionStatus as cj, type ManualActionSource as ck, type ManualActionTarget as cl, type ManualActionRelatedRecord as cm, type RecordManualActionInput as cn, type ManualActionOccurrence as co, type ManualActionRecordResult as cp, type ManualActionListOptions as cq, type ManualActionSuggestion as cr, type ManualActionSuggestionOptions as cs, type SessionFileUploadOptions as ct, type SessionJobRecord as cu, type SessionHeapFieldType as cv, type SessionHeapFieldValue as cw, type SessionHeapVariable as cx, type RecordSearchResult as cy, type RecordSearchOptions as cz, type SessionHeapSnapshot as d, type EnvironmentStateMachineProxy as d0, type EnvironmentStateProxy as d1, type RecordObjectResult as d2, type RecordObjectsChunkInfo as d3, type RecordObjectsOptions as d4, type RecordImportWriteMode as d5, type RecordImportOptions as d6, type RecordImportStatus as d7, type RecordImportItemStatus as d8, type RecordImportStats as d9, type ManifestPostConditionSpec as dA, type ManifestDryRunSpec as dB, type ManifestReverseSpec as dC, type ManifestApprovalRequiredSpec as dD, type ManifestCreatesSpec as dE, type ManifestRelationshipDef as dF, type ManifestEffectSchema as dG, type ManifestEffectDeclaration as dH, type ManifestEventTypeDef as dI, type ManifestEventStreamDef as dJ, type ManifestOperation as dK, type ManifestImport as dL, type ManifestVolume as dM, type ManifestContent as dN, type GraphQLResult as dO, type APIError as dP, type DeleteResponse as dQ, type StreamEvent as dR, type StreamSubscription as dS, type StreamStats as dT, type RecordImportItem as da, type RecordImport as db, type EnvironmentRecordImportSummary as dc, type EnvironmentSetupTriggerReason as dd, type RunEnvironmentImporterOptions as de, type EnvironmentSetupLifecycleStatus as df, type EnvironmentSetupSummary as dg, type EnvironmentSetupImporterClaim as dh, type EnvironmentImporterImportOptions as di, type EnvironmentImporter as dj, type ManifestPropertySpec as dk, type ManifestValidationOperator as dl, type ManifestEnumRuleSpec as dm, type ManifestFilterBySpec as dn, type ManifestValidationRuleSpec as dp, type ManifestStateMachineStateSpec as dq, type ManifestStateTransitionInputBinding as dr, type ManifestStateTransitionActionSpec as ds, type ManifestStateTransitionAssigneeSpec as dt, type ManifestStateTransitionRelatedStateRequirementSpec as du, type ManifestStateTransitionRequirementsSpec as dv, type ManifestStateTransitionPermissionSpec as dw, type ManifestStateTransitionExpectedOutcomeSpec as dx, type ManifestStateMachineTransitionSpec as dy, type ManifestStateMachineSpec as dz, type SessionTranscriptEntry as e, type ToolSchema as f, type PublishToolsResult as g, type ToolHandler as h, type FeedSourceActor as i, type FeedSource as j, type FeedIconToken as k, type FeedFeedbackTone as l, type FeedTransientFeedbackTone as m, type FeedItemKind as n, type FeedTarget as o, type FeedItemBase as p, type MessageFeedItem as q, type FeedbackFeedItem as r, type FeedObjectReference as s, type FeedTableCell as t, type FeedTableColumn as u, type FeedTableRowReference as v, type FeedTableRow as w, type FeedTableProjection as x, type TableFeedItem as y, type FeedFileSource as z };
2919
+ export { type FeedListTransport as $, type ArtifactFeedItem as A, type FileFeedItem as B, type ActionSuggestionFeedItem as C, type DomainState as D, type EndpointMode as E, type FeedPublishTransport as F, type PromptFeedItem as G, type TransientFeedItemBase as H, type InstanceToolHandler as I, type TransientMessageFeedItem as J, type TransientFeedbackFeedItem as K, type TransientFeedItem as L, type ManifestEffectMetamodelSpec as M, type NormalizedSuggestedArtifact as N, type ObjectsFeedItem as O, type Prompt as P, type FeedSnapshot as Q, type ResolvedEffectBehaviors as R, type SessionHeapEntry as S, type ToolWithHandler as T, type FeedListOptions as U, type FeedPage as V, type FeedSubscribeOptions as W, type FeedSubscriptionChange as X, type SessionFeedApi as Y, mergeFeedItemsBySequence as Z, orderTransientFeedItems as _, type EffectHandlerContext as a, type GranularQuotaPolicy as a$, type FeedSnapshotRegressionReason as a0, type FeedDiagnostic as a1, type FeedDiagnosticListener as a2, GRANULAR_FEED_DIAGNOSTIC_EVENT as a3, normalizeFeedDiagnosticKind as a4, normalizeFeedDiagnostic as a5, emitFeedDiagnosticToDefaultSink as a6, emitFeedDiagnostic as a7, type SessionFeedControllerOptions as a8, type FeedDocumentState as a9, type PolicySource as aA, type PolicyPredicateSource as aB, type PolicyOperator as aC, type ConditionIR as aD, type PolicyOrigin as aE, type PolicyRuleIR as aF, type MatchedPolicy as aG, type AccessTokenProvider as aH, type GranularOptions as aI, type GranularAuth as aJ, type User as aK, type RecordUserOptions as aL, type Subject as aM, type OpenEnvironmentOptions as aN, type AdoptEnvironmentOptions as aO, type ConnectOptions as aP, type CreateSessionOptions as aQ, type ConversationSessionInfo as aR, type ConversationSessionListStatus as aS, type ConversationSessionListOptions as aT, type ConversationSessionListResponse as aU, type SpendLineItemType as aV, type QuotaScopeType as aW, type QuotaPeriod as aX, type QuotaStatus as aY, type SpendSummary as aZ, type QuotaLineItemFilter as a_, emptyFeedSnapshot as aa, hasCanonicalSessionFeedActivation as ab, isCanonicalSessionFeedDocument as ac, readSessionFeedSnapshot as ad, normalizeFeedPage as ae, SessionFeedController as af, type PublishFeedbackOptions as ag, type PublishTransientFeedbackOptions as ah, type SettleTransientFeedbackOptions as ai, type TransientFeedbackHandle as aj, type FeedPublisher as ak, createFeedPublisher as al, type OpenAIModelPricing as am, type NormalizedOpenAIUsage as an, type OpenAITokenSpend as ao, OPENAI_MODEL_PRICING_USD_PER_MILLION as ap, getOpenAIModelPricing as aq, normalizeOpenAIUsage as ar, calculateOpenAITokenSpend as as, type GranularSpendContext as at, type OpenAIUsageSpendEvent as au, type RecordOpenAIUsageSpendOptions as av, type RecordOpenAIUsageSpendResult as aw, toGranularHttpBase as ax, buildOpenAISpendEventId as ay, recordOpenAIUsageSpend as az, type SessionHeapList as b, type SessionFileKind as b$, type GranularQuotaProgress as b0, type Sandbox as b1, type CreateSandboxData as b2, type SandboxListResponse as b3, type PermissionRules as b4, type PermissionProfile as b5, type CreatePermissionProfileData as b6, type PermissionProfileListResponse as b7, type Assignment as b8, type AssignmentListResponse as b9, type PublishEffectsResult as bA, type EffectVersionSelector as bB, type ToolInfo as bC, type EffectInfo as bD, type ToolsChangedEvent as bE, type EffectsChangedEvent as bF, type EffectHandler as bG, type InstanceEffectHandler as bH, type JobStatus as bI, type JobFeedbackSentiment as bJ, type JobFeedbackToolCall as bK, type JobFeedbackMetadata as bL, type JobFeedbackInput as bM, type JobFeedbackRecord as bN, type EnvironmentFeedbackRecord as bO, type JobSubmitResult as bP, type Job as bQ, type UserMessageShowRefs as bR, type UserMessageTarget as bS, type UserMessageInput as bT, type UserMessageAppendResult as bU, type AssistantReplyPublicationInput as bV, type AssistantReplyPublicationResult as bW, type SessionTranscriptActionSuggestion as bX, type SessionTranscriptShowRefs as bY, type SessionTimelineEvent as bZ, type SessionFileSource as b_, type BuildPolicy as ba, type VersionTracking as bb, type VersionTag as bc, type EnvironmentData as bd, type CreateEnvironmentData as be, type EnvironmentListResponse as bf, type Manifest as bg, type ManifestListResponse as bh, type BuildStatus as bi, type Build as bj, type Version as bk, type BuildListResponse as bl, type SemanticVersionDiffEntry as bm, type SemanticVersionDiff as bn, type ResolvedEffectPostCondition as bo, type ResolvedEffectDryRun as bp, type ResolvedEffectReverse as bq, type ResolvedEffectApprovalRequired as br, type EffectInvocationMode as bs, type EffectArtifactOptionsInvocation as bt, type EffectInvocationMetadata as bu, type EffectArtifactRelationshipOption as bv, type EffectArtifactRelationshipOptionsResult as bw, type ArtifactOptionsHandler as bx, type EffectSchema as by, type EffectWithHandler as bz, type FeedItem as c, type EnvironmentStateObservationInput as c$, type SessionFileStatus as c0, type SessionFileRecord as c1, type SessionArtifactStatus as c2, type SessionArtifactKind as c3, type SessionArtifactAutonomyPolicy as c4, type SessionArtifactRecord as c5, type SessionArtifactListOptions as c6, type SessionArtifactValidationResult as c7, type SessionArtifactRelationshipOptionsInput as c8, type SessionArtifactRelationshipOption as c9, type RecordSearchOptions as cA, type RecordMentionInput as cB, type SessionDocumentResult as cC, type SessionCollectionListOptions as cD, type SessionJobListOptions as cE, type SessionCollectionListResult as cF, type UserEnvironmentPrompt as cG, type UserEnvironmentMessagePreview as cH, type UserEnvironmentSessionState as cI, type UserEnvironmentState as cJ, type UserEnvironmentStateOptions as cK, type MarkUserEnvironmentReadOptions as cL, type WSDisconnectInfo as cM, type WSReconnectErrorInfo as cN, type WSClientOptions as cO, type RPCRequest as cP, type RPCResponse as cQ, type SnapshotResetMessage as cR, type RPCRequestFromServer as cS, type ToolInvokeParams as cT, type ToolResultParams as cU, type ModelRef as cV, type RelationshipInfo as cW, type DefineRelationshipOptions as cX, type RecordObjectOptions as cY, type RecordObjectStateValue as cZ, type EnvironmentStateTarget as c_, type SessionArtifactRelationshipOptionsResult as ca, type SessionArtifactRelationshipCreateInput as cb, type SessionArtifactExecutionResult as cc, type SessionArtifactExecutionOptions as cd, type SessionArtifactApprovalOptions as ce, type ArtifactApprovalTaskStatus as cf, type ArtifactApprovalTask as cg, type ArtifactApprovalTaskListOptions as ch, type ArtifactApprovalDecisionInput as ci, type ArtifactApprovalDecisionResult as cj, type ManualActionStatus as ck, type ManualActionSource as cl, type ManualActionTarget as cm, type ManualActionRelatedRecord as cn, type RecordManualActionInput as co, type ManualActionOccurrence as cp, type ManualActionRecordResult as cq, type ManualActionListOptions as cr, type ManualActionSuggestion as cs, type ManualActionSuggestionOptions as ct, type SessionFileUploadOptions as cu, type SessionJobRecord as cv, type SessionHeapFieldType as cw, type SessionHeapFieldValue as cx, type SessionHeapVariable as cy, type RecordSearchResult as cz, type SessionHeapSnapshot as d, type EnvironmentStateUpdateInput as d0, type EnvironmentStateMachineProxy as d1, type EnvironmentStateProxy as d2, type RecordObjectResult as d3, type RecordObjectsChunkInfo as d4, type RecordObjectsOptions as d5, type RecordImportWriteMode as d6, type RecordImportOptions as d7, type RecordImportStatus as d8, type RecordImportItemStatus as d9, type ManifestStateMachineSpec as dA, type ManifestPostConditionSpec as dB, type ManifestDryRunSpec as dC, type ManifestReverseSpec as dD, type ManifestApprovalRequiredSpec as dE, type ManifestCreatesSpec as dF, type ManifestRelationshipDef as dG, type ManifestEffectSchema as dH, type ManifestEffectDeclaration as dI, type ManifestEventTypeDef as dJ, type ManifestEventStreamDef as dK, type ManifestOperation as dL, type ManifestImport as dM, type ManifestVolume as dN, type ManifestContent as dO, type GraphQLResult as dP, type APIError as dQ, type DeleteResponse as dR, type StreamEvent as dS, type StreamSubscription as dT, type StreamStats as dU, type RecordImportStats as da, type RecordImportItem as db, type RecordImport as dc, type EnvironmentRecordImportSummary as dd, type EnvironmentSetupTriggerReason as de, type RunEnvironmentImporterOptions as df, type EnvironmentSetupLifecycleStatus as dg, type EnvironmentSetupSummary as dh, type EnvironmentSetupImporterClaim as di, type EnvironmentImporterImportOptions as dj, type EnvironmentImporter as dk, type ManifestPropertySpec as dl, type ManifestValidationOperator as dm, type ManifestEnumRuleSpec as dn, type ManifestFilterBySpec as dp, type ManifestValidationRuleSpec as dq, type ManifestStateMachineStateSpec as dr, type ManifestStateTransitionInputBinding as ds, type ManifestStateTransitionActionSpec as dt, type ManifestStateTransitionAssigneeSpec as du, type ManifestStateTransitionRelatedStateRequirementSpec as dv, type ManifestStateTransitionRequirementsSpec as dw, type ManifestStateTransitionPermissionSpec as dx, type ManifestStateTransitionExpectedOutcomeSpec as dy, type ManifestStateMachineTransitionSpec as dz, type SessionTranscriptEntry as e, type ToolSchema as f, type PublishToolsResult as g, type ToolHandler as h, type FeedSourceActor as i, type FeedSource as j, type FeedIconToken as k, type FeedFeedbackTone as l, type FeedTransientFeedbackTone as m, type FeedItemKind as n, type FeedTarget as o, type FeedItemBase as p, type MessageFeedItem as q, type FeedbackFeedItem as r, type FeedObjectReference as s, type FeedTableCell as t, type FeedTableColumn as u, type FeedTableRowReference as v, type FeedTableRow as w, type FeedTableProjection as x, type TableFeedItem as y, type FeedFileSource as z };
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-CNe-Ff6U.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-DtsHRNb5.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-CNe-Ff6U.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-DtsHRNb5.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@granular-software/sdk",
3
- "version": "0.4.61",
3
+ "version": "0.4.63",
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",