rookery-agent 0.1.0 → 0.2.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 (669) hide show
  1. package/README.md +467 -367
  2. package/docs/migration.md +88 -88
  3. package/docs/updates.md +112 -0
  4. package/package.json +11 -3
  5. package/packages/cli/dist/commands/config.js +2 -2
  6. package/packages/cli/dist/commands/doctor.d.ts.map +1 -1
  7. package/packages/cli/dist/commands/doctor.js +13 -9
  8. package/packages/cli/dist/commands/doctor.js.map +1 -1
  9. package/packages/cli/dist/commands/memory.js +1 -1
  10. package/packages/cli/dist/commands/org.d.ts +2 -2
  11. package/packages/cli/dist/commands/org.d.ts.map +1 -1
  12. package/packages/cli/dist/commands/org.js +19 -17
  13. package/packages/cli/dist/commands/org.js.map +1 -1
  14. package/packages/cli/dist/commands/serve.js +1 -1
  15. package/packages/cli/dist/commands/serve.js.map +1 -1
  16. package/packages/cli/dist/commands/shared.d.ts.map +1 -1
  17. package/packages/cli/dist/commands/shared.js +2 -1
  18. package/packages/cli/dist/commands/shared.js.map +1 -1
  19. package/packages/cli/dist/commands/tasks.d.ts.map +1 -1
  20. package/packages/cli/dist/commands/tasks.js +25 -11
  21. package/packages/cli/dist/commands/tasks.js.map +1 -1
  22. package/packages/cli/dist/commands/tools.js +1 -1
  23. package/packages/cli/dist/commands/tools.js.map +1 -1
  24. package/packages/cli/dist/index.js +13 -13
  25. package/packages/cli/dist/index.js.map +1 -1
  26. package/packages/cli/dist/repl.d.ts +12 -0
  27. package/packages/cli/dist/repl.d.ts.map +1 -1
  28. package/packages/cli/dist/repl.js +170 -16
  29. package/packages/cli/dist/repl.js.map +1 -1
  30. package/packages/cli/dist/tui/App.d.ts +7 -3
  31. package/packages/cli/dist/tui/App.d.ts.map +1 -1
  32. package/packages/cli/dist/tui/App.js +182 -16
  33. package/packages/cli/dist/tui/App.js.map +1 -1
  34. package/packages/cli/dist/tui/commands.d.ts +7 -0
  35. package/packages/cli/dist/tui/commands.d.ts.map +1 -1
  36. package/packages/cli/dist/tui/commands.js +70 -8
  37. package/packages/cli/dist/tui/commands.js.map +1 -1
  38. package/packages/cli/dist/tui/components/AssignmentsView.js +4 -4
  39. package/packages/cli/dist/tui/components/AssignmentsView.js.map +1 -1
  40. package/packages/cli/dist/tui/components/Banner.d.ts +11 -2
  41. package/packages/cli/dist/tui/components/Banner.d.ts.map +1 -1
  42. package/packages/cli/dist/tui/components/Banner.js +7 -10
  43. package/packages/cli/dist/tui/components/Banner.js.map +1 -1
  44. package/packages/cli/dist/tui/components/CodeBlock.js +2 -2
  45. package/packages/cli/dist/tui/components/CodeBlock.js.map +1 -1
  46. package/packages/cli/dist/tui/components/InputBox.d.ts.map +1 -1
  47. package/packages/cli/dist/tui/components/InputBox.js +4 -4
  48. package/packages/cli/dist/tui/components/InputBox.js.map +1 -1
  49. package/packages/cli/dist/tui/components/Logo.d.ts +56 -0
  50. package/packages/cli/dist/tui/components/Logo.d.ts.map +1 -0
  51. package/packages/cli/dist/tui/components/Logo.js +50 -0
  52. package/packages/cli/dist/tui/components/Logo.js.map +1 -0
  53. package/packages/cli/dist/tui/components/Markdown.js +8 -8
  54. package/packages/cli/dist/tui/components/Markdown.js.map +1 -1
  55. package/packages/cli/dist/tui/components/Message.d.ts +1 -1
  56. package/packages/cli/dist/tui/components/Message.d.ts.map +1 -1
  57. package/packages/cli/dist/tui/components/Message.js +5 -4
  58. package/packages/cli/dist/tui/components/Message.js.map +1 -1
  59. package/packages/cli/dist/tui/components/QuestionView.d.ts +29 -0
  60. package/packages/cli/dist/tui/components/QuestionView.d.ts.map +1 -0
  61. package/packages/cli/dist/tui/components/QuestionView.js +53 -0
  62. package/packages/cli/dist/tui/components/QuestionView.js.map +1 -0
  63. package/packages/cli/dist/tui/components/SlashPalette.d.ts +5 -2
  64. package/packages/cli/dist/tui/components/SlashPalette.d.ts.map +1 -1
  65. package/packages/cli/dist/tui/components/SlashPalette.js +2 -2
  66. package/packages/cli/dist/tui/components/SlashPalette.js.map +1 -1
  67. package/packages/cli/dist/tui/components/StatusLine.d.ts +0 -2
  68. package/packages/cli/dist/tui/components/StatusLine.d.ts.map +1 -1
  69. package/packages/cli/dist/tui/components/StatusLine.js +8 -5
  70. package/packages/cli/dist/tui/components/StatusLine.js.map +1 -1
  71. package/packages/cli/dist/tui/components/ToolGroup.js +2 -2
  72. package/packages/cli/dist/tui/components/ToolGroup.js.map +1 -1
  73. package/packages/cli/dist/tui/components/WatchView.d.ts +21 -0
  74. package/packages/cli/dist/tui/components/WatchView.d.ts.map +1 -0
  75. package/packages/cli/dist/tui/components/WatchView.js +36 -0
  76. package/packages/cli/dist/tui/components/WatchView.js.map +1 -0
  77. package/packages/cli/dist/tui/history.d.ts +20 -0
  78. package/packages/cli/dist/tui/history.d.ts.map +1 -0
  79. package/packages/cli/dist/tui/history.js +105 -0
  80. package/packages/cli/dist/tui/history.js.map +1 -0
  81. package/packages/cli/dist/tui/hooks/useSlash.d.ts.map +1 -1
  82. package/packages/cli/dist/tui/hooks/useSlash.js +3 -2
  83. package/packages/cli/dist/tui/hooks/useSlash.js.map +1 -1
  84. package/packages/cli/dist/tui/hooks/useTurn.d.ts +58 -1
  85. package/packages/cli/dist/tui/hooks/useTurn.d.ts.map +1 -1
  86. package/packages/cli/dist/tui/hooks/useTurn.js +214 -36
  87. package/packages/cli/dist/tui/hooks/useTurn.js.map +1 -1
  88. package/packages/cli/dist/tui/hooks/useWatch.d.ts +52 -0
  89. package/packages/cli/dist/tui/hooks/useWatch.d.ts.map +1 -0
  90. package/packages/cli/dist/tui/hooks/useWatch.js +145 -0
  91. package/packages/cli/dist/tui/hooks/useWatch.js.map +1 -0
  92. package/packages/cli/dist/tui/inkTheme.d.ts +19 -0
  93. package/packages/cli/dist/tui/inkTheme.d.ts.map +1 -0
  94. package/packages/cli/dist/tui/inkTheme.js +81 -0
  95. package/packages/cli/dist/tui/inkTheme.js.map +1 -0
  96. package/packages/cli/dist/tui/theme.d.ts +39 -29
  97. package/packages/cli/dist/tui/theme.d.ts.map +1 -1
  98. package/packages/cli/dist/tui/theme.js +35 -25
  99. package/packages/cli/dist/tui/theme.js.map +1 -1
  100. package/packages/cli/dist/tui/types.d.ts +56 -3
  101. package/packages/cli/dist/tui/types.d.ts.map +1 -1
  102. package/packages/cli/dist/tui/types.js +85 -0
  103. package/packages/cli/dist/tui/types.js.map +1 -1
  104. package/packages/cli/dist/ui/modelNames.d.ts +51 -0
  105. package/packages/cli/dist/ui/modelNames.d.ts.map +1 -0
  106. package/packages/cli/dist/ui/modelNames.js +134 -0
  107. package/packages/cli/dist/ui/modelNames.js.map +1 -0
  108. package/packages/cli/dist/ui/render.d.ts.map +1 -1
  109. package/packages/cli/dist/ui/render.js +17 -8
  110. package/packages/cli/dist/ui/render.js.map +1 -1
  111. package/packages/cli/dist/ui/speech.js +5 -0
  112. package/packages/cli/dist/ui/speech.js.map +1 -1
  113. package/packages/cli/dist/ui/theme.d.ts +33 -9
  114. package/packages/cli/dist/ui/theme.d.ts.map +1 -1
  115. package/packages/cli/dist/ui/theme.js +33 -9
  116. package/packages/cli/dist/ui/theme.js.map +1 -1
  117. package/packages/cli/package.json +1 -1
  118. package/packages/core/dist/agents/persona.d.ts.map +1 -1
  119. package/packages/core/dist/agents/persona.js +4 -1
  120. package/packages/core/dist/agents/persona.js.map +1 -1
  121. package/packages/core/dist/computer/accessibility.d.ts +78 -0
  122. package/packages/core/dist/computer/accessibility.d.ts.map +1 -0
  123. package/packages/core/dist/computer/accessibility.js +270 -0
  124. package/packages/core/dist/computer/accessibility.js.map +1 -0
  125. package/packages/core/dist/computer/assemblies.d.ts +17 -0
  126. package/packages/core/dist/computer/assemblies.d.ts.map +1 -0
  127. package/packages/core/dist/computer/assemblies.js +55 -0
  128. package/packages/core/dist/computer/assemblies.js.map +1 -0
  129. package/packages/core/dist/computer/browser-init.d.ts +9 -0
  130. package/packages/core/dist/computer/browser-init.d.ts.map +1 -0
  131. package/packages/core/dist/computer/browser-init.js +133 -0
  132. package/packages/core/dist/computer/browser-init.js.map +1 -0
  133. package/packages/core/dist/computer/cursor.d.ts +30 -0
  134. package/packages/core/dist/computer/cursor.d.ts.map +1 -0
  135. package/packages/core/dist/computer/cursor.js +30 -0
  136. package/packages/core/dist/computer/cursor.js.map +1 -0
  137. package/packages/core/dist/computer/mcp-server.js +524 -82
  138. package/packages/core/dist/computer/mcp-server.js.map +1 -1
  139. package/packages/core/dist/computer/powershell.d.ts +4 -0
  140. package/packages/core/dist/computer/powershell.d.ts.map +1 -1
  141. package/packages/core/dist/computer/powershell.js +471 -81
  142. package/packages/core/dist/computer/powershell.js.map +1 -1
  143. package/packages/core/dist/computer/screen-text.d.ts +82 -0
  144. package/packages/core/dist/computer/screen-text.d.ts.map +1 -0
  145. package/packages/core/dist/computer/screen-text.js +243 -0
  146. package/packages/core/dist/computer/screen-text.js.map +1 -0
  147. package/packages/core/dist/computer/sketch.d.ts +66 -0
  148. package/packages/core/dist/computer/sketch.d.ts.map +1 -0
  149. package/packages/core/dist/computer/sketch.js +540 -0
  150. package/packages/core/dist/computer/sketch.js.map +1 -0
  151. package/packages/core/dist/computer/tools.d.ts +8 -8
  152. package/packages/core/dist/computer/tools.d.ts.map +1 -1
  153. package/packages/core/dist/computer/tools.js +186 -31
  154. package/packages/core/dist/computer/tools.js.map +1 -1
  155. package/packages/core/dist/computer/validation.d.ts +555 -0
  156. package/packages/core/dist/computer/validation.d.ts.map +1 -0
  157. package/packages/core/dist/computer/validation.js +111 -0
  158. package/packages/core/dist/computer/validation.js.map +1 -0
  159. package/packages/core/dist/computer/windows-cursor.d.ts +14 -0
  160. package/packages/core/dist/computer/windows-cursor.d.ts.map +1 -0
  161. package/packages/core/dist/computer/windows-cursor.js +713 -0
  162. package/packages/core/dist/computer/windows-cursor.js.map +1 -0
  163. package/packages/core/dist/config.d.ts.map +1 -1
  164. package/packages/core/dist/config.js +284 -10
  165. package/packages/core/dist/config.js.map +1 -1
  166. package/packages/core/dist/cron/scheduler.d.ts +49 -3
  167. package/packages/core/dist/cron/scheduler.d.ts.map +1 -1
  168. package/packages/core/dist/cron/scheduler.js +268 -25
  169. package/packages/core/dist/cron/scheduler.js.map +1 -1
  170. package/packages/core/dist/cron/store.d.ts +19 -1
  171. package/packages/core/dist/cron/store.d.ts.map +1 -1
  172. package/packages/core/dist/cron/store.js +36 -8
  173. package/packages/core/dist/cron/store.js.map +1 -1
  174. package/packages/core/dist/external/claude-code.d.ts +4 -0
  175. package/packages/core/dist/external/claude-code.d.ts.map +1 -0
  176. package/packages/core/dist/external/claude-code.js +111 -0
  177. package/packages/core/dist/external/claude-code.js.map +1 -0
  178. package/packages/core/dist/external/discovery.d.ts +33 -0
  179. package/packages/core/dist/external/discovery.d.ts.map +1 -0
  180. package/packages/core/dist/external/discovery.js +144 -0
  181. package/packages/core/dist/external/discovery.js.map +1 -0
  182. package/packages/core/dist/external/homes.d.ts +26 -0
  183. package/packages/core/dist/external/homes.d.ts.map +1 -0
  184. package/packages/core/dist/external/homes.js +49 -0
  185. package/packages/core/dist/external/homes.js.map +1 -0
  186. package/packages/core/dist/external/shared.d.ts +201 -0
  187. package/packages/core/dist/external/shared.d.ts.map +1 -0
  188. package/packages/core/dist/external/shared.js +308 -0
  189. package/packages/core/dist/external/shared.js.map +1 -0
  190. package/packages/core/dist/gateway/policy.d.ts +100 -2
  191. package/packages/core/dist/gateway/policy.d.ts.map +1 -1
  192. package/packages/core/dist/gateway/policy.js +270 -6
  193. package/packages/core/dist/gateway/policy.js.map +1 -1
  194. package/packages/core/dist/index.d.ts +36 -10
  195. package/packages/core/dist/index.d.ts.map +1 -1
  196. package/packages/core/dist/index.js +64 -10
  197. package/packages/core/dist/index.js.map +1 -1
  198. package/packages/core/dist/memory/db.d.ts +1 -1
  199. package/packages/core/dist/memory/db.d.ts.map +1 -1
  200. package/packages/core/dist/memory/db.js +741 -1
  201. package/packages/core/dist/memory/db.js.map +1 -1
  202. package/packages/core/dist/memory/dream/admission.d.ts +124 -0
  203. package/packages/core/dist/memory/dream/admission.d.ts.map +1 -0
  204. package/packages/core/dist/memory/dream/admission.js +116 -0
  205. package/packages/core/dist/memory/dream/admission.js.map +1 -0
  206. package/packages/core/dist/memory/dream/candidate.d.ts +152 -0
  207. package/packages/core/dist/memory/dream/candidate.d.ts.map +1 -0
  208. package/packages/core/dist/memory/dream/candidate.js +547 -0
  209. package/packages/core/dist/memory/dream/candidate.js.map +1 -0
  210. package/packages/core/dist/memory/dream/evaluate.d.ts +394 -0
  211. package/packages/core/dist/memory/dream/evaluate.d.ts.map +1 -0
  212. package/packages/core/dist/memory/dream/evaluate.js +1032 -0
  213. package/packages/core/dist/memory/dream/evaluate.js.map +1 -0
  214. package/packages/core/dist/memory/dream/frame.d.ts +61 -0
  215. package/packages/core/dist/memory/dream/frame.d.ts.map +1 -0
  216. package/packages/core/dist/memory/dream/frame.js +292 -0
  217. package/packages/core/dist/memory/dream/frame.js.map +1 -0
  218. package/packages/core/dist/memory/dream/label.d.ts +370 -0
  219. package/packages/core/dist/memory/dream/label.d.ts.map +1 -0
  220. package/packages/core/dist/memory/dream/label.js +439 -0
  221. package/packages/core/dist/memory/dream/label.js.map +1 -0
  222. package/packages/core/dist/memory/dream/measure.d.ts +114 -0
  223. package/packages/core/dist/memory/dream/measure.d.ts.map +1 -0
  224. package/packages/core/dist/memory/dream/measure.js +205 -0
  225. package/packages/core/dist/memory/dream/measure.js.map +1 -0
  226. package/packages/core/dist/memory/dream/policy.d.ts +21 -0
  227. package/packages/core/dist/memory/dream/policy.d.ts.map +1 -0
  228. package/packages/core/dist/memory/dream/policy.js +157 -0
  229. package/packages/core/dist/memory/dream/policy.js.map +1 -0
  230. package/packages/core/dist/memory/dream/probe.d.ts +202 -0
  231. package/packages/core/dist/memory/dream/probe.d.ts.map +1 -0
  232. package/packages/core/dist/memory/dream/probe.js +671 -0
  233. package/packages/core/dist/memory/dream/probe.js.map +1 -0
  234. package/packages/core/dist/memory/dream/promote.d.ts +312 -0
  235. package/packages/core/dist/memory/dream/promote.d.ts.map +1 -0
  236. package/packages/core/dist/memory/dream/promote.js +528 -0
  237. package/packages/core/dist/memory/dream/promote.js.map +1 -0
  238. package/packages/core/dist/memory/dream/score.d.ts +103 -0
  239. package/packages/core/dist/memory/dream/score.d.ts.map +1 -0
  240. package/packages/core/dist/memory/dream/score.js +334 -0
  241. package/packages/core/dist/memory/dream/score.js.map +1 -0
  242. package/packages/core/dist/memory/dream/slots.d.ts +193 -0
  243. package/packages/core/dist/memory/dream/slots.d.ts.map +1 -0
  244. package/packages/core/dist/memory/dream/slots.js +0 -0
  245. package/packages/core/dist/memory/dream/slots.js.map +1 -0
  246. package/packages/core/dist/memory/dream/trajectory.d.ts +262 -0
  247. package/packages/core/dist/memory/dream/trajectory.d.ts.map +1 -0
  248. package/packages/core/dist/memory/dream/trajectory.js +366 -0
  249. package/packages/core/dist/memory/dream/trajectory.js.map +1 -0
  250. package/packages/core/dist/memory/extractor.d.ts +7 -0
  251. package/packages/core/dist/memory/extractor.d.ts.map +1 -1
  252. package/packages/core/dist/memory/extractor.js +35 -12
  253. package/packages/core/dist/memory/extractor.js.map +1 -1
  254. package/packages/core/dist/memory/gate.d.ts +43 -7
  255. package/packages/core/dist/memory/gate.d.ts.map +1 -1
  256. package/packages/core/dist/memory/gate.js +91 -4
  257. package/packages/core/dist/memory/gate.js.map +1 -1
  258. package/packages/core/dist/memory/recall.d.ts +57 -0
  259. package/packages/core/dist/memory/recall.d.ts.map +1 -1
  260. package/packages/core/dist/memory/recall.js +60 -123
  261. package/packages/core/dist/memory/recall.js.map +1 -1
  262. package/packages/core/dist/memory/sleep.d.ts +131 -4
  263. package/packages/core/dist/memory/sleep.d.ts.map +1 -1
  264. package/packages/core/dist/memory/sleep.js +2384 -65
  265. package/packages/core/dist/memory/sleep.js.map +1 -1
  266. package/packages/core/dist/memory/store.d.ts +564 -10
  267. package/packages/core/dist/memory/store.d.ts.map +1 -1
  268. package/packages/core/dist/memory/store.js +1673 -102
  269. package/packages/core/dist/memory/store.js.map +1 -1
  270. package/packages/core/dist/org/controller.d.ts +282 -3
  271. package/packages/core/dist/org/controller.d.ts.map +1 -1
  272. package/packages/core/dist/org/controller.js +2334 -237
  273. package/packages/core/dist/org/controller.js.map +1 -1
  274. package/packages/core/dist/org/ponytail.d.ts +1 -1
  275. package/packages/core/dist/org/ponytail.js +1 -1
  276. package/packages/core/dist/org/project-mcp.d.ts +3 -3
  277. package/packages/core/dist/org/prompts.d.ts +41 -28
  278. package/packages/core/dist/org/prompts.d.ts.map +1 -1
  279. package/packages/core/dist/org/prompts.js +281 -94
  280. package/packages/core/dist/org/prompts.js.map +1 -1
  281. package/packages/core/dist/org/questions.d.ts +104 -0
  282. package/packages/core/dist/org/questions.d.ts.map +1 -0
  283. package/packages/core/dist/org/questions.js +136 -0
  284. package/packages/core/dist/org/questions.js.map +1 -0
  285. package/packages/core/dist/org/review.d.ts +100 -0
  286. package/packages/core/dist/org/review.d.ts.map +1 -0
  287. package/packages/core/dist/org/review.js +256 -0
  288. package/packages/core/dist/org/review.js.map +1 -0
  289. package/packages/core/dist/org/store.d.ts +249 -2
  290. package/packages/core/dist/org/store.d.ts.map +1 -1
  291. package/packages/core/dist/org/store.js +787 -13
  292. package/packages/core/dist/org/store.js.map +1 -1
  293. package/packages/core/dist/org/tools.d.ts +26 -2
  294. package/packages/core/dist/org/tools.d.ts.map +1 -1
  295. package/packages/core/dist/org/tools.js +352 -63
  296. package/packages/core/dist/org/tools.js.map +1 -1
  297. package/packages/core/dist/providers/catalogue.d.ts +1 -1
  298. package/packages/core/dist/providers/catalogue.d.ts.map +1 -1
  299. package/packages/core/dist/providers/catalogue.js +2 -2
  300. package/packages/core/dist/providers/catalogue.js.map +1 -1
  301. package/packages/core/dist/providers/claude-code.d.ts +18 -3
  302. package/packages/core/dist/providers/claude-code.d.ts.map +1 -1
  303. package/packages/core/dist/providers/claude-code.js +490 -40
  304. package/packages/core/dist/providers/claude-code.js.map +1 -1
  305. package/packages/core/dist/providers/claude-tui.d.ts +175 -0
  306. package/packages/core/dist/providers/claude-tui.d.ts.map +1 -0
  307. package/packages/core/dist/providers/claude-tui.js +683 -0
  308. package/packages/core/dist/providers/claude-tui.js.map +1 -0
  309. package/packages/core/dist/providers/codex-auth.d.ts +15 -0
  310. package/packages/core/dist/providers/codex-auth.d.ts.map +1 -0
  311. package/packages/core/dist/providers/codex-auth.js +127 -0
  312. package/packages/core/dist/providers/codex-auth.js.map +1 -0
  313. package/packages/core/dist/providers/codex-bridge.d.ts +58 -0
  314. package/packages/core/dist/providers/codex-bridge.d.ts.map +1 -0
  315. package/packages/core/dist/providers/codex-bridge.js +375 -0
  316. package/packages/core/dist/providers/codex-bridge.js.map +1 -0
  317. package/packages/core/dist/providers/codex-translate.d.ts +75 -0
  318. package/packages/core/dist/providers/codex-translate.d.ts.map +1 -0
  319. package/packages/core/dist/providers/codex-translate.js +383 -0
  320. package/packages/core/dist/providers/codex-translate.js.map +1 -0
  321. package/packages/core/dist/providers/model-gateway.d.ts +56 -0
  322. package/packages/core/dist/providers/model-gateway.d.ts.map +1 -0
  323. package/packages/core/dist/providers/model-gateway.js +119 -0
  324. package/packages/core/dist/providers/model-gateway.js.map +1 -0
  325. package/packages/core/dist/providers/process.d.ts +3 -1
  326. package/packages/core/dist/providers/process.d.ts.map +1 -1
  327. package/packages/core/dist/providers/process.js +3 -3
  328. package/packages/core/dist/providers/process.js.map +1 -1
  329. package/packages/core/dist/providers/profiles.d.ts +11 -0
  330. package/packages/core/dist/providers/profiles.d.ts.map +1 -0
  331. package/packages/core/dist/providers/profiles.js +28 -0
  332. package/packages/core/dist/providers/profiles.js.map +1 -0
  333. package/packages/core/dist/providers/provider-catalog.d.ts +72 -0
  334. package/packages/core/dist/providers/provider-catalog.d.ts.map +1 -0
  335. package/packages/core/dist/providers/provider-catalog.js +144 -0
  336. package/packages/core/dist/providers/provider-catalog.js.map +1 -0
  337. package/packages/core/dist/providers/quota.d.ts +40 -1
  338. package/packages/core/dist/providers/quota.d.ts.map +1 -1
  339. package/packages/core/dist/providers/quota.js +288 -25
  340. package/packages/core/dist/providers/quota.js.map +1 -1
  341. package/packages/core/dist/providers/registry.d.ts +46 -3
  342. package/packages/core/dist/providers/registry.d.ts.map +1 -1
  343. package/packages/core/dist/providers/registry.js +148 -13
  344. package/packages/core/dist/providers/registry.js.map +1 -1
  345. package/packages/core/dist/providers/router.d.ts +28 -0
  346. package/packages/core/dist/providers/router.d.ts.map +1 -0
  347. package/packages/core/dist/providers/router.js +88 -0
  348. package/packages/core/dist/providers/router.js.map +1 -0
  349. package/packages/core/dist/providers/user-settings-guard.d.ts +12 -0
  350. package/packages/core/dist/providers/user-settings-guard.d.ts.map +1 -0
  351. package/packages/core/dist/providers/user-settings-guard.js +130 -0
  352. package/packages/core/dist/providers/user-settings-guard.js.map +1 -0
  353. package/packages/core/dist/runtime.d.ts +140 -6
  354. package/packages/core/dist/runtime.d.ts.map +1 -1
  355. package/packages/core/dist/runtime.js +1312 -225
  356. package/packages/core/dist/runtime.js.map +1 -1
  357. package/packages/core/dist/skills/builtin.d.ts +34 -0
  358. package/packages/core/dist/skills/builtin.d.ts.map +1 -0
  359. package/packages/core/dist/skills/builtin.js +305 -0
  360. package/packages/core/dist/skills/builtin.js.map +1 -0
  361. package/packages/core/dist/skills/shelf.d.ts +30 -0
  362. package/packages/core/dist/skills/shelf.d.ts.map +1 -0
  363. package/packages/core/dist/skills/shelf.js +159 -0
  364. package/packages/core/dist/skills/shelf.js.map +1 -0
  365. package/packages/core/dist/skills/store.d.ts +66 -4
  366. package/packages/core/dist/skills/store.d.ts.map +1 -1
  367. package/packages/core/dist/skills/store.js +105 -18
  368. package/packages/core/dist/skills/store.js.map +1 -1
  369. package/packages/core/dist/skills/suggest.d.ts +21 -0
  370. package/packages/core/dist/skills/suggest.d.ts.map +1 -0
  371. package/packages/core/dist/skills/suggest.js +150 -0
  372. package/packages/core/dist/skills/suggest.js.map +1 -0
  373. package/packages/core/dist/tools/catalog.d.ts +1 -3
  374. package/packages/core/dist/tools/catalog.d.ts.map +1 -1
  375. package/packages/core/dist/tools/catalog.js +38 -26
  376. package/packages/core/dist/tools/catalog.js.map +1 -1
  377. package/packages/core/dist/tools/hub.d.ts +136 -10
  378. package/packages/core/dist/tools/hub.d.ts.map +1 -1
  379. package/packages/core/dist/tools/hub.js +418 -24
  380. package/packages/core/dist/tools/hub.js.map +1 -1
  381. package/packages/core/dist/turns/journal.d.ts +78 -0
  382. package/packages/core/dist/turns/journal.d.ts.map +1 -0
  383. package/packages/core/dist/turns/journal.js +104 -0
  384. package/packages/core/dist/turns/journal.js.map +1 -0
  385. package/packages/core/dist/types.d.ts +1598 -12
  386. package/packages/core/dist/types.d.ts.map +1 -1
  387. package/packages/core/dist/types.js.map +1 -1
  388. package/packages/core/dist/util/blocks.d.ts +41 -0
  389. package/packages/core/dist/util/blocks.d.ts.map +1 -0
  390. package/packages/core/dist/util/blocks.js +175 -0
  391. package/packages/core/dist/util/blocks.js.map +1 -0
  392. package/packages/core/dist/util/queue.d.ts +12 -0
  393. package/packages/core/dist/util/queue.d.ts.map +1 -1
  394. package/packages/core/dist/util/queue.js +16 -0
  395. package/packages/core/dist/util/queue.js.map +1 -1
  396. package/packages/core/dist/util/time.d.ts +39 -0
  397. package/packages/core/dist/util/time.d.ts.map +1 -0
  398. package/packages/core/dist/util/time.js +71 -0
  399. package/packages/core/dist/util/time.js.map +1 -0
  400. package/packages/core/package.json +1 -1
  401. package/packages/server/dist/auth.d.ts +14 -1
  402. package/packages/server/dist/auth.d.ts.map +1 -1
  403. package/packages/server/dist/auth.js +19 -0
  404. package/packages/server/dist/auth.js.map +1 -1
  405. package/packages/server/dist/context.d.ts +35 -1
  406. package/packages/server/dist/context.d.ts.map +1 -1
  407. package/packages/server/dist/context.js +28 -8
  408. package/packages/server/dist/context.js.map +1 -1
  409. package/packages/server/dist/gateways/attachments.d.ts +32 -0
  410. package/packages/server/dist/gateways/attachments.d.ts.map +1 -0
  411. package/packages/server/dist/gateways/attachments.js +167 -0
  412. package/packages/server/dist/gateways/attachments.js.map +1 -0
  413. package/packages/server/dist/gateways/markdown.d.ts +9 -0
  414. package/packages/server/dist/gateways/markdown.d.ts.map +1 -0
  415. package/packages/server/dist/gateways/markdown.js +170 -0
  416. package/packages/server/dist/gateways/markdown.js.map +1 -0
  417. package/packages/server/dist/gateways/push.d.ts +1 -1
  418. package/packages/server/dist/gateways/push.d.ts.map +1 -1
  419. package/packages/server/dist/gateways/push.js +347 -6
  420. package/packages/server/dist/gateways/push.js.map +1 -1
  421. package/packages/server/dist/gateways/telegram-api.d.ts +70 -1
  422. package/packages/server/dist/gateways/telegram-api.d.ts.map +1 -1
  423. package/packages/server/dist/gateways/telegram-api.js +140 -1
  424. package/packages/server/dist/gateways/telegram-api.js.map +1 -1
  425. package/packages/server/dist/gateways/telegram.d.ts +158 -1
  426. package/packages/server/dist/gateways/telegram.d.ts.map +1 -1
  427. package/packages/server/dist/gateways/telegram.js +1471 -78
  428. package/packages/server/dist/gateways/telegram.js.map +1 -1
  429. package/packages/server/dist/gateways/threads.d.ts +79 -0
  430. package/packages/server/dist/gateways/threads.d.ts.map +1 -0
  431. package/packages/server/dist/gateways/threads.js +279 -0
  432. package/packages/server/dist/gateways/threads.js.map +1 -0
  433. package/packages/server/dist/index.d.ts +2 -1
  434. package/packages/server/dist/index.d.ts.map +1 -1
  435. package/packages/server/dist/index.js +2 -1
  436. package/packages/server/dist/index.js.map +1 -1
  437. package/packages/server/dist/listeners/imap.d.ts +13 -0
  438. package/packages/server/dist/listeners/imap.d.ts.map +1 -0
  439. package/packages/server/dist/listeners/imap.js +0 -0
  440. package/packages/server/dist/listeners/imap.js.map +1 -0
  441. package/packages/server/dist/listeners/registry.d.ts +18 -0
  442. package/packages/server/dist/listeners/registry.d.ts.map +1 -0
  443. package/packages/server/dist/listeners/registry.js +88 -0
  444. package/packages/server/dist/listeners/registry.js.map +1 -0
  445. package/packages/server/dist/listeners/types.d.ts +55 -0
  446. package/packages/server/dist/listeners/types.d.ts.map +1 -0
  447. package/packages/server/dist/listeners/types.js +2 -0
  448. package/packages/server/dist/listeners/types.js.map +1 -0
  449. package/packages/server/dist/main.js +15 -1
  450. package/packages/server/dist/main.js.map +1 -1
  451. package/packages/server/dist/routes/chat.d.ts +7 -3
  452. package/packages/server/dist/routes/chat.d.ts.map +1 -1
  453. package/packages/server/dist/routes/chat.js +8 -17
  454. package/packages/server/dist/routes/chat.js.map +1 -1
  455. package/packages/server/dist/routes/config.d.ts.map +1 -1
  456. package/packages/server/dist/routes/config.js +39 -7
  457. package/packages/server/dist/routes/config.js.map +1 -1
  458. package/packages/server/dist/routes/cron.d.ts.map +1 -1
  459. package/packages/server/dist/routes/cron.js +65 -8
  460. package/packages/server/dist/routes/cron.js.map +1 -1
  461. package/packages/server/dist/routes/dream.d.ts +22 -0
  462. package/packages/server/dist/routes/dream.d.ts.map +1 -0
  463. package/packages/server/dist/routes/dream.js +152 -0
  464. package/packages/server/dist/routes/dream.js.map +1 -0
  465. package/packages/server/dist/routes/hooks.d.ts +18 -0
  466. package/packages/server/dist/routes/hooks.d.ts.map +1 -0
  467. package/packages/server/dist/routes/hooks.js +62 -0
  468. package/packages/server/dist/routes/hooks.js.map +1 -0
  469. package/packages/server/dist/routes/listeners.d.ts +10 -0
  470. package/packages/server/dist/routes/listeners.d.ts.map +1 -0
  471. package/packages/server/dist/routes/listeners.js +12 -0
  472. package/packages/server/dist/routes/listeners.js.map +1 -0
  473. package/packages/server/dist/routes/memories.d.ts.map +1 -1
  474. package/packages/server/dist/routes/memories.js +55 -3
  475. package/packages/server/dist/routes/memories.js.map +1 -1
  476. package/packages/server/dist/routes/org.d.ts.map +1 -1
  477. package/packages/server/dist/routes/org.js +284 -48
  478. package/packages/server/dist/routes/org.js.map +1 -1
  479. package/packages/server/dist/routes/profile.d.ts.map +1 -1
  480. package/packages/server/dist/routes/profile.js +6 -3
  481. package/packages/server/dist/routes/profile.js.map +1 -1
  482. package/packages/server/dist/routes/providers.d.ts.map +1 -1
  483. package/packages/server/dist/routes/providers.js +66 -7
  484. package/packages/server/dist/routes/providers.js.map +1 -1
  485. package/packages/server/dist/routes/questions.d.ts +45 -0
  486. package/packages/server/dist/routes/questions.d.ts.map +1 -0
  487. package/packages/server/dist/routes/questions.js +73 -0
  488. package/packages/server/dist/routes/questions.js.map +1 -0
  489. package/packages/server/dist/routes/sessions.d.ts.map +1 -1
  490. package/packages/server/dist/routes/sessions.js +26 -6
  491. package/packages/server/dist/routes/sessions.js.map +1 -1
  492. package/packages/server/dist/routes/sleep.d.ts.map +1 -1
  493. package/packages/server/dist/routes/sleep.js +71 -2
  494. package/packages/server/dist/routes/sleep.js.map +1 -1
  495. package/packages/server/dist/routes/terminals.d.ts +25 -0
  496. package/packages/server/dist/routes/terminals.d.ts.map +1 -0
  497. package/packages/server/dist/routes/terminals.js +35 -0
  498. package/packages/server/dist/routes/terminals.js.map +1 -0
  499. package/packages/server/dist/routes/tools.d.ts.map +1 -1
  500. package/packages/server/dist/routes/tools.js +140 -6
  501. package/packages/server/dist/routes/tools.js.map +1 -1
  502. package/packages/server/dist/routes/updates.d.ts +10 -0
  503. package/packages/server/dist/routes/updates.d.ts.map +1 -0
  504. package/packages/server/dist/routes/updates.js +22 -0
  505. package/packages/server/dist/routes/updates.js.map +1 -0
  506. package/packages/server/dist/routes/ws.d.ts +11 -5
  507. package/packages/server/dist/routes/ws.d.ts.map +1 -1
  508. package/packages/server/dist/routes/ws.js +162 -28
  509. package/packages/server/dist/routes/ws.js.map +1 -1
  510. package/packages/server/dist/schemas.d.ts +1125 -211
  511. package/packages/server/dist/schemas.d.ts.map +1 -1
  512. package/packages/server/dist/schemas.js +300 -12
  513. package/packages/server/dist/schemas.js.map +1 -1
  514. package/packages/server/dist/server.d.ts +7 -1
  515. package/packages/server/dist/server.d.ts.map +1 -1
  516. package/packages/server/dist/server.js +186 -3
  517. package/packages/server/dist/server.js.map +1 -1
  518. package/packages/server/dist/services/stream.d.ts +89 -5
  519. package/packages/server/dist/services/stream.d.ts.map +1 -1
  520. package/packages/server/dist/services/stream.js +9 -20
  521. package/packages/server/dist/services/stream.js.map +1 -1
  522. package/packages/server/dist/services/stt.d.ts +65 -0
  523. package/packages/server/dist/services/stt.d.ts.map +1 -0
  524. package/packages/server/dist/services/stt.js +306 -0
  525. package/packages/server/dist/services/stt.js.map +1 -0
  526. package/packages/server/dist/services/turns.d.ts +49 -0
  527. package/packages/server/dist/services/turns.d.ts.map +1 -0
  528. package/packages/server/dist/services/turns.js +138 -0
  529. package/packages/server/dist/services/turns.js.map +1 -0
  530. package/packages/server/dist/services/updates.d.ts +99 -0
  531. package/packages/server/dist/services/updates.d.ts.map +1 -0
  532. package/packages/server/dist/services/updates.js +316 -0
  533. package/packages/server/dist/services/updates.js.map +1 -0
  534. package/packages/server/package.json +1 -1
  535. package/packages/web/dist/app-icon.svg +2 -0
  536. package/packages/web/dist/apple-touch-icon.png +0 -0
  537. package/packages/web/dist/assets/abnfDiagram-O67JEVCF-B4qWcqra.js +1 -0
  538. package/packages/web/dist/assets/arc-CQult7TN.js +1 -0
  539. package/packages/web/dist/assets/architectureDiagram-NJMV4G6O-DFTRvl66.js +36 -0
  540. package/packages/web/dist/assets/blockDiagram-BEXU5L5S-TCFoK_k-.js +140 -0
  541. package/packages/web/dist/assets/c4Diagram-YGBWAQC7-i5_GqhJa.js +38 -0
  542. package/packages/web/dist/assets/channel-D_4EmqNR.js +1 -0
  543. package/packages/web/dist/assets/chunk-2Q5K7J3B-BK6I2wfW.js +1 -0
  544. package/packages/web/dist/assets/chunk-3FUC2YCW-Dw-TfKT0.js +2 -0
  545. package/packages/web/dist/assets/chunk-5VM5RSS4-AE_XRNTT.js +15 -0
  546. package/packages/web/dist/assets/chunk-GTNCS2PH-DO18WaaJ.js +88 -0
  547. package/packages/web/dist/assets/chunk-GWA4HPMP-3rdjszP_.js +1 -0
  548. package/packages/web/dist/assets/chunk-JWPE2WC7-C93LH2D0.js +1 -0
  549. package/packages/web/dist/assets/chunk-NETBCI7D-Dj7O3-H-.js +1 -0
  550. package/packages/web/dist/assets/chunk-WEXAMYUT-BRFvQUIn.js +1 -0
  551. package/packages/web/dist/assets/chunk-XXDRQBXY-CXx6HMbz.js +1 -0
  552. package/packages/web/dist/assets/classDiagram-v2-NBCMYWYE-BGXszxjn.js +217 -0
  553. package/packages/web/dist/assets/cose-bilkent-JH36ORCC-BAuXqkne.js +1 -0
  554. package/packages/web/dist/assets/cynefin-OW5HDTMX-plNzhY7J.js +178 -0
  555. package/packages/web/dist/assets/cynefinDiagram-VND7K2PF-DuPlljFS.js +62 -0
  556. package/packages/web/dist/assets/cytoscape.esm-Ix0LnXOy.js +331 -0
  557. package/packages/web/dist/assets/dagre-6A5THRUB-CXzwdR-6.js +4 -0
  558. package/packages/web/dist/assets/diagram-22UHCM2B-B7iv_V2D.js +200 -0
  559. package/packages/web/dist/assets/diagram-3UASUU5V-BMvi7gSi.js +24 -0
  560. package/packages/web/dist/assets/diagram-ATOU4E4O-NJ7EB5Qg.js +3 -0
  561. package/packages/web/dist/assets/diagram-CDSNMT55-DccMMNJ-.js +30 -0
  562. package/packages/web/dist/assets/diagram-MLGK6HIB-BbwGHK4g.js +24 -0
  563. package/packages/web/dist/assets/diagram-MPIPVDR6-BbSSZfM3.js +41 -0
  564. package/packages/web/dist/assets/draco_decoder-C32yEggz.wasm +0 -0
  565. package/packages/web/dist/assets/draco_decoder-Z1_iN-Ht.wasm +0 -0
  566. package/packages/web/dist/assets/draco_decoder-fzg4nYZr.js +34 -0
  567. package/packages/web/dist/assets/draco_wasm_wrapper-DxJM36Ib.js +117 -0
  568. package/packages/web/dist/assets/draco_wasm_wrapper-fZCQGLGb.js +116 -0
  569. package/packages/web/dist/assets/ebnfDiagram-ZINNZB2B-BBfPNM85.js +1 -0
  570. package/packages/web/dist/assets/elk-276RUBZZ-dM3Y1d2a.js +27 -0
  571. package/packages/web/dist/assets/erDiagram-OPXOYQCR-iWrUegxy.js +99 -0
  572. package/packages/web/dist/assets/flowDiagram-KWPJA3E3-B6DYlbkV.js +213 -0
  573. package/packages/web/dist/assets/ganttDiagram-FUAMR5RP-D7dSWZcC.js +292 -0
  574. package/packages/web/dist/assets/gitGraphDiagram-X574FWY7-DguFgcbW.js +106 -0
  575. package/packages/web/dist/assets/graph-Bn3Yngep.js +1 -0
  576. package/packages/web/dist/assets/index-B1QvSHA5.js +660 -0
  577. package/packages/web/dist/assets/index-zwMuaz90.css +32 -0
  578. package/packages/web/dist/assets/infoDiagram-VRGFBTTK-CuiuO3uo.js +2 -0
  579. package/packages/web/dist/assets/ishikawaDiagram-OU5B5YK6-wBS1_40m.js +70 -0
  580. package/packages/web/dist/assets/journeyDiagram-ZHPQQLJL-Bd1YE2gP.js +139 -0
  581. package/packages/web/dist/assets/kanban-definition-PNTS6WVX-BlQzv_X1.js +89 -0
  582. package/packages/web/dist/assets/katex-C5jXJg4s.js +257 -0
  583. package/packages/web/dist/assets/mermaid.core-p3CwmLUb.js +313 -0
  584. package/packages/web/dist/assets/mindmap-definition-NLK3R4M7-BlticnKl.js +96 -0
  585. package/packages/web/dist/assets/pegDiagram-GJSIUBJH-BbXsP47B.js +1 -0
  586. package/packages/web/dist/assets/pieDiagram-5QR66LMP-BooBSBug.js +39 -0
  587. package/packages/web/dist/assets/quadrantDiagram-O4NWA36T-CkXC6VCh.js +7 -0
  588. package/packages/web/dist/assets/railroadDiagram-XR7U4H2S-BphzYiW-.js +1 -0
  589. package/packages/web/dist/assets/requirementDiagram-PLB6GJNP-PWpD4zpQ.js +84 -0
  590. package/packages/web/dist/assets/sankeyDiagram-IPEJSGJF-5Qm39Vfz.js +40 -0
  591. package/packages/web/dist/assets/scene-D4LPicHk.js +4620 -0
  592. package/packages/web/dist/assets/sequenceDiagram-PO4LG4MO-DA673J_w.js +169 -0
  593. package/packages/web/dist/assets/sizeCapture-INFHLROL-1KsNwBhd.js +1 -0
  594. package/packages/web/dist/assets/stateDiagram-v2-GCMORJYK-D7O0UyHr.js +291 -0
  595. package/packages/web/dist/assets/swimlanes-2SLR337P-culFSb1R.js +1 -0
  596. package/packages/web/dist/assets/swimlanesDiagram-TC7HE7FX-kzTmK2BP.js +8 -0
  597. package/packages/web/dist/assets/timeline-definition-EJHVYXUP-6GIO5p-k.js +120 -0
  598. package/packages/web/dist/assets/usecaseDiagram-POWQR4AR-BAGHDBzZ.js +370 -0
  599. package/packages/web/dist/assets/vennDiagram-UO4OBE2U-PbtBvPRE.js +34 -0
  600. package/packages/web/dist/assets/wardleyDiagram-VNRHLVJA-9scbtDvX.js +78 -0
  601. package/packages/web/dist/assets/xychartDiagram-PMCCYNJV-C51PiF4p.js +7 -0
  602. package/packages/web/dist/draco/draco_decoder.js +33 -0
  603. package/packages/web/dist/draco/draco_decoder.wasm +0 -0
  604. package/packages/web/dist/draco/draco_wasm_wrapper.js +116 -0
  605. package/packages/web/dist/favicon-16.png +0 -0
  606. package/packages/web/dist/favicon-32.png +0 -0
  607. package/packages/web/dist/favicon-48.png +0 -0
  608. package/packages/web/dist/favicon.ico +0 -0
  609. package/packages/web/dist/favicon.svg +1 -1
  610. package/packages/web/dist/icon-192.png +0 -0
  611. package/packages/web/dist/icon-512.png +0 -0
  612. package/packages/web/dist/index.html +12 -4
  613. package/packages/web/dist/logo-light.svg +1 -1
  614. package/packages/web/dist/logo-mono.svg +2 -0
  615. package/packages/web/dist/logo-stacked-light.svg +2 -0
  616. package/packages/web/dist/logo-stacked.svg +2 -0
  617. package/packages/web/dist/logo-white.svg +2 -0
  618. package/packages/web/dist/logo.svg +1 -1
  619. package/packages/web/dist/mark-light.svg +1 -1
  620. package/packages/web/dist/mark-mono.svg +2 -0
  621. package/packages/web/dist/mark-small-light.svg +2 -0
  622. package/packages/web/dist/mark-small.svg +2 -0
  623. package/packages/web/dist/mark-white.svg +2 -0
  624. package/packages/web/dist/mark.svg +1 -1
  625. package/packages/web/dist/models/LICENSE.txt +5 -0
  626. package/packages/web/dist/models/brain.glb +0 -0
  627. package/packages/web/dist/site.webmanifest +23 -0
  628. package/packages/web/dist/wordmark-light.svg +2 -0
  629. package/packages/web/dist/wordmark.svg +2 -0
  630. package/packages/web/package.json +1 -1
  631. package/scripts/rookery.mjs +204 -122
  632. package/scripts/updater.mjs +227 -0
  633. package/packages/cli/dist/tui/components/Wordmark.d.ts +0 -35
  634. package/packages/cli/dist/tui/components/Wordmark.d.ts.map +0 -1
  635. package/packages/cli/dist/tui/components/Wordmark.js +0 -81
  636. package/packages/cli/dist/tui/components/Wordmark.js.map +0 -1
  637. package/packages/core/dist/agents/orchestrator.d.ts +0 -24
  638. package/packages/core/dist/agents/orchestrator.d.ts.map +0 -1
  639. package/packages/core/dist/agents/orchestrator.js +0 -88
  640. package/packages/core/dist/agents/orchestrator.js.map +0 -1
  641. package/packages/core/dist/agents/roles.d.ts +0 -21
  642. package/packages/core/dist/agents/roles.d.ts.map +0 -1
  643. package/packages/core/dist/agents/roles.js +0 -81
  644. package/packages/core/dist/agents/roles.js.map +0 -1
  645. package/packages/core/dist/agents/team.d.ts +0 -105
  646. package/packages/core/dist/agents/team.d.ts.map +0 -1
  647. package/packages/core/dist/agents/team.js +0 -623
  648. package/packages/core/dist/agents/team.js.map +0 -1
  649. package/packages/core/dist/providers/codex.d.ts +0 -10
  650. package/packages/core/dist/providers/codex.d.ts.map +0 -1
  651. package/packages/core/dist/providers/codex.js +0 -375
  652. package/packages/core/dist/providers/codex.js.map +0 -1
  653. package/packages/core/dist/tools/browser.d.ts +0 -20
  654. package/packages/core/dist/tools/browser.d.ts.map +0 -1
  655. package/packages/core/dist/tools/browser.js +0 -72
  656. package/packages/core/dist/tools/browser.js.map +0 -1
  657. package/packages/server/dist/routes/agents.d.ts +0 -5
  658. package/packages/server/dist/routes/agents.d.ts.map +0 -1
  659. package/packages/server/dist/routes/agents.js +0 -6
  660. package/packages/server/dist/routes/agents.js.map +0 -1
  661. package/packages/server/dist/routes/team.d.ts +0 -11
  662. package/packages/server/dist/routes/team.d.ts.map +0 -1
  663. package/packages/server/dist/routes/team.js +0 -36
  664. package/packages/server/dist/routes/team.js.map +0 -1
  665. package/packages/web/dist/assets/3d-force-graph-BPZmoydi.js +0 -1163
  666. package/packages/web/dist/assets/index-IBSTzK7-.js +0 -1255
  667. package/packages/web/dist/assets/index-qUXUui7W.css +0 -1
  668. package/packages/web/dist/assets/three-spritetext-B9ZIW7c-.js +0 -4
  669. package/packages/web/dist/assets/three.module-cmFfBtHS.js +0 -4228
@@ -0,0 +1,370 @@
1
+ import type { DreamLabel, DreamLabelScope, Role } from '../../types.js';
2
+ import type { DeltaPosition, GainFunction } from './measure.js';
3
+ /**
4
+ * From the source to the label (dream stage 2, AP4; concept 4).
5
+ *
6
+ * Without this module `dream_labels.relevance` has no writer, and the whole
7
+ * apparatus measures nothing. A label is a tuple
8
+ * `(turnId, target, relevance in {0,1}, source, evidence)` and it claims
9
+ * something about ONE turn: "this memory should have been in this prompt" (1)
10
+ * or "this memory was in this prompt and had no business being there" (0). A
11
+ * label that only says "this memory is generally good" is not a retrieval
12
+ * label - an nDCG over it measures whether recall fetched the globally
13
+ * popular rows, and `coreProfile` delivers exactly those in every turn
14
+ * anyway, without any help from a retrieval policy (concept 4.1).
15
+ *
16
+ * Everything here is pure: no store, no clock, no I/O. `now` is a parameter,
17
+ * the reachable set is a parameter, the threshold is a parameter. The night
18
+ * (AP12) and the HTTP path (AP13) hold the state; this file holds the rules,
19
+ * and that is what makes them testable one trap at a time.
20
+ *
21
+ * The four traps the concept names, and where each is closed:
22
+ *
23
+ * - An ambiguous quote is never guessed at: `locateTurn` answers `null` and
24
+ * the label goes out session-wide, where `gainFrom` refuses it (S3).
25
+ * - A memory that did not yet exist at the turn gets no label at all - an
26
+ * anachronism is not evidence, and `#replay` writes memories in the same
27
+ * night it writes corrections (S4).
28
+ * - `merge` produces negative labels only, over at most one `supersedes`
29
+ * hop, or the label wanders weeks away from what it observed (S7).
30
+ * - `review` writes the sentinel target `'*'`, and it is `gainFrom` that
31
+ * keeps it out of DCG, not the discipline of its callers (S8).
32
+ *
33
+ * The one thing this module cannot fix is the missing-label bias: a memory
34
+ * gets a label only through channels that presuppose the incumbent surfaced
35
+ * it - with the single exception of `correctionLabels`' relevance-1 case,
36
+ * which is the most valuable case in the whole concept. Hence the reporting
37
+ * arithmetic at the bottom: every evaluation states its `labelCoverage` and
38
+ * its `costOnlyShare`, and a delta drawn predominantly from unlabelled
39
+ * positions is not a delta (concept 4.4, S10).
40
+ */
41
+ /**
42
+ * A transcript message as the quote locator needs it - the plain shape
43
+ * `getMessages` returns, narrowed to the fields that decide a turn reference.
44
+ * `turnId` is absent on every row written before Schema 24, and a message
45
+ * without one can never anchor a label.
46
+ */
47
+ export interface LabelMessage {
48
+ id: string;
49
+ role: Role;
50
+ content: string;
51
+ createdAt: number;
52
+ /** The journal's turn id, carried onto the message by AP14. */
53
+ turnId?: string;
54
+ }
55
+ /** The turn a label is anchored at: its id, and when it began. */
56
+ export interface LabelTurn {
57
+ id: string;
58
+ /** Anchors the anachronism lock - a target older than this, or nothing. */
59
+ startedAt: number;
60
+ }
61
+ /**
62
+ * One row of the frame's reachable set R, as the plain snapshot the frame
63
+ * already holds. `MemoryRecordSnapshot` satisfies this structurally, so a
64
+ * caller passes `Object.values(frame.records)` straight in.
65
+ */
66
+ export interface LabelTarget {
67
+ id: string;
68
+ content: string;
69
+ createdAt: number;
70
+ }
71
+ /** Where a quote landed in the transcript (concept 4.2a). */
72
+ export interface TurnLocation {
73
+ /** The located turn, or `null` when the quote was not unambiguous. */
74
+ turnId: string | null;
75
+ /** `'turn'` exactly when `turnId` is set; `'session'` otherwise. */
76
+ scope: DreamLabelScope;
77
+ }
78
+ /**
79
+ * Locate a correction's quote in the session transcript (concept 4.2a,
80
+ * step 1).
81
+ *
82
+ * Corrections are born session-wide: `#replay` proves the quote against the
83
+ * glued user text of the whole session and `addCorrection` stores a
84
+ * `session_id`. A label needs a turn, and the only honest way from one to the
85
+ * other is to find the quote again in exactly one user message.
86
+ *
87
+ * Exactly one user message carries it: that message's `turnId`. None, several,
88
+ * or one without a turn id: `null` and `scope: 'session'`. Not a guess - a
89
+ * session-wide label still counts for the label agreement check and for
90
+ * calibration, but never for a `gain` (S3), and a wrong turn reference would
91
+ * pollute both.
92
+ *
93
+ * The containment test is `confirmedBy`, the same standard the night used to
94
+ * admit the quote in the first place: normalised words, every
95
+ * ellipsis-separated fragment an unbroken run, at least two words of
96
+ * substance. Two occurrences INSIDE one message are not ambiguity - they
97
+ * still name one turn - so the count that matters is the count of messages.
98
+ */
99
+ export declare function locateTurn(messages: readonly LabelMessage[], quote: string): TurnLocation;
100
+ /** What `correctionLabels` needs to turn one correction into labels. */
101
+ export interface CorrectionLabelInput {
102
+ /** The correction sentence `#replay` produced - never its quote. */
103
+ text: string;
104
+ owner: string;
105
+ sessionId: string;
106
+ /** `locateTurn`'s answer, resolved to a turn. `null`: session-wide (S3). */
107
+ turn: LabelTurn | null;
108
+ /**
109
+ * When the session began. It is the anachronism anchor for an ambiguous
110
+ * quote: the session starts no later than any of its turns, so comparing
111
+ * against it is the conservative bound, never the optimistic one.
112
+ */
113
+ sessionStartedAt: number;
114
+ /** The frame's reachable set R of the anchored turn. */
115
+ reachable: readonly LabelTarget[];
116
+ /** The ids that actually stood in the prompt, in prompt order. */
117
+ prompted: readonly string[];
118
+ /** `gate.duplicateThreshold` - passed in, because this module reads no config. */
119
+ duplicateThreshold: number;
120
+ /** The correction's id. */
121
+ evidence?: string;
122
+ now: number;
123
+ }
124
+ /**
125
+ * `correction` - the only source that can label a memory that was never
126
+ * delivered (concept 4.2a, step 2).
127
+ *
128
+ * The correction names no memory id, so the arithmetic the gate already owns
129
+ * does the naming: Dice similarity over normalised tokens against the
130
+ * reachable set R of the turn. A hit at or above `duplicateThreshold` on a
131
+ * row that STOOD in the prompt is `relevance = 0` - it was there and it was
132
+ * wrong. A hit on a row that existed at the time of the turn and did NOT
133
+ * stand in the prompt is `relevance = 1`, and that second case is the whole
134
+ * reason this source exists: it labels a target the incumbent failed to
135
+ * deliver, which is the one place the missing-label bias does not reach.
136
+ *
137
+ * The anachronism lock (S4) is not optional. `#replay` writes memories in the
138
+ * same night it writes corrections, and a label on a row that did not exist
139
+ * during the turn is not weak evidence, it is no evidence.
140
+ *
141
+ * The rule is applied per row, exactly as the concept states it: a correction
142
+ * that matches three near-duplicates of the same fact labels all three, and
143
+ * at a threshold of 0.82 that means they really are the same sentence.
144
+ *
145
+ * Zero model calls; one Dice computation per row of R.
146
+ */
147
+ export declare function correctionLabels(input: CorrectionLabelInput): DreamLabel[];
148
+ /** One prompted row with the condensation `#condense` has just written on it. */
149
+ export interface MergeTarget {
150
+ id: string;
151
+ /** The condensed row that took this one's place. One hop; never followed. */
152
+ supersededBy?: string;
153
+ }
154
+ /** What `mergeLabels` needs for one turn. */
155
+ export interface MergeLabelInput {
156
+ owner: string;
157
+ sessionId?: string;
158
+ /** The turn whose prompt these rows stood in. */
159
+ turnId: string;
160
+ /** The ids that stood in that prompt, in prompt order. */
161
+ prompted: readonly string[];
162
+ /** `superseded_by` per row, as `#condense` left it. */
163
+ targets: readonly MergeTarget[];
164
+ now: number;
165
+ }
166
+ /**
167
+ * `merge` - cheap, plentiful, and valid in one direction only (concept 4.2c,
168
+ * S7).
169
+ *
170
+ * `#condense` writes a condensed row and sets `superseded_by` on its sources.
171
+ * That says "redundant", not "relevant to this question", which leaves
172
+ * exactly one rule: if two rows stood in ONE prompt and later fell into the
173
+ * same condensation cluster, the worse-placed of the two is proven redundant
174
+ * and gets `relevance = 0`. No positive label can be drawn from this source,
175
+ * and none is written here.
176
+ *
177
+ * At most one `supersedes` hop. The cluster key is a row's own
178
+ * `superseded_by`, never the chain behind it: two rows condensed into
179
+ * different successors that were later condensed into each other are NOT one
180
+ * cluster here, because a label that walks that far has stopped describing
181
+ * the prompt it observed. For the same reason a row that is itself the
182
+ * successor forms no cluster of its own - the claim needs two members that
183
+ * both stood in the prompt.
184
+ *
185
+ * The evidence is the condensed row's id: it is the artefact that proves the
186
+ * redundancy, and it stays resolvable long after the night that wrote it.
187
+ *
188
+ * Zero model calls; one `superseded_by` lookup per frame.
189
+ */
190
+ export declare function mergeLabels(input: MergeLabelInput): DreamLabel[];
191
+ /** The sentinel target of a `review` label: the trace, not a memory. */
192
+ export declare const REVIEW_TARGET = "*";
193
+ /** What `reviewLabel` needs from `upsertReview` (AP14). */
194
+ export interface ReviewLabelInput {
195
+ owner: string;
196
+ /** The assignment the review scored. It keys the label, in place of a turn. */
197
+ assignmentId: string;
198
+ sessionId?: string;
199
+ /** `overall`, 1 to 5 as `upsertReview` stores it. */
200
+ overall: number;
201
+ /** The review's id and source. */
202
+ evidence?: string;
203
+ now: number;
204
+ }
205
+ /**
206
+ * `review` - a trace weight, not a `gain` (concept 4.2d, S8).
207
+ *
208
+ * `upsertReview` is the one funnel every review source runs through, but it
209
+ * scores an ASSIGNMENT from 1 to 5, not a memory. There is no observable path
210
+ * from "the assignment went well" to "this memory belonged in the prompt", so
211
+ * this label carries the sentinel target `'*'`, `relevance = (overall - 1)/4`
212
+ * and `scope: 'session'`. It serves the label agreement check as a control
213
+ * quantity and stage 2 as a reward. It is `gainFrom` that keeps it out of
214
+ * DCG - a rule the callers cannot forget.
215
+ *
216
+ * Two warnings that belong to this source and not to this function:
217
+ * `upsertReview` REPLACES the row for the same `(assignmentId, source)` and
218
+ * resets `created_at`, so a reward once attached can later be silently
219
+ * revoked; and an agent never receives a correction through `#replay`, which
220
+ * makes this one blurry source nearly its whole label supply.
221
+ */
222
+ export declare function reviewLabel(input: ReviewLabelInput): DreamLabel;
223
+ /** What `userLabel` needs from the HTTP path (AP13). */
224
+ export interface UserLabelInput {
225
+ owner: string;
226
+ /** The memory the user acted on. */
227
+ target: string;
228
+ /** 0 for forget/delete/unpin, 1 for pin or an explicit "was the point". */
229
+ relevance: number;
230
+ /**
231
+ * The turn the chat highlight named (S6). Absent for a plain edit on the
232
+ * memory page, which carries no turn at all and lands session-wide.
233
+ */
234
+ turnId?: string;
235
+ /** The session the edit is attributed to; the key when there is no turn. */
236
+ sessionId: string;
237
+ /** Route name plus actor, as concept 8.3 prescribes for this source. */
238
+ evidence?: string;
239
+ now: number;
240
+ }
241
+ /**
242
+ * `user` - the only source the retrieval policy has no causal path to
243
+ * (concept 4.2b).
244
+ *
245
+ * The VALUE of this label is independent of recall: the user pinned, unpinned,
246
+ * edited or forgot a row, and none of that is a function of what the policy
247
+ * surfaced. Its ATTRIBUTION is not independent, which is why an edit without
248
+ * a turn is attributed to the session window and never to "the turns that
249
+ * surfaced this memory" - that rule would be a function of the policy, and
250
+ * scoring a policy against its own output measures nothing.
251
+ *
252
+ * The chat highlight is the exception and the reason S6 exists: it already
253
+ * knows which memories this turn surfaced, so a click on it writes a label
254
+ * with a real turn reference. Precision 1 by construction, as long as the
255
+ * user clicks; the open quantity is the volume, and Phase 2 measures it.
256
+ */
257
+ export declare function userLabel(input: UserLabelInput): DreamLabel;
258
+ /**
259
+ * The sessions a `user` edit at `at` is attributed over: `[at - window, at]`
260
+ * (concept 4.2b, `dream.userLabelWindow`).
261
+ *
262
+ * The window is a parameter like everything else here, and the caller's own
263
+ * clock decides `at` - the night attributes with the correction's timestamp,
264
+ * the HTTP path with the moment of the edit.
265
+ */
266
+ export declare function sessionsInUserLabelWindow(sessions: readonly {
267
+ id: string;
268
+ at: number;
269
+ }[], at: number, window: number): string[];
270
+ /** `gain(m)` for one turn, plus the contradictions it had to resolve. */
271
+ export interface GainResult {
272
+ gain: GainFunction;
273
+ /**
274
+ * How often two sources claimed different values for the same target. The
275
+ * ranking decides the value, but the disagreement is COUNTED and goes into
276
+ * the label agreement check (concept 5.5b) - never silently overwritten.
277
+ */
278
+ conflicts: number;
279
+ }
280
+ /**
281
+ * Fold the labels of ONE turn into the gain function `measure` consumes
282
+ * (concept 4.1, S2/S3/S8).
283
+ *
284
+ * Three refusals are built in here rather than left to the callers:
285
+ *
286
+ * - `scope: 'session'` never yields a gain. An unlocatable quote claims
287
+ * something about a session, and a session is not a ranked list (S3).
288
+ * - `review` never yields a gain, neither by source nor through its
289
+ * sentinel target. That is the enforcement point named in S8.
290
+ * - A contradiction is resolved by rank and counted, and on equal rank the
291
+ * first label stands. No source silently overwrites another (S2).
292
+ *
293
+ * A label whose target has since died keeps its gain. The row is gone from
294
+ * the frame's deliverable set either way, so dropping it here would only make
295
+ * `reachableRate` look better than the bank is - and the whole point of
296
+ * `dead_at` over deletion is that a removal stays visible (concept 8.3).
297
+ *
298
+ * Precondition: every label belongs to the same turn. The caller holds the
299
+ * turn; this function keys on the target alone, so labels of two turns folded
300
+ * together would count contradictions that never met.
301
+ */
302
+ export declare function gainFrom(labels: readonly DreamLabel[]): GainResult;
303
+ /**
304
+ * `label_coverage` - the share of the compared positions for which a label
305
+ * could exist at all (concept 4.4, S10).
306
+ *
307
+ * `positions` is the union of the top-k of every compared arm; the universe
308
+ * is the set of targets the session window knows a label for. Below
309
+ * `dream.coverageFloor` an evaluation cannot tell a real delta from missing
310
+ * labels, and AP8 declares it invalid rather than reporting it.
311
+ *
312
+ * An empty position list covers nothing and returns 0, the same answer
313
+ * `measure` gives for an empty block - a rate over no positions is not a
314
+ * rate, and returning 1 would let a vacuous evaluation clear the floor.
315
+ */
316
+ export declare function labelCoverage(positions: readonly string[], labelledUniverse: ReadonlySet<string>): number;
317
+ /**
318
+ * `cost_only_share` - the share of traces whose delta came from the cost term
319
+ * alone (concept 4.4, S10).
320
+ *
321
+ * One entry per paired trace: the positions where the two arms differ, each
322
+ * carrying whether a label could exist for it. A trace on which no labelled
323
+ * position moved is `no-labelled-move` - the arms agreed on everything that
324
+ * could be judged, and whatever is left is block length. Above
325
+ * `dream.costOnlyCeiling` the delta is not a delta.
326
+ */
327
+ export declare function costOnlyShare(deltaPositions: readonly (readonly DeltaPosition[])[]): number;
328
+ /** Two sources' values for one target they both labelled. */
329
+ export interface RatingPair {
330
+ /** `turnId` and `target`, the key both sources had to agree on to pair. */
331
+ turnId: string;
332
+ target: string;
333
+ a: number;
334
+ b: number;
335
+ }
336
+ /**
337
+ * Pair two label sources on the targets they both judged (concept 5.5b).
338
+ *
339
+ * Session-wide labels take part: they carry the session id in `turnId`, so
340
+ * they pair with each other and never with a turn label - which is exactly
341
+ * the intent, since they count for the agreement check and never for a score.
342
+ * Duplicates within one source keep their first value; the store's primary
343
+ * key `(turn_id, target, source)` makes that case impossible in practice.
344
+ */
345
+ export declare function pairedRatings(a: readonly DreamLabel[], b: readonly DreamLabel[]): RatingPair[];
346
+ /**
347
+ * Plain pairwise agreement between two label sources: the share of common
348
+ * targets they gave the same value.
349
+ *
350
+ * `null` when the two share no target - that is undetermined, not
351
+ * disagreement, and the same distinction `DreamEval.signAgree` draws. Thin
352
+ * `user` labels are a finding in their own right, not a zero (concept 5.5b).
353
+ */
354
+ export declare function pairwiseAgreement(a: readonly DreamLabel[], b: readonly DreamLabel[]): number | null;
355
+ /**
356
+ * Cohen's kappa between two label sources over their common targets
357
+ * (concept 5.5b): observed agreement corrected for the agreement two raters
358
+ * would reach by chance alone, given how often each of them used each value.
359
+ *
360
+ * `null` when it is undefined: no common target, or chance agreement of
361
+ * exactly 1 because both sources used a single value throughout. That second
362
+ * case is the one worth naming - `merge` writes nothing but zeroes, so a
363
+ * comparison against it is degenerate by construction and the caller falls
364
+ * back to `pairwiseAgreement` instead of reading a fabricated number.
365
+ *
366
+ * Values are compared as they stand; with `relevance in {0,1}` from every
367
+ * source but `review`, the categories are the two the concept assumes.
368
+ */
369
+ export declare function cohensKappa(a: readonly DreamLabel[], b: readonly DreamLabel[]): number | null;
370
+ //# sourceMappingURL=label.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"label.d.ts","sourceRoot":"","sources":["../../../src/memory/dream/label.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,UAAU,EACV,eAAe,EAIf,IAAI,EACL,MAAM,gBAAgB,CAAC;AAExB,OAAO,KAAK,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAEhE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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