@raisindb/client 0.1.37 → 0.1.54

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.
@@ -314,6 +314,7 @@ declare enum RequestType {
314
314
  NodeReorder = "node_reorder",
315
315
  NodeMoveChildBefore = "node_move_child_before",
316
316
  NodeMoveChildAfter = "node_move_child_after",
317
+ NodeApplyChildOrder = "node_apply_child_order",
317
318
  PropertyGet = "property_get",
318
319
  PropertyUpdate = "property_update",
319
320
  RelationAdd = "relation_add",
@@ -333,6 +334,7 @@ declare enum RequestType {
333
334
  BranchUpdateHead = "branch_update_head",
334
335
  BranchMerge = "branch_merge",
335
336
  BranchCompare = "branch_compare",
337
+ BranchDiff = "branch_diff",
336
338
  TagCreate = "tag_create",
337
339
  TagGet = "tag_get",
338
340
  TagList = "tag_list",
@@ -533,6 +535,17 @@ interface NodeCreatePayload {
533
535
  properties: Record<string, PropertyValue>;
534
536
  content?: unknown;
535
537
  }
538
+ /**
539
+ * Deep create/upsert payload. `path` is the full node path; missing ancestor
540
+ * folders are auto-created as `parent_node_type` (defaults to `raisin:Folder`).
541
+ */
542
+ interface NodeCreateDeepPayload {
543
+ node_type: string;
544
+ path: string;
545
+ properties: Record<string, PropertyValue>;
546
+ content?: unknown;
547
+ parent_node_type?: string;
548
+ }
536
549
  /**
537
550
  * Node update payload
538
551
  */
@@ -553,6 +566,59 @@ interface NodeDeletePayload {
553
566
  interface NodeGetPayload {
554
567
  node_id: string;
555
568
  }
569
+ /**
570
+ * Node history payload (git-style "file history").
571
+ * Identify the node by either `node_id` or `path`.
572
+ */
573
+ interface NodeHistoryPayload {
574
+ node_id?: string;
575
+ path?: string;
576
+ /** Maximum number of revisions to return (newest first). Unbounded if omitted. */
577
+ limit?: number;
578
+ }
579
+ /**
580
+ * A single entry in a node's revision history (newest first).
581
+ *
582
+ * Use `revision` with `atRevision(revision)` reads to fetch the full snapshot
583
+ * of that historical version.
584
+ */
585
+ interface RevisionEntry {
586
+ /** HLC revision string ("timestamp-counter"), usable with atRevision(). */
587
+ revision: string;
588
+ /** When this revision was written (ISO 8601 string). */
589
+ updated_at?: string;
590
+ /** User ID who authored this revision. */
591
+ updated_by?: string;
592
+ /** True when the node was deleted at this revision (tombstone). */
593
+ deleted: boolean;
594
+ }
595
+ /**
596
+ * Audit-log query payload. Identify the node by either `node_id` or `path`.
597
+ * Audit logs are only produced for NodeTypes marked `auditable`.
598
+ */
599
+ interface AuditQueryPayload {
600
+ node_id?: string;
601
+ path?: string;
602
+ }
603
+ /**
604
+ * A single audit-log entry for a node.
605
+ *
606
+ * Only produced for NodeTypes marked `auditable`. Distinct from a
607
+ * {@link RevisionEntry} (the always-on structural MVCC history).
608
+ */
609
+ interface AuditLogEntry {
610
+ id: string;
611
+ node_id: string;
612
+ path: string;
613
+ workspace: string;
614
+ /** User ID that performed the action (the node's `updated_by` at write time). */
615
+ user_id?: string;
616
+ /** Action performed, e.g. "Create" | "Update" | "Delete" | "Publish" | … */
617
+ action: string;
618
+ /** ISO 8601 timestamp. */
619
+ timestamp: string;
620
+ details?: string;
621
+ }
556
622
  /**
557
623
  * Node query payload
558
624
  */
@@ -956,6 +1022,13 @@ interface NodeCreateOptions {
956
1022
  /** Node content (optional) */
957
1023
  content?: unknown;
958
1024
  }
1025
+ /**
1026
+ * Options for creating/upserting a node with auto-created ancestor folders
1027
+ */
1028
+ interface NodeCreateDeepOptions extends NodeCreateOptions {
1029
+ /** NodeType used for auto-created ancestor folders (defaults to `raisin:Folder`) */
1030
+ parentNodeType?: string;
1031
+ }
959
1032
  /**
960
1033
  * Options for updating a node
961
1034
  */
@@ -990,6 +1063,20 @@ declare class NodeOperations {
990
1063
  * @returns Created node
991
1064
  */
992
1065
  create(options: NodeCreateOptions): Promise<Node>;
1066
+ /**
1067
+ * Create a node, auto-creating any missing ancestor folders.
1068
+ *
1069
+ * @param options - Node creation options (with optional `parentNodeType`)
1070
+ * @returns Created node
1071
+ */
1072
+ createDeep(options: NodeCreateDeepOptions): Promise<Node>;
1073
+ /**
1074
+ * Upsert a node by path (create-or-update), auto-creating any missing ancestor folders.
1075
+ *
1076
+ * @param options - Node creation options (with optional `parentNodeType`)
1077
+ * @returns Upserted node
1078
+ */
1079
+ upsertDeep(options: NodeCreateDeepOptions): Promise<Node>;
993
1080
  /**
994
1081
  * Update an existing node
995
1082
  *
@@ -1012,6 +1099,57 @@ declare class NodeOperations {
1012
1099
  * @returns Node or null if not found
1013
1100
  */
1014
1101
  get(id: string): Promise<Node | null>;
1102
+ /**
1103
+ * List a node's revision history (git-style "file history"), newest first.
1104
+ *
1105
+ * Each entry carries the `revision` (usable with `atRevision()` reads to
1106
+ * fetch the full snapshot), plus when/who and whether the node was deleted
1107
+ * at that revision. Always available regardless of the NodeType `auditable`
1108
+ * flag — it reflects the structural MVCC version history.
1109
+ *
1110
+ * @param id - Node ID
1111
+ * @param options - Optional `{ limit }` to cap the number of revisions
1112
+ * @returns Array of revision entries (newest first)
1113
+ *
1114
+ * @example
1115
+ * ```typescript
1116
+ * const history = await ws.nodes().history(nodeId, { limit: 50 });
1117
+ * for (const rev of history) {
1118
+ * const snapshot = await ws.atRevision(rev.revision).nodes().get(nodeId);
1119
+ * }
1120
+ * ```
1121
+ */
1122
+ history(id: string, options?: {
1123
+ limit?: number;
1124
+ }): Promise<RevisionEntry[]>;
1125
+ /**
1126
+ * List a node's revision history by path (newest first).
1127
+ *
1128
+ * @param path - Node path
1129
+ * @param options - Optional `{ limit }` to cap the number of revisions
1130
+ * @returns Array of revision entries (newest first)
1131
+ */
1132
+ historyByPath(path: string, options?: {
1133
+ limit?: number;
1134
+ }): Promise<RevisionEntry[]>;
1135
+ /**
1136
+ * Query a node's audit-log entries by ID.
1137
+ *
1138
+ * Audit logs are only produced for NodeTypes marked `auditable`. This is
1139
+ * distinct from {@link history}, which is the always-on structural revision
1140
+ * history available for every node.
1141
+ *
1142
+ * @param id - Node ID
1143
+ * @returns Array of audit-log entries
1144
+ */
1145
+ auditLog(id: string): Promise<AuditLogEntry[]>;
1146
+ /**
1147
+ * Query a node's audit-log entries by path.
1148
+ *
1149
+ * @param path - Node path
1150
+ * @returns Array of audit-log entries
1151
+ */
1152
+ auditLogByPath(path: string): Promise<AuditLogEntry[]>;
1015
1153
  /**
1016
1154
  * Query nodes
1017
1155
  *
@@ -1142,6 +1280,18 @@ declare class NodeOperations {
1142
1280
  * @returns Moved node
1143
1281
  */
1144
1282
  moveChildAfter(parentPath: string, childPath: string, referencePath: string): Promise<Node>;
1283
+ /**
1284
+ * Replay a parent's child order from another branch onto the current branch.
1285
+ *
1286
+ * Carries node sibling-order across branches — useful for selective publish
1287
+ * flows, where copying node content (e.g. via SQL) does not move the ordering
1288
+ * index. Only children that exist under the parent on both branches are
1289
+ * reordered. The target branch is the connection's current branch.
1290
+ *
1291
+ * @param parentPath - Parent node path
1292
+ * @param sourceBranch - Branch to copy the child order FROM
1293
+ */
1294
+ applyChildOrder(parentPath: string, sourceBranch: string): Promise<void>;
1145
1295
  /**
1146
1296
  * Add a relationship between two nodes
1147
1297
  *
@@ -3422,6 +3572,13 @@ declare class Branches {
3422
3572
  * Compare two branches to calculate divergence
3423
3573
  */
3424
3574
  compare(branch: string, baseBranch: string): Promise<unknown>;
3575
+ /**
3576
+ * Per-node diff of `branch` relative to `baseBranch` (added/modified/deleted).
3577
+ *
3578
+ * Cheaper than reading both branch listings: cost scales with the number of
3579
+ * changed nodes since the branches diverged, not the total content.
3580
+ */
3581
+ diff(branch: string, baseBranch: string): Promise<unknown>;
3425
3582
  }
3426
3583
 
3427
3584
  /**
@@ -6212,4 +6369,4 @@ declare class ConversationListStore {
6212
6369
  private notify;
6213
6370
  }
6214
6371
 
6215
- export { WorkspaceManager as $, AuthManager as A, type BatchUpload as B, ConnectionState as C, Database as D, type EventMessage as E, type FlowClientOptions as F, type AuthEvent as G, type HttpClientOptions as H, type IdentityUser as I, type AuthStateChange as J, type AuthStateChangeCallback as K, type UserChangeEvent as L, type UserChangeCallback as M, type Node as N, HttpDatabase as O, type PlanProjection as P, HttpWorkspaceClient as Q, RaisinClient as R, type SubscriptionFilters as S, type ToolCallInfo as T, UploadErrorCode as U, type CurrentUser$1 as V, type UserNode$1 as W, type SignAssetOptions as X, type SignedAssetUrl as Y, type DatabaseHttpOptions as Z, WorkspaceClient as _, type ConversationStoreSnapshot as a, type TransactionRollbackPayload as a$, type WorkspaceCreateOptions as a0, type WorkspaceUpdateOptions as a1, NodeOperations as a2, type NodeCreateOptions as a3, type NodeUpdateOptions as a4, type NodeQueryOptions as a5, Transaction as a6, type TransactionOptions as a7, NodeTypes as a8, Archetypes as a9, type IncomingRelation as aA, type NodeRelationships as aB, type NodeCreatePayload as aC, type NodeUpdatePayload as aD, type NodeDeletePayload as aE, type NodeGetPayload as aF, type NodeQueryPayload as aG, type RelationAddPayload as aH, type RelationRemovePayload as aI, type RelationsGetPayload as aJ, type SqlQueryPayload as aK, type SqlResult as aL, type Workspace as aM, type WorkspaceCreatePayload as aN, type WorkspaceGetPayload as aO, type WorkspaceDeletePayload as aP, type WorkspaceUpdatePayload as aQ, type SubscribePayload as aR, type UnsubscribePayload as aS, type SubscriptionResponse as aT, type AuthenticatePayload as aU, type AuthenticateResponse as aV, type RefreshTokenPayload as aW, type TransactionBeginPayload as aX, type TransactionBeginResponse as aY, type TransactionCommitPayload as aZ, type TransactionCommitResponse as a_, ElementTypes as aa, Branches as ab, Tags as ac, HttpNodeTypes as ad, HttpArchetypes as ae, HttpElementTypes as af, type SchemaCommit as ag, SqlQuery as ah, createSqlHandler as ai, EventHandler as aj, EventSubscriptions as ak, type EventCallback as al, type Subscription as am, Connection as an, type ConnectionOptions as ao, MemoryTokenStorage as ap, LocalStorageTokenStorage as aq, type TokenStorage as ar, type IdentityAuthResponse as as, type IdentityAuthError as at, type RequestEnvelope as au, type ResponseEnvelope as av, type NodeEventPayload as aw, type RequestContext as ax, type ErrorInfo as ay, type ResponseMetadata as az, type ChatMessage as b, type ThoughtChunkEvent as b$, RequestType as b0, ResponseStatus as b1, encodeMessage as b2, decodeMessage as b3, isEventMessage as b4, isResponseEnvelope as b5, ReconnectManager as b6, LogLevel as b7, logger as b8, configureLogger as b9, createFileSource as bA, getContentType as bB, calculateChunkCount as bC, getChunkRange as bD, Uploader as bE, UploadManager as bF, FlowClient as bG, type FlowRunResult as bH, type FlowCollectResult as bI, FunctionsApi as bJ, HttpFunctionsApi as bK, type FunctionInvokeOptions as bL, type FunctionInvokeResponse as bM, type FunctionInvokeSyncResponse as bN, type FlowRunResponse as bO, type FlowInstanceStatus as bP, type FlowInstanceStatusResponse as bQ, type StepStartedEvent as bR, type StepCompletedEvent as bS, type StepFailedEvent as bT, type FlowWaitingEvent as bU, type FlowResumedEvent as bV, type FlowCompletedEvent as bW, type FlowFailedEvent as bX, type TextChunkEvent as bY, type ToolCallStartedEvent as bZ, type ToolCallCompletedEvent as b_, setLogLevel as ba, getLogLevel as bb, getLoggerConfig as bc, type LoggerConfig as bd, type UploadStatus as be, type UploadOptions as bf, type UploadProgress as bg, type UploadResult as bh, type Upload as bi, type CreateUploadRequest as bj, type CreateUploadResponse as bk, type ChunkUploadResponse as bl, type UploadStatusResponse as bm, type CompleteUploadRequest as bn, type CompleteUploadResponse as bo, type BatchFileProgress as bp, UploadError as bq, DEFAULT_CHUNK_SIZE as br, DEFAULT_MAX_RETRIES as bs, DEFAULT_RETRY_BASE_DELAY as bt, DEFAULT_RETRY_MAX_DELAY as bu, DEFAULT_NODE_TYPE as bv, DEFAULT_BRANCH as bw, DEFAULT_BATCH_CONCURRENCY as bx, BrowserFileSource as by, NodeFileSource as bz, ConversationStore as c, type SendMessageOptions as c$, type ConversationCreatedEvent as c0, type MessageSavedEvent as c1, type LogEvent as c2, isTerminalEvent as c3, type RaisinReference as c4, type ContainerType as c5, type StepErrorBehavior as c6, type FlowErrorStrategy as c7, type RetryConfig as c8, type RetryStrategy as c9, type ListTasksOptions as cA, type ListTasksResponse as cB, type ChatEvent as cC, type Conversation as cD, type ConversationType as cE, type ConversationStatus as cF, type MessageBody as cG, type ChatTextChunkEvent as cH, type ChatAssistantMessageEvent as cI, type ChatWaitingEvent as cJ, type ChatCompletedEvent as cK, type ChatFailedEvent as cL, type ChatDoneEvent as cM, type ChatToolCallStartedEvent as cN, type ChatToolCallCompletedEvent as cO, type ChatThoughtChunkEvent as cP, type ToolCallRecord as cQ, type MessageChild as cR, type PlanTask as cS, type ChatConversationCreatedEvent as cT, type ChatMessageSavedEvent as cU, type ChatMessageDeliveredEvent as cV, type ChatLogEvent as cW, ConversationManager as cX, DEFAULT_SEND_MESSAGE_INACTIVITY_TIMEOUT_MS as cY, type ListConversationsOptions as cZ, type CreateConversationOptions as c_, type HumanTaskType as ca, type TaskOption as cb, type HandoffTarget as cc, type ChatTerminationMode as cd, type ChatTerminationConfig as ce, type ChatStepConfig as cf, type AiToolMode as cg, type AiErrorBehavior as ch, type AiContainerConfig as ci, type FlowDefinitionNodeBase as cj, type FlowStepProperties as ck, type FlowDefinitionStep as cl, type ContainerRule as cm, type FlowDefinitionContainer as cn, type FlowDefinitionNode as co, type FlowDefinition as cp, type InboxTask as cq, type InboxTaskStatus as cr, type TaskCompletionResult as cs, RETRY_STRATEGIES as ct, getRefDisplayName as cu, getRefPath as cv, isFlowDefinitionStep as cw, isFlowDefinitionContainer as cx, InboxApi as cy, type InboxApiOptions as cz, type ConversationListItem as d, type ConversationSubscription as d0, type PlanActionReceipt as d1, type PlanActionOptions as d2, type ConversationManagerOptions as d3, projectPlansFromMessages as d4, ConversationListStore as e, type ConversationStoreOptions as f, type ConversationListStoreOptions as g, type ConversationListSnapshot as h, FlowsApi as i, type FlowExecutionEvent as j, type PlanProjectionTask as k, type PropertyValue as l, type RelationRef as m, type ClientOptions as n, type Credentials as o, RaisinHttpClient as p, type RetryOptions as q, type UploaderConfig as r, type FileSource as s, type BatchUploadOptions as t, type BatchUploadResult as u, type BatchProgress as v, type ReconnectOptions as w, type ClientMode as x, type CurrentUser as y, type UserNode as z };
6372
+ export { WorkspaceManager as $, AuthManager as A, type BatchUpload as B, ConnectionState as C, Database as D, type EventMessage as E, type FlowClientOptions as F, type AuthEvent as G, type HttpClientOptions as H, type IdentityUser as I, type AuthStateChange as J, type AuthStateChangeCallback as K, type UserChangeEvent as L, type UserChangeCallback as M, type Node as N, HttpDatabase as O, type PlanProjection as P, HttpWorkspaceClient as Q, RaisinClient as R, type SubscriptionFilters as S, type ToolCallInfo as T, UploadErrorCode as U, type CurrentUser$1 as V, type UserNode$1 as W, type SignAssetOptions as X, type SignedAssetUrl as Y, type DatabaseHttpOptions as Z, WorkspaceClient as _, type ConversationStoreSnapshot as a, type AuthenticateResponse as a$, type WorkspaceCreateOptions as a0, type WorkspaceUpdateOptions as a1, NodeOperations as a2, type NodeCreateOptions as a3, type NodeCreateDeepOptions as a4, type NodeUpdateOptions as a5, type NodeQueryOptions as a6, Transaction as a7, type TransactionOptions as a8, NodeTypes as a9, type ResponseMetadata as aA, type IncomingRelation as aB, type NodeRelationships as aC, type NodeCreatePayload as aD, type NodeCreateDeepPayload as aE, type NodeUpdatePayload as aF, type NodeDeletePayload as aG, type NodeGetPayload as aH, type NodeHistoryPayload as aI, type RevisionEntry as aJ, type AuditQueryPayload as aK, type AuditLogEntry as aL, type NodeQueryPayload as aM, type RelationAddPayload as aN, type RelationRemovePayload as aO, type RelationsGetPayload as aP, type SqlQueryPayload as aQ, type SqlResult as aR, type Workspace as aS, type WorkspaceCreatePayload as aT, type WorkspaceGetPayload as aU, type WorkspaceDeletePayload as aV, type WorkspaceUpdatePayload as aW, type SubscribePayload as aX, type UnsubscribePayload as aY, type SubscriptionResponse as aZ, type AuthenticatePayload as a_, Archetypes as aa, ElementTypes as ab, Branches as ac, Tags as ad, HttpNodeTypes as ae, HttpArchetypes as af, HttpElementTypes as ag, type SchemaCommit as ah, SqlQuery as ai, createSqlHandler as aj, EventHandler as ak, EventSubscriptions as al, type EventCallback as am, type Subscription as an, Connection as ao, type ConnectionOptions as ap, MemoryTokenStorage as aq, LocalStorageTokenStorage as ar, type TokenStorage as as, type IdentityAuthResponse as at, type IdentityAuthError as au, type RequestEnvelope as av, type ResponseEnvelope as aw, type NodeEventPayload as ax, type RequestContext as ay, type ErrorInfo as az, type ChatMessage as b, type FlowResumedEvent as b$, type RefreshTokenPayload as b0, type TransactionBeginPayload as b1, type TransactionBeginResponse as b2, type TransactionCommitPayload as b3, type TransactionCommitResponse as b4, type TransactionRollbackPayload as b5, RequestType as b6, ResponseStatus as b7, encodeMessage as b8, decodeMessage as b9, DEFAULT_RETRY_MAX_DELAY as bA, DEFAULT_NODE_TYPE as bB, DEFAULT_BRANCH as bC, DEFAULT_BATCH_CONCURRENCY as bD, BrowserFileSource as bE, NodeFileSource as bF, createFileSource as bG, getContentType as bH, calculateChunkCount as bI, getChunkRange as bJ, Uploader as bK, UploadManager as bL, FlowClient as bM, type FlowRunResult as bN, type FlowCollectResult as bO, FunctionsApi as bP, HttpFunctionsApi as bQ, type FunctionInvokeOptions as bR, type FunctionInvokeResponse as bS, type FunctionInvokeSyncResponse as bT, type FlowRunResponse as bU, type FlowInstanceStatus as bV, type FlowInstanceStatusResponse as bW, type StepStartedEvent as bX, type StepCompletedEvent as bY, type StepFailedEvent as bZ, type FlowWaitingEvent as b_, isEventMessage as ba, isResponseEnvelope as bb, ReconnectManager as bc, LogLevel as bd, logger as be, configureLogger as bf, setLogLevel as bg, getLogLevel as bh, getLoggerConfig as bi, type LoggerConfig as bj, type UploadStatus as bk, type UploadOptions as bl, type UploadProgress as bm, type UploadResult as bn, type Upload as bo, type CreateUploadRequest as bp, type CreateUploadResponse as bq, type ChunkUploadResponse as br, type UploadStatusResponse as bs, type CompleteUploadRequest as bt, type CompleteUploadResponse as bu, type BatchFileProgress as bv, UploadError as bw, DEFAULT_CHUNK_SIZE as bx, DEFAULT_MAX_RETRIES as by, DEFAULT_RETRY_BASE_DELAY as bz, ConversationStore as c, type ChatMessageDeliveredEvent as c$, type FlowCompletedEvent as c0, type FlowFailedEvent as c1, type TextChunkEvent as c2, type ToolCallStartedEvent as c3, type ToolCallCompletedEvent as c4, type ThoughtChunkEvent as c5, type ConversationCreatedEvent as c6, type MessageSavedEvent as c7, type LogEvent as c8, isTerminalEvent as c9, getRefDisplayName as cA, getRefPath as cB, isFlowDefinitionStep as cC, isFlowDefinitionContainer as cD, InboxApi as cE, type InboxApiOptions as cF, type ListTasksOptions as cG, type ListTasksResponse as cH, type ChatEvent as cI, type Conversation as cJ, type ConversationType as cK, type ConversationStatus as cL, type MessageBody as cM, type ChatTextChunkEvent as cN, type ChatAssistantMessageEvent as cO, type ChatWaitingEvent as cP, type ChatCompletedEvent as cQ, type ChatFailedEvent as cR, type ChatDoneEvent as cS, type ChatToolCallStartedEvent as cT, type ChatToolCallCompletedEvent as cU, type ChatThoughtChunkEvent as cV, type ToolCallRecord as cW, type MessageChild as cX, type PlanTask as cY, type ChatConversationCreatedEvent as cZ, type ChatMessageSavedEvent as c_, type RaisinReference as ca, type ContainerType as cb, type StepErrorBehavior as cc, type FlowErrorStrategy as cd, type RetryConfig as ce, type RetryStrategy as cf, type HumanTaskType as cg, type TaskOption as ch, type HandoffTarget as ci, type ChatTerminationMode as cj, type ChatTerminationConfig as ck, type ChatStepConfig as cl, type AiToolMode as cm, type AiErrorBehavior as cn, type AiContainerConfig as co, type FlowDefinitionNodeBase as cp, type FlowStepProperties as cq, type FlowDefinitionStep as cr, type ContainerRule as cs, type FlowDefinitionContainer as ct, type FlowDefinitionNode as cu, type FlowDefinition as cv, type InboxTask as cw, type InboxTaskStatus as cx, type TaskCompletionResult as cy, RETRY_STRATEGIES as cz, type ConversationListItem as d, type ChatLogEvent as d0, ConversationManager as d1, DEFAULT_SEND_MESSAGE_INACTIVITY_TIMEOUT_MS as d2, type ListConversationsOptions as d3, type CreateConversationOptions as d4, type SendMessageOptions as d5, type ConversationSubscription as d6, type PlanActionReceipt as d7, type PlanActionOptions as d8, type ConversationManagerOptions as d9, projectPlansFromMessages as da, ConversationListStore as e, type ConversationStoreOptions as f, type ConversationListStoreOptions as g, type ConversationListSnapshot as h, FlowsApi as i, type FlowExecutionEvent as j, type PlanProjectionTask as k, type PropertyValue as l, type RelationRef as m, type ClientOptions as n, type Credentials as o, RaisinHttpClient as p, type RetryOptions as q, type UploaderConfig as r, type FileSource as s, type BatchUploadOptions as t, type BatchUploadResult as u, type BatchProgress as v, type ReconnectOptions as w, type ClientMode as x, type CurrentUser as y, type UserNode as z };
@@ -314,6 +314,7 @@ declare enum RequestType {
314
314
  NodeReorder = "node_reorder",
315
315
  NodeMoveChildBefore = "node_move_child_before",
316
316
  NodeMoveChildAfter = "node_move_child_after",
317
+ NodeApplyChildOrder = "node_apply_child_order",
317
318
  PropertyGet = "property_get",
318
319
  PropertyUpdate = "property_update",
319
320
  RelationAdd = "relation_add",
@@ -333,6 +334,7 @@ declare enum RequestType {
333
334
  BranchUpdateHead = "branch_update_head",
334
335
  BranchMerge = "branch_merge",
335
336
  BranchCompare = "branch_compare",
337
+ BranchDiff = "branch_diff",
336
338
  TagCreate = "tag_create",
337
339
  TagGet = "tag_get",
338
340
  TagList = "tag_list",
@@ -533,6 +535,17 @@ interface NodeCreatePayload {
533
535
  properties: Record<string, PropertyValue>;
534
536
  content?: unknown;
535
537
  }
538
+ /**
539
+ * Deep create/upsert payload. `path` is the full node path; missing ancestor
540
+ * folders are auto-created as `parent_node_type` (defaults to `raisin:Folder`).
541
+ */
542
+ interface NodeCreateDeepPayload {
543
+ node_type: string;
544
+ path: string;
545
+ properties: Record<string, PropertyValue>;
546
+ content?: unknown;
547
+ parent_node_type?: string;
548
+ }
536
549
  /**
537
550
  * Node update payload
538
551
  */
@@ -553,6 +566,59 @@ interface NodeDeletePayload {
553
566
  interface NodeGetPayload {
554
567
  node_id: string;
555
568
  }
569
+ /**
570
+ * Node history payload (git-style "file history").
571
+ * Identify the node by either `node_id` or `path`.
572
+ */
573
+ interface NodeHistoryPayload {
574
+ node_id?: string;
575
+ path?: string;
576
+ /** Maximum number of revisions to return (newest first). Unbounded if omitted. */
577
+ limit?: number;
578
+ }
579
+ /**
580
+ * A single entry in a node's revision history (newest first).
581
+ *
582
+ * Use `revision` with `atRevision(revision)` reads to fetch the full snapshot
583
+ * of that historical version.
584
+ */
585
+ interface RevisionEntry {
586
+ /** HLC revision string ("timestamp-counter"), usable with atRevision(). */
587
+ revision: string;
588
+ /** When this revision was written (ISO 8601 string). */
589
+ updated_at?: string;
590
+ /** User ID who authored this revision. */
591
+ updated_by?: string;
592
+ /** True when the node was deleted at this revision (tombstone). */
593
+ deleted: boolean;
594
+ }
595
+ /**
596
+ * Audit-log query payload. Identify the node by either `node_id` or `path`.
597
+ * Audit logs are only produced for NodeTypes marked `auditable`.
598
+ */
599
+ interface AuditQueryPayload {
600
+ node_id?: string;
601
+ path?: string;
602
+ }
603
+ /**
604
+ * A single audit-log entry for a node.
605
+ *
606
+ * Only produced for NodeTypes marked `auditable`. Distinct from a
607
+ * {@link RevisionEntry} (the always-on structural MVCC history).
608
+ */
609
+ interface AuditLogEntry {
610
+ id: string;
611
+ node_id: string;
612
+ path: string;
613
+ workspace: string;
614
+ /** User ID that performed the action (the node's `updated_by` at write time). */
615
+ user_id?: string;
616
+ /** Action performed, e.g. "Create" | "Update" | "Delete" | "Publish" | … */
617
+ action: string;
618
+ /** ISO 8601 timestamp. */
619
+ timestamp: string;
620
+ details?: string;
621
+ }
556
622
  /**
557
623
  * Node query payload
558
624
  */
@@ -956,6 +1022,13 @@ interface NodeCreateOptions {
956
1022
  /** Node content (optional) */
957
1023
  content?: unknown;
958
1024
  }
1025
+ /**
1026
+ * Options for creating/upserting a node with auto-created ancestor folders
1027
+ */
1028
+ interface NodeCreateDeepOptions extends NodeCreateOptions {
1029
+ /** NodeType used for auto-created ancestor folders (defaults to `raisin:Folder`) */
1030
+ parentNodeType?: string;
1031
+ }
959
1032
  /**
960
1033
  * Options for updating a node
961
1034
  */
@@ -990,6 +1063,20 @@ declare class NodeOperations {
990
1063
  * @returns Created node
991
1064
  */
992
1065
  create(options: NodeCreateOptions): Promise<Node>;
1066
+ /**
1067
+ * Create a node, auto-creating any missing ancestor folders.
1068
+ *
1069
+ * @param options - Node creation options (with optional `parentNodeType`)
1070
+ * @returns Created node
1071
+ */
1072
+ createDeep(options: NodeCreateDeepOptions): Promise<Node>;
1073
+ /**
1074
+ * Upsert a node by path (create-or-update), auto-creating any missing ancestor folders.
1075
+ *
1076
+ * @param options - Node creation options (with optional `parentNodeType`)
1077
+ * @returns Upserted node
1078
+ */
1079
+ upsertDeep(options: NodeCreateDeepOptions): Promise<Node>;
993
1080
  /**
994
1081
  * Update an existing node
995
1082
  *
@@ -1012,6 +1099,57 @@ declare class NodeOperations {
1012
1099
  * @returns Node or null if not found
1013
1100
  */
1014
1101
  get(id: string): Promise<Node | null>;
1102
+ /**
1103
+ * List a node's revision history (git-style "file history"), newest first.
1104
+ *
1105
+ * Each entry carries the `revision` (usable with `atRevision()` reads to
1106
+ * fetch the full snapshot), plus when/who and whether the node was deleted
1107
+ * at that revision. Always available regardless of the NodeType `auditable`
1108
+ * flag — it reflects the structural MVCC version history.
1109
+ *
1110
+ * @param id - Node ID
1111
+ * @param options - Optional `{ limit }` to cap the number of revisions
1112
+ * @returns Array of revision entries (newest first)
1113
+ *
1114
+ * @example
1115
+ * ```typescript
1116
+ * const history = await ws.nodes().history(nodeId, { limit: 50 });
1117
+ * for (const rev of history) {
1118
+ * const snapshot = await ws.atRevision(rev.revision).nodes().get(nodeId);
1119
+ * }
1120
+ * ```
1121
+ */
1122
+ history(id: string, options?: {
1123
+ limit?: number;
1124
+ }): Promise<RevisionEntry[]>;
1125
+ /**
1126
+ * List a node's revision history by path (newest first).
1127
+ *
1128
+ * @param path - Node path
1129
+ * @param options - Optional `{ limit }` to cap the number of revisions
1130
+ * @returns Array of revision entries (newest first)
1131
+ */
1132
+ historyByPath(path: string, options?: {
1133
+ limit?: number;
1134
+ }): Promise<RevisionEntry[]>;
1135
+ /**
1136
+ * Query a node's audit-log entries by ID.
1137
+ *
1138
+ * Audit logs are only produced for NodeTypes marked `auditable`. This is
1139
+ * distinct from {@link history}, which is the always-on structural revision
1140
+ * history available for every node.
1141
+ *
1142
+ * @param id - Node ID
1143
+ * @returns Array of audit-log entries
1144
+ */
1145
+ auditLog(id: string): Promise<AuditLogEntry[]>;
1146
+ /**
1147
+ * Query a node's audit-log entries by path.
1148
+ *
1149
+ * @param path - Node path
1150
+ * @returns Array of audit-log entries
1151
+ */
1152
+ auditLogByPath(path: string): Promise<AuditLogEntry[]>;
1015
1153
  /**
1016
1154
  * Query nodes
1017
1155
  *
@@ -1142,6 +1280,18 @@ declare class NodeOperations {
1142
1280
  * @returns Moved node
1143
1281
  */
1144
1282
  moveChildAfter(parentPath: string, childPath: string, referencePath: string): Promise<Node>;
1283
+ /**
1284
+ * Replay a parent's child order from another branch onto the current branch.
1285
+ *
1286
+ * Carries node sibling-order across branches — useful for selective publish
1287
+ * flows, where copying node content (e.g. via SQL) does not move the ordering
1288
+ * index. Only children that exist under the parent on both branches are
1289
+ * reordered. The target branch is the connection's current branch.
1290
+ *
1291
+ * @param parentPath - Parent node path
1292
+ * @param sourceBranch - Branch to copy the child order FROM
1293
+ */
1294
+ applyChildOrder(parentPath: string, sourceBranch: string): Promise<void>;
1145
1295
  /**
1146
1296
  * Add a relationship between two nodes
1147
1297
  *
@@ -3422,6 +3572,13 @@ declare class Branches {
3422
3572
  * Compare two branches to calculate divergence
3423
3573
  */
3424
3574
  compare(branch: string, baseBranch: string): Promise<unknown>;
3575
+ /**
3576
+ * Per-node diff of `branch` relative to `baseBranch` (added/modified/deleted).
3577
+ *
3578
+ * Cheaper than reading both branch listings: cost scales with the number of
3579
+ * changed nodes since the branches diverged, not the total content.
3580
+ */
3581
+ diff(branch: string, baseBranch: string): Promise<unknown>;
3425
3582
  }
3426
3583
 
3427
3584
  /**
@@ -6212,4 +6369,4 @@ declare class ConversationListStore {
6212
6369
  private notify;
6213
6370
  }
6214
6371
 
6215
- export { WorkspaceManager as $, AuthManager as A, type BatchUpload as B, ConnectionState as C, Database as D, type EventMessage as E, type FlowClientOptions as F, type AuthEvent as G, type HttpClientOptions as H, type IdentityUser as I, type AuthStateChange as J, type AuthStateChangeCallback as K, type UserChangeEvent as L, type UserChangeCallback as M, type Node as N, HttpDatabase as O, type PlanProjection as P, HttpWorkspaceClient as Q, RaisinClient as R, type SubscriptionFilters as S, type ToolCallInfo as T, UploadErrorCode as U, type CurrentUser$1 as V, type UserNode$1 as W, type SignAssetOptions as X, type SignedAssetUrl as Y, type DatabaseHttpOptions as Z, WorkspaceClient as _, type ConversationStoreSnapshot as a, type TransactionRollbackPayload as a$, type WorkspaceCreateOptions as a0, type WorkspaceUpdateOptions as a1, NodeOperations as a2, type NodeCreateOptions as a3, type NodeUpdateOptions as a4, type NodeQueryOptions as a5, Transaction as a6, type TransactionOptions as a7, NodeTypes as a8, Archetypes as a9, type IncomingRelation as aA, type NodeRelationships as aB, type NodeCreatePayload as aC, type NodeUpdatePayload as aD, type NodeDeletePayload as aE, type NodeGetPayload as aF, type NodeQueryPayload as aG, type RelationAddPayload as aH, type RelationRemovePayload as aI, type RelationsGetPayload as aJ, type SqlQueryPayload as aK, type SqlResult as aL, type Workspace as aM, type WorkspaceCreatePayload as aN, type WorkspaceGetPayload as aO, type WorkspaceDeletePayload as aP, type WorkspaceUpdatePayload as aQ, type SubscribePayload as aR, type UnsubscribePayload as aS, type SubscriptionResponse as aT, type AuthenticatePayload as aU, type AuthenticateResponse as aV, type RefreshTokenPayload as aW, type TransactionBeginPayload as aX, type TransactionBeginResponse as aY, type TransactionCommitPayload as aZ, type TransactionCommitResponse as a_, ElementTypes as aa, Branches as ab, Tags as ac, HttpNodeTypes as ad, HttpArchetypes as ae, HttpElementTypes as af, type SchemaCommit as ag, SqlQuery as ah, createSqlHandler as ai, EventHandler as aj, EventSubscriptions as ak, type EventCallback as al, type Subscription as am, Connection as an, type ConnectionOptions as ao, MemoryTokenStorage as ap, LocalStorageTokenStorage as aq, type TokenStorage as ar, type IdentityAuthResponse as as, type IdentityAuthError as at, type RequestEnvelope as au, type ResponseEnvelope as av, type NodeEventPayload as aw, type RequestContext as ax, type ErrorInfo as ay, type ResponseMetadata as az, type ChatMessage as b, type ThoughtChunkEvent as b$, RequestType as b0, ResponseStatus as b1, encodeMessage as b2, decodeMessage as b3, isEventMessage as b4, isResponseEnvelope as b5, ReconnectManager as b6, LogLevel as b7, logger as b8, configureLogger as b9, createFileSource as bA, getContentType as bB, calculateChunkCount as bC, getChunkRange as bD, Uploader as bE, UploadManager as bF, FlowClient as bG, type FlowRunResult as bH, type FlowCollectResult as bI, FunctionsApi as bJ, HttpFunctionsApi as bK, type FunctionInvokeOptions as bL, type FunctionInvokeResponse as bM, type FunctionInvokeSyncResponse as bN, type FlowRunResponse as bO, type FlowInstanceStatus as bP, type FlowInstanceStatusResponse as bQ, type StepStartedEvent as bR, type StepCompletedEvent as bS, type StepFailedEvent as bT, type FlowWaitingEvent as bU, type FlowResumedEvent as bV, type FlowCompletedEvent as bW, type FlowFailedEvent as bX, type TextChunkEvent as bY, type ToolCallStartedEvent as bZ, type ToolCallCompletedEvent as b_, setLogLevel as ba, getLogLevel as bb, getLoggerConfig as bc, type LoggerConfig as bd, type UploadStatus as be, type UploadOptions as bf, type UploadProgress as bg, type UploadResult as bh, type Upload as bi, type CreateUploadRequest as bj, type CreateUploadResponse as bk, type ChunkUploadResponse as bl, type UploadStatusResponse as bm, type CompleteUploadRequest as bn, type CompleteUploadResponse as bo, type BatchFileProgress as bp, UploadError as bq, DEFAULT_CHUNK_SIZE as br, DEFAULT_MAX_RETRIES as bs, DEFAULT_RETRY_BASE_DELAY as bt, DEFAULT_RETRY_MAX_DELAY as bu, DEFAULT_NODE_TYPE as bv, DEFAULT_BRANCH as bw, DEFAULT_BATCH_CONCURRENCY as bx, BrowserFileSource as by, NodeFileSource as bz, ConversationStore as c, type SendMessageOptions as c$, type ConversationCreatedEvent as c0, type MessageSavedEvent as c1, type LogEvent as c2, isTerminalEvent as c3, type RaisinReference as c4, type ContainerType as c5, type StepErrorBehavior as c6, type FlowErrorStrategy as c7, type RetryConfig as c8, type RetryStrategy as c9, type ListTasksOptions as cA, type ListTasksResponse as cB, type ChatEvent as cC, type Conversation as cD, type ConversationType as cE, type ConversationStatus as cF, type MessageBody as cG, type ChatTextChunkEvent as cH, type ChatAssistantMessageEvent as cI, type ChatWaitingEvent as cJ, type ChatCompletedEvent as cK, type ChatFailedEvent as cL, type ChatDoneEvent as cM, type ChatToolCallStartedEvent as cN, type ChatToolCallCompletedEvent as cO, type ChatThoughtChunkEvent as cP, type ToolCallRecord as cQ, type MessageChild as cR, type PlanTask as cS, type ChatConversationCreatedEvent as cT, type ChatMessageSavedEvent as cU, type ChatMessageDeliveredEvent as cV, type ChatLogEvent as cW, ConversationManager as cX, DEFAULT_SEND_MESSAGE_INACTIVITY_TIMEOUT_MS as cY, type ListConversationsOptions as cZ, type CreateConversationOptions as c_, type HumanTaskType as ca, type TaskOption as cb, type HandoffTarget as cc, type ChatTerminationMode as cd, type ChatTerminationConfig as ce, type ChatStepConfig as cf, type AiToolMode as cg, type AiErrorBehavior as ch, type AiContainerConfig as ci, type FlowDefinitionNodeBase as cj, type FlowStepProperties as ck, type FlowDefinitionStep as cl, type ContainerRule as cm, type FlowDefinitionContainer as cn, type FlowDefinitionNode as co, type FlowDefinition as cp, type InboxTask as cq, type InboxTaskStatus as cr, type TaskCompletionResult as cs, RETRY_STRATEGIES as ct, getRefDisplayName as cu, getRefPath as cv, isFlowDefinitionStep as cw, isFlowDefinitionContainer as cx, InboxApi as cy, type InboxApiOptions as cz, type ConversationListItem as d, type ConversationSubscription as d0, type PlanActionReceipt as d1, type PlanActionOptions as d2, type ConversationManagerOptions as d3, projectPlansFromMessages as d4, ConversationListStore as e, type ConversationStoreOptions as f, type ConversationListStoreOptions as g, type ConversationListSnapshot as h, FlowsApi as i, type FlowExecutionEvent as j, type PlanProjectionTask as k, type PropertyValue as l, type RelationRef as m, type ClientOptions as n, type Credentials as o, RaisinHttpClient as p, type RetryOptions as q, type UploaderConfig as r, type FileSource as s, type BatchUploadOptions as t, type BatchUploadResult as u, type BatchProgress as v, type ReconnectOptions as w, type ClientMode as x, type CurrentUser as y, type UserNode as z };
6372
+ export { WorkspaceManager as $, AuthManager as A, type BatchUpload as B, ConnectionState as C, Database as D, type EventMessage as E, type FlowClientOptions as F, type AuthEvent as G, type HttpClientOptions as H, type IdentityUser as I, type AuthStateChange as J, type AuthStateChangeCallback as K, type UserChangeEvent as L, type UserChangeCallback as M, type Node as N, HttpDatabase as O, type PlanProjection as P, HttpWorkspaceClient as Q, RaisinClient as R, type SubscriptionFilters as S, type ToolCallInfo as T, UploadErrorCode as U, type CurrentUser$1 as V, type UserNode$1 as W, type SignAssetOptions as X, type SignedAssetUrl as Y, type DatabaseHttpOptions as Z, WorkspaceClient as _, type ConversationStoreSnapshot as a, type AuthenticateResponse as a$, type WorkspaceCreateOptions as a0, type WorkspaceUpdateOptions as a1, NodeOperations as a2, type NodeCreateOptions as a3, type NodeCreateDeepOptions as a4, type NodeUpdateOptions as a5, type NodeQueryOptions as a6, Transaction as a7, type TransactionOptions as a8, NodeTypes as a9, type ResponseMetadata as aA, type IncomingRelation as aB, type NodeRelationships as aC, type NodeCreatePayload as aD, type NodeCreateDeepPayload as aE, type NodeUpdatePayload as aF, type NodeDeletePayload as aG, type NodeGetPayload as aH, type NodeHistoryPayload as aI, type RevisionEntry as aJ, type AuditQueryPayload as aK, type AuditLogEntry as aL, type NodeQueryPayload as aM, type RelationAddPayload as aN, type RelationRemovePayload as aO, type RelationsGetPayload as aP, type SqlQueryPayload as aQ, type SqlResult as aR, type Workspace as aS, type WorkspaceCreatePayload as aT, type WorkspaceGetPayload as aU, type WorkspaceDeletePayload as aV, type WorkspaceUpdatePayload as aW, type SubscribePayload as aX, type UnsubscribePayload as aY, type SubscriptionResponse as aZ, type AuthenticatePayload as a_, Archetypes as aa, ElementTypes as ab, Branches as ac, Tags as ad, HttpNodeTypes as ae, HttpArchetypes as af, HttpElementTypes as ag, type SchemaCommit as ah, SqlQuery as ai, createSqlHandler as aj, EventHandler as ak, EventSubscriptions as al, type EventCallback as am, type Subscription as an, Connection as ao, type ConnectionOptions as ap, MemoryTokenStorage as aq, LocalStorageTokenStorage as ar, type TokenStorage as as, type IdentityAuthResponse as at, type IdentityAuthError as au, type RequestEnvelope as av, type ResponseEnvelope as aw, type NodeEventPayload as ax, type RequestContext as ay, type ErrorInfo as az, type ChatMessage as b, type FlowResumedEvent as b$, type RefreshTokenPayload as b0, type TransactionBeginPayload as b1, type TransactionBeginResponse as b2, type TransactionCommitPayload as b3, type TransactionCommitResponse as b4, type TransactionRollbackPayload as b5, RequestType as b6, ResponseStatus as b7, encodeMessage as b8, decodeMessage as b9, DEFAULT_RETRY_MAX_DELAY as bA, DEFAULT_NODE_TYPE as bB, DEFAULT_BRANCH as bC, DEFAULT_BATCH_CONCURRENCY as bD, BrowserFileSource as bE, NodeFileSource as bF, createFileSource as bG, getContentType as bH, calculateChunkCount as bI, getChunkRange as bJ, Uploader as bK, UploadManager as bL, FlowClient as bM, type FlowRunResult as bN, type FlowCollectResult as bO, FunctionsApi as bP, HttpFunctionsApi as bQ, type FunctionInvokeOptions as bR, type FunctionInvokeResponse as bS, type FunctionInvokeSyncResponse as bT, type FlowRunResponse as bU, type FlowInstanceStatus as bV, type FlowInstanceStatusResponse as bW, type StepStartedEvent as bX, type StepCompletedEvent as bY, type StepFailedEvent as bZ, type FlowWaitingEvent as b_, isEventMessage as ba, isResponseEnvelope as bb, ReconnectManager as bc, LogLevel as bd, logger as be, configureLogger as bf, setLogLevel as bg, getLogLevel as bh, getLoggerConfig as bi, type LoggerConfig as bj, type UploadStatus as bk, type UploadOptions as bl, type UploadProgress as bm, type UploadResult as bn, type Upload as bo, type CreateUploadRequest as bp, type CreateUploadResponse as bq, type ChunkUploadResponse as br, type UploadStatusResponse as bs, type CompleteUploadRequest as bt, type CompleteUploadResponse as bu, type BatchFileProgress as bv, UploadError as bw, DEFAULT_CHUNK_SIZE as bx, DEFAULT_MAX_RETRIES as by, DEFAULT_RETRY_BASE_DELAY as bz, ConversationStore as c, type ChatMessageDeliveredEvent as c$, type FlowCompletedEvent as c0, type FlowFailedEvent as c1, type TextChunkEvent as c2, type ToolCallStartedEvent as c3, type ToolCallCompletedEvent as c4, type ThoughtChunkEvent as c5, type ConversationCreatedEvent as c6, type MessageSavedEvent as c7, type LogEvent as c8, isTerminalEvent as c9, getRefDisplayName as cA, getRefPath as cB, isFlowDefinitionStep as cC, isFlowDefinitionContainer as cD, InboxApi as cE, type InboxApiOptions as cF, type ListTasksOptions as cG, type ListTasksResponse as cH, type ChatEvent as cI, type Conversation as cJ, type ConversationType as cK, type ConversationStatus as cL, type MessageBody as cM, type ChatTextChunkEvent as cN, type ChatAssistantMessageEvent as cO, type ChatWaitingEvent as cP, type ChatCompletedEvent as cQ, type ChatFailedEvent as cR, type ChatDoneEvent as cS, type ChatToolCallStartedEvent as cT, type ChatToolCallCompletedEvent as cU, type ChatThoughtChunkEvent as cV, type ToolCallRecord as cW, type MessageChild as cX, type PlanTask as cY, type ChatConversationCreatedEvent as cZ, type ChatMessageSavedEvent as c_, type RaisinReference as ca, type ContainerType as cb, type StepErrorBehavior as cc, type FlowErrorStrategy as cd, type RetryConfig as ce, type RetryStrategy as cf, type HumanTaskType as cg, type TaskOption as ch, type HandoffTarget as ci, type ChatTerminationMode as cj, type ChatTerminationConfig as ck, type ChatStepConfig as cl, type AiToolMode as cm, type AiErrorBehavior as cn, type AiContainerConfig as co, type FlowDefinitionNodeBase as cp, type FlowStepProperties as cq, type FlowDefinitionStep as cr, type ContainerRule as cs, type FlowDefinitionContainer as ct, type FlowDefinitionNode as cu, type FlowDefinition as cv, type InboxTask as cw, type InboxTaskStatus as cx, type TaskCompletionResult as cy, RETRY_STRATEGIES as cz, type ConversationListItem as d, type ChatLogEvent as d0, ConversationManager as d1, DEFAULT_SEND_MESSAGE_INACTIVITY_TIMEOUT_MS as d2, type ListConversationsOptions as d3, type CreateConversationOptions as d4, type SendMessageOptions as d5, type ConversationSubscription as d6, type PlanActionReceipt as d7, type PlanActionOptions as d8, type ConversationManagerOptions as d9, projectPlansFromMessages as da, ConversationListStore as e, type ConversationStoreOptions as f, type ConversationListStoreOptions as g, type ConversationListSnapshot as h, FlowsApi as i, type FlowExecutionEvent as j, type PlanProjectionTask as k, type PropertyValue as l, type RelationRef as m, type ClientOptions as n, type Credentials as o, RaisinHttpClient as p, type RetryOptions as q, type UploaderConfig as r, type FileSource as s, type BatchUploadOptions as t, type BatchUploadResult as u, type BatchProgress as v, type ReconnectOptions as w, type ClientMode as x, type CurrentUser as y, type UserNode as z };
@@ -1,4 +1,4 @@
1
- import { f as ConversationStoreOptions, a as ConversationStoreSnapshot, b as ChatMessage, g as ConversationListStoreOptions, h as ConversationListSnapshot, d as ConversationListItem, R as RaisinClient, I as IdentityUser, C as ConnectionState, S as SubscriptionFilters, D as Database, A as AuthManager, F as FlowClientOptions, i as FlowsApi, j as FlowExecutionEvent, E as EventMessage } from './conversation-list-store-BLvjPi59.js';
1
+ import { f as ConversationStoreOptions, a as ConversationStoreSnapshot, b as ChatMessage, g as ConversationListStoreOptions, h as ConversationListSnapshot, d as ConversationListItem, R as RaisinClient, I as IdentityUser, C as ConnectionState, S as SubscriptionFilters, D as Database, A as AuthManager, F as FlowClientOptions, i as FlowsApi, j as FlowExecutionEvent, E as EventMessage } from './conversation-list-store-CrmmmVKE.js';
2
2
 
3
3
  /**
4
4
  * React adapters for the RaisinDB conversation stores.
@@ -1,4 +1,4 @@
1
- import { f as ConversationStoreOptions, a as ConversationStoreSnapshot, b as ChatMessage, g as ConversationListStoreOptions, h as ConversationListSnapshot, d as ConversationListItem, R as RaisinClient, I as IdentityUser, C as ConnectionState, S as SubscriptionFilters, D as Database, A as AuthManager, F as FlowClientOptions, i as FlowsApi, j as FlowExecutionEvent, E as EventMessage } from './conversation-list-store-BLvjPi59.mjs';
1
+ import { f as ConversationStoreOptions, a as ConversationStoreSnapshot, b as ChatMessage, g as ConversationListStoreOptions, h as ConversationListSnapshot, d as ConversationListItem, R as RaisinClient, I as IdentityUser, C as ConnectionState, S as SubscriptionFilters, D as Database, A as AuthManager, F as FlowClientOptions, i as FlowsApi, j as FlowExecutionEvent, E as EventMessage } from './conversation-list-store-CrmmmVKE.mjs';
2
2
 
3
3
  /**
4
4
  * React adapters for the RaisinDB conversation stores.
package/dist/index.d.mts CHANGED
@@ -1,8 +1,8 @@
1
- import { l as PropertyValue, m as RelationRef, N as Node, H as HttpClientOptions, n as ClientOptions, o as Credentials, p as RaisinHttpClient, R as RaisinClient, q as RetryOptions, U as UploadErrorCode, B as BatchUpload, r as UploaderConfig, s as FileSource, t as BatchUploadOptions, u as BatchUploadResult, v as BatchProgress, w as ReconnectOptions } from './conversation-list-store-BLvjPi59.mjs';
2
- export { ci as AiContainerConfig, ch as AiErrorBehavior, cg as AiToolMode, a9 as Archetypes, G as AuthEvent, A as AuthManager, J as AuthStateChange, K as AuthStateChangeCallback, aU as AuthenticatePayload, aV as AuthenticateResponse, bp as BatchFileProgress, ab as Branches, by as BrowserFileSource, cI as ChatAssistantMessageEvent, cK as ChatCompletedEvent, cT as ChatConversationCreatedEvent, cM as ChatDoneEvent, cC as ChatEvent, cL as ChatFailedEvent, cW as ChatLogEvent, b as ChatMessage, cV as ChatMessageDeliveredEvent, cU as ChatMessageSavedEvent, cf as ChatStepConfig, ce as ChatTerminationConfig, cd as ChatTerminationMode, cH as ChatTextChunkEvent, cP as ChatThoughtChunkEvent, cO as ChatToolCallCompletedEvent, cN as ChatToolCallStartedEvent, cJ as ChatWaitingEvent, bl as ChunkUploadResponse, x as ClientMode, bn as CompleteUploadRequest, bo as CompleteUploadResponse, an as Connection, ao as ConnectionOptions, C as ConnectionState, cm as ContainerRule, c5 as ContainerType, cD as Conversation, c0 as ConversationCreatedEvent, d as ConversationListItem, h as ConversationListSnapshot, e as ConversationListStore, g as ConversationListStoreOptions, cX as ConversationManager, d3 as ConversationManagerOptions, cF as ConversationStatus, c as ConversationStore, f as ConversationStoreOptions, a as ConversationStoreSnapshot, d0 as ConversationSubscription, cE as ConversationType, c_ as CreateConvoOptions, bj as CreateUploadRequest, bk as CreateUploadResponse, y as CurrentUser, bx as DEFAULT_BATCH_CONCURRENCY, bw as DEFAULT_BRANCH, br as DEFAULT_CHUNK_SIZE, bs as DEFAULT_MAX_RETRIES, bv as DEFAULT_NODE_TYPE, bt as DEFAULT_RETRY_BASE_DELAY, bu as DEFAULT_RETRY_MAX_DELAY, cY as DEFAULT_SEND_MESSAGE_INACTIVITY_TIMEOUT_MS, D as Database, Z as DatabaseHttpOptions, aa as ElementTypes, ay as ErrorInfo, al as EventCallback, aj as EventHandler, E as EventMessage, ak as EventSubscriptions, bG as FlowClient, F as FlowClientOptions, bI as FlowCollectResult, bW as FlowCompletedEvent, cp as FlowDefinition, cn as FlowDefinitionContainer, co as FlowDefinitionNode, cj as FlowDefinitionNodeBase, cl as FlowDefinitionStep, c7 as FlowErrorStrategy, j as FlowExecutionEvent, bX as FlowFailedEvent, bP as FlowInstanceStatus, bQ as FlowInstanceStatusResponse, bV as FlowResumedEvent, bO as FlowRunResponse, bH as FlowRunResult, ck as FlowStepProperties, bU as FlowWaitingEvent, i as FlowsApi, bL as FunctionInvokeOptions, bM as FunctionInvokeResponse, bN as FunctionInvokeSyncResponse, bJ as FunctionsApi, cc as HandoffTarget, ae as HttpArchetypes, V as HttpCurrentUser, O as HttpDatabase, af as HttpElementTypes, bK as HttpFunctionsApi, ad as HttpNodeTypes, W as HttpUserNode, Q as HttpWorkspaceClient, ca as HumanTaskType, at as IdentityAuthError, as as IdentityAuthResponse, I as IdentityUser, cy as InboxApi, cz as InboxApiOptions, cq as InboxTask, cr as InboxTaskStatus, aA as IncomingRelation, cZ as ListConversationsOptions, cA as ListTasksOptions, cB as ListTasksResponse, aq as LocalStorageTokenStorage, c2 as LogEvent, b7 as LogLevel, bd as LoggerConfig, ap as MemoryTokenStorage, cG as MessageBody, cR as MessageChild, c1 as MessageSavedEvent, a3 as NodeCreateOptions, aC as NodeCreatePayload, aE as NodeDeletePayload, aw as NodeEventPayload, bz as NodeFileSource, aF as NodeGetPayload, a2 as NodeOperations, a5 as NodeQueryOptions, aG as NodeQueryPayload, aB as NodeRelationships, a8 as NodeTypes, a4 as NodeUpdateOptions, aD as NodeUpdatePayload, d2 as PlanActionOptions, d1 as PlanActionReceipt, P as PlanProjection, k as PlanProjectionTask, cS as PlanTask, ct as RETRY_STRATEGIES, c4 as RaisinReference, b6 as ReconnectManager, aW as RefreshTokenPayload, aH as RelationAddPayload, aI as RelationRemovePayload, aJ as RelationsGetPayload, ax as RequestContext, au as RequestEnvelope, b0 as RequestType, av as ResponseEnvelope, az as ResponseMetadata, b1 as ResponseStatus, c8 as RetryConfig, c9 as RetryStrategy, ag as SchemaCommit, c$ as SendMessageOptions, X as SignAssetOptions, Y as SignedAssetUrl, ah as SqlQuery, aK as SqlQueryPayload, aL as SqlResult, bS as StepCompletedEvent, c6 as StepErrorBehavior, bT as StepFailedEvent, bR as StepStartedEvent, aR as SubscribePayload, am as Subscription, S as SubscriptionFilters, aT as SubscriptionResponse, ac as Tags, cs as TaskCompletionResult, cb as TaskOption, bY as TextChunkEvent, b$ as ThoughtChunkEvent, ar as TokenStorage, b_ as ToolCallCompletedEvent, T as ToolCallInfo, cQ as ToolCallRecord, bZ as ToolCallStartedEvent, a6 as Transaction, aX as TransactionBeginPayload, aY as TransactionBeginResponse, aZ as TransactionCommitPayload, a_ as TransactionCommitResponse, a7 as TransactionOptions, a$ as TransactionRollbackPayload, aS as UnsubscribePayload, bi as Upload, bq as UploadError, bF as UploadManager, bf as UploadOptions, bg as UploadProgress, bh as UploadResult, be as UploadStatus, bm as UploadStatusResponse, bE as Uploader, M as UserChangeCallback, L as UserChangeEvent, z as UserNode, aM as Workspace, _ as WorkspaceClient, a0 as WorkspaceCreateOptions, aN as WorkspaceCreatePayload, aP as WorkspaceDeletePayload, aO as WorkspaceGetPayload, $ as WorkspaceManager, a1 as WorkspaceUpdateOptions, aQ as WorkspaceUpdatePayload, bC as calculateChunkCount, b9 as configureLogger, bA as createFileSource, ai as createSqlHandler, b3 as decodeMessage, b2 as encodeMessage, bD as getChunkRange, bB as getContentType, bb as getLogLevel, bc as getLoggerConfig, cu as getRefDisplayName, cv as getRefPath, b4 as isEventMessage, cx as isFlowDefinitionContainer, cw as isFlowDefinitionStep, b5 as isResponseEnvelope, c3 as isTerminalEvent, b8 as logger, d4 as projectPlansFromMessages, ba as setLogLevel } from './conversation-list-store-BLvjPi59.mjs';
3
- export { F as FlowStatus, j as RaisinContextValue, i as RaisinProviderProps, g as RaisinReact, R as ReactLike, h as ReactLikeWithContext, k as UseAuthReturn, l as UseConnectionReturn, b as UseConversationListReturn, U as UseConversationReturn, d as UseFlowOptions, e as UseFlowReturn, m as UseSqlOptions, n as UseSqlReturn, o as UseSubscriptionOptions, f as createRaisinReact, u as useConversation, a as useConversationList, c as useFlow } from './index-CmRwTXFZ.mjs';
1
+ import { l as PropertyValue, m as RelationRef, N as Node, H as HttpClientOptions, n as ClientOptions, o as Credentials, p as RaisinHttpClient, R as RaisinClient, q as RetryOptions, U as UploadErrorCode, B as BatchUpload, r as UploaderConfig, s as FileSource, t as BatchUploadOptions, u as BatchUploadResult, v as BatchProgress, w as ReconnectOptions } from './conversation-list-store-CrmmmVKE.mjs';
2
+ export { co as AiContainerConfig, cn as AiErrorBehavior, cm as AiToolMode, aa as Archetypes, aL as AuditLogEntry, aK as AuditQueryPayload, G as AuthEvent, A as AuthManager, J as AuthStateChange, K as AuthStateChangeCallback, a_ as AuthenticatePayload, a$ as AuthenticateResponse, bv as BatchFileProgress, ac as Branches, bE as BrowserFileSource, cO as ChatAssistantMessageEvent, cQ as ChatCompletedEvent, cZ as ChatConversationCreatedEvent, cS as ChatDoneEvent, cI as ChatEvent, cR as ChatFailedEvent, d0 as ChatLogEvent, b as ChatMessage, c$ as ChatMessageDeliveredEvent, c_ as ChatMessageSavedEvent, cl as ChatStepConfig, ck as ChatTerminationConfig, cj as ChatTerminationMode, cN as ChatTextChunkEvent, cV as ChatThoughtChunkEvent, cU as ChatToolCallCompletedEvent, cT as ChatToolCallStartedEvent, cP as ChatWaitingEvent, br as ChunkUploadResponse, x as ClientMode, bt as CompleteUploadRequest, bu as CompleteUploadResponse, ao as Connection, ap as ConnectionOptions, C as ConnectionState, cs as ContainerRule, cb as ContainerType, cJ as Conversation, c6 as ConversationCreatedEvent, d as ConversationListItem, h as ConversationListSnapshot, e as ConversationListStore, g as ConversationListStoreOptions, d1 as ConversationManager, d9 as ConversationManagerOptions, cL as ConversationStatus, c as ConversationStore, f as ConversationStoreOptions, a as ConversationStoreSnapshot, d6 as ConversationSubscription, cK as ConversationType, d4 as CreateConvoOptions, bp as CreateUploadRequest, bq as CreateUploadResponse, y as CurrentUser, bD as DEFAULT_BATCH_CONCURRENCY, bC as DEFAULT_BRANCH, bx as DEFAULT_CHUNK_SIZE, by as DEFAULT_MAX_RETRIES, bB as DEFAULT_NODE_TYPE, bz as DEFAULT_RETRY_BASE_DELAY, bA as DEFAULT_RETRY_MAX_DELAY, d2 as DEFAULT_SEND_MESSAGE_INACTIVITY_TIMEOUT_MS, D as Database, Z as DatabaseHttpOptions, ab as ElementTypes, az as ErrorInfo, am as EventCallback, ak as EventHandler, E as EventMessage, al as EventSubscriptions, bM as FlowClient, F as FlowClientOptions, bO as FlowCollectResult, c0 as FlowCompletedEvent, cv as FlowDefinition, ct as FlowDefinitionContainer, cu as FlowDefinitionNode, cp as FlowDefinitionNodeBase, cr as FlowDefinitionStep, cd as FlowErrorStrategy, j as FlowExecutionEvent, c1 as FlowFailedEvent, bV as FlowInstanceStatus, bW as FlowInstanceStatusResponse, b$ as FlowResumedEvent, bU as FlowRunResponse, bN as FlowRunResult, cq as FlowStepProperties, b_ as FlowWaitingEvent, i as FlowsApi, bR as FunctionInvokeOptions, bS as FunctionInvokeResponse, bT as FunctionInvokeSyncResponse, bP as FunctionsApi, ci as HandoffTarget, af as HttpArchetypes, V as HttpCurrentUser, O as HttpDatabase, ag as HttpElementTypes, bQ as HttpFunctionsApi, ae as HttpNodeTypes, W as HttpUserNode, Q as HttpWorkspaceClient, cg as HumanTaskType, au as IdentityAuthError, at as IdentityAuthResponse, I as IdentityUser, cE as InboxApi, cF as InboxApiOptions, cw as InboxTask, cx as InboxTaskStatus, aB as IncomingRelation, d3 as ListConversationsOptions, cG as ListTasksOptions, cH as ListTasksResponse, ar as LocalStorageTokenStorage, c8 as LogEvent, bd as LogLevel, bj as LoggerConfig, aq as MemoryTokenStorage, cM as MessageBody, cX as MessageChild, c7 as MessageSavedEvent, a4 as NodeCreateDeepOptions, aE as NodeCreateDeepPayload, a3 as NodeCreateOptions, aD as NodeCreatePayload, aG as NodeDeletePayload, ax as NodeEventPayload, bF as NodeFileSource, aH as NodeGetPayload, aI as NodeHistoryPayload, a2 as NodeOperations, a6 as NodeQueryOptions, aM as NodeQueryPayload, aC as NodeRelationships, a9 as NodeTypes, a5 as NodeUpdateOptions, aF as NodeUpdatePayload, d8 as PlanActionOptions, d7 as PlanActionReceipt, P as PlanProjection, k as PlanProjectionTask, cY as PlanTask, cz as RETRY_STRATEGIES, ca as RaisinReference, bc as ReconnectManager, b0 as RefreshTokenPayload, aN as RelationAddPayload, aO as RelationRemovePayload, aP as RelationsGetPayload, ay as RequestContext, av as RequestEnvelope, b6 as RequestType, aw as ResponseEnvelope, aA as ResponseMetadata, b7 as ResponseStatus, ce as RetryConfig, cf as RetryStrategy, aJ as RevisionEntry, ah as SchemaCommit, d5 as SendMessageOptions, X as SignAssetOptions, Y as SignedAssetUrl, ai as SqlQuery, aQ as SqlQueryPayload, aR as SqlResult, bY as StepCompletedEvent, cc as StepErrorBehavior, bZ as StepFailedEvent, bX as StepStartedEvent, aX as SubscribePayload, an as Subscription, S as SubscriptionFilters, aZ as SubscriptionResponse, ad as Tags, cy as TaskCompletionResult, ch as TaskOption, c2 as TextChunkEvent, c5 as ThoughtChunkEvent, as as TokenStorage, c4 as ToolCallCompletedEvent, T as ToolCallInfo, cW as ToolCallRecord, c3 as ToolCallStartedEvent, a7 as Transaction, b1 as TransactionBeginPayload, b2 as TransactionBeginResponse, b3 as TransactionCommitPayload, b4 as TransactionCommitResponse, a8 as TransactionOptions, b5 as TransactionRollbackPayload, aY as UnsubscribePayload, bo as Upload, bw as UploadError, bL as UploadManager, bl as UploadOptions, bm as UploadProgress, bn as UploadResult, bk as UploadStatus, bs as UploadStatusResponse, bK as Uploader, M as UserChangeCallback, L as UserChangeEvent, z as UserNode, aS as Workspace, _ as WorkspaceClient, a0 as WorkspaceCreateOptions, aT as WorkspaceCreatePayload, aV as WorkspaceDeletePayload, aU as WorkspaceGetPayload, $ as WorkspaceManager, a1 as WorkspaceUpdateOptions, aW as WorkspaceUpdatePayload, bI as calculateChunkCount, bf as configureLogger, bG as createFileSource, aj as createSqlHandler, b9 as decodeMessage, b8 as encodeMessage, bJ as getChunkRange, bH as getContentType, bh as getLogLevel, bi as getLoggerConfig, cA as getRefDisplayName, cB as getRefPath, ba as isEventMessage, cD as isFlowDefinitionContainer, cC as isFlowDefinitionStep, bb as isResponseEnvelope, c9 as isTerminalEvent, be as logger, da as projectPlansFromMessages, bg as setLogLevel } from './conversation-list-store-CrmmmVKE.mjs';
3
+ export { F as FlowStatus, j as RaisinContextValue, i as RaisinProviderProps, g as RaisinReact, R as ReactLike, h as ReactLikeWithContext, k as UseAuthReturn, l as UseConnectionReturn, b as UseConversationListReturn, U as UseConversationReturn, d as UseFlowOptions, e as UseFlowReturn, m as UseSqlOptions, n as UseSqlReturn, o as UseSubscriptionOptions, f as createRaisinReact, u as useConversation, a as useConversationList, c as useFlow } from './index-DkVt51MH.mjs';
4
4
  export { AuthAdapter, AuthSnapshot, ConnectionAdapter, ConnectionSnapshot, FlowAdapter, FlowAdapterOptions, FlowSnapshot, RAISIN_CONTEXT_KEY, RaisinContext, SubscriptionAdapter, FlowStatus as SvelteFlowStatus, createAuthAdapter, createConnectionAdapter, createConversationAdapter, createConversationListAdapter, createFlowAdapter, createSubscriptionAdapter } from './svelte.mjs';
5
- export { b as SqlAdapter, S as SqlAdapterOptions, a as SqlSnapshot, c as createSqlAdapter } from './svelte-sql-CTugqnaE.mjs';
5
+ export { b as SqlAdapter, S as SqlAdapterOptions, a as SqlSnapshot, c as createSqlAdapter } from './svelte-sql-RNJfHu0B.mjs';
6
6
  export { RaisinVue, VueComputedRef, VueLike, VueRef, createRaisinVue } from './vue.mjs';
7
7
  import 'events';
8
8
  import 'fs/promises';
package/dist/index.d.ts CHANGED
@@ -1,8 +1,8 @@
1
- import { l as PropertyValue, m as RelationRef, N as Node, H as HttpClientOptions, n as ClientOptions, o as Credentials, p as RaisinHttpClient, R as RaisinClient, q as RetryOptions, U as UploadErrorCode, B as BatchUpload, r as UploaderConfig, s as FileSource, t as BatchUploadOptions, u as BatchUploadResult, v as BatchProgress, w as ReconnectOptions } from './conversation-list-store-BLvjPi59.js';
2
- export { ci as AiContainerConfig, ch as AiErrorBehavior, cg as AiToolMode, a9 as Archetypes, G as AuthEvent, A as AuthManager, J as AuthStateChange, K as AuthStateChangeCallback, aU as AuthenticatePayload, aV as AuthenticateResponse, bp as BatchFileProgress, ab as Branches, by as BrowserFileSource, cI as ChatAssistantMessageEvent, cK as ChatCompletedEvent, cT as ChatConversationCreatedEvent, cM as ChatDoneEvent, cC as ChatEvent, cL as ChatFailedEvent, cW as ChatLogEvent, b as ChatMessage, cV as ChatMessageDeliveredEvent, cU as ChatMessageSavedEvent, cf as ChatStepConfig, ce as ChatTerminationConfig, cd as ChatTerminationMode, cH as ChatTextChunkEvent, cP as ChatThoughtChunkEvent, cO as ChatToolCallCompletedEvent, cN as ChatToolCallStartedEvent, cJ as ChatWaitingEvent, bl as ChunkUploadResponse, x as ClientMode, bn as CompleteUploadRequest, bo as CompleteUploadResponse, an as Connection, ao as ConnectionOptions, C as ConnectionState, cm as ContainerRule, c5 as ContainerType, cD as Conversation, c0 as ConversationCreatedEvent, d as ConversationListItem, h as ConversationListSnapshot, e as ConversationListStore, g as ConversationListStoreOptions, cX as ConversationManager, d3 as ConversationManagerOptions, cF as ConversationStatus, c as ConversationStore, f as ConversationStoreOptions, a as ConversationStoreSnapshot, d0 as ConversationSubscription, cE as ConversationType, c_ as CreateConvoOptions, bj as CreateUploadRequest, bk as CreateUploadResponse, y as CurrentUser, bx as DEFAULT_BATCH_CONCURRENCY, bw as DEFAULT_BRANCH, br as DEFAULT_CHUNK_SIZE, bs as DEFAULT_MAX_RETRIES, bv as DEFAULT_NODE_TYPE, bt as DEFAULT_RETRY_BASE_DELAY, bu as DEFAULT_RETRY_MAX_DELAY, cY as DEFAULT_SEND_MESSAGE_INACTIVITY_TIMEOUT_MS, D as Database, Z as DatabaseHttpOptions, aa as ElementTypes, ay as ErrorInfo, al as EventCallback, aj as EventHandler, E as EventMessage, ak as EventSubscriptions, bG as FlowClient, F as FlowClientOptions, bI as FlowCollectResult, bW as FlowCompletedEvent, cp as FlowDefinition, cn as FlowDefinitionContainer, co as FlowDefinitionNode, cj as FlowDefinitionNodeBase, cl as FlowDefinitionStep, c7 as FlowErrorStrategy, j as FlowExecutionEvent, bX as FlowFailedEvent, bP as FlowInstanceStatus, bQ as FlowInstanceStatusResponse, bV as FlowResumedEvent, bO as FlowRunResponse, bH as FlowRunResult, ck as FlowStepProperties, bU as FlowWaitingEvent, i as FlowsApi, bL as FunctionInvokeOptions, bM as FunctionInvokeResponse, bN as FunctionInvokeSyncResponse, bJ as FunctionsApi, cc as HandoffTarget, ae as HttpArchetypes, V as HttpCurrentUser, O as HttpDatabase, af as HttpElementTypes, bK as HttpFunctionsApi, ad as HttpNodeTypes, W as HttpUserNode, Q as HttpWorkspaceClient, ca as HumanTaskType, at as IdentityAuthError, as as IdentityAuthResponse, I as IdentityUser, cy as InboxApi, cz as InboxApiOptions, cq as InboxTask, cr as InboxTaskStatus, aA as IncomingRelation, cZ as ListConversationsOptions, cA as ListTasksOptions, cB as ListTasksResponse, aq as LocalStorageTokenStorage, c2 as LogEvent, b7 as LogLevel, bd as LoggerConfig, ap as MemoryTokenStorage, cG as MessageBody, cR as MessageChild, c1 as MessageSavedEvent, a3 as NodeCreateOptions, aC as NodeCreatePayload, aE as NodeDeletePayload, aw as NodeEventPayload, bz as NodeFileSource, aF as NodeGetPayload, a2 as NodeOperations, a5 as NodeQueryOptions, aG as NodeQueryPayload, aB as NodeRelationships, a8 as NodeTypes, a4 as NodeUpdateOptions, aD as NodeUpdatePayload, d2 as PlanActionOptions, d1 as PlanActionReceipt, P as PlanProjection, k as PlanProjectionTask, cS as PlanTask, ct as RETRY_STRATEGIES, c4 as RaisinReference, b6 as ReconnectManager, aW as RefreshTokenPayload, aH as RelationAddPayload, aI as RelationRemovePayload, aJ as RelationsGetPayload, ax as RequestContext, au as RequestEnvelope, b0 as RequestType, av as ResponseEnvelope, az as ResponseMetadata, b1 as ResponseStatus, c8 as RetryConfig, c9 as RetryStrategy, ag as SchemaCommit, c$ as SendMessageOptions, X as SignAssetOptions, Y as SignedAssetUrl, ah as SqlQuery, aK as SqlQueryPayload, aL as SqlResult, bS as StepCompletedEvent, c6 as StepErrorBehavior, bT as StepFailedEvent, bR as StepStartedEvent, aR as SubscribePayload, am as Subscription, S as SubscriptionFilters, aT as SubscriptionResponse, ac as Tags, cs as TaskCompletionResult, cb as TaskOption, bY as TextChunkEvent, b$ as ThoughtChunkEvent, ar as TokenStorage, b_ as ToolCallCompletedEvent, T as ToolCallInfo, cQ as ToolCallRecord, bZ as ToolCallStartedEvent, a6 as Transaction, aX as TransactionBeginPayload, aY as TransactionBeginResponse, aZ as TransactionCommitPayload, a_ as TransactionCommitResponse, a7 as TransactionOptions, a$ as TransactionRollbackPayload, aS as UnsubscribePayload, bi as Upload, bq as UploadError, bF as UploadManager, bf as UploadOptions, bg as UploadProgress, bh as UploadResult, be as UploadStatus, bm as UploadStatusResponse, bE as Uploader, M as UserChangeCallback, L as UserChangeEvent, z as UserNode, aM as Workspace, _ as WorkspaceClient, a0 as WorkspaceCreateOptions, aN as WorkspaceCreatePayload, aP as WorkspaceDeletePayload, aO as WorkspaceGetPayload, $ as WorkspaceManager, a1 as WorkspaceUpdateOptions, aQ as WorkspaceUpdatePayload, bC as calculateChunkCount, b9 as configureLogger, bA as createFileSource, ai as createSqlHandler, b3 as decodeMessage, b2 as encodeMessage, bD as getChunkRange, bB as getContentType, bb as getLogLevel, bc as getLoggerConfig, cu as getRefDisplayName, cv as getRefPath, b4 as isEventMessage, cx as isFlowDefinitionContainer, cw as isFlowDefinitionStep, b5 as isResponseEnvelope, c3 as isTerminalEvent, b8 as logger, d4 as projectPlansFromMessages, ba as setLogLevel } from './conversation-list-store-BLvjPi59.js';
3
- export { F as FlowStatus, j as RaisinContextValue, i as RaisinProviderProps, g as RaisinReact, R as ReactLike, h as ReactLikeWithContext, k as UseAuthReturn, l as UseConnectionReturn, b as UseConversationListReturn, U as UseConversationReturn, d as UseFlowOptions, e as UseFlowReturn, m as UseSqlOptions, n as UseSqlReturn, o as UseSubscriptionOptions, f as createRaisinReact, u as useConversation, a as useConversationList, c as useFlow } from './index-LMWxbrtR.js';
1
+ import { l as PropertyValue, m as RelationRef, N as Node, H as HttpClientOptions, n as ClientOptions, o as Credentials, p as RaisinHttpClient, R as RaisinClient, q as RetryOptions, U as UploadErrorCode, B as BatchUpload, r as UploaderConfig, s as FileSource, t as BatchUploadOptions, u as BatchUploadResult, v as BatchProgress, w as ReconnectOptions } from './conversation-list-store-CrmmmVKE.js';
2
+ export { co as AiContainerConfig, cn as AiErrorBehavior, cm as AiToolMode, aa as Archetypes, aL as AuditLogEntry, aK as AuditQueryPayload, G as AuthEvent, A as AuthManager, J as AuthStateChange, K as AuthStateChangeCallback, a_ as AuthenticatePayload, a$ as AuthenticateResponse, bv as BatchFileProgress, ac as Branches, bE as BrowserFileSource, cO as ChatAssistantMessageEvent, cQ as ChatCompletedEvent, cZ as ChatConversationCreatedEvent, cS as ChatDoneEvent, cI as ChatEvent, cR as ChatFailedEvent, d0 as ChatLogEvent, b as ChatMessage, c$ as ChatMessageDeliveredEvent, c_ as ChatMessageSavedEvent, cl as ChatStepConfig, ck as ChatTerminationConfig, cj as ChatTerminationMode, cN as ChatTextChunkEvent, cV as ChatThoughtChunkEvent, cU as ChatToolCallCompletedEvent, cT as ChatToolCallStartedEvent, cP as ChatWaitingEvent, br as ChunkUploadResponse, x as ClientMode, bt as CompleteUploadRequest, bu as CompleteUploadResponse, ao as Connection, ap as ConnectionOptions, C as ConnectionState, cs as ContainerRule, cb as ContainerType, cJ as Conversation, c6 as ConversationCreatedEvent, d as ConversationListItem, h as ConversationListSnapshot, e as ConversationListStore, g as ConversationListStoreOptions, d1 as ConversationManager, d9 as ConversationManagerOptions, cL as ConversationStatus, c as ConversationStore, f as ConversationStoreOptions, a as ConversationStoreSnapshot, d6 as ConversationSubscription, cK as ConversationType, d4 as CreateConvoOptions, bp as CreateUploadRequest, bq as CreateUploadResponse, y as CurrentUser, bD as DEFAULT_BATCH_CONCURRENCY, bC as DEFAULT_BRANCH, bx as DEFAULT_CHUNK_SIZE, by as DEFAULT_MAX_RETRIES, bB as DEFAULT_NODE_TYPE, bz as DEFAULT_RETRY_BASE_DELAY, bA as DEFAULT_RETRY_MAX_DELAY, d2 as DEFAULT_SEND_MESSAGE_INACTIVITY_TIMEOUT_MS, D as Database, Z as DatabaseHttpOptions, ab as ElementTypes, az as ErrorInfo, am as EventCallback, ak as EventHandler, E as EventMessage, al as EventSubscriptions, bM as FlowClient, F as FlowClientOptions, bO as FlowCollectResult, c0 as FlowCompletedEvent, cv as FlowDefinition, ct as FlowDefinitionContainer, cu as FlowDefinitionNode, cp as FlowDefinitionNodeBase, cr as FlowDefinitionStep, cd as FlowErrorStrategy, j as FlowExecutionEvent, c1 as FlowFailedEvent, bV as FlowInstanceStatus, bW as FlowInstanceStatusResponse, b$ as FlowResumedEvent, bU as FlowRunResponse, bN as FlowRunResult, cq as FlowStepProperties, b_ as FlowWaitingEvent, i as FlowsApi, bR as FunctionInvokeOptions, bS as FunctionInvokeResponse, bT as FunctionInvokeSyncResponse, bP as FunctionsApi, ci as HandoffTarget, af as HttpArchetypes, V as HttpCurrentUser, O as HttpDatabase, ag as HttpElementTypes, bQ as HttpFunctionsApi, ae as HttpNodeTypes, W as HttpUserNode, Q as HttpWorkspaceClient, cg as HumanTaskType, au as IdentityAuthError, at as IdentityAuthResponse, I as IdentityUser, cE as InboxApi, cF as InboxApiOptions, cw as InboxTask, cx as InboxTaskStatus, aB as IncomingRelation, d3 as ListConversationsOptions, cG as ListTasksOptions, cH as ListTasksResponse, ar as LocalStorageTokenStorage, c8 as LogEvent, bd as LogLevel, bj as LoggerConfig, aq as MemoryTokenStorage, cM as MessageBody, cX as MessageChild, c7 as MessageSavedEvent, a4 as NodeCreateDeepOptions, aE as NodeCreateDeepPayload, a3 as NodeCreateOptions, aD as NodeCreatePayload, aG as NodeDeletePayload, ax as NodeEventPayload, bF as NodeFileSource, aH as NodeGetPayload, aI as NodeHistoryPayload, a2 as NodeOperations, a6 as NodeQueryOptions, aM as NodeQueryPayload, aC as NodeRelationships, a9 as NodeTypes, a5 as NodeUpdateOptions, aF as NodeUpdatePayload, d8 as PlanActionOptions, d7 as PlanActionReceipt, P as PlanProjection, k as PlanProjectionTask, cY as PlanTask, cz as RETRY_STRATEGIES, ca as RaisinReference, bc as ReconnectManager, b0 as RefreshTokenPayload, aN as RelationAddPayload, aO as RelationRemovePayload, aP as RelationsGetPayload, ay as RequestContext, av as RequestEnvelope, b6 as RequestType, aw as ResponseEnvelope, aA as ResponseMetadata, b7 as ResponseStatus, ce as RetryConfig, cf as RetryStrategy, aJ as RevisionEntry, ah as SchemaCommit, d5 as SendMessageOptions, X as SignAssetOptions, Y as SignedAssetUrl, ai as SqlQuery, aQ as SqlQueryPayload, aR as SqlResult, bY as StepCompletedEvent, cc as StepErrorBehavior, bZ as StepFailedEvent, bX as StepStartedEvent, aX as SubscribePayload, an as Subscription, S as SubscriptionFilters, aZ as SubscriptionResponse, ad as Tags, cy as TaskCompletionResult, ch as TaskOption, c2 as TextChunkEvent, c5 as ThoughtChunkEvent, as as TokenStorage, c4 as ToolCallCompletedEvent, T as ToolCallInfo, cW as ToolCallRecord, c3 as ToolCallStartedEvent, a7 as Transaction, b1 as TransactionBeginPayload, b2 as TransactionBeginResponse, b3 as TransactionCommitPayload, b4 as TransactionCommitResponse, a8 as TransactionOptions, b5 as TransactionRollbackPayload, aY as UnsubscribePayload, bo as Upload, bw as UploadError, bL as UploadManager, bl as UploadOptions, bm as UploadProgress, bn as UploadResult, bk as UploadStatus, bs as UploadStatusResponse, bK as Uploader, M as UserChangeCallback, L as UserChangeEvent, z as UserNode, aS as Workspace, _ as WorkspaceClient, a0 as WorkspaceCreateOptions, aT as WorkspaceCreatePayload, aV as WorkspaceDeletePayload, aU as WorkspaceGetPayload, $ as WorkspaceManager, a1 as WorkspaceUpdateOptions, aW as WorkspaceUpdatePayload, bI as calculateChunkCount, bf as configureLogger, bG as createFileSource, aj as createSqlHandler, b9 as decodeMessage, b8 as encodeMessage, bJ as getChunkRange, bH as getContentType, bh as getLogLevel, bi as getLoggerConfig, cA as getRefDisplayName, cB as getRefPath, ba as isEventMessage, cD as isFlowDefinitionContainer, cC as isFlowDefinitionStep, bb as isResponseEnvelope, c9 as isTerminalEvent, be as logger, da as projectPlansFromMessages, bg as setLogLevel } from './conversation-list-store-CrmmmVKE.js';
3
+ export { F as FlowStatus, j as RaisinContextValue, i as RaisinProviderProps, g as RaisinReact, R as ReactLike, h as ReactLikeWithContext, k as UseAuthReturn, l as UseConnectionReturn, b as UseConversationListReturn, U as UseConversationReturn, d as UseFlowOptions, e as UseFlowReturn, m as UseSqlOptions, n as UseSqlReturn, o as UseSubscriptionOptions, f as createRaisinReact, u as useConversation, a as useConversationList, c as useFlow } from './index-DcJiy1S6.js';
4
4
  export { AuthAdapter, AuthSnapshot, ConnectionAdapter, ConnectionSnapshot, FlowAdapter, FlowAdapterOptions, FlowSnapshot, RAISIN_CONTEXT_KEY, RaisinContext, SubscriptionAdapter, FlowStatus as SvelteFlowStatus, createAuthAdapter, createConnectionAdapter, createConversationAdapter, createConversationListAdapter, createFlowAdapter, createSubscriptionAdapter } from './svelte.js';
5
- export { b as SqlAdapter, S as SqlAdapterOptions, a as SqlSnapshot, c as createSqlAdapter } from './svelte-sql-eafuMbyi.js';
5
+ export { b as SqlAdapter, S as SqlAdapterOptions, a as SqlSnapshot, c as createSqlAdapter } from './svelte-sql-C0CmmhAL.js';
6
6
  export { RaisinVue, VueComputedRef, VueLike, VueRef, createRaisinVue } from './vue.js';
7
7
  import 'events';
8
8
  import 'fs/promises';