yepanywhere 0.8.1 → 0.9.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 (1588) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +16 -1
  3. package/bundled/@yep-anywhere/shared/dist/__tests__/limited-users.test.d.ts +2 -0
  4. package/bundled/@yep-anywhere/shared/dist/__tests__/limited-users.test.d.ts.map +1 -0
  5. package/bundled/@yep-anywhere/shared/dist/__tests__/limited-users.test.js +13 -0
  6. package/bundled/@yep-anywhere/shared/dist/__tests__/limited-users.test.js.map +1 -0
  7. package/bundled/@yep-anywhere/shared/dist/__tests__/long-context-effort-warning.test.d.ts +2 -0
  8. package/bundled/@yep-anywhere/shared/dist/__tests__/long-context-effort-warning.test.d.ts.map +1 -0
  9. package/bundled/@yep-anywhere/shared/dist/__tests__/long-context-effort-warning.test.js +79 -0
  10. package/bundled/@yep-anywhere/shared/dist/__tests__/long-context-effort-warning.test.js.map +1 -0
  11. package/bundled/@yep-anywhere/shared/dist/__tests__/model-prices.test.d.ts +2 -0
  12. package/bundled/@yep-anywhere/shared/dist/__tests__/model-prices.test.d.ts.map +1 -0
  13. package/bundled/@yep-anywhere/shared/dist/__tests__/model-prices.test.js +183 -0
  14. package/bundled/@yep-anywhere/shared/dist/__tests__/model-prices.test.js.map +1 -0
  15. package/bundled/@yep-anywhere/shared/dist/__tests__/queued-ya-commands.test.d.ts +2 -0
  16. package/bundled/@yep-anywhere/shared/dist/__tests__/queued-ya-commands.test.d.ts.map +1 -0
  17. package/bundled/@yep-anywhere/shared/dist/__tests__/queued-ya-commands.test.js +48 -0
  18. package/bundled/@yep-anywhere/shared/dist/__tests__/queued-ya-commands.test.js.map +1 -0
  19. package/bundled/@yep-anywhere/shared/dist/__tests__/server-capabilities.test.js +43 -0
  20. package/bundled/@yep-anywhere/shared/dist/__tests__/server-capabilities.test.js.map +1 -1
  21. package/bundled/@yep-anywhere/shared/dist/__tests__/session-rewind.test.d.ts +2 -0
  22. package/bundled/@yep-anywhere/shared/dist/__tests__/session-rewind.test.d.ts.map +1 -0
  23. package/bundled/@yep-anywhere/shared/dist/__tests__/session-rewind.test.js +57 -0
  24. package/bundled/@yep-anywhere/shared/dist/__tests__/session-rewind.test.js.map +1 -0
  25. package/bundled/@yep-anywhere/shared/dist/__tests__/speech-backend-setup.test.d.ts +2 -0
  26. package/bundled/@yep-anywhere/shared/dist/__tests__/speech-backend-setup.test.d.ts.map +1 -0
  27. package/bundled/@yep-anywhere/shared/dist/__tests__/speech-backend-setup.test.js +16 -0
  28. package/bundled/@yep-anywhere/shared/dist/__tests__/speech-backend-setup.test.js.map +1 -0
  29. package/bundled/@yep-anywhere/shared/dist/__tests__/speech-vocabulary-case.test.d.ts +2 -0
  30. package/bundled/@yep-anywhere/shared/dist/__tests__/speech-vocabulary-case.test.d.ts.map +1 -0
  31. package/bundled/@yep-anywhere/shared/dist/__tests__/speech-vocabulary-case.test.js +114 -0
  32. package/bundled/@yep-anywhere/shared/dist/__tests__/speech-vocabulary-case.test.js.map +1 -0
  33. package/bundled/@yep-anywhere/shared/dist/__tests__/user-usage.test.d.ts +2 -0
  34. package/bundled/@yep-anywhere/shared/dist/__tests__/user-usage.test.d.ts.map +1 -0
  35. package/bundled/@yep-anywhere/shared/dist/__tests__/user-usage.test.js +272 -0
  36. package/bundled/@yep-anywhere/shared/dist/__tests__/user-usage.test.js.map +1 -0
  37. package/bundled/@yep-anywhere/shared/dist/acli-commentary.d.ts +39 -0
  38. package/bundled/@yep-anywhere/shared/dist/acli-commentary.d.ts.map +1 -0
  39. package/bundled/@yep-anywhere/shared/dist/acli-commentary.js +257 -0
  40. package/bundled/@yep-anywhere/shared/dist/acli-commentary.js.map +1 -0
  41. package/bundled/@yep-anywhere/shared/dist/acli-commentary.test.d.ts +2 -0
  42. package/bundled/@yep-anywhere/shared/dist/acli-commentary.test.d.ts.map +1 -0
  43. package/bundled/@yep-anywhere/shared/dist/acli-commentary.test.js +135 -0
  44. package/bundled/@yep-anywhere/shared/dist/acli-commentary.test.js.map +1 -0
  45. package/bundled/@yep-anywhere/shared/dist/acli-output.d.ts +28 -0
  46. package/bundled/@yep-anywhere/shared/dist/acli-output.d.ts.map +1 -0
  47. package/bundled/@yep-anywhere/shared/dist/acli-output.js +90 -0
  48. package/bundled/@yep-anywhere/shared/dist/acli-output.js.map +1 -0
  49. package/bundled/@yep-anywhere/shared/dist/ansi-renderer.d.ts +0 -13
  50. package/bundled/@yep-anywhere/shared/dist/ansi-renderer.d.ts.map +1 -1
  51. package/bundled/@yep-anywhere/shared/dist/ansi-renderer.js +14 -2
  52. package/bundled/@yep-anywhere/shared/dist/ansi-renderer.js.map +1 -1
  53. package/bundled/@yep-anywhere/shared/dist/app-types.d.ts +73 -2
  54. package/bundled/@yep-anywhere/shared/dist/app-types.d.ts.map +1 -1
  55. package/bundled/@yep-anywhere/shared/dist/app-types.js +18 -2
  56. package/bundled/@yep-anywhere/shared/dist/app-types.js.map +1 -1
  57. package/bundled/@yep-anywhere/shared/dist/artifact-viewer.d.ts +34 -0
  58. package/bundled/@yep-anywhere/shared/dist/artifact-viewer.d.ts.map +1 -0
  59. package/bundled/@yep-anywhere/shared/dist/artifact-viewer.js +2 -0
  60. package/bundled/@yep-anywhere/shared/dist/artifact-viewer.js.map +1 -0
  61. package/bundled/@yep-anywhere/shared/dist/capability-ids.d.ts +156 -0
  62. package/bundled/@yep-anywhere/shared/dist/capability-ids.d.ts.map +1 -1
  63. package/bundled/@yep-anywhere/shared/dist/capability-ids.js +156 -0
  64. package/bundled/@yep-anywhere/shared/dist/capability-ids.js.map +1 -1
  65. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/entry/AssistantEntrySchema.d.ts +1 -0
  66. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/entry/AssistantEntrySchema.d.ts.map +1 -1
  67. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/entry/AssistantEntrySchema.js +8 -0
  68. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/entry/AssistantEntrySchema.js.map +1 -1
  69. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/entry/MetadataEntrySchema.d.ts +25 -0
  70. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/entry/MetadataEntrySchema.d.ts.map +1 -1
  71. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/entry/MetadataEntrySchema.js +30 -0
  72. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/entry/MetadataEntrySchema.js.map +1 -1
  73. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/entry/SystemEntrySchema.d.ts +1 -1
  74. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/guards.d.ts +12 -0
  75. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/guards.d.ts.map +1 -1
  76. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/guards.js +21 -0
  77. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/guards.js.map +1 -1
  78. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/index.d.ts +54 -2
  79. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/index.d.ts.map +1 -1
  80. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/tool/TodoSchema.d.ts +2 -2
  81. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/tool/ToolResultSchemas.d.ts +3 -3
  82. package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/tool/index.d.ts +2 -2
  83. package/bundled/@yep-anywhere/shared/dist/code-mode-output.d.ts +25 -0
  84. package/bundled/@yep-anywhere/shared/dist/code-mode-output.d.ts.map +1 -0
  85. package/bundled/@yep-anywhere/shared/dist/code-mode-output.js +110 -0
  86. package/bundled/@yep-anywhere/shared/dist/code-mode-output.js.map +1 -0
  87. package/bundled/@yep-anywhere/shared/dist/codex-cyber-access.d.ts +20 -0
  88. package/bundled/@yep-anywhere/shared/dist/codex-cyber-access.d.ts.map +1 -0
  89. package/bundled/@yep-anywhere/shared/dist/codex-cyber-access.js +37 -0
  90. package/bundled/@yep-anywhere/shared/dist/codex-cyber-access.js.map +1 -0
  91. package/bundled/@yep-anywhere/shared/dist/codex-schema/session.d.ts +27 -0
  92. package/bundled/@yep-anywhere/shared/dist/codex-schema/session.d.ts.map +1 -1
  93. package/bundled/@yep-anywhere/shared/dist/codex-schema/session.js +15 -0
  94. package/bundled/@yep-anywhere/shared/dist/codex-schema/session.js.map +1 -1
  95. package/bundled/@yep-anywhere/shared/dist/codex-schema/types.d.ts +1 -1
  96. package/bundled/@yep-anywhere/shared/dist/codex-schema/types.d.ts.map +1 -1
  97. package/bundled/@yep-anywhere/shared/dist/conversation-context.d.ts +13 -0
  98. package/bundled/@yep-anywhere/shared/dist/conversation-context.d.ts.map +1 -0
  99. package/bundled/@yep-anywhere/shared/dist/conversation-context.js +9 -0
  100. package/bundled/@yep-anywhere/shared/dist/conversation-context.js.map +1 -0
  101. package/bundled/@yep-anywhere/shared/dist/experimental/conversation-client.d.ts +35 -0
  102. package/bundled/@yep-anywhere/shared/dist/experimental/conversation-client.d.ts.map +1 -0
  103. package/bundled/@yep-anywhere/shared/dist/experimental/conversation-client.js +70 -0
  104. package/bundled/@yep-anywhere/shared/dist/experimental/conversation-client.js.map +1 -0
  105. package/bundled/@yep-anywhere/shared/dist/experimental/conversation-protocol.d.ts +15 -0
  106. package/bundled/@yep-anywhere/shared/dist/experimental/conversation-protocol.d.ts.map +1 -0
  107. package/bundled/@yep-anywhere/shared/dist/experimental/conversation-protocol.js +16 -0
  108. package/bundled/@yep-anywhere/shared/dist/experimental/conversation-protocol.js.map +1 -0
  109. package/bundled/@yep-anywhere/shared/dist/experimental/simple-client.generated.d.ts +173 -0
  110. package/bundled/@yep-anywhere/shared/dist/experimental/simple-client.generated.d.ts.map +1 -0
  111. package/bundled/@yep-anywhere/shared/dist/experimental/simple-client.generated.js +276 -0
  112. package/bundled/@yep-anywhere/shared/dist/experimental/simple-client.generated.js.map +1 -0
  113. package/bundled/@yep-anywhere/shared/dist/gateway-effort-probe.d.ts +113 -0
  114. package/bundled/@yep-anywhere/shared/dist/gateway-effort-probe.d.ts.map +1 -0
  115. package/bundled/@yep-anywhere/shared/dist/gateway-effort-probe.js +163 -0
  116. package/bundled/@yep-anywhere/shared/dist/gateway-effort-probe.js.map +1 -0
  117. package/bundled/@yep-anywhere/shared/dist/gateway-model-effort.d.ts +86 -0
  118. package/bundled/@yep-anywhere/shared/dist/gateway-model-effort.d.ts.map +1 -0
  119. package/bundled/@yep-anywhere/shared/dist/gateway-model-effort.js +125 -0
  120. package/bundled/@yep-anywhere/shared/dist/gateway-model-effort.js.map +1 -0
  121. package/bundled/@yep-anywhere/shared/dist/gateway-services.d.ts +227 -0
  122. package/bundled/@yep-anywhere/shared/dist/gateway-services.d.ts.map +1 -0
  123. package/bundled/@yep-anywhere/shared/dist/gateway-services.js +428 -0
  124. package/bundled/@yep-anywhere/shared/dist/gateway-services.js.map +1 -0
  125. package/bundled/@yep-anywhere/shared/dist/gemini-schema/events.d.ts +2 -2
  126. package/bundled/@yep-anywhere/shared/dist/idle-reap.d.ts +1 -1
  127. package/bundled/@yep-anywhere/shared/dist/idle-reap.d.ts.map +1 -1
  128. package/bundled/@yep-anywhere/shared/dist/idle-reap.js +1 -1
  129. package/bundled/@yep-anywhere/shared/dist/idle-reap.js.map +1 -1
  130. package/bundled/@yep-anywhere/shared/dist/index.d.ts +41 -6
  131. package/bundled/@yep-anywhere/shared/dist/index.d.ts.map +1 -1
  132. package/bundled/@yep-anywhere/shared/dist/index.js +31 -3
  133. package/bundled/@yep-anywhere/shared/dist/index.js.map +1 -1
  134. package/bundled/@yep-anywhere/shared/dist/issues.d.ts +146 -0
  135. package/bundled/@yep-anywhere/shared/dist/issues.d.ts.map +1 -0
  136. package/bundled/@yep-anywhere/shared/dist/issues.js +49 -0
  137. package/bundled/@yep-anywhere/shared/dist/issues.js.map +1 -0
  138. package/bundled/@yep-anywhere/shared/dist/limited-users.d.ts +134 -0
  139. package/bundled/@yep-anywhere/shared/dist/limited-users.d.ts.map +1 -0
  140. package/bundled/@yep-anywhere/shared/dist/limited-users.js +137 -0
  141. package/bundled/@yep-anywhere/shared/dist/limited-users.js.map +1 -0
  142. package/bundled/@yep-anywhere/shared/dist/linkify.d.ts +43 -0
  143. package/bundled/@yep-anywhere/shared/dist/linkify.d.ts.map +1 -0
  144. package/bundled/@yep-anywhere/shared/dist/linkify.js +122 -0
  145. package/bundled/@yep-anywhere/shared/dist/linkify.js.map +1 -0
  146. package/bundled/@yep-anywhere/shared/dist/linkify.test.d.ts +2 -0
  147. package/bundled/@yep-anywhere/shared/dist/linkify.test.d.ts.map +1 -0
  148. package/bundled/@yep-anywhere/shared/dist/linkify.test.js +92 -0
  149. package/bundled/@yep-anywhere/shared/dist/linkify.test.js.map +1 -0
  150. package/bundled/@yep-anywhere/shared/dist/long-context-effort-warning.d.ts +65 -0
  151. package/bundled/@yep-anywhere/shared/dist/long-context-effort-warning.d.ts.map +1 -0
  152. package/bundled/@yep-anywhere/shared/dist/long-context-effort-warning.js +104 -0
  153. package/bundled/@yep-anywhere/shared/dist/long-context-effort-warning.js.map +1 -0
  154. package/bundled/@yep-anywhere/shared/dist/model-prices.d.ts +85 -0
  155. package/bundled/@yep-anywhere/shared/dist/model-prices.d.ts.map +1 -0
  156. package/bundled/@yep-anywhere/shared/dist/model-prices.js +269 -0
  157. package/bundled/@yep-anywhere/shared/dist/model-prices.js.map +1 -0
  158. package/bundled/@yep-anywhere/shared/dist/plain-record.d.ts +5 -0
  159. package/bundled/@yep-anywhere/shared/dist/plain-record.d.ts.map +1 -0
  160. package/bundled/@yep-anywhere/shared/dist/plain-record.js +9 -0
  161. package/bundled/@yep-anywhere/shared/dist/plain-record.js.map +1 -0
  162. package/bundled/@yep-anywhere/shared/dist/plain-record.test.d.ts +2 -0
  163. package/bundled/@yep-anywhere/shared/dist/plain-record.test.d.ts.map +1 -0
  164. package/bundled/@yep-anywhere/shared/dist/plain-record.test.js +20 -0
  165. package/bundled/@yep-anywhere/shared/dist/plain-record.test.js.map +1 -0
  166. package/bundled/@yep-anywhere/shared/dist/postCompactReplay.d.ts +56 -0
  167. package/bundled/@yep-anywhere/shared/dist/postCompactReplay.d.ts.map +1 -0
  168. package/bundled/@yep-anywhere/shared/dist/postCompactReplay.js +142 -0
  169. package/bundled/@yep-anywhere/shared/dist/postCompactReplay.js.map +1 -0
  170. package/bundled/@yep-anywhere/shared/dist/project-captions.d.ts +25 -0
  171. package/bundled/@yep-anywhere/shared/dist/project-captions.d.ts.map +1 -0
  172. package/bundled/@yep-anywhere/shared/dist/project-captions.js +21 -0
  173. package/bundled/@yep-anywhere/shared/dist/project-captions.js.map +1 -0
  174. package/bundled/@yep-anywhere/shared/dist/project-file-completion.d.ts +10 -0
  175. package/bundled/@yep-anywhere/shared/dist/project-file-completion.d.ts.map +1 -0
  176. package/bundled/@yep-anywhere/shared/dist/project-file-completion.js +2 -0
  177. package/bundled/@yep-anywhere/shared/dist/project-file-completion.js.map +1 -0
  178. package/bundled/@yep-anywhere/shared/dist/project-names.d.ts +30 -0
  179. package/bundled/@yep-anywhere/shared/dist/project-names.d.ts.map +1 -0
  180. package/bundled/@yep-anywhere/shared/dist/project-names.js +30 -0
  181. package/bundled/@yep-anywhere/shared/dist/project-names.js.map +1 -0
  182. package/bundled/@yep-anywhere/shared/dist/project-queue-readiness.d.ts +7 -0
  183. package/bundled/@yep-anywhere/shared/dist/project-queue-readiness.d.ts.map +1 -0
  184. package/bundled/@yep-anywhere/shared/dist/project-queue-readiness.js +14 -0
  185. package/bundled/@yep-anywhere/shared/dist/project-queue-readiness.js.map +1 -0
  186. package/bundled/@yep-anywhere/shared/dist/project-queue.d.ts +10 -1
  187. package/bundled/@yep-anywhere/shared/dist/project-queue.d.ts.map +1 -1
  188. package/bundled/@yep-anywhere/shared/dist/project-queue.js.map +1 -1
  189. package/bundled/@yep-anywhere/shared/dist/project-template-source.d.ts +37 -0
  190. package/bundled/@yep-anywhere/shared/dist/project-template-source.d.ts.map +1 -0
  191. package/bundled/@yep-anywhere/shared/dist/project-template-source.js +11 -0
  192. package/bundled/@yep-anywhere/shared/dist/project-template-source.js.map +1 -0
  193. package/bundled/@yep-anywhere/shared/dist/queued-ya-commands.d.ts +56 -0
  194. package/bundled/@yep-anywhere/shared/dist/queued-ya-commands.d.ts.map +1 -0
  195. package/bundled/@yep-anywhere/shared/dist/queued-ya-commands.js +77 -0
  196. package/bundled/@yep-anywhere/shared/dist/queued-ya-commands.js.map +1 -0
  197. package/bundled/@yep-anywhere/shared/dist/relay.d.ts +4 -1
  198. package/bundled/@yep-anywhere/shared/dist/relay.d.ts.map +1 -1
  199. package/bundled/@yep-anywhere/shared/dist/relay.js +0 -8
  200. package/bundled/@yep-anywhere/shared/dist/relay.js.map +1 -1
  201. package/bundled/@yep-anywhere/shared/dist/retained-session-collections.d.ts +14 -0
  202. package/bundled/@yep-anywhere/shared/dist/retained-session-collections.d.ts.map +1 -0
  203. package/bundled/@yep-anywhere/shared/dist/retained-session-collections.js +2 -0
  204. package/bundled/@yep-anywhere/shared/dist/retained-session-collections.js.map +1 -0
  205. package/bundled/@yep-anywhere/shared/dist/server-capabilities.d.ts +619 -0
  206. package/bundled/@yep-anywhere/shared/dist/server-capabilities.d.ts.map +1 -1
  207. package/bundled/@yep-anywhere/shared/dist/server-capabilities.js +711 -0
  208. package/bundled/@yep-anywhere/shared/dist/server-capabilities.js.map +1 -1
  209. package/bundled/@yep-anywhere/shared/dist/server-runtime.d.ts +14 -0
  210. package/bundled/@yep-anywhere/shared/dist/server-runtime.d.ts.map +1 -0
  211. package/bundled/@yep-anywhere/shared/dist/server-runtime.js +36 -0
  212. package/bundled/@yep-anywhere/shared/dist/server-runtime.js.map +1 -0
  213. package/bundled/@yep-anywhere/shared/dist/session-content-search.d.ts +54 -0
  214. package/bundled/@yep-anywhere/shared/dist/session-content-search.d.ts.map +1 -0
  215. package/bundled/@yep-anywhere/shared/dist/session-content-search.js +26 -0
  216. package/bundled/@yep-anywhere/shared/dist/session-content-search.js.map +1 -0
  217. package/bundled/@yep-anywhere/shared/dist/session-rewind.d.ts +113 -0
  218. package/bundled/@yep-anywhere/shared/dist/session-rewind.d.ts.map +1 -0
  219. package/bundled/@yep-anywhere/shared/dist/session-rewind.js +68 -0
  220. package/bundled/@yep-anywhere/shared/dist/session-rewind.js.map +1 -0
  221. package/bundled/@yep-anywhere/shared/dist/session-seen.d.ts +11 -0
  222. package/bundled/@yep-anywhere/shared/dist/session-seen.d.ts.map +1 -0
  223. package/bundled/@yep-anywhere/shared/dist/session-seen.js +11 -0
  224. package/bundled/@yep-anywhere/shared/dist/session-seen.js.map +1 -0
  225. package/bundled/@yep-anywhere/shared/dist/slash-command-goal.d.ts +13 -0
  226. package/bundled/@yep-anywhere/shared/dist/slash-command-goal.d.ts.map +1 -0
  227. package/bundled/@yep-anywhere/shared/dist/slash-command-goal.js +21 -0
  228. package/bundled/@yep-anywhere/shared/dist/slash-command-goal.js.map +1 -0
  229. package/bundled/@yep-anywhere/shared/dist/speech-backend-setup.d.ts +58 -0
  230. package/bundled/@yep-anywhere/shared/dist/speech-backend-setup.d.ts.map +1 -0
  231. package/bundled/@yep-anywhere/shared/dist/speech-backend-setup.js +94 -0
  232. package/bundled/@yep-anywhere/shared/dist/speech-backend-setup.js.map +1 -0
  233. package/bundled/@yep-anywhere/shared/dist/speech-vocabulary.d.ts +78 -0
  234. package/bundled/@yep-anywhere/shared/dist/speech-vocabulary.d.ts.map +1 -0
  235. package/bundled/@yep-anywhere/shared/dist/speech-vocabulary.js +172 -0
  236. package/bundled/@yep-anywhere/shared/dist/speech-vocabulary.js.map +1 -0
  237. package/bundled/@yep-anywhere/shared/dist/sqlite-status.d.ts +12 -0
  238. package/bundled/@yep-anywhere/shared/dist/sqlite-status.d.ts.map +1 -0
  239. package/bundled/@yep-anywhere/shared/dist/sqlite-status.js +2 -0
  240. package/bundled/@yep-anywhere/shared/dist/sqlite-status.js.map +1 -0
  241. package/bundled/@yep-anywhere/shared/dist/sqlite.d.ts +41 -0
  242. package/bundled/@yep-anywhere/shared/dist/sqlite.d.ts.map +1 -0
  243. package/bundled/@yep-anywhere/shared/dist/sqlite.js +155 -0
  244. package/bundled/@yep-anywhere/shared/dist/sqlite.js.map +1 -0
  245. package/bundled/@yep-anywhere/shared/dist/transcript/agentResults.d.ts +12 -0
  246. package/bundled/@yep-anywhere/shared/dist/transcript/agentResults.d.ts.map +1 -0
  247. package/bundled/@yep-anywhere/shared/dist/transcript/agentResults.js +84 -0
  248. package/bundled/@yep-anywhere/shared/dist/transcript/agentResults.js.map +1 -0
  249. package/bundled/@yep-anywhere/shared/dist/transcript/codexLegacySetup.d.ts +13 -0
  250. package/bundled/@yep-anywhere/shared/dist/transcript/codexLegacySetup.d.ts.map +1 -0
  251. package/bundled/@yep-anywhere/shared/dist/transcript/codexLegacySetup.js +40 -0
  252. package/bundled/@yep-anywhere/shared/dist/transcript/codexLegacySetup.js.map +1 -0
  253. package/bundled/@yep-anywhere/shared/dist/transcript/commandTurn.d.ts +19 -0
  254. package/bundled/@yep-anywhere/shared/dist/transcript/commandTurn.d.ts.map +1 -0
  255. package/bundled/@yep-anywhere/shared/dist/transcript/commandTurn.js +48 -0
  256. package/bundled/@yep-anywhere/shared/dist/transcript/commandTurn.js.map +1 -0
  257. package/bundled/@yep-anywhere/shared/dist/transcript/compactBoundaries.d.ts +3 -0
  258. package/bundled/@yep-anywhere/shared/dist/transcript/compactBoundaries.d.ts.map +1 -0
  259. package/bundled/@yep-anywhere/shared/dist/transcript/compactBoundaries.js +69 -0
  260. package/bundled/@yep-anywhere/shared/dist/transcript/compactBoundaries.js.map +1 -0
  261. package/bundled/@yep-anywhere/shared/dist/transcript/compiler.d.ts +10 -0
  262. package/bundled/@yep-anywhere/shared/dist/transcript/compiler.d.ts.map +1 -0
  263. package/bundled/@yep-anywhere/shared/dist/transcript/compiler.js +24 -0
  264. package/bundled/@yep-anywhere/shared/dist/transcript/compiler.js.map +1 -0
  265. package/bundled/@yep-anywhere/shared/dist/transcript/items.d.ts +180 -0
  266. package/bundled/@yep-anywhere/shared/dist/transcript/items.d.ts.map +1 -0
  267. package/bundled/@yep-anywhere/shared/dist/transcript/items.js +2 -0
  268. package/bundled/@yep-anywhere/shared/dist/transcript/items.js.map +1 -0
  269. package/bundled/@yep-anywhere/shared/dist/transcript/message.d.ts +75 -0
  270. package/bundled/@yep-anywhere/shared/dist/transcript/message.d.ts.map +1 -0
  271. package/bundled/@yep-anywhere/shared/dist/transcript/message.js +5 -0
  272. package/bundled/@yep-anywhere/shared/dist/transcript/message.js.map +1 -0
  273. package/bundled/@yep-anywhere/shared/dist/transcript/messageProjection.d.ts +19 -0
  274. package/bundled/@yep-anywhere/shared/dist/transcript/messageProjection.d.ts.map +1 -0
  275. package/bundled/@yep-anywhere/shared/dist/transcript/messageProjection.js +753 -0
  276. package/bundled/@yep-anywhere/shared/dist/transcript/messageProjection.js.map +1 -0
  277. package/bundled/@yep-anywhere/shared/dist/transcript/parseTaskNotification.d.ts +35 -0
  278. package/bundled/@yep-anywhere/shared/dist/transcript/parseTaskNotification.d.ts.map +1 -0
  279. package/bundled/@yep-anywhere/shared/dist/transcript/parseTaskNotification.js +57 -0
  280. package/bundled/@yep-anywhere/shared/dist/transcript/parseTaskNotification.js.map +1 -0
  281. package/bundled/@yep-anywhere/shared/dist/transcript/projectPathLinks.d.ts +3 -0
  282. package/bundled/@yep-anywhere/shared/dist/transcript/projectPathLinks.d.ts.map +1 -0
  283. package/bundled/@yep-anywhere/shared/dist/transcript/projectPathLinks.js +10 -0
  284. package/bundled/@yep-anywhere/shared/dist/transcript/projectPathLinks.js.map +1 -0
  285. package/bundled/@yep-anywhere/shared/dist/transcript/sessionSetup.d.ts +3 -0
  286. package/bundled/@yep-anywhere/shared/dist/transcript/sessionSetup.d.ts.map +1 -0
  287. package/bundled/@yep-anywhere/shared/dist/transcript/sessionSetup.js +95 -0
  288. package/bundled/@yep-anywhere/shared/dist/transcript/sessionSetup.js.map +1 -0
  289. package/bundled/@yep-anywhere/shared/dist/transcript/shellFolding.d.ts +35 -0
  290. package/bundled/@yep-anywhere/shared/dist/transcript/shellFolding.d.ts.map +1 -0
  291. package/bundled/@yep-anywhere/shared/dist/transcript/shellFolding.js +459 -0
  292. package/bundled/@yep-anywhere/shared/dist/transcript/shellFolding.js.map +1 -0
  293. package/bundled/@yep-anywhere/shared/dist/transcript/shellToolOutput.d.ts +27 -0
  294. package/bundled/@yep-anywhere/shared/dist/transcript/shellToolOutput.d.ts.map +1 -0
  295. package/bundled/@yep-anywhere/shared/dist/transcript/shellToolOutput.js +88 -0
  296. package/bundled/@yep-anywhere/shared/dist/transcript/shellToolOutput.js.map +1 -0
  297. package/bundled/@yep-anywhere/shared/dist/transcript/slashCommandBodies.d.ts +5 -0
  298. package/bundled/@yep-anywhere/shared/dist/transcript/slashCommandBodies.d.ts.map +1 -0
  299. package/bundled/@yep-anywhere/shared/dist/transcript/slashCommandBodies.js +80 -0
  300. package/bundled/@yep-anywhere/shared/dist/transcript/slashCommandBodies.js.map +1 -0
  301. package/bundled/@yep-anywhere/shared/dist/transcript/types.d.ts +17 -0
  302. package/bundled/@yep-anywhere/shared/dist/transcript/types.d.ts.map +1 -0
  303. package/bundled/@yep-anywhere/shared/dist/transcript/types.js +2 -0
  304. package/bundled/@yep-anywhere/shared/dist/transcript/types.js.map +1 -0
  305. package/bundled/@yep-anywhere/shared/dist/transcript/workflowTags.d.ts +92 -0
  306. package/bundled/@yep-anywhere/shared/dist/transcript/workflowTags.d.ts.map +1 -0
  307. package/bundled/@yep-anywhere/shared/dist/transcript/workflowTags.js +686 -0
  308. package/bundled/@yep-anywhere/shared/dist/transcript/workflowTags.js.map +1 -0
  309. package/bundled/@yep-anywhere/shared/dist/turn-effort.d.ts +8 -0
  310. package/bundled/@yep-anywhere/shared/dist/turn-effort.d.ts.map +1 -0
  311. package/bundled/@yep-anywhere/shared/dist/turn-effort.js +53 -0
  312. package/bundled/@yep-anywhere/shared/dist/turn-effort.js.map +1 -0
  313. package/bundled/@yep-anywhere/shared/dist/types.d.ts +25 -3
  314. package/bundled/@yep-anywhere/shared/dist/types.d.ts.map +1 -1
  315. package/bundled/@yep-anywhere/shared/dist/types.js +23 -0
  316. package/bundled/@yep-anywhere/shared/dist/types.js.map +1 -1
  317. package/bundled/@yep-anywhere/shared/dist/user-message-metadata.d.ts +17 -0
  318. package/bundled/@yep-anywhere/shared/dist/user-message-metadata.d.ts.map +1 -1
  319. package/bundled/@yep-anywhere/shared/dist/user-message-metadata.js.map +1 -1
  320. package/bundled/@yep-anywhere/shared/dist/user-usage.d.ts +210 -0
  321. package/bundled/@yep-anywhere/shared/dist/user-usage.d.ts.map +1 -0
  322. package/bundled/@yep-anywhere/shared/dist/user-usage.js +300 -0
  323. package/bundled/@yep-anywhere/shared/dist/user-usage.js.map +1 -0
  324. package/bundled/@yep-anywhere/shared/dist/vendor/pi-model-prices/prices.generated.d.ts +19 -0
  325. package/bundled/@yep-anywhere/shared/dist/vendor/pi-model-prices/prices.generated.d.ts.map +1 -0
  326. package/bundled/@yep-anywhere/shared/dist/vendor/pi-model-prices/prices.generated.js +591 -0
  327. package/bundled/@yep-anywhere/shared/dist/vendor/pi-model-prices/prices.generated.js.map +1 -0
  328. package/bundled/@yep-anywhere/shared/package.json +1 -1
  329. package/client-dist/assets/AboutSettings-BlEONE7w.js +1 -0
  330. package/client-dist/assets/ActivityPage-FgSG_9Sl.js +1 -0
  331. package/client-dist/assets/AgentContextSettings-BfTCI7qG.js +7 -0
  332. package/client-dist/assets/AgentsPage-CBku9RWz.js +2 -0
  333. package/client-dist/assets/App-DJwRGuDu.css +1 -0
  334. package/client-dist/assets/App-DWHvFKob.js +2 -0
  335. package/client-dist/assets/AppearanceSettings-BSEBjSjr.js +2 -0
  336. package/client-dist/assets/AppsSettings-COm3buYO.css +1 -0
  337. package/client-dist/assets/AppsSettings-iDL6Xuaa.js +1 -0
  338. package/client-dist/assets/AttachmentChip-DHKr4EfG.js +1 -0
  339. package/client-dist/assets/AuthContext-CVsoMulX.js +1 -0
  340. package/client-dist/assets/BangCommandDisplayObject-B8KrHDzH.js +2 -0
  341. package/client-dist/assets/BangCommandsPage-yX8grXp9.js +1 -0
  342. package/client-dist/assets/BrowserDebugToolbarButton-B-b7N4cr.js +1 -0
  343. package/client-dist/assets/CacheMissBillingSettings-Bfqlk9rA.js +4 -0
  344. package/client-dist/assets/CacheMissBillingSettings-CLd1X2rQ.css +1 -0
  345. package/client-dist/assets/CodexUpdatePrompt-ChHtbla-.js +1 -0
  346. package/client-dist/assets/CommittedRangeInput-C3Z7YUlS.js +1 -0
  347. package/client-dist/assets/CommittedRangeNumberInput-D497_5ff.js +1 -0
  348. package/client-dist/assets/ComputerControlSettings-DzRDwfJ1.js +1 -0
  349. package/client-dist/assets/ComputerControlSettings-hz0l4QsY.css +1 -0
  350. package/client-dist/assets/ConversationPreviewPage-CTWx9N3v.js +2 -0
  351. package/client-dist/assets/ConversationPreviewPage-jriDOpVT.css +1 -0
  352. package/client-dist/assets/DevelopmentSettings-Bf9gyeU0.js +1 -0
  353. package/client-dist/assets/DevicesSettings-dbZHFEEc.js +1 -0
  354. package/client-dist/assets/EmulatorPage-CKJwVTFq.js +1 -0
  355. package/client-dist/assets/EmulatorSettings-BV9Bg3Xk.js +1 -0
  356. package/client-dist/assets/EnvironmentSettings-DPRH1636.css +1 -0
  357. package/client-dist/assets/EnvironmentSettings-DmOTuSwm.js +1 -0
  358. package/client-dist/assets/FilePage-DnPW5Pbc.js +1 -0
  359. package/client-dist/assets/FilterDropdown-DpS1eMEf.js +1 -0
  360. package/client-dist/assets/FloatingActionButton-DBIoFwff.js +1 -0
  361. package/client-dist/assets/GitStatusPage-879aktqc.js +15 -0
  362. package/client-dist/assets/GlobalSessionsPage-Dbnuis89.css +1 -0
  363. package/client-dist/assets/GlobalSessionsPage-DcmQcX7q.js +2 -0
  364. package/client-dist/assets/HeartbeatTextArea-CKxL-bdJ.js +1 -0
  365. package/client-dist/assets/HostIdentityContext-D5aBdejC.js +1 -0
  366. package/client-dist/assets/HostsPage-C1ZTrhJv.js +1 -0
  367. package/client-dist/assets/InboxContext-opkOiXDB.js +1 -0
  368. package/client-dist/assets/InboxPage-Cepu8VGM.js +1 -0
  369. package/client-dist/assets/IssueSettings-BVQhsFjc.css +1 -0
  370. package/client-dist/assets/IssueSettings-xRU8E-xR.js +1 -0
  371. package/client-dist/assets/IssuesPage-XKTQKqsQ.css +1 -0
  372. package/client-dist/assets/IssuesPage-c6PUStFT.js +1 -0
  373. package/client-dist/assets/LifecycleWebhooksSettings-CZcZATjJ.js +1 -0
  374. package/client-dist/assets/LocalAccessSettings-BIysipWE.css +1 -0
  375. package/client-dist/assets/LocalAccessSettings-BpmNC9pI.js +4 -0
  376. package/client-dist/assets/LoginPage-Cu7cX9wS.js +1 -0
  377. package/client-dist/assets/MessageAge-Cd1C0-Kr.js +1 -0
  378. package/client-dist/assets/MessageDeliverySettings-B_9VqCMP.js +4 -0
  379. package/client-dist/assets/MessageDeliverySettings-ChJ0EqI2.css +1 -0
  380. package/client-dist/assets/MessageInput-B0t6b_Hd.js +3 -0
  381. package/client-dist/assets/MessageInput-DnUh3y6j.css +1 -0
  382. package/client-dist/assets/MessageInputToolbar-DdP4tB2S.css +1 -0
  383. package/client-dist/assets/MessageInputToolbar-rhYW1xGJ.js +58 -0
  384. package/client-dist/assets/MessageList-Dcvfxbeq.css +1 -0
  385. package/client-dist/assets/MessageList-dH63bflu.js +4 -0
  386. package/client-dist/assets/Modal-EC-u4IZ7.css +1 -0
  387. package/client-dist/assets/Modal-QUinFhBP.js +16 -0
  388. package/client-dist/assets/ModelSettings-CcWkVSEK.js +1 -0
  389. package/client-dist/assets/ModelSettings-D9l8I1M4.css +1 -0
  390. package/client-dist/assets/NavigationLayout-BkOsag-J.js +2 -0
  391. package/client-dist/assets/NavigationLayout-CJXutLwz.css +1 -0
  392. package/client-dist/assets/NewSessionPage-DcZ9YjmC.js +1 -0
  393. package/client-dist/assets/NotificationsSettings-CPM241Tg.css +1 -0
  394. package/client-dist/assets/NotificationsSettings-DoVzfeME.js +1 -0
  395. package/client-dist/assets/PageHeader-BaYMLVHI.js +1 -0
  396. package/client-dist/assets/PerformanceSettings-dwoVtUlX.js +1 -0
  397. package/client-dist/assets/{ProjectSessionDefaultsModal-DzVqBVWy.js → ProjectSessionDefaultsModal-Dq2_xDka.js} +2 -2
  398. package/client-dist/assets/ProjectTemplatesSettings-BcaK3moF.css +1 -0
  399. package/client-dist/assets/ProjectTemplatesSettings-BlMWq1wb.js +1 -0
  400. package/client-dist/assets/ProjectsPage-B5VBairc.js +1 -0
  401. package/client-dist/assets/ProjectsPage-B_nAXXcT.css +1 -0
  402. package/client-dist/assets/ProviderChildSessionDetail-Q1q45eIZ.css +1 -0
  403. package/client-dist/assets/ProviderChildSessionDetail-tWrpaB_X.js +144 -0
  404. package/client-dist/assets/ProviderChildSessionPage-B3eTTTjF.js +1 -0
  405. package/client-dist/assets/ProvidersSettings-BAtrIqQs.css +1 -0
  406. package/client-dist/assets/ProvidersSettings-OUKp5-Hb.js +1 -0
  407. package/client-dist/assets/RecapAfterSecondsControl-qU0RMrUX.js +1 -0
  408. package/client-dist/assets/RelayProtocol-DjpPJk64.js +1 -0
  409. package/client-dist/assets/RemoteAccessSettings-Bn0ng7s4.js +1 -0
  410. package/client-dist/assets/RemoteExecutorsSettings-2Qh-9Qv_.js +1 -0
  411. package/client-dist/assets/RemoteExecutorsSettings-BPtHDoBu.css +1 -0
  412. package/client-dist/assets/{SchemaValidationContext-DUH1M5Ah.js → SchemaValidationContext-CIAd7icg.js} +1 -1
  413. package/client-dist/assets/SearchPreview-B25ksFLA.js +3 -0
  414. package/client-dist/assets/{MessageList-DYEFp3d3.css → SearchPreview-DzzK5Brj.css} +1 -1
  415. package/client-dist/assets/SessionHeader-pnhs75ng.css +1 -0
  416. package/client-dist/assets/SessionHeader.module-Co9s-JR3.js +1 -0
  417. package/client-dist/assets/SessionPage-B1g1UFEV.js +49 -0
  418. package/client-dist/assets/SessionPage-BiV0X3n1.css +1 -0
  419. package/client-dist/assets/SettingsItem-B_rM9Vhi.js +1 -0
  420. package/client-dist/assets/SettingsItem-JTPEBYQg.css +1 -0
  421. package/client-dist/assets/SettingsSection-DOwc_RwX.js +1 -0
  422. package/client-dist/assets/SourceControlSettings-BQfC1KbV.js +1 -0
  423. package/client-dist/assets/SourceFileHeaderActions-3_76js_o.js +1 -0
  424. package/client-dist/assets/SpeechControlMenu-BIv0O1la.js +2 -0
  425. package/client-dist/assets/SpeechControlMenu-DNRFO-j6.css +1 -0
  426. package/client-dist/assets/SpeechSettings-BT4TnSgr.js +2 -0
  427. package/client-dist/assets/SpeechSettings-BfDRPrEa.css +1 -0
  428. package/client-dist/assets/SpeechSmartTurnControls-CCk_a0tm.css +1 -0
  429. package/client-dist/assets/SpeechSmartTurnControls-vIZ8a7Lb.js +1 -0
  430. package/client-dist/assets/StorageSettings-BOqx8lCl.css +1 -0
  431. package/client-dist/assets/StorageSettings-DQcG9Mbq.js +1 -0
  432. package/client-dist/assets/ThinkingControls-CbZcYobp.js +1 -0
  433. package/client-dist/assets/ToolbarSettings-CmHVAejU.js +1 -0
  434. package/client-dist/assets/ToolbarSettings-DdxMSXaN.css +1 -0
  435. package/client-dist/assets/UsersSettings-COgiiV9D.js +1 -0
  436. package/client-dist/assets/UsersSettings-DriFOB7e.css +1 -0
  437. package/client-dist/assets/VoiceInputButton-japn0Kx_.js +1 -0
  438. package/client-dist/assets/WorkstreamsPage-DKLRDEAp.js +1 -0
  439. package/client-dist/assets/YaServerProvider-OSxrnpr9.js +1 -0
  440. package/client-dist/assets/{YepAnywhereLogo-BjfIuZpX.js → YepAnywhereLogo-OH70DoR4.js} +1 -1
  441. package/client-dist/assets/abnfDiagram-VCTEODGH-BK2byNq2.js +1 -0
  442. package/client-dist/assets/arc-BZ7613Gf.js +1 -0
  443. package/client-dist/assets/architectureDiagram-5GKGNRK7-WEjy-r-z.js +36 -0
  444. package/client-dist/assets/{attachmentFileNames-DY59buC0.js → attachmentFileNames-BfFUuufi.js} +1 -1
  445. package/client-dist/assets/blockDiagram-I7D4REHJ-BOsYYXyW.js +129 -0
  446. package/client-dist/assets/browserDebugPerformance-ZT9tAT-A.js +1 -0
  447. package/client-dist/assets/c4Diagram-7LVT6UL2-BRrAUZLE.js +38 -0
  448. package/client-dist/assets/channel-C-7AVqtf.js +1 -0
  449. package/client-dist/assets/chunk-2Q5K7J3B-ikUS9MZO.js +1 -0
  450. package/client-dist/assets/chunk-5VM5RSS4-DqxRtuTQ.js +15 -0
  451. package/client-dist/assets/chunk-F27PBJKO-DQAhMVEw.js +1 -0
  452. package/client-dist/assets/chunk-IMKFNOWR-B2QXI9W-.js +231 -0
  453. package/client-dist/assets/chunk-JWPE2WC7-Px4jgxzE.js +1 -0
  454. package/client-dist/assets/chunk-POPQ4Y6H-BTrXHY42.js +1 -0
  455. package/client-dist/assets/chunk-SVP7TREG-DufcbLSM.js +88 -0
  456. package/client-dist/assets/chunk-TICWLB2K-C6xArrXi.js +206 -0
  457. package/client-dist/assets/chunk-XXDRQBXY-CtTuQMK6.js +1 -0
  458. package/client-dist/assets/classDiagram-ZZMXUADV-DkRr8VcO.js +1 -0
  459. package/client-dist/assets/classDiagram-v2-VYDZK3BY-DkRr8VcO.js +1 -0
  460. package/client-dist/assets/client-sN_tbfxh.js +11 -0
  461. package/client-dist/assets/compactSettingsControls-BjKplkgf.js +1 -0
  462. package/client-dist/assets/cose-bilkent-JH36ORCC-Cn15YJGj.js +1 -0
  463. package/client-dist/assets/cynefin-OW5HDTMX-CJkFJ0DX.js +178 -0
  464. package/client-dist/assets/cynefinDiagram-5FMLGOSQ-CVX2L_eF.js +62 -0
  465. package/client-dist/assets/cytoscape.esm-Ix0LnXOy.js +331 -0
  466. package/client-dist/assets/dagre-GXQ25YYZ-BMbYVbaU.js +4 -0
  467. package/client-dist/assets/defaultLocale-DX6XiGOO.js +1 -0
  468. package/client-dist/assets/diagram-S7CK7UJ4-DTZ_P_Fh.js +30 -0
  469. package/client-dist/assets/diagram-UQ7AKVKN-C6cgxro0.js +41 -0
  470. package/client-dist/assets/diagram-VSXAHHWV-MzNPAr2n.js +3 -0
  471. package/client-dist/assets/diagram-VX7I27RA-BZN6iloV.js +24 -0
  472. package/client-dist/assets/diagram-Z3DM3KII-CtTiorxp.js +24 -0
  473. package/client-dist/assets/ebnfDiagram-PWID7BFC-B28XYdqt.js +1 -0
  474. package/client-dist/assets/erDiagram-RLTQ6QDP-DlMmHWyy.js +99 -0
  475. package/client-dist/assets/flowDiagram-HODETNUW-C5mVciwL.js +168 -0
  476. package/client-dist/assets/frontendReload-DT6MOpjg.js +1 -0
  477. package/client-dist/assets/ganttDiagram-EL5Y4UJY-BTl7ZRTR.js +292 -0
  478. package/client-dist/assets/gitGraphDiagram-WWUBYQGX-BsG6KEKe.js +106 -0
  479. package/client-dist/assets/hostStorage-BoEdRarg.js +1 -0
  480. package/client-dist/assets/index-BBpZzMBa.js +2 -0
  481. package/client-dist/assets/index-BUrcmRdN.js +76 -0
  482. package/client-dist/assets/index-CA-BRFYh.js +1 -0
  483. package/client-dist/assets/index-CkZXrIi5.js +1 -0
  484. package/client-dist/assets/index-D7q51uJV.js +1 -0
  485. package/client-dist/assets/index-DSCeK5xV.css +1 -0
  486. package/client-dist/assets/index-wA2zlxt-.css +1 -0
  487. package/client-dist/assets/infoDiagram-27XIBGKW-CkZcthz-.js +2 -0
  488. package/client-dist/assets/init-Gi6I4Gst.js +1 -0
  489. package/client-dist/assets/ishikawaDiagram-5VMMS53U-Cvqitz5U.js +70 -0
  490. package/client-dist/assets/journeyDiagram-3NMN7TZE-vCw00Cqy.js +139 -0
  491. package/client-dist/assets/kanban-definition-UXKFOSKX-BZGCo-wX.js +89 -0
  492. package/client-dist/assets/katex-C5jXJg4s.js +257 -0
  493. package/client-dist/assets/katex-Dv2p4YRM.js +257 -0
  494. package/client-dist/assets/layout-D7JRfual.js +1 -0
  495. package/client-dist/assets/linear-O9cHRsA5.js +1 -0
  496. package/client-dist/assets/long-context-effort-warning-BGls6uvf.js +1 -0
  497. package/client-dist/assets/mermaid.core-CdC8AeOx.js +312 -0
  498. package/client-dist/assets/mindmap-definition-YA3MSWOX-CczC57z0.js +96 -0
  499. package/client-dist/assets/newSessionDefaults-C6a9Cpc6.js +1 -0
  500. package/client-dist/assets/newSessionPrefill-DkkSfnYR.js +1 -0
  501. package/client-dist/assets/ordinal-Cboi1Yqb.js +1 -0
  502. package/client-dist/assets/pegDiagram-XKGWAZYB-jTm4iBWK.js +1 -0
  503. package/client-dist/assets/pieDiagram-E7YTZNPT-DfkDPuJg.js +39 -0
  504. package/client-dist/assets/postCompactReplay-D6HuoQK2.js +1 -0
  505. package/client-dist/assets/providerChildSessions-ClrSXOQr.js +80 -0
  506. package/client-dist/assets/providerChildSessions-D2O1SLei.css +1 -0
  507. package/client-dist/assets/quadrantDiagram-AXDQQJYC--bBZSIt1.js +7 -0
  508. package/client-dist/assets/railroadDiagram-O6MQD6OU-gbkMdGN6.js +1 -0
  509. package/client-dist/assets/{react-runtime-Dw4bUKEF.js → react-runtime-D-UPQ57m.js} +1 -1
  510. package/client-dist/assets/recentProjectPathLinks-Ba20jx5b.js +2 -0
  511. package/client-dist/assets/registerServiceWorker-CGxgV4Yi.js +1 -0
  512. package/client-dist/assets/relay-url-j3kYm5KO.js +1 -0
  513. package/client-dist/assets/relayEndpoints-0oIbn4eU.js +1 -0
  514. package/client-dist/assets/remoteRoutePaths-CiDZeM2I.js +1 -0
  515. package/client-dist/assets/requirementDiagram-BXWQKSXE-WfLCTewk.js +84 -0
  516. package/client-dist/assets/sankeyDiagram-P5KCCOFB-BhJkx_M1.js +40 -0
  517. package/client-dist/assets/sequenceDiagram-WJ2MYXX4-_S-ZN-hK.js +162 -0
  518. package/client-dist/assets/sessionHistorySearch.worker-BGlVvPYq.js +60 -0
  519. package/client-dist/assets/sessionNavigationState-DKXD1sTS.js +1 -0
  520. package/client-dist/assets/sizeCapture-INFHLROL-YfaR_7-Y.js +1 -0
  521. package/client-dist/assets/sourceControlNavigationState-lyZ29oaF.js +1 -0
  522. package/client-dist/assets/speech-vocabulary-CxfxZ-1r.js +3 -0
  523. package/client-dist/assets/speechDraftTransaction-zyWVCYTF.js +1 -0
  524. package/client-dist/assets/stateDiagram-D77RDMKH-_N9FdD6m.js +1 -0
  525. package/client-dist/assets/stateDiagram-v2-MP3YSRHH-CBvcZngO.js +1 -0
  526. package/client-dist/assets/swimlanes-42K2YHIH-DUl5jFZz.js +1 -0
  527. package/client-dist/assets/swimlanesDiagram-VR7AAH4N-DKVyQBDp.js +8 -0
  528. package/client-dist/assets/timeline-definition-24CTP7MA-DtYzRl63.js +120 -0
  529. package/client-dist/assets/{types-Cm98CR-a.js → types-BHkriVjU.js} +1 -1
  530. package/client-dist/assets/useAcliCommentarySetting-DxndlmkH.js +9 -0
  531. package/client-dist/assets/useActivityBusState-CINl9yjP.js +1 -0
  532. package/client-dist/assets/useBackgroundRevalidation-CULom4_W.js +1 -0
  533. package/client-dist/assets/useCodexUpdateStatus-BIDehnvt.js +1 -0
  534. package/client-dist/assets/useConnectedDevices-kBo43kbz.js +1 -0
  535. package/client-dist/assets/useDocumentTitle-C06qawRj.js +1 -0
  536. package/client-dist/assets/useEmulators-Bz8194e3.js +1 -0
  537. package/client-dist/assets/useFileActivity-CwkGwsQt.js +1 -0
  538. package/client-dist/assets/{useFloatingActionButtonEnabled-BLm3ZEmC.js → useFloatingActionButtonEnabled-C31rfHtR.js} +1 -1
  539. package/client-dist/assets/useForkSummaryAutoOpen-D_SvtmbE.js +1 -0
  540. package/client-dist/assets/useGeneratedTitleLength-Cu-SoQ6T.js +1 -0
  541. package/client-dist/assets/{useKeepMobileKeyboardOpenAfterDelivery-wA-2oCPX.js → useKeepMobileKeyboardOpenAfterDelivery-C-cYLaEU.js} +1 -1
  542. package/client-dist/assets/useModelSettings-DoDJRymT.js +1 -0
  543. package/client-dist/assets/useNotifyInApp-BcLZ8ie_.js +1 -0
  544. package/client-dist/assets/useOnboarding-9aedi8mm.css +1 -0
  545. package/client-dist/assets/useOnboarding-CYgE-Xsg.js +3 -0
  546. package/client-dist/assets/useProviders-C6kBPWYX.js +1 -0
  547. package/client-dist/assets/useQuestionAsideSetting-6Excl6Pm.js +1 -0
  548. package/client-dist/assets/useRecentSessions-CsmsGemq.js +2 -0
  549. package/client-dist/assets/useRecentSessions-DKlY930T.css +1 -0
  550. package/client-dist/assets/{useRelativeNow-DOLyQglQ.js → useRelativeNow-BdLaPgKO.js} +1 -1
  551. package/client-dist/assets/useReloadNotifications-B0egr2ys.js +1 -0
  552. package/client-dist/assets/useRemoteExecutors-Bgjgzif1.js +1 -0
  553. package/client-dist/assets/useSidebarWidth-ut6NNk5Y.js +1 -0
  554. package/client-dist/assets/useSourceControlCleanLanding-DxrwogwF.js +1 -0
  555. package/client-dist/assets/useStableToolPreviewRendering-CcrkchTG.js +1 -0
  556. package/client-dist/assets/useStreamingEnabled-EdvW04Vz.js +1 -0
  557. package/client-dist/assets/useTabTitleActivityPreference-B0suFUHK.js +1 -0
  558. package/client-dist/assets/useVhostAccess-2ZKr0Lcl.js +1 -0
  559. package/client-dist/assets/useWorkflowTags-_4F_41YI.js +1 -0
  560. package/client-dist/assets/vennDiagram-4TSXK5OY-26XZDUe6.js +34 -0
  561. package/client-dist/assets/wardleyDiagram-VM6X3IG4-YvZ37BJ7.js +78 -0
  562. package/client-dist/assets/xychartDiagram-S5SC5T6Z-BMT0MEGz.js +7 -0
  563. package/client-dist/assets/zh-CN-FVXKSeP_.js +7 -0
  564. package/client-dist/index.html +4 -4
  565. package/dist/agent-tools/cli.d.ts +2 -0
  566. package/dist/agent-tools/cli.d.ts.map +1 -0
  567. package/dist/agent-tools/cli.js +112 -0
  568. package/dist/agent-tools/cli.js.map +1 -0
  569. package/dist/agent-tools/protocol.d.ts +47 -0
  570. package/dist/agent-tools/protocol.d.ts.map +1 -0
  571. package/dist/agent-tools/protocol.js +58 -0
  572. package/dist/agent-tools/protocol.js.map +1 -0
  573. package/dist/agent-tools/service.d.ts +9 -0
  574. package/dist/agent-tools/service.d.ts.map +1 -0
  575. package/dist/agent-tools/service.js +145 -0
  576. package/dist/agent-tools/service.js.map +1 -0
  577. package/dist/app.d.ts +46 -2
  578. package/dist/app.d.ts.map +1 -1
  579. package/dist/app.js +489 -19
  580. package/dist/app.js.map +1 -1
  581. package/dist/artifacts/ArtifactServer.d.ts +56 -0
  582. package/dist/artifacts/ArtifactServer.d.ts.map +1 -0
  583. package/dist/artifacts/ArtifactServer.js +406 -0
  584. package/dist/artifacts/ArtifactServer.js.map +1 -0
  585. package/dist/artifacts/GrantStore.d.ts +100 -0
  586. package/dist/artifacts/GrantStore.d.ts.map +1 -0
  587. package/dist/artifacts/GrantStore.js +249 -0
  588. package/dist/artifacts/GrantStore.js.map +1 -0
  589. package/dist/artifacts/VhostAccess.d.ts +21 -0
  590. package/dist/artifacts/VhostAccess.d.ts.map +1 -0
  591. package/dist/artifacts/VhostAccess.js +131 -0
  592. package/dist/artifacts/VhostAccess.js.map +1 -0
  593. package/dist/artifacts/VhostAppControl.d.ts +14 -0
  594. package/dist/artifacts/VhostAppControl.d.ts.map +1 -0
  595. package/dist/artifacts/VhostAppControl.js +54 -0
  596. package/dist/artifacts/VhostAppControl.js.map +1 -0
  597. package/dist/artifacts/agentEnvironment.d.ts +12 -0
  598. package/dist/artifacts/agentEnvironment.d.ts.map +1 -0
  599. package/dist/artifacts/agentEnvironment.js +37 -0
  600. package/dist/artifacts/agentEnvironment.js.map +1 -0
  601. package/dist/artifacts/config.d.ts +23 -0
  602. package/dist/artifacts/config.d.ts.map +1 -0
  603. package/dist/artifacts/config.js +102 -0
  604. package/dist/artifacts/config.js.map +1 -0
  605. package/dist/artifacts/vhost-proxy.d.ts +7 -0
  606. package/dist/artifacts/vhost-proxy.d.ts.map +1 -0
  607. package/dist/artifacts/vhost-proxy.js +92 -0
  608. package/dist/artifacts/vhost-proxy.js.map +1 -0
  609. package/dist/artifacts/vhosts.d.ts +24 -0
  610. package/dist/artifacts/vhosts.d.ts.map +1 -0
  611. package/dist/artifacts/vhosts.js +144 -0
  612. package/dist/artifacts/vhosts.js.map +1 -0
  613. package/dist/augments/augment-generator.d.ts +1 -1
  614. package/dist/augments/augment-generator.d.ts.map +1 -1
  615. package/dist/augments/augment-generator.js +45 -23
  616. package/dist/augments/augment-generator.js.map +1 -1
  617. package/dist/augments/block-detector.d.ts.map +1 -1
  618. package/dist/augments/block-detector.js +29 -9
  619. package/dist/augments/block-detector.js.map +1 -1
  620. package/dist/augments/code-language.d.ts +13 -0
  621. package/dist/augments/code-language.d.ts.map +1 -0
  622. package/dist/augments/code-language.js +26 -0
  623. package/dist/augments/code-language.js.map +1 -0
  624. package/dist/augments/finalized-message-augmenter.d.ts +3 -2
  625. package/dist/augments/finalized-message-augmenter.d.ts.map +1 -1
  626. package/dist/augments/finalized-message-augmenter.js +3 -2
  627. package/dist/augments/finalized-message-augmenter.js.map +1 -1
  628. package/dist/augments/markdown-augments.d.ts.map +1 -1
  629. package/dist/augments/markdown-augments.js +1 -0
  630. package/dist/augments/markdown-augments.js.map +1 -1
  631. package/dist/augments/safe-markdown.d.ts +13 -1
  632. package/dist/augments/safe-markdown.d.ts.map +1 -1
  633. package/dist/augments/safe-markdown.js +33 -3
  634. package/dist/augments/safe-markdown.js.map +1 -1
  635. package/dist/auth/AuthService.d.ts +12 -1
  636. package/dist/auth/AuthService.d.ts.map +1 -1
  637. package/dist/auth/AuthService.js +17 -1
  638. package/dist/auth/AuthService.js.map +1 -1
  639. package/dist/auth/LimitedUsersService.d.ts +73 -0
  640. package/dist/auth/LimitedUsersService.d.ts.map +1 -0
  641. package/dist/auth/LimitedUsersService.js +284 -0
  642. package/dist/auth/LimitedUsersService.js.map +1 -0
  643. package/dist/auth/SessionTokenUsageRecorder.d.ts +53 -0
  644. package/dist/auth/SessionTokenUsageRecorder.d.ts.map +1 -0
  645. package/dist/auth/SessionTokenUsageRecorder.js +101 -0
  646. package/dist/auth/SessionTokenUsageRecorder.js.map +1 -0
  647. package/dist/auth/UserUsageService.d.ts +63 -0
  648. package/dist/auth/UserUsageService.d.ts.map +1 -0
  649. package/dist/auth/UserUsageService.js +161 -0
  650. package/dist/auth/UserUsageService.js.map +1 -0
  651. package/dist/auth/limitedUserPolicy.d.ts +60 -0
  652. package/dist/auth/limitedUserPolicy.d.ts.map +1 -0
  653. package/dist/auth/limitedUserPolicy.js +284 -0
  654. package/dist/auth/limitedUserPolicy.js.map +1 -0
  655. package/dist/auth/principal.d.ts +42 -0
  656. package/dist/auth/principal.d.ts.map +1 -0
  657. package/dist/auth/principal.js +50 -0
  658. package/dist/auth/principal.js.map +1 -0
  659. package/dist/auth/routes.d.ts +12 -0
  660. package/dist/auth/routes.d.ts.map +1 -1
  661. package/dist/auth/routes.js +31 -4
  662. package/dist/auth/routes.js.map +1 -1
  663. package/dist/auth/sessionAccess.d.ts +54 -0
  664. package/dist/auth/sessionAccess.d.ts.map +1 -0
  665. package/dist/auth/sessionAccess.js +98 -0
  666. package/dist/auth/sessionAccess.js.map +1 -0
  667. package/dist/cli.d.ts +1 -1
  668. package/dist/cli.d.ts.map +1 -1
  669. package/dist/cli.js +18 -27
  670. package/dist/cli.js.map +1 -1
  671. package/dist/codex/normalization.d.ts +8 -0
  672. package/dist/codex/normalization.d.ts.map +1 -1
  673. package/dist/codex/normalization.js +9 -1
  674. package/dist/codex/normalization.js.map +1 -1
  675. package/dist/computer-control/contract.d.ts +75 -0
  676. package/dist/computer-control/contract.d.ts.map +1 -0
  677. package/dist/computer-control/contract.js +89 -0
  678. package/dist/computer-control/contract.js.map +1 -0
  679. package/dist/computer-control/job-launcher.d.ts +3 -0
  680. package/dist/computer-control/job-launcher.d.ts.map +1 -0
  681. package/dist/computer-control/job-launcher.js +48 -0
  682. package/dist/computer-control/job-launcher.js.map +1 -0
  683. package/dist/computer-control/native.d.ts +29 -0
  684. package/dist/computer-control/native.d.ts.map +1 -0
  685. package/dist/computer-control/native.js +267 -0
  686. package/dist/computer-control/native.js.map +1 -0
  687. package/dist/computer-control/pipe.d.ts +7 -0
  688. package/dist/computer-control/pipe.d.ts.map +1 -0
  689. package/dist/computer-control/pipe.js +77 -0
  690. package/dist/computer-control/pipe.js.map +1 -0
  691. package/dist/computer-control/releases.d.ts +44 -0
  692. package/dist/computer-control/releases.d.ts.map +1 -0
  693. package/dist/computer-control/releases.js +194 -0
  694. package/dist/computer-control/releases.js.map +1 -0
  695. package/dist/computer-control/service.d.ts +201 -0
  696. package/dist/computer-control/service.d.ts.map +1 -0
  697. package/dist/computer-control/service.js +574 -0
  698. package/dist/computer-control/service.js.map +1 -0
  699. package/dist/config.d.ts +19 -4
  700. package/dist/config.d.ts.map +1 -1
  701. package/dist/config.js +17 -1
  702. package/dist/config.js.map +1 -1
  703. package/dist/defaults.d.ts.map +1 -1
  704. package/dist/defaults.js +4 -1
  705. package/dist/defaults.js.map +1 -1
  706. package/dist/device/adb.d.ts +1 -1
  707. package/dist/device/adb.d.ts.map +1 -1
  708. package/dist/device/adb.js +11 -9
  709. package/dist/device/adb.js.map +1 -1
  710. package/dist/envSettings.d.ts.map +1 -1
  711. package/dist/envSettings.js +33 -3
  712. package/dist/envSettings.js.map +1 -1
  713. package/dist/experimental/conversation-groups.d.ts +13 -0
  714. package/dist/experimental/conversation-groups.d.ts.map +1 -0
  715. package/dist/experimental/conversation-groups.js +386 -0
  716. package/dist/experimental/conversation-groups.js.map +1 -0
  717. package/dist/experimental/conversation-projection.d.ts +39 -0
  718. package/dist/experimental/conversation-projection.d.ts.map +1 -0
  719. package/dist/experimental/conversation-projection.js +224 -0
  720. package/dist/experimental/conversation-projection.js.map +1 -0
  721. package/dist/experimental/conversation-reader.d.ts +15 -0
  722. package/dist/experimental/conversation-reader.d.ts.map +1 -0
  723. package/dist/experimental/conversation-reader.js +95 -0
  724. package/dist/experimental/conversation-reader.js.map +1 -0
  725. package/dist/experimental/conversation-relay.d.ts +4 -0
  726. package/dist/experimental/conversation-relay.d.ts.map +1 -0
  727. package/dist/experimental/conversation-relay.js +64 -0
  728. package/dist/experimental/conversation-relay.js.map +1 -0
  729. package/dist/experimental/conversation-source.d.ts +15 -0
  730. package/dist/experimental/conversation-source.d.ts.map +1 -0
  731. package/dist/experimental/conversation-source.js +233 -0
  732. package/dist/experimental/conversation-source.js.map +1 -0
  733. package/dist/experimental/conversation-subscriptions.d.ts +46 -0
  734. package/dist/experimental/conversation-subscriptions.d.ts.map +1 -0
  735. package/dist/experimental/conversation-subscriptions.js +230 -0
  736. package/dist/experimental/conversation-subscriptions.js.map +1 -0
  737. package/dist/frontend/proxy.d.ts.map +1 -1
  738. package/dist/frontend/proxy.js +6 -0
  739. package/dist/frontend/proxy.js.map +1 -1
  740. package/dist/frontend/static.d.ts.map +1 -1
  741. package/dist/frontend/static.js +3 -1
  742. package/dist/frontend/static.js.map +1 -1
  743. package/dist/git/gitExec.d.ts +2 -0
  744. package/dist/git/gitExec.d.ts.map +1 -1
  745. package/dist/git/gitExec.js +22 -6
  746. package/dist/git/gitExec.js.map +1 -1
  747. package/dist/git/locallyExcluded.d.ts +16 -0
  748. package/dist/git/locallyExcluded.d.ts.map +1 -0
  749. package/dist/git/locallyExcluded.js +94 -0
  750. package/dist/git/locallyExcluded.js.map +1 -0
  751. package/dist/index.d.ts +1 -1
  752. package/dist/index.d.ts.map +1 -1
  753. package/dist/index.js +4 -1391
  754. package/dist/index.js.map +1 -1
  755. package/dist/indexes/SessionIndexService.d.ts +5 -2
  756. package/dist/indexes/SessionIndexService.d.ts.map +1 -1
  757. package/dist/indexes/SessionIndexService.js +44 -16
  758. package/dist/indexes/SessionIndexService.js.map +1 -1
  759. package/dist/indexes/types.d.ts +9 -1
  760. package/dist/indexes/types.d.ts.map +1 -1
  761. package/dist/lib/filesystemKind.d.ts +36 -0
  762. package/dist/lib/filesystemKind.d.ts.map +1 -0
  763. package/dist/lib/filesystemKind.js +47 -0
  764. package/dist/lib/filesystemKind.js.map +1 -0
  765. package/dist/lib/scratchSpace.d.ts +20 -0
  766. package/dist/lib/scratchSpace.d.ts.map +1 -0
  767. package/dist/lib/scratchSpace.js +48 -0
  768. package/dist/lib/scratchSpace.js.map +1 -0
  769. package/dist/logging/index.d.ts +1 -0
  770. package/dist/logging/index.d.ts.map +1 -1
  771. package/dist/logging/index.js +1 -0
  772. package/dist/logging/index.js.map +1 -1
  773. package/dist/logging/resource-sample.d.ts +41 -0
  774. package/dist/logging/resource-sample.d.ts.map +1 -0
  775. package/dist/logging/resource-sample.js +106 -0
  776. package/dist/logging/resource-sample.js.map +1 -0
  777. package/dist/logging/stall-recording.d.ts +11 -0
  778. package/dist/logging/stall-recording.d.ts.map +1 -0
  779. package/dist/logging/stall-recording.js +114 -0
  780. package/dist/logging/stall-recording.js.map +1 -0
  781. package/dist/metadata/ProjectMetadataService.d.ts +33 -1
  782. package/dist/metadata/ProjectMetadataService.d.ts.map +1 -1
  783. package/dist/metadata/ProjectMetadataService.js +95 -1
  784. package/dist/metadata/ProjectMetadataService.js.map +1 -1
  785. package/dist/metadata/SessionMetadataService.d.ts +90 -2
  786. package/dist/metadata/SessionMetadataService.d.ts.map +1 -1
  787. package/dist/metadata/SessionMetadataService.js +229 -19
  788. package/dist/metadata/SessionMetadataService.js.map +1 -1
  789. package/dist/middleware/allowed-hosts.d.ts +6 -0
  790. package/dist/middleware/allowed-hosts.d.ts.map +1 -1
  791. package/dist/middleware/allowed-hosts.js +60 -0
  792. package/dist/middleware/allowed-hosts.js.map +1 -1
  793. package/dist/middleware/limited-users.d.ts +31 -0
  794. package/dist/middleware/limited-users.d.ts.map +1 -0
  795. package/dist/middleware/limited-users.js +228 -0
  796. package/dist/middleware/limited-users.js.map +1 -0
  797. package/dist/middleware/security.d.ts.map +1 -1
  798. package/dist/middleware/security.js +1 -5
  799. package/dist/middleware/security.js.map +1 -1
  800. package/dist/projects/TemplateSourceService.d.ts +45 -0
  801. package/dist/projects/TemplateSourceService.d.ts.map +1 -0
  802. package/dist/projects/TemplateSourceService.js +387 -0
  803. package/dist/projects/TemplateSourceService.js.map +1 -0
  804. package/dist/projects/gemini-project-map.d.ts +2 -1
  805. package/dist/projects/gemini-project-map.d.ts.map +1 -1
  806. package/dist/projects/gemini-project-map.js +24 -3
  807. package/dist/projects/gemini-project-map.js.map +1 -1
  808. package/dist/projects/projectCaption.d.ts +24 -0
  809. package/dist/projects/projectCaption.d.ts.map +1 -0
  810. package/dist/projects/projectCaption.js +252 -0
  811. package/dist/projects/projectCaption.js.map +1 -0
  812. package/dist/projects/projectFileChanges.d.ts +4 -0
  813. package/dist/projects/projectFileChanges.d.ts.map +1 -0
  814. package/dist/projects/projectFileChanges.js +17 -0
  815. package/dist/projects/projectFileChanges.js.map +1 -0
  816. package/dist/projects/projectGlossarySubscriptionManager.d.ts +1 -1
  817. package/dist/projects/projectGlossarySubscriptionManager.d.ts.map +1 -1
  818. package/dist/projects/projectGlossarySubscriptionManager.js +2 -2
  819. package/dist/projects/projectGlossarySubscriptionManager.js.map +1 -1
  820. package/dist/projects/projectPathIndex.d.ts.map +1 -1
  821. package/dist/projects/projectPathIndex.js +4 -2
  822. package/dist/projects/projectPathIndex.js.map +1 -1
  823. package/dist/projects/projectStoragePolicy.d.ts.map +1 -1
  824. package/dist/projects/projectStoragePolicy.js +1 -9
  825. package/dist/projects/projectStoragePolicy.js.map +1 -1
  826. package/dist/projects/projectWorktreeScan.d.ts.map +1 -1
  827. package/dist/projects/projectWorktreeScan.js +2 -5
  828. package/dist/projects/projectWorktreeScan.js.map +1 -1
  829. package/dist/projects/projectWorktreeSubscriptionManager.d.ts +3 -1
  830. package/dist/projects/projectWorktreeSubscriptionManager.d.ts.map +1 -1
  831. package/dist/projects/projectWorktreeSubscriptionManager.js +8 -8
  832. package/dist/projects/projectWorktreeSubscriptionManager.js.map +1 -1
  833. package/dist/projects/scanner.d.ts +7 -1
  834. package/dist/projects/scanner.d.ts.map +1 -1
  835. package/dist/projects/scanner.js +40 -3
  836. package/dist/projects/scanner.js.map +1 -1
  837. package/dist/projects/template-library.d.ts +70 -0
  838. package/dist/projects/template-library.d.ts.map +1 -0
  839. package/dist/projects/template-library.js +313 -0
  840. package/dist/projects/template-library.js.map +1 -0
  841. package/dist/push/InactivityPushNotifier.d.ts.map +1 -1
  842. package/dist/push/InactivityPushNotifier.js +10 -2
  843. package/dist/push/InactivityPushNotifier.js.map +1 -1
  844. package/dist/push/PushNotifier.d.ts +9 -3
  845. package/dist/push/PushNotifier.d.ts.map +1 -1
  846. package/dist/push/PushNotifier.js +61 -16
  847. package/dist/push/PushNotifier.js.map +1 -1
  848. package/dist/review/ReviewCaptureService.d.ts.map +1 -1
  849. package/dist/review/ReviewCaptureService.js +2 -7
  850. package/dist/review/ReviewCaptureService.js.map +1 -1
  851. package/dist/review/ReviewCommentService.d.ts.map +1 -1
  852. package/dist/review/ReviewCommentService.js +3 -14
  853. package/dist/review/ReviewCommentService.js.map +1 -1
  854. package/dist/routes/artifacts.d.ts +11 -0
  855. package/dist/routes/artifacts.d.ts.map +1 -0
  856. package/dist/routes/artifacts.js +79 -0
  857. package/dist/routes/artifacts.js.map +1 -0
  858. package/dist/routes/client-logs.d.ts.map +1 -1
  859. package/dist/routes/client-logs.js.map +1 -1
  860. package/dist/routes/computer-control-releases.d.ts +5 -0
  861. package/dist/routes/computer-control-releases.d.ts.map +1 -0
  862. package/dist/routes/computer-control-releases.js +28 -0
  863. package/dist/routes/computer-control-releases.js.map +1 -0
  864. package/dist/routes/computer-control.d.ts +5 -0
  865. package/dist/routes/computer-control.d.ts.map +1 -0
  866. package/dist/routes/computer-control.js +48 -0
  867. package/dist/routes/computer-control.js.map +1 -0
  868. package/dist/routes/conversation-context.d.ts +6 -0
  869. package/dist/routes/conversation-context.d.ts.map +1 -0
  870. package/dist/routes/conversation-context.js +86 -0
  871. package/dist/routes/conversation-context.js.map +1 -0
  872. package/dist/routes/experimental-conversation.d.ts +10 -0
  873. package/dist/routes/experimental-conversation.d.ts.map +1 -0
  874. package/dist/routes/experimental-conversation.js +136 -0
  875. package/dist/routes/experimental-conversation.js.map +1 -0
  876. package/dist/routes/files.d.ts.map +1 -1
  877. package/dist/routes/files.js +1 -10
  878. package/dist/routes/files.js.map +1 -1
  879. package/dist/routes/git-working-tree-files.d.ts +3 -1
  880. package/dist/routes/git-working-tree-files.d.ts.map +1 -1
  881. package/dist/routes/git-working-tree-files.js +9 -6
  882. package/dist/routes/git-working-tree-files.js.map +1 -1
  883. package/dist/routes/global-sessions.d.ts +17 -6
  884. package/dist/routes/global-sessions.d.ts.map +1 -1
  885. package/dist/routes/global-sessions.js +71 -74
  886. package/dist/routes/global-sessions.js.map +1 -1
  887. package/dist/routes/inbox.d.ts +8 -2
  888. package/dist/routes/inbox.d.ts.map +1 -1
  889. package/dist/routes/inbox.js +50 -33
  890. package/dist/routes/inbox.js.map +1 -1
  891. package/dist/routes/issues.d.ts +17 -0
  892. package/dist/routes/issues.d.ts.map +1 -0
  893. package/dist/routes/issues.js +279 -0
  894. package/dist/routes/issues.js.map +1 -0
  895. package/dist/routes/limited-session-launch.d.ts +43 -0
  896. package/dist/routes/limited-session-launch.d.ts.map +1 -0
  897. package/dist/routes/limited-session-launch.js +76 -0
  898. package/dist/routes/limited-session-launch.js.map +1 -0
  899. package/dist/routes/processes.d.ts.map +1 -1
  900. package/dist/routes/processes.js +5 -0
  901. package/dist/routes/processes.js.map +1 -1
  902. package/dist/routes/project-creation.d.ts +52 -0
  903. package/dist/routes/project-creation.d.ts.map +1 -0
  904. package/dist/routes/project-creation.js +165 -0
  905. package/dist/routes/project-creation.js.map +1 -0
  906. package/dist/routes/project-file-completion.d.ts +9 -0
  907. package/dist/routes/project-file-completion.d.ts.map +1 -0
  908. package/dist/routes/project-file-completion.js +29 -0
  909. package/dist/routes/project-file-completion.js.map +1 -0
  910. package/dist/routes/project-queue-response.d.ts.map +1 -1
  911. package/dist/routes/project-queue-response.js +58 -1
  912. package/dist/routes/project-queue-response.js.map +1 -1
  913. package/dist/routes/project-template-source.d.ts +7 -0
  914. package/dist/routes/project-template-source.d.ts.map +1 -0
  915. package/dist/routes/project-template-source.js +37 -0
  916. package/dist/routes/project-template-source.js.map +1 -0
  917. package/dist/routes/projects.d.ts.map +1 -1
  918. package/dist/routes/projects.js +207 -50
  919. package/dist/routes/projects.js.map +1 -1
  920. package/dist/routes/providers.d.ts.map +1 -1
  921. package/dist/routes/providers.js +2 -0
  922. package/dist/routes/providers.js.map +1 -1
  923. package/dist/routes/public-shares.d.ts.map +1 -1
  924. package/dist/routes/public-shares.js +50 -7
  925. package/dist/routes/public-shares.js.map +1 -1
  926. package/dist/routes/retained-session-collections.d.ts +18 -0
  927. package/dist/routes/retained-session-collections.d.ts.map +1 -0
  928. package/dist/routes/retained-session-collections.js +109 -0
  929. package/dist/routes/retained-session-collections.js.map +1 -0
  930. package/dist/routes/session-content-search.d.ts +5 -0
  931. package/dist/routes/session-content-search.d.ts.map +1 -0
  932. package/dist/routes/session-content-search.js +194 -0
  933. package/dist/routes/session-content-search.js.map +1 -0
  934. package/dist/routes/session-queue-summaries.d.ts +2 -0
  935. package/dist/routes/session-queue-summaries.d.ts.map +1 -1
  936. package/dist/routes/session-queue-summaries.js +21 -1
  937. package/dist/routes/session-queue-summaries.js.map +1 -1
  938. package/dist/routes/session-recovered-queue.d.ts +1 -1
  939. package/dist/routes/session-request-helpers.d.ts +3 -1
  940. package/dist/routes/session-request-helpers.d.ts.map +1 -1
  941. package/dist/routes/session-request-helpers.js +23 -2
  942. package/dist/routes/session-request-helpers.js.map +1 -1
  943. package/dist/routes/sessions.d.ts +12 -2
  944. package/dist/routes/sessions.d.ts.map +1 -1
  945. package/dist/routes/sessions.js +879 -119
  946. package/dist/routes/sessions.js.map +1 -1
  947. package/dist/routes/settings.d.ts +8 -2
  948. package/dist/routes/settings.d.ts.map +1 -1
  949. package/dist/routes/settings.js +199 -6
  950. package/dist/routes/settings.js.map +1 -1
  951. package/dist/routes/speech-vocabulary.d.ts +4 -0
  952. package/dist/routes/speech-vocabulary.d.ts.map +1 -0
  953. package/dist/routes/speech-vocabulary.js +62 -0
  954. package/dist/routes/speech-vocabulary.js.map +1 -0
  955. package/dist/routes/speech.d.ts +5 -0
  956. package/dist/routes/speech.d.ts.map +1 -1
  957. package/dist/routes/speech.js +195 -306
  958. package/dist/routes/speech.js.map +1 -1
  959. package/dist/routes/tool-commentary.d.ts +8 -0
  960. package/dist/routes/tool-commentary.d.ts.map +1 -0
  961. package/dist/routes/tool-commentary.js +56 -0
  962. package/dist/routes/tool-commentary.js.map +1 -0
  963. package/dist/routes/users.d.ts +24 -0
  964. package/dist/routes/users.d.ts.map +1 -0
  965. package/dist/routes/users.js +222 -0
  966. package/dist/routes/users.js.map +1 -0
  967. package/dist/routes/version.d.ts +21 -1
  968. package/dist/routes/version.d.ts.map +1 -1
  969. package/dist/routes/version.js +47 -1
  970. package/dist/routes/version.js.map +1 -1
  971. package/dist/routes/vhostAccess.d.ts +4 -0
  972. package/dist/routes/vhostAccess.d.ts.map +1 -0
  973. package/dist/routes/vhostAccess.js +22 -0
  974. package/dist/routes/vhostAccess.js.map +1 -0
  975. package/dist/routes/vhostApps.d.ts +4 -0
  976. package/dist/routes/vhostApps.d.ts.map +1 -0
  977. package/dist/routes/vhostApps.js +26 -0
  978. package/dist/routes/vhostApps.js.map +1 -0
  979. package/dist/routes/ws-relay-handlers.d.ts +32 -12
  980. package/dist/routes/ws-relay-handlers.d.ts.map +1 -1
  981. package/dist/routes/ws-relay-handlers.js +56 -6
  982. package/dist/routes/ws-relay-handlers.js.map +1 -1
  983. package/dist/routes/ws-relay.d.ts +12 -0
  984. package/dist/routes/ws-relay.d.ts.map +1 -1
  985. package/dist/routes/ws-relay.js +10 -2
  986. package/dist/routes/ws-relay.js.map +1 -1
  987. package/dist/routes/ws-srp-handlers.d.ts +15 -1
  988. package/dist/routes/ws-srp-handlers.d.ts.map +1 -1
  989. package/dist/routes/ws-srp-handlers.js +37 -7
  990. package/dist/routes/ws-srp-handlers.js.map +1 -1
  991. package/dist/runtimePreflight.d.ts +2 -0
  992. package/dist/runtimePreflight.d.ts.map +1 -0
  993. package/dist/runtimePreflight.js +12 -0
  994. package/dist/runtimePreflight.js.map +1 -0
  995. package/dist/sdk/cli-detection.d.ts +0 -5
  996. package/dist/sdk/cli-detection.d.ts.map +1 -1
  997. package/dist/sdk/cli-detection.js +1 -7
  998. package/dist/sdk/cli-detection.js.map +1 -1
  999. package/dist/sdk/messageQueue.d.ts +7 -3
  1000. package/dist/sdk/messageQueue.d.ts.map +1 -1
  1001. package/dist/sdk/messageQueue.js +22 -1
  1002. package/dist/sdk/messageQueue.js.map +1 -1
  1003. package/dist/sdk/providers/agent-self.d.ts +20 -0
  1004. package/dist/sdk/providers/agent-self.d.ts.map +1 -0
  1005. package/dist/sdk/providers/agent-self.js +178 -0
  1006. package/dist/sdk/providers/agent-self.js.map +1 -0
  1007. package/dist/sdk/providers/agentctl-session-env.d.ts +12 -1
  1008. package/dist/sdk/providers/agentctl-session-env.d.ts.map +1 -1
  1009. package/dist/sdk/providers/agentctl-session-env.js +121 -10
  1010. package/dist/sdk/providers/agentctl-session-env.js.map +1 -1
  1011. package/dist/sdk/providers/claude-gateway-launcher.d.ts +61 -1
  1012. package/dist/sdk/providers/claude-gateway-launcher.d.ts.map +1 -1
  1013. package/dist/sdk/providers/claude-gateway-launcher.js +220 -37
  1014. package/dist/sdk/providers/claude-gateway-launcher.js.map +1 -1
  1015. package/dist/sdk/providers/claude-gateway.d.ts +135 -14
  1016. package/dist/sdk/providers/claude-gateway.d.ts.map +1 -1
  1017. package/dist/sdk/providers/claude-gateway.js +509 -99
  1018. package/dist/sdk/providers/claude-gateway.js.map +1 -1
  1019. package/dist/sdk/providers/claude-goal.d.ts +73 -0
  1020. package/dist/sdk/providers/claude-goal.d.ts.map +1 -0
  1021. package/dist/sdk/providers/claude-goal.js +456 -0
  1022. package/dist/sdk/providers/claude-goal.js.map +1 -0
  1023. package/dist/sdk/providers/claude-turn-effort.d.ts +17 -0
  1024. package/dist/sdk/providers/claude-turn-effort.d.ts.map +1 -0
  1025. package/dist/sdk/providers/claude-turn-effort.js +58 -0
  1026. package/dist/sdk/providers/claude-turn-effort.js.map +1 -0
  1027. package/dist/sdk/providers/claude.d.ts +10 -0
  1028. package/dist/sdk/providers/claude.d.ts.map +1 -1
  1029. package/dist/sdk/providers/claude.js +130 -23
  1030. package/dist/sdk/providers/claude.js.map +1 -1
  1031. package/dist/sdk/providers/codex-oss.d.ts +101 -4
  1032. package/dist/sdk/providers/codex-oss.d.ts.map +1 -1
  1033. package/dist/sdk/providers/codex-oss.js +290 -14
  1034. package/dist/sdk/providers/codex-oss.js.map +1 -1
  1035. package/dist/sdk/providers/codex-protocol/generated/ConfigurationReasoning.d.ts +8 -0
  1036. package/dist/sdk/providers/codex-protocol/generated/ConfigurationReasoning.d.ts.map +1 -0
  1037. package/dist/sdk/providers/codex-protocol/generated/ConfigurationReasoning.js +3 -0
  1038. package/dist/sdk/providers/codex-protocol/generated/ConfigurationReasoning.js.map +1 -0
  1039. package/dist/sdk/providers/codex-protocol/generated/ResponseItem.d.ts +4 -0
  1040. package/dist/sdk/providers/codex-protocol/generated/ResponseItem.d.ts.map +1 -1
  1041. package/dist/sdk/providers/codex-protocol/generated/v2/PermissionsRequestApprovalParams.d.ts +2 -2
  1042. package/dist/sdk/providers/codex-protocol/generated/v2/PermissionsRequestApprovalParams.d.ts.map +1 -1
  1043. package/dist/sdk/providers/codex-protocol/generated/v2/Thread.d.ts +16 -0
  1044. package/dist/sdk/providers/codex-protocol/generated/v2/Thread.d.ts.map +1 -1
  1045. package/dist/sdk/providers/codex-protocol/generated/v2/ThreadEnvironment.d.ts +10 -0
  1046. package/dist/sdk/providers/codex-protocol/generated/v2/ThreadEnvironment.d.ts.map +1 -0
  1047. package/dist/sdk/providers/codex-protocol/generated/v2/ThreadEnvironment.js +3 -0
  1048. package/dist/sdk/providers/codex-protocol/generated/v2/ThreadEnvironment.js.map +1 -0
  1049. package/dist/sdk/providers/codex-protocol/generated/v2/ThreadRevertParams.d.ts +13 -0
  1050. package/dist/sdk/providers/codex-protocol/generated/v2/ThreadRevertParams.d.ts.map +1 -0
  1051. package/dist/sdk/providers/codex-protocol/generated/v2/ThreadRevertParams.js +3 -0
  1052. package/dist/sdk/providers/codex-protocol/generated/v2/ThreadRevertParams.js.map +1 -0
  1053. package/dist/sdk/providers/codex-protocol/generated/v2/ThreadRevertResponse.d.ts +23 -0
  1054. package/dist/sdk/providers/codex-protocol/generated/v2/ThreadRevertResponse.d.ts.map +1 -0
  1055. package/dist/sdk/providers/codex-protocol/generated/v2/ThreadRevertResponse.js +3 -0
  1056. package/dist/sdk/providers/codex-protocol/generated/v2/ThreadRevertResponse.js.map +1 -0
  1057. package/dist/sdk/providers/codex-protocol/generated/v2/ThreadRevertedNotification.d.ts +4 -0
  1058. package/dist/sdk/providers/codex-protocol/generated/v2/ThreadRevertedNotification.d.ts.map +1 -0
  1059. package/dist/sdk/providers/codex-protocol/generated/v2/ThreadRevertedNotification.js +3 -0
  1060. package/dist/sdk/providers/codex-protocol/generated/v2/ThreadRevertedNotification.js.map +1 -0
  1061. package/dist/sdk/providers/codex-protocol/index.d.ts +3 -0
  1062. package/dist/sdk/providers/codex-protocol/index.d.ts.map +1 -1
  1063. package/dist/sdk/providers/codex.d.ts +12 -8
  1064. package/dist/sdk/providers/codex.d.ts.map +1 -1
  1065. package/dist/sdk/providers/codex.js +291 -77
  1066. package/dist/sdk/providers/codex.js.map +1 -1
  1067. package/dist/sdk/providers/env-filter.d.ts.map +1 -1
  1068. package/dist/sdk/providers/env-filter.js +3 -0
  1069. package/dist/sdk/providers/env-filter.js.map +1 -1
  1070. package/dist/sdk/providers/gatewayServiceExport.d.ts +39 -0
  1071. package/dist/sdk/providers/gatewayServiceExport.d.ts.map +1 -0
  1072. package/dist/sdk/providers/gatewayServiceExport.js +177 -0
  1073. package/dist/sdk/providers/gatewayServiceExport.js.map +1 -0
  1074. package/dist/sdk/providers/gatewayServiceUsage.d.ts +13 -0
  1075. package/dist/sdk/providers/gatewayServiceUsage.d.ts.map +1 -0
  1076. package/dist/sdk/providers/gatewayServiceUsage.js +45 -0
  1077. package/dist/sdk/providers/gatewayServiceUsage.js.map +1 -0
  1078. package/dist/sdk/providers/gemini-acp.d.ts.map +1 -1
  1079. package/dist/sdk/providers/gemini-acp.js +2 -1
  1080. package/dist/sdk/providers/gemini-acp.js.map +1 -1
  1081. package/dist/sdk/providers/gemini.d.ts.map +1 -1
  1082. package/dist/sdk/providers/gemini.js +2 -1
  1083. package/dist/sdk/providers/gemini.js.map +1 -1
  1084. package/dist/sdk/providers/grok-acp.d.ts.map +1 -1
  1085. package/dist/sdk/providers/grok-acp.js +68 -58
  1086. package/dist/sdk/providers/grok-acp.js.map +1 -1
  1087. package/dist/sdk/providers/grok-interject-text.d.ts +12 -1
  1088. package/dist/sdk/providers/grok-interject-text.d.ts.map +1 -1
  1089. package/dist/sdk/providers/grok-interject-text.js +75 -5
  1090. package/dist/sdk/providers/grok-interject-text.js.map +1 -1
  1091. package/dist/sdk/providers/grok-message-identity.d.ts +22 -0
  1092. package/dist/sdk/providers/grok-message-identity.d.ts.map +1 -0
  1093. package/dist/sdk/providers/grok-message-identity.js +31 -0
  1094. package/dist/sdk/providers/grok-message-identity.js.map +1 -0
  1095. package/dist/sdk/providers/grok-tool-normalization.js +69 -3
  1096. package/dist/sdk/providers/grok-tool-normalization.js.map +1 -1
  1097. package/dist/sdk/providers/index.d.ts +7 -1
  1098. package/dist/sdk/providers/index.d.ts.map +1 -1
  1099. package/dist/sdk/providers/index.js +10 -5
  1100. package/dist/sdk/providers/index.js.map +1 -1
  1101. package/dist/sdk/providers/managed-ssh-agent-session.js +27 -2
  1102. package/dist/sdk/providers/managed-ssh-agent-session.js.map +1 -1
  1103. package/dist/sdk/providers/managed-ssh-target.d.ts.map +1 -1
  1104. package/dist/sdk/providers/managed-ssh-target.js +4 -0
  1105. package/dist/sdk/providers/managed-ssh-target.js.map +1 -1
  1106. package/dist/sdk/providers/opencode.js +1 -1
  1107. package/dist/sdk/providers/pi.d.ts +20 -1
  1108. package/dist/sdk/providers/pi.d.ts.map +1 -1
  1109. package/dist/sdk/providers/pi.js +110 -9
  1110. package/dist/sdk/providers/pi.js.map +1 -1
  1111. package/dist/sdk/providers/piModelExport.d.ts +76 -0
  1112. package/dist/sdk/providers/piModelExport.d.ts.map +1 -0
  1113. package/dist/sdk/providers/piModelExport.js +171 -0
  1114. package/dist/sdk/providers/piModelExport.js.map +1 -0
  1115. package/dist/sdk/providers/provider-host-status.d.ts +11 -0
  1116. package/dist/sdk/providers/provider-host-status.d.ts.map +1 -0
  1117. package/dist/sdk/providers/provider-host-status.js +18 -0
  1118. package/dist/sdk/providers/provider-host-status.js.map +1 -0
  1119. package/dist/sdk/providers/provider-runtime-host.d.ts +20 -0
  1120. package/dist/sdk/providers/provider-runtime-host.d.ts.map +1 -1
  1121. package/dist/sdk/providers/provider-runtime-host.js +178 -11
  1122. package/dist/sdk/providers/provider-runtime-host.js.map +1 -1
  1123. package/dist/sdk/providers/provider-runtime-snapshot.d.ts +12 -0
  1124. package/dist/sdk/providers/provider-runtime-snapshot.d.ts.map +1 -0
  1125. package/dist/sdk/providers/provider-runtime-snapshot.js +41 -0
  1126. package/dist/sdk/providers/provider-runtime-snapshot.js.map +1 -0
  1127. package/dist/sdk/providers/provider-runtime-worker.js +44 -60
  1128. package/dist/sdk/providers/provider-runtime-worker.js.map +1 -1
  1129. package/dist/sdk/providers/provider-session-owner.d.ts +20 -0
  1130. package/dist/sdk/providers/provider-session-owner.d.ts.map +1 -1
  1131. package/dist/sdk/providers/provider-session-owner.js +111 -12
  1132. package/dist/sdk/providers/provider-session-owner.js.map +1 -1
  1133. package/dist/sdk/providers/types.d.ts +43 -1
  1134. package/dist/sdk/providers/types.d.ts.map +1 -1
  1135. package/dist/sdk/providers/types.js.map +1 -1
  1136. package/dist/sdk/types.d.ts +15 -1
  1137. package/dist/sdk/types.d.ts.map +1 -1
  1138. package/dist/sdk/which-command.d.ts +10 -0
  1139. package/dist/sdk/which-command.d.ts.map +1 -0
  1140. package/dist/sdk/which-command.js +12 -0
  1141. package/dist/sdk/which-command.js.map +1 -0
  1142. package/dist/server-main.d.ts +2 -0
  1143. package/dist/server-main.d.ts.map +1 -0
  1144. package/dist/server-main.js +1488 -0
  1145. package/dist/server-main.js.map +1 -0
  1146. package/dist/services/BangCommandService.d.ts.map +1 -1
  1147. package/dist/services/BangCommandService.js +13 -4
  1148. package/dist/services/BangCommandService.js.map +1 -1
  1149. package/dist/services/CacheMissBillingMonitor.d.ts +8 -0
  1150. package/dist/services/CacheMissBillingMonitor.d.ts.map +1 -1
  1151. package/dist/services/CacheMissBillingMonitor.js +41 -1
  1152. package/dist/services/CacheMissBillingMonitor.js.map +1 -1
  1153. package/dist/services/ClearloopService.d.ts +134 -0
  1154. package/dist/services/ClearloopService.d.ts.map +1 -0
  1155. package/dist/services/ClearloopService.js +442 -0
  1156. package/dist/services/ClearloopService.js.map +1 -0
  1157. package/dist/services/GatewayEffortProbe.d.ts +100 -0
  1158. package/dist/services/GatewayEffortProbe.d.ts.map +1 -0
  1159. package/dist/services/GatewayEffortProbe.js +220 -0
  1160. package/dist/services/GatewayEffortProbe.js.map +1 -0
  1161. package/dist/services/ProjectQueueReadinessCheck.d.ts +16 -0
  1162. package/dist/services/ProjectQueueReadinessCheck.d.ts.map +1 -0
  1163. package/dist/services/ProjectQueueReadinessCheck.js +150 -0
  1164. package/dist/services/ProjectQueueReadinessCheck.js.map +1 -0
  1165. package/dist/services/ProjectQueueScheduler.d.ts +32 -1
  1166. package/dist/services/ProjectQueueScheduler.d.ts.map +1 -1
  1167. package/dist/services/ProjectQueueScheduler.js +185 -8
  1168. package/dist/services/ProjectQueueScheduler.js.map +1 -1
  1169. package/dist/services/ProjectQueueService.d.ts.map +1 -1
  1170. package/dist/services/ProjectQueueService.js +29 -1
  1171. package/dist/services/ProjectQueueService.js.map +1 -1
  1172. package/dist/services/ProviderInstallationCoordinator.d.ts +13 -0
  1173. package/dist/services/ProviderInstallationCoordinator.d.ts.map +1 -1
  1174. package/dist/services/ProviderInstallationCoordinator.js +23 -12
  1175. package/dist/services/ProviderInstallationCoordinator.js.map +1 -1
  1176. package/dist/services/PublicSharePrivateStorage.d.ts +2 -1
  1177. package/dist/services/PublicSharePrivateStorage.d.ts.map +1 -1
  1178. package/dist/services/PublicSharePrivateStorage.js +2 -17
  1179. package/dist/services/PublicSharePrivateStorage.js.map +1 -1
  1180. package/dist/services/RetainedSessionCollections.d.ts +45 -0
  1181. package/dist/services/RetainedSessionCollections.d.ts.map +1 -0
  1182. package/dist/services/RetainedSessionCollections.js +197 -0
  1183. package/dist/services/RetainedSessionCollections.js.map +1 -0
  1184. package/dist/services/ServerSettingsService.d.ts +73 -1
  1185. package/dist/services/ServerSettingsService.d.ts.map +1 -1
  1186. package/dist/services/ServerSettingsService.js +94 -11
  1187. package/dist/services/ServerSettingsService.js.map +1 -1
  1188. package/dist/services/SessionCatalogService.d.ts +5 -0
  1189. package/dist/services/SessionCatalogService.d.ts.map +1 -1
  1190. package/dist/services/SessionCatalogService.js +38 -3
  1191. package/dist/services/SessionCatalogService.js.map +1 -1
  1192. package/dist/services/gatewayServiceSettings.d.ts +42 -0
  1193. package/dist/services/gatewayServiceSettings.d.ts.map +1 -0
  1194. package/dist/services/gatewayServiceSettings.js +105 -0
  1195. package/dist/services/gatewayServiceSettings.js.map +1 -0
  1196. package/dist/services/installationOwnerProbe.d.ts +5 -1
  1197. package/dist/services/installationOwnerProbe.d.ts.map +1 -1
  1198. package/dist/services/installationOwnerProbe.js +18 -30
  1199. package/dist/services/installationOwnerProbe.js.map +1 -1
  1200. package/dist/services/issues/IssueIndexer.d.ts +106 -0
  1201. package/dist/services/issues/IssueIndexer.d.ts.map +1 -0
  1202. package/dist/services/issues/IssueIndexer.js +383 -0
  1203. package/dist/services/issues/IssueIndexer.js.map +1 -0
  1204. package/dist/services/issues/IssueStore.d.ts +171 -0
  1205. package/dist/services/issues/IssueStore.d.ts.map +1 -0
  1206. package/dist/services/issues/IssueStore.js +515 -0
  1207. package/dist/services/issues/IssueStore.js.map +1 -0
  1208. package/dist/services/issues/confirm.d.ts +44 -0
  1209. package/dist/services/issues/confirm.d.ts.map +1 -0
  1210. package/dist/services/issues/confirm.js +157 -0
  1211. package/dist/services/issues/confirm.js.map +1 -0
  1212. package/dist/services/issues/credentials.d.ts +46 -0
  1213. package/dist/services/issues/credentials.d.ts.map +1 -0
  1214. package/dist/services/issues/credentials.js +144 -0
  1215. package/dist/services/issues/credentials.js.map +1 -0
  1216. package/dist/services/issues/extract.d.ts +32 -0
  1217. package/dist/services/issues/extract.d.ts.map +1 -0
  1218. package/dist/services/issues/extract.js +158 -0
  1219. package/dist/services/issues/extract.js.map +1 -0
  1220. package/dist/services/projectFileCompletion.d.ts +31 -0
  1221. package/dist/services/projectFileCompletion.d.ts.map +1 -0
  1222. package/dist/services/projectFileCompletion.js +318 -0
  1223. package/dist/services/projectFileCompletion.js.map +1 -0
  1224. package/dist/services/projectFileEnumeration.d.ts +3 -0
  1225. package/dist/services/projectFileEnumeration.d.ts.map +1 -0
  1226. package/dist/services/projectFileEnumeration.js +95 -0
  1227. package/dist/services/projectFileEnumeration.js.map +1 -0
  1228. package/dist/services/voice/VocabularyKeyterms.d.ts +25 -0
  1229. package/dist/services/voice/VocabularyKeyterms.d.ts.map +1 -0
  1230. package/dist/services/voice/VocabularyKeyterms.js +160 -0
  1231. package/dist/services/voice/VocabularyKeyterms.js.map +1 -0
  1232. package/dist/services/voice/VocabularyLearning.d.ts +69 -0
  1233. package/dist/services/voice/VocabularyLearning.d.ts.map +1 -0
  1234. package/dist/services/voice/VocabularyLearning.js +283 -0
  1235. package/dist/services/voice/VocabularyLearning.js.map +1 -0
  1236. package/dist/services/voice/VocabularyStore.d.ts +232 -0
  1237. package/dist/services/voice/VocabularyStore.d.ts.map +1 -0
  1238. package/dist/services/voice/VocabularyStore.js +897 -0
  1239. package/dist/services/voice/VocabularyStore.js.map +1 -0
  1240. package/dist/services/voice/audioRetention.d.ts +7 -0
  1241. package/dist/services/voice/audioRetention.d.ts.map +1 -1
  1242. package/dist/services/voice/audioRetention.js +1 -0
  1243. package/dist/services/voice/audioRetention.js.map +1 -1
  1244. package/dist/services/voice/blocked-bloom.d.ts +88 -0
  1245. package/dist/services/voice/blocked-bloom.d.ts.map +1 -0
  1246. package/dist/services/voice/blocked-bloom.js +301 -0
  1247. package/dist/services/voice/blocked-bloom.js.map +1 -0
  1248. package/dist/services/voice/distinctive-top.d.ts +17 -0
  1249. package/dist/services/voice/distinctive-top.d.ts.map +1 -0
  1250. package/dist/services/voice/distinctive-top.js +71 -0
  1251. package/dist/services/voice/distinctive-top.js.map +1 -0
  1252. package/dist/services/voice/graniteModelCache.d.ts +3 -0
  1253. package/dist/services/voice/graniteModelCache.d.ts.map +1 -0
  1254. package/dist/services/voice/graniteModelCache.js +32 -0
  1255. package/dist/services/voice/graniteModelCache.js.map +1 -0
  1256. package/dist/services/voice/granite_worker.py +277 -0
  1257. package/dist/services/voice/localGraniteBackend.d.ts +15 -0
  1258. package/dist/services/voice/localGraniteBackend.d.ts.map +1 -0
  1259. package/dist/services/voice/localGraniteBackend.js +31 -0
  1260. package/dist/services/voice/localGraniteBackend.js.map +1 -0
  1261. package/dist/services/voice/localNemoBackend.d.ts +3 -25
  1262. package/dist/services/voice/localNemoBackend.d.ts.map +1 -1
  1263. package/dist/services/voice/localNemoBackend.js +22 -177
  1264. package/dist/services/voice/localNemoBackend.js.map +1 -1
  1265. package/dist/services/voice/localParakeetBackend.d.ts +3 -25
  1266. package/dist/services/voice/localParakeetBackend.d.ts.map +1 -1
  1267. package/dist/services/voice/localParakeetBackend.js +18 -175
  1268. package/dist/services/voice/localParakeetBackend.js.map +1 -1
  1269. package/dist/services/voice/localQwenBackend.d.ts +10 -0
  1270. package/dist/services/voice/localQwenBackend.d.ts.map +1 -0
  1271. package/dist/services/voice/localQwenBackend.js +23 -0
  1272. package/dist/services/voice/localQwenBackend.js.map +1 -0
  1273. package/dist/services/voice/localSttRuntime.d.ts +16 -1
  1274. package/dist/services/voice/localSttRuntime.d.ts.map +1 -1
  1275. package/dist/services/voice/localSttRuntime.js +71 -7
  1276. package/dist/services/voice/localSttRuntime.js.map +1 -1
  1277. package/dist/services/voice/localWhisperBackend.d.ts +10 -3
  1278. package/dist/services/voice/localWhisperBackend.d.ts.map +1 -1
  1279. package/dist/services/voice/localWhisperBackend.js +89 -11
  1280. package/dist/services/voice/localWhisperBackend.js.map +1 -1
  1281. package/dist/services/voice/nemo_worker.py +38 -122
  1282. package/dist/services/voice/parakeet_worker.py +10 -46
  1283. package/dist/services/voice/qwen_worker.py +81 -0
  1284. package/dist/services/voice/registry.d.ts +25 -4
  1285. package/dist/services/voice/registry.d.ts.map +1 -1
  1286. package/dist/services/voice/registry.js +53 -1
  1287. package/dist/services/voice/registry.js.map +1 -1
  1288. package/dist/services/voice/speechBackendInstall.d.ts +17 -0
  1289. package/dist/services/voice/speechBackendInstall.d.ts.map +1 -0
  1290. package/dist/services/voice/speechBackendInstall.js +133 -0
  1291. package/dist/services/voice/speechBackendInstall.js.map +1 -0
  1292. package/dist/services/voice/stt_worker_common.py +124 -0
  1293. package/dist/services/voice/vocabulary-database.d.ts +54 -0
  1294. package/dist/services/voice/vocabulary-database.d.ts.map +1 -0
  1295. package/dist/services/voice/vocabulary-database.js +156 -0
  1296. package/dist/services/voice/vocabulary-database.js.map +1 -0
  1297. package/dist/services/voice/vocabulary-schema.d.ts +11 -0
  1298. package/dist/services/voice/vocabulary-schema.d.ts.map +1 -0
  1299. package/dist/services/voice/vocabulary-schema.js +29 -0
  1300. package/dist/services/voice/vocabulary-schema.js.map +1 -0
  1301. package/dist/services/voice/vocabulary-sessions.d.ts +6 -0
  1302. package/dist/services/voice/vocabulary-sessions.d.ts.map +1 -0
  1303. package/dist/services/voice/vocabulary-sessions.js +62 -0
  1304. package/dist/services/voice/vocabulary-sessions.js.map +1 -0
  1305. package/dist/services/voice/warmPixiSttBackend.d.ts +76 -0
  1306. package/dist/services/voice/warmPixiSttBackend.d.ts.map +1 -0
  1307. package/dist/services/voice/warmPixiSttBackend.js +213 -0
  1308. package/dist/services/voice/warmPixiSttBackend.js.map +1 -0
  1309. package/dist/services/voice/whisper_worker.py +28 -18
  1310. package/dist/services/voice/xaiSttBackend.d.ts.map +1 -1
  1311. package/dist/services/voice/xaiSttBackend.js +2 -0
  1312. package/dist/services/voice/xaiSttBackend.js.map +1 -1
  1313. package/dist/session-sandbox.d.ts.map +1 -1
  1314. package/dist/session-sandbox.js +5 -1
  1315. package/dist/session-sandbox.js.map +1 -1
  1316. package/dist/sessions/Session.d.ts.map +1 -1
  1317. package/dist/sessions/Session.js +2 -0
  1318. package/dist/sessions/Session.js.map +1 -1
  1319. package/dist/sessions/catalog-adapters/collection-catalog-adapters.d.ts +10 -0
  1320. package/dist/sessions/catalog-adapters/collection-catalog-adapters.d.ts.map +1 -0
  1321. package/dist/sessions/catalog-adapters/collection-catalog-adapters.js +239 -0
  1322. package/dist/sessions/catalog-adapters/collection-catalog-adapters.js.map +1 -0
  1323. package/dist/sessions/catalog-adapters/row.d.ts +6 -1
  1324. package/dist/sessions/catalog-adapters/row.d.ts.map +1 -1
  1325. package/dist/sessions/catalog-adapters/row.js +26 -0
  1326. package/dist/sessions/catalog-adapters/row.js.map +1 -1
  1327. package/dist/sessions/catalog-types.d.ts +13 -1
  1328. package/dist/sessions/catalog-types.d.ts.map +1 -1
  1329. package/dist/sessions/catalog-types.js +7 -0
  1330. package/dist/sessions/catalog-types.js.map +1 -1
  1331. package/dist/sessions/claude-messages.d.ts +9 -2
  1332. package/dist/sessions/claude-messages.d.ts.map +1 -1
  1333. package/dist/sessions/claude-messages.js +201 -6
  1334. package/dist/sessions/claude-messages.js.map +1 -1
  1335. package/dist/sessions/claude-summary.d.ts +26 -0
  1336. package/dist/sessions/claude-summary.d.ts.map +1 -1
  1337. package/dist/sessions/claude-summary.js +120 -3
  1338. package/dist/sessions/claude-summary.js.map +1 -1
  1339. package/dist/sessions/codex-async-questions.d.ts +6 -0
  1340. package/dist/sessions/codex-async-questions.d.ts.map +1 -0
  1341. package/dist/sessions/codex-async-questions.js +92 -0
  1342. package/dist/sessions/codex-async-questions.js.map +1 -0
  1343. package/dist/sessions/codex-reader.d.ts +19 -13
  1344. package/dist/sessions/codex-reader.d.ts.map +1 -1
  1345. package/dist/sessions/codex-reader.js +246 -37
  1346. package/dist/sessions/codex-reader.js.map +1 -1
  1347. package/dist/sessions/codex-rollout-lineage.d.ts +2 -0
  1348. package/dist/sessions/codex-rollout-lineage.d.ts.map +1 -1
  1349. package/dist/sessions/codex-rollout-lineage.js +10 -4
  1350. package/dist/sessions/codex-rollout-lineage.js.map +1 -1
  1351. package/dist/sessions/codex-rollout-window.d.ts +1 -0
  1352. package/dist/sessions/codex-rollout-window.d.ts.map +1 -1
  1353. package/dist/sessions/codex-rollout-window.js +16 -11
  1354. package/dist/sessions/codex-rollout-window.js.map +1 -1
  1355. package/dist/sessions/fork-discovery.d.ts +4 -0
  1356. package/dist/sessions/fork-discovery.d.ts.map +1 -0
  1357. package/dist/sessions/fork-discovery.js +49 -0
  1358. package/dist/sessions/fork-discovery.js.map +1 -0
  1359. package/dist/sessions/fork.d.ts +1 -19
  1360. package/dist/sessions/fork.d.ts.map +1 -1
  1361. package/dist/sessions/fork.js +2 -59
  1362. package/dist/sessions/fork.js.map +1 -1
  1363. package/dist/sessions/grok-reader.d.ts +1 -0
  1364. package/dist/sessions/grok-reader.d.ts.map +1 -1
  1365. package/dist/sessions/grok-reader.js +46 -13
  1366. package/dist/sessions/grok-reader.js.map +1 -1
  1367. package/dist/sessions/issue-text-reader.d.ts +26 -0
  1368. package/dist/sessions/issue-text-reader.d.ts.map +1 -0
  1369. package/dist/sessions/issue-text-reader.js +240 -0
  1370. package/dist/sessions/issue-text-reader.js.map +1 -0
  1371. package/dist/sessions/merged-reader.d.ts +4 -1
  1372. package/dist/sessions/merged-reader.d.ts.map +1 -1
  1373. package/dist/sessions/merged-reader.js +10 -2
  1374. package/dist/sessions/merged-reader.js.map +1 -1
  1375. package/dist/sessions/message-text.d.ts +23 -0
  1376. package/dist/sessions/message-text.d.ts.map +1 -0
  1377. package/dist/sessions/message-text.js +31 -0
  1378. package/dist/sessions/message-text.js.map +1 -0
  1379. package/dist/sessions/normalization.d.ts +26 -2
  1380. package/dist/sessions/normalization.d.ts.map +1 -1
  1381. package/dist/sessions/normalization.js +119 -14
  1382. package/dist/sessions/normalization.js.map +1 -1
  1383. package/dist/sessions/pagination.d.ts.map +1 -1
  1384. package/dist/sessions/pagination.js +21 -3
  1385. package/dist/sessions/pagination.js.map +1 -1
  1386. package/dist/sessions/pi-reader.d.ts.map +1 -1
  1387. package/dist/sessions/pi-reader.js +41 -15
  1388. package/dist/sessions/pi-reader.js.map +1 -1
  1389. package/dist/sessions/provider-resolution.d.ts +8 -1
  1390. package/dist/sessions/provider-resolution.d.ts.map +1 -1
  1391. package/dist/sessions/provider-resolution.js +25 -5
  1392. package/dist/sessions/provider-resolution.js.map +1 -1
  1393. package/dist/sessions/reader.d.ts +2 -0
  1394. package/dist/sessions/reader.d.ts.map +1 -1
  1395. package/dist/sessions/reader.js +7 -0
  1396. package/dist/sessions/reader.js.map +1 -1
  1397. package/dist/sessions/recap-overlays.d.ts +42 -2
  1398. package/dist/sessions/recap-overlays.d.ts.map +1 -1
  1399. package/dist/sessions/recap-overlays.js +80 -5
  1400. package/dist/sessions/recap-overlays.js.map +1 -1
  1401. package/dist/sessions/turn-index.d.ts +21 -0
  1402. package/dist/sessions/turn-index.d.ts.map +1 -0
  1403. package/dist/sessions/turn-index.js +83 -0
  1404. package/dist/sessions/turn-index.js.map +1 -0
  1405. package/dist/sessions/types.d.ts +12 -3
  1406. package/dist/sessions/types.d.ts.map +1 -1
  1407. package/dist/sessions/types.js +4 -0
  1408. package/dist/sessions/types.js.map +1 -1
  1409. package/dist/storage/discovery-sqlite.d.ts +32 -0
  1410. package/dist/storage/discovery-sqlite.d.ts.map +1 -0
  1411. package/dist/storage/discovery-sqlite.js +156 -0
  1412. package/dist/storage/discovery-sqlite.js.map +1 -0
  1413. package/dist/storage/migrations/002-003-vocabulary.d.ts +8 -0
  1414. package/dist/storage/migrations/002-003-vocabulary.d.ts.map +1 -0
  1415. package/dist/storage/migrations/002-003-vocabulary.js +56 -0
  1416. package/dist/storage/migrations/002-003-vocabulary.js.map +1 -0
  1417. package/dist/storage/migrations/004-issues.d.ts +3 -0
  1418. package/dist/storage/migrations/004-issues.d.ts.map +1 -0
  1419. package/dist/storage/migrations/004-issues.js +35 -0
  1420. package/dist/storage/migrations/004-issues.js.map +1 -0
  1421. package/dist/storage/migrations/005-issue-resolution.d.ts +3 -0
  1422. package/dist/storage/migrations/005-issue-resolution.d.ts.map +1 -0
  1423. package/dist/storage/migrations/005-issue-resolution.js +11 -0
  1424. package/dist/storage/migrations/005-issue-resolution.js.map +1 -0
  1425. package/dist/storage/migrations/006-issue-confirmation.d.ts +10 -0
  1426. package/dist/storage/migrations/006-issue-confirmation.d.ts.map +1 -0
  1427. package/dist/storage/migrations/006-issue-confirmation.js +17 -0
  1428. package/dist/storage/migrations/006-issue-confirmation.js.map +1 -0
  1429. package/dist/storage/migrations/007-jira-projects.d.ts +3 -0
  1430. package/dist/storage/migrations/007-jira-projects.d.ts.map +1 -0
  1431. package/dist/storage/migrations/007-jira-projects.js +14 -0
  1432. package/dist/storage/migrations/007-jira-projects.js.map +1 -0
  1433. package/dist/storage/sqlite.d.ts +8 -0
  1434. package/dist/storage/sqlite.d.ts.map +1 -0
  1435. package/dist/storage/sqlite.js +8 -0
  1436. package/dist/storage/sqlite.js.map +1 -0
  1437. package/dist/supervisor/ExternalSessionTracker.d.ts +27 -0
  1438. package/dist/supervisor/ExternalSessionTracker.d.ts.map +1 -1
  1439. package/dist/supervisor/ExternalSessionTracker.js +101 -14
  1440. package/dist/supervisor/ExternalSessionTracker.js.map +1 -1
  1441. package/dist/supervisor/Process.d.ts +57 -2
  1442. package/dist/supervisor/Process.d.ts.map +1 -1
  1443. package/dist/supervisor/Process.js +217 -16
  1444. package/dist/supervisor/Process.js.map +1 -1
  1445. package/dist/supervisor/SessionActivationCoordinator.d.ts +17 -0
  1446. package/dist/supervisor/SessionActivationCoordinator.d.ts.map +1 -1
  1447. package/dist/supervisor/SessionActivationCoordinator.js +16 -0
  1448. package/dist/supervisor/SessionActivationCoordinator.js.map +1 -1
  1449. package/dist/supervisor/Supervisor.d.ts +80 -4
  1450. package/dist/supervisor/Supervisor.d.ts.map +1 -1
  1451. package/dist/supervisor/Supervisor.js +384 -35
  1452. package/dist/supervisor/Supervisor.js.map +1 -1
  1453. package/dist/supervisor/provider-command.d.ts.map +1 -1
  1454. package/dist/supervisor/provider-command.js +10 -1
  1455. package/dist/supervisor/provider-command.js.map +1 -1
  1456. package/dist/supervisor/resume-truncation.d.ts +43 -0
  1457. package/dist/supervisor/resume-truncation.d.ts.map +1 -0
  1458. package/dist/supervisor/resume-truncation.js +59 -0
  1459. package/dist/supervisor/resume-truncation.js.map +1 -0
  1460. package/dist/supervisor/types.d.ts +20 -1
  1461. package/dist/supervisor/types.d.ts.map +1 -1
  1462. package/dist/supervisor/types.js.map +1 -1
  1463. package/dist/utils/codexRolloutFiles.d.ts +10 -0
  1464. package/dist/utils/codexRolloutFiles.d.ts.map +1 -1
  1465. package/dist/utils/codexRolloutFiles.js +36 -3
  1466. package/dist/utils/codexRolloutFiles.js.map +1 -1
  1467. package/dist/utils/expandHomePath.d.ts +2 -0
  1468. package/dist/utils/expandHomePath.d.ts.map +1 -0
  1469. package/dist/utils/expandHomePath.js +12 -0
  1470. package/dist/utils/expandHomePath.js.map +1 -0
  1471. package/dist/utils/portListener.d.ts +49 -0
  1472. package/dist/utils/portListener.d.ts.map +1 -0
  1473. package/dist/utils/portListener.js +112 -0
  1474. package/dist/utils/portListener.js.map +1 -0
  1475. package/dist/utils/syncDirectory.d.ts +3 -0
  1476. package/dist/utils/syncDirectory.d.ts.map +1 -0
  1477. package/dist/utils/syncDirectory.js +23 -0
  1478. package/dist/utils/syncDirectory.js.map +1 -0
  1479. package/dist/utils/writeFileAtomically.d.ts +19 -0
  1480. package/dist/utils/writeFileAtomically.d.ts.map +1 -0
  1481. package/dist/utils/writeFileAtomically.js +32 -0
  1482. package/dist/utils/writeFileAtomically.js.map +1 -0
  1483. package/dist/watcher/EventBus.d.ts +50 -2
  1484. package/dist/watcher/EventBus.d.ts.map +1 -1
  1485. package/dist/watcher/EventBus.js.map +1 -1
  1486. package/dist/watcher/FileWatcher.d.ts.map +1 -1
  1487. package/dist/watcher/FileWatcher.js +2 -1
  1488. package/dist/watcher/FileWatcher.js.map +1 -1
  1489. package/dist/watcher/FocusedSessionWatchManager.d.ts.map +1 -1
  1490. package/dist/watcher/FocusedSessionWatchManager.js +2 -2
  1491. package/dist/watcher/FocusedSessionWatchManager.js.map +1 -1
  1492. package/dist/watcher/SharedDirectoryWatcher.d.ts +20 -0
  1493. package/dist/watcher/SharedDirectoryWatcher.d.ts.map +1 -0
  1494. package/dist/watcher/SharedDirectoryWatcher.js +147 -0
  1495. package/dist/watcher/SharedDirectoryWatcher.js.map +1 -0
  1496. package/dist/watcher/SourceWatcher.d.ts.map +1 -1
  1497. package/dist/watcher/SourceWatcher.js +2 -2
  1498. package/dist/watcher/SourceWatcher.js.map +1 -1
  1499. package/package.json +9 -8
  1500. package/client-dist/assets/ActivityPage-HYpN2q7X.js +0 -1
  1501. package/client-dist/assets/AgentsPage-DwW57z25.js +0 -2
  1502. package/client-dist/assets/App-D0_8DZ_p.css +0 -1
  1503. package/client-dist/assets/App-Zb1JereM.js +0 -2
  1504. package/client-dist/assets/AttachmentChip-C8bV8HCy.js +0 -1
  1505. package/client-dist/assets/AuthContext-hh5gaMN1.js +0 -1
  1506. package/client-dist/assets/BangCommandDisplayObject-Bw9ncUYZ.js +0 -2
  1507. package/client-dist/assets/BangCommandsPage-DedVsg3g.js +0 -1
  1508. package/client-dist/assets/BrowserDebugToolbarButton-853TgFOC.js +0 -1
  1509. package/client-dist/assets/CodexUpdatePrompt-Z8ohUTx0.js +0 -1
  1510. package/client-dist/assets/EmulatorPage-TSRWfl3R.js +0 -1
  1511. package/client-dist/assets/FilePage-CNlZ-vA4.js +0 -1
  1512. package/client-dist/assets/FileViewer-CzrwiYp4.css +0 -1
  1513. package/client-dist/assets/FileViewer-DGZdQyXp.js +0 -326
  1514. package/client-dist/assets/FilterDropdown-LDO5HOKH.js +0 -1
  1515. package/client-dist/assets/FloatingActionButton-DMj4jEx3.js +0 -1
  1516. package/client-dist/assets/GitStatusPage-rM-D-tor.js +0 -15
  1517. package/client-dist/assets/GlobalSessionsPage-1KH8bdTH.css +0 -1
  1518. package/client-dist/assets/GlobalSessionsPage-CLIFWs0i.js +0 -1
  1519. package/client-dist/assets/GlossaryContext-6cQEV5Uo.js +0 -1
  1520. package/client-dist/assets/GlossaryContext-C4ZqYUH9.css +0 -1
  1521. package/client-dist/assets/HeartbeatTextArea-pIlTd6TX.js +0 -1
  1522. package/client-dist/assets/HostIdentityContext-C0Vgqk-6.js +0 -1
  1523. package/client-dist/assets/HostIdentityMarker-B1D03-7A.js +0 -1
  1524. package/client-dist/assets/HostsPage-D_TFbJzn.js +0 -1
  1525. package/client-dist/assets/InboxContext-D3a6m4xN.js +0 -1
  1526. package/client-dist/assets/InboxPage-BvjMsqRm.js +0 -1
  1527. package/client-dist/assets/LoginPage-B77DWkB_.js +0 -1
  1528. package/client-dist/assets/MarkdownPreview-CvbXcyQJ.js +0 -1
  1529. package/client-dist/assets/MarkdownPreview-D0wBwpSu.css +0 -1
  1530. package/client-dist/assets/MessageInput-BsqM97eX.js +0 -3
  1531. package/client-dist/assets/MessageInput-C2p_cEHF.css +0 -1
  1532. package/client-dist/assets/MessageList--KVUIFfK.js +0 -6
  1533. package/client-dist/assets/Modal-B2SjK3d9.js +0 -15
  1534. package/client-dist/assets/Modal-DydQGLdZ.css +0 -1
  1535. package/client-dist/assets/NavigationLayout-CXqIKEKh.css +0 -1
  1536. package/client-dist/assets/NavigationLayout-CxIF1Brv.js +0 -2
  1537. package/client-dist/assets/NewSessionPage-CrpiBUT5.js +0 -1
  1538. package/client-dist/assets/PageHeader-CjCt5Gtf.js +0 -1
  1539. package/client-dist/assets/ProjectsPage--v8_jltg.js +0 -1
  1540. package/client-dist/assets/ProjectsPage-KswRvQOG.css +0 -1
  1541. package/client-dist/assets/ProviderBadge-Cr5n2thE.js +0 -1
  1542. package/client-dist/assets/ProviderChildSessionDetail-DicX3xoY.css +0 -1
  1543. package/client-dist/assets/ProviderChildSessionDetail-Mpglk9rr.js +0 -130
  1544. package/client-dist/assets/ProviderChildSessionPage-CZqlaEF3.js +0 -1
  1545. package/client-dist/assets/SessionPage-BVeMOC--.css +0 -1
  1546. package/client-dist/assets/SessionPage-LqOVlzHg.js +0 -34
  1547. package/client-dist/assets/SourceFileHeaderActions-CK0xCR_P.js +0 -1
  1548. package/client-dist/assets/ThinkingControls-CmOG-fOQ.css +0 -1
  1549. package/client-dist/assets/ThinkingControls-DHVNITMD.js +0 -1
  1550. package/client-dist/assets/VoiceInputButton-D-JMM9BT.js +0 -1
  1551. package/client-dist/assets/WorkstreamsPage-B0hQZKfY.js +0 -1
  1552. package/client-dist/assets/activityBus-DeWSCW9E.js +0 -42
  1553. package/client-dist/assets/frontendReload-RsU7NgVs.js +0 -1
  1554. package/client-dist/assets/idb-Bq2mrrgB.js +0 -1
  1555. package/client-dist/assets/index-BTaKS1J-.js +0 -16
  1556. package/client-dist/assets/index-BzmHyWJi.js +0 -1
  1557. package/client-dist/assets/index-C1AW0pQC.js +0 -1
  1558. package/client-dist/assets/index-CRz1GJAq.css +0 -1
  1559. package/client-dist/assets/index-CoIol1kC.js +0 -2
  1560. package/client-dist/assets/index-DP9HSR1Q.js +0 -33
  1561. package/client-dist/assets/index-DhotkFM0.css +0 -1
  1562. package/client-dist/assets/newSessionPrefill-B03klTbN.js +0 -1
  1563. package/client-dist/assets/registerServiceWorker-B-TB2f6g.js +0 -1
  1564. package/client-dist/assets/sessionHistorySearch.worker-C7ZldBcp.js +0 -60
  1565. package/client-dist/assets/sessionNavigationState-DQtzqCRa.js +0 -1
  1566. package/client-dist/assets/sourceControlNavigationState-Jkj0V5EV.js +0 -1
  1567. package/client-dist/assets/sourceRuntime-DehqzGFl.js +0 -11
  1568. package/client-dist/assets/sourceTransportPaths-DF_cC8jt.js +0 -1
  1569. package/client-dist/assets/speechDraftTransaction-D0x_KIWP.js +0 -1
  1570. package/client-dist/assets/text-BehwCDu9.js +0 -1
  1571. package/client-dist/assets/uiTrace-DTwsVP-v.js +0 -1
  1572. package/client-dist/assets/useActivityBusState-C3Jvbe8z.js +0 -1
  1573. package/client-dist/assets/useCodexUpdateStatus-CP5I-sN6.js +0 -1
  1574. package/client-dist/assets/useDocumentTitle-frIApxrS.js +0 -1
  1575. package/client-dist/assets/useEmulators-DC6gTx-6.js +0 -1
  1576. package/client-dist/assets/useFileActivity-D1QofKjX.js +0 -1
  1577. package/client-dist/assets/useProviders-NpVDnSAv.js +0 -1
  1578. package/client-dist/assets/useRecentSessions-BSx1OY1a.css +0 -1
  1579. package/client-dist/assets/useRecentSessions-auxvPTqp.js +0 -1
  1580. package/client-dist/assets/useReloadNotifications-JMGK9sGZ.js +0 -1
  1581. package/client-dist/assets/useSidebarWidth-CX5sAdCc.js +0 -1
  1582. package/client-dist/assets/useSourceControlCleanLanding-BznT844H.js +0 -1
  1583. package/client-dist/assets/useStableToolPreviewRendering-KQn7Oxrk.js +0 -9
  1584. package/client-dist/assets/useStreamingEnabled-D--wvBjX.js +0 -59
  1585. package/client-dist/assets/useStreamingEnabled-kg86RxrD.css +0 -1
  1586. package/client-dist/assets/useWiderConversationActivityPreviews-BJ4FcSSx.js +0 -1
  1587. package/client-dist/assets/zh-CN-D56LyPRG.js +0 -7
  1588. /package/client-dist/assets/{useStableToolPreviewRendering-BQc8-VNa.css → useAcliCommentarySetting-BQc8-VNa.css} +0 -0
@@ -0,0 +1,69 @@
1
+ import { type SpeechVocabularyStatus } from "@yep-anywhere/shared";
2
+ import type { Message } from "../../supervisor/types.js";
3
+ import { type VocabularyStore, type VocabularySettingsUpdate, type VocabularyMessage } from "./VocabularyStore.js";
4
+ export interface VocabularySession {
5
+ key: string;
6
+ version: string;
7
+ updatedAt: number;
8
+ messages: () => AsyncIterable<readonly Message[]>;
9
+ }
10
+ /**
11
+ * The text a message contributes, or nothing when it contributes none. Shared
12
+ * with compaction so a rebuilt filter fingerprints exactly what the counting
13
+ * path fingerprinted; two copies of this would silently stop agreeing.
14
+ */
15
+ export declare function vocabularyMessage(message: Message): VocabularyMessage | undefined;
16
+ export declare class VocabularyLearning {
17
+ readonly store: VocabularyStore;
18
+ private readonly sessions;
19
+ private work?;
20
+ private epoch;
21
+ private closed;
22
+ private requested;
23
+ private retrospective;
24
+ private relearnAfter;
25
+ private compactAfter;
26
+ private readonly epsilonMs;
27
+ private readonly flushAfter;
28
+ private readonly reference?;
29
+ private progress;
30
+ constructor(store: VocabularyStore, sessions: (cutoff: number) => AsyncIterable<VocabularySession>, options?: {
31
+ reference?: () => Promise<ReadonlyMap<string, number>>;
32
+ flushAfter?: number;
33
+ env?: NodeJS.ProcessEnv;
34
+ });
35
+ status(includeWords?: boolean): SpeechVocabularyStatus;
36
+ configure(settings: VocabularySettingsUpdate): void;
37
+ scan(retrospective?: boolean): void;
38
+ private run;
39
+ /**
40
+ * Rebuild the filter over the last epsilon of history and raise the floor to
41
+ * match, so it holds recent fingerprints instead of every one ever seen. The
42
+ * counts are untouched: this is the answer that makes the full clear below a
43
+ * last resort rather than the only move.
44
+ *
45
+ * The rebuild runs in the same small yielding steps as a scan and fills a
46
+ * second filter, so the live one keeps answering throughout; the swap is one
47
+ * rename. A message that arrives during the rebuild can be missed by it, and
48
+ * is then protected only by its session's scan checkpoint until that session
49
+ * changes — acceptable for an event this rare, and the reason the floor is
50
+ * set to where the rebuild started rather than where it finished.
51
+ */
52
+ private compact;
53
+ /**
54
+ * The fingerprint filter is full, so it can no longer tell new text from old
55
+ * reliably. Empty it and everything counted through it, then relearn the
56
+ * retained window from provider history — the counts outside that window are
57
+ * not recoverable by rescanning anyway.
58
+ *
59
+ * The cooldown matters: a retained window whose messages cannot fit the
60
+ * reservation fills the filter again as soon as it is relearned. Backing off
61
+ * leaves recognition working against a filter that dedupes approximately,
62
+ * which is the mild failure; rescanning in a loop is not.
63
+ */
64
+ private makeRoom;
65
+ reset(): Promise<void>;
66
+ settled(): Promise<void>;
67
+ close(): Promise<void>;
68
+ }
69
+ //# sourceMappingURL=VocabularyLearning.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VocabularyLearning.d.ts","sourceRoot":"","sources":["../../../src/services/voice/VocabularyLearning.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,KAAK,sBAAsB,EAC5B,MAAM,sBAAsB,CAAC;AAE9B,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAEL,KAAK,eAAe,EACpB,KAAK,wBAAwB,EAC7B,KAAK,iBAAiB,EACvB,MAAM,sBAAsB,CAAC;AAE9B,MAAM,WAAW,iBAAiB;IAChC,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,aAAa,CAAC,SAAS,OAAO,EAAE,CAAC,CAAC;CACnD;AA0BD;;;;GAIG;AACH,wBAAgB,iBAAiB,CAC/B,OAAO,EAAE,OAAO,GACf,iBAAiB,GAAG,SAAS,CAmB/B;AAED,qBAAa,kBAAkB;IAmB3B,QAAQ,CAAC,KAAK,EAAE,eAAe;IAC/B,OAAO,CAAC,QAAQ,CAAC,QAAQ;IAnB3B,OAAO,CAAC,IAAI,CAAC,CAAgB;IAC7B,OAAO,CAAC,KAAK,CAAK;IAClB,OAAO,CAAC,MAAM,CAAS;IACvB,OAAO,CAAC,SAAS,CAAS;IAC1B,OAAO,CAAC,aAAa,CAAS;IAC9B,OAAO,CAAC,YAAY,CAAK;IACzB,OAAO,CAAC,YAAY,CAAK;IACzB,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAS;IACnC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAS;IACpC,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAC,CAA6C;IACxE,OAAO,CAAC,QAAQ,CAKd;gBAGS,KAAK,EAAE,eAAe,EACd,QAAQ,EAAE,CACzB,MAAM,EAAE,MAAM,KACX,aAAa,CAAC,iBAAiB,CAAC,EACrC,OAAO,GAAE;QACP,SAAS,CAAC,EAAE,MAAM,OAAO,CAAC,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;QACvD,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,GAAG,CAAC,EAAE,MAAM,CAAC,UAAU,CAAC;KACpB;IAOR,MAAM,CAAC,YAAY,UAAQ,GAAG,sBAAsB;IAUpD,SAAS,CAAC,QAAQ,EAAE,wBAAwB,GAAG,IAAI;IAUnD,IAAI,CAAC,aAAa,UAAO,GAAG,IAAI;YAWlB,GAAG;IAkFjB;;;;;;;;;;;;OAYG;YACW,OAAO;IA+BrB;;;;;;;;;;OAUG;YACW,QAAQ;IAUhB,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IAatB,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC;IAIxB,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;CAU7B"}
@@ -0,0 +1,283 @@
1
+ import { setImmediate as yieldToLoop } from "node:timers/promises";
2
+ import { VOCABULARY_FLUSH_COUNTS, } from "../../../bundled/@yep-anywhere/shared/dist/index.js";
3
+ import { getLogger } from "../../logging/logger.js";
4
+ import { vocabularyFingerprint, } from "./VocabularyStore.js";
5
+ const MESSAGE_BURST = 16;
6
+ /** Shortest interval between two relearns of a full fingerprint filter. */
7
+ const RELEARN_COOLDOWN_MS = 24 * 3600_000;
8
+ /** Shortest interval between two compactions, for a window that cannot fit. */
9
+ const COMPACT_COOLDOWN_MS = 3600_000;
10
+ /**
11
+ * How far back a compacted filter still remembers individual messages.
12
+ * Deliberately hours rather than minutes: provider timestamps are not assumed
13
+ * to come from a monotonic, daylight-saving-immune clock, so the window has to
14
+ * absorb a wall-clock step. A daylight-saving shift is the worst named case at
15
+ * an hour, and two leaves an hour of margin.
16
+ */
17
+ const DEFAULT_EPSILON_HOURS = 2;
18
+ function parseEpsilonMs(env) {
19
+ const raw = env.YEP_SPEECH_VOCABULARY_EPSILON_HOURS;
20
+ const parsed = raw ? Number.parseFloat(raw) : Number.NaN;
21
+ const hours = Number.isFinite(parsed) && parsed > 0 ? parsed : DEFAULT_EPSILON_HOURS;
22
+ return hours * 3600_000;
23
+ }
24
+ /**
25
+ * The text a message contributes, or nothing when it contributes none. Shared
26
+ * with compaction so a rebuilt filter fingerprints exactly what the counting
27
+ * path fingerprinted; two copies of this would silently stop agreeing.
28
+ */
29
+ export function vocabularyMessage(message) {
30
+ const timestamp = Date.parse(message.timestamp ?? "");
31
+ if (!Number.isFinite(timestamp))
32
+ return undefined;
33
+ if (message.type !== "user" && message.type !== "assistant")
34
+ return undefined;
35
+ if (message.isMeta || message.isCompactSummary)
36
+ return undefined;
37
+ const content = message.message?.content ?? message.content;
38
+ const text = typeof content === "string"
39
+ ? content
40
+ : Array.isArray(content)
41
+ ? content
42
+ .filter((block) => block?.type === "text" && typeof block.text === "string")
43
+ .map((block) => block.text)
44
+ .join("\n")
45
+ : "";
46
+ return { source: message.type, timestamp, text };
47
+ }
48
+ export class VocabularyLearning {
49
+ store;
50
+ sessions;
51
+ work;
52
+ epoch = 0;
53
+ closed = false;
54
+ requested = false;
55
+ retrospective = false;
56
+ relearnAfter = 0;
57
+ compactAfter = 0;
58
+ epsilonMs;
59
+ flushAfter;
60
+ reference;
61
+ progress = {
62
+ state: "idle",
63
+ sessions: 0,
64
+ messages: 0,
65
+ error: undefined,
66
+ };
67
+ constructor(store, sessions, options = {}) {
68
+ this.store = store;
69
+ this.sessions = sessions;
70
+ this.reference = options.reference;
71
+ this.flushAfter = options.flushAfter ?? VOCABULARY_FLUSH_COUNTS;
72
+ this.epsilonMs = parseEpsilonMs(options.env ?? process.env);
73
+ }
74
+ status(includeWords = false) {
75
+ return {
76
+ ...this.store.settings(),
77
+ totals: this.store.totals(),
78
+ ...(includeWords ? { words: this.store.words() } : {}),
79
+ scan: { ...this.progress },
80
+ integration: "grok-via-ya",
81
+ };
82
+ }
83
+ configure(settings) {
84
+ const wasEnabled = this.store.settings().enabled;
85
+ this.store.configure(settings);
86
+ if (!settings.enabled) {
87
+ this.epoch++;
88
+ this.requested = false;
89
+ this.store.discardPending();
90
+ }
91
+ else if (!wasEnabled)
92
+ this.scan();
93
+ }
94
+ scan(retrospective = true) {
95
+ if (this.closed || !this.store.settings().enabled)
96
+ return;
97
+ this.requested = true;
98
+ this.retrospective ||= retrospective;
99
+ if (this.work)
100
+ return;
101
+ this.work = this.run().finally(() => {
102
+ this.work = undefined;
103
+ if (this.requested)
104
+ this.scan(false);
105
+ });
106
+ }
107
+ async run() {
108
+ this.requested = false;
109
+ const epoch = this.epoch;
110
+ const { generation, hours } = this.store.settings();
111
+ const requestedCutoff = Date.now() - hours * 3600_000;
112
+ const cutoff = this.retrospective
113
+ ? requestedCutoff
114
+ : this.store.automaticCutoff(requestedCutoff);
115
+ this.retrospective = false;
116
+ const active = () => !this.closed && epoch === this.epoch && this.store.accepts(generation);
117
+ this.progress = {
118
+ state: "scanning",
119
+ sessions: 0,
120
+ messages: 0,
121
+ error: undefined,
122
+ };
123
+ try {
124
+ await this.store.load();
125
+ if (this.reference)
126
+ this.store.setReference(await this.reference());
127
+ if (!active())
128
+ return;
129
+ let burst = 0;
130
+ for await (const session of this.sessions(cutoff)) {
131
+ if (!active())
132
+ break;
133
+ if (session.updatedAt < cutoff ||
134
+ this.store.hasScanned(session.key, session.version, cutoff))
135
+ continue;
136
+ for await (const page of session.messages()) {
137
+ if (!active())
138
+ break;
139
+ for (const message of page) {
140
+ if (!active())
141
+ break;
142
+ const observed = vocabularyMessage(message);
143
+ if (!observed || observed.timestamp < cutoff)
144
+ continue;
145
+ this.store.observe(session.key, observed, generation);
146
+ this.progress.messages++;
147
+ burst++;
148
+ if (this.store.pendingCount >= this.flushAfter)
149
+ await this.store.flush();
150
+ if (burst >= MESSAGE_BURST) {
151
+ burst = 0;
152
+ await yieldToLoop();
153
+ }
154
+ }
155
+ }
156
+ if (!active())
157
+ break;
158
+ this.store.checkpoint(session.key, session.version, cutoff);
159
+ this.progress.sessions++;
160
+ await yieldToLoop();
161
+ }
162
+ // A scan runs whenever the catalog republishes, which live sessions do
163
+ // every few seconds. One that observed nothing new must cost nothing:
164
+ // no rewritten rows, no rebuilt ranking, no new revision.
165
+ if (this.store.settings().enabled && active()) {
166
+ if (!this.store.idle)
167
+ await this.store.flush();
168
+ }
169
+ else
170
+ this.store.discardPending();
171
+ if (active())
172
+ this.progress.state = "idle";
173
+ // Compaction first: it keeps every learned count, and it triggers far
174
+ // below the load at which the filter is called full.
175
+ if (this.store.seenOverloaded &&
176
+ active() &&
177
+ Date.now() >= this.compactAfter)
178
+ await this.compact(active);
179
+ if (this.store.seenSaturated &&
180
+ active() &&
181
+ Date.now() >= this.relearnAfter)
182
+ await this.makeRoom();
183
+ }
184
+ catch (error) {
185
+ this.store.discardPending();
186
+ if (!active())
187
+ return;
188
+ this.requested = false;
189
+ this.progress.state = "error";
190
+ this.progress.error =
191
+ error instanceof Error ? error.message : String(error);
192
+ }
193
+ }
194
+ /**
195
+ * Rebuild the filter over the last epsilon of history and raise the floor to
196
+ * match, so it holds recent fingerprints instead of every one ever seen. The
197
+ * counts are untouched: this is the answer that makes the full clear below a
198
+ * last resort rather than the only move.
199
+ *
200
+ * The rebuild runs in the same small yielding steps as a scan and fills a
201
+ * second filter, so the live one keeps answering throughout; the swap is one
202
+ * rename. A message that arrives during the rebuild can be missed by it, and
203
+ * is then protected only by its session's scan checkpoint until that session
204
+ * changes — acceptable for an event this rare, and the reason the floor is
205
+ * set to where the rebuild started rather than where it finished.
206
+ */
207
+ async compact(active) {
208
+ this.compactAfter = Date.now() + COMPACT_COOLDOWN_MS;
209
+ const from = Date.now() - this.epsilonMs;
210
+ const replacement = this.store.beginSeenCompaction();
211
+ let messages = 0;
212
+ let burst = 0;
213
+ for await (const session of this.sessions(from)) {
214
+ if (!active())
215
+ return;
216
+ for await (const page of session.messages()) {
217
+ if (!active())
218
+ return;
219
+ for (const message of page) {
220
+ const observed = vocabularyMessage(message);
221
+ if (!observed || observed.timestamp < from)
222
+ continue;
223
+ replacement.add(vocabularyFingerprint(session.key, observed));
224
+ messages++;
225
+ if (++burst >= MESSAGE_BURST) {
226
+ burst = 0;
227
+ await yieldToLoop();
228
+ }
229
+ }
230
+ }
231
+ await yieldToLoop();
232
+ }
233
+ if (!active())
234
+ return;
235
+ await this.store.commitSeenCompaction(replacement, from);
236
+ getLogger().info({ component: "speech", messages, from: new Date(from).toISOString() }, "Compacted the speech vocabulary fingerprint filter to its recent window");
237
+ }
238
+ /**
239
+ * The fingerprint filter is full, so it can no longer tell new text from old
240
+ * reliably. Empty it and everything counted through it, then relearn the
241
+ * retained window from provider history — the counts outside that window are
242
+ * not recoverable by rescanning anyway.
243
+ *
244
+ * The cooldown matters: a retained window whose messages cannot fit the
245
+ * reservation fills the filter again as soon as it is relearned. Backing off
246
+ * leaves recognition working against a filter that dedupes approximately,
247
+ * which is the mild failure; rescanning in a loop is not.
248
+ */
249
+ async makeRoom() {
250
+ this.relearnAfter = Date.now() + RELEARN_COOLDOWN_MS;
251
+ getLogger().warn({ component: "speech" }, "Speech vocabulary fingerprint filter is full; relearning the retained window");
252
+ await this.store.relearn();
253
+ this.scan(true);
254
+ }
255
+ async reset() {
256
+ this.epoch++;
257
+ this.requested = false;
258
+ this.retrospective = false;
259
+ await this.store.reset();
260
+ this.progress = {
261
+ state: "idle",
262
+ sessions: 0,
263
+ messages: 0,
264
+ error: undefined,
265
+ };
266
+ }
267
+ async settled() {
268
+ while (this.work)
269
+ await this.work;
270
+ }
271
+ async close() {
272
+ this.closed = true;
273
+ this.epoch++;
274
+ this.requested = false;
275
+ await this.settled();
276
+ if (this.store.settings().enabled && !this.store.idle)
277
+ await this.store.flush();
278
+ else
279
+ this.store.discardPending();
280
+ await this.store.close();
281
+ }
282
+ }
283
+ //# sourceMappingURL=VocabularyLearning.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VocabularyLearning.js","sourceRoot":"","sources":["../../../src/services/voice/VocabularyLearning.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,IAAI,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnE,OAAO,EACL,uBAAuB,GAExB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAEpD,OAAO,EACL,qBAAqB,GAItB,MAAM,sBAAsB,CAAC;AAS9B,MAAM,aAAa,GAAG,EAAE,CAAC;AAEzB,2EAA2E;AAC3E,MAAM,mBAAmB,GAAG,EAAE,GAAG,QAAQ,CAAC;AAC1C,+EAA+E;AAC/E,MAAM,mBAAmB,GAAG,QAAQ,CAAC;AAErC;;;;;;GAMG;AACH,MAAM,qBAAqB,GAAG,CAAC,CAAC;AAEhC,SAAS,cAAc,CAAC,GAAsB;IAC5C,MAAM,GAAG,GAAG,GAAG,CAAC,mCAAmC,CAAC;IACpD,MAAM,MAAM,GAAG,GAAG,CAAC,CAAC,CAAC,MAAM,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC;IACzD,MAAM,KAAK,GACT,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,qBAAqB,CAAC;IACzE,OAAO,KAAK,GAAG,QAAQ,CAAC;AAC1B,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,iBAAiB,CAC/B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AK,EAAE,SAAS;SACjB,CAAC;IACJ,CAAC;IAED,KAAK,CAAC,OAAO;QACX,OAAO,IAAI,CAAC,IAAI;YAAE,MAAM,IAAI,CAAC,IAAI,CAAC;IACpC,CAAC;IAED,KAAK,CAAC,KAAK;QACT,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;QACnB,IAAI,CAAC,KAAK,EAAE,CAAC;QACb,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC;QACvB,MAAM,IAAI,CAAC,OAAO,EAAE,CAAC;QACrB,IAAI,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,OAAO,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI;YACnD,MAAM,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC;;YACtB,IAAI,CAAC,KAAK,CAAC,cAAc,EAAE,CAAC;QACjC,MAAM,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC;IAC3B,CAAC;CACF"}
@@ -0,0 +1,232 @@
1
+ import { VOCABULARY_FLUSH_COUNTS } from "@yep-anywhere/shared";
2
+ import { BlockedBloom } from "./blocked-bloom.js";
3
+ import { type VocabularyTable } from "./vocabulary-database.js";
4
+ export { VOCABULARY_FLUSH_COUNTS };
5
+ export interface VocabularySettings {
6
+ generation: number;
7
+ enabled: boolean;
8
+ biasing: boolean;
9
+ hours: number;
10
+ /**
11
+ * How much more a term from the active session is worth than the same term
12
+ * scored globally. Applied once, where the word is offered to the session
13
+ * heap; the merge replaces rather than adds, so this is the whole factor.
14
+ */
15
+ sessionMultiplier: number;
16
+ /**
17
+ * Share of the selected keyterms held for the active session, 0 to 1. Long
18
+ * history accumulates mass that a fresh session cannot outscore, so a
19
+ * reservation is the only way its terms survive the cut. Zero keeps the
20
+ * unreserved behavior, where score alone decides.
21
+ */
22
+ sessionShare: number;
23
+ }
24
+ /**
25
+ * A settings write. The two ranking knobs are optional so a caller that does
26
+ * not know about them leaves them alone rather than erasing them, which is the
27
+ * same reason the route treats an absent field as unchanged.
28
+ */
29
+ export type VocabularySettingsUpdate = Omit<VocabularySettings, "generation" | "sessionMultiplier" | "sessionShare"> & Partial<Pick<VocabularySettings, "sessionMultiplier" | "sessionShare">>;
30
+ export interface VocabularyMessage {
31
+ source: "user" | "assistant";
32
+ timestamp: number;
33
+ text: string;
34
+ }
35
+ export declare function vocabularyFingerprint(sessionKey: string, message: VocabularyMessage): Uint8Array;
36
+ export interface VocabularyStoreOptions {
37
+ /** Overrides the fingerprint filter's size. */
38
+ seenBytes?: number;
39
+ /** Overrides the shortest interval between two writes of the table. */
40
+ writeIntervalMs?: number;
41
+ /** Substitutes the table, so a test can record exactly what is written. */
42
+ openTable?: (path: string) => VocabularyTable | undefined;
43
+ env?: NodeJS.ProcessEnv;
44
+ }
45
+ export declare class VocabularyStore {
46
+ private readonly dataDir;
47
+ private wordsRevision;
48
+ private ignored;
49
+ private baseline;
50
+ private baselineFloor;
51
+ private readonly wordCounts;
52
+ /** Only words written with a capital somewhere; the rest project to the key. */
53
+ private readonly caseForms;
54
+ private readonly top;
55
+ private readonly sessionTops;
56
+ private readonly pendingWords;
57
+ private readonly sessions;
58
+ private pendingCheckpoints;
59
+ private pendingTokens;
60
+ /** Rows whose stored value no longer matches memory. */
61
+ private dirtyWords;
62
+ private dirtyForms;
63
+ private dirtyCheckpoints;
64
+ private state;
65
+ private loaded;
66
+ private writeTimer;
67
+ private lastWriteAt;
68
+ private readonly writeIntervalMs;
69
+ private readonly env;
70
+ private readonly seenBytes;
71
+ private seen;
72
+ /** Load at which `SEEN_TARGET_RATE` is reached; solved once per filter shape. */
73
+ private overloadAt;
74
+ private seenFile;
75
+ private database;
76
+ private readonly openDatabase;
77
+ private readonly saver;
78
+ get revision(): number;
79
+ get pendingCount(): number;
80
+ /** Nothing new to merge or record: a flush would rewrite the same answer. */
81
+ get idle(): boolean;
82
+ /**
83
+ * The filter is past its design load, so its false-positive rate is rising.
84
+ * Recovering means emptying it and relearning the retained window.
85
+ */
86
+ get seenSaturated(): boolean;
87
+ /**
88
+ * The filter's false-positive rate has reached `SEEN_TARGET_RATE`. This is
89
+ * the compaction trigger and it fires far below `seenSaturated`: rebuilding
90
+ * from a recent window keeps every learned count, while the saturation path
91
+ * discards them all, so the cheap answer must get the first chance.
92
+ */
93
+ get seenOverloaded(): boolean;
94
+ /** Content at or before this time counts as already seen without the filter. */
95
+ get seenFrom(): number;
96
+ /** An empty filter of the same shape, to be filled with a recent window. */
97
+ beginSeenCompaction(): BlockedBloom;
98
+ /**
99
+ * Adopt a rebuilt filter and raise the floor to the window it covers. Order
100
+ * matters: the floor is what stops the messages this filter deliberately
101
+ * forgot from counting twice, so it is recorded in the same step, and the
102
+ * file is replaced by rename so a crash cannot leave a filter that knows
103
+ * less than the floor claims.
104
+ */
105
+ commitSeenCompaction(replacement: BlockedBloom, from: number): Promise<void>;
106
+ /**
107
+ * The fingerprint filter, allocated on first use. A server whose owner never
108
+ * turned learning on pays nothing for the reservation.
109
+ */
110
+ private get filter();
111
+ constructor(dataDir: string, options?: VocabularyStoreOptions);
112
+ private get statePath();
113
+ private get databasePath();
114
+ private get seenPath();
115
+ /**
116
+ * Settings are the only thing read before the feature is used, and the only
117
+ * thing here that a rescan cannot rebuild, so they stay small, JSON, and in
118
+ * the data directory. An unreadable file reverts to defaults rather than
119
+ * failing construction: the alternative is a server that will not start
120
+ * because an optional feature's preferences were half-written.
121
+ */
122
+ private loadState;
123
+ private writeState;
124
+ setIgnoredWords(words: ReadonlySet<string>): void;
125
+ setReference(baseline: ReadonlyMap<string, number>): void;
126
+ addWordCounts(word: string, user: number, assistant: number): void;
127
+ private userTotal;
128
+ private assistantTotal;
129
+ private tokenTotal;
130
+ private frequency;
131
+ private rebuildTop;
132
+ private mergedWords;
133
+ private countsOf;
134
+ private considerWord;
135
+ /**
136
+ * Read the learned table into memory. Counts answer exploration and ranking
137
+ * from memory from that point on, so nothing on those paths waits for disk.
138
+ * Synchronous because a server that has the table must be able to report
139
+ * totals before any scan runs.
140
+ */
141
+ private openTable;
142
+ /**
143
+ * Move the table and filter out of the directory earlier versions reserved
144
+ * for them outside the data directory. Both are recreated from nothing if
145
+ * this fails, so a copy that cannot complete is logged and dropped rather
146
+ * than made fatal; the cost is relearning, and the table is the small one.
147
+ */
148
+ private adoptReservedFiles;
149
+ /**
150
+ * Attach the fingerprint filter. Deferred until a scan needs it, because the
151
+ * filter is large and a server whose owner never turned learning on should
152
+ * not pay for it.
153
+ */
154
+ load(): Promise<void>;
155
+ /**
156
+ * Adopt the previous layout's whole-file snapshots once, then delete them.
157
+ * They were rewritten in full on every flush, which is what moving to a table
158
+ * on local disk fixes; their contents are still the user's learned words.
159
+ */
160
+ private adoptLegacyFiles;
161
+ settings(): VocabularySettings;
162
+ configure(settings: VocabularySettingsUpdate): void;
163
+ totals(): {
164
+ words: number;
165
+ user: number;
166
+ assistant: number;
167
+ };
168
+ words(minimum?: number): {
169
+ user: number;
170
+ assistant: number;
171
+ word: string;
172
+ }[];
173
+ wordsAbove(minimum?: number): {
174
+ user: number;
175
+ assistant: number;
176
+ word: string;
177
+ }[];
178
+ hasScanned(sessionKey: string, sourceVersion: string, cutoff: number): boolean;
179
+ accepts(generation: number): boolean;
180
+ automaticCutoff(cutoff: number): number;
181
+ observe(sessionKey: string, message: VocabularyMessage, generation: number): number;
182
+ private recordCase;
183
+ checkpoint(sessionKey: string, version: string, cutoff: number): void;
184
+ discardPending(): void;
185
+ /**
186
+ * Commit what the scan observed to memory and hand the changed rows to the
187
+ * writer. This does not wait for disk: the scan is producing text on the same
188
+ * loop the server serves from, and the table it writes is regenerable.
189
+ */
190
+ flush(): Promise<void>;
191
+ /** Nothing in memory differs from what the table and the filter hold. */
192
+ private get clean();
193
+ /**
194
+ * Mark the table for writing, no sooner than the minimum interval since the
195
+ * last write. Scans arrive as fast as the catalog republishes, and the table
196
+ * is regenerable, so paying a commit for each one buys nothing: a crash
197
+ * costs at most one interval of learning, and a rescan recovers even that.
198
+ */
199
+ private save;
200
+ private write;
201
+ /** Writer body. Runs one at a time, coalescing whatever arrived meanwhile. */
202
+ private persist;
203
+ /**
204
+ * Write anything still waiting for its interval and resolve only once it
205
+ * landed, rethrowing what the writer threw. A caller that is about to discard
206
+ * the only other copy of what the write carried needs this rather than
207
+ * `settled()`, which reports quiescence.
208
+ */
209
+ private landed;
210
+ /**
211
+ * Write anything still waiting for its interval, then wait for the writer to
212
+ * go quiet. Shutdown, reset, and tests; never the scan.
213
+ */
214
+ settled(): Promise<void>;
215
+ reset(): Promise<void>;
216
+ /**
217
+ * Empty the fingerprint filter and everything derived from it, keeping the
218
+ * settings and the reset generation. The caller follows with a retrospective
219
+ * scan, which relearns the retained window into a filter that is no longer
220
+ * over its design load.
221
+ */
222
+ relearn(): Promise<void>;
223
+ /**
224
+ * A capitalized spelling of a common English word stands only while writing
225
+ * still prefers it: "YA" survives, an occasional shouted "NOT" does not.
226
+ */
227
+ private spelled;
228
+ private sessionTop;
229
+ keyterms(baseline: ReadonlyMap<string, number>, limit?: number, maxLength?: number, sessionTerms?: ReadonlySet<string>, sessionKey?: string): string[];
230
+ close(): Promise<void>;
231
+ }
232
+ //# sourceMappingURL=VocabularyStore.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VocabularyStore.d.ts","sourceRoot":"","sources":["../../../src/services/voice/VocabularyStore.ts"],"names":[],"mappings":"AAcA,OAAO,EASL,uBAAuB,EACxB,MAAM,sBAAsB,CAAC;AAQ9B,OAAO,EAAE,YAAY,EAA+B,MAAM,oBAAoB,CAAC;AAE/E,OAAO,EAEL,KAAK,eAAe,EACrB,MAAM,0BAA0B,CAAC;AAElC,OAAO,EAAE,uBAAuB,EAAE,CAAC;AAEnC,MAAM,WAAW,kBAAkB;IACjC,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,CAAC;IA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