@standards/schema 1.0.0-alpha.446 → 1.0.0-alpha.447

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 (315) hide show
  1. package/dist/access-levels-BWuVeyAD.js +2 -0
  2. package/dist/access-levels-CpH_EGwX.mjs +2 -0
  3. package/dist/access-output.schema-DdveaHhd.js +2 -0
  4. package/dist/access-output.schema-DrsybmDW.mjs +2 -0
  5. package/dist/access.operations-Bfr0Hr5a.mjs +2 -0
  6. package/dist/access.operations-Ta7Yti9-.js +2 -0
  7. package/dist/actors-D6cncaeM.mjs +2 -0
  8. package/dist/actors-DtSC4jD7.js +2 -0
  9. package/dist/actors.operations-BRdW-IBc.js +2 -0
  10. package/dist/actors.operations-SAbl_3vt.mjs +2 -0
  11. package/dist/admin-tenant-CnP_XZGi.js +2 -0
  12. package/dist/admin-tenant-DJ_Vt8X6.mjs +2 -0
  13. package/dist/agent-appearance.schema-5maenk3l.mjs +2 -0
  14. package/dist/agent-appearance.schema-Azj0Y4h4.js +2 -0
  15. package/dist/agent-approvals.operations-BXtDpYb9.js +2 -0
  16. package/dist/agent-approvals.operations-DrEi2amV.mjs +2 -0
  17. package/dist/agent-definitions.operations-CkfVj_vQ.mjs +2 -0
  18. package/dist/agent-definitions.operations-Dah-26La.js +2 -0
  19. package/dist/agent-fronts.operations-Q92n0JZN.js +2 -0
  20. package/dist/agent-fronts.operations-ZQUdWd_4.mjs +2 -0
  21. package/dist/agent-memory.operations-B0nLFWs9.js +2 -0
  22. package/dist/agent-memory.operations-C25OLsqq.mjs +2 -0
  23. package/dist/agent-message.schema-DwQVDXLy.mjs +2 -0
  24. package/dist/agent-message.schema-SmA4ydqf.js +2 -0
  25. package/dist/agent-messages.operations-Aa1vk7xu.mjs +2 -0
  26. package/dist/agent-messages.operations-CCXX8cuW.js +2 -0
  27. package/dist/agent-output.schema-8ajlE5_g.js +2 -0
  28. package/dist/agent-output.schema-BQsbh8pJ.mjs +2 -0
  29. package/dist/agent-runs.operations-BVNctI5C.js +2 -0
  30. package/dist/agent-runs.operations-Gp-UpNB9.mjs +2 -0
  31. package/dist/agent-schemas-52_rE61D.mjs +2 -0
  32. package/dist/agent-schemas-BmTE5O3J.js +2 -0
  33. package/dist/agent-session-list-cursor-BFnecxvH.js +2 -0
  34. package/dist/agent-session-list-cursor-cpmpINuz.mjs +2 -0
  35. package/dist/agent-sessions.operations-B8yM9St8.mjs +2 -0
  36. package/dist/agent-sessions.operations-Bu04RCgZ.js +2 -0
  37. package/dist/agent-triggers.operations-0tOTD7Vh.js +2 -0
  38. package/dist/agent-triggers.operations-BJz4_xUq.mjs +2 -0
  39. package/dist/ai-dictation-BJvVgzjC.mjs +2 -0
  40. package/dist/ai-dictation-zV6sAESe.js +2 -0
  41. package/dist/ai-output.schema-CQKoZCbn.mjs +2 -0
  42. package/dist/ai-output.schema-DHm6HAfH.js +2 -0
  43. package/dist/ai.operations--Cx0o8wQ.mjs +2 -0
  44. package/dist/ai.operations-DAKLy-dv.js +2 -0
  45. package/dist/all-BCAZCVxV.mjs +4 -0
  46. package/dist/all-PUaQuM_2.js +4 -0
  47. package/dist/api/http.d.mts +6 -0
  48. package/dist/api/http.d.ts +6 -0
  49. package/dist/api/http.js +2 -0
  50. package/dist/api/http.mjs +2 -0
  51. package/dist/api/index.d.mts +10 -26963
  52. package/dist/api/index.d.ts +10 -26963
  53. package/dist/api/index.js +1 -1
  54. package/dist/api/index.mjs +1 -1
  55. package/dist/api/wire.d.mts +93 -0
  56. package/dist/api/wire.d.ts +93 -0
  57. package/dist/api/wire.js +2 -0
  58. package/dist/api/wire.mjs +2 -0
  59. package/dist/api-keys-C9vGsnf5.mjs +2 -0
  60. package/dist/api-keys-DrqoTFFb.js +2 -0
  61. package/dist/api-keys.operations-BbAn06Vn.mjs +2 -0
  62. package/dist/api-keys.operations-Dtiv6rWJ.js +2 -0
  63. package/dist/app-operation-groups-B0GLoqHi.d.ts +26792 -0
  64. package/dist/app-operation-groups-CG6l7J3l.d.mts +26791 -0
  65. package/dist/appearance-C0Mh9jK2.mjs +2 -0
  66. package/dist/appearance-DrCaK9XJ.js +2 -0
  67. package/dist/artifacts.operations-D6aBIbPf.mjs +2 -0
  68. package/dist/artifacts.operations-DZ60VQ3Q.js +2 -0
  69. package/dist/attribute-validators-D9vS6qK9.mjs +11 -0
  70. package/dist/attribute-validators-j-HiW0On.js +11 -0
  71. package/dist/attributes-B2wmzoDI.js +2 -0
  72. package/dist/attributes-DYUkML5S.mjs +2 -0
  73. package/dist/audit-Cjoaib0c.js +2 -0
  74. package/dist/audit-jbBwdDtV.mjs +2 -0
  75. package/dist/audit.operations-CzoEnsuj.js +2 -0
  76. package/dist/audit.operations-R7llfS_r.mjs +2 -0
  77. package/dist/browser-profile-output.schema-ChhKkoin.mjs +2 -0
  78. package/dist/browser-profile-output.schema-DOGfwtLW.js +2 -0
  79. package/dist/browser-profiles.operations-BBdmypd0.js +2 -0
  80. package/dist/browser-profiles.operations-CUJaaU8y.mjs +2 -0
  81. package/dist/bundle-output.schema-Ck4tpVVV.js +2 -0
  82. package/dist/bundle-output.schema-UAlU8-CS.mjs +2 -0
  83. package/dist/bundles.operations-CplZLAxi.js +2 -0
  84. package/dist/bundles.operations-CrgrLCAC.mjs +2 -0
  85. package/dist/cli-login.operations-C1KbNeHA.js +2 -0
  86. package/dist/cli-login.operations-cUUchS4E.mjs +2 -0
  87. package/dist/connected-apps.operations-BavndGSL.js +2 -0
  88. package/dist/connected-apps.operations-DDDkIn_k.mjs +2 -0
  89. package/dist/connectors.operations-CR20Yhbf.mjs +2 -0
  90. package/dist/connectors.operations-CWW21SJJ.js +2 -0
  91. package/dist/consumer-variables.operations-Cc90oB8D.mjs +2 -0
  92. package/dist/consumer-variables.operations-DY9v4AY-.js +2 -0
  93. package/dist/decisions-CFoL49Jb.js +2 -0
  94. package/dist/decisions-DNvAXetH.mjs +2 -0
  95. package/dist/decisions.operations-BmQnmIwC.js +2 -0
  96. package/dist/decisions.operations-Dx-QEhXt.mjs +2 -0
  97. package/dist/device-channel-BQ8SMmLM.js +2 -0
  98. package/dist/device-channel-CmrDyl1C.mjs +2 -0
  99. package/dist/devices.operations-BJG7PBgi.js +2 -0
  100. package/dist/devices.operations-D4vKQtuv.mjs +2 -0
  101. package/dist/dictation.operations-BqbZnhBo.mjs +2 -0
  102. package/dist/dictation.operations-D0JxX5Ut.js +2 -0
  103. package/dist/documents-BrgkFEjS.mjs +2 -0
  104. package/dist/documents-KBlpK-vw.js +2 -0
  105. package/dist/documents.operations-BOstEBEu.mjs +2 -0
  106. package/dist/documents.operations-eY2Z-5Ss.js +2 -0
  107. package/dist/email-classification-DEHTSbVv.js +2 -0
  108. package/dist/email-classification-Jk8hARsL.mjs +2 -0
  109. package/dist/email-classification.operations-BBmw-sma.mjs +2 -0
  110. package/dist/email-classification.operations-C0nSe3CD.js +2 -0
  111. package/dist/email-classification.schema-B2RE9-Sz.js +2 -0
  112. package/dist/email-classification.schema-CzlbP3hF.mjs +2 -0
  113. package/dist/emails-COHIot9L.mjs +2 -0
  114. package/dist/emails-scn5zKZZ.js +2 -0
  115. package/dist/emails.operations-Bqd4AR-o.mjs +2 -0
  116. package/dist/emails.operations-nOPoU4qW.js +2 -0
  117. package/dist/embeddings-admin.operations-Cf12v9Y6.mjs +2 -0
  118. package/dist/embeddings-admin.operations-DN0wBZuY.js +2 -0
  119. package/dist/env-vars-C6h8XxDu.js +2 -0
  120. package/dist/env-vars-jepH5HKe.mjs +2 -0
  121. package/dist/env-vars.operations-CtwkPw4o.mjs +2 -0
  122. package/dist/env-vars.operations-DxgfKwIg.js +2 -0
  123. package/dist/environment-output.schema-BI9aKP85.js +2 -0
  124. package/dist/environment-output.schema-BLWKrRV9.mjs +2 -0
  125. package/dist/environments-Cjl7Rn63.js +2 -0
  126. package/dist/environments-NJ6AU6QA.mjs +2 -0
  127. package/dist/environments.operations-DOC5sPZj.js +2 -0
  128. package/dist/environments.operations-sRFx_6kV.mjs +2 -0
  129. package/dist/{exceptions-CxTJ-9hJ.d.ts → exceptions-Csd70p_-.d.ts} +9 -0
  130. package/dist/{exceptions-BjtmXIip.d.mts → exceptions-gxRQUb2w.d.mts} +9 -0
  131. package/dist/exceptions.d.mts +1 -1
  132. package/dist/exceptions.d.ts +1 -1
  133. package/dist/exceptions.js +1 -1
  134. package/dist/exceptions.mjs +1 -1
  135. package/dist/files-BX-FFR4x.js +2 -0
  136. package/dist/files-sTU3trJX.mjs +2 -0
  137. package/dist/files.operations-ByEQ45rC.mjs +2 -0
  138. package/dist/files.operations-DvsUX624.js +2 -0
  139. package/dist/folders.operations-DjhIHfPy.mjs +2 -0
  140. package/dist/folders.operations-Dn9m5HgA.js +2 -0
  141. package/dist/forms.operations-DTe1LrLl.js +2 -0
  142. package/dist/forms.operations-HHnD9fWG.mjs +2 -0
  143. package/dist/geocoding.operations-C_22EAvv.mjs +2 -0
  144. package/dist/geocoding.operations-DI5T-bXQ.js +2 -0
  145. package/dist/human-request-BuTNChfy.js +2 -0
  146. package/dist/human-request-D386w0xS.mjs +2 -0
  147. package/dist/image-generation-JBLnNqb4.js +2 -0
  148. package/dist/image-generation-RBIQzj-e.mjs +2 -0
  149. package/dist/{index-BoesrnBX.d.ts → index-O2gvfWg3.d.ts} +250 -545
  150. package/dist/index.d.mts +4 -4
  151. package/dist/index.d.ts +4 -4
  152. package/dist/index.js +2 -2
  153. package/dist/index.mjs +2 -2
  154. package/dist/input--LxhjMnL.js +2 -0
  155. package/dist/input-De22VS-9.mjs +2 -0
  156. package/dist/input-g4tO6Jkf.d.ts +82 -0
  157. package/dist/limits-C23L0g-a.js +2 -0
  158. package/dist/limits-DVUX5n4b.mjs +2 -0
  159. package/dist/linked-records-BjT-7LOU.mjs +2 -0
  160. package/dist/linked-records-CzzwaP1w.js +2 -0
  161. package/dist/logos.operations-Cof7YcyL.js +2 -0
  162. package/dist/logos.operations-DMp3Fv_i.mjs +2 -0
  163. package/dist/machines-BgWsvhyM.js +2 -0
  164. package/dist/machines-BwCQPG_y.mjs +2 -0
  165. package/dist/machines.operations-DuXeEb9-.js +2 -0
  166. package/dist/machines.operations-L17tNtr7.mjs +2 -0
  167. package/dist/mail-drafts.operations-BKMuIsFk.js +2 -0
  168. package/dist/mail-drafts.operations-CM-7tBgp.mjs +2 -0
  169. package/dist/mail-signatures.operations-maphvktU.js +2 -0
  170. package/dist/mail-signatures.operations-u61NViKI.mjs +2 -0
  171. package/dist/mcp-output.schema-B4xXiOjp.mjs +2 -0
  172. package/dist/mcp-output.schema-DWfW_GXR.js +2 -0
  173. package/dist/mcp-servers.operations-BBrpVqtv.mjs +2 -0
  174. package/dist/mcp-servers.operations-DKv3os6D.js +2 -0
  175. package/dist/meetings-C3LSWdAv.js +2 -0
  176. package/dist/meetings-ZzFZppmw.mjs +2 -0
  177. package/dist/meetings-admin.operations-CqOdAuEY.js +2 -0
  178. package/dist/meetings-admin.operations-DlBEkQ3A.mjs +2 -0
  179. package/dist/meetings.operations-CEodnE61.js +2 -0
  180. package/dist/meetings.operations-C_S4qoij.mjs +2 -0
  181. package/dist/models.operations-B-KLcOff.mjs +2 -0
  182. package/dist/models.operations-D1mh86qV.js +2 -0
  183. package/dist/move-impact.schema-CIhGrFEu.mjs +2 -0
  184. package/dist/move-impact.schema-Ur5k3_PI.js +2 -0
  185. package/dist/my-preferences-CtaRodws.js +2 -0
  186. package/dist/my-preferences-DLy4chuc.mjs +2 -0
  187. package/dist/news-feed.schema-BXcS3qnp.js +2 -0
  188. package/dist/news-feed.schema-uNDJX8lC.mjs +2 -0
  189. package/dist/news.operations-Ct__1yeE.js +2 -0
  190. package/dist/news.operations-bv6Xi29p.mjs +2 -0
  191. package/dist/oauth.operations-BkKp9Hys.js +2 -0
  192. package/dist/oauth.operations-Dwz0dPe0.mjs +2 -0
  193. package/dist/objects-DjZy05b7.js +2 -0
  194. package/dist/objects-LC_PpZf5.mjs +2 -0
  195. package/dist/operation-Ljhj0S-y.mjs +2 -0
  196. package/dist/operation-b0CY8USr.js +2 -0
  197. package/dist/output-CcagLVwl.js +2 -0
  198. package/dist/output-D0Gkm-0Z.mjs +2 -0
  199. package/dist/page-query-B8Evn_OX.mjs +2 -0
  200. package/dist/page-query-BIn1m1Dx.js +2 -0
  201. package/dist/pages-C1vZaC93.mjs +2 -0
  202. package/dist/pages-DQEuRvk2.js +2 -0
  203. package/dist/pages.operations-CWBsE2KN.js +2 -0
  204. package/dist/pages.operations-DE4h2piU.mjs +2 -0
  205. package/dist/pagination-B06cCddv.mjs +2 -0
  206. package/dist/pagination-CheieRD0.js +2 -0
  207. package/dist/path-Ch_NPREA.d.mts +81 -0
  208. package/dist/permission-catalog-7nqArygr.js +2 -0
  209. package/dist/permission-catalog-DVCRvATl.mjs +2 -0
  210. package/dist/permissions-BsNNXXmY.js +2 -0
  211. package/dist/permissions-CGYTdS2h.mjs +2 -0
  212. package/dist/permissions.operations-BpGpRcI5.js +2 -0
  213. package/dist/permissions.operations-CUOPZGr_.mjs +2 -0
  214. package/dist/plain-record-BnKWrGQv.js +2 -0
  215. package/dist/plain-record-is3DxPBL.mjs +2 -0
  216. package/dist/primitives-BlZoUw54.mjs +2 -0
  217. package/dist/primitives-x0WE42fG.js +2 -0
  218. package/dist/{record-query-BMeq7JRi.d.mts → proposal-types-BnAD5nxA.d.mts} +10084 -10379
  219. package/dist/proposal-types-Buln0mbM.js +2 -0
  220. package/dist/proposal-types-ncv1cymr.mjs +2 -0
  221. package/dist/query-integers-CZDEkFmm.mjs +2 -0
  222. package/dist/query-integers-EVkedFO4.js +2 -0
  223. package/dist/quota-CremykHV.mjs +2 -0
  224. package/dist/quota-lbHfQAU7.js +2 -0
  225. package/dist/quotas.operations-CDn6mxGZ.js +2 -0
  226. package/dist/quotas.operations-DuUMhQct.mjs +2 -0
  227. package/dist/recent-activity-CDUZCvvx.mjs +2 -0
  228. package/dist/recent-activity-CTn3aJC5.js +2 -0
  229. package/dist/recent-activity.operations-C8HN3T2E.mjs +2 -0
  230. package/dist/recent-activity.operations-Cv7zUBG5.js +2 -0
  231. package/dist/record-memory.operations-D8K9_bDh.js +2 -0
  232. package/dist/record-memory.operations-DNRWqANQ.mjs +2 -0
  233. package/dist/record-operation-CD04q2YF.mjs +2 -0
  234. package/dist/record-operation-CHR8fOWv.js +2 -0
  235. package/dist/record-operations.operations-2fObhHf5.mjs +2 -0
  236. package/dist/record-operations.operations-iGcbXsAX.js +2 -0
  237. package/dist/record-output.schema-7M4ZhtFF.mjs +2 -0
  238. package/dist/record-output.schema-B-LsiXui.js +2 -0
  239. package/dist/records.operations-DesIdHKN.js +2 -0
  240. package/dist/records.operations-XplmsQb5.mjs +2 -0
  241. package/dist/relation-output.schema-CMfZ80ZC.js +2 -0
  242. package/dist/relation-output.schema-DnC1Swai.mjs +2 -0
  243. package/dist/relations.operations-C8OKmNI3.mjs +2 -0
  244. package/dist/relations.operations-TbsHto3V.js +2 -0
  245. package/dist/rolldown-runtime-BXZUx0GO.js +2 -0
  246. package/dist/schema-draft.operations-BrhXpB88.js +2 -0
  247. package/dist/schema-draft.operations-DO2aPqiB.mjs +2 -0
  248. package/dist/schema-groups.operations-BKGvDU0g.mjs +2 -0
  249. package/dist/schema-groups.operations-CQJVh2ul.js +2 -0
  250. package/dist/schema-objects.operations-BIm7_OUC.js +2 -0
  251. package/dist/schema-objects.operations-CKZquSV-.mjs +2 -0
  252. package/dist/schema-output.schema-DToLL5Hj.mjs +2 -0
  253. package/dist/schema-output.schema-yXth-j90.js +2 -0
  254. package/dist/schema-state.operations-YgW67wKw.mjs +2 -0
  255. package/dist/schema-state.operations-_rWxCFRF.js +2 -0
  256. package/dist/screens.operations-C2PmD9Jo.mjs +2 -0
  257. package/dist/screens.operations-CMCDeLu5.js +2 -0
  258. package/dist/search-admin.operations-BuNlL2_R.js +2 -0
  259. package/dist/search-admin.operations-MaUHp0Ws.mjs +2 -0
  260. package/dist/search-output.schema-BGEo1jc3.mjs +2 -0
  261. package/dist/search-output.schema-BOnf-I4-.js +2 -0
  262. package/dist/search.operations-BU2vkMiM.mjs +2 -0
  263. package/dist/search.operations-CV4h80dL.js +2 -0
  264. package/dist/skills.operations-B89X73C5.mjs +2 -0
  265. package/dist/skills.operations-CI7WSfj8.js +2 -0
  266. package/dist/string-rules-BGEVHs7B.js +2 -0
  267. package/dist/string-rules-Oo22T_2_.mjs +2 -0
  268. package/dist/submission-DQQndGsT.mjs +2 -0
  269. package/dist/submission-Y4L17hji.js +2 -0
  270. package/dist/system-attributes-4e6FXKws.js +2 -0
  271. package/dist/system-attributes-vbOzw6KO.mjs +2 -0
  272. package/dist/tenant-invitations-C8eRu6F1.mjs +2 -0
  273. package/dist/tenant-invitations-DMnJYl5A.js +2 -0
  274. package/dist/tenant-invitations.operations-CoENfK1m.mjs +2 -0
  275. package/dist/tenant-invitations.operations-DVzd6sH6.js +2 -0
  276. package/dist/tenant-settings-DibR3Pj9.mjs +2 -0
  277. package/dist/tenant-settings-H8PuqeVJ.js +2 -0
  278. package/dist/tenant-settings.operations-BlOjAUBb.mjs +2 -0
  279. package/dist/tenant-settings.operations-D1tiAc5T.js +2 -0
  280. package/dist/tool-group-catalog-DcmK8-aP.mjs +2 -0
  281. package/dist/tool-group-catalog-VfPutaoA.js +2 -0
  282. package/dist/types-BaRAoumN.mjs +2 -0
  283. package/dist/types-Bbd8SJk_.mjs +2 -0
  284. package/dist/types-DLY2ZL0J.js +2 -0
  285. package/dist/types-HyrREoFh.js +2 -0
  286. package/dist/unchecked-C4sB97e1.js +2 -0
  287. package/dist/unchecked-DAFXyX5y.mjs +2 -0
  288. package/dist/user-profiles-CJHB2U55.js +2 -0
  289. package/dist/user-profiles-Dh5QFnXc.mjs +2 -0
  290. package/dist/users.operations-Bdz9bPn7.js +2 -0
  291. package/dist/users.operations-BhIIB4IN.mjs +2 -0
  292. package/dist/{utils-DPto28bh.d.mts → utils-BHf9KKOr.d.mts} +1 -1
  293. package/dist/{utils-BdmqhdNL.d.ts → utils-_R0m2ygt.d.ts} +1 -1
  294. package/dist/utils.d.mts +1 -1
  295. package/dist/utils.d.ts +1 -1
  296. package/dist/uuid-param-BuV4RQRp.mjs +2 -0
  297. package/dist/uuid-param-Djtff5Vy.js +2 -0
  298. package/dist/validation/all.d.mts +2 -2
  299. package/dist/validation/all.d.ts +2 -2
  300. package/dist/validation/all.js +1 -1
  301. package/dist/validation/all.mjs +1 -1
  302. package/dist/view-config.schema-BimOzKR_.js +2 -0
  303. package/dist/view-config.schema-DstNUMiD.mjs +2 -0
  304. package/dist/views.operations-B23oCL5P.js +2 -0
  305. package/dist/views.operations-B38jfGlX.mjs +2 -0
  306. package/dist/wire-types-B5ixUf2P.d.mts +11 -0
  307. package/dist/wire-types-btvuxrFk.d.ts +11 -0
  308. package/openapi.json +1292 -1839
  309. package/package.json +22 -2
  310. package/dist/all-2xry8t7d.js +0 -4
  311. package/dist/all-BWpaP2E2.mjs +0 -4
  312. package/dist/attribute-validators-CFa9B00S.mjs +0 -11
  313. package/dist/attribute-validators-Djse5LWc.js +0 -11
  314. package/dist/record-operation-BBOde9mE.mjs +0 -2
  315. package/dist/record-operation-BLhz84I4.js +0 -2
@@ -1,7 +1,7 @@
1
1
 
2
2
  import "./zod-locale.js";
3
- import { TenantId, Uuid } from "./utils-BdmqhdNL.js";
4
- import { SchemaError, SchemaErrorCode, ValidationError } from "./exceptions-CxTJ-9hJ.js";
3
+ import { TenantId, Uuid } from "./utils-_R0m2ygt.js";
4
+ import { SchemaError, SchemaErrorCode, ValidationError } from "./exceptions-Csd70p_-.js";
5
5
  import * as z$2 from "zod";
6
6
  import z, { z as z$1 } from "zod";
7
7
  import { ColorId, CountryIso3, CurrencyCode, IconName } from "@standards/constants";
@@ -2529,8 +2529,10 @@ export type RecordDriveSearchResult = z$2.output<typeof recordDriveSearchResultS
2529
2529
  * Text-extraction lifecycle for a single file within a document pack.
2530
2530
  * `unsupported` is terminal and is not a failure: the file's type has no text
2531
2531
  * to extract (an Outlook `.msg`, a `.docx`, a `.zip`), so nothing is queued.
2532
+ * `skipped` is terminal too: the file is over the extraction reader's size
2533
+ * cap, so it was left unread.
2532
2534
  */
2533
- export declare const FILE_OCR_STATUSES: readonly ["pending", "processing", "completed", "failed", "unsupported"];
2535
+ export declare const FILE_OCR_STATUSES: readonly ["pending", "processing", "completed", "failed", "unsupported", "skipped"];
2534
2536
  export type FileOcrStatus = (typeof FILE_OCR_STATUSES)[number];
2535
2537
  /**
2536
2538
  * A single anonymous file belonging to a document pack.
@@ -2550,6 +2552,7 @@ export declare const documentFileSchema: z$2.ZodObject<{
2550
2552
  failed: "failed";
2551
2553
  pending: "pending";
2552
2554
  processing: "processing";
2555
+ skipped: "skipped";
2553
2556
  unsupported: "unsupported";
2554
2557
  }>>;
2555
2558
  ocrText: z$2.ZodNullable<z$2.ZodString>;
@@ -2592,6 +2595,7 @@ export declare const attachedRecordDocumentSchema: z$2.ZodObject<{
2592
2595
  failed: "failed";
2593
2596
  pending: "pending";
2594
2597
  processing: "processing";
2598
+ skipped: "skipped";
2595
2599
  unsupported: "unsupported";
2596
2600
  }>>;
2597
2601
  ocrText: z$2.ZodNullable<z$2.ZodString>;
@@ -2617,6 +2621,7 @@ export declare const driveFileSchema: z$2.ZodObject<{
2617
2621
  failed: "failed";
2618
2622
  pending: "pending";
2619
2623
  processing: "processing";
2624
+ skipped: "skipped";
2620
2625
  unsupported: "unsupported";
2621
2626
  }>>;
2622
2627
  ocrConfidence: z$2.ZodNullable<z$2.ZodNumber>;
@@ -2668,6 +2673,7 @@ export declare const recordDriveChildSchema: z$2.ZodObject<{
2668
2673
  failed: "failed";
2669
2674
  pending: "pending";
2670
2675
  processing: "processing";
2676
+ skipped: "skipped";
2671
2677
  unsupported: "unsupported";
2672
2678
  }>>;
2673
2679
  ocrConfidence: z$2.ZodNullable<z$2.ZodNumber>;
@@ -2735,6 +2741,7 @@ export declare const recordDriveChildrenPageSchema: z$2.ZodObject<{
2735
2741
  failed: "failed";
2736
2742
  pending: "pending";
2737
2743
  processing: "processing";
2744
+ skipped: "skipped";
2738
2745
  unsupported: "unsupported";
2739
2746
  }>>;
2740
2747
  ocrConfidence: z$2.ZodNullable<z$2.ZodNumber>;
@@ -2922,15 +2929,17 @@ export declare const GITHUB_TRIGGER_CATALOG: {
2922
2929
  };
2923
2930
  readonly workflow: {
2924
2931
  readonly events: readonly ["workflow_run"];
2925
- readonly actions: readonly ["completed"];
2932
+ readonly actions: readonly ["completed", "failed", "succeeded"];
2926
2933
  readonly conditions: readonly ["workflowName", "conclusion", "branch", "originEvent"];
2927
2934
  };
2928
2935
  readonly check: {
2929
2936
  readonly events: readonly ["check_suite", "check_run"];
2930
- readonly actions: readonly ["completed"];
2937
+ readonly actions: readonly ["completed", "failed", "succeeded"];
2931
2938
  readonly conditions: readonly ["checkApp", "checkName", "conclusion"];
2932
2939
  };
2933
2940
  };
2941
+ /** The actions a normalized event answers to: its own, and the CI outcome a conclusion names. */
2942
+ export declare function githubEventActions(event: Pick<NormalizedGithubEvent, "family" | "action" | "facts">): string[];
2934
2943
  export declare const SLACK_TRIGGER_CATALOG: {
2935
2944
  readonly mention: {
2936
2945
  readonly events: readonly ["app_mention"];
@@ -3159,7 +3168,7 @@ export declare const githubTriggerMatchSchema: z$2.ZodPipe<z$2.ZodObject<{
3159
3168
  }, z$2.core.$strict>], "field">>>;
3160
3169
  }, z$2.core.$strict>, z$2.ZodTransform<{
3161
3170
  family: "check";
3162
- actions: "completed"[];
3171
+ actions: ("completed" | "failed" | "succeeded")[];
3163
3172
  repositories: string[];
3164
3173
  sender: GithubTriggerSender;
3165
3174
  conditions: ({
@@ -3245,7 +3254,7 @@ export declare const githubTriggerMatchSchema: z$2.ZodPipe<z$2.ZodObject<{
3245
3254
  })[];
3246
3255
  } | {
3247
3256
  family: "workflow";
3248
- actions: "completed"[];
3257
+ actions: ("completed" | "failed" | "succeeded")[];
3249
3258
  repositories: string[];
3250
3259
  sender: GithubTriggerSender;
3251
3260
  conditions: ({
@@ -3517,7 +3526,7 @@ export declare const connectorTriggerMatchSchema: z$2.ZodUnion<readonly [z$2.Zod
3517
3526
  }, z$2.core.$strict>], "field">>>;
3518
3527
  }, z$2.core.$strict>, z$2.ZodTransform<{
3519
3528
  family: "check";
3520
- actions: "completed"[];
3529
+ actions: ("completed" | "failed" | "succeeded")[];
3521
3530
  repositories: string[];
3522
3531
  sender: GithubTriggerSender;
3523
3532
  conditions: ({
@@ -3603,7 +3612,7 @@ export declare const connectorTriggerMatchSchema: z$2.ZodUnion<readonly [z$2.Zod
3603
3612
  })[];
3604
3613
  } | {
3605
3614
  family: "workflow";
3606
- actions: "completed"[];
3615
+ actions: ("completed" | "failed" | "succeeded")[];
3607
3616
  repositories: string[];
3608
3617
  sender: GithubTriggerSender;
3609
3618
  conditions: ({
@@ -3889,8 +3898,11 @@ export type NormalizedConnectorEvent = NormalizedGithubEvent | NormalizedSlackEv
3889
3898
  * Typed agent references: `<kind>:<id>`. The one parser shared by the runtime
3890
3899
  * verbs and the UI tool views; it never guesses a kind from a bare id.
3891
3900
  */
3892
- export declare const REFERENCE_KINDS: readonly ["record", "document", "file", "email", "thread", "event", "memory", "skill", "schema", "view", "page", "user", "guide", "bundle", "draft", "decision", "session", "catalog", "wake"];
3901
+ export declare const REFERENCE_KINDS: readonly ["record", "document", "file", "email", "thread", "event", "memory", "skill", "schema", "view", "page", "user", "guide", "bundle", "draft", "decision", "session", "catalog", "wake", "agent", "routine"];
3893
3902
  export type ReferenceKind = (typeof REFERENCE_KINDS)[number];
3903
+ /** The reserved id of a definition not created yet (`agent:new`, `routine:new`). */
3904
+ export declare const NEW_DEFINITION_ID = "new";
3905
+ export declare const DEFINITION_KINDS: readonly ["agent", "routine"];
3894
3906
  export type Reference = {
3895
3907
  kind: ReferenceKind;
3896
3908
  id: string;
@@ -4053,23 +4065,29 @@ export interface AddSharedMailboxInput {
4053
4065
  /** How a connector's consent ended, as the app's surfaces read it. */
4054
4066
  export type ConnectorCallbackStatusValue = "connected" | "error";
4055
4067
  /** The unified verbs an agent calls on typed references. */
4056
- export declare const VERB_NAMES: readonly ["search", "query", "read", "write", "delete", "organize", "copy", "send"];
4068
+ export declare const VERB_NAMES: readonly ["search", "query", "read", "write", "delete", "organize", "copy", "send", "start"];
4057
4069
  export type VerbName = (typeof VERB_NAMES)[number];
4058
4070
  /** The one verb by which an agent reaches a person, a session or a draft. */
4059
4071
  export declare const SEND_VERB_NAME = "send";
4072
+ /** The verb that starts a run, a subagent or a server. */
4073
+ export declare const START_VERB_NAME = "start";
4074
+ /** What `start` brings up: a stored definition, a subagent or a server. */
4075
+ export type StartTarget = "definition" | "subagent" | "server";
4076
+ /** Who `send` reaches: a person, a session, or a mailbox through a draft. */
4077
+ export type SendTarget = "person" | "session" | "draft";
4060
4078
  /** The verb that moves bytes between the sandbox, a mailbox and Standards' own files. */
4061
4079
  export declare const COPY_VERB_NAME = "copy";
4062
4080
  /** Record, document and file tools: always loaded, bounded by data permissions. */
4063
- export declare const CORE_RECORD_TOOL_NAMES: readonly ["search", "query", "read", "write", "delete", "organize", "copy", "send", "edit_content"];
4081
+ export declare const CORE_RECORD_TOOL_NAMES: readonly ["search", "query", "read", "write", "delete", "organize", "copy", "send", "start", "edit_content"];
4064
4082
  /** Core: always loaded, never removable (D2). */
4065
- export declare const CORE_TOOL_NAMES: readonly ["search", "query", "read", "write", "delete", "organize", "copy", "send", "edit_content", "compact_context", "request_work_mode", "write_todos"];
4083
+ export declare const CORE_TOOL_NAMES: readonly ["search", "query", "read", "write", "delete", "organize", "copy", "send", "start", "edit_content", "compact_context", "write_todos"];
4066
4084
  /**
4067
4085
  * The one browser tool: it opens a cloud browser that `agent-browser` drives
4068
4086
  * through `exec_command`, so a browser grant always comes with the sandbox.
4069
4087
  */
4070
4088
  export declare const BROWSER_TOOL_NAMES: readonly ["browser_launch"];
4071
4089
  /** Capabilities a grant switches on inside the verbs. */
4072
- export type VerbCapability = "bulk" | "activity" | "transcript" | "copy_email";
4090
+ export type VerbCapability = "bulk" | "activity" | "transcript" | "copy_email" | "agent_setup" | "subagent";
4073
4091
  /** Reference kinds available without any grant (`user` is gated by `userDirectory`, not a grant). */
4074
4092
  export declare const ALWAYS_KINDS: readonly ReferenceKind[];
4075
4093
  /** What a grant enables: the kinds and capabilities on the verbs, plus its non-verb tools. */
@@ -4078,16 +4096,20 @@ export type GrantEnables = {
4078
4096
  capabilities: readonly VerbCapability[];
4079
4097
  tools: readonly string[];
4080
4098
  };
4081
- /** A closed allowlist, written per verb: allowed actions, kinds, includes, batch size, aggregation. */
4082
- export type VerbAllowlist = { [V in VerbName]?: {
4099
+ /** The targets a verb's rule may name: `send`'s who it reaches, `start`'s what it starts; no other verb has any. */
4100
+ export type VerbRuleTarget<V extends VerbName> = V extends "send" ? SendTarget : V extends "start" ? StartTarget : never;
4101
+ /** One verb's closed rule: allowed actions, kinds, includes, batch size, aggregation, targets. */
4102
+ export interface VerbRule<V extends VerbName = VerbName> {
4083
4103
  actions?: readonly string[];
4084
4104
  kinds?: readonly ReferenceKind[];
4085
4105
  includes?: readonly string[];
4086
4106
  batch?: number;
4087
4107
  aggregate?: boolean;
4088
- /** `send` only: who the verb may reach. Absent means every target. */
4089
- targets?: readonly ("person" | "session" | "draft")[];
4090
- }; };
4108
+ /** `send`: who the verb may reach; `start`: what it may start. Absent means every target. */
4109
+ targets?: readonly VerbRuleTarget<V>[];
4110
+ }
4111
+ /** A closed allowlist, written per verb. */
4112
+ export type VerbAllowlist = { [V in VerbName]?: VerbRule<V>; };
4091
4113
  export declare const NATIVE_TOOL_GROUP_CATALOG: {
4092
4114
  readonly sandbox: {
4093
4115
  readonly icon: "terminal";
@@ -4115,7 +4137,7 @@ export declare const NATIVE_TOOL_GROUP_CATALOG: {
4115
4137
  };
4116
4138
  readonly orchestration: {
4117
4139
  readonly icon: "git-branch";
4118
- readonly tools: readonly ["spawn_agent"];
4140
+ readonly tools: readonly [];
4119
4141
  };
4120
4142
  readonly host: {
4121
4143
  readonly icon: "wrench";
@@ -4127,7 +4149,11 @@ export declare const NATIVE_TOOL_GROUP_CATALOG: {
4127
4149
  };
4128
4150
  readonly "agent-config": {
4129
4151
  readonly icon: "sparkles";
4130
- readonly tools: readonly ["get_agents", "upsert_agent"];
4152
+ readonly tools: readonly [];
4153
+ };
4154
+ readonly schema: {
4155
+ readonly icon: "database";
4156
+ readonly tools: readonly ["discard_architect_draft", "draft_schema", "get_architect_draft", "search_icons"];
4131
4157
  };
4132
4158
  };
4133
4159
  export declare const RESOURCE_KIND_CATALOG: {
@@ -4206,8 +4232,8 @@ export declare const GRANT_ENABLES: {
4206
4232
  };
4207
4233
  readonly orchestration: {
4208
4234
  readonly kinds: readonly [];
4209
- readonly capabilities: readonly [];
4210
- readonly tools: readonly ["spawn_agent"];
4235
+ readonly capabilities: readonly ["subagent"];
4236
+ readonly tools: readonly [];
4211
4237
  };
4212
4238
  readonly host: {
4213
4239
  readonly kinds: readonly [];
@@ -4220,9 +4246,14 @@ export declare const GRANT_ENABLES: {
4220
4246
  readonly tools: readonly ["browser_launch"];
4221
4247
  };
4222
4248
  readonly "agent-config": {
4249
+ readonly kinds: readonly [];
4250
+ readonly capabilities: readonly ["agent_setup"];
4251
+ readonly tools: readonly [];
4252
+ };
4253
+ readonly schema: {
4223
4254
  readonly kinds: readonly [];
4224
4255
  readonly capabilities: readonly [];
4225
- readonly tools: readonly ["get_agents", "upsert_agent"];
4256
+ readonly tools: readonly ["discard_architect_draft", "draft_schema", "get_architect_draft", "search_icons"];
4226
4257
  };
4227
4258
  readonly mcp: {
4228
4259
  readonly kinds: readonly [];
@@ -4275,10 +4306,9 @@ export declare const GRANT_ENABLES: {
4275
4306
  readonly tools: readonly [];
4276
4307
  };
4277
4308
  };
4278
- /** Tools of the work-mode and interactive surfaces: architect mode, setup, default-chat loading. `agent-config` is also a grant, for a routine that proposes. */
4309
+ /** Tools of the work-mode and interactive surfaces: architect mode, setup, default-chat loading. `agent-config` and `schema` are also grants. */
4279
4310
  export declare const SURFACE_TOOL_NAMES: {
4280
- readonly schema: readonly ["discard_architect_draft", "draft_schema", "get_architect_draft", "get_schema_history", "request_design_review", "search_icons"];
4281
- readonly "agent-config": readonly ["get_agents", "upsert_agent"];
4311
+ readonly schema: readonly ["discard_architect_draft", "draft_schema", "get_architect_draft", "search_icons", "get_schema_history", "request_design_review"];
4282
4312
  readonly setup: readonly ["request_setup"];
4283
4313
  readonly internal: readonly ["load_toolset"];
4284
4314
  };
@@ -4337,7 +4367,7 @@ export declare function resourceGrant(kind: ResourceGrantKind, id: string): Reso
4337
4367
  /** Deduplicated, sorted by UTF-16 code unit (the JS default sort): the stored form of every grant list. */
4338
4368
  export declare function canonicalToolGroups<T extends string>(grants: readonly T[]): T[];
4339
4369
  /** Native tool groups an agent may be granted, in catalogue order. */
4340
- export declare const NATIVE_TOOL_GROUPS: readonly ["sandbox", "web", "image", "memory", "bulk", "activity", "orchestration", "host", "cloud-browser", "agent-config"];
4370
+ export declare const NATIVE_TOOL_GROUPS: readonly ["sandbox", "web", "image", "memory", "bulk", "activity", "orchestration", "host", "cloud-browser", "agent-config", "schema"];
4341
4371
  export type NativeToolGroup = (typeof NATIVE_TOOL_GROUPS)[number];
4342
4372
  /** The tool that starts the session's cloud browser — read by the runtime and the chat. */
4343
4373
  export declare const BROWSER_LAUNCH_TOOL_NAME = "browser_launch";
@@ -4359,7 +4389,7 @@ export interface ToolSummary {
4359
4389
  /** MCP and host tools only. */
4360
4390
  description?: string;
4361
4391
  risk: ToolSummaryRisk;
4362
- /** Asks a person before running in a manual session. */
4392
+ /** Asks a person before running in a manual session (false for a tool exempt from the gate). */
4363
4393
  approval: boolean;
4364
4394
  }
4365
4395
  export interface DeviceGrantDetail {
@@ -4435,6 +4465,7 @@ export declare const fileSchema: z$2.ZodObject<{
4435
4465
  failed: "failed";
4436
4466
  pending: "pending";
4437
4467
  processing: "processing";
4468
+ skipped: "skipped";
4438
4469
  unsupported: "unsupported";
4439
4470
  }>>>;
4440
4471
  ocrText: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodString>>;
@@ -4812,13 +4843,8 @@ export declare const agentSessionSchema: z$2.ZodObject<{
4812
4843
  auto: "auto";
4813
4844
  manual: "manual";
4814
4845
  }>;
4815
- workMode: z$2.ZodEnum<{
4816
- architect: "architect";
4817
- execute: "execute";
4818
- }>;
4819
4846
  focus: z$2.ZodBoolean;
4820
4847
  personConversation: z$2.ZodBoolean;
4821
- workModeVersion: z$2.ZodNumber;
4822
4848
  version: z$2.ZodNumber;
4823
4849
  loadedToolsets: z$2.ZodArray<z$2.ZodString>;
4824
4850
  inferenceOverrides: z$2.ZodObject<{
@@ -4924,306 +4950,6 @@ export declare const agentSessionSchema: z$2.ZodObject<{
4924
4950
  listCursor: z$2.ZodOptional<z$2.ZodString>;
4925
4951
  nextWakeAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
4926
4952
  }, z$2.core.$strip>;
4927
- /** `{ kind, session }` or the approval a posture change asks for first. */
4928
- export declare const setAgentSessionWorkPostureResultSchema: z$2.ZodDiscriminatedUnion<[z$2.ZodObject<{
4929
- kind: z$2.ZodEnum<{
4930
- changed: "changed";
4931
- stale: "stale";
4932
- }>;
4933
- session: z$2.ZodObject<{
4934
- id: z$2.ZodString;
4935
- tenantId: z$2.ZodString;
4936
- mode: z$2.ZodEnum<{
4937
- autonomous: "autonomous";
4938
- interactive: "interactive";
4939
- }>;
4940
- state: z$2.ZodObject<{
4941
- phase: z$2.ZodEnum<{
4942
- idle: "idle";
4943
- parked: "parked";
4944
- running: "running";
4945
- }>;
4946
- parkedOn: z$2.ZodOptional<z$2.ZodEnum<{
4947
- agents: "agents";
4948
- human: "human";
4949
- }>>;
4950
- locked: z$2.ZodOptional<z$2.ZodBoolean>;
4951
- humanRequestIds: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
4952
- outcome: z$2.ZodOptional<z$2.ZodEnum<{
4953
- cancelled: "cancelled";
4954
- completed: "completed";
4955
- failed: "failed";
4956
- }>>;
4957
- runningTurnId: z$2.ZodOptional<z$2.ZodString>;
4958
- lastTurnId: z$2.ZodOptional<z$2.ZodString>;
4959
- }, z$2.core.$strip>;
4960
- approvalMode: z$2.ZodEnum<{
4961
- auto: "auto";
4962
- manual: "manual";
4963
- }>;
4964
- workMode: z$2.ZodEnum<{
4965
- architect: "architect";
4966
- execute: "execute";
4967
- }>;
4968
- focus: z$2.ZodBoolean;
4969
- personConversation: z$2.ZodBoolean;
4970
- workModeVersion: z$2.ZodNumber;
4971
- version: z$2.ZodNumber;
4972
- loadedToolsets: z$2.ZodArray<z$2.ZodString>;
4973
- inferenceOverrides: z$2.ZodObject<{
4974
- speed: z$2.ZodOptional<z$2.ZodEnum<{
4975
- fast: "fast";
4976
- standard: "standard";
4977
- }>>;
4978
- reasoning: z$2.ZodOptional<z$2.ZodEnum<{
4979
- high: "high";
4980
- low: "low";
4981
- medium: "medium";
4982
- minimal: "minimal";
4983
- none: "none";
4984
- xhigh: "xhigh";
4985
- }>>;
4986
- routing: z$2.ZodOptional<z$2.ZodEnum<{
4987
- auto: "auto";
4988
- manual: "manual";
4989
- }>>;
4990
- model: z$2.ZodOptional<z$2.ZodObject<{
4991
- provider: z$2.ZodEnum<{
4992
- alibaba: "alibaba";
4993
- anthropic: "anthropic";
4994
- cursor: "cursor";
4995
- deepseek: "deepseek";
4996
- google: "google";
4997
- meta: "meta";
4998
- minimax: "minimax";
4999
- mistral: "mistral";
5000
- moonshotai: "moonshotai";
5001
- openai: "openai";
5002
- spacexai: "spacexai";
5003
- zai: "zai";
5004
- }>;
5005
- model: z$2.ZodString;
5006
- }, z$2.core.$strip>>;
5007
- imageModel: z$2.ZodOptional<z$2.ZodString>;
5008
- }, z$2.core.$strip>;
5009
- origin: z$2.ZodEnum<{
5010
- child: "child";
5011
- default: "default";
5012
- definition: "definition";
5013
- inline: "inline";
5014
- }>;
5015
- definitionId: z$2.ZodOptional<z$2.ZodString>;
5016
- inlineConfig: z$2.ZodOptional<z$2.ZodType<AgentConfig, AgentConfig, z$2.core.$ZodTypeInternals<AgentConfig, AgentConfig>>>;
5017
- parentSessionId: z$2.ZodOptional<z$2.ZodString>;
5018
- rootSessionId: z$2.ZodString;
5019
- depth: z$2.ZodNumber;
5020
- forkedFromSessionId: z$2.ZodOptional<z$2.ZodString>;
5021
- forkedAtMessageId: z$2.ZodOptional<z$2.ZodString>;
5022
- missionPrompt: z$2.ZodOptional<z$2.ZodString>;
5023
- treeCostUsd: z$2.ZodNumber;
5024
- name: z$2.ZodOptional<z$2.ZodString>;
5025
- metadata: z$2.ZodOptional<z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>>;
5026
- createdBy: z$2.ZodOptional<z$2.ZodString>;
5027
- createdAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
5028
- updatedAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
5029
- completedAt: z$2.ZodOptional<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>;
5030
- expiresAt: z$2.ZodOptional<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>;
5031
- archivedAt: z$2.ZodOptional<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>;
5032
- lastAgentActivityAt: z$2.ZodOptional<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>;
5033
- lastReadAt: z$2.ZodOptional<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>;
5034
- lastUserActivityAt: z$2.ZodOptional<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>;
5035
- harness: z$2.ZodOptional<z$2.ZodType<"claude-code" | "codex" | "cursor", string, z$2.core.$ZodTypeInternals<"claude-code" | "codex" | "cursor", string>>>;
5036
- environmentId: z$2.ZodOptional<z$2.ZodString>;
5037
- size: z$2.ZodOptional<z$2.ZodEnum<{
5038
- default: "default";
5039
- large: "large";
5040
- small: "small";
5041
- }>>;
5042
- harnessState: z$2.ZodOptional<z$2.ZodUnknown>;
5043
- definitionAppearance: z$2.ZodOptional<z$2.ZodObject<{
5044
- name: z$2.ZodString;
5045
- kind: z$2.ZodEnum<{
5046
- agent: "agent";
5047
- routine: "routine";
5048
- }>;
5049
- label: z$2.ZodOptional<z$2.ZodString>;
5050
- avatar: z$2.ZodOptional<z$2.ZodObject<{
5051
- type: z$2.ZodEnum<{
5052
- blob: "blob";
5053
- circle: "circle";
5054
- clover: "clover";
5055
- drop: "drop";
5056
- flower: "flower";
5057
- hexagon: "hexagon";
5058
- octopus: "octopus";
5059
- pebble: "pebble";
5060
- pill: "pill";
5061
- puddle: "puddle";
5062
- square: "square";
5063
- triangle: "triangle";
5064
- }>;
5065
- color: z$2.ZodType<"brick" | "clay" | "ink" | "iris" | "lagoon" | "moss" | "ochre" | "peony" | "sage" | "stone" | "terra", string, z$2.core.$ZodTypeInternals<"brick" | "clay" | "ink" | "iris" | "lagoon" | "moss" | "ochre" | "peony" | "sage" | "stone" | "terra", string>>;
5066
- expression: z$2.ZodEnum<{
5067
- neutral: "neutral";
5068
- relaxed: "relaxed";
5069
- }>;
5070
- }, z$2.core.$strip>>;
5071
- }, z$2.core.$strip>>;
5072
- readThrough: z$2.ZodOptional<z$2.ZodLiteral<true>>;
5073
- listCursor: z$2.ZodOptional<z$2.ZodString>;
5074
- nextWakeAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
5075
- }, z$2.core.$strip>;
5076
- }, z$2.core.$strip>, z$2.ZodObject<{
5077
- kind: z$2.ZodLiteral<"approval-required">;
5078
- approvalId: z$2.ZodString;
5079
- current: z$2.ZodObject<{
5080
- id: z$2.ZodString;
5081
- tenantId: z$2.ZodString;
5082
- mode: z$2.ZodEnum<{
5083
- autonomous: "autonomous";
5084
- interactive: "interactive";
5085
- }>;
5086
- state: z$2.ZodObject<{
5087
- phase: z$2.ZodEnum<{
5088
- idle: "idle";
5089
- parked: "parked";
5090
- running: "running";
5091
- }>;
5092
- parkedOn: z$2.ZodOptional<z$2.ZodEnum<{
5093
- agents: "agents";
5094
- human: "human";
5095
- }>>;
5096
- locked: z$2.ZodOptional<z$2.ZodBoolean>;
5097
- humanRequestIds: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
5098
- outcome: z$2.ZodOptional<z$2.ZodEnum<{
5099
- cancelled: "cancelled";
5100
- completed: "completed";
5101
- failed: "failed";
5102
- }>>;
5103
- runningTurnId: z$2.ZodOptional<z$2.ZodString>;
5104
- lastTurnId: z$2.ZodOptional<z$2.ZodString>;
5105
- }, z$2.core.$strip>;
5106
- approvalMode: z$2.ZodEnum<{
5107
- auto: "auto";
5108
- manual: "manual";
5109
- }>;
5110
- workMode: z$2.ZodEnum<{
5111
- architect: "architect";
5112
- execute: "execute";
5113
- }>;
5114
- focus: z$2.ZodBoolean;
5115
- personConversation: z$2.ZodBoolean;
5116
- workModeVersion: z$2.ZodNumber;
5117
- version: z$2.ZodNumber;
5118
- loadedToolsets: z$2.ZodArray<z$2.ZodString>;
5119
- inferenceOverrides: z$2.ZodObject<{
5120
- speed: z$2.ZodOptional<z$2.ZodEnum<{
5121
- fast: "fast";
5122
- standard: "standard";
5123
- }>>;
5124
- reasoning: z$2.ZodOptional<z$2.ZodEnum<{
5125
- high: "high";
5126
- low: "low";
5127
- medium: "medium";
5128
- minimal: "minimal";
5129
- none: "none";
5130
- xhigh: "xhigh";
5131
- }>>;
5132
- routing: z$2.ZodOptional<z$2.ZodEnum<{
5133
- auto: "auto";
5134
- manual: "manual";
5135
- }>>;
5136
- model: z$2.ZodOptional<z$2.ZodObject<{
5137
- provider: z$2.ZodEnum<{
5138
- alibaba: "alibaba";
5139
- anthropic: "anthropic";
5140
- cursor: "cursor";
5141
- deepseek: "deepseek";
5142
- google: "google";
5143
- meta: "meta";
5144
- minimax: "minimax";
5145
- mistral: "mistral";
5146
- moonshotai: "moonshotai";
5147
- openai: "openai";
5148
- spacexai: "spacexai";
5149
- zai: "zai";
5150
- }>;
5151
- model: z$2.ZodString;
5152
- }, z$2.core.$strip>>;
5153
- imageModel: z$2.ZodOptional<z$2.ZodString>;
5154
- }, z$2.core.$strip>;
5155
- origin: z$2.ZodEnum<{
5156
- child: "child";
5157
- default: "default";
5158
- definition: "definition";
5159
- inline: "inline";
5160
- }>;
5161
- definitionId: z$2.ZodOptional<z$2.ZodString>;
5162
- inlineConfig: z$2.ZodOptional<z$2.ZodType<AgentConfig, AgentConfig, z$2.core.$ZodTypeInternals<AgentConfig, AgentConfig>>>;
5163
- parentSessionId: z$2.ZodOptional<z$2.ZodString>;
5164
- rootSessionId: z$2.ZodString;
5165
- depth: z$2.ZodNumber;
5166
- forkedFromSessionId: z$2.ZodOptional<z$2.ZodString>;
5167
- forkedAtMessageId: z$2.ZodOptional<z$2.ZodString>;
5168
- missionPrompt: z$2.ZodOptional<z$2.ZodString>;
5169
- treeCostUsd: z$2.ZodNumber;
5170
- name: z$2.ZodOptional<z$2.ZodString>;
5171
- metadata: z$2.ZodOptional<z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>>;
5172
- createdBy: z$2.ZodOptional<z$2.ZodString>;
5173
- createdAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
5174
- updatedAt: z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>;
5175
- completedAt: z$2.ZodOptional<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>;
5176
- expiresAt: z$2.ZodOptional<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>;
5177
- archivedAt: z$2.ZodOptional<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>;
5178
- lastAgentActivityAt: z$2.ZodOptional<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>;
5179
- lastReadAt: z$2.ZodOptional<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>;
5180
- lastUserActivityAt: z$2.ZodOptional<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>;
5181
- harness: z$2.ZodOptional<z$2.ZodType<"claude-code" | "codex" | "cursor", string, z$2.core.$ZodTypeInternals<"claude-code" | "codex" | "cursor", string>>>;
5182
- environmentId: z$2.ZodOptional<z$2.ZodString>;
5183
- size: z$2.ZodOptional<z$2.ZodEnum<{
5184
- default: "default";
5185
- large: "large";
5186
- small: "small";
5187
- }>>;
5188
- harnessState: z$2.ZodOptional<z$2.ZodUnknown>;
5189
- definitionAppearance: z$2.ZodOptional<z$2.ZodObject<{
5190
- name: z$2.ZodString;
5191
- kind: z$2.ZodEnum<{
5192
- agent: "agent";
5193
- routine: "routine";
5194
- }>;
5195
- label: z$2.ZodOptional<z$2.ZodString>;
5196
- avatar: z$2.ZodOptional<z$2.ZodObject<{
5197
- type: z$2.ZodEnum<{
5198
- blob: "blob";
5199
- circle: "circle";
5200
- clover: "clover";
5201
- drop: "drop";
5202
- flower: "flower";
5203
- hexagon: "hexagon";
5204
- octopus: "octopus";
5205
- pebble: "pebble";
5206
- pill: "pill";
5207
- puddle: "puddle";
5208
- square: "square";
5209
- triangle: "triangle";
5210
- }>;
5211
- color: z$2.ZodType<"brick" | "clay" | "ink" | "iris" | "lagoon" | "moss" | "ochre" | "peony" | "sage" | "stone" | "terra", string, z$2.core.$ZodTypeInternals<"brick" | "clay" | "ink" | "iris" | "lagoon" | "moss" | "ochre" | "peony" | "sage" | "stone" | "terra", string>>;
5212
- expression: z$2.ZodEnum<{
5213
- neutral: "neutral";
5214
- relaxed: "relaxed";
5215
- }>;
5216
- }, z$2.core.$strip>>;
5217
- }, z$2.core.$strip>>;
5218
- readThrough: z$2.ZodOptional<z$2.ZodLiteral<true>>;
5219
- listCursor: z$2.ZodOptional<z$2.ZodString>;
5220
- nextWakeAt: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>>;
5221
- }, z$2.core.$strip>;
5222
- targetApprovalMode: z$2.ZodEnum<{
5223
- auto: "auto";
5224
- manual: "manual";
5225
- }>;
5226
- }, z$2.core.$strip>], "kind">;
5227
4953
  /**
5228
4954
  * What a session command came to. `created: false` when an earlier command
5229
4955
  * answered this one (its idempotency key, an identical repeat): `seq` is that
@@ -5268,16 +4994,6 @@ export declare const agentTodoPlanViewSchema: z$2.ZodObject<{
5268
4994
  pending: "pending";
5269
4995
  }>;
5270
4996
  updatedAt: z$2.ZodOptional<z$2.ZodNumber>;
5271
- target: z$2.ZodOptional<z$2.ZodObject<{
5272
- phase: z$2.ZodEnum<{
5273
- fields: "fields";
5274
- objects: "objects";
5275
- relations: "relations";
5276
- samples: "samples";
5277
- views: "views";
5278
- }>;
5279
- objectName: z$2.ZodOptional<z$2.ZodString>;
5280
- }, z$2.core.$strip>>;
5281
4997
  }, z$2.core.$strip>>;
5282
4998
  version: z$2.ZodNumber;
5283
4999
  createdAt: z$2.ZodString;
@@ -5603,6 +5319,8 @@ export declare const agentSessionMessageOutputSchema: z$2.ZodObject<{
5603
5319
  subject: z$2.ZodNullable<z$2.ZodString>;
5604
5320
  text: z$2.ZodString;
5605
5321
  truncatedChars: z$2.ZodNumber;
5322
+ bodyHtml: z$2.ZodOptional<z$2.ZodString>;
5323
+ signatureHtml: z$2.ZodOptional<z$2.ZodString>;
5606
5324
  outsideThread: z$2.ZodArray<z$2.ZodString>;
5607
5325
  attachments: z$2.ZodArray<z$2.ZodObject<{
5608
5326
  name: z$2.ZodString;
@@ -5825,6 +5543,8 @@ export declare const agentHistoryMessageSchema: z$2.ZodObject<{
5825
5543
  subject: z$2.ZodNullable<z$2.ZodString>;
5826
5544
  text: z$2.ZodString;
5827
5545
  truncatedChars: z$2.ZodNumber;
5546
+ bodyHtml: z$2.ZodOptional<z$2.ZodString>;
5547
+ signatureHtml: z$2.ZodOptional<z$2.ZodString>;
5828
5548
  outsideThread: z$2.ZodArray<z$2.ZodString>;
5829
5549
  attachments: z$2.ZodArray<z$2.ZodObject<{
5830
5550
  name: z$2.ZodString;
@@ -6053,6 +5773,8 @@ export declare const agentSessionHistoryPageSchema: z$2.ZodObject<{
6053
5773
  subject: z$2.ZodNullable<z$2.ZodString>;
6054
5774
  text: z$2.ZodString;
6055
5775
  truncatedChars: z$2.ZodNumber;
5776
+ bodyHtml: z$2.ZodOptional<z$2.ZodString>;
5777
+ signatureHtml: z$2.ZodOptional<z$2.ZodString>;
6056
5778
  outsideThread: z$2.ZodArray<z$2.ZodString>;
6057
5779
  attachments: z$2.ZodArray<z$2.ZodObject<{
6058
5780
  name: z$2.ZodString;
@@ -6310,6 +6032,8 @@ export declare const agentApprovalResolutionSchema: z$2.ZodObject<{
6310
6032
  subject: z$2.ZodNullable<z$2.ZodString>;
6311
6033
  text: z$2.ZodString;
6312
6034
  truncatedChars: z$2.ZodNumber;
6035
+ bodyHtml: z$2.ZodOptional<z$2.ZodString>;
6036
+ signatureHtml: z$2.ZodOptional<z$2.ZodString>;
6313
6037
  outsideThread: z$2.ZodArray<z$2.ZodString>;
6314
6038
  attachments: z$2.ZodArray<z$2.ZodObject<{
6315
6039
  name: z$2.ZodString;
@@ -6540,6 +6264,8 @@ export declare const agentRequestAnswerSchema: z$2.ZodObject<{
6540
6264
  subject: z$2.ZodNullable<z$2.ZodString>;
6541
6265
  text: z$2.ZodString;
6542
6266
  truncatedChars: z$2.ZodNumber;
6267
+ bodyHtml: z$2.ZodOptional<z$2.ZodString>;
6268
+ signatureHtml: z$2.ZodOptional<z$2.ZodString>;
6543
6269
  outsideThread: z$2.ZodArray<z$2.ZodString>;
6544
6270
  attachments: z$2.ZodArray<z$2.ZodObject<{
6545
6271
  name: z$2.ZodString;
@@ -7188,6 +6914,7 @@ export declare const agentToolCatalogSchema: z$2.ZodObject<{
7188
6914
  memory: "memory";
7189
6915
  orchestration: "orchestration";
7190
6916
  sandbox: "sandbox";
6917
+ schema: "schema";
7191
6918
  web: "web";
7192
6919
  }>;
7193
6920
  granted: z$2.ZodBoolean;
@@ -7195,6 +6922,7 @@ export declare const agentToolCatalogSchema: z$2.ZodObject<{
7195
6922
  reason: z$2.ZodOptional<z$2.ZodType<ToolGrantReason, string, z$2.core.$ZodTypeInternals<ToolGrantReason, string>>>;
7196
6923
  enables: z$2.ZodObject<{
7197
6924
  kinds: z$2.ZodArray<z$2.ZodEnum<{
6925
+ agent: "agent";
7198
6926
  bundle: "bundle";
7199
6927
  catalog: "catalog";
7200
6928
  decision: "decision";
@@ -7207,6 +6935,7 @@ export declare const agentToolCatalogSchema: z$2.ZodObject<{
7207
6935
  memory: "memory";
7208
6936
  page: "page";
7209
6937
  record: "record";
6938
+ routine: "routine";
7210
6939
  schema: "schema";
7211
6940
  session: "session";
7212
6941
  skill: "skill";
@@ -7217,8 +6946,10 @@ export declare const agentToolCatalogSchema: z$2.ZodObject<{
7217
6946
  }>>;
7218
6947
  capabilities: z$2.ZodArray<z$2.ZodEnum<{
7219
6948
  activity: "activity";
6949
+ agent_setup: "agent_setup";
7220
6950
  bulk: "bulk";
7221
6951
  copy_email: "copy_email";
6952
+ subagent: "subagent";
7222
6953
  transcript: "transcript";
7223
6954
  }>>;
7224
6955
  }, z$2.core.$strip>;
@@ -7278,6 +7009,7 @@ export declare const agentToolCatalogSchema: z$2.ZodObject<{
7278
7009
  }, z$2.core.$strip>>;
7279
7010
  enables: z$2.ZodObject<{
7280
7011
  kinds: z$2.ZodArray<z$2.ZodEnum<{
7012
+ agent: "agent";
7281
7013
  bundle: "bundle";
7282
7014
  catalog: "catalog";
7283
7015
  decision: "decision";
@@ -7290,6 +7022,7 @@ export declare const agentToolCatalogSchema: z$2.ZodObject<{
7290
7022
  memory: "memory";
7291
7023
  page: "page";
7292
7024
  record: "record";
7025
+ routine: "routine";
7293
7026
  schema: "schema";
7294
7027
  session: "session";
7295
7028
  skill: "skill";
@@ -7300,8 +7033,10 @@ export declare const agentToolCatalogSchema: z$2.ZodObject<{
7300
7033
  }>>;
7301
7034
  capabilities: z$2.ZodArray<z$2.ZodEnum<{
7302
7035
  activity: "activity";
7036
+ agent_setup: "agent_setup";
7303
7037
  bulk: "bulk";
7304
7038
  copy_email: "copy_email";
7039
+ subagent: "subagent";
7305
7040
  transcript: "transcript";
7306
7041
  }>>;
7307
7042
  }, z$2.core.$strip>;
@@ -8290,7 +8025,6 @@ export declare const publishBlockerSchema: z$2.ZodObject<{
8290
8025
  export declare const schemaDraftOutputSchema: z$2.ZodObject<{
8291
8026
  id: z$2.ZodString;
8292
8027
  actorId: z$2.ZodString;
8293
- agentSessionId: z$2.ZodNullable<z$2.ZodString>;
8294
8028
  operations: z$2.ZodArray<z$2.ZodType<ViewOperation, ViewOperation, z$2.core.$ZodTypeInternals<ViewOperation, ViewOperation>>>;
8295
8029
  baselines: z$2.ZodRecord<z$2.ZodString, z$2.ZodString>;
8296
8030
  status: z$2.ZodEnum<{
@@ -8326,7 +8060,6 @@ export declare const schemaDraftOutputSchema: z$2.ZodObject<{
8326
8060
  export declare const draftAppendOutputSchema: z$2.ZodObject<{
8327
8061
  id: z$2.ZodString;
8328
8062
  actorId: z$2.ZodString;
8329
- agentSessionId: z$2.ZodNullable<z$2.ZodString>;
8330
8063
  operations: z$2.ZodArray<z$2.ZodType<ViewOperation, ViewOperation, z$2.core.$ZodTypeInternals<ViewOperation, ViewOperation>>>;
8331
8064
  baselines: z$2.ZodRecord<z$2.ZodString, z$2.ZodString>;
8332
8065
  status: z$2.ZodEnum<{
@@ -11021,6 +10754,11 @@ export interface BaseOperation {
11021
10754
  note?: string;
11022
10755
  /** Set on every operation adding a bundle produced; the publish records it in `installed_bundle_pieces`. */
11023
10756
  origin?: OperationOrigin;
10757
+ /**
10758
+ * The conversation that wrote it, stamped by the server on append; absent
10759
+ * for a person's hand edit. A publication's outcome is told to it.
10760
+ */
10761
+ sessionId?: string;
11024
10762
  }
11025
10763
  export interface ProposalRevision {
11026
10764
  draftId: string;
@@ -11090,14 +10828,13 @@ export interface DraftStepFocus extends DraftFocus {
11090
10828
  };
11091
10829
  }
11092
10830
  /**
11093
- * Who wrote a step (spec #5931, R17): the agent session that wrote it and its
11094
- * role in the build (`builder`). A builder, confined to one object, also
11095
- * names it: `key` is stable for the builder (its object's name), `label` is
11096
- * what the person reads (that object's plural label, its label without one).
10831
+ * Who wrote a step (spec #5931, R17): the agent session that wrote it. A
10832
+ * writer confined to one object also names it: `key` is stable for the writer
10833
+ * (its object's name), `label` is what the person reads (that object's plural
10834
+ * label, its label without one).
11097
10835
  */
11098
10836
  export interface DraftStepWriter {
11099
10837
  sessionId: string;
11100
- role?: string;
11101
10838
  key?: string;
11102
10839
  label?: string;
11103
10840
  }
@@ -11581,8 +11318,6 @@ export declare const DEFAULT_APPROVAL_POLICY: AgentApprovalPolicy;
11581
11318
  * `mutation` only — deletions and outward sends keep asking.
11582
11319
  */
11583
11320
  export type SessionApprovalMode = "manual" | "auto";
11584
- /** What the agent may do: investigate/design, or execute the approved work. */
11585
- export type AgentWorkMode = "execute" | "architect";
11586
11321
  export declare const TODO_PLAN_STATUSES: readonly ["active", "completed", "abandoned"];
11587
11322
  export type AgentTodoPlanStatus = (typeof TODO_PLAN_STATUSES)[number];
11588
11323
  export type TriggerEventType = "record.created" | "record.updated" | "form.submitted" | "webhook" | "github" | "slack";
@@ -11766,6 +11501,13 @@ export interface AgentBlueprint {
11766
11501
  description?: string;
11767
11502
  systemPrompt: string;
11768
11503
  model: ModelDefinition;
11504
+ /**
11505
+ * The host's model role the agent runs on instead of `model`: `utility`,
11506
+ * the host's utility model, resolved at each sync and at each model
11507
+ * reconciliation (every tenant, nightly) so the agent follows the host's
11508
+ * choice. `model` stands where the host has no model registry.
11509
+ */
11510
+ modelRole?: "utility";
11769
11511
  /** Native groups only: a blueprint cannot know tenant resource ids. */
11770
11512
  toolGroups: NativeToolGroup[];
11771
11513
  schedule?: AgentSchedule;
@@ -11953,6 +11695,13 @@ export interface ToolImpact {
11953
11695
  text: string;
11954
11696
  /** Characters not shown, 0 when whole. */
11955
11697
  truncatedChars: number;
11698
+ /**
11699
+ * The draft's own words as HTML, whole and without the signature: what the
11700
+ * card's editor starts from, and what an approval may carry back edited.
11701
+ */
11702
+ bodyHtml?: string;
11703
+ /** The draft's signature, shown apart under the words and never edited on the card. */
11704
+ signatureHtml?: string;
11956
11705
  /** Recipients not party to the parent thread. */
11957
11706
  outsideThread: string[];
11958
11707
  /** The files that leave with it; adding or removing one changes `updatedAt`. */
@@ -12808,68 +12557,9 @@ export interface AITodoItem {
12808
12557
  description: string;
12809
12558
  status: AITodoStatus;
12810
12559
  updatedAt?: number;
12811
- /**
12812
- * What an architect build todo is anchored on in the draft. A targeted
12813
- * todo's status is the server's: `draft_schema` recomputes it from the
12814
- * folded draft, and `write_todos` keeps the stored one.
12815
- */
12816
- target?: AITodoTarget;
12817
- }
12818
- /**
12819
- * The phases of an architect build, always worked in this order: a plan
12820
- * whose targeted todos run out of this order is refused.
12821
- */
12822
- export declare const TODO_PHASES: readonly ["objects", "fields", "relations", "views", "samples"];
12823
- export type AITodoPhase = (typeof TODO_PHASES)[number];
12824
- /** Where a build todo is anchored, by phase. */
12825
- export type AITodoTarget =
12826
- /** Completed when the folded draft has the object. */
12827
- {
12828
- phase: "objects";
12829
- objectName: string;
12830
- } |
12831
- /** Completed when every named attribute is on the object. */
12832
- {
12833
- phase: "fields";
12834
- objectName: string;
12835
- attributes: string[];
12836
- } |
12837
- /** Completed when every named relation attribute is on the object. */
12838
- {
12839
- phase: "relations";
12840
- objectName: string;
12841
- attributes: string[];
12842
- } |
12843
- /**
12844
- * Completed when an executed operation of the draft writes that view (and,
12845
- * when named, that content). The empty default views `add_object` folds do
12846
- * not count, nor does a view that is merely published.
12847
- */
12848
- {
12849
- phase: "views";
12850
- objectName: string;
12851
- viewName: string;
12852
- contentName?: string;
12853
- } | {
12854
- phase: "views";
12855
- pageId: string;
12856
- } |
12857
- /** Completed when the draft holds at least one sample record of the object. */
12858
- {
12859
- phase: "samples";
12860
- objectName: string;
12861
- };
12862
- /**
12863
- * A todo as clients read it: a target is exposed by its phase, which the
12864
- * progress surfaces read, and by its object when it names one, which picks the
12865
- * builder the cursor follows (R17).
12866
- */
12867
- export interface AgentTodoPlanViewItem extends Omit<AITodoItem, "target"> {
12868
- target?: {
12869
- phase: AITodoPhase;
12870
- objectName?: string;
12871
- };
12872
12560
  }
12561
+ /** A todo as clients read it. */
12562
+ export type AgentTodoPlanViewItem = AITodoItem;
12873
12563
  /**
12874
12564
  * Persisted bounds on a todo, beside the type they constrain.
12875
12565
  *
@@ -15058,9 +14748,8 @@ declare const machineKeySchema: z$2.ZodDiscriminatedUnion<[z$2.ZodObject<{
15058
14748
  branch: z$2.ZodString;
15059
14749
  }, z$2.core.$strip>], "kind">;
15060
14750
  /**
15061
- * What a machine started from: a real environment, a default environment
15062
- * (`harness: null` = the Standards default), or none (a conversation's own
15063
- * sandbox).
14751
+ * What a machine started from: a real environment, or a default environment
14752
+ * (`harness: null` = the Standards default).
15064
14753
  */
15065
14754
  declare const machineEnvironmentSchema: z$2.ZodDiscriminatedUnion<[z$2.ZodObject<{
15066
14755
  kind: z$2.ZodLiteral<"environment">;
@@ -15068,8 +14757,6 @@ declare const machineEnvironmentSchema: z$2.ZodDiscriminatedUnion<[z$2.ZodObject
15068
14757
  }, z$2.core.$strip>, z$2.ZodObject<{
15069
14758
  kind: z$2.ZodLiteral<"default">;
15070
14759
  harness: z$2.ZodNullable<z$2.ZodType<"claude-code" | "codex" | "cursor", string, z$2.core.$ZodTypeInternals<"claude-code" | "codex" | "cursor", string>>>;
15071
- }, z$2.core.$strip>, z$2.ZodObject<{
15072
- kind: z$2.ZodLiteral<"none">;
15073
14760
  }, z$2.core.$strip>], "kind">;
15074
14761
  /**
15075
14762
  * One machine of the registry. `status` and `vcpus` are read from the
@@ -15083,8 +14770,6 @@ declare const machineSchema: z$2.ZodObject<{
15083
14770
  }, z$2.core.$strip>, z$2.ZodObject<{
15084
14771
  kind: z$2.ZodLiteral<"default">;
15085
14772
  harness: z$2.ZodNullable<z$2.ZodType<"claude-code" | "codex" | "cursor", string, z$2.core.$ZodTypeInternals<"claude-code" | "codex" | "cursor", string>>>;
15086
- }, z$2.core.$strip>, z$2.ZodObject<{
15087
- kind: z$2.ZodLiteral<"none">;
15088
14773
  }, z$2.core.$strip>], "kind">;
15089
14774
  key: z$2.ZodDiscriminatedUnion<[z$2.ZodObject<{
15090
14775
  kind: z$2.ZodLiteral<"conversation">;
@@ -15134,8 +14819,6 @@ declare const machineDetailSchema: z$2.ZodObject<{
15134
14819
  }, z$2.core.$strip>, z$2.ZodObject<{
15135
14820
  kind: z$2.ZodLiteral<"default">;
15136
14821
  harness: z$2.ZodNullable<z$2.ZodType<"claude-code" | "codex" | "cursor", string, z$2.core.$ZodTypeInternals<"claude-code" | "codex" | "cursor", string>>>;
15137
- }, z$2.core.$strip>, z$2.ZodObject<{
15138
- kind: z$2.ZodLiteral<"none">;
15139
14822
  }, z$2.core.$strip>], "kind">;
15140
14823
  key: z$2.ZodDiscriminatedUnion<[z$2.ZodObject<{
15141
14824
  kind: z$2.ZodLiteral<"conversation">;
@@ -15201,8 +14884,6 @@ declare const machineListSchema: z$2.ZodObject<{
15201
14884
  }, z$2.core.$strip>, z$2.ZodObject<{
15202
14885
  kind: z$2.ZodLiteral<"default">;
15203
14886
  harness: z$2.ZodNullable<z$2.ZodType<"claude-code" | "codex" | "cursor", string, z$2.core.$ZodTypeInternals<"claude-code" | "codex" | "cursor", string>>>;
15204
- }, z$2.core.$strip>, z$2.ZodObject<{
15205
- kind: z$2.ZodLiteral<"none">;
15206
14887
  }, z$2.core.$strip>], "kind">;
15207
14888
  key: z$2.ZodDiscriminatedUnion<[z$2.ZodObject<{
15208
14889
  kind: z$2.ZodLiteral<"conversation">;
@@ -16016,13 +15697,8 @@ declare const resolvedRecentActivitySchema: z$2.ZodObject<{
16016
15697
  auto: "auto";
16017
15698
  manual: "manual";
16018
15699
  }>;
16019
- workMode: z$2.ZodEnum<{
16020
- architect: "architect";
16021
- execute: "execute";
16022
- }>;
16023
15700
  focus: z$2.ZodBoolean;
16024
15701
  personConversation: z$2.ZodBoolean;
16025
- workModeVersion: z$2.ZodNumber;
16026
15702
  version: z$2.ZodNumber;
16027
15703
  loadedToolsets: z$2.ZodArray<z$2.ZodString>;
16028
15704
  inferenceOverrides: z$2.ZodObject<{
@@ -16349,14 +16025,14 @@ export type OperationThrottle = "skip" | {
16349
16025
  };
16350
16026
  /**
16351
16027
  * A multipart operation's file field: the parts arrive under `field` (at most
16352
- * `maxCount` of them, each at most `maxBytes` when set). The operation's
16028
+ * `maxCount` of them, each at most `maxBytes`). The operation's
16353
16029
  * `input` schema validates the text fields only; the parts are added to the
16354
16030
  * parsed input under `field`, and an empty field is refused by the contract.
16355
16031
  */
16356
16032
  export interface OperationUpload {
16357
16033
  readonly field: string;
16358
16034
  readonly maxCount: number;
16359
- readonly maxBytes?: number;
16035
+ readonly maxBytes: number;
16360
16036
  }
16361
16037
  /**
16362
16038
  * The object an `objectPermission` applies to, and the action: the object a
@@ -18435,9 +18111,9 @@ export declare const USER_STATUSES: readonly ["active", "suspended"];
18435
18111
  * User preference applied only when a conversation has no session yet: the
18436
18112
  * `workPosture` preference (`CORE_PREFERENCES`).
18437
18113
  */
18438
- export type UserWorkPosture = "architect" | "manual" | "auto";
18114
+ export type UserWorkPosture = "manual" | "auto";
18439
18115
  /** Every work posture, the `workPosture` preference's values. */
18440
- export declare const USER_WORK_POSTURES: readonly UserWorkPosture[];
18116
+ export declare const USER_WORK_POSTURES: readonly ["manual", "auto"];
18441
18117
  /**
18442
18118
  * Where a new conversation opens for this person (#4891): the side panel
18443
18119
  * beside the page, or fullscreen — the `conversationSurface` preference
@@ -20118,6 +19794,16 @@ export declare const ATTRIBUTE_NAME_SCHEMA: z$2.ZodString;
20118
19794
  * Validate attribute name as valid variable identifier
20119
19795
  */
20120
19796
  export declare function validateAttributeName(name: string): void;
19797
+ /**
19798
+ * The first option whose `inverse` is not symmetric: `back` is what the
19799
+ * inverse option points to (`null` when it points nowhere), `undefined` when
19800
+ * no option has the inverse's value.
19801
+ */
19802
+ export declare function optionInverseMismatch(options: readonly Pick<Option, "value" | "inverse">[]): {
19803
+ value: string;
19804
+ inverse: string;
19805
+ back: string | null | undefined;
19806
+ } | undefined;
20121
19807
  interface AnyAttributeBuilder {
20122
19808
  build(): Attribute;
20123
19809
  }
@@ -22028,54 +21714,23 @@ export declare function formatZodErrors(error: z$1.ZodError): Array<{
22028
21714
  path: string[];
22029
21715
  message: string;
22030
21716
  }>;
22031
- /**
22032
- * `baseConfigSchema`'s keys — the model never sets these directly, and the
22033
- * prompt (`attribute-reference.ts`'s `BASE_CONFIG_KEYS`) already hides them
22034
- * from every `<attribute_types>` line. `ADD_ATTRIBUTE_WIRE` omits them from
22035
- * each per-type wire config for the same reason, so the wire never offers a
22036
- * key the model was never told about — and never exposes `metadata`, the one
22037
- * genuine open record among them, on the wire. Single source: the runtime
22038
- * prompt imports this instead of keeping its own copy. `icon` is offered back
22039
- * on every attribute type (`WIRE_OFFERED_BASE_CONFIG`) and stays omitted from
22040
- * qualified edge properties.
22041
- */
22042
- export declare const WIRE_OMITTED_CONFIG_KEYS: readonly ["placeholder", "description", "defaultValue", "icon", "order", "hidden", "archived", "deprecated", "metadata"];
22043
21717
  /**
22044
21718
  * The omitted base keys every attribute type's wire offers back, each with the
22045
21719
  * wire schema it is validated by. Karl's ruling on #5886 (2026-10-22, « Tous
22046
21720
  * les types d'attributs », reversing the relations-only ruling of #4537): every
22047
21721
  * attribute takes its own icon, a catalogue name the agent finds with
22048
21722
  * `search_icons`, exactly as an object icon. Qualified edge properties keep it
22049
- * omitted. Single source for the wire (`ADD_ATTRIBUTE_WIRE`) and the prompt
22050
- * (`attribute-reference.ts`), so the key the model is told about is the key
22051
- * the wire accepts.
21723
+ * omitted. Read by the prompt (`attribute-reference.ts`).
22052
21724
  */
22053
21725
  export declare const WIRE_OFFERED_BASE_CONFIG: {
22054
21726
  readonly icon: z$2.ZodOptional<z$2.ZodPipe<z$2.ZodString, z$2.ZodTransform<"a-arrow-down" | "a-arrow-up" | "academic-hat" | "accessibility" | "activity" | "activity-square" | "add-queue" | "aeroplane" | "air-conditioner" | "airplay" | "airpods" | "alarm" | "alarm-check" | "alarm-minus" | "alarm-plus" | "alarm-smoke" | "alarm-snooze" | "alarm-x" | "album" | "align-bottom" | "align-horizontal" | "align-left" | "align-right" | "align-top" | "align-vertical" | "alt" | "ambulance" | "ampersand" | "ampersand-square" | "ampersands" | "anchor" | "angry-circle" | "angry-ghost" | "angry-square" | "annoyed-circle" | "annoyed-ghost" | "annoyed-square" | "aperture" | "api" | "ar" | "archive" | "arrow-diagonal-one" | "arrow-diagonal-two" | "arrow-down" | "arrow-down-circle" | "arrow-down-left" | "arrow-down-left-circle" | "arrow-down-left-square" | "arrow-down-left-waves" | "arrow-down-right" | "arrow-down-right-circle" | "arrow-down-right-square" | "arrow-down-right-waves" | "arrow-down-square" | "arrow-down-waves" | "arrow-left" | "arrow-left-circle" | "arrow-left-right" | "arrow-left-square" | "arrow-left-waves" | "arrow-long-down" | "arrow-long-down-left" | "arrow-long-down-right" | "arrow-long-left" | "arrow-long-right" | "arrow-long-up" | "arrow-long-up-left" | "arrow-long-up-right" | "arrow-right" | "arrow-right-circle" | "arrow-right-square" | "arrow-right-waves" | "arrow-up" | "arrow-up-circle" | "arrow-up-down" | "arrow-up-left" | "arrow-up-left-circle" | "arrow-up-left-square" | "arrow-up-left-waves" | "arrow-up-right" | "arrow-up-right-circle" | "arrow-up-right-square" | "arrow-up-right-waves" | "arrow-up-square" | "arrow-up-waves" | "asterisk-circle" | "asterisk-diamond" | "asterisk-hexagon" | "asterisk-octagon" | "asterisk-square" | "asterisk-waves" | "at" | "atom" | "baby" | "backpack" | "badge" | "baggage-claim" | "ban" | "bank" | "baseball" | "bath" | "battery-charging" | "battery-charging-four" | "battery-charging-one" | "battery-charging-three" | "battery-charging-two" | "battery-check" | "battery-empty" | "battery-full" | "battery-minus" | "battery-plus" | "battery-x" | "bell" | "bell-check" | "bell-home" | "bell-minus" | "bell-on" | "bell-plus" | "bell-slash" | "bell-snooze" | "bell-user" | "bell-x" | "binoculars" | "bitcoin" | "bitcoin-circle" | "bitcoin-diamond" | "bitcoin-hexagon" | "bitcoin-octagon" | "bitcoin-square" | "bitcoin-waves" | "bluetooth" | "boat" | "book" | "book-check" | "book-dot" | "book-home" | "book-image" | "book-minus" | "book-open" | "book-plus" | "book-slash" | "book-snooze" | "book-user" | "book-x" | "bookmark" | "bookmark-check" | "bookmark-dot" | "bookmark-home" | "bookmark-minus" | "bookmark-plus" | "bookmark-slash" | "bookmark-snooze" | "bookmark-user" | "bookmark-x" | "bounding-box" | "bowl" | "box" | "brand-chrome" | "brand-codepen" | "brand-codesandbox" | "brand-dribbble" | "brand-facebook" | "brand-figma" | "brand-framer" | "brand-github" | "brand-gitlab" | "brand-google" | "brand-instagram" | "brand-linkedin" | "brand-pinterest" | "brand-pocket" | "brand-slack" | "brand-spotify" | "brand-telegram" | "brand-threads" | "brand-trello" | "brand-twitch" | "brand-twitter" | "brand-x" | "brand-youtube" | "briefcase" | "briefcase-conveyor-belt" | "brightness-high" | "brightness-low" | "bubbles" | "building" | "building-one" | "cable-car" | "cake" | "calendar" | "calendar-check" | "calendar-down" | "calendar-minus" | "calendar-plus" | "calendar-slash" | "calendar-up" | "calendar-x" | "camera" | "camera-slash" | "campfire" | "cannabis" | "caravan" | "cart" | "cart-check" | "cart-minus" | "cart-plus" | "cart-x" | "cast-screen" | "center-focus" | "chart-area" | "chart-bar" | "chart-bar-big" | "chart-bar-decreasing" | "chart-bar-increasing" | "chart-bar-one" | "chart-bar-stacked" | "chart-bubble" | "chart-candlestick" | "chart-column" | "chart-column-big" | "chart-column-decreasing" | "chart-column-increasing" | "chart-column-stacked" | "chart-gantt" | "chart-graph" | "chart-line" | "chart-network" | "chart-no-axes-column" | "chart-no-axes-column-decreasing" | "chart-no-axes-column-increasing" | "chart-no-axes-combined" | "chart-no-axes-gantt" | "chart-pie" | "chart-pie-one" | "chart-pie-two" | "chart-scatter" | "chart-spline" | "chat" | "chat-check" | "chat-dots" | "chat-messages" | "chat-minus" | "chat-plus" | "chat-x" | "check" | "check-circle" | "check-circle-one" | "check-diamond" | "check-hexagon" | "check-octagon" | "check-square" | "check-square-one" | "check-waves" | "chevron-double-down" | "chevron-double-down-left" | "chevron-double-down-right" | "chevron-double-left" | "chevron-double-right" | "chevron-double-up" | "chevron-double-up-left" | "chevron-double-up-right" | "chevron-down" | "chevron-down-circle" | "chevron-down-left" | "chevron-down-left-circle" | "chevron-down-left-square" | "chevron-down-left-waves" | "chevron-down-right" | "chevron-down-right-circle" | "chevron-down-right-square" | "chevron-down-right-waves" | "chevron-down-square" | "chevron-down-waves" | "chevron-left" | "chevron-left-circle" | "chevron-left-square" | "chevron-left-waves" | "chevron-right" | "chevron-right-circle" | "chevron-right-square" | "chevron-right-waves" | "chevron-up" | "chevron-up-circle" | "chevron-up-down" | "chevron-up-left" | "chevron-up-left-circle" | "chevron-up-left-square" | "chevron-up-left-waves" | "chevron-up-right" | "chevron-up-right-circle" | "chevron-up-right-square" | "chevron-up-right-waves" | "chevron-up-square" | "chevron-up-waves" | "chip" | "cigarette" | "cigarette-off" | "circle" | "circle-dashed" | "circle-half" | "circle-half-circle" | "circle-notch" | "click" | "clipboard" | "clock-circle" | "clock-diamond" | "clock-eight" | "clock-eleven" | "clock-five" | "clock-four" | "clock-hand" | "clock-hexagon" | "clock-nine" | "clock-octagon" | "clock-one" | "clock-seven" | "clock-six" | "clock-square" | "clock-ten" | "clock-three" | "clock-twelve" | "clock-two" | "clock-waves" | "cloud" | "cloud-download" | "cloud-drizzle" | "cloud-fog" | "cloud-hail" | "cloud-lightning" | "cloud-moon" | "cloud-moon-rain" | "cloud-off" | "cloud-rain" | "cloud-rain-wind" | "cloud-snow" | "cloud-sun" | "cloud-sun-rain" | "cloud-upload" | "cloudy" | "cocktail" | "code" | "code-circle" | "code-diamond" | "code-hexagon" | "code-octagon" | "code-square" | "code-waves" | "coffee" | "cog" | "cog-four" | "cog-one" | "cog-three" | "cog-two" | "columns" | "command" | "compass" | "components" | "confetti" | "config" | "config-vertical" | "contactless" | "contactless-circle" | "controller" | "cookie" | "copy" | "copyleft" | "copyright" | "copyright-slash" | "corner-down-left" | "corner-down-right" | "corner-left-down" | "corner-left-up" | "corner-right-down" | "corner-right-up" | "corner-up-left" | "corner-up-right" | "credit-card" | "credit-card-check" | "credit-card-minus" | "credit-card-plus" | "credit-card-x" | "croissant" | "crop" | "crosshair" | "cupcake" | "danger" | "danger-circle" | "danger-diamond" | "danger-hexagon" | "danger-octagon" | "danger-square" | "danger-triangle" | "danger-waves" | "database" | "daze-circle" | "daze-ghost" | "daze-square" | "delete" | "desktop" | "diamond" | "dice-five" | "dice-four" | "dice-one" | "dice-six" | "dice-three" | "dice-two" | "dislike" | "divide" | "dollar" | "dollar-circle" | "dollar-diamond" | "dollar-hexagon" | "dollar-octagon" | "dollar-square" | "dollar-waves" | "door-closed" | "door-closed-locked" | "door-open" | "dots" | "dots-circle" | "dots-diamond" | "dots-hexagon" | "dots-octagon" | "dots-square" | "dots-vertical" | "dots-vertical-circle" | "dots-vertical-diamond" | "dots-vertical-hexagon" | "dots-vertical-octagon" | "dots-vertical-square" | "dots-vertical-waves" | "dots-waves" | "download" | "drop" | "droplet" | "droplet-off" | "droplets" | "ear" | "ear-slash" | "earth" | "eclipse" | "edit" | "edit-one" | "egg" | "eight" | "eight-circle" | "eight-diamond" | "eight-hexagon" | "eight-octagon" | "eight-square" | "eight-waves" | "elevator" | "envelope" | "envelope-open" | "euro" | "euro-circle" | "euro-diamond" | "euro-hexagon" | "euro-octagon" | "euro-square" | "euro-waves" | "exclude" | "external-link" | "eye" | "eye-slash" | "face-id" | "fat-arrow-down" | "fat-arrow-down-left" | "fat-arrow-down-right" | "fat-arrow-left" | "fat-arrow-right" | "fat-arrow-up" | "fat-arrow-up-left" | "fat-arrow-up-right" | "fat-corner-down-left" | "fat-corner-down-right" | "fat-corner-left-down" | "fat-corner-left-up" | "fat-corner-right-down" | "fat-corner-right-up" | "fat-corner-up-left" | "fat-corner-up-right" | "female" | "file" | "file-check" | "file-minus" | "file-plus" | "file-text" | "file-x" | "film" | "filter" | "filter-one" | "fine-tune" | "fire" | "five" | "five-circle" | "five-diamond" | "five-hexagon" | "five-octagon" | "five-square" | "five-waves" | "flag" | "flag-one" | "flame" | "flame-kindling" | "flask" | "flower" | "flower-2" | "folder" | "folder-check" | "folder-heart" | "folder-kanban" | "folder-minus" | "folder-one" | "folder-plus" | "folder-slash" | "folder-two" | "folder-x" | "forward" | "forward-circle" | "forward-diamond" | "forward-hexagon" | "forward-octagon" | "forward-square" | "forward-waves" | "four" | "four-circle" | "four-diamond" | "four-hexagon" | "four-octagon" | "four-square" | "four-waves" | "frame" | "funny-circle" | "funny-ghost" | "funny-square" | "gift" | "git-branch" | "git-circle" | "git-commit" | "git-diamond" | "git-diff" | "git-hexagon" | "git-merge" | "git-octagon" | "git-pull-request" | "git-square" | "git-waves" | "glasses" | "globe" | "grid" | "grid-one" | "hand" | "hard-drive" | "hash" | "hash-circle" | "hash-diamond" | "hash-hexagon" | "hash-octagon" | "hash-square" | "hash-waves" | "haze" | "heading" | "heading-five" | "heading-four" | "heading-one" | "heading-six" | "heading-three" | "heading-two" | "headphones" | "heart" | "heart-broken" | "heart-check" | "heart-circle" | "heart-diamond" | "heart-dot" | "heart-hexagon" | "heart-home" | "heart-minus" | "heart-octagon" | "heart-plus" | "heart-slash" | "heart-snooze" | "heart-square" | "heart-user" | "heart-waves" | "heart-x" | "hexagon" | "home" | "home-check" | "home-minus" | "home-plus" | "home-smile" | "home-x" | "image" | "image-circle" | "image-rectangle" | "inbox" | "inbox-archive" | "inbox-check" | "inbox-down" | "inbox-minus" | "inbox-plus" | "inbox-up" | "inbox-x" | "incognito" | "indifferent-circle" | "indifferent-ghost" | "indifferent-square" | "infinity" | "info" | "info-circle" | "info-diamond" | "info-hexagon" | "info-octagon" | "info-square" | "info-triangle" | "info-waves" | "intersect" | "kanban" | "key" | "keyboard" | "keyboard-brightness-high" | "keyboard-brightness-low" | "label" | "lamp" | "layers-one" | "layers-three" | "layers-two" | "layout" | "leaf" | "leaves" | "letter-a" | "letter-a-circle" | "letter-a-diamond" | "letter-a-hexagon" | "letter-a-octagon" | "letter-a-square" | "letter-a-waves" | "letter-b" | "letter-b-circle" | "letter-b-diamond" | "letter-b-hexagon" | "letter-b-octagon" | "letter-b-square" | "letter-b-waves" | "letter-c" | "letter-c-circle" | "letter-c-diamond" | "letter-c-hexagon" | "letter-c-octagon" | "letter-c-square" | "letter-c-waves" | "letter-d" | "letter-d-circle" | "letter-d-diamond" | "letter-d-hexagon" | "letter-d-octagon" | "letter-d-square" | "letter-d-waves" | "letter-e" | "letter-e-circle" | "letter-e-diamond" | "letter-e-hexagon" | "letter-e-octagon" | "letter-e-square" | "letter-e-waves" | "letter-f" | "letter-f-circle" | "letter-f-diamond" | "letter-f-hexagon" | "letter-f-octagon" | "letter-f-square" | "letter-f-waves" | "letter-g" | "letter-g-circle" | "letter-g-diamond" | "letter-g-hexagon" | "letter-g-octagon" | "letter-g-square" | "letter-g-waves" | "letter-h" | "letter-h-circle" | "letter-h-diamond" | "letter-h-hexagon" | "letter-h-octagon" | "letter-h-square" | "letter-h-waves" | "letter-i" | "letter-i-circle" | "letter-i-diamond" | "letter-i-hexagon" | "letter-i-octagon" | "letter-i-square" | "letter-i-waves" | "letter-j" | "letter-j-circle" | "letter-j-diamond" | "letter-j-hexagon" | "letter-j-octagon" | "letter-j-square" | "letter-j-waves" | "letter-k" | "letter-k-circle" | "letter-k-diamond" | "letter-k-hexagon" | "letter-k-octagon" | "letter-k-square" | "letter-k-waves" | "letter-l" | "letter-l-circle" | "letter-l-diamond" | "letter-l-hexagon" | "letter-l-octagon" | "letter-l-square" | "letter-l-waves" | "letter-m" | "letter-m-circle" | "letter-m-diamond" | "letter-m-hexagon" | "letter-m-octagon" | "letter-m-square" | "letter-m-waves" | "letter-n" | "letter-n-circle" | "letter-n-diamond" | "letter-n-hexagon" | "letter-n-octagon" | "letter-n-square" | "letter-n-waves" | "letter-o" | "letter-o-circle" | "letter-o-diamond" | "letter-o-hexagon" | "letter-o-octagon" | "letter-o-square" | "letter-o-waves" | "letter-p" | "letter-p-circle" | "letter-p-diamond" | "letter-p-hexagon" | "letter-p-octagon" | "letter-p-square" | "letter-p-waves" | "letter-q" | "letter-q-circle" | "letter-q-diamond" | "letter-q-hexagon" | "letter-q-octagon" | "letter-q-square" | "letter-q-waves" | "letter-r" | "letter-r-circle" | "letter-r-diamond" | "letter-r-hexagon" | "letter-r-octagon" | "letter-r-square" | "letter-r-waves" | "letter-s" | "letter-s-circle" | "letter-s-diamond" | "letter-s-hexagon" | "letter-s-octagon" | "letter-s-square" | "letter-s-waves" | "letter-t" | "letter-t-circle" | "letter-t-diamond" | "letter-t-hexagon" | "letter-t-octagon" | "letter-t-square" | "letter-t-waves" | "letter-u" | "letter-u-circle" | "letter-u-diamond" | "letter-u-hexagon" | "letter-u-octagon" | "letter-u-square" | "letter-u-waves" | "letter-v" | "letter-v-circle" | "letter-v-diamond" | "letter-v-hexagon" | "letter-v-octagon" | "letter-v-square" | "letter-v-waves" | "letter-w" | "letter-w-circle" | "letter-w-diamond" | "letter-w-hexagon" | "letter-w-octagon" | "letter-w-square" | "letter-w-waves" | "letter-x" | "letter-x-circle" | "letter-x-diamond" | "letter-x-hexagon" | "letter-x-octagon" | "letter-x-square" | "letter-x-waves" | "letter-y" | "letter-y-circle" | "letter-y-diamond" | "letter-y-hexagon" | "letter-y-octagon" | "letter-y-square" | "letter-y-waves" | "letter-z" | "letter-z-circle" | "letter-z-diamond" | "letter-z-hexagon" | "letter-z-octagon" | "letter-z-square" | "letter-z-waves" | "lightning" | "lightning-off" | "like" | "line-chart-circle" | "line-chart-diamond" | "line-chart-hexagon" | "line-chart-octagon" | "line-chart-square" | "line-chart-waves" | "link" | "link-one" | "link-two" | "list" | "list-check" | "list-number" | "location" | "location-check" | "location-home" | "location-minus" | "location-plus" | "location-selected" | "location-slash" | "location-snooze" | "location-user" | "location-x" | "lock" | "lock-circle" | "lock-diamond" | "lock-hexagon" | "lock-keyhole" | "lock-octagon" | "lock-open" | "lock-open-keyhole" | "lock-open-password" | "lock-password" | "lock-square" | "lock-waves" | "login" | "logout" | "magnet" | "male" | "map" | "mask" | "math" | "math-square" | "maximize" | "maximize-one" | "menu" | "message" | "message-check" | "message-dots" | "message-minus" | "message-plus" | "message-reply" | "message-x" | "microphone" | "microphone-slash" | "minimize" | "minimize-one" | "minus" | "minus-circle" | "minus-diamond" | "minus-hexagon" | "minus-octagon" | "minus-square" | "minus-waves" | "mobile" | "mobile-signal-five" | "mobile-signal-four" | "mobile-signal-one" | "mobile-signal-three" | "mobile-signal-two" | "moon" | "moon-star" | "mountain" | "mountain-snow" | "mouse-pointer" | "move" | "move-diagonal" | "move-diagonal-one" | "move-horizontal" | "move-vertical" | "music" | "music-circle" | "music-diamond" | "music-hexagon" | "music-octagon" | "music-square" | "music-waves" | "myna" | "navigation" | "navigation-one" | "nine" | "nine-circle" | "nine-diamond" | "nine-hexagon" | "nine-octagon" | "nine-square" | "nine-waves" | "notification" | "octagon" | "one" | "one-circle" | "one-diamond" | "one-hexagon" | "one-octagon" | "one-square" | "one-waves" | "option" | "package" | "paint" | "panel-bottom" | "panel-bottom-close" | "panel-bottom-inactive" | "panel-bottom-open" | "panel-left" | "panel-left-close" | "panel-left-inactive" | "panel-left-open" | "panel-right" | "panel-right-close" | "panel-right-inactive" | "panel-right-open" | "panel-top" | "panel-top-close" | "panel-top-inactive" | "panel-top-open" | "paperclip" | "parking" | "password" | "path" | "pause" | "pause-circle" | "pause-diamond" | "pause-hexagon" | "pause-octagon" | "pause-square" | "pause-waves" | "pen" | "pencil" | "percentage" | "percentage-circle" | "percentage-diamond" | "percentage-hexagon" | "percentage-octagon" | "percentage-square" | "percentage-waves" | "pin" | "pizza" | "planet" | "play" | "play-circle" | "play-diamond" | "play-hexagon" | "play-octagon" | "play-square" | "play-waves" | "plus" | "plus-circle" | "plus-diamond" | "plus-hexagon" | "plus-octagon" | "plus-square" | "plus-waves" | "pokeball" | "power" | "presentation" | "printer" | "puzzle" | "question" | "question-circle" | "question-diamond" | "question-hexagon" | "question-octagon" | "question-square" | "question-waves" | "radio" | "rainbow" | "reception-bell" | "record" | "rectangle" | "rectangle-vertical" | "redo" | "refresh" | "refresh-alt" | "repeat" | "rewind" | "rewind-circle" | "rewind-diamond" | "rewind-hexagon" | "rewind-octagon" | "rewind-square" | "rewind-waves" | "rhombus" | "ribbon" | "rocket" | "room-service" | "rows" | "rss" | "ruler" | "rupee" | "rupee-circle" | "rupee-diamond" | "rupee-hexagon" | "rupee-octagon" | "rupee-square" | "rupee-waves" | "sad-circle" | "sad-ghost" | "sad-square" | "save" | "scan" | "scissors" | "sea-waves" | "search" | "search-check" | "search-circle" | "search-diamond" | "search-dot" | "search-hexagon" | "search-home" | "search-minus" | "search-octagon" | "search-plus" | "search-slash" | "search-snooze" | "search-square" | "search-user" | "search-waves" | "search-x" | "select-multiple" | "send" | "servers" | "seven" | "seven-circle" | "seven-diamond" | "seven-hexagon" | "seven-octagon" | "seven-square" | "seven-waves" | "share" | "shell" | "shield" | "shield-check" | "shield-crossed" | "shield-minus" | "shield-one" | "shield-plus" | "shield-slash" | "shield-two" | "shield-x" | "shooting-star" | "shopping-bag" | "shovel" | "shrub" | "shuffle" | "shuffle-alt" | "sidebar" | "sidebar-alt" | "signal" | "signal-circle" | "signal-diamond" | "signal-hexagon" | "signal-octagon" | "signal-square" | "signal-waves" | "six" | "six-circle" | "six-diamond" | "six-hexagon" | "six-octagon" | "six-square" | "six-waves" | "skip-back" | "skip-forward" | "slash-circle" | "slash-diamond" | "slash-hexagon" | "slash-octagon" | "slash-square" | "slash-waves" | "smile-circle" | "smile-ghost" | "smile-square" | "snow" | "snowflake" | "sofa" | "sort" | "sparkles" | "speaker" | "spinner" | "spinner-one" | "sprout" | "square" | "square-chart-gantt" | "square-dashed" | "square-dashed-kanban" | "square-half" | "square-kanban" | "star" | "stop" | "stop-circle" | "stop-diamond" | "stop-hexagon" | "stop-octagon" | "stop-square" | "stop-waves" | "store" | "subtract" | "sun" | "sun-dim" | "sun-medium" | "sun-snow" | "sunrise" | "sunset" | "support" | "swatches" | "table" | "tablet" | "tag" | "tag-plus" | "tally-five" | "tally-four" | "tally-one" | "tally-three" | "tally-two" | "target" | "telephone" | "telephone-call" | "telephone-forward" | "telephone-in" | "telephone-missed" | "telephone-out" | "telephone-slash" | "tent" | "tent-tree" | "terminal" | "text-align-center" | "text-align-left" | "text-align-right" | "text-justify" | "thermometer" | "thermometer-snowflake" | "thermometer-sun" | "three" | "three-circle" | "three-diamond" | "three-hexagon" | "three-octagon" | "three-square" | "three-waves" | "ticket" | "ticket-slash" | "toggle-left" | "toggle-right" | "tool" | "tornado" | "train" | "trash" | "trash-one" | "trash-two" | "tree" | "tree-deciduous" | "tree-palm" | "tree-pine" | "trees" | "trending-down" | "trending-up" | "trending-up-down" | "triangle" | "truck" | "tv" | "two" | "two-circle" | "two-diamond" | "two-hexagon" | "two-octagon" | "two-square" | "two-waves" | "type-bold" | "type-italic" | "type-text" | "type-underline" | "umbrella" | "umbrella-off" | "undo" | "union" | "unlink" | "upload" | "user" | "user-check" | "user-circle" | "user-diamond" | "user-hexagon" | "user-minus" | "user-octagon" | "user-plus" | "user-settings" | "user-square" | "user-waves" | "user-x" | "users" | "users-group" | "video" | "video-slash" | "volume-check" | "volume-high" | "volume-low" | "volume-minus" | "volume-none" | "volume-plus" | "volume-slash" | "volume-x" | "watch" | "waves" | "webcam" | "wheel" | "wheelchair" | "wifi" | "wifi-check" | "wifi-low" | "wifi-medium" | "wifi-minus" | "wifi-plus" | "wifi-slash" | "wifi-x" | "wind" | "wind-arrow-down" | "winds" | "wine" | "wink-circle" | "wink-ghost" | "wink-square" | "wrench" | "x" | "x-circle" | "x-diamond" | "x-hexagon" | "x-octagon" | "x-square" | "x-triangle" | "x-waves" | "yen" | "yen-circle" | "yen-diamond" | "yen-hexagon" | "yen-octagon" | "yen-square" | "yen-waves" | "zap" | "zap-off" | "zero" | "zero-circle" | "zero-diamond" | "zero-hexagon" | "zero-octagon" | "zero-square" | "zero-waves", string>>>;
22055
21727
  };
22056
21728
  /**
22057
21729
  * The keys left off `attributeType`'s prompt line: every omitted base key and
22058
- * the type's hidden keys. The wire omits the same set, then adds back
22059
- * `WIRE_OFFERED_BASE_CONFIG`, which the prompt states once under the block
22060
- * rather than on every line.
21730
+ * the type's hidden keys. `WIRE_OFFERED_BASE_CONFIG` is stated once under
21731
+ * the block rather than on every line.
22061
21732
  */
22062
21733
  export declare function wireOmittedConfigKeysFor(attributeType: AttributeType): readonly string[];
22063
- /** `omit()` mask of the type keys hidden from `attributeType`'s wire. */
22064
- export declare function wireHiddenTypeConfigMask(attributeType: AttributeType): Record<string, true>;
22065
- /**
22066
- * Builds the `superRefine` that refuses a key belonging to a DIFFERENT type
22067
- * than the one sent.
22068
- *
22069
- * Two wire shapes merge several types into one member for size — the nine
22070
- * simple attribute types of `ADD_ATTRIBUTE_WIRE`, and the seven simple
22071
- * qualified-property types below — so a merged member structurally accepts
22072
- * every merged type's keys. Without this, a `text`-only `format` sent on a
22073
- * `number` parses and is then silently `.strip()`-ped at store: a key lost
22074
- * with no feedback. Checked against the SENT type, and the message names the
22075
- * keys that type does accept so the next call is right. One factory rather
22076
- * than two near-identical loops — the second one drifted first.
22077
- */
22078
- export declare function refuseForeignKeys<T extends string>(keysByType: Readonly<Record<T, ReadonlySet<string>>>, noun: string, alwaysAllowed?: readonly string[]): (type: T, subject: Record<string, unknown> | undefined, ctx: z$2.RefinementCtx, path?: readonly string[]) => void;
22079
21734
  export declare const statusGroupSchema: z$2.ZodEnum<{
22080
21735
  finished: "finished";
22081
21736
  idle: "idle";
@@ -22139,20 +21794,6 @@ export declare const statusOptionWriteSchema: z$2.ZodObject<{
22139
21794
  * refuse.
22140
21795
  */
22141
21796
  export declare function withoutUnknownOptionKeys<T extends object>(config: T): T;
22142
- /**
22143
- * Property types whose config differs from `baseConfigSchema` only by
22144
- * independent optional scalars — no options array, no relation targets. Same
22145
- * shape as `SIMPLE_ATTRIBUTE_TYPES` in `architect/operations/schema.ts` minus
22146
- * `richtext`/`user` (not valid property types) — none of these seven types'
22147
- * keys collide, proven by `tests/validation/config/property-config.test.ts`.
22148
- * Merged into one wire member for the same reason `ADD_ATTRIBUTE_WIRE` merges
22149
- * its nine: the model reads one shape instead of seven near-identical ones,
22150
- * and this is also what keeps a qualified relation/document's `add_attribute`
22151
- * leaf under its wire-size cap (`tests/architect/wire-schema-size.test.ts`) —
22152
- * ten separate members, each paying its own JSON Schema object/`$defs`
22153
- * boilerplate, blew the budget even after the base config keys were omitted.
22154
- */
22155
- export declare const SIMPLE_PROPERTY_TYPES: readonly ["text", "number", "checkbox", "date", "phone", "currency", "location"];
22156
21797
  export declare const propertyAttributeSchema: z$2.ZodDiscriminatedUnion<[z$2.ZodObject<Readonly<{
22157
21798
  [k: string]: z$2.core.$ZodType<unknown, unknown, z$2.core.$ZodTypeInternals<unknown, unknown>>;
22158
21799
  }>, z$2.core.$strip>, ...z$2.ZodObject<Readonly<{
@@ -22165,24 +21806,6 @@ export declare const propertySchemaSchema: z$2.ZodObject<{
22165
21806
  [k: string]: z$2.core.$ZodType<unknown, unknown, z$2.core.$ZodTypeInternals<unknown, unknown>>;
22166
21807
  }>, z$2.core.$strip>[]], "type">>;
22167
21808
  }, z$2.core.$strip>;
22168
- /**
22169
- * The wire-facing property union, derived from the stored one: the same seven
22170
- * simple types merged into one member, the option-carrying types alongside,
22171
- * everything the model never sets omitted, and `.strict()` so an invented key
22172
- * is refused by name instead of silently stripped at store.
22173
- */
22174
- export declare const propertyAttributeWireSchema: z$2.ZodDiscriminatedUnion<[z$2.ZodObject<Readonly<{
22175
- [k: string]: z$2.core.$ZodType<unknown, unknown, z$2.core.$ZodTypeInternals<unknown, unknown>>;
22176
- }>, z$2.core.$strip>, ...z$2.ZodObject<Readonly<{
22177
- [k: string]: z$2.core.$ZodType<unknown, unknown, z$2.core.$ZodTypeInternals<unknown, unknown>>;
22178
- }>, z$2.core.$strip>[]], "type">;
22179
- export declare const propertySchemaWireSchema: z$2.ZodObject<{
22180
- definitions: z$2.ZodArray<z$2.ZodDiscriminatedUnion<[z$2.ZodObject<Readonly<{
22181
- [k: string]: z$2.core.$ZodType<unknown, unknown, z$2.core.$ZodTypeInternals<unknown, unknown>>;
22182
- }>, z$2.core.$strip>, ...z$2.ZodObject<Readonly<{
22183
- [k: string]: z$2.core.$ZodType<unknown, unknown, z$2.core.$ZodTypeInternals<unknown, unknown>>;
22184
- }>, z$2.core.$strip>[]], "type">>;
22185
- }, z$2.core.$strict>;
22186
21809
  /**
22187
21810
  * Map of attribute type to config schema
22188
21811
  */
@@ -22196,11 +21819,6 @@ export declare function getAttributeConfigSchema(type: AttributeType): z$2.ZodOb
22196
21819
  * This ensures only allowed properties are stored in the database
22197
21820
  */
22198
21821
  export declare function parseAttributeConfig(type: AttributeType, config: Record<string, unknown>): Record<string, unknown>;
22199
- /**
22200
- * The config contract as a WRITE applies it: the stored schema plus the
22201
- * stricter option and icon rules newly written values must satisfy.
22202
- */
22203
- export declare function getAttributeConfigWriteSchema(type: AttributeType): z$2.ZodObject<z$2.ZodRawShape>;
22204
21822
  /**
22205
21823
  * Strict parser for newly created attribute definitions.
22206
21824
  *
@@ -24179,14 +23797,21 @@ export interface MailboxQuery {
24179
23797
  hasAttachments?: true;
24180
23798
  limit?: number;
24181
23799
  cursor?: MailboxCursor;
24182
- /**
24183
- * Whether the response carries {@link MailboxListResponse.total}, in the
24184
- * records list's vocabulary. Defaults to `"none"` (#3701): the count
24185
- * aggregates every matching mail before the page is cut, so it costs far more
24186
- * than the page itself. Pass `"exact"` when a number must be displayed.
24187
- */
24188
- countMode?: CountMode;
24189
23800
  }
23801
+ /**
23802
+ * A viewer's mail state: the modseq of each mailbox they follow (those they
23803
+ * read wholly, and the workspace mailboxes), keyed by mailbox id. A list or a
23804
+ * total carries the state read before it; `emails.changes` answers what
23805
+ * changed since one. Opaque to a client but for merging: keep the lowest
23806
+ * modseq per mailbox of every response held.
23807
+ */
23808
+ export declare const mailStateSchema: z$2.ZodRecord<z$2.ZodString, z$2.ZodString>;
23809
+ export type MailState = z$2.output<typeof mailStateSchema>;
23810
+ /**
23811
+ * One page of a mailbox list. A list never counts itself: a view's number is
23812
+ * `emails.mailboxTotals` (a location's, per account and for all) or
23813
+ * `emails.mailboxCount` (any other view).
23814
+ */
24190
23815
  export declare const mailboxListResponseSchema: z$2.ZodObject<{
24191
23816
  threads: z$2.ZodArray<z$2.ZodObject<{
24192
23817
  threadId: z$2.ZodString;
@@ -24230,10 +23855,80 @@ export declare const mailboxListResponseSchema: z$2.ZodObject<{
24230
23855
  threadId: z$2.ZodString;
24231
23856
  emailId: z$2.ZodOptional<z$2.ZodString>;
24232
23857
  }, z$2.core.$strip>>;
24233
- total: z$2.ZodNullable<z$2.ZodNumber>;
24234
- totalIsExact: z$2.ZodOptional<z$2.ZodBoolean>;
23858
+ state: z$2.ZodOptional<z$2.ZodRecord<z$2.ZodString, z$2.ZodString>>;
24235
23859
  }, z$2.core.$strip>;
24236
23860
  export type MailboxListResponse = z$2.output<typeof mailboxListResponseSchema>;
23861
+ /** The locations a total is asked for: every listed one but drafts (counted by the drafts routes). */
23862
+ export declare const MAILBOX_TOTAL_LOCATIONS: readonly ["inbox", "archived", "sent", "trash"];
23863
+ export type MailboxTotalLocation = (typeof MAILBOX_TOTAL_LOCATIONS)[number];
23864
+ /**
23865
+ * One folder's numbers. `total`: the rows its list shows when paged to the
23866
+ * end (conversations, or messages in messages mode), workspace mail a
23867
+ * colleague's mailbox holds included. `unread`: the unread ones among the
23868
+ * viewer's own mailboxes and the workspace mailboxes only: a colleague's
23869
+ * workspace thread is listed and counted in `total`, never in `unread` (an
23870
+ * unread badge). The read view's number is `total - unread` only when no
23871
+ * colleague's workspace thread is listed; ask `emails.mailboxCount` for it.
23872
+ */
23873
+ export declare const mailboxFolderTotalSchema: z$2.ZodObject<{
23874
+ total: z$2.ZodNullable<z$2.ZodNumber>;
23875
+ unread: z$2.ZodNumber;
23876
+ }, z$2.core.$strip>;
23877
+ export type MailboxFolderTotal = z$2.output<typeof mailboxFolderTotalSchema>;
23878
+ /** `emails.mailboxTotals`: a location's numbers, for every mailbox (`all`) and for each account. */
23879
+ export declare const mailboxTotalsSchema: z$2.ZodObject<{
23880
+ location: z$2.ZodEnum<{
23881
+ archived: "archived";
23882
+ inbox: "inbox";
23883
+ sent: "sent";
23884
+ trash: "trash";
23885
+ }>;
23886
+ mode: z$2.ZodEnum<{
23887
+ messages: "messages";
23888
+ threads: "threads";
23889
+ }>;
23890
+ all: z$2.ZodObject<{
23891
+ total: z$2.ZodNullable<z$2.ZodNumber>;
23892
+ unread: z$2.ZodNumber;
23893
+ }, z$2.core.$strip>;
23894
+ accounts: z$2.ZodArray<z$2.ZodObject<{
23895
+ total: z$2.ZodNullable<z$2.ZodNumber>;
23896
+ unread: z$2.ZodNumber;
23897
+ accountId: z$2.ZodString;
23898
+ }, z$2.core.$strip>>;
23899
+ state: z$2.ZodOptional<z$2.ZodRecord<z$2.ZodString, z$2.ZodString>>;
23900
+ }, z$2.core.$strip>;
23901
+ export type MailboxTotals = z$2.output<typeof mailboxTotalsSchema>;
23902
+ /** Past this many changed conversations, `emails.changes` answers `cannotCalculateChanges`. */
23903
+ export declare const MAIL_CHANGES_MAX = 1000;
23904
+ /**
23905
+ * `emails.changes`: the conversations of the viewer's mailboxes changed
23906
+ * since `sinceState`. `changes`: their thread keys created or changed
23907
+ * (`updated`) and removed (`destroyed`), and whether a mailbox's numbers may
23908
+ * have moved (`countersChanged`). `cannotCalculateChanges`: the state's
23909
+ * mailboxes are not the viewer's any more (a reach gained or lost, a mailbox
23910
+ * removed), a mailbox no longer keeps changes that old, or more than
23911
+ * `MAIL_CHANGES_MAX` changed: reload the lists. Either way `newState` is the
23912
+ * state to ask from next. The scope is the server's: a mailbox the viewer
23913
+ * does not follow is never answered for, whatever the state names.
23914
+ */
23915
+ export declare const mailChangesSchema: z$2.ZodDiscriminatedUnion<[z$2.ZodObject<{
23916
+ kind: z$2.ZodLiteral<"changes">;
23917
+ newState: z$2.ZodRecord<z$2.ZodString, z$2.ZodString>;
23918
+ updated: z$2.ZodArray<z$2.ZodString>;
23919
+ destroyed: z$2.ZodArray<z$2.ZodString>;
23920
+ countersChanged: z$2.ZodBoolean;
23921
+ }, z$2.core.$strip>, z$2.ZodObject<{
23922
+ kind: z$2.ZodLiteral<"cannotCalculateChanges">;
23923
+ newState: z$2.ZodRecord<z$2.ZodString, z$2.ZodString>;
23924
+ }, z$2.core.$strip>], "kind">;
23925
+ export type MailChanges = z$2.output<typeof mailChangesSchema>;
23926
+ /** `emails.mailboxCount` and `emails.recordMailboxCount`: the rows a view lists when paged to the end. */
23927
+ export declare const mailboxCountSchema: z$2.ZodObject<{
23928
+ total: z$2.ZodNullable<z$2.ZodNumber>;
23929
+ totalIsExact: z$2.ZodBoolean;
23930
+ }, z$2.core.$strip>;
23931
+ export type MailboxCount = z$2.output<typeof mailboxCountSchema>;
24237
23932
  /** What a draft is: the server derives threading, `Re:`/`Fwd:` and the quoted parent from it. */
24238
23933
  export declare const MAIL_DRAFT_MODES: readonly ["reply", "reply_all", "forward", "new"];
24239
23934
  export type MailDraftMode = (typeof MAIL_DRAFT_MODES)[number];
@@ -24924,6 +24619,8 @@ export declare const toolImpactSchema: z$2.ZodObject<{
24924
24619
  subject: z$2.ZodNullable<z$2.ZodString>;
24925
24620
  text: z$2.ZodString;
24926
24621
  truncatedChars: z$2.ZodNumber;
24622
+ bodyHtml: z$2.ZodOptional<z$2.ZodString>;
24623
+ signatureHtml: z$2.ZodOptional<z$2.ZodString>;
24927
24624
  outsideThread: z$2.ZodArray<z$2.ZodString>;
24928
24625
  attachments: z$2.ZodArray<z$2.ZodObject<{
24929
24626
  name: z$2.ZodString;
@@ -25046,6 +24743,8 @@ export declare const agentMessagePartSchema: z$2.ZodUnion<readonly [z$2.ZodObjec
25046
24743
  subject: z$2.ZodNullable<z$2.ZodString>;
25047
24744
  text: z$2.ZodString;
25048
24745
  truncatedChars: z$2.ZodNumber;
24746
+ bodyHtml: z$2.ZodOptional<z$2.ZodString>;
24747
+ signatureHtml: z$2.ZodOptional<z$2.ZodString>;
25049
24748
  outsideThread: z$2.ZodArray<z$2.ZodString>;
25050
24749
  attachments: z$2.ZodArray<z$2.ZodObject<{
25051
24750
  name: z$2.ZodString;
@@ -25259,6 +24958,8 @@ export declare const agentSessionMessageSchema: z$2.ZodObject<{
25259
24958
  subject: z$2.ZodNullable<z$2.ZodString>;
25260
24959
  text: z$2.ZodString;
25261
24960
  truncatedChars: z$2.ZodNumber;
24961
+ bodyHtml: z$2.ZodOptional<z$2.ZodString>;
24962
+ signatureHtml: z$2.ZodOptional<z$2.ZodString>;
25262
24963
  outsideThread: z$2.ZodArray<z$2.ZodString>;
25263
24964
  attachments: z$2.ZodArray<z$2.ZodObject<{
25264
24965
  name: z$2.ZodString;
@@ -25396,15 +25097,6 @@ export declare const todoItemSchema: z$2.ZodObject<{
25396
25097
  }>;
25397
25098
  result: z$2.ZodOptional<z$2.ZodString>;
25398
25099
  updatedAt: z$2.ZodOptional<z$2.ZodNumber>;
25399
- target: z$2.ZodOptional<z$2.ZodObject<{
25400
- phase: z$2.ZodEnum<{
25401
- fields: "fields";
25402
- objects: "objects";
25403
- relations: "relations";
25404
- samples: "samples";
25405
- views: "views";
25406
- }>;
25407
- }, z$2.core.$strict>>;
25408
25100
  }, z$2.core.$strict>;
25409
25101
  export declare const todoPlanSchema: z$2.ZodObject<{
25410
25102
  id: z$2.ZodString;
@@ -25425,15 +25117,6 @@ export declare const todoPlanSchema: z$2.ZodObject<{
25425
25117
  }>;
25426
25118
  result: z$2.ZodOptional<z$2.ZodString>;
25427
25119
  updatedAt: z$2.ZodOptional<z$2.ZodNumber>;
25428
- target: z$2.ZodOptional<z$2.ZodObject<{
25429
- phase: z$2.ZodEnum<{
25430
- fields: "fields";
25431
- objects: "objects";
25432
- relations: "relations";
25433
- samples: "samples";
25434
- views: "views";
25435
- }>;
25436
- }, z$2.core.$strict>>;
25437
25120
  }, z$2.core.$strict>>;
25438
25121
  version: z$2.ZodNumber;
25439
25122
  createdAt: z$2.ZodString;
@@ -25573,6 +25256,8 @@ export declare const customDataChunkSchemas: {
25573
25256
  subject: z$2.ZodNullable<z$2.ZodString>;
25574
25257
  text: z$2.ZodString;
25575
25258
  truncatedChars: z$2.ZodNumber;
25259
+ bodyHtml: z$2.ZodOptional<z$2.ZodString>;
25260
+ signatureHtml: z$2.ZodOptional<z$2.ZodString>;
25576
25261
  outsideThread: z$2.ZodArray<z$2.ZodString>;
25577
25262
  attachments: z$2.ZodArray<z$2.ZodObject<{
25578
25263
  name: z$2.ZodString;
@@ -25737,6 +25422,8 @@ export declare const customDataChunkSchemas: {
25737
25422
  subject: z$2.ZodNullable<z$2.ZodString>;
25738
25423
  text: z$2.ZodString;
25739
25424
  truncatedChars: z$2.ZodNumber;
25425
+ bodyHtml: z$2.ZodOptional<z$2.ZodString>;
25426
+ signatureHtml: z$2.ZodOptional<z$2.ZodString>;
25740
25427
  outsideThread: z$2.ZodArray<z$2.ZodString>;
25741
25428
  attachments: z$2.ZodArray<z$2.ZodObject<{
25742
25429
  name: z$2.ZodString;
@@ -26209,6 +25896,9 @@ export declare const recordsBulkUpdateResultSchema: z$2.ZodObject<{
26209
25896
  readonly BUILD_MISMATCH: "SCHEMA_BUILD_MISMATCH";
26210
25897
  readonly SYSTEM_ENTITY_IMMUTABLE: "SCHEMA_SYSTEM_ENTITY_IMMUTABLE";
26211
25898
  readonly AMBIGUOUS_CHANGE: "SCHEMA_AMBIGUOUS_CHANGE";
25899
+ readonly STD_SYNTAX: "SCHEMA_STD_SYNTAX";
25900
+ readonly STD_STALE: "SCHEMA_STD_STALE";
25901
+ readonly STD_UNSUPPORTED: "SCHEMA_STD_UNSUPPORTED";
26212
25902
  readonly RECORD_GRANT_ON_WORKSPACE: "RECORD_GRANT_ON_WORKSPACE";
26213
25903
  readonly RECORD_GRANT_INVALID_ACTOR: "RECORD_GRANT_INVALID_ACTOR";
26214
25904
  readonly RECORD_GRANT_UNSHAREABLE_OBJECT: "RECORD_GRANT_UNSHAREABLE_OBJECT";
@@ -26317,6 +26007,7 @@ export declare const recordsBulkUpdateResultSchema: z$2.ZodObject<{
26317
26007
  readonly MACHINE_LEASE_FENCED: "MACHINE_LEASE_FENCED";
26318
26008
  readonly MACHINE_ENV_FILE_FAILED: "MACHINE_ENV_FILE_FAILED";
26319
26009
  readonly LINK_TOKEN_INVALID: "LINK_TOKEN_INVALID";
26010
+ readonly LINK_COMMAND_FAILED: "LINK_COMMAND_FAILED";
26320
26011
  readonly SANDBOX_PROVIDER_FAILED: "SANDBOX_PROVIDER_FAILED";
26321
26012
  readonly CLOUD_BROWSER_LAUNCH_FAILED: "CLOUD_BROWSER_LAUNCH_FAILED";
26322
26013
  readonly CLOUD_BROWSER_PROVIDER_FAILED: "CLOUD_BROWSER_PROVIDER_FAILED";
@@ -26349,6 +26040,11 @@ export declare const recordsBulkUpdateResultSchema: z$2.ZodObject<{
26349
26040
  readonly DOCUMENT_OCR_FAILED: "DOCUMENT_OCR_FAILED";
26350
26041
  readonly DOCUMENT_BLOB_EMPTY: "DOCUMENT_BLOB_EMPTY";
26351
26042
  readonly DOCUMENT_FILE_TOO_LARGE: "DOCUMENT_FILE_TOO_LARGE";
26043
+ readonly UPLOAD_NOT_FINISHED: "UPLOAD_NOT_FINISHED";
26044
+ readonly UPLOAD_IN_PROGRESS: "UPLOAD_IN_PROGRESS";
26045
+ readonly UPLOAD_CONTENT_MISMATCH: "UPLOAD_CONTENT_MISMATCH";
26046
+ readonly PENDING_UPLOADS_LIMIT: "PENDING_UPLOADS_LIMIT";
26047
+ readonly FILE_TOO_LARGE_FOR_READER: "FILE_TOO_LARGE_FOR_READER";
26352
26048
  readonly DOCUMENT_FILE_NOT_FOUND: "DOCUMENT_FILE_NOT_FOUND";
26353
26049
  readonly DOCUMENT_FILE_ALREADY_PACKED: "DOCUMENT_FILE_ALREADY_PACKED";
26354
26050
  readonly DOCUMENT_RECORD_NOT_FOUND: "DOCUMENT_RECORD_NOT_FOUND";
@@ -26422,6 +26118,9 @@ export declare const recordsBulkDeleteResultSchema: z$2.ZodObject<{
26422
26118
  readonly BUILD_MISMATCH: "SCHEMA_BUILD_MISMATCH";
26423
26119
  readonly SYSTEM_ENTITY_IMMUTABLE: "SCHEMA_SYSTEM_ENTITY_IMMUTABLE";
26424
26120
  readonly AMBIGUOUS_CHANGE: "SCHEMA_AMBIGUOUS_CHANGE";
26121
+ readonly STD_SYNTAX: "SCHEMA_STD_SYNTAX";
26122
+ readonly STD_STALE: "SCHEMA_STD_STALE";
26123
+ readonly STD_UNSUPPORTED: "SCHEMA_STD_UNSUPPORTED";
26425
26124
  readonly RECORD_GRANT_ON_WORKSPACE: "RECORD_GRANT_ON_WORKSPACE";
26426
26125
  readonly RECORD_GRANT_INVALID_ACTOR: "RECORD_GRANT_INVALID_ACTOR";
26427
26126
  readonly RECORD_GRANT_UNSHAREABLE_OBJECT: "RECORD_GRANT_UNSHAREABLE_OBJECT";
@@ -26530,6 +26229,7 @@ export declare const recordsBulkDeleteResultSchema: z$2.ZodObject<{
26530
26229
  readonly MACHINE_LEASE_FENCED: "MACHINE_LEASE_FENCED";
26531
26230
  readonly MACHINE_ENV_FILE_FAILED: "MACHINE_ENV_FILE_FAILED";
26532
26231
  readonly LINK_TOKEN_INVALID: "LINK_TOKEN_INVALID";
26232
+ readonly LINK_COMMAND_FAILED: "LINK_COMMAND_FAILED";
26533
26233
  readonly SANDBOX_PROVIDER_FAILED: "SANDBOX_PROVIDER_FAILED";
26534
26234
  readonly CLOUD_BROWSER_LAUNCH_FAILED: "CLOUD_BROWSER_LAUNCH_FAILED";
26535
26235
  readonly CLOUD_BROWSER_PROVIDER_FAILED: "CLOUD_BROWSER_PROVIDER_FAILED";
@@ -26562,6 +26262,11 @@ export declare const recordsBulkDeleteResultSchema: z$2.ZodObject<{
26562
26262
  readonly DOCUMENT_OCR_FAILED: "DOCUMENT_OCR_FAILED";
26563
26263
  readonly DOCUMENT_BLOB_EMPTY: "DOCUMENT_BLOB_EMPTY";
26564
26264
  readonly DOCUMENT_FILE_TOO_LARGE: "DOCUMENT_FILE_TOO_LARGE";
26265
+ readonly UPLOAD_NOT_FINISHED: "UPLOAD_NOT_FINISHED";
26266
+ readonly UPLOAD_IN_PROGRESS: "UPLOAD_IN_PROGRESS";
26267
+ readonly UPLOAD_CONTENT_MISMATCH: "UPLOAD_CONTENT_MISMATCH";
26268
+ readonly PENDING_UPLOADS_LIMIT: "PENDING_UPLOADS_LIMIT";
26269
+ readonly FILE_TOO_LARGE_FOR_READER: "FILE_TOO_LARGE_FOR_READER";
26565
26270
  readonly DOCUMENT_FILE_NOT_FOUND: "DOCUMENT_FILE_NOT_FOUND";
26566
26271
  readonly DOCUMENT_FILE_ALREADY_PACKED: "DOCUMENT_FILE_ALREADY_PACKED";
26567
26272
  readonly DOCUMENT_RECORD_NOT_FOUND: "DOCUMENT_RECORD_NOT_FOUND";
@@ -26899,7 +26604,7 @@ export declare const agentTriggerBaseSchema: z$2.ZodObject<{
26899
26604
  }, z$2.core.$strict>], "field">>>;
26900
26605
  }, z$2.core.$strict>, z$2.ZodTransform<{
26901
26606
  family: "check";
26902
- actions: "completed"[];
26607
+ actions: ("completed" | "failed" | "succeeded")[];
26903
26608
  repositories: string[];
26904
26609
  sender: GithubTriggerSender;
26905
26610
  conditions: ({
@@ -26985,7 +26690,7 @@ export declare const agentTriggerBaseSchema: z$2.ZodObject<{
26985
26690
  })[];
26986
26691
  } | {
26987
26692
  family: "workflow";
26988
- actions: "completed"[];
26693
+ actions: ("completed" | "failed" | "succeeded")[];
26989
26694
  repositories: string[];
26990
26695
  sender: GithubTriggerSender;
26991
26696
  conditions: ({
@@ -27198,7 +26903,7 @@ export declare const agentTriggerSchema: z$2.ZodPipe<z$2.ZodType<{
27198
26903
  connectionId?: string | undefined;
27199
26904
  match?: {
27200
26905
  family: "check";
27201
- actions: "completed"[];
26906
+ actions: ("completed" | "failed" | "succeeded")[];
27202
26907
  repositories: string[];
27203
26908
  sender: GithubTriggerSender;
27204
26909
  conditions: ({
@@ -27284,7 +26989,7 @@ export declare const agentTriggerSchema: z$2.ZodPipe<z$2.ZodType<{
27284
26989
  })[];
27285
26990
  } | {
27286
26991
  family: "workflow";
27287
- actions: "completed"[];
26992
+ actions: ("completed" | "failed" | "succeeded")[];
27288
26993
  repositories: string[];
27289
26994
  sender: GithubTriggerSender;
27290
26995
  conditions: ({
@@ -27375,7 +27080,7 @@ export declare const agentTriggerSchema: z$2.ZodPipe<z$2.ZodType<{
27375
27080
  connectionId?: string | undefined;
27376
27081
  match?: {
27377
27082
  family: "check";
27378
- actions: "completed"[];
27083
+ actions: ("completed" | "failed" | "succeeded")[];
27379
27084
  repositories: string[];
27380
27085
  sender: GithubTriggerSender;
27381
27086
  conditions: ({
@@ -27461,7 +27166,7 @@ export declare const agentTriggerSchema: z$2.ZodPipe<z$2.ZodType<{
27461
27166
  })[];
27462
27167
  } | {
27463
27168
  family: "workflow";
27464
- actions: "completed"[];
27169
+ actions: ("completed" | "failed" | "succeeded")[];
27465
27170
  repositories: string[];
27466
27171
  sender: GithubTriggerSender;
27467
27172
  conditions: ({
@@ -27552,7 +27257,7 @@ export declare const agentTriggerSchema: z$2.ZodPipe<z$2.ZodType<{
27552
27257
  connectionId?: string | undefined;
27553
27258
  match?: {
27554
27259
  family: "check";
27555
- actions: "completed"[];
27260
+ actions: ("completed" | "failed" | "succeeded")[];
27556
27261
  repositories: string[];
27557
27262
  sender: GithubTriggerSender;
27558
27263
  conditions: ({
@@ -27638,7 +27343,7 @@ export declare const agentTriggerSchema: z$2.ZodPipe<z$2.ZodType<{
27638
27343
  })[];
27639
27344
  } | {
27640
27345
  family: "workflow";
27641
- actions: "completed"[];
27346
+ actions: ("completed" | "failed" | "succeeded")[];
27642
27347
  repositories: string[];
27643
27348
  sender: GithubTriggerSender;
27644
27349
  conditions: ({
@@ -27729,7 +27434,7 @@ export declare const agentTriggerSchema: z$2.ZodPipe<z$2.ZodType<{
27729
27434
  connectionId?: string | undefined;
27730
27435
  match?: {
27731
27436
  family: "check";
27732
- actions: "completed"[];
27437
+ actions: ("completed" | "failed" | "succeeded")[];
27733
27438
  repositories: string[];
27734
27439
  sender: GithubTriggerSender;
27735
27440
  conditions: ({
@@ -27815,7 +27520,7 @@ export declare const agentTriggerSchema: z$2.ZodPipe<z$2.ZodType<{
27815
27520
  })[];
27816
27521
  } | {
27817
27522
  family: "workflow";
27818
- actions: "completed"[];
27523
+ actions: ("completed" | "failed" | "succeeded")[];
27819
27524
  repositories: string[];
27820
27525
  sender: GithubTriggerSender;
27821
27526
  conditions: ({
@@ -27999,7 +27704,7 @@ export declare const agentTriggerPatchSchema: z$2.ZodObject<{
27999
27704
  }, z$2.core.$strict>], "field">>>;
28000
27705
  }, z$2.core.$strict>, z$2.ZodTransform<{
28001
27706
  family: "check";
28002
- actions: "completed"[];
27707
+ actions: ("completed" | "failed" | "succeeded")[];
28003
27708
  repositories: string[];
28004
27709
  sender: GithubTriggerSender;
28005
27710
  conditions: ({
@@ -28085,7 +27790,7 @@ export declare const agentTriggerPatchSchema: z$2.ZodObject<{
28085
27790
  })[];
28086
27791
  } | {
28087
27792
  family: "workflow";
28088
- actions: "completed"[];
27793
+ actions: ("completed" | "failed" | "succeeded")[];
28089
27794
  repositories: string[];
28090
27795
  sender: GithubTriggerSender;
28091
27796
  conditions: ({
@@ -28532,7 +28237,7 @@ export declare function judgePreferenceWrite(declarations: PreferenceDeclaration
28532
28237
  * `user_profiles` column default it replaces (§ 1.6), so a person who never
28533
28238
  * chose reads exactly what they read before the move.
28534
28239
  */
28535
- export declare const CORE_PREFERENCES: readonly [PreferenceDeclaration<"workPosture", "architect" | "auto" | "manual">, PreferenceDeclaration<"chat.default", {
28240
+ export declare const CORE_PREFERENCES: readonly [PreferenceDeclaration<"workPosture", "auto" | "manual">, PreferenceDeclaration<"chat.default", {
28536
28241
  model?: {
28537
28242
  provider: "alibaba" | "anthropic" | "cursor" | "deepseek" | "google" | "meta" | "minimax" | "mistral" | "moonshotai" | "openai" | "spacexai" | "zai";
28538
28243
  model: string;