@oddkin/ai 0.0.0-stage → 1.0.0-beta.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 (1177) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +108 -2
  3. package/agent/GUIDE.md +39 -0
  4. package/agent/kit.json +425 -0
  5. package/agent/llms.txt +82 -0
  6. package/agent/references/choosing-components.md +78 -0
  7. package/agent/references/components/odd-action-approval.md +81 -0
  8. package/agent/references/components/odd-activity.md +78 -0
  9. package/agent/references/components/odd-ai-label.md +73 -0
  10. package/agent/references/components/odd-artifact.md +88 -0
  11. package/agent/references/components/odd-change-review.md +81 -0
  12. package/agent/references/components/odd-checkpoint.md +78 -0
  13. package/agent/references/components/odd-citation.md +76 -0
  14. package/agent/references/components/odd-context-picker.md +78 -0
  15. package/agent/references/components/odd-conversation.md +106 -0
  16. package/agent/references/components/odd-inline-assist.md +84 -0
  17. package/agent/references/components/odd-message-branch.md +73 -0
  18. package/agent/references/components/odd-message.md +99 -0
  19. package/agent/references/components/odd-model-select.md +84 -0
  20. package/agent/references/components/odd-prompt-input.md +116 -0
  21. package/agent/references/components/odd-question.md +78 -0
  22. package/agent/references/components/odd-response-feedback.md +79 -0
  23. package/agent/references/components/odd-response.md +94 -0
  24. package/agent/references/components/odd-sources.md +80 -0
  25. package/agent/references/components/odd-suggestions.md +76 -0
  26. package/agent/references/components/odd-task-plan.md +73 -0
  27. package/agent/references/components/odd-tool-call.md +82 -0
  28. package/agent/references/components/odd-transcript.md +73 -0
  29. package/agent/references/components/odd-usage-meter.md +71 -0
  30. package/agent/references/components/odd-voice-input.md +80 -0
  31. package/agent/references/models/oddkin.ai.approval.md +3 -0
  32. package/agent/references/models/oddkin.ai.artifact.md +3 -0
  33. package/agent/references/models/oddkin.ai.checkpoint.md +3 -0
  34. package/agent/references/models/oddkin.ai.context-item.md +3 -0
  35. package/agent/references/models/oddkin.ai.conversation.md +3 -0
  36. package/agent/references/models/oddkin.ai.feedback.md +3 -0
  37. package/agent/references/models/oddkin.ai.message.md +3 -0
  38. package/agent/references/models/oddkin.ai.model-option.md +3 -0
  39. package/agent/references/models/oddkin.ai.plan.md +3 -0
  40. package/agent/references/models/oddkin.ai.question.md +3 -0
  41. package/agent/references/models/oddkin.ai.suggestion.md +3 -0
  42. package/agent/references/models/oddkin.ai.tool-call.md +3 -0
  43. package/agent/references/models/oddkin.ai.transcript-segment.md +3 -0
  44. package/agent/references/models/oddkin.ai.usage.md +3 -0
  45. package/agent/references/recipes/action-approval.md +12 -0
  46. package/agent/references/recipes/activity.md +9 -0
  47. package/agent/references/recipes/ai-element.md +9 -0
  48. package/agent/references/recipes/artifact.md +10 -0
  49. package/agent/references/recipes/change-review.md +11 -0
  50. package/agent/references/recipes/checkpoint.md +10 -0
  51. package/agent/references/recipes/citation.md +9 -0
  52. package/agent/references/recipes/context-picker.md +12 -0
  53. package/agent/references/recipes/conversation.md +12 -0
  54. package/agent/references/recipes/inline-assist.md +11 -0
  55. package/agent/references/recipes/message.md +12 -0
  56. package/agent/references/recipes/prompt-input.md +12 -0
  57. package/agent/references/recipes/question.md +12 -0
  58. package/agent/references/recipes/response-feedback.md +12 -0
  59. package/agent/references/recipes/sources.md +10 -0
  60. package/agent/references/recipes/suggestions.md +9 -0
  61. package/agent/references/recipes/task-plan.md +15 -0
  62. package/agent/references/recipes/tool-call.md +11 -0
  63. package/agent/references/recipes/transcript.md +9 -0
  64. package/agent/references/recipes/usage-meter.md +9 -0
  65. package/agent/references/recipes/voice-input.md +9 -0
  66. package/agent/references/tokens/component.md +13 -0
  67. package/agent/references/tokens/foundation.md +73 -0
  68. package/agent/references/tokens/layout.md +12 -0
  69. package/agent/references/tokens/reference.md +74 -0
  70. package/agent/references/tokens/semantic.md +91 -0
  71. package/custom-elements.json +3998 -0
  72. package/dist/action-approval/action-approval.d.ts +207 -0
  73. package/dist/action-approval/action-approval.d.ts.map +1 -0
  74. package/dist/action-approval/action-approval.define.d.ts +3 -0
  75. package/dist/action-approval/action-approval.define.d.ts.map +1 -0
  76. package/dist/action-approval/action-approval.define.js +5 -0
  77. package/dist/action-approval/action-approval.define.js.map +1 -0
  78. package/dist/action-approval/action-approval.definition.d.ts +3 -0
  79. package/dist/action-approval/action-approval.definition.d.ts.map +1 -0
  80. package/dist/action-approval/action-approval.definition.js +14 -0
  81. package/dist/action-approval/action-approval.definition.js.map +1 -0
  82. package/dist/action-approval/action-approval.js +172 -0
  83. package/dist/action-approval/action-approval.js.map +1 -0
  84. package/dist/action-approval/action-approval.recipe.d.ts +6 -0
  85. package/dist/action-approval/action-approval.recipe.d.ts.map +1 -0
  86. package/dist/action-approval/action-approval.recipe.js +16 -0
  87. package/dist/action-approval/action-approval.recipe.js.map +1 -0
  88. package/dist/action-approval/action-approval.recipe.styles.d.ts +2 -0
  89. package/dist/action-approval/action-approval.recipe.styles.d.ts.map +1 -0
  90. package/dist/action-approval/action-approval.recipe.styles.js +5 -0
  91. package/dist/action-approval/action-approval.recipe.styles.js.map +1 -0
  92. package/dist/action-approval/action-approval.styles.d.ts +3 -0
  93. package/dist/action-approval/action-approval.styles.d.ts.map +1 -0
  94. package/dist/action-approval/action-approval.styles.js +67 -0
  95. package/dist/action-approval/action-approval.styles.js.map +1 -0
  96. package/dist/action-approval/action-approval.template.d.ts +4 -0
  97. package/dist/action-approval/action-approval.template.d.ts.map +1 -0
  98. package/dist/action-approval/action-approval.template.js +93 -0
  99. package/dist/action-approval/action-approval.template.js.map +1 -0
  100. package/dist/action-approval/index.d.ts +5 -0
  101. package/dist/action-approval/index.d.ts.map +1 -0
  102. package/dist/action-approval/index.js +6 -0
  103. package/dist/action-approval/index.js.map +1 -0
  104. package/dist/activity/activity.d.ts +178 -0
  105. package/dist/activity/activity.d.ts.map +1 -0
  106. package/dist/activity/activity.define.d.ts +3 -0
  107. package/dist/activity/activity.define.d.ts.map +1 -0
  108. package/dist/activity/activity.define.js +5 -0
  109. package/dist/activity/activity.define.js.map +1 -0
  110. package/dist/activity/activity.definition.d.ts +3 -0
  111. package/dist/activity/activity.definition.d.ts.map +1 -0
  112. package/dist/activity/activity.definition.js +12 -0
  113. package/dist/activity/activity.definition.js.map +1 -0
  114. package/dist/activity/activity.js +124 -0
  115. package/dist/activity/activity.js.map +1 -0
  116. package/dist/activity/activity.recipe.d.ts +3 -0
  117. package/dist/activity/activity.recipe.d.ts.map +1 -0
  118. package/dist/activity/activity.recipe.js +8 -0
  119. package/dist/activity/activity.recipe.js.map +1 -0
  120. package/dist/activity/activity.recipe.styles.d.ts +2 -0
  121. package/dist/activity/activity.recipe.styles.d.ts.map +1 -0
  122. package/dist/activity/activity.recipe.styles.js +5 -0
  123. package/dist/activity/activity.recipe.styles.js.map +1 -0
  124. package/dist/activity/activity.styles.d.ts +3 -0
  125. package/dist/activity/activity.styles.d.ts.map +1 -0
  126. package/dist/activity/activity.styles.js +37 -0
  127. package/dist/activity/activity.styles.js.map +1 -0
  128. package/dist/activity/activity.template.d.ts +4 -0
  129. package/dist/activity/activity.template.d.ts.map +1 -0
  130. package/dist/activity/activity.template.js +23 -0
  131. package/dist/activity/activity.template.js.map +1 -0
  132. package/dist/activity/index.d.ts +5 -0
  133. package/dist/activity/index.d.ts.map +1 -0
  134. package/dist/activity/index.js +6 -0
  135. package/dist/activity/index.js.map +1 -0
  136. package/dist/ai-label/ai-label.d.ts +57 -0
  137. package/dist/ai-label/ai-label.d.ts.map +1 -0
  138. package/dist/ai-label/ai-label.define.d.ts +3 -0
  139. package/dist/ai-label/ai-label.define.d.ts.map +1 -0
  140. package/dist/ai-label/ai-label.define.js +5 -0
  141. package/dist/ai-label/ai-label.define.js.map +1 -0
  142. package/dist/ai-label/ai-label.definition.d.ts +3 -0
  143. package/dist/ai-label/ai-label.definition.d.ts.map +1 -0
  144. package/dist/ai-label/ai-label.definition.js +12 -0
  145. package/dist/ai-label/ai-label.definition.js.map +1 -0
  146. package/dist/ai-label/ai-label.js +41 -0
  147. package/dist/ai-label/ai-label.js.map +1 -0
  148. package/dist/ai-label/ai-label.styles.d.ts +2 -0
  149. package/dist/ai-label/ai-label.styles.d.ts.map +1 -0
  150. package/dist/ai-label/ai-label.styles.js +40 -0
  151. package/dist/ai-label/ai-label.styles.js.map +1 -0
  152. package/dist/ai-label/ai-label.template.d.ts +4 -0
  153. package/dist/ai-label/ai-label.template.d.ts.map +1 -0
  154. package/dist/ai-label/ai-label.template.js +32 -0
  155. package/dist/ai-label/ai-label.template.js.map +1 -0
  156. package/dist/ai-label/index.d.ts +5 -0
  157. package/dist/ai-label/index.d.ts.map +1 -0
  158. package/dist/ai-label/index.js +6 -0
  159. package/dist/ai-label/index.js.map +1 -0
  160. package/dist/announce.d.ts +11 -0
  161. package/dist/announce.d.ts.map +1 -0
  162. package/dist/announce.js +21 -0
  163. package/dist/announce.js.map +1 -0
  164. package/dist/artifact/artifact.d.ts +118 -0
  165. package/dist/artifact/artifact.d.ts.map +1 -0
  166. package/dist/artifact/artifact.define.d.ts +3 -0
  167. package/dist/artifact/artifact.define.d.ts.map +1 -0
  168. package/dist/artifact/artifact.define.js +5 -0
  169. package/dist/artifact/artifact.define.js.map +1 -0
  170. package/dist/artifact/artifact.definition.d.ts +3 -0
  171. package/dist/artifact/artifact.definition.d.ts.map +1 -0
  172. package/dist/artifact/artifact.definition.js +12 -0
  173. package/dist/artifact/artifact.definition.js.map +1 -0
  174. package/dist/artifact/artifact.js +190 -0
  175. package/dist/artifact/artifact.js.map +1 -0
  176. package/dist/artifact/artifact.recipe.d.ts +3 -0
  177. package/dist/artifact/artifact.recipe.d.ts.map +1 -0
  178. package/dist/artifact/artifact.recipe.js +11 -0
  179. package/dist/artifact/artifact.recipe.js.map +1 -0
  180. package/dist/artifact/artifact.recipe.styles.d.ts +2 -0
  181. package/dist/artifact/artifact.recipe.styles.d.ts.map +1 -0
  182. package/dist/artifact/artifact.recipe.styles.js +5 -0
  183. package/dist/artifact/artifact.recipe.styles.js.map +1 -0
  184. package/dist/artifact/artifact.styles.d.ts +3 -0
  185. package/dist/artifact/artifact.styles.d.ts.map +1 -0
  186. package/dist/artifact/artifact.styles.js +65 -0
  187. package/dist/artifact/artifact.styles.js.map +1 -0
  188. package/dist/artifact/artifact.template.d.ts +4 -0
  189. package/dist/artifact/artifact.template.d.ts.map +1 -0
  190. package/dist/artifact/artifact.template.js +60 -0
  191. package/dist/artifact/artifact.template.js.map +1 -0
  192. package/dist/artifact/index.d.ts +6 -0
  193. package/dist/artifact/index.d.ts.map +1 -0
  194. package/dist/artifact/index.js +6 -0
  195. package/dist/artifact/index.js.map +1 -0
  196. package/dist/change-review/change-review.d.ts +101 -0
  197. package/dist/change-review/change-review.d.ts.map +1 -0
  198. package/dist/change-review/change-review.define.d.ts +3 -0
  199. package/dist/change-review/change-review.define.d.ts.map +1 -0
  200. package/dist/change-review/change-review.define.js +5 -0
  201. package/dist/change-review/change-review.define.js.map +1 -0
  202. package/dist/change-review/change-review.definition.d.ts +3 -0
  203. package/dist/change-review/change-review.definition.d.ts.map +1 -0
  204. package/dist/change-review/change-review.definition.js +14 -0
  205. package/dist/change-review/change-review.definition.js.map +1 -0
  206. package/dist/change-review/change-review.js +142 -0
  207. package/dist/change-review/change-review.js.map +1 -0
  208. package/dist/change-review/change-review.recipe.d.ts +6 -0
  209. package/dist/change-review/change-review.recipe.d.ts.map +1 -0
  210. package/dist/change-review/change-review.recipe.js +15 -0
  211. package/dist/change-review/change-review.recipe.js.map +1 -0
  212. package/dist/change-review/change-review.recipe.styles.d.ts +2 -0
  213. package/dist/change-review/change-review.recipe.styles.d.ts.map +1 -0
  214. package/dist/change-review/change-review.recipe.styles.js +5 -0
  215. package/dist/change-review/change-review.recipe.styles.js.map +1 -0
  216. package/dist/change-review/change-review.styles.d.ts +3 -0
  217. package/dist/change-review/change-review.styles.d.ts.map +1 -0
  218. package/dist/change-review/change-review.styles.js +68 -0
  219. package/dist/change-review/change-review.styles.js.map +1 -0
  220. package/dist/change-review/change-review.template.d.ts +4 -0
  221. package/dist/change-review/change-review.template.d.ts.map +1 -0
  222. package/dist/change-review/change-review.template.js +91 -0
  223. package/dist/change-review/change-review.template.js.map +1 -0
  224. package/dist/change-review/index.d.ts +5 -0
  225. package/dist/change-review/index.d.ts.map +1 -0
  226. package/dist/change-review/index.js +6 -0
  227. package/dist/change-review/index.js.map +1 -0
  228. package/dist/checkpoint/checkpoint.d.ts +162 -0
  229. package/dist/checkpoint/checkpoint.d.ts.map +1 -0
  230. package/dist/checkpoint/checkpoint.define.d.ts +3 -0
  231. package/dist/checkpoint/checkpoint.define.d.ts.map +1 -0
  232. package/dist/checkpoint/checkpoint.define.js +5 -0
  233. package/dist/checkpoint/checkpoint.define.js.map +1 -0
  234. package/dist/checkpoint/checkpoint.definition.d.ts +3 -0
  235. package/dist/checkpoint/checkpoint.definition.d.ts.map +1 -0
  236. package/dist/checkpoint/checkpoint.definition.js +14 -0
  237. package/dist/checkpoint/checkpoint.definition.js.map +1 -0
  238. package/dist/checkpoint/checkpoint.js +130 -0
  239. package/dist/checkpoint/checkpoint.js.map +1 -0
  240. package/dist/checkpoint/checkpoint.recipe.d.ts +3 -0
  241. package/dist/checkpoint/checkpoint.recipe.d.ts.map +1 -0
  242. package/dist/checkpoint/checkpoint.recipe.js +11 -0
  243. package/dist/checkpoint/checkpoint.recipe.js.map +1 -0
  244. package/dist/checkpoint/checkpoint.recipe.styles.d.ts +2 -0
  245. package/dist/checkpoint/checkpoint.recipe.styles.d.ts.map +1 -0
  246. package/dist/checkpoint/checkpoint.recipe.styles.js +5 -0
  247. package/dist/checkpoint/checkpoint.recipe.styles.js.map +1 -0
  248. package/dist/checkpoint/checkpoint.styles.d.ts +3 -0
  249. package/dist/checkpoint/checkpoint.styles.d.ts.map +1 -0
  250. package/dist/checkpoint/checkpoint.styles.js +39 -0
  251. package/dist/checkpoint/checkpoint.styles.js.map +1 -0
  252. package/dist/checkpoint/checkpoint.template.d.ts +4 -0
  253. package/dist/checkpoint/checkpoint.template.d.ts.map +1 -0
  254. package/dist/checkpoint/checkpoint.template.js +69 -0
  255. package/dist/checkpoint/checkpoint.template.js.map +1 -0
  256. package/dist/checkpoint/index.d.ts +5 -0
  257. package/dist/checkpoint/index.d.ts.map +1 -0
  258. package/dist/checkpoint/index.js +6 -0
  259. package/dist/checkpoint/index.js.map +1 -0
  260. package/dist/citation/citation.d.ts +83 -0
  261. package/dist/citation/citation.d.ts.map +1 -0
  262. package/dist/citation/citation.define.d.ts +3 -0
  263. package/dist/citation/citation.define.d.ts.map +1 -0
  264. package/dist/citation/citation.define.js +5 -0
  265. package/dist/citation/citation.define.js.map +1 -0
  266. package/dist/citation/citation.definition.d.ts +3 -0
  267. package/dist/citation/citation.definition.d.ts.map +1 -0
  268. package/dist/citation/citation.definition.js +12 -0
  269. package/dist/citation/citation.definition.js.map +1 -0
  270. package/dist/citation/citation.js +87 -0
  271. package/dist/citation/citation.js.map +1 -0
  272. package/dist/citation/citation.recipe.d.ts +3 -0
  273. package/dist/citation/citation.recipe.d.ts.map +1 -0
  274. package/dist/citation/citation.recipe.js +8 -0
  275. package/dist/citation/citation.recipe.js.map +1 -0
  276. package/dist/citation/citation.recipe.styles.d.ts +2 -0
  277. package/dist/citation/citation.recipe.styles.d.ts.map +1 -0
  278. package/dist/citation/citation.recipe.styles.js +5 -0
  279. package/dist/citation/citation.recipe.styles.js.map +1 -0
  280. package/dist/citation/citation.styles.d.ts +3 -0
  281. package/dist/citation/citation.styles.d.ts.map +1 -0
  282. package/dist/citation/citation.styles.js +60 -0
  283. package/dist/citation/citation.styles.js.map +1 -0
  284. package/dist/citation/citation.template.d.ts +4 -0
  285. package/dist/citation/citation.template.d.ts.map +1 -0
  286. package/dist/citation/citation.template.js +55 -0
  287. package/dist/citation/citation.template.js.map +1 -0
  288. package/dist/citation/index.d.ts +6 -0
  289. package/dist/citation/index.d.ts.map +1 -0
  290. package/dist/citation/index.js +6 -0
  291. package/dist/citation/index.js.map +1 -0
  292. package/dist/context-picker/context-picker.d.ts +124 -0
  293. package/dist/context-picker/context-picker.d.ts.map +1 -0
  294. package/dist/context-picker/context-picker.define.d.ts +3 -0
  295. package/dist/context-picker/context-picker.define.d.ts.map +1 -0
  296. package/dist/context-picker/context-picker.define.js +5 -0
  297. package/dist/context-picker/context-picker.define.js.map +1 -0
  298. package/dist/context-picker/context-picker.definition.d.ts +3 -0
  299. package/dist/context-picker/context-picker.definition.d.ts.map +1 -0
  300. package/dist/context-picker/context-picker.definition.js +12 -0
  301. package/dist/context-picker/context-picker.definition.js.map +1 -0
  302. package/dist/context-picker/context-picker.js +133 -0
  303. package/dist/context-picker/context-picker.js.map +1 -0
  304. package/dist/context-picker/context-picker.recipe.d.ts +6 -0
  305. package/dist/context-picker/context-picker.recipe.d.ts.map +1 -0
  306. package/dist/context-picker/context-picker.recipe.js +16 -0
  307. package/dist/context-picker/context-picker.recipe.js.map +1 -0
  308. package/dist/context-picker/context-picker.recipe.styles.d.ts +2 -0
  309. package/dist/context-picker/context-picker.recipe.styles.d.ts.map +1 -0
  310. package/dist/context-picker/context-picker.recipe.styles.js +5 -0
  311. package/dist/context-picker/context-picker.recipe.styles.js.map +1 -0
  312. package/dist/context-picker/context-picker.styles.d.ts +3 -0
  313. package/dist/context-picker/context-picker.styles.d.ts.map +1 -0
  314. package/dist/context-picker/context-picker.styles.js +47 -0
  315. package/dist/context-picker/context-picker.styles.js.map +1 -0
  316. package/dist/context-picker/context-picker.template.d.ts +4 -0
  317. package/dist/context-picker/context-picker.template.d.ts.map +1 -0
  318. package/dist/context-picker/context-picker.template.js +84 -0
  319. package/dist/context-picker/context-picker.template.js.map +1 -0
  320. package/dist/context-picker/index.d.ts +5 -0
  321. package/dist/context-picker/index.d.ts.map +1 -0
  322. package/dist/context-picker/index.js +6 -0
  323. package/dist/context-picker/index.js.map +1 -0
  324. package/dist/contracts/index.d.ts +9 -0
  325. package/dist/contracts/index.d.ts.map +1 -0
  326. package/dist/contracts/index.js +7 -0
  327. package/dist/contracts/index.js.map +1 -0
  328. package/dist/contracts/models.d.ts +852 -0
  329. package/dist/contracts/models.d.ts.map +1 -0
  330. package/dist/contracts/models.js +337 -0
  331. package/dist/contracts/models.js.map +1 -0
  332. package/dist/contracts/normalize.d.ts +48 -0
  333. package/dist/contracts/normalize.d.ts.map +1 -0
  334. package/dist/contracts/normalize.js +199 -0
  335. package/dist/contracts/normalize.js.map +1 -0
  336. package/dist/contracts/types.d.ts +253 -0
  337. package/dist/contracts/types.d.ts.map +1 -0
  338. package/dist/contracts/types.js +2 -0
  339. package/dist/contracts/types.js.map +1 -0
  340. package/dist/controllers/announcer.d.ts +37 -0
  341. package/dist/controllers/announcer.d.ts.map +1 -0
  342. package/dist/controllers/announcer.js +169 -0
  343. package/dist/controllers/announcer.js.map +1 -0
  344. package/dist/controllers/composer.d.ts +112 -0
  345. package/dist/controllers/composer.d.ts.map +1 -0
  346. package/dist/controllers/composer.js +291 -0
  347. package/dist/controllers/composer.js.map +1 -0
  348. package/dist/controllers/conversation.d.ts +106 -0
  349. package/dist/controllers/conversation.d.ts.map +1 -0
  350. package/dist/controllers/conversation.js +1151 -0
  351. package/dist/controllers/conversation.js.map +1 -0
  352. package/dist/controllers/diff.d.ts +17 -0
  353. package/dist/controllers/diff.d.ts.map +1 -0
  354. package/dist/controllers/diff.js +64 -0
  355. package/dist/controllers/diff.js.map +1 -0
  356. package/dist/controllers/document.d.ts +86 -0
  357. package/dist/controllers/document.d.ts.map +1 -0
  358. package/dist/controllers/document.js +185 -0
  359. package/dist/controllers/document.js.map +1 -0
  360. package/dist/controllers/external-store.d.ts +33 -0
  361. package/dist/controllers/external-store.d.ts.map +1 -0
  362. package/dist/controllers/external-store.js +68 -0
  363. package/dist/controllers/external-store.js.map +1 -0
  364. package/dist/controllers/index.d.ts +22 -0
  365. package/dist/controllers/index.d.ts.map +1 -0
  366. package/dist/controllers/index.js +14 -0
  367. package/dist/controllers/index.js.map +1 -0
  368. package/dist/controllers/intents.d.ts +61 -0
  369. package/dist/controllers/intents.d.ts.map +1 -0
  370. package/dist/controllers/intents.js +68 -0
  371. package/dist/controllers/intents.js.map +1 -0
  372. package/dist/controllers/transitions.d.ts +37 -0
  373. package/dist/controllers/transitions.d.ts.map +1 -0
  374. package/dist/controllers/transitions.js +106 -0
  375. package/dist/controllers/transitions.js.map +1 -0
  376. package/dist/controllers/voice.d.ts +81 -0
  377. package/dist/controllers/voice.d.ts.map +1 -0
  378. package/dist/controllers/voice.js +180 -0
  379. package/dist/controllers/voice.js.map +1 -0
  380. package/dist/conversation/conversation.d.ts +128 -0
  381. package/dist/conversation/conversation.d.ts.map +1 -0
  382. package/dist/conversation/conversation.define.d.ts +3 -0
  383. package/dist/conversation/conversation.define.d.ts.map +1 -0
  384. package/dist/conversation/conversation.define.js +5 -0
  385. package/dist/conversation/conversation.define.js.map +1 -0
  386. package/dist/conversation/conversation.definition.d.ts +3 -0
  387. package/dist/conversation/conversation.definition.d.ts.map +1 -0
  388. package/dist/conversation/conversation.definition.js +15 -0
  389. package/dist/conversation/conversation.definition.js.map +1 -0
  390. package/dist/conversation/conversation.js +327 -0
  391. package/dist/conversation/conversation.js.map +1 -0
  392. package/dist/conversation/conversation.recipe.d.ts +6 -0
  393. package/dist/conversation/conversation.recipe.d.ts.map +1 -0
  394. package/dist/conversation/conversation.recipe.js +16 -0
  395. package/dist/conversation/conversation.recipe.js.map +1 -0
  396. package/dist/conversation/conversation.recipe.styles.d.ts +2 -0
  397. package/dist/conversation/conversation.recipe.styles.d.ts.map +1 -0
  398. package/dist/conversation/conversation.recipe.styles.js +5 -0
  399. package/dist/conversation/conversation.recipe.styles.js.map +1 -0
  400. package/dist/conversation/conversation.styles.d.ts +3 -0
  401. package/dist/conversation/conversation.styles.d.ts.map +1 -0
  402. package/dist/conversation/conversation.styles.js +66 -0
  403. package/dist/conversation/conversation.styles.js.map +1 -0
  404. package/dist/conversation/conversation.template.d.ts +8 -0
  405. package/dist/conversation/conversation.template.d.ts.map +1 -0
  406. package/dist/conversation/conversation.template.js +107 -0
  407. package/dist/conversation/conversation.template.js.map +1 -0
  408. package/dist/conversation/index.d.ts +6 -0
  409. package/dist/conversation/index.d.ts.map +1 -0
  410. package/dist/conversation/index.js +6 -0
  411. package/dist/conversation/index.js.map +1 -0
  412. package/dist/events.d.ts +198 -0
  413. package/dist/events.d.ts.map +1 -0
  414. package/dist/events.js +244 -0
  415. package/dist/events.js.map +1 -0
  416. package/dist/highlight/index.d.ts +11 -0
  417. package/dist/highlight/index.d.ts.map +1 -0
  418. package/dist/highlight/index.js +118 -0
  419. package/dist/highlight/index.js.map +1 -0
  420. package/dist/index.d.ts +7 -0
  421. package/dist/index.d.ts.map +1 -0
  422. package/dist/index.js +7 -0
  423. package/dist/index.js.map +1 -0
  424. package/dist/inline-assist/index.d.ts +6 -0
  425. package/dist/inline-assist/index.d.ts.map +1 -0
  426. package/dist/inline-assist/index.js +6 -0
  427. package/dist/inline-assist/index.js.map +1 -0
  428. package/dist/inline-assist/inline-assist.d.ts +97 -0
  429. package/dist/inline-assist/inline-assist.d.ts.map +1 -0
  430. package/dist/inline-assist/inline-assist.define.d.ts +3 -0
  431. package/dist/inline-assist/inline-assist.define.d.ts.map +1 -0
  432. package/dist/inline-assist/inline-assist.define.js +5 -0
  433. package/dist/inline-assist/inline-assist.define.js.map +1 -0
  434. package/dist/inline-assist/inline-assist.definition.d.ts +3 -0
  435. package/dist/inline-assist/inline-assist.definition.d.ts.map +1 -0
  436. package/dist/inline-assist/inline-assist.definition.js +12 -0
  437. package/dist/inline-assist/inline-assist.definition.js.map +1 -0
  438. package/dist/inline-assist/inline-assist.js +150 -0
  439. package/dist/inline-assist/inline-assist.js.map +1 -0
  440. package/dist/inline-assist/inline-assist.recipe.d.ts +6 -0
  441. package/dist/inline-assist/inline-assist.recipe.d.ts.map +1 -0
  442. package/dist/inline-assist/inline-assist.recipe.js +15 -0
  443. package/dist/inline-assist/inline-assist.recipe.js.map +1 -0
  444. package/dist/inline-assist/inline-assist.recipe.styles.d.ts +2 -0
  445. package/dist/inline-assist/inline-assist.recipe.styles.d.ts.map +1 -0
  446. package/dist/inline-assist/inline-assist.recipe.styles.js +5 -0
  447. package/dist/inline-assist/inline-assist.recipe.styles.js.map +1 -0
  448. package/dist/inline-assist/inline-assist.styles.d.ts +3 -0
  449. package/dist/inline-assist/inline-assist.styles.d.ts.map +1 -0
  450. package/dist/inline-assist/inline-assist.styles.js +47 -0
  451. package/dist/inline-assist/inline-assist.styles.js.map +1 -0
  452. package/dist/inline-assist/inline-assist.template.d.ts +4 -0
  453. package/dist/inline-assist/inline-assist.template.d.ts.map +1 -0
  454. package/dist/inline-assist/inline-assist.template.js +57 -0
  455. package/dist/inline-assist/inline-assist.template.js.map +1 -0
  456. package/dist/internal/ai-element.recipe.d.ts +3 -0
  457. package/dist/internal/ai-element.recipe.d.ts.map +1 -0
  458. package/dist/internal/ai-element.recipe.js +8 -0
  459. package/dist/internal/ai-element.recipe.js.map +1 -0
  460. package/dist/internal/ai-element.recipe.styles.d.ts +2 -0
  461. package/dist/internal/ai-element.recipe.styles.d.ts.map +1 -0
  462. package/dist/internal/ai-element.recipe.styles.js +5 -0
  463. package/dist/internal/ai-element.recipe.styles.js.map +1 -0
  464. package/dist/internal/base.styles.d.ts +10 -0
  465. package/dist/internal/base.styles.d.ts.map +1 -0
  466. package/dist/internal/base.styles.js +98 -0
  467. package/dist/internal/base.styles.js.map +1 -0
  468. package/dist/internal/dev.d.ts +3 -0
  469. package/dist/internal/dev.d.ts.map +1 -0
  470. package/dist/internal/dev.js +3 -0
  471. package/dist/internal/dev.js.map +1 -0
  472. package/dist/internal/ids.d.ts +3 -0
  473. package/dist/internal/ids.d.ts.map +1 -0
  474. package/dist/internal/ids.js +9 -0
  475. package/dist/internal/ids.js.map +1 -0
  476. package/dist/internal/strings.d.ts +4 -0
  477. package/dist/internal/strings.d.ts.map +1 -0
  478. package/dist/internal/strings.js +7 -0
  479. package/dist/internal/strings.js.map +1 -0
  480. package/dist/markdown/index.d.ts +11 -0
  481. package/dist/markdown/index.d.ts.map +1 -0
  482. package/dist/markdown/index.js +8 -0
  483. package/dist/markdown/index.js.map +1 -0
  484. package/dist/markdown/parse.d.ts +75 -0
  485. package/dist/markdown/parse.d.ts.map +1 -0
  486. package/dist/markdown/parse.js +525 -0
  487. package/dist/markdown/parse.js.map +1 -0
  488. package/dist/markdown/render.d.ts +40 -0
  489. package/dist/markdown/render.d.ts.map +1 -0
  490. package/dist/markdown/render.js +383 -0
  491. package/dist/markdown/render.js.map +1 -0
  492. package/dist/markdown/url.d.ts +18 -0
  493. package/dist/markdown/url.d.ts.map +1 -0
  494. package/dist/markdown/url.js +48 -0
  495. package/dist/markdown/url.js.map +1 -0
  496. package/dist/message/index.d.ts +6 -0
  497. package/dist/message/index.d.ts.map +1 -0
  498. package/dist/message/index.js +6 -0
  499. package/dist/message/index.js.map +1 -0
  500. package/dist/message/message.d.ts +330 -0
  501. package/dist/message/message.d.ts.map +1 -0
  502. package/dist/message/message.define.d.ts +3 -0
  503. package/dist/message/message.define.d.ts.map +1 -0
  504. package/dist/message/message.define.js +5 -0
  505. package/dist/message/message.define.js.map +1 -0
  506. package/dist/message/message.definition.d.ts +3 -0
  507. package/dist/message/message.definition.d.ts.map +1 -0
  508. package/dist/message/message.definition.js +32 -0
  509. package/dist/message/message.definition.js.map +1 -0
  510. package/dist/message/message.js +193 -0
  511. package/dist/message/message.js.map +1 -0
  512. package/dist/message/message.recipe.d.ts +7 -0
  513. package/dist/message/message.recipe.d.ts.map +1 -0
  514. package/dist/message/message.recipe.js +17 -0
  515. package/dist/message/message.recipe.js.map +1 -0
  516. package/dist/message/message.recipe.styles.d.ts +2 -0
  517. package/dist/message/message.recipe.styles.d.ts.map +1 -0
  518. package/dist/message/message.recipe.styles.js +5 -0
  519. package/dist/message/message.recipe.styles.js.map +1 -0
  520. package/dist/message/message.styles.d.ts +3 -0
  521. package/dist/message/message.styles.d.ts.map +1 -0
  522. package/dist/message/message.styles.js +62 -0
  523. package/dist/message/message.styles.js.map +1 -0
  524. package/dist/message/message.template.d.ts +4 -0
  525. package/dist/message/message.template.d.ts.map +1 -0
  526. package/dist/message/message.template.js +161 -0
  527. package/dist/message/message.template.js.map +1 -0
  528. package/dist/message-branch/index.d.ts +5 -0
  529. package/dist/message-branch/index.d.ts.map +1 -0
  530. package/dist/message-branch/index.js +6 -0
  531. package/dist/message-branch/index.js.map +1 -0
  532. package/dist/message-branch/message-branch.d.ts +118 -0
  533. package/dist/message-branch/message-branch.d.ts.map +1 -0
  534. package/dist/message-branch/message-branch.define.d.ts +3 -0
  535. package/dist/message-branch/message-branch.define.d.ts.map +1 -0
  536. package/dist/message-branch/message-branch.define.js +5 -0
  537. package/dist/message-branch/message-branch.define.js.map +1 -0
  538. package/dist/message-branch/message-branch.definition.d.ts +3 -0
  539. package/dist/message-branch/message-branch.definition.d.ts.map +1 -0
  540. package/dist/message-branch/message-branch.definition.js +12 -0
  541. package/dist/message-branch/message-branch.definition.js.map +1 -0
  542. package/dist/message-branch/message-branch.js +54 -0
  543. package/dist/message-branch/message-branch.js.map +1 -0
  544. package/dist/message-branch/message-branch.styles.d.ts +2 -0
  545. package/dist/message-branch/message-branch.styles.d.ts.map +1 -0
  546. package/dist/message-branch/message-branch.styles.js +13 -0
  547. package/dist/message-branch/message-branch.styles.js.map +1 -0
  548. package/dist/message-branch/message-branch.template.d.ts +4 -0
  549. package/dist/message-branch/message-branch.template.d.ts.map +1 -0
  550. package/dist/message-branch/message-branch.template.js +45 -0
  551. package/dist/message-branch/message-branch.template.js.map +1 -0
  552. package/dist/model-select/index.d.ts +5 -0
  553. package/dist/model-select/index.d.ts.map +1 -0
  554. package/dist/model-select/index.js +6 -0
  555. package/dist/model-select/index.js.map +1 -0
  556. package/dist/model-select/model-select.d.ts +71 -0
  557. package/dist/model-select/model-select.d.ts.map +1 -0
  558. package/dist/model-select/model-select.define.d.ts +3 -0
  559. package/dist/model-select/model-select.define.d.ts.map +1 -0
  560. package/dist/model-select/model-select.define.js +5 -0
  561. package/dist/model-select/model-select.define.js.map +1 -0
  562. package/dist/model-select/model-select.definition.d.ts +3 -0
  563. package/dist/model-select/model-select.definition.d.ts.map +1 -0
  564. package/dist/model-select/model-select.definition.js +13 -0
  565. package/dist/model-select/model-select.definition.js.map +1 -0
  566. package/dist/model-select/model-select.js +68 -0
  567. package/dist/model-select/model-select.js.map +1 -0
  568. package/dist/model-select/model-select.styles.d.ts +3 -0
  569. package/dist/model-select/model-select.styles.d.ts.map +1 -0
  570. package/dist/model-select/model-select.styles.js +14 -0
  571. package/dist/model-select/model-select.styles.js.map +1 -0
  572. package/dist/model-select/model-select.template.d.ts +4 -0
  573. package/dist/model-select/model-select.template.d.ts.map +1 -0
  574. package/dist/model-select/model-select.template.js +39 -0
  575. package/dist/model-select/model-select.template.js.map +1 -0
  576. package/dist/prod/action-approval/action-approval.define.js +3 -0
  577. package/dist/prod/action-approval/action-approval.definition.js +16 -0
  578. package/dist/prod/action-approval/action-approval.js +133 -0
  579. package/dist/prod/action-approval/action-approval.recipe.js +14 -0
  580. package/dist/prod/action-approval/action-approval.recipe.styles.js +33 -0
  581. package/dist/prod/action-approval/action-approval.styles.js +68 -0
  582. package/dist/prod/action-approval/action-approval.template.js +71 -0
  583. package/dist/prod/action-approval/index.js +11 -0
  584. package/dist/prod/activity/activity.define.js +3 -0
  585. package/dist/prod/activity/activity.definition.js +14 -0
  586. package/dist/prod/activity/activity.js +96 -0
  587. package/dist/prod/activity/activity.recipe.js +9 -0
  588. package/dist/prod/activity/activity.recipe.styles.js +15 -0
  589. package/dist/prod/activity/activity.styles.js +38 -0
  590. package/dist/prod/activity/activity.template.js +19 -0
  591. package/dist/prod/activity/index.js +11 -0
  592. package/dist/prod/ai-label/ai-label.define.js +3 -0
  593. package/dist/prod/ai-label/ai-label.definition.js +14 -0
  594. package/dist/prod/ai-label/ai-label.js +29 -0
  595. package/dist/prod/ai-label/ai-label.styles.js +42 -0
  596. package/dist/prod/ai-label/ai-label.template.js +30 -0
  597. package/dist/prod/ai-label/index.js +11 -0
  598. package/dist/prod/announce.js +15 -0
  599. package/dist/prod/artifact/artifact.define.js +3 -0
  600. package/dist/prod/artifact/artifact.definition.js +14 -0
  601. package/dist/prod/artifact/artifact.js +139 -0
  602. package/dist/prod/artifact/artifact.recipe.js +12 -0
  603. package/dist/prod/artifact/artifact.recipe.styles.js +21 -0
  604. package/dist/prod/artifact/artifact.styles.js +66 -0
  605. package/dist/prod/artifact/artifact.template.js +58 -0
  606. package/dist/prod/artifact/index.js +11 -0
  607. package/dist/prod/change-review/change-review.define.js +3 -0
  608. package/dist/prod/change-review/change-review.definition.js +16 -0
  609. package/dist/prod/change-review/change-review.js +110 -0
  610. package/dist/prod/change-review/change-review.recipe.js +13 -0
  611. package/dist/prod/change-review/change-review.recipe.styles.js +24 -0
  612. package/dist/prod/change-review/change-review.styles.js +69 -0
  613. package/dist/prod/change-review/change-review.template.js +72 -0
  614. package/dist/prod/change-review/index.js +11 -0
  615. package/dist/prod/checkpoint/checkpoint.define.js +3 -0
  616. package/dist/prod/checkpoint/checkpoint.definition.js +16 -0
  617. package/dist/prod/checkpoint/checkpoint.js +101 -0
  618. package/dist/prod/checkpoint/checkpoint.recipe.js +12 -0
  619. package/dist/prod/checkpoint/checkpoint.recipe.styles.js +19 -0
  620. package/dist/prod/checkpoint/checkpoint.styles.js +40 -0
  621. package/dist/prod/checkpoint/checkpoint.template.js +49 -0
  622. package/dist/prod/checkpoint/index.js +11 -0
  623. package/dist/prod/citation/citation.define.js +3 -0
  624. package/dist/prod/citation/citation.definition.js +14 -0
  625. package/dist/prod/citation/citation.js +66 -0
  626. package/dist/prod/citation/citation.recipe.js +9 -0
  627. package/dist/prod/citation/citation.recipe.styles.js +13 -0
  628. package/dist/prod/citation/citation.styles.js +61 -0
  629. package/dist/prod/citation/citation.template.js +44 -0
  630. package/dist/prod/citation/index.js +12 -0
  631. package/dist/prod/context-picker/context-picker.define.js +3 -0
  632. package/dist/prod/context-picker/context-picker.definition.js +14 -0
  633. package/dist/prod/context-picker/context-picker.js +106 -0
  634. package/dist/prod/context-picker/context-picker.recipe.js +14 -0
  635. package/dist/prod/context-picker/context-picker.recipe.styles.js +35 -0
  636. package/dist/prod/context-picker/context-picker.styles.js +48 -0
  637. package/dist/prod/context-picker/context-picker.template.js +81 -0
  638. package/dist/prod/context-picker/index.js +11 -0
  639. package/dist/prod/contracts/index.js +35 -0
  640. package/dist/prod/contracts/models.js +325 -0
  641. package/dist/prod/contracts/normalize.js +151 -0
  642. package/dist/prod/contracts/types.js +0 -0
  643. package/dist/prod/controllers/announcer.js +136 -0
  644. package/dist/prod/controllers/composer.js +235 -0
  645. package/dist/prod/controllers/conversation.js +919 -0
  646. package/dist/prod/controllers/diff.js +41 -0
  647. package/dist/prod/controllers/document.js +128 -0
  648. package/dist/prod/controllers/external-store.js +49 -0
  649. package/dist/prod/controllers/index.js +43 -0
  650. package/dist/prod/controllers/intents.js +73 -0
  651. package/dist/prod/controllers/transitions.js +90 -0
  652. package/dist/prod/controllers/voice.js +134 -0
  653. package/dist/prod/conversation/conversation.define.js +3 -0
  654. package/dist/prod/conversation/conversation.definition.js +17 -0
  655. package/dist/prod/conversation/conversation.js +236 -0
  656. package/dist/prod/conversation/conversation.recipe.js +14 -0
  657. package/dist/prod/conversation/conversation.recipe.styles.js +37 -0
  658. package/dist/prod/conversation/conversation.styles.js +67 -0
  659. package/dist/prod/conversation/conversation.template.js +91 -0
  660. package/dist/prod/conversation/index.js +11 -0
  661. package/dist/prod/events.js +235 -0
  662. package/dist/prod/highlight/index.js +99 -0
  663. package/dist/prod/index.js +1 -0
  664. package/dist/prod/inline-assist/index.js +11 -0
  665. package/dist/prod/inline-assist/inline-assist.define.js +3 -0
  666. package/dist/prod/inline-assist/inline-assist.definition.js +14 -0
  667. package/dist/prod/inline-assist/inline-assist.js +130 -0
  668. package/dist/prod/inline-assist/inline-assist.recipe.js +13 -0
  669. package/dist/prod/inline-assist/inline-assist.recipe.styles.js +29 -0
  670. package/dist/prod/inline-assist/inline-assist.styles.js +48 -0
  671. package/dist/prod/inline-assist/inline-assist.template.js +46 -0
  672. package/dist/prod/internal/ai-element.recipe.js +9 -0
  673. package/dist/prod/internal/ai-element.recipe.styles.js +15 -0
  674. package/dist/prod/internal/base.styles.js +94 -0
  675. package/dist/prod/internal/dev.js +4 -0
  676. package/dist/prod/internal/ids.js +8 -0
  677. package/dist/prod/internal/strings.js +12 -0
  678. package/dist/prod/markdown/index.js +13 -0
  679. package/dist/prod/markdown/parse.js +363 -0
  680. package/dist/prod/markdown/render.js +273 -0
  681. package/dist/prod/markdown/url.js +42 -0
  682. package/dist/prod/message/index.js +11 -0
  683. package/dist/prod/message/message.define.js +3 -0
  684. package/dist/prod/message/message.definition.js +34 -0
  685. package/dist/prod/message/message.js +158 -0
  686. package/dist/prod/message/message.recipe.js +14 -0
  687. package/dist/prod/message/message.recipe.styles.js +33 -0
  688. package/dist/prod/message/message.styles.js +63 -0
  689. package/dist/prod/message/message.template.js +136 -0
  690. package/dist/prod/message-branch/index.js +11 -0
  691. package/dist/prod/message-branch/message-branch.define.js +3 -0
  692. package/dist/prod/message-branch/message-branch.definition.js +14 -0
  693. package/dist/prod/message-branch/message-branch.js +41 -0
  694. package/dist/prod/message-branch/message-branch.styles.js +15 -0
  695. package/dist/prod/message-branch/message-branch.template.js +45 -0
  696. package/dist/prod/model-select/index.js +11 -0
  697. package/dist/prod/model-select/model-select.define.js +3 -0
  698. package/dist/prod/model-select/model-select.definition.js +15 -0
  699. package/dist/prod/model-select/model-select.js +46 -0
  700. package/dist/prod/model-select/model-select.styles.js +15 -0
  701. package/dist/prod/model-select/model-select.template.js +39 -0
  702. package/dist/prod/prompt-input/index.js +11 -0
  703. package/dist/prod/prompt-input/prompt-input.define.js +3 -0
  704. package/dist/prod/prompt-input/prompt-input.definition.js +16 -0
  705. package/dist/prod/prompt-input/prompt-input.js +285 -0
  706. package/dist/prod/prompt-input/prompt-input.recipe.js +14 -0
  707. package/dist/prod/prompt-input/prompt-input.recipe.styles.js +37 -0
  708. package/dist/prod/prompt-input/prompt-input.styles.js +93 -0
  709. package/dist/prod/prompt-input/prompt-input.template.js +104 -0
  710. package/dist/prod/question/index.js +11 -0
  711. package/dist/prod/question/question.define.js +3 -0
  712. package/dist/prod/question/question.definition.js +16 -0
  713. package/dist/prod/question/question.js +120 -0
  714. package/dist/prod/question/question.recipe.js +14 -0
  715. package/dist/prod/question/question.recipe.styles.js +33 -0
  716. package/dist/prod/question/question.styles.js +50 -0
  717. package/dist/prod/question/question.template.js +74 -0
  718. package/dist/prod/response/index.js +11 -0
  719. package/dist/prod/response/response.define.js +3 -0
  720. package/dist/prod/response/response.definition.js +16 -0
  721. package/dist/prod/response/response.js +135 -0
  722. package/dist/prod/response/response.styles.js +140 -0
  723. package/dist/prod/response/response.template.js +12 -0
  724. package/dist/prod/response-feedback/index.js +11 -0
  725. package/dist/prod/response-feedback/response-feedback.define.js +3 -0
  726. package/dist/prod/response-feedback/response-feedback.definition.js +16 -0
  727. package/dist/prod/response-feedback/response-feedback.js +105 -0
  728. package/dist/prod/response-feedback/response-feedback.recipe.js +14 -0
  729. package/dist/prod/response-feedback/response-feedback.recipe.styles.js +33 -0
  730. package/dist/prod/response-feedback/response-feedback.styles.js +43 -0
  731. package/dist/prod/response-feedback/response-feedback.template.js +57 -0
  732. package/dist/prod/sources/index.js +11 -0
  733. package/dist/prod/sources/sources.define.js +3 -0
  734. package/dist/prod/sources/sources.definition.js +14 -0
  735. package/dist/prod/sources/sources.js +37 -0
  736. package/dist/prod/sources/sources.recipe.js +9 -0
  737. package/dist/prod/sources/sources.recipe.styles.js +19 -0
  738. package/dist/prod/sources/sources.styles.js +37 -0
  739. package/dist/prod/sources/sources.template.js +40 -0
  740. package/dist/prod/stream/index.js +16 -0
  741. package/dist/prod/stream/simulation.js +198 -0
  742. package/dist/prod/stream/sse.js +105 -0
  743. package/dist/prod/stream/ui-message-stream.js +371 -0
  744. package/dist/prod/suggestions/index.js +11 -0
  745. package/dist/prod/suggestions/suggestions.define.js +3 -0
  746. package/dist/prod/suggestions/suggestions.definition.js +14 -0
  747. package/dist/prod/suggestions/suggestions.js +48 -0
  748. package/dist/prod/suggestions/suggestions.recipe.js +9 -0
  749. package/dist/prod/suggestions/suggestions.recipe.styles.js +15 -0
  750. package/dist/prod/suggestions/suggestions.styles.js +52 -0
  751. package/dist/prod/suggestions/suggestions.template.js +38 -0
  752. package/dist/prod/task-plan/index.js +11 -0
  753. package/dist/prod/task-plan/task-plan.define.js +3 -0
  754. package/dist/prod/task-plan/task-plan.definition.js +14 -0
  755. package/dist/prod/task-plan/task-plan.js +63 -0
  756. package/dist/prod/task-plan/task-plan.recipe.js +17 -0
  757. package/dist/prod/task-plan/task-plan.recipe.styles.js +55 -0
  758. package/dist/prod/task-plan/task-plan.styles.js +53 -0
  759. package/dist/prod/task-plan/task-plan.template.js +58 -0
  760. package/dist/prod/tool-call/index.js +11 -0
  761. package/dist/prod/tool-call/tool-call.define.js +3 -0
  762. package/dist/prod/tool-call/tool-call.definition.js +16 -0
  763. package/dist/prod/tool-call/tool-call.js +57 -0
  764. package/dist/prod/tool-call/tool-call.recipe.js +13 -0
  765. package/dist/prod/tool-call/tool-call.recipe.styles.js +29 -0
  766. package/dist/prod/tool-call/tool-call.styles.js +55 -0
  767. package/dist/prod/tool-call/tool-call.template.js +46 -0
  768. package/dist/prod/transcript/index.js +11 -0
  769. package/dist/prod/transcript/transcript.define.js +3 -0
  770. package/dist/prod/transcript/transcript.definition.js +14 -0
  771. package/dist/prod/transcript/transcript.js +32 -0
  772. package/dist/prod/transcript/transcript.recipe.js +9 -0
  773. package/dist/prod/transcript/transcript.recipe.styles.js +13 -0
  774. package/dist/prod/transcript/transcript.styles.js +30 -0
  775. package/dist/prod/transcript/transcript.template.js +26 -0
  776. package/dist/prod/usage-meter/index.js +11 -0
  777. package/dist/prod/usage-meter/usage-meter.define.js +3 -0
  778. package/dist/prod/usage-meter/usage-meter.definition.js +14 -0
  779. package/dist/prod/usage-meter/usage-meter.js +41 -0
  780. package/dist/prod/usage-meter/usage-meter.recipe.js +9 -0
  781. package/dist/prod/usage-meter/usage-meter.recipe.styles.js +13 -0
  782. package/dist/prod/usage-meter/usage-meter.styles.js +37 -0
  783. package/dist/prod/usage-meter/usage-meter.template.js +27 -0
  784. package/dist/prod/voice/recorder.js +39 -0
  785. package/dist/prod/voice/web-speech.js +67 -0
  786. package/dist/prod/voice-input/index.js +11 -0
  787. package/dist/prod/voice-input/voice-input.define.js +3 -0
  788. package/dist/prod/voice-input/voice-input.definition.js +16 -0
  789. package/dist/prod/voice-input/voice-input.js +92 -0
  790. package/dist/prod/voice-input/voice-input.recipe.js +9 -0
  791. package/dist/prod/voice-input/voice-input.recipe.styles.js +13 -0
  792. package/dist/prod/voice-input/voice-input.styles.js +52 -0
  793. package/dist/prod/voice-input/voice-input.template.js +47 -0
  794. package/dist/prompt-input/index.d.ts +5 -0
  795. package/dist/prompt-input/index.d.ts.map +1 -0
  796. package/dist/prompt-input/index.js +6 -0
  797. package/dist/prompt-input/index.js.map +1 -0
  798. package/dist/prompt-input/prompt-input.d.ts +241 -0
  799. package/dist/prompt-input/prompt-input.d.ts.map +1 -0
  800. package/dist/prompt-input/prompt-input.define.d.ts +3 -0
  801. package/dist/prompt-input/prompt-input.define.d.ts.map +1 -0
  802. package/dist/prompt-input/prompt-input.define.js +5 -0
  803. package/dist/prompt-input/prompt-input.define.js.map +1 -0
  804. package/dist/prompt-input/prompt-input.definition.d.ts +3 -0
  805. package/dist/prompt-input/prompt-input.definition.d.ts.map +1 -0
  806. package/dist/prompt-input/prompt-input.definition.js +14 -0
  807. package/dist/prompt-input/prompt-input.definition.js.map +1 -0
  808. package/dist/prompt-input/prompt-input.js +358 -0
  809. package/dist/prompt-input/prompt-input.js.map +1 -0
  810. package/dist/prompt-input/prompt-input.recipe.d.ts +7 -0
  811. package/dist/prompt-input/prompt-input.recipe.d.ts.map +1 -0
  812. package/dist/prompt-input/prompt-input.recipe.js +17 -0
  813. package/dist/prompt-input/prompt-input.recipe.js.map +1 -0
  814. package/dist/prompt-input/prompt-input.recipe.styles.d.ts +2 -0
  815. package/dist/prompt-input/prompt-input.recipe.styles.d.ts.map +1 -0
  816. package/dist/prompt-input/prompt-input.recipe.styles.js +5 -0
  817. package/dist/prompt-input/prompt-input.recipe.styles.js.map +1 -0
  818. package/dist/prompt-input/prompt-input.styles.d.ts +3 -0
  819. package/dist/prompt-input/prompt-input.styles.d.ts.map +1 -0
  820. package/dist/prompt-input/prompt-input.styles.js +92 -0
  821. package/dist/prompt-input/prompt-input.styles.js.map +1 -0
  822. package/dist/prompt-input/prompt-input.template.d.ts +7 -0
  823. package/dist/prompt-input/prompt-input.template.d.ts.map +1 -0
  824. package/dist/prompt-input/prompt-input.template.js +129 -0
  825. package/dist/prompt-input/prompt-input.template.js.map +1 -0
  826. package/dist/question/index.d.ts +5 -0
  827. package/dist/question/index.d.ts.map +1 -0
  828. package/dist/question/index.js +6 -0
  829. package/dist/question/index.js.map +1 -0
  830. package/dist/question/question.d.ts +115 -0
  831. package/dist/question/question.d.ts.map +1 -0
  832. package/dist/question/question.define.d.ts +3 -0
  833. package/dist/question/question.define.d.ts.map +1 -0
  834. package/dist/question/question.define.js +5 -0
  835. package/dist/question/question.define.js.map +1 -0
  836. package/dist/question/question.definition.d.ts +3 -0
  837. package/dist/question/question.definition.d.ts.map +1 -0
  838. package/dist/question/question.definition.js +14 -0
  839. package/dist/question/question.definition.js.map +1 -0
  840. package/dist/question/question.js +162 -0
  841. package/dist/question/question.js.map +1 -0
  842. package/dist/question/question.recipe.d.ts +6 -0
  843. package/dist/question/question.recipe.d.ts.map +1 -0
  844. package/dist/question/question.recipe.js +16 -0
  845. package/dist/question/question.recipe.js.map +1 -0
  846. package/dist/question/question.recipe.styles.d.ts +2 -0
  847. package/dist/question/question.recipe.styles.d.ts.map +1 -0
  848. package/dist/question/question.recipe.styles.js +5 -0
  849. package/dist/question/question.recipe.styles.js.map +1 -0
  850. package/dist/question/question.styles.d.ts +3 -0
  851. package/dist/question/question.styles.d.ts.map +1 -0
  852. package/dist/question/question.styles.js +49 -0
  853. package/dist/question/question.styles.js.map +1 -0
  854. package/dist/question/question.template.d.ts +4 -0
  855. package/dist/question/question.template.d.ts.map +1 -0
  856. package/dist/question/question.template.js +101 -0
  857. package/dist/question/question.template.js.map +1 -0
  858. package/dist/response/index.d.ts +6 -0
  859. package/dist/response/index.d.ts.map +1 -0
  860. package/dist/response/index.js +6 -0
  861. package/dist/response/index.js.map +1 -0
  862. package/dist/response/response.d.ts +90 -0
  863. package/dist/response/response.d.ts.map +1 -0
  864. package/dist/response/response.define.d.ts +3 -0
  865. package/dist/response/response.define.d.ts.map +1 -0
  866. package/dist/response/response.define.js +5 -0
  867. package/dist/response/response.define.js.map +1 -0
  868. package/dist/response/response.definition.d.ts +3 -0
  869. package/dist/response/response.definition.d.ts.map +1 -0
  870. package/dist/response/response.definition.js +14 -0
  871. package/dist/response/response.definition.js.map +1 -0
  872. package/dist/response/response.js +188 -0
  873. package/dist/response/response.js.map +1 -0
  874. package/dist/response/response.styles.d.ts +3 -0
  875. package/dist/response/response.styles.d.ts.map +1 -0
  876. package/dist/response/response.styles.js +139 -0
  877. package/dist/response/response.styles.js.map +1 -0
  878. package/dist/response/response.template.d.ts +7 -0
  879. package/dist/response/response.template.d.ts.map +1 -0
  880. package/dist/response/response.template.js +24 -0
  881. package/dist/response/response.template.js.map +1 -0
  882. package/dist/response-feedback/index.d.ts +5 -0
  883. package/dist/response-feedback/index.d.ts.map +1 -0
  884. package/dist/response-feedback/index.js +6 -0
  885. package/dist/response-feedback/index.js.map +1 -0
  886. package/dist/response-feedback/response-feedback.d.ts +92 -0
  887. package/dist/response-feedback/response-feedback.d.ts.map +1 -0
  888. package/dist/response-feedback/response-feedback.define.d.ts +3 -0
  889. package/dist/response-feedback/response-feedback.define.d.ts.map +1 -0
  890. package/dist/response-feedback/response-feedback.define.js +5 -0
  891. package/dist/response-feedback/response-feedback.define.js.map +1 -0
  892. package/dist/response-feedback/response-feedback.definition.d.ts +3 -0
  893. package/dist/response-feedback/response-feedback.definition.d.ts.map +1 -0
  894. package/dist/response-feedback/response-feedback.definition.js +14 -0
  895. package/dist/response-feedback/response-feedback.definition.js.map +1 -0
  896. package/dist/response-feedback/response-feedback.js +129 -0
  897. package/dist/response-feedback/response-feedback.js.map +1 -0
  898. package/dist/response-feedback/response-feedback.recipe.d.ts +6 -0
  899. package/dist/response-feedback/response-feedback.recipe.d.ts.map +1 -0
  900. package/dist/response-feedback/response-feedback.recipe.js +16 -0
  901. package/dist/response-feedback/response-feedback.recipe.js.map +1 -0
  902. package/dist/response-feedback/response-feedback.recipe.styles.d.ts +2 -0
  903. package/dist/response-feedback/response-feedback.recipe.styles.d.ts.map +1 -0
  904. package/dist/response-feedback/response-feedback.recipe.styles.js +5 -0
  905. package/dist/response-feedback/response-feedback.recipe.styles.js.map +1 -0
  906. package/dist/response-feedback/response-feedback.styles.d.ts +3 -0
  907. package/dist/response-feedback/response-feedback.styles.d.ts.map +1 -0
  908. package/dist/response-feedback/response-feedback.styles.js +42 -0
  909. package/dist/response-feedback/response-feedback.styles.js.map +1 -0
  910. package/dist/response-feedback/response-feedback.template.d.ts +4 -0
  911. package/dist/response-feedback/response-feedback.template.d.ts.map +1 -0
  912. package/dist/response-feedback/response-feedback.template.js +70 -0
  913. package/dist/response-feedback/response-feedback.template.js.map +1 -0
  914. package/dist/sources/index.d.ts +5 -0
  915. package/dist/sources/index.d.ts.map +1 -0
  916. package/dist/sources/index.js +6 -0
  917. package/dist/sources/index.js.map +1 -0
  918. package/dist/sources/sources.d.ts +53 -0
  919. package/dist/sources/sources.d.ts.map +1 -0
  920. package/dist/sources/sources.define.d.ts +3 -0
  921. package/dist/sources/sources.define.d.ts.map +1 -0
  922. package/dist/sources/sources.define.js +5 -0
  923. package/dist/sources/sources.define.js.map +1 -0
  924. package/dist/sources/sources.definition.d.ts +3 -0
  925. package/dist/sources/sources.definition.d.ts.map +1 -0
  926. package/dist/sources/sources.definition.js +12 -0
  927. package/dist/sources/sources.definition.js.map +1 -0
  928. package/dist/sources/sources.js +51 -0
  929. package/dist/sources/sources.js.map +1 -0
  930. package/dist/sources/sources.recipe.d.ts +3 -0
  931. package/dist/sources/sources.recipe.d.ts.map +1 -0
  932. package/dist/sources/sources.recipe.js +8 -0
  933. package/dist/sources/sources.recipe.js.map +1 -0
  934. package/dist/sources/sources.recipe.styles.d.ts +2 -0
  935. package/dist/sources/sources.recipe.styles.d.ts.map +1 -0
  936. package/dist/sources/sources.recipe.styles.js +5 -0
  937. package/dist/sources/sources.recipe.styles.js.map +1 -0
  938. package/dist/sources/sources.styles.d.ts +3 -0
  939. package/dist/sources/sources.styles.d.ts.map +1 -0
  940. package/dist/sources/sources.styles.js +36 -0
  941. package/dist/sources/sources.styles.js.map +1 -0
  942. package/dist/sources/sources.template.d.ts +4 -0
  943. package/dist/sources/sources.template.d.ts.map +1 -0
  944. package/dist/sources/sources.template.js +43 -0
  945. package/dist/sources/sources.template.js.map +1 -0
  946. package/dist/stream/index.d.ts +11 -0
  947. package/dist/stream/index.d.ts.map +1 -0
  948. package/dist/stream/index.js +8 -0
  949. package/dist/stream/index.js.map +1 -0
  950. package/dist/stream/simulation.d.ts +58 -0
  951. package/dist/stream/simulation.d.ts.map +1 -0
  952. package/dist/stream/simulation.js +257 -0
  953. package/dist/stream/simulation.js.map +1 -0
  954. package/dist/stream/sse.d.ts +32 -0
  955. package/dist/stream/sse.d.ts.map +1 -0
  956. package/dist/stream/sse.js +155 -0
  957. package/dist/stream/sse.js.map +1 -0
  958. package/dist/stream/ui-message-stream.d.ts +72 -0
  959. package/dist/stream/ui-message-stream.d.ts.map +1 -0
  960. package/dist/stream/ui-message-stream.js +492 -0
  961. package/dist/stream/ui-message-stream.js.map +1 -0
  962. package/dist/suggestions/index.d.ts +5 -0
  963. package/dist/suggestions/index.d.ts.map +1 -0
  964. package/dist/suggestions/index.js +6 -0
  965. package/dist/suggestions/index.js.map +1 -0
  966. package/dist/suggestions/suggestions.d.ts +59 -0
  967. package/dist/suggestions/suggestions.d.ts.map +1 -0
  968. package/dist/suggestions/suggestions.define.d.ts +3 -0
  969. package/dist/suggestions/suggestions.define.d.ts.map +1 -0
  970. package/dist/suggestions/suggestions.define.js +5 -0
  971. package/dist/suggestions/suggestions.define.js.map +1 -0
  972. package/dist/suggestions/suggestions.definition.d.ts +3 -0
  973. package/dist/suggestions/suggestions.definition.d.ts.map +1 -0
  974. package/dist/suggestions/suggestions.definition.js +12 -0
  975. package/dist/suggestions/suggestions.definition.js.map +1 -0
  976. package/dist/suggestions/suggestions.js +61 -0
  977. package/dist/suggestions/suggestions.js.map +1 -0
  978. package/dist/suggestions/suggestions.recipe.d.ts +3 -0
  979. package/dist/suggestions/suggestions.recipe.d.ts.map +1 -0
  980. package/dist/suggestions/suggestions.recipe.js +8 -0
  981. package/dist/suggestions/suggestions.recipe.js.map +1 -0
  982. package/dist/suggestions/suggestions.recipe.styles.d.ts +2 -0
  983. package/dist/suggestions/suggestions.recipe.styles.d.ts.map +1 -0
  984. package/dist/suggestions/suggestions.recipe.styles.js +5 -0
  985. package/dist/suggestions/suggestions.recipe.styles.js.map +1 -0
  986. package/dist/suggestions/suggestions.styles.d.ts +3 -0
  987. package/dist/suggestions/suggestions.styles.d.ts.map +1 -0
  988. package/dist/suggestions/suggestions.styles.js +51 -0
  989. package/dist/suggestions/suggestions.styles.js.map +1 -0
  990. package/dist/suggestions/suggestions.template.d.ts +4 -0
  991. package/dist/suggestions/suggestions.template.d.ts.map +1 -0
  992. package/dist/suggestions/suggestions.template.js +40 -0
  993. package/dist/suggestions/suggestions.template.js.map +1 -0
  994. package/dist/task-plan/index.d.ts +5 -0
  995. package/dist/task-plan/index.d.ts.map +1 -0
  996. package/dist/task-plan/index.js +6 -0
  997. package/dist/task-plan/index.js.map +1 -0
  998. package/dist/task-plan/task-plan.d.ts +93 -0
  999. package/dist/task-plan/task-plan.d.ts.map +1 -0
  1000. package/dist/task-plan/task-plan.define.d.ts +3 -0
  1001. package/dist/task-plan/task-plan.define.d.ts.map +1 -0
  1002. package/dist/task-plan/task-plan.define.js +5 -0
  1003. package/dist/task-plan/task-plan.define.js.map +1 -0
  1004. package/dist/task-plan/task-plan.definition.d.ts +3 -0
  1005. package/dist/task-plan/task-plan.definition.d.ts.map +1 -0
  1006. package/dist/task-plan/task-plan.definition.js +12 -0
  1007. package/dist/task-plan/task-plan.definition.js.map +1 -0
  1008. package/dist/task-plan/task-plan.js +78 -0
  1009. package/dist/task-plan/task-plan.js.map +1 -0
  1010. package/dist/task-plan/task-plan.recipe.d.ts +7 -0
  1011. package/dist/task-plan/task-plan.recipe.d.ts.map +1 -0
  1012. package/dist/task-plan/task-plan.recipe.js +20 -0
  1013. package/dist/task-plan/task-plan.recipe.js.map +1 -0
  1014. package/dist/task-plan/task-plan.recipe.styles.d.ts +2 -0
  1015. package/dist/task-plan/task-plan.recipe.styles.d.ts.map +1 -0
  1016. package/dist/task-plan/task-plan.recipe.styles.js +5 -0
  1017. package/dist/task-plan/task-plan.recipe.styles.js.map +1 -0
  1018. package/dist/task-plan/task-plan.styles.d.ts +3 -0
  1019. package/dist/task-plan/task-plan.styles.d.ts.map +1 -0
  1020. package/dist/task-plan/task-plan.styles.js +52 -0
  1021. package/dist/task-plan/task-plan.styles.js.map +1 -0
  1022. package/dist/task-plan/task-plan.template.d.ts +4 -0
  1023. package/dist/task-plan/task-plan.template.d.ts.map +1 -0
  1024. package/dist/task-plan/task-plan.template.js +63 -0
  1025. package/dist/task-plan/task-plan.template.js.map +1 -0
  1026. package/dist/tool-call/index.d.ts +6 -0
  1027. package/dist/tool-call/index.d.ts.map +1 -0
  1028. package/dist/tool-call/index.js +6 -0
  1029. package/dist/tool-call/index.js.map +1 -0
  1030. package/dist/tool-call/tool-call.d.ts +187 -0
  1031. package/dist/tool-call/tool-call.d.ts.map +1 -0
  1032. package/dist/tool-call/tool-call.define.d.ts +3 -0
  1033. package/dist/tool-call/tool-call.define.d.ts.map +1 -0
  1034. package/dist/tool-call/tool-call.define.js +5 -0
  1035. package/dist/tool-call/tool-call.define.js.map +1 -0
  1036. package/dist/tool-call/tool-call.definition.d.ts +3 -0
  1037. package/dist/tool-call/tool-call.definition.d.ts.map +1 -0
  1038. package/dist/tool-call/tool-call.definition.js +14 -0
  1039. package/dist/tool-call/tool-call.definition.js.map +1 -0
  1040. package/dist/tool-call/tool-call.js +77 -0
  1041. package/dist/tool-call/tool-call.js.map +1 -0
  1042. package/dist/tool-call/tool-call.recipe.d.ts +7 -0
  1043. package/dist/tool-call/tool-call.recipe.d.ts.map +1 -0
  1044. package/dist/tool-call/tool-call.recipe.js +16 -0
  1045. package/dist/tool-call/tool-call.recipe.js.map +1 -0
  1046. package/dist/tool-call/tool-call.recipe.styles.d.ts +2 -0
  1047. package/dist/tool-call/tool-call.recipe.styles.d.ts.map +1 -0
  1048. package/dist/tool-call/tool-call.recipe.styles.js +5 -0
  1049. package/dist/tool-call/tool-call.recipe.styles.js.map +1 -0
  1050. package/dist/tool-call/tool-call.styles.d.ts +3 -0
  1051. package/dist/tool-call/tool-call.styles.d.ts.map +1 -0
  1052. package/dist/tool-call/tool-call.styles.js +54 -0
  1053. package/dist/tool-call/tool-call.styles.js.map +1 -0
  1054. package/dist/tool-call/tool-call.template.d.ts +4 -0
  1055. package/dist/tool-call/tool-call.template.d.ts.map +1 -0
  1056. package/dist/tool-call/tool-call.template.js +54 -0
  1057. package/dist/tool-call/tool-call.template.js.map +1 -0
  1058. package/dist/transcript/index.d.ts +5 -0
  1059. package/dist/transcript/index.d.ts.map +1 -0
  1060. package/dist/transcript/index.js +6 -0
  1061. package/dist/transcript/index.js.map +1 -0
  1062. package/dist/transcript/transcript.d.ts +55 -0
  1063. package/dist/transcript/transcript.d.ts.map +1 -0
  1064. package/dist/transcript/transcript.define.d.ts +3 -0
  1065. package/dist/transcript/transcript.define.d.ts.map +1 -0
  1066. package/dist/transcript/transcript.define.js +5 -0
  1067. package/dist/transcript/transcript.define.js.map +1 -0
  1068. package/dist/transcript/transcript.definition.d.ts +3 -0
  1069. package/dist/transcript/transcript.definition.d.ts.map +1 -0
  1070. package/dist/transcript/transcript.definition.js +12 -0
  1071. package/dist/transcript/transcript.definition.js.map +1 -0
  1072. package/dist/transcript/transcript.js +43 -0
  1073. package/dist/transcript/transcript.js.map +1 -0
  1074. package/dist/transcript/transcript.recipe.d.ts +3 -0
  1075. package/dist/transcript/transcript.recipe.d.ts.map +1 -0
  1076. package/dist/transcript/transcript.recipe.js +8 -0
  1077. package/dist/transcript/transcript.recipe.js.map +1 -0
  1078. package/dist/transcript/transcript.recipe.styles.d.ts +2 -0
  1079. package/dist/transcript/transcript.recipe.styles.d.ts.map +1 -0
  1080. package/dist/transcript/transcript.recipe.styles.js +5 -0
  1081. package/dist/transcript/transcript.recipe.styles.js.map +1 -0
  1082. package/dist/transcript/transcript.styles.d.ts +3 -0
  1083. package/dist/transcript/transcript.styles.d.ts.map +1 -0
  1084. package/dist/transcript/transcript.styles.js +29 -0
  1085. package/dist/transcript/transcript.styles.js.map +1 -0
  1086. package/dist/transcript/transcript.template.d.ts +4 -0
  1087. package/dist/transcript/transcript.template.d.ts.map +1 -0
  1088. package/dist/transcript/transcript.template.js +34 -0
  1089. package/dist/transcript/transcript.template.js.map +1 -0
  1090. package/dist/usage-meter/index.d.ts +5 -0
  1091. package/dist/usage-meter/index.d.ts.map +1 -0
  1092. package/dist/usage-meter/index.js +6 -0
  1093. package/dist/usage-meter/index.js.map +1 -0
  1094. package/dist/usage-meter/usage-meter.d.ts +56 -0
  1095. package/dist/usage-meter/usage-meter.d.ts.map +1 -0
  1096. package/dist/usage-meter/usage-meter.define.d.ts +3 -0
  1097. package/dist/usage-meter/usage-meter.define.d.ts.map +1 -0
  1098. package/dist/usage-meter/usage-meter.define.js +5 -0
  1099. package/dist/usage-meter/usage-meter.define.js.map +1 -0
  1100. package/dist/usage-meter/usage-meter.definition.d.ts +3 -0
  1101. package/dist/usage-meter/usage-meter.definition.d.ts.map +1 -0
  1102. package/dist/usage-meter/usage-meter.definition.js +12 -0
  1103. package/dist/usage-meter/usage-meter.definition.js.map +1 -0
  1104. package/dist/usage-meter/usage-meter.js +56 -0
  1105. package/dist/usage-meter/usage-meter.js.map +1 -0
  1106. package/dist/usage-meter/usage-meter.recipe.d.ts +6 -0
  1107. package/dist/usage-meter/usage-meter.recipe.d.ts.map +1 -0
  1108. package/dist/usage-meter/usage-meter.recipe.js +11 -0
  1109. package/dist/usage-meter/usage-meter.recipe.js.map +1 -0
  1110. package/dist/usage-meter/usage-meter.recipe.styles.d.ts +2 -0
  1111. package/dist/usage-meter/usage-meter.recipe.styles.d.ts.map +1 -0
  1112. package/dist/usage-meter/usage-meter.recipe.styles.js +5 -0
  1113. package/dist/usage-meter/usage-meter.recipe.styles.js.map +1 -0
  1114. package/dist/usage-meter/usage-meter.styles.d.ts +3 -0
  1115. package/dist/usage-meter/usage-meter.styles.d.ts.map +1 -0
  1116. package/dist/usage-meter/usage-meter.styles.js +36 -0
  1117. package/dist/usage-meter/usage-meter.styles.js.map +1 -0
  1118. package/dist/usage-meter/usage-meter.template.d.ts +4 -0
  1119. package/dist/usage-meter/usage-meter.template.d.ts.map +1 -0
  1120. package/dist/usage-meter/usage-meter.template.js +31 -0
  1121. package/dist/usage-meter/usage-meter.template.js.map +1 -0
  1122. package/dist/voice/recorder.d.ts +13 -0
  1123. package/dist/voice/recorder.d.ts.map +1 -0
  1124. package/dist/voice/recorder.js +86 -0
  1125. package/dist/voice/recorder.js.map +1 -0
  1126. package/dist/voice/web-speech.d.ts +10 -0
  1127. package/dist/voice/web-speech.d.ts.map +1 -0
  1128. package/dist/voice/web-speech.js +88 -0
  1129. package/dist/voice/web-speech.js.map +1 -0
  1130. package/dist/voice-input/index.d.ts +5 -0
  1131. package/dist/voice-input/index.d.ts.map +1 -0
  1132. package/dist/voice-input/index.js +6 -0
  1133. package/dist/voice-input/index.js.map +1 -0
  1134. package/dist/voice-input/voice-input.d.ts +88 -0
  1135. package/dist/voice-input/voice-input.d.ts.map +1 -0
  1136. package/dist/voice-input/voice-input.define.d.ts +3 -0
  1137. package/dist/voice-input/voice-input.define.d.ts.map +1 -0
  1138. package/dist/voice-input/voice-input.define.js +5 -0
  1139. package/dist/voice-input/voice-input.define.js.map +1 -0
  1140. package/dist/voice-input/voice-input.definition.d.ts +3 -0
  1141. package/dist/voice-input/voice-input.definition.d.ts.map +1 -0
  1142. package/dist/voice-input/voice-input.definition.js +14 -0
  1143. package/dist/voice-input/voice-input.definition.js.map +1 -0
  1144. package/dist/voice-input/voice-input.js +128 -0
  1145. package/dist/voice-input/voice-input.js.map +1 -0
  1146. package/dist/voice-input/voice-input.recipe.d.ts +3 -0
  1147. package/dist/voice-input/voice-input.recipe.d.ts.map +1 -0
  1148. package/dist/voice-input/voice-input.recipe.js +8 -0
  1149. package/dist/voice-input/voice-input.recipe.js.map +1 -0
  1150. package/dist/voice-input/voice-input.recipe.styles.d.ts +2 -0
  1151. package/dist/voice-input/voice-input.recipe.styles.d.ts.map +1 -0
  1152. package/dist/voice-input/voice-input.recipe.styles.js +5 -0
  1153. package/dist/voice-input/voice-input.recipe.styles.js.map +1 -0
  1154. package/dist/voice-input/voice-input.styles.d.ts +3 -0
  1155. package/dist/voice-input/voice-input.styles.d.ts.map +1 -0
  1156. package/dist/voice-input/voice-input.styles.js +51 -0
  1157. package/dist/voice-input/voice-input.styles.js.map +1 -0
  1158. package/dist/voice-input/voice-input.template.d.ts +4 -0
  1159. package/dist/voice-input/voice-input.template.d.ts.map +1 -0
  1160. package/dist/voice-input/voice-input.template.js +51 -0
  1161. package/dist/voice-input/voice-input.template.js.map +1 -0
  1162. package/oddkin.metadata.json +13579 -0
  1163. package/package.json +330 -4
  1164. package/schemas/oddkin.ai.approval.v1.schema.json +117 -0
  1165. package/schemas/oddkin.ai.artifact.v1.schema.json +69 -0
  1166. package/schemas/oddkin.ai.checkpoint.v1.schema.json +75 -0
  1167. package/schemas/oddkin.ai.context-item.v1.schema.json +84 -0
  1168. package/schemas/oddkin.ai.conversation.v1.schema.json +633 -0
  1169. package/schemas/oddkin.ai.feedback.v1.schema.json +62 -0
  1170. package/schemas/oddkin.ai.message.v1.schema.json +339 -0
  1171. package/schemas/oddkin.ai.model-option.v1.schema.json +41 -0
  1172. package/schemas/oddkin.ai.plan.v1.schema.json +98 -0
  1173. package/schemas/oddkin.ai.question.v1.schema.json +140 -0
  1174. package/schemas/oddkin.ai.suggestion.v1.schema.json +26 -0
  1175. package/schemas/oddkin.ai.tool-call.v1.schema.json +87 -0
  1176. package/schemas/oddkin.ai.transcript-segment.v1.schema.json +27 -0
  1177. package/schemas/oddkin.ai.usage.v1.schema.json +55 -0
@@ -0,0 +1,3998 @@
1
+ {
2
+ "schemaVersion": "2.1.0",
3
+ "modules": [
4
+ {
5
+ "kind": "javascript-module",
6
+ "path": "dist/action-approval/action-approval.define.js",
7
+ "declarations": [],
8
+ "exports": [
9
+ {
10
+ "kind": "custom-element-definition",
11
+ "name": "odd-action-approval",
12
+ "declaration": {
13
+ "name": "OddkinActionApproval",
14
+ "module": "dist/action-approval/action-approval.js"
15
+ }
16
+ }
17
+ ]
18
+ },
19
+ {
20
+ "kind": "javascript-module",
21
+ "path": "dist/action-approval/action-approval.js",
22
+ "declarations": [
23
+ {
24
+ "kind": "class",
25
+ "name": "OddkinActionApproval",
26
+ "description": "Review an action, its target, and its changes, then approve or reject it. The decision is a\nrequest: the element shows it as pending until the authoritative record changes, refuses\nrepeated activation for the same revision, and never presents approval as success of the\naction.",
27
+ "customElement": true,
28
+ "tagName": "odd-action-approval",
29
+ "superclass": {
30
+ "name": "OddkinElement",
31
+ "package": "@oddkin/core"
32
+ },
33
+ "members": [
34
+ {
35
+ "kind": "field",
36
+ "name": "approval",
37
+ "type": {
38
+ "text": "{ approvalId: string; revision: number; title: string; status: \"requested\" | \"decision-pending\" | \"approved\" | \"rejected\" | \"expired\" | \"superseded\" | \"decision-failed\"; attemptId?: string | undefined; ... 8 more ...; error?: { ...; } | undefined; } | undefined"
39
+ },
40
+ "default": "undefined",
41
+ "description": "The approval record (replace to update; never mutate)."
42
+ },
43
+ {
44
+ "kind": "field",
45
+ "name": "capabilities",
46
+ "type": {
47
+ "text": "{ send?: { available: boolean; reason?: string | undefined; } | undefined; stop?: { available: boolean; reason?: string | undefined; } | undefined; disconnect?: { available: boolean; reason?: string | undefined; } | undefined; ... 12 more ...; feedback?: { ...; } | undefined; } | undefined"
48
+ },
49
+ "default": "undefined",
50
+ "description": "`respondToApproval` and `editApproval` decide which controls are enabled."
51
+ },
52
+ {
53
+ "kind": "field",
54
+ "name": "announce",
55
+ "type": {
56
+ "text": "\"none\" | \"important\""
57
+ },
58
+ "default": "'none'",
59
+ "description": "Announce status changes (only when no surrounding surface announces them).",
60
+ "attribute": "announce"
61
+ },
62
+ {
63
+ "kind": "field",
64
+ "name": "strings",
65
+ "type": {
66
+ "text": "Partial<{ approve: string; reject: string; edit: string; reason: string; target: string; changes: string; before: string; after: string; risk: string; low: string; medium: string; high: string; expires: string; ... 12 more ...; announceFailed: string; }> | undefined"
67
+ },
68
+ "default": "undefined",
69
+ "description": "Localized string overrides."
70
+ }
71
+ ],
72
+ "attributes": [
73
+ {
74
+ "name": "announce",
75
+ "type": {
76
+ "text": "\"none\" | \"important\""
77
+ },
78
+ "fieldName": "announce",
79
+ "default": "'none'",
80
+ "description": "Announce status changes (only when no surrounding surface announces them)."
81
+ }
82
+ ],
83
+ "events": [
84
+ {
85
+ "name": "odd-approval-decide",
86
+ "type": {
87
+ "text": "CustomEvent<ApprovalDecideDetail>"
88
+ },
89
+ "description": "Request to decide one approval revision. Pending until the record changes."
90
+ },
91
+ {
92
+ "name": "odd-approval-edit",
93
+ "type": {
94
+ "text": "CustomEvent<{ readonly approvalId: string; readonly revision: number; }>"
95
+ },
96
+ "description": "Request to edit the proposed action before deciding."
97
+ },
98
+ {
99
+ "name": "odd-announce",
100
+ "type": {
101
+ "text": "CustomEvent<AnnounceDetail>"
102
+ },
103
+ "description": "A status message for the nearest announcer, which cancels it so outer announcers stay silent."
104
+ }
105
+ ],
106
+ "slots": [],
107
+ "cssParts": [
108
+ {
109
+ "name": "actions",
110
+ "description": "Decision controls."
111
+ },
112
+ {
113
+ "name": "base",
114
+ "description": "The approval surface."
115
+ },
116
+ {
117
+ "name": "changes",
118
+ "description": "Before/after list."
119
+ }
120
+ ],
121
+ "cssProperties": [],
122
+ "cssStates": []
123
+ }
124
+ ],
125
+ "exports": [
126
+ {
127
+ "kind": "js",
128
+ "name": "OddkinActionApproval",
129
+ "declaration": {
130
+ "name": "OddkinActionApproval",
131
+ "module": "dist/action-approval/action-approval.js"
132
+ }
133
+ }
134
+ ]
135
+ },
136
+ {
137
+ "kind": "javascript-module",
138
+ "path": "dist/action-approval/index.js",
139
+ "declarations": [],
140
+ "exports": [
141
+ {
142
+ "kind": "js",
143
+ "name": "OddkinActionApproval",
144
+ "declaration": {
145
+ "name": "OddkinActionApproval",
146
+ "module": "dist/action-approval/action-approval.js"
147
+ }
148
+ }
149
+ ]
150
+ },
151
+ {
152
+ "kind": "javascript-module",
153
+ "path": "dist/activity/activity.define.js",
154
+ "declarations": [],
155
+ "exports": [
156
+ {
157
+ "kind": "custom-element-definition",
158
+ "name": "odd-activity",
159
+ "declaration": {
160
+ "name": "OddkinActivity",
161
+ "module": "dist/activity/activity.js"
162
+ }
163
+ }
164
+ ]
165
+ },
166
+ {
167
+ "kind": "javascript-module",
168
+ "path": "dist/activity/activity.js",
169
+ "declarations": [
170
+ {
171
+ "kind": "class",
172
+ "name": "OddkinActivity",
173
+ "description": "Status of the current attempt, separating the work's state from the connection: active tools,\napprovals, stopping, disconnection, and interruption, with the recovery actions the adapter\nactually supports (stop, resume, retry).",
174
+ "customElement": true,
175
+ "tagName": "odd-activity",
176
+ "superclass": {
177
+ "name": "OddkinElement",
178
+ "package": "@oddkin/core"
179
+ },
180
+ "members": [
181
+ {
182
+ "kind": "field",
183
+ "name": "attempt",
184
+ "type": {
185
+ "text": "AttemptRecord | undefined"
186
+ },
187
+ "default": "undefined",
188
+ "description": "The attempt to describe."
189
+ },
190
+ {
191
+ "kind": "field",
192
+ "name": "tools",
193
+ "type": {
194
+ "text": "{ toolCallId: string; status: \"input-streaming\" | \"input-available\" | \"awaiting-approval\" | \"executing\" | \"output-available\" | \"output-error\" | \"denied\" | \"cancelled\"; toolName: string; ... 8 more ...; output?: JsonValue | undefined; }[]"
195
+ },
196
+ "default": "[]",
197
+ "description": "The attempt's tool calls."
198
+ },
199
+ {
200
+ "kind": "field",
201
+ "name": "capabilities",
202
+ "type": {
203
+ "text": "{ send?: { available: boolean; reason?: string | undefined; } | undefined; stop?: { available: boolean; reason?: string | undefined; } | undefined; disconnect?: { available: boolean; reason?: string | undefined; } | undefined; ... 12 more ...; feedback?: { ...; } | undefined; } | undefined"
204
+ },
205
+ "default": "undefined",
206
+ "description": "Which recovery actions to offer."
207
+ },
208
+ {
209
+ "kind": "field",
210
+ "name": "strings",
211
+ "type": {
212
+ "text": "Partial<{ submitted: string; accepted: string; streaming: string; tools: string; tool: string; approval: string; 'awaiting-input': string; completed: string; cancelled: string; failed: string; interrupted: string; ... 7 more ...; retry: string; }> | undefined"
213
+ },
214
+ "default": "undefined",
215
+ "description": "Localized string overrides."
216
+ }
217
+ ],
218
+ "attributes": [],
219
+ "events": [
220
+ {
221
+ "name": "odd-prompt-stop",
222
+ "type": {
223
+ "text": "CustomEvent<{ readonly attemptId: string | undefined; }>"
224
+ },
225
+ "description": "Request to stop the underlying work of the identified attempt (not a disconnect)."
226
+ },
227
+ {
228
+ "name": "odd-attempt-resume",
229
+ "type": {
230
+ "text": "CustomEvent<{ readonly attemptId: string; }>"
231
+ },
232
+ "description": "Request to reattach to an existing attempt (never starts new work)."
233
+ },
234
+ {
235
+ "name": "odd-attempt-retry",
236
+ "type": {
237
+ "text": "CustomEvent<{ readonly attemptId: string; }>"
238
+ },
239
+ "description": "Request a new attempt linked to a failed, interrupted, or cancelled one."
240
+ }
241
+ ],
242
+ "slots": [],
243
+ "cssParts": [
244
+ {
245
+ "name": "actions",
246
+ "description": "Stop, resume, and retry."
247
+ },
248
+ {
249
+ "name": "base",
250
+ "description": "The status bar."
251
+ }
252
+ ],
253
+ "cssProperties": [],
254
+ "cssStates": []
255
+ }
256
+ ],
257
+ "exports": [
258
+ {
259
+ "kind": "js",
260
+ "name": "OddkinActivity",
261
+ "declaration": {
262
+ "name": "OddkinActivity",
263
+ "module": "dist/activity/activity.js"
264
+ }
265
+ }
266
+ ]
267
+ },
268
+ {
269
+ "kind": "javascript-module",
270
+ "path": "dist/activity/index.js",
271
+ "declarations": [],
272
+ "exports": [
273
+ {
274
+ "kind": "js",
275
+ "name": "OddkinActivity",
276
+ "declaration": {
277
+ "name": "OddkinActivity",
278
+ "module": "dist/activity/activity.js"
279
+ }
280
+ }
281
+ ]
282
+ },
283
+ {
284
+ "kind": "javascript-module",
285
+ "path": "dist/ai-label/ai-label.define.js",
286
+ "declarations": [],
287
+ "exports": [
288
+ {
289
+ "kind": "custom-element-definition",
290
+ "name": "odd-ai-label",
291
+ "declaration": {
292
+ "name": "OddkinAiLabel",
293
+ "module": "dist/ai-label/ai-label.js"
294
+ }
295
+ }
296
+ ]
297
+ },
298
+ {
299
+ "kind": "javascript-module",
300
+ "path": "dist/ai-label/ai-label.js",
301
+ "declarations": [
302
+ {
303
+ "kind": "class",
304
+ "name": "OddkinAiLabel",
305
+ "description": "A provenance label for generated or assisted content, with the origin details the application\nsupplied in a native disclosure. Shows information as supplied; it never asserts accuracy.",
306
+ "customElement": true,
307
+ "tagName": "odd-ai-label",
308
+ "superclass": {
309
+ "name": "OddkinElement",
310
+ "package": "@oddkin/core"
311
+ },
312
+ "members": [
313
+ {
314
+ "kind": "field",
315
+ "name": "provenance",
316
+ "type": {
317
+ "text": "{ kind: \"generated\" | \"assisted\" | \"edited\" | \"human\"; label?: string | undefined; model?: string | undefined; provider?: string | undefined; notes?: string | undefined; generatedAt?: string | undefined; } | undefined"
318
+ },
319
+ "default": "undefined",
320
+ "description": "Origin information supplied by the application."
321
+ },
322
+ {
323
+ "kind": "field",
324
+ "name": "strings",
325
+ "type": {
326
+ "text": "Partial<{ generated: string; assisted: string; edited: string; human: string; model: string; provider: string; generatedAt: string; disclaimer: string; }> | undefined"
327
+ },
328
+ "default": "undefined",
329
+ "description": "Localized string overrides."
330
+ }
331
+ ],
332
+ "attributes": [],
333
+ "events": [],
334
+ "slots": [],
335
+ "cssParts": [
336
+ {
337
+ "name": "base",
338
+ "description": "The native disclosure around the label and its details."
339
+ },
340
+ {
341
+ "name": "details",
342
+ "description": "The origin details."
343
+ },
344
+ {
345
+ "name": "label",
346
+ "description": "The visible label (the disclosure summary)."
347
+ }
348
+ ],
349
+ "cssProperties": [],
350
+ "cssStates": []
351
+ }
352
+ ],
353
+ "exports": [
354
+ {
355
+ "kind": "js",
356
+ "name": "OddkinAiLabel",
357
+ "declaration": {
358
+ "name": "OddkinAiLabel",
359
+ "module": "dist/ai-label/ai-label.js"
360
+ }
361
+ }
362
+ ]
363
+ },
364
+ {
365
+ "kind": "javascript-module",
366
+ "path": "dist/ai-label/index.js",
367
+ "declarations": [],
368
+ "exports": [
369
+ {
370
+ "kind": "js",
371
+ "name": "OddkinAiLabel",
372
+ "declaration": {
373
+ "name": "OddkinAiLabel",
374
+ "module": "dist/ai-label/ai-label.js"
375
+ }
376
+ }
377
+ ]
378
+ },
379
+ {
380
+ "kind": "javascript-module",
381
+ "path": "dist/artifact/artifact.define.js",
382
+ "declarations": [],
383
+ "exports": [
384
+ {
385
+ "kind": "custom-element-definition",
386
+ "name": "odd-artifact",
387
+ "declaration": {
388
+ "name": "OddkinArtifact",
389
+ "module": "dist/artifact/artifact.js"
390
+ }
391
+ }
392
+ ]
393
+ },
394
+ {
395
+ "kind": "javascript-module",
396
+ "path": "dist/artifact/artifact.js",
397
+ "declarations": [
398
+ {
399
+ "kind": "class",
400
+ "name": "OddkinArtifact",
401
+ "description": "A generated artifact with a stable identity across revisions: revision history, preview and\nsource modes, application-provided renderers, and export actions. Copy and the default\ndownload use the canonical revision content.",
402
+ "customElement": true,
403
+ "tagName": "odd-artifact",
404
+ "superclass": {
405
+ "name": "OddkinElement",
406
+ "package": "@oddkin/core"
407
+ },
408
+ "members": [
409
+ {
410
+ "kind": "field",
411
+ "name": "artifact",
412
+ "type": {
413
+ "text": "{ title: string; kind: string; artifactId: string; currentRevisionId: string; revisions: { number: number; revisionId: string; content: string; summary?: string | undefined; createdAt?: string | undefined; }[]; language?: string | undefined; } | undefined"
414
+ },
415
+ "default": "undefined",
416
+ "description": "The artifact record with all revisions."
417
+ },
418
+ {
419
+ "kind": "field",
420
+ "name": "revisionId",
421
+ "type": {
422
+ "text": "string"
423
+ },
424
+ "default": "''",
425
+ "description": "Revision to show; empty shows the current one.",
426
+ "attribute": "revision-id"
427
+ },
428
+ {
429
+ "kind": "field",
430
+ "name": "view",
431
+ "type": {
432
+ "text": "\"source\" | \"preview\""
433
+ },
434
+ "default": "'preview'",
435
+ "description": "Preview or source view.",
436
+ "attribute": "view",
437
+ "reflects": true
438
+ },
439
+ {
440
+ "kind": "field",
441
+ "name": "renderers",
442
+ "type": {
443
+ "text": "Readonly<Record<string, ArtifactRenderer>> | undefined"
444
+ },
445
+ "default": "undefined",
446
+ "description": "Host renderers by artifact kind."
447
+ },
448
+ {
449
+ "kind": "field",
450
+ "name": "exports",
451
+ "type": {
452
+ "text": "ExportFormat[]"
453
+ },
454
+ "default": "[]",
455
+ "description": "Extra export formats offered through `odd-artifact-export`."
456
+ },
457
+ {
458
+ "kind": "field",
459
+ "name": "markdown",
460
+ "type": {
461
+ "text": "MarkdownOptions | undefined"
462
+ },
463
+ "default": "undefined",
464
+ "description": "Options for the built-in Markdown and code preview."
465
+ },
466
+ {
467
+ "kind": "field",
468
+ "name": "strings",
469
+ "type": {
470
+ "text": "Partial<{ revision: string; revisionOption: string; current: string; preview: string; source: string; view: string; copy: string; download: string; copied: string; copyFailed: string; noPreview: string; }> | undefined"
471
+ },
472
+ "default": "undefined",
473
+ "description": "Localized string overrides."
474
+ },
475
+ {
476
+ "kind": "field",
477
+ "name": "revision",
478
+ "type": {
479
+ "text": "{ number: number; revisionId: string; content: string; summary?: string | undefined; createdAt?: string | undefined; } | undefined"
480
+ },
481
+ "readonly": true,
482
+ "description": "The revision on screen."
483
+ }
484
+ ],
485
+ "attributes": [
486
+ {
487
+ "name": "revision-id",
488
+ "type": {
489
+ "text": "string"
490
+ },
491
+ "fieldName": "revisionId",
492
+ "default": "''",
493
+ "description": "Revision to show; empty shows the current one."
494
+ },
495
+ {
496
+ "name": "view",
497
+ "type": {
498
+ "text": "\"source\" | \"preview\""
499
+ },
500
+ "fieldName": "view",
501
+ "default": "'preview'",
502
+ "description": "Preview or source view."
503
+ }
504
+ ],
505
+ "events": [
506
+ {
507
+ "name": "odd-artifact-export",
508
+ "type": {
509
+ "text": "CustomEvent<{ readonly artifactId: string; readonly revisionId: string; readonly format: string; }>"
510
+ },
511
+ "description": "Export requested. The default downloads the canonical source; cancel to export yourself."
512
+ },
513
+ {
514
+ "name": "odd-artifact-revision-change",
515
+ "type": {
516
+ "text": "CustomEvent<{ readonly artifactId: string; readonly revisionId: string; }>"
517
+ },
518
+ "description": "The viewed revision changed (presentation state)."
519
+ },
520
+ {
521
+ "name": "odd-announce",
522
+ "type": {
523
+ "text": "CustomEvent<AnnounceDetail>"
524
+ },
525
+ "description": "A status message for the nearest announcer, which cancels it so outer announcers stay silent."
526
+ }
527
+ ],
528
+ "slots": [],
529
+ "cssParts": [
530
+ {
531
+ "name": "header",
532
+ "description": "Title, revision picker, view toggle, and actions."
533
+ },
534
+ {
535
+ "name": "preview",
536
+ "description": "Preview container (renderer output)."
537
+ },
538
+ {
539
+ "name": "source",
540
+ "description": "Source view."
541
+ }
542
+ ],
543
+ "cssProperties": [],
544
+ "cssStates": []
545
+ }
546
+ ],
547
+ "exports": [
548
+ {
549
+ "kind": "js",
550
+ "name": "OddkinArtifact",
551
+ "declaration": {
552
+ "name": "OddkinArtifact",
553
+ "module": "dist/artifact/artifact.js"
554
+ }
555
+ }
556
+ ]
557
+ },
558
+ {
559
+ "kind": "javascript-module",
560
+ "path": "dist/artifact/index.js",
561
+ "declarations": [],
562
+ "exports": [
563
+ {
564
+ "kind": "js",
565
+ "name": "OddkinArtifact",
566
+ "declaration": {
567
+ "name": "OddkinArtifact",
568
+ "module": "dist/artifact/artifact.js"
569
+ }
570
+ }
571
+ ]
572
+ },
573
+ {
574
+ "kind": "javascript-module",
575
+ "path": "dist/change-review/change-review.define.js",
576
+ "declarations": [],
577
+ "exports": [
578
+ {
579
+ "kind": "custom-element-definition",
580
+ "name": "odd-change-review",
581
+ "declaration": {
582
+ "name": "OddkinChangeReview",
583
+ "module": "dist/change-review/change-review.js"
584
+ }
585
+ }
586
+ ]
587
+ },
588
+ {
589
+ "kind": "javascript-module",
590
+ "path": "dist/change-review/change-review.js",
591
+ "declarations": [
592
+ {
593
+ "kind": "class",
594
+ "name": "OddkinChangeReview",
595
+ "description": "Review proposed edits as before/after or inline word or line diffs; accept, reject, or undo\neach one. Every action is a request; statuses (applied, stale, undone) come from the records,\nwhich only apply to the revision they were proposed for.",
596
+ "customElement": true,
597
+ "tagName": "odd-change-review",
598
+ "superclass": {
599
+ "name": "OddkinElement",
600
+ "package": "@oddkin/core"
601
+ },
602
+ "members": [
603
+ {
604
+ "kind": "field",
605
+ "name": "proposals",
606
+ "type": {
607
+ "text": "EditProposal[]"
608
+ },
609
+ "default": "[]",
610
+ "description": "Proposal records (host-owned; e.g. from `DocumentSession`)."
611
+ },
612
+ {
613
+ "kind": "field",
614
+ "name": "view",
615
+ "type": {
616
+ "text": "\"split\" | \"inline\""
617
+ },
618
+ "default": "'inline'",
619
+ "description": "Inline diff or side-by-side before/after.",
620
+ "attribute": "view",
621
+ "reflects": true
622
+ },
623
+ {
624
+ "kind": "field",
625
+ "name": "granularity",
626
+ "type": {
627
+ "text": "\"words\" | \"lines\""
628
+ },
629
+ "default": "'words'",
630
+ "description": "Diff by words (prose) or lines (code).",
631
+ "attribute": "granularity"
632
+ },
633
+ {
634
+ "kind": "field",
635
+ "name": "announce",
636
+ "type": {
637
+ "text": "\"none\" | \"important\""
638
+ },
639
+ "default": "'none'",
640
+ "description": "Announce outcomes (when no surrounding surface does).",
641
+ "attribute": "announce"
642
+ },
643
+ {
644
+ "kind": "field",
645
+ "name": "strings",
646
+ "type": {
647
+ "text": "Partial<{ label: string; empty: string; before: string; after: string; deleted: string; inserted: string; accept: string; reject: string; undo: string; proposed: string; 'accept-pending': string; applied: string; ... 7 more ...; announceUndone: string; }> | undefined"
648
+ },
649
+ "default": "undefined",
650
+ "description": "Localized string overrides."
651
+ }
652
+ ],
653
+ "attributes": [
654
+ {
655
+ "name": "view",
656
+ "type": {
657
+ "text": "\"split\" | \"inline\""
658
+ },
659
+ "fieldName": "view",
660
+ "default": "'inline'",
661
+ "description": "Inline diff or side-by-side before/after."
662
+ },
663
+ {
664
+ "name": "granularity",
665
+ "type": {
666
+ "text": "\"words\" | \"lines\""
667
+ },
668
+ "fieldName": "granularity",
669
+ "default": "'words'",
670
+ "description": "Diff by words (prose) or lines (code)."
671
+ },
672
+ {
673
+ "name": "announce",
674
+ "type": {
675
+ "text": "\"none\" | \"important\""
676
+ },
677
+ "fieldName": "announce",
678
+ "default": "'none'",
679
+ "description": "Announce outcomes (when no surrounding surface does)."
680
+ }
681
+ ],
682
+ "events": [
683
+ {
684
+ "name": "odd-change-accept",
685
+ "type": {
686
+ "text": "CustomEvent<{ readonly proposalId: string; }>"
687
+ },
688
+ "description": "Request to apply a proposed change to its base revision."
689
+ },
690
+ {
691
+ "name": "odd-change-reject",
692
+ "type": {
693
+ "text": "CustomEvent<{ readonly proposalId: string; }>"
694
+ },
695
+ "description": "Request to discard a proposed change."
696
+ },
697
+ {
698
+ "name": "odd-change-undo",
699
+ "type": {
700
+ "text": "CustomEvent<{ readonly proposalId: string; }>"
701
+ },
702
+ "description": "Request to undo an applied change."
703
+ },
704
+ {
705
+ "name": "odd-announce",
706
+ "type": {
707
+ "text": "CustomEvent<AnnounceDetail>"
708
+ },
709
+ "description": "A status message for the nearest announcer, which cancels it so outer announcers stay silent."
710
+ }
711
+ ],
712
+ "slots": [],
713
+ "cssParts": [
714
+ {
715
+ "name": "diff",
716
+ "description": "Diff view."
717
+ },
718
+ {
719
+ "name": "list",
720
+ "description": "Proposals."
721
+ },
722
+ {
723
+ "name": "proposal",
724
+ "description": "One proposal."
725
+ }
726
+ ],
727
+ "cssProperties": [],
728
+ "cssStates": []
729
+ }
730
+ ],
731
+ "exports": [
732
+ {
733
+ "kind": "js",
734
+ "name": "OddkinChangeReview",
735
+ "declaration": {
736
+ "name": "OddkinChangeReview",
737
+ "module": "dist/change-review/change-review.js"
738
+ }
739
+ }
740
+ ]
741
+ },
742
+ {
743
+ "kind": "javascript-module",
744
+ "path": "dist/change-review/index.js",
745
+ "declarations": [],
746
+ "exports": [
747
+ {
748
+ "kind": "js",
749
+ "name": "OddkinChangeReview",
750
+ "declaration": {
751
+ "name": "OddkinChangeReview",
752
+ "module": "dist/change-review/change-review.js"
753
+ }
754
+ }
755
+ ]
756
+ },
757
+ {
758
+ "kind": "javascript-module",
759
+ "path": "dist/checkpoint/checkpoint.define.js",
760
+ "declarations": [],
761
+ "exports": [
762
+ {
763
+ "kind": "custom-element-definition",
764
+ "name": "odd-checkpoint",
765
+ "declaration": {
766
+ "name": "OddkinCheckpoint",
767
+ "module": "dist/checkpoint/checkpoint.js"
768
+ }
769
+ }
770
+ ]
771
+ },
772
+ {
773
+ "kind": "javascript-module",
774
+ "path": "dist/checkpoint/checkpoint.js",
775
+ "declarations": [
776
+ {
777
+ "kind": "class",
778
+ "name": "OddkinCheckpoint",
779
+ "description": "A restore point: what it restores, a confirmed restore request, pending work, and the outcome\nthe application confirms. Success is shown only when the record says `restored`.",
780
+ "customElement": true,
781
+ "tagName": "odd-checkpoint",
782
+ "superclass": {
783
+ "name": "OddkinElement",
784
+ "package": "@oddkin/core"
785
+ },
786
+ "members": [
787
+ {
788
+ "kind": "field",
789
+ "name": "checkpoint",
790
+ "type": {
791
+ "text": "{ description: string; label: string; status: \"available\" | \"restore-pending\" | \"restored\" | \"restore-failed\" | \"unavailable\"; checkpointId: string; restores: string[]; error?: { code: string; message: string; retryable?: boolean | undefined; } | undefined; createdAt?: string | undefined; outcome?: string | undefine..."
792
+ },
793
+ "default": "undefined",
794
+ "description": "The checkpoint record."
795
+ },
796
+ {
797
+ "kind": "field",
798
+ "name": "capabilities",
799
+ "type": {
800
+ "text": "{ send?: { available: boolean; reason?: string | undefined; } | undefined; stop?: { available: boolean; reason?: string | undefined; } | undefined; disconnect?: { available: boolean; reason?: string | undefined; } | undefined; ... 12 more ...; feedback?: { ...; } | undefined; } | undefined"
801
+ },
802
+ "default": "undefined",
803
+ "description": "`restoreCheckpoint` enables restoring."
804
+ },
805
+ {
806
+ "kind": "field",
807
+ "name": "announce",
808
+ "type": {
809
+ "text": "\"none\" | \"important\""
810
+ },
811
+ "default": "'none'",
812
+ "description": "Announce outcomes (when no surrounding surface does).",
813
+ "attribute": "announce"
814
+ },
815
+ {
816
+ "kind": "field",
817
+ "name": "strings",
818
+ "type": {
819
+ "text": "Partial<{ restores: string; restore: string; confirm: string; cancel: string; confirmText: string; available: string; 'restore-pending': string; restored: string; 'restore-failed': string; unavailable: string; created: string; announceRestored: string; announceFailed: string; }> | undefined"
820
+ },
821
+ "default": "undefined",
822
+ "description": "Localized string overrides."
823
+ }
824
+ ],
825
+ "attributes": [
826
+ {
827
+ "name": "announce",
828
+ "type": {
829
+ "text": "\"none\" | \"important\""
830
+ },
831
+ "fieldName": "announce",
832
+ "default": "'none'",
833
+ "description": "Announce outcomes (when no surrounding surface does)."
834
+ }
835
+ ],
836
+ "events": [
837
+ {
838
+ "name": "odd-checkpoint-restore",
839
+ "type": {
840
+ "text": "CustomEvent<{ readonly checkpointId: string; }>"
841
+ },
842
+ "description": "Request to restore a checkpoint. Success is shown only after the record says restored."
843
+ },
844
+ {
845
+ "name": "odd-announce",
846
+ "type": {
847
+ "text": "CustomEvent<AnnounceDetail>"
848
+ },
849
+ "description": "A status message for the nearest announcer, which cancels it so outer announcers stay silent."
850
+ }
851
+ ],
852
+ "slots": [],
853
+ "cssParts": [
854
+ {
855
+ "name": "actions",
856
+ "description": "Restore and confirmation controls."
857
+ },
858
+ {
859
+ "name": "base",
860
+ "description": "The checkpoint surface."
861
+ },
862
+ {
863
+ "name": "restores",
864
+ "description": "The list of state the restore replaces."
865
+ }
866
+ ],
867
+ "cssProperties": [],
868
+ "cssStates": []
869
+ }
870
+ ],
871
+ "exports": [
872
+ {
873
+ "kind": "js",
874
+ "name": "OddkinCheckpoint",
875
+ "declaration": {
876
+ "name": "OddkinCheckpoint",
877
+ "module": "dist/checkpoint/checkpoint.js"
878
+ }
879
+ }
880
+ ]
881
+ },
882
+ {
883
+ "kind": "javascript-module",
884
+ "path": "dist/checkpoint/index.js",
885
+ "declarations": [],
886
+ "exports": [
887
+ {
888
+ "kind": "js",
889
+ "name": "OddkinCheckpoint",
890
+ "declaration": {
891
+ "name": "OddkinCheckpoint",
892
+ "module": "dist/checkpoint/checkpoint.js"
893
+ }
894
+ }
895
+ ]
896
+ },
897
+ {
898
+ "kind": "javascript-module",
899
+ "path": "dist/citation/citation.define.js",
900
+ "declarations": [],
901
+ "exports": [
902
+ {
903
+ "kind": "custom-element-definition",
904
+ "name": "odd-citation",
905
+ "declaration": {
906
+ "name": "OddkinCitation",
907
+ "module": "dist/citation/citation.js"
908
+ }
909
+ }
910
+ ]
911
+ },
912
+ {
913
+ "kind": "javascript-module",
914
+ "path": "dist/citation/citation.js",
915
+ "declarations": [
916
+ {
917
+ "kind": "class",
918
+ "name": "OddkinCitation",
919
+ "description": "An inline citation marker with an accessible preview of its source. A missing source record\nrenders as an unresolved reference; nothing is invented.",
920
+ "customElement": true,
921
+ "tagName": "odd-citation",
922
+ "superclass": {
923
+ "name": "OddkinElement",
924
+ "package": "@oddkin/core"
925
+ },
926
+ "members": [
927
+ {
928
+ "kind": "field",
929
+ "name": "sourceId",
930
+ "type": {
931
+ "text": "string"
932
+ },
933
+ "default": "''",
934
+ "description": "Citation key (`[^key]`).",
935
+ "attribute": "source-id"
936
+ },
937
+ {
938
+ "kind": "field",
939
+ "name": "index",
940
+ "type": {
941
+ "text": "number"
942
+ },
943
+ "default": "0",
944
+ "description": "Display number; 0 shows the key.",
945
+ "attribute": "index"
946
+ },
947
+ {
948
+ "kind": "field",
949
+ "name": "source",
950
+ "type": {
951
+ "text": "{ type: \"source\"; id: string; sourceId: string; url?: string | undefined; title?: string | undefined; kind?: \"file\" | \"web\" | \"document\" | \"other\" | undefined; excerpt?: string | undefined; publisher?: string | undefined; } | undefined"
952
+ },
953
+ "default": "undefined",
954
+ "description": "The source record; undefined renders an unresolved reference."
955
+ },
956
+ {
957
+ "kind": "field",
958
+ "name": "strings",
959
+ "type": {
960
+ "text": "Partial<{ source: string; unresolved: string; unavailable: string; open: string; show: string; untitled: string; }> | undefined"
961
+ },
962
+ "default": "undefined",
963
+ "description": "Localized string overrides."
964
+ }
965
+ ],
966
+ "attributes": [
967
+ {
968
+ "name": "source-id",
969
+ "type": {
970
+ "text": "string"
971
+ },
972
+ "fieldName": "sourceId",
973
+ "default": "''",
974
+ "description": "Citation key (`[^key]`)."
975
+ },
976
+ {
977
+ "name": "index",
978
+ "type": {
979
+ "text": "number"
980
+ },
981
+ "fieldName": "index",
982
+ "default": "0",
983
+ "description": "Display number; 0 shows the key."
984
+ }
985
+ ],
986
+ "events": [
987
+ {
988
+ "name": "odd-citation-open",
989
+ "type": {
990
+ "text": "CustomEvent<{ readonly sourceId: string; readonly resolved: boolean; }>"
991
+ },
992
+ "description": "A citation was activated. The default reveals the source; cancel to navigate yourself."
993
+ },
994
+ {
995
+ "name": "odd-source-reveal",
996
+ "type": {
997
+ "text": "CustomEvent<{ readonly sourceId: string; }>"
998
+ },
999
+ "description": "Default action of odd-citation-open: the nearest message reveals the source."
1000
+ }
1001
+ ],
1002
+ "slots": [],
1003
+ "cssParts": [
1004
+ {
1005
+ "name": "preview",
1006
+ "description": "The source preview."
1007
+ },
1008
+ {
1009
+ "name": "trigger",
1010
+ "description": "The marker button."
1011
+ }
1012
+ ],
1013
+ "cssProperties": [],
1014
+ "cssStates": []
1015
+ }
1016
+ ],
1017
+ "exports": [
1018
+ {
1019
+ "kind": "js",
1020
+ "name": "OddkinCitation",
1021
+ "declaration": {
1022
+ "name": "OddkinCitation",
1023
+ "module": "dist/citation/citation.js"
1024
+ }
1025
+ }
1026
+ ]
1027
+ },
1028
+ {
1029
+ "kind": "javascript-module",
1030
+ "path": "dist/citation/index.js",
1031
+ "declarations": [],
1032
+ "exports": [
1033
+ {
1034
+ "kind": "js",
1035
+ "name": "OddkinCitation",
1036
+ "declaration": {
1037
+ "name": "OddkinCitation",
1038
+ "module": "dist/citation/citation.js"
1039
+ }
1040
+ }
1041
+ ]
1042
+ },
1043
+ {
1044
+ "kind": "javascript-module",
1045
+ "path": "dist/context-picker/context-picker.define.js",
1046
+ "declarations": [],
1047
+ "exports": [
1048
+ {
1049
+ "kind": "custom-element-definition",
1050
+ "name": "odd-context-picker",
1051
+ "declaration": {
1052
+ "name": "OddkinContextPicker",
1053
+ "module": "dist/context-picker/context-picker.js"
1054
+ }
1055
+ }
1056
+ ]
1057
+ },
1058
+ {
1059
+ "kind": "javascript-module",
1060
+ "path": "dist/context-picker/context-picker.js",
1061
+ "declarations": [
1062
+ {
1063
+ "kind": "class",
1064
+ "name": "OddkinContextPicker",
1065
+ "description": "Select, inspect, and remove the context sent with a request: files, documents, links, and\nselected text. Adding is a request; items appear when the host adds their records.",
1066
+ "customElement": true,
1067
+ "tagName": "odd-context-picker",
1068
+ "superclass": {
1069
+ "name": "OddkinElement",
1070
+ "package": "@oddkin/core"
1071
+ },
1072
+ "members": [
1073
+ {
1074
+ "kind": "field",
1075
+ "name": "items",
1076
+ "type": {
1077
+ "text": "{ label: string; id: string; status: \"failed\" | \"selected\" | \"uploading\" | \"uploaded\" | \"processing\" | \"ready\" | \"removed\"; kind: \"url\" | \"file\" | \"document\" | \"selection\"; url?: string | undefined; ... 4 more ...; detail?: string | undefined; }[]"
1078
+ },
1079
+ "default": "[]",
1080
+ "description": "Context item records (host-owned)."
1081
+ },
1082
+ {
1083
+ "kind": "field",
1084
+ "name": "accept",
1085
+ "type": {
1086
+ "text": "string"
1087
+ },
1088
+ "default": "''",
1089
+ "description": "File types for \"Add files\" (as `<input accept>`).",
1090
+ "attribute": "accept"
1091
+ },
1092
+ {
1093
+ "kind": "field",
1094
+ "name": "allowUrls",
1095
+ "type": {
1096
+ "text": "boolean"
1097
+ },
1098
+ "default": "false",
1099
+ "description": "Offer adding links.",
1100
+ "attribute": "allow-urls"
1101
+ },
1102
+ {
1103
+ "kind": "field",
1104
+ "name": "disabled",
1105
+ "type": {
1106
+ "text": "boolean"
1107
+ },
1108
+ "default": "false",
1109
+ "description": "Prevents adding and removing.",
1110
+ "attribute": "disabled",
1111
+ "reflects": true
1112
+ },
1113
+ {
1114
+ "kind": "field",
1115
+ "name": "strings",
1116
+ "type": {
1117
+ "text": "Partial<{ label: string; empty: string; addFiles: string; addUrl: string; url: string; add: string; invalidUrl: string; inspect: string; hide: string; remove: string; noPreview: string; file: string; document: string; ... 8 more ...; removed: string; }> | undefined"
1118
+ },
1119
+ "default": "undefined",
1120
+ "description": "Localized string overrides."
1121
+ }
1122
+ ],
1123
+ "attributes": [
1124
+ {
1125
+ "name": "accept",
1126
+ "type": {
1127
+ "text": "string"
1128
+ },
1129
+ "fieldName": "accept",
1130
+ "default": "''",
1131
+ "description": "File types for \"Add files\" (as `<input accept>`)."
1132
+ },
1133
+ {
1134
+ "name": "allow-urls",
1135
+ "type": {
1136
+ "text": "boolean"
1137
+ },
1138
+ "fieldName": "allowUrls",
1139
+ "default": "false",
1140
+ "description": "Offer adding links."
1141
+ },
1142
+ {
1143
+ "name": "disabled",
1144
+ "type": {
1145
+ "text": "boolean"
1146
+ },
1147
+ "fieldName": "disabled",
1148
+ "default": "false",
1149
+ "description": "Prevents adding and removing."
1150
+ }
1151
+ ],
1152
+ "events": [
1153
+ {
1154
+ "name": "odd-context-add",
1155
+ "type": {
1156
+ "text": "CustomEvent<ContextAddDetail>"
1157
+ },
1158
+ "description": "Request to add context; the item appears once the host adds its record."
1159
+ },
1160
+ {
1161
+ "name": "odd-context-remove",
1162
+ "type": {
1163
+ "text": "CustomEvent<{ readonly itemId: string; }>"
1164
+ },
1165
+ "description": "Request to remove a context item."
1166
+ }
1167
+ ],
1168
+ "slots": [],
1169
+ "cssParts": [
1170
+ {
1171
+ "name": "add",
1172
+ "description": "Add controls."
1173
+ },
1174
+ {
1175
+ "name": "base",
1176
+ "description": "The labelled group around the items and the add controls."
1177
+ },
1178
+ {
1179
+ "name": "item",
1180
+ "description": "One item."
1181
+ },
1182
+ {
1183
+ "name": "list",
1184
+ "description": "Context items."
1185
+ }
1186
+ ],
1187
+ "cssProperties": [],
1188
+ "cssStates": []
1189
+ }
1190
+ ],
1191
+ "exports": [
1192
+ {
1193
+ "kind": "js",
1194
+ "name": "OddkinContextPicker",
1195
+ "declaration": {
1196
+ "name": "OddkinContextPicker",
1197
+ "module": "dist/context-picker/context-picker.js"
1198
+ }
1199
+ }
1200
+ ]
1201
+ },
1202
+ {
1203
+ "kind": "javascript-module",
1204
+ "path": "dist/context-picker/index.js",
1205
+ "declarations": [],
1206
+ "exports": [
1207
+ {
1208
+ "kind": "js",
1209
+ "name": "OddkinContextPicker",
1210
+ "declaration": {
1211
+ "name": "OddkinContextPicker",
1212
+ "module": "dist/context-picker/context-picker.js"
1213
+ }
1214
+ }
1215
+ ]
1216
+ },
1217
+ {
1218
+ "kind": "javascript-module",
1219
+ "path": "dist/conversation/conversation.define.js",
1220
+ "declarations": [],
1221
+ "exports": [
1222
+ {
1223
+ "kind": "custom-element-definition",
1224
+ "name": "odd-conversation",
1225
+ "declaration": {
1226
+ "name": "OddkinConversation",
1227
+ "module": "dist/conversation/conversation.js"
1228
+ }
1229
+ }
1230
+ ]
1231
+ },
1232
+ {
1233
+ "kind": "javascript-module",
1234
+ "path": "dist/conversation/conversation.js",
1235
+ "declarations": [
1236
+ {
1237
+ "kind": "class",
1238
+ "name": "OddkinConversation",
1239
+ "description": "A conversation surface: messages as an ARIA feed, history loading, a follow-latest scrolling\npolicy that respects reading earlier content, a visible-anchor guarantee when history is\nprepended or content above changes size, an explicit \"Jump to latest\", the run status bar,\none announcer for the whole surface, and a slot for the composer. Reads state from one\nauthoritative source (`store` or `state`); keeps only presentation state.",
1240
+ "customElement": true,
1241
+ "tagName": "odd-conversation",
1242
+ "superclass": {
1243
+ "name": "OddkinElement",
1244
+ "package": "@oddkin/core"
1245
+ },
1246
+ "members": [
1247
+ {
1248
+ "kind": "field",
1249
+ "name": "store",
1250
+ "type": {
1251
+ "text": "ExternalSource<ConversationState> | undefined"
1252
+ },
1253
+ "default": "undefined",
1254
+ "description": "Authoritative state (a controller or an external store)."
1255
+ },
1256
+ {
1257
+ "kind": "field",
1258
+ "name": "state",
1259
+ "type": {
1260
+ "text": "ConversationState | undefined"
1261
+ },
1262
+ "default": "undefined",
1263
+ "description": "Controlled snapshot, used when no `store` is set."
1264
+ },
1265
+ {
1266
+ "kind": "field",
1267
+ "name": "label",
1268
+ "type": {
1269
+ "text": "string"
1270
+ },
1271
+ "default": "''",
1272
+ "description": "Accessible name of the feed.",
1273
+ "attribute": "label"
1274
+ },
1275
+ {
1276
+ "kind": "field",
1277
+ "name": "announce",
1278
+ "type": {
1279
+ "text": "\"none\" | \"important\" | \"all\""
1280
+ },
1281
+ "default": "'important'",
1282
+ "description": "How much the surface announces.",
1283
+ "attribute": "announce"
1284
+ },
1285
+ {
1286
+ "kind": "field",
1287
+ "name": "markdown",
1288
+ "type": {
1289
+ "text": "MarkdownOptions | undefined"
1290
+ },
1291
+ "default": "undefined",
1292
+ "description": "Markdown options for every message."
1293
+ },
1294
+ {
1295
+ "kind": "field",
1296
+ "name": "renderers",
1297
+ "type": {
1298
+ "text": "Readonly<Record<string, DataRenderer>> | undefined"
1299
+ },
1300
+ "default": "undefined",
1301
+ "description": "Validated renderers for `data` parts."
1302
+ },
1303
+ {
1304
+ "kind": "field",
1305
+ "name": "artifactRenderers",
1306
+ "type": {
1307
+ "text": "Readonly<Record<string, ArtifactRenderer>> | undefined"
1308
+ },
1309
+ "default": "undefined",
1310
+ "description": "Artifact renderers by kind."
1311
+ },
1312
+ {
1313
+ "kind": "field",
1314
+ "name": "renderTool",
1315
+ "type": {
1316
+ "text": "{ render: ToolOutputRenderer; } | undefined"
1317
+ },
1318
+ "default": "undefined",
1319
+ "description": "Renderer for tool results."
1320
+ },
1321
+ {
1322
+ "kind": "field",
1323
+ "name": "feedbackReasons",
1324
+ "type": {
1325
+ "text": "string[]"
1326
+ },
1327
+ "default": "[]",
1328
+ "description": "Reasons offered for negative feedback."
1329
+ },
1330
+ {
1331
+ "kind": "field",
1332
+ "name": "strings",
1333
+ "type": {
1334
+ "text": "Partial<{ label: string; empty: string; loadEarlier: string; loading: string; historyError: string; retry: string; jump: string; jumpNew: string; messageLabel: string; user: string; assistant: string; system: string; tool: string; } & AnnouncementStrings> | undefined"
1335
+ },
1336
+ "default": "undefined",
1337
+ "description": "Localized string overrides (including announcements)."
1338
+ },
1339
+ {
1340
+ "kind": "field",
1341
+ "name": "snapshot",
1342
+ "type": {
1343
+ "text": "ConversationState | undefined"
1344
+ },
1345
+ "readonly": true,
1346
+ "description": "The snapshot being rendered."
1347
+ },
1348
+ {
1349
+ "kind": "method",
1350
+ "name": "jumpToLatest",
1351
+ "description": "Resume following the latest content and move focus to the newest message."
1352
+ },
1353
+ {
1354
+ "kind": "method",
1355
+ "name": "getScrollPosition",
1356
+ "description": "The current reading position (to restore later, e.g. per conversation or branch)."
1357
+ },
1358
+ {
1359
+ "kind": "method",
1360
+ "name": "restoreScrollPosition",
1361
+ "description": "Restore a position from `getScrollPosition()`. Unknown messages fall back to the latest."
1362
+ }
1363
+ ],
1364
+ "attributes": [
1365
+ {
1366
+ "name": "label",
1367
+ "type": {
1368
+ "text": "string"
1369
+ },
1370
+ "fieldName": "label",
1371
+ "default": "''",
1372
+ "description": "Accessible name of the feed."
1373
+ },
1374
+ {
1375
+ "name": "announce",
1376
+ "type": {
1377
+ "text": "\"none\" | \"important\" | \"all\""
1378
+ },
1379
+ "fieldName": "announce",
1380
+ "default": "'important'",
1381
+ "description": "How much the surface announces."
1382
+ }
1383
+ ],
1384
+ "events": [
1385
+ {
1386
+ "name": "odd-history-request",
1387
+ "type": {
1388
+ "text": "CustomEvent<{ readonly conversationId: string; readonly beforeMessageId: string | undefined; }>"
1389
+ },
1390
+ "description": "Request to load earlier messages."
1391
+ }
1392
+ ],
1393
+ "slots": [
1394
+ {
1395
+ "name": "composer",
1396
+ "description": "The prompt input."
1397
+ },
1398
+ {
1399
+ "name": "empty",
1400
+ "description": "Content shown when there are no messages."
1401
+ },
1402
+ {
1403
+ "name": "status",
1404
+ "description": "Extra status content (usage, model) above the composer."
1405
+ }
1406
+ ],
1407
+ "cssParts": [
1408
+ {
1409
+ "name": "activity",
1410
+ "description": "The run status bar."
1411
+ },
1412
+ {
1413
+ "name": "base",
1414
+ "description": "The column of the scroll container, the run status, and the composer."
1415
+ },
1416
+ {
1417
+ "name": "feed",
1418
+ "description": "The feed of messages."
1419
+ },
1420
+ {
1421
+ "name": "jump",
1422
+ "description": "The \"Jump to latest\" button."
1423
+ },
1424
+ {
1425
+ "name": "scroller",
1426
+ "description": "The scroll container."
1427
+ }
1428
+ ],
1429
+ "cssProperties": [
1430
+ {
1431
+ "name": "--odd-conversation-max-width",
1432
+ "description": "Maximum line length of the feed."
1433
+ }
1434
+ ],
1435
+ "cssStates": []
1436
+ }
1437
+ ],
1438
+ "exports": [
1439
+ {
1440
+ "kind": "js",
1441
+ "name": "OddkinConversation",
1442
+ "declaration": {
1443
+ "name": "OddkinConversation",
1444
+ "module": "dist/conversation/conversation.js"
1445
+ }
1446
+ }
1447
+ ]
1448
+ },
1449
+ {
1450
+ "kind": "javascript-module",
1451
+ "path": "dist/conversation/index.js",
1452
+ "declarations": [],
1453
+ "exports": [
1454
+ {
1455
+ "kind": "js",
1456
+ "name": "OddkinConversation",
1457
+ "declaration": {
1458
+ "name": "OddkinConversation",
1459
+ "module": "dist/conversation/conversation.js"
1460
+ }
1461
+ }
1462
+ ]
1463
+ },
1464
+ {
1465
+ "kind": "javascript-module",
1466
+ "path": "dist/inline-assist/index.js",
1467
+ "declarations": [],
1468
+ "exports": [
1469
+ {
1470
+ "kind": "js",
1471
+ "name": "OddkinInlineAssist",
1472
+ "declaration": {
1473
+ "name": "OddkinInlineAssist",
1474
+ "module": "dist/inline-assist/inline-assist.js"
1475
+ }
1476
+ }
1477
+ ]
1478
+ },
1479
+ {
1480
+ "kind": "javascript-module",
1481
+ "path": "dist/inline-assist/inline-assist.define.js",
1482
+ "declarations": [],
1483
+ "exports": [
1484
+ {
1485
+ "kind": "custom-element-definition",
1486
+ "name": "odd-inline-assist",
1487
+ "declaration": {
1488
+ "name": "OddkinInlineAssist",
1489
+ "module": "dist/inline-assist/inline-assist.js"
1490
+ }
1491
+ }
1492
+ ]
1493
+ },
1494
+ {
1495
+ "kind": "javascript-module",
1496
+ "path": "dist/inline-assist/inline-assist.js",
1497
+ "declarations": [
1498
+ {
1499
+ "kind": "class",
1500
+ "name": "OddkinInlineAssist",
1501
+ "description": "Selection-based assistance: rewrite, explain, summarize, translate, and expand (or host\nactions). Requests carry the selection with its content revision, so results can be checked\nagainst the text they were made for. Rewrites become proposals for `odd-change-review`;\nexplanations and summaries show in the result area.",
1502
+ "customElement": true,
1503
+ "tagName": "odd-inline-assist",
1504
+ "superclass": {
1505
+ "name": "OddkinElement",
1506
+ "package": "@oddkin/core"
1507
+ },
1508
+ "members": [
1509
+ {
1510
+ "kind": "field",
1511
+ "name": "selection",
1512
+ "type": {
1513
+ "text": "TextSelection | undefined"
1514
+ },
1515
+ "default": "undefined",
1516
+ "description": "Captured selection with its content revision."
1517
+ },
1518
+ {
1519
+ "kind": "field",
1520
+ "name": "documentRevision",
1521
+ "type": {
1522
+ "text": "string"
1523
+ },
1524
+ "default": "''",
1525
+ "description": "Current content revision; a different selection revision is stale.",
1526
+ "attribute": "document-revision"
1527
+ },
1528
+ {
1529
+ "kind": "field",
1530
+ "name": "actions",
1531
+ "type": {
1532
+ "text": "AssistActionOption[]"
1533
+ },
1534
+ "default": "[]",
1535
+ "description": "Actions to offer; defaults to the five built-ins."
1536
+ },
1537
+ {
1538
+ "kind": "field",
1539
+ "name": "languages",
1540
+ "type": {
1541
+ "text": "AssistActionOption[]"
1542
+ },
1543
+ "default": "[]",
1544
+ "description": "Target languages for translate (`id` = BCP 47 tag)."
1545
+ },
1546
+ {
1547
+ "kind": "field",
1548
+ "name": "status",
1549
+ "type": {
1550
+ "text": "\"failed\" | \"complete\" | \"idle\" | \"pending\""
1551
+ },
1552
+ "default": "'idle'",
1553
+ "description": "Host-reported request state.",
1554
+ "attribute": "status",
1555
+ "reflects": true
1556
+ },
1557
+ {
1558
+ "kind": "field",
1559
+ "name": "pendingAction",
1560
+ "type": {
1561
+ "text": "string"
1562
+ },
1563
+ "default": "''",
1564
+ "description": "Action in progress.",
1565
+ "attribute": "pending-action"
1566
+ },
1567
+ {
1568
+ "kind": "field",
1569
+ "name": "result",
1570
+ "type": {
1571
+ "text": "string"
1572
+ },
1573
+ "default": "''",
1574
+ "description": "Explanation or summary text (Markdown)."
1575
+ },
1576
+ {
1577
+ "kind": "field",
1578
+ "name": "error",
1579
+ "type": {
1580
+ "text": "{ code: string; message: string; retryable?: boolean | undefined; } | undefined"
1581
+ },
1582
+ "default": "undefined",
1583
+ "description": "Shown when `status` is failed."
1584
+ },
1585
+ {
1586
+ "kind": "field",
1587
+ "name": "markdown",
1588
+ "type": {
1589
+ "text": "MarkdownOptions | undefined"
1590
+ },
1591
+ "default": "undefined",
1592
+ "description": "Options for rendering `result`."
1593
+ },
1594
+ {
1595
+ "kind": "field",
1596
+ "name": "strings",
1597
+ "type": {
1598
+ "text": "Partial<{ label: string; rewrite: string; explain: string; summarize: string; translate: string; expand: string; language: string; noSelection: string; stale: string; pending: string; failed: string; selected: string; }> | undefined"
1599
+ },
1600
+ "default": "undefined",
1601
+ "description": "Localized string overrides."
1602
+ }
1603
+ ],
1604
+ "attributes": [
1605
+ {
1606
+ "name": "document-revision",
1607
+ "type": {
1608
+ "text": "string"
1609
+ },
1610
+ "fieldName": "documentRevision",
1611
+ "default": "''",
1612
+ "description": "Current content revision; a different selection revision is stale."
1613
+ },
1614
+ {
1615
+ "name": "status",
1616
+ "type": {
1617
+ "text": "\"failed\" | \"complete\" | \"idle\" | \"pending\""
1618
+ },
1619
+ "fieldName": "status",
1620
+ "default": "'idle'",
1621
+ "description": "Host-reported request state."
1622
+ },
1623
+ {
1624
+ "name": "pending-action",
1625
+ "type": {
1626
+ "text": "string"
1627
+ },
1628
+ "fieldName": "pendingAction",
1629
+ "default": "''",
1630
+ "description": "Action in progress."
1631
+ }
1632
+ ],
1633
+ "events": [
1634
+ {
1635
+ "name": "odd-assist-request",
1636
+ "type": {
1637
+ "text": "CustomEvent<AssistRequestDetail>"
1638
+ },
1639
+ "description": "Request assistance for the captured selection."
1640
+ }
1641
+ ],
1642
+ "slots": [],
1643
+ "cssParts": [
1644
+ {
1645
+ "name": "base",
1646
+ "description": "The column of the toolbar, the status, and the result."
1647
+ },
1648
+ {
1649
+ "name": "result",
1650
+ "description": "Result text (Markdown, rendered inertly)."
1651
+ },
1652
+ {
1653
+ "name": "toolbar",
1654
+ "description": "The action toolbar."
1655
+ }
1656
+ ],
1657
+ "cssProperties": [],
1658
+ "cssStates": []
1659
+ }
1660
+ ],
1661
+ "exports": [
1662
+ {
1663
+ "kind": "js",
1664
+ "name": "OddkinInlineAssist",
1665
+ "declaration": {
1666
+ "name": "OddkinInlineAssist",
1667
+ "module": "dist/inline-assist/inline-assist.js"
1668
+ }
1669
+ }
1670
+ ]
1671
+ },
1672
+ {
1673
+ "kind": "javascript-module",
1674
+ "path": "dist/message-branch/index.js",
1675
+ "declarations": [],
1676
+ "exports": [
1677
+ {
1678
+ "kind": "js",
1679
+ "name": "OddkinMessageBranch",
1680
+ "declaration": {
1681
+ "name": "OddkinMessageBranch",
1682
+ "module": "dist/message-branch/message-branch.js"
1683
+ }
1684
+ }
1685
+ ]
1686
+ },
1687
+ {
1688
+ "kind": "javascript-module",
1689
+ "path": "dist/message-branch/message-branch.define.js",
1690
+ "declarations": [],
1691
+ "exports": [
1692
+ {
1693
+ "kind": "custom-element-definition",
1694
+ "name": "odd-message-branch",
1695
+ "declaration": {
1696
+ "name": "OddkinMessageBranch",
1697
+ "module": "dist/message-branch/message-branch.js"
1698
+ }
1699
+ }
1700
+ ]
1701
+ },
1702
+ {
1703
+ "kind": "javascript-module",
1704
+ "path": "dist/message-branch/message-branch.js",
1705
+ "declarations": [
1706
+ {
1707
+ "kind": "class",
1708
+ "name": "OddkinMessageBranch",
1709
+ "description": "Navigate between alternative versions of a message (regenerated answers, edited prompts).\nEvery version stays in history; switching only changes which branch is shown.",
1710
+ "customElement": true,
1711
+ "tagName": "odd-message-branch",
1712
+ "superclass": {
1713
+ "name": "OddkinElement",
1714
+ "package": "@oddkin/core"
1715
+ },
1716
+ "members": [
1717
+ {
1718
+ "kind": "field",
1719
+ "name": "messageId",
1720
+ "type": {
1721
+ "text": "string"
1722
+ },
1723
+ "default": "''",
1724
+ "description": "The message shown now.",
1725
+ "attribute": "message-id"
1726
+ },
1727
+ {
1728
+ "kind": "field",
1729
+ "name": "branch",
1730
+ "type": {
1731
+ "text": "BranchPosition | undefined"
1732
+ },
1733
+ "default": "undefined",
1734
+ "description": "Position among sibling versions."
1735
+ },
1736
+ {
1737
+ "kind": "field",
1738
+ "name": "capabilities",
1739
+ "type": {
1740
+ "text": "{ send?: { available: boolean; reason?: string | undefined; } | undefined; stop?: { available: boolean; reason?: string | undefined; } | undefined; disconnect?: { available: boolean; reason?: string | undefined; } | undefined; ... 12 more ...; feedback?: { ...; } | undefined; } | undefined"
1741
+ },
1742
+ "default": "undefined",
1743
+ "description": "`switchBranch` enables navigation."
1744
+ },
1745
+ {
1746
+ "kind": "field",
1747
+ "name": "strings",
1748
+ "type": {
1749
+ "text": "Partial<{ label: string; previous: string; next: string; position: string; }> | undefined"
1750
+ },
1751
+ "default": "undefined",
1752
+ "description": "Localized string overrides."
1753
+ }
1754
+ ],
1755
+ "attributes": [
1756
+ {
1757
+ "name": "message-id",
1758
+ "type": {
1759
+ "text": "string"
1760
+ },
1761
+ "fieldName": "messageId",
1762
+ "default": "''",
1763
+ "description": "The message shown now."
1764
+ }
1765
+ ],
1766
+ "events": [
1767
+ {
1768
+ "name": "odd-branch-switch",
1769
+ "type": {
1770
+ "text": "CustomEvent<{ readonly messageId: string; readonly targetMessageId: string; }>"
1771
+ },
1772
+ "description": "Request to show another branch."
1773
+ }
1774
+ ],
1775
+ "slots": [],
1776
+ "cssParts": [
1777
+ {
1778
+ "name": "base",
1779
+ "description": "The navigation group."
1780
+ }
1781
+ ],
1782
+ "cssProperties": [],
1783
+ "cssStates": []
1784
+ }
1785
+ ],
1786
+ "exports": [
1787
+ {
1788
+ "kind": "js",
1789
+ "name": "OddkinMessageBranch",
1790
+ "declaration": {
1791
+ "name": "OddkinMessageBranch",
1792
+ "module": "dist/message-branch/message-branch.js"
1793
+ }
1794
+ }
1795
+ ]
1796
+ },
1797
+ {
1798
+ "kind": "javascript-module",
1799
+ "path": "dist/message/index.js",
1800
+ "declarations": [],
1801
+ "exports": [
1802
+ {
1803
+ "kind": "js",
1804
+ "name": "OddkinMessage",
1805
+ "declaration": {
1806
+ "name": "OddkinMessage",
1807
+ "module": "dist/message/message.js"
1808
+ }
1809
+ }
1810
+ ]
1811
+ },
1812
+ {
1813
+ "kind": "javascript-module",
1814
+ "path": "dist/message/message.define.js",
1815
+ "declarations": [],
1816
+ "exports": [
1817
+ {
1818
+ "kind": "custom-element-definition",
1819
+ "name": "odd-message",
1820
+ "declaration": {
1821
+ "name": "OddkinMessage",
1822
+ "module": "dist/message/message.js"
1823
+ }
1824
+ }
1825
+ ]
1826
+ },
1827
+ {
1828
+ "kind": "javascript-module",
1829
+ "path": "dist/message/message.js",
1830
+ "declarations": [
1831
+ {
1832
+ "kind": "class",
1833
+ "name": "OddkinMessage",
1834
+ "description": "One message: its role, structured parts in order (text, reasoning, files, sources, tools,\napprovals, artifacts, data), and message actions (copy, regenerate, edit, versions,\nfeedback, provenance). Parts with unknown types or missing records render explicit fallbacks.",
1835
+ "customElement": true,
1836
+ "tagName": "odd-message",
1837
+ "superclass": {
1838
+ "name": "OddkinElement",
1839
+ "package": "@oddkin/core"
1840
+ },
1841
+ "members": [
1842
+ {
1843
+ "kind": "field",
1844
+ "name": "message",
1845
+ "type": {
1846
+ "text": "{ id: string; role: \"tool\" | \"user\" | \"assistant\" | \"system\"; parts: ({ type: \"approval\"; id: string; approvalId: string; } | { type: \"data\"; id: string; data: JsonValue; name: string; } | ... 6 more ... | { ...; })[]; attemptId?: string | undefined; provenance?: { ...; } | undefined; createdAt?: string | undefined;..."
1847
+ },
1848
+ "default": "undefined",
1849
+ "description": "The message record."
1850
+ },
1851
+ {
1852
+ "kind": "field",
1853
+ "name": "attempt",
1854
+ "type": {
1855
+ "text": "AttemptRecord | undefined"
1856
+ },
1857
+ "default": "undefined",
1858
+ "description": "The attempt that writes this (assistant) message."
1859
+ },
1860
+ {
1861
+ "kind": "field",
1862
+ "name": "tools",
1863
+ "type": {
1864
+ "text": "Readonly<Record<string, { toolCallId: string; status: \"input-streaming\" | \"input-available\" | \"awaiting-approval\" | \"executing\" | \"output-available\" | \"output-error\" | \"denied\" | \"cancelled\"; ... 9 more ...; output?: JsonValue | undefined; }>> | undefined"
1865
+ },
1866
+ "default": "undefined",
1867
+ "description": "Tool call records by id."
1868
+ },
1869
+ {
1870
+ "kind": "field",
1871
+ "name": "approvals",
1872
+ "type": {
1873
+ "text": "Readonly<Record<string, { approvalId: string; revision: number; title: string; status: \"requested\" | \"decision-pending\" | \"approved\" | \"rejected\" | \"expired\" | \"superseded\" | \"decision-failed\"; ... 9 more ...; error?: { ...; } | undefined; }>> | undefined"
1874
+ },
1875
+ "default": "undefined",
1876
+ "description": "Approval records by id."
1877
+ },
1878
+ {
1879
+ "kind": "field",
1880
+ "name": "artifacts",
1881
+ "type": {
1882
+ "text": "Readonly<Record<string, { title: string; kind: string; artifactId: string; currentRevisionId: string; revisions: { number: number; revisionId: string; content: string; summary?: string | undefined; createdAt?: string | undefined; }[]; language?: string | undefined; }>> | undefined"
1883
+ },
1884
+ "default": "undefined",
1885
+ "description": "Artifact records by id."
1886
+ },
1887
+ {
1888
+ "kind": "field",
1889
+ "name": "branch",
1890
+ "type": {
1891
+ "text": "BranchPosition | undefined"
1892
+ },
1893
+ "default": "undefined",
1894
+ "description": "Position among alternative versions."
1895
+ },
1896
+ {
1897
+ "kind": "field",
1898
+ "name": "feedback",
1899
+ "type": {
1900
+ "text": "{ status: \"failed\" | \"idle\" | \"pending\" | \"submitted\"; messageId: string; error?: { code: string; message: string; retryable?: boolean | undefined; } | undefined; rating?: \"positive\" | \"negative\" | undefined; reasons?: string[] | undefined; comment?: string | undefined; } | undefined"
1901
+ },
1902
+ "default": "undefined",
1903
+ "description": "Feedback record for this message."
1904
+ },
1905
+ {
1906
+ "kind": "field",
1907
+ "name": "capabilities",
1908
+ "type": {
1909
+ "text": "{ send?: { available: boolean; reason?: string | undefined; } | undefined; stop?: { available: boolean; reason?: string | undefined; } | undefined; disconnect?: { available: boolean; reason?: string | undefined; } | undefined; ... 12 more ...; feedback?: { ...; } | undefined; } | undefined"
1910
+ },
1911
+ "default": "undefined",
1912
+ "description": "Enables regenerate, edit, branches, feedback, approvals."
1913
+ },
1914
+ {
1915
+ "kind": "field",
1916
+ "name": "markdown",
1917
+ "type": {
1918
+ "text": "MarkdownOptions | undefined"
1919
+ },
1920
+ "default": "undefined",
1921
+ "description": "Markdown rendering options."
1922
+ },
1923
+ {
1924
+ "kind": "field",
1925
+ "name": "renderers",
1926
+ "type": {
1927
+ "text": "Readonly<Record<string, DataRenderer>> | undefined"
1928
+ },
1929
+ "default": "undefined",
1930
+ "description": "Validated renderers for `data` parts by name."
1931
+ },
1932
+ {
1933
+ "kind": "field",
1934
+ "name": "artifactRenderers",
1935
+ "type": {
1936
+ "text": "Readonly<Record<string, ArtifactRenderer>> | undefined"
1937
+ },
1938
+ "default": "undefined",
1939
+ "description": "Artifact renderers by kind."
1940
+ },
1941
+ {
1942
+ "kind": "field",
1943
+ "name": "renderTool",
1944
+ "type": {
1945
+ "text": "{ render: ToolOutputRenderer; } | undefined"
1946
+ },
1947
+ "default": "undefined",
1948
+ "description": "Renderer for tool results."
1949
+ },
1950
+ {
1951
+ "kind": "field",
1952
+ "name": "feedbackReasons",
1953
+ "type": {
1954
+ "text": "string[]"
1955
+ },
1956
+ "default": "[]",
1957
+ "description": "Reasons offered for negative feedback."
1958
+ },
1959
+ {
1960
+ "kind": "field",
1961
+ "name": "strings",
1962
+ "type": {
1963
+ "text": "Partial<{ user: string; assistant: string; system: string; tool: string; reasoning: string; copy: string; copied: string; copyFailed: string; regenerate: string; edit: string; save: string; cancel: string; ... 6 more ...; file: string; }> | undefined"
1964
+ },
1965
+ "default": "undefined",
1966
+ "description": "Localized string overrides."
1967
+ },
1968
+ {
1969
+ "kind": "field",
1970
+ "name": "text",
1971
+ "type": {
1972
+ "text": "string"
1973
+ },
1974
+ "readonly": true,
1975
+ "description": "Canonical text of the message (text parts joined), as copied."
1976
+ }
1977
+ ],
1978
+ "attributes": [],
1979
+ "events": [
1980
+ {
1981
+ "name": "odd-message-edit",
1982
+ "type": {
1983
+ "text": "CustomEvent<{ readonly messageId: string; readonly text: string; }>"
1984
+ },
1985
+ "description": "Request to edit a user message as a new branch."
1986
+ },
1987
+ {
1988
+ "name": "odd-message-regenerate",
1989
+ "type": {
1990
+ "text": "CustomEvent<{ readonly messageId: string; readonly attemptId: string; }>"
1991
+ },
1992
+ "description": "Request an alternative answer as a new branch."
1993
+ },
1994
+ {
1995
+ "name": "odd-announce",
1996
+ "type": {
1997
+ "text": "CustomEvent<AnnounceDetail>"
1998
+ },
1999
+ "description": "A status message for the nearest announcer, which cancels it so outer announcers stay silent."
2000
+ }
2001
+ ],
2002
+ "slots": [],
2003
+ "cssParts": [
2004
+ {
2005
+ "name": "content",
2006
+ "description": "The parts."
2007
+ },
2008
+ {
2009
+ "name": "footer",
2010
+ "description": "Actions, versions, and feedback."
2011
+ },
2012
+ {
2013
+ "name": "header",
2014
+ "description": "Role label and provenance."
2015
+ }
2016
+ ],
2017
+ "cssProperties": [],
2018
+ "cssStates": []
2019
+ }
2020
+ ],
2021
+ "exports": [
2022
+ {
2023
+ "kind": "js",
2024
+ "name": "OddkinMessage",
2025
+ "declaration": {
2026
+ "name": "OddkinMessage",
2027
+ "module": "dist/message/message.js"
2028
+ }
2029
+ }
2030
+ ]
2031
+ },
2032
+ {
2033
+ "kind": "javascript-module",
2034
+ "path": "dist/model-select/index.js",
2035
+ "declarations": [],
2036
+ "exports": [
2037
+ {
2038
+ "kind": "js",
2039
+ "name": "OddkinModelSelect",
2040
+ "declaration": {
2041
+ "name": "OddkinModelSelect",
2042
+ "module": "dist/model-select/model-select.js"
2043
+ }
2044
+ }
2045
+ ]
2046
+ },
2047
+ {
2048
+ "kind": "javascript-module",
2049
+ "path": "dist/model-select/model-select.define.js",
2050
+ "declarations": [],
2051
+ "exports": [
2052
+ {
2053
+ "kind": "custom-element-definition",
2054
+ "name": "odd-model-select",
2055
+ "declaration": {
2056
+ "name": "OddkinModelSelect",
2057
+ "module": "dist/model-select/model-select.js"
2058
+ }
2059
+ }
2060
+ ]
2061
+ },
2062
+ {
2063
+ "kind": "javascript-module",
2064
+ "path": "dist/model-select/model-select.js",
2065
+ "declarations": [
2066
+ {
2067
+ "kind": "class",
2068
+ "name": "OddkinModelSelect",
2069
+ "description": "Choose among application-provided models, with capabilities and availability. Built on a\nnative `<select>`; unavailable models are listed but disabled, with the host's reason.",
2070
+ "customElement": true,
2071
+ "tagName": "odd-model-select",
2072
+ "superclass": {
2073
+ "name": "OddkinElement",
2074
+ "package": "@oddkin/core"
2075
+ },
2076
+ "members": [
2077
+ {
2078
+ "kind": "field",
2079
+ "name": "models",
2080
+ "type": {
2081
+ "text": "{ label: string; id: string; available: boolean; description?: string | undefined; reason?: string | undefined; capabilities?: string[] | undefined; provider?: string | undefined; }[]"
2082
+ },
2083
+ "default": "[]",
2084
+ "description": "Models supplied by the application."
2085
+ },
2086
+ {
2087
+ "kind": "field",
2088
+ "name": "value",
2089
+ "type": {
2090
+ "text": "string"
2091
+ },
2092
+ "default": "''",
2093
+ "description": "Selected model id.",
2094
+ "attribute": "value",
2095
+ "reflects": true
2096
+ },
2097
+ {
2098
+ "kind": "field",
2099
+ "name": "label",
2100
+ "type": {
2101
+ "text": "string"
2102
+ },
2103
+ "default": "''",
2104
+ "description": "Visible label; defaults to the localized \"Model\".",
2105
+ "attribute": "label"
2106
+ },
2107
+ {
2108
+ "kind": "field",
2109
+ "name": "disabled",
2110
+ "type": {
2111
+ "text": "boolean"
2112
+ },
2113
+ "default": "false",
2114
+ "description": "Prevents changing the model.",
2115
+ "attribute": "disabled",
2116
+ "reflects": true
2117
+ },
2118
+ {
2119
+ "kind": "field",
2120
+ "name": "strings",
2121
+ "type": {
2122
+ "text": "Partial<{ label: string; unavailable: string; capabilities: string; none: string; }> | undefined"
2123
+ },
2124
+ "default": "undefined",
2125
+ "description": "Localized string overrides."
2126
+ },
2127
+ {
2128
+ "kind": "field",
2129
+ "name": "selected",
2130
+ "type": {
2131
+ "text": "{ label: string; id: string; available: boolean; description?: string | undefined; reason?: string | undefined; capabilities?: string[] | undefined; provider?: string | undefined; } | undefined"
2132
+ },
2133
+ "readonly": true,
2134
+ "description": "The selected model record, if listed."
2135
+ }
2136
+ ],
2137
+ "attributes": [
2138
+ {
2139
+ "name": "value",
2140
+ "type": {
2141
+ "text": "string"
2142
+ },
2143
+ "fieldName": "value",
2144
+ "default": "''",
2145
+ "description": "Selected model id."
2146
+ },
2147
+ {
2148
+ "name": "label",
2149
+ "type": {
2150
+ "text": "string"
2151
+ },
2152
+ "fieldName": "label",
2153
+ "default": "''",
2154
+ "description": "Visible label; defaults to the localized \"Model\"."
2155
+ },
2156
+ {
2157
+ "name": "disabled",
2158
+ "type": {
2159
+ "text": "boolean"
2160
+ },
2161
+ "fieldName": "disabled",
2162
+ "default": "false",
2163
+ "description": "Prevents changing the model."
2164
+ }
2165
+ ],
2166
+ "events": [
2167
+ {
2168
+ "name": "odd-model-change",
2169
+ "type": {
2170
+ "text": "CustomEvent<{ readonly modelId: string; readonly previousModelId: string; }>"
2171
+ },
2172
+ "description": "The user selected another model. Cancel to keep the previous one."
2173
+ }
2174
+ ],
2175
+ "slots": [],
2176
+ "cssParts": [
2177
+ {
2178
+ "name": "details",
2179
+ "description": "Description, capabilities, and availability of the selected model."
2180
+ },
2181
+ {
2182
+ "name": "label",
2183
+ "description": "The visible label of the select."
2184
+ },
2185
+ {
2186
+ "name": "select",
2187
+ "description": "The native select."
2188
+ }
2189
+ ],
2190
+ "cssProperties": [
2191
+ {
2192
+ "name": "--odd-field-background",
2193
+ "description": "Background colour of the select. Shared by every form control."
2194
+ },
2195
+ {
2196
+ "name": "--odd-field-border-color",
2197
+ "description": "Border colour of the select. Shared by every form control."
2198
+ },
2199
+ {
2200
+ "name": "--odd-field-height",
2201
+ "description": "Minimum height of the select (never below the target-size token). Shared by every form control."
2202
+ },
2203
+ {
2204
+ "name": "--odd-field-radius",
2205
+ "description": "Corner radius of the select. Shared by every form control."
2206
+ }
2207
+ ],
2208
+ "cssStates": []
2209
+ }
2210
+ ],
2211
+ "exports": [
2212
+ {
2213
+ "kind": "js",
2214
+ "name": "OddkinModelSelect",
2215
+ "declaration": {
2216
+ "name": "OddkinModelSelect",
2217
+ "module": "dist/model-select/model-select.js"
2218
+ }
2219
+ }
2220
+ ]
2221
+ },
2222
+ {
2223
+ "kind": "javascript-module",
2224
+ "path": "dist/prompt-input/index.js",
2225
+ "declarations": [],
2226
+ "exports": [
2227
+ {
2228
+ "kind": "js",
2229
+ "name": "OddkinPromptInput",
2230
+ "declaration": {
2231
+ "name": "OddkinPromptInput",
2232
+ "module": "dist/prompt-input/prompt-input.js"
2233
+ }
2234
+ }
2235
+ ]
2236
+ },
2237
+ {
2238
+ "kind": "javascript-module",
2239
+ "path": "dist/prompt-input/prompt-input.define.js",
2240
+ "declarations": [],
2241
+ "exports": [
2242
+ {
2243
+ "kind": "custom-element-definition",
2244
+ "name": "odd-prompt-input",
2245
+ "declaration": {
2246
+ "name": "OddkinPromptInput",
2247
+ "module": "dist/prompt-input/prompt-input.js"
2248
+ }
2249
+ }
2250
+ ]
2251
+ },
2252
+ {
2253
+ "kind": "javascript-module",
2254
+ "path": "dist/prompt-input/prompt-input.js",
2255
+ "declarations": [
2256
+ {
2257
+ "kind": "class",
2258
+ "name": "OddkinPromptInput",
2259
+ "description": "The prompt composer: an expanding text area with attachments (button, paste, and drop),\ntoolbar slots, send and stop, and a draft that survives failures. Submission is a cancelable\nrequest; the host acknowledges or fails it by id, and acknowledging an older submission never\nclears newer edits. IME composition never submits.",
2260
+ "customElement": true,
2261
+ "tagName": "odd-prompt-input",
2262
+ "superclass": {
2263
+ "name": "OddkinElement",
2264
+ "package": "@oddkin/core"
2265
+ },
2266
+ "members": [
2267
+ {
2268
+ "kind": "field",
2269
+ "name": "controller",
2270
+ "type": {
2271
+ "text": "ComposerController | undefined"
2272
+ },
2273
+ "default": "undefined",
2274
+ "description": "Host-owned composer controller; otherwise the element owns one."
2275
+ },
2276
+ {
2277
+ "kind": "field",
2278
+ "name": "label",
2279
+ "type": {
2280
+ "text": "string"
2281
+ },
2282
+ "default": "''",
2283
+ "description": "Accessible label; defaults to the localized \"Message\".",
2284
+ "attribute": "label"
2285
+ },
2286
+ {
2287
+ "kind": "field",
2288
+ "name": "placeholder",
2289
+ "type": {
2290
+ "text": "string"
2291
+ },
2292
+ "default": "''",
2293
+ "description": "Placeholder; never a substitute for the label.",
2294
+ "attribute": "placeholder"
2295
+ },
2296
+ {
2297
+ "kind": "field",
2298
+ "name": "disabled",
2299
+ "type": {
2300
+ "text": "boolean"
2301
+ },
2302
+ "default": "false",
2303
+ "description": "Prevents editing and sending.",
2304
+ "attribute": "disabled",
2305
+ "reflects": true
2306
+ },
2307
+ {
2308
+ "kind": "field",
2309
+ "name": "loading",
2310
+ "type": {
2311
+ "text": "boolean"
2312
+ },
2313
+ "default": "false",
2314
+ "description": "Work is running; shows Stop instead of Send when stopping is available.",
2315
+ "attribute": "loading",
2316
+ "reflects": true
2317
+ },
2318
+ {
2319
+ "kind": "field",
2320
+ "name": "attemptId",
2321
+ "type": {
2322
+ "text": "string"
2323
+ },
2324
+ "default": "''",
2325
+ "description": "Attempt targeted by Stop.",
2326
+ "attribute": "attempt-id"
2327
+ },
2328
+ {
2329
+ "kind": "field",
2330
+ "name": "capabilities",
2331
+ "type": {
2332
+ "text": "{ send?: { available: boolean; reason?: string | undefined; } | undefined; stop?: { available: boolean; reason?: string | undefined; } | undefined; disconnect?: { available: boolean; reason?: string | undefined; } | undefined; ... 12 more ...; feedback?: { ...; } | undefined; } | undefined"
2333
+ },
2334
+ "default": "undefined",
2335
+ "description": "`send`, `stop`, and `attachments` decide which controls are enabled."
2336
+ },
2337
+ {
2338
+ "kind": "field",
2339
+ "name": "accept",
2340
+ "type": {
2341
+ "text": "string"
2342
+ },
2343
+ "default": "''",
2344
+ "description": "Accepted attachment types (comma-separated, as `<input accept>`).",
2345
+ "attribute": "accept"
2346
+ },
2347
+ {
2348
+ "kind": "field",
2349
+ "name": "maxFileSize",
2350
+ "type": {
2351
+ "text": "number"
2352
+ },
2353
+ "default": "0",
2354
+ "description": "Maximum attachment size in bytes (0: no limit).",
2355
+ "attribute": "max-file-size"
2356
+ },
2357
+ {
2358
+ "kind": "field",
2359
+ "name": "maxFiles",
2360
+ "type": {
2361
+ "text": "number"
2362
+ },
2363
+ "default": "0",
2364
+ "description": "Maximum attachments (0: no limit).",
2365
+ "attribute": "max-files"
2366
+ },
2367
+ {
2368
+ "kind": "field",
2369
+ "name": "enterBehavior",
2370
+ "type": {
2371
+ "text": "\"send\" | \"newline\""
2372
+ },
2373
+ "default": "'send'",
2374
+ "description": "What Enter does.",
2375
+ "attribute": "enter-behavior"
2376
+ },
2377
+ {
2378
+ "kind": "field",
2379
+ "name": "strings",
2380
+ "type": {
2381
+ "text": "Partial<{ label: string; placeholder: string; send: string; stop: string; attach: string; remove: string; hintSend: string; hintNewline: string; sending: string; failed: string; busyAttachments: string; ... 13 more ...; removed: string; }> | undefined"
2382
+ },
2383
+ "default": "undefined",
2384
+ "description": "Localized string overrides."
2385
+ },
2386
+ {
2387
+ "kind": "field",
2388
+ "name": "activeController",
2389
+ "type": {
2390
+ "text": "ComposerController"
2391
+ },
2392
+ "readonly": true,
2393
+ "description": "The composer in use (host-supplied or owned)."
2394
+ },
2395
+ {
2396
+ "kind": "field",
2397
+ "name": "value",
2398
+ "type": {
2399
+ "text": "string"
2400
+ },
2401
+ "description": "The draft text. Setting it never dispatches events."
2402
+ },
2403
+ {
2404
+ "kind": "method",
2405
+ "name": "acknowledge",
2406
+ "description": "The host accepted a submission; clears the submitted draft unless it was edited since."
2407
+ },
2408
+ {
2409
+ "kind": "method",
2410
+ "name": "fail",
2411
+ "description": "The host rejected a submission; the draft is kept and the error shown."
2412
+ },
2413
+ {
2414
+ "kind": "method",
2415
+ "name": "submit",
2416
+ "description": "Request submission of the draft (same as pressing Send). Returns the submission id."
2417
+ }
2418
+ ],
2419
+ "attributes": [
2420
+ {
2421
+ "name": "label",
2422
+ "type": {
2423
+ "text": "string"
2424
+ },
2425
+ "fieldName": "label",
2426
+ "default": "''",
2427
+ "description": "Accessible label; defaults to the localized \"Message\"."
2428
+ },
2429
+ {
2430
+ "name": "placeholder",
2431
+ "type": {
2432
+ "text": "string"
2433
+ },
2434
+ "fieldName": "placeholder",
2435
+ "default": "''",
2436
+ "description": "Placeholder; never a substitute for the label."
2437
+ },
2438
+ {
2439
+ "name": "disabled",
2440
+ "type": {
2441
+ "text": "boolean"
2442
+ },
2443
+ "fieldName": "disabled",
2444
+ "default": "false",
2445
+ "description": "Prevents editing and sending."
2446
+ },
2447
+ {
2448
+ "name": "loading",
2449
+ "type": {
2450
+ "text": "boolean"
2451
+ },
2452
+ "fieldName": "loading",
2453
+ "default": "false",
2454
+ "description": "Work is running; shows Stop instead of Send when stopping is available."
2455
+ },
2456
+ {
2457
+ "name": "attempt-id",
2458
+ "type": {
2459
+ "text": "string"
2460
+ },
2461
+ "fieldName": "attemptId",
2462
+ "default": "''",
2463
+ "description": "Attempt targeted by Stop."
2464
+ },
2465
+ {
2466
+ "name": "accept",
2467
+ "type": {
2468
+ "text": "string"
2469
+ },
2470
+ "fieldName": "accept",
2471
+ "default": "''",
2472
+ "description": "Accepted attachment types (comma-separated, as `<input accept>`)."
2473
+ },
2474
+ {
2475
+ "name": "max-file-size",
2476
+ "type": {
2477
+ "text": "number"
2478
+ },
2479
+ "fieldName": "maxFileSize",
2480
+ "default": "0",
2481
+ "description": "Maximum attachment size in bytes (0: no limit)."
2482
+ },
2483
+ {
2484
+ "name": "max-files",
2485
+ "type": {
2486
+ "text": "number"
2487
+ },
2488
+ "fieldName": "maxFiles",
2489
+ "default": "0",
2490
+ "description": "Maximum attachments (0: no limit)."
2491
+ },
2492
+ {
2493
+ "name": "enter-behavior",
2494
+ "type": {
2495
+ "text": "\"send\" | \"newline\""
2496
+ },
2497
+ "fieldName": "enterBehavior",
2498
+ "default": "'send'",
2499
+ "description": "What Enter does."
2500
+ }
2501
+ ],
2502
+ "events": [
2503
+ {
2504
+ "name": "odd-prompt-submit",
2505
+ "type": {
2506
+ "text": "CustomEvent<PromptSubmitDetail>"
2507
+ },
2508
+ "description": "Request to send the draft. Acknowledge or fail it with the submission id."
2509
+ },
2510
+ {
2511
+ "name": "odd-prompt-stop",
2512
+ "type": {
2513
+ "text": "CustomEvent<{ readonly attemptId: string | undefined; }>"
2514
+ },
2515
+ "description": "Request to stop the underlying work of the identified attempt (not a disconnect)."
2516
+ },
2517
+ {
2518
+ "name": "odd-attachment-add",
2519
+ "type": {
2520
+ "text": "CustomEvent<{ readonly attachments: readonly AttachmentState[]; }>"
2521
+ },
2522
+ "description": "Attachments were validated and added to the draft (local; uploading is host-owned)."
2523
+ },
2524
+ {
2525
+ "name": "odd-attachment-remove",
2526
+ "type": {
2527
+ "text": "CustomEvent<{ readonly attachmentId: string; }>"
2528
+ },
2529
+ "description": "An attachment was removed from the draft (local)."
2530
+ },
2531
+ {
2532
+ "name": "odd-announce",
2533
+ "type": {
2534
+ "text": "CustomEvent<AnnounceDetail>"
2535
+ },
2536
+ "description": "A status message for the nearest announcer, which cancels it so outer announcers stay silent."
2537
+ }
2538
+ ],
2539
+ "slots": [
2540
+ {
2541
+ "name": "header",
2542
+ "description": "Content above the input (suggestions, context)."
2543
+ },
2544
+ {
2545
+ "name": "toolbar-end",
2546
+ "description": "Controls before the send button (voice input)."
2547
+ },
2548
+ {
2549
+ "name": "toolbar-start",
2550
+ "description": "Controls before the attach button (model picker, commands)."
2551
+ }
2552
+ ],
2553
+ "cssParts": [
2554
+ {
2555
+ "name": "attachments",
2556
+ "description": "Attachment list."
2557
+ },
2558
+ {
2559
+ "name": "form",
2560
+ "description": "The native form."
2561
+ },
2562
+ {
2563
+ "name": "input",
2564
+ "description": "The native text area."
2565
+ },
2566
+ {
2567
+ "name": "status",
2568
+ "description": "Submission status and errors."
2569
+ },
2570
+ {
2571
+ "name": "toolbar",
2572
+ "description": "Toolbar row."
2573
+ }
2574
+ ],
2575
+ "cssProperties": [
2576
+ {
2577
+ "name": "--odd-prompt-input-max-height",
2578
+ "description": "Maximum height before the text area scrolls."
2579
+ }
2580
+ ],
2581
+ "cssStates": []
2582
+ }
2583
+ ],
2584
+ "exports": [
2585
+ {
2586
+ "kind": "js",
2587
+ "name": "OddkinPromptInput",
2588
+ "declaration": {
2589
+ "name": "OddkinPromptInput",
2590
+ "module": "dist/prompt-input/prompt-input.js"
2591
+ }
2592
+ }
2593
+ ]
2594
+ },
2595
+ {
2596
+ "kind": "javascript-module",
2597
+ "path": "dist/question/index.js",
2598
+ "declarations": [],
2599
+ "exports": [
2600
+ {
2601
+ "kind": "js",
2602
+ "name": "OddkinQuestion",
2603
+ "declaration": {
2604
+ "name": "OddkinQuestion",
2605
+ "module": "dist/question/question.js"
2606
+ }
2607
+ }
2608
+ ]
2609
+ },
2610
+ {
2611
+ "kind": "javascript-module",
2612
+ "path": "dist/question/question.define.js",
2613
+ "declarations": [],
2614
+ "exports": [
2615
+ {
2616
+ "kind": "custom-element-definition",
2617
+ "name": "odd-question",
2618
+ "declaration": {
2619
+ "name": "OddkinQuestion",
2620
+ "module": "dist/question/question.js"
2621
+ }
2622
+ }
2623
+ ]
2624
+ },
2625
+ {
2626
+ "kind": "javascript-module",
2627
+ "path": "dist/question/question.js",
2628
+ "declarations": [
2629
+ {
2630
+ "kind": "class",
2631
+ "name": "OddkinQuestion",
2632
+ "description": "A clarifying question from an assistant or agent: choices, a structured form, or free text,\nwith an optional custom answer. Submitted, skipped, expired, and failed states come from the\nrecord; answers are bound to the question revision.",
2633
+ "customElement": true,
2634
+ "tagName": "odd-question",
2635
+ "superclass": {
2636
+ "name": "OddkinElement",
2637
+ "package": "@oddkin/core"
2638
+ },
2639
+ "members": [
2640
+ {
2641
+ "kind": "field",
2642
+ "name": "question",
2643
+ "type": {
2644
+ "text": "{ revision: number; status: \"requested\" | \"expired\" | \"failed\" | \"submitted\" | \"submitting\" | \"skipped\"; kind: \"form\" | \"text\" | \"choice\" | \"multi-choice\"; questionId: string; prompt: string; ... 5 more ...; answer?: JsonValue | undefined; } | undefined"
2645
+ },
2646
+ "default": "undefined",
2647
+ "description": "The question record."
2648
+ },
2649
+ {
2650
+ "kind": "field",
2651
+ "name": "announce",
2652
+ "type": {
2653
+ "text": "\"none\" | \"important\""
2654
+ },
2655
+ "default": "'none'",
2656
+ "description": "Announce new questions (when no surrounding surface does).",
2657
+ "attribute": "announce"
2658
+ },
2659
+ {
2660
+ "kind": "field",
2661
+ "name": "strings",
2662
+ "type": {
2663
+ "text": "Partial<{ other: string; otherLabel: string; submit: string; skip: string; submitting: string; submitted: string; skipped: string; expired: string; failed: string; required: string; expires: string; yes: string; announceAsked: string; }> | undefined"
2664
+ },
2665
+ "default": "undefined",
2666
+ "description": "Localized string overrides."
2667
+ }
2668
+ ],
2669
+ "attributes": [
2670
+ {
2671
+ "name": "announce",
2672
+ "type": {
2673
+ "text": "\"none\" | \"important\""
2674
+ },
2675
+ "fieldName": "announce",
2676
+ "default": "'none'",
2677
+ "description": "Announce new questions (when no surrounding surface does)."
2678
+ }
2679
+ ],
2680
+ "events": [
2681
+ {
2682
+ "name": "odd-question-answer",
2683
+ "type": {
2684
+ "text": "CustomEvent<{ readonly questionId: string; readonly revision: number; readonly answer: JsonValue; }>"
2685
+ },
2686
+ "description": "Request to submit an answer for one question revision."
2687
+ },
2688
+ {
2689
+ "name": "odd-question-skip",
2690
+ "type": {
2691
+ "text": "CustomEvent<{ readonly questionId: string; readonly revision: number; }>"
2692
+ },
2693
+ "description": "Request to skip a question."
2694
+ },
2695
+ {
2696
+ "name": "odd-announce",
2697
+ "type": {
2698
+ "text": "CustomEvent<AnnounceDetail>"
2699
+ },
2700
+ "description": "A status message for the nearest announcer, which cancels it so outer announcers stay silent."
2701
+ }
2702
+ ],
2703
+ "slots": [],
2704
+ "cssParts": [
2705
+ {
2706
+ "name": "actions",
2707
+ "description": "Answer and skip."
2708
+ },
2709
+ {
2710
+ "name": "form",
2711
+ "description": "The native form."
2712
+ }
2713
+ ],
2714
+ "cssProperties": [],
2715
+ "cssStates": []
2716
+ }
2717
+ ],
2718
+ "exports": [
2719
+ {
2720
+ "kind": "js",
2721
+ "name": "OddkinQuestion",
2722
+ "declaration": {
2723
+ "name": "OddkinQuestion",
2724
+ "module": "dist/question/question.js"
2725
+ }
2726
+ }
2727
+ ]
2728
+ },
2729
+ {
2730
+ "kind": "javascript-module",
2731
+ "path": "dist/response-feedback/index.js",
2732
+ "declarations": [],
2733
+ "exports": [
2734
+ {
2735
+ "kind": "js",
2736
+ "name": "OddkinResponseFeedback",
2737
+ "declaration": {
2738
+ "name": "OddkinResponseFeedback",
2739
+ "module": "dist/response-feedback/response-feedback.js"
2740
+ }
2741
+ }
2742
+ ]
2743
+ },
2744
+ {
2745
+ "kind": "javascript-module",
2746
+ "path": "dist/response-feedback/response-feedback.define.js",
2747
+ "declarations": [],
2748
+ "exports": [
2749
+ {
2750
+ "kind": "custom-element-definition",
2751
+ "name": "odd-response-feedback",
2752
+ "declaration": {
2753
+ "name": "OddkinResponseFeedback",
2754
+ "module": "dist/response-feedback/response-feedback.js"
2755
+ }
2756
+ }
2757
+ ]
2758
+ },
2759
+ {
2760
+ "kind": "javascript-module",
2761
+ "path": "dist/response-feedback/response-feedback.js",
2762
+ "declarations": [
2763
+ {
2764
+ "kind": "class",
2765
+ "name": "OddkinResponseFeedback",
2766
+ "description": "Feedback on one response: a rating, optional reasons and comment, a pending state, and the\nconfirmed outcome from the feedback record.",
2767
+ "customElement": true,
2768
+ "tagName": "odd-response-feedback",
2769
+ "superclass": {
2770
+ "name": "OddkinElement",
2771
+ "package": "@oddkin/core"
2772
+ },
2773
+ "members": [
2774
+ {
2775
+ "kind": "field",
2776
+ "name": "messageId",
2777
+ "type": {
2778
+ "text": "string"
2779
+ },
2780
+ "default": "''",
2781
+ "description": "Message the feedback is about.",
2782
+ "attribute": "message-id"
2783
+ },
2784
+ {
2785
+ "kind": "field",
2786
+ "name": "feedback",
2787
+ "type": {
2788
+ "text": "{ status: \"failed\" | \"idle\" | \"pending\" | \"submitted\"; messageId: string; error?: { code: string; message: string; retryable?: boolean | undefined; } | undefined; rating?: \"positive\" | \"negative\" | undefined; reasons?: string[] | undefined; comment?: string | undefined; } | undefined"
2789
+ },
2790
+ "default": "undefined",
2791
+ "description": "The authoritative feedback record (status and outcome)."
2792
+ },
2793
+ {
2794
+ "kind": "field",
2795
+ "name": "reasons",
2796
+ "type": {
2797
+ "text": "string[]"
2798
+ },
2799
+ "default": "[]",
2800
+ "description": "Reasons offered for negative feedback."
2801
+ },
2802
+ {
2803
+ "kind": "field",
2804
+ "name": "disabled",
2805
+ "type": {
2806
+ "text": "boolean"
2807
+ },
2808
+ "default": "false",
2809
+ "description": "Feedback is unavailable.",
2810
+ "attribute": "disabled",
2811
+ "reflects": true
2812
+ },
2813
+ {
2814
+ "kind": "field",
2815
+ "name": "announce",
2816
+ "type": {
2817
+ "text": "\"none\" | \"important\""
2818
+ },
2819
+ "default": "'none'",
2820
+ "description": "Announce outcomes (when no surrounding surface does).",
2821
+ "attribute": "announce"
2822
+ },
2823
+ {
2824
+ "kind": "field",
2825
+ "name": "strings",
2826
+ "type": {
2827
+ "text": "Partial<{ label: string; positive: string; negative: string; reasons: string; comment: string; submit: string; cancel: string; pending: string; submitted: string; failed: string; retry: string; }> | undefined"
2828
+ },
2829
+ "default": "undefined",
2830
+ "description": "Localized string overrides."
2831
+ }
2832
+ ],
2833
+ "attributes": [
2834
+ {
2835
+ "name": "message-id",
2836
+ "type": {
2837
+ "text": "string"
2838
+ },
2839
+ "fieldName": "messageId",
2840
+ "default": "''",
2841
+ "description": "Message the feedback is about."
2842
+ },
2843
+ {
2844
+ "name": "disabled",
2845
+ "type": {
2846
+ "text": "boolean"
2847
+ },
2848
+ "fieldName": "disabled",
2849
+ "default": "false",
2850
+ "description": "Feedback is unavailable."
2851
+ },
2852
+ {
2853
+ "name": "announce",
2854
+ "type": {
2855
+ "text": "\"none\" | \"important\""
2856
+ },
2857
+ "fieldName": "announce",
2858
+ "default": "'none'",
2859
+ "description": "Announce outcomes (when no surrounding surface does)."
2860
+ }
2861
+ ],
2862
+ "events": [
2863
+ {
2864
+ "name": "odd-feedback-submit",
2865
+ "type": {
2866
+ "text": "CustomEvent<FeedbackSubmitDetail>"
2867
+ },
2868
+ "description": "Request to submit feedback; confirmed through the feedback record."
2869
+ },
2870
+ {
2871
+ "name": "odd-announce",
2872
+ "type": {
2873
+ "text": "CustomEvent<AnnounceDetail>"
2874
+ },
2875
+ "description": "A status message for the nearest announcer, which cancels it so outer announcers stay silent."
2876
+ }
2877
+ ],
2878
+ "slots": [],
2879
+ "cssParts": [
2880
+ {
2881
+ "name": "base",
2882
+ "description": "The feedback surface."
2883
+ },
2884
+ {
2885
+ "name": "form",
2886
+ "description": "Reasons and comment."
2887
+ }
2888
+ ],
2889
+ "cssProperties": [],
2890
+ "cssStates": []
2891
+ }
2892
+ ],
2893
+ "exports": [
2894
+ {
2895
+ "kind": "js",
2896
+ "name": "OddkinResponseFeedback",
2897
+ "declaration": {
2898
+ "name": "OddkinResponseFeedback",
2899
+ "module": "dist/response-feedback/response-feedback.js"
2900
+ }
2901
+ }
2902
+ ]
2903
+ },
2904
+ {
2905
+ "kind": "javascript-module",
2906
+ "path": "dist/response/index.js",
2907
+ "declarations": [],
2908
+ "exports": [
2909
+ {
2910
+ "kind": "js",
2911
+ "name": "OddkinResponse",
2912
+ "declaration": {
2913
+ "name": "OddkinResponse",
2914
+ "module": "dist/response/response.js"
2915
+ }
2916
+ }
2917
+ ]
2918
+ },
2919
+ {
2920
+ "kind": "javascript-module",
2921
+ "path": "dist/response/response.define.js",
2922
+ "declarations": [],
2923
+ "exports": [
2924
+ {
2925
+ "kind": "custom-element-definition",
2926
+ "name": "odd-response",
2927
+ "declaration": {
2928
+ "name": "OddkinResponse",
2929
+ "module": "dist/response/response.js"
2930
+ }
2931
+ }
2932
+ ]
2933
+ },
2934
+ {
2935
+ "kind": "javascript-module",
2936
+ "path": "dist/response/response.js",
2937
+ "declarations": [
2938
+ {
2939
+ "kind": "class",
2940
+ "name": "OddkinResponse",
2941
+ "description": "Streamed rich text (Oddkin Markdown) with partial-output, completion, interruption, and error\nstates. The canonical source is `text`; rendering repairs incomplete syntax for display only,\nand copy always uses `text`. Untrusted content stays inert: no HTML parsing, URL allow-list,\ncode rendered as text.",
2942
+ "customElement": true,
2943
+ "tagName": "odd-response",
2944
+ "superclass": {
2945
+ "name": "OddkinElement",
2946
+ "package": "@oddkin/core"
2947
+ },
2948
+ "members": [
2949
+ {
2950
+ "kind": "field",
2951
+ "name": "text",
2952
+ "type": {
2953
+ "text": "string"
2954
+ },
2955
+ "default": "''",
2956
+ "description": "Canonical Markdown source (property only)."
2957
+ },
2958
+ {
2959
+ "kind": "field",
2960
+ "name": "status",
2961
+ "type": {
2962
+ "text": "\"cancelled\" | \"failed\" | \"streaming\" | \"complete\" | \"interrupted\""
2963
+ },
2964
+ "default": "'complete'",
2965
+ "description": "Lifecycle of the text.",
2966
+ "attribute": "status",
2967
+ "reflects": true
2968
+ },
2969
+ {
2970
+ "kind": "field",
2971
+ "name": "error",
2972
+ "type": {
2973
+ "text": "{ code: string; message: string; retryable?: boolean | undefined; } | undefined"
2974
+ },
2975
+ "default": "undefined",
2976
+ "description": "Error shown when `status` is failed."
2977
+ },
2978
+ {
2979
+ "kind": "field",
2980
+ "name": "sources",
2981
+ "type": {
2982
+ "text": "{ type: \"source\"; id: string; sourceId: string; url?: string | undefined; title?: string | undefined; kind?: \"file\" | \"web\" | \"document\" | \"other\" | undefined; excerpt?: string | undefined; publisher?: string | undefined; }[]"
2983
+ },
2984
+ "default": "[]",
2985
+ "description": "Sources that `[^id]` citations resolve against."
2986
+ },
2987
+ {
2988
+ "kind": "field",
2989
+ "name": "markdown",
2990
+ "type": {
2991
+ "text": "MarkdownOptions | undefined"
2992
+ },
2993
+ "default": "undefined",
2994
+ "description": "Renderer options: URL policy, sanitizer, highlighter, images."
2995
+ },
2996
+ {
2997
+ "kind": "field",
2998
+ "name": "copyable",
2999
+ "type": {
3000
+ "text": "boolean"
3001
+ },
3002
+ "default": "false",
3003
+ "description": "Show a copy action for the whole response.",
3004
+ "attribute": "copyable"
3005
+ },
3006
+ {
3007
+ "kind": "field",
3008
+ "name": "strings",
3009
+ "type": {
3010
+ "text": "Partial<{ streaming: string; interrupted: string; cancelled: string; failed: string; copy: string; copyCode: string; copied: string; copyFailed: string; image: string; }> | undefined"
3011
+ },
3012
+ "default": "undefined",
3013
+ "description": "Localized string overrides."
3014
+ },
3015
+ {
3016
+ "kind": "field",
3017
+ "name": "renderedSource",
3018
+ "type": {
3019
+ "text": "string"
3020
+ },
3021
+ "readonly": true,
3022
+ "description": "The canonical source currently rendered."
3023
+ },
3024
+ {
3025
+ "kind": "method",
3026
+ "name": "copy",
3027
+ "description": "Copy the canonical source (never the rendered DOM text)."
3028
+ }
3029
+ ],
3030
+ "attributes": [
3031
+ {
3032
+ "name": "status",
3033
+ "type": {
3034
+ "text": "\"cancelled\" | \"failed\" | \"streaming\" | \"complete\" | \"interrupted\""
3035
+ },
3036
+ "fieldName": "status",
3037
+ "default": "'complete'",
3038
+ "description": "Lifecycle of the text."
3039
+ },
3040
+ {
3041
+ "name": "copyable",
3042
+ "type": {
3043
+ "text": "boolean"
3044
+ },
3045
+ "fieldName": "copyable",
3046
+ "default": "false",
3047
+ "description": "Show a copy action for the whole response."
3048
+ }
3049
+ ],
3050
+ "events": [
3051
+ {
3052
+ "name": "odd-announce",
3053
+ "type": {
3054
+ "text": "CustomEvent<AnnounceDetail>"
3055
+ },
3056
+ "description": "A status message for the nearest announcer, which cancels it so outer announcers stay silent."
3057
+ }
3058
+ ],
3059
+ "slots": [],
3060
+ "cssParts": [
3061
+ {
3062
+ "name": "actions",
3063
+ "description": "Copy action."
3064
+ },
3065
+ {
3066
+ "name": "content",
3067
+ "description": "The rendered Markdown."
3068
+ },
3069
+ {
3070
+ "name": "status",
3071
+ "description": "Status line (generating, interrupted, stopped, failed)."
3072
+ }
3073
+ ],
3074
+ "cssProperties": [
3075
+ {
3076
+ "name": "--odd-response-code-background",
3077
+ "description": "Code block background."
3078
+ }
3079
+ ],
3080
+ "cssStates": []
3081
+ }
3082
+ ],
3083
+ "exports": [
3084
+ {
3085
+ "kind": "js",
3086
+ "name": "OddkinResponse",
3087
+ "declaration": {
3088
+ "name": "OddkinResponse",
3089
+ "module": "dist/response/response.js"
3090
+ }
3091
+ }
3092
+ ]
3093
+ },
3094
+ {
3095
+ "kind": "javascript-module",
3096
+ "path": "dist/sources/index.js",
3097
+ "declarations": [],
3098
+ "exports": [
3099
+ {
3100
+ "kind": "js",
3101
+ "name": "OddkinSources",
3102
+ "declaration": {
3103
+ "name": "OddkinSources",
3104
+ "module": "dist/sources/sources.js"
3105
+ }
3106
+ }
3107
+ ]
3108
+ },
3109
+ {
3110
+ "kind": "javascript-module",
3111
+ "path": "dist/sources/sources.define.js",
3112
+ "declarations": [],
3113
+ "exports": [
3114
+ {
3115
+ "kind": "custom-element-definition",
3116
+ "name": "odd-sources",
3117
+ "declaration": {
3118
+ "name": "OddkinSources",
3119
+ "module": "dist/sources/sources.js"
3120
+ }
3121
+ }
3122
+ ]
3123
+ },
3124
+ {
3125
+ "kind": "javascript-module",
3126
+ "path": "dist/sources/sources.js",
3127
+ "declarations": [
3128
+ {
3129
+ "kind": "class",
3130
+ "name": "OddkinSources",
3131
+ "description": "The list of sources behind a response. Each entry is a navigation target for citations.",
3132
+ "customElement": true,
3133
+ "tagName": "odd-sources",
3134
+ "superclass": {
3135
+ "name": "OddkinElement",
3136
+ "package": "@oddkin/core"
3137
+ },
3138
+ "members": [
3139
+ {
3140
+ "kind": "field",
3141
+ "name": "sources",
3142
+ "type": {
3143
+ "text": "{ type: \"source\"; id: string; sourceId: string; url?: string | undefined; title?: string | undefined; kind?: \"file\" | \"web\" | \"document\" | \"other\" | undefined; excerpt?: string | undefined; publisher?: string | undefined; }[]"
3144
+ },
3145
+ "default": "[]",
3146
+ "description": "Source records in citation order (replaced, never mutated)."
3147
+ },
3148
+ {
3149
+ "kind": "field",
3150
+ "name": "label",
3151
+ "type": {
3152
+ "text": "string"
3153
+ },
3154
+ "default": "''",
3155
+ "description": "Visible heading and accessible name of the list; defaults to the localized \"Sources\".",
3156
+ "attribute": "label"
3157
+ },
3158
+ {
3159
+ "kind": "field",
3160
+ "name": "strings",
3161
+ "type": {
3162
+ "text": "Partial<{ heading: string; count: string; open: string; untitled: string; }> | undefined"
3163
+ },
3164
+ "default": "undefined",
3165
+ "description": "Localized string overrides."
3166
+ },
3167
+ {
3168
+ "kind": "method",
3169
+ "name": "reveal",
3170
+ "description": "Scroll to and focus the entry for `sourceId`. Returns false when it is not listed."
3171
+ }
3172
+ ],
3173
+ "attributes": [
3174
+ {
3175
+ "name": "label",
3176
+ "type": {
3177
+ "text": "string"
3178
+ },
3179
+ "fieldName": "label",
3180
+ "default": "''",
3181
+ "description": "Visible heading and accessible name of the list; defaults to the localized \"Sources\"."
3182
+ }
3183
+ ],
3184
+ "events": [],
3185
+ "slots": [],
3186
+ "cssParts": [
3187
+ {
3188
+ "name": "base",
3189
+ "description": "The region labelled by the heading, around the list."
3190
+ },
3191
+ {
3192
+ "name": "item",
3193
+ "description": "One source."
3194
+ },
3195
+ {
3196
+ "name": "list",
3197
+ "description": "The ordered list of sources."
3198
+ }
3199
+ ],
3200
+ "cssProperties": [],
3201
+ "cssStates": []
3202
+ }
3203
+ ],
3204
+ "exports": [
3205
+ {
3206
+ "kind": "js",
3207
+ "name": "OddkinSources",
3208
+ "declaration": {
3209
+ "name": "OddkinSources",
3210
+ "module": "dist/sources/sources.js"
3211
+ }
3212
+ }
3213
+ ]
3214
+ },
3215
+ {
3216
+ "kind": "javascript-module",
3217
+ "path": "dist/suggestions/index.js",
3218
+ "declarations": [],
3219
+ "exports": [
3220
+ {
3221
+ "kind": "js",
3222
+ "name": "OddkinSuggestions",
3223
+ "declaration": {
3224
+ "name": "OddkinSuggestions",
3225
+ "module": "dist/suggestions/suggestions.js"
3226
+ }
3227
+ }
3228
+ ]
3229
+ },
3230
+ {
3231
+ "kind": "javascript-module",
3232
+ "path": "dist/suggestions/suggestions.define.js",
3233
+ "declarations": [],
3234
+ "exports": [
3235
+ {
3236
+ "kind": "custom-element-definition",
3237
+ "name": "odd-suggestions",
3238
+ "declaration": {
3239
+ "name": "OddkinSuggestions",
3240
+ "module": "dist/suggestions/suggestions.js"
3241
+ }
3242
+ }
3243
+ ]
3244
+ },
3245
+ {
3246
+ "kind": "javascript-module",
3247
+ "path": "dist/suggestions/suggestions.js",
3248
+ "declarations": [
3249
+ {
3250
+ "kind": "class",
3251
+ "name": "OddkinSuggestions",
3252
+ "description": "Suggested prompts. Activating a suggestion inserts it for editing; the separate send button\nsubmits it directly. The two intents are distinct events.",
3253
+ "customElement": true,
3254
+ "tagName": "odd-suggestions",
3255
+ "superclass": {
3256
+ "name": "OddkinElement",
3257
+ "package": "@oddkin/core"
3258
+ },
3259
+ "members": [
3260
+ {
3261
+ "kind": "field",
3262
+ "name": "suggestions",
3263
+ "type": {
3264
+ "text": "{ label: string; id: string; prompt: string; }[]"
3265
+ },
3266
+ "default": "[]",
3267
+ "description": "Suggestions (replace to update)."
3268
+ },
3269
+ {
3270
+ "kind": "field",
3271
+ "name": "disabled",
3272
+ "type": {
3273
+ "text": "boolean"
3274
+ },
3275
+ "default": "false",
3276
+ "description": "Disable both actions (e.g. while sending is unavailable).",
3277
+ "attribute": "disabled",
3278
+ "reflects": true
3279
+ },
3280
+ {
3281
+ "kind": "field",
3282
+ "name": "insertOnly",
3283
+ "type": {
3284
+ "text": "boolean"
3285
+ },
3286
+ "default": "false",
3287
+ "description": "Hide the direct send action.",
3288
+ "attribute": "insert-only"
3289
+ },
3290
+ {
3291
+ "kind": "field",
3292
+ "name": "strings",
3293
+ "type": {
3294
+ "text": "Partial<{ label: string; send: string; }> | undefined"
3295
+ },
3296
+ "default": "undefined",
3297
+ "description": "Localized string overrides."
3298
+ }
3299
+ ],
3300
+ "attributes": [
3301
+ {
3302
+ "name": "disabled",
3303
+ "type": {
3304
+ "text": "boolean"
3305
+ },
3306
+ "fieldName": "disabled",
3307
+ "default": "false",
3308
+ "description": "Disable both actions (e.g. while sending is unavailable)."
3309
+ },
3310
+ {
3311
+ "name": "insert-only",
3312
+ "type": {
3313
+ "text": "boolean"
3314
+ },
3315
+ "fieldName": "insertOnly",
3316
+ "default": "false",
3317
+ "description": "Hide the direct send action."
3318
+ }
3319
+ ],
3320
+ "events": [
3321
+ {
3322
+ "name": "odd-suggestion-select",
3323
+ "type": {
3324
+ "text": "CustomEvent<{ readonly suggestionId: string; readonly prompt: string; }>"
3325
+ },
3326
+ "description": "Insert the suggestion into the composer without sending."
3327
+ },
3328
+ {
3329
+ "name": "odd-suggestion-submit",
3330
+ "type": {
3331
+ "text": "CustomEvent<{ readonly suggestionId: string; readonly prompt: string; }>"
3332
+ },
3333
+ "description": "Send the suggestion as a prompt."
3334
+ }
3335
+ ],
3336
+ "slots": [],
3337
+ "cssParts": [
3338
+ {
3339
+ "name": "list",
3340
+ "description": "The suggestions."
3341
+ },
3342
+ {
3343
+ "name": "send",
3344
+ "description": "Send button."
3345
+ },
3346
+ {
3347
+ "name": "suggestion",
3348
+ "description": "Insert button."
3349
+ }
3350
+ ],
3351
+ "cssProperties": [],
3352
+ "cssStates": []
3353
+ }
3354
+ ],
3355
+ "exports": [
3356
+ {
3357
+ "kind": "js",
3358
+ "name": "OddkinSuggestions",
3359
+ "declaration": {
3360
+ "name": "OddkinSuggestions",
3361
+ "module": "dist/suggestions/suggestions.js"
3362
+ }
3363
+ }
3364
+ ]
3365
+ },
3366
+ {
3367
+ "kind": "javascript-module",
3368
+ "path": "dist/task-plan/index.js",
3369
+ "declarations": [],
3370
+ "exports": [
3371
+ {
3372
+ "kind": "js",
3373
+ "name": "OddkinTaskPlan",
3374
+ "declaration": {
3375
+ "name": "OddkinTaskPlan",
3376
+ "module": "dist/task-plan/task-plan.js"
3377
+ }
3378
+ }
3379
+ ]
3380
+ },
3381
+ {
3382
+ "kind": "javascript-module",
3383
+ "path": "dist/task-plan/task-plan.define.js",
3384
+ "declarations": [],
3385
+ "exports": [
3386
+ {
3387
+ "kind": "custom-element-definition",
3388
+ "name": "odd-task-plan",
3389
+ "declaration": {
3390
+ "name": "OddkinTaskPlan",
3391
+ "module": "dist/task-plan/task-plan.js"
3392
+ }
3393
+ }
3394
+ ]
3395
+ },
3396
+ {
3397
+ "kind": "javascript-module",
3398
+ "path": "dist/task-plan/task-plan.js",
3399
+ "declarations": [
3400
+ {
3401
+ "kind": "class",
3402
+ "name": "OddkinTaskPlan",
3403
+ "description": "An agent's plan: ordered steps, parallel tasks within a step, blockers, progress, and requests\nfor input.",
3404
+ "customElement": true,
3405
+ "tagName": "odd-task-plan",
3406
+ "superclass": {
3407
+ "name": "OddkinElement",
3408
+ "package": "@oddkin/core"
3409
+ },
3410
+ "members": [
3411
+ {
3412
+ "kind": "field",
3413
+ "name": "plan",
3414
+ "type": {
3415
+ "text": "{ planId: string; steps: { id: string; title: string; status: \"failed\" | \"done\" | \"pending\" | \"skipped\" | \"active\" | \"blocked\" | \"needs-input\"; detail?: string | undefined; blocker?: string | undefined; inputRequest?: string | undefined; tasks?: { ...; }[] | undefined; }[]; title?: string | undefined; } | undefined"
3416
+ },
3417
+ "default": "undefined",
3418
+ "description": "The plan record (replace to update)."
3419
+ },
3420
+ {
3421
+ "kind": "field",
3422
+ "name": "strings",
3423
+ "type": {
3424
+ "text": "Partial<{ label: string; progress: string; parallel: string; blocked: string; needsInput: string; respond: string; pending: string; active: string; done: string; failed: string; 'needs-input': string; skipped: string; }> | undefined"
3425
+ },
3426
+ "default": "undefined",
3427
+ "description": "Localized string overrides."
3428
+ }
3429
+ ],
3430
+ "attributes": [],
3431
+ "events": [
3432
+ {
3433
+ "name": "odd-plan-input-request",
3434
+ "type": {
3435
+ "text": "CustomEvent<{ readonly planId: string; readonly stepId: string; }>"
3436
+ },
3437
+ "description": "The user wants to answer a step that needs input."
3438
+ }
3439
+ ],
3440
+ "slots": [],
3441
+ "cssParts": [
3442
+ {
3443
+ "name": "base",
3444
+ "description": "The section labelled by the plan's title."
3445
+ },
3446
+ {
3447
+ "name": "progress",
3448
+ "description": "The native progress bar and its text."
3449
+ },
3450
+ {
3451
+ "name": "steps",
3452
+ "description": "The ordered list of steps."
3453
+ }
3454
+ ],
3455
+ "cssProperties": [],
3456
+ "cssStates": []
3457
+ }
3458
+ ],
3459
+ "exports": [
3460
+ {
3461
+ "kind": "js",
3462
+ "name": "OddkinTaskPlan",
3463
+ "declaration": {
3464
+ "name": "OddkinTaskPlan",
3465
+ "module": "dist/task-plan/task-plan.js"
3466
+ }
3467
+ }
3468
+ ]
3469
+ },
3470
+ {
3471
+ "kind": "javascript-module",
3472
+ "path": "dist/tool-call/index.js",
3473
+ "declarations": [],
3474
+ "exports": [
3475
+ {
3476
+ "kind": "js",
3477
+ "name": "OddkinToolCall",
3478
+ "declaration": {
3479
+ "name": "OddkinToolCall",
3480
+ "module": "dist/tool-call/tool-call.js"
3481
+ }
3482
+ }
3483
+ ]
3484
+ },
3485
+ {
3486
+ "kind": "javascript-module",
3487
+ "path": "dist/tool-call/tool-call.define.js",
3488
+ "declarations": [],
3489
+ "exports": [
3490
+ {
3491
+ "kind": "custom-element-definition",
3492
+ "name": "odd-tool-call",
3493
+ "declaration": {
3494
+ "name": "OddkinToolCall",
3495
+ "module": "dist/tool-call/tool-call.js"
3496
+ }
3497
+ }
3498
+ ]
3499
+ },
3500
+ {
3501
+ "kind": "javascript-module",
3502
+ "path": "dist/tool-call/tool-call.js",
3503
+ "declarations": [
3504
+ {
3505
+ "kind": "class",
3506
+ "name": "OddkinToolCall",
3507
+ "description": "One tool call: identity, purpose, streamed arguments, execution state, result or failure, and\nthe recovery actions the host supports. Argument generation, approval, and execution are\nshown as distinct states; complete arguments never read as success.",
3508
+ "customElement": true,
3509
+ "tagName": "odd-tool-call",
3510
+ "superclass": {
3511
+ "name": "OddkinElement",
3512
+ "package": "@oddkin/core"
3513
+ },
3514
+ "members": [
3515
+ {
3516
+ "kind": "field",
3517
+ "name": "tool",
3518
+ "type": {
3519
+ "text": "{ toolCallId: string; status: \"input-streaming\" | \"input-available\" | \"awaiting-approval\" | \"executing\" | \"output-available\" | \"output-error\" | \"denied\" | \"cancelled\"; toolName: string; ... 8 more ...; output?: JsonValue | undefined; } | undefined"
3520
+ },
3521
+ "default": "undefined",
3522
+ "description": "The tool call record."
3523
+ },
3524
+ {
3525
+ "kind": "field",
3526
+ "name": "approval",
3527
+ "type": {
3528
+ "text": "{ approvalId: string; revision: number; title: string; status: \"requested\" | \"decision-pending\" | \"approved\" | \"rejected\" | \"expired\" | \"superseded\" | \"decision-failed\"; attemptId?: string | undefined; ... 8 more ...; error?: { ...; } | undefined; } | undefined"
3529
+ },
3530
+ "default": "undefined",
3531
+ "description": "Approval bound to this call, when one was requested."
3532
+ },
3533
+ {
3534
+ "kind": "field",
3535
+ "name": "capabilities",
3536
+ "type": {
3537
+ "text": "{ send?: { available: boolean; reason?: string | undefined; } | undefined; stop?: { available: boolean; reason?: string | undefined; } | undefined; disconnect?: { available: boolean; reason?: string | undefined; } | undefined; ... 12 more ...; feedback?: { ...; } | undefined; } | undefined"
3538
+ },
3539
+ "default": "undefined",
3540
+ "description": "Passed to the nested approval."
3541
+ },
3542
+ {
3543
+ "kind": "field",
3544
+ "name": "renderOutput",
3545
+ "type": {
3546
+ "text": "{ render: ToolOutputRenderer; } | undefined"
3547
+ },
3548
+ "default": "undefined",
3549
+ "description": "Host renderer for results (`{ render(tool) }`)."
3550
+ },
3551
+ {
3552
+ "kind": "field",
3553
+ "name": "strings",
3554
+ "type": {
3555
+ "text": "Partial<{ 'input-streaming': string; 'input-available': string; 'awaiting-approval': string; executing: string; 'output-available': string; 'output-error': string; denied: string; cancelled: string; arguments: string; result: string; error: string; retry: string; details: string; }> | undefined"
3556
+ },
3557
+ "default": "undefined",
3558
+ "description": "Localized string overrides."
3559
+ }
3560
+ ],
3561
+ "attributes": [],
3562
+ "events": [
3563
+ {
3564
+ "name": "odd-tool-retry",
3565
+ "type": {
3566
+ "text": "CustomEvent<{ readonly toolCallId: string; }>"
3567
+ },
3568
+ "description": "Request to retry a failed tool call."
3569
+ }
3570
+ ],
3571
+ "slots": [],
3572
+ "cssParts": [
3573
+ {
3574
+ "name": "arguments",
3575
+ "description": "Streamed or complete arguments."
3576
+ },
3577
+ {
3578
+ "name": "base",
3579
+ "description": "The tool call surface."
3580
+ },
3581
+ {
3582
+ "name": "result",
3583
+ "description": "Result or error."
3584
+ },
3585
+ {
3586
+ "name": "summary",
3587
+ "description": "Name, purpose, and status (a native disclosure summary)."
3588
+ }
3589
+ ],
3590
+ "cssProperties": [],
3591
+ "cssStates": []
3592
+ }
3593
+ ],
3594
+ "exports": [
3595
+ {
3596
+ "kind": "js",
3597
+ "name": "OddkinToolCall",
3598
+ "declaration": {
3599
+ "name": "OddkinToolCall",
3600
+ "module": "dist/tool-call/tool-call.js"
3601
+ }
3602
+ }
3603
+ ]
3604
+ },
3605
+ {
3606
+ "kind": "javascript-module",
3607
+ "path": "dist/transcript/index.js",
3608
+ "declarations": [],
3609
+ "exports": [
3610
+ {
3611
+ "kind": "js",
3612
+ "name": "OddkinTranscript",
3613
+ "declaration": {
3614
+ "name": "OddkinTranscript",
3615
+ "module": "dist/transcript/transcript.js"
3616
+ }
3617
+ }
3618
+ ]
3619
+ },
3620
+ {
3621
+ "kind": "javascript-module",
3622
+ "path": "dist/transcript/transcript.define.js",
3623
+ "declarations": [],
3624
+ "exports": [
3625
+ {
3626
+ "kind": "custom-element-definition",
3627
+ "name": "odd-transcript",
3628
+ "declaration": {
3629
+ "name": "OddkinTranscript",
3630
+ "module": "dist/transcript/transcript.js"
3631
+ }
3632
+ }
3633
+ ]
3634
+ },
3635
+ {
3636
+ "kind": "javascript-module",
3637
+ "path": "dist/transcript/transcript.js",
3638
+ "declarations": [
3639
+ {
3640
+ "kind": "class",
3641
+ "name": "OddkinTranscript",
3642
+ "description": "A transcript with final segments (optionally editable) and interim text that may still change.",
3643
+ "customElement": true,
3644
+ "tagName": "odd-transcript",
3645
+ "superclass": {
3646
+ "name": "OddkinElement",
3647
+ "package": "@oddkin/core"
3648
+ },
3649
+ "members": [
3650
+ {
3651
+ "kind": "field",
3652
+ "name": "segments",
3653
+ "type": {
3654
+ "text": "{ id: string; text: string; final: boolean; speaker?: string | undefined; }[]"
3655
+ },
3656
+ "default": "[]",
3657
+ "description": "Final (and interim) segments."
3658
+ },
3659
+ {
3660
+ "kind": "field",
3661
+ "name": "interim",
3662
+ "type": {
3663
+ "text": "string"
3664
+ },
3665
+ "default": "''",
3666
+ "description": "Current interim text."
3667
+ },
3668
+ {
3669
+ "kind": "field",
3670
+ "name": "editable",
3671
+ "type": {
3672
+ "text": "boolean"
3673
+ },
3674
+ "default": "false",
3675
+ "description": "Final segments can be corrected.",
3676
+ "attribute": "editable",
3677
+ "reflects": true
3678
+ },
3679
+ {
3680
+ "kind": "field",
3681
+ "name": "strings",
3682
+ "type": {
3683
+ "text": "Partial<{ label: string; listening: string; empty: string; edit: string; }> | undefined"
3684
+ },
3685
+ "default": "undefined",
3686
+ "description": "Localized string overrides."
3687
+ }
3688
+ ],
3689
+ "attributes": [
3690
+ {
3691
+ "name": "editable",
3692
+ "type": {
3693
+ "text": "boolean"
3694
+ },
3695
+ "fieldName": "editable",
3696
+ "default": "false",
3697
+ "description": "Final segments can be corrected."
3698
+ }
3699
+ ],
3700
+ "events": [
3701
+ {
3702
+ "name": "odd-transcript-change",
3703
+ "type": {
3704
+ "text": "CustomEvent<{ readonly segmentId: string; readonly text: string; }>"
3705
+ },
3706
+ "description": "The user edited a final transcript segment."
3707
+ }
3708
+ ],
3709
+ "slots": [],
3710
+ "cssParts": [
3711
+ {
3712
+ "name": "interim",
3713
+ "description": "Interim text."
3714
+ },
3715
+ {
3716
+ "name": "list",
3717
+ "description": "Final segments."
3718
+ }
3719
+ ],
3720
+ "cssProperties": [],
3721
+ "cssStates": []
3722
+ }
3723
+ ],
3724
+ "exports": [
3725
+ {
3726
+ "kind": "js",
3727
+ "name": "OddkinTranscript",
3728
+ "declaration": {
3729
+ "name": "OddkinTranscript",
3730
+ "module": "dist/transcript/transcript.js"
3731
+ }
3732
+ }
3733
+ ]
3734
+ },
3735
+ {
3736
+ "kind": "javascript-module",
3737
+ "path": "dist/usage-meter/index.js",
3738
+ "declarations": [],
3739
+ "exports": [
3740
+ {
3741
+ "kind": "js",
3742
+ "name": "OddkinUsageMeter",
3743
+ "declaration": {
3744
+ "name": "OddkinUsageMeter",
3745
+ "module": "dist/usage-meter/usage-meter.js"
3746
+ }
3747
+ }
3748
+ ]
3749
+ },
3750
+ {
3751
+ "kind": "javascript-module",
3752
+ "path": "dist/usage-meter/usage-meter.define.js",
3753
+ "declarations": [],
3754
+ "exports": [
3755
+ {
3756
+ "kind": "custom-element-definition",
3757
+ "name": "odd-usage-meter",
3758
+ "declaration": {
3759
+ "name": "OddkinUsageMeter",
3760
+ "module": "dist/usage-meter/usage-meter.js"
3761
+ }
3762
+ }
3763
+ ]
3764
+ },
3765
+ {
3766
+ "kind": "javascript-module",
3767
+ "path": "dist/usage-meter/usage-meter.js",
3768
+ "declarations": [
3769
+ {
3770
+ "kind": "class",
3771
+ "name": "OddkinUsageMeter",
3772
+ "description": "Token, context, quota, and cost figures exactly as the host supplies them, each marked\nmeasured, estimated, or unknown. Never computes or guesses a value.",
3773
+ "customElement": true,
3774
+ "tagName": "odd-usage-meter",
3775
+ "superclass": {
3776
+ "name": "OddkinElement",
3777
+ "package": "@oddkin/core"
3778
+ },
3779
+ "members": [
3780
+ {
3781
+ "kind": "field",
3782
+ "name": "usage",
3783
+ "type": {
3784
+ "text": "{ label: string; kind: \"other\" | \"input-tokens\" | \"output-tokens\" | \"context\" | \"quota\" | \"cost\"; precision: \"measured\" | \"estimated\" | \"unknown\"; used?: number | undefined; limit?: number | undefined; unit?: string | undefined; currency?: string | undefined; }[]"
3785
+ },
3786
+ "default": "[]",
3787
+ "description": "Usage entries (replace to update)."
3788
+ },
3789
+ {
3790
+ "kind": "field",
3791
+ "name": "label",
3792
+ "type": {
3793
+ "text": "string"
3794
+ },
3795
+ "default": "''",
3796
+ "description": "Accessible name; defaults to the localized \"Usage\".",
3797
+ "attribute": "label"
3798
+ },
3799
+ {
3800
+ "kind": "field",
3801
+ "name": "strings",
3802
+ "type": {
3803
+ "text": "Partial<{ label: string; ofLimit: string; unknown: string; estimated: string; measured: string; noLimit: string; }> | undefined"
3804
+ },
3805
+ "default": "undefined",
3806
+ "description": "Localized string overrides."
3807
+ }
3808
+ ],
3809
+ "attributes": [
3810
+ {
3811
+ "name": "label",
3812
+ "type": {
3813
+ "text": "string"
3814
+ },
3815
+ "fieldName": "label",
3816
+ "default": "''",
3817
+ "description": "Accessible name; defaults to the localized \"Usage\"."
3818
+ }
3819
+ ],
3820
+ "events": [],
3821
+ "slots": [],
3822
+ "cssParts": [
3823
+ {
3824
+ "name": "list",
3825
+ "description": "The description list of entries."
3826
+ },
3827
+ {
3828
+ "name": "meter",
3829
+ "description": "A native meter, only when both `used` and `limit` are known."
3830
+ }
3831
+ ],
3832
+ "cssProperties": [],
3833
+ "cssStates": []
3834
+ }
3835
+ ],
3836
+ "exports": [
3837
+ {
3838
+ "kind": "js",
3839
+ "name": "OddkinUsageMeter",
3840
+ "declaration": {
3841
+ "name": "OddkinUsageMeter",
3842
+ "module": "dist/usage-meter/usage-meter.js"
3843
+ }
3844
+ }
3845
+ ]
3846
+ },
3847
+ {
3848
+ "kind": "javascript-module",
3849
+ "path": "dist/voice-input/index.js",
3850
+ "declarations": [],
3851
+ "exports": [
3852
+ {
3853
+ "kind": "js",
3854
+ "name": "OddkinVoiceInput",
3855
+ "declaration": {
3856
+ "name": "OddkinVoiceInput",
3857
+ "module": "dist/voice-input/voice-input.js"
3858
+ }
3859
+ }
3860
+ ]
3861
+ },
3862
+ {
3863
+ "kind": "javascript-module",
3864
+ "path": "dist/voice-input/voice-input.define.js",
3865
+ "declarations": [],
3866
+ "exports": [
3867
+ {
3868
+ "kind": "custom-element-definition",
3869
+ "name": "odd-voice-input",
3870
+ "declaration": {
3871
+ "name": "OddkinVoiceInput",
3872
+ "module": "dist/voice-input/voice-input.js"
3873
+ }
3874
+ }
3875
+ ]
3876
+ },
3877
+ {
3878
+ "kind": "javascript-module",
3879
+ "path": "dist/voice-input/voice-input.js",
3880
+ "declarations": [
3881
+ {
3882
+ "kind": "class",
3883
+ "name": "OddkinVoiceInput",
3884
+ "description": "Voice capture with transcription: start, stop (keep), and cancel (discard), with permission,\ndevice, interruption, and processing states. Uses a replaceable `VoiceAdapter`; an element\nthat creates its own controller releases the microphone when disconnected.",
3885
+ "customElement": true,
3886
+ "tagName": "odd-voice-input",
3887
+ "superclass": {
3888
+ "name": "OddkinElement",
3889
+ "package": "@oddkin/core"
3890
+ },
3891
+ "members": [
3892
+ {
3893
+ "kind": "field",
3894
+ "name": "adapter",
3895
+ "type": {
3896
+ "text": "VoiceAdapter | undefined"
3897
+ },
3898
+ "default": "undefined",
3899
+ "description": "Capture and transcription adapter (owned controller only)."
3900
+ },
3901
+ {
3902
+ "kind": "field",
3903
+ "name": "controller",
3904
+ "type": {
3905
+ "text": "VoiceController | undefined"
3906
+ },
3907
+ "default": "undefined",
3908
+ "description": "Host-owned controller; the host also owns its cleanup."
3909
+ },
3910
+ {
3911
+ "kind": "field",
3912
+ "name": "disabled",
3913
+ "type": {
3914
+ "text": "boolean"
3915
+ },
3916
+ "default": "false",
3917
+ "description": "Voice input is unavailable (e.g. capability off).",
3918
+ "attribute": "disabled",
3919
+ "reflects": true
3920
+ },
3921
+ {
3922
+ "kind": "field",
3923
+ "name": "strings",
3924
+ "type": {
3925
+ "text": "Partial<{ start: string; stop: string; cancel: string; use: string; clear: string; unsupported: string; idle: string; 'requesting-permission': string; recording: string; processing: string; denied: string; unavailable: string; interrupted: string; error: string; }> | undefined"
3926
+ },
3927
+ "default": "undefined",
3928
+ "description": "Localized string overrides."
3929
+ },
3930
+ {
3931
+ "kind": "field",
3932
+ "name": "activeController",
3933
+ "type": {
3934
+ "text": "VoiceController"
3935
+ },
3936
+ "readonly": true,
3937
+ "description": "The controller in use (host-supplied or owned)."
3938
+ }
3939
+ ],
3940
+ "attributes": [
3941
+ {
3942
+ "name": "disabled",
3943
+ "type": {
3944
+ "text": "boolean"
3945
+ },
3946
+ "fieldName": "disabled",
3947
+ "default": "false",
3948
+ "description": "Voice input is unavailable (e.g. capability off)."
3949
+ }
3950
+ ],
3951
+ "events": [
3952
+ {
3953
+ "name": "odd-voice-transcript",
3954
+ "type": {
3955
+ "text": "CustomEvent<{ readonly text: string; }>"
3956
+ },
3957
+ "description": "A final transcript is ready to use (completed locally)."
3958
+ },
3959
+ {
3960
+ "name": "odd-announce",
3961
+ "type": {
3962
+ "text": "CustomEvent<AnnounceDetail>"
3963
+ },
3964
+ "description": "A status message for the nearest announcer, which cancels it so outer announcers stay silent."
3965
+ }
3966
+ ],
3967
+ "slots": [],
3968
+ "cssParts": [
3969
+ {
3970
+ "name": "base",
3971
+ "description": "The column of the controls, the status, and the transcript."
3972
+ },
3973
+ {
3974
+ "name": "controls",
3975
+ "description": "Record, cancel, and use controls."
3976
+ },
3977
+ {
3978
+ "name": "status",
3979
+ "description": "Status text."
3980
+ }
3981
+ ],
3982
+ "cssProperties": [],
3983
+ "cssStates": []
3984
+ }
3985
+ ],
3986
+ "exports": [
3987
+ {
3988
+ "kind": "js",
3989
+ "name": "OddkinVoiceInput",
3990
+ "declaration": {
3991
+ "name": "OddkinVoiceInput",
3992
+ "module": "dist/voice-input/voice-input.js"
3993
+ }
3994
+ }
3995
+ ]
3996
+ }
3997
+ ]
3998
+ }