@ai-setting/roy-agent-core 1.7.56 → 1.7.57
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/config/index.js +8 -8
- package/dist/env/agent/agent-component.d.ts +11 -0
- package/dist/env/agent/index.js +14 -14
- package/dist/env/commands/index.js +8 -8
- package/dist/env/context/index.js +4 -4
- package/dist/env/debug/index.js +8 -8
- package/dist/env/event-source/event-source-handlers.d.ts +28 -0
- package/dist/env/event-source/index.js +18 -17
- package/dist/env/hook/index.js +6 -6
- package/dist/env/index.js +44 -43
- package/dist/env/llm/index.js +9 -9
- package/dist/env/log-trace/index.js +8 -8
- package/dist/env/log-trace/opentelemetry/tracer-provider.d.ts +86 -1
- package/dist/env/mcp/index.js +9 -9
- package/dist/env/mcp/tool/index.js +2 -2
- package/dist/env/memory/index.js +9 -9
- package/dist/env/memory/plugin/index.js +2 -2
- package/dist/env/plugin/index.js +8 -8
- package/dist/env/prompt/index.js +8 -8
- package/dist/env/session/index.js +11 -11
- package/dist/env/session/storage/index.js +5 -5
- package/dist/env/skill/index.js +8 -8
- package/dist/env/task/delegate/index.js +9 -9
- package/dist/env/task/index.js +18 -17
- package/dist/env/task/plugins/index.js +11 -10
- package/dist/env/task/plugins/lark-card-patch-notifier.d.ts +109 -2
- package/dist/env/task/plugins/lark-card-state-store.d.ts +137 -0
- package/dist/env/task/plugins/lark-cli-task-notify-plugin.d.ts +154 -2
- package/dist/env/task/storage/index.js +4 -3
- package/dist/env/task/tools/index.js +4 -4
- package/dist/env/tool/built-in/index.js +4 -4
- package/dist/env/tool/index.js +11 -11
- package/dist/env/workflow/engine/index.js +13 -13
- package/dist/env/workflow/hooks/index.js +8 -8
- package/dist/env/workflow/index.js +23 -23
- package/dist/env/workflow/nodes/index.js +3 -3
- package/dist/env/workflow/plugins/index.js +9 -9
- package/dist/env/workflow/service/index.js +3 -3
- package/dist/env/workflow/storage/index.js +4 -4
- package/dist/env/workflow/tools/index.js +15 -15
- package/dist/env/workflow/utils/index.js +5 -5
- package/dist/index.js +58 -57
- package/dist/shared/@ai-setting/{roy-agent-core-0b3fdnn3.js → roy-agent-core-029r8kdw.js} +4 -4
- package/dist/shared/@ai-setting/{roy-agent-core-nra8vfrs.js → roy-agent-core-08njdcpj.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-40xzbjtm.js → roy-agent-core-0kn3zt1t.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-nhk0dsxr.js → roy-agent-core-0yn7a78e.js} +14 -14
- package/dist/shared/@ai-setting/{roy-agent-core-tbrn9wdm.js → roy-agent-core-14bq77wr.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-vmg30n5x.js → roy-agent-core-1sfbs57v.js} +8 -8
- package/dist/shared/@ai-setting/{roy-agent-core-qyqnmz8c.js → roy-agent-core-20m8je6e.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-zmeka63k.js → roy-agent-core-2ctyjy62.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-heft3j4c.js → roy-agent-core-2fk8c9ax.js} +3 -3
- package/dist/shared/@ai-setting/{roy-agent-core-8cgtwytv.js → roy-agent-core-4096f575.js} +4 -4
- package/dist/shared/@ai-setting/{roy-agent-core-yg247mk4.js → roy-agent-core-47s81t6g.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-q7zksbw0.js → roy-agent-core-5f7myqnb.js} +5 -5
- package/dist/shared/@ai-setting/{roy-agent-core-zjttt2y4.js → roy-agent-core-7nb23tdd.js} +1 -1
- package/dist/shared/@ai-setting/roy-agent-core-7q4wdze2.js +7 -0
- package/dist/shared/@ai-setting/{roy-agent-core-d4jpn06f.js → roy-agent-core-84rs0c8d.js} +7 -7
- package/dist/shared/@ai-setting/{roy-agent-core-c6at31ra.js → roy-agent-core-84xtww7d.js} +3 -3
- package/dist/shared/@ai-setting/{roy-agent-core-202v00x4.js → roy-agent-core-89sxsrc7.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-ezsyyjxw.js → roy-agent-core-8bngppw0.js} +580 -83
- package/dist/shared/@ai-setting/{roy-agent-core-b599jgyd.js → roy-agent-core-8p63s836.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-5rxs0ra3.js → roy-agent-core-9zhkdg6w.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-gn8f4rhs.js → roy-agent-core-baaa4wtp.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-nntphgww.js → roy-agent-core-c36335nw.js} +146 -8
- package/dist/shared/@ai-setting/{roy-agent-core-tc7gw38m.js → roy-agent-core-c7w2h47a.js} +3 -3
- package/dist/shared/@ai-setting/{roy-agent-core-j5c3chtn.js → roy-agent-core-cyefe8z5.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-n3b7ztms.js → roy-agent-core-d75t8gea.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-yv9x4wmg.js → roy-agent-core-e1w17tht.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-f8sp1txg.js → roy-agent-core-e250355z.js} +3 -3
- package/dist/shared/@ai-setting/{roy-agent-core-9nv586rw.js → roy-agent-core-eanq305k.js} +22 -16
- package/dist/shared/@ai-setting/{roy-agent-core-6qgq7h1g.js → roy-agent-core-em4hks9t.js} +4 -4
- package/dist/shared/@ai-setting/{roy-agent-core-0bmk44ye.js → roy-agent-core-en2xqxs9.js} +5 -5
- package/dist/shared/@ai-setting/{roy-agent-core-e0wbq0qq.js → roy-agent-core-ewcc5qdt.js} +11 -11
- package/dist/shared/@ai-setting/{roy-agent-core-3kz6934b.js → roy-agent-core-fbjd7bt6.js} +3 -7
- package/dist/shared/@ai-setting/{roy-agent-core-98aa9r0x.js → roy-agent-core-fw6k4w1h.js} +6 -6
- package/dist/shared/@ai-setting/{roy-agent-core-ns3pbyz4.js → roy-agent-core-ge87xbas.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-r9qe0ghe.js → roy-agent-core-geh6j7bw.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-wafk25ff.js → roy-agent-core-gksw1gjb.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-3dkzqqsd.js → roy-agent-core-hefarcp0.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-5gw6w424.js → roy-agent-core-hs41gx9w.js} +5 -5
- package/dist/shared/@ai-setting/{roy-agent-core-d14h726p.js → roy-agent-core-jjhw9am6.js} +4 -4
- package/dist/shared/@ai-setting/{roy-agent-core-5psjwd08.js → roy-agent-core-jjxdmedn.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-2044fbsd.js → roy-agent-core-jw5ar4p0.js} +33 -38
- package/dist/shared/@ai-setting/{roy-agent-core-bwzy00t2.js → roy-agent-core-kq9pz2a7.js} +4 -4
- package/dist/shared/@ai-setting/{roy-agent-core-8t7wny6v.js → roy-agent-core-m68z3pw1.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-16t0zfbk.js → roy-agent-core-m97jn2ra.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-kzg1jwt8.js → roy-agent-core-n0p0hwgd.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-xcq04fq0.js → roy-agent-core-psg6f1v6.js} +6 -6
- package/dist/shared/@ai-setting/{roy-agent-core-4zy2v3br.js → roy-agent-core-q4gdfypk.js} +3 -3
- package/dist/shared/@ai-setting/{roy-agent-core-m8n0dffe.js → roy-agent-core-rcgvmtms.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-8seq65bp.js → roy-agent-core-rt115qfc.js} +44 -1
- package/dist/shared/@ai-setting/{roy-agent-core-jszgaevt.js → roy-agent-core-syyw58p9.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-3mc6vmvj.js → roy-agent-core-t4x089js.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-qjjf4tjb.js → roy-agent-core-t64nmayv.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-833t16n1.js → roy-agent-core-txwptxk1.js} +3 -3
- package/dist/shared/@ai-setting/{roy-agent-core-w7hnjhvx.js → roy-agent-core-tze5596n.js} +3 -3
- package/dist/shared/@ai-setting/{roy-agent-core-pjxa78mp.js → roy-agent-core-vath15kt.js} +6 -6
- package/dist/shared/@ai-setting/{roy-agent-core-e677am8e.js → roy-agent-core-vgdhxbx3.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-pemxr5n4.js → roy-agent-core-vh0qzb24.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-v2188rnk.js → roy-agent-core-w93z6a42.js} +8 -8
- package/dist/shared/@ai-setting/{roy-agent-core-97eyghsp.js → roy-agent-core-ygn5tzt1.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-1pnfkspm.js → roy-agent-core-yphwdm9x.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-gngjkw3b.js → roy-agent-core-ytd5eztz.js} +1 -1
- package/dist/utils/temp-file-manager/index.js +2 -2
- package/package.json +1 -1
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
import type { Hook, HookContext } from "../../hook/types";
|
|
26
26
|
import { getEnvContextOrEmpty } from "../../context";
|
|
27
27
|
import { LarkCardPatchNotifier } from "./lark-card-patch-notifier";
|
|
28
|
+
import { type LarkCardState, type LarkCardStateStore } from "./lark-card-state-store";
|
|
28
29
|
/**
|
|
29
30
|
* 从 EnvContext 提取 lark 专属字段
|
|
30
31
|
*
|
|
@@ -80,6 +81,16 @@ export interface TaskNotifyConfig {
|
|
|
80
81
|
* 不传 → plugin 自己 new 一个(messageId 由 plugin 的 Map 跟踪)。
|
|
81
82
|
*/
|
|
82
83
|
cardNotifier?: LarkCardPatchNotifier;
|
|
84
|
+
/**
|
|
85
|
+
* 卡片消息持久化 store(Task #4536)
|
|
86
|
+
*
|
|
87
|
+
* 不传 → 自动创建 SQLite 实现(`~/.local/share/roy-agent/lark-cards.db`);
|
|
88
|
+
* 测试可注入 `MemoryLarkCardStateStore` 或任何符合接口的实现。
|
|
89
|
+
*
|
|
90
|
+
* ★ 为什么需要:原来 messageId 只存内存 Map,进程重启即丢 →
|
|
91
|
+
* 老卡片再也无法 patch(永远停在"进行中")+ pin 一直挂着。
|
|
92
|
+
*/
|
|
93
|
+
cardStateStore?: LarkCardStateStore;
|
|
83
94
|
}
|
|
84
95
|
/**
|
|
85
96
|
* 卡片路由端口(Task #4230 follow-up)
|
|
@@ -114,8 +125,25 @@ export declare class LarkCliTaskNotifyHook implements Hook {
|
|
|
114
125
|
*
|
|
115
126
|
* 同一 task 的 create → update → complete 必须复用同一 messageId
|
|
116
127
|
* (单卡片语义:不刷屏)。不同 task 的卡片互不干扰。
|
|
128
|
+
*
|
|
129
|
+
* ★ Task #4536:这是**进程内缓存**(读穿透 L2 持久化 store 后回填),
|
|
130
|
+
* 权威数据在 `cardStateStore`(SQLite)。重启后从 store 恢复。
|
|
117
131
|
*/
|
|
118
132
|
private cardMessageIds;
|
|
133
|
+
/**
|
|
134
|
+
* 卡片记录持久化 store(Task #4536,L2 权威层)
|
|
135
|
+
*
|
|
136
|
+
* 记录 `{taskId → messageId, chatId, profile, pinned, status}`,
|
|
137
|
+
* 让 roy-agent 重启后仍能 patch 同一张卡片、并正确 unpin。
|
|
138
|
+
*/
|
|
139
|
+
private cardStateStore?;
|
|
140
|
+
/**
|
|
141
|
+
* 已经做过「内存 ← 持久层」回填的 taskId 集合
|
|
142
|
+
*
|
|
143
|
+
* `restoreCardState()` 是异步的,而 hook 每来一次事件都会调用它;
|
|
144
|
+
* 用这个集合做一次性短路,避免每次事件都打一次 SQL 查询。
|
|
145
|
+
*/
|
|
146
|
+
private restoredTaskIds;
|
|
119
147
|
/**
|
|
120
148
|
* 操作记录节流状态
|
|
121
149
|
* key: `op:${taskId}`,value: 上次 patch 时间戳
|
|
@@ -155,8 +183,52 @@ export declare class LarkCliTaskNotifyHook implements Hook {
|
|
|
155
183
|
private onAfterCreate;
|
|
156
184
|
/** 任务更新:patch 卡片(进度/当前步骤/状态) */
|
|
157
185
|
private onAfterUpdate;
|
|
186
|
+
/**
|
|
187
|
+
* 判定本次 update 是否属于「收尾」事件(Task #4536)
|
|
188
|
+
*
|
|
189
|
+
* 返回卡片终态;`undefined` 表示这是普通进展更新(继续 patch,不动 pin)。
|
|
190
|
+
*
|
|
191
|
+
* 依据 `changes.status`(本次变更)**优先**,其次看 `task.status`(当前值)——
|
|
192
|
+
* 因为 AFTER_UPDATE 里 `changes` 只包含本次更新的字段,resume 时 status 变回
|
|
193
|
+
* active(`changes.status === "active"`)必须能正确翻回 open。
|
|
194
|
+
*/
|
|
195
|
+
private cardStatusOf;
|
|
158
196
|
/** 任务终态:patch 终态 + unpin */
|
|
159
197
|
private onAfterComplete;
|
|
198
|
+
/**
|
|
199
|
+
* 任务被**删除**(用户口中的「取消」)→ 卡片收尾 + unpin(Task #4540)
|
|
200
|
+
*
|
|
201
|
+
* ## 为什么需要这个 handler
|
|
202
|
+
*
|
|
203
|
+
* 用户真机反馈:「我测试创建了一个任务,然后又取消了他。但是这个卡片消息没有
|
|
204
|
+
* 变化,然后这个 pin 也没有取消。」
|
|
205
|
+
*
|
|
206
|
+
* 实测发现「取消」有两种完全不同的语义,走两条完全不同的代码路径:
|
|
207
|
+
*
|
|
208
|
+
* | 用户/工具意图 | 实际调用 | 触发 hook |
|
|
209
|
+
* |--------------------------|--------------------------------|----------------------|
|
|
210
|
+
* | `tasks update --status cancelled` | `updateTask(status="cancelled")` | `task:after.update` → `cardStatusOf` → `sendCardFinish` ✅ 早已支持 |
|
|
211
|
+
* | 直接「取消/删除」任务 | **`deleteTask()`(硬删除)** | `task:after.delete` → **本 handler** |
|
|
212
|
+
*
|
|
213
|
+
* 旧代码只处理了前者 → 后者卡片永远停在"进行中"、pin 永远挂着。
|
|
214
|
+
*
|
|
215
|
+
* ## 为什么必须依赖持久层(#4536 的价值)
|
|
216
|
+
*
|
|
217
|
+
* `TaskDeleteResultContext` 只有 `{ id, deleted }` —— **拿不到 Task 对象**
|
|
218
|
+
* (数据已经从 store 删了)。能用的只有:
|
|
219
|
+
* 1. `cardStateStore`(#4536 持久化的 `lark-cards.db`)→ messageId / chatId / profile
|
|
220
|
+
* 2. `cardNotifier` 内存态(同进程内刚发过卡时)→ 里程碑 / 过程步骤 / 进度
|
|
221
|
+
*
|
|
222
|
+
* 两者都没有 → 说明这个任务从来没发过卡(或库被清)→ 静默 skip,**绝不发新卡**。
|
|
223
|
+
*
|
|
224
|
+
* ## 幂等 / 降级
|
|
225
|
+
*
|
|
226
|
+
* - `deleted === false` → 删除失败,任务还在 → 什么都不做
|
|
227
|
+
* - 记录缺失 / messageId 为空 → skip(debug log)
|
|
228
|
+
* - patch 失败 → warn,**仍继续 unpin**(卡片文案改不了但 pin 必须取消)
|
|
229
|
+
* - unpin 失败 → warn,不抛
|
|
230
|
+
*/
|
|
231
|
+
private onAfterDelete;
|
|
160
232
|
/**
|
|
161
233
|
* 操作记录创建:把 operation 追加进卡片时间线
|
|
162
234
|
*
|
|
@@ -164,6 +236,77 @@ export declare class LarkCliTaskNotifyHook implements Hook {
|
|
|
164
236
|
* 旧实现会 fallback `startTask`(凭空多发一张卡)——已删除。
|
|
165
237
|
*/
|
|
166
238
|
private onAfterOperationCreate;
|
|
239
|
+
/**
|
|
240
|
+
* 从持久层回填内存 messageId(一次性/幂等)
|
|
241
|
+
*
|
|
242
|
+
* 进程重启后内存 Map 是空的;第一次收到该 task 的事件时从这里恢复
|
|
243
|
+
* 原卡片的 messageId / chatId / profile / pin 状态,从而 patch 到**同一张卡**
|
|
244
|
+
* 而不是重新发一张新的(用户诉求 A 的核心验收点)。
|
|
245
|
+
*
|
|
246
|
+
* ★ 已 `closed` 的记录不再回填 messageId:终态卡片已经 unpin 且不应再被 patch;
|
|
247
|
+
* 如果该 task 后来被重新打开(新 create),会走全新建卡流程。
|
|
248
|
+
* ★ 已 `paused` 的记录**要**回填:pause → resume 后必须复用同一张卡。
|
|
249
|
+
*/
|
|
250
|
+
private restoreCardState;
|
|
251
|
+
/**
|
|
252
|
+
* 从持久层恢复卡片内容到 notifier(Task #4536 / xval MAJOR 3)
|
|
253
|
+
*
|
|
254
|
+
* `timeline` 是 `CardStateSnapshot` 的 JSON;解析失败只 warn(不阻断)。
|
|
255
|
+
*/
|
|
256
|
+
private hydrateNotifierState;
|
|
257
|
+
/**
|
|
258
|
+
* 把 notifier 的卡片内容快照序列化进记录(Task #4536 / xval MAJOR 3)
|
|
259
|
+
*
|
|
260
|
+
* 每次 patch / pause 之后调用,让"重启后恢复内容"始终有最新数据。
|
|
261
|
+
*/
|
|
262
|
+
private snapshotTimeline;
|
|
263
|
+
/** 落库:发卡成功 / patch 成功后同步记录(失败仅 warn) */
|
|
264
|
+
private persistCardState;
|
|
265
|
+
/** 落库:pin 状态变化(失败仅 warn) */
|
|
266
|
+
private persistPinned;
|
|
267
|
+
/**
|
|
268
|
+
* 落库:暂停(stop)
|
|
269
|
+
*
|
|
270
|
+
* ★ paused **不是**终结 —— 保留 `open` 语义的 messageId,只翻 status。
|
|
271
|
+
* 任务 resume 后要能继续 patch 同一张卡(诉求 B 的 pause→resume→pause)。
|
|
272
|
+
*/
|
|
273
|
+
private persistPaused;
|
|
274
|
+
/**
|
|
275
|
+
* 丢弃持久层里的旧 messageId(Task #4536 / xval MAJOR 4)
|
|
276
|
+
*
|
|
277
|
+
* 用于 reopen 场景:旧卡片已 closed + unpin,不能再被 patch。
|
|
278
|
+
* 只把 `messageId` 清空、状态保持原样(closed),这样:
|
|
279
|
+
* - 若新卡创建成功 → `persistCardState` 会写一条完整新记录(覆盖);
|
|
280
|
+
* - 若新卡创建失败 → 记录仍是 closed 且**无可用 messageId**,
|
|
281
|
+
* 重启后 `restoreCardState` 不会把它当活卡片复活。
|
|
282
|
+
*/
|
|
283
|
+
private dropStaleMessageId;
|
|
284
|
+
/** 落库:resume / 重新打开(paused|closed → open) */
|
|
285
|
+
private persistReopened;
|
|
286
|
+
/** 落库:终结(completed / failed / cancelled)—— 保留记录供追溯 */
|
|
287
|
+
private persistClosed;
|
|
288
|
+
/**
|
|
289
|
+
* 重新快照当前卡片的累积内容并落库(Task #4536 / xval MAJOR 3)
|
|
290
|
+
*
|
|
291
|
+
* 幂等 + 失败降级:拿不到记录 / notifier 无状态时静默跳过。
|
|
292
|
+
*/
|
|
293
|
+
private refreshTimeline;
|
|
294
|
+
/**
|
|
295
|
+
* resume 后重新 pin 卡片(Task #4536)
|
|
296
|
+
*
|
|
297
|
+
* ★ 为什么需要:`stop`(paused)时我们已经 unpin 了;任务被 resume 后如果
|
|
298
|
+
* 不 re-pin,用户就再也看不到置顶的进展卡片 —— pin 状态必须跟任务状态一致。
|
|
299
|
+
*
|
|
300
|
+
* ★ 失败降级(诉求 C):pin 失败**不阻断**后续 patch,只 warn 并保持
|
|
301
|
+
* 持久层 `pinned=false`(如实反映真实状态,不谎报)。
|
|
302
|
+
*/
|
|
303
|
+
private repinAfterResume;
|
|
304
|
+
/** 合并「写记录」所需的公共字段(读旧记录失败也不抛,降级为 now) */
|
|
305
|
+
private buildCardState;
|
|
306
|
+
/** 对外只读:某 task 的持久化卡片记录(debug / 排查用) */
|
|
307
|
+
getCardState(taskId: number): LarkCardState | undefined;
|
|
308
|
+
/** 对外只读:全部持久化卡片记录(debug / 排查用) */
|
|
309
|
+
listCardStates(): LarkCardState[];
|
|
167
310
|
private isCardModeEnabled;
|
|
168
311
|
/**
|
|
169
312
|
* 解析「卡片该发到哪个群」(Task #4230 follow-up)
|
|
@@ -184,7 +327,7 @@ export declare class LarkCliTaskNotifyHook implements Hook {
|
|
|
184
327
|
* 用于:无触发群时找最近的专属群兜底(Task #4394:不再用于"是否别人的群"判定)。
|
|
185
328
|
*/
|
|
186
329
|
private collectLineage;
|
|
187
|
-
/** 发初始卡片(+ pin)并缓存 messageId */
|
|
330
|
+
/** 发初始卡片(+ pin)并缓存 + 持久化 messageId */
|
|
188
331
|
private sendCardStart;
|
|
189
332
|
/**
|
|
190
333
|
* patch 卡片(进度 / 当前步骤 / 状态)
|
|
@@ -193,7 +336,16 @@ export declare class LarkCliTaskNotifyHook implements Hook {
|
|
|
193
336
|
* 降级补发一次 startTask —— 只发生一次,失败则打 sentinel 不再重试。
|
|
194
337
|
*/
|
|
195
338
|
private sendCardUpdate;
|
|
196
|
-
/**
|
|
339
|
+
/**
|
|
340
|
+
* 终态:patch final status + unpin,并同步持久化
|
|
341
|
+
*
|
|
342
|
+
* 覆盖三种「收尾」语义(Task #4536):
|
|
343
|
+
* - `completed` → 卡片「🎉 全部完成!」+ unpin + 记录 closed
|
|
344
|
+
* - `cancelled` → 卡片「🚫 已取消」 + unpin + 记录 closed
|
|
345
|
+
* - `failed` / `timeout` → 卡片「🚨 任务失败」+ unpin + 记录 closed
|
|
346
|
+
* - `paused`(用户 stop **或** 循环任务已暂停)→ 卡片「⏹️ 已暂停」+ unpin,
|
|
347
|
+
* 但记录只标 `paused`(**不是** closed)—— 任务 resume 后要复用同一张卡
|
|
348
|
+
*/
|
|
197
349
|
private sendCardFinish;
|
|
198
350
|
/**
|
|
199
351
|
* 解析 chatId(优先级:replyChannel > task.context)
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
import"../../../shared/@ai-setting/roy-agent-core-7q4wdze2.js";
|
|
1
2
|
import {
|
|
2
3
|
SQLiteTaskStore,
|
|
3
4
|
getDefaultDataDir,
|
|
4
5
|
getDefaultTaskDbPath
|
|
5
|
-
} from "../../../shared/@ai-setting/roy-agent-core-
|
|
6
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
7
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
6
|
+
} from "../../../shared/@ai-setting/roy-agent-core-fbjd7bt6.js";
|
|
7
|
+
import"../../../shared/@ai-setting/roy-agent-core-8p63s836.js";
|
|
8
|
+
import"../../../shared/@ai-setting/roy-agent-core-rt115qfc.js";
|
|
8
9
|
import"../../../shared/@ai-setting/roy-agent-core-jnszp0jq.js";
|
|
9
10
|
import"../../../shared/@ai-setting/roy-agent-core-fs0mn2jk.js";
|
|
10
11
|
export {
|
|
@@ -9,10 +9,10 @@ import {
|
|
|
9
9
|
searchTasksTool,
|
|
10
10
|
treeTasksTool,
|
|
11
11
|
updateTaskTool
|
|
12
|
-
} from "../../../shared/@ai-setting/roy-agent-core-
|
|
13
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
14
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
15
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
12
|
+
} from "../../../shared/@ai-setting/roy-agent-core-vh0qzb24.js";
|
|
13
|
+
import"../../../shared/@ai-setting/roy-agent-core-syyw58p9.js";
|
|
14
|
+
import"../../../shared/@ai-setting/roy-agent-core-8p63s836.js";
|
|
15
|
+
import"../../../shared/@ai-setting/roy-agent-core-rt115qfc.js";
|
|
16
16
|
import"../../../shared/@ai-setting/roy-agent-core-jnszp0jq.js";
|
|
17
17
|
import"../../../shared/@ai-setting/roy-agent-core-fs0mn2jk.js";
|
|
18
18
|
export {
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
grepTool,
|
|
9
9
|
readFileTool,
|
|
10
10
|
writeFileTool
|
|
11
|
-
} from "../../../shared/@ai-setting/roy-agent-core-
|
|
11
|
+
} from "../../../shared/@ai-setting/roy-agent-core-q4gdfypk.js";
|
|
12
12
|
import {
|
|
13
13
|
getUnderstandImageLLMProvider,
|
|
14
14
|
resetUnderstandImageLLMProvider,
|
|
@@ -19,10 +19,10 @@ import {
|
|
|
19
19
|
createQueryBackgroundProcessTool,
|
|
20
20
|
queryBackgroundProcessTool
|
|
21
21
|
} from "../../../shared/@ai-setting/roy-agent-core-amkqnyzy.js";
|
|
22
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
22
|
+
import"../../../shared/@ai-setting/roy-agent-core-14bq77wr.js";
|
|
23
23
|
import"../../../shared/@ai-setting/roy-agent-core-zjdzk1gg.js";
|
|
24
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
25
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
24
|
+
import"../../../shared/@ai-setting/roy-agent-core-8p63s836.js";
|
|
25
|
+
import"../../../shared/@ai-setting/roy-agent-core-rt115qfc.js";
|
|
26
26
|
import"../../../shared/@ai-setting/roy-agent-core-jnszp0jq.js";
|
|
27
27
|
import"../../../shared/@ai-setting/roy-agent-core-fs0mn2jk.js";
|
|
28
28
|
export {
|
package/dist/env/tool/index.js
CHANGED
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
grepTool,
|
|
10
10
|
readFileTool,
|
|
11
11
|
writeFileTool
|
|
12
|
-
} from "../../shared/@ai-setting/roy-agent-core-
|
|
12
|
+
} from "../../shared/@ai-setting/roy-agent-core-q4gdfypk.js";
|
|
13
13
|
import {
|
|
14
14
|
getUnderstandImageLLMProvider,
|
|
15
15
|
resetUnderstandImageLLMProvider,
|
|
@@ -17,25 +17,25 @@ import {
|
|
|
17
17
|
understandImageTool
|
|
18
18
|
} from "../../shared/@ai-setting/roy-agent-core-xwm8zavb.js";
|
|
19
19
|
import"../../shared/@ai-setting/roy-agent-core-amkqnyzy.js";
|
|
20
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
20
|
+
import"../../shared/@ai-setting/roy-agent-core-14bq77wr.js";
|
|
21
21
|
import {
|
|
22
22
|
ToolComponent,
|
|
23
23
|
ToolRegistry,
|
|
24
24
|
ToolValidator,
|
|
25
25
|
getMaxOutputSize,
|
|
26
26
|
setToolConfigComponent
|
|
27
|
-
} from "../../shared/@ai-setting/roy-agent-core-
|
|
28
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
27
|
+
} from "../../shared/@ai-setting/roy-agent-core-fw6k4w1h.js";
|
|
28
|
+
import"../../shared/@ai-setting/roy-agent-core-n0p0hwgd.js";
|
|
29
29
|
import"../../shared/@ai-setting/roy-agent-core-zjdzk1gg.js";
|
|
30
30
|
import"../../shared/@ai-setting/roy-agent-core-e25xkv53.js";
|
|
31
31
|
import"../../shared/@ai-setting/roy-agent-core-7hh0brvs.js";
|
|
32
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
33
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
34
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
35
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
36
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
37
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
38
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
32
|
+
import"../../shared/@ai-setting/roy-agent-core-0kn3zt1t.js";
|
|
33
|
+
import"../../shared/@ai-setting/roy-agent-core-ytd5eztz.js";
|
|
34
|
+
import"../../shared/@ai-setting/roy-agent-core-yphwdm9x.js";
|
|
35
|
+
import"../../shared/@ai-setting/roy-agent-core-m97jn2ra.js";
|
|
36
|
+
import"../../shared/@ai-setting/roy-agent-core-syyw58p9.js";
|
|
37
|
+
import"../../shared/@ai-setting/roy-agent-core-8p63s836.js";
|
|
38
|
+
import"../../shared/@ai-setting/roy-agent-core-rt115qfc.js";
|
|
39
39
|
import"../../shared/@ai-setting/roy-agent-core-jnszp0jq.js";
|
|
40
40
|
import"../../shared/@ai-setting/roy-agent-core-fs0mn2jk.js";
|
|
41
41
|
export {
|
|
@@ -5,27 +5,27 @@ import {
|
|
|
5
5
|
Scheduler,
|
|
6
6
|
WorkflowEngine,
|
|
7
7
|
init_engine
|
|
8
|
-
} from "../../../shared/@ai-setting/roy-agent-core-
|
|
8
|
+
} from "../../../shared/@ai-setting/roy-agent-core-w93z6a42.js";
|
|
9
9
|
import"../../../shared/@ai-setting/roy-agent-core-6atd905e.js";
|
|
10
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
11
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
10
|
+
import"../../../shared/@ai-setting/roy-agent-core-txwptxk1.js";
|
|
11
|
+
import"../../../shared/@ai-setting/roy-agent-core-d75t8gea.js";
|
|
12
12
|
import"../../../shared/@ai-setting/roy-agent-core-1db4vpc6.js";
|
|
13
13
|
import"../../../shared/@ai-setting/roy-agent-core-ze068vc9.js";
|
|
14
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
15
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
16
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
14
|
+
import"../../../shared/@ai-setting/roy-agent-core-hefarcp0.js";
|
|
15
|
+
import"../../../shared/@ai-setting/roy-agent-core-geh6j7bw.js";
|
|
16
|
+
import"../../../shared/@ai-setting/roy-agent-core-t4x089js.js";
|
|
17
17
|
import"../../../shared/@ai-setting/roy-agent-core-ddwa0n6h.js";
|
|
18
18
|
import {
|
|
19
19
|
DAGManager
|
|
20
|
-
} from "../../../shared/@ai-setting/roy-agent-core-
|
|
20
|
+
} from "../../../shared/@ai-setting/roy-agent-core-08njdcpj.js";
|
|
21
21
|
import"../../../shared/@ai-setting/roy-agent-core-jrj30vq3.js";
|
|
22
22
|
import"../../../shared/@ai-setting/roy-agent-core-e25xkv53.js";
|
|
23
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
24
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
25
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
26
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
27
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
28
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
23
|
+
import"../../../shared/@ai-setting/roy-agent-core-ytd5eztz.js";
|
|
24
|
+
import"../../../shared/@ai-setting/roy-agent-core-yphwdm9x.js";
|
|
25
|
+
import"../../../shared/@ai-setting/roy-agent-core-m97jn2ra.js";
|
|
26
|
+
import"../../../shared/@ai-setting/roy-agent-core-syyw58p9.js";
|
|
27
|
+
import"../../../shared/@ai-setting/roy-agent-core-8p63s836.js";
|
|
28
|
+
import"../../../shared/@ai-setting/roy-agent-core-rt115qfc.js";
|
|
29
29
|
import"../../../shared/@ai-setting/roy-agent-core-jnszp0jq.js";
|
|
30
30
|
import"../../../shared/@ai-setting/roy-agent-core-fs0mn2jk.js";
|
|
31
31
|
init_engine();
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
init_hooks
|
|
3
|
-
} from "../../../shared/@ai-setting/roy-agent-core-
|
|
3
|
+
} from "../../../shared/@ai-setting/roy-agent-core-hefarcp0.js";
|
|
4
4
|
import {
|
|
5
5
|
WorkflowHookPoints,
|
|
6
6
|
emitWorkflowNodeHook,
|
|
7
7
|
emitWorkflowRunHook,
|
|
8
8
|
getRegisteredWorkflowHookPoints
|
|
9
|
-
} from "../../../shared/@ai-setting/roy-agent-core-
|
|
10
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
11
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
12
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
13
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
14
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
15
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
9
|
+
} from "../../../shared/@ai-setting/roy-agent-core-geh6j7bw.js";
|
|
10
|
+
import"../../../shared/@ai-setting/roy-agent-core-ytd5eztz.js";
|
|
11
|
+
import"../../../shared/@ai-setting/roy-agent-core-yphwdm9x.js";
|
|
12
|
+
import"../../../shared/@ai-setting/roy-agent-core-m97jn2ra.js";
|
|
13
|
+
import"../../../shared/@ai-setting/roy-agent-core-syyw58p9.js";
|
|
14
|
+
import"../../../shared/@ai-setting/roy-agent-core-8p63s836.js";
|
|
15
|
+
import"../../../shared/@ai-setting/roy-agent-core-rt115qfc.js";
|
|
16
16
|
import"../../../shared/@ai-setting/roy-agent-core-jnszp0jq.js";
|
|
17
17
|
import"../../../shared/@ai-setting/roy-agent-core-fs0mn2jk.js";
|
|
18
18
|
init_hooks();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WorkflowComponent
|
|
3
|
-
} from "../../shared/@ai-setting/roy-agent-core-
|
|
4
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
3
|
+
} from "../../shared/@ai-setting/roy-agent-core-0yn7a78e.js";
|
|
4
|
+
import"../../shared/@ai-setting/roy-agent-core-vgdhxbx3.js";
|
|
5
5
|
import {
|
|
6
6
|
Edge,
|
|
7
7
|
NodeAs,
|
|
@@ -14,24 +14,24 @@ import {
|
|
|
14
14
|
DecoratorNode,
|
|
15
15
|
init_decorator_node
|
|
16
16
|
} from "../../shared/@ai-setting/roy-agent-core-1ce3fqrk.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-en2xqxs9.js";
|
|
18
|
+
import"../../shared/@ai-setting/roy-agent-core-kq9pz2a7.js";
|
|
19
|
+
import"../../shared/@ai-setting/roy-agent-core-c7w2h47a.js";
|
|
20
20
|
import"../../shared/@ai-setting/roy-agent-core-hhrg314p.js";
|
|
21
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
22
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
21
|
+
import"../../shared/@ai-setting/roy-agent-core-9zhkdg6w.js";
|
|
22
|
+
import"../../shared/@ai-setting/roy-agent-core-w93z6a42.js";
|
|
23
23
|
import"../../shared/@ai-setting/roy-agent-core-6atd905e.js";
|
|
24
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
25
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
24
|
+
import"../../shared/@ai-setting/roy-agent-core-txwptxk1.js";
|
|
25
|
+
import"../../shared/@ai-setting/roy-agent-core-d75t8gea.js";
|
|
26
26
|
import"../../shared/@ai-setting/roy-agent-core-1db4vpc6.js";
|
|
27
27
|
import"../../shared/@ai-setting/roy-agent-core-ze068vc9.js";
|
|
28
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
29
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
28
|
+
import"../../shared/@ai-setting/roy-agent-core-hefarcp0.js";
|
|
29
|
+
import"../../shared/@ai-setting/roy-agent-core-geh6j7bw.js";
|
|
30
30
|
import"../../shared/@ai-setting/roy-agent-core-7exqwax1.js";
|
|
31
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
32
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
31
|
+
import"../../shared/@ai-setting/roy-agent-core-89sxsrc7.js";
|
|
32
|
+
import"../../shared/@ai-setting/roy-agent-core-t4x089js.js";
|
|
33
33
|
import"../../shared/@ai-setting/roy-agent-core-ddwa0n6h.js";
|
|
34
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
34
|
+
import"../../shared/@ai-setting/roy-agent-core-08njdcpj.js";
|
|
35
35
|
import {
|
|
36
36
|
BaseEventSchema,
|
|
37
37
|
ControlPauseEventSchema,
|
|
@@ -85,8 +85,8 @@ import {
|
|
|
85
85
|
unresolvedVariable
|
|
86
86
|
} from "../../shared/@ai-setting/roy-agent-core-jrj30vq3.js";
|
|
87
87
|
import"../../shared/@ai-setting/roy-agent-core-rvxg1wps.js";
|
|
88
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
89
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
88
|
+
import"../../shared/@ai-setting/roy-agent-core-ge87xbas.js";
|
|
89
|
+
import"../../shared/@ai-setting/roy-agent-core-e1w17tht.js";
|
|
90
90
|
import"../../shared/@ai-setting/roy-agent-core-zjdzk1gg.js";
|
|
91
91
|
import"../../shared/@ai-setting/roy-agent-core-c1v263jn.js";
|
|
92
92
|
import {
|
|
@@ -95,13 +95,13 @@ import {
|
|
|
95
95
|
createWorkflowAskUserEvent
|
|
96
96
|
} from "../../shared/@ai-setting/roy-agent-core-e25xkv53.js";
|
|
97
97
|
import"../../shared/@ai-setting/roy-agent-core-7hh0brvs.js";
|
|
98
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
99
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
100
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
101
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
102
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
103
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
104
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
98
|
+
import"../../shared/@ai-setting/roy-agent-core-0kn3zt1t.js";
|
|
99
|
+
import"../../shared/@ai-setting/roy-agent-core-ytd5eztz.js";
|
|
100
|
+
import"../../shared/@ai-setting/roy-agent-core-yphwdm9x.js";
|
|
101
|
+
import"../../shared/@ai-setting/roy-agent-core-m97jn2ra.js";
|
|
102
|
+
import"../../shared/@ai-setting/roy-agent-core-syyw58p9.js";
|
|
103
|
+
import"../../shared/@ai-setting/roy-agent-core-8p63s836.js";
|
|
104
|
+
import"../../shared/@ai-setting/roy-agent-core-rt115qfc.js";
|
|
105
105
|
import"../../shared/@ai-setting/roy-agent-core-jnszp0jq.js";
|
|
106
106
|
import"../../shared/@ai-setting/roy-agent-core-fs0mn2jk.js";
|
|
107
107
|
|
|
@@ -7,9 +7,9 @@ import {
|
|
|
7
7
|
init_skill_node,
|
|
8
8
|
init_tool_node,
|
|
9
9
|
init_workflow_node
|
|
10
|
-
} from "../../../shared/@ai-setting/roy-agent-core-
|
|
11
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
12
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
10
|
+
} from "../../../shared/@ai-setting/roy-agent-core-d75t8gea.js";
|
|
11
|
+
import"../../../shared/@ai-setting/roy-agent-core-8p63s836.js";
|
|
12
|
+
import"../../../shared/@ai-setting/roy-agent-core-rt115qfc.js";
|
|
13
13
|
import"../../../shared/@ai-setting/roy-agent-core-jnszp0jq.js";
|
|
14
14
|
import"../../../shared/@ai-setting/roy-agent-core-fs0mn2jk.js";
|
|
15
15
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
LarkCliWorkflowNotifyHook,
|
|
3
3
|
createLarkCliWorkflowNotifyHook
|
|
4
|
-
} from "../../../shared/@ai-setting/roy-agent-core-
|
|
5
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
6
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
7
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
8
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
9
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
10
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
11
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
12
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
4
|
+
} from "../../../shared/@ai-setting/roy-agent-core-psg6f1v6.js";
|
|
5
|
+
import"../../../shared/@ai-setting/roy-agent-core-c36335nw.js";
|
|
6
|
+
import"../../../shared/@ai-setting/roy-agent-core-geh6j7bw.js";
|
|
7
|
+
import"../../../shared/@ai-setting/roy-agent-core-ytd5eztz.js";
|
|
8
|
+
import"../../../shared/@ai-setting/roy-agent-core-yphwdm9x.js";
|
|
9
|
+
import"../../../shared/@ai-setting/roy-agent-core-m97jn2ra.js";
|
|
10
|
+
import"../../../shared/@ai-setting/roy-agent-core-syyw58p9.js";
|
|
11
|
+
import"../../../shared/@ai-setting/roy-agent-core-8p63s836.js";
|
|
12
|
+
import"../../../shared/@ai-setting/roy-agent-core-rt115qfc.js";
|
|
13
13
|
import"../../../shared/@ai-setting/roy-agent-core-jnszp0jq.js";
|
|
14
14
|
import"../../../shared/@ai-setting/roy-agent-core-fs0mn2jk.js";
|
|
15
15
|
export {
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
} from "../../../shared/@ai-setting/roy-agent-core-hhrg314p.js";
|
|
6
6
|
import {
|
|
7
7
|
WorkflowService
|
|
8
|
-
} from "../../../shared/@ai-setting/roy-agent-core-
|
|
8
|
+
} from "../../../shared/@ai-setting/roy-agent-core-9zhkdg6w.js";
|
|
9
9
|
import"../../../shared/@ai-setting/roy-agent-core-7exqwax1.js";
|
|
10
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
11
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
10
|
+
import"../../../shared/@ai-setting/roy-agent-core-8p63s836.js";
|
|
11
|
+
import"../../../shared/@ai-setting/roy-agent-core-rt115qfc.js";
|
|
12
12
|
import"../../../shared/@ai-setting/roy-agent-core-jnszp0jq.js";
|
|
13
13
|
import"../../../shared/@ai-setting/roy-agent-core-fs0mn2jk.js";
|
|
14
14
|
export {
|
|
@@ -8,13 +8,13 @@ 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-jjxdmedn.js";
|
|
12
12
|
import {
|
|
13
13
|
TagRepository
|
|
14
|
-
} from "../../../shared/@ai-setting/roy-agent-core-
|
|
14
|
+
} from "../../../shared/@ai-setting/roy-agent-core-rcgvmtms.js";
|
|
15
15
|
import"../../../shared/@ai-setting/roy-agent-core-rvxg1wps.js";
|
|
16
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
17
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
16
|
+
import"../../../shared/@ai-setting/roy-agent-core-8p63s836.js";
|
|
17
|
+
import"../../../shared/@ai-setting/roy-agent-core-rt115qfc.js";
|
|
18
18
|
import"../../../shared/@ai-setting/roy-agent-core-jnszp0jq.js";
|
|
19
19
|
import"../../../shared/@ai-setting/roy-agent-core-fs0mn2jk.js";
|
|
20
20
|
export {
|
|
@@ -24,10 +24,10 @@ 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-
|
|
30
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
27
|
+
} from "../../../shared/@ai-setting/roy-agent-core-en2xqxs9.js";
|
|
28
|
+
import"../../../shared/@ai-setting/roy-agent-core-kq9pz2a7.js";
|
|
29
|
+
import"../../../shared/@ai-setting/roy-agent-core-c7w2h47a.js";
|
|
30
|
+
import"../../../shared/@ai-setting/roy-agent-core-9zhkdg6w.js";
|
|
31
31
|
import {
|
|
32
32
|
WORKFLOW_SUBMIT_OUTPUT_TOOL_NAME,
|
|
33
33
|
WorkflowJsonOutputMarker,
|
|
@@ -37,23 +37,23 @@ import {
|
|
|
37
37
|
} from "../../../shared/@ai-setting/roy-agent-core-1db4vpc6.js";
|
|
38
38
|
import"../../../shared/@ai-setting/roy-agent-core-ze068vc9.js";
|
|
39
39
|
import"../../../shared/@ai-setting/roy-agent-core-7exqwax1.js";
|
|
40
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
41
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
40
|
+
import"../../../shared/@ai-setting/roy-agent-core-89sxsrc7.js";
|
|
41
|
+
import"../../../shared/@ai-setting/roy-agent-core-08njdcpj.js";
|
|
42
42
|
import"../../../shared/@ai-setting/roy-agent-core-jrj30vq3.js";
|
|
43
43
|
import"../../../shared/@ai-setting/roy-agent-core-rvxg1wps.js";
|
|
44
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
45
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
44
|
+
import"../../../shared/@ai-setting/roy-agent-core-ge87xbas.js";
|
|
45
|
+
import"../../../shared/@ai-setting/roy-agent-core-e1w17tht.js";
|
|
46
46
|
import"../../../shared/@ai-setting/roy-agent-core-zjdzk1gg.js";
|
|
47
47
|
import"../../../shared/@ai-setting/roy-agent-core-c1v263jn.js";
|
|
48
48
|
import"../../../shared/@ai-setting/roy-agent-core-e25xkv53.js";
|
|
49
49
|
import"../../../shared/@ai-setting/roy-agent-core-7hh0brvs.js";
|
|
50
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
51
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
52
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
53
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
54
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
55
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
56
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
50
|
+
import"../../../shared/@ai-setting/roy-agent-core-0kn3zt1t.js";
|
|
51
|
+
import"../../../shared/@ai-setting/roy-agent-core-ytd5eztz.js";
|
|
52
|
+
import"../../../shared/@ai-setting/roy-agent-core-yphwdm9x.js";
|
|
53
|
+
import"../../../shared/@ai-setting/roy-agent-core-m97jn2ra.js";
|
|
54
|
+
import"../../../shared/@ai-setting/roy-agent-core-syyw58p9.js";
|
|
55
|
+
import"../../../shared/@ai-setting/roy-agent-core-8p63s836.js";
|
|
56
|
+
import"../../../shared/@ai-setting/roy-agent-core-rt115qfc.js";
|
|
57
57
|
import"../../../shared/@ai-setting/roy-agent-core-jnszp0jq.js";
|
|
58
58
|
import"../../../shared/@ai-setting/roy-agent-core-fs0mn2jk.js";
|
|
59
59
|
|
|
@@ -14,25 +14,25 @@ import {
|
|
|
14
14
|
hasClosedOutputContract,
|
|
15
15
|
validateTemplateContracts,
|
|
16
16
|
validateWorkflowDefinition
|
|
17
|
-
} from "../../../shared/@ai-setting/roy-agent-core-
|
|
17
|
+
} from "../../../shared/@ai-setting/roy-agent-core-89sxsrc7.js";
|
|
18
18
|
import {
|
|
19
19
|
TemplateResolver,
|
|
20
20
|
init_template_resolver,
|
|
21
21
|
resolveTemplateString,
|
|
22
22
|
resolveTemplates
|
|
23
|
-
} from "../../../shared/@ai-setting/roy-agent-core-
|
|
23
|
+
} from "../../../shared/@ai-setting/roy-agent-core-t4x089js.js";
|
|
24
24
|
import {
|
|
25
25
|
getFromMapWithNormalization,
|
|
26
26
|
init_node_id_utils
|
|
27
27
|
} from "../../../shared/@ai-setting/roy-agent-core-ddwa0n6h.js";
|
|
28
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
28
|
+
import"../../../shared/@ai-setting/roy-agent-core-08njdcpj.js";
|
|
29
29
|
import"../../../shared/@ai-setting/roy-agent-core-jrj30vq3.js";
|
|
30
30
|
import"../../../shared/@ai-setting/roy-agent-core-e25xkv53.js";
|
|
31
31
|
import {
|
|
32
32
|
TracedAs,
|
|
33
33
|
init_decorator
|
|
34
|
-
} from "../../../shared/@ai-setting/roy-agent-core-
|
|
35
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
34
|
+
} from "../../../shared/@ai-setting/roy-agent-core-8p63s836.js";
|
|
35
|
+
import"../../../shared/@ai-setting/roy-agent-core-rt115qfc.js";
|
|
36
36
|
import"../../../shared/@ai-setting/roy-agent-core-jnszp0jq.js";
|
|
37
37
|
import {
|
|
38
38
|
__legacyDecorateClassTS
|