@raisindb/client 0.1.17 → 0.1.37
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-BLvjPi59.d.mts} +96 -1
- package/dist/{conversation-list-store-CNcVagmw.d.ts → conversation-list-store-BLvjPi59.d.ts} +96 -1
- package/dist/{index-FkFH4HHQ.d.mts → index-CmRwTXFZ.d.mts} +1 -1
- package/dist/{index-DQjE-4Oj.d.ts → index-LMWxbrtR.d.ts} +1 -1
- package/dist/index.d.mts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +158 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +155 -0
- 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-CgT-Ij-P.d.mts → svelte-sql-CTugqnaE.d.mts} +1 -1
- package/dist/{svelte-sql-62EaYoeM.d.ts → svelte-sql-eafuMbyi.d.ts} +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.mts → conversation-list-store-BLvjPi59.d.mts}
RENAMED
|
@@ -353,6 +353,7 @@ declare enum RequestType {
|
|
|
353
353
|
ArchetypeDelete = "archetype_delete",
|
|
354
354
|
ArchetypePublish = "archetype_publish",
|
|
355
355
|
ArchetypeUnpublish = "archetype_unpublish",
|
|
356
|
+
ArchetypeGetResolved = "archetype_get_resolved",
|
|
356
357
|
ElementTypeCreate = "element_type_create",
|
|
357
358
|
ElementTypeGet = "element_type_get",
|
|
358
359
|
ElementTypeList = "element_type_list",
|
|
@@ -360,6 +361,7 @@ declare enum RequestType {
|
|
|
360
361
|
ElementTypeDelete = "element_type_delete",
|
|
361
362
|
ElementTypePublish = "element_type_publish",
|
|
362
363
|
ElementTypeUnpublish = "element_type_unpublish",
|
|
364
|
+
ElementTypeGetResolved = "element_type_get_resolved",
|
|
363
365
|
FullTextSearch = "full_text_search",
|
|
364
366
|
VectorSearch = "vector_search",
|
|
365
367
|
Subscribe = "subscribe",
|
|
@@ -2250,6 +2252,75 @@ declare class HttpFunctionsApi {
|
|
|
2250
2252
|
invokeSync(functionName: string, input?: Record<string, unknown>): Promise<FunctionInvokeSyncResponse>;
|
|
2251
2253
|
}
|
|
2252
2254
|
|
|
2255
|
+
/**
|
|
2256
|
+
* HTTP schema-management operations (NodeTypes / Archetypes / ElementTypes)
|
|
2257
|
+
*
|
|
2258
|
+
* These classes give the HTTP (SSR) client the same schema surface as the
|
|
2259
|
+
* WebSocket `Database`, backed by the management REST API
|
|
2260
|
+
* (`/api/management/{repo}/{branch}/...`). They mirror the WebSocket SDK
|
|
2261
|
+
* method names so call sites can swap clients with minimal changes.
|
|
2262
|
+
*/
|
|
2263
|
+
|
|
2264
|
+
/** Optional commit metadata for write operations. Server-side it is optional
|
|
2265
|
+
* (falls back to a default message + the `"system"` actor). */
|
|
2266
|
+
interface SchemaCommit {
|
|
2267
|
+
message: string;
|
|
2268
|
+
actor?: string;
|
|
2269
|
+
}
|
|
2270
|
+
type SchemaKind = 'nodetypes' | 'archetypes' | 'elementtypes';
|
|
2271
|
+
type SchemaDefField = 'node_type' | 'archetype' | 'element_type';
|
|
2272
|
+
/**
|
|
2273
|
+
* Shared CRUD/publish/resolve implementation for the three schema kinds.
|
|
2274
|
+
*/
|
|
2275
|
+
declare abstract class HttpSchemaBase {
|
|
2276
|
+
protected readonly repository: string;
|
|
2277
|
+
protected readonly branch: string;
|
|
2278
|
+
protected readonly client: RaisinHttpClient;
|
|
2279
|
+
protected abstract readonly kind: SchemaKind;
|
|
2280
|
+
protected abstract readonly defField: SchemaDefField;
|
|
2281
|
+
constructor(repository: string, branch: string, client: RaisinHttpClient);
|
|
2282
|
+
/** Base management URL for this schema kind. */
|
|
2283
|
+
protected base(): string;
|
|
2284
|
+
/** List all schemas (or only published ones). */
|
|
2285
|
+
list(publishedOnly?: boolean): Promise<unknown[]>;
|
|
2286
|
+
/** Get a single schema by name. */
|
|
2287
|
+
get(name: string): Promise<unknown>;
|
|
2288
|
+
/** Get the schema with full inheritance (`extends`) applied. */
|
|
2289
|
+
getResolved(name: string): Promise<unknown>;
|
|
2290
|
+
/** Create a schema. `name` is folded into the definition body if absent. */
|
|
2291
|
+
create(name: string, definition: Record<string, unknown>, commit?: SchemaCommit): Promise<unknown>;
|
|
2292
|
+
/** Update an existing schema. */
|
|
2293
|
+
update(name: string, definition: Record<string, unknown>, commit?: SchemaCommit): Promise<unknown>;
|
|
2294
|
+
/** Delete a schema. */
|
|
2295
|
+
delete(name: string, commit?: SchemaCommit): Promise<unknown>;
|
|
2296
|
+
/** Publish a schema. */
|
|
2297
|
+
publish(name: string, commit?: SchemaCommit): Promise<unknown>;
|
|
2298
|
+
/** Unpublish a schema. */
|
|
2299
|
+
unpublish(name: string, commit?: SchemaCommit): Promise<unknown>;
|
|
2300
|
+
}
|
|
2301
|
+
/** NodeType management over HTTP REST. */
|
|
2302
|
+
declare class HttpNodeTypes extends HttpSchemaBase {
|
|
2303
|
+
protected readonly kind: SchemaKind;
|
|
2304
|
+
protected readonly defField: SchemaDefField;
|
|
2305
|
+
/**
|
|
2306
|
+
* Get the resolved NodeType. Unlike archetypes/element types, NodeType
|
|
2307
|
+
* resolution can be workspace-aware (honors workspace NodeType pins).
|
|
2308
|
+
*/
|
|
2309
|
+
getResolved(name: string, opts?: {
|
|
2310
|
+
workspace?: string;
|
|
2311
|
+
}): Promise<unknown>;
|
|
2312
|
+
}
|
|
2313
|
+
/** Archetype management over HTTP REST. */
|
|
2314
|
+
declare class HttpArchetypes extends HttpSchemaBase {
|
|
2315
|
+
protected readonly kind: SchemaKind;
|
|
2316
|
+
protected readonly defField: SchemaDefField;
|
|
2317
|
+
}
|
|
2318
|
+
/** ElementType management over HTTP REST. */
|
|
2319
|
+
declare class HttpElementTypes extends HttpSchemaBase {
|
|
2320
|
+
protected readonly kind: SchemaKind;
|
|
2321
|
+
protected readonly defField: SchemaDefField;
|
|
2322
|
+
}
|
|
2323
|
+
|
|
2253
2324
|
/**
|
|
2254
2325
|
* RaisinDB HTTP client for server-side rendering (SSR)
|
|
2255
2326
|
*
|
|
@@ -2694,6 +2765,14 @@ declare class RaisinHttpClient extends EventEmitter {
|
|
|
2694
2765
|
* @returns Execution result including output, logs, and duration
|
|
2695
2766
|
*/
|
|
2696
2767
|
invokeFunctionSync(repository: string, functionName: string, input?: Record<string, unknown>): Promise<FunctionInvokeSyncResponse>;
|
|
2768
|
+
/**
|
|
2769
|
+
* Make a management REST request and return the parsed body.
|
|
2770
|
+
*
|
|
2771
|
+
* @internal Used by the HTTP schema-management helpers
|
|
2772
|
+
* ({@link HttpNodeTypes}/{@link HttpArchetypes}/{@link HttpElementTypes}) to
|
|
2773
|
+
* reuse the client's centralized auth, timeout, and base-URL handling.
|
|
2774
|
+
*/
|
|
2775
|
+
managementRequest<T = unknown>(method: string, path: string, body?: unknown): Promise<T>;
|
|
2697
2776
|
/**
|
|
2698
2777
|
* Get a simplified database interface for SSR
|
|
2699
2778
|
* This returns an HTTP-based database client
|
|
@@ -2758,6 +2837,14 @@ declare class HttpDatabase {
|
|
|
2758
2837
|
* Get FunctionsApi for invoking server-side functions via HTTP
|
|
2759
2838
|
*/
|
|
2760
2839
|
functions(): HttpFunctionsApi;
|
|
2840
|
+
/** Effective branch for management calls. */
|
|
2841
|
+
private schemaBranch;
|
|
2842
|
+
/** NodeType management (get/list/getResolved/create/update/delete/publish/unpublish). */
|
|
2843
|
+
nodeTypes(): HttpNodeTypes;
|
|
2844
|
+
/** Archetype management (get/list/getResolved/create/update/delete/publish/unpublish). */
|
|
2845
|
+
archetypes(): HttpArchetypes;
|
|
2846
|
+
/** ElementType management (get/list/getResolved/create/update/delete/publish/unpublish). */
|
|
2847
|
+
elementTypes(): HttpElementTypes;
|
|
2761
2848
|
}
|
|
2762
2849
|
/**
|
|
2763
2850
|
* HTTP-based workspace client for SSR
|
|
@@ -3243,6 +3330,10 @@ declare class Archetypes {
|
|
|
3243
3330
|
* Unpublish an Archetype
|
|
3244
3331
|
*/
|
|
3245
3332
|
unpublish(name: string): Promise<unknown>;
|
|
3333
|
+
/**
|
|
3334
|
+
* Get resolved Archetype with full inheritance applied
|
|
3335
|
+
*/
|
|
3336
|
+
getResolved(name: string): Promise<unknown>;
|
|
3246
3337
|
}
|
|
3247
3338
|
|
|
3248
3339
|
/**
|
|
@@ -3280,6 +3371,10 @@ declare class ElementTypes {
|
|
|
3280
3371
|
* Unpublish an ElementType
|
|
3281
3372
|
*/
|
|
3282
3373
|
unpublish(name: string): Promise<unknown>;
|
|
3374
|
+
/**
|
|
3375
|
+
* Get resolved ElementType with full inheritance applied
|
|
3376
|
+
*/
|
|
3377
|
+
getResolved(name: string): Promise<unknown>;
|
|
3283
3378
|
}
|
|
3284
3379
|
|
|
3285
3380
|
/**
|
|
@@ -6117,4 +6212,4 @@ declare class ConversationListStore {
|
|
|
6117
6212
|
private notify;
|
|
6118
6213
|
}
|
|
6119
6214
|
|
|
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,
|
|
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 };
|
package/dist/{conversation-list-store-CNcVagmw.d.ts → conversation-list-store-BLvjPi59.d.ts}
RENAMED
|
@@ -353,6 +353,7 @@ declare enum RequestType {
|
|
|
353
353
|
ArchetypeDelete = "archetype_delete",
|
|
354
354
|
ArchetypePublish = "archetype_publish",
|
|
355
355
|
ArchetypeUnpublish = "archetype_unpublish",
|
|
356
|
+
ArchetypeGetResolved = "archetype_get_resolved",
|
|
356
357
|
ElementTypeCreate = "element_type_create",
|
|
357
358
|
ElementTypeGet = "element_type_get",
|
|
358
359
|
ElementTypeList = "element_type_list",
|
|
@@ -360,6 +361,7 @@ declare enum RequestType {
|
|
|
360
361
|
ElementTypeDelete = "element_type_delete",
|
|
361
362
|
ElementTypePublish = "element_type_publish",
|
|
362
363
|
ElementTypeUnpublish = "element_type_unpublish",
|
|
364
|
+
ElementTypeGetResolved = "element_type_get_resolved",
|
|
363
365
|
FullTextSearch = "full_text_search",
|
|
364
366
|
VectorSearch = "vector_search",
|
|
365
367
|
Subscribe = "subscribe",
|
|
@@ -2250,6 +2252,75 @@ declare class HttpFunctionsApi {
|
|
|
2250
2252
|
invokeSync(functionName: string, input?: Record<string, unknown>): Promise<FunctionInvokeSyncResponse>;
|
|
2251
2253
|
}
|
|
2252
2254
|
|
|
2255
|
+
/**
|
|
2256
|
+
* HTTP schema-management operations (NodeTypes / Archetypes / ElementTypes)
|
|
2257
|
+
*
|
|
2258
|
+
* These classes give the HTTP (SSR) client the same schema surface as the
|
|
2259
|
+
* WebSocket `Database`, backed by the management REST API
|
|
2260
|
+
* (`/api/management/{repo}/{branch}/...`). They mirror the WebSocket SDK
|
|
2261
|
+
* method names so call sites can swap clients with minimal changes.
|
|
2262
|
+
*/
|
|
2263
|
+
|
|
2264
|
+
/** Optional commit metadata for write operations. Server-side it is optional
|
|
2265
|
+
* (falls back to a default message + the `"system"` actor). */
|
|
2266
|
+
interface SchemaCommit {
|
|
2267
|
+
message: string;
|
|
2268
|
+
actor?: string;
|
|
2269
|
+
}
|
|
2270
|
+
type SchemaKind = 'nodetypes' | 'archetypes' | 'elementtypes';
|
|
2271
|
+
type SchemaDefField = 'node_type' | 'archetype' | 'element_type';
|
|
2272
|
+
/**
|
|
2273
|
+
* Shared CRUD/publish/resolve implementation for the three schema kinds.
|
|
2274
|
+
*/
|
|
2275
|
+
declare abstract class HttpSchemaBase {
|
|
2276
|
+
protected readonly repository: string;
|
|
2277
|
+
protected readonly branch: string;
|
|
2278
|
+
protected readonly client: RaisinHttpClient;
|
|
2279
|
+
protected abstract readonly kind: SchemaKind;
|
|
2280
|
+
protected abstract readonly defField: SchemaDefField;
|
|
2281
|
+
constructor(repository: string, branch: string, client: RaisinHttpClient);
|
|
2282
|
+
/** Base management URL for this schema kind. */
|
|
2283
|
+
protected base(): string;
|
|
2284
|
+
/** List all schemas (or only published ones). */
|
|
2285
|
+
list(publishedOnly?: boolean): Promise<unknown[]>;
|
|
2286
|
+
/** Get a single schema by name. */
|
|
2287
|
+
get(name: string): Promise<unknown>;
|
|
2288
|
+
/** Get the schema with full inheritance (`extends`) applied. */
|
|
2289
|
+
getResolved(name: string): Promise<unknown>;
|
|
2290
|
+
/** Create a schema. `name` is folded into the definition body if absent. */
|
|
2291
|
+
create(name: string, definition: Record<string, unknown>, commit?: SchemaCommit): Promise<unknown>;
|
|
2292
|
+
/** Update an existing schema. */
|
|
2293
|
+
update(name: string, definition: Record<string, unknown>, commit?: SchemaCommit): Promise<unknown>;
|
|
2294
|
+
/** Delete a schema. */
|
|
2295
|
+
delete(name: string, commit?: SchemaCommit): Promise<unknown>;
|
|
2296
|
+
/** Publish a schema. */
|
|
2297
|
+
publish(name: string, commit?: SchemaCommit): Promise<unknown>;
|
|
2298
|
+
/** Unpublish a schema. */
|
|
2299
|
+
unpublish(name: string, commit?: SchemaCommit): Promise<unknown>;
|
|
2300
|
+
}
|
|
2301
|
+
/** NodeType management over HTTP REST. */
|
|
2302
|
+
declare class HttpNodeTypes extends HttpSchemaBase {
|
|
2303
|
+
protected readonly kind: SchemaKind;
|
|
2304
|
+
protected readonly defField: SchemaDefField;
|
|
2305
|
+
/**
|
|
2306
|
+
* Get the resolved NodeType. Unlike archetypes/element types, NodeType
|
|
2307
|
+
* resolution can be workspace-aware (honors workspace NodeType pins).
|
|
2308
|
+
*/
|
|
2309
|
+
getResolved(name: string, opts?: {
|
|
2310
|
+
workspace?: string;
|
|
2311
|
+
}): Promise<unknown>;
|
|
2312
|
+
}
|
|
2313
|
+
/** Archetype management over HTTP REST. */
|
|
2314
|
+
declare class HttpArchetypes extends HttpSchemaBase {
|
|
2315
|
+
protected readonly kind: SchemaKind;
|
|
2316
|
+
protected readonly defField: SchemaDefField;
|
|
2317
|
+
}
|
|
2318
|
+
/** ElementType management over HTTP REST. */
|
|
2319
|
+
declare class HttpElementTypes extends HttpSchemaBase {
|
|
2320
|
+
protected readonly kind: SchemaKind;
|
|
2321
|
+
protected readonly defField: SchemaDefField;
|
|
2322
|
+
}
|
|
2323
|
+
|
|
2253
2324
|
/**
|
|
2254
2325
|
* RaisinDB HTTP client for server-side rendering (SSR)
|
|
2255
2326
|
*
|
|
@@ -2694,6 +2765,14 @@ declare class RaisinHttpClient extends EventEmitter {
|
|
|
2694
2765
|
* @returns Execution result including output, logs, and duration
|
|
2695
2766
|
*/
|
|
2696
2767
|
invokeFunctionSync(repository: string, functionName: string, input?: Record<string, unknown>): Promise<FunctionInvokeSyncResponse>;
|
|
2768
|
+
/**
|
|
2769
|
+
* Make a management REST request and return the parsed body.
|
|
2770
|
+
*
|
|
2771
|
+
* @internal Used by the HTTP schema-management helpers
|
|
2772
|
+
* ({@link HttpNodeTypes}/{@link HttpArchetypes}/{@link HttpElementTypes}) to
|
|
2773
|
+
* reuse the client's centralized auth, timeout, and base-URL handling.
|
|
2774
|
+
*/
|
|
2775
|
+
managementRequest<T = unknown>(method: string, path: string, body?: unknown): Promise<T>;
|
|
2697
2776
|
/**
|
|
2698
2777
|
* Get a simplified database interface for SSR
|
|
2699
2778
|
* This returns an HTTP-based database client
|
|
@@ -2758,6 +2837,14 @@ declare class HttpDatabase {
|
|
|
2758
2837
|
* Get FunctionsApi for invoking server-side functions via HTTP
|
|
2759
2838
|
*/
|
|
2760
2839
|
functions(): HttpFunctionsApi;
|
|
2840
|
+
/** Effective branch for management calls. */
|
|
2841
|
+
private schemaBranch;
|
|
2842
|
+
/** NodeType management (get/list/getResolved/create/update/delete/publish/unpublish). */
|
|
2843
|
+
nodeTypes(): HttpNodeTypes;
|
|
2844
|
+
/** Archetype management (get/list/getResolved/create/update/delete/publish/unpublish). */
|
|
2845
|
+
archetypes(): HttpArchetypes;
|
|
2846
|
+
/** ElementType management (get/list/getResolved/create/update/delete/publish/unpublish). */
|
|
2847
|
+
elementTypes(): HttpElementTypes;
|
|
2761
2848
|
}
|
|
2762
2849
|
/**
|
|
2763
2850
|
* HTTP-based workspace client for SSR
|
|
@@ -3243,6 +3330,10 @@ declare class Archetypes {
|
|
|
3243
3330
|
* Unpublish an Archetype
|
|
3244
3331
|
*/
|
|
3245
3332
|
unpublish(name: string): Promise<unknown>;
|
|
3333
|
+
/**
|
|
3334
|
+
* Get resolved Archetype with full inheritance applied
|
|
3335
|
+
*/
|
|
3336
|
+
getResolved(name: string): Promise<unknown>;
|
|
3246
3337
|
}
|
|
3247
3338
|
|
|
3248
3339
|
/**
|
|
@@ -3280,6 +3371,10 @@ declare class ElementTypes {
|
|
|
3280
3371
|
* Unpublish an ElementType
|
|
3281
3372
|
*/
|
|
3282
3373
|
unpublish(name: string): Promise<unknown>;
|
|
3374
|
+
/**
|
|
3375
|
+
* Get resolved ElementType with full inheritance applied
|
|
3376
|
+
*/
|
|
3377
|
+
getResolved(name: string): Promise<unknown>;
|
|
3283
3378
|
}
|
|
3284
3379
|
|
|
3285
3380
|
/**
|
|
@@ -6117,4 +6212,4 @@ declare class ConversationListStore {
|
|
|
6117
6212
|
private notify;
|
|
6118
6213
|
}
|
|
6119
6214
|
|
|
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,
|
|
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 };
|
|
@@ -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-BLvjPi59.mjs';
|
|
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-BLvjPi59.js';
|
|
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-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';
|
|
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-CTugqnaE.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-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';
|
|
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-eafuMbyi.js';
|
|
6
6
|
export { RaisinVue, VueComputedRef, VueLike, VueRef, createRaisinVue } from './vue.js';
|
|
7
7
|
import 'events';
|
|
8
8
|
import 'fs/promises';
|