@raisindb/client 0.5.10 → 0.5.11
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-CqgIk8Rn.d.mts → conversation-list-store-BNYosL8k.d.mts} +43 -1
- package/dist/{conversation-list-store-CqgIk8Rn.d.ts → conversation-list-store-BNYosL8k.d.ts} +43 -1
- package/dist/{index-CDUAMIub.d.ts → index-GaJToZKx.d.ts} +1 -1
- package/dist/{index-BD3rutlF.d.mts → index-UlXuwMoL.d.mts} +1 -1
- package/dist/index.d.mts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +22 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +22 -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-D9YU1wYS.d.ts → svelte-sql-bROcapdk.d.ts} +1 -1
- package/dist/{svelte-sql-l1wmTWM4.d.mts → svelte-sql-yLeGoj89.d.mts} +1 -1
- package/dist/svelte.d.mts +2 -2
- package/dist/svelte.d.ts +2 -2
- package/dist/vue.d.mts +2 -2
- package/dist/vue.d.ts +2 -2
- package/package.json +1 -1
package/dist/{conversation-list-store-CqgIk8Rn.d.mts → conversation-list-store-BNYosL8k.d.mts}
RENAMED
|
@@ -129,6 +129,7 @@ declare enum RequestType {
|
|
|
129
129
|
NodeUpdate = "node_update",
|
|
130
130
|
NodeDelete = "node_delete",
|
|
131
131
|
NodeGet = "node_get",
|
|
132
|
+
NodeGetByLocalizedPath = "node_get_by_localized_path",
|
|
132
133
|
NodeQuery = "node_query",
|
|
133
134
|
NodeQueryByPath = "node_query_by_path",
|
|
134
135
|
NodeQueryByProperty = "node_query_by_property",
|
|
@@ -414,6 +415,28 @@ interface NodeGetPayload {
|
|
|
414
415
|
* Node history payload (git-style "file history").
|
|
415
416
|
* Identify the node by either `node_id` or `path`.
|
|
416
417
|
*/
|
|
418
|
+
/**
|
|
419
|
+
* Payload of `node_get_by_localized_path`: a node by its localized URL path
|
|
420
|
+
* (`/produits/chaise` in `fr`).
|
|
421
|
+
*/
|
|
422
|
+
interface NodeGetByLocalizedPathPayload {
|
|
423
|
+
locale: string;
|
|
424
|
+
path: string;
|
|
425
|
+
}
|
|
426
|
+
/**
|
|
427
|
+
* A node found by its localized path: the node translated into the locale,
|
|
428
|
+
* its canonical and canonical localized paths, hreflang alternates (hidden
|
|
429
|
+
* and unreadable locales omitted) and whether the request should be
|
|
430
|
+
* redirected (301) to `canonical_localized_path`.
|
|
431
|
+
*/
|
|
432
|
+
interface LocalizedNode {
|
|
433
|
+
node: Node;
|
|
434
|
+
canonical_path: string;
|
|
435
|
+
canonical_localized_path: string;
|
|
436
|
+
redirect: boolean;
|
|
437
|
+
alternates: Record<string, string>;
|
|
438
|
+
served_by: 'default_language' | 'index' | 'fallback';
|
|
439
|
+
}
|
|
417
440
|
interface NodeHistoryPayload {
|
|
418
441
|
node_id?: string;
|
|
419
442
|
path?: string;
|
|
@@ -1312,6 +1335,23 @@ declare class NodeOperations {
|
|
|
1312
1335
|
history(id: string, options?: {
|
|
1313
1336
|
limit?: number;
|
|
1314
1337
|
}): Promise<RevisionEntry[]>;
|
|
1338
|
+
/**
|
|
1339
|
+
* Get a node by its localized URL path (plan Phase 12).
|
|
1340
|
+
*
|
|
1341
|
+
* @param locale - Locale code (`fr`, `fr-CA`)
|
|
1342
|
+
* @param path - The node's path in that locale (`/produits/chaise`)
|
|
1343
|
+
* @returns The translated node with `canonical_path`,
|
|
1344
|
+
* `canonical_localized_path`, hreflang `alternates` and a `redirect`
|
|
1345
|
+
* hint, or `null` when nothing resolves (missing, hidden in the locale
|
|
1346
|
+
* or not readable — the same answer)
|
|
1347
|
+
*
|
|
1348
|
+
* @example
|
|
1349
|
+
* ```typescript
|
|
1350
|
+
* const hit = await ws.nodes().getByLocalizedPath('fr', '/produits/chaise');
|
|
1351
|
+
* if (hit?.redirect) redirect301(`/fr${hit.canonical_localized_path}`);
|
|
1352
|
+
* ```
|
|
1353
|
+
*/
|
|
1354
|
+
getByLocalizedPath(locale: string, path: string): Promise<LocalizedNode | null>;
|
|
1315
1355
|
/**
|
|
1316
1356
|
* List a node's revision history by path (newest first).
|
|
1317
1357
|
*
|
|
@@ -5785,6 +5825,8 @@ interface AnonymousConversation extends Conversation {
|
|
|
5785
5825
|
* A refusal from the server. `code` is one of:
|
|
5786
5826
|
* `ANONYMOUS_NOT_ALLOWED`, `ORIGIN_NOT_ALLOWED`, `RATE_LIMITED`, `BUSY`,
|
|
5787
5827
|
* `TOO_LONG`, `EMPTY_MESSAGE`, `TOO_MANY_MESSAGES`, `LIMIT_REACHED`,
|
|
5828
|
+
* `DAILY_LIMIT_REACHED` (the agent's daily token budget, or the per-IP daily
|
|
5829
|
+
* message cap),
|
|
5788
5830
|
* `CONVERSATION_LIMIT`, `SESSION_EXPIRED`, `SESSION_MISMATCH`,
|
|
5789
5831
|
* `UNKNOWN_CONVERSATION`, `NO_SESSION`, `NOT_ANONYMOUS`, `UNAVAILABLE`.
|
|
5790
5832
|
*/
|
|
@@ -8371,4 +8413,4 @@ declare class ConversationListStore {
|
|
|
8371
8413
|
private notify;
|
|
8372
8414
|
}
|
|
8373
8415
|
|
|
8374
|
-
export { type CurrentUser$1 as $, AuthManager as A, type BatchUpload as B, ConnectionState as C, Database as D, type EventMessage as E, type FlowClientOptions as F, type SearchOptions as G, type HttpClientOptions as H, type IdentityUser as I, type SearchPassage as J, type ClientMode as K, type CurrentUser as L, type UserNode as M, type Node as N, type AuthEvent as O, type PlanProjection as P, type AuthStateChange as Q, RaisinClient as R, type SubscriptionFilters as S, type ToolCallInfo as T, UploadErrorCode as U, type AuthStateChangeCallback as V, type WorkspaceScope as W, type UserChangeEvent as X, type UserChangeCallback as Y, HttpDatabase as Z, HttpWorkspaceClient as _, type ConversationStoreSnapshot as a, type CreateAgentRunResult as a$, type UserNode$1 as a0, type SignAssetOptions as a1, type SignedAssetUrl as a2, type DatabaseHttpOptions as a3, WorkspaceClient as a4, WorkspaceManager as a5, type WorkspaceCreateOptions as a6, type WorkspaceUpdateOptions as a7, NodeOperations as a8, type NodeCreateOptions as a9, type CheckpointOptions as aA, type MailboxEntry as aB, type SpawnChildOptions as aC, type SpawnChildResult as aD, NodeDevApi as aE, type ChangeOp as aF, type ChangesetOptions as aG, type CommitOutcome as aH, type NodeDevCommon as aI, type NodeDevConflict as aJ, type NodeDevTransport as aK, type NodeLocator as aL, type NodeRevision as aM, type NodeTarget as aN, type OpReceipt as aO, type Receipt as aP, type WorkRoot as aQ, type AgentRunCommand as aR, type AgentRunControlAck as aS, type AgentRunEvent as aT, type AgentRunFence as aU, type AgentRunStatus as aV, type AgentRunSubject as aW, type AgentRunView as aX, type AgentRunsTransport as aY, type BeginOperationOptions as aZ, type CreateAgentRunOptions as a_, type NodeCreateDeepOptions as aa, type NodeUpdateOptions as ab, type NodeQueryOptions as ac, Transaction as ad, type TransactionOptions as ae, NodeTypes as af, Archetypes as ag, ElementTypes as ah, Branches as ai, type BranchDiff as aj, type BranchDivergence as ak, type CrossBranchCopySummary as al, type CrossBranchNodeChange as am, type NodeDiffInfo as an, Tags as ao, SchedulerApi as ap, AgentRunsApi as aq, newControlId as ar, subjectOf as as, AgentRunsWsApi as at, type AgentRunChildView as au, type AgentRunSubscribeOptions as av, type AgentRunSubscription as aw, type ChildAction as ax, type ChildContext as ay, type ChildObjective as az, type ChatMessage as b,
|
|
8416
|
+
export { type CurrentUser$1 as $, AuthManager as A, type BatchUpload as B, ConnectionState as C, Database as D, type EventMessage as E, type FlowClientOptions as F, type SearchOptions as G, type HttpClientOptions as H, type IdentityUser as I, type SearchPassage as J, type ClientMode as K, type CurrentUser as L, type UserNode as M, type Node as N, type AuthEvent as O, type PlanProjection as P, type AuthStateChange as Q, RaisinClient as R, type SubscriptionFilters as S, type ToolCallInfo as T, UploadErrorCode as U, type AuthStateChangeCallback as V, type WorkspaceScope as W, type UserChangeEvent as X, type UserChangeCallback as Y, HttpDatabase as Z, HttpWorkspaceClient as _, type ConversationStoreSnapshot as a, type CreateAgentRunResult as a$, type UserNode$1 as a0, type SignAssetOptions as a1, type SignedAssetUrl as a2, type DatabaseHttpOptions as a3, WorkspaceClient as a4, WorkspaceManager as a5, type WorkspaceCreateOptions as a6, type WorkspaceUpdateOptions as a7, NodeOperations as a8, type NodeCreateOptions as a9, type CheckpointOptions as aA, type MailboxEntry as aB, type SpawnChildOptions as aC, type SpawnChildResult as aD, NodeDevApi as aE, type ChangeOp as aF, type ChangesetOptions as aG, type CommitOutcome as aH, type NodeDevCommon as aI, type NodeDevConflict as aJ, type NodeDevTransport as aK, type NodeLocator as aL, type NodeRevision as aM, type NodeTarget as aN, type OpReceipt as aO, type Receipt as aP, type WorkRoot as aQ, type AgentRunCommand as aR, type AgentRunControlAck as aS, type AgentRunEvent as aT, type AgentRunFence as aU, type AgentRunStatus as aV, type AgentRunSubject as aW, type AgentRunView as aX, type AgentRunsTransport as aY, type BeginOperationOptions as aZ, type CreateAgentRunOptions as a_, type NodeCreateDeepOptions as aa, type NodeUpdateOptions as ab, type NodeQueryOptions as ac, Transaction as ad, type TransactionOptions as ae, NodeTypes as af, Archetypes as ag, ElementTypes as ah, Branches as ai, type BranchDiff as aj, type BranchDivergence as ak, type CrossBranchCopySummary as al, type CrossBranchNodeChange as am, type NodeDiffInfo as an, Tags as ao, SchedulerApi as ap, AgentRunsApi as aq, newControlId as ar, subjectOf as as, AgentRunsWsApi as at, type AgentRunChildView as au, type AgentRunSubscribeOptions as av, type AgentRunSubscription as aw, type ChildAction as ax, type ChildContext as ay, type ChildObjective as az, type ChatMessage as b, type TransactionRollbackPayload as b$, type FinishOperationOptions as b0, type ListInvocationsFilter as b1, type ScheduleInvocationOptions as b2, type ScheduledInvocation as b3, type ScheduledInvocationRef as b4, type ScheduledInvocationTargetKind as b5, HttpNodeTypes as b6, HttpArchetypes as b7, HttpElementTypes as b8, type SchemaCommit as b9, type NodeHistoryPayload as bA, type NodeGetByLocalizedPathPayload as bB, type LocalizedNode as bC, type RevisionEntry as bD, type AuditQueryPayload as bE, type AuditLogEntry as bF, type NodeQueryPayload as bG, type RelationAddPayload as bH, type RelationRemovePayload as bI, type RelationsGetPayload as bJ, type SqlQueryPayload as bK, type SqlResult as bL, type Workspace as bM, type WorkspaceCreatePayload as bN, type WorkspaceGetPayload as bO, type WorkspaceDeletePayload as bP, type WorkspaceUpdatePayload as bQ, type SubscribePayload as bR, type UnsubscribePayload as bS, type SubscriptionResponse as bT, type AuthenticatePayload as bU, type AuthenticateResponse as bV, type RefreshTokenPayload as bW, type TransactionBeginPayload as bX, type TransactionBeginResponse as bY, type TransactionCommitPayload as bZ, type TransactionCommitResponse as b_, SqlQuery as ba, createSqlHandler as bb, EventHandler as bc, EventSubscriptions as bd, type EventCallback as be, type Subscription as bf, Connection as bg, type ConnectionOptions as bh, MemoryTokenStorage as bi, LocalStorageTokenStorage as bj, type TokenStorage as bk, type IdentityAuthResponse as bl, type IdentityAuthError as bm, type RequestEnvelope as bn, type ResponseEnvelope as bo, type NodeEventPayload as bp, type RequestContext as bq, type ErrorInfo as br, type ResponseMetadata as bs, type IncomingRelation as bt, type NodeRelationships as bu, type NodeCreatePayload as bv, type NodeCreateDeepPayload as bw, type NodeUpdatePayload as bx, type NodeDeletePayload as by, type NodeGetPayload as bz, ConversationStore as c, type McpToolDescriptor as c$, RequestType as c0, ResponseStatus as c1, encodeMessage as c2, decodeMessage as c3, isEventMessage as c4, isResponseEnvelope as c5, ReconnectManager as c6, LogLevel as c7, logger as c8, configureLogger as c9, createFileSource as cA, getContentType as cB, calculateChunkCount as cC, getChunkRange as cD, Uploader as cE, UploadManager as cF, FlowClient as cG, type FlowRunResult as cH, type FlowCollectResult as cI, FunctionsApi as cJ, HttpFunctionsApi as cK, IdentityAuthApi as cL, readTokensFromFragment as cM, type IdentityAuthResult as cN, type IdentityAuthTransport as cO, type IdentityInfo as cP, type IdentityMe as cQ, type MagicLinkSent as cR, type MagicLinkOptions as cS, type AuthProviders as cT, type FunctionInvokeOptions as cU, type FunctionInvokeResponse as cV, type FunctionInvokeSyncResponse as cW, McpClient as cX, type McpTransport as cY, type McpFrameStream as cZ, type McpJsonRpcFrame as c_, setLogLevel as ca, getLogLevel as cb, getLoggerConfig as cc, type LoggerConfig as cd, type UploadStatus as ce, type UploadOptions as cf, type UploadProgress as cg, type UploadResult as ch, type Upload as ci, type CreateUploadRequest as cj, type CreateUploadResponse as ck, type ChunkUploadResponse as cl, type UploadStatusResponse as cm, type CompleteUploadRequest as cn, type CompleteUploadResponse as co, type BatchFileProgress as cp, UploadError as cq, DEFAULT_CHUNK_SIZE as cr, DEFAULT_MAX_RETRIES as cs, DEFAULT_RETRY_BASE_DELAY as ct, DEFAULT_RETRY_MAX_DELAY as cu, DEFAULT_NODE_TYPE as cv, DEFAULT_BRANCH as cw, DEFAULT_BATCH_CONCURRENCY as cx, BrowserFileSource as cy, NodeFileSource as cz, type ConversationListItem as d, type ListTasksOptions as d$, type McpContentBlock as d0, type McpCallToolResult as d1, type McpResourceContents as d2, type McpReadResourceResult as d3, type McpResourceUpdate as d4, type McpResourceSubscription as d5, type FlowRunResponse as d6, type FlowInstanceStatus as d7, type FlowInstanceStatusResponse as d8, type FlowMetrics as d9, type HandoffTarget as dA, type ChatTerminationMode as dB, type ChatTerminationConfig as dC, type ChatStepConfig as dD, type AiToolMode as dE, type AiErrorBehavior as dF, type AiContainerConfig as dG, type FlowDefinitionNodeBase as dH, type FlowStepProperties as dI, type FlowDefinitionStep as dJ, type ContainerRule as dK, type FanOutConfig as dL, type MergeStrategy as dM, type FlowDefinitionContainer as dN, type LoopConfig as dO, type FlowDefinitionNode as dP, type FlowDefinition as dQ, type InboxTask as dR, type InboxTaskStatus as dS, type TaskCompletionResult as dT, RETRY_STRATEGIES as dU, getRefDisplayName as dV, getRefPath as dW, isFlowDefinitionStep as dX, isFlowDefinitionContainer as dY, InboxApi as dZ, type InboxApiOptions as d_, type StepStartedEvent as da, type StepCompletedEvent as db, type StepUsage as dc, type StepFailedEvent as dd, type FlowWaitingEvent as de, type FlowResumedEvent as df, type FlowCompletedEvent as dg, type FlowFailedEvent as dh, type TextChunkEvent as di, type ToolCallStartedEvent as dj, type ToolCallCompletedEvent as dk, type ThoughtChunkEvent as dl, type ConversationCreatedEvent as dm, type MessageSavedEvent as dn, type LogEvent as dp, isTerminalEvent as dq, type RaisinReference as dr, type ContainerType as ds, type StepErrorBehavior as dt, type FlowErrorStrategy as du, type RetryConfig as dv, type RetryStrategy as dw, type HumanTaskType as dx, type CanonicalTaskType as dy, type TaskOption as dz, ConversationListStore as e, type ListTasksResponse as e0, type ChatEvent as e1, type Conversation as e2, type ConversationType as e3, type ConversationStatus as e4, type MessageBody as e5, type ChatTextChunkEvent as e6, type ChatAssistantMessageEvent as e7, type ChatWaitingEvent as e8, type ChatCompletedEvent as e9, type ConversationManagerOptions as eA, projectPlansFromMessages as eB, type ChatFailedEvent as ea, type ChatDoneEvent as eb, type ChatToolCallStartedEvent as ec, type ChatToolCallCompletedEvent as ed, type ChatThoughtChunkEvent as ee, type ToolCallRecord as ef, type MessageChild as eg, type PlanTask as eh, type ChatConversationCreatedEvent as ei, type ChatMessageSavedEvent as ej, type ChatMessageDeliveredEvent as ek, type ChatLogEvent as el, ConversationManager as em, DEFAULT_SEND_MESSAGE_INACTIVITY_TIMEOUT_MS as en, VisitorChatError as eo, defaultVisitorSessionStore as ep, type AnonymousConversation as eq, type StartAnonymousOptions as er, type VisitorChatLimits as es, type VisitorSessionStore as et, type ListConversationsOptions as eu, type CreateConversationOptions as ev, type SendMessageOptions as ew, type ConversationSubscription as ex, type PlanActionReceipt as ey, type PlanActionOptions as ez, 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 Answer as x, type AskOptions as y, type Citation as z };
|
package/dist/{conversation-list-store-CqgIk8Rn.d.ts → conversation-list-store-BNYosL8k.d.ts}
RENAMED
|
@@ -129,6 +129,7 @@ declare enum RequestType {
|
|
|
129
129
|
NodeUpdate = "node_update",
|
|
130
130
|
NodeDelete = "node_delete",
|
|
131
131
|
NodeGet = "node_get",
|
|
132
|
+
NodeGetByLocalizedPath = "node_get_by_localized_path",
|
|
132
133
|
NodeQuery = "node_query",
|
|
133
134
|
NodeQueryByPath = "node_query_by_path",
|
|
134
135
|
NodeQueryByProperty = "node_query_by_property",
|
|
@@ -414,6 +415,28 @@ interface NodeGetPayload {
|
|
|
414
415
|
* Node history payload (git-style "file history").
|
|
415
416
|
* Identify the node by either `node_id` or `path`.
|
|
416
417
|
*/
|
|
418
|
+
/**
|
|
419
|
+
* Payload of `node_get_by_localized_path`: a node by its localized URL path
|
|
420
|
+
* (`/produits/chaise` in `fr`).
|
|
421
|
+
*/
|
|
422
|
+
interface NodeGetByLocalizedPathPayload {
|
|
423
|
+
locale: string;
|
|
424
|
+
path: string;
|
|
425
|
+
}
|
|
426
|
+
/**
|
|
427
|
+
* A node found by its localized path: the node translated into the locale,
|
|
428
|
+
* its canonical and canonical localized paths, hreflang alternates (hidden
|
|
429
|
+
* and unreadable locales omitted) and whether the request should be
|
|
430
|
+
* redirected (301) to `canonical_localized_path`.
|
|
431
|
+
*/
|
|
432
|
+
interface LocalizedNode {
|
|
433
|
+
node: Node;
|
|
434
|
+
canonical_path: string;
|
|
435
|
+
canonical_localized_path: string;
|
|
436
|
+
redirect: boolean;
|
|
437
|
+
alternates: Record<string, string>;
|
|
438
|
+
served_by: 'default_language' | 'index' | 'fallback';
|
|
439
|
+
}
|
|
417
440
|
interface NodeHistoryPayload {
|
|
418
441
|
node_id?: string;
|
|
419
442
|
path?: string;
|
|
@@ -1312,6 +1335,23 @@ declare class NodeOperations {
|
|
|
1312
1335
|
history(id: string, options?: {
|
|
1313
1336
|
limit?: number;
|
|
1314
1337
|
}): Promise<RevisionEntry[]>;
|
|
1338
|
+
/**
|
|
1339
|
+
* Get a node by its localized URL path (plan Phase 12).
|
|
1340
|
+
*
|
|
1341
|
+
* @param locale - Locale code (`fr`, `fr-CA`)
|
|
1342
|
+
* @param path - The node's path in that locale (`/produits/chaise`)
|
|
1343
|
+
* @returns The translated node with `canonical_path`,
|
|
1344
|
+
* `canonical_localized_path`, hreflang `alternates` and a `redirect`
|
|
1345
|
+
* hint, or `null` when nothing resolves (missing, hidden in the locale
|
|
1346
|
+
* or not readable — the same answer)
|
|
1347
|
+
*
|
|
1348
|
+
* @example
|
|
1349
|
+
* ```typescript
|
|
1350
|
+
* const hit = await ws.nodes().getByLocalizedPath('fr', '/produits/chaise');
|
|
1351
|
+
* if (hit?.redirect) redirect301(`/fr${hit.canonical_localized_path}`);
|
|
1352
|
+
* ```
|
|
1353
|
+
*/
|
|
1354
|
+
getByLocalizedPath(locale: string, path: string): Promise<LocalizedNode | null>;
|
|
1315
1355
|
/**
|
|
1316
1356
|
* List a node's revision history by path (newest first).
|
|
1317
1357
|
*
|
|
@@ -5785,6 +5825,8 @@ interface AnonymousConversation extends Conversation {
|
|
|
5785
5825
|
* A refusal from the server. `code` is one of:
|
|
5786
5826
|
* `ANONYMOUS_NOT_ALLOWED`, `ORIGIN_NOT_ALLOWED`, `RATE_LIMITED`, `BUSY`,
|
|
5787
5827
|
* `TOO_LONG`, `EMPTY_MESSAGE`, `TOO_MANY_MESSAGES`, `LIMIT_REACHED`,
|
|
5828
|
+
* `DAILY_LIMIT_REACHED` (the agent's daily token budget, or the per-IP daily
|
|
5829
|
+
* message cap),
|
|
5788
5830
|
* `CONVERSATION_LIMIT`, `SESSION_EXPIRED`, `SESSION_MISMATCH`,
|
|
5789
5831
|
* `UNKNOWN_CONVERSATION`, `NO_SESSION`, `NOT_ANONYMOUS`, `UNAVAILABLE`.
|
|
5790
5832
|
*/
|
|
@@ -8371,4 +8413,4 @@ declare class ConversationListStore {
|
|
|
8371
8413
|
private notify;
|
|
8372
8414
|
}
|
|
8373
8415
|
|
|
8374
|
-
export { type CurrentUser$1 as $, AuthManager as A, type BatchUpload as B, ConnectionState as C, Database as D, type EventMessage as E, type FlowClientOptions as F, type SearchOptions as G, type HttpClientOptions as H, type IdentityUser as I, type SearchPassage as J, type ClientMode as K, type CurrentUser as L, type UserNode as M, type Node as N, type AuthEvent as O, type PlanProjection as P, type AuthStateChange as Q, RaisinClient as R, type SubscriptionFilters as S, type ToolCallInfo as T, UploadErrorCode as U, type AuthStateChangeCallback as V, type WorkspaceScope as W, type UserChangeEvent as X, type UserChangeCallback as Y, HttpDatabase as Z, HttpWorkspaceClient as _, type ConversationStoreSnapshot as a, type CreateAgentRunResult as a$, type UserNode$1 as a0, type SignAssetOptions as a1, type SignedAssetUrl as a2, type DatabaseHttpOptions as a3, WorkspaceClient as a4, WorkspaceManager as a5, type WorkspaceCreateOptions as a6, type WorkspaceUpdateOptions as a7, NodeOperations as a8, type NodeCreateOptions as a9, type CheckpointOptions as aA, type MailboxEntry as aB, type SpawnChildOptions as aC, type SpawnChildResult as aD, NodeDevApi as aE, type ChangeOp as aF, type ChangesetOptions as aG, type CommitOutcome as aH, type NodeDevCommon as aI, type NodeDevConflict as aJ, type NodeDevTransport as aK, type NodeLocator as aL, type NodeRevision as aM, type NodeTarget as aN, type OpReceipt as aO, type Receipt as aP, type WorkRoot as aQ, type AgentRunCommand as aR, type AgentRunControlAck as aS, type AgentRunEvent as aT, type AgentRunFence as aU, type AgentRunStatus as aV, type AgentRunSubject as aW, type AgentRunView as aX, type AgentRunsTransport as aY, type BeginOperationOptions as aZ, type CreateAgentRunOptions as a_, type NodeCreateDeepOptions as aa, type NodeUpdateOptions as ab, type NodeQueryOptions as ac, Transaction as ad, type TransactionOptions as ae, NodeTypes as af, Archetypes as ag, ElementTypes as ah, Branches as ai, type BranchDiff as aj, type BranchDivergence as ak, type CrossBranchCopySummary as al, type CrossBranchNodeChange as am, type NodeDiffInfo as an, Tags as ao, SchedulerApi as ap, AgentRunsApi as aq, newControlId as ar, subjectOf as as, AgentRunsWsApi as at, type AgentRunChildView as au, type AgentRunSubscribeOptions as av, type AgentRunSubscription as aw, type ChildAction as ax, type ChildContext as ay, type ChildObjective as az, type ChatMessage as b,
|
|
8416
|
+
export { type CurrentUser$1 as $, AuthManager as A, type BatchUpload as B, ConnectionState as C, Database as D, type EventMessage as E, type FlowClientOptions as F, type SearchOptions as G, type HttpClientOptions as H, type IdentityUser as I, type SearchPassage as J, type ClientMode as K, type CurrentUser as L, type UserNode as M, type Node as N, type AuthEvent as O, type PlanProjection as P, type AuthStateChange as Q, RaisinClient as R, type SubscriptionFilters as S, type ToolCallInfo as T, UploadErrorCode as U, type AuthStateChangeCallback as V, type WorkspaceScope as W, type UserChangeEvent as X, type UserChangeCallback as Y, HttpDatabase as Z, HttpWorkspaceClient as _, type ConversationStoreSnapshot as a, type CreateAgentRunResult as a$, type UserNode$1 as a0, type SignAssetOptions as a1, type SignedAssetUrl as a2, type DatabaseHttpOptions as a3, WorkspaceClient as a4, WorkspaceManager as a5, type WorkspaceCreateOptions as a6, type WorkspaceUpdateOptions as a7, NodeOperations as a8, type NodeCreateOptions as a9, type CheckpointOptions as aA, type MailboxEntry as aB, type SpawnChildOptions as aC, type SpawnChildResult as aD, NodeDevApi as aE, type ChangeOp as aF, type ChangesetOptions as aG, type CommitOutcome as aH, type NodeDevCommon as aI, type NodeDevConflict as aJ, type NodeDevTransport as aK, type NodeLocator as aL, type NodeRevision as aM, type NodeTarget as aN, type OpReceipt as aO, type Receipt as aP, type WorkRoot as aQ, type AgentRunCommand as aR, type AgentRunControlAck as aS, type AgentRunEvent as aT, type AgentRunFence as aU, type AgentRunStatus as aV, type AgentRunSubject as aW, type AgentRunView as aX, type AgentRunsTransport as aY, type BeginOperationOptions as aZ, type CreateAgentRunOptions as a_, type NodeCreateDeepOptions as aa, type NodeUpdateOptions as ab, type NodeQueryOptions as ac, Transaction as ad, type TransactionOptions as ae, NodeTypes as af, Archetypes as ag, ElementTypes as ah, Branches as ai, type BranchDiff as aj, type BranchDivergence as ak, type CrossBranchCopySummary as al, type CrossBranchNodeChange as am, type NodeDiffInfo as an, Tags as ao, SchedulerApi as ap, AgentRunsApi as aq, newControlId as ar, subjectOf as as, AgentRunsWsApi as at, type AgentRunChildView as au, type AgentRunSubscribeOptions as av, type AgentRunSubscription as aw, type ChildAction as ax, type ChildContext as ay, type ChildObjective as az, type ChatMessage as b, type TransactionRollbackPayload as b$, type FinishOperationOptions as b0, type ListInvocationsFilter as b1, type ScheduleInvocationOptions as b2, type ScheduledInvocation as b3, type ScheduledInvocationRef as b4, type ScheduledInvocationTargetKind as b5, HttpNodeTypes as b6, HttpArchetypes as b7, HttpElementTypes as b8, type SchemaCommit as b9, type NodeHistoryPayload as bA, type NodeGetByLocalizedPathPayload as bB, type LocalizedNode as bC, type RevisionEntry as bD, type AuditQueryPayload as bE, type AuditLogEntry as bF, type NodeQueryPayload as bG, type RelationAddPayload as bH, type RelationRemovePayload as bI, type RelationsGetPayload as bJ, type SqlQueryPayload as bK, type SqlResult as bL, type Workspace as bM, type WorkspaceCreatePayload as bN, type WorkspaceGetPayload as bO, type WorkspaceDeletePayload as bP, type WorkspaceUpdatePayload as bQ, type SubscribePayload as bR, type UnsubscribePayload as bS, type SubscriptionResponse as bT, type AuthenticatePayload as bU, type AuthenticateResponse as bV, type RefreshTokenPayload as bW, type TransactionBeginPayload as bX, type TransactionBeginResponse as bY, type TransactionCommitPayload as bZ, type TransactionCommitResponse as b_, SqlQuery as ba, createSqlHandler as bb, EventHandler as bc, EventSubscriptions as bd, type EventCallback as be, type Subscription as bf, Connection as bg, type ConnectionOptions as bh, MemoryTokenStorage as bi, LocalStorageTokenStorage as bj, type TokenStorage as bk, type IdentityAuthResponse as bl, type IdentityAuthError as bm, type RequestEnvelope as bn, type ResponseEnvelope as bo, type NodeEventPayload as bp, type RequestContext as bq, type ErrorInfo as br, type ResponseMetadata as bs, type IncomingRelation as bt, type NodeRelationships as bu, type NodeCreatePayload as bv, type NodeCreateDeepPayload as bw, type NodeUpdatePayload as bx, type NodeDeletePayload as by, type NodeGetPayload as bz, ConversationStore as c, type McpToolDescriptor as c$, RequestType as c0, ResponseStatus as c1, encodeMessage as c2, decodeMessage as c3, isEventMessage as c4, isResponseEnvelope as c5, ReconnectManager as c6, LogLevel as c7, logger as c8, configureLogger as c9, createFileSource as cA, getContentType as cB, calculateChunkCount as cC, getChunkRange as cD, Uploader as cE, UploadManager as cF, FlowClient as cG, type FlowRunResult as cH, type FlowCollectResult as cI, FunctionsApi as cJ, HttpFunctionsApi as cK, IdentityAuthApi as cL, readTokensFromFragment as cM, type IdentityAuthResult as cN, type IdentityAuthTransport as cO, type IdentityInfo as cP, type IdentityMe as cQ, type MagicLinkSent as cR, type MagicLinkOptions as cS, type AuthProviders as cT, type FunctionInvokeOptions as cU, type FunctionInvokeResponse as cV, type FunctionInvokeSyncResponse as cW, McpClient as cX, type McpTransport as cY, type McpFrameStream as cZ, type McpJsonRpcFrame as c_, setLogLevel as ca, getLogLevel as cb, getLoggerConfig as cc, type LoggerConfig as cd, type UploadStatus as ce, type UploadOptions as cf, type UploadProgress as cg, type UploadResult as ch, type Upload as ci, type CreateUploadRequest as cj, type CreateUploadResponse as ck, type ChunkUploadResponse as cl, type UploadStatusResponse as cm, type CompleteUploadRequest as cn, type CompleteUploadResponse as co, type BatchFileProgress as cp, UploadError as cq, DEFAULT_CHUNK_SIZE as cr, DEFAULT_MAX_RETRIES as cs, DEFAULT_RETRY_BASE_DELAY as ct, DEFAULT_RETRY_MAX_DELAY as cu, DEFAULT_NODE_TYPE as cv, DEFAULT_BRANCH as cw, DEFAULT_BATCH_CONCURRENCY as cx, BrowserFileSource as cy, NodeFileSource as cz, type ConversationListItem as d, type ListTasksOptions as d$, type McpContentBlock as d0, type McpCallToolResult as d1, type McpResourceContents as d2, type McpReadResourceResult as d3, type McpResourceUpdate as d4, type McpResourceSubscription as d5, type FlowRunResponse as d6, type FlowInstanceStatus as d7, type FlowInstanceStatusResponse as d8, type FlowMetrics as d9, type HandoffTarget as dA, type ChatTerminationMode as dB, type ChatTerminationConfig as dC, type ChatStepConfig as dD, type AiToolMode as dE, type AiErrorBehavior as dF, type AiContainerConfig as dG, type FlowDefinitionNodeBase as dH, type FlowStepProperties as dI, type FlowDefinitionStep as dJ, type ContainerRule as dK, type FanOutConfig as dL, type MergeStrategy as dM, type FlowDefinitionContainer as dN, type LoopConfig as dO, type FlowDefinitionNode as dP, type FlowDefinition as dQ, type InboxTask as dR, type InboxTaskStatus as dS, type TaskCompletionResult as dT, RETRY_STRATEGIES as dU, getRefDisplayName as dV, getRefPath as dW, isFlowDefinitionStep as dX, isFlowDefinitionContainer as dY, InboxApi as dZ, type InboxApiOptions as d_, type StepStartedEvent as da, type StepCompletedEvent as db, type StepUsage as dc, type StepFailedEvent as dd, type FlowWaitingEvent as de, type FlowResumedEvent as df, type FlowCompletedEvent as dg, type FlowFailedEvent as dh, type TextChunkEvent as di, type ToolCallStartedEvent as dj, type ToolCallCompletedEvent as dk, type ThoughtChunkEvent as dl, type ConversationCreatedEvent as dm, type MessageSavedEvent as dn, type LogEvent as dp, isTerminalEvent as dq, type RaisinReference as dr, type ContainerType as ds, type StepErrorBehavior as dt, type FlowErrorStrategy as du, type RetryConfig as dv, type RetryStrategy as dw, type HumanTaskType as dx, type CanonicalTaskType as dy, type TaskOption as dz, ConversationListStore as e, type ListTasksResponse as e0, type ChatEvent as e1, type Conversation as e2, type ConversationType as e3, type ConversationStatus as e4, type MessageBody as e5, type ChatTextChunkEvent as e6, type ChatAssistantMessageEvent as e7, type ChatWaitingEvent as e8, type ChatCompletedEvent as e9, type ConversationManagerOptions as eA, projectPlansFromMessages as eB, type ChatFailedEvent as ea, type ChatDoneEvent as eb, type ChatToolCallStartedEvent as ec, type ChatToolCallCompletedEvent as ed, type ChatThoughtChunkEvent as ee, type ToolCallRecord as ef, type MessageChild as eg, type PlanTask as eh, type ChatConversationCreatedEvent as ei, type ChatMessageSavedEvent as ej, type ChatMessageDeliveredEvent as ek, type ChatLogEvent as el, ConversationManager as em, DEFAULT_SEND_MESSAGE_INACTIVITY_TIMEOUT_MS as en, VisitorChatError as eo, defaultVisitorSessionStore as ep, type AnonymousConversation as eq, type StartAnonymousOptions as er, type VisitorChatLimits as es, type VisitorSessionStore as et, type ListConversationsOptions as eu, type CreateConversationOptions as ev, type SendMessageOptions as ew, type ConversationSubscription as ex, type PlanActionReceipt as ey, type PlanActionOptions as ez, 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 Answer as x, type AskOptions as y, type Citation 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-BNYosL8k.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* React adapters for the RaisinDB conversation stores.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as ConversationStoreOptions, a as ConversationStoreSnapshot, b as ChatMessage, g as ConversationListStoreOptions, h as ConversationListSnapshot, d as ConversationListItem, R as RaisinClient, I as IdentityUser, C as ConnectionState, S as SubscriptionFilters, D as Database, A as AuthManager, F as FlowClientOptions, i as FlowsApi, j as FlowExecutionEvent, E as EventMessage } from './conversation-list-store-
|
|
1
|
+
import { f as ConversationStoreOptions, a as ConversationStoreSnapshot, b as ChatMessage, g as ConversationListStoreOptions, h as ConversationListSnapshot, d as ConversationListItem, R as RaisinClient, I as IdentityUser, C as ConnectionState, S as SubscriptionFilters, D as Database, A as AuthManager, F as FlowClientOptions, i as FlowsApi, j as FlowExecutionEvent, E as EventMessage } from './conversation-list-store-BNYosL8k.mjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* React adapters for the RaisinDB conversation stores.
|
package/dist/index.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { l as PropertyValue, m as RelationRef, N as Node, H as HttpClientOptions, n as ClientOptions, o as Credentials, p as RaisinHttpClient, R as RaisinClient, q as RetryOptions, U as UploadErrorCode, B as BatchUpload, r as UploaderConfig, s as FileSource, t as BatchUploadOptions, u as BatchUploadResult, v as BatchProgress, w as ReconnectOptions } from './conversation-list-store-
|
|
2
|
-
export { au as AgentRunChildView, aR as AgentRunCommand, aS as AgentRunControlAck, aT as AgentRunEvent, aU as AgentRunFence, aV as AgentRunStatus, aW as AgentRunSubject, av as AgentRunSubscribeOptions, aw as AgentRunSubscription, aX as AgentRunView, aq as AgentRunsApi, aY as AgentRunsTransport, at as AgentRunsWsApi,
|
|
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-BNYosL8k.mjs';
|
|
2
|
+
export { au as AgentRunChildView, aR as AgentRunCommand, aS as AgentRunControlAck, aT as AgentRunEvent, aU as AgentRunFence, aV as AgentRunStatus, aW as AgentRunSubject, av as AgentRunSubscribeOptions, aw as AgentRunSubscription, aX as AgentRunView, aq as AgentRunsApi, aY as AgentRunsTransport, at as AgentRunsWsApi, dG as AiContainerConfig, dF as AiErrorBehavior, dE as AiToolMode, eq as AnonymousConversation, x as Answer, ag as Archetypes, y as AskOptions, bF as AuditLogEntry, bE as AuditQueryPayload, O as AuthEvent, A as AuthManager, cT as AuthProviders, Q as AuthStateChange, V as AuthStateChangeCallback, bU as AuthenticatePayload, bV as AuthenticateResponse, cp as BatchFileProgress, aZ as BeginOperationOptions, aj as BranchDiff, ak as BranchDivergence, ai as Branches, cy as BrowserFileSource, dy as CanonicalTaskType, aF as ChangeOp, aG as ChangesetOptions, e7 as ChatAssistantMessageEvent, e9 as ChatCompletedEvent, ei as ChatConversationCreatedEvent, eb as ChatDoneEvent, e1 as ChatEvent, ea as ChatFailedEvent, el as ChatLogEvent, b as ChatMessage, ek as ChatMessageDeliveredEvent, ej as ChatMessageSavedEvent, dD as ChatStepConfig, dC as ChatTerminationConfig, dB as ChatTerminationMode, e6 as ChatTextChunkEvent, ee as ChatThoughtChunkEvent, ed as ChatToolCallCompletedEvent, ec as ChatToolCallStartedEvent, e8 as ChatWaitingEvent, aA as CheckpointOptions, ax as ChildAction, ay as ChildContext, az as ChildObjective, cl as ChunkUploadResponse, z as Citation, K as ClientMode, cn as CompleteUploadRequest, co as CompleteUploadResponse, bg as Connection, bh as ConnectionOptions, C as ConnectionState, dK as ContainerRule, ds as ContainerType, e2 as Conversation, dm as ConversationCreatedEvent, d as ConversationListItem, h as ConversationListSnapshot, e as ConversationListStore, g as ConversationListStoreOptions, em as ConversationManager, eA as ConversationManagerOptions, e4 as ConversationStatus, c as ConversationStore, f as ConversationStoreOptions, a as ConversationStoreSnapshot, ex as ConversationSubscription, e3 as ConversationType, a_ as CreateAgentRunOptions, a$ as CreateAgentRunResult, ev as CreateConvoOptions, cj as CreateUploadRequest, ck as CreateUploadResponse, al as CrossBranchCopySummary, am as CrossBranchNodeChange, L as CurrentUser, cx as DEFAULT_BATCH_CONCURRENCY, cw as DEFAULT_BRANCH, cr as DEFAULT_CHUNK_SIZE, cs as DEFAULT_MAX_RETRIES, cv as DEFAULT_NODE_TYPE, ct as DEFAULT_RETRY_BASE_DELAY, cu as DEFAULT_RETRY_MAX_DELAY, en as DEFAULT_SEND_MESSAGE_INACTIVITY_TIMEOUT_MS, D as Database, a3 as DatabaseHttpOptions, ah as ElementTypes, br as ErrorInfo, be as EventCallback, bc as EventHandler, E as EventMessage, bd as EventSubscriptions, dL as FanOutConfig, b0 as FinishOperationOptions, cG as FlowClient, F as FlowClientOptions, cI as FlowCollectResult, dg as FlowCompletedEvent, dQ as FlowDefinition, dN as FlowDefinitionContainer, dP as FlowDefinitionNode, dH as FlowDefinitionNodeBase, dJ as FlowDefinitionStep, du as FlowErrorStrategy, j as FlowExecutionEvent, dh as FlowFailedEvent, d7 as FlowInstanceStatus, d8 as FlowInstanceStatusResponse, d9 as FlowMetrics, df as FlowResumedEvent, d6 as FlowRunResponse, cH as FlowRunResult, dI as FlowStepProperties, de as FlowWaitingEvent, i as FlowsApi, cU as FunctionInvokeOptions, cV as FunctionInvokeResponse, cW as FunctionInvokeSyncResponse, cJ as FunctionsApi, dA as HandoffTarget, b7 as HttpArchetypes, $ as HttpCurrentUser, Z as HttpDatabase, b8 as HttpElementTypes, cK as HttpFunctionsApi, b6 as HttpNodeTypes, a0 as HttpUserNode, _ as HttpWorkspaceClient, dx as HumanTaskType, cL as IdentityAuthApi, bm as IdentityAuthError, bl as IdentityAuthResponse, cN as IdentityAuthResult, cO as IdentityAuthTransport, cP as IdentityInfo, cQ as IdentityMe, I as IdentityUser, dZ as InboxApi, d_ as InboxApiOptions, dR as InboxTask, dS as InboxTaskStatus, bt as IncomingRelation, eu as ListConversationsOptions, b1 as ListInvocationsFilter, d$ as ListTasksOptions, e0 as ListTasksResponse, bj as LocalStorageTokenStorage, bC as LocalizedNode, dp as LogEvent, c7 as LogLevel, cd as LoggerConfig, dO as LoopConfig, cS as MagicLinkOptions, cR as MagicLinkSent, aB as MailboxEntry, d1 as McpCallToolResult, cX as McpClient, d0 as McpContentBlock, cZ as McpFrameStream, c_ as McpJsonRpcFrame, d3 as McpReadResourceResult, d2 as McpResourceContents, d5 as McpResourceSubscription, d4 as McpResourceUpdate, c$ as McpToolDescriptor, cY as McpTransport, bi as MemoryTokenStorage, dM as MergeStrategy, e5 as MessageBody, eg as MessageChild, dn as MessageSavedEvent, aa as NodeCreateDeepOptions, bw as NodeCreateDeepPayload, a9 as NodeCreateOptions, bv as NodeCreatePayload, by as NodeDeletePayload, aE as NodeDevApi, aH as NodeDevCommitOutcome, aI as NodeDevCommon, aJ as NodeDevConflict, aP as NodeDevReceipt, aK as NodeDevTransport, an as NodeDiffInfo, bp as NodeEventPayload, cz as NodeFileSource, bB as NodeGetByLocalizedPathPayload, bz as NodeGetPayload, bA as NodeHistoryPayload, aL as NodeLocator, a8 as NodeOperations, ac as NodeQueryOptions, bG as NodeQueryPayload, bu as NodeRelationships, aM as NodeRevision, aN as NodeTarget, af as NodeTypes, ab as NodeUpdateOptions, bx as NodeUpdatePayload, aO as OpReceipt, ez as PlanActionOptions, ey as PlanActionReceipt, P as PlanProjection, k as PlanProjectionTask, eh as PlanTask, dU as RETRY_STRATEGIES, dr as RaisinReference, c6 as ReconnectManager, bW as RefreshTokenPayload, bH as RelationAddPayload, bI as RelationRemovePayload, bJ as RelationsGetPayload, bq as RequestContext, bn as RequestEnvelope, c0 as RequestType, bo as ResponseEnvelope, bs as ResponseMetadata, c1 as ResponseStatus, dv as RetryConfig, dw as RetryStrategy, bD as RevisionEntry, b2 as ScheduleInvocationOptions, b3 as ScheduledInvocation, b4 as ScheduledInvocationRef, b5 as ScheduledInvocationTargetKind, ap as SchedulerApi, b9 as SchemaCommit, G as SearchOptions, J as SearchPassage, ew as SendMessageOptions, a1 as SignAssetOptions, a2 as SignedAssetUrl, aC as SpawnChildOptions, aD as SpawnChildResult, ba as SqlQuery, bK as SqlQueryPayload, bL as SqlResult, er as StartAnonymousOptions, db as StepCompletedEvent, dt as StepErrorBehavior, dd as StepFailedEvent, da as StepStartedEvent, dc as StepUsage, bR as SubscribePayload, bf as Subscription, S as SubscriptionFilters, bT as SubscriptionResponse, ao as Tags, dT as TaskCompletionResult, dz as TaskOption, di as TextChunkEvent, dl as ThoughtChunkEvent, bk as TokenStorage, dk as ToolCallCompletedEvent, T as ToolCallInfo, ef as ToolCallRecord, dj as ToolCallStartedEvent, ad as Transaction, bX as TransactionBeginPayload, bY as TransactionBeginResponse, bZ as TransactionCommitPayload, b_ as TransactionCommitResponse, ae as TransactionOptions, b$ as TransactionRollbackPayload, bS as UnsubscribePayload, ci as Upload, cq as UploadError, cF as UploadManager, cf as UploadOptions, cg as UploadProgress, ch as UploadResult, ce as UploadStatus, cm as UploadStatusResponse, cE as Uploader, Y as UserChangeCallback, X as UserChangeEvent, M as UserNode, eo as VisitorChatError, es as VisitorChatLimits, et as VisitorSessionStore, aQ as WorkRoot, bM as Workspace, a4 as WorkspaceClient, a6 as WorkspaceCreateOptions, bN as WorkspaceCreatePayload, bP as WorkspaceDeletePayload, bO as WorkspaceGetPayload, a5 as WorkspaceManager, W as WorkspaceScope, a7 as WorkspaceUpdateOptions, bQ as WorkspaceUpdatePayload, cC as calculateChunkCount, c9 as configureLogger, cA as createFileSource, bb as createSqlHandler, c3 as decodeMessage, ep as defaultVisitorSessionStore, c2 as encodeMessage, cD as getChunkRange, cB as getContentType, cb as getLogLevel, cc as getLoggerConfig, dV as getRefDisplayName, dW as getRefPath, c4 as isEventMessage, dY as isFlowDefinitionContainer, dX as isFlowDefinitionStep, c5 as isResponseEnvelope, dq as isTerminalEvent, c8 as logger, ar as newControlId, eB as projectPlansFromMessages, cM as readTokensFromFragment, ca as setLogLevel, as as subjectOf } from './conversation-list-store-BNYosL8k.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-UlXuwMoL.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-yLeGoj89.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 { au as AgentRunChildView, aR as AgentRunCommand, aS as AgentRunControlAck, aT as AgentRunEvent, aU as AgentRunFence, aV as AgentRunStatus, aW as AgentRunSubject, av as AgentRunSubscribeOptions, aw as AgentRunSubscription, aX as AgentRunView, aq as AgentRunsApi, aY as AgentRunsTransport, at as AgentRunsWsApi,
|
|
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-BNYosL8k.js';
|
|
2
|
+
export { au as AgentRunChildView, aR as AgentRunCommand, aS as AgentRunControlAck, aT as AgentRunEvent, aU as AgentRunFence, aV as AgentRunStatus, aW as AgentRunSubject, av as AgentRunSubscribeOptions, aw as AgentRunSubscription, aX as AgentRunView, aq as AgentRunsApi, aY as AgentRunsTransport, at as AgentRunsWsApi, dG as AiContainerConfig, dF as AiErrorBehavior, dE as AiToolMode, eq as AnonymousConversation, x as Answer, ag as Archetypes, y as AskOptions, bF as AuditLogEntry, bE as AuditQueryPayload, O as AuthEvent, A as AuthManager, cT as AuthProviders, Q as AuthStateChange, V as AuthStateChangeCallback, bU as AuthenticatePayload, bV as AuthenticateResponse, cp as BatchFileProgress, aZ as BeginOperationOptions, aj as BranchDiff, ak as BranchDivergence, ai as Branches, cy as BrowserFileSource, dy as CanonicalTaskType, aF as ChangeOp, aG as ChangesetOptions, e7 as ChatAssistantMessageEvent, e9 as ChatCompletedEvent, ei as ChatConversationCreatedEvent, eb as ChatDoneEvent, e1 as ChatEvent, ea as ChatFailedEvent, el as ChatLogEvent, b as ChatMessage, ek as ChatMessageDeliveredEvent, ej as ChatMessageSavedEvent, dD as ChatStepConfig, dC as ChatTerminationConfig, dB as ChatTerminationMode, e6 as ChatTextChunkEvent, ee as ChatThoughtChunkEvent, ed as ChatToolCallCompletedEvent, ec as ChatToolCallStartedEvent, e8 as ChatWaitingEvent, aA as CheckpointOptions, ax as ChildAction, ay as ChildContext, az as ChildObjective, cl as ChunkUploadResponse, z as Citation, K as ClientMode, cn as CompleteUploadRequest, co as CompleteUploadResponse, bg as Connection, bh as ConnectionOptions, C as ConnectionState, dK as ContainerRule, ds as ContainerType, e2 as Conversation, dm as ConversationCreatedEvent, d as ConversationListItem, h as ConversationListSnapshot, e as ConversationListStore, g as ConversationListStoreOptions, em as ConversationManager, eA as ConversationManagerOptions, e4 as ConversationStatus, c as ConversationStore, f as ConversationStoreOptions, a as ConversationStoreSnapshot, ex as ConversationSubscription, e3 as ConversationType, a_ as CreateAgentRunOptions, a$ as CreateAgentRunResult, ev as CreateConvoOptions, cj as CreateUploadRequest, ck as CreateUploadResponse, al as CrossBranchCopySummary, am as CrossBranchNodeChange, L as CurrentUser, cx as DEFAULT_BATCH_CONCURRENCY, cw as DEFAULT_BRANCH, cr as DEFAULT_CHUNK_SIZE, cs as DEFAULT_MAX_RETRIES, cv as DEFAULT_NODE_TYPE, ct as DEFAULT_RETRY_BASE_DELAY, cu as DEFAULT_RETRY_MAX_DELAY, en as DEFAULT_SEND_MESSAGE_INACTIVITY_TIMEOUT_MS, D as Database, a3 as DatabaseHttpOptions, ah as ElementTypes, br as ErrorInfo, be as EventCallback, bc as EventHandler, E as EventMessage, bd as EventSubscriptions, dL as FanOutConfig, b0 as FinishOperationOptions, cG as FlowClient, F as FlowClientOptions, cI as FlowCollectResult, dg as FlowCompletedEvent, dQ as FlowDefinition, dN as FlowDefinitionContainer, dP as FlowDefinitionNode, dH as FlowDefinitionNodeBase, dJ as FlowDefinitionStep, du as FlowErrorStrategy, j as FlowExecutionEvent, dh as FlowFailedEvent, d7 as FlowInstanceStatus, d8 as FlowInstanceStatusResponse, d9 as FlowMetrics, df as FlowResumedEvent, d6 as FlowRunResponse, cH as FlowRunResult, dI as FlowStepProperties, de as FlowWaitingEvent, i as FlowsApi, cU as FunctionInvokeOptions, cV as FunctionInvokeResponse, cW as FunctionInvokeSyncResponse, cJ as FunctionsApi, dA as HandoffTarget, b7 as HttpArchetypes, $ as HttpCurrentUser, Z as HttpDatabase, b8 as HttpElementTypes, cK as HttpFunctionsApi, b6 as HttpNodeTypes, a0 as HttpUserNode, _ as HttpWorkspaceClient, dx as HumanTaskType, cL as IdentityAuthApi, bm as IdentityAuthError, bl as IdentityAuthResponse, cN as IdentityAuthResult, cO as IdentityAuthTransport, cP as IdentityInfo, cQ as IdentityMe, I as IdentityUser, dZ as InboxApi, d_ as InboxApiOptions, dR as InboxTask, dS as InboxTaskStatus, bt as IncomingRelation, eu as ListConversationsOptions, b1 as ListInvocationsFilter, d$ as ListTasksOptions, e0 as ListTasksResponse, bj as LocalStorageTokenStorage, bC as LocalizedNode, dp as LogEvent, c7 as LogLevel, cd as LoggerConfig, dO as LoopConfig, cS as MagicLinkOptions, cR as MagicLinkSent, aB as MailboxEntry, d1 as McpCallToolResult, cX as McpClient, d0 as McpContentBlock, cZ as McpFrameStream, c_ as McpJsonRpcFrame, d3 as McpReadResourceResult, d2 as McpResourceContents, d5 as McpResourceSubscription, d4 as McpResourceUpdate, c$ as McpToolDescriptor, cY as McpTransport, bi as MemoryTokenStorage, dM as MergeStrategy, e5 as MessageBody, eg as MessageChild, dn as MessageSavedEvent, aa as NodeCreateDeepOptions, bw as NodeCreateDeepPayload, a9 as NodeCreateOptions, bv as NodeCreatePayload, by as NodeDeletePayload, aE as NodeDevApi, aH as NodeDevCommitOutcome, aI as NodeDevCommon, aJ as NodeDevConflict, aP as NodeDevReceipt, aK as NodeDevTransport, an as NodeDiffInfo, bp as NodeEventPayload, cz as NodeFileSource, bB as NodeGetByLocalizedPathPayload, bz as NodeGetPayload, bA as NodeHistoryPayload, aL as NodeLocator, a8 as NodeOperations, ac as NodeQueryOptions, bG as NodeQueryPayload, bu as NodeRelationships, aM as NodeRevision, aN as NodeTarget, af as NodeTypes, ab as NodeUpdateOptions, bx as NodeUpdatePayload, aO as OpReceipt, ez as PlanActionOptions, ey as PlanActionReceipt, P as PlanProjection, k as PlanProjectionTask, eh as PlanTask, dU as RETRY_STRATEGIES, dr as RaisinReference, c6 as ReconnectManager, bW as RefreshTokenPayload, bH as RelationAddPayload, bI as RelationRemovePayload, bJ as RelationsGetPayload, bq as RequestContext, bn as RequestEnvelope, c0 as RequestType, bo as ResponseEnvelope, bs as ResponseMetadata, c1 as ResponseStatus, dv as RetryConfig, dw as RetryStrategy, bD as RevisionEntry, b2 as ScheduleInvocationOptions, b3 as ScheduledInvocation, b4 as ScheduledInvocationRef, b5 as ScheduledInvocationTargetKind, ap as SchedulerApi, b9 as SchemaCommit, G as SearchOptions, J as SearchPassage, ew as SendMessageOptions, a1 as SignAssetOptions, a2 as SignedAssetUrl, aC as SpawnChildOptions, aD as SpawnChildResult, ba as SqlQuery, bK as SqlQueryPayload, bL as SqlResult, er as StartAnonymousOptions, db as StepCompletedEvent, dt as StepErrorBehavior, dd as StepFailedEvent, da as StepStartedEvent, dc as StepUsage, bR as SubscribePayload, bf as Subscription, S as SubscriptionFilters, bT as SubscriptionResponse, ao as Tags, dT as TaskCompletionResult, dz as TaskOption, di as TextChunkEvent, dl as ThoughtChunkEvent, bk as TokenStorage, dk as ToolCallCompletedEvent, T as ToolCallInfo, ef as ToolCallRecord, dj as ToolCallStartedEvent, ad as Transaction, bX as TransactionBeginPayload, bY as TransactionBeginResponse, bZ as TransactionCommitPayload, b_ as TransactionCommitResponse, ae as TransactionOptions, b$ as TransactionRollbackPayload, bS as UnsubscribePayload, ci as Upload, cq as UploadError, cF as UploadManager, cf as UploadOptions, cg as UploadProgress, ch as UploadResult, ce as UploadStatus, cm as UploadStatusResponse, cE as Uploader, Y as UserChangeCallback, X as UserChangeEvent, M as UserNode, eo as VisitorChatError, es as VisitorChatLimits, et as VisitorSessionStore, aQ as WorkRoot, bM as Workspace, a4 as WorkspaceClient, a6 as WorkspaceCreateOptions, bN as WorkspaceCreatePayload, bP as WorkspaceDeletePayload, bO as WorkspaceGetPayload, a5 as WorkspaceManager, W as WorkspaceScope, a7 as WorkspaceUpdateOptions, bQ as WorkspaceUpdatePayload, cC as calculateChunkCount, c9 as configureLogger, cA as createFileSource, bb as createSqlHandler, c3 as decodeMessage, ep as defaultVisitorSessionStore, c2 as encodeMessage, cD as getChunkRange, cB as getContentType, cb as getLogLevel, cc as getLoggerConfig, dV as getRefDisplayName, dW as getRefPath, c4 as isEventMessage, dY as isFlowDefinitionContainer, dX as isFlowDefinitionStep, c5 as isResponseEnvelope, dq as isTerminalEvent, c8 as logger, ar as newControlId, eB as projectPlansFromMessages, cM as readTokensFromFragment, ca as setLogLevel, as as subjectOf } from './conversation-list-store-BNYosL8k.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-GaJToZKx.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-bROcapdk.js';
|
|
6
6
|
export { RaisinVue, VueComputedRef, VueLike, VueRef, createRaisinVue } from './vue.js';
|
|
7
7
|
import 'events';
|
|
8
8
|
import 'fs/promises';
|
package/dist/index.js
CHANGED
|
@@ -874,6 +874,7 @@ var RequestType = /* @__PURE__ */ ((RequestType2) => {
|
|
|
874
874
|
RequestType2["NodeUpdate"] = "node_update";
|
|
875
875
|
RequestType2["NodeDelete"] = "node_delete";
|
|
876
876
|
RequestType2["NodeGet"] = "node_get";
|
|
877
|
+
RequestType2["NodeGetByLocalizedPath"] = "node_get_by_localized_path";
|
|
877
878
|
RequestType2["NodeQuery"] = "node_query";
|
|
878
879
|
RequestType2["NodeQueryByPath"] = "node_query_by_path";
|
|
879
880
|
RequestType2["NodeQueryByProperty"] = "node_query_by_property";
|
|
@@ -1534,6 +1535,27 @@ var NodeOperations = class {
|
|
|
1534
1535
|
const result = await this.sendRequest(payload, "node_history");
|
|
1535
1536
|
return result ?? [];
|
|
1536
1537
|
}
|
|
1538
|
+
/**
|
|
1539
|
+
* Get a node by its localized URL path (plan Phase 12).
|
|
1540
|
+
*
|
|
1541
|
+
* @param locale - Locale code (`fr`, `fr-CA`)
|
|
1542
|
+
* @param path - The node's path in that locale (`/produits/chaise`)
|
|
1543
|
+
* @returns The translated node with `canonical_path`,
|
|
1544
|
+
* `canonical_localized_path`, hreflang `alternates` and a `redirect`
|
|
1545
|
+
* hint, or `null` when nothing resolves (missing, hidden in the locale
|
|
1546
|
+
* or not readable — the same answer)
|
|
1547
|
+
*
|
|
1548
|
+
* @example
|
|
1549
|
+
* ```typescript
|
|
1550
|
+
* const hit = await ws.nodes().getByLocalizedPath('fr', '/produits/chaise');
|
|
1551
|
+
* if (hit?.redirect) redirect301(`/fr${hit.canonical_localized_path}`);
|
|
1552
|
+
* ```
|
|
1553
|
+
*/
|
|
1554
|
+
async getByLocalizedPath(locale, path) {
|
|
1555
|
+
const payload = { locale, path };
|
|
1556
|
+
const result = await this.sendRequest(payload, "node_get_by_localized_path");
|
|
1557
|
+
return result ?? null;
|
|
1558
|
+
}
|
|
1537
1559
|
/**
|
|
1538
1560
|
* List a node's revision history by path (newest first).
|
|
1539
1561
|
*
|