@ai-setting/roy-agent-core 1.7.92 → 1.7.93
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/env/event-source/event-source-handlers.js +3 -3
- package/dist/env/event-source/event-store.js +1 -1
- package/dist/env/event-source/index.js +4 -4
- package/dist/env/index.js +11 -11
- package/dist/env/session/index.js +2 -2
- package/dist/env/session/storage/index.js +1 -1
- package/dist/env/task/delegate/delegate-tool.js +2 -2
- package/dist/env/task/delegate/index.js +2 -2
- package/dist/env/task/index.js +3 -3
- package/dist/env/task/plugins/index.js +2 -2
- package/dist/env/workflow/index.js +4 -4
- package/dist/env/workflow/storage/index.js +1 -1
- package/dist/env/workflow/tools/index.js +3 -3
- package/dist/index.js +12 -12
- package/dist/shared/@ai-setting/{roy-agent-core-wpc432x7.js → roy-agent-core-1gx70hsn.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-kk2k20a3.js → roy-agent-core-33n84tf9.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-f82pd49t.js → roy-agent-core-aeh7qg1r.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-3bt71phf.js → roy-agent-core-brw8wp2q.js} +7 -2
- package/dist/shared/@ai-setting/{roy-agent-core-bp1n3z48.js → roy-agent-core-f18s4qgp.js} +7 -2
- package/dist/shared/@ai-setting/{roy-agent-core-ey945nk5.js → roy-agent-core-h5v1xe9h.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-ktphs7sj.js → roy-agent-core-h89whnxz.js} +7 -2
- package/dist/shared/@ai-setting/{roy-agent-core-x36a0g3x.js → roy-agent-core-m4x47ne9.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-xe03wwy9.js → roy-agent-core-mp7sqfb5.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-45n2r4my.js → roy-agent-core-px73ewzd.js} +3 -3
- package/dist/shared/@ai-setting/{roy-agent-core-vevc6pex.js → roy-agent-core-qtb41z61.js} +5 -5
- package/dist/shared/@ai-setting/{roy-agent-core-9avt2y0e.js → roy-agent-core-qxnfdjqj.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-74z514eh.js → roy-agent-core-vhgwfmp7.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-15wktzhv.js → roy-agent-core-vz886vr8.js} +1 -1
- package/package.json +1 -1
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
resolveLarkChannelSystemPrompt,
|
|
18
18
|
timerHandler,
|
|
19
19
|
wecomCliHandler
|
|
20
|
-
} from "../../shared/@ai-setting/roy-agent-core-
|
|
20
|
+
} from "../../shared/@ai-setting/roy-agent-core-33n84tf9.js";
|
|
21
21
|
import"../../shared/@ai-setting/roy-agent-core-ev110pkx.js";
|
|
22
22
|
import {
|
|
23
23
|
cliCommandHandler
|
|
@@ -25,10 +25,10 @@ import {
|
|
|
25
25
|
import"../../shared/@ai-setting/roy-agent-core-mgmp2gfm.js";
|
|
26
26
|
import"../../shared/@ai-setting/roy-agent-core-kfspjx59.js";
|
|
27
27
|
import"../../shared/@ai-setting/roy-agent-core-2stt4rp5.js";
|
|
28
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
28
|
+
import"../../shared/@ai-setting/roy-agent-core-px73ewzd.js";
|
|
29
29
|
import"../../shared/@ai-setting/roy-agent-core-th8fq714.js";
|
|
30
30
|
import"../../shared/@ai-setting/roy-agent-core-c4ec7k0p.js";
|
|
31
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
31
|
+
import"../../shared/@ai-setting/roy-agent-core-brw8wp2q.js";
|
|
32
32
|
import"../../shared/@ai-setting/roy-agent-core-y7fqtzk2.js";
|
|
33
33
|
import"../../shared/@ai-setting/roy-agent-core-1pg0fepg.js";
|
|
34
34
|
import"../../shared/@ai-setting/roy-agent-core-msktt7y7.js";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
getSharedEventStore,
|
|
5
5
|
resetSharedEventStore,
|
|
6
6
|
setSharedEventStore
|
|
7
|
-
} from "../../shared/@ai-setting/roy-agent-core-
|
|
7
|
+
} from "../../shared/@ai-setting/roy-agent-core-brw8wp2q.js";
|
|
8
8
|
import"../../shared/@ai-setting/roy-agent-core-yshw2fvj.js";
|
|
9
9
|
import"../../shared/@ai-setting/roy-agent-core-3c0zpmnq.js";
|
|
10
10
|
import"../../shared/@ai-setting/roy-agent-core-0wmswkj6.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import"../../shared/@ai-setting/roy-agent-core-m1fgtnrc.js";
|
|
2
2
|
import {
|
|
3
3
|
EventSourceComponent
|
|
4
|
-
} from "../../shared/@ai-setting/roy-agent-core-
|
|
4
|
+
} from "../../shared/@ai-setting/roy-agent-core-mp7sqfb5.js";
|
|
5
5
|
import {
|
|
6
6
|
BountyIMInstance,
|
|
7
7
|
COMMAND_PREFIX,
|
|
@@ -56,7 +56,7 @@ import {
|
|
|
56
56
|
translateCardActionToCommand,
|
|
57
57
|
wecomCliHandler,
|
|
58
58
|
writeFallbackModelList
|
|
59
|
-
} from "../../shared/@ai-setting/roy-agent-core-
|
|
59
|
+
} from "../../shared/@ai-setting/roy-agent-core-33n84tf9.js";
|
|
60
60
|
import {
|
|
61
61
|
BUILT_IN_EVENT_SOURCE_TYPES,
|
|
62
62
|
BUILT_IN_EVENT_SOURCE_TYPE_LIST,
|
|
@@ -76,7 +76,7 @@ import {
|
|
|
76
76
|
import"../../shared/@ai-setting/roy-agent-core-mgmp2gfm.js";
|
|
77
77
|
import"../../shared/@ai-setting/roy-agent-core-kfspjx59.js";
|
|
78
78
|
import"../../shared/@ai-setting/roy-agent-core-2stt4rp5.js";
|
|
79
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
79
|
+
import"../../shared/@ai-setting/roy-agent-core-px73ewzd.js";
|
|
80
80
|
import"../../shared/@ai-setting/roy-agent-core-th8fq714.js";
|
|
81
81
|
import"../../shared/@ai-setting/roy-agent-core-c4ec7k0p.js";
|
|
82
82
|
import {
|
|
@@ -84,7 +84,7 @@ import {
|
|
|
84
84
|
getSharedEventStore,
|
|
85
85
|
resetSharedEventStore,
|
|
86
86
|
setSharedEventStore
|
|
87
|
-
} from "../../shared/@ai-setting/roy-agent-core-
|
|
87
|
+
} from "../../shared/@ai-setting/roy-agent-core-brw8wp2q.js";
|
|
88
88
|
import"../../shared/@ai-setting/roy-agent-core-y7fqtzk2.js";
|
|
89
89
|
import"../../shared/@ai-setting/roy-agent-core-1pg0fepg.js";
|
|
90
90
|
import"../../shared/@ai-setting/roy-agent-core-msktt7y7.js";
|
package/dist/env/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BaseEnvironment
|
|
3
|
-
} from "../shared/@ai-setting/roy-agent-core-
|
|
3
|
+
} from "../shared/@ai-setting/roy-agent-core-vz886vr8.js";
|
|
4
4
|
import {
|
|
5
5
|
TaskComponent
|
|
6
|
-
} from "../shared/@ai-setting/roy-agent-core-
|
|
6
|
+
} from "../shared/@ai-setting/roy-agent-core-aeh7qg1r.js";
|
|
7
7
|
import"../shared/@ai-setting/roy-agent-core-jzmk4kdh.js";
|
|
8
8
|
import"../shared/@ai-setting/roy-agent-core-jm136jzh.js";
|
|
9
|
-
import"../shared/@ai-setting/roy-agent-core-
|
|
9
|
+
import"../shared/@ai-setting/roy-agent-core-m4x47ne9.js";
|
|
10
10
|
import"../shared/@ai-setting/roy-agent-core-pd2hd3q9.js";
|
|
11
11
|
import"../shared/@ai-setting/roy-agent-core-5p3arx77.js";
|
|
12
12
|
import"../shared/@ai-setting/roy-agent-core-7sfz2n7t.js";
|
|
@@ -15,11 +15,11 @@ import"../shared/@ai-setting/roy-agent-core-bcv09vrt.js";
|
|
|
15
15
|
import"../shared/@ai-setting/roy-agent-core-p5cz9m8v.js";
|
|
16
16
|
import {
|
|
17
17
|
EventSourceComponent
|
|
18
|
-
} from "../shared/@ai-setting/roy-agent-core-
|
|
18
|
+
} from "../shared/@ai-setting/roy-agent-core-mp7sqfb5.js";
|
|
19
19
|
import {
|
|
20
20
|
builtInHandlers,
|
|
21
21
|
larkCliHandler
|
|
22
|
-
} from "../shared/@ai-setting/roy-agent-core-
|
|
22
|
+
} from "../shared/@ai-setting/roy-agent-core-33n84tf9.js";
|
|
23
23
|
import {
|
|
24
24
|
EventSourceInitHooks,
|
|
25
25
|
getDefaultConfigForType,
|
|
@@ -31,10 +31,10 @@ import"../shared/@ai-setting/roy-agent-core-64py47c3.js";
|
|
|
31
31
|
import"../shared/@ai-setting/roy-agent-core-mgmp2gfm.js";
|
|
32
32
|
import"../shared/@ai-setting/roy-agent-core-kfspjx59.js";
|
|
33
33
|
import"../shared/@ai-setting/roy-agent-core-2stt4rp5.js";
|
|
34
|
-
import"../shared/@ai-setting/roy-agent-core-
|
|
34
|
+
import"../shared/@ai-setting/roy-agent-core-px73ewzd.js";
|
|
35
35
|
import"../shared/@ai-setting/roy-agent-core-th8fq714.js";
|
|
36
36
|
import"../shared/@ai-setting/roy-agent-core-c4ec7k0p.js";
|
|
37
|
-
import"../shared/@ai-setting/roy-agent-core-
|
|
37
|
+
import"../shared/@ai-setting/roy-agent-core-brw8wp2q.js";
|
|
38
38
|
import"../shared/@ai-setting/roy-agent-core-y7fqtzk2.js";
|
|
39
39
|
import"../shared/@ai-setting/roy-agent-core-1pg0fepg.js";
|
|
40
40
|
import"../shared/@ai-setting/roy-agent-core-msktt7y7.js";
|
|
@@ -46,13 +46,13 @@ import"../shared/@ai-setting/roy-agent-core-418zc9ha.js";
|
|
|
46
46
|
import"../shared/@ai-setting/roy-agent-core-pxqz1d1m.js";
|
|
47
47
|
import {
|
|
48
48
|
WorkflowComponent
|
|
49
|
-
} from "../shared/@ai-setting/roy-agent-core-
|
|
49
|
+
} from "../shared/@ai-setting/roy-agent-core-qtb41z61.js";
|
|
50
50
|
import"../shared/@ai-setting/roy-agent-core-acbg6fg9.js";
|
|
51
51
|
import"../shared/@ai-setting/roy-agent-core-p13a4x6r.js";
|
|
52
52
|
import"../shared/@ai-setting/roy-agent-core-0k9spnmd.js";
|
|
53
|
-
import"../shared/@ai-setting/roy-agent-core-
|
|
54
|
-
import"../shared/@ai-setting/roy-agent-core-
|
|
55
|
-
import"../shared/@ai-setting/roy-agent-core-
|
|
53
|
+
import"../shared/@ai-setting/roy-agent-core-1gx70hsn.js";
|
|
54
|
+
import"../shared/@ai-setting/roy-agent-core-h5v1xe9h.js";
|
|
55
|
+
import"../shared/@ai-setting/roy-agent-core-f18s4qgp.js";
|
|
56
56
|
import"../shared/@ai-setting/roy-agent-core-hhrg314p.js";
|
|
57
57
|
import"../shared/@ai-setting/roy-agent-core-64ke8s3t.js";
|
|
58
58
|
import"../shared/@ai-setting/roy-agent-core-bwyc2j0n.js";
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
MIN_SESSION_ID_LENGTH,
|
|
4
4
|
SessionComponent,
|
|
5
5
|
isValidSessionId
|
|
6
|
-
} from "../../shared/@ai-setting/roy-agent-core-
|
|
6
|
+
} from "../../shared/@ai-setting/roy-agent-core-h5v1xe9h.js";
|
|
7
7
|
import {
|
|
8
8
|
MemorySessionStore
|
|
9
|
-
} from "../../shared/@ai-setting/roy-agent-core-
|
|
9
|
+
} from "../../shared/@ai-setting/roy-agent-core-f18s4qgp.js";
|
|
10
10
|
import"../../shared/@ai-setting/roy-agent-core-m3vmmvbc.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionMessageConverter
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
SQLiteSessionStore,
|
|
4
4
|
getDefaultDataDir,
|
|
5
5
|
getDefaultSessionDbPath
|
|
6
|
-
} from "../../../shared/@ai-setting/roy-agent-core-
|
|
6
|
+
} from "../../../shared/@ai-setting/roy-agent-core-f18s4qgp.js";
|
|
7
7
|
import"../../../shared/@ai-setting/roy-agent-core-ev1kvffn.js";
|
|
8
8
|
import"../../../shared/@ai-setting/roy-agent-core-s69x33zx.js";
|
|
9
9
|
import"../../../shared/@ai-setting/roy-agent-core-wxrkcb17.js";
|
|
@@ -14,9 +14,9 @@ import {
|
|
|
14
14
|
getSubAgentSpec,
|
|
15
15
|
handleBackgroundTask,
|
|
16
16
|
normalizeExtendTools
|
|
17
|
-
} from "../../../shared/@ai-setting/roy-agent-core-
|
|
17
|
+
} from "../../../shared/@ai-setting/roy-agent-core-m4x47ne9.js";
|
|
18
18
|
import"../../../shared/@ai-setting/roy-agent-core-pd2hd3q9.js";
|
|
19
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
19
|
+
import"../../../shared/@ai-setting/roy-agent-core-brw8wp2q.js";
|
|
20
20
|
import"../../../shared/@ai-setting/roy-agent-core-y7fqtzk2.js";
|
|
21
21
|
import"../../../shared/@ai-setting/roy-agent-core-1pg0fepg.js";
|
|
22
22
|
import"../../../shared/@ai-setting/roy-agent-core-m46fe3x4.js";
|
|
@@ -5,9 +5,9 @@ import {
|
|
|
5
5
|
BackgroundTaskEventTypes,
|
|
6
6
|
BackgroundTaskManager,
|
|
7
7
|
createDelegateTool
|
|
8
|
-
} from "../../../shared/@ai-setting/roy-agent-core-
|
|
8
|
+
} from "../../../shared/@ai-setting/roy-agent-core-m4x47ne9.js";
|
|
9
9
|
import"../../../shared/@ai-setting/roy-agent-core-pd2hd3q9.js";
|
|
10
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
10
|
+
import"../../../shared/@ai-setting/roy-agent-core-brw8wp2q.js";
|
|
11
11
|
import"../../../shared/@ai-setting/roy-agent-core-y7fqtzk2.js";
|
|
12
12
|
import"../../../shared/@ai-setting/roy-agent-core-1pg0fepg.js";
|
|
13
13
|
import"../../../shared/@ai-setting/roy-agent-core-m46fe3x4.js";
|
package/dist/env/task/index.js
CHANGED
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
TaskPriorityEnum,
|
|
6
6
|
TaskStatusEnum,
|
|
7
7
|
TaskTypeEnum
|
|
8
|
-
} from "../../shared/@ai-setting/roy-agent-core-
|
|
8
|
+
} from "../../shared/@ai-setting/roy-agent-core-aeh7qg1r.js";
|
|
9
9
|
import"../../shared/@ai-setting/roy-agent-core-jzmk4kdh.js";
|
|
10
10
|
import"../../shared/@ai-setting/roy-agent-core-jm136jzh.js";
|
|
11
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
11
|
+
import"../../shared/@ai-setting/roy-agent-core-m4x47ne9.js";
|
|
12
12
|
import"../../shared/@ai-setting/roy-agent-core-pd2hd3q9.js";
|
|
13
13
|
import"../../shared/@ai-setting/roy-agent-core-5p3arx77.js";
|
|
14
14
|
import {
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
} from "../../shared/@ai-setting/roy-agent-core-8gxth0eh.js";
|
|
26
26
|
import"../../shared/@ai-setting/roy-agent-core-bcv09vrt.js";
|
|
27
27
|
import"../../shared/@ai-setting/roy-agent-core-p5cz9m8v.js";
|
|
28
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
28
|
+
import"../../shared/@ai-setting/roy-agent-core-brw8wp2q.js";
|
|
29
29
|
import"../../shared/@ai-setting/roy-agent-core-y7fqtzk2.js";
|
|
30
30
|
import"../../shared/@ai-setting/roy-agent-core-1pg0fepg.js";
|
|
31
31
|
import"../../shared/@ai-setting/roy-agent-core-msktt7y7.js";
|
|
@@ -30,10 +30,10 @@ import {
|
|
|
30
30
|
parseExtractorOutput,
|
|
31
31
|
registerLayaCompletionTaskHook,
|
|
32
32
|
renderCompletionState
|
|
33
|
-
} from "../../../shared/@ai-setting/roy-agent-core-
|
|
33
|
+
} from "../../../shared/@ai-setting/roy-agent-core-px73ewzd.js";
|
|
34
34
|
import"../../../shared/@ai-setting/roy-agent-core-th8fq714.js";
|
|
35
35
|
import"../../../shared/@ai-setting/roy-agent-core-c4ec7k0p.js";
|
|
36
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
36
|
+
import"../../../shared/@ai-setting/roy-agent-core-brw8wp2q.js";
|
|
37
37
|
import"../../../shared/@ai-setting/roy-agent-core-y7fqtzk2.js";
|
|
38
38
|
import"../../../shared/@ai-setting/roy-agent-core-1pg0fepg.js";
|
|
39
39
|
import"../../../shared/@ai-setting/roy-agent-core-msktt7y7.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WorkflowComponent
|
|
3
|
-
} from "../../shared/@ai-setting/roy-agent-core-
|
|
3
|
+
} from "../../shared/@ai-setting/roy-agent-core-qtb41z61.js";
|
|
4
4
|
import"../../shared/@ai-setting/roy-agent-core-acbg6fg9.js";
|
|
5
5
|
import {
|
|
6
6
|
Edge,
|
|
@@ -14,9 +14,9 @@ import {
|
|
|
14
14
|
DecoratorNode,
|
|
15
15
|
init_decorator_node
|
|
16
16
|
} from "../../shared/@ai-setting/roy-agent-core-0k9spnmd.js";
|
|
17
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
18
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
19
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
17
|
+
import"../../shared/@ai-setting/roy-agent-core-1gx70hsn.js";
|
|
18
|
+
import"../../shared/@ai-setting/roy-agent-core-h5v1xe9h.js";
|
|
19
|
+
import"../../shared/@ai-setting/roy-agent-core-f18s4qgp.js";
|
|
20
20
|
import"../../shared/@ai-setting/roy-agent-core-hhrg314p.js";
|
|
21
21
|
import"../../shared/@ai-setting/roy-agent-core-64ke8s3t.js";
|
|
22
22
|
import"../../shared/@ai-setting/roy-agent-core-bwyc2j0n.js";
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
migrateEmptyTagsToDefault,
|
|
9
9
|
resetDatabase,
|
|
10
10
|
rowToWorkflow
|
|
11
|
-
} from "../../../shared/@ai-setting/roy-agent-core-
|
|
11
|
+
} from "../../../shared/@ai-setting/roy-agent-core-h89whnxz.js";
|
|
12
12
|
import {
|
|
13
13
|
TagRepository
|
|
14
14
|
} from "../../../shared/@ai-setting/roy-agent-core-yqwwebhr.js";
|
|
@@ -24,9 +24,9 @@ import {
|
|
|
24
24
|
getRunWorkflowTool,
|
|
25
25
|
initRunWorkflowTool,
|
|
26
26
|
resetRunWorkflowTool
|
|
27
|
-
} from "../../../shared/@ai-setting/roy-agent-core-
|
|
28
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
29
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
27
|
+
} from "../../../shared/@ai-setting/roy-agent-core-1gx70hsn.js";
|
|
28
|
+
import"../../../shared/@ai-setting/roy-agent-core-h5v1xe9h.js";
|
|
29
|
+
import"../../../shared/@ai-setting/roy-agent-core-f18s4qgp.js";
|
|
30
30
|
import"../../../shared/@ai-setting/roy-agent-core-64ke8s3t.js";
|
|
31
31
|
import"../../../shared/@ai-setting/roy-agent-core-bwyc2j0n.js";
|
|
32
32
|
import {
|
package/dist/index.js
CHANGED
|
@@ -56,19 +56,19 @@ import"./shared/@ai-setting/roy-agent-core-psvxt4c9.js";
|
|
|
56
56
|
import"./shared/@ai-setting/roy-agent-core-m1fgtnrc.js";
|
|
57
57
|
import {
|
|
58
58
|
closeDatabase
|
|
59
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
59
|
+
} from "./shared/@ai-setting/roy-agent-core-h89whnxz.js";
|
|
60
60
|
import"./shared/@ai-setting/roy-agent-core-yqwwebhr.js";
|
|
61
61
|
import {
|
|
62
62
|
BaseEnvironment,
|
|
63
63
|
generateDescendingId,
|
|
64
64
|
generateId
|
|
65
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
65
|
+
} from "./shared/@ai-setting/roy-agent-core-vz886vr8.js";
|
|
66
66
|
import {
|
|
67
67
|
TaskComponent
|
|
68
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
68
|
+
} from "./shared/@ai-setting/roy-agent-core-aeh7qg1r.js";
|
|
69
69
|
import"./shared/@ai-setting/roy-agent-core-jzmk4kdh.js";
|
|
70
70
|
import"./shared/@ai-setting/roy-agent-core-jm136jzh.js";
|
|
71
|
-
import"./shared/@ai-setting/roy-agent-core-
|
|
71
|
+
import"./shared/@ai-setting/roy-agent-core-m4x47ne9.js";
|
|
72
72
|
import"./shared/@ai-setting/roy-agent-core-pd2hd3q9.js";
|
|
73
73
|
import"./shared/@ai-setting/roy-agent-core-5p3arx77.js";
|
|
74
74
|
import {
|
|
@@ -80,7 +80,7 @@ import"./shared/@ai-setting/roy-agent-core-bcv09vrt.js";
|
|
|
80
80
|
import"./shared/@ai-setting/roy-agent-core-p5cz9m8v.js";
|
|
81
81
|
import {
|
|
82
82
|
EventSourceComponent
|
|
83
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
83
|
+
} from "./shared/@ai-setting/roy-agent-core-mp7sqfb5.js";
|
|
84
84
|
import {
|
|
85
85
|
BountyIMInstance,
|
|
86
86
|
COMMAND_PREFIX,
|
|
@@ -135,7 +135,7 @@ import {
|
|
|
135
135
|
translateCardActionToCommand,
|
|
136
136
|
wecomCliHandler,
|
|
137
137
|
writeFallbackModelList
|
|
138
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
138
|
+
} from "./shared/@ai-setting/roy-agent-core-33n84tf9.js";
|
|
139
139
|
import {
|
|
140
140
|
BUILT_IN_EVENT_SOURCE_TYPES,
|
|
141
141
|
BUILT_IN_EVENT_SOURCE_TYPE_LIST,
|
|
@@ -161,7 +161,7 @@ import"./shared/@ai-setting/roy-agent-core-2stt4rp5.js";
|
|
|
161
161
|
import {
|
|
162
162
|
TaskTagPlugin,
|
|
163
163
|
createAutoTaskPlugin
|
|
164
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
164
|
+
} from "./shared/@ai-setting/roy-agent-core-px73ewzd.js";
|
|
165
165
|
import"./shared/@ai-setting/roy-agent-core-th8fq714.js";
|
|
166
166
|
import"./shared/@ai-setting/roy-agent-core-c4ec7k0p.js";
|
|
167
167
|
import {
|
|
@@ -169,7 +169,7 @@ import {
|
|
|
169
169
|
getSharedEventStore,
|
|
170
170
|
resetSharedEventStore,
|
|
171
171
|
setSharedEventStore
|
|
172
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
172
|
+
} from "./shared/@ai-setting/roy-agent-core-brw8wp2q.js";
|
|
173
173
|
import {
|
|
174
174
|
getBuiltInPrompt,
|
|
175
175
|
getBuiltInPromptNames
|
|
@@ -200,7 +200,7 @@ import {
|
|
|
200
200
|
} from "./shared/@ai-setting/roy-agent-core-pxqz1d1m.js";
|
|
201
201
|
import {
|
|
202
202
|
WorkflowComponent
|
|
203
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
203
|
+
} from "./shared/@ai-setting/roy-agent-core-qtb41z61.js";
|
|
204
204
|
import {
|
|
205
205
|
init_node_registry_helper,
|
|
206
206
|
registerDecoratorNodeType
|
|
@@ -213,13 +213,13 @@ import {
|
|
|
213
213
|
createWorkflowFromClass
|
|
214
214
|
} from "./shared/@ai-setting/roy-agent-core-p13a4x6r.js";
|
|
215
215
|
import"./shared/@ai-setting/roy-agent-core-0k9spnmd.js";
|
|
216
|
-
import"./shared/@ai-setting/roy-agent-core-
|
|
216
|
+
import"./shared/@ai-setting/roy-agent-core-1gx70hsn.js";
|
|
217
217
|
import {
|
|
218
218
|
SessionComponent
|
|
219
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
219
|
+
} from "./shared/@ai-setting/roy-agent-core-h5v1xe9h.js";
|
|
220
220
|
import {
|
|
221
221
|
MemorySessionStore
|
|
222
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
222
|
+
} from "./shared/@ai-setting/roy-agent-core-f18s4qgp.js";
|
|
223
223
|
import"./shared/@ai-setting/roy-agent-core-hhrg314p.js";
|
|
224
224
|
import"./shared/@ai-setting/roy-agent-core-64ke8s3t.js";
|
|
225
225
|
import"./shared/@ai-setting/roy-agent-core-bwyc2j0n.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
createWecomTaskNotifyHook,
|
|
20
20
|
deleteGroupChatViaLarkCli,
|
|
21
21
|
handleCardAction
|
|
22
|
-
} from "./roy-agent-core-
|
|
22
|
+
} from "./roy-agent-core-px73ewzd.js";
|
|
23
23
|
import {
|
|
24
24
|
registerWecomRespondTarget,
|
|
25
25
|
sendWecomCliMarkdown,
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
} from "./roy-agent-core-c4ec7k0p.js";
|
|
35
35
|
import {
|
|
36
36
|
getSharedEventStore
|
|
37
|
-
} from "./roy-agent-core-
|
|
37
|
+
} from "./roy-agent-core-brw8wp2q.js";
|
|
38
38
|
import {
|
|
39
39
|
createLarkCliWorkflowNotifyHook
|
|
40
40
|
} from "./roy-agent-core-v3wm8gyj.js";
|
|
@@ -17,9 +17,14 @@ function getDatabaseClass() {
|
|
|
17
17
|
if (typeof Bun !== "undefined") {
|
|
18
18
|
const { Database } = __require("bun:sqlite");
|
|
19
19
|
return Database;
|
|
20
|
-
} else {
|
|
21
|
-
return require_lib();
|
|
22
20
|
}
|
|
21
|
+
try {
|
|
22
|
+
const { DatabaseSync } = __require("node:sqlite");
|
|
23
|
+
if (typeof DatabaseSync === "function") {
|
|
24
|
+
return DatabaseSync;
|
|
25
|
+
}
|
|
26
|
+
} catch {}
|
|
27
|
+
return require_lib();
|
|
23
28
|
}
|
|
24
29
|
function createCompatibleDatabase(path) {
|
|
25
30
|
const Database = getDatabaseClass();
|
|
@@ -564,9 +564,14 @@ function getDatabaseClass() {
|
|
|
564
564
|
if (typeof Bun !== "undefined") {
|
|
565
565
|
const { Database } = __require("bun:sqlite");
|
|
566
566
|
return Database;
|
|
567
|
-
} else {
|
|
568
|
-
return require_lib();
|
|
569
567
|
}
|
|
568
|
+
try {
|
|
569
|
+
const { DatabaseSync } = __require("node:sqlite");
|
|
570
|
+
if (typeof DatabaseSync === "function") {
|
|
571
|
+
return DatabaseSync;
|
|
572
|
+
}
|
|
573
|
+
} catch {}
|
|
574
|
+
return require_lib();
|
|
570
575
|
}
|
|
571
576
|
function isSqliteBusyError(err) {
|
|
572
577
|
if (err == null)
|
|
@@ -28,9 +28,14 @@ function getDatabaseClass() {
|
|
|
28
28
|
if (typeof Bun !== "undefined") {
|
|
29
29
|
const { Database } = __require("bun:sqlite");
|
|
30
30
|
return Database;
|
|
31
|
-
} else {
|
|
32
|
-
return require_lib();
|
|
33
31
|
}
|
|
32
|
+
try {
|
|
33
|
+
const { DatabaseSync } = __require("node:sqlite");
|
|
34
|
+
if (typeof DatabaseSync === "function") {
|
|
35
|
+
return DatabaseSync;
|
|
36
|
+
}
|
|
37
|
+
} catch {}
|
|
38
|
+
return require_lib();
|
|
34
39
|
}
|
|
35
40
|
function createCompatibleDatabase(path) {
|
|
36
41
|
const Database = getDatabaseClass();
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./roy-agent-core-c4ec7k0p.js";
|
|
10
10
|
import {
|
|
11
11
|
getSharedEventStore
|
|
12
|
-
} from "./roy-agent-core-
|
|
12
|
+
} from "./roy-agent-core-brw8wp2q.js";
|
|
13
13
|
import {
|
|
14
14
|
WORKFLOW_EXTRACT_PROMPT
|
|
15
15
|
} from "./roy-agent-core-y7fqtzk2.js";
|
|
@@ -331,11 +331,11 @@ ${prompt}`;
|
|
|
331
331
|
}
|
|
332
332
|
if (!this._workflowRepo) {
|
|
333
333
|
try {
|
|
334
|
-
const sqlite = await import("./roy-agent-core-
|
|
334
|
+
const sqlite = await import("./roy-agent-core-vhgwfmp7.js");
|
|
335
335
|
this.ensureDataDir();
|
|
336
336
|
const db = sqlite.getDatabase();
|
|
337
337
|
sqlite.initializeTables();
|
|
338
|
-
const { WorkflowRepository } = await import("./roy-agent-core-
|
|
338
|
+
const { WorkflowRepository } = await import("./roy-agent-core-qxnfdjqj.js");
|
|
339
339
|
this._workflowRepo = new WorkflowRepository(db);
|
|
340
340
|
return this._workflowRepo;
|
|
341
341
|
} catch {
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
createWorkflowSearchTool,
|
|
14
14
|
createWorkflowTagListTool,
|
|
15
15
|
createWorkflowValidateTool
|
|
16
|
-
} from "./roy-agent-core-
|
|
16
|
+
} from "./roy-agent-core-1gx70hsn.js";
|
|
17
17
|
import {
|
|
18
18
|
WorkflowService
|
|
19
19
|
} from "./roy-agent-core-64ke8s3t.js";
|
|
@@ -163,7 +163,7 @@ class WorkflowComponent extends BaseComponent {
|
|
|
163
163
|
if (this.workflowService) {
|
|
164
164
|
this.workflowService = null;
|
|
165
165
|
try {
|
|
166
|
-
const { closeDatabase } = await import("./roy-agent-core-
|
|
166
|
+
const { closeDatabase } = await import("./roy-agent-core-vhgwfmp7.js");
|
|
167
167
|
closeDatabase();
|
|
168
168
|
componentLogger.info("[WorkflowComponent] SQLite database closed");
|
|
169
169
|
} catch (error) {
|
|
@@ -241,8 +241,8 @@ class WorkflowComponent extends BaseComponent {
|
|
|
241
241
|
}
|
|
242
242
|
async initSqliteService() {
|
|
243
243
|
try {
|
|
244
|
-
const { getDatabase, initializeTables } = await import("./roy-agent-core-
|
|
245
|
-
const { WorkflowRepository } = await import("./roy-agent-core-
|
|
244
|
+
const { getDatabase, initializeTables } = await import("./roy-agent-core-vhgwfmp7.js");
|
|
245
|
+
const { WorkflowRepository } = await import("./roy-agent-core-qxnfdjqj.js");
|
|
246
246
|
const { TagRepository } = await import("./roy-agent-core-nn7a0kex.js");
|
|
247
247
|
const db = getDatabase();
|
|
248
248
|
initializeTables();
|
|
@@ -309,7 +309,7 @@ class WorkflowComponent extends BaseComponent {
|
|
|
309
309
|
this.workflowService = null;
|
|
310
310
|
this.nodeRegistry = null;
|
|
311
311
|
try {
|
|
312
|
-
const { closeDatabase } = await import("./roy-agent-core-
|
|
312
|
+
const { closeDatabase } = await import("./roy-agent-core-vhgwfmp7.js");
|
|
313
313
|
closeDatabase();
|
|
314
314
|
} catch {}
|
|
315
315
|
this._status = "stopped";
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
WorkflowRepository,
|
|
3
3
|
migrateEmptyTagsToDefault,
|
|
4
4
|
rowToWorkflow
|
|
5
|
-
} from "./roy-agent-core-
|
|
5
|
+
} from "./roy-agent-core-h89whnxz.js";
|
|
6
6
|
import"./roy-agent-core-yqwwebhr.js";
|
|
7
7
|
import"./roy-agent-core-m3vmmvbc.js";
|
|
8
8
|
import"./roy-agent-core-yshw2fvj.js";
|