@raisindb/client 0.5.2 → 0.5.4
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-Bw1UwRL8.d.mts} +398 -173
- package/dist/{conversation-list-store-DVYgTaaA.d.ts → conversation-list-store-Bw1UwRL8.d.ts} +398 -173
- package/dist/{index-AKUurvWQ.d.ts → index-B1u8uo8e.d.ts} +1 -1
- package/dist/{index-BOO1gV6F.d.mts → index-C-K8H-PW.d.mts} +1 -1
- package/dist/index.d.mts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +199 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +181 -6
- 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-Ce8sVO7T.d.mts} +1 -1
- package/dist/{svelte-sql-ABIom_Bb.d.ts → svelte-sql-GOSaxlBv.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/svelte.mjs
CHANGED
|
@@ -3,15 +3,15 @@ import {
|
|
|
3
3
|
createConversationAdapter,
|
|
4
4
|
createConversationListAdapter,
|
|
5
5
|
createFlowAdapter
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-ZUUSBLVP.mjs";
|
|
7
|
+
import "./chunk-AULHRX5C.mjs";
|
|
8
8
|
import {
|
|
9
9
|
createAuthAdapter,
|
|
10
10
|
createConnectionAdapter,
|
|
11
11
|
createSqlAdapter,
|
|
12
12
|
createSubscriptionAdapter
|
|
13
13
|
} from "./chunk-T2ZSNYFG.mjs";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-765DLJMZ.mjs";
|
|
15
15
|
export {
|
|
16
16
|
RAISIN_CONTEXT_KEY,
|
|
17
17
|
createAuthAdapter,
|
package/dist/vue.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { I as IdentityUser, C as ConnectionState, a as ConversationStoreSnapshot, b as ChatMessage, T as ToolCallInfo, P as PlanProjection, c as ConversationStore, d as ConversationListItem, e as ConversationListStore, R as RaisinClient, D as Database, S as SubscriptionFilters, E as EventMessage, f as ConversationStoreOptions, g as ConversationListStoreOptions } from './conversation-list-store-
|
|
2
|
-
import { S as SqlAdapterOptions } from './svelte-sql-
|
|
1
|
+
import { I as IdentityUser, C as ConnectionState, a as ConversationStoreSnapshot, b as ChatMessage, T as ToolCallInfo, P as PlanProjection, c as ConversationStore, d as ConversationListItem, e as ConversationListStore, R as RaisinClient, D as Database, S as SubscriptionFilters, E as EventMessage, f as ConversationStoreOptions, g as ConversationListStoreOptions } from './conversation-list-store-Bw1UwRL8.mjs';
|
|
2
|
+
import { S as SqlAdapterOptions } from './svelte-sql-Ce8sVO7T.mjs';
|
|
3
3
|
import 'events';
|
|
4
4
|
import 'fs/promises';
|
|
5
5
|
|
package/dist/vue.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { I as IdentityUser, C as ConnectionState, a as ConversationStoreSnapshot, b as ChatMessage, T as ToolCallInfo, P as PlanProjection, c as ConversationStore, d as ConversationListItem, e as ConversationListStore, R as RaisinClient, D as Database, S as SubscriptionFilters, E as EventMessage, f as ConversationStoreOptions, g as ConversationListStoreOptions } from './conversation-list-store-
|
|
2
|
-
import { S as SqlAdapterOptions } from './svelte-sql-
|
|
1
|
+
import { I as IdentityUser, C as ConnectionState, a as ConversationStoreSnapshot, b as ChatMessage, T as ToolCallInfo, P as PlanProjection, c as ConversationStore, d as ConversationListItem, e as ConversationListStore, R as RaisinClient, D as Database, S as SubscriptionFilters, E as EventMessage, f as ConversationStoreOptions, g as ConversationListStoreOptions } from './conversation-list-store-Bw1UwRL8.js';
|
|
2
|
+
import { S as SqlAdapterOptions } from './svelte-sql-GOSaxlBv.js';
|
|
3
3
|
import 'events';
|
|
4
4
|
import 'fs/promises';
|
|
5
5
|
|
package/dist/vue.js
CHANGED
|
@@ -417,12 +417,23 @@ function parsePlanTasks(rawTasks) {
|
|
|
417
417
|
}
|
|
418
418
|
const task = asRecord(rawTask);
|
|
419
419
|
if (!task) return null;
|
|
420
|
+
const delegation = asRecord(task.delegation);
|
|
420
421
|
return {
|
|
421
422
|
taskId: asString(task.task_id) ?? asString(task.id),
|
|
422
423
|
title: asString(task.title) ?? `Task ${index + 1}`,
|
|
423
424
|
status: asString(task.status) ?? "pending",
|
|
424
425
|
description: asString(task.description),
|
|
425
|
-
priority: asString(task.priority)
|
|
426
|
+
priority: asString(task.priority),
|
|
427
|
+
delegation: delegation ? {
|
|
428
|
+
id: asString(delegation.id),
|
|
429
|
+
status: asString(delegation.status) ?? "unknown",
|
|
430
|
+
agentRef: asString(delegation.agent_ref) ?? asString(delegation.agentRef),
|
|
431
|
+
flowInstanceId: asString(delegation.flow_instance_id) ?? asString(delegation.flowInstanceId),
|
|
432
|
+
branch: asString(delegation.branch),
|
|
433
|
+
baseBranch: asString(delegation.base_branch) ?? asString(delegation.baseBranch),
|
|
434
|
+
result: delegation.result,
|
|
435
|
+
error: asString(delegation.error)
|
|
436
|
+
} : void 0
|
|
426
437
|
};
|
|
427
438
|
}).filter((task) => task !== null);
|
|
428
439
|
}
|
|
@@ -529,7 +540,17 @@ function projectPlansFromMessages(messages) {
|
|
|
529
540
|
plan.tasks = child.tasks.map((task) => ({
|
|
530
541
|
taskId: task.id,
|
|
531
542
|
title: task.title,
|
|
532
|
-
status: task.status
|
|
543
|
+
status: task.status,
|
|
544
|
+
delegation: task.delegation ? {
|
|
545
|
+
id: task.delegation.id,
|
|
546
|
+
status: task.delegation.status,
|
|
547
|
+
agentRef: task.delegation.agentRef,
|
|
548
|
+
flowInstanceId: task.delegation.flowInstanceId,
|
|
549
|
+
branch: task.delegation.branch,
|
|
550
|
+
baseBranch: task.delegation.baseBranch,
|
|
551
|
+
result: task.delegation.result,
|
|
552
|
+
error: task.delegation.error
|
|
553
|
+
} : void 0
|
|
533
554
|
}));
|
|
534
555
|
}
|
|
535
556
|
}
|