@zhivex-ai/harness 1.6.3 → 1.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (391) hide show
  1. package/CHANGELOG.md +16 -3
  2. package/README.md +17 -5
  3. package/SECURITY.md +1 -1
  4. package/SUPPORT.md +2 -2
  5. package/benchmarks/README.md +98 -0
  6. package/contracts/engine-api.json +1587 -0
  7. package/contracts/public-api.json +114 -0
  8. package/contracts/stable-api-signatures.json +17 -17
  9. package/dist/acp-cli.js +37 -1090
  10. package/dist/application/agenda.d.ts +10 -0
  11. package/dist/application/approval-review.d.ts +61 -0
  12. package/dist/application/assistant/automation/scheduler.d.ts +21 -0
  13. package/dist/application/assistant/automation/summary.d.ts +29 -0
  14. package/dist/application/assistant/automation/time.d.ts +10 -0
  15. package/dist/application/assistant/calendar/calendar.d.ts +238 -0
  16. package/dist/application/assistant/calendar/connection.d.ts +50 -0
  17. package/dist/application/assistant/calendar/create-event.d.ts +75 -0
  18. package/dist/application/assistant/calendar/environment.d.ts +2 -0
  19. package/dist/application/assistant/calendar/http.d.ts +6 -0
  20. package/dist/application/assistant/calendar/oauth.d.ts +68 -0
  21. package/dist/application/assistant/calendar/store.d.ts +11 -0
  22. package/dist/application/assistant/calendar/tools.d.ts +78 -0
  23. package/dist/application/assistant/client.d.ts +10 -0
  24. package/dist/application/assistant/config.d.ts +9 -0
  25. package/dist/application/assistant/contracts.d.ts +77 -0
  26. package/dist/application/assistant/daily/service.d.ts +181 -0
  27. package/dist/application/assistant/doctor.d.ts +22 -0
  28. package/dist/application/assistant/evaluation.d.ts +81 -0
  29. package/dist/application/assistant/host.d.ts +399 -0
  30. package/dist/application/assistant/integrations/google.d.ts +117 -0
  31. package/dist/application/assistant/integrations/public-web.d.ts +16 -0
  32. package/dist/application/assistant/managed/secrets.d.ts +10 -0
  33. package/dist/application/assistant/managed/setup-state.d.ts +346 -0
  34. package/dist/application/assistant/managed/setup.d.ts +492 -0
  35. package/dist/application/assistant/microsoft/connection.d.ts +73 -0
  36. package/dist/application/assistant/microsoft/tools.d.ts +78 -0
  37. package/dist/application/assistant/modules/calendar.d.ts +3 -0
  38. package/dist/application/assistant/modules/catalog.d.ts +38 -0
  39. package/dist/application/assistant/modules/daily.d.ts +5 -0
  40. package/dist/application/assistant/modules/github.d.ts +5 -0
  41. package/dist/application/assistant/modules/google.d.ts +3 -0
  42. package/dist/application/assistant/modules/mcp.d.ts +11 -0
  43. package/dist/application/assistant/modules/microsoft.d.ts +3 -0
  44. package/dist/application/assistant/modules/module.d.ts +224 -0
  45. package/dist/application/assistant/modules/tools.d.ts +11 -0
  46. package/dist/application/assistant/modules/web.d.ts +7 -0
  47. package/dist/application/assistant/private-directory.d.ts +3 -0
  48. package/dist/application/assistant/proactive/service.d.ts +142 -0
  49. package/dist/application/assistant/providers/openai-compatible.d.ts +66 -0
  50. package/dist/application/assistant/providers/provider.d.ts +141 -0
  51. package/dist/application/assistant/providers/web-citations.d.ts +2 -0
  52. package/dist/application/assistant/runtime.d.ts +16 -0
  53. package/dist/application/assistant/task-metrics.d.ts +304 -0
  54. package/dist/application/assistant/telegram/api.d.ts +47 -0
  55. package/dist/application/assistant/telegram/bridge.d.ts +69 -0
  56. package/dist/application/assistant/telegram/store.d.ts +10 -0
  57. package/dist/application/automation.d.ts +5 -0
  58. package/dist/application/calendar-review.d.ts +5 -0
  59. package/dist/application/checkpoint-review.d.ts +30 -0
  60. package/dist/application/client.d.ts +18 -0
  61. package/dist/application/code/context.d.ts +5 -0
  62. package/dist/application/code/delivery.d.ts +6 -0
  63. package/dist/application/code/git-delivery.d.ts +54 -0
  64. package/dist/application/code/github-git-transport.d.ts +15 -0
  65. package/dist/application/code/github-pr-transport.d.ts +6 -0
  66. package/dist/application/code/host.d.ts +25 -0
  67. package/dist/application/code/pr-delivery.d.ts +79 -0
  68. package/dist/application/code/projects.d.ts +90 -0
  69. package/dist/application/code/remote-delivery.d.ts +80 -0
  70. package/dist/application/code/repository.d.ts +9 -0
  71. package/dist/application/code/worktrees.d.ts +123 -0
  72. package/dist/application/contracts.d.ts +288 -0
  73. package/dist/application/coordinator-client.d.ts +33 -0
  74. package/dist/application/coordinator-discovery.d.ts +17 -0
  75. package/dist/application/coordinator-launcher.d.ts +2 -0
  76. package/dist/application/coordinator.d.ts +27 -0
  77. package/dist/application/credential-process.d.ts +13 -0
  78. package/dist/application/host.d.ts +7 -0
  79. package/dist/application/management.d.ts +68 -0
  80. package/dist/application/notes.d.ts +5 -0
  81. package/dist/application/offline-migration.d.ts +16 -0
  82. package/dist/application/personal-state.d.ts +5 -0
  83. package/dist/application/review-channel.d.ts +23 -0
  84. package/dist/application/review-tickets.d.ts +29 -0
  85. package/dist/application/runtime-binding.d.ts +4 -0
  86. package/dist/application-cli-wfh08g41.js +184 -0
  87. package/dist/application-cli-z3f9pvcf.js +209 -0
  88. package/dist/arguments-75r85mvc.js +27 -0
  89. package/dist/arguments-x24bbqvd.js +22 -0
  90. package/dist/audit/index.js +16 -472
  91. package/dist/audit-pack-1gnych0m.js +93 -0
  92. package/dist/{audit-pack-s9n693by.js → audit-pack-h44kjkbj.js} +17 -11
  93. package/dist/calendar-2xw0rr7b.js +49 -0
  94. package/dist/cli/application-cli.d.ts +2 -0
  95. package/dist/cli/arguments.d.ts +14 -1
  96. package/dist/cli/auto-approve-setup.d.ts +13 -0
  97. package/dist/cli/configured-harness.d.ts +1 -2
  98. package/dist/cli/console/console-budget.d.ts +16 -2
  99. package/dist/cli/console/console-checkpoints.d.ts +12 -0
  100. package/dist/cli/console/console-commands.d.ts +3 -3
  101. package/dist/cli/console/console-compaction.d.ts +1 -1
  102. package/dist/cli/console/console-diff.d.ts +2 -0
  103. package/dist/cli/console/console-input.d.ts +29 -1
  104. package/dist/cli/console/console-navigation.d.ts +2 -2
  105. package/dist/cli/console/console-outcome.d.ts +10 -0
  106. package/dist/cli/console/console-presentation.d.ts +17 -2
  107. package/dist/cli/console/console-pricing.d.ts +14 -0
  108. package/dist/cli/console/console-reasoning.d.ts +1 -1
  109. package/dist/cli/console/console-recovery.d.ts +2 -0
  110. package/dist/cli/console/console-review.d.ts +34 -0
  111. package/dist/cli/console/console-run-policy.d.ts +5 -0
  112. package/dist/cli/console/console-run-view.d.ts +28 -0
  113. package/dist/cli/console/console-task.d.ts +30 -0
  114. package/dist/cli/console/console-welcome.d.ts +13 -3
  115. package/dist/cli/console/review-diff.d.ts +20 -0
  116. package/dist/cli/presentation.d.ts +8 -6
  117. package/dist/cli/service-checkpoints.d.ts +234 -0
  118. package/dist/cli/terminal/activity-history.d.ts +4 -2
  119. package/dist/cli/terminal/activity-stream.d.ts +33 -0
  120. package/dist/cli/terminal/file-diff.d.ts +11 -0
  121. package/dist/cli/terminal/terminal-theme.d.ts +9 -0
  122. package/dist/cli/terminal/terminal-ui.d.ts +44 -2
  123. package/dist/cli/terminal/tool-activity.d.ts +6 -2
  124. package/dist/{cli-entry-hdtfef27.js → cli-entry-68kqraj7.js} +95 -43
  125. package/dist/{cli-entry-1epvek01.js → cli-entry-86rcbmwh.js} +294 -14
  126. package/dist/cli-entry-btkpb4h1.js +3627 -0
  127. package/dist/cli-entry-bxjbs6qq.js +200 -0
  128. package/dist/cli-entry-cpm89r9q.js +624 -0
  129. package/dist/{cli-entry-mbcq96nx.js → cli-entry-dksm56sj.js} +39 -293
  130. package/dist/{cli-entry-rsx0wpvs.js → cli-entry-eka68ttb.js} +4087 -4625
  131. package/dist/cli-entry-h7dcah4p.js +137 -0
  132. package/dist/cli-entry-kwk23ktq.js +33 -0
  133. package/dist/{cli-entry-nyzyvf24.js → cli-entry-vmce694z.js} +1286 -3142
  134. package/dist/cli-entry-wanv05db.js +1113 -0
  135. package/dist/{cli-yxvq8qf1.js → cli-z7vhm1rk.js} +1767 -380
  136. package/dist/cli.js +8 -6
  137. package/dist/client/json-contracts.d.ts +153 -0
  138. package/dist/client/local-service.d.ts +7 -12
  139. package/dist/client/local-transport.d.ts +14 -0
  140. package/dist/client/protocol.d.ts +43 -1
  141. package/dist/compat/cli-options.d.ts +7 -1
  142. package/dist/compat/cli.d.ts +2 -0
  143. package/dist/compat/cli.js +4043 -0
  144. package/dist/compat/code-support.d.ts +4 -0
  145. package/dist/compat/code-support.js +50 -28
  146. package/dist/{config-r9fdhce6.js → config-hw78440t.js} +5 -5
  147. package/dist/{config-vyajmksy.js → config-v7s8hp37.js} +1 -1
  148. package/dist/context/adaptive-compaction.d.ts +1 -0
  149. package/dist/context/lossless-lines.d.ts +13 -0
  150. package/dist/context/numbered-read-lines.d.ts +15 -0
  151. package/dist/context/read-attempts.d.ts +21 -0
  152. package/dist/context/request-projection.d.ts +32 -4
  153. package/dist/context/scoped-context.d.ts +31 -5
  154. package/dist/context/working-read-replay.d.ts +12 -0
  155. package/dist/coordinator-client-nzysqxf0.js +10 -0
  156. package/dist/engine/acp.js +27 -21
  157. package/dist/engine/application-client.d.ts +11 -0
  158. package/dist/engine/application-client.js +18 -0
  159. package/dist/engine/application-protocol.d.ts +5 -0
  160. package/dist/engine/application-protocol.js +7 -0
  161. package/dist/engine/application.d.ts +43 -0
  162. package/dist/engine/application.js +206 -0
  163. package/dist/engine/assistant/automation/scheduler.d.ts +2 -0
  164. package/dist/engine/assistant/automation/scheduler.js +11 -0
  165. package/dist/engine/assistant/automation/summary.d.ts +3 -0
  166. package/dist/engine/assistant/automation/summary.js +8 -0
  167. package/dist/engine/assistant/automation/time.d.ts +5 -0
  168. package/dist/engine/assistant/automation/time.js +15 -0
  169. package/dist/engine/assistant/calendar/calendar.d.ts +5 -0
  170. package/dist/engine/assistant/calendar/calendar.js +12 -0
  171. package/dist/engine/assistant/calendar/connection.d.ts +2 -0
  172. package/dist/engine/assistant/calendar/connection.js +11 -0
  173. package/dist/engine/assistant/calendar/environment.d.ts +1 -0
  174. package/dist/engine/assistant/calendar/environment.js +7 -0
  175. package/dist/engine/assistant/calendar/http.d.ts +3 -0
  176. package/dist/engine/assistant/calendar/http.js +9 -0
  177. package/dist/engine/assistant/calendar/oauth.d.ts +5 -0
  178. package/dist/engine/assistant/calendar/oauth.js +12 -0
  179. package/dist/engine/assistant/calendar/store.d.ts +2 -0
  180. package/dist/engine/assistant/calendar/store.js +8 -0
  181. package/dist/engine/assistant/calendar/tools.d.ts +2 -0
  182. package/dist/engine/assistant/calendar/tools.js +46 -0
  183. package/dist/engine/assistant/client.d.ts +2 -0
  184. package/dist/engine/assistant/client.js +33 -0
  185. package/dist/engine/assistant/config.d.ts +1 -0
  186. package/dist/engine/assistant/config.js +102 -0
  187. package/dist/engine/assistant/contracts.d.ts +10 -0
  188. package/dist/engine/assistant/contracts.js +78 -0
  189. package/dist/engine/assistant/daily/service.d.ts +12 -0
  190. package/dist/engine/assistant/daily/service.js +27 -0
  191. package/dist/engine/assistant/doctor.d.ts +1 -0
  192. package/dist/engine/assistant/doctor.js +116 -0
  193. package/dist/engine/assistant/evaluation.d.ts +2 -0
  194. package/dist/engine/assistant/evaluation.js +76 -0
  195. package/dist/engine/assistant/host.d.ts +2 -0
  196. package/dist/engine/assistant/host.js +63 -0
  197. package/dist/engine/assistant/integrations/google.d.ts +9 -0
  198. package/dist/engine/assistant/integrations/google.js +30 -0
  199. package/dist/engine/assistant/integrations/public-web.d.ts +3 -0
  200. package/dist/engine/assistant/integrations/public-web.js +11 -0
  201. package/dist/engine/assistant/managed/secrets.d.ts +1 -0
  202. package/dist/engine/assistant/managed/secrets.js +0 -0
  203. package/dist/engine/assistant/managed/setup-state.d.ts +11 -0
  204. package/dist/engine/assistant/managed/setup-state.js +84 -0
  205. package/dist/engine/assistant/managed/setup.d.ts +3 -0
  206. package/dist/engine/assistant/managed/setup.js +85 -0
  207. package/dist/engine/assistant/microsoft/connection.d.ts +7 -0
  208. package/dist/engine/assistant/microsoft/connection.js +21 -0
  209. package/dist/engine/assistant/microsoft/tools.d.ts +8 -0
  210. package/dist/engine/assistant/microsoft/tools.js +30 -0
  211. package/dist/engine/assistant/modules/calendar.d.ts +1 -0
  212. package/dist/engine/assistant/modules/calendar.js +49 -0
  213. package/dist/engine/assistant/modules/catalog.d.ts +3 -0
  214. package/dist/engine/assistant/modules/catalog.js +67 -0
  215. package/dist/engine/assistant/modules/daily.d.ts +1 -0
  216. package/dist/engine/assistant/modules/daily.js +48 -0
  217. package/dist/engine/assistant/modules/github.d.ts +1 -0
  218. package/dist/engine/assistant/modules/github.js +43 -0
  219. package/dist/engine/assistant/modules/google.d.ts +1 -0
  220. package/dist/engine/assistant/modules/google.js +53 -0
  221. package/dist/engine/assistant/modules/mcp.d.ts +1 -0
  222. package/dist/engine/assistant/modules/mcp.js +42 -0
  223. package/dist/engine/assistant/modules/microsoft.d.ts +1 -0
  224. package/dist/engine/assistant/modules/microsoft.js +53 -0
  225. package/dist/engine/assistant/modules/module.d.ts +5 -0
  226. package/dist/engine/assistant/modules/module.js +42 -0
  227. package/dist/engine/assistant/modules/tools.d.ts +2 -0
  228. package/dist/engine/assistant/modules/tools.js +42 -0
  229. package/dist/engine/assistant/modules/web.d.ts +1 -0
  230. package/dist/engine/assistant/modules/web.js +45 -0
  231. package/dist/engine/assistant/private-directory.d.ts +1 -0
  232. package/dist/engine/assistant/private-directory.js +7 -0
  233. package/dist/engine/assistant/proactive/service.d.ts +6 -0
  234. package/dist/engine/assistant/proactive/service.js +16 -0
  235. package/dist/engine/assistant/providers/openai-compatible.d.ts +4 -0
  236. package/dist/engine/assistant/providers/openai-compatible.js +12 -0
  237. package/dist/engine/assistant/providers/provider.d.ts +7 -0
  238. package/dist/engine/assistant/providers/provider.js +54 -0
  239. package/dist/engine/assistant/providers/web-citations.d.ts +1 -0
  240. package/dist/engine/assistant/providers/web-citations.js +7 -0
  241. package/dist/engine/assistant/runtime.d.ts +2 -0
  242. package/dist/engine/assistant/runtime.js +73 -0
  243. package/dist/engine/assistant/task-metrics.d.ts +8 -0
  244. package/dist/engine/assistant/task-metrics.js +17 -0
  245. package/dist/engine/assistant/telegram/api.d.ts +5 -0
  246. package/dist/engine/assistant/telegram/api.js +11 -0
  247. package/dist/engine/assistant/telegram/bridge.d.ts +2 -0
  248. package/dist/engine/assistant/telegram/bridge.js +40 -0
  249. package/dist/engine/assistant/telegram/store.d.ts +2 -0
  250. package/dist/engine/assistant/telegram/store.js +8 -0
  251. package/dist/engine/client.js +26 -18
  252. package/dist/engine/desktop-providers-v1.js +4 -4
  253. package/dist/engine/desktop-state-v1.js +16 -13
  254. package/dist/engine/index.d.ts +4 -0
  255. package/dist/engine/index.js +117 -159
  256. package/dist/engine/mcp-stdio-v1.js +13 -12
  257. package/dist/engine/models.js +65 -23
  258. package/dist/engine/protocol.js +10 -6
  259. package/dist/engine/service.js +32 -21
  260. package/dist/hostile-repository-demo.js +2329 -1096
  261. package/dist/index-09rsdr2d.js +1744 -0
  262. package/dist/index-0csc5sc7.js +139 -0
  263. package/dist/{index-4mn6m3bq.js → index-0dkty795.js} +8 -6
  264. package/dist/index-0kkgqvg7.js +0 -0
  265. package/dist/index-0mzz9axm.js +58 -0
  266. package/dist/index-1e69ar8r.js +38 -0
  267. package/dist/index-1z0xhkh9.js +18 -0
  268. package/dist/index-2cef1k92.js +356 -0
  269. package/dist/{index-rgqzdgv6.js → index-2j0v1xwr.js} +17 -13
  270. package/dist/index-2jw9jd7h.js +116 -0
  271. package/dist/index-2n9qx4km.js +0 -0
  272. package/dist/index-3rvk23e8.js +877 -0
  273. package/dist/index-3wa4j0yk.js +71 -0
  274. package/dist/index-41q1k17x.js +210 -0
  275. package/dist/index-4vz4bqqw.js +33 -0
  276. package/dist/index-5jxm2wy5.js +123 -0
  277. package/dist/index-5rk6ss42.js +216 -0
  278. package/dist/index-5v1skxf7.js +1852 -0
  279. package/dist/{index-fqqz1yt8.js → index-6ehtssyz.js} +369 -335
  280. package/dist/index-76kpdbpw.js +80 -0
  281. package/dist/{index-5nmm0642.js → index-7nbmhmw5.js} +10 -10
  282. package/dist/index-8mx0yrkz.js +31 -0
  283. package/dist/index-8tjev5ds.js +11 -0
  284. package/dist/index-91n5wr6s.js +163 -0
  285. package/dist/index-91trs3ew.js +151 -0
  286. package/dist/index-9y8p5vy5.js +222 -0
  287. package/dist/index-abxahprd.js +55 -0
  288. package/dist/index-aptyr511.js +84 -0
  289. package/dist/{index-8sm2a1wa.js → index-ay26xfxt.js} +28 -20
  290. package/dist/index-b4yed1s3.js +657 -0
  291. package/dist/index-bb7phvtg.js +23 -0
  292. package/dist/index-bk5tn9b8.js +236 -0
  293. package/dist/index-bw34861c.js +292 -0
  294. package/dist/index-c6fnjhgv.js +55 -0
  295. package/dist/{index-qfsrrnz6.js → index-cjevq9s8.js} +2 -2
  296. package/dist/{index-c39197wq.js → index-ctcwrkrc.js} +4 -4
  297. package/dist/{index-yx52bt4a.js → index-cztmcesv.js} +2 -2
  298. package/dist/index-dpbmxnrf.js +564 -0
  299. package/dist/index-ekxdcy36.js +134 -0
  300. package/dist/index-f8zpcsx3.js +289 -0
  301. package/dist/{index-6dxrbnxm.js → index-f970qtb4.js} +7 -143
  302. package/dist/index-fatcn6fp.js +2791 -0
  303. package/dist/index-fbzykqxy.js +105 -0
  304. package/dist/{index-1265j7t2.js → index-fwf274vc.js} +24 -14
  305. package/dist/index-fy4w0a7v.js +0 -0
  306. package/dist/index-gvva3e5x.js +76 -0
  307. package/dist/index-h7dcah4p.js +137 -0
  308. package/dist/index-hm9r120s.js +42 -0
  309. package/dist/index-j3d2tw97.js +328 -0
  310. package/dist/index-jfqj20x8.js +41 -0
  311. package/dist/{index-hhrnrqfc.js → index-k529a278.js} +6 -6
  312. package/dist/{index-bt2p8x7r.js → index-kbrf5bx7.js} +110 -106
  313. package/dist/index-kwk23ktq.js +33 -0
  314. package/dist/index-kz857p1j.js +557 -0
  315. package/dist/{index-j466sekf.js → index-mkt5yrax.js} +31 -105
  316. package/dist/{index-nxmk6re7.js → index-ndgnvjez.js} +18 -18
  317. package/dist/index-nemn4epv.js +43 -0
  318. package/dist/index-nkwy5bjr.js +1225 -0
  319. package/dist/index-nvvzr4ny.js +136 -0
  320. package/dist/index-pkspzsfs.js +78 -0
  321. package/dist/{index-fm84men1.js → index-px1tnqgt.js} +2 -2
  322. package/dist/index-q7qdw883.js +79 -0
  323. package/dist/{index-mzydbzp8.js → index-qvbg6tx1.js} +65 -23
  324. package/dist/index-r3mwr5fb.js +0 -0
  325. package/dist/index-rdr78m0k.js +91 -0
  326. package/dist/index-rtamqsfs.js +59 -0
  327. package/dist/index-s125ss45.js +38 -0
  328. package/dist/{index-vn91b9z1.js → index-sx1t6dnd.js} +3721 -2382
  329. package/dist/index-tar0ngkm.js +359 -0
  330. package/dist/index-tn58cr6w.js +471 -0
  331. package/dist/{index-w0m1nckc.js → index-v79s9bf9.js} +118 -45
  332. package/dist/index-vk3rq21m.js +17 -0
  333. package/dist/index-vmvnr28y.js +72 -0
  334. package/dist/index-vz629cg8.js +49 -0
  335. package/dist/{index-eps3c3g6.js → index-w292hdpz.js} +197 -960
  336. package/dist/{index-amjttjaj.js → index-w9eqg6p9.js} +24 -302
  337. package/dist/index-wj96kdw2.js +57 -0
  338. package/dist/index-wyck5yhd.js +141 -0
  339. package/dist/index-xvtk8pxs.js +674 -0
  340. package/dist/{index-bpc596v3.js → index-xwb691v9.js} +2 -2
  341. package/dist/index-ym69x168.js +518 -0
  342. package/dist/index-yprdjk9v.js +65 -0
  343. package/dist/index-z2a81ccr.js +35 -0
  344. package/dist/{index-3ah1f369.js → index-z69cqk74.js} +3 -3
  345. package/dist/index-zaakvmzq.js +62 -0
  346. package/dist/index-zk3m4mzg.js +232 -0
  347. package/dist/index-zx3wgvx4.js +218 -0
  348. package/dist/index.js +102 -83
  349. package/dist/persistence/migration-guard.d.ts +3 -0
  350. package/dist/runtime/agent-profile.d.ts +12 -0
  351. package/dist/runtime/harness.d.ts +13 -0
  352. package/dist/runtime/known-file-preload.d.ts +35 -0
  353. package/dist/service-cli.js +130 -40
  354. package/dist/service-client-cli-2rzxy5mj.js +1166 -0
  355. package/dist/service-client-cli-5ne8q5ej.js +543 -0
  356. package/dist/tools/ooxml-zip.d.ts +21 -0
  357. package/dist/tools/presentations.d.ts +47 -0
  358. package/dist/tools/tabular-data.d.ts +114 -0
  359. package/dist/tools/workspace.d.ts +76 -0
  360. package/dist/verify-historical-migrations.js +2249 -1016
  361. package/dist/workspace/workspace.d.ts +13 -1
  362. package/dist/zhx.js +8 -6
  363. package/docs/APPLICATION_MIGRATION.md +32 -0
  364. package/docs/CLI.md +166 -2
  365. package/docs/CODE_RELEASE.md +11 -5
  366. package/docs/CODE_WEB_TASKS.md +3 -114
  367. package/docs/CONTEXT_ENGINEERING.md +93 -0
  368. package/docs/ENGINE_API.md +9 -2
  369. package/docs/EXTENSIBILITY.md +1 -1
  370. package/docs/FIRST_USE.md +6 -6
  371. package/docs/INTERNAL_ARCHIVE.md +43 -0
  372. package/docs/LOCAL_SERVICE.md +1 -1
  373. package/docs/MODEL_CATALOG.md +14 -0
  374. package/docs/PROJECT_MEMORY.md +1 -1
  375. package/docs/README.md +23 -4
  376. package/evaluations/representative-assembly-matrix.json +19 -1
  377. package/examples/README.md +4 -4
  378. package/examples/assistant/compatible-calendar.json +17 -0
  379. package/examples/assistant/composed-modules.json +23 -0
  380. package/examples/assistant/connected-tools.json +9 -0
  381. package/examples/assistant/daily-tools.json +6 -0
  382. package/examples/assistant/offline.mjs +24 -0
  383. package/fixtures/cli-compatibility/README.md +10 -0
  384. package/fixtures/cli-compatibility/inventory.json +7858 -0
  385. package/package.json +232 -26
  386. package/dist/cli/console/console-model-catalog.d.ts +0 -8
  387. package/dist/index-2yyfg69h.js +0 -619
  388. package/dist/index-3wwfn5n6.js +0 -270
  389. package/dist/index-4gt045j0.js +0 -288
  390. package/dist/index-4jw3tvy8.js +0 -301
  391. package/dist/service-client-cli-xbj7j5kj.js +0 -1251
@@ -199,6 +199,18 @@ export declare class Workspace {
199
199
  afterMode: number;
200
200
  }>, assertActive?: () => Promise<void>, host?: HostTextEditOptions): Promise<ApplyPatchResult>;
201
201
  private applyPatchWithModesLocked;
202
+ readBinaryFile(relativePath: string, maxBytes?: number): Promise<{
203
+ path: string;
204
+ contents: Buffer;
205
+ digest: FileDigest;
206
+ size: number;
207
+ }>;
208
+ writeBinaryFile(relativePath: string, contents: Uint8Array, expectedDigest?: FileDigest | null, maxBytes?: number): Promise<{
209
+ path: string;
210
+ bytes: number;
211
+ digest: FileDigest;
212
+ overwritten: boolean;
213
+ }>;
202
214
  /** @deprecated Use applyPatch with an inspected expectedDigest. */
203
215
  writeFile(relativePath: string, content: string, overwrite?: boolean): Promise<{
204
216
  path: string;
@@ -233,7 +245,7 @@ export declare class Workspace {
233
245
  }>;
234
246
  restoreQuarantined(input: RestoreFileInput): Promise<RestoreFileResult>;
235
247
  private restoreQuarantinedLocked;
236
- runCheck(check: HarnessCheck, expectedScript: string, allowedChecks?: readonly string[]): Promise<CommandResult>;
248
+ runCheck(check: HarnessCheck, expectedScript: string, allowedChecks?: readonly string[], signal?: AbortSignal): Promise<CommandResult>;
237
249
  gitDiff(): Promise<{
238
250
  status: CommandResult;
239
251
  diff: CommandResult;
package/dist/zhx.js CHANGED
@@ -1,14 +1,16 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- HARNESS_VERSION,
4
- NODE_ENGINE_RANGE,
5
3
  shortCliHelp
6
- } from "./cli-entry-mbcq96nx.js";
4
+ } from "./cli-entry-dksm56sj.js";
5
+ import {
6
+ HARNESS_VERSION,
7
+ NODE_ENGINE_RANGE
8
+ } from "./cli-entry-kwk23ktq.js";
7
9
  import {
8
10
  __require
9
11
  } from "./cli-entry-1bx83sw4.js";
10
12
 
11
- // src/cli/node-engine.ts
13
+ // packages/core/src/cli/node-engine.ts
12
14
  var nodeEngineError = (version, range) => {
13
15
  const minimumMatch = /^>=(\d+)\.(\d+)\.(\d+)$/.exec(range.trim());
14
16
  const actualMatch = /^(\d+)\.(\d+)\.(\d+)/.exec(version.trim());
@@ -25,7 +27,7 @@ var nodeEngineError = (version, range) => {
25
27
  return;
26
28
  };
27
29
 
28
- // src/cli-entry.ts
30
+ // packages/core/src/cli-entry.ts
29
31
  if (!process.versions.bun) {
30
32
  const engineError = nodeEngineError(process.versions.node, NODE_ENGINE_RANGE);
31
33
  if (engineError) {
@@ -41,6 +43,6 @@ if (argv.length === 1 && ["--version", "-v", "version"].includes(argv[0])) {
41
43
  process.stdout.write(`${shortCliHelp(HARNESS_VERSION)}
42
44
  `);
43
45
  } else {
44
- const { runCli } = await import("./cli-yxvq8qf1.js");
46
+ const { runCli } = await import("./cli-z7vhm1rk.js");
45
47
  await runCli(argv);
46
48
  }
@@ -0,0 +1,32 @@
1
+ # Application migration and recovery
2
+
3
+ Electron is maintained in [zhivex-app](https://github.com/Zhivex/zhivex-app). Harness retains `packages/core/src`, the shared application domain, the terminal product in `packages/cli`, and the recovery tools. The root package still publishes `@zhivex-ai/harness` with the same exports and binaries. Core remains a private workspace with matching version and engines; `bun run workspace:check` validates this invariant. The root lockfile covers core and CLI only.
4
+
5
+ ## State and credential continuity
6
+
7
+ Repository extraction does not relocate personal state. Keep `~/.zhx-app`, external Code state directories, project/worktree paths, IDs, scopes, provider bindings, pending decisions and credential references. Keep the Electron package identity, bundle ID and effective userData path. Do not merge profiles or convert unknown Tauri data. Credentials remain in their original Keychain services and accounts.
8
+
9
+ The cutover rehearsal verified real credential access from both packaged executables, equivalent profile/session projections, and unchanged conversation/run/activity tables. Backups and detailed personal-profile evidence are stored privately, not in Git. No model request or credential write was required. See [extraction status](https://github.com/Zhivex/zhivex-harness/blob/main/docs/extraction/STATUS.md).
10
+
11
+ ## Offline backup and rollback without Keychain export
12
+
13
+ Run `bun run migration:application` from a Harness checkout. It requires explicit roots and never discovers or exports credentials. It snapshots bytes; it is not an unknown-schema converter.
14
+
15
+ 1. Stop Electron, coordinators, CLI and every other writer sharing the state. Inventory all personal state roots, external Code state and Electron metadata needed for recovery. Do not select whole repositories, worktrees or the home directory.
16
+ 2. Select canonical absolute directories, private to the same user, without overlap or symlinks. The backup must be outside every source. Files must be private, regular and single-linked. Limits are 32 roots, 10,000 files/directories, 128 MiB per file and 512 MiB total. Nonempty WAL/journal files are rejected; checkpoint cleanly and never delete WAL files manually.
17
+ 3. Run `bun run migration:application backup /absolute/backup /absolute/personal-state /absolute/code-state`. The tool holds coordinator and SQLite exclusion locks and rejects a live legacy owner. Credentials are not read or copied; opaque references remain in state.
18
+ 4. Keep `manifest.json`, `journal.json` and `objects/` together. Verify sizes and SHA-256 values. After interruption, retry with the same backup and roots; a changed source is not silently accepted.
19
+ 5. To restore, run `inspect-rollback` with the same arguments, inspect current state and pass the returned `currentSha256` to `rollback ... --expected-current=HASH`. Verification precedes writes. Newer content is preserved in `before-rollback/` and `before-rollback-manifest.json`; newly created empty directories may remain.
20
+ 6. Resume interrupted restoration with the same backup and approved hash. The journal tracks completed writes. A completed restore cannot overwrite later work using stale consent.
21
+
22
+ `.zhivex-migration.json` blocks admission during an incomplete operation. Do not delete markers or lock files manually. An incomplete copy can be cancelled through `abort ... --expected-current=HASH` after inspection; a restore already in progress must finish. Use a fresh destination for a later backup.
23
+
24
+ SQLite may create empty WAL/shared-memory sidecars when opening an otherwise settled legacy database. The real cutover rehearsal kept read-only SQLite handles open around the unchanged backup routine to stabilize those operational files; no user records or journal mode were changed. A source-change error must be diagnosed before proceeding, never bypassed by weakening verification.
25
+
26
+ Cooperative exclusion is supported on macOS only. Older clients and arbitrary processes that ignore the protocol must stay stopped. The tool cannot certify that the operator inventoried every external root.
27
+
28
+ ## Distribution limits
29
+
30
+ Published core migration fixtures remain 0.10.0 and 0.11.1; `bun run migration:check` checks them against the current motor. The repository split changes neither protocol nor persisted-state versions.
31
+
32
+ This extraction does not certify unknown Tauri formats, production Developer ID signing, notarization or signed updates. The alpha app remains unsigned/unnotarized, and the production update feed stays disabled. Fixture rollback success is distinct from a signed production install/update/rollback demonstration.
package/docs/CLI.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # CLI reference
2
2
 
3
+ > Las rutas históricas `reports/unification/…` citadas en este documento pertenecen al [archivo interno](INTERNAL_ARCHIVE.md); los originales se conservaron fuera del árbol publicable.
4
+
3
5
  ## Tasks, help and profile updates
4
6
 
5
7
  Append `--help` to a command even when it already includes a task or options:
@@ -794,8 +796,8 @@ hash checks identity; it is not proof that a person reviewed the selection.
794
796
  State export preserves retained captures and completed restore records and
795
797
  refuses pending restore authority. Export/import never prune to fit capacity.
796
798
  Import accepts an empty destination or an identical prior import, not a merge
797
- with changed checkpoint history. These administrative retention commands run
798
- locally; Desktop can continue using the same retained checkpoints afterward.
799
+ with changed checkpoint history. Retention can run locally or through the shared
800
+ host with --area code / --service; Desktop observes the same retained records.
799
801
 
800
802
  ### Inspect the configured policy
801
803
 
@@ -857,3 +859,165 @@ pack. See [Audit pack](AUDIT_PACK.md).
857
859
  ## Experimental project memory (unreleased)
858
860
 
859
861
  `zhx memory` supports `remember`, `list`, `read`, `update`, `forget`, `suggest`, `accept`, `context`, `clear`, `enable` and `disable`. Content is one quoted argument. Updates, acceptance and forgetting require the current revision. `--source` supplies a provenance label; `--no-memory` disables curated retrieval and SDK memory loading/capture for a local run/chat/resume invocation. Existing workspace/tenant/user/namespace flags select scope. See [Project memory](PROJECT_MEMORY.md) for bounds, review, deletion semantics and next-release pairing.
862
+
863
+ ## Host de aplicación compartido
864
+
865
+ `zhx application status` consulta el coordinador sin iniciarlo. `zhx application start` lo descubre o inicia en segundo plano con el mismo runtime Node de la CLI instalada. `zhx application stop --yes` solicita detener el servicio completo: afecta a todos sus clientes y detiene tareas y servicios de fondo. Las revisiones pendientes y conversaciones se conservan. El resultado `stop-requested` es un acuse de solicitud, no una prueba de que todas las tareas hayan terminado de cerrar.
866
+
867
+ `--application-directory <dir>` selecciona el directorio privado compartido; por defecto los comandos `application` y `--area` usan `~/.zhx-app`. `--area assistant|code` conecta run/resume/chat/policy/sessions al runtime seleccionado en ese host. Es compatible con stdin, `--session`, JSON y JSONL donde esos comandos ya los admiten. Cerrar una sesión CLI no cierra el host persistente.
868
+
869
+ ```sh
870
+ zhx application start --json
871
+ zhx sessions list --area assistant --json
872
+ printf 'Revisa mi tarea' | zhx run --area assistant --jsonl -
873
+ zhx chat --area code
874
+ zhx application status --json
875
+ zhx application stop --yes --json
876
+ ```
877
+
878
+ El perfil Assistant y el proyecto Code deben estar configurados; si faltan, la CLI informa el requisito sin fabricar una conexión. El alta y la selección desde CLI se describen a continuación. No se pueden combinar estas opciones con `--service` ni sobrescribir configuración del motor mediante flags de proveedor, workspace o permisos. Los comandos anteriores conservan su comportamiento cuando no se pide el modo compartido; no se declara todavía paridad de toda la CLI ni retiro de entrypoints históricos.
879
+
880
+ ### Agentes, conexiones y proyectos compartidos
881
+
882
+ Los comandos siguientes usan el coordinador y aceptan `--application-directory <dir>` y `--json`:
883
+
884
+ | Comando | Efecto |
885
+ | --- | --- |
886
+ | `zhx agents list` | Lista perfiles y el borrador compartido, sin credenciales. |
887
+ | `zhx agents create "Nombre"` | Crea un borrador. Rechaza otro borrador existente en vez de sobrescribirlo. |
888
+ | `zhx connections configure -` | Lee JSON de proveedor por stdin, valida acceso y lo guarda para el borrador en el llavero. |
889
+ | `zhx connections list` | Lista IDs, modelos y agentes que usan cada conexión; nunca las claves. |
890
+ | `zhx connections use <id>` | Reutiliza una conexión en el borrador actual. |
891
+ | `zhx agents tools -` | Configura módulos del borrador mediante JSON por stdin y devuelve la configuración guardada. |
892
+ | `zhx agents start` | Activa el borrador configurado. |
893
+ | `zhx agents select <id>` | Selecciona un perfil existente, respetando tareas y revisiones pendientes. |
894
+ | `zhx agents rename <id> "Nombre"` | Renombra un perfil. |
895
+ | `zhx agents model <id> <modelo>` | Cambia el modelo mediante las validaciones y bindings del core. |
896
+ | `zhx agents discard --yes` | Descarta el borrador compartido. |
897
+ | `zhx agents delete <id> --yes` | Elimina el perfil y sus datos de runtime/conversaciones según el comportamiento existente del gestor; no es sólo ocultarlo. |
898
+ | `zhx projects list` | Lista repositorios registrados y selección activa. |
899
+ | `zhx projects context` | Lee el modelo configurado, fuentes y skills del contexto cargado por el host Code activo. |
900
+ | `zhx projects open <raíz-Git> <connectionId>` | Registra/abre el repositorio con la conexión elegida. |
901
+ | `zhx projects select <id>` | Cambia al proyecto registrado, manteniendo el aislamiento. |
902
+
903
+ La creación es deliberadamente por pasos: un fallo de validación deja un borrador recuperable. No se reintenta automáticamente una mutación con resultado incierto. Las operaciones se serializan en el coordinador con las acciones de Electron, y los bloqueos de actividad siguen perteneciendo al core.
904
+
905
+ El JSON para un proveedor compatible admite `baseURL`, `model`, `apiKey`, `apiMode` y `allowInsecureLocalhost`; los proveedores Muse/Meta y Qwen usan el esquema existente del core. Entregarlo por stdin evita incluir claves en argumentos o historial de comandos. El consumidor debe proporcionar ese stdin desde una fuente privada; los resultados y errores de la CLI nunca reproducen su contenido. La validación consulta el proveedor configurado.
906
+
907
+ Los documentos JSON nuevos son `application-agents`, `application-connections` y `application-projects`, todos con `schemaVersion: 1`. Un host antiguo sin la capacidad de administración devuelve una instrucción para detenerlo y reiniciarlo explícitamente, sin intentar modificar sus stores con otra versión. Las automatizaciones y OAuth desde la nueva CLI todavía requieren trabajo; esta cobertura no declara completa la etapa 6.
908
+
909
+ ### Tareas y recordatorios personales
910
+
911
+ `zhx personal tasks [offset]` consulta las tareas pendientes del Assistant activo, de 20 en 20. La respuesta incluye `total` y `nextOffset` (null al terminar). `zhx personal reminders` consulta sus últimos 100 recordatorios, con canal, zona horaria y estado persistido. Ambos aceptan `--application-directory <dir>` y `--json`, descubren/inician el mismo coordinador que Electron y no crean sesiones ni invocan al modelo.
912
+
913
+ ```sh
914
+ zhx personal tasks --json
915
+ zhx personal tasks 20 --json
916
+ zhx personal reminders --json
917
+ ```
918
+
919
+ Los documentos JSON `application-tasks` y `application-reminders` incluyen `projectId` y `enabled`. `enabled: false` indica que el agente no tiene el módulo personal habilitado; no representa una consulta exitosa de un módulo vacío. Sin un agente activo listo, el comando falla con un error de configuración. El core rechaza una selección que cambie entre descubrimiento y lectura. No se acepta `--area code`, `--service` ni flags de proveedor. Para crear o modificar datos se conserva el flujo de herramientas revisadas desde la conversación, por ejemplo `zhx run --area assistant`.
920
+
921
+ Para crear un agente con tareas y recordatorios desde la CLI, después de configurar su conexión y antes de `agents start`:
922
+
923
+ ```sh
924
+ printf '%s' '{"daily":true,"proactive":false}' | zhx agents tools - --json
925
+ zhx agents start --json
926
+ zhx personal tasks --json
927
+ ```
928
+
929
+ `agents tools` reemplaza la configuración de módulos del borrador. Requiere un borrador existente y respeta un OAuth pendiente. Admite `daily`, `proactive` y las referencias de entorno `web`/`github` validadas por el core. Esas integraciones requieren las credenciales en el entorno del proceso propietario del coordinador; exportarlas después en otro terminal no cambia un servicio ya iniciado. No se aceptan claves secretas dentro de este JSON. Un error de validación conserva la configuración anterior. La respuesta `application-agents.draft.tools` permite comprobar lo guardado antes de iniciar el agente.
930
+
931
+ El alta del módulo personal desde el paquete Node instalado está verificada en `reports/unification/cli-modules/report.json`, junto con dos agentes, dos proyectos y un único coordinador. No certifica credenciales live de web/GitHub ni la configuración de OAuth. La CLI de automatizaciones se describe a continuación.
932
+
933
+ ### Automatizaciones compartidas
934
+
935
+ `zhx automations status --json` devuelve `application-automation`: `projectId`, disponibilidad del scheduler, vinculación de Telegram, `digest`, horario, preferencias y últimas ocurrencias. Usa el mismo coordinador que Electron. `available: false` significa que el agente carece del scheduler; `state: null` no significa una rutina vacía.
936
+
937
+ Para cambiarlo, revisar primero ese estado y preparar un archivo JSON con la identidad y digest obtenidos:
938
+
939
+ ```json
940
+ {
941
+ "projectId": "<projectId revisado>",
942
+ "change": {
943
+ "action": "configure",
944
+ "expectedDigest": "<digest revisado>",
945
+ "localTime": "08:30",
946
+ "timeZone": "America/Argentina/Buenos_Aires"
947
+ }
948
+ }
949
+ ```
950
+
951
+ ```sh
952
+ zhx automations status --json
953
+ zhx automations apply - --yes --json < reviewed-automation.json
954
+ ```
955
+
956
+ `configure` y `resume` autorizan entregas futuras al Telegram vinculado y requieren esa vinculación. No ejecutan un resumen inmediato. `pause` pausa el horario; `delete` elimina el horario conservando preferencias; `forget` olvida todas las preferencias del scheduler y pausa el horario. Estas cuatro acciones sólo aceptan `action` y `expectedDigest` dentro de `change`. Pausar/eliminar no retira un envío que ya empezó.
957
+
958
+ Todos los cambios requieren `--yes`, stdin JSON y el digest revisado: no se obtiene una revisión nueva automáticamente para sustituir una obsoleta. Si cambia el agente activo o la configuración, se rechaza el cambio. Ante respuesta incierta, consultar `status` y revisar el resultado antes de emitir otra modificación. No hay reenvío automático. Ambos comandos aceptan `--application-directory <dir>`; no admiten `--area`, `--service`, configuración de proveedor ni JSONL. Errores de configuración usan exit code 2; el documento JSON de error conserva el contrato común sin exponer mensajes internos.
959
+
960
+ La validación de `tests/automation-cli.test.ts` utiliza el scheduler y SQLite reales con vinculación/fuente simuladas, sin enviar mensajes. El mismo test puede probar un consumidor Node instalado mediante `ZHX_CLI_TEST_ENTRY=<ruta absoluta a dist/zhx.js>`. Esta cobertura no certifica cuentas externas ni recepción de Telegram.
961
+
962
+ ### Checkpoints en el host compartido
963
+
964
+ `checkpoints list|capture|inspect|prepare|review|apply|recover|storage|prune-review|prune-apply` admite `--area code` (descubrimiento y arranque del coordinador), `--application-directory <dir>` y, alternativamente, `--service <credentials.json>` para un host explícito. Los archivos, stores y comprobaciones de revisión pertenecen al host; la CLI no abre una segunda copia del estado ni requiere acceso local a los archivos del proyecto.
965
+
966
+ ```sh
967
+ zhx checkpoints list <sessionId> --area code --json
968
+ zhx checkpoints capture <sessionId> <turnId> src/file.ts --area code --json
969
+ zhx checkpoints inspect <checkpointId> --session <sessionId> --area code --json
970
+ zhx checkpoints prepare <checkpointId> --session <sessionId> --area code --json
971
+ zhx checkpoints review <operationId> --session <sessionId> --area code --json
972
+ zhx checkpoints apply <operationId> <reviewedProposalId> --session <sessionId> --area code --json
973
+ zhx checkpoints recover <operationId> <existingForkSessionId> --session <sessionId> --area code --json
974
+ ```
975
+
976
+ `list` y `capture` toman la conversación del argumento posicional. Las otras operaciones requieren `--session` explícito: no buscan una operación en otras conversaciones. La conversación y sus runs deben cumplir los requisitos de terminalidad del core. `apply` conserva el digest pasado por el operador tras revisar el diff; no lo sustituye por una revisión nueva. El host rechaza un digest incorrecto, bytes cambiados, pertenencia a otra conversación o revisión concurrente. La conversación original se conserva. Ante una respuesta incierta, consultar `review` y el diario antes de repetir; una restauración completada devuelve su derivación existente.
977
+
978
+ La salida mantiene los documentos de checkpoints del modo local y su `schemaVersion: 1`. `previewStatus: unavailable` significa que el diff no puede reconstruirse con los archivos actuales; no representa un diff vacío. Los conflictos usan exit code 1; argumentos inválidos, 2. No se acepta `--yes` como sustituto del digest, ni `--workspace`, `--state-dir` o flags de proveedor para configurar un host existente.
979
+
980
+ `storage`, `prune-review` y `prune-apply` también usan el host compartido. Operan sobre el scope del proyecto seleccionado y no aceptan `--session`. Consultar `storage`, seleccionar IDs exactos como `checkpoint:<id>` y `restore:<id>`, revisar `prune-review` y pasar su `planId` a `prune-apply`. El plan enlaza todo el inventario: cualquier cambio posterior exige otra revisión. El borrado es transaccional y sólo afecta los registros seleccionados; conserva archivos y conversaciones. No puede eliminar restauraciones pendientes ni checkpoints referenciados por operaciones que se conservan. Un resultado incierto se reconcilia consultando `storage` antes de emitir otro comando. No usar el modo local para modificar los stores de un host activo. Las pruebas están en `tests/service-checkpoints.test.ts` y el recorrido instalado en [`smoke-cli-coordinator.mjs` in zhivex-app](https://github.com/Zhivex/zhivex-app/blob/main/packages/desktop/scripts/smoke-cli-coordinator.mjs).
981
+
982
+ Cuando el llavero no se puede leer, `zhx application status --json` puede informar
983
+ `status: running`, `assistantLocked: true` y `assistantError`: el coordinador está
984
+ respondiendo, pero el perfil personal todavía no está disponible. `agents list`
985
+ y `connections list` fallan con exit code 2; no devuelven una lista vacía que pueda
986
+ confundirse con un perfil nuevo. El límite de lectura del core no concede acceso
987
+ al llavero ni cancela por sí mismo una llamada nativa bloqueada.
988
+
989
+ ### Notas del Assistant compartido
990
+
991
+ ```sh
992
+ zhx personal notes --json
993
+ zhx personal notes 20 --json
994
+ zhx personal search-notes "reunión" --json
995
+ zhx personal search-notes "reunión" 20 --json
996
+ zhx personal note <note-uuid> --json
997
+ ```
998
+
999
+ Estos comandos usan el mismo agente activo y las mismas notas que Electron. Admiten `--application-directory <dir>` y requieren un host con capacidad `application.notes`; no abren stores propios. `notes` pagina de a 20 y devuelve `total` y `nextOffset`. `search-notes` busca en título y contenido, con una consulta de hasta 200 caracteres. `note` lee un UUID del agente seleccionado; un ID inexistente devuelve error. La respuesta JSON tiene `kind: application-notes`, `enabled`, `projectId`, lista y paginación, más `note` cuando se pidió un ID. Si el módulo no está habilitado, se devuelve `enabled: false`.
1000
+
1001
+ Son lecturas: no admiten `--yes`, no guardan ni borran notas. Las modificaciones siguen disponibles mediante las herramientas revisadas de la conversación compartida. La CLI valida parámetros antes de descubrir o iniciar el host y rechaza `--area`/`--service` en estos comandos para evitar una selección ambigua.
1002
+
1003
+ ### Contexto de Code compartido
1004
+
1005
+ `zhx projects context --application-directory <directorio> --json` descubre el coordinador y lee el mismo bundle que Context en Electron. Devuelve `application-code-context` versión 1 con projectId, modelo configurado, habilitación, fingerprint, manifiesto, fuentes y skills disponibles. No expone cuerpos de archivos ni configuración de credenciales. Sin `--json`, la salida pasa por el saneamiento de terminal habitual.
1006
+
1007
+ La consulta no recarga archivos, modifica el modelo ni inicia un runtime Code separado. Requiere un proyecto activo listo y la capacidad `application.code-context`; un host anterior recibe un error de configuración recuperable mediante actualización/reinicio explícitos. Si cambia el proyecto entre descubrimiento y consulta, el core rechaza el scope anterior. No acepta `--area`, `--service`, argumentos adicionales ni JSONL.
1008
+
1009
+ Evidencia de CLI instalada y paridad con Electron: `reports/unification/code-context-cli/report.json`.
1010
+
1011
+ ### Conexión del proyecto Code activo
1012
+
1013
+ `zhx projects connection <projectId> <connectionId> --application-directory <directorio> --json` aplica una conexión guardada al proyecto activo usando el mismo caso de uso que Electron. Rechaza trabajo activo o revisiones pendientes; conserva conversaciones y no transmite claves a la terminal. Los IDs se obtienen con `projects list` y `connections list`.
1014
+
1015
+ ## Terminal unificada y nombres de compatibilidad
1016
+
1017
+ `zhx` es la entrada canónica. `zhivex-harness` usa el mismo ejecutable y `zhivex-code` delega sus comandos normales en la CLI del core. El wrapper conserva su versión de paquete y ayuda identificable; las indicaciones de comandos nuevos usan `zhx`. La consola incluye `/task`, `/budget`, `/pricing`, `/checkpoint`, `/theme` y revisión visual de Code.
1018
+
1019
+ Para compartir el host con Electron usar `zhx chat --area code` o `--area assistant`, con `--application-directory` cuando corresponda. Las opciones de runtime se configuran en el host; no se aceptan overrides locales de autoaprobación en modo compartido. Los comandos directos históricos siguen disponibles sin Electron para conservar sus stores, flags y contratos.
1020
+
1021
+ `--auto-approve manual|auto-edits|auto-limits` y `--auto-approve-allow <tool>` conservan la política local opt-in de Code en chat/run/review/resume directos. No sustituyen la revisión explícita requerida por el core ni autorizan entrega Git.
1022
+
1023
+ `zhivex-code web`, `--web` y `zhivex-code project` rechazan la interfaz retirada e indican usar Electron o `zhx projects --help`. Para conversar desde la terminal, usar `zhx chat --area code`. La limpieza del código no migra ni elimina registros personales; ver [migración de la aplicación](APPLICATION_MIGRATION.md). La [matriz histórica de fase 6](INTERNAL_ARCHIVE.md) describe el estado anterior a la retirada.
@@ -1,10 +1,16 @@
1
1
  # Code release procedure
2
2
 
3
- ## Prepared patch: Code 0.4.2
3
+ ## Published patch: Code 0.4.3
4
4
 
5
- Code `0.4.2` pins Harness `1.6.3` exactly and is pending publication to `latest`. Published Code `0.4.1` and Harness `1.6.2` remain unchanged. The private Web development dependency stays on the published Harness `1.6.2` so clean CI can install its frozen lockfile before the candidate exists in the registry; offline tests explicitly link the built `1.6.3` candidate.
5
+ Code `0.4.3` is published and verified on npm `latest`, pinned exactly to Harness `1.7.0`. Annotated `code-v0.4.3` resolves to `80618dedc023168d777ca530dab76959ad491687`, the same commit as `v1.7.0`. The [protected OIDC workflow](https://github.com/Zhivex/zhivex-harness/actions/runs/43625033978) passed real registry resolution of the verified Harness release, retained-artifact terminal/Web journeys and four-manager acceptance. Independent verification confirmed exact registry bytes, `latest` and source-bound provenance. See [publication evidence](https://github.com/Zhivex/zhivex-harness/blob/main/docs/reports/PUBLICATION_1_7_0_CODE_0_4_3.md).
6
6
 
7
- After Harness publication and registry/provenance verification, use annotated `code-v0.4.2` on the same reviewed main SHA, `channel=latest`, `mode=oidc`, and the protected `release-code.yml` workflow. The final Code gate must resolve the real published Harness dependency without candidate overrides, then verify retained-artifact installation and provenance. Local paired-artifact tests do not substitute for that registry gate. See [the preparation report](https://github.com/Zhivex/zhivex-harness/blob/main/docs/reports/RELEASE_1_6_3_CODE_0_4_2.md).
7
+ The private Web bootstrap pin remains `1.6.2`, separate from Code's published engine dependency. npm `next` remains Code `0.3.0-rc.8` and Harness `1.4.0-rc.8`.
8
+
9
+ ## Published patch: Code 0.4.2
10
+
11
+ Code `0.4.2` is published and verified on npm `latest`, pinned exactly to Harness `1.6.3`. Annotated `code-v0.4.2` resolves to `7ba14a08e4a3fd60f3ea50263cb0bebdd5fc125a`, the same commit as `v1.6.3`. The [protected OIDC workflow](https://github.com/Zhivex/zhivex-harness/actions/runs/42873027805) passed actual registry resolution of the already verified Harness release, retained-artifact terminal/Web journeys and four-manager acceptance before publication. Independent verification confirmed the published bytes, `latest` and source-bound provenance. See [publication evidence](https://github.com/Zhivex/zhivex-harness/blob/main/docs/reports/PUBLICATION_1_6_3_CODE_0_4_2.md).
12
+
13
+ The private Web development dependency remains pinned to Harness `1.6.2`; offline contributor setup links the built candidate explicitly. This development pin is separate from the published Code dependency on Harness `1.6.3`. Published npm `next` remains Code `0.3.0-rc.8` and Harness `1.4.0-rc.8`.
8
14
 
9
15
  ## Published patch: Code 0.4.1
10
16
 
@@ -293,8 +299,8 @@ That preparation used `@zhivex-ai/code@0.2.0` with the same exact published
293
299
  Harness `1.3.0` dependency. Code `0.1.0` was the verified npm `latest` release
294
300
  until the separately approved `0.2.0` publication. That candidate added guided
295
301
  approval diffs, reviewed checkpoints, per-run estimated budgets and the offline
296
- first-use tutorial. See the [candidate changelog](https://github.com/Zhivex/zhivex-harness/blob/main/packages/code/CHANGELOG.md)
297
- and [release readiness](https://github.com/Zhivex/zhivex-harness/blob/main/docs/reports/CODE_0_2_0_READINESS_2026-10-03.md).
302
+ first-use tutorial. See the [candidate changelog](https://github.com/Zhivex/zhivex-harness/blob/main/packages/cli/CHANGELOG.md)
303
+ and [release readiness](https://github.com/Zhivex/zhivex-harness/blob/a87499d4cd78ae5edcf18c22f2e97f9828e8099f/docs/reports/CODE_0_2_0_READINESS_2026-10-03.md).
298
304
 
299
305
  That was a Code-only release: no Harness version change or new paid six-provider
300
306
  certification campaign is required. Engine API tiers and provisional provider
@@ -1,116 +1,5 @@
1
- # Code web tasks — CODE-HU-05
1
+ # CODE WEB TASKS — retired interface
2
2
 
3
- Canonical story: https://app.notion.com/p/3ef777b104f681309854c8f1e73803f1.
4
- This screen sits on the experimental task evidence read (`task.get` /
5
- `task.projection.v1`) and the experimental task controls (`task.control.v1`).
6
- It extends the existing browser in `packages/web`, packaged by `packages/code`.
7
- It does not create a second client, an IDE, a file tree, an SDK patch, or a release.
8
- An operator reviews the host evidence and explicitly accepts that snapshot before
9
- treating the delivery as acknowledged. Continuation is a separate confirmed
10
- action on a fresh review ticket; model prose and a completed run are not acceptance.
3
+ The standalone Assistant/Code browser and Tauri launcher have been removed. Use the Electron application and the shared `zhx` CLI. Existing data and credentials are not deleted by this source cleanup.
11
4
 
12
- ## Operator flow
13
-
14
- 1. Open `zhivex-code web`, open Sessions, choose an allowed project and create an empty session.
15
- Choose **Define task**. Enter the goal, exact existing editable files, package
16
- checks and explicit input/output/total token limits for the entire task.
17
- 2. Review each proposed edit or check through the existing exact approval controls.
18
- Mark every changed file viewed before approval. Execution, deterministic
19
- checks, and human acceptance remain separate statuses.
20
- 3. Open **Result, checks and provenance** for paths, contract/current-byte identity,
21
- required checks and human requirements. The renderer displays host evidence;
22
- assistant prose does not establish a passing check or permission.
23
- 4. Open **Task budget and continuation** for confirmed usage, reservations,
24
- unknown held exposure and remaining tokens. The account covers all task turns;
25
- do not add its values to the existing per-run monitor. Missing pricing stays
26
- unknown; monetary values are estimates, never invoices.
27
- 5. Choose **Review task** to obtain a bounded fresh Git diff and a five-minute
28
- review ticket. Explicitly acknowledge the diff and requirements before
29
- **Accept this snapshot**. This records operator acknowledgement separately
30
- from engine checks; it does not commit, merge or assert measured quality.
31
- 6. **Correct requirements** adds a pending requirement without a model call.
32
- **Continue task** requires another explicit instruction and confirmation.
33
- Both preserve the original account; continuation may consume its remaining
34
- credit for model/compaction work, approved edits and checks. Back, Escape,
35
- Close, reload and reconnect do not execute work.
36
-
37
- ## Interruption and handoff
38
-
39
- Cancel initially means requested, not confirmed. A confirmed local cancelled run
40
- does not prove provider termination. Missing provider usage retains unknown
41
- exposure and blocks continuation. A lost/failed command response requires reading
42
- state through Reconnect; it is never automatically retried. Relaunch reopens the
43
- same durable task, contract, checks, budget and effects without depending on the
44
- chat transcript or claiming human minutes.
45
-
46
- The runtime records the first interruption source while relaying its signal;
47
- nested cancellation signals cannot change a caller cancellation into an
48
- unclassified failure. It settles local interruption only after the execution
49
- owner releases its lease. The session index can observe `cancel_requested`
50
- directly from `created` when busy reads have not yet observed `running`.
51
- Neither change confirms provider termination or releases unknown exposure.
52
-
53
- A continuation rejected before admission retains a failed session attempt linked
54
- to its previous admitted task. The panel explicitly identifies retained evidence;
55
- checks stale against changed bytes cannot authorize acceptance. The rejected
56
- attempt does not fabricate budget admission or consumption. A fresh review targets
57
- the observed admitted run and must satisfy current host checks again.
58
-
59
- ## Authority and limits
60
-
61
- - The browser sends a bounded operator brief, never a contract, receipt, policy,
62
- credential, ledger or execution grant. The host resolves package checks and
63
- compiles the existing task contract.
64
- - Initially native Unix workspaces only: clean Git baseline, selected tracked
65
- visible files (at most 20, each at most 64 KiB), at most eight package checks,
66
- no subagents. Existing exact edit/check approvals remain mandatory.
67
- - Reviews bind browser identity/workspace, service connection, session, run
68
- revision, contract, snapshot, budget revision and Git identity. They are
69
- one-use and expire after five minutes. Account exclusion plus run CAS protects
70
- acceptance; continuation rechecks admission after host preparation.
71
- - Git failure, process-output truncation, oversized review, hidden files,
72
- missing/changed receipts or uncertain effects fail closed. The diff is plain
73
- escaped text with host-path/secret redaction. Redacted or truncated review
74
- content disables acceptance. No arbitrary file-reading route
75
- or generic browser command dispatcher is added.
76
- - The existing public projection reducer ignores duplicate/older snapshots,
77
- rejects changed epochs/scopes and requests refresh for conflicts. Task reads
78
- are sequential and cancelled on selection changes. Existing activity cursor
79
- expiry recovery is retained; no activity event grants mutation authority.
80
- - Ordinary chat remains available in ordinary sessions. Once task authority is
81
- retained, `run.start` cannot bypass task continuation/accounting. Older hosts
82
- without negotiated controls show an unsupported state.
83
-
84
- ## Offline acceptance and reproducibility
85
-
86
- The frozen HU75 greeting fixture remains SHA256
87
- `473a9e2144b0042b1b46ef54f915de693045df89d6175bde42a3393d2b083263`.
88
- `packages/web/scripts/task-browser-journey.mjs` drives actual packaged Code and
89
- Chromium at desktop/mobile sizes. Its preload replaces provider fetch with a
90
- synthetic transport and blocks every other fetch; it does not fabricate SDK
91
- state, tool receipts or check outcomes. `node check.mjs` and exact approvals run
92
- through the real host/service/engine. This is automated operator input, not a
93
- human pilot or semantic-quality measurement.
94
-
95
- The integrated installed runner binds clean source, exact Harness/Code tarball
96
- hashes and their shared installed engine. It runs the existing recovery/projection
97
- consumers plus the Code UI journey, then verifies hashes and cleanup. Preserve
98
- all initial failures separately; only final reports for the exact reviewed SHA
99
- certify that candidate. Browser fixtures cover normal acceptance, multiple tabs,
100
- obsolete review, edit/back/Escape, explicit continuation/double click, workspace
101
- switch, unknown usage on cancellation, reload and process restart. Existing Web
102
- security/browser gates and projection reducer tests cover host/CSRF/path boundaries,
103
- expired cursors, stale epochs, reordered/duplicate pages and unavailable evidence.
104
-
105
- Run the source suites and existing browser regression before the installed runner:
106
-
107
- ```sh
108
- node scripts/code-task-ui-installed.mjs /absolute/harness.tgz /absolute/code.tgz /absolute/node /absolute/evidence
109
- ```
110
-
111
- The runner requires a clean source checkout and uses an explicit exact candidate
112
- engine override in its isolated npm consumer; published pins remain unchanged.
113
- Use `CI=1`, `umask 022` and the repository-required test policy root. Human minutes,
114
- real quality, real costs and external-team outcomes remain unmeasured. A real
115
- 3–5-team pilot and any paid provider campaign need separate authorization; this
116
- change does not authorize HU74, a release or promotion to latest.
5
+ See [the current application guide](https://github.com/Zhivex/zhivex-harness/blob/main/docs/ASSISTANT_ELECTRON.md), [CLI](CLI.md), and [migration](APPLICATION_MIGRATION.md). Historical evidence remains under `docs/reports/unification`.
@@ -510,3 +510,96 @@ Qwen routes are excluded from this option until an output-cap route is certified
510
510
  It does not add a service/wire-protocol field or enable this token pool for
511
511
  application-owned review groups. Monetary accounting and its existing output
512
512
  clamp remain separate. No provider calls are required by the regression suite.
513
+
514
+ ## Explicit known-file preload (experimental)
515
+
516
+ Hosts that already know which local files a task needs can opt in through
517
+ `runHarnessTask` from `@zhivex-ai/harness/code-support`. Omission preserves the
518
+ ordinary model-directed read flow. There is no automatic file selection or CLI
519
+ flag, and `runHarness`'s stable options are unchanged.
520
+
521
+ ```ts
522
+ import { createHarness } from "@zhivex-ai/harness";
523
+ import { runHarnessTask } from "@zhivex-ai/harness/code-support";
524
+
525
+ const harness = await createHarness({ workspace: process.cwd(), provider: "openai" });
526
+ try {
527
+ const result = await runHarnessTask(harness, {
528
+ prompt: "Review billing logic against its documented contract."
529
+ }, {
530
+ preloadFiles: {
531
+ files: [
532
+ { path: "src/billing.ts", startLine: 1, endLine: 120 },
533
+ { path: "docs/billing.md" }
534
+ ],
535
+ maxBytes: 16_000
536
+ }
537
+ });
538
+ } finally {
539
+ await harness.close();
540
+ }
541
+ ```
542
+
543
+ `files` accepts 1–20 explicit path/range requests with inclusive positive line
544
+ numbers. The existing workspace reader enforces protected paths, regular-file
545
+ and no-symlink checks, source-size and batch-size limits, and bounded rendered
546
+ slices. `maxBytes` caps the serialized snapshot (default 32,000; maximum 64,000);
547
+ it cannot raise any workspace limit. An exceeded cap fails before model use,
548
+ rather than silently dropping requested files. Existing rendered slices can
549
+ still report truncation; select smaller ranges when full content is required.
550
+ The model input remains subject to normal token admission and compaction limits.
551
+
552
+ Preload calls the original policy-wrapped `read_files` executor through the
553
+ runtime's context, task-budget and telemetry wrappers. A successful read
554
+ triggers normal scoped `AGENTS.md` discovery before the first model request.
555
+ Tool policies can deny it; approval-required reads are refused and must use the
556
+ ordinary approval flow. The option is not consent to bypass an approval.
557
+
558
+ This first version supports **new local runs only**. Resumes with `preloadFiles`,
559
+ OCI/isolated MCP sessions, execution-environment overrides, tool catalog
560
+ overrides, explicit-review mode and custom tool guards are rejected before
561
+ preload. The original agent approval policy is evaluated; an approval override
562
+ is unsupported. No environment falls back silently to reading the host tree.
563
+
564
+ Snapshots are supplied as a separate user-context message, labelled as untrusted
565
+ file data, not as a system instruction or fabricated model/tool exchange. The
566
+ message contains bounded content and file digests. State metadata under
567
+ `zhivexKnownFilePreload` records selected ranges, serialized bytes and aggregate
568
+ SHA-256. The host read is measured as a tool operation but is not a model-issued
569
+ tool call and does not appear in `result.toolResults`. Failure before SDK run
570
+ admission need not produce a durable run state. Do not treat caller-supplied
571
+ metadata as an authorization receipt.
572
+
573
+ Files are read afresh for each explicit new invocation. On resume, omit this
574
+ option: saved snapshots are historical context, not a freshness guarantee or
575
+ permission to edit. Normal tools can reread changed files; existing edit
576
+ validation remains authoritative. Snapshot labels do not establish resistance
577
+ to prompt injection. Preloading irrelevant or large context can increase cost,
578
+ so callers should select only files needed by the task.
579
+
580
+ ## Recoverable historical results and request preparation
581
+
582
+ `request-projection-v4` also reduces large historical `read_file` and `read_files`
583
+ outputs while retaining the newest tool exchange in full. Original results remain
584
+ in the run store and missing portions can be retrieved with `read_tool_result`.
585
+ These pages are historical data, not fresh file evidence or approval. Failed
586
+ results and results without durable recovery remain complete. If recovery is
587
+ absent or denied by the host tool policy, projection is disabled; approval-gated
588
+ recovery keeps its normal approval flow.
589
+
590
+ Adaptive compaction measures this recoverable representation, including its
591
+ preview, reference and notice, while summaries and checkpoints retain their
592
+ original sources. A bounded scope/run/revision index avoids repeated hashing;
593
+ changed revisions validate serialized contents before reusing a hash. It does
594
+ not bypass current-store loads, catalog checks or tool policy.
595
+
596
+ During read batches, new scoped instruction ancestors are validated and recorded
597
+ once. All discovered instructions, including previously absent ones, are refreshed
598
+ before each model request. This removes repeated full refreshes between local
599
+ reads without caching instructions across requests. Strict resume validation,
600
+ no-follow readers and aggregate byte limits remain in force.
601
+
602
+ This projection version changes the durable fingerprint: finish paused runs with
603
+ their original artifact. See the offline benchmark command
604
+ `bun run benchmark:context-efficiency` and its measured scope in the
605
+ [context efficiency report](https://github.com/Zhivex/zhivex-harness/blob/main/docs/reports/CONTEXT_EFFICIENCY_2026-11-15.md).
@@ -1,13 +1,20 @@
1
1
  # Engine API and Code integration
2
2
 
3
3
  The terminal-independent package entrypoints shipped in Harness 1.3.0 and remain
4
- in Harness 1.6.2, published on npm `latest`. They are not present in Harness 1.2.0.
4
+ in Harness 1.6.3, published on npm `latest`. They are not present in Harness 1.2.0.
5
5
  The protected workflow validated the exact stable tarball, live gates and
6
6
  registry integrity/provenance; local candidate smoke remains contributor evidence. Do not install registry 1.2.0 and
7
7
  expect the new entrypoints to exist.
8
8
 
9
9
  ## Entry points
10
10
 
11
+ The current source candidate adds experimental `createProfiledHarness`,
12
+ `CreateProfiledHarnessOptions`, `HarnessAgentProfile`, `harnessAgentProfileSchema`
13
+ and `GENERAL_ASSISTANT_PROFILE` to `/engine`. These are not in the published
14
+ 1.6.3 artifact. The existing stable constructor and coding defaults are unchanged.
15
+ See [Assistant profiles and persistent host](https://github.com/Zhivex/zhivex-harness/blob/main/docs/ASSISTANT_HOST.md) for contracts and
16
+ local-candidate setup.
17
+
11
18
  | Import | Use | Runtime |
12
19
  | --- | --- | --- |
13
20
  | `@zhivex-ai/harness/engine` | Configuration, execution, policies, approvals, tools, stores, providers and historical non-terminal library APIs | Node |
@@ -68,7 +75,7 @@ switching presentation does not migrate state or authorize new effects.
68
75
 
69
76
  ## Terminal product
70
77
 
71
- `packages/code` is the independently built terminal product. Its current version
78
+ `packages/cli` is the independently built terminal product. Its current version
72
79
  is `0.1.0`, independently published and verified on `latest` with the exact
73
80
  engine dependency `@zhivex-ai/harness@1.3.0`. Reviewed main, CI and registry
74
81
  evidence are recorded in the [Code release procedure](CODE_RELEASE.md).
@@ -8,7 +8,7 @@ Built-in registrations are Meta, Qwen, OpenAI, Gemini, Anthropic, Vertex, Amazon
8
8
 
9
9
  Library callers can use `DEFAULT_PROVIDER_REGISTRY`, `BUILTIN_PROVIDER_REGISTRATIONS`, `createProviderRegistry`, or `DEFAULT_PROVIDER_REGISTRY.extend(...)`, then pass the registry to `resolveHarnessConfig`, `createProviderModel`, provider diagnostics, or `createHarness({ providerRegistry })`. Registration IDs, environment-variable names, defaults, diagnostics, and factories are validated before they become selectable.
10
10
 
11
- The coordinated stable SDK batch pins `@zhivex-ai/agents@1.12.0`, `@zhivex-ai/core@1.37.0`, `@zhivex-ai/meta@0.3.0`, `@zhivex-ai/qwen@0.18.1`, `@zhivex-ai/openai@0.17.0`, `@zhivex-ai/gemini@0.14.0`, `@zhivex-ai/anthropic@0.15.0`, `@zhivex-ai/vertex@1.3.0`, `@zhivex-ai/bedrock@2.1.0`, and `@zhivex-ai/azure-openai@0.8.0`. Qwen 0.18.1 depends on Core `^1.37.0` and rejects non-string portable-decision instructions. Qwen 0.16.2 types malformed Responses tool arguments and malformed SSE events; Core 1.37.0 satisfies Agents `^1.34.0` and the provider adapters' `^1.36.0` floors. Vertex 1.3.0 requires OpenAI `^0.17.0`, Anthropic `^0.15.0`, and Gemini `^0.14.0`. These exact versions are pinned in the lockfile. Stable SDK publication does not replace Harness release-bound certification. Qwen `0.11.x` normalizes missing, placeholder, and continuation tool-call identifiers inside the adapter; Harness retains its deterministic provider-boundary normalizer as defense in depth until the exact candidate passes the complete release-bound representative matrix. A Core override keeps one runtime contract identity across every adapter, while Core `1.13.0` corrects compaction usage accounting and interaction-group retention. OpenAI `0.11.2` preserves synthetic assistant history in Responses, so the harness no longer requires its compaction transport or accounting workarounds.
11
+ The coordinated stable SDK batch pins `@zhivex-ai/agents@1.13.0`, `@zhivex-ai/core@1.40.1`, `@zhivex-ai/meta@0.4.0`, `@zhivex-ai/qwen@0.20.1`, `@zhivex-ai/openai@0.18.2`, `@zhivex-ai/gemini@0.15.1`, `@zhivex-ai/anthropic@0.16.2`, `@zhivex-ai/vertex@1.3.6`, `@zhivex-ai/bedrock@2.1.3`, and `@zhivex-ai/azure-openai@0.8.1`. These exact versions are pinned in the lockfile. Stable SDK publication does not replace Harness release-bound certification. Qwen `0.11.x` normalizes missing, placeholder, and continuation tool-call identifiers inside the adapter; Harness retains its deterministic provider-boundary normalizer as defense in depth until the exact candidate passes the complete release-bound representative matrix. A Core override keeps one runtime contract identity across every adapter, while Core `1.13.0` corrects compaction usage accounting and interaction-group retention. OpenAI `0.11.2` preserves synthetic assistant history in Responses, so the harness no longer requires its compaction transport or accounting workarounds.
12
12
 
13
13
  OpenAI is based on the GPT-5.6 family: `gpt-5.6-luna` is the default, with `gpt-5.6-terra` and `gpt-5.6-sol` available through `--model`. Availability remains organization-dependent while the upstream family is in limited preview, and the adapter uses the Responses API by default.
14
14