@raisindb/client 0.2.6 → 0.3.0
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-CU5mi_PE.d.mts → conversation-list-store-CiIolSwh.d.mts} +67 -8
- package/dist/{conversation-list-store-CU5mi_PE.d.ts → conversation-list-store-CiIolSwh.d.ts} +67 -8
- package/dist/{index-DDus5a7P.d.mts → index-C6jJZBKh.d.mts} +1 -1
- package/dist/{index-sFvMihQA.d.ts → index-CCPaX_2I.d.ts} +1 -1
- package/dist/index.d.mts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js.map +1 -1
- 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-CpXHXg34.d.mts → svelte-sql-CFGsU_zX.d.mts} +1 -1
- package/dist/{svelte-sql-B2G94Q9p.d.ts → svelte-sql-DP7qPVv8.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-CU5mi_PE.d.mts → conversation-list-store-CiIolSwh.d.mts}
RENAMED
|
@@ -5098,8 +5098,20 @@ declare const RETRY_STRATEGIES: {
|
|
|
5098
5098
|
};
|
|
5099
5099
|
};
|
|
5100
5100
|
type RetryStrategy = keyof typeof RETRY_STRATEGIES;
|
|
5101
|
-
/**
|
|
5102
|
-
|
|
5101
|
+
/** The human task types the flow runtime understands semantically */
|
|
5102
|
+
declare const CANONICAL_TASK_TYPES: readonly ["approval", "input", "review", "action"];
|
|
5103
|
+
/** A canonical human task type */
|
|
5104
|
+
type CanonicalTaskType = (typeof CANONICAL_TASK_TYPES)[number];
|
|
5105
|
+
/**
|
|
5106
|
+
* Human task type.
|
|
5107
|
+
*
|
|
5108
|
+
* The canonical types are suggestions, not a closed set: an application may
|
|
5109
|
+
* define its own task vocabulary, and any slug matching
|
|
5110
|
+
* `[a-z][a-z0-9_-]{0,63}` is carried through to the task node verbatim for
|
|
5111
|
+
* a task UI to dispatch on. Spelled this way so the canonical values still
|
|
5112
|
+
* autocomplete.
|
|
5113
|
+
*/
|
|
5114
|
+
type HumanTaskType = CanonicalTaskType | (string & {});
|
|
5103
5115
|
/** Human task option for approval tasks */
|
|
5104
5116
|
interface TaskOption {
|
|
5105
5117
|
/** Option value returned when selected */
|
|
@@ -5201,7 +5213,7 @@ interface FlowStepProperties {
|
|
|
5201
5213
|
/** Whether step is disabled */
|
|
5202
5214
|
disabled?: boolean;
|
|
5203
5215
|
/** Step type - distinguishes AI agent, chat, and human task steps */
|
|
5204
|
-
step_type?: 'default' | 'ai_agent' | 'human_task' | 'chat';
|
|
5216
|
+
step_type?: 'default' | 'ai_agent' | 'human_task' | 'chat' | 'wait' | 'sub_flow' | 'decision';
|
|
5205
5217
|
/** Prompt for ai_agent steps (template expressions supported) */
|
|
5206
5218
|
prompt?: string;
|
|
5207
5219
|
/** Retry configuration for this step */
|
|
@@ -5236,16 +5248,42 @@ interface FlowStepProperties {
|
|
|
5236
5248
|
options?: TaskOption[];
|
|
5237
5249
|
/** JSON schema for input tasks */
|
|
5238
5250
|
input_schema?: object;
|
|
5239
|
-
/**
|
|
5240
|
-
|
|
5241
|
-
|
|
5242
|
-
|
|
5251
|
+
/**
|
|
5252
|
+
* Task due time in seconds from creation (doubles as the wait deadline).
|
|
5253
|
+
* A template expression (e.g. "${input.due_seconds}") is allowed, so a
|
|
5254
|
+
* deadline can come from data instead of being authored into the flow.
|
|
5255
|
+
*/
|
|
5256
|
+
due_in_seconds?: number | string;
|
|
5257
|
+
/** Task priority (1-5, where 5 is highest); a template expression is allowed */
|
|
5258
|
+
priority?: number | string;
|
|
5243
5259
|
/** Minimum confidence (0-1) for an agent assignee's decision to be
|
|
5244
5260
|
* accepted; below it the task escalates (default 0.7) */
|
|
5245
5261
|
min_confidence?: number;
|
|
5246
5262
|
/** Human assignee to escalate to when an agent assignee fails or is
|
|
5247
5263
|
* not confident enough */
|
|
5248
5264
|
escalation_assignee?: string;
|
|
5265
|
+
/** What to wait for (defaults to 'delay') */
|
|
5266
|
+
wait_type?: 'delay' | 'until' | 'event' | 'cron';
|
|
5267
|
+
/** Duration for a 'delay' wait, e.g. "30m" (templates allowed) */
|
|
5268
|
+
duration?: string;
|
|
5269
|
+
/** Absolute timestamp for an 'until' wait (templates allowed) */
|
|
5270
|
+
until?: string;
|
|
5271
|
+
/** Event type for an 'event' wait */
|
|
5272
|
+
event_type?: string;
|
|
5273
|
+
/** Optional deadline for an 'event' wait */
|
|
5274
|
+
timeout?: string;
|
|
5275
|
+
/** Cron expression for a 'cron' wait */
|
|
5276
|
+
cron?: string;
|
|
5277
|
+
/** The flow to invoke */
|
|
5278
|
+
flow_ref?: RaisinReference;
|
|
5279
|
+
/** Input mapping for the child flow (template expressions) */
|
|
5280
|
+
input_mapping?: object;
|
|
5281
|
+
/** Run the child flow asynchronously */
|
|
5282
|
+
async?: boolean;
|
|
5283
|
+
/** Node id to run when the condition is true (defaults to the next sibling) */
|
|
5284
|
+
yes_branch?: string;
|
|
5285
|
+
/** Node id to run when the condition is false (defaults to the next sibling) */
|
|
5286
|
+
no_branch?: string;
|
|
5249
5287
|
/** Chat step configuration */
|
|
5250
5288
|
chat_config?: ChatStepConfig;
|
|
5251
5289
|
}
|
|
@@ -5264,6 +5302,23 @@ interface ContainerRule {
|
|
|
5264
5302
|
/** ID of next step if condition matches */
|
|
5265
5303
|
next_step: string;
|
|
5266
5304
|
}
|
|
5305
|
+
/**
|
|
5306
|
+
* Fan-out configuration for parallel containers.
|
|
5307
|
+
*
|
|
5308
|
+
* Without it, a parallel container's children ARE its branches - a fixed
|
|
5309
|
+
* set, all running at once. With it, the children form ONE branch subgraph
|
|
5310
|
+
* that runs once per item of a runtime collection, and the container joins
|
|
5311
|
+
* every one of those runs. That is what a per-item human task needs: one
|
|
5312
|
+
* task per row, then a real join.
|
|
5313
|
+
*/
|
|
5314
|
+
interface FanOutConfig {
|
|
5315
|
+
/** Collection expression to fan out over, e.g. "${steps.plan.items}" */
|
|
5316
|
+
over: string;
|
|
5317
|
+
/** Safety cap on branches created (fan-out width comes from runtime data) */
|
|
5318
|
+
max_branches?: number;
|
|
5319
|
+
}
|
|
5320
|
+
/** How a parallel container joins its branches */
|
|
5321
|
+
type MergeStrategy = 'merge_all' | 'first_success' | 'all_success';
|
|
5267
5322
|
/** Container node with children (AND/OR/Parallel/AI) */
|
|
5268
5323
|
interface FlowDefinitionContainer extends FlowDefinitionNodeBase {
|
|
5269
5324
|
node_type: 'raisin:FlowContainer';
|
|
@@ -5272,6 +5327,10 @@ interface FlowDefinitionContainer extends FlowDefinitionNodeBase {
|
|
|
5272
5327
|
children: FlowDefinitionNode[];
|
|
5273
5328
|
/** AI container configuration (only for ai_sequence type) */
|
|
5274
5329
|
ai_config?: AiContainerConfig;
|
|
5330
|
+
/** Fan-out configuration (only for parallel type): one branch per collection item */
|
|
5331
|
+
fan_out?: FanOutConfig;
|
|
5332
|
+
/** How branches are joined (only for parallel type; default "merge_all") */
|
|
5333
|
+
merge_strategy?: MergeStrategy;
|
|
5275
5334
|
/** Container timeout in milliseconds */
|
|
5276
5335
|
timeout_ms?: number;
|
|
5277
5336
|
}
|
|
@@ -6839,4 +6898,4 @@ declare class ConversationListStore {
|
|
|
6839
6898
|
private notify;
|
|
6840
6899
|
}
|
|
6841
6900
|
|
|
6842
|
-
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 SqlQueryPayload 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 ConnectionOptions as aA, MemoryTokenStorage as aB, LocalStorageTokenStorage as aC, type TokenStorage as aD, type IdentityAuthResponse as aE, type IdentityAuthError as aF, type RequestEnvelope as aG, type ResponseEnvelope as aH, type NodeEventPayload as aI, type RequestContext as aJ, type ErrorInfo as aK, type ResponseMetadata as aL, type IncomingRelation as aM, type NodeRelationships as aN, type NodeCreatePayload as aO, type NodeCreateDeepPayload as aP, type NodeUpdatePayload as aQ, type NodeDeletePayload as aR, type NodeGetPayload as aS, type NodeHistoryPayload as aT, type RevisionEntry as aU, type AuditQueryPayload as aV, type AuditLogEntry as aW, type NodeQueryPayload as aX, type RelationAddPayload as aY, type RelationRemovePayload as aZ, type RelationsGetPayload as a_, Archetypes as aa, ElementTypes as ab, Branches as ac, type BranchDiff as ad, type BranchDivergence as ae, type CrossBranchCopySummary as af, type CrossBranchNodeChange as ag, type NodeDiffInfo as ah, Tags as ai, SchedulerApi as aj, type ListInvocationsFilter as ak, type ScheduleInvocationOptions as al, type ScheduledInvocation as am, type ScheduledInvocationRef as an, type ScheduledInvocationTargetKind as ao, HttpNodeTypes as ap, HttpArchetypes as aq, HttpElementTypes as ar, type SchemaCommit as as, SqlQuery as at, createSqlHandler as au, EventHandler as av, EventSubscriptions as aw, type EventCallback as ax, type Subscription as ay, Connection as az, type ChatMessage as b, HttpFunctionsApi as b$, type SqlResult as b0, type Workspace as b1, type WorkspaceCreatePayload as b2, type WorkspaceGetPayload as b3, type WorkspaceDeletePayload as b4, type WorkspaceUpdatePayload as b5, type SubscribePayload as b6, type UnsubscribePayload as b7, type SubscriptionResponse as b8, type AuthenticatePayload as b9, type CreateUploadRequest as bA, type CreateUploadResponse as bB, type ChunkUploadResponse as bC, type UploadStatusResponse as bD, type CompleteUploadRequest as bE, type CompleteUploadResponse as bF, type BatchFileProgress as bG, UploadError as bH, DEFAULT_CHUNK_SIZE as bI, DEFAULT_MAX_RETRIES as bJ, DEFAULT_RETRY_BASE_DELAY as bK, DEFAULT_RETRY_MAX_DELAY as bL, DEFAULT_NODE_TYPE as bM, DEFAULT_BRANCH as bN, DEFAULT_BATCH_CONCURRENCY as bO, BrowserFileSource as bP, NodeFileSource as bQ, createFileSource as bR, getContentType as bS, calculateChunkCount as bT, getChunkRange as bU, Uploader as bV, UploadManager as bW, FlowClient as bX, type FlowRunResult as bY, type FlowCollectResult as bZ, FunctionsApi as b_, type AuthenticateResponse as ba, type RefreshTokenPayload as bb, type TransactionBeginPayload as bc, type TransactionBeginResponse as bd, type TransactionCommitPayload as be, type TransactionCommitResponse as bf, type TransactionRollbackPayload as bg, RequestType as bh, ResponseStatus as bi, encodeMessage as bj, decodeMessage as bk, isEventMessage as bl, isResponseEnvelope as bm, ReconnectManager as bn, LogLevel as bo, logger as bp, configureLogger as bq, setLogLevel as br, getLogLevel as bs, getLoggerConfig as bt, type LoggerConfig as bu, type UploadStatus as bv, type UploadOptions as bw, type UploadProgress as bx, type UploadResult as by, type Upload as bz, ConversationStore as c,
|
|
6901
|
+
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 SqlQueryPayload 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 ConnectionOptions as aA, MemoryTokenStorage as aB, LocalStorageTokenStorage as aC, type TokenStorage as aD, type IdentityAuthResponse as aE, type IdentityAuthError as aF, type RequestEnvelope as aG, type ResponseEnvelope as aH, type NodeEventPayload as aI, type RequestContext as aJ, type ErrorInfo as aK, type ResponseMetadata as aL, type IncomingRelation as aM, type NodeRelationships as aN, type NodeCreatePayload as aO, type NodeCreateDeepPayload as aP, type NodeUpdatePayload as aQ, type NodeDeletePayload as aR, type NodeGetPayload as aS, type NodeHistoryPayload as aT, type RevisionEntry as aU, type AuditQueryPayload as aV, type AuditLogEntry as aW, type NodeQueryPayload as aX, type RelationAddPayload as aY, type RelationRemovePayload as aZ, type RelationsGetPayload as a_, Archetypes as aa, ElementTypes as ab, Branches as ac, type BranchDiff as ad, type BranchDivergence as ae, type CrossBranchCopySummary as af, type CrossBranchNodeChange as ag, type NodeDiffInfo as ah, Tags as ai, SchedulerApi as aj, type ListInvocationsFilter as ak, type ScheduleInvocationOptions as al, type ScheduledInvocation as am, type ScheduledInvocationRef as an, type ScheduledInvocationTargetKind as ao, HttpNodeTypes as ap, HttpArchetypes as aq, HttpElementTypes as ar, type SchemaCommit as as, SqlQuery as at, createSqlHandler as au, EventHandler as av, EventSubscriptions as aw, type EventCallback as ax, type Subscription as ay, Connection as az, type ChatMessage as b, HttpFunctionsApi as b$, type SqlResult as b0, type Workspace as b1, type WorkspaceCreatePayload as b2, type WorkspaceGetPayload as b3, type WorkspaceDeletePayload as b4, type WorkspaceUpdatePayload as b5, type SubscribePayload as b6, type UnsubscribePayload as b7, type SubscriptionResponse as b8, type AuthenticatePayload as b9, type CreateUploadRequest as bA, type CreateUploadResponse as bB, type ChunkUploadResponse as bC, type UploadStatusResponse as bD, type CompleteUploadRequest as bE, type CompleteUploadResponse as bF, type BatchFileProgress as bG, UploadError as bH, DEFAULT_CHUNK_SIZE as bI, DEFAULT_MAX_RETRIES as bJ, DEFAULT_RETRY_BASE_DELAY as bK, DEFAULT_RETRY_MAX_DELAY as bL, DEFAULT_NODE_TYPE as bM, DEFAULT_BRANCH as bN, DEFAULT_BATCH_CONCURRENCY as bO, BrowserFileSource as bP, NodeFileSource as bQ, createFileSource as bR, getContentType as bS, calculateChunkCount as bT, getChunkRange as bU, Uploader as bV, UploadManager as bW, FlowClient as bX, type FlowRunResult as bY, type FlowCollectResult as bZ, FunctionsApi as b_, type AuthenticateResponse as ba, type RefreshTokenPayload as bb, type TransactionBeginPayload as bc, type TransactionBeginResponse as bd, type TransactionCommitPayload as be, type TransactionCommitResponse as bf, type TransactionRollbackPayload as bg, RequestType as bh, ResponseStatus as bi, encodeMessage as bj, decodeMessage as bk, isEventMessage as bl, isResponseEnvelope as bm, ReconnectManager as bn, LogLevel as bo, logger as bp, configureLogger as bq, setLogLevel as br, getLogLevel as bs, getLoggerConfig as bt, type LoggerConfig as bu, type UploadStatus as bv, type UploadOptions as bw, type UploadProgress as bx, type UploadResult as by, type Upload as bz, ConversationStore as c, isFlowDefinitionStep as c$, type FunctionInvokeOptions as c0, type FunctionInvokeResponse as c1, type FunctionInvokeSyncResponse as c2, McpClient as c3, type McpTransport as c4, type McpFrameStream as c5, type McpJsonRpcFrame as c6, type McpToolDescriptor as c7, type McpContentBlock as c8, type McpCallToolResult as c9, type RetryConfig as cA, type RetryStrategy as cB, type HumanTaskType as cC, type CanonicalTaskType as cD, type TaskOption as cE, type HandoffTarget as cF, type ChatTerminationMode as cG, type ChatTerminationConfig as cH, type ChatStepConfig as cI, type AiToolMode as cJ, type AiErrorBehavior as cK, type AiContainerConfig as cL, type FlowDefinitionNodeBase as cM, type FlowStepProperties as cN, type FlowDefinitionStep as cO, type ContainerRule as cP, type FanOutConfig as cQ, type MergeStrategy as cR, type FlowDefinitionContainer as cS, type FlowDefinitionNode as cT, type FlowDefinition as cU, type InboxTask as cV, type InboxTaskStatus as cW, type TaskCompletionResult as cX, RETRY_STRATEGIES as cY, getRefDisplayName as cZ, getRefPath as c_, type McpResourceContents as ca, type McpReadResourceResult as cb, type McpResourceUpdate as cc, type McpResourceSubscription as cd, type FlowRunResponse as ce, type FlowInstanceStatus as cf, type FlowInstanceStatusResponse as cg, type StepStartedEvent as ch, type StepCompletedEvent as ci, type StepFailedEvent as cj, type FlowWaitingEvent as ck, type FlowResumedEvent as cl, type FlowCompletedEvent as cm, type FlowFailedEvent as cn, type TextChunkEvent as co, type ToolCallStartedEvent as cp, type ToolCallCompletedEvent as cq, type ThoughtChunkEvent as cr, type ConversationCreatedEvent as cs, type MessageSavedEvent as ct, type LogEvent as cu, isTerminalEvent as cv, type RaisinReference as cw, type ContainerType as cx, type StepErrorBehavior as cy, type FlowErrorStrategy as cz, type ConversationListItem as d, isFlowDefinitionContainer as d0, InboxApi as d1, type InboxApiOptions as d2, type ListTasksOptions as d3, type ListTasksResponse as d4, type ChatEvent as d5, type Conversation as d6, type ConversationType as d7, type ConversationStatus as d8, type MessageBody as d9, projectPlansFromMessages as dA, type ChatTextChunkEvent as da, type ChatAssistantMessageEvent as db, type ChatWaitingEvent as dc, type ChatCompletedEvent as dd, type ChatFailedEvent as de, type ChatDoneEvent as df, type ChatToolCallStartedEvent as dg, type ChatToolCallCompletedEvent as dh, type ChatThoughtChunkEvent as di, type ToolCallRecord as dj, type MessageChild as dk, type PlanTask as dl, type ChatConversationCreatedEvent as dm, type ChatMessageSavedEvent as dn, type ChatMessageDeliveredEvent as dp, type ChatLogEvent as dq, ConversationManager as dr, DEFAULT_SEND_MESSAGE_INACTIVITY_TIMEOUT_MS as ds, type ListConversationsOptions as dt, type CreateConversationOptions as du, type SendMessageOptions as dv, type ConversationSubscription as dw, type PlanActionReceipt as dx, type PlanActionOptions as dy, type ConversationManagerOptions as dz, 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-CU5mi_PE.d.ts → conversation-list-store-CiIolSwh.d.ts}
RENAMED
|
@@ -5098,8 +5098,20 @@ declare const RETRY_STRATEGIES: {
|
|
|
5098
5098
|
};
|
|
5099
5099
|
};
|
|
5100
5100
|
type RetryStrategy = keyof typeof RETRY_STRATEGIES;
|
|
5101
|
-
/**
|
|
5102
|
-
|
|
5101
|
+
/** The human task types the flow runtime understands semantically */
|
|
5102
|
+
declare const CANONICAL_TASK_TYPES: readonly ["approval", "input", "review", "action"];
|
|
5103
|
+
/** A canonical human task type */
|
|
5104
|
+
type CanonicalTaskType = (typeof CANONICAL_TASK_TYPES)[number];
|
|
5105
|
+
/**
|
|
5106
|
+
* Human task type.
|
|
5107
|
+
*
|
|
5108
|
+
* The canonical types are suggestions, not a closed set: an application may
|
|
5109
|
+
* define its own task vocabulary, and any slug matching
|
|
5110
|
+
* `[a-z][a-z0-9_-]{0,63}` is carried through to the task node verbatim for
|
|
5111
|
+
* a task UI to dispatch on. Spelled this way so the canonical values still
|
|
5112
|
+
* autocomplete.
|
|
5113
|
+
*/
|
|
5114
|
+
type HumanTaskType = CanonicalTaskType | (string & {});
|
|
5103
5115
|
/** Human task option for approval tasks */
|
|
5104
5116
|
interface TaskOption {
|
|
5105
5117
|
/** Option value returned when selected */
|
|
@@ -5201,7 +5213,7 @@ interface FlowStepProperties {
|
|
|
5201
5213
|
/** Whether step is disabled */
|
|
5202
5214
|
disabled?: boolean;
|
|
5203
5215
|
/** Step type - distinguishes AI agent, chat, and human task steps */
|
|
5204
|
-
step_type?: 'default' | 'ai_agent' | 'human_task' | 'chat';
|
|
5216
|
+
step_type?: 'default' | 'ai_agent' | 'human_task' | 'chat' | 'wait' | 'sub_flow' | 'decision';
|
|
5205
5217
|
/** Prompt for ai_agent steps (template expressions supported) */
|
|
5206
5218
|
prompt?: string;
|
|
5207
5219
|
/** Retry configuration for this step */
|
|
@@ -5236,16 +5248,42 @@ interface FlowStepProperties {
|
|
|
5236
5248
|
options?: TaskOption[];
|
|
5237
5249
|
/** JSON schema for input tasks */
|
|
5238
5250
|
input_schema?: object;
|
|
5239
|
-
/**
|
|
5240
|
-
|
|
5241
|
-
|
|
5242
|
-
|
|
5251
|
+
/**
|
|
5252
|
+
* Task due time in seconds from creation (doubles as the wait deadline).
|
|
5253
|
+
* A template expression (e.g. "${input.due_seconds}") is allowed, so a
|
|
5254
|
+
* deadline can come from data instead of being authored into the flow.
|
|
5255
|
+
*/
|
|
5256
|
+
due_in_seconds?: number | string;
|
|
5257
|
+
/** Task priority (1-5, where 5 is highest); a template expression is allowed */
|
|
5258
|
+
priority?: number | string;
|
|
5243
5259
|
/** Minimum confidence (0-1) for an agent assignee's decision to be
|
|
5244
5260
|
* accepted; below it the task escalates (default 0.7) */
|
|
5245
5261
|
min_confidence?: number;
|
|
5246
5262
|
/** Human assignee to escalate to when an agent assignee fails or is
|
|
5247
5263
|
* not confident enough */
|
|
5248
5264
|
escalation_assignee?: string;
|
|
5265
|
+
/** What to wait for (defaults to 'delay') */
|
|
5266
|
+
wait_type?: 'delay' | 'until' | 'event' | 'cron';
|
|
5267
|
+
/** Duration for a 'delay' wait, e.g. "30m" (templates allowed) */
|
|
5268
|
+
duration?: string;
|
|
5269
|
+
/** Absolute timestamp for an 'until' wait (templates allowed) */
|
|
5270
|
+
until?: string;
|
|
5271
|
+
/** Event type for an 'event' wait */
|
|
5272
|
+
event_type?: string;
|
|
5273
|
+
/** Optional deadline for an 'event' wait */
|
|
5274
|
+
timeout?: string;
|
|
5275
|
+
/** Cron expression for a 'cron' wait */
|
|
5276
|
+
cron?: string;
|
|
5277
|
+
/** The flow to invoke */
|
|
5278
|
+
flow_ref?: RaisinReference;
|
|
5279
|
+
/** Input mapping for the child flow (template expressions) */
|
|
5280
|
+
input_mapping?: object;
|
|
5281
|
+
/** Run the child flow asynchronously */
|
|
5282
|
+
async?: boolean;
|
|
5283
|
+
/** Node id to run when the condition is true (defaults to the next sibling) */
|
|
5284
|
+
yes_branch?: string;
|
|
5285
|
+
/** Node id to run when the condition is false (defaults to the next sibling) */
|
|
5286
|
+
no_branch?: string;
|
|
5249
5287
|
/** Chat step configuration */
|
|
5250
5288
|
chat_config?: ChatStepConfig;
|
|
5251
5289
|
}
|
|
@@ -5264,6 +5302,23 @@ interface ContainerRule {
|
|
|
5264
5302
|
/** ID of next step if condition matches */
|
|
5265
5303
|
next_step: string;
|
|
5266
5304
|
}
|
|
5305
|
+
/**
|
|
5306
|
+
* Fan-out configuration for parallel containers.
|
|
5307
|
+
*
|
|
5308
|
+
* Without it, a parallel container's children ARE its branches - a fixed
|
|
5309
|
+
* set, all running at once. With it, the children form ONE branch subgraph
|
|
5310
|
+
* that runs once per item of a runtime collection, and the container joins
|
|
5311
|
+
* every one of those runs. That is what a per-item human task needs: one
|
|
5312
|
+
* task per row, then a real join.
|
|
5313
|
+
*/
|
|
5314
|
+
interface FanOutConfig {
|
|
5315
|
+
/** Collection expression to fan out over, e.g. "${steps.plan.items}" */
|
|
5316
|
+
over: string;
|
|
5317
|
+
/** Safety cap on branches created (fan-out width comes from runtime data) */
|
|
5318
|
+
max_branches?: number;
|
|
5319
|
+
}
|
|
5320
|
+
/** How a parallel container joins its branches */
|
|
5321
|
+
type MergeStrategy = 'merge_all' | 'first_success' | 'all_success';
|
|
5267
5322
|
/** Container node with children (AND/OR/Parallel/AI) */
|
|
5268
5323
|
interface FlowDefinitionContainer extends FlowDefinitionNodeBase {
|
|
5269
5324
|
node_type: 'raisin:FlowContainer';
|
|
@@ -5272,6 +5327,10 @@ interface FlowDefinitionContainer extends FlowDefinitionNodeBase {
|
|
|
5272
5327
|
children: FlowDefinitionNode[];
|
|
5273
5328
|
/** AI container configuration (only for ai_sequence type) */
|
|
5274
5329
|
ai_config?: AiContainerConfig;
|
|
5330
|
+
/** Fan-out configuration (only for parallel type): one branch per collection item */
|
|
5331
|
+
fan_out?: FanOutConfig;
|
|
5332
|
+
/** How branches are joined (only for parallel type; default "merge_all") */
|
|
5333
|
+
merge_strategy?: MergeStrategy;
|
|
5275
5334
|
/** Container timeout in milliseconds */
|
|
5276
5335
|
timeout_ms?: number;
|
|
5277
5336
|
}
|
|
@@ -6839,4 +6898,4 @@ declare class ConversationListStore {
|
|
|
6839
6898
|
private notify;
|
|
6840
6899
|
}
|
|
6841
6900
|
|
|
6842
|
-
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 SqlQueryPayload 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 ConnectionOptions as aA, MemoryTokenStorage as aB, LocalStorageTokenStorage as aC, type TokenStorage as aD, type IdentityAuthResponse as aE, type IdentityAuthError as aF, type RequestEnvelope as aG, type ResponseEnvelope as aH, type NodeEventPayload as aI, type RequestContext as aJ, type ErrorInfo as aK, type ResponseMetadata as aL, type IncomingRelation as aM, type NodeRelationships as aN, type NodeCreatePayload as aO, type NodeCreateDeepPayload as aP, type NodeUpdatePayload as aQ, type NodeDeletePayload as aR, type NodeGetPayload as aS, type NodeHistoryPayload as aT, type RevisionEntry as aU, type AuditQueryPayload as aV, type AuditLogEntry as aW, type NodeQueryPayload as aX, type RelationAddPayload as aY, type RelationRemovePayload as aZ, type RelationsGetPayload as a_, Archetypes as aa, ElementTypes as ab, Branches as ac, type BranchDiff as ad, type BranchDivergence as ae, type CrossBranchCopySummary as af, type CrossBranchNodeChange as ag, type NodeDiffInfo as ah, Tags as ai, SchedulerApi as aj, type ListInvocationsFilter as ak, type ScheduleInvocationOptions as al, type ScheduledInvocation as am, type ScheduledInvocationRef as an, type ScheduledInvocationTargetKind as ao, HttpNodeTypes as ap, HttpArchetypes as aq, HttpElementTypes as ar, type SchemaCommit as as, SqlQuery as at, createSqlHandler as au, EventHandler as av, EventSubscriptions as aw, type EventCallback as ax, type Subscription as ay, Connection as az, type ChatMessage as b, HttpFunctionsApi as b$, type SqlResult as b0, type Workspace as b1, type WorkspaceCreatePayload as b2, type WorkspaceGetPayload as b3, type WorkspaceDeletePayload as b4, type WorkspaceUpdatePayload as b5, type SubscribePayload as b6, type UnsubscribePayload as b7, type SubscriptionResponse as b8, type AuthenticatePayload as b9, type CreateUploadRequest as bA, type CreateUploadResponse as bB, type ChunkUploadResponse as bC, type UploadStatusResponse as bD, type CompleteUploadRequest as bE, type CompleteUploadResponse as bF, type BatchFileProgress as bG, UploadError as bH, DEFAULT_CHUNK_SIZE as bI, DEFAULT_MAX_RETRIES as bJ, DEFAULT_RETRY_BASE_DELAY as bK, DEFAULT_RETRY_MAX_DELAY as bL, DEFAULT_NODE_TYPE as bM, DEFAULT_BRANCH as bN, DEFAULT_BATCH_CONCURRENCY as bO, BrowserFileSource as bP, NodeFileSource as bQ, createFileSource as bR, getContentType as bS, calculateChunkCount as bT, getChunkRange as bU, Uploader as bV, UploadManager as bW, FlowClient as bX, type FlowRunResult as bY, type FlowCollectResult as bZ, FunctionsApi as b_, type AuthenticateResponse as ba, type RefreshTokenPayload as bb, type TransactionBeginPayload as bc, type TransactionBeginResponse as bd, type TransactionCommitPayload as be, type TransactionCommitResponse as bf, type TransactionRollbackPayload as bg, RequestType as bh, ResponseStatus as bi, encodeMessage as bj, decodeMessage as bk, isEventMessage as bl, isResponseEnvelope as bm, ReconnectManager as bn, LogLevel as bo, logger as bp, configureLogger as bq, setLogLevel as br, getLogLevel as bs, getLoggerConfig as bt, type LoggerConfig as bu, type UploadStatus as bv, type UploadOptions as bw, type UploadProgress as bx, type UploadResult as by, type Upload as bz, ConversationStore as c,
|
|
6901
|
+
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 SqlQueryPayload 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 ConnectionOptions as aA, MemoryTokenStorage as aB, LocalStorageTokenStorage as aC, type TokenStorage as aD, type IdentityAuthResponse as aE, type IdentityAuthError as aF, type RequestEnvelope as aG, type ResponseEnvelope as aH, type NodeEventPayload as aI, type RequestContext as aJ, type ErrorInfo as aK, type ResponseMetadata as aL, type IncomingRelation as aM, type NodeRelationships as aN, type NodeCreatePayload as aO, type NodeCreateDeepPayload as aP, type NodeUpdatePayload as aQ, type NodeDeletePayload as aR, type NodeGetPayload as aS, type NodeHistoryPayload as aT, type RevisionEntry as aU, type AuditQueryPayload as aV, type AuditLogEntry as aW, type NodeQueryPayload as aX, type RelationAddPayload as aY, type RelationRemovePayload as aZ, type RelationsGetPayload as a_, Archetypes as aa, ElementTypes as ab, Branches as ac, type BranchDiff as ad, type BranchDivergence as ae, type CrossBranchCopySummary as af, type CrossBranchNodeChange as ag, type NodeDiffInfo as ah, Tags as ai, SchedulerApi as aj, type ListInvocationsFilter as ak, type ScheduleInvocationOptions as al, type ScheduledInvocation as am, type ScheduledInvocationRef as an, type ScheduledInvocationTargetKind as ao, HttpNodeTypes as ap, HttpArchetypes as aq, HttpElementTypes as ar, type SchemaCommit as as, SqlQuery as at, createSqlHandler as au, EventHandler as av, EventSubscriptions as aw, type EventCallback as ax, type Subscription as ay, Connection as az, type ChatMessage as b, HttpFunctionsApi as b$, type SqlResult as b0, type Workspace as b1, type WorkspaceCreatePayload as b2, type WorkspaceGetPayload as b3, type WorkspaceDeletePayload as b4, type WorkspaceUpdatePayload as b5, type SubscribePayload as b6, type UnsubscribePayload as b7, type SubscriptionResponse as b8, type AuthenticatePayload as b9, type CreateUploadRequest as bA, type CreateUploadResponse as bB, type ChunkUploadResponse as bC, type UploadStatusResponse as bD, type CompleteUploadRequest as bE, type CompleteUploadResponse as bF, type BatchFileProgress as bG, UploadError as bH, DEFAULT_CHUNK_SIZE as bI, DEFAULT_MAX_RETRIES as bJ, DEFAULT_RETRY_BASE_DELAY as bK, DEFAULT_RETRY_MAX_DELAY as bL, DEFAULT_NODE_TYPE as bM, DEFAULT_BRANCH as bN, DEFAULT_BATCH_CONCURRENCY as bO, BrowserFileSource as bP, NodeFileSource as bQ, createFileSource as bR, getContentType as bS, calculateChunkCount as bT, getChunkRange as bU, Uploader as bV, UploadManager as bW, FlowClient as bX, type FlowRunResult as bY, type FlowCollectResult as bZ, FunctionsApi as b_, type AuthenticateResponse as ba, type RefreshTokenPayload as bb, type TransactionBeginPayload as bc, type TransactionBeginResponse as bd, type TransactionCommitPayload as be, type TransactionCommitResponse as bf, type TransactionRollbackPayload as bg, RequestType as bh, ResponseStatus as bi, encodeMessage as bj, decodeMessage as bk, isEventMessage as bl, isResponseEnvelope as bm, ReconnectManager as bn, LogLevel as bo, logger as bp, configureLogger as bq, setLogLevel as br, getLogLevel as bs, getLoggerConfig as bt, type LoggerConfig as bu, type UploadStatus as bv, type UploadOptions as bw, type UploadProgress as bx, type UploadResult as by, type Upload as bz, ConversationStore as c, isFlowDefinitionStep as c$, type FunctionInvokeOptions as c0, type FunctionInvokeResponse as c1, type FunctionInvokeSyncResponse as c2, McpClient as c3, type McpTransport as c4, type McpFrameStream as c5, type McpJsonRpcFrame as c6, type McpToolDescriptor as c7, type McpContentBlock as c8, type McpCallToolResult as c9, type RetryConfig as cA, type RetryStrategy as cB, type HumanTaskType as cC, type CanonicalTaskType as cD, type TaskOption as cE, type HandoffTarget as cF, type ChatTerminationMode as cG, type ChatTerminationConfig as cH, type ChatStepConfig as cI, type AiToolMode as cJ, type AiErrorBehavior as cK, type AiContainerConfig as cL, type FlowDefinitionNodeBase as cM, type FlowStepProperties as cN, type FlowDefinitionStep as cO, type ContainerRule as cP, type FanOutConfig as cQ, type MergeStrategy as cR, type FlowDefinitionContainer as cS, type FlowDefinitionNode as cT, type FlowDefinition as cU, type InboxTask as cV, type InboxTaskStatus as cW, type TaskCompletionResult as cX, RETRY_STRATEGIES as cY, getRefDisplayName as cZ, getRefPath as c_, type McpResourceContents as ca, type McpReadResourceResult as cb, type McpResourceUpdate as cc, type McpResourceSubscription as cd, type FlowRunResponse as ce, type FlowInstanceStatus as cf, type FlowInstanceStatusResponse as cg, type StepStartedEvent as ch, type StepCompletedEvent as ci, type StepFailedEvent as cj, type FlowWaitingEvent as ck, type FlowResumedEvent as cl, type FlowCompletedEvent as cm, type FlowFailedEvent as cn, type TextChunkEvent as co, type ToolCallStartedEvent as cp, type ToolCallCompletedEvent as cq, type ThoughtChunkEvent as cr, type ConversationCreatedEvent as cs, type MessageSavedEvent as ct, type LogEvent as cu, isTerminalEvent as cv, type RaisinReference as cw, type ContainerType as cx, type StepErrorBehavior as cy, type FlowErrorStrategy as cz, type ConversationListItem as d, isFlowDefinitionContainer as d0, InboxApi as d1, type InboxApiOptions as d2, type ListTasksOptions as d3, type ListTasksResponse as d4, type ChatEvent as d5, type Conversation as d6, type ConversationType as d7, type ConversationStatus as d8, type MessageBody as d9, projectPlansFromMessages as dA, type ChatTextChunkEvent as da, type ChatAssistantMessageEvent as db, type ChatWaitingEvent as dc, type ChatCompletedEvent as dd, type ChatFailedEvent as de, type ChatDoneEvent as df, type ChatToolCallStartedEvent as dg, type ChatToolCallCompletedEvent as dh, type ChatThoughtChunkEvent as di, type ToolCallRecord as dj, type MessageChild as dk, type PlanTask as dl, type ChatConversationCreatedEvent as dm, type ChatMessageSavedEvent as dn, type ChatMessageDeliveredEvent as dp, type ChatLogEvent as dq, ConversationManager as dr, DEFAULT_SEND_MESSAGE_INACTIVITY_TIMEOUT_MS as ds, type ListConversationsOptions as dt, type CreateConversationOptions as du, type SendMessageOptions as dv, type ConversationSubscription as dw, type PlanActionReceipt as dx, type PlanActionOptions as dy, type ConversationManagerOptions as dz, 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-CiIolSwh.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-CiIolSwh.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-CiIolSwh.mjs';
|
|
2
|
+
export { cL as AiContainerConfig, cK as AiErrorBehavior, cJ as AiToolMode, aa as Archetypes, aW as AuditLogEntry, aV as AuditQueryPayload, G as AuthEvent, A as AuthManager, J as AuthStateChange, K as AuthStateChangeCallback, b9 as AuthenticatePayload, ba as AuthenticateResponse, bG as BatchFileProgress, ad as BranchDiff, ae as BranchDivergence, ac as Branches, bP as BrowserFileSource, cD as CanonicalTaskType, db as ChatAssistantMessageEvent, dd as ChatCompletedEvent, dm as ChatConversationCreatedEvent, df as ChatDoneEvent, d5 as ChatEvent, de as ChatFailedEvent, dq as ChatLogEvent, b as ChatMessage, dp as ChatMessageDeliveredEvent, dn as ChatMessageSavedEvent, cI as ChatStepConfig, cH as ChatTerminationConfig, cG as ChatTerminationMode, da as ChatTextChunkEvent, di as ChatThoughtChunkEvent, dh as ChatToolCallCompletedEvent, dg as ChatToolCallStartedEvent, dc as ChatWaitingEvent, bC as ChunkUploadResponse, x as ClientMode, bE as CompleteUploadRequest, bF as CompleteUploadResponse, az as Connection, aA as ConnectionOptions, C as ConnectionState, cP as ContainerRule, cx as ContainerType, d6 as Conversation, cs as ConversationCreatedEvent, d as ConversationListItem, h as ConversationListSnapshot, e as ConversationListStore, g as ConversationListStoreOptions, dr as ConversationManager, dz as ConversationManagerOptions, d8 as ConversationStatus, c as ConversationStore, f as ConversationStoreOptions, a as ConversationStoreSnapshot, dw as ConversationSubscription, d7 as ConversationType, du as CreateConvoOptions, bA as CreateUploadRequest, bB as CreateUploadResponse, af as CrossBranchCopySummary, ag as CrossBranchNodeChange, y as CurrentUser, bO as DEFAULT_BATCH_CONCURRENCY, bN as DEFAULT_BRANCH, bI as DEFAULT_CHUNK_SIZE, bJ as DEFAULT_MAX_RETRIES, bM as DEFAULT_NODE_TYPE, bK as DEFAULT_RETRY_BASE_DELAY, bL as DEFAULT_RETRY_MAX_DELAY, ds as DEFAULT_SEND_MESSAGE_INACTIVITY_TIMEOUT_MS, D as Database, Z as DatabaseHttpOptions, ab as ElementTypes, aK as ErrorInfo, ax as EventCallback, av as EventHandler, E as EventMessage, aw as EventSubscriptions, cQ as FanOutConfig, bX as FlowClient, F as FlowClientOptions, bZ as FlowCollectResult, cm as FlowCompletedEvent, cU as FlowDefinition, cS as FlowDefinitionContainer, cT as FlowDefinitionNode, cM as FlowDefinitionNodeBase, cO as FlowDefinitionStep, cz as FlowErrorStrategy, j as FlowExecutionEvent, cn as FlowFailedEvent, cf as FlowInstanceStatus, cg as FlowInstanceStatusResponse, cl as FlowResumedEvent, ce as FlowRunResponse, bY as FlowRunResult, cN as FlowStepProperties, ck as FlowWaitingEvent, i as FlowsApi, c0 as FunctionInvokeOptions, c1 as FunctionInvokeResponse, c2 as FunctionInvokeSyncResponse, b_ as FunctionsApi, cF as HandoffTarget, aq as HttpArchetypes, V as HttpCurrentUser, O as HttpDatabase, ar as HttpElementTypes, b$ as HttpFunctionsApi, ap as HttpNodeTypes, W as HttpUserNode, Q as HttpWorkspaceClient, cC as HumanTaskType, aF as IdentityAuthError, aE as IdentityAuthResponse, I as IdentityUser, d1 as InboxApi, d2 as InboxApiOptions, cV as InboxTask, cW as InboxTaskStatus, aM as IncomingRelation, dt as ListConversationsOptions, ak as ListInvocationsFilter, d3 as ListTasksOptions, d4 as ListTasksResponse, aC as LocalStorageTokenStorage, cu as LogEvent, bo as LogLevel, bu as LoggerConfig, c9 as McpCallToolResult, c3 as McpClient, c8 as McpContentBlock, c5 as McpFrameStream, c6 as McpJsonRpcFrame, cb as McpReadResourceResult, ca as McpResourceContents, cd as McpResourceSubscription, cc as McpResourceUpdate, c7 as McpToolDescriptor, c4 as McpTransport, aB as MemoryTokenStorage, cR as MergeStrategy, d9 as MessageBody, dk as MessageChild, ct as MessageSavedEvent, a4 as NodeCreateDeepOptions, aP as NodeCreateDeepPayload, a3 as NodeCreateOptions, aO as NodeCreatePayload, aR as NodeDeletePayload, ah as NodeDiffInfo, aI as NodeEventPayload, bQ as NodeFileSource, aS as NodeGetPayload, aT as NodeHistoryPayload, a2 as NodeOperations, a6 as NodeQueryOptions, aX as NodeQueryPayload, aN as NodeRelationships, a9 as NodeTypes, a5 as NodeUpdateOptions, aQ as NodeUpdatePayload, dy as PlanActionOptions, dx as PlanActionReceipt, P as PlanProjection, k as PlanProjectionTask, dl as PlanTask, cY as RETRY_STRATEGIES, cw as RaisinReference, bn as ReconnectManager, bb as RefreshTokenPayload, aY as RelationAddPayload, aZ as RelationRemovePayload, a_ as RelationsGetPayload, aJ as RequestContext, aG as RequestEnvelope, bh as RequestType, aH as ResponseEnvelope, aL as ResponseMetadata, bi as ResponseStatus, cA as RetryConfig, cB as RetryStrategy, aU as RevisionEntry, al as ScheduleInvocationOptions, am as ScheduledInvocation, an as ScheduledInvocationRef, ao as ScheduledInvocationTargetKind, aj as SchedulerApi, as as SchemaCommit, dv as SendMessageOptions, X as SignAssetOptions, Y as SignedAssetUrl, at as SqlQuery, a$ as SqlQueryPayload, b0 as SqlResult, ci as StepCompletedEvent, cy as StepErrorBehavior, cj as StepFailedEvent, ch as StepStartedEvent, b6 as SubscribePayload, ay as Subscription, S as SubscriptionFilters, b8 as SubscriptionResponse, ai as Tags, cX as TaskCompletionResult, cE as TaskOption, co as TextChunkEvent, cr as ThoughtChunkEvent, aD as TokenStorage, cq as ToolCallCompletedEvent, T as ToolCallInfo, dj as ToolCallRecord, cp as ToolCallStartedEvent, a7 as Transaction, bc as TransactionBeginPayload, bd as TransactionBeginResponse, be as TransactionCommitPayload, bf as TransactionCommitResponse, a8 as TransactionOptions, bg as TransactionRollbackPayload, b7 as UnsubscribePayload, bz as Upload, bH as UploadError, bW as UploadManager, bw as UploadOptions, bx as UploadProgress, by as UploadResult, bv as UploadStatus, bD as UploadStatusResponse, bV as Uploader, M as UserChangeCallback, L as UserChangeEvent, z as UserNode, b1 as Workspace, _ as WorkspaceClient, a0 as WorkspaceCreateOptions, b2 as WorkspaceCreatePayload, b4 as WorkspaceDeletePayload, b3 as WorkspaceGetPayload, $ as WorkspaceManager, a1 as WorkspaceUpdateOptions, b5 as WorkspaceUpdatePayload, bT as calculateChunkCount, bq as configureLogger, bR as createFileSource, au as createSqlHandler, bk as decodeMessage, bj as encodeMessage, bU as getChunkRange, bS as getContentType, bs as getLogLevel, bt as getLoggerConfig, cZ as getRefDisplayName, c_ as getRefPath, bl as isEventMessage, d0 as isFlowDefinitionContainer, c$ as isFlowDefinitionStep, bm as isResponseEnvelope, cv as isTerminalEvent, bp as logger, dA as projectPlansFromMessages, br as setLogLevel } from './conversation-list-store-CiIolSwh.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-C6jJZBKh.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-CFGsU_zX.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-CiIolSwh.js';
|
|
2
|
+
export { cL as AiContainerConfig, cK as AiErrorBehavior, cJ as AiToolMode, aa as Archetypes, aW as AuditLogEntry, aV as AuditQueryPayload, G as AuthEvent, A as AuthManager, J as AuthStateChange, K as AuthStateChangeCallback, b9 as AuthenticatePayload, ba as AuthenticateResponse, bG as BatchFileProgress, ad as BranchDiff, ae as BranchDivergence, ac as Branches, bP as BrowserFileSource, cD as CanonicalTaskType, db as ChatAssistantMessageEvent, dd as ChatCompletedEvent, dm as ChatConversationCreatedEvent, df as ChatDoneEvent, d5 as ChatEvent, de as ChatFailedEvent, dq as ChatLogEvent, b as ChatMessage, dp as ChatMessageDeliveredEvent, dn as ChatMessageSavedEvent, cI as ChatStepConfig, cH as ChatTerminationConfig, cG as ChatTerminationMode, da as ChatTextChunkEvent, di as ChatThoughtChunkEvent, dh as ChatToolCallCompletedEvent, dg as ChatToolCallStartedEvent, dc as ChatWaitingEvent, bC as ChunkUploadResponse, x as ClientMode, bE as CompleteUploadRequest, bF as CompleteUploadResponse, az as Connection, aA as ConnectionOptions, C as ConnectionState, cP as ContainerRule, cx as ContainerType, d6 as Conversation, cs as ConversationCreatedEvent, d as ConversationListItem, h as ConversationListSnapshot, e as ConversationListStore, g as ConversationListStoreOptions, dr as ConversationManager, dz as ConversationManagerOptions, d8 as ConversationStatus, c as ConversationStore, f as ConversationStoreOptions, a as ConversationStoreSnapshot, dw as ConversationSubscription, d7 as ConversationType, du as CreateConvoOptions, bA as CreateUploadRequest, bB as CreateUploadResponse, af as CrossBranchCopySummary, ag as CrossBranchNodeChange, y as CurrentUser, bO as DEFAULT_BATCH_CONCURRENCY, bN as DEFAULT_BRANCH, bI as DEFAULT_CHUNK_SIZE, bJ as DEFAULT_MAX_RETRIES, bM as DEFAULT_NODE_TYPE, bK as DEFAULT_RETRY_BASE_DELAY, bL as DEFAULT_RETRY_MAX_DELAY, ds as DEFAULT_SEND_MESSAGE_INACTIVITY_TIMEOUT_MS, D as Database, Z as DatabaseHttpOptions, ab as ElementTypes, aK as ErrorInfo, ax as EventCallback, av as EventHandler, E as EventMessage, aw as EventSubscriptions, cQ as FanOutConfig, bX as FlowClient, F as FlowClientOptions, bZ as FlowCollectResult, cm as FlowCompletedEvent, cU as FlowDefinition, cS as FlowDefinitionContainer, cT as FlowDefinitionNode, cM as FlowDefinitionNodeBase, cO as FlowDefinitionStep, cz as FlowErrorStrategy, j as FlowExecutionEvent, cn as FlowFailedEvent, cf as FlowInstanceStatus, cg as FlowInstanceStatusResponse, cl as FlowResumedEvent, ce as FlowRunResponse, bY as FlowRunResult, cN as FlowStepProperties, ck as FlowWaitingEvent, i as FlowsApi, c0 as FunctionInvokeOptions, c1 as FunctionInvokeResponse, c2 as FunctionInvokeSyncResponse, b_ as FunctionsApi, cF as HandoffTarget, aq as HttpArchetypes, V as HttpCurrentUser, O as HttpDatabase, ar as HttpElementTypes, b$ as HttpFunctionsApi, ap as HttpNodeTypes, W as HttpUserNode, Q as HttpWorkspaceClient, cC as HumanTaskType, aF as IdentityAuthError, aE as IdentityAuthResponse, I as IdentityUser, d1 as InboxApi, d2 as InboxApiOptions, cV as InboxTask, cW as InboxTaskStatus, aM as IncomingRelation, dt as ListConversationsOptions, ak as ListInvocationsFilter, d3 as ListTasksOptions, d4 as ListTasksResponse, aC as LocalStorageTokenStorage, cu as LogEvent, bo as LogLevel, bu as LoggerConfig, c9 as McpCallToolResult, c3 as McpClient, c8 as McpContentBlock, c5 as McpFrameStream, c6 as McpJsonRpcFrame, cb as McpReadResourceResult, ca as McpResourceContents, cd as McpResourceSubscription, cc as McpResourceUpdate, c7 as McpToolDescriptor, c4 as McpTransport, aB as MemoryTokenStorage, cR as MergeStrategy, d9 as MessageBody, dk as MessageChild, ct as MessageSavedEvent, a4 as NodeCreateDeepOptions, aP as NodeCreateDeepPayload, a3 as NodeCreateOptions, aO as NodeCreatePayload, aR as NodeDeletePayload, ah as NodeDiffInfo, aI as NodeEventPayload, bQ as NodeFileSource, aS as NodeGetPayload, aT as NodeHistoryPayload, a2 as NodeOperations, a6 as NodeQueryOptions, aX as NodeQueryPayload, aN as NodeRelationships, a9 as NodeTypes, a5 as NodeUpdateOptions, aQ as NodeUpdatePayload, dy as PlanActionOptions, dx as PlanActionReceipt, P as PlanProjection, k as PlanProjectionTask, dl as PlanTask, cY as RETRY_STRATEGIES, cw as RaisinReference, bn as ReconnectManager, bb as RefreshTokenPayload, aY as RelationAddPayload, aZ as RelationRemovePayload, a_ as RelationsGetPayload, aJ as RequestContext, aG as RequestEnvelope, bh as RequestType, aH as ResponseEnvelope, aL as ResponseMetadata, bi as ResponseStatus, cA as RetryConfig, cB as RetryStrategy, aU as RevisionEntry, al as ScheduleInvocationOptions, am as ScheduledInvocation, an as ScheduledInvocationRef, ao as ScheduledInvocationTargetKind, aj as SchedulerApi, as as SchemaCommit, dv as SendMessageOptions, X as SignAssetOptions, Y as SignedAssetUrl, at as SqlQuery, a$ as SqlQueryPayload, b0 as SqlResult, ci as StepCompletedEvent, cy as StepErrorBehavior, cj as StepFailedEvent, ch as StepStartedEvent, b6 as SubscribePayload, ay as Subscription, S as SubscriptionFilters, b8 as SubscriptionResponse, ai as Tags, cX as TaskCompletionResult, cE as TaskOption, co as TextChunkEvent, cr as ThoughtChunkEvent, aD as TokenStorage, cq as ToolCallCompletedEvent, T as ToolCallInfo, dj as ToolCallRecord, cp as ToolCallStartedEvent, a7 as Transaction, bc as TransactionBeginPayload, bd as TransactionBeginResponse, be as TransactionCommitPayload, bf as TransactionCommitResponse, a8 as TransactionOptions, bg as TransactionRollbackPayload, b7 as UnsubscribePayload, bz as Upload, bH as UploadError, bW as UploadManager, bw as UploadOptions, bx as UploadProgress, by as UploadResult, bv as UploadStatus, bD as UploadStatusResponse, bV as Uploader, M as UserChangeCallback, L as UserChangeEvent, z as UserNode, b1 as Workspace, _ as WorkspaceClient, a0 as WorkspaceCreateOptions, b2 as WorkspaceCreatePayload, b4 as WorkspaceDeletePayload, b3 as WorkspaceGetPayload, $ as WorkspaceManager, a1 as WorkspaceUpdateOptions, b5 as WorkspaceUpdatePayload, bT as calculateChunkCount, bq as configureLogger, bR as createFileSource, au as createSqlHandler, bk as decodeMessage, bj as encodeMessage, bU as getChunkRange, bS as getContentType, bs as getLogLevel, bt as getLoggerConfig, cZ as getRefDisplayName, c_ as getRefPath, bl as isEventMessage, d0 as isFlowDefinitionContainer, c$ as isFlowDefinitionStep, bm as isResponseEnvelope, cv as isTerminalEvent, bp as logger, dA as projectPlansFromMessages, br as setLogLevel } from './conversation-list-store-CiIolSwh.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-CCPaX_2I.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-DP7qPVv8.js';
|
|
6
6
|
export { RaisinVue, VueComputedRef, VueLike, VueRef, createRaisinVue } from './vue.js';
|
|
7
7
|
import 'events';
|
|
8
8
|
import 'fs/promises';
|