@_tc/template-core 0.4.0 → 0.4.1

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 (297) hide show
  1. package/.skills/tc-component-usage-skills/reference/component-api.md +27 -0
  2. package/.skills/tc-generator/SKILL.md +1 -1
  3. package/.skills/tc-generator/reference/project-template/ssr/apps/hello/hello.entry.tsx +6 -1
  4. package/.skills/tc-generator/reference/runtime-extensions.md +10 -0
  5. package/AGENT_README.md +8 -2
  6. package/CHANGE.md +27 -0
  7. package/README.md +157 -8
  8. package/cjs/app/ai/agent/agent-scanner.service.js +1 -1
  9. package/cjs/app/ai/agent/agent.module.js +1 -1
  10. package/cjs/app/ai/ai-config.module.js +1 -1
  11. package/cjs/app/ai/ai-config.service.js +1 -1
  12. package/cjs/app/ai/ai.controller.js +1 -1
  13. package/cjs/app/ai/ai.module.js +1 -1
  14. package/cjs/app/ai/guardrail/guardrail.module.js +1 -1
  15. package/cjs/app/ai/guardrail/guardrail.service.js +1 -1
  16. package/cjs/app/ai/index.js +1 -0
  17. package/cjs/app/ai/mcp/internal/read-sse-response.js +2 -0
  18. package/cjs/app/ai/mcp/internal/stdio-process.js +1 -0
  19. package/cjs/app/ai/mcp/mcp-registry.service.js +2 -2
  20. package/cjs/app/ai/mcp/mcp.client.js +2 -3
  21. package/cjs/app/ai/mcp/mcp.loader.js +1 -1
  22. package/cjs/app/ai/mcp/mcp.module.js +1 -1
  23. package/cjs/app/ai/memory/checkpoint.service.js +1 -1
  24. package/cjs/app/ai/memory/memory.module.js +1 -1
  25. package/cjs/app/ai/memory/thread.service.js +1 -1
  26. package/cjs/app/ai/models/chat-sse.js +4 -0
  27. package/cjs/app/ai/models/chat.js +1 -0
  28. package/cjs/app/ai/models/http.js +1 -0
  29. package/cjs/app/ai/models/image.js +1 -0
  30. package/cjs/app/ai/models/video.js +1 -0
  31. package/cjs/app/ai/nest-service-provider.js +1 -0
  32. package/cjs/app/ai/rag/rag.module.js +1 -1
  33. package/cjs/app/ai/rag/retriever.service.js +1 -1
  34. package/cjs/app/ai/retention/conversation-retention.service.js +1 -1
  35. package/cjs/app/ai/runtime/ai-runtime-startup.validator.js +1 -1
  36. package/cjs/app/ai/runtime/ai-runtime.js +1 -0
  37. package/cjs/app/ai/runtime/internal/context-compaction.service.js +3 -3
  38. package/cjs/app/ai/runtime/internal/declaration-snapshot.js +1 -0
  39. package/cjs/app/ai/runtime/internal/owned-runtime-resources.js +1 -0
  40. package/cjs/app/ai/runtime/langchain/langchain-planner.service.js +1 -1
  41. package/cjs/app/ai/runtime/langgraph/langgraph-orchestrator.service.js +1 -1
  42. package/cjs/app/ai/runtime/runtime.module.js +1 -1
  43. package/cjs/app/ai/skill/skill-scanner.service.js +1 -1
  44. package/cjs/app/ai/skill/skill.module.js +1 -1
  45. package/cjs/app/ai/snapshot-data.js +1 -0
  46. package/cjs/app/ai/store/internal/create-vector-store.js +1 -0
  47. package/cjs/app/ai/store/store.module.js +1 -1
  48. package/cjs/app/ai/tool/builtin/index.js +1 -1
  49. package/cjs/app/ai/tool/builtin/invoke-agent.tool.js +1 -1
  50. package/cjs/app/ai/tool/builtin/retrieve.tool.js +1 -1
  51. package/cjs/app/ai/tool/executor.service.js +1 -1
  52. package/cjs/app/ai/tool/tool-registry.service.js +1 -1
  53. package/cjs/app/ai/tool/tool.module.js +1 -1
  54. package/cjs/app/ai/trace/trace.service.js +1 -1
  55. package/cjs/app/csr/controller.js +1 -1
  56. package/cjs/app/csr/types.js +0 -0
  57. package/cjs/app/html/browser-options.js +1 -1
  58. package/cjs/app/html/shell.js +31 -16
  59. package/cjs/app/http/api-signing.js +1 -0
  60. package/cjs/app/http/body-parser.middleware.js +1 -1
  61. package/cjs/app/http/csp-nonce.js +1 -0
  62. package/cjs/app/http/error-response.js +1 -1
  63. package/cjs/app/http/exception-filter.js +1 -1
  64. package/cjs/app/http/request-body-parser-policy.js +1 -0
  65. package/cjs/app/http/security.guard.js +1 -1
  66. package/cjs/app/project/controller.js +1 -1
  67. package/cjs/app/project/service.js +1 -1
  68. package/cjs/app/providers/foundation.js +1 -1
  69. package/cjs/app/ssr/artifacts.js +1 -1
  70. package/cjs/app/ssr/controller.js +1 -1
  71. package/cjs/app/ssr/html.js +17 -17
  72. package/cjs/app/ssr/stream.js +1 -1
  73. package/cjs/app/static-assets.middleware.js +1 -1
  74. package/cjs/app/template-core.module.js +1 -1
  75. package/cjs/app/view/entry.tpl +2 -2
  76. package/cjs/bundler/buildSSR.js +1 -1
  77. package/cjs/bundler/entryCollect.js +1 -1
  78. package/cjs/bundler/feSharedConfig.js +1 -1
  79. package/cjs/bundler/utils.js +3 -3
  80. package/cjs/config/config.default.js +1 -1
  81. package/cjs/packages/common/index.js +1 -1
  82. package/cjs/packages/core/bootstrap.js +1 -1
  83. package/cjs/packages/core/startup.js +1 -1
  84. package/esm/app/ai/agent/agent-scanner.service.js +33 -36
  85. package/esm/app/ai/agent/agent.module.js +9 -7
  86. package/esm/app/ai/ai-config.module.js +14 -7
  87. package/esm/app/ai/ai-config.service.js +24 -20
  88. package/esm/app/ai/ai.controller.js +41 -41
  89. package/esm/app/ai/ai.module.js +15 -15
  90. package/esm/app/ai/guardrail/guardrail.module.js +11 -9
  91. package/esm/app/ai/guardrail/guardrail.service.js +5 -10
  92. package/esm/app/ai/index.js +2 -0
  93. package/esm/app/ai/mcp/internal/read-sse-response.js +35 -0
  94. package/esm/app/ai/mcp/internal/stdio-process.js +59 -0
  95. package/esm/app/ai/mcp/mcp-registry.service.js +10 -15
  96. package/esm/app/ai/mcp/mcp.client.js +77 -78
  97. package/esm/app/ai/mcp/mcp.loader.js +64 -42
  98. package/esm/app/ai/mcp/mcp.module.js +62 -22
  99. package/esm/app/ai/memory/checkpoint.service.js +18 -28
  100. package/esm/app/ai/memory/memory.module.js +15 -12
  101. package/esm/app/ai/memory/thread.service.js +21 -26
  102. package/esm/app/ai/models/chat-sse.js +44 -0
  103. package/esm/app/ai/models/chat.js +60 -0
  104. package/esm/app/ai/models/http.js +52 -0
  105. package/esm/app/ai/models/image.js +37 -0
  106. package/esm/app/ai/models/video.js +32 -0
  107. package/esm/app/ai/nest-service-provider.js +10 -0
  108. package/esm/app/ai/rag/rag.module.js +24 -15
  109. package/esm/app/ai/rag/retriever.service.js +37 -54
  110. package/esm/app/ai/retention/conversation-retention.service.js +16 -34
  111. package/esm/app/ai/runtime/ai-runtime-startup.validator.js +2 -19
  112. package/esm/app/ai/runtime/ai-runtime.js +104 -0
  113. package/esm/app/ai/runtime/internal/context-compaction.service.js +139 -145
  114. package/esm/app/ai/runtime/internal/declaration-snapshot.js +32 -0
  115. package/esm/app/ai/runtime/internal/owned-runtime-resources.js +21 -0
  116. package/esm/app/ai/runtime/langchain/langchain-planner.service.js +43 -49
  117. package/esm/app/ai/runtime/langgraph/langgraph-orchestrator.service.js +273 -225
  118. package/esm/app/ai/runtime/runtime.module.js +56 -35
  119. package/esm/app/ai/skill/skill-scanner.service.js +11 -16
  120. package/esm/app/ai/skill/skill.module.js +11 -9
  121. package/esm/app/ai/snapshot-data.js +24 -0
  122. package/esm/app/ai/store/internal/create-vector-store.js +10 -0
  123. package/esm/app/ai/store/store.module.js +9 -13
  124. package/esm/app/ai/tool/builtin/index.js +16 -4
  125. package/esm/app/ai/tool/builtin/invoke-agent.tool.js +30 -34
  126. package/esm/app/ai/tool/builtin/retrieve.tool.js +9 -13
  127. package/esm/app/ai/tool/executor.service.js +22 -29
  128. package/esm/app/ai/tool/tool-registry.service.js +6 -16
  129. package/esm/app/ai/tool/tool.module.js +26 -12
  130. package/esm/app/ai/trace/trace.service.js +15 -28
  131. package/esm/app/csr/controller.js +114 -63
  132. package/esm/app/csr/types.js +0 -0
  133. package/esm/app/html/browser-options.js +2 -2
  134. package/esm/app/html/shell.js +173 -32
  135. package/esm/app/http/api-signing.js +13 -0
  136. package/esm/app/http/body-parser.middleware.js +47 -27
  137. package/esm/app/http/csp-nonce.js +13 -0
  138. package/esm/app/http/error-response.js +8 -5
  139. package/esm/app/http/exception-filter.js +4 -4
  140. package/esm/app/http/request-body-parser-policy.js +46 -0
  141. package/esm/app/http/security.guard.js +23 -21
  142. package/esm/app/project/controller.js +15 -15
  143. package/esm/app/project/service.js +3 -3
  144. package/esm/app/providers/foundation.js +5 -5
  145. package/esm/app/ssr/artifacts.js +25 -21
  146. package/esm/app/ssr/controller.js +148 -75
  147. package/esm/app/ssr/html.js +49 -44
  148. package/esm/app/ssr/stream.js +25 -24
  149. package/esm/app/static-assets.middleware.js +4 -4
  150. package/esm/app/template-core.module.js +57 -52
  151. package/esm/app/view/entry.tpl +2 -2
  152. package/esm/bundler/buildSSR.js +1 -1
  153. package/esm/bundler/entryCollect.js +9 -9
  154. package/esm/bundler/feSharedConfig.js +42 -42
  155. package/esm/bundler/utils.js +78 -90
  156. package/esm/config/config.default.js +4 -3
  157. package/esm/packages/common/index.js +6 -6
  158. package/esm/packages/core/bootstrap.js +5 -5
  159. package/esm/packages/core/startup.js +69 -46
  160. package/fe/frontend/src/common/request.js +5 -2
  161. package/fe/frontend/src/hooks/useRouterParams.d.ts +4 -2
  162. package/fe/packages/common/ssr/hydration.d.ts +9 -0
  163. package/fe/packages/react/core/Label/Label.d.ts +1 -0
  164. package/fe/packages/react/core/Label/Label.js +3 -1
  165. package/fe/packages/react/core/internal/i18n/default.d.ts +13 -0
  166. package/fe/packages/react/core/internal/i18n/default.js +16 -1
  167. package/fe/packages/react/core/internal/i18n/en-US.d.ts +13 -0
  168. package/fe/packages/react/core/internal/i18n/en-US.js +16 -1
  169. package/fe/packages/react/forms/DataTable/index.d.ts +2 -0
  170. package/fe/packages/react/forms/DataTable/index.js +43 -29
  171. package/fe/packages/react/forms/Form/FormItem.js +39 -12
  172. package/fe/packages/react/forms/MultiSelect/MultiSelect.d.ts +26 -0
  173. package/fe/packages/react/forms/MultiSelect/MultiSelect.js +218 -0
  174. package/fe/packages/react/forms/MultiSelect/index.d.ts +1 -0
  175. package/fe/packages/react/forms/MultiSelect/index.js +2 -0
  176. package/fe/packages/react/forms/Pagination/Pagination.d.ts +6 -1
  177. package/fe/packages/react/forms/Pagination/Pagination.js +13 -4
  178. package/fe/packages/react/forms/Select/Select.d.ts +11 -0
  179. package/fe/packages/react/forms/Select/Select.js +20 -7
  180. package/fe/packages/react/forms/index.d.ts +1 -0
  181. package/fe/packages/react/forms/index.js +3 -1
  182. package/fe/packages/react/i18n/getUiReactLocale.d.ts +26 -0
  183. package/fe/packages/react/index.js +2 -1
  184. package/fe/packages/react/overlays/Drawer/Drawer.d.ts +3 -2
  185. package/fe/packages/react/overlays/Drawer/Drawer.js +16 -2
  186. package/fe/packages/react/overlays/Dropdown/Dropdown.d.ts +12 -2
  187. package/fe/packages/react/overlays/Dropdown/Dropdown.js +27 -14
  188. package/fe/packages/react/overlays/Modal/Modal.d.ts +11 -3
  189. package/fe/packages/react/overlays/Modal/Modal.js +26 -2
  190. package/fe/packages/react/overlays/Modal/ModalManager.d.ts +13 -12
  191. package/fe/packages/react/overlays/Modal/ModalManager.js +15 -5
  192. package/fe/packages/react/overlays/Modal/index.d.ts +1 -0
  193. package/fe/packages/react/overlays/Overlay/Overlay.d.ts +6 -2
  194. package/fe/packages/react/overlays/Overlay/Overlay.js +31 -14
  195. package/fe/packages/react/overlays/Overlay/focusTypes.d.ts +8 -0
  196. package/fe/packages/react/overlays/Overlay/focusTypes.js +0 -0
  197. package/fe/packages/react/overlays/Overlay/index.d.ts +1 -0
  198. package/fe/packages/react/overlays/Overlay/overlayStack.d.ts +16 -0
  199. package/fe/packages/react/overlays/Overlay/overlayStack.js +290 -0
  200. package/fe/packages/react/overlays/Popup/Popup.d.ts +5 -4
  201. package/fe/packages/react/overlays/Popup/Popup.js +28 -11
  202. package/fe/packages/react/ui/components/index.js +2 -1
  203. package/fe/packages/react/ui/index.js +2 -1
  204. package/fe/ssr/components/StreamingRender/StreamingCache.d.ts +1 -0
  205. package/fe/ssr/components/StreamingRender/StreamingCache.js +5 -1
  206. package/fe/ssr/components/StreamingRender/StreamingRender.js +1 -1
  207. package/fe/ssr/components/StreamingRender/StreamingScript.d.ts +1 -0
  208. package/fe/ssr/components/StreamingRender/StreamingScript.js +9 -1
  209. package/fe/ssr/createSSREntry.d.ts +9 -3
  210. package/fe/ssr/createSSREntry.js +43 -19
  211. package/fe/ssr/index.d.ts +4 -1
  212. package/fe/ssr/index.js +2 -1
  213. package/fe/ssr/router.d.ts +76 -0
  214. package/fe/ssr/router.js +349 -0
  215. package/fe/ssr/types.d.ts +1 -1
  216. package/models/packages/common/ssr/hydration.d.ts +9 -0
  217. package/models/packages/react/core/Label/Label.d.ts +1 -0
  218. package/models/packages/react/core/internal/i18n/default.d.ts +13 -0
  219. package/models/packages/react/core/internal/i18n/en-US.d.ts +13 -0
  220. package/models/packages/react/forms/DataTable/index.d.ts +2 -0
  221. package/models/packages/react/forms/MultiSelect/MultiSelect.d.ts +26 -0
  222. package/models/packages/react/forms/MultiSelect/index.d.ts +1 -0
  223. package/models/packages/react/forms/Pagination/Pagination.d.ts +6 -1
  224. package/models/packages/react/forms/Select/Select.d.ts +11 -0
  225. package/models/packages/react/forms/index.d.ts +1 -0
  226. package/models/packages/react/i18n/getUiReactLocale.d.ts +26 -0
  227. package/models/packages/react/overlays/Drawer/Drawer.d.ts +3 -2
  228. package/models/packages/react/overlays/Dropdown/Dropdown.d.ts +12 -2
  229. package/models/packages/react/overlays/Modal/Modal.d.ts +11 -3
  230. package/models/packages/react/overlays/Modal/ModalManager.d.ts +13 -12
  231. package/models/packages/react/overlays/Modal/index.d.ts +1 -0
  232. package/models/packages/react/overlays/Overlay/Overlay.d.ts +6 -2
  233. package/models/packages/react/overlays/Overlay/focusTypes.d.ts +8 -0
  234. package/models/packages/react/overlays/Overlay/index.d.ts +1 -0
  235. package/models/packages/react/overlays/Overlay/overlayStack.d.ts +16 -0
  236. package/models/packages/react/overlays/Popup/Popup.d.ts +5 -4
  237. package/package.json +26 -1
  238. package/types/app/ai/agent/agent-scanner.service.d.ts +4 -4
  239. package/types/app/ai/ai-config.service.d.ts +7 -3
  240. package/types/app/ai/guardrail/guardrail.service.d.ts +2 -2
  241. package/types/app/ai/index.d.ts +9 -0
  242. package/types/app/ai/mcp/internal/load-mcp-config.d.ts +2 -2
  243. package/types/app/ai/mcp/internal/read-sse-response.d.ts +2 -0
  244. package/types/app/ai/mcp/internal/stdio-process.d.ts +5 -0
  245. package/types/app/ai/mcp/mcp-registry.service.d.ts +5 -3
  246. package/types/app/ai/mcp/mcp.client.d.ts +7 -4
  247. package/types/app/ai/mcp/mcp.loader.d.ts +11 -11
  248. package/types/app/ai/mcp/mcp.module.d.ts +5 -5
  249. package/types/app/ai/memory/thread.service.d.ts +3 -3
  250. package/types/app/ai/models/chat-sse.d.ts +5 -0
  251. package/types/app/ai/models/chat.d.ts +22 -0
  252. package/types/app/ai/models/http.d.ts +20 -0
  253. package/types/app/ai/models/image.d.ts +69 -0
  254. package/types/app/ai/models/video.d.ts +99 -0
  255. package/types/app/ai/nest-service-provider.d.ts +6 -0
  256. package/types/app/ai/retention/conversation-retention.service.d.ts +3 -4
  257. package/types/app/ai/runtime/ai-runtime-startup.validator.d.ts +2 -3
  258. package/types/app/ai/runtime/ai-runtime.d.ts +46 -0
  259. package/types/app/ai/runtime/internal/agent-run-context.d.ts +4 -0
  260. package/types/app/ai/runtime/internal/context-compaction.service.d.ts +2 -2
  261. package/types/app/ai/runtime/internal/declaration-snapshot.d.ts +8 -0
  262. package/types/app/ai/runtime/internal/owned-runtime-resources.d.ts +5 -0
  263. package/types/app/ai/runtime/langchain/langchain-planner.service.d.ts +1 -1
  264. package/types/app/ai/runtime/langgraph/langgraph-orchestrator.service.d.ts +33 -16
  265. package/types/app/ai/skill/skill-scanner.service.d.ts +3 -4
  266. package/types/app/ai/snapshot-data.d.ts +1 -0
  267. package/types/app/ai/store/internal/create-vector-store.d.ts +4 -0
  268. package/types/app/ai/tool/builtin/index.d.ts +1 -1
  269. package/types/app/ai/tool/builtin/invoke-agent.tool.d.ts +10 -3
  270. package/types/app/ai/tool/builtin/retrieve.tool.d.ts +4 -3
  271. package/types/app/ai/tool/executor.service.d.ts +3 -3
  272. package/types/app/ai/tool/tool-registry.service.d.ts +2 -7
  273. package/types/app/ai/tool/tool.interface.d.ts +1 -1
  274. package/types/app/ai/tool/tool.module.d.ts +8 -1
  275. package/types/app/ai/trace/trace.service.d.ts +4 -5
  276. package/types/app/csr/types.d.ts +10 -0
  277. package/types/app/html/browser-options.d.ts +1 -1
  278. package/types/app/html/shell.d.ts +37 -10
  279. package/types/app/http/api-signing.d.ts +16 -0
  280. package/types/app/http/body-parser.middleware.d.ts +6 -2
  281. package/types/app/http/csp-nonce.d.ts +3 -0
  282. package/types/app/http/error-response.d.ts +1 -0
  283. package/types/app/http/request-body-parser-policy.d.ts +8 -0
  284. package/types/app/http/security.guard.d.ts +1 -0
  285. package/types/app/ssr/artifacts.d.ts +6 -3
  286. package/types/app/ssr/html.d.ts +7 -0
  287. package/types/app/ssr/stream.d.ts +1 -1
  288. package/types/app/ssr/types.d.ts +56 -0
  289. package/types/bundler/buildSSR.d.ts +2 -1
  290. package/types/bundler/index.d.ts +1 -1
  291. package/types/bundler/state.d.ts +13 -0
  292. package/types/bundler/utils.d.ts +3 -14
  293. package/types/config/config.default.d.ts +9 -3
  294. package/types/index.d.ts +4 -1
  295. package/types/packages/common/ssr/hydration.d.ts +13 -0
  296. package/types/packages/core/index.d.ts +1 -1
  297. package/types/packages/core/startup.d.ts +41 -0
@@ -1,44 +1,65 @@
1
- import { AiConfigService as e } from "../ai-config.service.js";
2
- import { AgentModule as t } from "../agent/agent.module.js";
3
- import { TraceService as n } from "../trace/trace.service.js";
4
- import { THREAD_EXECUTION_COORDINATOR as r, resolveThreadExecutionCoordinator as i } from "./thread-execution-coordinator.js";
5
- import { ConversationRetentionService as a } from "../retention/conversation-retention.service.js";
6
- import { LangChainPlannerService as o } from "./langchain/langchain-planner.service.js";
7
- import { ContextCompactionService as s } from "./internal/context-compaction.service.js";
8
- import { LangGraphOrchestratorService as c } from "./langgraph/langgraph-orchestrator.service.js";
9
- import { GuardrailModule as l } from "../guardrail/guardrail.module.js";
10
- import { SkillModule as u } from "../skill/skill.module.js";
11
- import { ToolModule as d } from "../tool/tool.module.js";
12
- import { StoreModule as f } from "../store/store.module.js";
13
- import { MemoryModule as p } from "../memory/memory.module.js";
14
- import { AiRuntimeStartupValidator as m } from "./ai-runtime-startup.validator.js";
15
- import { Module as h } from "@nestjs/common";
16
- import g from "@oxc-project/runtime/helpers/decorate";
1
+ import { AgentScannerService as e } from "../agent/agent-scanner.service.js";
2
+ import { AiConfigService as t } from "../ai-config.service.js";
3
+ import { provideAiService as n } from "../nest-service-provider.js";
4
+ import { AgentModule as r } from "../agent/agent.module.js";
5
+ import { THREAD_EXECUTION_COORDINATOR as i, resolveThreadExecutionCoordinator as a } from "./thread-execution-coordinator.js";
6
+ import { LangGraphOrchestratorService as o } from "./langgraph/langgraph-orchestrator.service.js";
7
+ import { ToolRegistryService as s } from "../tool/tool-registry.service.js";
8
+ import { TraceService as c } from "../trace/trace.service.js";
9
+ import { GuardrailService as l } from "../guardrail/guardrail.service.js";
10
+ import { GuardrailModule as u } from "../guardrail/guardrail.module.js";
11
+ import { CheckpointService as d } from "../memory/checkpoint.service.js";
12
+ import { THREAD_STATE_STORE as f, TRACE_STORE as p } from "../store/store.interface.js";
13
+ import { StoreModule as m } from "../store/store.module.js";
14
+ import { ThreadService as h } from "../memory/thread.service.js";
15
+ import { MemoryModule as g } from "../memory/memory.module.js";
16
+ import { ConversationRetentionService as _ } from "../retention/conversation-retention.service.js";
17
+ import { SkillScannerService as v } from "../skill/skill-scanner.service.js";
18
+ import { SkillModule as y } from "../skill/skill.module.js";
19
+ import { ExecutorService as b } from "../tool/executor.service.js";
20
+ import { ToolModule as x } from "../tool/tool.module.js";
21
+ import { AiRuntimeStartupValidator as S } from "./ai-runtime-startup.validator.js";
22
+ import { ContextCompactionService as C } from "./internal/context-compaction.service.js";
23
+ import { LangChainPlannerService as w } from "./langchain/langchain-planner.service.js";
24
+ import { Logger as T, Module as E } from "@nestjs/common";
25
+ import D from "@oxc-project/runtime/helpers/decorate";
17
26
  //#region app/ai/runtime/runtime.module.ts
18
- var _ = class {};
19
- _ = g([h({
27
+ var O = class {};
28
+ O = D([E({
20
29
  imports: [
21
- t,
30
+ r,
31
+ y,
32
+ x,
33
+ g,
22
34
  u,
23
- d,
24
- p,
25
- l,
26
- f
35
+ m
27
36
  ],
28
37
  providers: [
29
- o,
30
- s,
31
- a,
32
- c,
33
- n,
38
+ n(w, t),
39
+ n(C, w, d),
34
40
  {
35
- provide: r,
36
- useFactory: i,
37
- inject: [e]
41
+ provide: i,
42
+ useFactory: a,
43
+ inject: [t]
38
44
  },
39
- m
45
+ n(S, t, f, i),
46
+ {
47
+ provide: _,
48
+ inject: [
49
+ t,
50
+ f,
51
+ i
52
+ ],
53
+ useFactory: (e, t, n) => new _(e, t, n, new T(_.name))
54
+ },
55
+ {
56
+ provide: c,
57
+ inject: [p, t],
58
+ useFactory: (e, t) => new c(e, t, new T(c.name))
59
+ },
60
+ n(o, w, b, e, v, s, c, l, h, d, t, C, i, _)
40
61
  ],
41
- exports: [c, n]
42
- })], _);
62
+ exports: [o, c]
63
+ })], O);
43
64
  //#endregion
44
- export { _ as RuntimeModule };
65
+ export { O as RuntimeModule };
@@ -1,17 +1,12 @@
1
- import { AiConfigService as e } from "../ai-config.service.js";
2
- import { findAiDeclarationFiles as t } from "../declaration-paths.js";
3
- import { Injectable as n } from "@nestjs/common";
4
- import { pathToFileURL as r } from "node:url";
5
- import i from "@oxc-project/runtime/helpers/decorateMetadata";
6
- import a from "@oxc-project/runtime/helpers/decorate";
1
+ import { findAiDeclarationFiles as e } from "../declaration-paths.js";
2
+ import { pathToFileURL as t } from "node:url";
7
3
  //#region app/ai/skill/skill-scanner.service.ts
8
- var o;
9
- function s(e) {
4
+ function n(e) {
10
5
  if (typeof e != "object" || !e) return !1;
11
6
  let t = e;
12
- return typeof t.name == "string" && t.name.trim() !== "" && typeof t.description == "string" && typeof t.inputSchema == "object" && t.inputSchema !== null && typeof t.execute == "function";
7
+ return typeof t.name == "string" && t.name.trim() !== "" && t.name.trim() === t.name && typeof t.description == "string" && typeof t.inputSchema == "object" && t.inputSchema !== null && !Array.isArray(t.inputSchema) && typeof t.execute == "function";
13
8
  }
14
- var c = class {
9
+ var r = class {
15
10
  skills = /* @__PURE__ */ new Map();
16
11
  constructor(e) {
17
12
  this.configService = e;
@@ -42,16 +37,16 @@ var c = class {
42
37
  }
43
38
  }
44
39
  findSkillFiles() {
45
- return t(this.configService, "skill");
40
+ return e(this.configService, "skill");
46
41
  }
47
42
  async loadSkill(e) {
48
43
  try {
49
- let t = await import(r(e).href), n = [t?.default, t].find(s);
50
- if (!n) {
44
+ let r = await import(t(e).href), i = [r?.default, r].find(n);
45
+ if (!i) {
51
46
  console.log(`[ai] skill skipped, invalid definition: ${e}`);
52
47
  return;
53
48
  }
54
- return n;
49
+ return i;
55
50
  } catch (t) {
56
51
  let n = t instanceof Error ? t.message : String(t);
57
52
  console.log(`[ai] skill skipped, load failed: ${e} - ${n}`);
@@ -59,6 +54,7 @@ var c = class {
59
54
  }
60
55
  }
61
56
  register(e) {
57
+ if (!n(e)) throw Error("[ai] invalid Skill definition: name, description, inputSchema and execute are required");
62
58
  this.skills.has(e.name) && console.log(`[ai] skill overwritten: ${e.name}`), this.skills.set(e.name, e);
63
59
  }
64
60
  logRegisteredSkills() {
@@ -66,6 +62,5 @@ var c = class {
66
62
  console.log(`[ai] skills registered (${e.length}): ${e.join(", ")}`);
67
63
  }
68
64
  };
69
- c = a([n(), i("design:paramtypes", [typeof (o = e !== void 0 && e) == "function" ? o : Object])], c);
70
65
  //#endregion
71
- export { c as SkillScannerService };
66
+ export { r as SkillScannerService };
@@ -1,11 +1,13 @@
1
- import { SkillScannerService as e } from "./skill-scanner.service.js";
2
- import { Module as t } from "@nestjs/common";
3
- import n from "@oxc-project/runtime/helpers/decorate";
1
+ import { AiConfigService as e } from "../ai-config.service.js";
2
+ import { provideAiService as t } from "../nest-service-provider.js";
3
+ import { SkillScannerService as n } from "./skill-scanner.service.js";
4
+ import { Module as r } from "@nestjs/common";
5
+ import i from "@oxc-project/runtime/helpers/decorate";
4
6
  //#region app/ai/skill/skill.module.ts
5
- var r = class {};
6
- r = n([t({
7
- providers: [e],
8
- exports: [e]
9
- })], r);
7
+ var a = class {};
8
+ a = i([r({
9
+ providers: [t(n, e)],
10
+ exports: [n]
11
+ })], a);
10
12
  //#endregion
11
- export { r as SkillModule };
13
+ export { a as SkillModule };
@@ -0,0 +1,24 @@
1
+ //#region app/ai/snapshot-data.ts
2
+ function e(t, n = /* @__PURE__ */ new WeakMap()) {
3
+ if (typeof t != "object" || !t) return t;
4
+ if (n.has(t)) return n.get(t);
5
+ if (Array.isArray(t)) {
6
+ let r = [];
7
+ n.set(t, r);
8
+ for (let i of t) r.push(e(i, n));
9
+ return r;
10
+ }
11
+ let r = Object.getPrototypeOf(t);
12
+ if (r !== Object.prototype && r !== null) return t;
13
+ let i = Object.create(r);
14
+ n.set(t, i);
15
+ for (let [r, a] of Object.entries(t)) Object.defineProperty(i, r, {
16
+ value: e(a, n),
17
+ enumerable: !0,
18
+ writable: !0,
19
+ configurable: !0
20
+ });
21
+ return i;
22
+ }
23
+ //#endregion
24
+ export { e as snapshotData };
@@ -0,0 +1,10 @@
1
+ import { resolveVectorStoreConfig as e } from "./load-store-config.js";
2
+ import { FileVectorStore as t } from "../reference/file-vector.store.js";
3
+ import { QdrantVectorStore as n } from "../reference/qdrant-vector.store.js";
4
+ //#region app/ai/store/internal/create-vector-store.ts
5
+ function r(r) {
6
+ let i = e(r);
7
+ return i.driver === "qdrant" ? new n(i.url, i.collection) : new t(i.path);
8
+ }
9
+ //#endregion
10
+ export { r as createVectorStore };
@@ -1,15 +1,14 @@
1
1
  import { AiConfigService as e } from "../ai-config.service.js";
2
2
  import { THREAD_STATE_STORE as t, TRACE_STORE as n, VECTOR_STORE as r } from "./store.interface.js";
3
- import { resolveTraceStorePath as i, resolveVectorStoreConfig as a } from "./internal/load-store-config.js";
3
+ import { resolveTraceStorePath as i } from "./internal/load-store-config.js";
4
+ import { createVectorStore as a } from "./internal/create-vector-store.js";
4
5
  import { resolveThreadStateStore as o } from "./internal/load-thread-state-store.js";
5
6
  import { FileTraceStore as s } from "./reference/file-trace.store.js";
6
- import { FileVectorStore as c } from "./reference/file-vector.store.js";
7
- import { QdrantVectorStore as l } from "./reference/qdrant-vector.store.js";
8
- import { Module as u } from "@nestjs/common";
9
- import d from "@oxc-project/runtime/helpers/decorate";
7
+ import { Module as c } from "@nestjs/common";
8
+ import l from "@oxc-project/runtime/helpers/decorate";
10
9
  //#region app/ai/store/store.module.ts
11
- var f = class {};
12
- f = d([u({
10
+ var u = class {};
11
+ u = l([c({
13
12
  providers: [
14
13
  {
15
14
  provide: n,
@@ -18,10 +17,7 @@ f = d([u({
18
17
  },
19
18
  {
20
19
  provide: r,
21
- useFactory: (e) => {
22
- let t = a(e);
23
- return t.driver === "qdrant" ? new l(t.url, t.collection) : new c(t.path);
24
- },
20
+ useFactory: a,
25
21
  inject: [e]
26
22
  },
27
23
  {
@@ -35,6 +31,6 @@ f = d([u({
35
31
  r,
36
32
  t
37
33
  ]
38
- })], f);
34
+ })], u);
39
35
  //#endregion
40
- export { f as StoreModule };
36
+ export { u as StoreModule };
@@ -1,6 +1,18 @@
1
- import e from "./invoke-agent.tool.js";
2
- import t from "./retrieve.tool.js";
1
+ import { AgentScannerService as e } from "../../agent/agent-scanner.service.js";
2
+ import { AiConfigService as t } from "../../ai-config.service.js";
3
+ import { resolveMaxDelegationDepth as n } from "../../runtime/internal/load-runtime-config.js";
4
+ import { resolveRagOptions as r } from "../../rag/internal/load-rag-config.js";
5
+ import { RetrieverService as i } from "../../rag/retriever.service.js";
6
+ import { createInvokeAgentTool as a } from "./invoke-agent.tool.js";
7
+ import { createRetrieveTool as o } from "./retrieve.tool.js";
3
8
  //#region app/ai/tool/builtin/index.ts
4
- var n = [t, e];
9
+ var s = [({ moduleRef: e }) => o(r(e.get(t, { strict: !1 })).tool, (t) => e.get(i, { strict: !1 }).retrieve(t)), ({ moduleRef: r }) => a({
10
+ maxDepth: n(r.get(t, { strict: !1 })),
11
+ findAgent: (t) => r.get(e, { strict: !1 }).get(t),
12
+ async run(...e) {
13
+ let { LangGraphOrchestratorService: t } = await import("../../runtime/langgraph/langgraph-orchestrator.service.js");
14
+ return r.get(t, { strict: !1 }).run(...e);
15
+ }
16
+ })];
5
17
  //#endregion
6
- export { n as builtinTools };
18
+ export { s as builtinTools };
@@ -1,9 +1,6 @@
1
- import { AiConfigService as e } from "../../ai-config.service.js";
2
- import { AgentScannerService as t } from "../../agent/agent-scanner.service.js";
3
- import { agentRunContext as n } from "../../runtime/internal/agent-run-context.js";
4
- import { resolveMaxDelegationDepth as r } from "../../runtime/internal/load-runtime-config.js";
1
+ import { agentRunContext as e } from "../../runtime/internal/agent-run-context.js";
5
2
  //#region app/ai/tool/builtin/invoke-agent.tool.ts
6
- var i = ({ moduleRef: i }) => ({
3
+ var t = (t) => ({
7
4
  name: "invoke_agent",
8
5
  description: "按名字调用一个已注册的 Agent,返回本次运行的 runId 和 output。",
9
6
  source: "builtin",
@@ -21,55 +18,54 @@ var i = ({ moduleRef: i }) => ({
21
18
  },
22
19
  required: ["agent", "input"]
23
20
  },
24
- async execute(a) {
25
- let o = n.getStore(), s = typeof a == "object" && a ? a : {}, c = typeof s.agent == "string" ? s.agent.trim() : "", l = {
21
+ async execute(n) {
22
+ let r = e.getStore(), i = typeof n == "object" && n ? n : {}, a = typeof i.agent == "string" ? i.agent.trim() : "", o = {
26
23
  type: "delegation",
27
24
  name: "invoke_agent",
28
25
  source: "builtin",
29
- ...c ? { agent: c } : {},
30
- input: s.input,
26
+ ...a ? { agent: a } : {},
27
+ input: i.input,
31
28
  status: "running",
32
29
  startedAt: (/* @__PURE__ */ new Date()).toISOString()
33
- }, u = async (e, t) => (l.status = "error", l.error = t, l.endedAt = (/* @__PURE__ */ new Date()).toISOString(), await o?.record(l), {
30
+ }, s = async (e, t) => (o.status = "error", o.error = t, o.endedAt = (/* @__PURE__ */ new Date()).toISOString(), await r?.record(o), {
34
31
  ok: !1,
35
32
  error: {
36
33
  code: e,
37
34
  message: t,
38
- ...c ? { agent: c } : {}
35
+ ...a ? { agent: a } : {}
39
36
  }
40
37
  });
41
38
  try {
42
- if (!o) return await u("NO_RUN_CONTEXT", "invoke_agent 需要在 Agent 运行中调用");
43
- if (c === "") return await u("INVALID_AGENT", "agent 必须是非空字符串");
44
- if (c === o.agent || o.stack.includes(c)) return await u("DELEGATION_CYCLE", `禁止调用栈内的 Agent:${c}`);
45
- let n = i.get(e, { strict: !1 });
46
- if (o.stack.length - 1 >= r(n)) return await u("MAX_DELEGATION_DEPTH", "已达到最大委派深度");
47
- let a = i.get(t, { strict: !1 }).get(c);
48
- if (!a) return await u("UNKNOWN_AGENT", `Agent 未注册:${c}`);
49
- let d = typeof s.input == "string" ? s.input : JSON.stringify(s.input);
50
- if (d === void 0) return await u("INVALID_INPUT", "input 必须能序列化为字符串");
51
- let { LangGraphOrchestratorService: f } = await import("../../runtime/langgraph/langgraph-orchestrator.service.js"), p = i.get(f, { strict: !1 }), m = o.emit ? (e) => {
52
- if (e.type !== "step") return;
53
- let t = e.step;
54
- o.emit?.({
39
+ if (!r) return await s("NO_RUN_CONTEXT", "invoke_agent 需要在 Agent 运行中调用");
40
+ if (a === "") return await s("INVALID_AGENT", "agent 必须是非空字符串");
41
+ if (a === r.agent || r.stack.includes(a)) return await s("DELEGATION_CYCLE", `禁止调用栈内的 Agent:${a}`);
42
+ if (r.stack.length - 1 >= t.maxDepth) return await s("MAX_DELEGATION_DEPTH", "已达到最大委派深度");
43
+ let e = t.findAgent(a);
44
+ if (!e) return await s("UNKNOWN_AGENT", `Agent 未注册:${a}`);
45
+ let n = typeof i.input == "string" ? i.input : JSON.stringify(i.input);
46
+ if (n === void 0) return await s("INVALID_INPUT", "input 必须能序列化为字符串");
47
+ let c = r.emit ? (t) => {
48
+ if (t.type !== "step") return;
49
+ let n = t.step;
50
+ r.emit?.({
55
51
  type: "step",
56
52
  step: {
57
- ...t,
58
- agent: t.agent ?? a.name,
59
- parentRunId: t.parentRunId ?? o.runId
53
+ ...n,
54
+ agent: n.agent ?? e.name,
55
+ parentRunId: n.parentRunId ?? r.runId
60
56
  }
61
57
  });
62
- } : void 0, h = await p.run(a.name, d, void 0, m, { onStart: async (e) => {
63
- l.childRunId = e, await o.record(l);
58
+ } : void 0, l = await t.run(e.name, n, void 0, c, { onStart: async (e) => {
59
+ o.childRunId = e, await r.record(o);
64
60
  } });
65
- return l.childRunId = h.runId, l.steps = h.steps, l.output = h.output, l.status = "done", l.endedAt = (/* @__PURE__ */ new Date()).toISOString(), await o.record(l), {
66
- runId: h.runId,
67
- output: h.output
61
+ return o.childRunId = l.runId, o.steps = l.steps, o.output = l.output, o.status = "done", o.endedAt = (/* @__PURE__ */ new Date()).toISOString(), await r.record(o), {
62
+ runId: l.runId,
63
+ output: l.output
68
64
  };
69
65
  } catch (e) {
70
66
  let t = e instanceof Error ? e.message : String(e);
71
67
  try {
72
- return await u("DELEGATION_FAILED", t);
68
+ return await s("DELEGATION_FAILED", t);
73
69
  } catch {
74
70
  return {
75
71
  ok: !1,
@@ -83,4 +79,4 @@ var i = ({ moduleRef: i }) => ({
83
79
  }
84
80
  });
85
81
  //#endregion
86
- export { i as default };
82
+ export { t as createInvokeAgentTool };
@@ -1,12 +1,8 @@
1
- import { AiConfigService as e } from "../../ai-config.service.js";
2
- import { resolveRagOptions as t } from "../../rag/internal/load-rag-config.js";
3
- import { RetrieverService as n } from "../../rag/retriever.service.js";
4
1
  //#region app/ai/tool/builtin/retrieve.tool.ts
5
- var r = ({ moduleRef: r }) => {
6
- let i = t(r.get(e, { strict: !1 }));
2
+ function e(e, t) {
7
3
  return {
8
- name: i.tool.name,
9
- description: i.tool.description,
4
+ name: e.name,
5
+ description: e.description,
10
6
  source: "builtin",
11
7
  inputSchema: {
12
8
  type: "object",
@@ -18,14 +14,14 @@ var r = ({ moduleRef: r }) => {
18
14
  },
19
15
  async execute(e) {
20
16
  if (typeof e != "object" || !e) throw Error("[retrieve] 参数错误:input 必须是 { query: string }");
21
- let t = e.query;
22
- if (typeof t != "string" || t.trim() === "") throw Error("[retrieve] 参数错误:缺少 query(非空字符串)");
17
+ let n = e.query;
18
+ if (typeof n != "string" || n.trim() === "") throw Error("[retrieve] 参数错误:缺少 query(非空字符串)");
23
19
  return {
24
- query: t,
25
- hits: await r.get(n, { strict: !1 }).retrieve(t)
20
+ query: n,
21
+ hits: await t(n)
26
22
  };
27
23
  }
28
24
  };
29
- };
25
+ }
30
26
  //#endregion
31
- export { r as default };
27
+ export { e as createRetrieveTool };
@@ -1,11 +1,5 @@
1
- import { SkillScannerService as e } from "../skill/skill-scanner.service.js";
2
- import { ToolRegistryService as t } from "./tool-registry.service.js";
3
- import { Injectable as n } from "@nestjs/common";
4
- import r from "@oxc-project/runtime/helpers/decorateMetadata";
5
- import i from "@oxc-project/runtime/helpers/decorate";
6
1
  //#region app/ai/tool/executor.service.ts
7
- var a, o;
8
- function s(e) {
2
+ function e(e) {
9
3
  if (e == null) return { ok: !0 };
10
4
  if (typeof e != "string") return {
11
5
  ok: !0,
@@ -27,7 +21,7 @@ function s(e) {
27
21
  };
28
22
  }
29
23
  }
30
- var c = class {
24
+ var t = class {
31
25
  constructor(e, t) {
32
26
  this.skillScanner = e, this.toolRegistry = t;
33
27
  }
@@ -42,37 +36,36 @@ var c = class {
42
36
  error: `未注册的 skill / tool:${e}`
43
37
  };
44
38
  }
45
- async invoke(e, t, n, r, i) {
46
- let a = s(n);
47
- if (!a.ok) return {
39
+ async invoke(t, n, r, i, a) {
40
+ let o = e(r);
41
+ if (!o.ok) return {
48
42
  ok: !1,
49
- kind: e,
50
- name: t,
51
- source: i,
52
- error: a.error
43
+ kind: t,
44
+ name: n,
45
+ source: a,
46
+ error: o.error
53
47
  };
54
- let o = a.value;
48
+ let s = o.value;
55
49
  try {
56
50
  return {
57
51
  ok: !0,
58
- kind: e,
59
- name: t,
60
- source: i,
61
- input: o,
62
- output: await r(o)() ?? null
52
+ kind: t,
53
+ name: n,
54
+ source: a,
55
+ input: s,
56
+ output: await i(s)() ?? null
63
57
  };
64
- } catch (n) {
58
+ } catch (e) {
65
59
  return {
66
60
  ok: !1,
67
- kind: e,
68
- name: t,
69
- source: i,
70
- input: o,
71
- error: n instanceof Error ? n.message : String(n)
61
+ kind: t,
62
+ name: n,
63
+ source: a,
64
+ input: s,
65
+ error: e instanceof Error ? e.message : String(e)
72
66
  };
73
67
  }
74
68
  }
75
69
  };
76
- c = i([n(), r("design:paramtypes", [typeof (a = e !== void 0 && e) == "function" ? a : Object, typeof (o = t !== void 0 && t) == "function" ? o : Object])], c);
77
70
  //#endregion
78
- export { c as ExecutorService };
71
+ export { t as ExecutorService };
@@ -1,21 +1,12 @@
1
- import { builtinTools as e } from "./builtin/index.js";
2
- import { Injectable as t } from "@nestjs/common";
3
- import { ModuleRef as n } from "@nestjs/core";
4
- import r from "@oxc-project/runtime/helpers/decorateMetadata";
5
- import i from "@oxc-project/runtime/helpers/decorate";
6
1
  //#region app/ai/tool/tool-registry.service.ts
7
- var a, o = class {
2
+ var e = class {
8
3
  tools = /* @__PURE__ */ new Map();
9
- constructor(e) {
10
- this.moduleRef = e;
11
- }
12
- onModuleInit() {
13
- for (let t of e) this.register(t({ moduleRef: this.moduleRef }));
14
- let t = this.listNames();
15
- console.log(`[ai] tools registered (${t.length}): ${t.join(", ")}`);
16
- }
17
4
  register(e) {
18
5
  if (typeof e?.name != "string" || e.name.trim() === "") throw Error("[ai] tool register fail: name 必填(非空字符串)");
6
+ if (e.name.trim() !== e.name) throw Error(`[ai] tool register fail: name must not include surrounding whitespace (${e.name})`);
7
+ if (typeof e.description != "string") throw Error(`[ai] tool register fail: description must be a string (${e.name})`);
8
+ if (typeof e.inputSchema != "object" || e.inputSchema === null || Array.isArray(e.inputSchema)) throw Error(`[ai] tool register fail: inputSchema must be an object (${e.name})`);
9
+ if (typeof e.execute != "function") throw Error(`[ai] tool register fail: execute must be a function (${e.name})`);
19
10
  this.tools.has(e.name) && console.log(`[ai] tool overwritten: ${e.name}`), this.tools.set(e.name, e);
20
11
  }
21
12
  get(e) {
@@ -28,6 +19,5 @@ var a, o = class {
28
19
  return [...this.tools.keys()];
29
20
  }
30
21
  };
31
- o = i([t(), r("design:paramtypes", [typeof (a = n !== void 0 && n) == "function" ? a : Object])], o);
32
22
  //#endregion
33
- export { o as ToolRegistryService };
23
+ export { e as ToolRegistryService };
@@ -1,14 +1,28 @@
1
- import { ToolRegistryService as e } from "./tool-registry.service.js";
2
- import { ExecutorService as t } from "./executor.service.js";
3
- import { SkillModule as n } from "../skill/skill.module.js";
4
- import { Module as r } from "@nestjs/common";
5
- import i from "@oxc-project/runtime/helpers/decorate";
1
+ import { provideAiService as e } from "../nest-service-provider.js";
2
+ import { ToolRegistryService as t } from "./tool-registry.service.js";
3
+ import { SkillScannerService as n } from "../skill/skill-scanner.service.js";
4
+ import { SkillModule as r } from "../skill/skill.module.js";
5
+ import { ExecutorService as i } from "./executor.service.js";
6
+ import { builtinTools as a } from "./builtin/index.js";
7
+ import { Module as o } from "@nestjs/common";
8
+ import s from "@oxc-project/runtime/helpers/decorate";
9
+ import { ModuleRef as c } from "@nestjs/core";
10
+ import l from "@oxc-project/runtime/helpers/decorateMetadata";
6
11
  //#region app/ai/tool/tool.module.ts
7
- var a = class {};
8
- a = i([r({
9
- imports: [n],
10
- providers: [e, t],
11
- exports: [e, t]
12
- })], a);
12
+ var u, d, f = class {
13
+ constructor(e, t) {
14
+ this.registry = e, this.moduleRef = t;
15
+ }
16
+ onModuleInit() {
17
+ for (let e of a) this.registry.register(e({ moduleRef: this.moduleRef }));
18
+ let e = this.registry.listNames();
19
+ console.log(`[ai] tools registered (${e.length}): ${e.join(", ")}`);
20
+ }
21
+ };
22
+ f = s([o({
23
+ imports: [r],
24
+ providers: [t, e(i, n, t)],
25
+ exports: [t, i]
26
+ }), l("design:paramtypes", [typeof (u = t !== void 0 && t) == "function" ? u : Object, typeof (d = c !== void 0 && c) == "function" ? d : Object])], f);
13
27
  //#endregion
14
- export { a as ToolModule };
28
+ export { f as ToolModule };