@raisindb/client 0.5.3 → 0.5.5
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/{chunk-3KMOXRTK.mjs → chunk-765DLJMZ.mjs} +24 -3
- package/dist/chunk-765DLJMZ.mjs.map +1 -0
- package/dist/{chunk-Q4IBPW2W.mjs → chunk-AULHRX5C.mjs} +2 -2
- package/dist/{chunk-QJKYNLT4.mjs → chunk-IFV4ECHC.mjs} +3 -3
- package/dist/{chunk-B6EFDYFS.mjs → chunk-VMUT6PIO.mjs} +2 -2
- package/dist/{chunk-P44XWTPA.mjs → chunk-ZUUSBLVP.mjs} +3 -3
- package/dist/{conversation-list-store-DVYgTaaA.d.mts → conversation-list-store-BaeGM2lx.d.mts} +439 -173
- package/dist/{conversation-list-store-DVYgTaaA.d.ts → conversation-list-store-BaeGM2lx.d.ts} +439 -173
- package/dist/{index-BOO1gV6F.d.mts → index-C4pX6FVI.d.mts} +1 -1
- package/dist/{index-AKUurvWQ.d.ts → index-DCtNAWZ0.d.ts} +1 -1
- package/dist/index.d.mts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +256 -16
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +238 -19
- package/dist/index.mjs.map +1 -1
- package/dist/react.d.mts +2 -2
- package/dist/react.d.ts +2 -2
- package/dist/react.js +23 -2
- package/dist/react.js.map +1 -1
- package/dist/react.mjs +3 -3
- package/dist/{svelte-sql-B1nLVQuc.d.mts → svelte-sql-BhMxrqn_.d.mts} +1 -1
- package/dist/{svelte-sql-ABIom_Bb.d.ts → svelte-sql-DN3NpM4c.d.ts} +1 -1
- package/dist/svelte.d.mts +2 -2
- package/dist/svelte.d.ts +2 -2
- package/dist/svelte.js +23 -2
- package/dist/svelte.js.map +1 -1
- package/dist/svelte.mjs +3 -3
- package/dist/vue.d.mts +2 -2
- package/dist/vue.d.ts +2 -2
- package/dist/vue.js +23 -2
- package/dist/vue.js.map +1 -1
- package/dist/vue.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunk-3KMOXRTK.mjs.map +0 -1
- /package/dist/{chunk-Q4IBPW2W.mjs.map → chunk-AULHRX5C.mjs.map} +0 -0
- /package/dist/{chunk-QJKYNLT4.mjs.map → chunk-IFV4ECHC.mjs.map} +0 -0
- /package/dist/{chunk-B6EFDYFS.mjs.map → chunk-VMUT6PIO.mjs.map} +0 -0
- /package/dist/{chunk-P44XWTPA.mjs.map → chunk-ZUUSBLVP.mjs.map} +0 -0
package/dist/react.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createRaisinReact
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-IFV4ECHC.mjs";
|
|
4
|
+
import "./chunk-AULHRX5C.mjs";
|
|
5
|
+
import "./chunk-765DLJMZ.mjs";
|
|
6
6
|
export {
|
|
7
7
|
createRaisinReact
|
|
8
8
|
};
|
package/dist/svelte.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { f as ConversationStoreOptions, c as ConversationStore, a as ConversationStoreSnapshot, b as ChatMessage, g as ConversationListStoreOptions, e as ConversationListStore, h as ConversationListSnapshot, d as ConversationListItem, R as RaisinClient, I as IdentityUser, C as ConnectionState, D as Database, S as SubscriptionFilters, E as EventMessage, A as AuthManager, F as FlowClientOptions, i as FlowsApi, j as FlowExecutionEvent } from './conversation-list-store-
|
|
2
|
-
export { b as SqlAdapter, S as SqlAdapterOptions, a as SqlSnapshot, c as createSqlAdapter } from './svelte-sql-
|
|
1
|
+
import { f as ConversationStoreOptions, c as ConversationStore, a as ConversationStoreSnapshot, b as ChatMessage, g as ConversationListStoreOptions, e as ConversationListStore, h as ConversationListSnapshot, d as ConversationListItem, R as RaisinClient, I as IdentityUser, C as ConnectionState, D as Database, S as SubscriptionFilters, E as EventMessage, A as AuthManager, F as FlowClientOptions, i as FlowsApi, j as FlowExecutionEvent } from './conversation-list-store-BaeGM2lx.mjs';
|
|
2
|
+
export { b as SqlAdapter, S as SqlAdapterOptions, a as SqlSnapshot, c as createSqlAdapter } from './svelte-sql-BhMxrqn_.mjs';
|
|
3
3
|
import 'events';
|
|
4
4
|
import 'fs/promises';
|
|
5
5
|
|
package/dist/svelte.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { f as ConversationStoreOptions, c as ConversationStore, a as ConversationStoreSnapshot, b as ChatMessage, g as ConversationListStoreOptions, e as ConversationListStore, h as ConversationListSnapshot, d as ConversationListItem, R as RaisinClient, I as IdentityUser, C as ConnectionState, D as Database, S as SubscriptionFilters, E as EventMessage, A as AuthManager, F as FlowClientOptions, i as FlowsApi, j as FlowExecutionEvent } from './conversation-list-store-
|
|
2
|
-
export { b as SqlAdapter, S as SqlAdapterOptions, a as SqlSnapshot, c as createSqlAdapter } from './svelte-sql-
|
|
1
|
+
import { f as ConversationStoreOptions, c as ConversationStore, a as ConversationStoreSnapshot, b as ChatMessage, g as ConversationListStoreOptions, e as ConversationListStore, h as ConversationListSnapshot, d as ConversationListItem, R as RaisinClient, I as IdentityUser, C as ConnectionState, D as Database, S as SubscriptionFilters, E as EventMessage, A as AuthManager, F as FlowClientOptions, i as FlowsApi, j as FlowExecutionEvent } from './conversation-list-store-BaeGM2lx.js';
|
|
2
|
+
export { b as SqlAdapter, S as SqlAdapterOptions, a as SqlSnapshot, c as createSqlAdapter } from './svelte-sql-DN3NpM4c.js';
|
|
3
3
|
import 'events';
|
|
4
4
|
import 'fs/promises';
|
|
5
5
|
|
package/dist/svelte.js
CHANGED
|
@@ -1406,12 +1406,23 @@ function parsePlanTasks(rawTasks) {
|
|
|
1406
1406
|
}
|
|
1407
1407
|
const task = asRecord(rawTask);
|
|
1408
1408
|
if (!task) return null;
|
|
1409
|
+
const delegation = asRecord(task.delegation);
|
|
1409
1410
|
return {
|
|
1410
1411
|
taskId: asString(task.task_id) ?? asString(task.id),
|
|
1411
1412
|
title: asString(task.title) ?? `Task ${index + 1}`,
|
|
1412
1413
|
status: asString(task.status) ?? "pending",
|
|
1413
1414
|
description: asString(task.description),
|
|
1414
|
-
priority: asString(task.priority)
|
|
1415
|
+
priority: asString(task.priority),
|
|
1416
|
+
delegation: delegation ? {
|
|
1417
|
+
id: asString(delegation.id),
|
|
1418
|
+
status: asString(delegation.status) ?? "unknown",
|
|
1419
|
+
agentRef: asString(delegation.agent_ref) ?? asString(delegation.agentRef),
|
|
1420
|
+
flowInstanceId: asString(delegation.flow_instance_id) ?? asString(delegation.flowInstanceId),
|
|
1421
|
+
branch: asString(delegation.branch),
|
|
1422
|
+
baseBranch: asString(delegation.base_branch) ?? asString(delegation.baseBranch),
|
|
1423
|
+
result: delegation.result,
|
|
1424
|
+
error: asString(delegation.error)
|
|
1425
|
+
} : void 0
|
|
1415
1426
|
};
|
|
1416
1427
|
}).filter((task) => task !== null);
|
|
1417
1428
|
}
|
|
@@ -1518,7 +1529,17 @@ function projectPlansFromMessages(messages) {
|
|
|
1518
1529
|
plan.tasks = child.tasks.map((task) => ({
|
|
1519
1530
|
taskId: task.id,
|
|
1520
1531
|
title: task.title,
|
|
1521
|
-
status: task.status
|
|
1532
|
+
status: task.status,
|
|
1533
|
+
delegation: task.delegation ? {
|
|
1534
|
+
id: task.delegation.id,
|
|
1535
|
+
status: task.delegation.status,
|
|
1536
|
+
agentRef: task.delegation.agentRef,
|
|
1537
|
+
flowInstanceId: task.delegation.flowInstanceId,
|
|
1538
|
+
branch: task.delegation.branch,
|
|
1539
|
+
baseBranch: task.delegation.baseBranch,
|
|
1540
|
+
result: task.delegation.result,
|
|
1541
|
+
error: task.delegation.error
|
|
1542
|
+
} : void 0
|
|
1522
1543
|
}));
|
|
1523
1544
|
}
|
|
1524
1545
|
}
|