@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.
@@ -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, ResponseStatus 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 RevisionEntry as bB, type AuditQueryPayload as bC, type AuditLogEntry as bD, type NodeQueryPayload as bE, type RelationAddPayload as bF, type RelationRemovePayload as bG, type RelationsGetPayload as bH, type SqlQueryPayload as bI, type SqlResult as bJ, type Workspace as bK, type WorkspaceCreatePayload as bL, type WorkspaceGetPayload as bM, type WorkspaceDeletePayload as bN, type WorkspaceUpdatePayload as bO, type SubscribePayload as bP, type UnsubscribePayload as bQ, type SubscriptionResponse as bR, type AuthenticatePayload as bS, type AuthenticateResponse as bT, type RefreshTokenPayload as bU, type TransactionBeginPayload as bV, type TransactionBeginResponse as bW, type TransactionCommitPayload as bX, type TransactionCommitResponse as bY, type TransactionRollbackPayload as bZ, RequestType 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 McpCallToolResult as c$, encodeMessage as c0, decodeMessage as c1, isEventMessage as c2, isResponseEnvelope as c3, ReconnectManager as c4, LogLevel as c5, logger as c6, configureLogger as c7, setLogLevel as c8, getLogLevel as c9, calculateChunkCount as cA, getChunkRange as cB, Uploader as cC, UploadManager as cD, FlowClient as cE, type FlowRunResult as cF, type FlowCollectResult as cG, FunctionsApi as cH, HttpFunctionsApi as cI, IdentityAuthApi as cJ, readTokensFromFragment as cK, type IdentityAuthResult as cL, type IdentityAuthTransport as cM, type IdentityInfo as cN, type IdentityMe as cO, type MagicLinkSent as cP, type MagicLinkOptions as cQ, type AuthProviders as cR, type FunctionInvokeOptions as cS, type FunctionInvokeResponse as cT, type FunctionInvokeSyncResponse as cU, McpClient as cV, type McpTransport as cW, type McpFrameStream as cX, type McpJsonRpcFrame as cY, type McpToolDescriptor as cZ, type McpContentBlock as c_, getLoggerConfig as ca, type LoggerConfig as cb, type UploadStatus as cc, type UploadOptions as cd, type UploadProgress as ce, type UploadResult as cf, type Upload as cg, type CreateUploadRequest as ch, type CreateUploadResponse as ci, type ChunkUploadResponse as cj, type UploadStatusResponse as ck, type CompleteUploadRequest as cl, type CompleteUploadResponse as cm, type BatchFileProgress as cn, UploadError as co, DEFAULT_CHUNK_SIZE as cp, DEFAULT_MAX_RETRIES as cq, DEFAULT_RETRY_BASE_DELAY as cr, DEFAULT_RETRY_MAX_DELAY as cs, DEFAULT_NODE_TYPE as ct, DEFAULT_BRANCH as cu, DEFAULT_BATCH_CONCURRENCY as cv, BrowserFileSource as cw, NodeFileSource as cx, createFileSource as cy, getContentType as cz, type ConversationListItem as d, type ChatEvent as d$, type McpResourceContents as d0, type McpReadResourceResult as d1, type McpResourceUpdate as d2, type McpResourceSubscription as d3, type FlowRunResponse as d4, type FlowInstanceStatus as d5, type FlowInstanceStatusResponse as d6, type FlowMetrics as d7, type StepStartedEvent as d8, type StepCompletedEvent as d9, type ChatTerminationConfig as dA, type ChatStepConfig as dB, type AiToolMode as dC, type AiErrorBehavior as dD, type AiContainerConfig as dE, type FlowDefinitionNodeBase as dF, type FlowStepProperties as dG, type FlowDefinitionStep as dH, type ContainerRule as dI, type FanOutConfig as dJ, type MergeStrategy as dK, type FlowDefinitionContainer as dL, type LoopConfig as dM, type FlowDefinitionNode as dN, type FlowDefinition as dO, type InboxTask as dP, type InboxTaskStatus as dQ, type TaskCompletionResult as dR, RETRY_STRATEGIES as dS, getRefDisplayName as dT, getRefPath as dU, isFlowDefinitionStep as dV, isFlowDefinitionContainer as dW, InboxApi as dX, type InboxApiOptions as dY, type ListTasksOptions as dZ, type ListTasksResponse as d_, type StepUsage as da, type StepFailedEvent as db, type FlowWaitingEvent as dc, type FlowResumedEvent as dd, type FlowCompletedEvent as de, type FlowFailedEvent as df, type TextChunkEvent as dg, type ToolCallStartedEvent as dh, type ToolCallCompletedEvent as di, type ThoughtChunkEvent as dj, type ConversationCreatedEvent as dk, type MessageSavedEvent as dl, type LogEvent as dm, isTerminalEvent as dn, type RaisinReference as dp, type ContainerType as dq, type StepErrorBehavior as dr, type FlowErrorStrategy as ds, type RetryConfig as dt, type RetryStrategy as du, type HumanTaskType as dv, type CanonicalTaskType as dw, type TaskOption as dx, type HandoffTarget as dy, type ChatTerminationMode as dz, ConversationListStore as e, type Conversation as e0, type ConversationType as e1, type ConversationStatus as e2, type MessageBody as e3, type ChatTextChunkEvent as e4, type ChatAssistantMessageEvent as e5, type ChatWaitingEvent as e6, type ChatCompletedEvent as e7, type ChatFailedEvent as e8, type ChatDoneEvent as e9, type ChatToolCallStartedEvent as ea, type ChatToolCallCompletedEvent as eb, type ChatThoughtChunkEvent as ec, type ToolCallRecord as ed, type MessageChild as ee, type PlanTask as ef, type ChatConversationCreatedEvent as eg, type ChatMessageSavedEvent as eh, type ChatMessageDeliveredEvent as ei, type ChatLogEvent as ej, ConversationManager as ek, DEFAULT_SEND_MESSAGE_INACTIVITY_TIMEOUT_MS as el, VisitorChatError as em, defaultVisitorSessionStore as en, type AnonymousConversation as eo, type StartAnonymousOptions as ep, type VisitorChatLimits as eq, type VisitorSessionStore as er, type ListConversationsOptions as es, type CreateConversationOptions as et, type SendMessageOptions as eu, type ConversationSubscription as ev, type PlanActionReceipt as ew, type PlanActionOptions as ex, type ConversationManagerOptions as ey, projectPlansFromMessages 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 };
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 };
@@ -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, ResponseStatus 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 RevisionEntry as bB, type AuditQueryPayload as bC, type AuditLogEntry as bD, type NodeQueryPayload as bE, type RelationAddPayload as bF, type RelationRemovePayload as bG, type RelationsGetPayload as bH, type SqlQueryPayload as bI, type SqlResult as bJ, type Workspace as bK, type WorkspaceCreatePayload as bL, type WorkspaceGetPayload as bM, type WorkspaceDeletePayload as bN, type WorkspaceUpdatePayload as bO, type SubscribePayload as bP, type UnsubscribePayload as bQ, type SubscriptionResponse as bR, type AuthenticatePayload as bS, type AuthenticateResponse as bT, type RefreshTokenPayload as bU, type TransactionBeginPayload as bV, type TransactionBeginResponse as bW, type TransactionCommitPayload as bX, type TransactionCommitResponse as bY, type TransactionRollbackPayload as bZ, RequestType 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 McpCallToolResult as c$, encodeMessage as c0, decodeMessage as c1, isEventMessage as c2, isResponseEnvelope as c3, ReconnectManager as c4, LogLevel as c5, logger as c6, configureLogger as c7, setLogLevel as c8, getLogLevel as c9, calculateChunkCount as cA, getChunkRange as cB, Uploader as cC, UploadManager as cD, FlowClient as cE, type FlowRunResult as cF, type FlowCollectResult as cG, FunctionsApi as cH, HttpFunctionsApi as cI, IdentityAuthApi as cJ, readTokensFromFragment as cK, type IdentityAuthResult as cL, type IdentityAuthTransport as cM, type IdentityInfo as cN, type IdentityMe as cO, type MagicLinkSent as cP, type MagicLinkOptions as cQ, type AuthProviders as cR, type FunctionInvokeOptions as cS, type FunctionInvokeResponse as cT, type FunctionInvokeSyncResponse as cU, McpClient as cV, type McpTransport as cW, type McpFrameStream as cX, type McpJsonRpcFrame as cY, type McpToolDescriptor as cZ, type McpContentBlock as c_, getLoggerConfig as ca, type LoggerConfig as cb, type UploadStatus as cc, type UploadOptions as cd, type UploadProgress as ce, type UploadResult as cf, type Upload as cg, type CreateUploadRequest as ch, type CreateUploadResponse as ci, type ChunkUploadResponse as cj, type UploadStatusResponse as ck, type CompleteUploadRequest as cl, type CompleteUploadResponse as cm, type BatchFileProgress as cn, UploadError as co, DEFAULT_CHUNK_SIZE as cp, DEFAULT_MAX_RETRIES as cq, DEFAULT_RETRY_BASE_DELAY as cr, DEFAULT_RETRY_MAX_DELAY as cs, DEFAULT_NODE_TYPE as ct, DEFAULT_BRANCH as cu, DEFAULT_BATCH_CONCURRENCY as cv, BrowserFileSource as cw, NodeFileSource as cx, createFileSource as cy, getContentType as cz, type ConversationListItem as d, type ChatEvent as d$, type McpResourceContents as d0, type McpReadResourceResult as d1, type McpResourceUpdate as d2, type McpResourceSubscription as d3, type FlowRunResponse as d4, type FlowInstanceStatus as d5, type FlowInstanceStatusResponse as d6, type FlowMetrics as d7, type StepStartedEvent as d8, type StepCompletedEvent as d9, type ChatTerminationConfig as dA, type ChatStepConfig as dB, type AiToolMode as dC, type AiErrorBehavior as dD, type AiContainerConfig as dE, type FlowDefinitionNodeBase as dF, type FlowStepProperties as dG, type FlowDefinitionStep as dH, type ContainerRule as dI, type FanOutConfig as dJ, type MergeStrategy as dK, type FlowDefinitionContainer as dL, type LoopConfig as dM, type FlowDefinitionNode as dN, type FlowDefinition as dO, type InboxTask as dP, type InboxTaskStatus as dQ, type TaskCompletionResult as dR, RETRY_STRATEGIES as dS, getRefDisplayName as dT, getRefPath as dU, isFlowDefinitionStep as dV, isFlowDefinitionContainer as dW, InboxApi as dX, type InboxApiOptions as dY, type ListTasksOptions as dZ, type ListTasksResponse as d_, type StepUsage as da, type StepFailedEvent as db, type FlowWaitingEvent as dc, type FlowResumedEvent as dd, type FlowCompletedEvent as de, type FlowFailedEvent as df, type TextChunkEvent as dg, type ToolCallStartedEvent as dh, type ToolCallCompletedEvent as di, type ThoughtChunkEvent as dj, type ConversationCreatedEvent as dk, type MessageSavedEvent as dl, type LogEvent as dm, isTerminalEvent as dn, type RaisinReference as dp, type ContainerType as dq, type StepErrorBehavior as dr, type FlowErrorStrategy as ds, type RetryConfig as dt, type RetryStrategy as du, type HumanTaskType as dv, type CanonicalTaskType as dw, type TaskOption as dx, type HandoffTarget as dy, type ChatTerminationMode as dz, ConversationListStore as e, type Conversation as e0, type ConversationType as e1, type ConversationStatus as e2, type MessageBody as e3, type ChatTextChunkEvent as e4, type ChatAssistantMessageEvent as e5, type ChatWaitingEvent as e6, type ChatCompletedEvent as e7, type ChatFailedEvent as e8, type ChatDoneEvent as e9, type ChatToolCallStartedEvent as ea, type ChatToolCallCompletedEvent as eb, type ChatThoughtChunkEvent as ec, type ToolCallRecord as ed, type MessageChild as ee, type PlanTask as ef, type ChatConversationCreatedEvent as eg, type ChatMessageSavedEvent as eh, type ChatMessageDeliveredEvent as ei, type ChatLogEvent as ej, ConversationManager as ek, DEFAULT_SEND_MESSAGE_INACTIVITY_TIMEOUT_MS as el, VisitorChatError as em, defaultVisitorSessionStore as en, type AnonymousConversation as eo, type StartAnonymousOptions as ep, type VisitorChatLimits as eq, type VisitorSessionStore as er, type ListConversationsOptions as es, type CreateConversationOptions as et, type SendMessageOptions as eu, type ConversationSubscription as ev, type PlanActionReceipt as ew, type PlanActionOptions as ex, type ConversationManagerOptions as ey, projectPlansFromMessages 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 };
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-CqgIk8Rn.js';
1
+ import { f as ConversationStoreOptions, a as ConversationStoreSnapshot, b as ChatMessage, g as ConversationListStoreOptions, h as ConversationListSnapshot, d as ConversationListItem, R as RaisinClient, I as IdentityUser, C as ConnectionState, S as SubscriptionFilters, D as Database, A as AuthManager, F as FlowClientOptions, i as FlowsApi, j as FlowExecutionEvent, E as EventMessage } from './conversation-list-store-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-CqgIk8Rn.mjs';
1
+ import { f as ConversationStoreOptions, a as ConversationStoreSnapshot, b as ChatMessage, g as ConversationListStoreOptions, h as ConversationListSnapshot, d as ConversationListItem, R as RaisinClient, I as IdentityUser, C as ConnectionState, S as SubscriptionFilters, D as Database, A as AuthManager, F as FlowClientOptions, i as FlowsApi, j as FlowExecutionEvent, E as EventMessage } from './conversation-list-store-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-CqgIk8Rn.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, dE as AiContainerConfig, dD as AiErrorBehavior, dC as AiToolMode, eo as AnonymousConversation, x as Answer, ag as Archetypes, y as AskOptions, bD as AuditLogEntry, bC as AuditQueryPayload, O as AuthEvent, A as AuthManager, cR as AuthProviders, Q as AuthStateChange, V as AuthStateChangeCallback, bS as AuthenticatePayload, bT as AuthenticateResponse, cn as BatchFileProgress, aZ as BeginOperationOptions, aj as BranchDiff, ak as BranchDivergence, ai as Branches, cw as BrowserFileSource, dw as CanonicalTaskType, aF as ChangeOp, aG as ChangesetOptions, e5 as ChatAssistantMessageEvent, e7 as ChatCompletedEvent, eg as ChatConversationCreatedEvent, e9 as ChatDoneEvent, d$ as ChatEvent, e8 as ChatFailedEvent, ej as ChatLogEvent, b as ChatMessage, ei as ChatMessageDeliveredEvent, eh as ChatMessageSavedEvent, dB as ChatStepConfig, dA as ChatTerminationConfig, dz as ChatTerminationMode, e4 as ChatTextChunkEvent, ec as ChatThoughtChunkEvent, eb as ChatToolCallCompletedEvent, ea as ChatToolCallStartedEvent, e6 as ChatWaitingEvent, aA as CheckpointOptions, ax as ChildAction, ay as ChildContext, az as ChildObjective, cj as ChunkUploadResponse, z as Citation, K as ClientMode, cl as CompleteUploadRequest, cm as CompleteUploadResponse, bg as Connection, bh as ConnectionOptions, C as ConnectionState, dI as ContainerRule, dq as ContainerType, e0 as Conversation, dk as ConversationCreatedEvent, d as ConversationListItem, h as ConversationListSnapshot, e as ConversationListStore, g as ConversationListStoreOptions, ek as ConversationManager, ey as ConversationManagerOptions, e2 as ConversationStatus, c as ConversationStore, f as ConversationStoreOptions, a as ConversationStoreSnapshot, ev as ConversationSubscription, e1 as ConversationType, a_ as CreateAgentRunOptions, a$ as CreateAgentRunResult, et as CreateConvoOptions, ch as CreateUploadRequest, ci as CreateUploadResponse, al as CrossBranchCopySummary, am as CrossBranchNodeChange, L as CurrentUser, cv as DEFAULT_BATCH_CONCURRENCY, cu as DEFAULT_BRANCH, cp as DEFAULT_CHUNK_SIZE, cq as DEFAULT_MAX_RETRIES, ct as DEFAULT_NODE_TYPE, cr as DEFAULT_RETRY_BASE_DELAY, cs as DEFAULT_RETRY_MAX_DELAY, el 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, dJ as FanOutConfig, b0 as FinishOperationOptions, cE as FlowClient, F as FlowClientOptions, cG as FlowCollectResult, de as FlowCompletedEvent, dO as FlowDefinition, dL as FlowDefinitionContainer, dN as FlowDefinitionNode, dF as FlowDefinitionNodeBase, dH as FlowDefinitionStep, ds as FlowErrorStrategy, j as FlowExecutionEvent, df as FlowFailedEvent, d5 as FlowInstanceStatus, d6 as FlowInstanceStatusResponse, d7 as FlowMetrics, dd as FlowResumedEvent, d4 as FlowRunResponse, cF as FlowRunResult, dG as FlowStepProperties, dc as FlowWaitingEvent, i as FlowsApi, cS as FunctionInvokeOptions, cT as FunctionInvokeResponse, cU as FunctionInvokeSyncResponse, cH as FunctionsApi, dy as HandoffTarget, b7 as HttpArchetypes, $ as HttpCurrentUser, Z as HttpDatabase, b8 as HttpElementTypes, cI as HttpFunctionsApi, b6 as HttpNodeTypes, a0 as HttpUserNode, _ as HttpWorkspaceClient, dv as HumanTaskType, cJ as IdentityAuthApi, bm as IdentityAuthError, bl as IdentityAuthResponse, cL as IdentityAuthResult, cM as IdentityAuthTransport, cN as IdentityInfo, cO as IdentityMe, I as IdentityUser, dX as InboxApi, dY as InboxApiOptions, dP as InboxTask, dQ as InboxTaskStatus, bt as IncomingRelation, es as ListConversationsOptions, b1 as ListInvocationsFilter, dZ as ListTasksOptions, d_ as ListTasksResponse, bj as LocalStorageTokenStorage, dm as LogEvent, c5 as LogLevel, cb as LoggerConfig, dM as LoopConfig, cQ as MagicLinkOptions, cP as MagicLinkSent, aB as MailboxEntry, c$ as McpCallToolResult, cV as McpClient, c_ as McpContentBlock, cX as McpFrameStream, cY as McpJsonRpcFrame, d1 as McpReadResourceResult, d0 as McpResourceContents, d3 as McpResourceSubscription, d2 as McpResourceUpdate, cZ as McpToolDescriptor, cW as McpTransport, bi as MemoryTokenStorage, dK as MergeStrategy, e3 as MessageBody, ee as MessageChild, dl 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, cx as NodeFileSource, bz as NodeGetPayload, bA as NodeHistoryPayload, aL as NodeLocator, a8 as NodeOperations, ac as NodeQueryOptions, bE as NodeQueryPayload, bu as NodeRelationships, aM as NodeRevision, aN as NodeTarget, af as NodeTypes, ab as NodeUpdateOptions, bx as NodeUpdatePayload, aO as OpReceipt, ex as PlanActionOptions, ew as PlanActionReceipt, P as PlanProjection, k as PlanProjectionTask, ef as PlanTask, dS as RETRY_STRATEGIES, dp as RaisinReference, c4 as ReconnectManager, bU as RefreshTokenPayload, bF as RelationAddPayload, bG as RelationRemovePayload, bH as RelationsGetPayload, bq as RequestContext, bn as RequestEnvelope, b_ as RequestType, bo as ResponseEnvelope, bs as ResponseMetadata, b$ as ResponseStatus, dt as RetryConfig, du as RetryStrategy, bB 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, eu as SendMessageOptions, a1 as SignAssetOptions, a2 as SignedAssetUrl, aC as SpawnChildOptions, aD as SpawnChildResult, ba as SqlQuery, bI as SqlQueryPayload, bJ as SqlResult, ep as StartAnonymousOptions, d9 as StepCompletedEvent, dr as StepErrorBehavior, db as StepFailedEvent, d8 as StepStartedEvent, da as StepUsage, bP as SubscribePayload, bf as Subscription, S as SubscriptionFilters, bR as SubscriptionResponse, ao as Tags, dR as TaskCompletionResult, dx as TaskOption, dg as TextChunkEvent, dj as ThoughtChunkEvent, bk as TokenStorage, di as ToolCallCompletedEvent, T as ToolCallInfo, ed as ToolCallRecord, dh as ToolCallStartedEvent, ad as Transaction, bV as TransactionBeginPayload, bW as TransactionBeginResponse, bX as TransactionCommitPayload, bY as TransactionCommitResponse, ae as TransactionOptions, bZ as TransactionRollbackPayload, bQ as UnsubscribePayload, cg as Upload, co as UploadError, cD as UploadManager, cd as UploadOptions, ce as UploadProgress, cf as UploadResult, cc as UploadStatus, ck as UploadStatusResponse, cC as Uploader, Y as UserChangeCallback, X as UserChangeEvent, M as UserNode, em as VisitorChatError, eq as VisitorChatLimits, er as VisitorSessionStore, aQ as WorkRoot, bK as Workspace, a4 as WorkspaceClient, a6 as WorkspaceCreateOptions, bL as WorkspaceCreatePayload, bN as WorkspaceDeletePayload, bM as WorkspaceGetPayload, a5 as WorkspaceManager, W as WorkspaceScope, a7 as WorkspaceUpdateOptions, bO as WorkspaceUpdatePayload, cA as calculateChunkCount, c7 as configureLogger, cy as createFileSource, bb as createSqlHandler, c1 as decodeMessage, en as defaultVisitorSessionStore, c0 as encodeMessage, cB as getChunkRange, cz as getContentType, c9 as getLogLevel, ca as getLoggerConfig, dT as getRefDisplayName, dU as getRefPath, c2 as isEventMessage, dW as isFlowDefinitionContainer, dV as isFlowDefinitionStep, c3 as isResponseEnvelope, dn as isTerminalEvent, c6 as logger, ar as newControlId, ez as projectPlansFromMessages, cK as readTokensFromFragment, c8 as setLogLevel, as as subjectOf } from './conversation-list-store-CqgIk8Rn.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-BD3rutlF.mjs';
1
+ import { l as PropertyValue, m as RelationRef, N as Node, H as HttpClientOptions, n as ClientOptions, o as Credentials, p as RaisinHttpClient, R as RaisinClient, q as RetryOptions, U as UploadErrorCode, B as BatchUpload, r as UploaderConfig, s as FileSource, t as BatchUploadOptions, u as BatchUploadResult, v as BatchProgress, w as ReconnectOptions } from './conversation-list-store-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-l1wmTWM4.mjs';
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-CqgIk8Rn.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, dE as AiContainerConfig, dD as AiErrorBehavior, dC as AiToolMode, eo as AnonymousConversation, x as Answer, ag as Archetypes, y as AskOptions, bD as AuditLogEntry, bC as AuditQueryPayload, O as AuthEvent, A as AuthManager, cR as AuthProviders, Q as AuthStateChange, V as AuthStateChangeCallback, bS as AuthenticatePayload, bT as AuthenticateResponse, cn as BatchFileProgress, aZ as BeginOperationOptions, aj as BranchDiff, ak as BranchDivergence, ai as Branches, cw as BrowserFileSource, dw as CanonicalTaskType, aF as ChangeOp, aG as ChangesetOptions, e5 as ChatAssistantMessageEvent, e7 as ChatCompletedEvent, eg as ChatConversationCreatedEvent, e9 as ChatDoneEvent, d$ as ChatEvent, e8 as ChatFailedEvent, ej as ChatLogEvent, b as ChatMessage, ei as ChatMessageDeliveredEvent, eh as ChatMessageSavedEvent, dB as ChatStepConfig, dA as ChatTerminationConfig, dz as ChatTerminationMode, e4 as ChatTextChunkEvent, ec as ChatThoughtChunkEvent, eb as ChatToolCallCompletedEvent, ea as ChatToolCallStartedEvent, e6 as ChatWaitingEvent, aA as CheckpointOptions, ax as ChildAction, ay as ChildContext, az as ChildObjective, cj as ChunkUploadResponse, z as Citation, K as ClientMode, cl as CompleteUploadRequest, cm as CompleteUploadResponse, bg as Connection, bh as ConnectionOptions, C as ConnectionState, dI as ContainerRule, dq as ContainerType, e0 as Conversation, dk as ConversationCreatedEvent, d as ConversationListItem, h as ConversationListSnapshot, e as ConversationListStore, g as ConversationListStoreOptions, ek as ConversationManager, ey as ConversationManagerOptions, e2 as ConversationStatus, c as ConversationStore, f as ConversationStoreOptions, a as ConversationStoreSnapshot, ev as ConversationSubscription, e1 as ConversationType, a_ as CreateAgentRunOptions, a$ as CreateAgentRunResult, et as CreateConvoOptions, ch as CreateUploadRequest, ci as CreateUploadResponse, al as CrossBranchCopySummary, am as CrossBranchNodeChange, L as CurrentUser, cv as DEFAULT_BATCH_CONCURRENCY, cu as DEFAULT_BRANCH, cp as DEFAULT_CHUNK_SIZE, cq as DEFAULT_MAX_RETRIES, ct as DEFAULT_NODE_TYPE, cr as DEFAULT_RETRY_BASE_DELAY, cs as DEFAULT_RETRY_MAX_DELAY, el 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, dJ as FanOutConfig, b0 as FinishOperationOptions, cE as FlowClient, F as FlowClientOptions, cG as FlowCollectResult, de as FlowCompletedEvent, dO as FlowDefinition, dL as FlowDefinitionContainer, dN as FlowDefinitionNode, dF as FlowDefinitionNodeBase, dH as FlowDefinitionStep, ds as FlowErrorStrategy, j as FlowExecutionEvent, df as FlowFailedEvent, d5 as FlowInstanceStatus, d6 as FlowInstanceStatusResponse, d7 as FlowMetrics, dd as FlowResumedEvent, d4 as FlowRunResponse, cF as FlowRunResult, dG as FlowStepProperties, dc as FlowWaitingEvent, i as FlowsApi, cS as FunctionInvokeOptions, cT as FunctionInvokeResponse, cU as FunctionInvokeSyncResponse, cH as FunctionsApi, dy as HandoffTarget, b7 as HttpArchetypes, $ as HttpCurrentUser, Z as HttpDatabase, b8 as HttpElementTypes, cI as HttpFunctionsApi, b6 as HttpNodeTypes, a0 as HttpUserNode, _ as HttpWorkspaceClient, dv as HumanTaskType, cJ as IdentityAuthApi, bm as IdentityAuthError, bl as IdentityAuthResponse, cL as IdentityAuthResult, cM as IdentityAuthTransport, cN as IdentityInfo, cO as IdentityMe, I as IdentityUser, dX as InboxApi, dY as InboxApiOptions, dP as InboxTask, dQ as InboxTaskStatus, bt as IncomingRelation, es as ListConversationsOptions, b1 as ListInvocationsFilter, dZ as ListTasksOptions, d_ as ListTasksResponse, bj as LocalStorageTokenStorage, dm as LogEvent, c5 as LogLevel, cb as LoggerConfig, dM as LoopConfig, cQ as MagicLinkOptions, cP as MagicLinkSent, aB as MailboxEntry, c$ as McpCallToolResult, cV as McpClient, c_ as McpContentBlock, cX as McpFrameStream, cY as McpJsonRpcFrame, d1 as McpReadResourceResult, d0 as McpResourceContents, d3 as McpResourceSubscription, d2 as McpResourceUpdate, cZ as McpToolDescriptor, cW as McpTransport, bi as MemoryTokenStorage, dK as MergeStrategy, e3 as MessageBody, ee as MessageChild, dl 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, cx as NodeFileSource, bz as NodeGetPayload, bA as NodeHistoryPayload, aL as NodeLocator, a8 as NodeOperations, ac as NodeQueryOptions, bE as NodeQueryPayload, bu as NodeRelationships, aM as NodeRevision, aN as NodeTarget, af as NodeTypes, ab as NodeUpdateOptions, bx as NodeUpdatePayload, aO as OpReceipt, ex as PlanActionOptions, ew as PlanActionReceipt, P as PlanProjection, k as PlanProjectionTask, ef as PlanTask, dS as RETRY_STRATEGIES, dp as RaisinReference, c4 as ReconnectManager, bU as RefreshTokenPayload, bF as RelationAddPayload, bG as RelationRemovePayload, bH as RelationsGetPayload, bq as RequestContext, bn as RequestEnvelope, b_ as RequestType, bo as ResponseEnvelope, bs as ResponseMetadata, b$ as ResponseStatus, dt as RetryConfig, du as RetryStrategy, bB 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, eu as SendMessageOptions, a1 as SignAssetOptions, a2 as SignedAssetUrl, aC as SpawnChildOptions, aD as SpawnChildResult, ba as SqlQuery, bI as SqlQueryPayload, bJ as SqlResult, ep as StartAnonymousOptions, d9 as StepCompletedEvent, dr as StepErrorBehavior, db as StepFailedEvent, d8 as StepStartedEvent, da as StepUsage, bP as SubscribePayload, bf as Subscription, S as SubscriptionFilters, bR as SubscriptionResponse, ao as Tags, dR as TaskCompletionResult, dx as TaskOption, dg as TextChunkEvent, dj as ThoughtChunkEvent, bk as TokenStorage, di as ToolCallCompletedEvent, T as ToolCallInfo, ed as ToolCallRecord, dh as ToolCallStartedEvent, ad as Transaction, bV as TransactionBeginPayload, bW as TransactionBeginResponse, bX as TransactionCommitPayload, bY as TransactionCommitResponse, ae as TransactionOptions, bZ as TransactionRollbackPayload, bQ as UnsubscribePayload, cg as Upload, co as UploadError, cD as UploadManager, cd as UploadOptions, ce as UploadProgress, cf as UploadResult, cc as UploadStatus, ck as UploadStatusResponse, cC as Uploader, Y as UserChangeCallback, X as UserChangeEvent, M as UserNode, em as VisitorChatError, eq as VisitorChatLimits, er as VisitorSessionStore, aQ as WorkRoot, bK as Workspace, a4 as WorkspaceClient, a6 as WorkspaceCreateOptions, bL as WorkspaceCreatePayload, bN as WorkspaceDeletePayload, bM as WorkspaceGetPayload, a5 as WorkspaceManager, W as WorkspaceScope, a7 as WorkspaceUpdateOptions, bO as WorkspaceUpdatePayload, cA as calculateChunkCount, c7 as configureLogger, cy as createFileSource, bb as createSqlHandler, c1 as decodeMessage, en as defaultVisitorSessionStore, c0 as encodeMessage, cB as getChunkRange, cz as getContentType, c9 as getLogLevel, ca as getLoggerConfig, dT as getRefDisplayName, dU as getRefPath, c2 as isEventMessage, dW as isFlowDefinitionContainer, dV as isFlowDefinitionStep, c3 as isResponseEnvelope, dn as isTerminalEvent, c6 as logger, ar as newControlId, ez as projectPlansFromMessages, cK as readTokensFromFragment, c8 as setLogLevel, as as subjectOf } from './conversation-list-store-CqgIk8Rn.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-CDUAMIub.js';
1
+ import { l as PropertyValue, m as RelationRef, N as Node, H as HttpClientOptions, n as ClientOptions, o as Credentials, p as RaisinHttpClient, R as RaisinClient, q as RetryOptions, U as UploadErrorCode, B as BatchUpload, r as UploaderConfig, s as FileSource, t as BatchUploadOptions, u as BatchUploadResult, v as BatchProgress, w as ReconnectOptions } from './conversation-list-store-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-D9YU1wYS.js';
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
  *