@raisindb/client 0.1.18 → 0.1.38
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.
- package/dist/{conversation-list-store-CNcVagmw.d.mts → conversation-list-store-CrmmmVKE.d.mts} +253 -1
- package/dist/{conversation-list-store-CNcVagmw.d.ts → conversation-list-store-CrmmmVKE.d.ts} +253 -1
- package/dist/{index-DQjE-4Oj.d.ts → index-DcJiy1S6.d.ts} +1 -1
- package/dist/{index-FkFH4HHQ.d.mts → index-DkVt51MH.d.mts} +1 -1
- package/dist/index.d.mts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +301 -7
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +298 -7
- package/dist/index.mjs.map +1 -1
- package/dist/react.d.mts +2 -2
- package/dist/react.d.ts +2 -2
- package/dist/{svelte-sql-62EaYoeM.d.ts → svelte-sql-C0CmmhAL.d.ts} +1 -1
- package/dist/{svelte-sql-CgT-Ij-P.d.mts → svelte-sql-RNJfHu0B.d.mts} +1 -1
- package/dist/svelte.d.mts +2 -2
- package/dist/svelte.d.ts +2 -2
- package/dist/vue.d.mts +2 -2
- package/dist/vue.d.ts +2 -2
- package/package.json +1 -1
package/dist/{conversation-list-store-CNcVagmw.d.ts → conversation-list-store-CrmmmVKE.d.ts}
RENAMED
|
@@ -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",
|
|
@@ -353,6 +355,7 @@ declare enum RequestType {
|
|
|
353
355
|
ArchetypeDelete = "archetype_delete",
|
|
354
356
|
ArchetypePublish = "archetype_publish",
|
|
355
357
|
ArchetypeUnpublish = "archetype_unpublish",
|
|
358
|
+
ArchetypeGetResolved = "archetype_get_resolved",
|
|
356
359
|
ElementTypeCreate = "element_type_create",
|
|
357
360
|
ElementTypeGet = "element_type_get",
|
|
358
361
|
ElementTypeList = "element_type_list",
|
|
@@ -360,6 +363,7 @@ declare enum RequestType {
|
|
|
360
363
|
ElementTypeDelete = "element_type_delete",
|
|
361
364
|
ElementTypePublish = "element_type_publish",
|
|
362
365
|
ElementTypeUnpublish = "element_type_unpublish",
|
|
366
|
+
ElementTypeGetResolved = "element_type_get_resolved",
|
|
363
367
|
FullTextSearch = "full_text_search",
|
|
364
368
|
VectorSearch = "vector_search",
|
|
365
369
|
Subscribe = "subscribe",
|
|
@@ -531,6 +535,17 @@ interface NodeCreatePayload {
|
|
|
531
535
|
properties: Record<string, PropertyValue>;
|
|
532
536
|
content?: unknown;
|
|
533
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
|
+
}
|
|
534
549
|
/**
|
|
535
550
|
* Node update payload
|
|
536
551
|
*/
|
|
@@ -551,6 +566,59 @@ interface NodeDeletePayload {
|
|
|
551
566
|
interface NodeGetPayload {
|
|
552
567
|
node_id: string;
|
|
553
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
|
+
}
|
|
554
622
|
/**
|
|
555
623
|
* Node query payload
|
|
556
624
|
*/
|
|
@@ -954,6 +1022,13 @@ interface NodeCreateOptions {
|
|
|
954
1022
|
/** Node content (optional) */
|
|
955
1023
|
content?: unknown;
|
|
956
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
|
+
}
|
|
957
1032
|
/**
|
|
958
1033
|
* Options for updating a node
|
|
959
1034
|
*/
|
|
@@ -988,6 +1063,20 @@ declare class NodeOperations {
|
|
|
988
1063
|
* @returns Created node
|
|
989
1064
|
*/
|
|
990
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>;
|
|
991
1080
|
/**
|
|
992
1081
|
* Update an existing node
|
|
993
1082
|
*
|
|
@@ -1010,6 +1099,57 @@ declare class NodeOperations {
|
|
|
1010
1099
|
* @returns Node or null if not found
|
|
1011
1100
|
*/
|
|
1012
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[]>;
|
|
1013
1153
|
/**
|
|
1014
1154
|
* Query nodes
|
|
1015
1155
|
*
|
|
@@ -1140,6 +1280,18 @@ declare class NodeOperations {
|
|
|
1140
1280
|
* @returns Moved node
|
|
1141
1281
|
*/
|
|
1142
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>;
|
|
1143
1295
|
/**
|
|
1144
1296
|
* Add a relationship between two nodes
|
|
1145
1297
|
*
|
|
@@ -2250,6 +2402,75 @@ declare class HttpFunctionsApi {
|
|
|
2250
2402
|
invokeSync(functionName: string, input?: Record<string, unknown>): Promise<FunctionInvokeSyncResponse>;
|
|
2251
2403
|
}
|
|
2252
2404
|
|
|
2405
|
+
/**
|
|
2406
|
+
* HTTP schema-management operations (NodeTypes / Archetypes / ElementTypes)
|
|
2407
|
+
*
|
|
2408
|
+
* These classes give the HTTP (SSR) client the same schema surface as the
|
|
2409
|
+
* WebSocket `Database`, backed by the management REST API
|
|
2410
|
+
* (`/api/management/{repo}/{branch}/...`). They mirror the WebSocket SDK
|
|
2411
|
+
* method names so call sites can swap clients with minimal changes.
|
|
2412
|
+
*/
|
|
2413
|
+
|
|
2414
|
+
/** Optional commit metadata for write operations. Server-side it is optional
|
|
2415
|
+
* (falls back to a default message + the `"system"` actor). */
|
|
2416
|
+
interface SchemaCommit {
|
|
2417
|
+
message: string;
|
|
2418
|
+
actor?: string;
|
|
2419
|
+
}
|
|
2420
|
+
type SchemaKind = 'nodetypes' | 'archetypes' | 'elementtypes';
|
|
2421
|
+
type SchemaDefField = 'node_type' | 'archetype' | 'element_type';
|
|
2422
|
+
/**
|
|
2423
|
+
* Shared CRUD/publish/resolve implementation for the three schema kinds.
|
|
2424
|
+
*/
|
|
2425
|
+
declare abstract class HttpSchemaBase {
|
|
2426
|
+
protected readonly repository: string;
|
|
2427
|
+
protected readonly branch: string;
|
|
2428
|
+
protected readonly client: RaisinHttpClient;
|
|
2429
|
+
protected abstract readonly kind: SchemaKind;
|
|
2430
|
+
protected abstract readonly defField: SchemaDefField;
|
|
2431
|
+
constructor(repository: string, branch: string, client: RaisinHttpClient);
|
|
2432
|
+
/** Base management URL for this schema kind. */
|
|
2433
|
+
protected base(): string;
|
|
2434
|
+
/** List all schemas (or only published ones). */
|
|
2435
|
+
list(publishedOnly?: boolean): Promise<unknown[]>;
|
|
2436
|
+
/** Get a single schema by name. */
|
|
2437
|
+
get(name: string): Promise<unknown>;
|
|
2438
|
+
/** Get the schema with full inheritance (`extends`) applied. */
|
|
2439
|
+
getResolved(name: string): Promise<unknown>;
|
|
2440
|
+
/** Create a schema. `name` is folded into the definition body if absent. */
|
|
2441
|
+
create(name: string, definition: Record<string, unknown>, commit?: SchemaCommit): Promise<unknown>;
|
|
2442
|
+
/** Update an existing schema. */
|
|
2443
|
+
update(name: string, definition: Record<string, unknown>, commit?: SchemaCommit): Promise<unknown>;
|
|
2444
|
+
/** Delete a schema. */
|
|
2445
|
+
delete(name: string, commit?: SchemaCommit): Promise<unknown>;
|
|
2446
|
+
/** Publish a schema. */
|
|
2447
|
+
publish(name: string, commit?: SchemaCommit): Promise<unknown>;
|
|
2448
|
+
/** Unpublish a schema. */
|
|
2449
|
+
unpublish(name: string, commit?: SchemaCommit): Promise<unknown>;
|
|
2450
|
+
}
|
|
2451
|
+
/** NodeType management over HTTP REST. */
|
|
2452
|
+
declare class HttpNodeTypes extends HttpSchemaBase {
|
|
2453
|
+
protected readonly kind: SchemaKind;
|
|
2454
|
+
protected readonly defField: SchemaDefField;
|
|
2455
|
+
/**
|
|
2456
|
+
* Get the resolved NodeType. Unlike archetypes/element types, NodeType
|
|
2457
|
+
* resolution can be workspace-aware (honors workspace NodeType pins).
|
|
2458
|
+
*/
|
|
2459
|
+
getResolved(name: string, opts?: {
|
|
2460
|
+
workspace?: string;
|
|
2461
|
+
}): Promise<unknown>;
|
|
2462
|
+
}
|
|
2463
|
+
/** Archetype management over HTTP REST. */
|
|
2464
|
+
declare class HttpArchetypes extends HttpSchemaBase {
|
|
2465
|
+
protected readonly kind: SchemaKind;
|
|
2466
|
+
protected readonly defField: SchemaDefField;
|
|
2467
|
+
}
|
|
2468
|
+
/** ElementType management over HTTP REST. */
|
|
2469
|
+
declare class HttpElementTypes extends HttpSchemaBase {
|
|
2470
|
+
protected readonly kind: SchemaKind;
|
|
2471
|
+
protected readonly defField: SchemaDefField;
|
|
2472
|
+
}
|
|
2473
|
+
|
|
2253
2474
|
/**
|
|
2254
2475
|
* RaisinDB HTTP client for server-side rendering (SSR)
|
|
2255
2476
|
*
|
|
@@ -2694,6 +2915,14 @@ declare class RaisinHttpClient extends EventEmitter {
|
|
|
2694
2915
|
* @returns Execution result including output, logs, and duration
|
|
2695
2916
|
*/
|
|
2696
2917
|
invokeFunctionSync(repository: string, functionName: string, input?: Record<string, unknown>): Promise<FunctionInvokeSyncResponse>;
|
|
2918
|
+
/**
|
|
2919
|
+
* Make a management REST request and return the parsed body.
|
|
2920
|
+
*
|
|
2921
|
+
* @internal Used by the HTTP schema-management helpers
|
|
2922
|
+
* ({@link HttpNodeTypes}/{@link HttpArchetypes}/{@link HttpElementTypes}) to
|
|
2923
|
+
* reuse the client's centralized auth, timeout, and base-URL handling.
|
|
2924
|
+
*/
|
|
2925
|
+
managementRequest<T = unknown>(method: string, path: string, body?: unknown): Promise<T>;
|
|
2697
2926
|
/**
|
|
2698
2927
|
* Get a simplified database interface for SSR
|
|
2699
2928
|
* This returns an HTTP-based database client
|
|
@@ -2758,6 +2987,14 @@ declare class HttpDatabase {
|
|
|
2758
2987
|
* Get FunctionsApi for invoking server-side functions via HTTP
|
|
2759
2988
|
*/
|
|
2760
2989
|
functions(): HttpFunctionsApi;
|
|
2990
|
+
/** Effective branch for management calls. */
|
|
2991
|
+
private schemaBranch;
|
|
2992
|
+
/** NodeType management (get/list/getResolved/create/update/delete/publish/unpublish). */
|
|
2993
|
+
nodeTypes(): HttpNodeTypes;
|
|
2994
|
+
/** Archetype management (get/list/getResolved/create/update/delete/publish/unpublish). */
|
|
2995
|
+
archetypes(): HttpArchetypes;
|
|
2996
|
+
/** ElementType management (get/list/getResolved/create/update/delete/publish/unpublish). */
|
|
2997
|
+
elementTypes(): HttpElementTypes;
|
|
2761
2998
|
}
|
|
2762
2999
|
/**
|
|
2763
3000
|
* HTTP-based workspace client for SSR
|
|
@@ -3243,6 +3480,10 @@ declare class Archetypes {
|
|
|
3243
3480
|
* Unpublish an Archetype
|
|
3244
3481
|
*/
|
|
3245
3482
|
unpublish(name: string): Promise<unknown>;
|
|
3483
|
+
/**
|
|
3484
|
+
* Get resolved Archetype with full inheritance applied
|
|
3485
|
+
*/
|
|
3486
|
+
getResolved(name: string): Promise<unknown>;
|
|
3246
3487
|
}
|
|
3247
3488
|
|
|
3248
3489
|
/**
|
|
@@ -3280,6 +3521,10 @@ declare class ElementTypes {
|
|
|
3280
3521
|
* Unpublish an ElementType
|
|
3281
3522
|
*/
|
|
3282
3523
|
unpublish(name: string): Promise<unknown>;
|
|
3524
|
+
/**
|
|
3525
|
+
* Get resolved ElementType with full inheritance applied
|
|
3526
|
+
*/
|
|
3527
|
+
getResolved(name: string): Promise<unknown>;
|
|
3283
3528
|
}
|
|
3284
3529
|
|
|
3285
3530
|
/**
|
|
@@ -3327,6 +3572,13 @@ declare class Branches {
|
|
|
3327
3572
|
* Compare two branches to calculate divergence
|
|
3328
3573
|
*/
|
|
3329
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>;
|
|
3330
3582
|
}
|
|
3331
3583
|
|
|
3332
3584
|
/**
|
|
@@ -6117,4 +6369,4 @@ declare class ConversationListStore {
|
|
|
6117
6369
|
private notify;
|
|
6118
6370
|
}
|
|
6119
6371
|
|
|
6120
|
-
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,
|
|
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-
|
|
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-
|
|
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-
|
|
2
|
-
export {
|
|
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-
|
|
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-
|
|
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-
|
|
2
|
-
export {
|
|
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-
|
|
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-
|
|
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';
|