@ai-setting/roy-agent-core 1.5.55 → 1.5.56

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 (83) hide show
  1. package/dist/config/index.js +9 -9
  2. package/dist/env/agent/index.js +12 -12
  3. package/dist/env/commands/index.js +9 -9
  4. package/dist/env/context/index.js +5 -5
  5. package/dist/env/debug/index.js +9 -9
  6. package/dist/env/event-source/index.js +11 -11
  7. package/dist/env/hook/index.js +7 -7
  8. package/dist/env/index.js +30 -30
  9. package/dist/env/llm/index.js +10 -10
  10. package/dist/env/log-trace/index.js +9 -9
  11. package/dist/env/mcp/index.js +10 -10
  12. package/dist/env/mcp/tool/index.js +3 -3
  13. package/dist/env/memory/index.js +10 -10
  14. package/dist/env/memory/plugin/index.js +3 -3
  15. package/dist/env/plugin/index.js +9 -9
  16. package/dist/env/prompt/index.js +9 -9
  17. package/dist/env/session/index.js +10 -10
  18. package/dist/env/skill/index.js +9 -9
  19. package/dist/env/task/delegate/index.js +8 -8
  20. package/dist/env/task/index.js +13 -13
  21. package/dist/env/task/plugins/index.js +6 -6
  22. package/dist/env/task/storage/index.js +3 -3
  23. package/dist/env/task/tools/index.js +5 -5
  24. package/dist/env/tool/built-in/index.js +2 -2
  25. package/dist/env/tool/index.js +10 -10
  26. package/dist/env/workflow/engine/index.js +11 -11
  27. package/dist/env/workflow/index.js +15 -15
  28. package/dist/env/workflow/nodes/index.js +4 -4
  29. package/dist/env/workflow/storage/index.js +4 -4
  30. package/dist/env/workflow/tools/index.js +2 -2
  31. package/dist/env/workflow/utils/index.js +4 -4
  32. package/dist/index.js +42 -42
  33. package/dist/shared/@ai-setting/{roy-agent-core-5t6cryce.js → roy-agent-core-07290s9n.js} +2 -2
  34. package/dist/shared/@ai-setting/{roy-agent-core-9bmtxmp6.js → roy-agent-core-0jc06hhg.js} +2 -2
  35. package/dist/shared/@ai-setting/{roy-agent-core-e68xspar.js → roy-agent-core-2c9ms8gv.js} +1 -1
  36. package/dist/shared/@ai-setting/{roy-agent-core-mab4mzg3.js → roy-agent-core-2h38rvyj.js} +2 -2
  37. package/dist/shared/@ai-setting/{roy-agent-core-fwq0hs6e.js → roy-agent-core-2tna3t64.js} +7 -7
  38. package/dist/shared/@ai-setting/{roy-agent-core-zmw5d68q.js → roy-agent-core-3czy06aq.js} +3 -3
  39. package/dist/shared/@ai-setting/{roy-agent-core-8n4bz6y3.js → roy-agent-core-496zzm5a.js} +1 -1
  40. package/dist/shared/@ai-setting/{roy-agent-core-5k8watmp.js → roy-agent-core-5c2mfq1q.js} +5 -5
  41. package/dist/shared/@ai-setting/{roy-agent-core-4ch3ghj6.js → roy-agent-core-65yjzwv5.js} +1 -1
  42. package/dist/shared/@ai-setting/{roy-agent-core-9ffsvvcf.js → roy-agent-core-6b57g1zk.js} +1 -1
  43. package/dist/shared/@ai-setting/{roy-agent-core-29867p67.js → roy-agent-core-6d5v531t.js} +3 -3
  44. package/dist/shared/@ai-setting/{roy-agent-core-f336bk4g.js → roy-agent-core-6s3vec2y.js} +6 -6
  45. package/dist/shared/@ai-setting/{roy-agent-core-zwp3jp02.js → roy-agent-core-74cp3zp1.js} +3 -3
  46. package/dist/shared/@ai-setting/{roy-agent-core-qmr365f5.js → roy-agent-core-7tp56w6n.js} +2 -2
  47. package/dist/shared/@ai-setting/{roy-agent-core-kjdpe2ey.js → roy-agent-core-7wdjpbcr.js} +2 -2
  48. package/dist/shared/@ai-setting/{roy-agent-core-58k274fg.js → roy-agent-core-7z9b1fm8.js} +1 -0
  49. package/dist/shared/@ai-setting/{roy-agent-core-bwrzwq5x.js → roy-agent-core-8pk6a00t.js} +1 -1
  50. package/dist/shared/@ai-setting/{roy-agent-core-3jk7ngmx.js → roy-agent-core-8vkr264k.js} +7 -7
  51. package/dist/shared/@ai-setting/{roy-agent-core-6vxg2gmr.js → roy-agent-core-9r8pew8y.js} +1 -1
  52. package/dist/shared/@ai-setting/{roy-agent-core-ty33mnr7.js → roy-agent-core-am646wfz.js} +4 -4
  53. package/dist/shared/@ai-setting/{roy-agent-core-rz57pqpa.js → roy-agent-core-ap59dpve.js} +5 -6
  54. package/dist/shared/@ai-setting/{roy-agent-core-t5kc8f7p.js → roy-agent-core-at22pe4k.js} +5 -5
  55. package/dist/shared/@ai-setting/{roy-agent-core-hd9p5490.js → roy-agent-core-b8r4tfqq.js} +1 -1
  56. package/dist/shared/@ai-setting/{roy-agent-core-z5sxe4p7.js → roy-agent-core-c6vet6xc.js} +4 -4
  57. package/dist/shared/@ai-setting/{roy-agent-core-1bfmxx89.js → roy-agent-core-djtkntar.js} +1 -1
  58. package/dist/shared/@ai-setting/{roy-agent-core-2xah3h0z.js → roy-agent-core-e1704378.js} +2 -2
  59. package/dist/shared/@ai-setting/{roy-agent-core-nfa6fc3a.js → roy-agent-core-eraxs53g.js} +5 -5
  60. package/dist/shared/@ai-setting/roy-agent-core-ggvv4snf.js +20 -0
  61. package/dist/shared/@ai-setting/{roy-agent-core-vbyct0e7.js → roy-agent-core-grt8ysq2.js} +4 -4
  62. package/dist/shared/@ai-setting/{roy-agent-core-9m9m6fe1.js → roy-agent-core-hkeegfq0.js} +4 -4
  63. package/dist/shared/@ai-setting/{roy-agent-core-v002ynpa.js → roy-agent-core-hkfkhaas.js} +1 -1
  64. package/dist/shared/@ai-setting/{roy-agent-core-q5qj0fes.js → roy-agent-core-k05v31rc.js} +6 -3
  65. package/dist/shared/@ai-setting/{roy-agent-core-2g5j2nw6.js → roy-agent-core-n19rm7tw.js} +4 -4
  66. package/dist/shared/@ai-setting/{roy-agent-core-emk3q2nt.js → roy-agent-core-nx3c3ce2.js} +17 -13
  67. package/dist/shared/@ai-setting/{roy-agent-core-nt1q2g91.js → roy-agent-core-pwzkgtgr.js} +4 -4
  68. package/dist/shared/@ai-setting/{roy-agent-core-13vzexp2.js → roy-agent-core-qg4rma4c.js} +1 -1
  69. package/dist/shared/@ai-setting/{roy-agent-core-egsx6js7.js → roy-agent-core-qzhkgbyj.js} +8 -8
  70. package/dist/shared/@ai-setting/{roy-agent-core-cssnkkkg.js → roy-agent-core-rgckng3p.js} +2 -2
  71. package/dist/shared/@ai-setting/{roy-agent-core-dpc9tz73.js → roy-agent-core-rmd82vf7.js} +12 -12
  72. package/dist/shared/@ai-setting/{roy-agent-core-cpf38des.js → roy-agent-core-sfqx98j6.js} +5 -5
  73. package/dist/shared/@ai-setting/{roy-agent-core-10n2jh7p.js → roy-agent-core-shme7set.js} +1 -1
  74. package/dist/shared/@ai-setting/{roy-agent-core-88d3k0p0.js → roy-agent-core-v8xa6vs8.js} +4 -4
  75. package/dist/shared/@ai-setting/{roy-agent-core-e8eefm0k.js → roy-agent-core-w4f871e2.js} +1 -1
  76. package/dist/shared/@ai-setting/{roy-agent-core-qakqwbbh.js → roy-agent-core-w6wagmhw.js} +1 -1
  77. package/dist/shared/@ai-setting/{roy-agent-core-kwhv9dcd.js → roy-agent-core-x3gtyqax.js} +2 -2
  78. package/dist/shared/@ai-setting/{roy-agent-core-c3ct1346.js → roy-agent-core-xhcgg11h.js} +1 -1
  79. package/dist/shared/@ai-setting/{roy-agent-core-v7583cf9.js → roy-agent-core-y5d04fm3.js} +2 -2
  80. package/dist/shared/@ai-setting/{roy-agent-core-t6zhkk09.js → roy-agent-core-zgtmazxg.js} +2 -2
  81. package/dist/shared/@ai-setting/{roy-agent-core-0x3g6snw.js → roy-agent-core-zkwe508t.js} +7 -7
  82. package/package.json +1 -1
  83. package/dist/shared/@ai-setting/roy-agent-core-de0y1a5s.js +0 -20
@@ -7,7 +7,7 @@ import {
7
7
  } from "./roy-agent-core-qxhq8ven.js";
8
8
  import {
9
9
  BaseComponent
10
- } from "./roy-agent-core-cssnkkkg.js";
10
+ } from "./roy-agent-core-rgckng3p.js";
11
11
  import {
12
12
  __require
13
13
  } from "./roy-agent-core-fs0mn2jk.js";
@@ -6,11 +6,11 @@ import {
6
6
  } from "./roy-agent-core-qxhq8ven.js";
7
7
  import {
8
8
  BaseComponent
9
- } from "./roy-agent-core-cssnkkkg.js";
9
+ } from "./roy-agent-core-rgckng3p.js";
10
10
  import {
11
11
  createLogger,
12
12
  init_logger
13
- } from "./roy-agent-core-10n2jh7p.js";
13
+ } from "./roy-agent-core-shme7set.js";
14
14
 
15
15
  // src/env/memory/types.ts
16
16
  import { z } from "zod";
@@ -5,11 +5,11 @@ import {
5
5
  BackgroundTaskManager,
6
6
  createDelegateTool,
7
7
  createStopTool
8
- } from "./roy-agent-core-nfa6fc3a.js";
8
+ } from "./roy-agent-core-eraxs53g.js";
9
9
  import {
10
10
  SQLiteTaskStore,
11
11
  getDefaultTaskDbPath
12
- } from "./roy-agent-core-e8eefm0k.js";
12
+ } from "./roy-agent-core-w4f871e2.js";
13
13
  import {
14
14
  completeTaskTool,
15
15
  createTaskTool,
@@ -17,7 +17,7 @@ import {
17
17
  getTaskTool,
18
18
  listTasksTool,
19
19
  updateTaskTool
20
- } from "./roy-agent-core-2xah3h0z.js";
20
+ } from "./roy-agent-core-e1704378.js";
21
21
  import {
22
22
  createOperationTool,
23
23
  deleteOperationTool,
@@ -33,19 +33,19 @@ import {
33
33
  } from "./roy-agent-core-qxhq8ven.js";
34
34
  import {
35
35
  BaseComponent
36
- } from "./roy-agent-core-cssnkkkg.js";
36
+ } from "./roy-agent-core-rgckng3p.js";
37
37
  import {
38
38
  globalHookManager,
39
39
  init_global_hook_manager
40
- } from "./roy-agent-core-qmr365f5.js";
40
+ } from "./roy-agent-core-7tp56w6n.js";
41
41
  import {
42
42
  TracedAs,
43
43
  init_decorator
44
- } from "./roy-agent-core-q5qj0fes.js";
44
+ } from "./roy-agent-core-k05v31rc.js";
45
45
  import {
46
46
  createLogger,
47
47
  init_logger
48
- } from "./roy-agent-core-10n2jh7p.js";
48
+ } from "./roy-agent-core-shme7set.js";
49
49
  import {
50
50
  __legacyDecorateClassTS
51
51
  } from "./roy-agent-core-fs0mn2jk.js";
@@ -8,17 +8,17 @@ import {
8
8
  } from "./roy-agent-core-fnv3ev18.js";
9
9
  import {
10
10
  adaptMcpTool
11
- } from "./roy-agent-core-1bfmxx89.js";
11
+ } from "./roy-agent-core-djtkntar.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-cssnkkkg.js";
17
+ } from "./roy-agent-core-rgckng3p.js";
18
18
  import {
19
19
  createLogger,
20
20
  init_logger
21
- } from "./roy-agent-core-10n2jh7p.js";
21
+ } from "./roy-agent-core-shme7set.js";
22
22
 
23
23
  // src/env/mcp/types.ts
24
24
  import { z } from "zod";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getDatabase
3
- } from "./roy-agent-core-9ffsvvcf.js";
3
+ } from "./roy-agent-core-6b57g1zk.js";
4
4
  import {
5
5
  exports_search_query_parser,
6
6
  init_search_query_parser
@@ -4,23 +4,23 @@ import {
4
4
  } from "./roy-agent-core-ctdhjv68.js";
5
5
  import {
6
6
  BaseComponent
7
- } from "./roy-agent-core-cssnkkkg.js";
7
+ } from "./roy-agent-core-rgckng3p.js";
8
8
  import {
9
9
  init_context
10
- } from "./roy-agent-core-13vzexp2.js";
10
+ } from "./roy-agent-core-qg4rma4c.js";
11
11
  import {
12
12
  getEnvContext,
13
13
  init_env_context,
14
14
  runWithEnvContextAsync
15
- } from "./roy-agent-core-v7583cf9.js";
15
+ } from "./roy-agent-core-y5d04fm3.js";
16
16
  import {
17
17
  TracedAs,
18
18
  init_decorator
19
- } from "./roy-agent-core-q5qj0fes.js";
19
+ } from "./roy-agent-core-k05v31rc.js";
20
20
  import {
21
21
  createLogger,
22
22
  init_logger
23
- } from "./roy-agent-core-10n2jh7p.js";
23
+ } from "./roy-agent-core-shme7set.js";
24
24
  import {
25
25
  __legacyDecorateClassTS
26
26
  } from "./roy-agent-core-fs0mn2jk.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  createLogger,
3
3
  init_logger
4
- } from "./roy-agent-core-10n2jh7p.js";
4
+ } from "./roy-agent-core-shme7set.js";
5
5
  import {
6
6
  __require
7
7
  } from "./roy-agent-core-fs0mn2jk.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  createLogger,
3
3
  init_logger
4
- } from "./roy-agent-core-10n2jh7p.js";
4
+ } from "./roy-agent-core-shme7set.js";
5
5
  import {
6
6
  __require
7
7
  } from "./roy-agent-core-fs0mn2jk.js";
@@ -11,15 +11,15 @@ import {
11
11
  import {
12
12
  globalHookManager,
13
13
  init_global_hook_manager
14
- } from "./roy-agent-core-qmr365f5.js";
14
+ } from "./roy-agent-core-7tp56w6n.js";
15
15
  import {
16
16
  init_decorator,
17
17
  wrapFunction
18
- } from "./roy-agent-core-q5qj0fes.js";
18
+ } from "./roy-agent-core-k05v31rc.js";
19
19
  import {
20
20
  createLogger,
21
21
  init_logger
22
- } from "./roy-agent-core-10n2jh7p.js";
22
+ } from "./roy-agent-core-shme7set.js";
23
23
  import {
24
24
  __esm
25
25
  } from "./roy-agent-core-fs0mn2jk.js";
@@ -6,18 +6,18 @@ import {
6
6
  } from "./roy-agent-core-92z6t4he.js";
7
7
  import {
8
8
  init_context
9
- } from "./roy-agent-core-13vzexp2.js";
9
+ } from "./roy-agent-core-qg4rma4c.js";
10
10
  import {
11
11
  getEnvContextOrEmpty
12
- } from "./roy-agent-core-v7583cf9.js";
12
+ } from "./roy-agent-core-y5d04fm3.js";
13
13
  import {
14
14
  TracedAs,
15
15
  init_decorator
16
- } from "./roy-agent-core-q5qj0fes.js";
16
+ } from "./roy-agent-core-k05v31rc.js";
17
17
  import {
18
18
  createLogger,
19
19
  init_logger
20
- } from "./roy-agent-core-10n2jh7p.js";
20
+ } from "./roy-agent-core-shme7set.js";
21
21
  import {
22
22
  __legacyDecorateClassTS,
23
23
  __require
@@ -368,11 +368,11 @@ ${prompt}`;
368
368
  }
369
369
  if (!this._workflowRepo) {
370
370
  try {
371
- const sqlite = await import("./roy-agent-core-zwp3jp02.js");
371
+ const sqlite = await import("./roy-agent-core-74cp3zp1.js");
372
372
  this.ensureDataDir();
373
373
  const db = sqlite.getDatabase();
374
374
  sqlite.initializeTables();
375
- const { WorkflowRepository } = await import("./roy-agent-core-ty33mnr7.js");
375
+ const { WorkflowRepository } = await import("./roy-agent-core-am646wfz.js");
376
376
  this._workflowRepo = new WorkflowRepository(db);
377
377
  return this._workflowRepo;
378
378
  } catch {
@@ -5,9 +5,9 @@ import {
5
5
  initDatabase,
6
6
  initializeTables,
7
7
  resetDatabase
8
- } from "./roy-agent-core-9ffsvvcf.js";
9
- import"./roy-agent-core-10n2jh7p.js";
10
- import"./roy-agent-core-58k274fg.js";
8
+ } from "./roy-agent-core-6b57g1zk.js";
9
+ import"./roy-agent-core-shme7set.js";
10
+ import"./roy-agent-core-7z9b1fm8.js";
11
11
  import"./roy-agent-core-c6592r3c.js";
12
12
  import"./roy-agent-core-fs0mn2jk.js";
13
13
  export {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  init_context
3
- } from "./roy-agent-core-13vzexp2.js";
3
+ } from "./roy-agent-core-qg4rma4c.js";
4
4
  import {
5
5
  getEnvContext
6
- } from "./roy-agent-core-v7583cf9.js";
6
+ } from "./roy-agent-core-y5d04fm3.js";
7
7
  import {
8
8
  __esm
9
9
  } from "./roy-agent-core-fs0mn2jk.js";
@@ -4,11 +4,11 @@ import {
4
4
  } from "./roy-agent-core-qxhq8ven.js";
5
5
  import {
6
6
  BaseComponent
7
- } from "./roy-agent-core-cssnkkkg.js";
7
+ } from "./roy-agent-core-rgckng3p.js";
8
8
  import {
9
9
  createLogger,
10
10
  init_logger
11
- } from "./roy-agent-core-10n2jh7p.js";
11
+ } from "./roy-agent-core-shme7set.js";
12
12
 
13
13
  // src/env/commands/commands-component.ts
14
14
  import path2 from "path";
@@ -330,6 +330,7 @@ class OTelTracerImpl {
330
330
  return Math.floor(Math.random() * 18446744073709552000).toString(16).padStart(16, "0");
331
331
  }
332
332
  handleSpanEnd(spanId, parentSpanId) {
333
+ this.activeSpans.delete(spanId);
333
334
  if (parentSpanId) {
334
335
  const parentSpan = this.activeSpans.get(parentSpanId);
335
336
  if (parentSpan) {
@@ -3,7 +3,7 @@ import {
3
3
  init_propagation,
4
4
  init_tracer_provider,
5
5
  propagation
6
- } from "./roy-agent-core-58k274fg.js";
6
+ } from "./roy-agent-core-7z9b1fm8.js";
7
7
  import {
8
8
  __toCommonJS
9
9
  } from "./roy-agent-core-fs0mn2jk.js";
@@ -10,15 +10,15 @@ import {
10
10
  tracedExtractStructuredJsonViaLlm,
11
11
  tracedRunWorkflowJsonOutputExtraction,
12
12
  unregisterWorkflowJsonOutputPlugin
13
- } from "./roy-agent-core-29867p67.js";
13
+ } from "./roy-agent-core-6d5v531t.js";
14
14
  import"./roy-agent-core-nhfy3p8q.js";
15
15
  import"./roy-agent-core-e25xkv53.js";
16
- import"./roy-agent-core-qmr365f5.js";
17
- import"./roy-agent-core-13vzexp2.js";
18
- import"./roy-agent-core-v7583cf9.js";
19
- import"./roy-agent-core-q5qj0fes.js";
20
- import"./roy-agent-core-10n2jh7p.js";
21
- import"./roy-agent-core-58k274fg.js";
16
+ import"./roy-agent-core-7tp56w6n.js";
17
+ import"./roy-agent-core-qg4rma4c.js";
18
+ import"./roy-agent-core-y5d04fm3.js";
19
+ import"./roy-agent-core-k05v31rc.js";
20
+ import"./roy-agent-core-shme7set.js";
21
+ import"./roy-agent-core-7z9b1fm8.js";
22
22
  import"./roy-agent-core-c6592r3c.js";
23
23
  import"./roy-agent-core-fs0mn2jk.js";
24
24
  init_workflow_json_output_plugin();
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  TracedAs,
3
3
  init_decorator
4
- } from "./roy-agent-core-q5qj0fes.js";
4
+ } from "./roy-agent-core-k05v31rc.js";
5
5
  import {
6
6
  __esm,
7
7
  __legacyDecorateClassTS
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  WorkflowRepository,
3
3
  rowToWorkflow
4
- } from "./roy-agent-core-8n4bz6y3.js";
5
- import"./roy-agent-core-9ffsvvcf.js";
4
+ } from "./roy-agent-core-496zzm5a.js";
5
+ import"./roy-agent-core-6b57g1zk.js";
6
6
  import"./roy-agent-core-rvxg1wps.js";
7
- import"./roy-agent-core-10n2jh7p.js";
8
- import"./roy-agent-core-58k274fg.js";
7
+ import"./roy-agent-core-shme7set.js";
8
+ import"./roy-agent-core-7z9b1fm8.js";
9
9
  import"./roy-agent-core-c6592r3c.js";
10
10
  import"./roy-agent-core-fs0mn2jk.js";
11
11
  export {
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  BaseComponent
3
- } from "./roy-agent-core-cssnkkkg.js";
3
+ } from "./roy-agent-core-rgckng3p.js";
4
4
  import {
5
5
  globalHookManager,
6
6
  init_global_hook_manager
7
- } from "./roy-agent-core-qmr365f5.js";
7
+ } from "./roy-agent-core-7tp56w6n.js";
8
8
  import {
9
9
  createLogger,
10
10
  init_logger
11
- } from "./roy-agent-core-10n2jh7p.js";
11
+ } from "./roy-agent-core-shme7set.js";
12
12
 
13
13
  // src/env/plugin/plugin-component.ts
14
14
  init_global_hook_manager();
@@ -63,15 +63,14 @@ class PluginComponent extends BaseComponent {
63
63
  if (!plugin) {
64
64
  return false;
65
65
  }
66
+ this.registry.delete(name);
66
67
  try {
67
68
  plugin.dispose();
68
- this.registry.delete(name);
69
69
  this.logger.info(`Unregistered plugin: ${name}`);
70
- return true;
71
70
  } catch (err) {
72
71
  this.logger.error(`Failed to dispose plugin ${name}: ${err}`);
73
- return false;
74
72
  }
73
+ return true;
75
74
  }
76
75
  get(name) {
77
76
  return this.registry.get(name);
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  AgentComponentAdapter,
3
3
  init_agent_component_adapter
4
- } from "./roy-agent-core-t6zhkk09.js";
4
+ } from "./roy-agent-core-zgtmazxg.js";
5
5
  import {
6
6
  buildWorkflowNodeMetadata,
7
7
  getWorkflowNodeIdFromMetadata,
@@ -11,7 +11,7 @@ import {
11
11
  import {
12
12
  TemplateResolver,
13
13
  init_template_resolver
14
- } from "./roy-agent-core-v002ynpa.js";
14
+ } from "./roy-agent-core-hkfkhaas.js";
15
15
  import {
16
16
  SkillNode,
17
17
  ToolNode,
@@ -19,7 +19,7 @@ import {
19
19
  init_skill_node,
20
20
  init_tool_node,
21
21
  init_workflow_node
22
- } from "./roy-agent-core-6vxg2gmr.js";
22
+ } from "./roy-agent-core-9r8pew8y.js";
23
23
  import {
24
24
  WorkflowError,
25
25
  createWorkflowEvent,
@@ -43,11 +43,11 @@ import {
43
43
  import {
44
44
  TracedAs,
45
45
  init_decorator
46
- } from "./roy-agent-core-q5qj0fes.js";
46
+ } from "./roy-agent-core-k05v31rc.js";
47
47
  import {
48
48
  createLogger,
49
49
  init_logger
50
- } from "./roy-agent-core-10n2jh7p.js";
50
+ } from "./roy-agent-core-shme7set.js";
51
51
  import {
52
52
  __esm,
53
53
  __export,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  init_global_hook_manager,
3
3
  init_hook_manager
4
- } from "./roy-agent-core-qmr365f5.js";
4
+ } from "./roy-agent-core-7tp56w6n.js";
5
5
 
6
6
  // src/env/hook/types.ts
7
7
  function createHook(meta, fn) {
@@ -3,11 +3,11 @@ import {
3
3
  hasDecoratorNodes,
4
4
  init_node_registry_helper,
5
5
  registerDecoratorNodeType
6
- } from "./roy-agent-core-9bmtxmp6.js";
6
+ } from "./roy-agent-core-0jc06hhg.js";
7
7
  import"./roy-agent-core-1ce3fqrk.js";
8
- import"./roy-agent-core-q5qj0fes.js";
9
- import"./roy-agent-core-10n2jh7p.js";
10
- import"./roy-agent-core-58k274fg.js";
8
+ import"./roy-agent-core-k05v31rc.js";
9
+ import"./roy-agent-core-shme7set.js";
10
+ import"./roy-agent-core-7z9b1fm8.js";
11
11
  import"./roy-agent-core-c6592r3c.js";
12
12
  import"./roy-agent-core-fs0mn2jk.js";
13
13
  init_node_registry_helper();
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  createLogger,
3
3
  init_logger
4
- } from "./roy-agent-core-10n2jh7p.js";
4
+ } from "./roy-agent-core-shme7set.js";
5
5
 
6
6
  // src/env/mcp/tool/adapter.ts
7
7
  init_logger();
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  init_env_context,
3
3
  setCurrentTaskId
4
- } from "./roy-agent-core-v7583cf9.js";
4
+ } from "./roy-agent-core-y5d04fm3.js";
5
5
  import {
6
6
  createLogger,
7
7
  init_logger
8
- } from "./roy-agent-core-10n2jh7p.js";
8
+ } from "./roy-agent-core-shme7set.js";
9
9
 
10
10
  // src/env/task/tools/task-types.ts
11
11
  import { z } from "zod";
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  DEFAULT_SUBAGENT_PROMPT
3
- } from "./roy-agent-core-emk3q2nt.js";
3
+ } from "./roy-agent-core-nx3c3ce2.js";
4
4
  import {
5
5
  TaskHookPoints
6
6
  } from "./roy-agent-core-92z6t4he.js";
7
7
  import {
8
8
  globalHookManager,
9
9
  init_global_hook_manager
10
- } from "./roy-agent-core-qmr365f5.js";
10
+ } from "./roy-agent-core-7tp56w6n.js";
11
11
  import {
12
12
  init_env_context,
13
13
  setCurrentTaskId
14
- } from "./roy-agent-core-v7583cf9.js";
14
+ } from "./roy-agent-core-y5d04fm3.js";
15
15
  import {
16
16
  TracedAs,
17
17
  init_decorator
18
- } from "./roy-agent-core-q5qj0fes.js";
18
+ } from "./roy-agent-core-k05v31rc.js";
19
19
  import {
20
20
  createLogger,
21
21
  init_logger
22
- } from "./roy-agent-core-10n2jh7p.js";
22
+ } from "./roy-agent-core-shme7set.js";
23
23
  import {
24
24
  __legacyDecorateClassTS
25
25
  } from "./roy-agent-core-fs0mn2jk.js";
@@ -0,0 +1,20 @@
1
+ import {
2
+ AgentComponentAdapter,
3
+ init_agent_component_adapter
4
+ } from "./roy-agent-core-zgtmazxg.js";
5
+ import"./roy-agent-core-6d5v531t.js";
6
+ import"./roy-agent-core-nhfy3p8q.js";
7
+ import"./roy-agent-core-e25xkv53.js";
8
+ import"./roy-agent-core-7tp56w6n.js";
9
+ import"./roy-agent-core-qg4rma4c.js";
10
+ import"./roy-agent-core-y5d04fm3.js";
11
+ import"./roy-agent-core-k05v31rc.js";
12
+ import"./roy-agent-core-shme7set.js";
13
+ import"./roy-agent-core-7z9b1fm8.js";
14
+ import"./roy-agent-core-c6592r3c.js";
15
+ import"./roy-agent-core-fs0mn2jk.js";
16
+ init_agent_component_adapter();
17
+
18
+ export {
19
+ AgentComponentAdapter
20
+ };
@@ -7,18 +7,18 @@ import {
7
7
  } from "./roy-agent-core-qxhq8ven.js";
8
8
  import {
9
9
  BaseComponent
10
- } from "./roy-agent-core-cssnkkkg.js";
10
+ } from "./roy-agent-core-rgckng3p.js";
11
11
  import {
12
12
  createHook
13
- } from "./roy-agent-core-hd9p5490.js";
13
+ } from "./roy-agent-core-b8r4tfqq.js";
14
14
  import {
15
15
  globalHookManager,
16
16
  init_global_hook_manager
17
- } from "./roy-agent-core-qmr365f5.js";
17
+ } from "./roy-agent-core-7tp56w6n.js";
18
18
  import {
19
19
  createLogger,
20
20
  init_logger
21
- } from "./roy-agent-core-10n2jh7p.js";
21
+ } from "./roy-agent-core-shme7set.js";
22
22
 
23
23
  // src/env/prompt/types.ts
24
24
  import { z } from "zod";
@@ -9,21 +9,21 @@ import {
9
9
  } from "./roy-agent-core-pcjenbaf.js";
10
10
  import {
11
11
  SummaryAgent
12
- } from "./roy-agent-core-kwhv9dcd.js";
12
+ } from "./roy-agent-core-x3gtyqax.js";
13
13
  import {
14
14
  envKeyToConfigKey
15
15
  } from "./roy-agent-core-qxhq8ven.js";
16
16
  import {
17
17
  BaseComponent
18
- } from "./roy-agent-core-cssnkkkg.js";
18
+ } from "./roy-agent-core-rgckng3p.js";
19
19
  import {
20
20
  TracedAs,
21
21
  init_decorator
22
- } from "./roy-agent-core-q5qj0fes.js";
22
+ } from "./roy-agent-core-k05v31rc.js";
23
23
  import {
24
24
  createLogger,
25
25
  init_logger
26
- } from "./roy-agent-core-10n2jh7p.js";
26
+ } from "./roy-agent-core-shme7set.js";
27
27
  import {
28
28
  __legacyDecorateClassTS
29
29
  } from "./roy-agent-core-fs0mn2jk.js";
@@ -7,7 +7,7 @@ import {
7
7
  import {
8
8
  TracedAs,
9
9
  init_decorator
10
- } from "./roy-agent-core-q5qj0fes.js";
10
+ } from "./roy-agent-core-k05v31rc.js";
11
11
  import {
12
12
  __esm,
13
13
  __legacyDecorateClassTS
@@ -3,11 +3,11 @@ import {
3
3
  getMaxOutput,
4
4
  init_logger,
5
5
  simplifyFilePath
6
- } from "./roy-agent-core-10n2jh7p.js";
6
+ } from "./roy-agent-core-shme7set.js";
7
7
  import {
8
8
  getTracerProvider,
9
9
  init_tracer_provider
10
- } from "./roy-agent-core-58k274fg.js";
10
+ } from "./roy-agent-core-7z9b1fm8.js";
11
11
  import {
12
12
  __esm
13
13
  } from "./roy-agent-core-fs0mn2jk.js";
@@ -135,7 +135,10 @@ function wrapFunction(fn, name, options) {
135
135
  }
136
136
  }
137
137
  const callerLocation = getCallerLocation();
138
- const span = tracer.startSpan(name, { attributes });
138
+ let span;
139
+ try {
140
+ span = tracer.startSpan(name, { attributes });
141
+ } catch {}
139
142
  logFn("enter", args, callerLocation);
140
143
  try {
141
144
  const result = fn.call(this, ...args);
@@ -4,7 +4,7 @@ import {
4
4
  } from "./roy-agent-core-rvv6ydff.js";
5
5
  import {
6
6
  BaseComponent
7
- } from "./roy-agent-core-cssnkkkg.js";
7
+ } from "./roy-agent-core-rgckng3p.js";
8
8
  import {
9
9
  __require
10
10
  } from "./roy-agent-core-fs0mn2jk.js";
@@ -590,7 +590,7 @@ class DebugComponent extends BaseComponent {
590
590
  }
591
591
  async getLiveTrace(traceId) {
592
592
  try {
593
- const { getTracerProvider } = await import("./roy-agent-core-qakqwbbh.js");
593
+ const { getTracerProvider } = await import("./roy-agent-core-w6wagmhw.js");
594
594
  const provider = getTracerProvider();
595
595
  if (!provider.isInitialized()) {
596
596
  await provider.initialize();
@@ -635,7 +635,7 @@ class DebugComponent extends BaseComponent {
635
635
  }
636
636
  async listLiveTraces(limit = 20) {
637
637
  try {
638
- const { getTracerProvider } = await import("./roy-agent-core-qakqwbbh.js");
638
+ const { getTracerProvider } = await import("./roy-agent-core-w6wagmhw.js");
639
639
  const provider = getTracerProvider();
640
640
  if (!provider.isInitialized()) {
641
641
  await provider.initialize();
@@ -653,7 +653,7 @@ class DebugComponent extends BaseComponent {
653
653
  }
654
654
  async formatLiveTrace(traceId) {
655
655
  try {
656
- const { getTracerProvider } = await import("./roy-agent-core-qakqwbbh.js");
656
+ const { getTracerProvider } = await import("./roy-agent-core-w6wagmhw.js");
657
657
  const provider = getTracerProvider();
658
658
  if (!provider.isInitialized()) {
659
659
  await provider.initialize();