@granular-software/sdk 0.4.32 → 0.4.33

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.
@@ -9,7 +9,7 @@ import { Doc } from '@automerge/automerge/slim';
9
9
  * Configuration for the Granular client
10
10
  */
11
11
  type AccessTokenProvider = () => Promise<string | null | undefined> | string | null | undefined;
12
- type EndpointMode = 'auto' | 'local' | 'production';
12
+ type EndpointMode = "auto" | "local" | "production";
13
13
  interface GranularOptions {
14
14
  /** Your Granular API key (for service/CLI auth; use with GRANULAR_API_KEY) */
15
15
  apiKey?: string;
@@ -168,7 +168,7 @@ interface ConversationSessionInfo {
168
168
  environmentId: string;
169
169
  versionId?: string | null;
170
170
  docId: string;
171
- status: 'active' | 'closed' | 'expired';
171
+ status: "active" | "closed" | "expired";
172
172
  createdAt: string;
173
173
  lastSeenAt: string;
174
174
  summary?: string | null;
@@ -276,7 +276,7 @@ interface AssignmentListResponse {
276
276
  * pin themselves to one immutable ontology version.
277
277
  */
278
278
  interface BuildPolicy {
279
- mode: 'tag' | 'current' | 'pinned';
279
+ mode: "tag" | "current" | "pinned";
280
280
  buildId?: string;
281
281
  versionId?: string;
282
282
  tagId?: string;
@@ -287,7 +287,7 @@ interface VersionTag {
287
287
  tagId: string;
288
288
  sandboxId: string;
289
289
  name: string;
290
- kind: 'channel' | 'release' | 'system';
290
+ kind: "channel" | "release" | "system";
291
291
  targetBuildId?: string | null;
292
292
  targetVersionId?: string | null;
293
293
  description?: string | null;
@@ -312,7 +312,7 @@ interface EnvironmentData {
312
312
  tag?: VersionTag | null;
313
313
  tracking?: BuildPolicy;
314
314
  buildPolicy: BuildPolicy;
315
- updateState?: 'up_to_date' | 'update_available' | 'upgrading' | 'failed';
315
+ updateState?: "up_to_date" | "update_available" | "upgrading" | "failed";
316
316
  createdAt: number;
317
317
  updatedAt: number;
318
318
  }
@@ -361,7 +361,7 @@ interface Manifest {
361
361
  interface ManifestListResponse {
362
362
  items: Manifest[];
363
363
  }
364
- type BuildStatus = 'queued' | 'building' | 'completed' | 'failed' | 'canceled';
364
+ type BuildStatus = "queued" | "building" | "completed" | "failed" | "canceled";
365
365
  /**
366
366
  * An immutable ontology version derived from a specific manifest revision.
367
367
  *
@@ -396,8 +396,8 @@ interface BuildListResponse {
396
396
  }
397
397
  interface SemanticVersionDiffEntry {
398
398
  operationId: string;
399
- kind: 'create' | 'update' | 'relationship' | 'effect' | 'eventStream' | 'unknown';
400
- changeType: 'added' | 'removed' | 'changed';
399
+ kind: "create" | "update" | "relationship" | "effect" | "eventStream" | "unknown";
400
+ changeType: "added" | "removed" | "changed";
401
401
  label: string;
402
402
  additive: boolean;
403
403
  breaking: boolean;
@@ -459,7 +459,7 @@ interface ResolvedEffectBehaviors {
459
459
  reverse?: ResolvedEffectReverse;
460
460
  approvalRequired?: ResolvedEffectApprovalRequired;
461
461
  }
462
- type EffectInvocationMode = 'execute' | 'dryRun' | 'reverse';
462
+ type EffectInvocationMode = "execute" | "dryRun" | "reverse";
463
463
  interface EffectInvocationMetadata {
464
464
  mode?: EffectInvocationMode;
465
465
  reverseHandler?: string;
@@ -516,9 +516,9 @@ interface ToolSchema {
516
516
  * ```
517
517
  */
518
518
  outputSchema?: Record<string, unknown>;
519
- stability?: 'stable' | 'experimental' | 'deprecated';
519
+ stability?: "stable" | "experimental" | "deprecated";
520
520
  provenance?: {
521
- source: 'mcp' | 'custom';
521
+ source: "mcp" | "custom";
522
522
  };
523
523
  tags?: string[];
524
524
  /**
@@ -625,8 +625,8 @@ interface EffectsChangedEvent extends ToolsChangedEvent {
625
625
  }
626
626
  type EffectHandler = ToolHandler;
627
627
  type InstanceEffectHandler = InstanceToolHandler;
628
- type JobStatus = 'queued' | 'running' | 'awaitingTool' | 'awaitingHuman' | 'succeeded' | 'failed' | 'timeout' | 'canceled';
629
- type JobFeedbackSentiment = 'good' | 'bad';
628
+ type JobStatus = "queued" | "running" | "awaitingTool" | "awaitingHuman" | "succeeded" | "failed" | "timeout" | "canceled";
629
+ type JobFeedbackSentiment = "good" | "bad";
630
630
  interface JobFeedbackToolCall {
631
631
  callId?: string;
632
632
  toolName?: string;
@@ -638,7 +638,7 @@ interface JobFeedbackToolCall {
638
638
  durationMs?: number | null;
639
639
  }
640
640
  interface JobFeedbackMetadata {
641
- source: 'sdk';
641
+ source: "sdk";
642
642
  status: JobStatus;
643
643
  code: string;
644
644
  domainRevision?: string;
@@ -706,7 +706,7 @@ interface Job {
706
706
  }
707
707
  interface Prompt {
708
708
  id: string;
709
- type: 'confirm' | 'choice' | 'input';
709
+ type: "confirm" | "choice" | "input";
710
710
  title: string;
711
711
  message: string;
712
712
  options?: Array<string | {
@@ -725,7 +725,7 @@ interface ConversationMessageShowRefs {
725
725
  variableNames?: string[];
726
726
  }
727
727
  interface ConversationMessageInput {
728
- role: 'user' | 'assistant';
728
+ role: "user" | "assistant";
729
729
  content?: string;
730
730
  show?: ConversationMessageShowRefs;
731
731
  jobId?: string;
@@ -739,9 +739,55 @@ interface ConversationAppendResult {
739
739
  jobId?: string;
740
740
  promptId?: string;
741
741
  }
742
+ interface SessionConversationMessage {
743
+ id: string;
744
+ role: "user" | "assistant";
745
+ content?: string;
746
+ show?: ConversationMessageShowRefs;
747
+ jobId?: string;
748
+ promptId?: string;
749
+ ts: number;
750
+ [key: string]: unknown;
751
+ }
752
+ interface SessionTimelineEvent {
753
+ id?: string;
754
+ eventId?: string;
755
+ kind?: string;
756
+ type?: string;
757
+ status?: string | null;
758
+ message?: string;
759
+ summary?: string;
760
+ title?: string;
761
+ ts?: number;
762
+ timestamp?: number;
763
+ at?: number;
764
+ createdAt?: number;
765
+ [key: string]: unknown;
766
+ }
767
+ interface SessionJobRecord {
768
+ jobId: string;
769
+ status: string;
770
+ code?: string;
771
+ createdAt?: number;
772
+ startedAt?: number;
773
+ completedAt?: number;
774
+ durationMs?: number | null;
775
+ progressPercent?: number | null;
776
+ progressMessage?: string | null;
777
+ stdout?: string[];
778
+ stderr?: string[];
779
+ result?: unknown;
780
+ error?: string | null;
781
+ toolCalls?: JobFeedbackToolCall[];
782
+ prompts?: Record<string, unknown>;
783
+ actionSummary?: string[];
784
+ actionTrace?: Array<Record<string, unknown>>;
785
+ agentMessages?: Array<Record<string, unknown>>;
786
+ [key: string]: unknown;
787
+ }
742
788
  interface SessionTranscriptEntry {
743
789
  id: string;
744
- role: 'user' | 'assistant';
790
+ role: "user" | "assistant";
745
791
  content: string;
746
792
  timestamp: number;
747
793
  jobId?: string;
@@ -752,9 +798,9 @@ interface SessionTranscriptEntry {
752
798
  error?: string;
753
799
  show?: ConversationMessageShowRefs;
754
800
  historyContent?: string;
755
- source: 'conversation' | 'job_code' | 'job_result' | 'job_prompt' | 'job_agent_message';
801
+ source: "conversation" | "job_code" | "job_result" | "job_prompt" | "job_agent_message";
756
802
  }
757
- type SessionHeapFieldType = 'string' | 'number' | 'boolean' | 'null' | 'unknown';
803
+ type SessionHeapFieldType = "string" | "number" | "boolean" | "null" | "unknown";
758
804
  interface SessionHeapFieldValue {
759
805
  name: string;
760
806
  type: SessionHeapFieldType;
@@ -782,7 +828,7 @@ interface SessionHeapList {
782
828
  }
783
829
  interface SessionHeapVariable {
784
830
  name: string;
785
- kind: 'entry' | 'list' | 'scalar';
831
+ kind: "entry" | "list" | "scalar";
786
832
  entryPath?: string;
787
833
  listName?: string;
788
834
  value?: string | number | boolean | null;
@@ -795,6 +841,23 @@ interface SessionHeapSnapshot {
795
841
  variablesByName: Record<string, SessionHeapVariable>;
796
842
  updatedAt: number;
797
843
  }
844
+ interface SessionDocumentResult {
845
+ sessionState: Record<string, unknown> | null;
846
+ document: Record<string, unknown> | null;
847
+ savedAt: number;
848
+ }
849
+ interface SessionCollectionListOptions {
850
+ limit?: number;
851
+ cursor?: string | null;
852
+ }
853
+ interface SessionJobListOptions extends SessionCollectionListOptions {
854
+ status?: string | null;
855
+ }
856
+ interface SessionCollectionListResult<T = unknown> {
857
+ items: T[];
858
+ nextCursor: string | null;
859
+ totalCount: number;
860
+ }
798
861
  interface WSDisconnectInfo {
799
862
  code?: number;
800
863
  reason?: string;
@@ -819,13 +882,13 @@ interface WSClientOptions {
819
882
  onReconnectError?: (info: WSReconnectErrorInfo) => void;
820
883
  }
821
884
  interface RPCRequest {
822
- type: 'rpc';
885
+ type: "rpc";
823
886
  method: string;
824
887
  params: unknown;
825
888
  id: string;
826
889
  }
827
890
  interface RPCResponse {
828
- type: 'rpc_result' | 'rpc_error';
891
+ type: "rpc_result" | "rpc_error";
829
892
  id: string;
830
893
  result?: unknown;
831
894
  error?: {
@@ -835,12 +898,12 @@ interface RPCResponse {
835
898
  };
836
899
  }
837
900
  interface SyncMessage {
838
- type: 'sync';
901
+ type: "sync";
839
902
  message?: string | number[] | Uint8Array;
840
903
  data?: number[];
841
904
  }
842
905
  interface RPCRequestFromServer {
843
- type: 'rpc';
906
+ type: "rpc";
844
907
  method: string;
845
908
  params: unknown;
846
909
  id: string;
@@ -884,7 +947,7 @@ interface RelationshipInfo {
884
947
  /** The foreign model type */
885
948
  foreign_model: ModelRef;
886
949
  /** Computed relationship kind: "one_to_one" | "one_to_many" | "many_to_one" | "many_to_many" */
887
- relationship_kind: 'one_to_one' | 'one_to_many' | 'many_to_one' | 'many_to_many';
950
+ relationship_kind: "one_to_one" | "one_to_many" | "many_to_one" | "many_to_many";
888
951
  }
889
952
  /**
890
953
  * Options for defining a relationship between two model types
@@ -983,8 +1046,8 @@ interface RecordObjectsOptions {
983
1046
  */
984
1047
  onChunkComplete?: (info: RecordObjectsChunkInfo) => void | Promise<void>;
985
1048
  }
986
- type RecordImportStatus = 'queued' | 'processing' | 'completed' | 'failed' | 'canceled';
987
- type RecordImportItemStatus = 'queued' | 'processing' | 'completed' | 'failed' | 'canceled';
1049
+ type RecordImportStatus = "queued" | "processing" | "completed" | "failed" | "canceled";
1050
+ type RecordImportItemStatus = "queued" | "processing" | "completed" | "failed" | "canceled";
988
1051
  interface RecordImportStats {
989
1052
  totalRecords: number;
990
1053
  queuedRecords: number;
@@ -1052,7 +1115,7 @@ interface ManifestPropertySpec {
1052
1115
  filterBy?: boolean | string[] | ManifestFilterBySpec;
1053
1116
  validate?: ManifestValidationRuleSpec[];
1054
1117
  }
1055
- type ManifestValidationOperator = 'eq' | 'neq' | 'gt' | 'gte' | 'lt' | 'lte' | 'true' | 'false' | 'regex' | 'contains' | 'not_contains' | 'starts_with' | 'ends_with';
1118
+ type ManifestValidationOperator = "eq" | "neq" | "gt" | "gte" | "lt" | "lte" | "true" | "false" | "regex" | "contains" | "not_contains" | "starts_with" | "ends_with";
1056
1119
  interface ManifestEnumRuleSpec {
1057
1120
  values: string[];
1058
1121
  message?: string;
@@ -1141,7 +1204,7 @@ interface ManifestEffectDeclaration {
1141
1204
  isStatic?: boolean;
1142
1205
  inputSchema: ManifestEffectSchema;
1143
1206
  outputSchema?: ManifestEffectSchema;
1144
- stability?: 'stable' | 'experimental' | 'deprecated';
1207
+ stability?: "stable" | "experimental" | "deprecated";
1145
1208
  tags?: string[];
1146
1209
  metamodels?: ManifestEffectMetamodelSpec;
1147
1210
  }
@@ -1202,7 +1265,7 @@ interface ManifestImport {
1202
1265
  }
1203
1266
  interface ManifestVolume {
1204
1267
  name: string;
1205
- scope: 'sandbox' | 'build' | 'user';
1268
+ scope: "sandbox" | "build" | "user";
1206
1269
  imports?: ManifestImport[];
1207
1270
  operations: ManifestOperation[];
1208
1271
  }
@@ -1245,7 +1308,7 @@ interface StreamEvent {
1245
1308
  environmentId: string;
1246
1309
  sessionId?: string;
1247
1310
  subjectId?: string;
1248
- source: 'sandbox' | 'api';
1311
+ source: "sandbox" | "api";
1249
1312
  isAcked: boolean;
1250
1313
  createdAt: number;
1251
1314
  }
@@ -1883,6 +1946,7 @@ declare class EnvironmentSession extends Session {
1883
1946
  get ontologyId(): string;
1884
1947
  get subjectId(): string;
1885
1948
  get envName(): string;
1949
+ get tag(): string | null;
1886
1950
  get versionId(): string;
1887
1951
  get granularId(): string;
1888
1952
  get permissionProfileId(): string;
@@ -1903,9 +1967,41 @@ declare class EnvironmentSession extends Session {
1903
1967
  list: () => Promise<EnvironmentFeedbackRecord[]>;
1904
1968
  };
1905
1969
  /**
1906
- * Return a plain JS snapshot of the synced session heap.
1970
+ * Return a plain JS copy of the synced session heap.
1907
1971
  */
1908
1972
  getHeap(): SessionHeapSnapshot;
1973
+ private sessionDataRequest;
1974
+ private collectAllSessionItems;
1975
+ /**
1976
+ * Fetch the live session document from the runtime DO.
1977
+ *
1978
+ * For history and saved artifacts, prefer the collection APIs on
1979
+ * `messages`, `timeline`, `jobs`, and `heap`.
1980
+ */
1981
+ getDocument(): Promise<SessionDocumentResult>;
1982
+ get messages(): {
1983
+ list: (options?: SessionCollectionListOptions) => Promise<SessionCollectionListResult<SessionConversationMessage>>;
1984
+ };
1985
+ get timeline(): {
1986
+ list: (options?: SessionCollectionListOptions) => Promise<SessionCollectionListResult<SessionTimelineEvent>>;
1987
+ };
1988
+ get jobs(): {
1989
+ list: (options?: SessionJobListOptions) => Promise<SessionCollectionListResult<SessionJobRecord>>;
1990
+ get: (jobId: string) => Promise<SessionJobRecord>;
1991
+ };
1992
+ get heap(): {
1993
+ entries: {
1994
+ list: (options?: SessionCollectionListOptions) => Promise<SessionCollectionListResult<SessionHeapEntry>>;
1995
+ get: (path: string) => Promise<SessionHeapEntry>;
1996
+ };
1997
+ lists: {
1998
+ list: (options?: SessionCollectionListOptions) => Promise<SessionCollectionListResult<SessionHeapList>>;
1999
+ get: (name: string) => Promise<SessionHeapList>;
2000
+ };
2001
+ };
2002
+ get transcript(): {
2003
+ list: (options?: SessionCollectionListOptions) => Promise<SessionCollectionListResult<SessionTranscriptEntry>>;
2004
+ };
1909
2005
  graphql<T = any>(query: string, variables?: Record<string, any>): Promise<GraphQLResult<T>>;
1910
2006
  defineRelationship(options: DefineRelationshipOptions): Promise<RelationshipInfo>;
1911
2007
  getRelationships(modelPath: string): Promise<RelationshipInfo[]>;
@@ -2230,4 +2326,4 @@ declare class Granular {
2230
2326
  private request;
2231
2327
  }
2232
2328
 
2233
- export { type SemanticVersionDiff as $, type AccessTokenProvider as A, type BuildPolicy as B, type ConnectOptions as C, type DomainState as D, type EndpointMode as E, type VersionTag as F, Granular as G, type EnvironmentData as H, type InstanceToolHandler as I, type CreateEnvironmentData as J, type EnvironmentListResponse as K, type Manifest as L, type ManifestEffectMetamodelSpec as M, type ManifestListResponse as N, OntologyHandle as O, type Prompt as P, type BuildStatus as Q, type ResolvedEffectBehaviors as R, type SessionHeapEntry as S, type ToolWithHandler as T, type User as U, type VersionTracking as V, WSClient as W, type Build as X, type Version as Y, type BuildListResponse as Z, type SemanticVersionDiffEntry as _, type EffectHandlerContext as a, type ManifestApprovalRequiredSpec as a$, type ResolvedEffectPostCondition as a0, type ResolvedEffectDryRun as a1, type ResolvedEffectReverse as a2, type ResolvedEffectApprovalRequired as a3, type EffectInvocationMode as a4, type EffectInvocationMetadata as a5, type EffectSchema as a6, type EffectWithHandler as a7, type PublishEffectsResult as a8, type ToolInfo as a9, type RPCRequestFromServer as aA, type ToolInvokeParams as aB, type ToolResultParams as aC, type ModelRef as aD, type RelationshipInfo as aE, type DefineRelationshipOptions as aF, type RecordObjectOptions as aG, type RecordObjectResult as aH, type RecordObjectsChunkInfo as aI, type RecordObjectsOptions as aJ, type RecordImportStatus as aK, type RecordImportItemStatus as aL, type RecordImportStats as aM, type RecordImportItem as aN, type RecordImport as aO, type EnvironmentRecordImportSummary as aP, type ManifestPropertySpec as aQ, type ManifestValidationOperator as aR, type ManifestEnumRuleSpec as aS, type ManifestFilterBySpec as aT, type ManifestValidationRuleSpec as aU, type ManifestStateMachineStateSpec as aV, type ManifestStateMachineTransitionSpec as aW, type ManifestStateMachineSpec as aX, type ManifestPostConditionSpec as aY, type ManifestDryRunSpec as aZ, type ManifestReverseSpec as a_, type EffectInfo as aa, type ToolsChangedEvent as ab, type EffectsChangedEvent as ac, type EffectHandler as ad, type InstanceEffectHandler as ae, type JobStatus as af, type JobFeedbackSentiment as ag, type JobFeedbackToolCall as ah, type JobFeedbackMetadata as ai, type JobFeedbackInput as aj, type JobFeedbackRecord as ak, type EnvironmentFeedbackRecord as al, type JobSubmitResult as am, type Job as an, type ConversationMessageShowRefs as ao, type ConversationMessageInput as ap, type ConversationAppendResult as aq, type SessionHeapFieldType as ar, type SessionHeapFieldValue as as, type SessionHeapVariable as at, type WSDisconnectInfo as au, type WSReconnectErrorInfo as av, type WSClientOptions as aw, type RPCRequest as ax, type RPCResponse as ay, type SyncMessage as az, type SessionHeapList as b, type ManifestRelationshipDef as b0, type ManifestEffectSchema as b1, type ManifestEffectDeclaration as b2, type ManifestEventTypeDef as b3, type ManifestEventStreamDef as b4, type ManifestOperation as b5, type ManifestImport as b6, type ManifestVolume as b7, type ManifestContent as b8, type GraphQLResult as b9, type APIError as ba, type DeleteResponse as bb, type StreamEvent as bc, type StreamSubscription as bd, type StreamStats as be, type SessionHeapSnapshot as c, type SessionTranscriptEntry as d, Environment as e, EnvironmentSession as f, Session as g, type ToolSchema as h, type PublishToolsResult as i, type ToolHandler as j, type GranularOptions as k, type GranularAuth as l, type RecordUserOptions as m, type Subject as n, type OpenEnvironmentOptions as o, type CreateSessionOptions as p, type ConversationSessionInfo as q, type Sandbox as r, type CreateSandboxData as s, type SandboxListResponse as t, type PermissionRules as u, type PermissionProfile as v, type CreatePermissionProfileData as w, type PermissionProfileListResponse as x, type Assignment as y, type AssignmentListResponse as z };
2329
+ export { type SemanticVersionDiff as $, type AccessTokenProvider as A, type BuildPolicy as B, type ConnectOptions as C, type DomainState as D, type EndpointMode as E, type VersionTag as F, Granular as G, type EnvironmentData as H, type InstanceToolHandler as I, type CreateEnvironmentData as J, type EnvironmentListResponse as K, type Manifest as L, type ManifestEffectMetamodelSpec as M, type ManifestListResponse as N, OntologyHandle as O, type Prompt as P, type BuildStatus as Q, type ResolvedEffectBehaviors as R, type SessionHeapEntry as S, type ToolWithHandler as T, type User as U, type VersionTracking as V, WSClient as W, type Build as X, type Version as Y, type BuildListResponse as Z, type SemanticVersionDiffEntry as _, type EffectHandlerContext as a, type ManifestValidationRuleSpec as a$, type ResolvedEffectPostCondition as a0, type ResolvedEffectDryRun as a1, type ResolvedEffectReverse as a2, type ResolvedEffectApprovalRequired as a3, type EffectInvocationMode as a4, type EffectInvocationMetadata as a5, type EffectSchema as a6, type EffectWithHandler as a7, type PublishEffectsResult as a8, type ToolInfo as a9, type SessionCollectionListResult as aA, type WSDisconnectInfo as aB, type WSReconnectErrorInfo as aC, type WSClientOptions as aD, type RPCRequest as aE, type RPCResponse as aF, type SyncMessage as aG, type RPCRequestFromServer as aH, type ToolInvokeParams as aI, type ToolResultParams as aJ, type ModelRef as aK, type RelationshipInfo as aL, type DefineRelationshipOptions as aM, type RecordObjectOptions as aN, type RecordObjectResult as aO, type RecordObjectsChunkInfo as aP, type RecordObjectsOptions as aQ, type RecordImportStatus as aR, type RecordImportItemStatus as aS, type RecordImportStats as aT, type RecordImportItem as aU, type RecordImport as aV, type EnvironmentRecordImportSummary as aW, type ManifestPropertySpec as aX, type ManifestValidationOperator as aY, type ManifestEnumRuleSpec as aZ, type ManifestFilterBySpec as a_, type EffectInfo as aa, type ToolsChangedEvent as ab, type EffectsChangedEvent as ac, type EffectHandler as ad, type InstanceEffectHandler as ae, type JobStatus as af, type JobFeedbackSentiment as ag, type JobFeedbackToolCall as ah, type JobFeedbackMetadata as ai, type JobFeedbackInput as aj, type JobFeedbackRecord as ak, type EnvironmentFeedbackRecord as al, type JobSubmitResult as am, type Job as an, type ConversationMessageShowRefs as ao, type ConversationMessageInput as ap, type ConversationAppendResult as aq, type SessionConversationMessage as ar, type SessionTimelineEvent as as, type SessionJobRecord as at, type SessionHeapFieldType as au, type SessionHeapFieldValue as av, type SessionHeapVariable as aw, type SessionDocumentResult as ax, type SessionCollectionListOptions as ay, type SessionJobListOptions as az, type SessionHeapList as b, type ManifestStateMachineStateSpec as b0, type ManifestStateMachineTransitionSpec as b1, type ManifestStateMachineSpec as b2, type ManifestPostConditionSpec as b3, type ManifestDryRunSpec as b4, type ManifestReverseSpec as b5, type ManifestApprovalRequiredSpec as b6, type ManifestRelationshipDef as b7, type ManifestEffectSchema as b8, type ManifestEffectDeclaration as b9, type ManifestEventTypeDef as ba, type ManifestEventStreamDef as bb, type ManifestOperation as bc, type ManifestImport as bd, type ManifestVolume as be, type ManifestContent as bf, type GraphQLResult as bg, type APIError as bh, type DeleteResponse as bi, type StreamEvent as bj, type StreamSubscription as bk, type StreamStats as bl, type SessionHeapSnapshot as c, type SessionTranscriptEntry as d, Environment as e, EnvironmentSession as f, Session as g, type ToolSchema as h, type PublishToolsResult as i, type ToolHandler as j, type GranularOptions as k, type GranularAuth as l, type RecordUserOptions as m, type Subject as n, type OpenEnvironmentOptions as o, type CreateSessionOptions as p, type ConversationSessionInfo as q, type Sandbox as r, type CreateSandboxData as s, type SandboxListResponse as t, type PermissionRules as u, type PermissionProfile as v, type CreatePermissionProfileData as w, type PermissionProfileListResponse as x, type Assignment as y, type AssignmentListResponse as z };