aec-agent 1.0.0

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 (574) hide show
  1. package/README.md +1 -0
  2. package/dist/agent-core.d.ts +81 -0
  3. package/dist/agent-core.d.ts.map +1 -0
  4. package/dist/agent-core.js +168 -0
  5. package/dist/agent-core.js.map +1 -0
  6. package/dist/components/artifact-hub/agent-artifact-view.d.ts +31 -0
  7. package/dist/components/artifact-hub/agent-artifact-view.d.ts.map +1 -0
  8. package/dist/components/artifact-hub/agent-artifact-view.js +264 -0
  9. package/dist/components/artifact-hub/agent-artifact-view.js.map +1 -0
  10. package/dist/components/artifact-hub/artifact-hub.d.ts +25 -0
  11. package/dist/components/artifact-hub/artifact-hub.d.ts.map +1 -0
  12. package/dist/components/artifact-hub/artifact-hub.js +39 -0
  13. package/dist/components/artifact-hub/artifact-hub.js.map +1 -0
  14. package/dist/components/artifact-hub/types/artifact.d.ts +158 -0
  15. package/dist/components/artifact-hub/types/artifact.d.ts.map +1 -0
  16. package/dist/components/artifact-hub/types/artifact.js +14 -0
  17. package/dist/components/artifact-hub/types/artifact.js.map +1 -0
  18. package/dist/components/event-handler/event-dispatcher.d.ts +17 -0
  19. package/dist/components/event-handler/event-dispatcher.d.ts.map +1 -0
  20. package/dist/components/event-handler/event-dispatcher.js +47 -0
  21. package/dist/components/event-handler/event-dispatcher.js.map +1 -0
  22. package/dist/components/event-handler/events.d.ts +154 -0
  23. package/dist/components/event-handler/events.d.ts.map +1 -0
  24. package/dist/components/event-handler/events.js +28 -0
  25. package/dist/components/event-handler/events.js.map +1 -0
  26. package/dist/components/event-handler/types.d.ts +10 -0
  27. package/dist/components/event-handler/types.d.ts.map +1 -0
  28. package/dist/components/event-handler/types.js +2 -0
  29. package/dist/components/event-handler/types.js.map +1 -0
  30. package/dist/components/llm-provider-hub/llm-provider-hub.d.ts +14 -0
  31. package/dist/components/llm-provider-hub/llm-provider-hub.d.ts.map +1 -0
  32. package/dist/components/llm-provider-hub/llm-provider-hub.js +34 -0
  33. package/dist/components/llm-provider-hub/llm-provider-hub.js.map +1 -0
  34. package/dist/components/llm-provider-hub/providers/anthropic-provider.d.ts +22 -0
  35. package/dist/components/llm-provider-hub/providers/anthropic-provider.d.ts.map +1 -0
  36. package/dist/components/llm-provider-hub/providers/anthropic-provider.js +249 -0
  37. package/dist/components/llm-provider-hub/providers/anthropic-provider.js.map +1 -0
  38. package/dist/components/llm-provider-hub/providers/bedrock-provider.d.ts +28 -0
  39. package/dist/components/llm-provider-hub/providers/bedrock-provider.d.ts.map +1 -0
  40. package/dist/components/llm-provider-hub/providers/bedrock-provider.js +345 -0
  41. package/dist/components/llm-provider-hub/providers/bedrock-provider.js.map +1 -0
  42. package/dist/components/llm-provider-hub/providers/model-info-mappers.d.ts +6 -0
  43. package/dist/components/llm-provider-hub/providers/model-info-mappers.d.ts.map +1 -0
  44. package/dist/components/llm-provider-hub/providers/model-info-mappers.js +267 -0
  45. package/dist/components/llm-provider-hub/providers/model-info-mappers.js.map +1 -0
  46. package/dist/components/llm-provider-hub/providers/openai-compatible-provider.d.ts +24 -0
  47. package/dist/components/llm-provider-hub/providers/openai-compatible-provider.d.ts.map +1 -0
  48. package/dist/components/llm-provider-hub/providers/openai-compatible-provider.js +243 -0
  49. package/dist/components/llm-provider-hub/providers/openai-compatible-provider.js.map +1 -0
  50. package/dist/components/llm-provider-hub/providers/openai-subscription-provider.d.ts +29 -0
  51. package/dist/components/llm-provider-hub/providers/openai-subscription-provider.d.ts.map +1 -0
  52. package/dist/components/llm-provider-hub/providers/openai-subscription-provider.js +299 -0
  53. package/dist/components/llm-provider-hub/providers/openai-subscription-provider.js.map +1 -0
  54. package/dist/components/llm-provider-hub/providers/registry.d.ts +6 -0
  55. package/dist/components/llm-provider-hub/providers/registry.d.ts.map +1 -0
  56. package/dist/components/llm-provider-hub/providers/registry.js +33 -0
  57. package/dist/components/llm-provider-hub/providers/registry.js.map +1 -0
  58. package/dist/components/llm-provider-hub/providers/types.d.ts +29 -0
  59. package/dist/components/llm-provider-hub/providers/types.d.ts.map +1 -0
  60. package/dist/components/llm-provider-hub/providers/types.js +2 -0
  61. package/dist/components/llm-provider-hub/providers/types.js.map +1 -0
  62. package/dist/components/llm-provider-hub/types.d.ts +84 -0
  63. package/dist/components/llm-provider-hub/types.d.ts.map +1 -0
  64. package/dist/components/llm-provider-hub/types.js +6 -0
  65. package/dist/components/llm-provider-hub/types.js.map +1 -0
  66. package/dist/components/multi-agent-orchestration/agent/agent-loop/agent-loop.d.ts +85 -0
  67. package/dist/components/multi-agent-orchestration/agent/agent-loop/agent-loop.d.ts.map +1 -0
  68. package/dist/components/multi-agent-orchestration/agent/agent-loop/agent-loop.js +500 -0
  69. package/dist/components/multi-agent-orchestration/agent/agent-loop/agent-loop.js.map +1 -0
  70. package/dist/components/multi-agent-orchestration/agent/agent-loop/components/abort.d.ts +29 -0
  71. package/dist/components/multi-agent-orchestration/agent/agent-loop/components/abort.d.ts.map +1 -0
  72. package/dist/components/multi-agent-orchestration/agent/agent-loop/components/abort.js +98 -0
  73. package/dist/components/multi-agent-orchestration/agent/agent-loop/components/abort.js.map +1 -0
  74. package/dist/components/multi-agent-orchestration/agent/agent-loop/components/compactor.d.ts +16 -0
  75. package/dist/components/multi-agent-orchestration/agent/agent-loop/components/compactor.d.ts.map +1 -0
  76. package/dist/components/multi-agent-orchestration/agent/agent-loop/components/compactor.js +116 -0
  77. package/dist/components/multi-agent-orchestration/agent/agent-loop/components/compactor.js.map +1 -0
  78. package/dist/components/multi-agent-orchestration/agent/agent-loop/components/compactor.types.d.ts +41 -0
  79. package/dist/components/multi-agent-orchestration/agent/agent-loop/components/compactor.types.d.ts.map +1 -0
  80. package/dist/components/multi-agent-orchestration/agent/agent-loop/components/compactor.types.js +2 -0
  81. package/dist/components/multi-agent-orchestration/agent/agent-loop/components/compactor.types.js.map +1 -0
  82. package/dist/components/multi-agent-orchestration/agent/agent-loop/components/counter.d.ts +69 -0
  83. package/dist/components/multi-agent-orchestration/agent/agent-loop/components/counter.d.ts.map +1 -0
  84. package/dist/components/multi-agent-orchestration/agent/agent-loop/components/counter.js +147 -0
  85. package/dist/components/multi-agent-orchestration/agent/agent-loop/components/counter.js.map +1 -0
  86. package/dist/components/multi-agent-orchestration/agent/agent-loop/components/harness-executor.d.ts +55 -0
  87. package/dist/components/multi-agent-orchestration/agent/agent-loop/components/harness-executor.d.ts.map +1 -0
  88. package/dist/components/multi-agent-orchestration/agent/agent-loop/components/harness-executor.js +406 -0
  89. package/dist/components/multi-agent-orchestration/agent/agent-loop/components/harness-executor.js.map +1 -0
  90. package/dist/components/multi-agent-orchestration/agent/agent-loop/components/run-trace.d.ts +19 -0
  91. package/dist/components/multi-agent-orchestration/agent/agent-loop/components/run-trace.d.ts.map +1 -0
  92. package/dist/components/multi-agent-orchestration/agent/agent-loop/components/run-trace.js +28 -0
  93. package/dist/components/multi-agent-orchestration/agent/agent-loop/components/run-trace.js.map +1 -0
  94. package/dist/components/multi-agent-orchestration/agent/agent-loop/components/summarizer.d.ts +17 -0
  95. package/dist/components/multi-agent-orchestration/agent/agent-loop/components/summarizer.d.ts.map +1 -0
  96. package/dist/components/multi-agent-orchestration/agent/agent-loop/components/summarizer.js +55 -0
  97. package/dist/components/multi-agent-orchestration/agent/agent-loop/components/summarizer.js.map +1 -0
  98. package/dist/components/multi-agent-orchestration/agent/agent-loop/components/summarizer.types.d.ts +3 -0
  99. package/dist/components/multi-agent-orchestration/agent/agent-loop/components/summarizer.types.d.ts.map +1 -0
  100. package/dist/components/multi-agent-orchestration/agent/agent-loop/components/summarizer.types.js +2 -0
  101. package/dist/components/multi-agent-orchestration/agent/agent-loop/components/summarizer.types.js.map +1 -0
  102. package/dist/components/multi-agent-orchestration/agent/agent-loop/components/tool-pairing.d.ts +20 -0
  103. package/dist/components/multi-agent-orchestration/agent/agent-loop/components/tool-pairing.d.ts.map +1 -0
  104. package/dist/components/multi-agent-orchestration/agent/agent-loop/components/tool-pairing.js +56 -0
  105. package/dist/components/multi-agent-orchestration/agent/agent-loop/components/tool-pairing.js.map +1 -0
  106. package/dist/components/multi-agent-orchestration/agent/agent-loop/functions/llm-input.d.ts +23 -0
  107. package/dist/components/multi-agent-orchestration/agent/agent-loop/functions/llm-input.d.ts.map +1 -0
  108. package/dist/components/multi-agent-orchestration/agent/agent-loop/functions/llm-input.js +127 -0
  109. package/dist/components/multi-agent-orchestration/agent/agent-loop/functions/llm-input.js.map +1 -0
  110. package/dist/components/multi-agent-orchestration/agent/agent-loop/functions/memory-recall.d.ts +9 -0
  111. package/dist/components/multi-agent-orchestration/agent/agent-loop/functions/memory-recall.d.ts.map +1 -0
  112. package/dist/components/multi-agent-orchestration/agent/agent-loop/functions/memory-recall.js +40 -0
  113. package/dist/components/multi-agent-orchestration/agent/agent-loop/functions/memory-recall.js.map +1 -0
  114. package/dist/components/multi-agent-orchestration/agent/agent-loop/types.d.ts +135 -0
  115. package/dist/components/multi-agent-orchestration/agent/agent-loop/types.d.ts.map +1 -0
  116. package/dist/components/multi-agent-orchestration/agent/agent-loop/types.js +31 -0
  117. package/dist/components/multi-agent-orchestration/agent/agent-loop/types.js.map +1 -0
  118. package/dist/components/multi-agent-orchestration/agent/agent.d.ts +93 -0
  119. package/dist/components/multi-agent-orchestration/agent/agent.d.ts.map +1 -0
  120. package/dist/components/multi-agent-orchestration/agent/agent.js +223 -0
  121. package/dist/components/multi-agent-orchestration/agent/agent.js.map +1 -0
  122. package/dist/components/multi-agent-orchestration/agent/artifact-manager/artifact-manager.d.ts +18 -0
  123. package/dist/components/multi-agent-orchestration/agent/artifact-manager/artifact-manager.d.ts.map +1 -0
  124. package/dist/components/multi-agent-orchestration/agent/artifact-manager/artifact-manager.js +20 -0
  125. package/dist/components/multi-agent-orchestration/agent/artifact-manager/artifact-manager.js.map +1 -0
  126. package/dist/components/multi-agent-orchestration/agent/channel-manager/channel-manager.d.ts +6 -0
  127. package/dist/components/multi-agent-orchestration/agent/channel-manager/channel-manager.d.ts.map +1 -0
  128. package/dist/components/multi-agent-orchestration/agent/channel-manager/channel-manager.js +6 -0
  129. package/dist/components/multi-agent-orchestration/agent/channel-manager/channel-manager.js.map +1 -0
  130. package/dist/components/multi-agent-orchestration/agent/context-manager/context-manager.d.ts +22 -0
  131. package/dist/components/multi-agent-orchestration/agent/context-manager/context-manager.d.ts.map +1 -0
  132. package/dist/components/multi-agent-orchestration/agent/context-manager/context-manager.js +52 -0
  133. package/dist/components/multi-agent-orchestration/agent/context-manager/context-manager.js.map +1 -0
  134. package/dist/components/multi-agent-orchestration/agent/context-manager/types.d.ts +13 -0
  135. package/dist/components/multi-agent-orchestration/agent/context-manager/types.d.ts.map +1 -0
  136. package/dist/components/multi-agent-orchestration/agent/context-manager/types.js +2 -0
  137. package/dist/components/multi-agent-orchestration/agent/context-manager/types.js.map +1 -0
  138. package/dist/components/multi-agent-orchestration/agent/conversation-manager/conversation-manager.d.ts +25 -0
  139. package/dist/components/multi-agent-orchestration/agent/conversation-manager/conversation-manager.d.ts.map +1 -0
  140. package/dist/components/multi-agent-orchestration/agent/conversation-manager/conversation-manager.js +74 -0
  141. package/dist/components/multi-agent-orchestration/agent/conversation-manager/conversation-manager.js.map +1 -0
  142. package/dist/components/multi-agent-orchestration/agent/memory-system/components/consolidation-scheduler.d.ts +57 -0
  143. package/dist/components/multi-agent-orchestration/agent/memory-system/components/consolidation-scheduler.d.ts.map +1 -0
  144. package/dist/components/multi-agent-orchestration/agent/memory-system/components/consolidation-scheduler.js +185 -0
  145. package/dist/components/multi-agent-orchestration/agent/memory-system/components/consolidation-scheduler.js.map +1 -0
  146. package/dist/components/multi-agent-orchestration/agent/memory-system/components/dreaming.d.ts +38 -0
  147. package/dist/components/multi-agent-orchestration/agent/memory-system/components/dreaming.d.ts.map +1 -0
  148. package/dist/components/multi-agent-orchestration/agent/memory-system/components/dreaming.js +89 -0
  149. package/dist/components/multi-agent-orchestration/agent/memory-system/components/dreaming.js.map +1 -0
  150. package/dist/components/multi-agent-orchestration/agent/memory-system/components/indexing.d.ts +30 -0
  151. package/dist/components/multi-agent-orchestration/agent/memory-system/components/indexing.d.ts.map +1 -0
  152. package/dist/components/multi-agent-orchestration/agent/memory-system/components/indexing.js +91 -0
  153. package/dist/components/multi-agent-orchestration/agent/memory-system/components/indexing.js.map +1 -0
  154. package/dist/components/multi-agent-orchestration/agent/memory-system/components/learning.d.ts +3 -0
  155. package/dist/components/multi-agent-orchestration/agent/memory-system/components/learning.d.ts.map +1 -0
  156. package/dist/components/multi-agent-orchestration/agent/memory-system/components/learning.js +3 -0
  157. package/dist/components/multi-agent-orchestration/agent/memory-system/components/learning.js.map +1 -0
  158. package/dist/components/multi-agent-orchestration/agent/memory-system/components/memory.d.ts +22 -0
  159. package/dist/components/multi-agent-orchestration/agent/memory-system/components/memory.d.ts.map +1 -0
  160. package/dist/components/multi-agent-orchestration/agent/memory-system/components/memory.js +196 -0
  161. package/dist/components/multi-agent-orchestration/agent/memory-system/components/memory.js.map +1 -0
  162. package/dist/components/multi-agent-orchestration/agent/memory-system/components/retrieval.d.ts +17 -0
  163. package/dist/components/multi-agent-orchestration/agent/memory-system/components/retrieval.d.ts.map +1 -0
  164. package/dist/components/multi-agent-orchestration/agent/memory-system/components/retrieval.js +114 -0
  165. package/dist/components/multi-agent-orchestration/agent/memory-system/components/retrieval.js.map +1 -0
  166. package/dist/components/multi-agent-orchestration/agent/memory-system/memory-system.d.ts +89 -0
  167. package/dist/components/multi-agent-orchestration/agent/memory-system/memory-system.d.ts.map +1 -0
  168. package/dist/components/multi-agent-orchestration/agent/memory-system/memory-system.js +178 -0
  169. package/dist/components/multi-agent-orchestration/agent/memory-system/memory-system.js.map +1 -0
  170. package/dist/components/multi-agent-orchestration/agent/memory-system/types/config.d.ts +29 -0
  171. package/dist/components/multi-agent-orchestration/agent/memory-system/types/config.d.ts.map +1 -0
  172. package/dist/components/multi-agent-orchestration/agent/memory-system/types/config.js +2 -0
  173. package/dist/components/multi-agent-orchestration/agent/memory-system/types/config.js.map +1 -0
  174. package/dist/components/multi-agent-orchestration/agent/memory-system/types/pipeline.d.ts +33 -0
  175. package/dist/components/multi-agent-orchestration/agent/memory-system/types/pipeline.d.ts.map +1 -0
  176. package/dist/components/multi-agent-orchestration/agent/memory-system/types/pipeline.js +2 -0
  177. package/dist/components/multi-agent-orchestration/agent/memory-system/types/pipeline.js.map +1 -0
  178. package/dist/components/multi-agent-orchestration/agent/memory-system/types/record.d.ts +27 -0
  179. package/dist/components/multi-agent-orchestration/agent/memory-system/types/record.d.ts.map +1 -0
  180. package/dist/components/multi-agent-orchestration/agent/memory-system/types/record.js +5 -0
  181. package/dist/components/multi-agent-orchestration/agent/memory-system/types/record.js.map +1 -0
  182. package/dist/components/multi-agent-orchestration/agent/model-manager/model-manager.d.ts +39 -0
  183. package/dist/components/multi-agent-orchestration/agent/model-manager/model-manager.d.ts.map +1 -0
  184. package/dist/components/multi-agent-orchestration/agent/model-manager/model-manager.js +70 -0
  185. package/dist/components/multi-agent-orchestration/agent/model-manager/model-manager.js.map +1 -0
  186. package/dist/components/multi-agent-orchestration/agent/sandbox-manager/sandbox-manager.d.ts +43 -0
  187. package/dist/components/multi-agent-orchestration/agent/sandbox-manager/sandbox-manager.d.ts.map +1 -0
  188. package/dist/components/multi-agent-orchestration/agent/sandbox-manager/sandbox-manager.js +126 -0
  189. package/dist/components/multi-agent-orchestration/agent/sandbox-manager/sandbox-manager.js.map +1 -0
  190. package/dist/components/multi-agent-orchestration/agent/scheduled-job-manager/scheduled-job-manager.d.ts +38 -0
  191. package/dist/components/multi-agent-orchestration/agent/scheduled-job-manager/scheduled-job-manager.d.ts.map +1 -0
  192. package/dist/components/multi-agent-orchestration/agent/scheduled-job-manager/scheduled-job-manager.js +155 -0
  193. package/dist/components/multi-agent-orchestration/agent/scheduled-job-manager/scheduled-job-manager.js.map +1 -0
  194. package/dist/components/multi-agent-orchestration/agent/scheduled-job-manager/types.d.ts +27 -0
  195. package/dist/components/multi-agent-orchestration/agent/scheduled-job-manager/types.d.ts.map +1 -0
  196. package/dist/components/multi-agent-orchestration/agent/scheduled-job-manager/types.js +2 -0
  197. package/dist/components/multi-agent-orchestration/agent/scheduled-job-manager/types.js.map +1 -0
  198. package/dist/components/multi-agent-orchestration/agent/skill-manager/skill-index.d.ts +6 -0
  199. package/dist/components/multi-agent-orchestration/agent/skill-manager/skill-index.d.ts.map +1 -0
  200. package/dist/components/multi-agent-orchestration/agent/skill-manager/skill-index.js +43 -0
  201. package/dist/components/multi-agent-orchestration/agent/skill-manager/skill-index.js.map +1 -0
  202. package/dist/components/multi-agent-orchestration/agent/skill-manager/skill-manager.d.ts +56 -0
  203. package/dist/components/multi-agent-orchestration/agent/skill-manager/skill-manager.d.ts.map +1 -0
  204. package/dist/components/multi-agent-orchestration/agent/skill-manager/skill-manager.js +107 -0
  205. package/dist/components/multi-agent-orchestration/agent/skill-manager/skill-manager.js.map +1 -0
  206. package/dist/components/multi-agent-orchestration/agent/tool-manager/tool-manager.d.ts +20 -0
  207. package/dist/components/multi-agent-orchestration/agent/tool-manager/tool-manager.d.ts.map +1 -0
  208. package/dist/components/multi-agent-orchestration/agent/tool-manager/tool-manager.js +28 -0
  209. package/dist/components/multi-agent-orchestration/agent/tool-manager/tool-manager.js.map +1 -0
  210. package/dist/components/multi-agent-orchestration/agent/types.d.ts +44 -0
  211. package/dist/components/multi-agent-orchestration/agent/types.d.ts.map +1 -0
  212. package/dist/components/multi-agent-orchestration/agent/types.js +2 -0
  213. package/dist/components/multi-agent-orchestration/agent/types.js.map +1 -0
  214. package/dist/components/multi-agent-orchestration/multi-agent-orchestration.d.ts +23 -0
  215. package/dist/components/multi-agent-orchestration/multi-agent-orchestration.d.ts.map +1 -0
  216. package/dist/components/multi-agent-orchestration/multi-agent-orchestration.js +42 -0
  217. package/dist/components/multi-agent-orchestration/multi-agent-orchestration.js.map +1 -0
  218. package/dist/components/persistence-hub/default-stores/memory-agent-store.d.ts +10 -0
  219. package/dist/components/persistence-hub/default-stores/memory-agent-store.d.ts.map +1 -0
  220. package/dist/components/persistence-hub/default-stores/memory-agent-store.js +16 -0
  221. package/dist/components/persistence-hub/default-stores/memory-agent-store.js.map +1 -0
  222. package/dist/components/persistence-hub/default-stores/memory-artifact-store.d.ts +16 -0
  223. package/dist/components/persistence-hub/default-stores/memory-artifact-store.d.ts.map +1 -0
  224. package/dist/components/persistence-hub/default-stores/memory-artifact-store.js +70 -0
  225. package/dist/components/persistence-hub/default-stores/memory-artifact-store.js.map +1 -0
  226. package/dist/components/persistence-hub/default-stores/memory-memory-store.d.ts +12 -0
  227. package/dist/components/persistence-hub/default-stores/memory-memory-store.d.ts.map +1 -0
  228. package/dist/components/persistence-hub/default-stores/memory-memory-store.js +51 -0
  229. package/dist/components/persistence-hub/default-stores/memory-memory-store.js.map +1 -0
  230. package/dist/components/persistence-hub/default-stores/memory-message-store.d.ts +12 -0
  231. package/dist/components/persistence-hub/default-stores/memory-message-store.d.ts.map +1 -0
  232. package/dist/components/persistence-hub/default-stores/memory-message-store.js +33 -0
  233. package/dist/components/persistence-hub/default-stores/memory-message-store.js.map +1 -0
  234. package/dist/components/persistence-hub/default-stores/memory-provider-store.d.ts +9 -0
  235. package/dist/components/persistence-hub/default-stores/memory-provider-store.d.ts.map +1 -0
  236. package/dist/components/persistence-hub/default-stores/memory-provider-store.js +16 -0
  237. package/dist/components/persistence-hub/default-stores/memory-provider-store.js.map +1 -0
  238. package/dist/components/persistence-hub/default-stores/memory-session-store.d.ts +12 -0
  239. package/dist/components/persistence-hub/default-stores/memory-session-store.d.ts.map +1 -0
  240. package/dist/components/persistence-hub/default-stores/memory-session-store.js +42 -0
  241. package/dist/components/persistence-hub/default-stores/memory-session-store.js.map +1 -0
  242. package/dist/components/persistence-hub/default-stores/memory-skill-store.d.ts +9 -0
  243. package/dist/components/persistence-hub/default-stores/memory-skill-store.d.ts.map +1 -0
  244. package/dist/components/persistence-hub/default-stores/memory-skill-store.js +20 -0
  245. package/dist/components/persistence-hub/default-stores/memory-skill-store.js.map +1 -0
  246. package/dist/components/persistence-hub/persistence-hub.d.ts +34 -0
  247. package/dist/components/persistence-hub/persistence-hub.d.ts.map +1 -0
  248. package/dist/components/persistence-hub/persistence-hub.js +37 -0
  249. package/dist/components/persistence-hub/persistence-hub.js.map +1 -0
  250. package/dist/components/persistence-hub/types/agent-store.d.ts +8 -0
  251. package/dist/components/persistence-hub/types/agent-store.d.ts.map +1 -0
  252. package/dist/components/persistence-hub/types/agent-store.js +2 -0
  253. package/dist/components/persistence-hub/types/agent-store.js.map +1 -0
  254. package/dist/components/persistence-hub/types/artifact-store.d.ts +33 -0
  255. package/dist/components/persistence-hub/types/artifact-store.d.ts.map +1 -0
  256. package/dist/components/persistence-hub/types/artifact-store.js +2 -0
  257. package/dist/components/persistence-hub/types/artifact-store.js.map +1 -0
  258. package/dist/components/persistence-hub/types/memory-store.d.ts +23 -0
  259. package/dist/components/persistence-hub/types/memory-store.d.ts.map +1 -0
  260. package/dist/components/persistence-hub/types/memory-store.js +2 -0
  261. package/dist/components/persistence-hub/types/memory-store.js.map +1 -0
  262. package/dist/components/persistence-hub/types/message-store.d.ts +27 -0
  263. package/dist/components/persistence-hub/types/message-store.d.ts.map +1 -0
  264. package/dist/components/persistence-hub/types/message-store.js +2 -0
  265. package/dist/components/persistence-hub/types/message-store.js.map +1 -0
  266. package/dist/components/persistence-hub/types/provider-store.d.ts +28 -0
  267. package/dist/components/persistence-hub/types/provider-store.d.ts.map +1 -0
  268. package/dist/components/persistence-hub/types/provider-store.js +5 -0
  269. package/dist/components/persistence-hub/types/provider-store.js.map +1 -0
  270. package/dist/components/persistence-hub/types/session-store.d.ts +15 -0
  271. package/dist/components/persistence-hub/types/session-store.d.ts.map +1 -0
  272. package/dist/components/persistence-hub/types/session-store.js +2 -0
  273. package/dist/components/persistence-hub/types/session-store.js.map +1 -0
  274. package/dist/components/persistence-hub/types/skill-store.d.ts +22 -0
  275. package/dist/components/persistence-hub/types/skill-store.d.ts.map +1 -0
  276. package/dist/components/persistence-hub/types/skill-store.js +2 -0
  277. package/dist/components/persistence-hub/types/skill-store.js.map +1 -0
  278. package/dist/components/sandbox-hub/approval-policy.d.ts +12 -0
  279. package/dist/components/sandbox-hub/approval-policy.d.ts.map +1 -0
  280. package/dist/components/sandbox-hub/approval-policy.js +11 -0
  281. package/dist/components/sandbox-hub/approval-policy.js.map +1 -0
  282. package/dist/components/sandbox-hub/docker/aec-sandbox-image.d.ts +3 -0
  283. package/dist/components/sandbox-hub/docker/aec-sandbox-image.d.ts.map +1 -0
  284. package/dist/components/sandbox-hub/docker/aec-sandbox-image.js +31 -0
  285. package/dist/components/sandbox-hub/docker/aec-sandbox-image.js.map +1 -0
  286. package/dist/components/sandbox-hub/docker/docker-cli.d.ts +32 -0
  287. package/dist/components/sandbox-hub/docker/docker-cli.d.ts.map +1 -0
  288. package/dist/components/sandbox-hub/docker/docker-cli.js +83 -0
  289. package/dist/components/sandbox-hub/docker/docker-cli.js.map +1 -0
  290. package/dist/components/sandbox-hub/docker/docker-sandbox-provider.d.ts +70 -0
  291. package/dist/components/sandbox-hub/docker/docker-sandbox-provider.d.ts.map +1 -0
  292. package/dist/components/sandbox-hub/docker/docker-sandbox-provider.js +166 -0
  293. package/dist/components/sandbox-hub/docker/docker-sandbox-provider.js.map +1 -0
  294. package/dist/components/sandbox-hub/docker/docker-sandbox.d.ts +51 -0
  295. package/dist/components/sandbox-hub/docker/docker-sandbox.d.ts.map +1 -0
  296. package/dist/components/sandbox-hub/docker/docker-sandbox.js +584 -0
  297. package/dist/components/sandbox-hub/docker/docker-sandbox.js.map +1 -0
  298. package/dist/components/sandbox-hub/docker/sandbox-helper.d.ts +4 -0
  299. package/dist/components/sandbox-hub/docker/sandbox-helper.d.ts.map +1 -0
  300. package/dist/components/sandbox-hub/docker/sandbox-helper.js +442 -0
  301. package/dist/components/sandbox-hub/docker/sandbox-helper.js.map +1 -0
  302. package/dist/components/sandbox-hub/docker/types.d.ts +26 -0
  303. package/dist/components/sandbox-hub/docker/types.d.ts.map +1 -0
  304. package/dist/components/sandbox-hub/docker/types.js +2 -0
  305. package/dist/components/sandbox-hub/docker/types.js.map +1 -0
  306. package/dist/components/sandbox-hub/host/host-sandbox-provider.d.ts +34 -0
  307. package/dist/components/sandbox-hub/host/host-sandbox-provider.d.ts.map +1 -0
  308. package/dist/components/sandbox-hub/host/host-sandbox-provider.js +81 -0
  309. package/dist/components/sandbox-hub/host/host-sandbox-provider.js.map +1 -0
  310. package/dist/components/sandbox-hub/host/host-sandbox.d.ts +22 -0
  311. package/dist/components/sandbox-hub/host/host-sandbox.d.ts.map +1 -0
  312. package/dist/components/sandbox-hub/host/host-sandbox.js +508 -0
  313. package/dist/components/sandbox-hub/host/host-sandbox.js.map +1 -0
  314. package/dist/components/sandbox-hub/logical-path.d.ts +28 -0
  315. package/dist/components/sandbox-hub/logical-path.d.ts.map +1 -0
  316. package/dist/components/sandbox-hub/logical-path.js +73 -0
  317. package/dist/components/sandbox-hub/logical-path.js.map +1 -0
  318. package/dist/components/sandbox-hub/sandbox-hub.d.ts +69 -0
  319. package/dist/components/sandbox-hub/sandbox-hub.d.ts.map +1 -0
  320. package/dist/components/sandbox-hub/sandbox-hub.js +216 -0
  321. package/dist/components/sandbox-hub/sandbox-hub.js.map +1 -0
  322. package/dist/components/sandbox-hub/traced-sandbox.d.ts +15 -0
  323. package/dist/components/sandbox-hub/traced-sandbox.d.ts.map +1 -0
  324. package/dist/components/sandbox-hub/traced-sandbox.js +69 -0
  325. package/dist/components/sandbox-hub/traced-sandbox.js.map +1 -0
  326. package/dist/components/sandbox-hub/types/policy.d.ts +40 -0
  327. package/dist/components/sandbox-hub/types/policy.d.ts.map +1 -0
  328. package/dist/components/sandbox-hub/types/policy.js +2 -0
  329. package/dist/components/sandbox-hub/types/policy.js.map +1 -0
  330. package/dist/components/sandbox-hub/types/provider.d.ts +40 -0
  331. package/dist/components/sandbox-hub/types/provider.d.ts.map +1 -0
  332. package/dist/components/sandbox-hub/types/provider.js +2 -0
  333. package/dist/components/sandbox-hub/types/provider.js.map +1 -0
  334. package/dist/components/sandbox-hub/types/sandbox.d.ts +185 -0
  335. package/dist/components/sandbox-hub/types/sandbox.d.ts.map +1 -0
  336. package/dist/components/sandbox-hub/types/sandbox.js +15 -0
  337. package/dist/components/sandbox-hub/types/sandbox.js.map +1 -0
  338. package/dist/components/skill-hub/built-in-skills/essential-skills.d.ts +5 -0
  339. package/dist/components/skill-hub/built-in-skills/essential-skills.d.ts.map +1 -0
  340. package/dist/components/skill-hub/built-in-skills/essential-skills.js +10 -0
  341. package/dist/components/skill-hub/built-in-skills/essential-skills.js.map +1 -0
  342. package/dist/components/skill-hub/built-in-skills/plan.d.ts +3 -0
  343. package/dist/components/skill-hub/built-in-skills/plan.d.ts.map +1 -0
  344. package/dist/components/skill-hub/built-in-skills/plan.js +33 -0
  345. package/dist/components/skill-hub/built-in-skills/plan.js.map +1 -0
  346. package/dist/components/skill-hub/built-in-skills/skill-creator.d.ts +3 -0
  347. package/dist/components/skill-hub/built-in-skills/skill-creator.d.ts.map +1 -0
  348. package/dist/components/skill-hub/built-in-skills/skill-creator.js +186 -0
  349. package/dist/components/skill-hub/built-in-skills/skill-creator.js.map +1 -0
  350. package/dist/components/skill-hub/built-in-skills/web-research.d.ts +3 -0
  351. package/dist/components/skill-hub/built-in-skills/web-research.d.ts.map +1 -0
  352. package/dist/components/skill-hub/built-in-skills/web-research.js +35 -0
  353. package/dist/components/skill-hub/built-in-skills/web-research.js.map +1 -0
  354. package/dist/components/skill-hub/skill-format.d.ts +40 -0
  355. package/dist/components/skill-hub/skill-format.d.ts.map +1 -0
  356. package/dist/components/skill-hub/skill-format.js +378 -0
  357. package/dist/components/skill-hub/skill-format.js.map +1 -0
  358. package/dist/components/skill-hub/skill-hub.d.ts +45 -0
  359. package/dist/components/skill-hub/skill-hub.d.ts.map +1 -0
  360. package/dist/components/skill-hub/skill-hub.js +173 -0
  361. package/dist/components/skill-hub/skill-hub.js.map +1 -0
  362. package/dist/components/skill-hub/types/agent-skills.d.ts +20 -0
  363. package/dist/components/skill-hub/types/agent-skills.d.ts.map +1 -0
  364. package/dist/components/skill-hub/types/agent-skills.js +2 -0
  365. package/dist/components/skill-hub/types/agent-skills.js.map +1 -0
  366. package/dist/components/skill-hub/types/skill.d.ts +55 -0
  367. package/dist/components/skill-hub/types/skill.d.ts.map +1 -0
  368. package/dist/components/skill-hub/types/skill.js +11 -0
  369. package/dist/components/skill-hub/types/skill.js.map +1 -0
  370. package/dist/components/tool-hub/built-in-tools/artifacts/artifact-helpers.d.ts +52 -0
  371. package/dist/components/tool-hub/built-in-tools/artifacts/artifact-helpers.d.ts.map +1 -0
  372. package/dist/components/tool-hub/built-in-tools/artifacts/artifact-helpers.js +143 -0
  373. package/dist/components/tool-hub/built-in-tools/artifacts/artifact-helpers.js.map +1 -0
  374. package/dist/components/tool-hub/built-in-tools/artifacts/create-artifact-tools.d.ts +7 -0
  375. package/dist/components/tool-hub/built-in-tools/artifacts/create-artifact-tools.d.ts.map +1 -0
  376. package/dist/components/tool-hub/built-in-tools/artifacts/create-artifact-tools.js +18 -0
  377. package/dist/components/tool-hub/built-in-tools/artifacts/create-artifact-tools.js.map +1 -0
  378. package/dist/components/tool-hub/built-in-tools/artifacts/list-artifacts-tool.d.ts +16 -0
  379. package/dist/components/tool-hub/built-in-tools/artifacts/list-artifacts-tool.d.ts.map +1 -0
  380. package/dist/components/tool-hub/built-in-tools/artifacts/list-artifacts-tool.js +69 -0
  381. package/dist/components/tool-hub/built-in-tools/artifacts/list-artifacts-tool.js.map +1 -0
  382. package/dist/components/tool-hub/built-in-tools/artifacts/read-artifact-tool.d.ts +16 -0
  383. package/dist/components/tool-hub/built-in-tools/artifacts/read-artifact-tool.d.ts.map +1 -0
  384. package/dist/components/tool-hub/built-in-tools/artifacts/read-artifact-tool.js +79 -0
  385. package/dist/components/tool-hub/built-in-tools/artifacts/read-artifact-tool.js.map +1 -0
  386. package/dist/components/tool-hub/built-in-tools/artifacts/save-artifact-tool.d.ts +16 -0
  387. package/dist/components/tool-hub/built-in-tools/artifacts/save-artifact-tool.d.ts.map +1 -0
  388. package/dist/components/tool-hub/built-in-tools/artifacts/save-artifact-tool.js +105 -0
  389. package/dist/components/tool-hub/built-in-tools/artifacts/save-artifact-tool.js.map +1 -0
  390. package/dist/components/tool-hub/built-in-tools/artifacts/types.d.ts +11 -0
  391. package/dist/components/tool-hub/built-in-tools/artifacts/types.d.ts.map +1 -0
  392. package/dist/components/tool-hub/built-in-tools/artifacts/types.js +8 -0
  393. package/dist/components/tool-hub/built-in-tools/artifacts/types.js.map +1 -0
  394. package/dist/components/tool-hub/built-in-tools/artifacts/update-artifact-tool.d.ts +17 -0
  395. package/dist/components/tool-hub/built-in-tools/artifacts/update-artifact-tool.d.ts.map +1 -0
  396. package/dist/components/tool-hub/built-in-tools/artifacts/update-artifact-tool.js +100 -0
  397. package/dist/components/tool-hub/built-in-tools/artifacts/update-artifact-tool.js.map +1 -0
  398. package/dist/components/tool-hub/built-in-tools/interaction/clarify-tool.d.ts +16 -0
  399. package/dist/components/tool-hub/built-in-tools/interaction/clarify-tool.d.ts.map +1 -0
  400. package/dist/components/tool-hub/built-in-tools/interaction/clarify-tool.js +94 -0
  401. package/dist/components/tool-hub/built-in-tools/interaction/clarify-tool.js.map +1 -0
  402. package/dist/components/tool-hub/built-in-tools/skills/skill-manage-tool.d.ts +22 -0
  403. package/dist/components/tool-hub/built-in-tools/skills/skill-manage-tool.d.ts.map +1 -0
  404. package/dist/components/tool-hub/built-in-tools/skills/skill-manage-tool.js +226 -0
  405. package/dist/components/tool-hub/built-in-tools/skills/skill-manage-tool.js.map +1 -0
  406. package/dist/components/tool-hub/built-in-tools/skills/skill-view-tool.d.ts +18 -0
  407. package/dist/components/tool-hub/built-in-tools/skills/skill-view-tool.d.ts.map +1 -0
  408. package/dist/components/tool-hub/built-in-tools/skills/skill-view-tool.js +86 -0
  409. package/dist/components/tool-hub/built-in-tools/skills/skill-view-tool.js.map +1 -0
  410. package/dist/components/tool-hub/built-in-tools/skills/skill-workspace.d.ts +26 -0
  411. package/dist/components/tool-hub/built-in-tools/skills/skill-workspace.d.ts.map +1 -0
  412. package/dist/components/tool-hub/built-in-tools/skills/skill-workspace.js +93 -0
  413. package/dist/components/tool-hub/built-in-tools/skills/skill-workspace.js.map +1 -0
  414. package/dist/components/tool-hub/built-in-tools/web/duckduckgo-search-provider.d.ts +28 -0
  415. package/dist/components/tool-hub/built-in-tools/web/duckduckgo-search-provider.d.ts.map +1 -0
  416. package/dist/components/tool-hub/built-in-tools/web/duckduckgo-search-provider.js +116 -0
  417. package/dist/components/tool-hub/built-in-tools/web/duckduckgo-search-provider.js.map +1 -0
  418. package/dist/components/tool-hub/built-in-tools/web/html-to-text.d.ts +14 -0
  419. package/dist/components/tool-hub/built-in-tools/web/html-to-text.d.ts.map +1 -0
  420. package/dist/components/tool-hub/built-in-tools/web/html-to-text.js +158 -0
  421. package/dist/components/tool-hub/built-in-tools/web/html-to-text.js.map +1 -0
  422. package/dist/components/tool-hub/built-in-tools/web/network-guard.d.ts +21 -0
  423. package/dist/components/tool-hub/built-in-tools/web/network-guard.d.ts.map +1 -0
  424. package/dist/components/tool-hub/built-in-tools/web/network-guard.js +106 -0
  425. package/dist/components/tool-hub/built-in-tools/web/network-guard.js.map +1 -0
  426. package/dist/components/tool-hub/built-in-tools/web/types.d.ts +23 -0
  427. package/dist/components/tool-hub/built-in-tools/web/types.d.ts.map +1 -0
  428. package/dist/components/tool-hub/built-in-tools/web/types.js +5 -0
  429. package/dist/components/tool-hub/built-in-tools/web/types.js.map +1 -0
  430. package/dist/components/tool-hub/built-in-tools/web/web-extract-tool.d.ts +37 -0
  431. package/dist/components/tool-hub/built-in-tools/web/web-extract-tool.d.ts.map +1 -0
  432. package/dist/components/tool-hub/built-in-tools/web/web-extract-tool.js +206 -0
  433. package/dist/components/tool-hub/built-in-tools/web/web-extract-tool.js.map +1 -0
  434. package/dist/components/tool-hub/built-in-tools/web/web-search-tool.d.ts +25 -0
  435. package/dist/components/tool-hub/built-in-tools/web/web-search-tool.d.ts.map +1 -0
  436. package/dist/components/tool-hub/built-in-tools/web/web-search-tool.js +82 -0
  437. package/dist/components/tool-hub/built-in-tools/web/web-search-tool.js.map +1 -0
  438. package/dist/components/tool-hub/built-in-tools/workspace/create-workspace-tools.d.ts +7 -0
  439. package/dist/components/tool-hub/built-in-tools/workspace/create-workspace-tools.d.ts.map +1 -0
  440. package/dist/components/tool-hub/built-in-tools/workspace/create-workspace-tools.js +24 -0
  441. package/dist/components/tool-hub/built-in-tools/workspace/create-workspace-tools.js.map +1 -0
  442. package/dist/components/tool-hub/built-in-tools/workspace/edit-file-tool.d.ts +15 -0
  443. package/dist/components/tool-hub/built-in-tools/workspace/edit-file-tool.d.ts.map +1 -0
  444. package/dist/components/tool-hub/built-in-tools/workspace/edit-file-tool.js +103 -0
  445. package/dist/components/tool-hub/built-in-tools/workspace/edit-file-tool.js.map +1 -0
  446. package/dist/components/tool-hub/built-in-tools/workspace/list-files-tool.d.ts +12 -0
  447. package/dist/components/tool-hub/built-in-tools/workspace/list-files-tool.d.ts.map +1 -0
  448. package/dist/components/tool-hub/built-in-tools/workspace/list-files-tool.js +53 -0
  449. package/dist/components/tool-hub/built-in-tools/workspace/list-files-tool.js.map +1 -0
  450. package/dist/components/tool-hub/built-in-tools/workspace/read-file-tool.d.ts +15 -0
  451. package/dist/components/tool-hub/built-in-tools/workspace/read-file-tool.d.ts.map +1 -0
  452. package/dist/components/tool-hub/built-in-tools/workspace/read-file-tool.js +71 -0
  453. package/dist/components/tool-hub/built-in-tools/workspace/read-file-tool.js.map +1 -0
  454. package/dist/components/tool-hub/built-in-tools/workspace/run-code-tool.d.ts +16 -0
  455. package/dist/components/tool-hub/built-in-tools/workspace/run-code-tool.d.ts.map +1 -0
  456. package/dist/components/tool-hub/built-in-tools/workspace/run-code-tool.js +72 -0
  457. package/dist/components/tool-hub/built-in-tools/workspace/run-code-tool.js.map +1 -0
  458. package/dist/components/tool-hub/built-in-tools/workspace/search-files-tool.d.ts +12 -0
  459. package/dist/components/tool-hub/built-in-tools/workspace/search-files-tool.d.ts.map +1 -0
  460. package/dist/components/tool-hub/built-in-tools/workspace/search-files-tool.js +64 -0
  461. package/dist/components/tool-hub/built-in-tools/workspace/search-files-tool.js.map +1 -0
  462. package/dist/components/tool-hub/built-in-tools/workspace/terminal-tool.d.ts +19 -0
  463. package/dist/components/tool-hub/built-in-tools/workspace/terminal-tool.d.ts.map +1 -0
  464. package/dist/components/tool-hub/built-in-tools/workspace/terminal-tool.js +111 -0
  465. package/dist/components/tool-hub/built-in-tools/workspace/terminal-tool.js.map +1 -0
  466. package/dist/components/tool-hub/built-in-tools/workspace/types.d.ts +16 -0
  467. package/dist/components/tool-hub/built-in-tools/workspace/types.d.ts.map +1 -0
  468. package/dist/components/tool-hub/built-in-tools/workspace/types.js +8 -0
  469. package/dist/components/tool-hub/built-in-tools/workspace/types.js.map +1 -0
  470. package/dist/components/tool-hub/built-in-tools/workspace/workspace-helpers.d.ts +29 -0
  471. package/dist/components/tool-hub/built-in-tools/workspace/workspace-helpers.d.ts.map +1 -0
  472. package/dist/components/tool-hub/built-in-tools/workspace/workspace-helpers.js +128 -0
  473. package/dist/components/tool-hub/built-in-tools/workspace/workspace-helpers.js.map +1 -0
  474. package/dist/components/tool-hub/built-in-tools/workspace/write-file-tool.d.ts +17 -0
  475. package/dist/components/tool-hub/built-in-tools/workspace/write-file-tool.d.ts.map +1 -0
  476. package/dist/components/tool-hub/built-in-tools/workspace/write-file-tool.js +61 -0
  477. package/dist/components/tool-hub/built-in-tools/workspace/write-file-tool.js.map +1 -0
  478. package/dist/components/tool-hub/policies/default-tool-policy.d.ts +17 -0
  479. package/dist/components/tool-hub/policies/default-tool-policy.d.ts.map +1 -0
  480. package/dist/components/tool-hub/policies/default-tool-policy.js +99 -0
  481. package/dist/components/tool-hub/policies/default-tool-policy.js.map +1 -0
  482. package/dist/components/tool-hub/tool-hub.d.ts +28 -0
  483. package/dist/components/tool-hub/tool-hub.d.ts.map +1 -0
  484. package/dist/components/tool-hub/tool-hub.js +49 -0
  485. package/dist/components/tool-hub/tool-hub.js.map +1 -0
  486. package/dist/components/tool-hub/types.d.ts +138 -0
  487. package/dist/components/tool-hub/types.d.ts.map +1 -0
  488. package/dist/components/tool-hub/types.js +2 -0
  489. package/dist/components/tool-hub/types.js.map +1 -0
  490. package/dist/components/trace-service/console-trace-sink.d.ts +9 -0
  491. package/dist/components/trace-service/console-trace-sink.d.ts.map +1 -0
  492. package/dist/components/trace-service/console-trace-sink.js +35 -0
  493. package/dist/components/trace-service/console-trace-sink.js.map +1 -0
  494. package/dist/components/trace-service/trace-service.d.ts +25 -0
  495. package/dist/components/trace-service/trace-service.d.ts.map +1 -0
  496. package/dist/components/trace-service/trace-service.js +288 -0
  497. package/dist/components/trace-service/trace-service.js.map +1 -0
  498. package/dist/components/trace-service/types/sink.d.ts +7 -0
  499. package/dist/components/trace-service/types/sink.d.ts.map +1 -0
  500. package/dist/components/trace-service/types/sink.js +5 -0
  501. package/dist/components/trace-service/types/sink.js.map +1 -0
  502. package/dist/components/trace-service/types/span.d.ts +31 -0
  503. package/dist/components/trace-service/types/span.d.ts.map +1 -0
  504. package/dist/components/trace-service/types/span.js +5 -0
  505. package/dist/components/trace-service/types/span.js.map +1 -0
  506. package/dist/create-agent.d.ts +5 -0
  507. package/dist/create-agent.d.ts.map +1 -0
  508. package/dist/create-agent.js +57 -0
  509. package/dist/create-agent.js.map +1 -0
  510. package/dist/index.d.ts +110 -0
  511. package/dist/index.d.ts.map +1 -0
  512. package/dist/index.js +73 -0
  513. package/dist/index.js.map +1 -0
  514. package/dist/kernel/errors/artifact-error.d.ts +23 -0
  515. package/dist/kernel/errors/artifact-error.d.ts.map +1 -0
  516. package/dist/kernel/errors/artifact-error.js +22 -0
  517. package/dist/kernel/errors/artifact-error.js.map +1 -0
  518. package/dist/kernel/errors/model-error.d.ts +7 -0
  519. package/dist/kernel/errors/model-error.d.ts.map +1 -0
  520. package/dist/kernel/errors/model-error.js +10 -0
  521. package/dist/kernel/errors/model-error.js.map +1 -0
  522. package/dist/kernel/errors/policy-error.d.ts +8 -0
  523. package/dist/kernel/errors/policy-error.d.ts.map +1 -0
  524. package/dist/kernel/errors/policy-error.js +12 -0
  525. package/dist/kernel/errors/policy-error.js.map +1 -0
  526. package/dist/kernel/errors/sandbox-error.d.ts +35 -0
  527. package/dist/kernel/errors/sandbox-error.d.ts.map +1 -0
  528. package/dist/kernel/errors/sandbox-error.js +26 -0
  529. package/dist/kernel/errors/sandbox-error.js.map +1 -0
  530. package/dist/kernel/errors/sdk-error.d.ts +9 -0
  531. package/dist/kernel/errors/sdk-error.d.ts.map +1 -0
  532. package/dist/kernel/errors/sdk-error.js +13 -0
  533. package/dist/kernel/errors/sdk-error.js.map +1 -0
  534. package/dist/kernel/errors/session-error.d.ts +7 -0
  535. package/dist/kernel/errors/session-error.d.ts.map +1 -0
  536. package/dist/kernel/errors/session-error.js +10 -0
  537. package/dist/kernel/errors/session-error.js.map +1 -0
  538. package/dist/kernel/errors/skill-error.d.ts +14 -0
  539. package/dist/kernel/errors/skill-error.d.ts.map +1 -0
  540. package/dist/kernel/errors/skill-error.js +12 -0
  541. package/dist/kernel/errors/skill-error.js.map +1 -0
  542. package/dist/kernel/errors/tool-error.d.ts +8 -0
  543. package/dist/kernel/errors/tool-error.d.ts.map +1 -0
  544. package/dist/kernel/errors/tool-error.js +12 -0
  545. package/dist/kernel/errors/tool-error.js.map +1 -0
  546. package/dist/kernel/interfaces/kernel.d.ts +23 -0
  547. package/dist/kernel/interfaces/kernel.d.ts.map +1 -0
  548. package/dist/kernel/interfaces/kernel.js +2 -0
  549. package/dist/kernel/interfaces/kernel.js.map +1 -0
  550. package/dist/kernel/interfaces/plugin.d.ts +7 -0
  551. package/dist/kernel/interfaces/plugin.d.ts.map +1 -0
  552. package/dist/kernel/interfaces/plugin.js +5 -0
  553. package/dist/kernel/interfaces/plugin.js.map +1 -0
  554. package/dist/kernel/types.d.ts +103 -0
  555. package/dist/kernel/types.d.ts.map +1 -0
  556. package/dist/kernel/types.js +2 -0
  557. package/dist/kernel/types.js.map +1 -0
  558. package/dist/testing/in-memory-sandbox.d.ts +66 -0
  559. package/dist/testing/in-memory-sandbox.d.ts.map +1 -0
  560. package/dist/testing/in-memory-sandbox.js +507 -0
  561. package/dist/testing/in-memory-sandbox.js.map +1 -0
  562. package/dist/testing/mock-llm-model-provider.d.ts +14 -0
  563. package/dist/testing/mock-llm-model-provider.d.ts.map +1 -0
  564. package/dist/testing/mock-llm-model-provider.js +30 -0
  565. package/dist/testing/mock-llm-model-provider.js.map +1 -0
  566. package/dist/testing/mock-session-store.d.ts +17 -0
  567. package/dist/testing/mock-session-store.d.ts.map +1 -0
  568. package/dist/testing/mock-session-store.js +49 -0
  569. package/dist/testing/mock-session-store.js.map +1 -0
  570. package/dist/testing/mock-tools.d.ts +38 -0
  571. package/dist/testing/mock-tools.d.ts.map +1 -0
  572. package/dist/testing/mock-tools.js +130 -0
  573. package/dist/testing/mock-tools.js.map +1 -0
  574. package/package.json +55 -0
package/dist/index.js ADDED
@@ -0,0 +1,73 @@
1
+ // Runtime
2
+ export { createAgent } from "./create-agent.js";
3
+ export { AgentCore } from "./agent-core.js";
4
+ export { registerProvider, listProviders, } from "./components/llm-provider-hub/providers/registry.js";
5
+ export { AnthropicLLMModelProvider, } from "./components/llm-provider-hub/providers/anthropic-provider.js";
6
+ export { OpenAICompatibleLLMModelProvider, } from "./components/llm-provider-hub/providers/openai-compatible-provider.js";
7
+ export { PersistenceHub } from "./components/persistence-hub/persistence-hub.js";
8
+ export { TraceService } from "./components/trace-service/trace-service.js";
9
+ export { ConsoleTraceSink } from "./components/trace-service/console-trace-sink.js";
10
+ // Built-in tools
11
+ export { WebSearchTool } from "./components/tool-hub/built-in-tools/web/web-search-tool.js";
12
+ export { WebExtractTool } from "./components/tool-hub/built-in-tools/web/web-extract-tool.js";
13
+ export { DuckDuckGoSearchProvider } from "./components/tool-hub/built-in-tools/web/duckduckgo-search-provider.js";
14
+ export { ClarifyTool } from "./components/tool-hub/built-in-tools/interaction/clarify-tool.js";
15
+ export { DefaultToolPolicy } from "./components/tool-hub/policies/default-tool-policy.js";
16
+ // Workspace tools (A-61) — file + terminal tools on the agent's SandboxView
17
+ export { createWorkspaceTools, WORKSPACE_TOOL_NAMES } from "./components/tool-hub/built-in-tools/workspace/create-workspace-tools.js";
18
+ export { ReadFileTool } from "./components/tool-hub/built-in-tools/workspace/read-file-tool.js";
19
+ export { WriteFileTool } from "./components/tool-hub/built-in-tools/workspace/write-file-tool.js";
20
+ export { EditFileTool } from "./components/tool-hub/built-in-tools/workspace/edit-file-tool.js";
21
+ export { ListFilesTool } from "./components/tool-hub/built-in-tools/workspace/list-files-tool.js";
22
+ export { SearchFilesTool } from "./components/tool-hub/built-in-tools/workspace/search-files-tool.js";
23
+ export { TerminalTool } from "./components/tool-hub/built-in-tools/workspace/terminal-tool.js";
24
+ export { RunCodeTool } from "./components/tool-hub/built-in-tools/workspace/run-code-tool.js";
25
+ // Skill tools (A-66) — skill_manage is registered by the app; skill_view is added per agent automatically
26
+ export { SkillManageTool } from "./components/tool-hub/built-in-tools/skills/skill-manage-tool.js";
27
+ export { SkillViewTool } from "./components/tool-hub/built-in-tools/skills/skill-view-tool.js";
28
+ export { SKILL_WORKSPACE_DIR } from "./components/tool-hub/built-in-tools/skills/skill-workspace.js";
29
+ // Skills (A-66) — SKILL.md packages (Agent Skills format) and the essential built-in skills
30
+ export { SkillHub } from "./components/skill-hub/skill-hub.js";
31
+ export { ESSENTIAL_SKILLS, ESSENTIAL_SKILL_NAMES } from "./components/skill-hub/built-in-skills/essential-skills.js";
32
+ export { parseSkillPackage, normalizeSkillPath, SKILL_LIMITS, SKILL_NAME_PATTERN } from "./components/skill-hub/skill-format.js";
33
+ // Artifact tools (A-62) — lasting, versioned outputs on the agent's ArtifactView
34
+ export { createArtifactTools, ARTIFACT_TOOL_NAMES } from "./components/tool-hub/built-in-tools/artifacts/create-artifact-tools.js";
35
+ export { SaveArtifactTool } from "./components/tool-hub/built-in-tools/artifacts/save-artifact-tool.js";
36
+ export { UpdateArtifactTool } from "./components/tool-hub/built-in-tools/artifacts/update-artifact-tool.js";
37
+ export { ReadArtifactTool } from "./components/tool-hub/built-in-tools/artifacts/read-artifact-tool.js";
38
+ export { ListArtifactsTool } from "./components/tool-hub/built-in-tools/artifacts/list-artifacts-tool.js";
39
+ // Artifacts (A-62) — a metadata tracker over sandbox files
40
+ export { ArtifactHub } from "./components/artifact-hub/artifact-hub.js";
41
+ export { MemoryArtifactStore } from "./components/persistence-hub/default-stores/memory-artifact-store.js";
42
+ // Sandboxes (A-47)
43
+ export { SandboxHub } from "./components/sandbox-hub/sandbox-hub.js";
44
+ export { defaultSandboxApprovalPolicy } from "./components/sandbox-hub/approval-policy.js";
45
+ export { WORKSPACE_ROOT,
46
+ // SHARED_DIR,
47
+ AGENTS_DIR, agentLayout, isWithinRoots, resolveLogicalPath, } from "./components/sandbox-hub/logical-path.js";
48
+ // Docker sandboxes (A-60)
49
+ export { DockerSandboxProvider, DOCKER_DEFAULT_LIMITS } from "./components/sandbox-hub/docker/docker-sandbox-provider.js";
50
+ export { AEC_SANDBOX_IMAGE, AEC_SANDBOX_DOCKERFILE } from "./components/sandbox-hub/docker/aec-sandbox-image.js";
51
+ // Host sandboxes — real folders on the server machine (not isolated)
52
+ export { HostSandboxProvider, HOST_DEFAULT_LIMITS } from "./components/sandbox-hub/host/host-sandbox-provider.js";
53
+ // LLM providers
54
+ export { LLMProviderHub } from "./components/llm-provider-hub/llm-provider-hub.js";
55
+ export { BedrockLLMModelProvider, } from "./components/llm-provider-hub/providers/bedrock-provider.js";
56
+ export { OpenAISubscriptionProvider, } from "./components/llm-provider-hub/providers/openai-subscription-provider.js";
57
+ export { resolveProvider } from "./components/llm-provider-hub/providers/registry.js";
58
+ export { toLLMModelRecord } from "./components/llm-provider-hub/types.js";
59
+ export { SDKEventType } from "./components/event-handler/events.js";
60
+ export { SDKError } from "./kernel/errors/sdk-error.js";
61
+ export { ModelError } from "./kernel/errors/model-error.js";
62
+ export { ToolError } from "./kernel/errors/tool-error.js";
63
+ export { PolicyError } from "./kernel/errors/policy-error.js";
64
+ export { SessionError } from "./kernel/errors/session-error.js";
65
+ export { SkillError } from "./kernel/errors/skill-error.js";
66
+ export { SandboxError } from "./kernel/errors/sandbox-error.js";
67
+ export { ArtifactError } from "./kernel/errors/artifact-error.js";
68
+ // Test doubles — mock provider, stores, tools
69
+ export { MockLLMModelProvider } from "./testing/mock-llm-model-provider.js";
70
+ export { InMemorySessionStore } from "./testing/mock-session-store.js";
71
+ export { ScheduleLookupTool, BudgetQueryTool, DocumentSearchTool, SendRfiTool } from "./testing/mock-tools.js";
72
+ export { InMemorySandboxProvider } from "./testing/in-memory-sandbox.js";
73
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,UAAU;AACV,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EACL,gBAAgB,EAChB,aAAa,GACd,MAAM,qDAAqD,CAAC;AAC7D,OAAO,EACL,yBAAyB,GAC1B,MAAM,+DAA+D,CAAC;AACvE,OAAO,EACL,gCAAgC,GACjC,MAAM,uEAAuE,CAAC;AAQ/E,OAAO,EAAE,cAAc,EAAE,MAAM,iDAAiD,CAAC;AACjF,OAAO,EAAE,YAAY,EAAE,MAAM,6CAA6C,CAAC;AAC3E,OAAO,EAAE,gBAAgB,EAAE,MAAM,kDAAkD,CAAC;AAEpF,iBAAiB;AACjB,OAAO,EAAE,aAAa,EAAE,MAAM,6DAA6D,CAAC;AAE5F,OAAO,EAAE,cAAc,EAAE,MAAM,8DAA8D,CAAC;AAE9F,OAAO,EAAE,wBAAwB,EAAE,MAAM,wEAAwE,CAAC;AAOlH,OAAO,EAAE,WAAW,EAAE,MAAM,kEAAkE,CAAC;AAC/F,OAAO,EAAE,iBAAiB,EAAE,MAAM,uDAAuD,CAAC;AAE1F,4EAA4E;AAC5E,OAAO,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,MAAM,0EAA0E,CAAC;AACtI,OAAO,EAAE,YAAY,EAAE,MAAM,kEAAkE,CAAC;AAChG,OAAO,EAAE,aAAa,EAAE,MAAM,mEAAmE,CAAC;AAClG,OAAO,EAAE,YAAY,EAAE,MAAM,kEAAkE,CAAC;AAChG,OAAO,EAAE,aAAa,EAAE,MAAM,mEAAmE,CAAC;AAClG,OAAO,EAAE,eAAe,EAAE,MAAM,qEAAqE,CAAC;AACtG,OAAO,EAAE,YAAY,EAAE,MAAM,iEAAiE,CAAC;AAC/F,OAAO,EAAE,WAAW,EAAE,MAAM,iEAAiE,CAAC;AAE9F,0GAA0G;AAC1G,OAAO,EAAE,eAAe,EAAE,MAAM,kEAAkE,CAAC;AACnG,OAAO,EAAE,aAAa,EAAE,MAAM,gEAAgE,CAAC;AAC/F,OAAO,EAAE,mBAAmB,EAAE,MAAM,gEAAgE,CAAC;AAErG,4FAA4F;AAC5F,OAAO,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAC/D,OAAO,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,MAAM,4DAA4D,CAAC;AACrH,OAAO,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAWjI,iFAAiF;AACjF,OAAO,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,yEAAyE,CAAC;AACnI,OAAO,EAAE,gBAAgB,EAAE,MAAM,sEAAsE,CAAC;AACxG,OAAO,EAAE,kBAAkB,EAAE,MAAM,wEAAwE,CAAC;AAC5G,OAAO,EAAE,gBAAgB,EAAE,MAAM,sEAAsE,CAAC;AACxG,OAAO,EAAE,iBAAiB,EAAE,MAAM,uEAAuE,CAAC;AAG1G,2DAA2D;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,2CAA2C,CAAC;AAiBxE,OAAO,EAAE,mBAAmB,EAAE,MAAM,sEAAsE,CAAC;AAE3G,mBAAmB;AACnB,OAAO,EAAE,UAAU,EAAE,MAAM,yCAAyC,CAAC;AACrE,OAAO,EAAE,4BAA4B,EAAE,MAAM,6CAA6C,CAAC;AAC3F,OAAO,EACL,cAAc;AACd,cAAc;AACd,UAAU,EACV,WAAW,EACX,aAAa,EACb,kBAAkB,GACnB,MAAM,0CAA0C,CAAC;AAsClD,0BAA0B;AAC1B,OAAO,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,MAAM,4DAA4D,CAAC;AAI1H,OAAO,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,MAAM,sDAAsD,CAAC;AACjH,qEAAqE;AACrE,OAAO,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,wDAAwD,CAAC;AAIlH,gBAAgB;AAChB,OAAO,EAAE,cAAc,EAAE,MAAM,mDAAmD,CAAC;AACnF,OAAO,EACL,uBAAuB,GACxB,MAAM,6DAA6D,CAAC;AACrE,OAAO,EACL,0BAA0B,GAC3B,MAAM,yEAAyE,CAAC;AACjF,OAAO,EAAE,eAAe,EAAE,MAAM,qDAAqD,CAAC;AAatF,OAAO,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAiE1E,OAAO,EAAE,YAAY,EAAE,MAAM,sCAAsC,CAAC;AAsBpE,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAE5D,OAAO,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAE1D,OAAO,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAE9D,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAEhE,OAAO,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAChE,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAalE,8CAA8C;AAC9C,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAC5E,OAAO,EAAE,oBAAoB,EAAE,MAAM,iCAAiC,CAAC;AACvE,OAAO,EAAE,kBAAkB,EAAE,eAAe,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC/G,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC"}
@@ -0,0 +1,23 @@
1
+ import { SDKError } from "./sdk-error.js";
2
+ export type ArtifactErrorCode =
3
+ /** No artifact with that id/name for this agent. */
4
+ "not_found"
5
+ /** save_artifact used a name this agent already owns — update_artifact is the way to change it. */
6
+ | "name_conflict"
7
+ /** Malformed name, type or reference. */
8
+ | "invalid_argument"
9
+ /** expectedVersion did not match the current head — someone else wrote in between. */
10
+ | "conflict"
11
+ /** The tracked (or to-be-tracked) file is not in the agent's sandbox. */
12
+ | "file_missing"
13
+ /** No ArtifactStore is wired into the PersistenceHub. */
14
+ | "not_configured";
15
+ export declare class ArtifactError extends SDKError {
16
+ readonly code: ArtifactErrorCode;
17
+ /** Artifact the failure is about, when one was resolved. */
18
+ readonly artifactId?: string | undefined;
19
+ constructor(message: string, code: ArtifactErrorCode,
20
+ /** Artifact the failure is about, when one was resolved. */
21
+ artifactId?: string | undefined);
22
+ }
23
+ //# sourceMappingURL=artifact-error.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"artifact-error.d.ts","sourceRoot":"","sources":["../../../src/kernel/errors/artifact-error.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,MAAM,MAAM,iBAAiB;AAC3B,oDAAoD;AAClD,WAAW;AACb,mGAAmG;GACjG,eAAe;AACjB,yCAAyC;GACvC,kBAAkB;AACpB,sFAAsF;GACpF,UAAU;AACZ,yEAAyE;GACvE,cAAc;AAChB,yDAAyD;GACvD,gBAAgB,CAAC;AAWrB,qBAAa,aAAc,SAAQ,QAAQ;aAGvB,IAAI,EAAE,iBAAiB;IACvC,4DAA4D;aAC5C,UAAU,CAAC,EAAE,MAAM;IAJrC,YACE,OAAO,EAAE,MAAM,EACC,IAAI,EAAE,iBAAiB;IACvC,4DAA4D;IAC5C,UAAU,CAAC,EAAE,MAAM,YAAA,EAIpC;CACF"}
@@ -0,0 +1,22 @@
1
+ import { SDKError } from "./sdk-error.js";
2
+ /**
3
+ * Codes where retrying the same call cannot succeed — tools map these to `retryable: false`.
4
+ * Every artifact failure is deterministic today; the set is explicit so a future
5
+ * transient code (e.g. a store timeout) is retryable by default.
6
+ */
7
+ const NON_RETRYABLE = new Set([
8
+ "not_found", "name_conflict", "invalid_argument", "conflict", "file_missing", "not_configured",
9
+ ]);
10
+ export class ArtifactError extends SDKError {
11
+ code;
12
+ artifactId;
13
+ constructor(message, code,
14
+ /** Artifact the failure is about, when one was resolved. */
15
+ artifactId) {
16
+ super(message, !NON_RETRYABLE.has(code));
17
+ this.code = code;
18
+ this.artifactId = artifactId;
19
+ this.name = "ArtifactError";
20
+ }
21
+ }
22
+ //# sourceMappingURL=artifact-error.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"artifact-error.js","sourceRoot":"","sources":["../../../src/kernel/errors/artifact-error.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAgB1C;;;;GAIG;AACH,MAAM,aAAa,GAAmC,IAAI,GAAG,CAAC;IAC5D,WAAW,EAAE,eAAe,EAAE,kBAAkB,EAAE,UAAU,EAAE,cAAc,EAAE,gBAAgB;CAC/F,CAAC,CAAC;AAEH,MAAM,OAAO,aAAc,SAAQ,QAAQ;IAGvB,IAAI;IAEJ,UAAU;IAJ5B,YACE,OAAe,EACC,IAAuB;IACvC,4DAA4D;IAC5C,UAAmB;QAEnC,KAAK,CAAC,OAAO,EAAE,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC;oBAJzB,IAAI;0BAEJ,UAAU;QAG1B,IAAI,CAAC,IAAI,GAAG,eAAe,CAAC;IAC9B,CAAC;CACF"}
@@ -0,0 +1,7 @@
1
+ import { SDKError } from "./sdk-error.js";
2
+ export type ModelErrorCode = "auth" | "rate_limit" | "timeout" | "invalid_request" | "provider";
3
+ export declare class ModelError extends SDKError {
4
+ readonly code: ModelErrorCode;
5
+ constructor(message: string, code: ModelErrorCode, retryable: boolean);
6
+ }
7
+ //# sourceMappingURL=model-error.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"model-error.d.ts","sourceRoot":"","sources":["../../../src/kernel/errors/model-error.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,MAAM,MAAM,cAAc,GACtB,MAAM,GACN,YAAY,GACZ,SAAS,GACT,iBAAiB,GACjB,UAAU,CAAC;AAEf,qBAAa,UAAW,SAAQ,QAAQ;aAGpB,IAAI,EAAE,cAAc;IAFtC,YACE,OAAO,EAAE,MAAM,EACC,IAAI,EAAE,cAAc,EACpC,SAAS,EAAE,OAAO,EAInB;CACF"}
@@ -0,0 +1,10 @@
1
+ import { SDKError } from "./sdk-error.js";
2
+ export class ModelError extends SDKError {
3
+ code;
4
+ constructor(message, code, retryable) {
5
+ super(message, retryable);
6
+ this.code = code;
7
+ this.name = "ModelError";
8
+ }
9
+ }
10
+ //# sourceMappingURL=model-error.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"model-error.js","sourceRoot":"","sources":["../../../src/kernel/errors/model-error.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAS1C,MAAM,OAAO,UAAW,SAAQ,QAAQ;IAGpB,IAAI;IAFtB,YACE,OAAe,EACC,IAAoB,EACpC,SAAkB;QAElB,KAAK,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC;oBAHV,IAAI;QAIpB,IAAI,CAAC,IAAI,GAAG,YAAY,CAAC;IAC3B,CAAC;CACF"}
@@ -0,0 +1,8 @@
1
+ import { SDKError } from "./sdk-error.js";
2
+ export type PolicyErrorCode = "not_in_allowlist" | "invalid_args" | "authorization_denied";
3
+ export declare class PolicyError extends SDKError {
4
+ readonly code: PolicyErrorCode;
5
+ readonly toolName: string;
6
+ constructor(message: string, code: PolicyErrorCode, toolName: string);
7
+ }
8
+ //# sourceMappingURL=policy-error.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"policy-error.d.ts","sourceRoot":"","sources":["../../../src/kernel/errors/policy-error.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,MAAM,MAAM,eAAe,GACvB,kBAAkB,GAClB,cAAc,GACd,sBAAsB,CAAC;AAE3B,qBAAa,WAAY,SAAQ,QAAQ;aAGrB,IAAI,EAAE,eAAe;aACrB,QAAQ,EAAE,MAAM;IAHlC,YACE,OAAO,EAAE,MAAM,EACC,IAAI,EAAE,eAAe,EACrB,QAAQ,EAAE,MAAM,EAIjC;CACF"}
@@ -0,0 +1,12 @@
1
+ import { SDKError } from "./sdk-error.js";
2
+ export class PolicyError extends SDKError {
3
+ code;
4
+ toolName;
5
+ constructor(message, code, toolName) {
6
+ super(message, false);
7
+ this.code = code;
8
+ this.toolName = toolName;
9
+ this.name = "PolicyError";
10
+ }
11
+ }
12
+ //# sourceMappingURL=policy-error.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"policy-error.js","sourceRoot":"","sources":["../../../src/kernel/errors/policy-error.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAO1C,MAAM,OAAO,WAAY,SAAQ,QAAQ;IAGrB,IAAI;IACJ,QAAQ;IAH1B,YACE,OAAe,EACC,IAAqB,EACrB,QAAgB;QAEhC,KAAK,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;oBAHN,IAAI;wBACJ,QAAQ;QAGxB,IAAI,CAAC,IAAI,GAAG,aAAa,CAAC;IAC5B,CAAC;CACF"}
@@ -0,0 +1,35 @@
1
+ import { SDKError } from "./sdk-error.js";
2
+ export type SandboxErrorCode =
3
+ /** The agent uses the shared sandbox but none is configured on the SandboxHub. */
4
+ "not_configured"
5
+ /** The agent's profile selects `sandbox: "none"`. */
6
+ | "disabled"
7
+ /** No SandboxProvider is registered for the sandbox kind. */
8
+ | "provider_unavailable"
9
+ /** The sandbox does not offer the requested operation (e.g. exec, shell). */
10
+ | "capability_unsupported"
11
+ /** A path resolves outside the roots the agent may use (traversal, absolute, symlink). */
12
+ | "path_escape" | "not_found"
13
+ /** Input or content above the sandbox's limits. */
14
+ | "too_large"
15
+ /** writeFile's expectedSha256 did not match the current file. */
16
+ | "conflict" | "timeout" | "cancelled"
17
+ /** Selection or configuration rejected by the hub policy (image, network, named env). */
18
+ | "policy_denied"
19
+ /** The sandbox exists but cannot serve requests (container down, runner offline). */
20
+ | "environment_unavailable"
21
+ /** The path is malformed or the wrong type (e.g. reading a directory). */
22
+ | "invalid_path"
23
+ /** Any other malformed request (bad regex, non-positive timeout, empty command). */
24
+ | "invalid_argument";
25
+ export declare class SandboxError extends SDKError {
26
+ readonly code: SandboxErrorCode;
27
+ /** Sandbox the failure came from, when one was resolved. */
28
+ readonly sandboxId?: string | undefined;
29
+ constructor(message: string, code: SandboxErrorCode,
30
+ /** Sandbox the failure came from, when one was resolved. */
31
+ sandboxId?: string | undefined);
32
+ }
33
+ /** Wrap an unknown failure from a sandbox as a retryable "environment_unavailable" SandboxError. */
34
+ export declare function asSandboxError(error: unknown, sandboxId: string): SandboxError;
35
+ //# sourceMappingURL=sandbox-error.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sandbox-error.d.ts","sourceRoot":"","sources":["../../../src/kernel/errors/sandbox-error.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,MAAM,MAAM,gBAAgB;AAC1B,kFAAkF;AAChF,gBAAgB;AAClB,qDAAqD;GACnD,UAAU;AACZ,6DAA6D;GAC3D,sBAAsB;AACxB,6EAA6E;GAC3E,wBAAwB;AAC1B,0FAA0F;GACxF,aAAa,GACb,WAAW;AACb,mDAAmD;GACjD,WAAW;AACb,iEAAiE;GAC/D,UAAU,GACV,SAAS,GACT,WAAW;AACb,yFAAyF;GACvF,eAAe;AACjB,qFAAqF;GACnF,yBAAyB;AAC3B,0EAA0E;GACxE,cAAc;AAChB,oFAAoF;GAClF,kBAAkB,CAAC;AAQvB,qBAAa,YAAa,SAAQ,QAAQ;aAGtB,IAAI,EAAE,gBAAgB;IACtC,4DAA4D;aAC5C,SAAS,CAAC,EAAE,MAAM;IAJpC,YACE,OAAO,EAAE,MAAM,EACC,IAAI,EAAE,gBAAgB;IACtC,4DAA4D;IAC5C,SAAS,CAAC,EAAE,MAAM,YAAA,EAInC;CACF;AAED,oGAAoG;AACpG,wBAAgB,cAAc,CAAC,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,GAAG,YAAY,CAI9E"}
@@ -0,0 +1,26 @@
1
+ import { SDKError } from "./sdk-error.js";
2
+ /** Codes where retrying the same call cannot succeed — tools map these to `retryable: false`. */
3
+ const NON_RETRYABLE = new Set([
4
+ "not_configured", "disabled", "provider_unavailable", "capability_unsupported", "path_escape",
5
+ "not_found", "too_large", "conflict", "policy_denied", "invalid_path", "invalid_argument",
6
+ ]);
7
+ export class SandboxError extends SDKError {
8
+ code;
9
+ sandboxId;
10
+ constructor(message, code,
11
+ /** Sandbox the failure came from, when one was resolved. */
12
+ sandboxId) {
13
+ super(message, !NON_RETRYABLE.has(code));
14
+ this.code = code;
15
+ this.sandboxId = sandboxId;
16
+ this.name = "SandboxError";
17
+ }
18
+ }
19
+ /** Wrap an unknown failure from a sandbox as a retryable "environment_unavailable" SandboxError. */
20
+ export function asSandboxError(error, sandboxId) {
21
+ if (error instanceof SandboxError)
22
+ return error;
23
+ const message = error instanceof Error ? error.message : String(error);
24
+ return new SandboxError(`Sandbox "${sandboxId}" is unavailable: ${message}`, "environment_unavailable", sandboxId);
25
+ }
26
+ //# sourceMappingURL=sandbox-error.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sandbox-error.js","sourceRoot":"","sources":["../../../src/kernel/errors/sandbox-error.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AA6B1C,iGAAiG;AACjG,MAAM,aAAa,GAAkC,IAAI,GAAG,CAAC;IAC3D,gBAAgB,EAAE,UAAU,EAAE,sBAAsB,EAAE,wBAAwB,EAAE,aAAa;IAC7F,WAAW,EAAE,WAAW,EAAE,UAAU,EAAE,eAAe,EAAE,cAAc,EAAE,kBAAkB;CAC1F,CAAC,CAAC;AAEH,MAAM,OAAO,YAAa,SAAQ,QAAQ;IAGtB,IAAI;IAEJ,SAAS;IAJ3B,YACE,OAAe,EACC,IAAsB;IACtC,4DAA4D;IAC5C,SAAkB;QAElC,KAAK,CAAC,OAAO,EAAE,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC;oBAJzB,IAAI;yBAEJ,SAAS;QAGzB,IAAI,CAAC,IAAI,GAAG,cAAc,CAAC;IAC7B,CAAC;CACF;AAED,oGAAoG;AACpG,MAAM,UAAU,cAAc,CAAC,KAAc,EAAE,SAAiB;IAC9D,IAAI,KAAK,YAAY,YAAY;QAAE,OAAO,KAAK,CAAC;IAChD,MAAM,OAAO,GAAG,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IACvE,OAAO,IAAI,YAAY,CAAC,YAAY,SAAS,qBAAqB,OAAO,EAAE,EAAE,yBAAyB,EAAE,SAAS,CAAC,CAAC;AACrH,CAAC"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Base error class for all SDK errors.
3
+ * Every SDK error extends this so consumers can catch broadly or narrowly.
4
+ */
5
+ export declare class SDKError extends Error {
6
+ readonly retryable: boolean;
7
+ constructor(message: string, retryable?: boolean);
8
+ }
9
+ //# sourceMappingURL=sdk-error.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sdk-error.d.ts","sourceRoot":"","sources":["../../../src/kernel/errors/sdk-error.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,qBAAa,QAAS,SAAQ,KAAK;aAGf,SAAS,EAAE,OAAO;IAFpC,YACE,OAAO,EAAE,MAAM,EACC,SAAS,GAAE,OAAe,EAI3C;CACF"}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Base error class for all SDK errors.
3
+ * Every SDK error extends this so consumers can catch broadly or narrowly.
4
+ */
5
+ export class SDKError extends Error {
6
+ retryable;
7
+ constructor(message, retryable = false) {
8
+ super(message);
9
+ this.retryable = retryable;
10
+ this.name = "SDKError";
11
+ }
12
+ }
13
+ //# sourceMappingURL=sdk-error.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sdk-error.js","sourceRoot":"","sources":["../../../src/kernel/errors/sdk-error.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,OAAO,QAAS,SAAQ,KAAK;IAGf,SAAS;IAF3B,YACE,OAAe,EACC,SAAS,GAAY,KAAK;QAE1C,KAAK,CAAC,OAAO,CAAC,CAAC;yBAFC,SAAS;QAGzB,IAAI,CAAC,IAAI,GAAG,UAAU,CAAC;IACzB,CAAC;CACF"}
@@ -0,0 +1,7 @@
1
+ import { SDKError } from "./sdk-error.js";
2
+ export type SessionErrorCode = "not_found" | "already_exists" | "store_unavailable" | "corrupted";
3
+ export declare class SessionError extends SDKError {
4
+ readonly code: SessionErrorCode;
5
+ constructor(message: string, code: SessionErrorCode, retryable?: boolean);
6
+ }
7
+ //# sourceMappingURL=session-error.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"session-error.d.ts","sourceRoot":"","sources":["../../../src/kernel/errors/session-error.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,MAAM,MAAM,gBAAgB,GACxB,WAAW,GACX,gBAAgB,GAChB,mBAAmB,GACnB,WAAW,CAAC;AAEhB,qBAAa,YAAa,SAAQ,QAAQ;aAGtB,IAAI,EAAE,gBAAgB;IAFxC,YACE,OAAO,EAAE,MAAM,EACC,IAAI,EAAE,gBAAgB,EACtC,SAAS,GAAE,OAAe,EAI3B;CACF"}
@@ -0,0 +1,10 @@
1
+ import { SDKError } from "./sdk-error.js";
2
+ export class SessionError extends SDKError {
3
+ code;
4
+ constructor(message, code, retryable = false) {
5
+ super(message, retryable);
6
+ this.code = code;
7
+ this.name = "SessionError";
8
+ }
9
+ }
10
+ //# sourceMappingURL=session-error.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"session-error.js","sourceRoot":"","sources":["../../../src/kernel/errors/session-error.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAQ1C,MAAM,OAAO,YAAa,SAAQ,QAAQ;IAGtB,IAAI;IAFtB,YACE,OAAe,EACC,IAAsB,EACtC,SAAS,GAAY,KAAK;QAE1B,KAAK,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC;oBAHV,IAAI;QAIpB,IAAI,CAAC,IAAI,GAAG,cAAc,CAAC;IAC7B,CAAC;CACF"}
@@ -0,0 +1,14 @@
1
+ import { SDKError } from "./sdk-error.js";
2
+ export type SkillErrorCode = "not_found" | "not_allowed"
3
+ /** SKILL.md or a file breaks the format rules; the message lists every problem. */
4
+ | "invalid"
5
+ /** A skill with this name is already in the library. */
6
+ | "already_exists"
7
+ /** Built-in and app skills cannot be changed at runtime. */
8
+ | "read_only";
9
+ export declare class SkillError extends SDKError {
10
+ readonly code: SkillErrorCode;
11
+ readonly skillName: string;
12
+ constructor(message: string, code: SkillErrorCode, skillName: string, retryable?: boolean);
13
+ }
14
+ //# sourceMappingURL=skill-error.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"skill-error.d.ts","sourceRoot":"","sources":["../../../src/kernel/errors/skill-error.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,MAAM,MAAM,cAAc,GACtB,WAAW,GACX,aAAa;AACf,mFAAmF;GACjF,SAAS;AACX,wDAAwD;GACtD,gBAAgB;AAClB,4DAA4D;GAC1D,WAAW,CAAC;AAEhB,qBAAa,UAAW,SAAQ,QAAQ;aAGpB,IAAI,EAAE,cAAc;aACpB,SAAS,EAAE,MAAM;IAHnC,YACE,OAAO,EAAE,MAAM,EACC,IAAI,EAAE,cAAc,EACpB,SAAS,EAAE,MAAM,EACjC,SAAS,GAAE,OAAe,EAI3B;CACF"}
@@ -0,0 +1,12 @@
1
+ import { SDKError } from "./sdk-error.js";
2
+ export class SkillError extends SDKError {
3
+ code;
4
+ skillName;
5
+ constructor(message, code, skillName, retryable = false) {
6
+ super(message, retryable);
7
+ this.code = code;
8
+ this.skillName = skillName;
9
+ this.name = "SkillError";
10
+ }
11
+ }
12
+ //# sourceMappingURL=skill-error.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"skill-error.js","sourceRoot":"","sources":["../../../src/kernel/errors/skill-error.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAY1C,MAAM,OAAO,UAAW,SAAQ,QAAQ;IAGpB,IAAI;IACJ,SAAS;IAH3B,YACE,OAAe,EACC,IAAoB,EACpB,SAAiB,EACjC,SAAS,GAAY,KAAK;QAE1B,KAAK,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC;oBAJV,IAAI;yBACJ,SAAS;QAIzB,IAAI,CAAC,IAAI,GAAG,YAAY,CAAC;IAC3B,CAAC;CACF"}
@@ -0,0 +1,8 @@
1
+ import { SDKError } from "./sdk-error.js";
2
+ export type ToolErrorCode = "not_found" | "not_allowed" | "invalid_args" | "execution_failed" | "timeout";
3
+ export declare class ToolError extends SDKError {
4
+ readonly code: ToolErrorCode;
5
+ readonly toolName: string;
6
+ constructor(message: string, code: ToolErrorCode, toolName: string, retryable?: boolean);
7
+ }
8
+ //# sourceMappingURL=tool-error.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tool-error.d.ts","sourceRoot":"","sources":["../../../src/kernel/errors/tool-error.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,MAAM,MAAM,aAAa,GACrB,WAAW,GACX,aAAa,GACb,cAAc,GACd,kBAAkB,GAClB,SAAS,CAAC;AAEd,qBAAa,SAAU,SAAQ,QAAQ;aAGnB,IAAI,EAAE,aAAa;aACnB,QAAQ,EAAE,MAAM;IAHlC,YACE,OAAO,EAAE,MAAM,EACC,IAAI,EAAE,aAAa,EACnB,QAAQ,EAAE,MAAM,EAChC,SAAS,GAAE,OAAe,EAI3B;CACF"}
@@ -0,0 +1,12 @@
1
+ import { SDKError } from "./sdk-error.js";
2
+ export class ToolError extends SDKError {
3
+ code;
4
+ toolName;
5
+ constructor(message, code, toolName, retryable = false) {
6
+ super(message, retryable);
7
+ this.code = code;
8
+ this.toolName = toolName;
9
+ this.name = "ToolError";
10
+ }
11
+ }
12
+ //# sourceMappingURL=tool-error.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tool-error.js","sourceRoot":"","sources":["../../../src/kernel/errors/tool-error.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAS1C,MAAM,OAAO,SAAU,SAAQ,QAAQ;IAGnB,IAAI;IACJ,QAAQ;IAH1B,YACE,OAAe,EACC,IAAmB,EACnB,QAAgB,EAChC,SAAS,GAAY,KAAK;QAE1B,KAAK,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC;oBAJV,IAAI;wBACJ,QAAQ;QAIxB,IAAI,CAAC,IAAI,GAAG,WAAW,CAAC;IAC1B,CAAC;CACF"}
@@ -0,0 +1,23 @@
1
+ import type { LLMModelProvider } from "../../components/llm-provider-hub/types.js";
2
+ import type { ToolHandler } from "../../components/tool-hub/types.js";
3
+ import type { Skill, SkillPackage } from "../../components/skill-hub/types/skill.js";
4
+ import type { SandboxProvider } from "../../components/sandbox-hub/types/provider.js";
5
+ import type { AgentProfile } from "../../components/multi-agent-orchestration/agent/types.js";
6
+ import type { PersistenceHub } from "../../components/persistence-hub/persistence-hub.js";
7
+ export interface Kernel {
8
+ usePersistence(hub: PersistenceHub): void;
9
+ useLLMProvider(adapter: LLMModelProvider): void;
10
+ useTool(tool: ToolHandler): void;
11
+ useSkill(skill: SkillPackage): void;
12
+ useSandboxProvider(provider: SandboxProvider): void;
13
+ getLLMModelProvider(name?: string): LLMModelProvider;
14
+ getLLMModelProviders(): LLMModelProvider[];
15
+ getTool(name: string): ToolHandler | undefined;
16
+ getTools(): ToolHandler[];
17
+ getSkill(name: string): Promise<Skill | undefined>;
18
+ getSkills(): Promise<Skill[]>;
19
+ spawnAgent(profile: AgentProfile): unknown;
20
+ initialize(): Promise<void>;
21
+ dispose(): Promise<void>;
22
+ }
23
+ //# sourceMappingURL=kernel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kernel.d.ts","sourceRoot":"","sources":["../../../src/kernel/interfaces/kernel.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,4CAA4C,CAAC;AACnF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAC;AACtE,OAAO,KAAK,EAAE,KAAK,EAAE,YAAY,EAAE,MAAM,2CAA2C,CAAC;AACrF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gDAAgD,CAAC;AACtF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2DAA2D,CAAC;AAC9F,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qDAAqD,CAAC;AAM1F,MAAM,WAAW,MAAM;IAErB,cAAc,CAAC,GAAG,EAAE,cAAc,GAAG,IAAI,CAAC;IAC1C,cAAc,CAAC,OAAO,EAAE,gBAAgB,GAAG,IAAI,CAAC;IAChD,OAAO,CAAC,IAAI,EAAE,WAAW,GAAG,IAAI,CAAC;IACjC,QAAQ,CAAC,KAAK,EAAE,YAAY,GAAG,IAAI,CAAC;IACpC,kBAAkB,CAAC,QAAQ,EAAE,eAAe,GAAG,IAAI,CAAC;IAEpD,mBAAmB,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,gBAAgB,CAAC;IACrD,oBAAoB,IAAI,gBAAgB,EAAE,CAAC;IAC3C,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,WAAW,GAAG,SAAS,CAAC;IAC/C,QAAQ,IAAI,WAAW,EAAE,CAAC;IAC1B,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,GAAG,SAAS,CAAC,CAAC;IACnD,SAAS,IAAI,OAAO,CAAC,KAAK,EAAE,CAAC,CAAC;IAE9B,UAAU,CAAC,OAAO,EAAE,YAAY,GAAG,OAAO,CAAC;IAC3C,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAC5B,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;CAC1B"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=kernel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kernel.js","sourceRoot":"","sources":["../../../src/kernel/interfaces/kernel.ts"],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
1
+ export interface Plugin {
2
+ readonly name: string;
3
+ readonly version: string;
4
+ initialize?(): Promise<void>;
5
+ dispose?(): Promise<void>;
6
+ }
7
+ //# sourceMappingURL=plugin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../../src/kernel/interfaces/plugin.ts"],"names":[],"mappings":"AAIA,MAAM,WAAW,MAAM;IACrB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,UAAU,CAAC,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAC7B,OAAO,CAAC,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;CAC3B"}
@@ -0,0 +1,5 @@
1
+ // ---------------------------------------------------------------------------
2
+ // Plugin lifecycle — every plugin implements this
3
+ // ---------------------------------------------------------------------------
4
+ export {};
5
+ //# sourceMappingURL=plugin.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin.js","sourceRoot":"","sources":["../../../src/kernel/interfaces/plugin.ts"],"names":[],"mappings":"AAAA,8EAA8E;AAC9E,kDAAkD;AAClD,8EAA8E"}
@@ -0,0 +1,103 @@
1
+ export interface Event<T = unknown> {
2
+ id: string;
3
+ type: string;
4
+ timestamp: number;
5
+ sessionId: string;
6
+ payload: T;
7
+ }
8
+ export interface Message {
9
+ role: "user" | "assistant" | "system" | "tool";
10
+ content: string;
11
+ timestamp?: string;
12
+ toolCalls?: ToolCall[];
13
+ toolResults?: ToolResult[];
14
+ }
15
+ export interface ToolCall {
16
+ id: string;
17
+ name: string;
18
+ arguments: Record<string, unknown>;
19
+ }
20
+ export interface ToolResult {
21
+ toolCallId: string;
22
+ content: string;
23
+ isError?: boolean;
24
+ }
25
+ export interface StreamChunk {
26
+ type: "text" | "tool_call_start" | "tool_call_delta" | "tool_call" | "tool_result" | "done" | "error";
27
+ content?: string;
28
+ toolCall?: ToolCall;
29
+ /** Present on "tool_call_start" / "tool_call_delta" chunks — a tool call the model is still writing. */
30
+ toolCallProgress?: ToolCallProgress;
31
+ toolResult?: ToolResult;
32
+ error?: string;
33
+ usage?: TokenUsage;
34
+ /** Set on the final "done" chunk when the run was stopped through RunOptions.signal (A-65). */
35
+ aborted?: boolean;
36
+ }
37
+ /**
38
+ * A tool call the model is still generating, streamed so consumers can show
39
+ * progress while long arguments (e.g. a file body) are being written.
40
+ *
41
+ * "tool_call_start" carries the id and name as soon as the provider knows
42
+ * them; each "tool_call_delta" carries the next slice of the raw JSON
43
+ * arguments text. Slices are not valid JSON on their own. The complete,
44
+ * parsed arguments always follow in a "tool_call" chunk with the same id —
45
+ * that chunk is the only one the agent loop executes.
46
+ */
47
+ export interface ToolCallProgress {
48
+ id: string;
49
+ name: string;
50
+ /** Next slice of the raw JSON arguments text ("tool_call_delta" only). */
51
+ argumentsDelta?: string;
52
+ }
53
+ export interface ModelResponse {
54
+ message: Message;
55
+ usage: TokenUsage;
56
+ stopReason: "end_turn" | "tool_use" | "max_tokens" | "error";
57
+ }
58
+ export interface TokenUsage {
59
+ inputTokens: number;
60
+ outputTokens: number;
61
+ cacheReadTokens?: number;
62
+ cacheWriteTokens?: number;
63
+ }
64
+ export interface Session {
65
+ id: string;
66
+ metadata: Record<string, unknown>;
67
+ createdAt: number;
68
+ updatedAt: number;
69
+ /**
70
+ * every session has it's own model, if Agent switch back to another provider just fallback to default llmModel in AgentProfile
71
+ */
72
+ llmModel?: string;
73
+ /**
74
+ * Token usage from the most recent model response in this session.
75
+ * inputTokens = full conversation sent to the model (= current context size).
76
+ * outputTokens = what the model generated (added to context for next turn).
77
+ * Together they represent the current context window usage.
78
+ */
79
+ currentTokenUsage?: TokenUsage;
80
+ /**
81
+ * Learned chars-per-token ratio from the Counter's calibration.
82
+ * Persisted so the next run starts with an accurate estimator
83
+ * instead of the default 4:1 guess.
84
+ */
85
+ counterCalibration?: {
86
+ charsPerToken: number;
87
+ samples: number;
88
+ };
89
+ /**
90
+ * Memory consolidation checkpoint — how many of this session's messages
91
+ * (in MessageStore order) the memory system has already processed.
92
+ * Persisted so consolidation resumes from here after a restart instead of
93
+ * reprocessing the whole session. Messages are append-only, so this value
94
+ * only ever grows: SessionStore.update() must never decrease it
95
+ * (other components write back cached Session copies that may hold an
96
+ * older value).
97
+ */
98
+ consolidatedMessageCount?: number;
99
+ }
100
+ export interface SessionFilter {
101
+ metadata?: Record<string, unknown>;
102
+ }
103
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/kernel/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,KAAK,CAAC,CAAC,GAAG,OAAO;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,CAAC,CAAC;CACZ;AAED,MAAM,WAAW,OAAO;IACtB,IAAI,EAAE,MAAM,GAAG,WAAW,GAAG,QAAQ,GAAG,MAAM,CAAC;IAC/C,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAC;IACvB,WAAW,CAAC,EAAE,UAAU,EAAE,CAAC;CAC5B;AAED,MAAM,WAAW,QAAQ;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACpC;AAED,MAAM,WAAW,UAAU;IACzB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,WAAW;IAC1B,IAAI,EACA,MAAM,GACN,iBAAiB,GACjB,iBAAiB,GACjB,WAAW,GACX,aAAa,GACb,MAAM,GACN,OAAO,CAAC;IACZ,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,wGAAwG;IACxG,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IACpC,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,+FAA+F;IAC/F,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED;;;;;;;;;GASG;AACH,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,0EAA0E;IAC1E,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,aAAa;IAC5B,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,UAAU,CAAC;IAClB,UAAU,EAAE,UAAU,GAAG,UAAU,GAAG,YAAY,GAAG,OAAO,CAAC;CAC9D;AAED,MAAM,WAAW,UAAU;IACzB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAClC,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,QAAQ,CAAC,EAAC,MAAM,CAAC;IACjB;;;;;OAKG;IACH,iBAAiB,CAAC,EAAE,UAAU,CAAC;IAC/B;;;;OAIG;IACH,kBAAkB,CAAC,EAAE;QAAE,aAAa,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC;IAChE;;;;;;;;OAQG;IACH,wBAAwB,CAAC,EAAE,MAAM,CAAC;CACnC;AAED,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACpC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/kernel/types.ts"],"names":[],"mappings":""}