@ai-setting/roy-agent-core 1.5.90 → 1.5.92

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.
Files changed (89) hide show
  1. package/dist/config/index.js +8 -8
  2. package/dist/env/agent/index.js +15 -14
  3. package/dist/env/commands/index.js +8 -8
  4. package/dist/env/context/index.js +4 -4
  5. package/dist/env/debug/index.js +8 -8
  6. package/dist/env/event-source/index.js +12 -12
  7. package/dist/env/hook/index.js +6 -6
  8. package/dist/env/index.js +35 -34
  9. package/dist/env/llm/index.js +10 -10
  10. package/dist/env/log-trace/index.js +8 -8
  11. package/dist/env/mcp/index.js +9 -9
  12. package/dist/env/mcp/tool/index.js +2 -2
  13. package/dist/env/memory/index.js +9 -9
  14. package/dist/env/memory/plugin/index.js +2 -2
  15. package/dist/env/plugin/index.js +8 -8
  16. package/dist/env/prompt/index.js +9 -9
  17. package/dist/env/session/index.js +11 -11
  18. package/dist/env/session/storage/index.js +4 -4
  19. package/dist/env/skill/index.js +8 -8
  20. package/dist/env/task/delegate/index.js +7 -7
  21. package/dist/env/task/index.js +12 -12
  22. package/dist/env/task/plugins/index.js +7 -7
  23. package/dist/env/task/storage/index.js +2 -2
  24. package/dist/env/task/tools/index.js +4 -4
  25. package/dist/env/tool/built-in/index.js +3 -3
  26. package/dist/env/tool/index.js +11 -10
  27. package/dist/env/workflow/engine/index.js +9 -9
  28. package/dist/env/workflow/index.js +15 -15
  29. package/dist/env/workflow/nodes/index.js +3 -3
  30. package/dist/env/workflow/service/index.js +3 -3
  31. package/dist/env/workflow/storage/index.js +4 -4
  32. package/dist/env/workflow/tools/index.js +4 -4
  33. package/dist/env/workflow/utils/index.js +3 -3
  34. package/dist/index.js +48 -47
  35. package/dist/shared/@ai-setting/{roy-agent-core-2c8eraxq.js → roy-agent-core-0ger6zdn.js} +4 -4
  36. package/dist/shared/@ai-setting/{roy-agent-core-bwjpte58.js → roy-agent-core-0vsnecwa.js} +6 -6
  37. package/dist/shared/@ai-setting/{roy-agent-core-h5867smx.js → roy-agent-core-0ye4q2jj.js} +2 -2
  38. package/dist/shared/@ai-setting/{roy-agent-core-prdngx28.js → roy-agent-core-33rhv946.js} +43 -7
  39. package/dist/shared/@ai-setting/{roy-agent-core-djtkntar.js → roy-agent-core-4w6rgxs4.js} +1 -1
  40. package/dist/shared/@ai-setting/{roy-agent-core-3952rkj0.js → roy-agent-core-578qk38y.js} +2 -2
  41. package/dist/shared/@ai-setting/roy-agent-core-5h49ct1a.js +135 -0
  42. package/dist/shared/@ai-setting/{roy-agent-core-m683wd1n.js → roy-agent-core-5j649pb1.js} +7 -7
  43. package/dist/shared/@ai-setting/{roy-agent-core-2h38rvyj.js → roy-agent-core-634ee5jb.js} +2 -2
  44. package/dist/shared/@ai-setting/{roy-agent-core-w6bmrgap.js → roy-agent-core-7svhckhz.js} +5 -5
  45. package/dist/shared/@ai-setting/{roy-agent-core-ce10b0ez.js → roy-agent-core-8x4ngxcy.js} +1 -1
  46. package/dist/shared/@ai-setting/{roy-agent-core-83d035pp.js → roy-agent-core-97tjdb2r.js} +70 -1
  47. package/dist/shared/@ai-setting/{roy-agent-core-pcdzfwdv.js → roy-agent-core-9xby523m.js} +1 -1
  48. package/dist/shared/@ai-setting/{roy-agent-core-mw4ty0ba.js → roy-agent-core-at05dk0z.js} +6 -6
  49. package/dist/shared/@ai-setting/{roy-agent-core-ewr1nw7t.js → roy-agent-core-b1vkkcbr.js} +7 -7
  50. package/dist/shared/@ai-setting/{roy-agent-core-n19rm7tw.js → roy-agent-core-b2thb9xj.js} +1 -1
  51. package/dist/shared/@ai-setting/{roy-agent-core-3sv590cv.js → roy-agent-core-b77yz0wt.js} +1 -1
  52. package/dist/shared/@ai-setting/{roy-agent-core-yanpq5gb.js → roy-agent-core-bdajt9cs.js} +2 -2
  53. package/dist/shared/@ai-setting/{roy-agent-core-3czy06aq.js → roy-agent-core-bqwj1dq0.js} +3 -3
  54. package/dist/shared/@ai-setting/{roy-agent-core-k05v31rc.js → roy-agent-core-cg146hmg.js} +1 -1
  55. package/dist/shared/@ai-setting/{roy-agent-core-07290s9n.js → roy-agent-core-cx67bv9d.js} +2 -2
  56. package/dist/shared/@ai-setting/{roy-agent-core-taxvytzz.js → roy-agent-core-cx9p8b2t.js} +4 -4
  57. package/dist/shared/@ai-setting/{roy-agent-core-d6597yp0.js → roy-agent-core-ddghwfmk.js} +3 -3
  58. package/dist/shared/@ai-setting/{roy-agent-core-tq9528d3.js → roy-agent-core-e7t3rj0e.js} +1 -1
  59. package/dist/shared/@ai-setting/{roy-agent-core-5ykms33a.js → roy-agent-core-fg5eaht3.js} +5 -5
  60. package/dist/shared/@ai-setting/{roy-agent-core-zky9jse4.js → roy-agent-core-fx1fdzbz.js} +2 -2
  61. package/dist/shared/@ai-setting/{roy-agent-core-z240ts1r.js → roy-agent-core-g2mth323.js} +1 -1
  62. package/dist/shared/@ai-setting/{roy-agent-core-7tp56w6n.js → roy-agent-core-gp872e7m.js} +2 -2
  63. package/dist/shared/@ai-setting/{roy-agent-core-c67wr8sp.js → roy-agent-core-hf8pqrvy.js} +3 -3
  64. package/dist/shared/@ai-setting/{roy-agent-core-32m0nb9j.js → roy-agent-core-j3qb695p.js} +3 -3
  65. package/dist/shared/@ai-setting/{roy-agent-core-0r4ndyn9.js → roy-agent-core-j7jeqxhd.js} +2 -2
  66. package/dist/shared/@ai-setting/{roy-agent-core-h4h55x4h.js → roy-agent-core-jexyz11d.js} +2 -2
  67. package/dist/shared/@ai-setting/{roy-agent-core-b8r4tfqq.js → roy-agent-core-ksx9a556.js} +1 -1
  68. package/dist/shared/@ai-setting/{roy-agent-core-8zjntsbb.js → roy-agent-core-mw9a595w.js} +11 -11
  69. package/dist/shared/@ai-setting/{roy-agent-core-rgckng3p.js → roy-agent-core-pf1c360e.js} +2 -2
  70. package/dist/shared/@ai-setting/{roy-agent-core-hxsbegfc.js → roy-agent-core-ptb4pkva.js} +16 -144
  71. package/dist/shared/@ai-setting/{roy-agent-core-xckhrs2p.js → roy-agent-core-q7ffkt1e.js} +6 -6
  72. package/dist/shared/@ai-setting/{roy-agent-core-gb9gbkc3.js → roy-agent-core-q88vxmx5.js} +1 -1
  73. package/dist/shared/@ai-setting/{roy-agent-core-y5d04fm3.js → roy-agent-core-scp0afxg.js} +2 -2
  74. package/dist/shared/@ai-setting/{roy-agent-core-j0107ww1.js → roy-agent-core-snvsn60t.js} +5 -5
  75. package/dist/shared/@ai-setting/{roy-agent-core-xnxyzaw4.js → roy-agent-core-spzb03na.js} +1 -1
  76. package/dist/shared/@ai-setting/{roy-agent-core-86d4exyf.js → roy-agent-core-sssn8kt9.js} +4 -4
  77. package/dist/shared/@ai-setting/{roy-agent-core-w0kb72ve.js → roy-agent-core-svcr4gjw.js} +7 -7
  78. package/dist/shared/@ai-setting/{roy-agent-core-nqzt9ne4.js → roy-agent-core-vady4w02.js} +2 -2
  79. package/dist/shared/@ai-setting/{roy-agent-core-rkz8r2sx.js → roy-agent-core-vh8ncnzm.js} +14 -14
  80. package/dist/shared/@ai-setting/{roy-agent-core-shme7set.js → roy-agent-core-vyygk314.js} +2 -2
  81. package/dist/shared/@ai-setting/{roy-agent-core-5kdw0p98.js → roy-agent-core-w1s8yrm5.js} +3 -3
  82. package/dist/shared/@ai-setting/{roy-agent-core-v8xa6vs8.js → roy-agent-core-wmkx79b1.js} +14 -12
  83. package/dist/shared/@ai-setting/{roy-agent-core-t1ef8hf2.js → roy-agent-core-ws76avbn.js} +3 -3
  84. package/dist/shared/@ai-setting/{roy-agent-core-xhcgg11h.js → roy-agent-core-wtbyj0q1.js} +1 -1
  85. package/dist/shared/@ai-setting/{roy-agent-core-fjexv5nm.js → roy-agent-core-xgnpr28w.js} +2 -2
  86. package/dist/shared/@ai-setting/{roy-agent-core-txwf64pd.js → roy-agent-core-yfhgxh5a.js} +1 -1
  87. package/dist/shared/@ai-setting/{roy-agent-core-qg4rma4c.js → roy-agent-core-zttjq1h3.js} +1 -1
  88. package/dist/utils/temp-file-manager/index.js +10 -0
  89. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  createLogger,
3
3
  init_logger
4
- } from "./roy-agent-core-shme7set.js";
4
+ } from "./roy-agent-core-vyygk314.js";
5
5
 
6
6
  // src/env/llm/tool-args-parser.ts
7
7
  init_logger();
@@ -253,6 +253,25 @@ Workflow 是预定义的自动化流程,可以高效解决常见类型的任
253
253
  - **不要为了用 workflow 而用**,强行创建一个不合适的 workflow 来套用任务不如直接用传统方式解决
254
254
  - **委托子智能体时**:如果认为有 workflow 可能帮助子智能体,可以在 prompt 中提示子智能体先查询 tag 池搜索可用 workflow
255
255
 
256
+ ### ⚡ Session 恢复(重要,耗时 workflow 必备)
257
+
258
+ 对于耗时较长、易超时的 workflow(如 \`strict-task-agent\`),如遇超时/中断,可使用 \`-s\` 选项从断点继续运行,**避免重头开始**:
259
+
260
+ # 初次运行(可能超时)
261
+ roy-agent workflow run <workflow-name> --input '{"query":"..."}'
262
+
263
+ # 拿到 Run ID 后(如 workflow_run_1783407282099_1_ah8pho),从中断处继续:
264
+ roy-agent workflow run <workflow-name> -s workflow_run_1783407282099_1_ah8pho
265
+
266
+ # 长选项亦可:
267
+ roy-agent workflow run <workflow-name> --session workflow_run_1783407282099_1_ah8pho
268
+
269
+ > **重要规则**:
270
+ > - Session ID 必须以 \`workflow_\` 开头,否则 CLI 会立即报错
271
+ > - 引擎会从 last message 推断恢复点(\`workflow.node.start\` → 节点级 resume;\`workflow.node.end\` → 下一节点;\`workflow.node.interrupt\` → ask_user)
272
+ > - agentNode 恢复时会自动 attach \`agentSessionId\`,agent 从中断的 sub-session 继续
273
+ > - 适合长时间 workflow(strict-task-agent / bench-agent-host 等)的超时重试
274
+
256
275
  ### {{memory}}`,
257
276
  roy: `You are Roy, a versatile AI assistant inspired by Jarvis - intelligent, proactive, and capable.
258
277
 
@@ -443,6 +462,24 @@ Workflows are pre-built automation pipelines. When tackling a complex task, **co
443
462
 
444
463
  **Key principle**: Workflows are here to help, not restrict. If no workflow fits, **do NOT force it** — just solve the task directly. This is the correct approach.
445
464
 
465
+ #### ⚡ Session 恢复(重要)
466
+
467
+ For long-running workflows (e.g., \`strict-task-agent\`, \`bench-agent-host\`) that may time out, use the \`-s\` / \`--session\` option to **resume from the interrupt point** instead of restarting from scratch:
468
+
469
+ # Initial run (may time out)
470
+ roy-agent workflow run <workflow-name> --input '{"query":"..."}'
471
+
472
+ # After timeout/interrupt, resume from where it stopped (using the Run ID):
473
+ roy-agent workflow run <workflow-name> -s workflow_run_1783407282099_1_ah8pho
474
+ # or
475
+ roy-agent workflow run <workflow-name> --session workflow_run_1783407282099_1_ah8pho
476
+
477
+ > **Key rules**:
478
+ > - Session ID must start with \`workflow_\` prefix (CLI validates and rejects otherwise)
479
+ > - The engine infers the resume point from the last session message: \`workflow.node.start\` → node-level resume, \`workflow.node.end\` → next node, \`workflow.node.interrupt\` → ask_user
480
+ > - For agentNode, \`agentSessionId\` is auto-attached so the agent continues from its sub-session
481
+ > - **Highly recommended for strict-task-agent** — its 3-stage (plan/execute/verify) flow often hits timeouts on complex tasks
482
+
446
483
  #### EventSource Command
447
484
 
448
485
  \`\`\`bash
@@ -930,7 +967,39 @@ workflow_run(workflow_name="strict-task-agent", input={"task_description": "修
930
967
  # → 返回 run_id, status, output
931
968
  \`\`\`
932
969
 
933
- ## 严格约束
970
+ ## ⚡ Session 恢复(核心能力)
971
+
972
+ \`workflow_run\` 支持通过 \`-s\` / \`--session\` 选项从中断处继续运行。这是处理**长时间 workflow 超时**(特别是 \`strict-task-agent\` 的 plan→execute→verify 三阶段)时的关键能力。
973
+
974
+ ### 使用场景
975
+ - **用户请求"继续之前的 workflow"** — 用户给的 prompt 包含 "继续" / "resume" / "接着" / "从断点" + session ID
976
+ - **session ID 出现在用户消息** — 形如 \`workflow_run_1783407282099_1_ah8pho\`
977
+ - **workflow 超时被报告** — 子智能体或上游报告"workflow 超时"+"session ID"
978
+
979
+ ### 触发条件识别
980
+ 如果满足以下任一条件,**优先使用 \`workflow_run\` 工具的 \`session\` 参数**而不是新建一个 workflow run:
981
+ 1. 用户消息中出现 \`workflow_run_xxx\` 格式的 ID
982
+ 2. 用户消息包含 resume/继续/接着/断点/从中断处 等关键词
983
+ 3. 上游任务报告某个 workflow 超时并提供了 session ID
984
+
985
+ ### 调用方式
986
+
987
+ # 不要走 workflow_get → workflow_run 这条 fresh-run 路径
988
+ # 直接走 session resume 路径:
989
+ workflow_run(
990
+ workflow_name="strict-task-agent",
991
+ session="workflow_run_1783407282099_1_ah8pho"
992
+ # 可选:如果用户提供了新的 query,可以加 input 字段
993
+ )
994
+
995
+ ### 关键约束
996
+ - ✅ Session ID 必须以 \`workflow_\` 开头(CLI 校验,不合法会立即报错)
997
+ - ✅ Resume 会从 last message 推断恢复点:start → 节点级 resume,end → 下一节点,interrupt → ask_user
998
+ - ✅ agentNode 恢复时自动 attach \`agentSessionId\`,agent 从 sub-session 继续
999
+ - ❌ 不要在 resume 时传 \`input\` 覆盖 query(除非用户明确说要修改任务)
1000
+ - ❌ 不要把 \`workflow_xxx\` 当作 workflow name 调 \`workflow_get\`(那是 session ID 不是 workflow name)
1001
+
1002
+ ### 严格约束
934
1003
 
935
1004
  - ✅ **只**通过 \`workflow_run\` 工具执行 workflow
936
1005
  - ✅ 先调用 \`workflow_get\` 获取 schema,再调用 \`workflow_run\`
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  createLogger,
3
3
  init_logger
4
- } from "./roy-agent-core-shme7set.js";
4
+ } from "./roy-agent-core-vyygk314.js";
5
5
  import {
6
6
  __esm,
7
7
  __export,
@@ -4,28 +4,28 @@ import {
4
4
  } from "./roy-agent-core-hvdfgvfz.js";
5
5
  import {
6
6
  DEFAULT_SUBAGENT_PROMPT
7
- } from "./roy-agent-core-nqzt9ne4.js";
7
+ } from "./roy-agent-core-vady4w02.js";
8
8
  import {
9
9
  TaskHookPoints
10
10
  } from "./roy-agent-core-92z6t4he.js";
11
11
  import {
12
12
  globalHookManager,
13
13
  init_global_hook_manager
14
- } from "./roy-agent-core-7tp56w6n.js";
14
+ } from "./roy-agent-core-gp872e7m.js";
15
15
  import {
16
16
  init_context
17
- } from "./roy-agent-core-qg4rma4c.js";
17
+ } from "./roy-agent-core-zttjq1h3.js";
18
18
  import {
19
19
  getCurrentTaskId
20
- } from "./roy-agent-core-y5d04fm3.js";
20
+ } from "./roy-agent-core-scp0afxg.js";
21
21
  import {
22
22
  TracedAs,
23
23
  init_decorator
24
- } from "./roy-agent-core-k05v31rc.js";
24
+ } from "./roy-agent-core-cg146hmg.js";
25
25
  import {
26
26
  createLogger,
27
27
  init_logger
28
- } from "./roy-agent-core-shme7set.js";
28
+ } from "./roy-agent-core-vyygk314.js";
29
29
  import {
30
30
  __legacyDecorateClassTS
31
31
  } from "./roy-agent-core-fs0mn2jk.js";
@@ -5,11 +5,11 @@ import {
5
5
  BackgroundTaskManager,
6
6
  createDelegateTool,
7
7
  createStopTool
8
- } from "./roy-agent-core-mw4ty0ba.js";
8
+ } from "./roy-agent-core-at05dk0z.js";
9
9
  import {
10
10
  SQLiteTaskStore,
11
11
  getDefaultTaskDbPath
12
- } from "./roy-agent-core-pcdzfwdv.js";
12
+ } from "./roy-agent-core-9xby523m.js";
13
13
  import {
14
14
  batchArchiveTaskTool,
15
15
  batchDeleteTaskTool,
@@ -20,7 +20,7 @@ import {
20
20
  listTasksTool,
21
21
  searchTasksTool,
22
22
  updateTaskTool
23
- } from "./roy-agent-core-h5867smx.js";
23
+ } from "./roy-agent-core-0ye4q2jj.js";
24
24
  import {
25
25
  createOperationTool,
26
26
  deleteOperationTool,
@@ -36,19 +36,19 @@ import {
36
36
  } from "./roy-agent-core-qxhq8ven.js";
37
37
  import {
38
38
  BaseComponent
39
- } from "./roy-agent-core-rgckng3p.js";
39
+ } from "./roy-agent-core-pf1c360e.js";
40
40
  import {
41
41
  globalHookManager,
42
42
  init_global_hook_manager
43
- } from "./roy-agent-core-7tp56w6n.js";
43
+ } from "./roy-agent-core-gp872e7m.js";
44
44
  import {
45
45
  TracedAs,
46
46
  init_decorator
47
- } from "./roy-agent-core-k05v31rc.js";
47
+ } from "./roy-agent-core-cg146hmg.js";
48
48
  import {
49
49
  createLogger,
50
50
  init_logger
51
- } from "./roy-agent-core-shme7set.js";
51
+ } from "./roy-agent-core-vyygk314.js";
52
52
  import {
53
53
  __legacyDecorateClassTS
54
54
  } from "./roy-agent-core-fs0mn2jk.js";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./roy-agent-core-rvv6ydff.js";
5
5
  import {
6
6
  BaseComponent
7
- } from "./roy-agent-core-rgckng3p.js";
7
+ } from "./roy-agent-core-pf1c360e.js";
8
8
  import {
9
9
  __require
10
10
  } from "./roy-agent-core-fs0mn2jk.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  TracedAs,
3
3
  init_decorator
4
- } from "./roy-agent-core-k05v31rc.js";
4
+ } from "./roy-agent-core-cg146hmg.js";
5
5
  import {
6
6
  __legacyDecorateClassTS
7
7
  } from "./roy-agent-core-fs0mn2jk.js";
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  init_decorator,
3
3
  wrapFunction
4
- } from "./roy-agent-core-k05v31rc.js";
4
+ } from "./roy-agent-core-cg146hmg.js";
5
5
  import {
6
6
  createLogger,
7
7
  init_logger
8
- } from "./roy-agent-core-shme7set.js";
8
+ } from "./roy-agent-core-vyygk314.js";
9
9
 
10
10
  // src/env/task/plugins/auto-task-plugin.ts
11
11
  init_logger();
@@ -8,17 +8,17 @@ import {
8
8
  } from "./roy-agent-core-fnv3ev18.js";
9
9
  import {
10
10
  adaptMcpTool
11
- } from "./roy-agent-core-djtkntar.js";
11
+ } from "./roy-agent-core-4w6rgxs4.js";
12
12
  import {
13
13
  toEnvKey
14
14
  } from "./roy-agent-core-qxhq8ven.js";
15
15
  import {
16
16
  BaseComponent
17
- } from "./roy-agent-core-rgckng3p.js";
17
+ } from "./roy-agent-core-pf1c360e.js";
18
18
  import {
19
19
  createLogger,
20
20
  init_logger
21
- } from "./roy-agent-core-shme7set.js";
21
+ } from "./roy-agent-core-vyygk314.js";
22
22
 
23
23
  // src/env/mcp/types.ts
24
24
  import { z } from "zod";
@@ -3,7 +3,7 @@ import {
3
3
  getMaxOutput,
4
4
  init_logger,
5
5
  simplifyFilePath
6
- } from "./roy-agent-core-shme7set.js";
6
+ } from "./roy-agent-core-vyygk314.js";
7
7
  import {
8
8
  getTracerProvider,
9
9
  init_tracer_provider
@@ -6,11 +6,11 @@ import {
6
6
  } from "./roy-agent-core-qxhq8ven.js";
7
7
  import {
8
8
  BaseComponent
9
- } from "./roy-agent-core-rgckng3p.js";
9
+ } from "./roy-agent-core-pf1c360e.js";
10
10
  import {
11
11
  createLogger,
12
12
  init_logger
13
- } from "./roy-agent-core-shme7set.js";
13
+ } from "./roy-agent-core-vyygk314.js";
14
14
 
15
15
  // src/env/skill/skill-component.ts
16
16
  init_logger();
@@ -5,11 +5,11 @@ import {
5
5
  initDatabase,
6
6
  initializeTables,
7
7
  resetDatabase
8
- } from "./roy-agent-core-h4h55x4h.js";
9
- import"./roy-agent-core-3sv590cv.js";
8
+ } from "./roy-agent-core-jexyz11d.js";
9
+ import"./roy-agent-core-b77yz0wt.js";
10
10
  import"./roy-agent-core-rvxg1wps.js";
11
- import"./roy-agent-core-k05v31rc.js";
12
- import"./roy-agent-core-shme7set.js";
11
+ import"./roy-agent-core-cg146hmg.js";
12
+ import"./roy-agent-core-vyygk314.js";
13
13
  import"./roy-agent-core-7z9b1fm8.js";
14
14
  import"./roy-agent-core-c6592r3c.js";
15
15
  import"./roy-agent-core-fs0mn2jk.js";
@@ -3,11 +3,11 @@ import {
3
3
  hasDecoratorNodes,
4
4
  init_node_registry_helper,
5
5
  registerDecoratorNodeType
6
- } from "./roy-agent-core-fjexv5nm.js";
6
+ } from "./roy-agent-core-xgnpr28w.js";
7
7
  import"./roy-agent-core-ddwa0n6h.js";
8
8
  import"./roy-agent-core-1ce3fqrk.js";
9
- import"./roy-agent-core-k05v31rc.js";
10
- import"./roy-agent-core-shme7set.js";
9
+ import"./roy-agent-core-cg146hmg.js";
10
+ import"./roy-agent-core-vyygk314.js";
11
11
  import"./roy-agent-core-7z9b1fm8.js";
12
12
  import"./roy-agent-core-c6592r3c.js";
13
13
  import"./roy-agent-core-fs0mn2jk.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  TracedAs,
3
3
  init_decorator
4
- } from "./roy-agent-core-k05v31rc.js";
4
+ } from "./roy-agent-core-cg146hmg.js";
5
5
  import {
6
6
  __legacyDecorateClassTS
7
7
  } from "./roy-agent-core-fs0mn2jk.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  invoke
3
- } from "./roy-agent-core-0r4ndyn9.js";
3
+ } from "./roy-agent-core-j7jeqxhd.js";
4
4
  import {
5
5
  ContextError,
6
6
  ErrorCodes
@@ -11,20 +11,20 @@ import {
11
11
  } from "./roy-agent-core-qxhq8ven.js";
12
12
  import {
13
13
  BaseComponent
14
- } from "./roy-agent-core-rgckng3p.js";
14
+ } from "./roy-agent-core-pf1c360e.js";
15
15
  import {
16
16
  LLMHookPoints,
17
17
  globalHookManager,
18
18
  init_global_hook_manager
19
- } from "./roy-agent-core-7tp56w6n.js";
19
+ } from "./roy-agent-core-gp872e7m.js";
20
20
  import {
21
21
  TracedAs,
22
22
  init_decorator
23
- } from "./roy-agent-core-k05v31rc.js";
23
+ } from "./roy-agent-core-cg146hmg.js";
24
24
  import {
25
25
  createLogger,
26
26
  init_logger
27
- } from "./roy-agent-core-shme7set.js";
27
+ } from "./roy-agent-core-vyygk314.js";
28
28
  import {
29
29
  __legacyDecorateClassTS
30
30
  } from "./roy-agent-core-fs0mn2jk.js";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  SessionMessageConverter
3
- } from "./roy-agent-core-txwf64pd.js";
3
+ } from "./roy-agent-core-yfhgxh5a.js";
4
4
  import {
5
5
  createLogger,
6
6
  init_logger
7
- } from "./roy-agent-core-shme7set.js";
7
+ } from "./roy-agent-core-vyygk314.js";
8
8
  import {
9
9
  __require
10
10
  } from "./roy-agent-core-fs0mn2jk.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  TracedAs,
3
3
  init_decorator
4
- } from "./roy-agent-core-k05v31rc.js";
4
+ } from "./roy-agent-core-cg146hmg.js";
5
5
  import {
6
6
  __esm,
7
7
  __legacyDecorateClassTS
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  init_context
3
- } from "./roy-agent-core-qg4rma4c.js";
3
+ } from "./roy-agent-core-zttjq1h3.js";
4
4
  import {
5
5
  getEnvContext
6
- } from "./roy-agent-core-y5d04fm3.js";
6
+ } from "./roy-agent-core-scp0afxg.js";
7
7
  import {
8
8
  __esm
9
9
  } from "./roy-agent-core-fs0mn2jk.js";
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  TagRepository
3
- } from "./roy-agent-core-3sv590cv.js";
4
- import"./roy-agent-core-k05v31rc.js";
5
- import"./roy-agent-core-shme7set.js";
3
+ } from "./roy-agent-core-b77yz0wt.js";
4
+ import"./roy-agent-core-cg146hmg.js";
5
+ import"./roy-agent-core-vyygk314.js";
6
6
  import"./roy-agent-core-7z9b1fm8.js";
7
7
  import"./roy-agent-core-c6592r3c.js";
8
8
  import"./roy-agent-core-fs0mn2jk.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  TAG_MAX_COUNT,
3
3
  TAG_MIN_COUNT
4
- } from "./roy-agent-core-tq9528d3.js";
4
+ } from "./roy-agent-core-e7t3rj0e.js";
5
5
  import {
6
6
  validateWorkflowDefinition
7
7
  } from "./roy-agent-core-8wd3qwx5.js";
@@ -12,11 +12,11 @@ import {
12
12
  import {
13
13
  TracedAs,
14
14
  init_decorator
15
- } from "./roy-agent-core-k05v31rc.js";
15
+ } from "./roy-agent-core-cg146hmg.js";
16
16
  import {
17
17
  createLogger,
18
18
  init_logger
19
- } from "./roy-agent-core-shme7set.js";
19
+ } from "./roy-agent-core-vyygk314.js";
20
20
  import {
21
21
  __legacyDecorateClassTS
22
22
  } from "./roy-agent-core-fs0mn2jk.js";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  safeParseToolArgs
3
- } from "./roy-agent-core-ce10b0ez.js";
3
+ } from "./roy-agent-core-8x4ngxcy.js";
4
4
  import {
5
5
  createLogger,
6
6
  init_logger
7
- } from "./roy-agent-core-shme7set.js";
7
+ } from "./roy-agent-core-vyygk314.js";
8
8
  import {
9
9
  __require
10
10
  } from "./roy-agent-core-fs0mn2jk.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TagRepository
3
- } from "./roy-agent-core-3sv590cv.js";
3
+ } from "./roy-agent-core-b77yz0wt.js";
4
4
  import {
5
5
  exports_search_query_parser,
6
6
  init_search_query_parser
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  createLogger,
10
10
  init_logger
11
- } from "./roy-agent-core-shme7set.js";
11
+ } from "./roy-agent-core-vyygk314.js";
12
12
  import {
13
13
  __require,
14
14
  __toCommonJS
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  init_global_hook_manager,
3
3
  init_hook_manager
4
- } from "./roy-agent-core-7tp56w6n.js";
4
+ } from "./roy-agent-core-gp872e7m.js";
5
5
 
6
6
  // src/env/hook/types.ts
7
7
  function createHook(meta, fn) {
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  withTimeout
3
- } from "./roy-agent-core-0r4ndyn9.js";
3
+ } from "./roy-agent-core-j7jeqxhd.js";
4
4
  import {
5
5
  truncateOutputInline
6
- } from "./roy-agent-core-hxsbegfc.js";
6
+ } from "./roy-agent-core-ptb4pkva.js";
7
7
  import {
8
8
  AskUserError,
9
9
  init_workflow_hil
10
10
  } from "./roy-agent-core-e25xkv53.js";
11
11
  import {
12
12
  AgentRegistry
13
- } from "./roy-agent-core-nqzt9ne4.js";
13
+ } from "./roy-agent-core-vady4w02.js";
14
14
  import {
15
15
  ContextError
16
16
  } from "./roy-agent-core-ctdhjv68.js";
17
17
  import {
18
18
  SessionMessageConverter
19
- } from "./roy-agent-core-txwf64pd.js";
19
+ } from "./roy-agent-core-yfhgxh5a.js";
20
20
  import {
21
21
  safeParseToolArgs
22
- } from "./roy-agent-core-ce10b0ez.js";
22
+ } from "./roy-agent-core-8x4ngxcy.js";
23
23
  import {
24
24
  envKeyToConfigKey
25
25
  } from "./roy-agent-core-qxhq8ven.js";
26
26
  import {
27
27
  BaseComponent
28
- } from "./roy-agent-core-rgckng3p.js";
28
+ } from "./roy-agent-core-pf1c360e.js";
29
29
  import {
30
30
  globalHookManager,
31
31
  init_global_hook_manager
32
- } from "./roy-agent-core-7tp56w6n.js";
32
+ } from "./roy-agent-core-gp872e7m.js";
33
33
  import {
34
34
  init_context
35
- } from "./roy-agent-core-qg4rma4c.js";
35
+ } from "./roy-agent-core-zttjq1h3.js";
36
36
  import {
37
37
  getCurrentTaskId,
38
38
  getEnvContext,
39
39
  runWithEnvContextAsync
40
- } from "./roy-agent-core-y5d04fm3.js";
40
+ } from "./roy-agent-core-scp0afxg.js";
41
41
  import {
42
42
  TracedAs,
43
43
  init_decorator
44
- } from "./roy-agent-core-k05v31rc.js";
44
+ } from "./roy-agent-core-cg146hmg.js";
45
45
  import {
46
46
  createLogger,
47
47
  init_logger
48
- } from "./roy-agent-core-shme7set.js";
48
+ } from "./roy-agent-core-vyygk314.js";
49
49
  import {
50
50
  __legacyDecorateClassTS
51
51
  } from "./roy-agent-core-fs0mn2jk.js";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  createHook
3
- } from "./roy-agent-core-b8r4tfqq.js";
3
+ } from "./roy-agent-core-ksx9a556.js";
4
4
  import {
5
5
  HookManager
6
- } from "./roy-agent-core-7tp56w6n.js";
6
+ } from "./roy-agent-core-gp872e7m.js";
7
7
 
8
8
  // src/env/component.ts
9
9
  class BaseComponent {