daemora 1.0.0-alpha.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 (1238) hide show
  1. package/LICENSE +661 -0
  2. package/README.md +645 -0
  3. package/crew/_template/plugin.json +18 -0
  4. package/crew/analyst/plugin.json +29 -0
  5. package/crew/architect/plugin.json +29 -0
  6. package/crew/assistant/plugin.json +29 -0
  7. package/crew/backend/plugin.json +31 -0
  8. package/crew/devops/plugin.json +30 -0
  9. package/crew/facebook/plugin.json +36 -0
  10. package/crew/frontend/plugin.json +30 -0
  11. package/crew/github/plugin.json +18 -0
  12. package/crew/gmail/plugin.json +34 -0
  13. package/crew/google-calendar/plugin.json +26 -0
  14. package/crew/google-services/plugin.json +25 -0
  15. package/crew/imessage/plugin.json +24 -0
  16. package/crew/instagram/plugin.json +34 -0
  17. package/crew/linkedin/plugin.json +24 -0
  18. package/crew/meeting-attendant/plugin.json +27 -0
  19. package/crew/notifications/plugin.json +23 -0
  20. package/crew/notion/plugin.json +18 -0
  21. package/crew/planner/plugin.json +25 -0
  22. package/crew/reddit/plugin.json +32 -0
  23. package/crew/researcher/plugin.json +29 -0
  24. package/crew/reviewer/plugin.json +29 -0
  25. package/crew/security/plugin.json +30 -0
  26. package/crew/smart-home/plugin.json +23 -0
  27. package/crew/ssh-remote/plugin.json +28 -0
  28. package/crew/tiktok/plugin.json +26 -0
  29. package/crew/twitter/plugin.json +46 -0
  30. package/crew/video-editor/plugin.json +19 -0
  31. package/crew/video-editor/rules/3d.md +86 -0
  32. package/crew/video-editor/rules/animations.md +31 -0
  33. package/crew/video-editor/rules/assets/charts-bar-chart.tsx +173 -0
  34. package/crew/video-editor/rules/assets/text-animations-typewriter.tsx +100 -0
  35. package/crew/video-editor/rules/assets/text-animations-word-highlight.tsx +103 -0
  36. package/crew/video-editor/rules/assets.md +78 -0
  37. package/crew/video-editor/rules/audio-visualization.md +198 -0
  38. package/crew/video-editor/rules/audio.md +169 -0
  39. package/crew/video-editor/rules/calculate-metadata.md +134 -0
  40. package/crew/video-editor/rules/can-decode.md +81 -0
  41. package/crew/video-editor/rules/charts.md +120 -0
  42. package/crew/video-editor/rules/compositions.md +154 -0
  43. package/crew/video-editor/rules/cursor-and-clicks.md +108 -0
  44. package/crew/video-editor/rules/display-captions.md +184 -0
  45. package/crew/video-editor/rules/extract-frames.md +229 -0
  46. package/crew/video-editor/rules/ffmpeg.md +34 -0
  47. package/crew/video-editor/rules/focus-zoom.md +108 -0
  48. package/crew/video-editor/rules/fonts.md +152 -0
  49. package/crew/video-editor/rules/get-audio-duration.md +58 -0
  50. package/crew/video-editor/rules/get-video-dimensions.md +68 -0
  51. package/crew/video-editor/rules/get-video-duration.md +60 -0
  52. package/crew/video-editor/rules/gifs.md +141 -0
  53. package/crew/video-editor/rules/images.md +134 -0
  54. package/crew/video-editor/rules/import-srt-captions.md +69 -0
  55. package/crew/video-editor/rules/light-leaks.md +73 -0
  56. package/crew/video-editor/rules/lottie.md +70 -0
  57. package/crew/video-editor/rules/maps.md +412 -0
  58. package/crew/video-editor/rules/measuring-dom-nodes.md +34 -0
  59. package/crew/video-editor/rules/measuring-text.md +140 -0
  60. package/crew/video-editor/rules/parameters.md +109 -0
  61. package/crew/video-editor/rules/sequencing.md +118 -0
  62. package/crew/video-editor/rules/sfx.md +30 -0
  63. package/crew/video-editor/rules/silence-detection.md +71 -0
  64. package/crew/video-editor/rules/subtitles.md +36 -0
  65. package/crew/video-editor/rules/tailwind.md +11 -0
  66. package/crew/video-editor/rules/text-animations.md +20 -0
  67. package/crew/video-editor/rules/theme-switching.md +103 -0
  68. package/crew/video-editor/rules/timing.md +136 -0
  69. package/crew/video-editor/rules/transcribe-captions.md +70 -0
  70. package/crew/video-editor/rules/transitions.md +197 -0
  71. package/crew/video-editor/rules/transparent-videos.md +106 -0
  72. package/crew/video-editor/rules/trimming.md +51 -0
  73. package/crew/video-editor/rules/ui-chrome.md +139 -0
  74. package/crew/video-editor/rules/videos.md +171 -0
  75. package/crew/video-editor/rules/voiceover.md +99 -0
  76. package/crew/video-editor/template/README.md +42 -0
  77. package/crew/video-editor/template/package.json +24 -0
  78. package/crew/video-editor/template/public/.gitkeep +0 -0
  79. package/crew/video-editor/template/public/image.png +0 -0
  80. package/crew/video-editor/template/public/logo.png +0 -0
  81. package/crew/video-editor/template/remotion.config.ts +5 -0
  82. package/crew/video-editor/template/src/Root.tsx +21 -0
  83. package/crew/video-editor/template/src/Video.tsx +38 -0
  84. package/crew/video-editor/template/src/components/LogoStinger.tsx +77 -0
  85. package/crew/video-editor/template/src/index.ts +4 -0
  86. package/crew/video-editor/template/tsconfig.json +16 -0
  87. package/crew/youtube/plugin.json +42 -0
  88. package/dist/auth/AuthProvider.d.ts +35 -0
  89. package/dist/auth/AuthProvider.d.ts.map +1 -0
  90. package/dist/auth/AuthProvider.js +13 -0
  91. package/dist/auth/AuthProvider.js.map +1 -0
  92. package/dist/auth/AuthStore.d.ts +79 -0
  93. package/dist/auth/AuthStore.d.ts.map +1 -0
  94. package/dist/auth/AuthStore.js +139 -0
  95. package/dist/auth/AuthStore.js.map +1 -0
  96. package/dist/auth/LocalAuthProvider.d.ts +28 -0
  97. package/dist/auth/LocalAuthProvider.d.ts.map +1 -0
  98. package/dist/auth/LocalAuthProvider.js +70 -0
  99. package/dist/auth/LocalAuthProvider.js.map +1 -0
  100. package/dist/auth/TokenService.d.ts +83 -0
  101. package/dist/auth/TokenService.d.ts.map +1 -0
  102. package/dist/auth/TokenService.js +129 -0
  103. package/dist/auth/TokenService.js.map +1 -0
  104. package/dist/auth/fileToken.d.ts +33 -0
  105. package/dist/auth/fileToken.d.ts.map +1 -0
  106. package/dist/auth/fileToken.js +69 -0
  107. package/dist/auth/fileToken.js.map +1 -0
  108. package/dist/auth/index.d.ts +47 -0
  109. package/dist/auth/index.d.ts.map +1 -0
  110. package/dist/auth/index.js +76 -0
  111. package/dist/auth/index.js.map +1 -0
  112. package/dist/auth/jwt.d.ts +27 -0
  113. package/dist/auth/jwt.d.ts.map +1 -0
  114. package/dist/auth/jwt.js +67 -0
  115. package/dist/auth/jwt.js.map +1 -0
  116. package/dist/channels/BaseChannel.d.ts +139 -0
  117. package/dist/channels/BaseChannel.d.ts.map +1 -0
  118. package/dist/channels/BaseChannel.js +103 -0
  119. package/dist/channels/BaseChannel.js.map +1 -0
  120. package/dist/channels/BlueBubblesChannel.d.ts +37 -0
  121. package/dist/channels/BlueBubblesChannel.d.ts.map +1 -0
  122. package/dist/channels/BlueBubblesChannel.js +115 -0
  123. package/dist/channels/BlueBubblesChannel.js.map +1 -0
  124. package/dist/channels/ChannelManager.d.ts +85 -0
  125. package/dist/channels/ChannelManager.d.ts.map +1 -0
  126. package/dist/channels/ChannelManager.js +557 -0
  127. package/dist/channels/ChannelManager.js.map +1 -0
  128. package/dist/channels/ChannelRegistry.d.ts +57 -0
  129. package/dist/channels/ChannelRegistry.d.ts.map +1 -0
  130. package/dist/channels/ChannelRegistry.js +93 -0
  131. package/dist/channels/ChannelRegistry.js.map +1 -0
  132. package/dist/channels/DiscordChannel.d.ts +87 -0
  133. package/dist/channels/DiscordChannel.d.ts.map +1 -0
  134. package/dist/channels/DiscordChannel.js +469 -0
  135. package/dist/channels/DiscordChannel.js.map +1 -0
  136. package/dist/channels/EmailChannel.d.ts +64 -0
  137. package/dist/channels/EmailChannel.d.ts.map +1 -0
  138. package/dist/channels/EmailChannel.js +226 -0
  139. package/dist/channels/EmailChannel.js.map +1 -0
  140. package/dist/channels/FeishuChannel.d.ts +40 -0
  141. package/dist/channels/FeishuChannel.d.ts.map +1 -0
  142. package/dist/channels/FeishuChannel.js +169 -0
  143. package/dist/channels/FeishuChannel.js.map +1 -0
  144. package/dist/channels/GoogleChatChannel.d.ts +46 -0
  145. package/dist/channels/GoogleChatChannel.d.ts.map +1 -0
  146. package/dist/channels/GoogleChatChannel.js +184 -0
  147. package/dist/channels/GoogleChatChannel.js.map +1 -0
  148. package/dist/channels/IRCChannel.d.ts +50 -0
  149. package/dist/channels/IRCChannel.d.ts.map +1 -0
  150. package/dist/channels/IRCChannel.js +149 -0
  151. package/dist/channels/IRCChannel.js.map +1 -0
  152. package/dist/channels/LineChannel.d.ts +35 -0
  153. package/dist/channels/LineChannel.d.ts.map +1 -0
  154. package/dist/channels/LineChannel.js +118 -0
  155. package/dist/channels/LineChannel.js.map +1 -0
  156. package/dist/channels/MatrixChannel.d.ts +45 -0
  157. package/dist/channels/MatrixChannel.d.ts.map +1 -0
  158. package/dist/channels/MatrixChannel.js +156 -0
  159. package/dist/channels/MatrixChannel.js.map +1 -0
  160. package/dist/channels/MattermostChannel.d.ts +42 -0
  161. package/dist/channels/MattermostChannel.d.ts.map +1 -0
  162. package/dist/channels/MattermostChannel.js +144 -0
  163. package/dist/channels/MattermostChannel.js.map +1 -0
  164. package/dist/channels/NextcloudChannel.d.ts +46 -0
  165. package/dist/channels/NextcloudChannel.d.ts.map +1 -0
  166. package/dist/channels/NextcloudChannel.js +146 -0
  167. package/dist/channels/NextcloudChannel.js.map +1 -0
  168. package/dist/channels/SignalChannel.d.ts +39 -0
  169. package/dist/channels/SignalChannel.d.ts.map +1 -0
  170. package/dist/channels/SignalChannel.js +160 -0
  171. package/dist/channels/SignalChannel.js.map +1 -0
  172. package/dist/channels/SlackChannel.d.ts +81 -0
  173. package/dist/channels/SlackChannel.d.ts.map +1 -0
  174. package/dist/channels/SlackChannel.js +363 -0
  175. package/dist/channels/SlackChannel.js.map +1 -0
  176. package/dist/channels/StreamingEditor.d.ts +37 -0
  177. package/dist/channels/StreamingEditor.d.ts.map +1 -0
  178. package/dist/channels/StreamingEditor.js +108 -0
  179. package/dist/channels/StreamingEditor.js.map +1 -0
  180. package/dist/channels/TelegramChannel.d.ts +84 -0
  181. package/dist/channels/TelegramChannel.d.ts.map +1 -0
  182. package/dist/channels/TelegramChannel.js +469 -0
  183. package/dist/channels/TelegramChannel.js.map +1 -0
  184. package/dist/channels/TwitchChannel.d.ts +45 -0
  185. package/dist/channels/TwitchChannel.d.ts.map +1 -0
  186. package/dist/channels/TwitchChannel.js +117 -0
  187. package/dist/channels/TwitchChannel.js.map +1 -0
  188. package/dist/channels/WhatsAppChannel.d.ts +45 -0
  189. package/dist/channels/WhatsAppChannel.d.ts.map +1 -0
  190. package/dist/channels/WhatsAppChannel.js +153 -0
  191. package/dist/channels/WhatsAppChannel.js.map +1 -0
  192. package/dist/channels/ZaloChannel.d.ts +42 -0
  193. package/dist/channels/ZaloChannel.d.ts.map +1 -0
  194. package/dist/channels/ZaloChannel.js +114 -0
  195. package/dist/channels/ZaloChannel.js.map +1 -0
  196. package/dist/cli/commands/config.d.ts +10 -0
  197. package/dist/cli/commands/config.d.ts.map +1 -0
  198. package/dist/cli/commands/config.js +107 -0
  199. package/dist/cli/commands/config.js.map +1 -0
  200. package/dist/cli/commands/daemon.d.ts +17 -0
  201. package/dist/cli/commands/daemon.d.ts.map +1 -0
  202. package/dist/cli/commands/daemon.js +82 -0
  203. package/dist/cli/commands/daemon.js.map +1 -0
  204. package/dist/cli/commands/doctor.d.ts +17 -0
  205. package/dist/cli/commands/doctor.d.ts.map +1 -0
  206. package/dist/cli/commands/doctor.js +138 -0
  207. package/dist/cli/commands/doctor.js.map +1 -0
  208. package/dist/cli/commands/setup.d.ts +16 -0
  209. package/dist/cli/commands/setup.d.ts.map +1 -0
  210. package/dist/cli/commands/setup.js +206 -0
  211. package/dist/cli/commands/setup.js.map +1 -0
  212. package/dist/cli/commands/start.d.ts +8 -0
  213. package/dist/cli/commands/start.d.ts.map +1 -0
  214. package/dist/cli/commands/start.js +444 -0
  215. package/dist/cli/commands/start.js.map +1 -0
  216. package/dist/cli/commands/vault.d.ts +15 -0
  217. package/dist/cli/commands/vault.d.ts.map +1 -0
  218. package/dist/cli/commands/vault.js +167 -0
  219. package/dist/cli/commands/vault.js.map +1 -0
  220. package/dist/cli/index.d.ts +13 -0
  221. package/dist/cli/index.d.ts.map +1 -0
  222. package/dist/cli/index.js +93 -0
  223. package/dist/cli/index.js.map +1 -0
  224. package/dist/cli/loadEnv.d.ts +14 -0
  225. package/dist/cli/loadEnv.d.ts.map +1 -0
  226. package/dist/cli/loadEnv.js +18 -0
  227. package/dist/cli/loadEnv.js.map +1 -0
  228. package/dist/config/ConfigManager.d.ts +79 -0
  229. package/dist/config/ConfigManager.d.ts.map +1 -0
  230. package/dist/config/ConfigManager.js +118 -0
  231. package/dist/config/ConfigManager.js.map +1 -0
  232. package/dist/config/Secret.d.ts +29 -0
  233. package/dist/config/Secret.d.ts.map +1 -0
  234. package/dist/config/Secret.js +47 -0
  235. package/dist/config/Secret.js.map +1 -0
  236. package/dist/config/SecretVault.d.ts +53 -0
  237. package/dist/config/SecretVault.d.ts.map +1 -0
  238. package/dist/config/SecretVault.js +205 -0
  239. package/dist/config/SecretVault.js.map +1 -0
  240. package/dist/config/SettingsStore.d.ts +46 -0
  241. package/dist/config/SettingsStore.d.ts.map +1 -0
  242. package/dist/config/SettingsStore.js +132 -0
  243. package/dist/config/SettingsStore.js.map +1 -0
  244. package/dist/config/env.d.ts +21 -0
  245. package/dist/config/env.d.ts.map +1 -0
  246. package/dist/config/env.js +62 -0
  247. package/dist/config/env.js.map +1 -0
  248. package/dist/config/schema.d.ts +127 -0
  249. package/dist/config/schema.d.ts.map +1 -0
  250. package/dist/config/schema.js +346 -0
  251. package/dist/config/schema.js.map +1 -0
  252. package/dist/core/AgentLoop.d.ts +180 -0
  253. package/dist/core/AgentLoop.d.ts.map +1 -0
  254. package/dist/core/AgentLoop.js +428 -0
  255. package/dist/core/AgentLoop.js.map +1 -0
  256. package/dist/core/AttachmentProcessor.d.ts +75 -0
  257. package/dist/core/AttachmentProcessor.d.ts.map +1 -0
  258. package/dist/core/AttachmentProcessor.js +191 -0
  259. package/dist/core/AttachmentProcessor.js.map +1 -0
  260. package/dist/core/Compaction.d.ts +62 -0
  261. package/dist/core/Compaction.d.ts.map +1 -0
  262. package/dist/core/Compaction.js +260 -0
  263. package/dist/core/Compaction.js.map +1 -0
  264. package/dist/core/InboundDebouncer.d.ts +42 -0
  265. package/dist/core/InboundDebouncer.d.ts.map +1 -0
  266. package/dist/core/InboundDebouncer.js +81 -0
  267. package/dist/core/InboundDebouncer.js.map +1 -0
  268. package/dist/core/LoopDetector.d.ts +36 -0
  269. package/dist/core/LoopDetector.d.ts.map +1 -0
  270. package/dist/core/LoopDetector.js +139 -0
  271. package/dist/core/LoopDetector.js.map +1 -0
  272. package/dist/core/TaskRunner.d.ts +134 -0
  273. package/dist/core/TaskRunner.d.ts.map +1 -0
  274. package/dist/core/TaskRunner.js +454 -0
  275. package/dist/core/TaskRunner.js.map +1 -0
  276. package/dist/costs/CostTracker.d.ts +70 -0
  277. package/dist/costs/CostTracker.d.ts.map +1 -0
  278. package/dist/costs/CostTracker.js +176 -0
  279. package/dist/costs/CostTracker.js.map +1 -0
  280. package/dist/crew/CrewAgentRunner.d.ts +55 -0
  281. package/dist/crew/CrewAgentRunner.d.ts.map +1 -0
  282. package/dist/crew/CrewAgentRunner.js +208 -0
  283. package/dist/crew/CrewAgentRunner.js.map +1 -0
  284. package/dist/crew/CrewLoader.d.ts +43 -0
  285. package/dist/crew/CrewLoader.d.ts.map +1 -0
  286. package/dist/crew/CrewLoader.js +122 -0
  287. package/dist/crew/CrewLoader.js.map +1 -0
  288. package/dist/crew/CrewRegistry.d.ts +30 -0
  289. package/dist/crew/CrewRegistry.d.ts.map +1 -0
  290. package/dist/crew/CrewRegistry.js +56 -0
  291. package/dist/crew/CrewRegistry.js.map +1 -0
  292. package/dist/crew/types.d.ts +79 -0
  293. package/dist/crew/types.d.ts.map +1 -0
  294. package/dist/crew/types.js +36 -0
  295. package/dist/crew/types.js.map +1 -0
  296. package/dist/cron/CronScheduler.d.ts +40 -0
  297. package/dist/cron/CronScheduler.d.ts.map +1 -0
  298. package/dist/cron/CronScheduler.js +119 -0
  299. package/dist/cron/CronScheduler.js.map +1 -0
  300. package/dist/cron/CronStore.d.ts +73 -0
  301. package/dist/cron/CronStore.d.ts.map +1 -0
  302. package/dist/cron/CronStore.js +209 -0
  303. package/dist/cron/CronStore.js.map +1 -0
  304. package/dist/cron/cronParser.d.ts +33 -0
  305. package/dist/cron/cronParser.d.ts.map +1 -0
  306. package/dist/cron/cronParser.js +211 -0
  307. package/dist/cron/cronParser.js.map +1 -0
  308. package/dist/daemon/DaemonManager.d.ts +59 -0
  309. package/dist/daemon/DaemonManager.d.ts.map +1 -0
  310. package/dist/daemon/DaemonManager.js +380 -0
  311. package/dist/daemon/DaemonManager.js.map +1 -0
  312. package/dist/embeddings/Embeddings.d.ts +70 -0
  313. package/dist/embeddings/Embeddings.d.ts.map +1 -0
  314. package/dist/embeddings/Embeddings.js +252 -0
  315. package/dist/embeddings/Embeddings.js.map +1 -0
  316. package/dist/embeddings/TfIdf.d.ts +26 -0
  317. package/dist/embeddings/TfIdf.d.ts.map +1 -0
  318. package/dist/embeddings/TfIdf.js +88 -0
  319. package/dist/embeddings/TfIdf.js.map +1 -0
  320. package/dist/events/eventBus.d.ts +97 -0
  321. package/dist/events/eventBus.d.ts.map +1 -0
  322. package/dist/events/eventBus.js +26 -0
  323. package/dist/events/eventBus.js.map +1 -0
  324. package/dist/goals/GoalStore.d.ts +40 -0
  325. package/dist/goals/GoalStore.d.ts.map +1 -0
  326. package/dist/goals/GoalStore.js +82 -0
  327. package/dist/goals/GoalStore.js.map +1 -0
  328. package/dist/hooks/HookRunner.d.ts +80 -0
  329. package/dist/hooks/HookRunner.d.ts.map +1 -0
  330. package/dist/hooks/HookRunner.js +218 -0
  331. package/dist/hooks/HookRunner.js.map +1 -0
  332. package/dist/integrations/IntegrationCrewSync.d.ts +33 -0
  333. package/dist/integrations/IntegrationCrewSync.d.ts.map +1 -0
  334. package/dist/integrations/IntegrationCrewSync.js +96 -0
  335. package/dist/integrations/IntegrationCrewSync.js.map +1 -0
  336. package/dist/integrations/IntegrationManager.d.ts +116 -0
  337. package/dist/integrations/IntegrationManager.d.ts.map +1 -0
  338. package/dist/integrations/IntegrationManager.js +580 -0
  339. package/dist/integrations/IntegrationManager.js.map +1 -0
  340. package/dist/integrations/IntegrationStore.d.ts +42 -0
  341. package/dist/integrations/IntegrationStore.d.ts.map +1 -0
  342. package/dist/integrations/IntegrationStore.js +146 -0
  343. package/dist/integrations/IntegrationStore.js.map +1 -0
  344. package/dist/integrations/authFetch.d.ts +21 -0
  345. package/dist/integrations/authFetch.d.ts.map +1 -0
  346. package/dist/integrations/authFetch.js +36 -0
  347. package/dist/integrations/authFetch.js.map +1 -0
  348. package/dist/integrations/facebook/FacebookClient.d.ts +33 -0
  349. package/dist/integrations/facebook/FacebookClient.d.ts.map +1 -0
  350. package/dist/integrations/facebook/FacebookClient.js +88 -0
  351. package/dist/integrations/facebook/FacebookClient.js.map +1 -0
  352. package/dist/integrations/facebook/tools.d.ts +9 -0
  353. package/dist/integrations/facebook/tools.d.ts.map +1 -0
  354. package/dist/integrations/facebook/tools.js +324 -0
  355. package/dist/integrations/facebook/tools.js.map +1 -0
  356. package/dist/integrations/gmail/GmailClient.d.ts +34 -0
  357. package/dist/integrations/gmail/GmailClient.d.ts.map +1 -0
  358. package/dist/integrations/gmail/GmailClient.js +69 -0
  359. package/dist/integrations/gmail/GmailClient.js.map +1 -0
  360. package/dist/integrations/gmail/tools.d.ts +14 -0
  361. package/dist/integrations/gmail/tools.d.ts.map +1 -0
  362. package/dist/integrations/gmail/tools.js +295 -0
  363. package/dist/integrations/gmail/tools.js.map +1 -0
  364. package/dist/integrations/google-calendar/CalendarClient.d.ts +16 -0
  365. package/dist/integrations/google-calendar/CalendarClient.d.ts.map +1 -0
  366. package/dist/integrations/google-calendar/CalendarClient.js +39 -0
  367. package/dist/integrations/google-calendar/CalendarClient.js.map +1 -0
  368. package/dist/integrations/google-calendar/tools.d.ts +15 -0
  369. package/dist/integrations/google-calendar/tools.d.ts.map +1 -0
  370. package/dist/integrations/google-calendar/tools.js +246 -0
  371. package/dist/integrations/google-calendar/tools.js.map +1 -0
  372. package/dist/integrations/instagram/InstagramClient.d.ts +33 -0
  373. package/dist/integrations/instagram/InstagramClient.d.ts.map +1 -0
  374. package/dist/integrations/instagram/InstagramClient.js +93 -0
  375. package/dist/integrations/instagram/InstagramClient.js.map +1 -0
  376. package/dist/integrations/instagram/tools.d.ts +17 -0
  377. package/dist/integrations/instagram/tools.d.ts.map +1 -0
  378. package/dist/integrations/instagram/tools.js +348 -0
  379. package/dist/integrations/instagram/tools.js.map +1 -0
  380. package/dist/integrations/keys.d.ts +56 -0
  381. package/dist/integrations/keys.d.ts.map +1 -0
  382. package/dist/integrations/keys.js +174 -0
  383. package/dist/integrations/keys.js.map +1 -0
  384. package/dist/integrations/linkedin/LinkedInClient.d.ts +24 -0
  385. package/dist/integrations/linkedin/LinkedInClient.d.ts.map +1 -0
  386. package/dist/integrations/linkedin/LinkedInClient.js +56 -0
  387. package/dist/integrations/linkedin/LinkedInClient.js.map +1 -0
  388. package/dist/integrations/linkedin/tools.d.ts +14 -0
  389. package/dist/integrations/linkedin/tools.d.ts.map +1 -0
  390. package/dist/integrations/linkedin/tools.js +154 -0
  391. package/dist/integrations/linkedin/tools.js.map +1 -0
  392. package/dist/integrations/pkce.d.ts +17 -0
  393. package/dist/integrations/pkce.d.ts.map +1 -0
  394. package/dist/integrations/pkce.js +22 -0
  395. package/dist/integrations/pkce.js.map +1 -0
  396. package/dist/integrations/providers/github.d.ts +20 -0
  397. package/dist/integrations/providers/github.d.ts.map +1 -0
  398. package/dist/integrations/providers/github.js +113 -0
  399. package/dist/integrations/providers/github.js.map +1 -0
  400. package/dist/integrations/providers/google.d.ts +17 -0
  401. package/dist/integrations/providers/google.d.ts.map +1 -0
  402. package/dist/integrations/providers/google.js +115 -0
  403. package/dist/integrations/providers/google.js.map +1 -0
  404. package/dist/integrations/providers/linkedin.d.ts +22 -0
  405. package/dist/integrations/providers/linkedin.d.ts.map +1 -0
  406. package/dist/integrations/providers/linkedin.js +103 -0
  407. package/dist/integrations/providers/linkedin.js.map +1 -0
  408. package/dist/integrations/providers/meta.d.ts +19 -0
  409. package/dist/integrations/providers/meta.d.ts.map +1 -0
  410. package/dist/integrations/providers/meta.js +116 -0
  411. package/dist/integrations/providers/meta.js.map +1 -0
  412. package/dist/integrations/providers/notion.d.ts +21 -0
  413. package/dist/integrations/providers/notion.d.ts.map +1 -0
  414. package/dist/integrations/providers/notion.js +96 -0
  415. package/dist/integrations/providers/notion.js.map +1 -0
  416. package/dist/integrations/providers/reddit.d.ts +18 -0
  417. package/dist/integrations/providers/reddit.d.ts.map +1 -0
  418. package/dist/integrations/providers/reddit.js +104 -0
  419. package/dist/integrations/providers/reddit.js.map +1 -0
  420. package/dist/integrations/providers/tiktok.d.ts +28 -0
  421. package/dist/integrations/providers/tiktok.d.ts.map +1 -0
  422. package/dist/integrations/providers/tiktok.js +138 -0
  423. package/dist/integrations/providers/tiktok.js.map +1 -0
  424. package/dist/integrations/providers/twitter.d.ts +26 -0
  425. package/dist/integrations/providers/twitter.d.ts.map +1 -0
  426. package/dist/integrations/providers/twitter.js +141 -0
  427. package/dist/integrations/providers/twitter.js.map +1 -0
  428. package/dist/integrations/reddit/RedditClient.d.ts +18 -0
  429. package/dist/integrations/reddit/RedditClient.d.ts.map +1 -0
  430. package/dist/integrations/reddit/RedditClient.js +54 -0
  431. package/dist/integrations/reddit/RedditClient.js.map +1 -0
  432. package/dist/integrations/reddit/tools.d.ts +16 -0
  433. package/dist/integrations/reddit/tools.d.ts.map +1 -0
  434. package/dist/integrations/reddit/tools.js +293 -0
  435. package/dist/integrations/reddit/tools.js.map +1 -0
  436. package/dist/integrations/tiktok/TikTokClient.d.ts +21 -0
  437. package/dist/integrations/tiktok/TikTokClient.d.ts.map +1 -0
  438. package/dist/integrations/tiktok/TikTokClient.js +44 -0
  439. package/dist/integrations/tiktok/TikTokClient.js.map +1 -0
  440. package/dist/integrations/tiktok/tools.d.ts +17 -0
  441. package/dist/integrations/tiktok/tools.d.ts.map +1 -0
  442. package/dist/integrations/tiktok/tools.js +258 -0
  443. package/dist/integrations/tiktok/tools.js.map +1 -0
  444. package/dist/integrations/tools.d.ts +20 -0
  445. package/dist/integrations/tools.d.ts.map +1 -0
  446. package/dist/integrations/tools.js +43 -0
  447. package/dist/integrations/tools.js.map +1 -0
  448. package/dist/integrations/twitter/TwitterClient.d.ts +19 -0
  449. package/dist/integrations/twitter/TwitterClient.d.ts.map +1 -0
  450. package/dist/integrations/twitter/TwitterClient.js +51 -0
  451. package/dist/integrations/twitter/TwitterClient.js.map +1 -0
  452. package/dist/integrations/twitter/tools.d.ts +11 -0
  453. package/dist/integrations/twitter/tools.d.ts.map +1 -0
  454. package/dist/integrations/twitter/tools.js +459 -0
  455. package/dist/integrations/twitter/tools.js.map +1 -0
  456. package/dist/integrations/types.d.ts +118 -0
  457. package/dist/integrations/types.d.ts.map +1 -0
  458. package/dist/integrations/types.js +10 -0
  459. package/dist/integrations/types.js.map +1 -0
  460. package/dist/integrations/youtube/YouTubeClient.d.ts +45 -0
  461. package/dist/integrations/youtube/YouTubeClient.d.ts.map +1 -0
  462. package/dist/integrations/youtube/YouTubeClient.js +115 -0
  463. package/dist/integrations/youtube/YouTubeClient.js.map +1 -0
  464. package/dist/integrations/youtube/tools.d.ts +14 -0
  465. package/dist/integrations/youtube/tools.d.ts.map +1 -0
  466. package/dist/integrations/youtube/tools.js +500 -0
  467. package/dist/integrations/youtube/tools.js.map +1 -0
  468. package/dist/learning/BackgroundReviewer.d.ts +43 -0
  469. package/dist/learning/BackgroundReviewer.d.ts.map +1 -0
  470. package/dist/learning/BackgroundReviewer.js +143 -0
  471. package/dist/learning/BackgroundReviewer.js.map +1 -0
  472. package/dist/learning/ExtractionPipeline.d.ts +46 -0
  473. package/dist/learning/ExtractionPipeline.d.ts.map +1 -0
  474. package/dist/learning/ExtractionPipeline.js +220 -0
  475. package/dist/learning/ExtractionPipeline.js.map +1 -0
  476. package/dist/learning/MemoryDecay.d.ts +63 -0
  477. package/dist/learning/MemoryDecay.d.ts.map +1 -0
  478. package/dist/learning/MemoryDecay.js +204 -0
  479. package/dist/learning/MemoryDecay.js.map +1 -0
  480. package/dist/learning/SmartRecall.d.ts +58 -0
  481. package/dist/learning/SmartRecall.d.ts.map +1 -0
  482. package/dist/learning/SmartRecall.js +182 -0
  483. package/dist/learning/SmartRecall.js.map +1 -0
  484. package/dist/mcp/MCPIntegrationBridge.d.ts +40 -0
  485. package/dist/mcp/MCPIntegrationBridge.d.ts.map +1 -0
  486. package/dist/mcp/MCPIntegrationBridge.js +136 -0
  487. package/dist/mcp/MCPIntegrationBridge.js.map +1 -0
  488. package/dist/mcp/MCPManager.d.ts +126 -0
  489. package/dist/mcp/MCPManager.d.ts.map +1 -0
  490. package/dist/mcp/MCPManager.js +418 -0
  491. package/dist/mcp/MCPManager.js.map +1 -0
  492. package/dist/mcp/MCPStore.d.ts +41 -0
  493. package/dist/mcp/MCPStore.d.ts.map +1 -0
  494. package/dist/mcp/MCPStore.js +102 -0
  495. package/dist/mcp/MCPStore.js.map +1 -0
  496. package/dist/mcp/defaults.d.ts +51 -0
  497. package/dist/mcp/defaults.d.ts.map +1 -0
  498. package/dist/mcp/defaults.js +243 -0
  499. package/dist/mcp/defaults.js.map +1 -0
  500. package/dist/memory/DeclarativeMemoryStore.d.ts +54 -0
  501. package/dist/memory/DeclarativeMemoryStore.d.ts.map +1 -0
  502. package/dist/memory/DeclarativeMemoryStore.js +195 -0
  503. package/dist/memory/DeclarativeMemoryStore.js.map +1 -0
  504. package/dist/memory/MemoryStore.d.ts +65 -0
  505. package/dist/memory/MemoryStore.d.ts.map +1 -0
  506. package/dist/memory/MemoryStore.js +189 -0
  507. package/dist/memory/MemoryStore.js.map +1 -0
  508. package/dist/memory/SessionStore.d.ts +207 -0
  509. package/dist/memory/SessionStore.d.ts.map +1 -0
  510. package/dist/memory/SessionStore.js +391 -0
  511. package/dist/memory/SessionStore.js.map +1 -0
  512. package/dist/models/ModelRouter.d.ts +57 -0
  513. package/dist/models/ModelRouter.d.ts.map +1 -0
  514. package/dist/models/ModelRouter.js +301 -0
  515. package/dist/models/ModelRouter.js.map +1 -0
  516. package/dist/models/discovery.d.ts +44 -0
  517. package/dist/models/discovery.d.ts.map +1 -0
  518. package/dist/models/discovery.js +456 -0
  519. package/dist/models/discovery.js.map +1 -0
  520. package/dist/models/providers.d.ts +82 -0
  521. package/dist/models/providers.d.ts.map +1 -0
  522. package/dist/models/providers.js +455 -0
  523. package/dist/models/providers.js.map +1 -0
  524. package/dist/models/registry.d.ts +13 -0
  525. package/dist/models/registry.d.ts.map +1 -0
  526. package/dist/models/registry.js +42 -0
  527. package/dist/models/registry.js.map +1 -0
  528. package/dist/models/types.d.ts +24 -0
  529. package/dist/models/types.d.ts.map +1 -0
  530. package/dist/models/types.js +8 -0
  531. package/dist/models/types.js.map +1 -0
  532. package/dist/projects/ProjectStore.d.ts +73 -0
  533. package/dist/projects/ProjectStore.d.ts.map +1 -0
  534. package/dist/projects/ProjectStore.js +132 -0
  535. package/dist/projects/ProjectStore.js.map +1 -0
  536. package/dist/safety/AuditLog.d.ts +53 -0
  537. package/dist/safety/AuditLog.d.ts.map +1 -0
  538. package/dist/safety/AuditLog.js +170 -0
  539. package/dist/safety/AuditLog.js.map +1 -0
  540. package/dist/safety/CircuitBreaker.d.ts +53 -0
  541. package/dist/safety/CircuitBreaker.d.ts.map +1 -0
  542. package/dist/safety/CircuitBreaker.js +112 -0
  543. package/dist/safety/CircuitBreaker.js.map +1 -0
  544. package/dist/safety/CommandGuard.d.ts +32 -0
  545. package/dist/safety/CommandGuard.d.ts.map +1 -0
  546. package/dist/safety/CommandGuard.js +157 -0
  547. package/dist/safety/CommandGuard.js.map +1 -0
  548. package/dist/safety/DockerSandbox.d.ts +72 -0
  549. package/dist/safety/DockerSandbox.d.ts.map +1 -0
  550. package/dist/safety/DockerSandbox.js +188 -0
  551. package/dist/safety/DockerSandbox.js.map +1 -0
  552. package/dist/safety/EgressGuard.d.ts +35 -0
  553. package/dist/safety/EgressGuard.d.ts.map +1 -0
  554. package/dist/safety/EgressGuard.js +95 -0
  555. package/dist/safety/EgressGuard.js.map +1 -0
  556. package/dist/safety/ExecApproval.d.ts +53 -0
  557. package/dist/safety/ExecApproval.d.ts.map +1 -0
  558. package/dist/safety/ExecApproval.js +120 -0
  559. package/dist/safety/ExecApproval.js.map +1 -0
  560. package/dist/safety/FilesystemGuard.d.ts +94 -0
  561. package/dist/safety/FilesystemGuard.d.ts.map +1 -0
  562. package/dist/safety/FilesystemGuard.js +275 -0
  563. package/dist/safety/FilesystemGuard.js.map +1 -0
  564. package/dist/safety/GitRollback.d.ts +47 -0
  565. package/dist/safety/GitRollback.d.ts.map +1 -0
  566. package/dist/safety/GitRollback.js +161 -0
  567. package/dist/safety/GitRollback.js.map +1 -0
  568. package/dist/safety/HumanApproval.d.ts +65 -0
  569. package/dist/safety/HumanApproval.d.ts.map +1 -0
  570. package/dist/safety/HumanApproval.js +157 -0
  571. package/dist/safety/HumanApproval.js.map +1 -0
  572. package/dist/safety/InputSanitizer.d.ts +59 -0
  573. package/dist/safety/InputSanitizer.d.ts.map +1 -0
  574. package/dist/safety/InputSanitizer.js +111 -0
  575. package/dist/safety/InputSanitizer.js.map +1 -0
  576. package/dist/safety/PermissionGuard.d.ts +49 -0
  577. package/dist/safety/PermissionGuard.d.ts.map +1 -0
  578. package/dist/safety/PermissionGuard.js +136 -0
  579. package/dist/safety/PermissionGuard.js.map +1 -0
  580. package/dist/safety/Sandbox.d.ts +38 -0
  581. package/dist/safety/Sandbox.d.ts.map +1 -0
  582. package/dist/safety/Sandbox.js +82 -0
  583. package/dist/safety/Sandbox.js.map +1 -0
  584. package/dist/safety/SecretScanner.d.ts +67 -0
  585. package/dist/safety/SecretScanner.d.ts.map +1 -0
  586. package/dist/safety/SecretScanner.js +150 -0
  587. package/dist/safety/SecretScanner.js.map +1 -0
  588. package/dist/safety/Supervisor.d.ts +69 -0
  589. package/dist/safety/Supervisor.d.ts.map +1 -0
  590. package/dist/safety/Supervisor.js +165 -0
  591. package/dist/safety/Supervisor.js.map +1 -0
  592. package/dist/scheduler/CronExecutor.d.ts +18 -0
  593. package/dist/scheduler/CronExecutor.d.ts.map +1 -0
  594. package/dist/scheduler/CronExecutor.js +57 -0
  595. package/dist/scheduler/CronExecutor.js.map +1 -0
  596. package/dist/scheduler/DailyLog.d.ts +29 -0
  597. package/dist/scheduler/DailyLog.d.ts.map +1 -0
  598. package/dist/scheduler/DailyLog.js +84 -0
  599. package/dist/scheduler/DailyLog.js.map +1 -0
  600. package/dist/scheduler/DeliveryPresetStore.d.ts +47 -0
  601. package/dist/scheduler/DeliveryPresetStore.d.ts.map +1 -0
  602. package/dist/scheduler/DeliveryPresetStore.js +101 -0
  603. package/dist/scheduler/DeliveryPresetStore.js.map +1 -0
  604. package/dist/scheduler/GoalPulse.d.ts +42 -0
  605. package/dist/scheduler/GoalPulse.d.ts.map +1 -0
  606. package/dist/scheduler/GoalPulse.js +123 -0
  607. package/dist/scheduler/GoalPulse.js.map +1 -0
  608. package/dist/scheduler/Heartbeat.d.ts +87 -0
  609. package/dist/scheduler/Heartbeat.d.ts.map +1 -0
  610. package/dist/scheduler/Heartbeat.js +313 -0
  611. package/dist/scheduler/Heartbeat.js.map +1 -0
  612. package/dist/scheduler/MorningPulse.d.ts +23 -0
  613. package/dist/scheduler/MorningPulse.d.ts.map +1 -0
  614. package/dist/scheduler/MorningPulse.js +45 -0
  615. package/dist/scheduler/MorningPulse.js.map +1 -0
  616. package/dist/server/index.d.ts +77 -0
  617. package/dist/server/index.d.ts.map +1 -0
  618. package/dist/server/index.js +227 -0
  619. package/dist/server/index.js.map +1 -0
  620. package/dist/server/middleware/requireAuth.d.ts +41 -0
  621. package/dist/server/middleware/requireAuth.d.ts.map +1 -0
  622. package/dist/server/middleware/requireAuth.js +72 -0
  623. package/dist/server/middleware/requireAuth.js.map +1 -0
  624. package/dist/server/middleware/security.d.ts +83 -0
  625. package/dist/server/middleware/security.d.ts.map +1 -0
  626. package/dist/server/middleware/security.js +171 -0
  627. package/dist/server/middleware/security.js.map +1 -0
  628. package/dist/server/routes/auth.d.ts +24 -0
  629. package/dist/server/routes/auth.d.ts.map +1 -0
  630. package/dist/server/routes/auth.js +65 -0
  631. package/dist/server/routes/auth.js.map +1 -0
  632. package/dist/server/routes/channels.d.ts +7 -0
  633. package/dist/server/routes/channels.d.ts.map +1 -0
  634. package/dist/server/routes/channels.js +90 -0
  635. package/dist/server/routes/channels.js.map +1 -0
  636. package/dist/server/routes/chat.d.ts +19 -0
  637. package/dist/server/routes/chat.d.ts.map +1 -0
  638. package/dist/server/routes/chat.js +209 -0
  639. package/dist/server/routes/chat.js.map +1 -0
  640. package/dist/server/routes/compat.d.ts +8 -0
  641. package/dist/server/routes/compat.d.ts.map +1 -0
  642. package/dist/server/routes/compat.js +661 -0
  643. package/dist/server/routes/compat.js.map +1 -0
  644. package/dist/server/routes/config.d.ts +10 -0
  645. package/dist/server/routes/config.d.ts.map +1 -0
  646. package/dist/server/routes/config.js +142 -0
  647. package/dist/server/routes/config.js.map +1 -0
  648. package/dist/server/routes/costs.d.ts +7 -0
  649. package/dist/server/routes/costs.d.ts.map +1 -0
  650. package/dist/server/routes/costs.js +23 -0
  651. package/dist/server/routes/costs.js.map +1 -0
  652. package/dist/server/routes/crew.d.ts +21 -0
  653. package/dist/server/routes/crew.d.ts.map +1 -0
  654. package/dist/server/routes/crew.js +372 -0
  655. package/dist/server/routes/crew.js.map +1 -0
  656. package/dist/server/routes/cron.d.ts +9 -0
  657. package/dist/server/routes/cron.d.ts.map +1 -0
  658. package/dist/server/routes/cron.js +91 -0
  659. package/dist/server/routes/cron.js.map +1 -0
  660. package/dist/server/routes/deliveryPresets.d.ts +13 -0
  661. package/dist/server/routes/deliveryPresets.d.ts.map +1 -0
  662. package/dist/server/routes/deliveryPresets.js +42 -0
  663. package/dist/server/routes/deliveryPresets.js.map +1 -0
  664. package/dist/server/routes/goals.d.ts +7 -0
  665. package/dist/server/routes/goals.d.ts.map +1 -0
  666. package/dist/server/routes/goals.js +65 -0
  667. package/dist/server/routes/goals.js.map +1 -0
  668. package/dist/server/routes/integrations.d.ts +35 -0
  669. package/dist/server/routes/integrations.d.ts.map +1 -0
  670. package/dist/server/routes/integrations.js +448 -0
  671. package/dist/server/routes/integrations.js.map +1 -0
  672. package/dist/server/routes/mcp.d.ts +7 -0
  673. package/dist/server/routes/mcp.d.ts.map +1 -0
  674. package/dist/server/routes/mcp.js +88 -0
  675. package/dist/server/routes/mcp.js.map +1 -0
  676. package/dist/server/routes/memory.d.ts +15 -0
  677. package/dist/server/routes/memory.d.ts.map +1 -0
  678. package/dist/server/routes/memory.js +104 -0
  679. package/dist/server/routes/memory.js.map +1 -0
  680. package/dist/server/routes/providers.d.ts +15 -0
  681. package/dist/server/routes/providers.d.ts.map +1 -0
  682. package/dist/server/routes/providers.js +209 -0
  683. package/dist/server/routes/providers.js.map +1 -0
  684. package/dist/server/routes/security.d.ts +15 -0
  685. package/dist/server/routes/security.d.ts.map +1 -0
  686. package/dist/server/routes/security.js +117 -0
  687. package/dist/server/routes/security.js.map +1 -0
  688. package/dist/server/routes/sessions.d.ts +12 -0
  689. package/dist/server/routes/sessions.d.ts.map +1 -0
  690. package/dist/server/routes/sessions.js +172 -0
  691. package/dist/server/routes/sessions.js.map +1 -0
  692. package/dist/server/routes/skills.d.ts +11 -0
  693. package/dist/server/routes/skills.d.ts.map +1 -0
  694. package/dist/server/routes/skills.js +214 -0
  695. package/dist/server/routes/skills.js.map +1 -0
  696. package/dist/server/routes/tasks.d.ts +10 -0
  697. package/dist/server/routes/tasks.d.ts.map +1 -0
  698. package/dist/server/routes/tasks.js +38 -0
  699. package/dist/server/routes/tasks.js.map +1 -0
  700. package/dist/server/routes/teams.d.ts +7 -0
  701. package/dist/server/routes/teams.d.ts.map +1 -0
  702. package/dist/server/routes/teams.js +61 -0
  703. package/dist/server/routes/teams.js.map +1 -0
  704. package/dist/server/routes/tunnel.d.ts +12 -0
  705. package/dist/server/routes/tunnel.d.ts.map +1 -0
  706. package/dist/server/routes/tunnel.js +18 -0
  707. package/dist/server/routes/tunnel.js.map +1 -0
  708. package/dist/server/routes/vault.d.ts +15 -0
  709. package/dist/server/routes/vault.d.ts.map +1 -0
  710. package/dist/server/routes/vault.js +82 -0
  711. package/dist/server/routes/vault.js.map +1 -0
  712. package/dist/server/routes/voice.d.ts +16 -0
  713. package/dist/server/routes/voice.d.ts.map +1 -0
  714. package/dist/server/routes/voice.js +431 -0
  715. package/dist/server/routes/voice.js.map +1 -0
  716. package/dist/server/routes/watchers.d.ts +14 -0
  717. package/dist/server/routes/watchers.d.ts.map +1 -0
  718. package/dist/server/routes/watchers.js +143 -0
  719. package/dist/server/routes/watchers.js.map +1 -0
  720. package/dist/services/Cleanup.d.ts +50 -0
  721. package/dist/services/Cleanup.d.ts.map +1 -0
  722. package/dist/services/Cleanup.js +104 -0
  723. package/dist/services/Cleanup.js.map +1 -0
  724. package/dist/skills/SecurityScanner.d.ts +18 -0
  725. package/dist/skills/SecurityScanner.d.ts.map +1 -0
  726. package/dist/skills/SecurityScanner.js +49 -0
  727. package/dist/skills/SecurityScanner.js.map +1 -0
  728. package/dist/skills/SkillLoader.d.ts +45 -0
  729. package/dist/skills/SkillLoader.d.ts.map +1 -0
  730. package/dist/skills/SkillLoader.js +336 -0
  731. package/dist/skills/SkillLoader.js.map +1 -0
  732. package/dist/skills/SkillRegistry.d.ts +78 -0
  733. package/dist/skills/SkillRegistry.d.ts.map +1 -0
  734. package/dist/skills/SkillRegistry.js +185 -0
  735. package/dist/skills/SkillRegistry.js.map +1 -0
  736. package/dist/skills/SkillSnapshot.d.ts +37 -0
  737. package/dist/skills/SkillSnapshot.d.ts.map +1 -0
  738. package/dist/skills/SkillSnapshot.js +106 -0
  739. package/dist/skills/SkillSnapshot.js.map +1 -0
  740. package/dist/skills/types.d.ts +184 -0
  741. package/dist/skills/types.d.ts.map +1 -0
  742. package/dist/skills/types.js +58 -0
  743. package/dist/skills/types.js.map +1 -0
  744. package/dist/tasks/TaskStore.d.ts +70 -0
  745. package/dist/tasks/TaskStore.d.ts.map +1 -0
  746. package/dist/tasks/TaskStore.js +200 -0
  747. package/dist/tasks/TaskStore.js.map +1 -0
  748. package/dist/teams/TeamRunner.d.ts +46 -0
  749. package/dist/teams/TeamRunner.d.ts.map +1 -0
  750. package/dist/teams/TeamRunner.js +186 -0
  751. package/dist/teams/TeamRunner.js.map +1 -0
  752. package/dist/teams/TeamStore.d.ts +84 -0
  753. package/dist/teams/TeamStore.d.ts.map +1 -0
  754. package/dist/teams/TeamStore.js +231 -0
  755. package/dist/teams/TeamStore.js.map +1 -0
  756. package/dist/teams/templates.d.ts +18 -0
  757. package/dist/teams/templates.d.ts.map +1 -0
  758. package/dist/teams/templates.js +89 -0
  759. package/dist/teams/templates.js.map +1 -0
  760. package/dist/tools/core/applyPatch.d.ts +19 -0
  761. package/dist/tools/core/applyPatch.d.ts.map +1 -0
  762. package/dist/tools/core/applyPatch.js +51 -0
  763. package/dist/tools/core/applyPatch.js.map +1 -0
  764. package/dist/tools/core/broadcast.d.ts +67 -0
  765. package/dist/tools/core/broadcast.d.ts.map +1 -0
  766. package/dist/tools/core/broadcast.js +93 -0
  767. package/dist/tools/core/broadcast.js.map +1 -0
  768. package/dist/tools/core/clipboard.d.ts +17 -0
  769. package/dist/tools/core/clipboard.d.ts.map +1 -0
  770. package/dist/tools/core/clipboard.js +38 -0
  771. package/dist/tools/core/clipboard.js.map +1 -0
  772. package/dist/tools/core/createDocument.d.ts +27 -0
  773. package/dist/tools/core/createDocument.d.ts.map +1 -0
  774. package/dist/tools/core/createDocument.js +297 -0
  775. package/dist/tools/core/createDocument.js.map +1 -0
  776. package/dist/tools/core/cronTool.d.ts +55 -0
  777. package/dist/tools/core/cronTool.d.ts.map +1 -0
  778. package/dist/tools/core/cronTool.js +162 -0
  779. package/dist/tools/core/cronTool.js.map +1 -0
  780. package/dist/tools/core/desktop.d.ts +16 -0
  781. package/dist/tools/core/desktop.d.ts.map +1 -0
  782. package/dist/tools/core/desktop.js +480 -0
  783. package/dist/tools/core/desktop.js.map +1 -0
  784. package/dist/tools/core/editFile.d.ts +43 -0
  785. package/dist/tools/core/editFile.d.ts.map +1 -0
  786. package/dist/tools/core/editFile.js +104 -0
  787. package/dist/tools/core/editFile.js.map +1 -0
  788. package/dist/tools/core/executeCommand.d.ts +36 -0
  789. package/dist/tools/core/executeCommand.d.ts.map +1 -0
  790. package/dist/tools/core/executeCommand.js +92 -0
  791. package/dist/tools/core/executeCommand.js.map +1 -0
  792. package/dist/tools/core/fetchUrl.d.ts +38 -0
  793. package/dist/tools/core/fetchUrl.d.ts.map +1 -0
  794. package/dist/tools/core/fetchUrl.js +111 -0
  795. package/dist/tools/core/fetchUrl.js.map +1 -0
  796. package/dist/tools/core/generateImage.d.ts +42 -0
  797. package/dist/tools/core/generateImage.d.ts.map +1 -0
  798. package/dist/tools/core/generateImage.js +143 -0
  799. package/dist/tools/core/generateImage.js.map +1 -0
  800. package/dist/tools/core/generateMusic.d.ts +42 -0
  801. package/dist/tools/core/generateMusic.d.ts.map +1 -0
  802. package/dist/tools/core/generateMusic.js +158 -0
  803. package/dist/tools/core/generateMusic.js.map +1 -0
  804. package/dist/tools/core/generateVideo.d.ts +45 -0
  805. package/dist/tools/core/generateVideo.d.ts.map +1 -0
  806. package/dist/tools/core/generateVideo.js +447 -0
  807. package/dist/tools/core/generateVideo.js.map +1 -0
  808. package/dist/tools/core/gitTool.d.ts +81 -0
  809. package/dist/tools/core/gitTool.d.ts.map +1 -0
  810. package/dist/tools/core/gitTool.js +196 -0
  811. package/dist/tools/core/gitTool.js.map +1 -0
  812. package/dist/tools/core/glob.d.ts +26 -0
  813. package/dist/tools/core/glob.d.ts.map +1 -0
  814. package/dist/tools/core/glob.js +104 -0
  815. package/dist/tools/core/glob.js.map +1 -0
  816. package/dist/tools/core/goalTool.d.ts +50 -0
  817. package/dist/tools/core/goalTool.d.ts.map +1 -0
  818. package/dist/tools/core/goalTool.js +150 -0
  819. package/dist/tools/core/goalTool.js.map +1 -0
  820. package/dist/tools/core/grep.d.ts +32 -0
  821. package/dist/tools/core/grep.d.ts.map +1 -0
  822. package/dist/tools/core/grep.js +83 -0
  823. package/dist/tools/core/grep.js.map +1 -0
  824. package/dist/tools/core/imageAnalysis.d.ts +18 -0
  825. package/dist/tools/core/imageAnalysis.d.ts.map +1 -0
  826. package/dist/tools/core/imageAnalysis.js +77 -0
  827. package/dist/tools/core/imageAnalysis.js.map +1 -0
  828. package/dist/tools/core/imageOps.d.ts +70 -0
  829. package/dist/tools/core/imageOps.d.ts.map +1 -0
  830. package/dist/tools/core/imageOps.js +179 -0
  831. package/dist/tools/core/imageOps.js.map +1 -0
  832. package/dist/tools/core/index.d.ts +50 -0
  833. package/dist/tools/core/index.d.ts.map +1 -0
  834. package/dist/tools/core/index.js +159 -0
  835. package/dist/tools/core/index.js.map +1 -0
  836. package/dist/tools/core/listCrews.d.ts +41 -0
  837. package/dist/tools/core/listCrews.d.ts.map +1 -0
  838. package/dist/tools/core/listCrews.js +50 -0
  839. package/dist/tools/core/listCrews.js.map +1 -0
  840. package/dist/tools/core/listDirectory.d.ts +33 -0
  841. package/dist/tools/core/listDirectory.d.ts.map +1 -0
  842. package/dist/tools/core/listDirectory.js +89 -0
  843. package/dist/tools/core/listDirectory.js.map +1 -0
  844. package/dist/tools/core/manageAgents.d.ts +48 -0
  845. package/dist/tools/core/manageAgents.d.ts.map +1 -0
  846. package/dist/tools/core/manageAgents.js +104 -0
  847. package/dist/tools/core/manageAgents.js.map +1 -0
  848. package/dist/tools/core/manageMCP.d.ts +52 -0
  849. package/dist/tools/core/manageMCP.d.ts.map +1 -0
  850. package/dist/tools/core/manageMCP.js +160 -0
  851. package/dist/tools/core/manageMCP.js.map +1 -0
  852. package/dist/tools/core/memory.d.ts +49 -0
  853. package/dist/tools/core/memory.d.ts.map +1 -0
  854. package/dist/tools/core/memory.js +80 -0
  855. package/dist/tools/core/memory.js.map +1 -0
  856. package/dist/tools/core/memoryRecall.d.ts +39 -0
  857. package/dist/tools/core/memoryRecall.d.ts.map +1 -0
  858. package/dist/tools/core/memoryRecall.js +42 -0
  859. package/dist/tools/core/memoryRecall.js.map +1 -0
  860. package/dist/tools/core/memorySave.d.ts +33 -0
  861. package/dist/tools/core/memorySave.d.ts.map +1 -0
  862. package/dist/tools/core/memorySave.js +41 -0
  863. package/dist/tools/core/memorySave.js.map +1 -0
  864. package/dist/tools/core/messageChannel.d.ts +27 -0
  865. package/dist/tools/core/messageChannel.d.ts.map +1 -0
  866. package/dist/tools/core/messageChannel.js +59 -0
  867. package/dist/tools/core/messageChannel.js.map +1 -0
  868. package/dist/tools/core/parallelCrew.d.ts +54 -0
  869. package/dist/tools/core/parallelCrew.d.ts.map +1 -0
  870. package/dist/tools/core/parallelCrew.js +60 -0
  871. package/dist/tools/core/parallelCrew.js.map +1 -0
  872. package/dist/tools/core/pollTool.d.ts +36 -0
  873. package/dist/tools/core/pollTool.d.ts.map +1 -0
  874. package/dist/tools/core/pollTool.js +69 -0
  875. package/dist/tools/core/pollTool.js.map +1 -0
  876. package/dist/tools/core/projectTracker.d.ts +71 -0
  877. package/dist/tools/core/projectTracker.d.ts.map +1 -0
  878. package/dist/tools/core/projectTracker.js +181 -0
  879. package/dist/tools/core/projectTracker.js.map +1 -0
  880. package/dist/tools/core/readFile.d.ts +24 -0
  881. package/dist/tools/core/readFile.d.ts.map +1 -0
  882. package/dist/tools/core/readFile.js +49 -0
  883. package/dist/tools/core/readFile.js.map +1 -0
  884. package/dist/tools/core/readPDF.d.ts +32 -0
  885. package/dist/tools/core/readPDF.d.ts.map +1 -0
  886. package/dist/tools/core/readPDF.js +135 -0
  887. package/dist/tools/core/readPDF.js.map +1 -0
  888. package/dist/tools/core/reloadTool.d.ts +36 -0
  889. package/dist/tools/core/reloadTool.d.ts.map +1 -0
  890. package/dist/tools/core/reloadTool.js +109 -0
  891. package/dist/tools/core/reloadTool.js.map +1 -0
  892. package/dist/tools/core/replyToUser.d.ts +14 -0
  893. package/dist/tools/core/replyToUser.d.ts.map +1 -0
  894. package/dist/tools/core/replyToUser.js +19 -0
  895. package/dist/tools/core/replyToUser.js.map +1 -0
  896. package/dist/tools/core/screenCapture.d.ts +17 -0
  897. package/dist/tools/core/screenCapture.d.ts.map +1 -0
  898. package/dist/tools/core/screenCapture.js +34 -0
  899. package/dist/tools/core/screenCapture.js.map +1 -0
  900. package/dist/tools/core/sendEmail.d.ts +34 -0
  901. package/dist/tools/core/sendEmail.d.ts.map +1 -0
  902. package/dist/tools/core/sendEmail.js +56 -0
  903. package/dist/tools/core/sendEmail.js.map +1 -0
  904. package/dist/tools/core/sendFile.d.ts +37 -0
  905. package/dist/tools/core/sendFile.d.ts.map +1 -0
  906. package/dist/tools/core/sendFile.js +53 -0
  907. package/dist/tools/core/sendFile.js.map +1 -0
  908. package/dist/tools/core/sessionSearch.d.ts +62 -0
  909. package/dist/tools/core/sessionSearch.d.ts.map +1 -0
  910. package/dist/tools/core/sessionSearch.js +154 -0
  911. package/dist/tools/core/sessionSearch.js.map +1 -0
  912. package/dist/tools/core/skillManage.d.ts +71 -0
  913. package/dist/tools/core/skillManage.d.ts.map +1 -0
  914. package/dist/tools/core/skillManage.js +353 -0
  915. package/dist/tools/core/skillManage.js.map +1 -0
  916. package/dist/tools/core/skillView.d.ts +46 -0
  917. package/dist/tools/core/skillView.d.ts.map +1 -0
  918. package/dist/tools/core/skillView.js +101 -0
  919. package/dist/tools/core/skillView.js.map +1 -0
  920. package/dist/tools/core/teamTool.d.ts +71 -0
  921. package/dist/tools/core/teamTool.d.ts.map +1 -0
  922. package/dist/tools/core/teamTool.js +132 -0
  923. package/dist/tools/core/teamTool.js.map +1 -0
  924. package/dist/tools/core/textToSpeech.d.ts +25 -0
  925. package/dist/tools/core/textToSpeech.d.ts.map +1 -0
  926. package/dist/tools/core/textToSpeech.js +87 -0
  927. package/dist/tools/core/textToSpeech.js.map +1 -0
  928. package/dist/tools/core/transcribeAudio.d.ts +21 -0
  929. package/dist/tools/core/transcribeAudio.d.ts.map +1 -0
  930. package/dist/tools/core/transcribeAudio.js +27 -0
  931. package/dist/tools/core/transcribeAudio.js.map +1 -0
  932. package/dist/tools/core/useCrew.d.ts +38 -0
  933. package/dist/tools/core/useCrew.d.ts.map +1 -0
  934. package/dist/tools/core/useCrew.js +48 -0
  935. package/dist/tools/core/useCrew.js.map +1 -0
  936. package/dist/tools/core/useMCP.d.ts +40 -0
  937. package/dist/tools/core/useMCP.d.ts.map +1 -0
  938. package/dist/tools/core/useMCP.js +64 -0
  939. package/dist/tools/core/useMCP.js.map +1 -0
  940. package/dist/tools/core/watcherTool.d.ts +47 -0
  941. package/dist/tools/core/watcherTool.d.ts.map +1 -0
  942. package/dist/tools/core/watcherTool.js +119 -0
  943. package/dist/tools/core/watcherTool.js.map +1 -0
  944. package/dist/tools/core/webFetch.d.ts +48 -0
  945. package/dist/tools/core/webFetch.d.ts.map +1 -0
  946. package/dist/tools/core/webFetch.js +265 -0
  947. package/dist/tools/core/webFetch.js.map +1 -0
  948. package/dist/tools/core/webSearch.d.ts +55 -0
  949. package/dist/tools/core/webSearch.d.ts.map +1 -0
  950. package/dist/tools/core/webSearch.js +429 -0
  951. package/dist/tools/core/webSearch.js.map +1 -0
  952. package/dist/tools/core/writeFile.d.ts +27 -0
  953. package/dist/tools/core/writeFile.d.ts.map +1 -0
  954. package/dist/tools/core/writeFile.js +51 -0
  955. package/dist/tools/core/writeFile.js.map +1 -0
  956. package/dist/tools/registry.d.ts +36 -0
  957. package/dist/tools/registry.d.ts.map +1 -0
  958. package/dist/tools/registry.js +73 -0
  959. package/dist/tools/registry.js.map +1 -0
  960. package/dist/tools/types.d.ts +50 -0
  961. package/dist/tools/types.d.ts.map +1 -0
  962. package/dist/tools/types.js +20 -0
  963. package/dist/tools/types.js.map +1 -0
  964. package/dist/tunnels/TunnelManager.d.ts +52 -0
  965. package/dist/tunnels/TunnelManager.d.ts.map +1 -0
  966. package/dist/tunnels/TunnelManager.js +183 -0
  967. package/dist/tunnels/TunnelManager.js.map +1 -0
  968. package/dist/tunnels/urls.d.ts +20 -0
  969. package/dist/tunnels/urls.d.ts.map +1 -0
  970. package/dist/tunnels/urls.js +22 -0
  971. package/dist/tunnels/urls.js.map +1 -0
  972. package/dist/util/errors.d.ts +54 -0
  973. package/dist/util/errors.d.ts.map +1 -0
  974. package/dist/util/errors.js +102 -0
  975. package/dist/util/errors.js.map +1 -0
  976. package/dist/util/logger.d.ts +21 -0
  977. package/dist/util/logger.d.ts.map +1 -0
  978. package/dist/util/logger.js +62 -0
  979. package/dist/util/logger.js.map +1 -0
  980. package/dist/util/msgText.d.ts +16 -0
  981. package/dist/util/msgText.d.ts.map +1 -0
  982. package/dist/util/msgText.js +65 -0
  983. package/dist/util/msgText.js.map +1 -0
  984. package/dist/util/result.d.ts +24 -0
  985. package/dist/util/result.d.ts.map +1 -0
  986. package/dist/util/result.js +35 -0
  987. package/dist/util/result.js.map +1 -0
  988. package/dist/util/tokenEstimate.d.ts +12 -0
  989. package/dist/util/tokenEstimate.d.ts.map +1 -0
  990. package/dist/util/tokenEstimate.js +22 -0
  991. package/dist/util/tokenEstimate.js.map +1 -0
  992. package/dist/voice/DaemoraLLM.d.ts +44 -0
  993. package/dist/voice/DaemoraLLM.d.ts.map +1 -0
  994. package/dist/voice/DaemoraLLM.js +185 -0
  995. package/dist/voice/DaemoraLLM.js.map +1 -0
  996. package/dist/voice/ElevenLabsSTT.d.ts +41 -0
  997. package/dist/voice/ElevenLabsSTT.d.ts.map +1 -0
  998. package/dist/voice/ElevenLabsSTT.js +98 -0
  999. package/dist/voice/ElevenLabsSTT.js.map +1 -0
  1000. package/dist/voice/GroqTTS.d.ts +38 -0
  1001. package/dist/voice/GroqTTS.d.ts.map +1 -0
  1002. package/dist/voice/GroqTTS.js +208 -0
  1003. package/dist/voice/GroqTTS.js.map +1 -0
  1004. package/dist/voice/LiveKitServer.d.ts +30 -0
  1005. package/dist/voice/LiveKitServer.d.ts.map +1 -0
  1006. package/dist/voice/LiveKitServer.js +119 -0
  1007. package/dist/voice/LiveKitServer.js.map +1 -0
  1008. package/dist/voice/LiveKitToken.d.ts +25 -0
  1009. package/dist/voice/LiveKitToken.d.ts.map +1 -0
  1010. package/dist/voice/LiveKitToken.js +44 -0
  1011. package/dist/voice/LiveKitToken.js.map +1 -0
  1012. package/dist/voice/SidecarSupervisor.d.ts +39 -0
  1013. package/dist/voice/SidecarSupervisor.d.ts.map +1 -0
  1014. package/dist/voice/SidecarSupervisor.js +194 -0
  1015. package/dist/voice/SidecarSupervisor.js.map +1 -0
  1016. package/dist/voice/VoiceAgent.d.ts +23 -0
  1017. package/dist/voice/VoiceAgent.d.ts.map +1 -0
  1018. package/dist/voice/VoiceAgent.js +265 -0
  1019. package/dist/voice/VoiceAgent.js.map +1 -0
  1020. package/dist/voice/VoiceProviders.d.ts +29 -0
  1021. package/dist/voice/VoiceProviders.d.ts.map +1 -0
  1022. package/dist/voice/VoiceProviders.js +177 -0
  1023. package/dist/voice/VoiceProviders.js.map +1 -0
  1024. package/dist/voice/VoiceSession.d.ts +106 -0
  1025. package/dist/voice/VoiceSession.d.ts.map +1 -0
  1026. package/dist/voice/VoiceSession.js +454 -0
  1027. package/dist/voice/VoiceSession.js.map +1 -0
  1028. package/dist/voice/VoiceSocket.d.ts +49 -0
  1029. package/dist/voice/VoiceSocket.d.ts.map +1 -0
  1030. package/dist/voice/VoiceSocket.js +274 -0
  1031. package/dist/voice/VoiceSocket.js.map +1 -0
  1032. package/dist/voice/stt/DeepgramSTT.d.ts +26 -0
  1033. package/dist/voice/stt/DeepgramSTT.d.ts.map +1 -0
  1034. package/dist/voice/stt/DeepgramSTT.js +188 -0
  1035. package/dist/voice/stt/DeepgramSTT.js.map +1 -0
  1036. package/dist/voice/stt/GroqSTT.d.ts +28 -0
  1037. package/dist/voice/stt/GroqSTT.d.ts.map +1 -0
  1038. package/dist/voice/stt/GroqSTT.js +169 -0
  1039. package/dist/voice/stt/GroqSTT.js.map +1 -0
  1040. package/dist/voice/stt/STTAdapter.d.ts +47 -0
  1041. package/dist/voice/stt/STTAdapter.d.ts.map +1 -0
  1042. package/dist/voice/stt/STTAdapter.js +27 -0
  1043. package/dist/voice/stt/STTAdapter.js.map +1 -0
  1044. package/dist/voice/transcribe.d.ts +33 -0
  1045. package/dist/voice/transcribe.d.ts.map +1 -0
  1046. package/dist/voice/transcribe.js +73 -0
  1047. package/dist/voice/transcribe.js.map +1 -0
  1048. package/dist/voice/transcriptFilter.d.ts +16 -0
  1049. package/dist/voice/transcriptFilter.d.ts.map +1 -0
  1050. package/dist/voice/transcriptFilter.js +36 -0
  1051. package/dist/voice/transcriptFilter.js.map +1 -0
  1052. package/dist/voice/tts/CartesiaTTS.d.ts +31 -0
  1053. package/dist/voice/tts/CartesiaTTS.d.ts.map +1 -0
  1054. package/dist/voice/tts/CartesiaTTS.js +201 -0
  1055. package/dist/voice/tts/CartesiaTTS.js.map +1 -0
  1056. package/dist/voice/tts/ElevenLabsTTS.d.ts +29 -0
  1057. package/dist/voice/tts/ElevenLabsTTS.d.ts.map +1 -0
  1058. package/dist/voice/tts/ElevenLabsTTS.js +210 -0
  1059. package/dist/voice/tts/ElevenLabsTTS.js.map +1 -0
  1060. package/dist/voice/tts/OpenAITTS.d.ts +23 -0
  1061. package/dist/voice/tts/OpenAITTS.d.ts.map +1 -0
  1062. package/dist/voice/tts/OpenAITTS.js +124 -0
  1063. package/dist/voice/tts/OpenAITTS.js.map +1 -0
  1064. package/dist/voice/tts/TTSAdapter.d.ts +46 -0
  1065. package/dist/voice/tts/TTSAdapter.d.ts.map +1 -0
  1066. package/dist/voice/tts/TTSAdapter.js +26 -0
  1067. package/dist/voice/tts/TTSAdapter.js.map +1 -0
  1068. package/dist/voice-worker.mjs +607 -0
  1069. package/dist/watchers/FileWatcher.d.ts +47 -0
  1070. package/dist/watchers/FileWatcher.d.ts.map +1 -0
  1071. package/dist/watchers/FileWatcher.js +103 -0
  1072. package/dist/watchers/FileWatcher.js.map +1 -0
  1073. package/dist/watchers/IntegrationWatcher.d.ts +68 -0
  1074. package/dist/watchers/IntegrationWatcher.d.ts.map +1 -0
  1075. package/dist/watchers/IntegrationWatcher.js +347 -0
  1076. package/dist/watchers/IntegrationWatcher.js.map +1 -0
  1077. package/dist/watchers/PollWatcher.d.ts +54 -0
  1078. package/dist/watchers/PollWatcher.d.ts.map +1 -0
  1079. package/dist/watchers/PollWatcher.js +135 -0
  1080. package/dist/watchers/PollWatcher.js.map +1 -0
  1081. package/dist/watchers/WatcherRunner.d.ts +49 -0
  1082. package/dist/watchers/WatcherRunner.d.ts.map +1 -0
  1083. package/dist/watchers/WatcherRunner.js +203 -0
  1084. package/dist/watchers/WatcherRunner.js.map +1 -0
  1085. package/dist/watchers/WatcherStore.d.ts +43 -0
  1086. package/dist/watchers/WatcherStore.d.ts.map +1 -0
  1087. package/dist/watchers/WatcherStore.js +78 -0
  1088. package/dist/watchers/WatcherStore.js.map +1 -0
  1089. package/dist/webhooks/WebhookHandler.d.ts +36 -0
  1090. package/dist/webhooks/WebhookHandler.d.ts.map +1 -0
  1091. package/dist/webhooks/WebhookHandler.js +264 -0
  1092. package/dist/webhooks/WebhookHandler.js.map +1 -0
  1093. package/dist/webhooks/WebhookTokenStore.d.ts +48 -0
  1094. package/dist/webhooks/WebhookTokenStore.d.ts.map +1 -0
  1095. package/dist/webhooks/WebhookTokenStore.js +136 -0
  1096. package/dist/webhooks/WebhookTokenStore.js.map +1 -0
  1097. package/dist/webhooks/hmac.d.ts +43 -0
  1098. package/dist/webhooks/hmac.d.ts.map +1 -0
  1099. package/dist/webhooks/hmac.js +98 -0
  1100. package/dist/webhooks/hmac.js.map +1 -0
  1101. package/dist/webhooks/watcherTemplates.d.ts +21 -0
  1102. package/dist/webhooks/watcherTemplates.d.ts.map +1 -0
  1103. package/dist/webhooks/watcherTemplates.js +164 -0
  1104. package/dist/webhooks/watcherTemplates.js.map +1 -0
  1105. package/package.json +119 -0
  1106. package/public/architecture.svg +99 -0
  1107. package/public/banner.png +0 -0
  1108. package/public/banner.svg +141 -0
  1109. package/public/multi-agent.svg +109 -0
  1110. package/public/security.svg +84 -0
  1111. package/public/steer-inject.svg +73 -0
  1112. package/public/task-lifecycle.svg +77 -0
  1113. package/skills/_template/SKILL.md +11 -0
  1114. package/skills/api-development.md +35 -0
  1115. package/skills/apple-notes/SKILL.md +77 -0
  1116. package/skills/apple-reminders/SKILL.md +118 -0
  1117. package/skills/artifacts-builder/SKILL.md +74 -0
  1118. package/skills/artifacts-builder/scripts/bundle-artifact.sh +54 -0
  1119. package/skills/artifacts-builder/scripts/init-artifact.sh +322 -0
  1120. package/skills/artifacts-builder/scripts/shadcn-components.tar.gz +0 -0
  1121. package/skills/brand-guidelines.md +73 -0
  1122. package/skills/browser.md +77 -0
  1123. package/skills/camsnap/SKILL.md +45 -0
  1124. package/skills/changelog-generator.md +104 -0
  1125. package/skills/coding-agent/SKILL.md +316 -0
  1126. package/skills/content-research-writer.md +538 -0
  1127. package/skills/create-new-skill.md +564 -0
  1128. package/skills/data-analysis.md +27 -0
  1129. package/skills/debugging.md +33 -0
  1130. package/skills/devops.md +37 -0
  1131. package/skills/discord/SKILL.md +197 -0
  1132. package/skills/document-docx.md +197 -0
  1133. package/skills/document-pptx.md +484 -0
  1134. package/skills/document-xlsx.md +289 -0
  1135. package/skills/documents.md +13 -0
  1136. package/skills/domain-name-brainstormer.md +212 -0
  1137. package/skills/email.md +13 -0
  1138. package/skills/example-pdf/SKILL.md +17 -0
  1139. package/skills/file-organizer.md +433 -0
  1140. package/skills/frontend-design.md +42 -0
  1141. package/skills/gif-search.md +53 -0
  1142. package/skills/github/SKILL.md +163 -0
  1143. package/skills/google-workspace.md +64 -0
  1144. package/skills/image-enhancer.md +99 -0
  1145. package/skills/image-gen.md +48 -0
  1146. package/skills/invoice-organizer.md +446 -0
  1147. package/skills/lead-research-assistant.md +199 -0
  1148. package/skills/link-understanding.md +21 -0
  1149. package/skills/macos-automation.md +62 -0
  1150. package/skills/mcp-builder/SKILL.md +328 -0
  1151. package/skills/mcp-builder/reference/evaluation.md +602 -0
  1152. package/skills/mcp-builder/reference/mcp_best_practices.md +915 -0
  1153. package/skills/mcp-builder/reference/node_mcp_server.md +916 -0
  1154. package/skills/mcp-builder/reference/python_mcp_server.md +752 -0
  1155. package/skills/mcp-builder/scripts/connections.py +151 -0
  1156. package/skills/mcp-builder/scripts/evaluation.py +373 -0
  1157. package/skills/mcp-builder/scripts/example_evaluation.xml +22 -0
  1158. package/skills/mcp-builder/scripts/requirements.txt +2 -0
  1159. package/skills/meeting-attendance.md +37 -0
  1160. package/skills/meeting-insights-analyzer.md +327 -0
  1161. package/skills/model-usage/SKILL.md +69 -0
  1162. package/skills/model-usage/references/codexbar-cli.md +33 -0
  1163. package/skills/model-usage/scripts/model_usage.py +320 -0
  1164. package/skills/model-usage/scripts/test_model_usage.py +40 -0
  1165. package/skills/notion/SKILL.md +174 -0
  1166. package/skills/obsidian/SKILL.md +81 -0
  1167. package/skills/orchestration.md +114 -0
  1168. package/skills/pdf.md +60 -0
  1169. package/skills/planning/SKILL.md +98 -0
  1170. package/skills/planning.md +168 -0
  1171. package/skills/raffle-winner-picker.md +159 -0
  1172. package/skills/remotion.md +126 -0
  1173. package/skills/research.md +13 -0
  1174. package/skills/skill-creator/SKILL.md +372 -0
  1175. package/skills/skill-creator/license.txt +202 -0
  1176. package/skills/skill-creator/scripts/init_skill.py +378 -0
  1177. package/skills/skill-creator/scripts/package_skill.py +139 -0
  1178. package/skills/skill-creator/scripts/quick_validate.py +159 -0
  1179. package/skills/skill-creator/scripts/test_package_skill.py +160 -0
  1180. package/skills/skill-creator/scripts/test_quick_validate.py +72 -0
  1181. package/skills/slack/SKILL.md +144 -0
  1182. package/skills/slack-gif-creator/SKILL.md +646 -0
  1183. package/skills/slack-gif-creator/core/color_palettes.py +302 -0
  1184. package/skills/slack-gif-creator/core/easing.py +230 -0
  1185. package/skills/slack-gif-creator/core/frame_composer.py +469 -0
  1186. package/skills/slack-gif-creator/core/gif_builder.py +246 -0
  1187. package/skills/slack-gif-creator/core/typography.py +357 -0
  1188. package/skills/slack-gif-creator/core/validators.py +264 -0
  1189. package/skills/slack-gif-creator/core/visual_effects.py +494 -0
  1190. package/skills/slack-gif-creator/requirements.txt +4 -0
  1191. package/skills/slack-gif-creator/templates/bounce.py +106 -0
  1192. package/skills/slack-gif-creator/templates/explode.py +331 -0
  1193. package/skills/slack-gif-creator/templates/fade.py +329 -0
  1194. package/skills/slack-gif-creator/templates/flip.py +291 -0
  1195. package/skills/slack-gif-creator/templates/kaleidoscope.py +211 -0
  1196. package/skills/slack-gif-creator/templates/morph.py +329 -0
  1197. package/skills/slack-gif-creator/templates/move.py +293 -0
  1198. package/skills/slack-gif-creator/templates/pulse.py +268 -0
  1199. package/skills/slack-gif-creator/templates/shake.py +127 -0
  1200. package/skills/slack-gif-creator/templates/slide.py +291 -0
  1201. package/skills/slack-gif-creator/templates/spin.py +269 -0
  1202. package/skills/slack-gif-creator/templates/wiggle.py +300 -0
  1203. package/skills/slack-gif-creator/templates/zoom.py +312 -0
  1204. package/skills/summarize/SKILL.md +87 -0
  1205. package/skills/system-admin.md +44 -0
  1206. package/skills/tailored-resume-generator.md +345 -0
  1207. package/skills/task-decomposition/SKILL.md +113 -0
  1208. package/skills/theme-factory/SKILL.md +59 -0
  1209. package/skills/theme-factory/theme-showcase.pdf +0 -0
  1210. package/skills/theme-factory/themes/arctic-frost.md +19 -0
  1211. package/skills/theme-factory/themes/botanical-garden.md +19 -0
  1212. package/skills/theme-factory/themes/desert-rose.md +19 -0
  1213. package/skills/theme-factory/themes/forest-canopy.md +19 -0
  1214. package/skills/theme-factory/themes/golden-hour.md +19 -0
  1215. package/skills/theme-factory/themes/midnight-galaxy.md +19 -0
  1216. package/skills/theme-factory/themes/modern-minimalist.md +19 -0
  1217. package/skills/theme-factory/themes/ocean-depths.md +19 -0
  1218. package/skills/theme-factory/themes/sunset-boulevard.md +19 -0
  1219. package/skills/theme-factory/themes/tech-innovation.md +19 -0
  1220. package/skills/things-mac/SKILL.md +86 -0
  1221. package/skills/tmux/SKILL.md +170 -0
  1222. package/skills/tmux/scripts/find-sessions.sh +112 -0
  1223. package/skills/tmux/scripts/wait-for-text.sh +83 -0
  1224. package/skills/trello/SKILL.md +108 -0
  1225. package/skills/video-downloader.md +99 -0
  1226. package/skills/video-frames/SKILL.md +46 -0
  1227. package/skills/video-frames/scripts/frame.sh +81 -0
  1228. package/skills/weather/SKILL.md +129 -0
  1229. package/skills/web-development.md +32 -0
  1230. package/skills/webapp-testing/SKILL.md +96 -0
  1231. package/skills/webapp-testing/examples/console_logging.py +35 -0
  1232. package/skills/webapp-testing/examples/element_discovery.py +40 -0
  1233. package/skills/webapp-testing/examples/static_html_automation.py +33 -0
  1234. package/skills/webapp-testing/scripts/with_server.py +106 -0
  1235. package/ui/dist/assets/index-DuybLBDW.css +1 -0
  1236. package/ui/dist/assets/index-kK4jTnXz.js +569 -0
  1237. package/ui/dist/favicon.svg +29 -0
  1238. package/ui/dist/index.html +16 -0
@@ -0,0 +1,46 @@
1
+ /**
2
+ * TTSAdapter — provider-agnostic text-to-speech interface.
3
+ *
4
+ * All TTS providers (streaming WebSocket or HTTP) extend this class
5
+ * and emit a uniform set of events for the voice pipeline.
6
+ */
7
+ import { EventEmitter } from "node:events";
8
+ export interface TTSConfig {
9
+ apiKey: string;
10
+ voice?: string;
11
+ model?: string;
12
+ outputFormat?: "pcm16" | "mp3" | "opus";
13
+ sampleRate?: number;
14
+ /** Override base URL for OpenAI-compatible APIs (e.g. Groq). */
15
+ baseURL?: string;
16
+ }
17
+ export interface AudioFormat {
18
+ encoding: "pcm16" | "mp3" | "opus";
19
+ sampleRate: number;
20
+ channels: number;
21
+ }
22
+ export interface TTSEvents {
23
+ audio: [chunk: Buffer, format: AudioFormat];
24
+ flushed: [];
25
+ error: [error: Error];
26
+ close: [code?: number, reason?: string];
27
+ }
28
+ export declare abstract class TTSAdapter extends EventEmitter {
29
+ abstract readonly id: string;
30
+ abstract readonly streaming: boolean;
31
+ constructor();
32
+ /** Connect to the provider and prepare for synthesis. */
33
+ abstract connect(config: TTSConfig): Promise<void>;
34
+ /** Gracefully disconnect and release resources. */
35
+ abstract disconnect(): Promise<void>;
36
+ /** Feed text (or a token) into the synthesiser. */
37
+ abstract sendText(text: string): void;
38
+ /** Signal end of text input — provider should finish generating. */
39
+ abstract flush(): void;
40
+ /** Cancel current synthesis (e.g. user interrupted). */
41
+ abstract cancel(): void;
42
+ emit<K extends keyof TTSEvents>(event: K, ...args: TTSEvents[K]): boolean;
43
+ on<K extends keyof TTSEvents>(event: K, listener: (...args: TTSEvents[K]) => void): this;
44
+ once<K extends keyof TTSEvents>(event: K, listener: (...args: TTSEvents[K]) => void): this;
45
+ }
46
+ //# sourceMappingURL=TTSAdapter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TTSAdapter.d.ts","sourceRoot":"","sources":["../../../src/voice/tts/TTSAdapter.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAI3C,MAAM,WAAW,SAAS;IACxB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,OAAO,GAAG,KAAK,GAAG,MAAM,CAAC;IACxC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,gEAAgE;IAChE,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAID,MAAM,WAAW,WAAW;IAC1B,QAAQ,EAAE,OAAO,GAAG,KAAK,GAAG,MAAM,CAAC;IACnC,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAID,MAAM,WAAW,SAAS;IACxB,KAAK,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,CAAC,CAAC;IAC5C,OAAO,EAAE,EAAE,CAAC;IACZ,KAAK,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;IACtB,KAAK,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,CAAC,CAAC;CACzC;AAID,8BAAsB,UAAW,SAAQ,YAAY;IACnD,QAAQ,CAAC,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC;;IAQrC,yDAAyD;IACzD,QAAQ,CAAC,OAAO,CAAC,MAAM,EAAE,SAAS,GAAG,OAAO,CAAC,IAAI,CAAC;IAElD,mDAAmD;IACnD,QAAQ,CAAC,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC;IAEpC,mDAAmD;IACnD,QAAQ,CAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;IAErC,oEAAoE;IACpE,QAAQ,CAAC,KAAK,IAAI,IAAI;IAEtB,wDAAwD;IACxD,QAAQ,CAAC,MAAM,IAAI,IAAI;IAId,IAAI,CAAC,CAAC,SAAS,MAAM,SAAS,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,IAAI,EAAE,SAAS,CAAC,CAAC,CAAC,GAAG,OAAO;IAIzE,EAAE,CAAC,CAAC,SAAS,MAAM,SAAS,EAAE,KAAK,EAAE,CAAC,EAAE,QAAQ,EAAE,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC,CAAC,CAAC,KAAK,IAAI,GAAG,IAAI;IAIxF,IAAI,CAAC,CAAC,SAAS,MAAM,SAAS,EAAE,KAAK,EAAE,CAAC,EAAE,QAAQ,EAAE,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC,CAAC,CAAC,KAAK,IAAI,GAAG,IAAI;CAGpG"}
@@ -0,0 +1,26 @@
1
+ /**
2
+ * TTSAdapter — provider-agnostic text-to-speech interface.
3
+ *
4
+ * All TTS providers (streaming WebSocket or HTTP) extend this class
5
+ * and emit a uniform set of events for the voice pipeline.
6
+ */
7
+ import { EventEmitter } from "node:events";
8
+ // ── Abstract base ───────────────────────────────────────────────────
9
+ export class TTSAdapter extends EventEmitter {
10
+ constructor() {
11
+ super();
12
+ // Prevent unhandled error events from crashing the process
13
+ this.on("error", () => { });
14
+ }
15
+ // ── Typed emit / on helpers ─────────────────────────────────────
16
+ emit(event, ...args) {
17
+ return super.emit(event, ...args);
18
+ }
19
+ on(event, listener) {
20
+ return super.on(event, listener);
21
+ }
22
+ once(event, listener) {
23
+ return super.once(event, listener);
24
+ }
25
+ }
26
+ //# sourceMappingURL=TTSAdapter.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TTSAdapter.js","sourceRoot":"","sources":["../../../src/voice/tts/TTSAdapter.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AA+B3C,uEAAuE;AAEvE,MAAM,OAAgB,UAAW,SAAQ,YAAY;IAInD;QACE,KAAK,EAAE,CAAC;QACR,2DAA2D;QAC3D,IAAI,CAAC,EAAE,CAAC,OAAO,EAAE,GAAG,EAAE,GAAE,CAAC,CAAC,CAAC;IAC7B,CAAC;IAiBD,mEAAmE;IAE1D,IAAI,CAA4B,KAAQ,EAAE,GAAG,IAAkB;QACtE,OAAO,KAAK,CAAC,IAAI,CAAC,KAAe,EAAE,GAAG,IAAI,CAAC,CAAC;IAC9C,CAAC;IAEQ,EAAE,CAA4B,KAAQ,EAAE,QAAyC;QACxF,OAAO,KAAK,CAAC,EAAE,CAAC,KAAe,EAAE,QAAwC,CAAC,CAAC;IAC7E,CAAC;IAEQ,IAAI,CAA4B,KAAQ,EAAE,QAAyC;QAC1F,OAAO,KAAK,CAAC,IAAI,CAAC,KAAe,EAAE,QAAwC,CAAC,CAAC;IAC/E,CAAC;CACF"}
@@ -0,0 +1,607 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropNames = Object.getOwnPropertyNames;
3
+ var __esm = (fn, res) => function __init() {
4
+ return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
5
+ };
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+
11
+ // src/voice/ElevenLabsSTT.ts
12
+ var ElevenLabsSTT_exports = {};
13
+ __export(ElevenLabsSTT_exports, {
14
+ ElevenLabsSTT: () => ElevenLabsSTT
15
+ });
16
+ import { stt, mergeFrames } from "@livekit/agents";
17
+ function createWavBuffer(frame) {
18
+ const bitsPerSample = 16;
19
+ const byteRate = frame.sampleRate * frame.channels * bitsPerSample / 8;
20
+ const blockAlign = frame.channels * bitsPerSample / 8;
21
+ const header = Buffer.alloc(44);
22
+ header.write("RIFF", 0);
23
+ header.writeUInt32LE(36 + frame.data.byteLength, 4);
24
+ header.write("WAVE", 8);
25
+ header.write("fmt ", 12);
26
+ header.writeUInt32LE(16, 16);
27
+ header.writeUInt16LE(1, 20);
28
+ header.writeUInt16LE(frame.channels, 22);
29
+ header.writeUInt32LE(frame.sampleRate, 24);
30
+ header.writeUInt32LE(byteRate, 28);
31
+ header.writeUInt16LE(blockAlign, 32);
32
+ header.writeUInt16LE(16, 34);
33
+ header.write("data", 36);
34
+ header.writeUInt32LE(frame.data.byteLength, 40);
35
+ return Buffer.concat([header, Buffer.from(frame.data.buffer)]);
36
+ }
37
+ var ElevenLabsSTT;
38
+ var init_ElevenLabsSTT = __esm({
39
+ "src/voice/ElevenLabsSTT.ts"() {
40
+ "use strict";
41
+ ElevenLabsSTT = class extends stt.STT {
42
+ label = "elevenlabs.STT";
43
+ opts;
44
+ constructor(opts) {
45
+ super({ streaming: false, interimResults: false });
46
+ this.opts = {
47
+ model: "scribe_v1",
48
+ baseURL: "https://api.elevenlabs.io/v1",
49
+ ...opts
50
+ };
51
+ }
52
+ get model() {
53
+ return this.opts.model;
54
+ }
55
+ get provider() {
56
+ return "elevenlabs";
57
+ }
58
+ async _recognize(buffer, abortSignal) {
59
+ const frame = mergeFrames(buffer);
60
+ const wav = createWavBuffer(frame);
61
+ const form = new FormData();
62
+ form.set("model_id", this.opts.model);
63
+ form.set(
64
+ "file",
65
+ new File([new Uint8Array(wav)], "audio.wav", { type: "audio/wav" })
66
+ );
67
+ if (this.opts.language) form.set("language_code", this.opts.language);
68
+ if (this.opts.timestamps) form.set("timestamps_granularity", "word");
69
+ if (this.opts.diarize) form.set("diarize", "true");
70
+ const resp = await fetch(`${this.opts.baseURL}/speech-to-text`, {
71
+ method: "POST",
72
+ headers: { "xi-api-key": this.opts.apiKey },
73
+ body: form,
74
+ ...abortSignal ? { signal: abortSignal } : {}
75
+ });
76
+ if (!resp.ok) {
77
+ const body = await resp.text();
78
+ throw new Error(`ElevenLabs STT ${resp.status}: ${body.slice(0, 200)}`);
79
+ }
80
+ const data = await resp.json();
81
+ return {
82
+ type: stt.SpeechEventType.FINAL_TRANSCRIPT,
83
+ alternatives: [
84
+ {
85
+ text: data.text ?? "",
86
+ language: data.language_code ?? this.opts.language ?? "",
87
+ startTime: 0,
88
+ endTime: 0,
89
+ confidence: 0
90
+ }
91
+ ]
92
+ };
93
+ }
94
+ stream() {
95
+ throw new Error("ElevenLabs STT does not support streaming \u2014 use StreamAdapter");
96
+ }
97
+ };
98
+ }
99
+ });
100
+
101
+ // src/voice/GroqTTS.ts
102
+ var GroqTTS_exports = {};
103
+ __export(GroqTTS_exports, {
104
+ GroqTTS: () => GroqTTS,
105
+ defaultVoiceForGroqModel: () => defaultVoiceForGroqModel
106
+ });
107
+ import { AudioByteStream, tts } from "@livekit/agents";
108
+ function defaultVoiceForGroqModel(model) {
109
+ return DEFAULT_VOICE_BY_MODEL[model] ?? FALLBACK_VOICE;
110
+ }
111
+ async function fetchWavAsPcm(opts, text, abortSignal) {
112
+ if (!opts.apiKey) {
113
+ throw new Error("Groq TTS: GROQ_API_KEY is not set. Add it in Settings \u2192 Secrets.");
114
+ }
115
+ if (!opts.voice) {
116
+ throw new Error(
117
+ `Groq TTS: no voice configured for model "${opts.model}". Set TTS_VOICE in Settings \u2192 Voice (e.g. "Fritz-PlayAI" for PlayAI models, "tara" for Orpheus).`
118
+ );
119
+ }
120
+ if (!opts.model) {
121
+ throw new Error("Groq TTS: no model configured. Set TTS_MODEL in Settings \u2192 Voice.");
122
+ }
123
+ const resp = await fetch(`${opts.baseURL}/audio/speech`, {
124
+ method: "POST",
125
+ headers: {
126
+ Authorization: `Bearer ${opts.apiKey}`,
127
+ "Content-Type": "application/json"
128
+ },
129
+ body: JSON.stringify({
130
+ input: text,
131
+ model: opts.model,
132
+ voice: opts.voice,
133
+ response_format: "wav"
134
+ }),
135
+ ...abortSignal ? { signal: abortSignal } : {}
136
+ });
137
+ if (!resp.ok) {
138
+ const body = await resp.text();
139
+ throw new Error(`Groq TTS ${resp.status}: ${body.slice(0, 200)}`);
140
+ }
141
+ const buf = await resp.arrayBuffer();
142
+ return stripWavHeader(buf);
143
+ }
144
+ function stripWavHeader(buf) {
145
+ const view = new DataView(buf);
146
+ for (let i = 12; i < Math.min(buf.byteLength - 8, 256); i++) {
147
+ if (view.getUint8(i) === 100 && view.getUint8(i + 1) === 97 && view.getUint8(i + 2) === 116 && view.getUint8(i + 3) === 97) {
148
+ return buf.slice(i + 8);
149
+ }
150
+ }
151
+ return buf.slice(WAV_HEADER_BYTES);
152
+ }
153
+ function randomId() {
154
+ return Math.random().toString(36).slice(2);
155
+ }
156
+ var SAMPLE_RATE_BY_MODEL, DEFAULT_SAMPLE_RATE, CHANNELS, WAV_HEADER_BYTES, DEFAULT_VOICE_BY_MODEL, FALLBACK_VOICE, ORPHEUS_VOICES, GroqTTS, GroqChunkedStream;
157
+ var init_GroqTTS = __esm({
158
+ "src/voice/GroqTTS.ts"() {
159
+ "use strict";
160
+ SAMPLE_RATE_BY_MODEL = {
161
+ "playai-tts": 48e3,
162
+ "playai-tts-english": 48e3,
163
+ "playai-tts-arabic": 48e3,
164
+ "canopylabs/orpheus-v1-english": 24e3,
165
+ "orpheus-v1-english": 24e3
166
+ };
167
+ DEFAULT_SAMPLE_RATE = 24e3;
168
+ CHANNELS = 1;
169
+ WAV_HEADER_BYTES = 44;
170
+ DEFAULT_VOICE_BY_MODEL = {
171
+ "playai-tts": "Fritz-PlayAI",
172
+ "playai-tts-english": "Fritz-PlayAI",
173
+ "playai-tts-arabic": "Ahmad-PlayAI",
174
+ // Groq Orpheus accepts only [autumn, diana, hannah, austin, daniel, troy]
175
+ // — older "tara" / "leah" names from upstream Orpheus are rejected
176
+ // (400 invalid_request_error). Picking `troy` as a neutral male voice;
177
+ // override per-deploy via TTS_VOICE setting.
178
+ "canopylabs/orpheus-v1-english": "troy",
179
+ "orpheus-v1-english": "troy"
180
+ };
181
+ FALLBACK_VOICE = "Fritz-PlayAI";
182
+ ORPHEUS_VOICES = /* @__PURE__ */ new Set(["autumn", "diana", "hannah", "austin", "daniel", "troy"]);
183
+ GroqTTS = class extends tts.TTS {
184
+ label = "groq.TTS";
185
+ opts;
186
+ constructor(opts) {
187
+ const rate = opts.sampleRate ?? SAMPLE_RATE_BY_MODEL[opts.model] ?? DEFAULT_SAMPLE_RATE;
188
+ super(rate, CHANNELS, { streaming: false });
189
+ let voice2 = opts.voice && opts.voice.trim() !== "" ? opts.voice.toLowerCase() : defaultVoiceForGroqModel(opts.model);
190
+ if (/orpheus/.test(opts.model) && !ORPHEUS_VOICES.has(voice2)) {
191
+ voice2 = defaultVoiceForGroqModel(opts.model);
192
+ }
193
+ this.opts = {
194
+ baseURL: "https://api.groq.com/openai/v1",
195
+ ...opts,
196
+ voice: voice2,
197
+ sampleRate: rate
198
+ };
199
+ }
200
+ get model() {
201
+ return this.opts.model;
202
+ }
203
+ get provider() {
204
+ return "groq";
205
+ }
206
+ synthesize(text, connOptions, abortSignal) {
207
+ const audioPromise = fetchWavAsPcm(this.opts, text, abortSignal);
208
+ return new GroqChunkedStream(
209
+ this,
210
+ text,
211
+ audioPromise,
212
+ this.opts.sampleRate,
213
+ connOptions,
214
+ abortSignal
215
+ );
216
+ }
217
+ stream() {
218
+ throw new Error("GroqTTS does not support streaming synthesis");
219
+ }
220
+ };
221
+ GroqChunkedStream = class extends tts.ChunkedStream {
222
+ label = "groq.ChunkedStream";
223
+ pcmPromise;
224
+ sampleRate;
225
+ constructor(ttsRef, text, pcmPromise, sampleRate, connOptions, abortSignal) {
226
+ super(text, ttsRef, connOptions, abortSignal);
227
+ this.pcmPromise = pcmPromise;
228
+ this.sampleRate = sampleRate;
229
+ }
230
+ async run() {
231
+ const requestId = randomId();
232
+ const stream = new AudioByteStream(this.sampleRate, CHANNELS);
233
+ const queue = this.queue;
234
+ const silenceMs = 120;
235
+ const silenceBytes = new ArrayBuffer(Math.floor(this.sampleRate * silenceMs / 1e3) * 2);
236
+ for (const f of stream.write(silenceBytes)) {
237
+ queue.put({ requestId, segmentId: "0", frame: f, final: false });
238
+ }
239
+ try {
240
+ const pcm = await this.pcmPromise;
241
+ const frames = stream.write(pcm);
242
+ let last;
243
+ const emit = (segmentId, final) => {
244
+ if (!last) return;
245
+ queue.put({ requestId, segmentId, frame: last, final });
246
+ last = void 0;
247
+ };
248
+ for (const frame of frames) {
249
+ emit("0", false);
250
+ last = frame;
251
+ }
252
+ emit("0", true);
253
+ } catch (err) {
254
+ if (err instanceof Error && err.name === "AbortError") return;
255
+ throw err;
256
+ } finally {
257
+ queue.close();
258
+ }
259
+ }
260
+ };
261
+ }
262
+ });
263
+
264
+ // src/voice/VoiceAgent.ts
265
+ import { readFileSync } from "node:fs";
266
+ import { dirname, join } from "node:path";
267
+ import { fileURLToPath } from "node:url";
268
+ import {
269
+ ServerOptions,
270
+ cli,
271
+ defineAgent,
272
+ voice
273
+ } from "@livekit/agents";
274
+ import * as silero from "@livekit/agents-plugin-silero";
275
+
276
+ // src/voice/DaemoraLLM.ts
277
+ import { randomUUID } from "node:crypto";
278
+ import { llm } from "@livekit/agents";
279
+ var VOICE_SESSION_ID = "main";
280
+ var DaemoraLLM = class extends llm.LLM {
281
+ daemoraUrl;
282
+ modelId;
283
+ constructor(opts) {
284
+ super();
285
+ this.daemoraUrl = opts.daemoraUrl.replace(/\/$/, "");
286
+ this.modelId = opts.model ?? "daemora";
287
+ }
288
+ label() {
289
+ return "daemora.LLM";
290
+ }
291
+ get model() {
292
+ return this.modelId;
293
+ }
294
+ get provider() {
295
+ return "daemora";
296
+ }
297
+ chat({
298
+ chatCtx,
299
+ toolCtx,
300
+ connOptions
301
+ }) {
302
+ return new DaemoraLLMStream(this, {
303
+ chatCtx,
304
+ ...toolCtx ? { toolCtx } : {},
305
+ ...connOptions ? { connOptions } : {}
306
+ });
307
+ }
308
+ };
309
+ var DaemoraLLMStream = class extends llm.LLMStream {
310
+ daemora;
311
+ constructor(daemora, opts) {
312
+ const connOptions = opts.connOptions ?? { maxRetry: 0, timeoutMs: 12e4 };
313
+ if (opts.toolCtx) {
314
+ super(daemora, { chatCtx: opts.chatCtx, toolCtx: opts.toolCtx, connOptions });
315
+ } else {
316
+ super(daemora, { chatCtx: opts.chatCtx, connOptions });
317
+ }
318
+ this.daemora = daemora;
319
+ }
320
+ async run() {
321
+ const userText = extractLatestUserText(this.chatCtx);
322
+ const chunkId = randomUUID();
323
+ if (!userText) {
324
+ this.queue.close();
325
+ return;
326
+ }
327
+ try {
328
+ const kickoff = await fetch(`${this.daemora.daemoraUrl}/api/chat`, {
329
+ method: "POST",
330
+ headers: { "Content-Type": "application/json" },
331
+ body: JSON.stringify({
332
+ input: userText,
333
+ sessionId: VOICE_SESSION_ID,
334
+ // Flag: ask the server to add a "voice mode" prelude to the
335
+ // system prompt so the reply is spoken-style (no markdown,
336
+ // 1–3 short sentences). TTS reads bullet points and pipe
337
+ // characters out loud otherwise.
338
+ voiceMode: true
339
+ }),
340
+ signal: this.abortController.signal
341
+ });
342
+ if (!kickoff.ok) {
343
+ throw new Error(`/api/chat ${kickoff.status}`);
344
+ }
345
+ const { taskId } = await kickoff.json();
346
+ await this.consumeSSE(`${this.daemora.daemoraUrl}/api/tasks/${taskId}/stream`, chunkId);
347
+ } catch (err) {
348
+ if (!this.abortController.signal.aborted) {
349
+ throw err;
350
+ }
351
+ } finally {
352
+ this.queue.close();
353
+ }
354
+ }
355
+ /**
356
+ * Minimal SSE parser — reads `event:` / `data:` lines and routes
357
+ * text deltas to the LLMStream queue. Terminates on `task:state`
358
+ * with a completed / failed status, or when the stream ends.
359
+ */
360
+ async consumeSSE(url, chunkId) {
361
+ const resp = await fetch(url, {
362
+ method: "GET",
363
+ headers: { Accept: "text/event-stream" },
364
+ signal: this.abortController.signal
365
+ });
366
+ if (!resp.ok || !resp.body) throw new Error(`SSE ${resp.status}`);
367
+ const reader = resp.body.getReader();
368
+ const decoder = new TextDecoder();
369
+ let buf = "";
370
+ let currentEvent = "";
371
+ while (true) {
372
+ if (this.abortController.signal.aborted) {
373
+ try {
374
+ await reader.cancel();
375
+ } catch {
376
+ }
377
+ return;
378
+ }
379
+ const { done, value } = await reader.read();
380
+ if (done) return;
381
+ buf += decoder.decode(value, { stream: true });
382
+ let idx;
383
+ while ((idx = buf.indexOf("\n")) >= 0) {
384
+ const line = buf.slice(0, idx).replace(/\r$/, "");
385
+ buf = buf.slice(idx + 1);
386
+ if (line.startsWith("event:")) {
387
+ currentEvent = line.slice(6).trim();
388
+ } else if (line.startsWith("data:")) {
389
+ const dataRaw = line.slice(5).trim();
390
+ if (!dataRaw) continue;
391
+ let payload;
392
+ try {
393
+ payload = JSON.parse(dataRaw);
394
+ } catch {
395
+ continue;
396
+ }
397
+ if (currentEvent === "text:delta") {
398
+ const delta = payload.delta;
399
+ if (delta) {
400
+ this.queue.put({
401
+ id: chunkId,
402
+ delta: { role: "assistant", content: delta }
403
+ });
404
+ }
405
+ } else if (currentEvent === "task:state") {
406
+ const status = payload.status;
407
+ if (status === "completed" || status === "failed") return;
408
+ }
409
+ }
410
+ }
411
+ }
412
+ }
413
+ };
414
+ function extractLatestUserText(ctx) {
415
+ const items = ctx.items;
416
+ for (let i = items.length - 1; i >= 0; i--) {
417
+ const item = items[i];
418
+ if (!item) continue;
419
+ if (item.type !== "message") continue;
420
+ const msg = item;
421
+ if (msg.role !== "user") continue;
422
+ const text = msg.textContent;
423
+ if (text && text.trim()) return text.trim();
424
+ }
425
+ return "";
426
+ }
427
+
428
+ // src/voice/VoiceAgent.ts
429
+ var SOUL_PROMPT;
430
+ try {
431
+ SOUL_PROMPT = readFileSync(join(dirname(fileURLToPath(import.meta.url)), "../../SOUL.md"), "utf-8").trim();
432
+ } catch {
433
+ SOUL_PROMPT = "You are Daemora \u2014 a personal AI agent. Be warm, natural, and helpful.";
434
+ }
435
+ process.on("unhandledRejection", (reason) => {
436
+ const err = reason;
437
+ const inner = err?.error instanceof Error ? err.error.message : String(err?.error ?? reason);
438
+ const label = err?.label ?? "voice";
439
+ const type = err?.type ?? "unknown";
440
+ console.error(`[voice] [${type}] ${label}: ${inner}`);
441
+ });
442
+ var VoiceAgent_default = defineAgent({
443
+ prewarm: async (proc) => {
444
+ proc.userData.vad = await silero.VAD.load();
445
+ },
446
+ entry: async (ctx) => {
447
+ const daemoraUrl = process.env["DAEMORA_HTTP"] ?? "http://127.0.0.1:8081";
448
+ const stt2 = await buildSTT();
449
+ const tts2 = await buildTTS();
450
+ const agentLlm = new DaemoraLLM({ daemoraUrl });
451
+ const agent = new voice.Agent({
452
+ instructions: SOUL_PROMPT + "\n\n## Voice Mode Active\nYou are speaking via voice right now. Keep responses short and natural \u2014 no markdown, no code blocks, no bullets. React with emotion."
453
+ });
454
+ const session = new voice.AgentSession({
455
+ stt: stt2,
456
+ llm: agentLlm,
457
+ tts: tts2,
458
+ vad: ctx.proc.userData.vad,
459
+ // Daemora's agent loop can take 20+ seconds for tool-heavy turns
460
+ // (shell commands, file reads, web fetches). LiveKit's preemptive
461
+ // generation fires TTS synthesis the moment a user transcript is
462
+ // finalised and expects text to start flowing within ~10 s; if
463
+ // none arrives it closes the stream as stalled. Disable it so
464
+ // TTS only runs against a complete, in-hand response.
465
+ preemptiveGeneration: false
466
+ });
467
+ await session.start({
468
+ agent,
469
+ room: ctx.room,
470
+ // Keep the agent alive when the user disconnects. Otherwise the
471
+ // session closes → the worker tears down → rtc-node's C++
472
+ // teardown hits its mutex bug and crashes → auto-respawn burns
473
+ // ~25s before the worker is registered again, so a second mic
474
+ // tap within that window never gets an agent.
475
+ inputOptions: { closeOnDisconnect: false }
476
+ });
477
+ await ctx.connect();
478
+ session.generateReply({
479
+ instructions: "Greet the user warmly and naturally. You are Daemora. Be brief \u2014 one sentence, like a friend picking up the phone."
480
+ });
481
+ }
482
+ });
483
+ async function buildSTT() {
484
+ const provider = (process.env["DAEMORA_STT_PROVIDER"] || void 0) ?? inferDefaultStt();
485
+ const modelRaw = process.env["STT_MODEL"] || process.env["DAEMORA_STT_MODEL"] || void 0;
486
+ const model = stripProviderPrefix(modelRaw, provider);
487
+ switch (provider) {
488
+ case "deepgram": {
489
+ const apiKey = process.env["DEEPGRAM_API_KEY"];
490
+ if (!apiKey) throw new Error("DEEPGRAM_API_KEY not set");
491
+ const { STT } = await import("@livekit/agents-plugin-deepgram");
492
+ return new STT({
493
+ apiKey,
494
+ ...model ? { model } : {}
495
+ });
496
+ }
497
+ case "elevenlabs": {
498
+ const apiKey = process.env["ELEVENLABS_API_KEY"];
499
+ if (!apiKey) throw new Error("ELEVENLABS_API_KEY not set");
500
+ const language = process.env["STT_LANGUAGE"];
501
+ const { ElevenLabsSTT: ElevenLabsSTT2 } = await Promise.resolve().then(() => (init_ElevenLabsSTT(), ElevenLabsSTT_exports));
502
+ return new ElevenLabsSTT2({
503
+ apiKey,
504
+ ...model ? { model } : {},
505
+ ...language ? { language } : {}
506
+ });
507
+ }
508
+ case "groq": {
509
+ const apiKey = process.env["GROQ_API_KEY"];
510
+ if (!apiKey) throw new Error("GROQ_API_KEY not set");
511
+ const { STT } = await import("@livekit/agents-plugin-openai");
512
+ return STT.withGroq({
513
+ apiKey,
514
+ ...model ? { model } : {}
515
+ });
516
+ }
517
+ case "openai":
518
+ default: {
519
+ const apiKey = process.env["OPENAI_API_KEY"];
520
+ if (!apiKey) throw new Error("OPENAI_API_KEY not set");
521
+ const { STT } = await import("@livekit/agents-plugin-openai");
522
+ return new STT({
523
+ apiKey,
524
+ ...model ? { model } : { model: "whisper-1" }
525
+ });
526
+ }
527
+ }
528
+ }
529
+ async function buildTTS() {
530
+ const provider = (process.env["DAEMORA_TTS_PROVIDER"] || void 0) ?? inferDefaultTts();
531
+ const modelRaw = process.env["TTS_MODEL"] || process.env["DAEMORA_TTS_MODEL"] || void 0;
532
+ const model = stripProviderPrefix(modelRaw, provider);
533
+ const voice2 = process.env["TTS_VOICE"] || process.env["DAEMORA_TTS_VOICE"] || void 0;
534
+ switch (provider) {
535
+ case "cartesia": {
536
+ const apiKey = process.env["CARTESIA_API_KEY"];
537
+ if (!apiKey) throw new Error("CARTESIA_API_KEY not set");
538
+ const { TTS } = await import("@livekit/agents-plugin-cartesia");
539
+ return new TTS({
540
+ apiKey,
541
+ ...model ? { model } : {},
542
+ ...voice2 ? { voice: voice2 } : {}
543
+ });
544
+ }
545
+ case "elevenlabs": {
546
+ const apiKey = process.env["ELEVENLABS_API_KEY"];
547
+ if (!apiKey) throw new Error("ELEVENLABS_API_KEY not set");
548
+ const language = process.env["TTS_LANGUAGE"] ?? process.env["DAEMORA_TTS_LANGUAGE"];
549
+ const { TTS } = await import("@livekit/agents-plugin-elevenlabs");
550
+ return new TTS({
551
+ apiKey,
552
+ ...model ? { model } : { model: "eleven_turbo_v2_5" },
553
+ ...voice2 ? { voiceId: voice2 } : {},
554
+ ...language ? { language } : {}
555
+ });
556
+ }
557
+ case "groq": {
558
+ const apiKey = process.env["GROQ_API_KEY"];
559
+ if (!apiKey) throw new Error("GROQ_API_KEY not set");
560
+ const { GroqTTS: GroqTTS2 } = await Promise.resolve().then(() => (init_GroqTTS(), GroqTTS_exports));
561
+ return new GroqTTS2({
562
+ apiKey,
563
+ model: model ?? "playai-tts-english",
564
+ voice: voice2 ?? "Fritz-PlayAI"
565
+ });
566
+ }
567
+ case "openai":
568
+ default: {
569
+ const apiKey = process.env["OPENAI_API_KEY"];
570
+ if (!apiKey) throw new Error("OPENAI_API_KEY not set");
571
+ const { TTS } = await import("@livekit/agents-plugin-openai");
572
+ return new TTS({
573
+ apiKey,
574
+ ...model ? { model } : { model: "gpt-4o-mini-tts" },
575
+ ...voice2 ? { voice: voice2 } : { voice: "nova" }
576
+ });
577
+ }
578
+ }
579
+ }
580
+ function stripProviderPrefix(model, provider) {
581
+ if (!model) return void 0;
582
+ const prefix = `${provider}/`;
583
+ if (model.toLowerCase().startsWith(prefix)) return model.slice(prefix.length);
584
+ const colonPrefix = `${provider}:`;
585
+ if (model.toLowerCase().startsWith(colonPrefix)) return model.slice(colonPrefix.length);
586
+ return model;
587
+ }
588
+ function inferDefaultStt() {
589
+ if (process.env["DEEPGRAM_API_KEY"]) return "deepgram";
590
+ if (process.env["GROQ_API_KEY"]) return "groq";
591
+ return "openai";
592
+ }
593
+ function inferDefaultTts() {
594
+ if (process.env["CARTESIA_API_KEY"]) return "cartesia";
595
+ if (process.env["ELEVENLABS_API_KEY"]) return "elevenlabs";
596
+ if (process.env["GROQ_API_KEY"]) return "groq";
597
+ return "openai";
598
+ }
599
+ cli.runApp(
600
+ new ServerOptions({
601
+ agent: fileURLToPath(import.meta.url),
602
+ agentName: "daemora"
603
+ })
604
+ );
605
+ export {
606
+ VoiceAgent_default as default
607
+ };