@ai-setting/roy-agent-core 1.7.59 → 1.7.62
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.js +41 -0
- package/dist/env/agent/index.js +18 -16
- 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/error-reply.js +18 -0
- package/dist/env/event-source/cli-command-handler.d.ts +90 -0
- package/dist/env/event-source/cli-command-handler.js +17 -0
- package/dist/env/event-source/event-source-handlers.d.ts +1 -0
- package/dist/env/event-source/event-source-handlers.js +58 -0
- package/dist/env/event-source/event-store.js +18 -0
- package/dist/env/event-source/idempotency-key.js +20 -0
- package/dist/env/event-source/index.d.ts +3 -1
- package/dist/env/event-source/index.js +37 -22
- package/dist/env/event-source/types.d.ts +21 -1
- package/dist/env/hook/index.js +6 -6
- package/dist/env/index.js +54 -48
- package/dist/env/lark-mention-utils.js +9 -0
- package/dist/env/llm/index.js +9 -9
- package/dist/env/log-trace/index.d.ts +1 -1
- package/dist/env/log-trace/index.js +12 -8
- package/dist/env/log-trace/logger.d.ts +2 -0
- package/dist/env/log-trace/logger.js +39 -0
- 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 +9 -9
- 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/delegate-tool.js +42 -0
- package/dist/env/task/delegate/index.js +13 -11
- package/dist/env/task/index.js +17 -16
- package/dist/env/task/mcp/index.d.ts +16 -0
- package/dist/env/task/mcp/index.js +222 -0
- package/dist/env/task/mcp/task-mcp-server.d.ts +142 -0
- package/dist/env/task/plugins/index.d.ts +1 -0
- package/dist/env/task/plugins/index.js +47 -12
- package/dist/env/task/plugins/lark-card-patch-notifier.js +42 -0
- package/dist/env/task/storage/index.js +4 -4
- package/dist/env/task/storage/migrations/log-migration.d.ts +19 -0
- package/dist/env/task/storage/sqlite-task-store.d.ts +29 -0
- package/dist/env/task/task-component.d.ts +48 -3
- package/dist/env/task/tools/index.js +4 -4
- package/dist/env/task/tools/task-types.d.ts +60 -11
- package/dist/env/tool/built-in/index.js +4 -4
- package/dist/env/tool/index.js +12 -11
- package/dist/env/tool/types.js +1 -0
- 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/tools/run-workflow.d.ts +30 -0
- package/dist/env/workflow/utils/index.js +5 -5
- package/dist/env/workflow/utils/session-recovery.d.ts +27 -0
- package/dist/index.js +91 -73
- package/dist/shared/@ai-setting/{roy-agent-core-ygn5tzt1.js → roy-agent-core-06jakebr.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-m68z3pw1.js → roy-agent-core-084zthqx.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-cyefe8z5.js → roy-agent-core-2hkyp51n.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-029r8kdw.js → roy-agent-core-2pma868e.js} +4 -4
- package/dist/shared/@ai-setting/{roy-agent-core-c7w2h47a.js → roy-agent-core-2veqhrxa.js} +3 -3
- package/dist/shared/@ai-setting/{roy-agent-core-t64nmayv.js → roy-agent-core-32ck9rqt.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-m97jn2ra.js → roy-agent-core-33hn1beg.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-8p63s836.js → roy-agent-core-386wa4wy.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-kq9pz2a7.js → roy-agent-core-48h4zh60.js} +4 -4
- package/dist/shared/@ai-setting/{roy-agent-core-eanq305k.js → roy-agent-core-5bj0xfjk.js} +13 -27
- package/dist/shared/@ai-setting/{roy-agent-core-7q4wdze2.js → roy-agent-core-5mrynf9g.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-rt115qfc.js → roy-agent-core-6awgfh3x.js} +14 -4
- package/dist/shared/@ai-setting/{roy-agent-core-9zhkdg6w.js → roy-agent-core-6wxww10t.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-baaa4wtp.js → roy-agent-core-79gyka2q.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-ytd5eztz.js → roy-agent-core-7tce05jt.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-x6c45yqd.js → roy-agent-core-99nwgj84.js} +1 -1
- package/dist/shared/@ai-setting/roy-agent-core-9nvyffxg.js +414 -0
- package/dist/shared/@ai-setting/{roy-agent-core-e1w17tht.js → roy-agent-core-9qgrc9dy.js} +158 -158
- package/dist/shared/@ai-setting/{roy-agent-core-2ctyjy62.js → roy-agent-core-a08dpf71.js} +17 -2
- package/dist/shared/@ai-setting/{roy-agent-core-e250355z.js → roy-agent-core-a6cz4d23.js} +3 -3
- package/dist/shared/@ai-setting/{roy-agent-core-tze5596n.js → roy-agent-core-anb53t3v.js} +3 -3
- package/dist/shared/@ai-setting/{roy-agent-core-caevk7xd.js → roy-agent-core-arx535cs.js} +30 -8
- package/dist/shared/@ai-setting/{roy-agent-core-vh0qzb24.js → roy-agent-core-as0dd70m.js} +36 -15
- package/dist/shared/@ai-setting/{roy-agent-core-w93z6a42.js → roy-agent-core-bpvz1dqr.js} +12 -12
- package/dist/shared/@ai-setting/{roy-agent-core-ck60j1q9.js → roy-agent-core-bxkjk7zx.js} +2 -1
- package/dist/shared/@ai-setting/{roy-agent-core-hs41gx9w.js → roy-agent-core-c4t4y18j.js} +5 -5
- package/dist/shared/@ai-setting/{roy-agent-core-t4x089js.js → roy-agent-core-c57278kx.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-em4hks9t.js → roy-agent-core-c8xvy6hj.js} +4 -4
- package/dist/shared/@ai-setting/{roy-agent-core-991pk4ss.js → roy-agent-core-cqpd41gf.js} +18 -16
- package/dist/shared/@ai-setting/{roy-agent-core-psg6f1v6.js → roy-agent-core-cxpgd415.js} +6 -6
- package/dist/shared/@ai-setting/{roy-agent-core-vgdhxbx3.js → roy-agent-core-dfqhc9ey.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-6bradb0j.js → roy-agent-core-fqandv0a.js} +9 -107
- package/dist/shared/@ai-setting/{roy-agent-core-en2xqxs9.js → roy-agent-core-fr296a53.js} +39 -14
- package/dist/shared/@ai-setting/{roy-agent-core-rcgvmtms.js → roy-agent-core-gc6wcd7z.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-7nb23tdd.js → roy-agent-core-gjsvehfs.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-0kn3zt1t.js → roy-agent-core-gtdtzbs7.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-84rs0c8d.js → roy-agent-core-gz2jnaan.js} +7 -7
- package/dist/shared/@ai-setting/{roy-agent-core-0yn7a78e.js → roy-agent-core-h3fwjbhp.js} +14 -14
- package/dist/shared/@ai-setting/{roy-agent-core-4096f575.js → roy-agent-core-hczj1ryh.js} +4 -4
- package/dist/shared/@ai-setting/{roy-agent-core-syyw58p9.js → roy-agent-core-hfyxv2kx.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-d75t8gea.js → roy-agent-core-hwkc0bg2.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-vath15kt.js → roy-agent-core-ja4sr63d.js} +6 -6
- package/dist/shared/@ai-setting/roy-agent-core-jagkferh.js +16 -0
- package/dist/shared/@ai-setting/roy-agent-core-jm136jzh.js +99 -0
- package/dist/shared/@ai-setting/{roy-agent-core-14bq77wr.js → roy-agent-core-jw63js86.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-89sxsrc7.js → roy-agent-core-kmvw6b4v.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-47s81t6g.js → roy-agent-core-kvq4a4p6.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-c36335nw.js → roy-agent-core-m3w3ytxt.js} +15 -3
- package/dist/shared/@ai-setting/{roy-agent-core-64f22h1g.js → roy-agent-core-m880qz3y.js} +7 -1
- package/dist/shared/@ai-setting/{roy-agent-core-2fk8c9ax.js → roy-agent-core-mbwaxqs0.js} +3 -3
- package/dist/shared/@ai-setting/{roy-agent-core-jjhw9am6.js → roy-agent-core-mkpsz128.js} +4 -4
- package/dist/shared/@ai-setting/{roy-agent-core-20m8je6e.js → roy-agent-core-mrrv80jy.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-6q5m1qk5.js → roy-agent-core-nmn853z0.js} +333 -1183
- package/dist/shared/@ai-setting/roy-agent-core-p37kh0kt.js +155 -0
- package/dist/shared/@ai-setting/{roy-agent-core-08njdcpj.js → roy-agent-core-p6a4v4fq.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-gksw1gjb.js → roy-agent-core-p8rf4z89.js} +1 -1
- package/dist/shared/@ai-setting/roy-agent-core-pnj0zh25.js +0 -0
- package/dist/shared/@ai-setting/{roy-agent-core-q4gdfypk.js → roy-agent-core-prnry2mw.js} +3 -3
- package/dist/shared/@ai-setting/{roy-agent-core-84xtww7d.js → roy-agent-core-qmqe8ds3.js} +3 -3
- package/dist/shared/@ai-setting/{roy-agent-core-txwptxk1.js → roy-agent-core-sj4y3wdm.js} +3 -3
- package/dist/shared/@ai-setting/{roy-agent-core-fbjd7bt6.js → roy-agent-core-th92f833.js} +64 -29
- package/dist/shared/@ai-setting/{roy-agent-core-yphwdm9x.js → roy-agent-core-v7mwj8eq.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-5f7myqnb.js → roy-agent-core-vvb4cyyy.js} +11 -5
- package/dist/shared/@ai-setting/{roy-agent-core-jjxdmedn.js → roy-agent-core-vwzan9v0.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-fw6k4w1h.js → roy-agent-core-w2ev3z5q.js} +12 -14
- package/dist/shared/@ai-setting/roy-agent-core-w2h6xt6k.js +473 -0
- package/dist/shared/@ai-setting/{roy-agent-core-n0p0hwgd.js → roy-agent-core-wzp4tbsn.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-ge87xbas.js → roy-agent-core-x1d6edkh.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-8bngppw0.js → roy-agent-core-ye4bfzqg.js} +13 -13
- package/dist/shared/@ai-setting/{roy-agent-core-geh6j7bw.js → roy-agent-core-zjgckbdd.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-hefarcp0.js → roy-agent-core-zy8vkbnk.js} +1 -1
- package/dist/test-utils/child-process-mock.js +23 -0
- package/dist/utils/temp-file-manager/index.js +2 -2
- package/package.json +76 -1
- /package/dist/shared/@ai-setting/{roy-agent-core-3ztzc83c.js → roy-agent-core-5enxfga2.js} +0 -0
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
AgentComponentAdapter,
|
|
9
9
|
init_agent_component_adapter
|
|
10
|
-
} from "./roy-agent-core-
|
|
10
|
+
} from "./roy-agent-core-sj4y3wdm.js";
|
|
11
11
|
import {
|
|
12
12
|
PythonCallNode,
|
|
13
13
|
SkillNode,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
init_skill_node,
|
|
18
18
|
init_tool_node,
|
|
19
19
|
init_workflow_node
|
|
20
|
-
} from "./roy-agent-core-
|
|
20
|
+
} from "./roy-agent-core-hwkc0bg2.js";
|
|
21
21
|
import {
|
|
22
22
|
WORKFLOW_SUBMIT_OUTPUT_TOOL_NAME,
|
|
23
23
|
init_json_schema_to_zod,
|
|
@@ -28,20 +28,20 @@ import {
|
|
|
28
28
|
} from "./roy-agent-core-1db4vpc6.js";
|
|
29
29
|
import {
|
|
30
30
|
init_hooks
|
|
31
|
-
} from "./roy-agent-core-
|
|
31
|
+
} from "./roy-agent-core-zy8vkbnk.js";
|
|
32
32
|
import {
|
|
33
33
|
WorkflowHookPoints,
|
|
34
34
|
emitWorkflowNodeHook,
|
|
35
35
|
emitWorkflowRunHook
|
|
36
|
-
} from "./roy-agent-core-
|
|
36
|
+
} from "./roy-agent-core-zjgckbdd.js";
|
|
37
37
|
import {
|
|
38
38
|
TemplateResolver,
|
|
39
39
|
init_template_resolver
|
|
40
|
-
} from "./roy-agent-core-
|
|
40
|
+
} from "./roy-agent-core-c57278kx.js";
|
|
41
41
|
import {
|
|
42
42
|
DAGManager,
|
|
43
43
|
init_dag_manager
|
|
44
|
-
} from "./roy-agent-core-
|
|
44
|
+
} from "./roy-agent-core-p6a4v4fq.js";
|
|
45
45
|
import {
|
|
46
46
|
WorkflowError,
|
|
47
47
|
createWorkflowEvent,
|
|
@@ -57,11 +57,11 @@ import {
|
|
|
57
57
|
import {
|
|
58
58
|
TracedAs,
|
|
59
59
|
init_decorator
|
|
60
|
-
} from "./roy-agent-core-
|
|
60
|
+
} from "./roy-agent-core-386wa4wy.js";
|
|
61
61
|
import {
|
|
62
62
|
createLogger,
|
|
63
63
|
init_logger
|
|
64
|
-
} from "./roy-agent-core-
|
|
64
|
+
} from "./roy-agent-core-6awgfh3x.js";
|
|
65
65
|
import {
|
|
66
66
|
__esm,
|
|
67
67
|
__export,
|
|
@@ -1830,7 +1830,7 @@ var init_engine = __esm(() => {
|
|
|
1830
1830
|
extractResumeInfo,
|
|
1831
1831
|
enrichResumeInfoWithAgentSessions,
|
|
1832
1832
|
enrichResumePointWithAgentSessions
|
|
1833
|
-
} = await import("./roy-agent-core-
|
|
1833
|
+
} = await import("./roy-agent-core-arx535cs.js");
|
|
1834
1834
|
const entry = workflowDef.entry;
|
|
1835
1835
|
const entryNode = Array.isArray(entry) ? entry[0] : entry;
|
|
1836
1836
|
const agentSessions = metadata.agentSessions ?? [];
|
|
@@ -1869,7 +1869,7 @@ var init_engine = __esm(() => {
|
|
|
1869
1869
|
persistedInput = rest;
|
|
1870
1870
|
}
|
|
1871
1871
|
}
|
|
1872
|
-
const { stripEphemeralResumeInput } = await import("./roy-agent-core-
|
|
1872
|
+
const { stripEphemeralResumeInput } = await import("./roy-agent-core-arx535cs.js");
|
|
1873
1873
|
const { workflowInput: runtimeInput } = stripEphemeralResumeInput(rawRuntimeInput);
|
|
1874
1874
|
const defaultsFromSchema = {};
|
|
1875
1875
|
if (definition.inputs) {
|
|
@@ -2219,7 +2219,7 @@ var init_engine = __esm(() => {
|
|
|
2219
2219
|
async scheduleAndExecute(sessionState, options) {
|
|
2220
2220
|
const { scheduler, executor, eventBus, abortController, nodeOutputs } = sessionState;
|
|
2221
2221
|
const { input: globalInput, pendingNodeId, agentSessionId, restoredOutputs } = options || {};
|
|
2222
|
-
const { stripEphemeralResumeInput } = await import("./roy-agent-core-
|
|
2222
|
+
const { stripEphemeralResumeInput } = await import("./roy-agent-core-arx535cs.js");
|
|
2223
2223
|
const { workflowInput: inputToPersist, userQuery: resumeUserQuery } = stripEphemeralResumeInput(globalInput);
|
|
2224
2224
|
if (inputToPersist) {
|
|
2225
2225
|
sessionState.config.workflowInput = {
|
|
@@ -2399,7 +2399,7 @@ var init_engine = __esm(() => {
|
|
|
2399
2399
|
if (!agentSessionId && this.sessionComponent) {
|
|
2400
2400
|
const session = await this.sessionComponent.get(sessionId);
|
|
2401
2401
|
const agentSessions = session?.metadata?.agentSessions;
|
|
2402
|
-
const { resolveAgentSessionId } = await import("./roy-agent-core-
|
|
2402
|
+
const { resolveAgentSessionId } = await import("./roy-agent-core-arx535cs.js");
|
|
2403
2403
|
agentSessionId = resolveAgentSessionId(nodeId, undefined, agentSessions);
|
|
2404
2404
|
}
|
|
2405
2405
|
await sessionState.executor.writeNodeResume(sessionId, nodeId, nodeDef.type, options?.userQuery ?? "", agentSessionId);
|
|
@@ -6,7 +6,8 @@ import {
|
|
|
6
6
|
var BUILT_IN_EVENT_SOURCE_TYPES = {
|
|
7
7
|
LARK_CLI: "lark-cli",
|
|
8
8
|
TIMER: "timer",
|
|
9
|
-
BOUNTY_IM: "bounty-im"
|
|
9
|
+
BOUNTY_IM: "bounty-im",
|
|
10
|
+
CLI_COMMAND: "cli-command"
|
|
10
11
|
};
|
|
11
12
|
var BUILT_IN_EVENT_SOURCE_TYPE_LIST = Object.values(BUILT_IN_EVENT_SOURCE_TYPES);
|
|
12
13
|
var defaultLarkCliRunner = {
|
|
@@ -3,21 +3,21 @@ import {
|
|
|
3
3
|
} from "./roy-agent-core-az13yzmc.js";
|
|
4
4
|
import {
|
|
5
5
|
BaseComponent
|
|
6
|
-
} from "./roy-agent-core-
|
|
6
|
+
} from "./roy-agent-core-gtdtzbs7.js";
|
|
7
7
|
import {
|
|
8
8
|
globalHookManager,
|
|
9
9
|
init_global_hook_manager
|
|
10
|
-
} from "./roy-agent-core-
|
|
10
|
+
} from "./roy-agent-core-v7mwj8eq.js";
|
|
11
11
|
import {
|
|
12
12
|
init_context
|
|
13
|
-
} from "./roy-agent-core-
|
|
13
|
+
} from "./roy-agent-core-33hn1beg.js";
|
|
14
14
|
import {
|
|
15
15
|
getEnvContextOrEmpty
|
|
16
|
-
} from "./roy-agent-core-
|
|
16
|
+
} from "./roy-agent-core-hfyxv2kx.js";
|
|
17
17
|
import {
|
|
18
18
|
createLogger,
|
|
19
19
|
init_logger
|
|
20
|
-
} from "./roy-agent-core-
|
|
20
|
+
} from "./roy-agent-core-6awgfh3x.js";
|
|
21
21
|
import {
|
|
22
22
|
__require
|
|
23
23
|
} from "./roy-agent-core-fs0mn2jk.js";
|
|
@@ -10,18 +10,18 @@ import {
|
|
|
10
10
|
} from "./roy-agent-core-7hh0brvs.js";
|
|
11
11
|
import {
|
|
12
12
|
BaseComponent
|
|
13
|
-
} from "./roy-agent-core-
|
|
13
|
+
} from "./roy-agent-core-gtdtzbs7.js";
|
|
14
14
|
import {
|
|
15
15
|
createHook
|
|
16
|
-
} from "./roy-agent-core-
|
|
16
|
+
} from "./roy-agent-core-7tce05jt.js";
|
|
17
17
|
import {
|
|
18
18
|
globalHookManager,
|
|
19
19
|
init_global_hook_manager
|
|
20
|
-
} from "./roy-agent-core-
|
|
20
|
+
} from "./roy-agent-core-v7mwj8eq.js";
|
|
21
21
|
import {
|
|
22
22
|
createLogger,
|
|
23
23
|
init_logger
|
|
24
|
-
} from "./roy-agent-core-
|
|
24
|
+
} from "./roy-agent-core-6awgfh3x.js";
|
|
25
25
|
|
|
26
26
|
// src/env/prompt/types.ts
|
|
27
27
|
import { z } from "zod";
|
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createQueryBackgroundProcessTool
|
|
3
3
|
} from "./roy-agent-core-amkqnyzy.js";
|
|
4
|
+
import {
|
|
5
|
+
createStopTool
|
|
6
|
+
} from "./roy-agent-core-jm136jzh.js";
|
|
7
|
+
import {
|
|
8
|
+
BackgroundTaskManager,
|
|
9
|
+
createDelegateTool
|
|
10
|
+
} from "./roy-agent-core-fqandv0a.js";
|
|
11
|
+
import {
|
|
12
|
+
TaskEntityEventTypes
|
|
13
|
+
} from "./roy-agent-core-8gxth0eh.js";
|
|
4
14
|
import {
|
|
5
15
|
batchArchiveTaskTool,
|
|
6
16
|
batchDeleteTaskTool,
|
|
@@ -12,7 +22,7 @@ import {
|
|
|
12
22
|
searchTasksTool,
|
|
13
23
|
treeTasksTool,
|
|
14
24
|
updateTaskTool
|
|
15
|
-
} from "./roy-agent-core-
|
|
25
|
+
} from "./roy-agent-core-as0dd70m.js";
|
|
16
26
|
import {
|
|
17
27
|
createOperationTool,
|
|
18
28
|
deleteOperationTool,
|
|
@@ -20,18 +30,10 @@ import {
|
|
|
20
30
|
listOperationsTool,
|
|
21
31
|
updateOperationTool
|
|
22
32
|
} from "./roy-agent-core-rn57psp0.js";
|
|
23
|
-
import {
|
|
24
|
-
TaskEntityEventTypes
|
|
25
|
-
} from "./roy-agent-core-8gxth0eh.js";
|
|
26
|
-
import {
|
|
27
|
-
BackgroundTaskManager,
|
|
28
|
-
createDelegateTool,
|
|
29
|
-
createStopTool
|
|
30
|
-
} from "./roy-agent-core-6bradb0j.js";
|
|
31
33
|
import {
|
|
32
34
|
SQLiteTaskStore,
|
|
33
35
|
getDefaultTaskDbPath
|
|
34
|
-
} from "./roy-agent-core-
|
|
36
|
+
} from "./roy-agent-core-th92f833.js";
|
|
35
37
|
import {
|
|
36
38
|
TaskHookPoints
|
|
37
39
|
} from "./roy-agent-core-1pg0fepg.js";
|
|
@@ -40,23 +42,23 @@ import {
|
|
|
40
42
|
} from "./roy-agent-core-7hh0brvs.js";
|
|
41
43
|
import {
|
|
42
44
|
BaseComponent
|
|
43
|
-
} from "./roy-agent-core-
|
|
45
|
+
} from "./roy-agent-core-gtdtzbs7.js";
|
|
44
46
|
import {
|
|
45
47
|
globalHookManager,
|
|
46
48
|
init_global_hook_manager
|
|
47
|
-
} from "./roy-agent-core-
|
|
49
|
+
} from "./roy-agent-core-v7mwj8eq.js";
|
|
48
50
|
import {
|
|
49
51
|
getEnvContextOrEmpty,
|
|
50
52
|
init_env_context
|
|
51
|
-
} from "./roy-agent-core-
|
|
53
|
+
} from "./roy-agent-core-hfyxv2kx.js";
|
|
52
54
|
import {
|
|
53
55
|
TracedAs,
|
|
54
56
|
init_decorator
|
|
55
|
-
} from "./roy-agent-core-
|
|
57
|
+
} from "./roy-agent-core-386wa4wy.js";
|
|
56
58
|
import {
|
|
57
59
|
createLogger,
|
|
58
60
|
init_logger
|
|
59
|
-
} from "./roy-agent-core-
|
|
61
|
+
} from "./roy-agent-core-6awgfh3x.js";
|
|
60
62
|
import {
|
|
61
63
|
__legacyDecorateClassTS
|
|
62
64
|
} from "./roy-agent-core-fs0mn2jk.js";
|
|
@@ -440,7 +442,7 @@ class TaskComponent extends BaseComponent {
|
|
|
440
442
|
if (!task)
|
|
441
443
|
return;
|
|
442
444
|
const operations = await this.store.listOperations({ taskId: id });
|
|
443
|
-
return { task, operations };
|
|
445
|
+
return { ...task, operations, task };
|
|
444
446
|
}
|
|
445
447
|
async updateTask(id, options) {
|
|
446
448
|
const updateCtx = {
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
LarkCardPatchNotifier,
|
|
3
3
|
formatDurationMs
|
|
4
|
-
} from "./roy-agent-core-
|
|
4
|
+
} from "./roy-agent-core-m3w3ytxt.js";
|
|
5
5
|
import {
|
|
6
6
|
WorkflowHookPoints,
|
|
7
7
|
init_workflow_hook_points
|
|
8
|
-
} from "./roy-agent-core-
|
|
8
|
+
} from "./roy-agent-core-zjgckbdd.js";
|
|
9
9
|
import {
|
|
10
10
|
init_context
|
|
11
|
-
} from "./roy-agent-core-
|
|
11
|
+
} from "./roy-agent-core-33hn1beg.js";
|
|
12
12
|
import {
|
|
13
13
|
getEnvContextOrEmpty
|
|
14
|
-
} from "./roy-agent-core-
|
|
14
|
+
} from "./roy-agent-core-hfyxv2kx.js";
|
|
15
15
|
import {
|
|
16
16
|
TracedAs,
|
|
17
17
|
init_decorator
|
|
18
|
-
} from "./roy-agent-core-
|
|
18
|
+
} from "./roy-agent-core-386wa4wy.js";
|
|
19
19
|
import {
|
|
20
20
|
createLogger,
|
|
21
21
|
init_logger
|
|
22
|
-
} from "./roy-agent-core-
|
|
22
|
+
} from "./roy-agent-core-6awgfh3x.js";
|
|
23
23
|
import {
|
|
24
24
|
__legacyDecorateClassTS
|
|
25
25
|
} from "./roy-agent-core-fs0mn2jk.js";
|
|
@@ -9,11 +9,11 @@ import {
|
|
|
9
9
|
import {
|
|
10
10
|
TracedAs,
|
|
11
11
|
init_decorator
|
|
12
|
-
} from "./roy-agent-core-
|
|
12
|
+
} from "./roy-agent-core-386wa4wy.js";
|
|
13
13
|
import {
|
|
14
14
|
createLogger,
|
|
15
15
|
init_logger
|
|
16
|
-
} from "./roy-agent-core-
|
|
16
|
+
} from "./roy-agent-core-6awgfh3x.js";
|
|
17
17
|
import {
|
|
18
18
|
__esm,
|
|
19
19
|
__export,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ProcessRegistry,
|
|
3
3
|
runWithProcessRegistryAsync
|
|
4
|
-
} from "./roy-agent-core-
|
|
4
|
+
} from "./roy-agent-core-jw63js86.js";
|
|
5
5
|
import {
|
|
6
6
|
getSharedEventStore
|
|
7
|
-
} from "./roy-agent-core-
|
|
7
|
+
} from "./roy-agent-core-a08dpf71.js";
|
|
8
8
|
import {
|
|
9
9
|
TaskHookPoints
|
|
10
10
|
} from "./roy-agent-core-1pg0fepg.js";
|
|
@@ -13,30 +13,30 @@ import {
|
|
|
13
13
|
} from "./roy-agent-core-6masakz4.js";
|
|
14
14
|
import {
|
|
15
15
|
DEFAULT_SUBAGENT_PROMPT
|
|
16
|
-
} from "./roy-agent-core-
|
|
16
|
+
} from "./roy-agent-core-06jakebr.js";
|
|
17
17
|
import {
|
|
18
18
|
runWithBgTaskIdAsync
|
|
19
19
|
} from "./roy-agent-core-c1v263jn.js";
|
|
20
20
|
import {
|
|
21
21
|
globalHookManager,
|
|
22
22
|
init_global_hook_manager
|
|
23
|
-
} from "./roy-agent-core-
|
|
23
|
+
} from "./roy-agent-core-v7mwj8eq.js";
|
|
24
24
|
import {
|
|
25
25
|
init_context
|
|
26
|
-
} from "./roy-agent-core-
|
|
26
|
+
} from "./roy-agent-core-33hn1beg.js";
|
|
27
27
|
import {
|
|
28
28
|
getCurrentTaskId,
|
|
29
29
|
getEnvContext
|
|
30
|
-
} from "./roy-agent-core-
|
|
30
|
+
} from "./roy-agent-core-hfyxv2kx.js";
|
|
31
31
|
import {
|
|
32
32
|
TracedAs,
|
|
33
33
|
init_decorator,
|
|
34
34
|
wrapFunction
|
|
35
|
-
} from "./roy-agent-core-
|
|
35
|
+
} from "./roy-agent-core-386wa4wy.js";
|
|
36
36
|
import {
|
|
37
37
|
createLogger,
|
|
38
38
|
init_logger
|
|
39
|
-
} from "./roy-agent-core-
|
|
39
|
+
} from "./roy-agent-core-6awgfh3x.js";
|
|
40
40
|
import {
|
|
41
41
|
__legacyDecorateClassTS
|
|
42
42
|
} from "./roy-agent-core-fs0mn2jk.js";
|
|
@@ -2107,102 +2107,4 @@ async function handleBackgroundTask(backgroundTaskManager, parentSessionId, desc
|
|
|
2107
2107
|
};
|
|
2108
2108
|
}
|
|
2109
2109
|
}
|
|
2110
|
-
|
|
2111
|
-
import { z as z2 } from "zod";
|
|
2112
|
-
var StopTaskToolParameters = z2.object({
|
|
2113
|
-
task_id: z2.string().describe("The ID of the background task to stop")
|
|
2114
|
-
});
|
|
2115
|
-
var STOP_TASK_DESCRIPTION = `Stop a running background task.
|
|
2116
|
-
|
|
2117
|
-
Use this tool to stop a background task that is currently running. This is useful when:
|
|
2118
|
-
- The user wants to cancel a long-running task
|
|
2119
|
-
- The task is taking too long and needs to be stopped
|
|
2120
|
-
- The user wants to change direction and doesn't need the task result anymore
|
|
2121
|
-
|
|
2122
|
-
When stopped, the task will be terminated immediately and you will receive a confirmation.
|
|
2123
|
-
|
|
2124
|
-
Parameters:
|
|
2125
|
-
- task_id: The ID of the background task to stop (obtained from the delegate_task response)`;
|
|
2126
|
-
function formatDuration(ms) {
|
|
2127
|
-
const seconds = Math.floor(ms / 1000);
|
|
2128
|
-
const minutes = Math.floor(seconds / 60);
|
|
2129
|
-
const hours = Math.floor(minutes / 60);
|
|
2130
|
-
if (hours > 0) {
|
|
2131
|
-
return `${hours}h ${minutes % 60}m ${seconds % 60}s`;
|
|
2132
|
-
} else if (minutes > 0) {
|
|
2133
|
-
return `${minutes}m ${seconds % 60}s`;
|
|
2134
|
-
} else {
|
|
2135
|
-
return `${seconds}s`;
|
|
2136
|
-
}
|
|
2137
|
-
}
|
|
2138
|
-
function createStopTool(taskManager) {
|
|
2139
|
-
return {
|
|
2140
|
-
name: "stop_task",
|
|
2141
|
-
description: STOP_TASK_DESCRIPTION,
|
|
2142
|
-
parameters: StopTaskToolParameters,
|
|
2143
|
-
execute: async (args, ctx) => {
|
|
2144
|
-
const startTime = Date.now();
|
|
2145
|
-
const params = StopTaskToolParameters.parse(args);
|
|
2146
|
-
const { task_id } = params;
|
|
2147
|
-
const result = await taskManager.stopTask(task_id);
|
|
2148
|
-
if (result.success) {
|
|
2149
|
-
const task = result.task;
|
|
2150
|
-
const elapsedMs = task.startedAt ? Date.now() - task.startedAt : Date.now() - task.createdAt;
|
|
2151
|
-
const output = [
|
|
2152
|
-
`✅ Task stopped successfully`,
|
|
2153
|
-
"",
|
|
2154
|
-
`\uD83D\uDCCB Task ID: ${task_id}`,
|
|
2155
|
-
`\uD83D\uDCDD Description: ${task.description}`,
|
|
2156
|
-
`\uD83D\uDD04 Status: ${task.status} → stopped`,
|
|
2157
|
-
`⏱️ Elapsed Time: ${formatDuration(elapsedMs)}`,
|
|
2158
|
-
"",
|
|
2159
|
-
result.message
|
|
2160
|
-
].join(`
|
|
2161
|
-
`);
|
|
2162
|
-
return {
|
|
2163
|
-
success: true,
|
|
2164
|
-
output,
|
|
2165
|
-
metadata: {
|
|
2166
|
-
execution_time_ms: Date.now() - startTime,
|
|
2167
|
-
task_id,
|
|
2168
|
-
previous_status: task.status
|
|
2169
|
-
}
|
|
2170
|
-
};
|
|
2171
|
-
} else {
|
|
2172
|
-
const task = result.task;
|
|
2173
|
-
let output;
|
|
2174
|
-
if (task) {
|
|
2175
|
-
output = [
|
|
2176
|
-
`⚠️ Cannot stop task`,
|
|
2177
|
-
"",
|
|
2178
|
-
`\uD83D\uDCCB Task ID: ${task_id}`,
|
|
2179
|
-
`\uD83D\uDCDD Description: ${task.description}`,
|
|
2180
|
-
`\uD83D\uDD04 Current Status: ${task.status}`,
|
|
2181
|
-
"",
|
|
2182
|
-
result.message
|
|
2183
|
-
].join(`
|
|
2184
|
-
`);
|
|
2185
|
-
} else {
|
|
2186
|
-
output = [
|
|
2187
|
-
`❌ Task not found`,
|
|
2188
|
-
"",
|
|
2189
|
-
`\uD83D\uDCCB Task ID: ${task_id}`,
|
|
2190
|
-
"",
|
|
2191
|
-
result.message
|
|
2192
|
-
].join(`
|
|
2193
|
-
`);
|
|
2194
|
-
}
|
|
2195
|
-
return {
|
|
2196
|
-
success: false,
|
|
2197
|
-
output,
|
|
2198
|
-
error: result.message,
|
|
2199
|
-
metadata: {
|
|
2200
|
-
execution_time_ms: Date.now() - startTime,
|
|
2201
|
-
task_id
|
|
2202
|
-
}
|
|
2203
|
-
};
|
|
2204
|
-
}
|
|
2205
|
-
}
|
|
2206
|
-
};
|
|
2207
|
-
}
|
|
2208
|
-
export { BackgroundTaskEventTypes, BackgroundTaskManager, createDelegateTool, createStopTool };
|
|
2110
|
+
export { BackgroundTaskEventTypes, builtInSubAgents, getSubAgentSpec, DelegateToolParameters, buildEntryAgentPrompt, WORKFLOW_COMPAT_ALIASES, DEFAULT_TIMEOUT, BackgroundTaskManager, createDelegateTool, deriveTriggerEventIdFromEnvContext, captureReplyChannelSnapshot, handleBackgroundTask };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isValidSessionId
|
|
3
|
-
} from "./roy-agent-core-
|
|
3
|
+
} from "./roy-agent-core-48h4zh60.js";
|
|
4
4
|
import {
|
|
5
5
|
TAG_MAX_COUNT,
|
|
6
6
|
TAG_MIN_COUNT
|
|
7
|
-
} from "./roy-agent-core-
|
|
7
|
+
} from "./roy-agent-core-6wxww10t.js";
|
|
8
8
|
import {
|
|
9
9
|
validateWorkflowDefinition
|
|
10
|
-
} from "./roy-agent-core-
|
|
10
|
+
} from "./roy-agent-core-kmvw6b4v.js";
|
|
11
11
|
import {
|
|
12
12
|
getCurrentBgTaskId
|
|
13
13
|
} from "./roy-agent-core-c1v263jn.js";
|
|
@@ -18,11 +18,11 @@ import {
|
|
|
18
18
|
import {
|
|
19
19
|
TracedAs,
|
|
20
20
|
init_decorator
|
|
21
|
-
} from "./roy-agent-core-
|
|
21
|
+
} from "./roy-agent-core-386wa4wy.js";
|
|
22
22
|
import {
|
|
23
23
|
createLogger,
|
|
24
24
|
init_logger
|
|
25
|
-
} from "./roy-agent-core-
|
|
25
|
+
} from "./roy-agent-core-6awgfh3x.js";
|
|
26
26
|
import {
|
|
27
27
|
__legacyDecorateClassTS,
|
|
28
28
|
__require
|
|
@@ -847,7 +847,7 @@ function extractStackSummary(message) {
|
|
|
847
847
|
var RunWorkflowInputSchema = z8.object({
|
|
848
848
|
workflow_name: z8.string().describe("Name of the workflow to run"),
|
|
849
849
|
input: z8.record(z8.any()).optional().describe("Input to pass to the workflow"),
|
|
850
|
-
timeout: z8.number().positive().optional().describe("Timeout in milliseconds
|
|
850
|
+
timeout: z8.number().positive().optional().describe("Timeout in milliseconds. When omitted, derived from the workflow definition's config.timeout; falls back to 1800000 (30 min) if the definition declares none."),
|
|
851
851
|
node_config: z8.record(z8.string(), z8.record(z8.string(), z8.any())).optional().describe("Per-node runtime config overrides keyed by node id (Task #1974). " + "Shallow-merged into each node's effective config; input wins over nodeDef.config."),
|
|
852
852
|
session: z8.string().regex(/^workflow_/, { message: "session must start with 'workflow_'" }).optional().describe("Existing session ID (workflow_xxx) to resume from. Mutually exclusive with fresh `input` runs.")
|
|
853
853
|
}).strict();
|
|
@@ -909,10 +909,31 @@ __legacyDecorateClassTS([
|
|
|
909
909
|
recordResult: false
|
|
910
910
|
})
|
|
911
911
|
], RunWorkflowLifecycleTracer.prototype, "execute", null);
|
|
912
|
+
var DEFAULT_WORKFLOW_RUN_TIMEOUT_MS = 1800000;
|
|
913
|
+
function resolveEffectiveTimeout(workflowService, workflowName, explicitTimeout) {
|
|
914
|
+
if (isPositiveFinite(explicitTimeout)) {
|
|
915
|
+
return explicitTimeout;
|
|
916
|
+
}
|
|
917
|
+
if (workflowName) {
|
|
918
|
+
try {
|
|
919
|
+
const workflow = workflowService?.getWorkflow?.(workflowName) ?? workflowService?.getWorkflowByName?.(workflowName);
|
|
920
|
+
const declared = workflow?.definition?.config?.timeout;
|
|
921
|
+
if (isPositiveFinite(declared)) {
|
|
922
|
+
return declared;
|
|
923
|
+
}
|
|
924
|
+
} catch (err) {
|
|
925
|
+
logger7.warn(`workflow_run: could not resolve definition for ${workflowName}; ` + `falling back to the default run budget`, { error: err instanceof Error ? err.message : String(err) });
|
|
926
|
+
}
|
|
927
|
+
}
|
|
928
|
+
return DEFAULT_WORKFLOW_RUN_TIMEOUT_MS;
|
|
929
|
+
}
|
|
930
|
+
function isPositiveFinite(v) {
|
|
931
|
+
return typeof v === "number" && Number.isFinite(v) && v > 0;
|
|
932
|
+
}
|
|
912
933
|
function createRunWorkflowTool(workflowService, hooks) {
|
|
913
934
|
const tool = {
|
|
914
935
|
name: "workflow_run",
|
|
915
|
-
description: "Run a workflow by name with optional input, OR resume an existing workflow run via the `session` field (the runId itself acts as session ID, both have `workflow_` prefix natively — pass the workflow run's runId directly). Returns run_id (== session_id, ALWAYS populated — even on timeout/abort/error paths), status, output, error, and duration_ms.
|
|
936
|
+
description: "Run a workflow by name with optional input, OR resume an existing workflow run via the `session` field (the runId itself acts as session ID, both have `workflow_` prefix natively — pass the workflow run's runId directly). Returns run_id (== session_id, ALWAYS populated — even on timeout/abort/error paths), status, output, error, and duration_ms. When `timeout` is omitted the run budget is derived from the workflow definition's `config.timeout`, falling back to 30 minutes (1800000 ms) only when the definition declares none.",
|
|
916
937
|
parameters: RunWorkflowInputSchema,
|
|
917
938
|
sandbox: {
|
|
918
939
|
enabled: false
|
|
@@ -928,10 +949,12 @@ function createRunWorkflowTool(workflowService, hooks) {
|
|
|
928
949
|
},
|
|
929
950
|
execute: async (args, ctx) => {
|
|
930
951
|
const startTime = Date.now();
|
|
931
|
-
const { workflow_name, input, session, timeout
|
|
952
|
+
const { workflow_name, input, session, timeout, node_config } = args;
|
|
953
|
+
const effectiveTimeout = resolveEffectiveTimeout(workflowService, workflow_name, timeout);
|
|
932
954
|
logger7.info(`Running workflow: ${workflow_name}`, {
|
|
933
955
|
input,
|
|
934
|
-
timeout,
|
|
956
|
+
timeout: effectiveTimeout,
|
|
957
|
+
timeoutSource: timeout ? "caller" : "definition-or-default",
|
|
935
958
|
...session ? { resumeSession: session } : {}
|
|
936
959
|
});
|
|
937
960
|
const ctxSessionId = typeof ctx?.session_id === "string" && isValidSessionId(ctx.session_id) ? ctx.session_id : undefined;
|
|
@@ -968,7 +991,7 @@ function createRunWorkflowTool(workflowService, hooks) {
|
|
|
968
991
|
...session ? {} : { runId: reservedRunId },
|
|
969
992
|
onSessionCreated,
|
|
970
993
|
...node_config ? { nodeConfig: node_config } : {},
|
|
971
|
-
|
|
994
|
+
timeout: effectiveTimeout
|
|
972
995
|
};
|
|
973
996
|
const executeCall = async () => {
|
|
974
997
|
if (session) {
|
|
@@ -979,7 +1002,7 @@ function createRunWorkflowTool(workflowService, hooks) {
|
|
|
979
1002
|
}
|
|
980
1003
|
return workflowService.runWorkflow(workflow_name, input, baseOptions);
|
|
981
1004
|
};
|
|
982
|
-
if (
|
|
1005
|
+
if (effectiveTimeout) {
|
|
983
1006
|
result = await Promise.race([
|
|
984
1007
|
executeCall(),
|
|
985
1008
|
new Promise((_, reject) => {
|
|
@@ -987,7 +1010,7 @@ function createRunWorkflowTool(workflowService, hooks) {
|
|
|
987
1010
|
timedOut = true;
|
|
988
1011
|
attemptStopOnTimeout(workflowService, capturedRunId ?? reservedRunId, "timed out");
|
|
989
1012
|
reject(new Error("Workflow execution timed out"));
|
|
990
|
-
},
|
|
1013
|
+
}, effectiveTimeout);
|
|
991
1014
|
})
|
|
992
1015
|
]);
|
|
993
1016
|
} else {
|
|
@@ -1025,7 +1048,8 @@ function createRunWorkflowTool(workflowService, hooks) {
|
|
|
1025
1048
|
error: `${resolvedErrorMessage} ${resolvedErrorClassification} (runId: ${finalRunId})`,
|
|
1026
1049
|
metadata: {
|
|
1027
1050
|
execution_time_ms: durationMs,
|
|
1028
|
-
run_id: finalRunId
|
|
1051
|
+
run_id: finalRunId,
|
|
1052
|
+
timeout_ms: effectiveTimeout
|
|
1029
1053
|
}
|
|
1030
1054
|
};
|
|
1031
1055
|
}
|
|
@@ -1043,7 +1067,8 @@ function createRunWorkflowTool(workflowService, hooks) {
|
|
|
1043
1067
|
},
|
|
1044
1068
|
metadata: {
|
|
1045
1069
|
execution_time_ms: durationMs,
|
|
1046
|
-
run_id: finalRunId
|
|
1070
|
+
run_id: finalRunId,
|
|
1071
|
+
timeout_ms: effectiveTimeout
|
|
1047
1072
|
}
|
|
1048
1073
|
};
|
|
1049
1074
|
} catch (error) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createHook,
|
|
3
3
|
init_hook
|
|
4
|
-
} from "./roy-agent-core-
|
|
4
|
+
} from "./roy-agent-core-7tce05jt.js";
|
|
5
5
|
import {
|
|
6
6
|
HookManager
|
|
7
|
-
} from "./roy-agent-core-
|
|
7
|
+
} from "./roy-agent-core-v7mwj8eq.js";
|
|
8
8
|
|
|
9
9
|
// src/env/component.ts
|
|
10
10
|
init_hook();
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createAutoTaskPlugin
|
|
3
|
-
} from "./roy-agent-core-
|
|
3
|
+
} from "./roy-agent-core-ye4bfzqg.js";
|
|
4
4
|
import {
|
|
5
5
|
ContextError,
|
|
6
6
|
ErrorCodes
|
|
7
7
|
} from "./roy-agent-core-ctdhjv68.js";
|
|
8
8
|
import {
|
|
9
9
|
BaseComponent
|
|
10
|
-
} from "./roy-agent-core-
|
|
10
|
+
} from "./roy-agent-core-gtdtzbs7.js";
|
|
11
11
|
import {
|
|
12
12
|
init_hook
|
|
13
|
-
} from "./roy-agent-core-
|
|
13
|
+
} from "./roy-agent-core-7tce05jt.js";
|
|
14
14
|
import {
|
|
15
15
|
init_context
|
|
16
|
-
} from "./roy-agent-core-
|
|
16
|
+
} from "./roy-agent-core-33hn1beg.js";
|
|
17
17
|
import {
|
|
18
18
|
getEnvContext,
|
|
19
19
|
init_env_context,
|
|
20
20
|
runWithEnvContextAsync
|
|
21
|
-
} from "./roy-agent-core-
|
|
21
|
+
} from "./roy-agent-core-hfyxv2kx.js";
|
|
22
22
|
import {
|
|
23
23
|
TracedAs,
|
|
24
24
|
envQueryParamFilter,
|
|
25
25
|
init_decorator,
|
|
26
26
|
init_trace_filters
|
|
27
|
-
} from "./roy-agent-core-
|
|
27
|
+
} from "./roy-agent-core-386wa4wy.js";
|
|
28
28
|
import {
|
|
29
29
|
createLogger,
|
|
30
30
|
init_logger
|
|
31
|
-
} from "./roy-agent-core-
|
|
31
|
+
} from "./roy-agent-core-6awgfh3x.js";
|
|
32
32
|
import {
|
|
33
33
|
__legacyDecorateClassTS
|
|
34
34
|
} from "./roy-agent-core-fs0mn2jk.js";
|