@ai-setting/roy-agent-core 1.7.91 → 1.7.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 (155) hide show
  1. package/dist/config/index.js +11 -11
  2. package/dist/env/agent/agent-component.js +18 -18
  3. package/dist/env/agent/index.js +18 -18
  4. package/dist/env/commands/index.js +10 -10
  5. package/dist/env/context/index.js +6 -6
  6. package/dist/env/debug/formatters/index.js +1 -1
  7. package/dist/env/debug/index.js +10 -10
  8. package/dist/env/error-reply.js +4 -4
  9. package/dist/env/event-source/cli-command-handler.js +4 -4
  10. package/dist/env/event-source/event-source-handlers.js +28 -28
  11. package/dist/env/event-source/event-store.js +5 -5
  12. package/dist/env/event-source/idempotency-key.js +1 -1
  13. package/dist/env/event-source/index.js +29 -29
  14. package/dist/env/event-source/wecom-respond-registry.js +6 -6
  15. package/dist/env/event-source/wecom-session-card-sender.js +6 -6
  16. package/dist/env/hook/index.js +8 -8
  17. package/dist/env/index.js +64 -64
  18. package/dist/env/lark-mention-utils.js +1 -1
  19. package/dist/env/llm/index.js +11 -11
  20. package/dist/env/log-trace/index.js +10 -10
  21. package/dist/env/log-trace/logger.js +3 -3
  22. package/dist/env/mcp/index.js +11 -11
  23. package/dist/env/mcp/npm-prefix/index.js +1 -1
  24. package/dist/env/mcp/tool/index.js +4 -4
  25. package/dist/env/memory/built-in/index.js +1 -1
  26. package/dist/env/memory/index.js +11 -11
  27. package/dist/env/memory/plugin/index.js +4 -4
  28. package/dist/env/plugin/index.js +10 -10
  29. package/dist/env/prompt/index.js +11 -11
  30. package/dist/env/session/index.js +14 -14
  31. package/dist/env/session/storage/index.js +7 -7
  32. package/dist/env/skill/index.js +10 -10
  33. package/dist/env/skill/tool/index.js +1 -1
  34. package/dist/env/task/backend/index.js +6 -6
  35. package/dist/env/task/delegate/delegate-tool.js +12 -12
  36. package/dist/env/task/delegate/index.js +12 -12
  37. package/dist/env/task/events/index.js +1 -1
  38. package/dist/env/task/hooks/index.js +1 -1
  39. package/dist/env/task/index.js +21 -21
  40. package/dist/env/task/mcp/index.js +7 -7
  41. package/dist/env/task/plugins/index.js +17 -17
  42. package/dist/env/task/plugins/lark-card-patch-notifier.js +6 -6
  43. package/dist/env/task/plugins/wecom-session-card-store.js +6 -6
  44. package/dist/env/task/prompt/index.js +1 -1
  45. package/dist/env/task/storage/index.js +7 -7
  46. package/dist/env/task/tools/index.js +7 -7
  47. package/dist/env/task/tools/operation/index.js +1 -1
  48. package/dist/env/tool/built-in/index.js +9 -9
  49. package/dist/env/tool/index.js +16 -16
  50. package/dist/env/workflow/decorators/index.js +3 -3
  51. package/dist/env/workflow/engine/index.js +20 -20
  52. package/dist/env/workflow/hooks/index.js +10 -10
  53. package/dist/env/workflow/index.js +34 -34
  54. package/dist/env/workflow/nodes/index.js +5 -5
  55. package/dist/env/workflow/plugins/index.js +12 -12
  56. package/dist/env/workflow/service/index.js +5 -5
  57. package/dist/env/workflow/storage/index.js +7 -7
  58. package/dist/env/workflow/tools/index.js +22 -22
  59. package/dist/env/workflow/types/index.js +3 -3
  60. package/dist/env/workflow/utils/index.js +10 -10
  61. package/dist/index.js +75 -75
  62. package/dist/shared/@ai-setting/{roy-agent-core-yet36q5k.js → roy-agent-core-0b4gyx3x.js} +3 -3
  63. package/dist/shared/@ai-setting/{roy-agent-core-1ce3fqrk.js → roy-agent-core-0k9spnmd.js} +1 -1
  64. package/dist/shared/@ai-setting/{roy-agent-core-mx855td4.js → roy-agent-core-0qsfkvkn.js} +8 -8
  65. package/dist/shared/@ai-setting/roy-agent-core-0wmswkj6.js +1005 -0
  66. package/dist/shared/@ai-setting/{roy-agent-core-0n1wwndq.js → roy-agent-core-0yzxapfa.js} +4 -4
  67. package/dist/shared/@ai-setting/{roy-agent-core-xwyq7ffz.js → roy-agent-core-15wktzhv.js} +8 -8
  68. package/dist/shared/@ai-setting/{roy-agent-core-6atd905e.js → roy-agent-core-1zat1mft.js} +1 -1
  69. package/dist/shared/@ai-setting/{roy-agent-core-4t3yskp8.js → roy-agent-core-3bt71phf.js} +6 -3
  70. package/dist/shared/@ai-setting/{roy-agent-core-7f7t9wwp.js → roy-agent-core-3c0zpmnq.js} +2 -2
  71. package/dist/shared/@ai-setting/{roy-agent-core-6r970asj.js → roy-agent-core-45n2r4my.js} +14 -14
  72. package/dist/shared/@ai-setting/{roy-agent-core-6gj1hc5z.js → roy-agent-core-46z6m682.js} +17 -17
  73. package/dist/shared/@ai-setting/{roy-agent-core-1vv4fx15.js → roy-agent-core-4bc28g7r.js} +6 -6
  74. package/dist/shared/@ai-setting/{roy-agent-core-nm4xbs1d.js → roy-agent-core-4g9f3han.js} +2 -2
  75. package/dist/shared/@ai-setting/{roy-agent-core-1db4vpc6.js → roy-agent-core-4y96ae48.js} +1 -1
  76. package/dist/shared/@ai-setting/{roy-agent-core-h83zdsrq.js → roy-agent-core-5e9vmj5e.js} +3 -3
  77. package/dist/shared/@ai-setting/{roy-agent-core-05z35shp.js → roy-agent-core-5p3arx77.js} +1 -1
  78. package/dist/shared/@ai-setting/{roy-agent-core-tjnabyvq.js → roy-agent-core-636w46em.js} +4 -4
  79. package/dist/shared/@ai-setting/{roy-agent-core-e69qxdyy.js → roy-agent-core-64ke8s3t.js} +3 -3
  80. package/dist/shared/@ai-setting/{roy-agent-core-v0hf14bj.js → roy-agent-core-64py47c3.js} +1 -1
  81. package/dist/shared/@ai-setting/{roy-agent-core-smf94h73.js → roy-agent-core-6bvn0kpf.js} +2 -2
  82. package/dist/shared/@ai-setting/{roy-agent-core-qxnbvgwe.js → roy-agent-core-6qfz57w5.js} +1 -1
  83. package/dist/shared/@ai-setting/roy-agent-core-74z514eh.js +22 -0
  84. package/dist/shared/@ai-setting/{roy-agent-core-zhwcje5a.js → roy-agent-core-7sfz2n7t.js} +1 -1
  85. package/dist/shared/@ai-setting/{roy-agent-core-1mhyh4c5.js → roy-agent-core-94wyp5sh.js} +6 -6
  86. package/dist/shared/@ai-setting/roy-agent-core-9avt2y0e.js +16 -0
  87. package/dist/shared/@ai-setting/roy-agent-core-9kp88brd.js +18 -0
  88. package/dist/shared/@ai-setting/{roy-agent-core-3wrveh5p.js → roy-agent-core-a0tck2z9.js} +3 -3
  89. package/dist/shared/@ai-setting/{roy-agent-core-wqs6yypq.js → roy-agent-core-acbg6fg9.js} +5 -5
  90. package/dist/shared/@ai-setting/{roy-agent-core-fzw9xzm1.js → roy-agent-core-b122g2me.js} +2 -2
  91. package/dist/shared/@ai-setting/{roy-agent-core-tpm1dd1g.js → roy-agent-core-bakbb15m.js} +14 -14
  92. package/dist/shared/@ai-setting/{roy-agent-core-9cen1jvg.js → roy-agent-core-bcv09vrt.js} +3 -3
  93. package/dist/shared/@ai-setting/{roy-agent-core-fs0mn2jk.js → roy-agent-core-bn8rs93c.js} +2 -1
  94. package/dist/shared/@ai-setting/{roy-agent-core-ds6qzmf8.js → roy-agent-core-bp1n3z48.js} +8 -5
  95. package/dist/shared/@ai-setting/{roy-agent-core-9c565frx.js → roy-agent-core-bwyc2j0n.js} +2 -2
  96. package/dist/shared/@ai-setting/roy-agent-core-bz03g3n4.js +19 -0
  97. package/dist/shared/@ai-setting/{roy-agent-core-mkc3zshb.js → roy-agent-core-c57pkcx8.js} +1 -1
  98. package/dist/shared/@ai-setting/{roy-agent-core-tkpp1ba0.js → roy-agent-core-cf3nysh5.js} +2 -2
  99. package/dist/shared/@ai-setting/{roy-agent-core-ddwa0n6h.js → roy-agent-core-crcfqzcb.js} +1 -1
  100. package/dist/shared/@ai-setting/{roy-agent-core-arx535cs.js → roy-agent-core-dc2bc221.js} +2 -2
  101. package/dist/shared/@ai-setting/{roy-agent-core-rm7seqwb.js → roy-agent-core-ecap4nws.js} +1 -1
  102. package/dist/shared/@ai-setting/{roy-agent-core-vx8zc847.js → roy-agent-core-ev110pkx.js} +1 -1
  103. package/dist/shared/@ai-setting/{roy-agent-core-y6shd91r.js → roy-agent-core-ev1kvffn.js} +1 -1
  104. package/dist/shared/@ai-setting/{roy-agent-core-cre2y2ct.js → roy-agent-core-ey945nk5.js} +6 -6
  105. package/dist/shared/@ai-setting/{roy-agent-core-49qcpqwg.js → roy-agent-core-f82pd49t.js} +11 -11
  106. package/dist/shared/@ai-setting/{roy-agent-core-krapd8x2.js → roy-agent-core-fkhdw7t8.js} +1 -1
  107. package/dist/shared/@ai-setting/{roy-agent-core-5kzhaap1.js → roy-agent-core-ha53k1f8.js} +2 -2
  108. package/dist/shared/@ai-setting/{roy-agent-core-bjtc9d35.js → roy-agent-core-jm6bf1qq.js} +6 -6
  109. package/dist/shared/@ai-setting/{roy-agent-core-v6yshv0z.js → roy-agent-core-jmyv8v71.js} +3 -3
  110. package/dist/shared/@ai-setting/{roy-agent-core-2akfd64z.js → roy-agent-core-jzmk4kdh.js} +1 -1
  111. package/dist/shared/@ai-setting/{roy-agent-core-mf5p38yf.js → roy-agent-core-kfspjx59.js} +5 -5
  112. package/dist/shared/@ai-setting/{roy-agent-core-hw317z6f.js → roy-agent-core-kk2k20a3.js} +15 -15
  113. package/dist/shared/@ai-setting/{roy-agent-core-jvv2h3d6.js → roy-agent-core-ksrq6paw.js} +1 -1
  114. package/dist/shared/@ai-setting/{roy-agent-core-4fkxy2gv.js → roy-agent-core-ktphs7sj.js} +8 -5
  115. package/dist/shared/@ai-setting/{roy-agent-core-rvxg1wps.js → roy-agent-core-m3vmmvbc.js} +1 -1
  116. package/dist/shared/@ai-setting/{roy-agent-core-age3qseb.js → roy-agent-core-mgmp2gfm.js} +2 -2
  117. package/dist/shared/@ai-setting/{roy-agent-core-br9cdm8d.js → roy-agent-core-mj4szr1e.js} +2 -2
  118. package/dist/shared/@ai-setting/{roy-agent-core-d6zdbgtc.js → roy-agent-core-msktt7y7.js} +1 -1
  119. package/dist/shared/@ai-setting/{roy-agent-core-9710zwwz.js → roy-agent-core-nhr8pp3a.js} +2 -2
  120. package/dist/shared/@ai-setting/roy-agent-core-nn7a0kex.js +10 -0
  121. package/dist/shared/@ai-setting/{roy-agent-core-m39v7qpx.js → roy-agent-core-nrm2ejyt.js} +2 -2
  122. package/dist/shared/@ai-setting/{roy-agent-core-h0x19xgn.js → roy-agent-core-p13a4x6r.js} +1 -1
  123. package/dist/shared/@ai-setting/{roy-agent-core-fttgm52a.js → roy-agent-core-pd2hd3q9.js} +2 -2
  124. package/dist/shared/@ai-setting/{roy-agent-core-m66ysky0.js → roy-agent-core-pxqz1d1m.js} +7 -4
  125. package/dist/shared/@ai-setting/{roy-agent-core-7yh5wps0.js → roy-agent-core-qt3j44j7.js} +2 -2
  126. package/dist/shared/@ai-setting/{roy-agent-core-q96qynhb.js → roy-agent-core-qwfdbepg.js} +1 -1
  127. package/dist/shared/@ai-setting/{roy-agent-core-nqkfkpf4.js → roy-agent-core-r84dcepd.js} +5 -5
  128. package/dist/shared/@ai-setting/{roy-agent-core-aa8kv18f.js → roy-agent-core-s69x33zx.js} +3 -3
  129. package/dist/shared/@ai-setting/{roy-agent-core-7f10p7m2.js → roy-agent-core-ss6mghdr.js} +2 -2
  130. package/dist/shared/@ai-setting/{roy-agent-core-h1e1fm9b.js → roy-agent-core-th8fq714.js} +1 -1
  131. package/dist/shared/@ai-setting/{roy-agent-core-k3gcvybs.js → roy-agent-core-trgqgwab.js} +6 -6
  132. package/dist/shared/@ai-setting/{roy-agent-core-5dhvfgaw.js → roy-agent-core-v3wm8gyj.js} +7 -7
  133. package/dist/shared/@ai-setting/{roy-agent-core-3e040tc5.js → roy-agent-core-v7qsnh2g.js} +2 -2
  134. package/dist/shared/@ai-setting/{roy-agent-core-n197medr.js → roy-agent-core-vevc6pex.js} +15 -15
  135. package/dist/shared/@ai-setting/{roy-agent-core-g8yr733d.js → roy-agent-core-vmbyaqqr.js} +2 -2
  136. package/dist/shared/@ai-setting/{roy-agent-core-azyz78ky.js → roy-agent-core-wpc432x7.js} +10 -10
  137. package/dist/shared/@ai-setting/{roy-agent-core-0sbmdz8d.js → roy-agent-core-x36a0g3x.js} +9 -9
  138. package/dist/shared/@ai-setting/{roy-agent-core-vsdar7tn.js → roy-agent-core-xe03wwy9.js} +6 -6
  139. package/dist/shared/@ai-setting/{roy-agent-core-b7h39vrc.js → roy-agent-core-y37f7fw2.js} +6 -6
  140. package/dist/shared/@ai-setting/{roy-agent-core-er070zjq.js → roy-agent-core-y7bqmfe2.js} +2 -2
  141. package/dist/shared/@ai-setting/{roy-agent-core-e08bvpaq.js → roy-agent-core-ydgx8vyj.js} +3 -3
  142. package/dist/shared/@ai-setting/{roy-agent-core-p31ftgq9.js → roy-agent-core-yj9w6a39.js} +3 -3
  143. package/dist/shared/@ai-setting/{roy-agent-core-v1n0106v.js → roy-agent-core-ynry88mx.js} +4 -4
  144. package/dist/shared/@ai-setting/{roy-agent-core-vf9sp6s3.js → roy-agent-core-yqwwebhr.js} +2 -2
  145. package/dist/shared/@ai-setting/{roy-agent-core-5s2t8z00.js → roy-agent-core-yshw2fvj.js} +2 -2
  146. package/dist/shared/@ai-setting/{roy-agent-core-fhg03v43.js → roy-agent-core-zwckbxtq.js} +3 -3
  147. package/dist/test-utils/child-process-mock.js +1 -1
  148. package/dist/utils/temp-file-manager/index.js +4 -4
  149. package/package.json +4 -2
  150. package/dist/shared/@ai-setting/roy-agent-core-0crmsc12.js +0 -22
  151. package/dist/shared/@ai-setting/roy-agent-core-85xyctnb.js +0 -239
  152. package/dist/shared/@ai-setting/roy-agent-core-fepm835e.js +0 -19
  153. package/dist/shared/@ai-setting/roy-agent-core-mvh0td7p.js +0 -10
  154. package/dist/shared/@ai-setting/roy-agent-core-w9ryeg2p.js +0 -16
  155. package/dist/shared/@ai-setting/roy-agent-core-yfpnkc4z.js +0 -18
@@ -7,8 +7,8 @@ import {
7
7
  isBuiltInEventSourceType,
8
8
  isValidEventSourceType,
9
9
  validateEventSourceConfig
10
- } from "./roy-agent-core-vx8zc847.js";
11
- import"./roy-agent-core-fs0mn2jk.js";
10
+ } from "./roy-agent-core-ev110pkx.js";
11
+ import"./roy-agent-core-bn8rs93c.js";
12
12
  export {
13
13
  validateEventSourceConfig,
14
14
  isValidEventSourceType,
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  isToolUnavailableError,
3
3
  truncateOutputInline
4
- } from "./roy-agent-core-mx855td4.js";
4
+ } from "./roy-agent-core-0qsfkvkn.js";
5
5
  import {
6
6
  AgentRegistry
7
- } from "./roy-agent-core-v1n0106v.js";
7
+ } from "./roy-agent-core-ynry88mx.js";
8
8
  import {
9
9
  createTaskOpWatermarkPlugin,
10
10
  enqueueToAddFakeUserMessage
11
- } from "./roy-agent-core-7yh5wps0.js";
11
+ } from "./roy-agent-core-qt3j44j7.js";
12
12
  import {
13
13
  SessionMessageConverter
14
- } from "./roy-agent-core-y6shd91r.js";
14
+ } from "./roy-agent-core-ev1kvffn.js";
15
15
  import {
16
16
  parseToolArgsStrict,
17
17
  safeParseToolArgs,
18
18
  withTimeout
19
- } from "./roy-agent-core-aa8kv18f.js";
19
+ } from "./roy-agent-core-s69x33zx.js";
20
20
  import {
21
21
  getCurrentBgTaskId
22
22
  } from "./roy-agent-core-c1v263jn.js";
23
23
  import {
24
24
  AskUserError,
25
25
  init_workflow_hil
26
- } from "./roy-agent-core-mkc3zshb.js";
26
+ } from "./roy-agent-core-c57pkcx8.js";
27
27
  import {
28
28
  ContextError
29
29
  } from "./roy-agent-core-ctdhjv68.js";
@@ -32,20 +32,20 @@ import {
32
32
  } from "./roy-agent-core-7hh0brvs.js";
33
33
  import {
34
34
  BaseComponent
35
- } from "./roy-agent-core-m39v7qpx.js";
35
+ } from "./roy-agent-core-nrm2ejyt.js";
36
36
  import {
37
37
  globalHookManager,
38
38
  init_global_hook_manager
39
- } from "./roy-agent-core-yet36q5k.js";
39
+ } from "./roy-agent-core-0b4gyx3x.js";
40
40
  import {
41
41
  init_context
42
- } from "./roy-agent-core-tkpp1ba0.js";
42
+ } from "./roy-agent-core-cf3nysh5.js";
43
43
  import {
44
44
  getCurrentTaskId,
45
45
  getEnvContext,
46
46
  resolveEnvParentTaskId,
47
47
  runWithEnvContextAsync
48
- } from "./roy-agent-core-p31ftgq9.js";
48
+ } from "./roy-agent-core-yj9w6a39.js";
49
49
  import {
50
50
  TracedAs,
51
51
  agentRunParamFilter,
@@ -57,15 +57,15 @@ import {
57
57
  recordSessionMessagesParamFilter,
58
58
  toolExecParamFilter,
59
59
  toolExecResultFilter
60
- } from "./roy-agent-core-5s2t8z00.js";
60
+ } from "./roy-agent-core-yshw2fvj.js";
61
61
  import {
62
62
  createLogger,
63
63
  init_logger
64
- } from "./roy-agent-core-7f7t9wwp.js";
64
+ } from "./roy-agent-core-3c0zpmnq.js";
65
65
  import {
66
66
  __legacyDecorateClassTS,
67
67
  __require
68
- } from "./roy-agent-core-fs0mn2jk.js";
68
+ } from "./roy-agent-core-bn8rs93c.js";
69
69
 
70
70
  // src/env/agent/agent-component.ts
71
71
  init_logger();
@@ -834,7 +834,7 @@ class AgentComponent extends BaseComponent {
834
834
  this.toolComponent = tool ? tool : null;
835
835
  if (this.llmComponent) {
836
836
  try {
837
- const mod = await import("./roy-agent-core-krapd8x2.js");
837
+ const mod = await import("./roy-agent-core-fkhdw7t8.js");
838
838
  mod.setUnderstandImageLLMProvider(async (messages) => {
839
839
  const result = await this.llmComponent.invoke({
840
840
  messages,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  NEW_TASK_ID_HASH_PLACEHOLDER,
3
3
  NEW_TASK_ID_PLACEHOLDER
4
- } from "./roy-agent-core-d6zdbgtc.js";
4
+ } from "./roy-agent-core-msktt7y7.js";
5
5
  import {
6
6
  TASK_DISCIPLINE_GOALS
7
7
  } from "./roy-agent-core-m46fe3x4.js";
@@ -17,11 +17,11 @@ import {
17
17
  getEnvContextOrEmpty,
18
18
  init_env_context,
19
19
  setCurrentTaskId
20
- } from "./roy-agent-core-p31ftgq9.js";
20
+ } from "./roy-agent-core-yj9w6a39.js";
21
21
  import {
22
22
  createLogger,
23
23
  init_logger
24
- } from "./roy-agent-core-7f7t9wwp.js";
24
+ } from "./roy-agent-core-3c0zpmnq.js";
25
25
 
26
26
  // src/env/task/tools/task-types.ts
27
27
  import { z } from "zod";
@@ -23,6 +23,7 @@ var __toCommonJS = (from) => {
23
23
  return entry;
24
24
  };
25
25
  var __moduleCache;
26
+ var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
26
27
  var __returnValue = (v) => v;
27
28
  function __exportSetter(name, newValue) {
28
29
  this[name] = __returnValue.bind(null, newValue);
@@ -49,4 +50,4 @@ var __legacyDecorateClassTS = function(decorators, target, key, desc) {
49
50
  var __esm = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
50
51
  var __require = /* @__PURE__ */ createRequire(import.meta.url);
51
52
 
52
- export { __toCommonJS, __export, __legacyDecorateClassTS, __esm, __require };
53
+ export { __toCommonJS, __commonJS, __export, __legacyDecorateClassTS, __esm, __require };
@@ -1,16 +1,19 @@
1
1
  import {
2
2
  SessionMessageConverter
3
- } from "./roy-agent-core-y6shd91r.js";
3
+ } from "./roy-agent-core-ev1kvffn.js";
4
4
  import {
5
5
  canonicalizeParts
6
- } from "./roy-agent-core-aa8kv18f.js";
6
+ } from "./roy-agent-core-s69x33zx.js";
7
7
  import {
8
8
  createLogger,
9
9
  init_logger
10
- } from "./roy-agent-core-7f7t9wwp.js";
10
+ } from "./roy-agent-core-3c0zpmnq.js";
11
+ import {
12
+ require_lib
13
+ } from "./roy-agent-core-0wmswkj6.js";
11
14
  import {
12
15
  __require
13
- } from "./roy-agent-core-fs0mn2jk.js";
16
+ } from "./roy-agent-core-bn8rs93c.js";
14
17
 
15
18
  // src/env/session/session-store.ts
16
19
  class BaseSessionStore {
@@ -562,7 +565,7 @@ function getDatabaseClass() {
562
565
  const { Database } = __require("bun:sqlite");
563
566
  return Database;
564
567
  } else {
565
- return __require("better-sqlite3");
568
+ return require_lib();
566
569
  }
567
570
  }
568
571
  function isSqliteBusyError(err) {
@@ -7,10 +7,10 @@ import {
7
7
  import {
8
8
  createLogger,
9
9
  init_logger
10
- } from "./roy-agent-core-7f7t9wwp.js";
10
+ } from "./roy-agent-core-3c0zpmnq.js";
11
11
  import {
12
12
  __require
13
- } from "./roy-agent-core-fs0mn2jk.js";
13
+ } from "./roy-agent-core-bn8rs93c.js";
14
14
 
15
15
  // src/env/error-reply.ts
16
16
  init_logger();
@@ -0,0 +1,19 @@
1
+ import {
2
+ getDecoratorNodes,
3
+ hasDecoratorNodes,
4
+ init_node_registry_helper,
5
+ registerDecoratorNodeType
6
+ } from "./roy-agent-core-acbg6fg9.js";
7
+ import"./roy-agent-core-0k9spnmd.js";
8
+ import"./roy-agent-core-crcfqzcb.js";
9
+ import"./roy-agent-core-yshw2fvj.js";
10
+ import"./roy-agent-core-3c0zpmnq.js";
11
+ import"./roy-agent-core-0wmswkj6.js";
12
+ import"./roy-agent-core-bn8rs93c.js";
13
+ init_node_registry_helper();
14
+
15
+ export {
16
+ registerDecoratorNodeType,
17
+ hasDecoratorNodes,
18
+ getDecoratorNodes
19
+ };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __esm
3
- } from "./roy-agent-core-fs0mn2jk.js";
3
+ } from "./roy-agent-core-bn8rs93c.js";
4
4
 
5
5
  // src/env/workflow/types/workflow-hil.ts
6
6
  function createNodeInterruptEvent(runId, nodeId, nodeType, query, agentSessionId) {
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  init_env_context,
3
3
  init_env_event
4
- } from "./roy-agent-core-p31ftgq9.js";
4
+ } from "./roy-agent-core-yj9w6a39.js";
5
5
  import {
6
6
  __esm
7
- } from "./roy-agent-core-fs0mn2jk.js";
7
+ } from "./roy-agent-core-bn8rs93c.js";
8
8
 
9
9
  // src/env/context/index.ts
10
10
  var init_context = __esm(() => {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __esm
3
- } from "./roy-agent-core-fs0mn2jk.js";
3
+ } from "./roy-agent-core-bn8rs93c.js";
4
4
 
5
5
  // src/env/workflow/utils/node-id-utils.ts
6
6
  function getFromMapWithNormalization(map, key) {
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  getWorkflowNodeIdFromMetadata,
3
3
  init_workflow_message_metadata
4
- } from "./roy-agent-core-6atd905e.js";
4
+ } from "./roy-agent-core-1zat1mft.js";
5
5
  import {
6
6
  __esm
7
- } from "./roy-agent-core-fs0mn2jk.js";
7
+ } from "./roy-agent-core-bn8rs93c.js";
8
8
 
9
9
  // src/env/workflow/utils/session-recovery.ts
10
10
  function inferNextNode(messages, definition) {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  DAGManager,
3
3
  init_dag_manager
4
- } from "./roy-agent-core-e08bvpaq.js";
4
+ } from "./roy-agent-core-ydgx8vyj.js";
5
5
 
6
6
  // src/env/workflow/utils/node-output-contracts.ts
7
7
  var VIRTUAL_OUTPUT_FIELD = "output";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __require
3
- } from "./roy-agent-core-fs0mn2jk.js";
3
+ } from "./roy-agent-core-bn8rs93c.js";
4
4
 
5
5
  // src/env/event-source/types.ts
6
6
  var BUILT_IN_EVENT_SOURCE_TYPES = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  safeParseToolArgs
3
- } from "./roy-agent-core-aa8kv18f.js";
3
+ } from "./roy-agent-core-s69x33zx.js";
4
4
 
5
5
  // src/env/session/session-message-converter.ts
6
6
  import { randomUUID } from "crypto";
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  MemorySessionStore,
3
3
  SQLiteSessionStore
4
- } from "./roy-agent-core-ds6qzmf8.js";
4
+ } from "./roy-agent-core-bp1n3z48.js";
5
5
  import {
6
6
  init_search_query_parser,
7
7
  matchesQuery,
8
8
  parseSearchQuery
9
- } from "./roy-agent-core-rvxg1wps.js";
9
+ } from "./roy-agent-core-m3vmmvbc.js";
10
10
  import {
11
11
  envKeyToConfigKey
12
12
  } from "./roy-agent-core-7hh0brvs.js";
13
13
  import {
14
14
  BaseComponent
15
- } from "./roy-agent-core-m39v7qpx.js";
15
+ } from "./roy-agent-core-nrm2ejyt.js";
16
16
  import {
17
17
  TracedAs,
18
18
  init_decorator,
19
19
  init_trace_filters,
20
20
  messagesParamFilter
21
- } from "./roy-agent-core-5s2t8z00.js";
21
+ } from "./roy-agent-core-yshw2fvj.js";
22
22
  import {
23
23
  createLogger,
24
24
  init_logger
25
- } from "./roy-agent-core-7f7t9wwp.js";
25
+ } from "./roy-agent-core-3c0zpmnq.js";
26
26
  import {
27
27
  __legacyDecorateClassTS
28
- } from "./roy-agent-core-fs0mn2jk.js";
28
+ } from "./roy-agent-core-bn8rs93c.js";
29
29
 
30
30
  // src/env/session/group-session-link.ts
31
31
  var GROUP_LINK_READ_HINT_LIMIT = 50;
@@ -2,17 +2,17 @@ import {
2
2
  compactSessionTool,
3
3
  createCompactSessionTool,
4
4
  createQueryBackgroundProcessTool
5
- } from "./roy-agent-core-2akfd64z.js";
5
+ } from "./roy-agent-core-jzmk4kdh.js";
6
6
  import {
7
7
  createStopTool
8
8
  } from "./roy-agent-core-jm136jzh.js";
9
9
  import {
10
10
  BackgroundTaskManager,
11
11
  createDelegateTool
12
- } from "./roy-agent-core-0sbmdz8d.js";
12
+ } from "./roy-agent-core-x36a0g3x.js";
13
13
  import {
14
14
  RemoteTaskStore
15
- } from "./roy-agent-core-zhwcje5a.js";
15
+ } from "./roy-agent-core-7sfz2n7t.js";
16
16
  import {
17
17
  TaskEntityEventTypes
18
18
  } from "./roy-agent-core-8gxth0eh.js";
@@ -29,7 +29,7 @@ import {
29
29
  searchTasksTool,
30
30
  treeTasksTool,
31
31
  updateTaskTool
32
- } from "./roy-agent-core-9cen1jvg.js";
32
+ } from "./roy-agent-core-bcv09vrt.js";
33
33
  import {
34
34
  createOperationTool,
35
35
  deleteOperationTool,
@@ -53,32 +53,32 @@ import {
53
53
  import {
54
54
  SQLiteTaskStore,
55
55
  getDefaultTaskDbPath
56
- } from "./roy-agent-core-m66ysky0.js";
56
+ } from "./roy-agent-core-pxqz1d1m.js";
57
57
  import {
58
58
  envKeyToConfigKey
59
59
  } from "./roy-agent-core-7hh0brvs.js";
60
60
  import {
61
61
  BaseComponent
62
- } from "./roy-agent-core-m39v7qpx.js";
62
+ } from "./roy-agent-core-nrm2ejyt.js";
63
63
  import {
64
64
  globalHookManager,
65
65
  init_global_hook_manager
66
- } from "./roy-agent-core-yet36q5k.js";
66
+ } from "./roy-agent-core-0b4gyx3x.js";
67
67
  import {
68
68
  getEnvContextOrEmpty,
69
69
  init_env_context
70
- } from "./roy-agent-core-p31ftgq9.js";
70
+ } from "./roy-agent-core-yj9w6a39.js";
71
71
  import {
72
72
  TracedAs,
73
73
  init_decorator
74
- } from "./roy-agent-core-5s2t8z00.js";
74
+ } from "./roy-agent-core-yshw2fvj.js";
75
75
  import {
76
76
  createLogger,
77
77
  init_logger
78
- } from "./roy-agent-core-7f7t9wwp.js";
78
+ } from "./roy-agent-core-3c0zpmnq.js";
79
79
  import {
80
80
  __legacyDecorateClassTS
81
- } from "./roy-agent-core-fs0mn2jk.js";
81
+ } from "./roy-agent-core-bn8rs93c.js";
82
82
 
83
83
  // src/env/task/task-component.ts
84
84
  init_logger();
@@ -5,7 +5,7 @@ import {
5
5
  understandImageTool
6
6
  } from "./roy-agent-core-xwm8zavb.js";
7
7
  import"./roy-agent-core-zjdzk1gg.js";
8
- import"./roy-agent-core-fs0mn2jk.js";
8
+ import"./roy-agent-core-bn8rs93c.js";
9
9
  export {
10
10
  understandImageTool,
11
11
  setUnderstandImageLLMProvider,
@@ -6,11 +6,11 @@ import {
6
6
  } from "./roy-agent-core-7hh0brvs.js";
7
7
  import {
8
8
  BaseComponent
9
- } from "./roy-agent-core-m39v7qpx.js";
9
+ } from "./roy-agent-core-nrm2ejyt.js";
10
10
  import {
11
11
  createLogger,
12
12
  init_logger
13
- } from "./roy-agent-core-7f7t9wwp.js";
13
+ } from "./roy-agent-core-3c0zpmnq.js";
14
14
 
15
15
  // src/env/skill/skill-component.ts
16
16
  init_logger();
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  createSubmitJsonOutputTool,
3
3
  init_submit_json_output_tool
4
- } from "./roy-agent-core-1db4vpc6.js";
4
+ } from "./roy-agent-core-4y96ae48.js";
5
5
  import {
6
6
  AskUserError,
7
7
  init_workflow_hil
8
- } from "./roy-agent-core-mkc3zshb.js";
8
+ } from "./roy-agent-core-c57pkcx8.js";
9
9
  import {
10
10
  globalHookManager,
11
11
  init_global_hook_manager
12
- } from "./roy-agent-core-yet36q5k.js";
12
+ } from "./roy-agent-core-0b4gyx3x.js";
13
13
  import {
14
14
  TracedAs,
15
15
  init_decorator,
16
16
  wrapFunction
17
- } from "./roy-agent-core-5s2t8z00.js";
17
+ } from "./roy-agent-core-yshw2fvj.js";
18
18
  import {
19
19
  createLogger,
20
20
  init_logger
21
- } from "./roy-agent-core-7f7t9wwp.js";
21
+ } from "./roy-agent-core-3c0zpmnq.js";
22
22
  import {
23
23
  __esm,
24
24
  __legacyDecorateClassTS
25
- } from "./roy-agent-core-fs0mn2jk.js";
25
+ } from "./roy-agent-core-bn8rs93c.js";
26
26
 
27
27
  // src/utils/loose-json.ts
28
28
  var init_loose_json = () => {};
@@ -5,13 +5,13 @@ import {
5
5
  } from "./roy-agent-core-adg9ghbt.js";
6
6
  import {
7
7
  XDG_PATHS
8
- } from "./roy-agent-core-qxnbvgwe.js";
8
+ } from "./roy-agent-core-6qfz57w5.js";
9
9
  import {
10
10
  BaseComponent
11
- } from "./roy-agent-core-m39v7qpx.js";
11
+ } from "./roy-agent-core-nrm2ejyt.js";
12
12
  import {
13
13
  __require
14
- } from "./roy-agent-core-fs0mn2jk.js";
14
+ } from "./roy-agent-core-bn8rs93c.js";
15
15
 
16
16
  // src/config/file-source.ts
17
17
  import * as fsSync from "fs";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  createLogger,
3
3
  init_logger
4
- } from "./roy-agent-core-7f7t9wwp.js";
4
+ } from "./roy-agent-core-3c0zpmnq.js";
5
5
 
6
6
  // src/env/tool/built-in/query-background-process-tool.ts
7
7
  import { z } from "zod";
@@ -3,11 +3,11 @@ import {
3
3
  } from "./roy-agent-core-7hh0brvs.js";
4
4
  import {
5
5
  BaseComponent
6
- } from "./roy-agent-core-m39v7qpx.js";
6
+ } from "./roy-agent-core-nrm2ejyt.js";
7
7
  import {
8
8
  init_decorator,
9
9
  init_trace_filters
10
- } from "./roy-agent-core-5s2t8z00.js";
10
+ } from "./roy-agent-core-yshw2fvj.js";
11
11
  import {
12
12
  createLogger,
13
13
  getTracerProvider,
@@ -18,14 +18,14 @@ import {
18
18
  propagation,
19
19
  setConfigComponent,
20
20
  setQuietMode
21
- } from "./roy-agent-core-7f7t9wwp.js";
21
+ } from "./roy-agent-core-3c0zpmnq.js";
22
22
  import {
23
23
  SQLiteSpanStorage,
24
24
  init_span_storage
25
- } from "./roy-agent-core-85xyctnb.js";
25
+ } from "./roy-agent-core-0wmswkj6.js";
26
26
  import {
27
27
  __require
28
- } from "./roy-agent-core-fs0mn2jk.js";
28
+ } from "./roy-agent-core-bn8rs93c.js";
29
29
 
30
30
  // src/env/log-trace/index.ts
31
31
  init_types();
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  defaultLarkCliRunner
3
- } from "./roy-agent-core-vx8zc847.js";
3
+ } from "./roy-agent-core-ev110pkx.js";
4
4
  import {
5
5
  cliCommandHandler
6
- } from "./roy-agent-core-v0hf14bj.js";
6
+ } from "./roy-agent-core-64py47c3.js";
7
7
  import {
8
8
  getSharedWecomSessionCardStore
9
- } from "./roy-agent-core-age3qseb.js";
9
+ } from "./roy-agent-core-mgmp2gfm.js";
10
10
  import {
11
11
  guardConfigWrite
12
12
  } from "./roy-agent-core-2stt4rp5.js";
@@ -19,12 +19,12 @@ import {
19
19
  createWecomTaskNotifyHook,
20
20
  deleteGroupChatViaLarkCli,
21
21
  handleCardAction
22
- } from "./roy-agent-core-6r970asj.js";
22
+ } from "./roy-agent-core-45n2r4my.js";
23
23
  import {
24
24
  registerWecomRespondTarget,
25
25
  sendWecomCliMarkdown,
26
26
  unregisterWecomRespondTarget
27
- } from "./roy-agent-core-h1e1fm9b.js";
27
+ } from "./roy-agent-core-th8fq714.js";
28
28
  import {
29
29
  ROY_SESSION_PREFIX,
30
30
  WECOM_SESSION_TASK_SEP,
@@ -34,15 +34,15 @@ import {
34
34
  } from "./roy-agent-core-c4ec7k0p.js";
35
35
  import {
36
36
  getSharedEventStore
37
- } from "./roy-agent-core-4t3yskp8.js";
37
+ } from "./roy-agent-core-3bt71phf.js";
38
38
  import {
39
39
  createLarkCliWorkflowNotifyHook
40
- } from "./roy-agent-core-5dhvfgaw.js";
40
+ } from "./roy-agent-core-v3wm8gyj.js";
41
41
  import {
42
42
  DEFAULT_APP_LINK_BASE,
43
43
  getSharedLarkCardNotifier,
44
44
  getSharedLarkCardStateStore
45
- } from "./roy-agent-core-0n1wwndq.js";
45
+ } from "./roy-agent-core-0yzxapfa.js";
46
46
  import {
47
47
  RECENT_MESSAGE_LIMIT,
48
48
  createActivityProbe,
@@ -53,36 +53,36 @@ import {
53
53
  } from "./roy-agent-core-418zc9ha.js";
54
54
  import {
55
55
  notifyReactFailure
56
- } from "./roy-agent-core-9c565frx.js";
56
+ } from "./roy-agent-core-bwyc2j0n.js";
57
57
  import {
58
58
  normalizeLarkAtMentions
59
59
  } from "./roy-agent-core-m880qz3y.js";
60
60
  import {
61
61
  globalHookManager,
62
62
  init_global_hook_manager
63
- } from "./roy-agent-core-yet36q5k.js";
63
+ } from "./roy-agent-core-0b4gyx3x.js";
64
64
  import {
65
65
  init_context
66
- } from "./roy-agent-core-tkpp1ba0.js";
66
+ } from "./roy-agent-core-cf3nysh5.js";
67
67
  import {
68
68
  createEnvContext,
69
69
  normalizeParentTaskId,
70
70
  runWithEnvContext
71
- } from "./roy-agent-core-p31ftgq9.js";
71
+ } from "./roy-agent-core-yj9w6a39.js";
72
72
  import {
73
73
  TracedAs,
74
74
  init_decorator,
75
75
  wrapFunction
76
- } from "./roy-agent-core-5s2t8z00.js";
76
+ } from "./roy-agent-core-yshw2fvj.js";
77
77
  import {
78
78
  createLogger,
79
79
  getTracerProvider,
80
80
  init_logger
81
- } from "./roy-agent-core-7f7t9wwp.js";
81
+ } from "./roy-agent-core-3c0zpmnq.js";
82
82
  import {
83
83
  __legacyDecorateClassTS,
84
84
  __require
85
- } from "./roy-agent-core-fs0mn2jk.js";
85
+ } from "./roy-agent-core-bn8rs93c.js";
86
86
 
87
87
  // src/env/event-source/event-source-handlers.ts
88
88
  import { spawn as spawn3, exec as execSync } from "child_process";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  createLogger,
3
3
  init_logger
4
- } from "./roy-agent-core-7f7t9wwp.js";
4
+ } from "./roy-agent-core-3c0zpmnq.js";
5
5
 
6
6
  // src/utils/temp-file-manager/index.ts
7
7
  init_logger();
@@ -1,18 +1,21 @@
1
1
  import {
2
2
  TagRepository
3
- } from "./roy-agent-core-vf9sp6s3.js";
3
+ } from "./roy-agent-core-yqwwebhr.js";
4
4
  import {
5
5
  exports_search_query_parser,
6
6
  init_search_query_parser
7
- } from "./roy-agent-core-rvxg1wps.js";
7
+ } from "./roy-agent-core-m3vmmvbc.js";
8
8
  import {
9
9
  createLogger,
10
10
  init_logger
11
- } from "./roy-agent-core-7f7t9wwp.js";
11
+ } from "./roy-agent-core-3c0zpmnq.js";
12
+ import {
13
+ require_lib
14
+ } from "./roy-agent-core-0wmswkj6.js";
12
15
  import {
13
16
  __require,
14
17
  __toCommonJS
15
- } from "./roy-agent-core-fs0mn2jk.js";
18
+ } from "./roy-agent-core-bn8rs93c.js";
16
19
 
17
20
  // src/env/workflow/storage/workflow-repo.ts
18
21
  import { randomUUID } from "crypto";
@@ -26,7 +29,7 @@ function getDatabaseClass() {
26
29
  const { Database } = __require("bun:sqlite");
27
30
  return Database;
28
31
  } else {
29
- return __require("better-sqlite3");
32
+ return require_lib();
30
33
  }
31
34
  }
32
35
  function createCompatibleDatabase(path) {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  __esm,
3
3
  __export
4
- } from "./roy-agent-core-fs0mn2jk.js";
4
+ } from "./roy-agent-core-bn8rs93c.js";
5
5
 
6
6
  // src/env/session/search-query-parser.ts
7
7
  var exports_search_query_parser = {};