@ai-setting/roy-agent-core 1.7.68 → 1.7.69
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 +2 -2
- package/dist/env/event-source/index.js +3 -3
- package/dist/env/index.js +4 -4
- package/dist/env/task/plugins/index.d.ts +1 -0
- package/dist/env/task/plugins/index.js +9 -1
- package/dist/index.js +4 -4
- package/dist/shared/@ai-setting/{roy-agent-core-keyb45z3.js → roy-agent-core-2n0ysjjf.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-19na22cc.js → roy-agent-core-7wwhe4n8.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-43r4bxey.js → roy-agent-core-mt873sf8.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-x0ddc2cr.js → roy-agent-core-vag8b566.js} +1 -1
- package/package.json +1 -1
|
@@ -11,14 +11,14 @@ import {
|
|
|
11
11
|
patchCardByLarkCli,
|
|
12
12
|
renderRuleNoticeSection,
|
|
13
13
|
timerHandler
|
|
14
|
-
} from "../../shared/@ai-setting/roy-agent-core-
|
|
14
|
+
} from "../../shared/@ai-setting/roy-agent-core-7wwhe4n8.js";
|
|
15
15
|
import"../../shared/@ai-setting/roy-agent-core-bxkjk7zx.js";
|
|
16
16
|
import"../../shared/@ai-setting/roy-agent-core-add1zqsh.js";
|
|
17
17
|
import {
|
|
18
18
|
cliCommandHandler
|
|
19
19
|
} from "../../shared/@ai-setting/roy-agent-core-v0hf14bj.js";
|
|
20
20
|
import"../../shared/@ai-setting/roy-agent-core-tm1mxttk.js";
|
|
21
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
21
|
+
import"../../shared/@ai-setting/roy-agent-core-2n0ysjjf.js";
|
|
22
22
|
import"../../shared/@ai-setting/roy-agent-core-na18zwj0.js";
|
|
23
23
|
import"../../shared/@ai-setting/roy-agent-core-abqhkbn3.js";
|
|
24
24
|
import"../../shared/@ai-setting/roy-agent-core-1pg0fepg.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import"../../shared/@ai-setting/roy-agent-core-b4x6x4k2.js";
|
|
2
2
|
import {
|
|
3
3
|
EventSourceComponent
|
|
4
|
-
} from "../../shared/@ai-setting/roy-agent-core-
|
|
4
|
+
} from "../../shared/@ai-setting/roy-agent-core-vag8b566.js";
|
|
5
5
|
import {
|
|
6
6
|
BountyIMInstance,
|
|
7
7
|
COMMAND_PREFIX,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
timerHandler,
|
|
34
34
|
translateCardActionToCommand,
|
|
35
35
|
writeFallbackModelList
|
|
36
|
-
} from "../../shared/@ai-setting/roy-agent-core-
|
|
36
|
+
} from "../../shared/@ai-setting/roy-agent-core-7wwhe4n8.js";
|
|
37
37
|
import {
|
|
38
38
|
BUILT_IN_EVENT_SOURCE_TYPES,
|
|
39
39
|
BUILT_IN_EVENT_SOURCE_TYPE_LIST,
|
|
@@ -52,7 +52,7 @@ import {
|
|
|
52
52
|
parseCliSessionChatId
|
|
53
53
|
} from "../../shared/@ai-setting/roy-agent-core-v0hf14bj.js";
|
|
54
54
|
import"../../shared/@ai-setting/roy-agent-core-tm1mxttk.js";
|
|
55
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
55
|
+
import"../../shared/@ai-setting/roy-agent-core-2n0ysjjf.js";
|
|
56
56
|
import {
|
|
57
57
|
EventStoreImpl,
|
|
58
58
|
getSharedEventStore,
|
package/dist/env/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BaseEnvironment
|
|
3
|
-
} from "../shared/@ai-setting/roy-agent-core-
|
|
3
|
+
} from "../shared/@ai-setting/roy-agent-core-mt873sf8.js";
|
|
4
4
|
import {
|
|
5
5
|
TaskComponent
|
|
6
6
|
} from "../shared/@ai-setting/roy-agent-core-1k83dq3a.js";
|
|
@@ -14,11 +14,11 @@ import"../shared/@ai-setting/roy-agent-core-h5vmff8w.js";
|
|
|
14
14
|
import"../shared/@ai-setting/roy-agent-core-p5cz9m8v.js";
|
|
15
15
|
import {
|
|
16
16
|
EventSourceComponent
|
|
17
|
-
} from "../shared/@ai-setting/roy-agent-core-
|
|
17
|
+
} from "../shared/@ai-setting/roy-agent-core-vag8b566.js";
|
|
18
18
|
import {
|
|
19
19
|
builtInHandlers,
|
|
20
20
|
larkCliHandler
|
|
21
|
-
} from "../shared/@ai-setting/roy-agent-core-
|
|
21
|
+
} from "../shared/@ai-setting/roy-agent-core-7wwhe4n8.js";
|
|
22
22
|
import {
|
|
23
23
|
EventSourceInitHooks,
|
|
24
24
|
getDefaultConfigForType,
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
import"../shared/@ai-setting/roy-agent-core-add1zqsh.js";
|
|
30
30
|
import"../shared/@ai-setting/roy-agent-core-v0hf14bj.js";
|
|
31
31
|
import"../shared/@ai-setting/roy-agent-core-tm1mxttk.js";
|
|
32
|
-
import"../shared/@ai-setting/roy-agent-core-
|
|
32
|
+
import"../shared/@ai-setting/roy-agent-core-2n0ysjjf.js";
|
|
33
33
|
import"../shared/@ai-setting/roy-agent-core-na18zwj0.js";
|
|
34
34
|
import"../shared/@ai-setting/roy-agent-core-abqhkbn3.js";
|
|
35
35
|
import"../shared/@ai-setting/roy-agent-core-1pg0fepg.js";
|
|
@@ -8,3 +8,4 @@ export { WORKFLOW_EXTRACTOR_PROMPT, formatExtractorInput, formatExtractorInputFr
|
|
|
8
8
|
export { LarkCliTaskNotifyHook, createLarkCliTaskNotifyHook, type TaskNotifyConfig, NotifyType, } from "./lark-cli-task-notify-plugin";
|
|
9
9
|
export { PerTaskGroupChatPlugin, createPerTaskGroupChatPlugin, type PerTaskGroupConfig, } from "./per-task-group-chat-plugin";
|
|
10
10
|
export { LarkCardPatchNotifier, type LarkCardPatchNotifierOptions, buildTaskCard, buildWorkflowCard, renderProgressBar, renderMilestones, renderProcessSteps, renderTaskInfoLines, renderContextAsLines, renderWorkflowInfoLines, formatTimestampForDisplay, formatDateTimeForDisplay, formatDurationMs, sanitizeInlineText, humanizeValue, resolveTaskTitleForDisplay, buildChatAppLink, DEFAULT_APP_LINK_BASE, type CardStatus, type WorkflowCardStatus, type Milestone, type ProcessStep, type TaskMeta, type WorkflowMeta, type CardPayload, type StartTaskOptions, type UpdateTaskOptions, type FinishTaskOptions, type StartTaskResult, type StartWorkflowOptions, type UpdateWorkflowOptions, type FinishWorkflowOptions, } from "./lark-card-patch-notifier";
|
|
11
|
+
export { createLarkCardStateStore, getDefaultLarkCardDbPath, MemoryLarkCardStateStore, SqliteLarkCardStateStore, type LarkCardState, type LarkCardRecordStatus, type LarkCardStateStore, } from "./lark-card-state-store";
|
|
@@ -2,18 +2,22 @@ import {
|
|
|
2
2
|
LAYA_REUSE_THRESHOLD,
|
|
3
3
|
LarkCliTaskNotifyHook,
|
|
4
4
|
LayaDecisionPlugin,
|
|
5
|
+
MemoryLarkCardStateStore,
|
|
5
6
|
NotifyType,
|
|
6
7
|
PerTaskGroupChatPlugin,
|
|
8
|
+
SqliteLarkCardStateStore,
|
|
7
9
|
TaskTagPlugin,
|
|
8
10
|
WORKFLOW_EXTRACTOR_PROMPT,
|
|
9
11
|
createAutoTaskPlugin,
|
|
12
|
+
createLarkCardStateStore,
|
|
10
13
|
createLarkCliTaskNotifyHook,
|
|
11
14
|
createLayaDecisionPlugin,
|
|
12
15
|
createPerTaskGroupChatPlugin,
|
|
13
16
|
formatExtractorInput,
|
|
14
17
|
formatExtractorInputFromDescription,
|
|
18
|
+
getDefaultLarkCardDbPath,
|
|
15
19
|
parseExtractorOutput
|
|
16
|
-
} from "../../../shared/@ai-setting/roy-agent-core-
|
|
20
|
+
} from "../../../shared/@ai-setting/roy-agent-core-2n0ysjjf.js";
|
|
17
21
|
import"../../../shared/@ai-setting/roy-agent-core-na18zwj0.js";
|
|
18
22
|
import"../../../shared/@ai-setting/roy-agent-core-abqhkbn3.js";
|
|
19
23
|
import"../../../shared/@ai-setting/roy-agent-core-1pg0fepg.js";
|
|
@@ -62,6 +66,7 @@ export {
|
|
|
62
66
|
renderContextAsLines,
|
|
63
67
|
parseExtractorOutput,
|
|
64
68
|
humanizeValue,
|
|
69
|
+
getDefaultLarkCardDbPath,
|
|
65
70
|
formatTimestampForDisplay,
|
|
66
71
|
formatExtractorInputFromDescription,
|
|
67
72
|
formatExtractorInput,
|
|
@@ -70,14 +75,17 @@ export {
|
|
|
70
75
|
createPerTaskGroupChatPlugin,
|
|
71
76
|
createLayaDecisionPlugin,
|
|
72
77
|
createLarkCliTaskNotifyHook,
|
|
78
|
+
createLarkCardStateStore,
|
|
73
79
|
createAutoTaskPlugin,
|
|
74
80
|
buildWorkflowCard,
|
|
75
81
|
buildTaskCard,
|
|
76
82
|
buildChatAppLink,
|
|
77
83
|
WORKFLOW_EXTRACTOR_PROMPT,
|
|
78
84
|
TaskTagPlugin,
|
|
85
|
+
SqliteLarkCardStateStore,
|
|
79
86
|
PerTaskGroupChatPlugin,
|
|
80
87
|
NotifyType,
|
|
88
|
+
MemoryLarkCardStateStore,
|
|
81
89
|
LayaDecisionPlugin,
|
|
82
90
|
LarkCliTaskNotifyHook,
|
|
83
91
|
LarkCardPatchNotifier,
|
package/dist/index.js
CHANGED
|
@@ -61,7 +61,7 @@ import {
|
|
|
61
61
|
BaseEnvironment,
|
|
62
62
|
generateDescendingId,
|
|
63
63
|
generateId
|
|
64
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
64
|
+
} from "./shared/@ai-setting/roy-agent-core-mt873sf8.js";
|
|
65
65
|
import {
|
|
66
66
|
TaskComponent
|
|
67
67
|
} from "./shared/@ai-setting/roy-agent-core-1k83dq3a.js";
|
|
@@ -75,7 +75,7 @@ import"./shared/@ai-setting/roy-agent-core-h5vmff8w.js";
|
|
|
75
75
|
import"./shared/@ai-setting/roy-agent-core-p5cz9m8v.js";
|
|
76
76
|
import {
|
|
77
77
|
EventSourceComponent
|
|
78
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
78
|
+
} from "./shared/@ai-setting/roy-agent-core-vag8b566.js";
|
|
79
79
|
import {
|
|
80
80
|
BountyIMInstance,
|
|
81
81
|
COMMAND_PREFIX,
|
|
@@ -107,7 +107,7 @@ import {
|
|
|
107
107
|
timerHandler,
|
|
108
108
|
translateCardActionToCommand,
|
|
109
109
|
writeFallbackModelList
|
|
110
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
110
|
+
} from "./shared/@ai-setting/roy-agent-core-7wwhe4n8.js";
|
|
111
111
|
import {
|
|
112
112
|
BUILT_IN_EVENT_SOURCE_TYPES,
|
|
113
113
|
BUILT_IN_EVENT_SOURCE_TYPE_LIST,
|
|
@@ -132,7 +132,7 @@ import {
|
|
|
132
132
|
import {
|
|
133
133
|
TaskTagPlugin,
|
|
134
134
|
createAutoTaskPlugin
|
|
135
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
135
|
+
} from "./shared/@ai-setting/roy-agent-core-2n0ysjjf.js";
|
|
136
136
|
import {
|
|
137
137
|
EventStoreImpl,
|
|
138
138
|
getSharedEventStore,
|
|
@@ -2952,4 +2952,4 @@ __legacyDecorateClassTS([
|
|
|
2952
2952
|
function createPerTaskGroupChatPlugin(config = {}) {
|
|
2953
2953
|
return new PerTaskGroupChatPlugin(config);
|
|
2954
2954
|
}
|
|
2955
|
-
export { createAutoTaskPlugin, pickGateConfidence, LayaDecisionPort, loadLayaAuthForPurpose, LAYA_REUSE_THRESHOLD, LayaDecisionPlugin, createLayaDecisionPlugin, WORKFLOW_EXTRACTOR_PROMPT, formatExtractorInput, formatExtractorInputFromDescription, parseExtractorOutput, TaskTagPlugin, extractPerTaskChatId, extractPerTaskChatName, NotifyType, LarkCliTaskNotifyHook, createLarkCliTaskNotifyHook, PerTaskGroupChatPlugin, createPerTaskGroupChatPlugin };
|
|
2955
|
+
export { createAutoTaskPlugin, pickGateConfidence, LayaDecisionPort, loadLayaAuthForPurpose, LAYA_REUSE_THRESHOLD, LayaDecisionPlugin, createLayaDecisionPlugin, WORKFLOW_EXTRACTOR_PROMPT, formatExtractorInput, formatExtractorInputFromDescription, parseExtractorOutput, TaskTagPlugin, MemoryLarkCardStateStore, SqliteLarkCardStateStore, getDefaultLarkCardDbPath, createLarkCardStateStore, extractPerTaskChatId, extractPerTaskChatName, NotifyType, LarkCliTaskNotifyHook, createLarkCliTaskNotifyHook, PerTaskGroupChatPlugin, createPerTaskGroupChatPlugin };
|