@saltpub/oar 0.121.0 → 0.122.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 (1017) hide show
  1. package/README.md +51 -43
  2. package/assets/brands/NOTICE.md +7 -0
  3. package/assets/brands/cybion.svg +27 -0
  4. package/dist/capabilities.d.ts +12 -0
  5. package/dist/capabilities.d.ts.map +1 -0
  6. package/dist/capabilities.js +7 -0
  7. package/dist/capabilities.js.map +1 -0
  8. package/dist/community/cybion/index.d.ts.map +1 -1
  9. package/dist/community/cybion/index.js +10 -3
  10. package/dist/community/cybion/index.js.map +1 -1
  11. package/dist/community/cybion/refused-options.d.ts.map +1 -1
  12. package/dist/community/cybion/refused-options.js +2 -0
  13. package/dist/community/cybion/refused-options.js.map +1 -1
  14. package/dist/community/morph/index.js +1 -1
  15. package/dist/community/morph/index.js.map +1 -1
  16. package/dist/community/morph/projection.d.ts.map +1 -1
  17. package/dist/community/morph/projection.js +14 -2
  18. package/dist/community/morph/projection.js.map +1 -1
  19. package/dist/community/morph/session.d.ts.map +1 -1
  20. package/dist/community/morph/session.js +2 -0
  21. package/dist/community/morph/session.js.map +1 -1
  22. package/dist/community/morph/tracker.d.ts.map +1 -1
  23. package/dist/community/morph/tracker.js +18 -6
  24. package/dist/community/morph/tracker.js.map +1 -1
  25. package/dist/contracts/account-usage.d.ts +1 -1
  26. package/dist/contracts/account-usage.d.ts.map +1 -1
  27. package/dist/contracts/context-usage.d.ts +12 -0
  28. package/dist/contracts/context-usage.d.ts.map +1 -1
  29. package/dist/contracts/credentials.d.ts +61 -0
  30. package/dist/contracts/credentials.d.ts.map +1 -0
  31. package/dist/contracts/credentials.js +2 -0
  32. package/dist/contracts/credentials.js.map +1 -0
  33. package/dist/contracts/failure.d.ts +4 -1
  34. package/dist/contracts/failure.d.ts.map +1 -1
  35. package/dist/contracts/graph.d.ts +1 -1
  36. package/dist/contracts/graph.d.ts.map +1 -1
  37. package/dist/contracts/index.d.ts +7 -3
  38. package/dist/contracts/index.d.ts.map +1 -1
  39. package/dist/contracts/index.js.map +1 -1
  40. package/dist/contracts/installation.d.ts +27 -4
  41. package/dist/contracts/installation.d.ts.map +1 -1
  42. package/dist/contracts/login.d.ts +3 -1
  43. package/dist/contracts/login.d.ts.map +1 -1
  44. package/dist/contracts/model-request.d.ts +14 -0
  45. package/dist/contracts/model-request.d.ts.map +1 -0
  46. package/dist/contracts/model-request.js +2 -0
  47. package/dist/contracts/model-request.js.map +1 -0
  48. package/dist/contracts/orientation.d.ts +2 -1
  49. package/dist/contracts/orientation.d.ts.map +1 -1
  50. package/dist/contracts/records.d.ts +21 -12
  51. package/dist/contracts/records.d.ts.map +1 -1
  52. package/dist/contracts/runtime.d.ts +39 -52
  53. package/dist/contracts/runtime.d.ts.map +1 -1
  54. package/dist/contracts/runtime.js.map +1 -1
  55. package/dist/contracts/session-options.d.ts +46 -48
  56. package/dist/contracts/session-options.d.ts.map +1 -1
  57. package/dist/contracts/session.d.ts +9 -3
  58. package/dist/contracts/session.d.ts.map +1 -1
  59. package/dist/contracts/tasks.d.ts +4 -0
  60. package/dist/contracts/tasks.d.ts.map +1 -1
  61. package/dist/contracts/tool-output.d.ts +6 -0
  62. package/dist/contracts/tool-output.d.ts.map +1 -1
  63. package/dist/forms/fields.d.ts +6 -3
  64. package/dist/forms/fields.d.ts.map +1 -1
  65. package/dist/forms/fields.js +44 -5
  66. package/dist/forms/fields.js.map +1 -1
  67. package/dist/forms/map.d.ts.map +1 -1
  68. package/dist/forms/map.js +18 -14
  69. package/dist/forms/map.js.map +1 -1
  70. package/dist/forms/types.d.ts +1 -1
  71. package/dist/forms/types.d.ts.map +1 -1
  72. package/dist/forms/validate.d.ts.map +1 -1
  73. package/dist/forms/validate.js +8 -15
  74. package/dist/forms/validate.js.map +1 -1
  75. package/dist/mcp/serve-tools.js +1 -1
  76. package/dist/mcp/serve-tools.js.map +1 -1
  77. package/dist/observe/agent-status.js +1 -0
  78. package/dist/observe/agent-status.js.map +1 -1
  79. package/dist/observe/conversation.d.ts.map +1 -1
  80. package/dist/observe/conversation.js +2 -8
  81. package/dist/observe/conversation.js.map +1 -1
  82. package/dist/observe/cursor.d.ts +6 -0
  83. package/dist/observe/cursor.d.ts.map +1 -0
  84. package/dist/observe/cursor.js +19 -0
  85. package/dist/observe/cursor.js.map +1 -0
  86. package/dist/observe/display-text.d.ts.map +1 -1
  87. package/dist/observe/display-text.js +1 -0
  88. package/dist/observe/display-text.js.map +1 -1
  89. package/dist/observe/events.d.ts +1 -1
  90. package/dist/observe/events.d.ts.map +1 -1
  91. package/dist/observe/events.js +5 -3
  92. package/dist/observe/events.js.map +1 -1
  93. package/dist/observe/failure-advice.d.ts.map +1 -1
  94. package/dist/observe/failure-advice.js +1 -0
  95. package/dist/observe/failure-advice.js.map +1 -1
  96. package/dist/observe/graph.d.ts +2 -0
  97. package/dist/observe/graph.d.ts.map +1 -1
  98. package/dist/observe/graph.js +17 -1
  99. package/dist/observe/graph.js.map +1 -1
  100. package/dist/observe/index.d.ts +1 -0
  101. package/dist/observe/index.d.ts.map +1 -1
  102. package/dist/observe/index.js +1 -0
  103. package/dist/observe/index.js.map +1 -1
  104. package/dist/observe/mcp-startup.d.ts +7 -0
  105. package/dist/observe/mcp-startup.d.ts.map +1 -0
  106. package/dist/observe/mcp-startup.js +16 -0
  107. package/dist/observe/mcp-startup.js.map +1 -0
  108. package/dist/observe/session-view-events.d.ts.map +1 -1
  109. package/dist/observe/session-view-events.js +6 -6
  110. package/dist/observe/session-view-events.js.map +1 -1
  111. package/dist/observe/session-view-fold.d.ts +2 -0
  112. package/dist/observe/session-view-fold.d.ts.map +1 -1
  113. package/dist/observe/session-view-fold.js +4 -0
  114. package/dist/observe/session-view-fold.js.map +1 -1
  115. package/dist/observe/session-view-root.d.ts +8 -0
  116. package/dist/observe/session-view-root.d.ts.map +1 -0
  117. package/dist/observe/session-view-root.js +76 -0
  118. package/dist/observe/session-view-root.js.map +1 -0
  119. package/dist/observe/session-view-tools.d.ts +1 -1
  120. package/dist/observe/session-view-tools.d.ts.map +1 -1
  121. package/dist/observe/session-view-tools.js +1 -0
  122. package/dist/observe/session-view-tools.js.map +1 -1
  123. package/dist/observe/session-view.d.ts +10 -8
  124. package/dist/observe/session-view.d.ts.map +1 -1
  125. package/dist/observe/session-view.js +31 -31
  126. package/dist/observe/session-view.js.map +1 -1
  127. package/dist/observe/tasks.d.ts +3 -0
  128. package/dist/observe/tasks.d.ts.map +1 -1
  129. package/dist/observe/tasks.js +1 -1
  130. package/dist/observe/tasks.js.map +1 -1
  131. package/dist/observe/tool-activity.d.ts +2 -2
  132. package/dist/observe/tool-activity.d.ts.map +1 -1
  133. package/dist/observe/tool-activity.js +9 -2
  134. package/dist/observe/tool-activity.js.map +1 -1
  135. package/dist/observe/usage-totals.d.ts +0 -2
  136. package/dist/observe/usage-totals.d.ts.map +1 -1
  137. package/dist/observe/usage-totals.js +1 -15
  138. package/dist/observe/usage-totals.js.map +1 -1
  139. package/dist/observe/usage.js +2 -2
  140. package/dist/observe/usage.js.map +1 -1
  141. package/dist/runtimes/antigravity/account-usage.d.ts +5 -2
  142. package/dist/runtimes/antigravity/account-usage.d.ts.map +1 -1
  143. package/dist/runtimes/antigravity/account-usage.js +13 -9
  144. package/dist/runtimes/antigravity/account-usage.js.map +1 -1
  145. package/dist/runtimes/antigravity/account.d.ts +37 -0
  146. package/dist/runtimes/antigravity/account.d.ts.map +1 -0
  147. package/dist/runtimes/antigravity/account.js +119 -0
  148. package/dist/runtimes/antigravity/account.js.map +1 -0
  149. package/dist/runtimes/antigravity/auth-status.d.ts +9 -0
  150. package/dist/runtimes/antigravity/auth-status.d.ts.map +1 -0
  151. package/dist/runtimes/antigravity/auth-status.js +54 -0
  152. package/dist/runtimes/antigravity/auth-status.js.map +1 -0
  153. package/dist/runtimes/antigravity/auth.d.ts +2 -6
  154. package/dist/runtimes/antigravity/auth.d.ts.map +1 -1
  155. package/dist/runtimes/antigravity/auth.js +10 -50
  156. package/dist/runtimes/antigravity/auth.js.map +1 -1
  157. package/dist/runtimes/antigravity/index.d.ts +40 -3
  158. package/dist/runtimes/antigravity/index.d.ts.map +1 -1
  159. package/dist/runtimes/antigravity/index.js +19 -4
  160. package/dist/runtimes/antigravity/index.js.map +1 -1
  161. package/dist/runtimes/antigravity/installation.d.ts +6 -3
  162. package/dist/runtimes/antigravity/installation.d.ts.map +1 -1
  163. package/dist/runtimes/antigravity/installation.js +25 -30
  164. package/dist/runtimes/antigravity/installation.js.map +1 -1
  165. package/dist/runtimes/antigravity/logout.d.ts.map +1 -1
  166. package/dist/runtimes/antigravity/logout.js +2 -0
  167. package/dist/runtimes/antigravity/logout.js.map +1 -1
  168. package/dist/runtimes/antigravity/options.d.ts.map +1 -1
  169. package/dist/runtimes/antigravity/options.js +3 -0
  170. package/dist/runtimes/antigravity/options.js.map +1 -1
  171. package/dist/runtimes/antigravity/quota.d.ts +6 -1
  172. package/dist/runtimes/antigravity/quota.d.ts.map +1 -1
  173. package/dist/runtimes/antigravity/quota.js +47 -13
  174. package/dist/runtimes/antigravity/quota.js.map +1 -1
  175. package/dist/runtimes/antigravity/skill-files.d.ts.map +1 -1
  176. package/dist/runtimes/antigravity/skill-files.js +2 -1
  177. package/dist/runtimes/antigravity/skill-files.js.map +1 -1
  178. package/dist/runtimes/antigravity/token-email.d.ts +37 -0
  179. package/dist/runtimes/antigravity/token-email.d.ts.map +1 -0
  180. package/dist/runtimes/antigravity/token-email.js +155 -0
  181. package/dist/runtimes/antigravity/token-email.js.map +1 -0
  182. package/dist/runtimes/claude/account-usage.d.ts.map +1 -1
  183. package/dist/runtimes/claude/account-usage.js +30 -8
  184. package/dist/runtimes/claude/account-usage.js.map +1 -1
  185. package/dist/runtimes/claude/auth-status.d.ts.map +1 -1
  186. package/dist/runtimes/claude/auth-status.js +25 -4
  187. package/dist/runtimes/claude/auth-status.js.map +1 -1
  188. package/dist/runtimes/claude/context-usage.d.ts +8 -4
  189. package/dist/runtimes/claude/context-usage.d.ts.map +1 -1
  190. package/dist/runtimes/claude/context-usage.js +24 -4
  191. package/dist/runtimes/claude/context-usage.js.map +1 -1
  192. package/dist/runtimes/claude/credentials.d.ts +4 -0
  193. package/dist/runtimes/claude/credentials.d.ts.map +1 -0
  194. package/dist/runtimes/claude/credentials.js +79 -0
  195. package/dist/runtimes/claude/credentials.js.map +1 -0
  196. package/dist/runtimes/claude/failure.d.ts +4 -0
  197. package/dist/runtimes/claude/failure.d.ts.map +1 -1
  198. package/dist/runtimes/claude/failure.js +33 -18
  199. package/dist/runtimes/claude/failure.js.map +1 -1
  200. package/dist/runtimes/claude/index.d.ts +16 -3
  201. package/dist/runtimes/claude/index.d.ts.map +1 -1
  202. package/dist/runtimes/claude/index.js +13 -2
  203. package/dist/runtimes/claude/index.js.map +1 -1
  204. package/dist/runtimes/claude/installation.d.ts +1 -0
  205. package/dist/runtimes/claude/installation.d.ts.map +1 -1
  206. package/dist/runtimes/claude/installation.js +2 -1
  207. package/dist/runtimes/claude/installation.js.map +1 -1
  208. package/dist/runtimes/claude/inventory.js +1 -1
  209. package/dist/runtimes/claude/inventory.js.map +1 -1
  210. package/dist/runtimes/claude/last-account.d.ts +21 -0
  211. package/dist/runtimes/claude/last-account.d.ts.map +1 -1
  212. package/dist/runtimes/claude/last-account.js +58 -6
  213. package/dist/runtimes/claude/last-account.js.map +1 -1
  214. package/dist/runtimes/claude/launch-args.d.ts +3 -0
  215. package/dist/runtimes/claude/launch-args.d.ts.map +1 -1
  216. package/dist/runtimes/claude/launch-args.js +26 -8
  217. package/dist/runtimes/claude/launch-args.js.map +1 -1
  218. package/dist/runtimes/claude/launch.d.ts +1 -1
  219. package/dist/runtimes/claude/launch.d.ts.map +1 -1
  220. package/dist/runtimes/claude/launch.js +9 -6
  221. package/dist/runtimes/claude/launch.js.map +1 -1
  222. package/dist/runtimes/claude/list-models.js +1 -1
  223. package/dist/runtimes/claude/list-models.js.map +1 -1
  224. package/dist/runtimes/claude/login-url.d.ts +3 -0
  225. package/dist/runtimes/claude/login-url.d.ts.map +1 -0
  226. package/dist/runtimes/claude/login-url.js +26 -0
  227. package/dist/runtimes/claude/login-url.js.map +1 -0
  228. package/dist/runtimes/claude/login.d.ts.map +1 -1
  229. package/dist/runtimes/claude/login.js +17 -10
  230. package/dist/runtimes/claude/login.js.map +1 -1
  231. package/dist/runtimes/claude/mcp-config.d.ts +2 -6
  232. package/dist/runtimes/claude/mcp-config.d.ts.map +1 -1
  233. package/dist/runtimes/claude/mcp-config.js +7 -117
  234. package/dist/runtimes/claude/mcp-config.js.map +1 -1
  235. package/dist/runtimes/claude/model-request-files.d.ts +19 -0
  236. package/dist/runtimes/claude/model-request-files.d.ts.map +1 -0
  237. package/dist/runtimes/claude/model-request-files.js +104 -0
  238. package/dist/runtimes/claude/model-request-files.js.map +1 -0
  239. package/dist/runtimes/claude/model-requests.d.ts +16 -0
  240. package/dist/runtimes/claude/model-requests.d.ts.map +1 -0
  241. package/dist/runtimes/claude/model-requests.js +190 -0
  242. package/dist/runtimes/claude/model-requests.js.map +1 -0
  243. package/dist/runtimes/claude/open-settings.d.ts +2 -1
  244. package/dist/runtimes/claude/open-settings.d.ts.map +1 -1
  245. package/dist/runtimes/claude/open-settings.js +33 -9
  246. package/dist/runtimes/claude/open-settings.js.map +1 -1
  247. package/dist/runtimes/claude/options.d.ts +5 -0
  248. package/dist/runtimes/claude/options.d.ts.map +1 -1
  249. package/dist/runtimes/claude/options.js +25 -0
  250. package/dist/runtimes/claude/options.js.map +1 -1
  251. package/dist/runtimes/claude/projection.d.ts +2 -1
  252. package/dist/runtimes/claude/projection.d.ts.map +1 -1
  253. package/dist/runtimes/claude/projection.js +44 -16
  254. package/dist/runtimes/claude/projection.js.map +1 -1
  255. package/dist/runtimes/claude/session.d.ts.map +1 -1
  256. package/dist/runtimes/claude/session.js +30 -7
  257. package/dist/runtimes/claude/session.js.map +1 -1
  258. package/dist/runtimes/claude/side-question.js +1 -1
  259. package/dist/runtimes/claude/side-question.js.map +1 -1
  260. package/dist/runtimes/claude/update.d.ts +17 -9
  261. package/dist/runtimes/claude/update.d.ts.map +1 -1
  262. package/dist/runtimes/claude/update.js +154 -29
  263. package/dist/runtimes/claude/update.js.map +1 -1
  264. package/dist/runtimes/claude/user-configuration.d.ts.map +1 -1
  265. package/dist/runtimes/claude/user-configuration.js +13 -6
  266. package/dist/runtimes/claude/user-configuration.js.map +1 -1
  267. package/dist/runtimes/codebuddy/failure.d.ts.map +1 -1
  268. package/dist/runtimes/codebuddy/failure.js +18 -2
  269. package/dist/runtimes/codebuddy/failure.js.map +1 -1
  270. package/dist/runtimes/codebuddy/index.d.ts +60 -1
  271. package/dist/runtimes/codebuddy/index.d.ts.map +1 -1
  272. package/dist/runtimes/codebuddy/index.js +25 -1
  273. package/dist/runtimes/codebuddy/index.js.map +1 -1
  274. package/dist/runtimes/codebuddy/installation.d.ts.map +1 -1
  275. package/dist/runtimes/codebuddy/installation.js +5 -4
  276. package/dist/runtimes/codebuddy/installation.js.map +1 -1
  277. package/dist/runtimes/codebuddy/options.d.ts.map +1 -1
  278. package/dist/runtimes/codebuddy/options.js +11 -9
  279. package/dist/runtimes/codebuddy/options.js.map +1 -1
  280. package/dist/runtimes/codex/account-id.d.ts +14 -0
  281. package/dist/runtimes/codex/account-id.d.ts.map +1 -0
  282. package/dist/runtimes/codex/account-id.js +173 -0
  283. package/dist/runtimes/codex/account-id.js.map +1 -0
  284. package/dist/runtimes/codex/account-request.d.ts +1 -0
  285. package/dist/runtimes/codex/account-request.d.ts.map +1 -1
  286. package/dist/runtimes/codex/account-request.js +45 -16
  287. package/dist/runtimes/codex/account-request.js.map +1 -1
  288. package/dist/runtimes/codex/account-usage.d.ts.map +1 -1
  289. package/dist/runtimes/codex/account-usage.js +15 -13
  290. package/dist/runtimes/codex/account-usage.js.map +1 -1
  291. package/dist/runtimes/codex/app-server-client.d.ts +5 -1
  292. package/dist/runtimes/codex/app-server-client.d.ts.map +1 -1
  293. package/dist/runtimes/codex/app-server-client.js +7 -7
  294. package/dist/runtimes/codex/app-server-client.js.map +1 -1
  295. package/dist/runtimes/codex/failure.d.ts.map +1 -1
  296. package/dist/runtimes/codex/failure.js +14 -16
  297. package/dist/runtimes/codex/failure.js.map +1 -1
  298. package/dist/runtimes/codex/home-initialization.d.ts +1 -0
  299. package/dist/runtimes/codex/home-initialization.d.ts.map +1 -1
  300. package/dist/runtimes/codex/home-initialization.js +49 -58
  301. package/dist/runtimes/codex/home-initialization.js.map +1 -1
  302. package/dist/runtimes/codex/index.d.ts +64 -1
  303. package/dist/runtimes/codex/index.d.ts.map +1 -1
  304. package/dist/runtimes/codex/index.js +27 -1
  305. package/dist/runtimes/codex/index.js.map +1 -1
  306. package/dist/runtimes/codex/installation.d.ts +1 -0
  307. package/dist/runtimes/codex/installation.d.ts.map +1 -1
  308. package/dist/runtimes/codex/installation.js +9 -1
  309. package/dist/runtimes/codex/installation.js.map +1 -1
  310. package/dist/runtimes/codex/inventory.js +1 -1
  311. package/dist/runtimes/codex/inventory.js.map +1 -1
  312. package/dist/runtimes/codex/item-detail.d.ts +4 -0
  313. package/dist/runtimes/codex/item-detail.d.ts.map +1 -1
  314. package/dist/runtimes/codex/item-detail.js +39 -0
  315. package/dist/runtimes/codex/item-detail.js.map +1 -1
  316. package/dist/runtimes/codex/limit-reset.d.ts.map +1 -1
  317. package/dist/runtimes/codex/limit-reset.js +3 -2
  318. package/dist/runtimes/codex/limit-reset.js.map +1 -1
  319. package/dist/runtimes/codex/list-models.js +1 -1
  320. package/dist/runtimes/codex/list-models.js.map +1 -1
  321. package/dist/runtimes/codex/login.d.ts.map +1 -1
  322. package/dist/runtimes/codex/login.js +24 -10
  323. package/dist/runtimes/codex/login.js.map +1 -1
  324. package/dist/runtimes/codex/open-config.d.ts +6 -0
  325. package/dist/runtimes/codex/open-config.d.ts.map +1 -0
  326. package/dist/runtimes/codex/open-config.js +28 -0
  327. package/dist/runtimes/codex/open-config.js.map +1 -0
  328. package/dist/runtimes/codex/open.d.ts.map +1 -1
  329. package/dist/runtimes/codex/open.js +12 -3
  330. package/dist/runtimes/codex/open.js.map +1 -1
  331. package/dist/runtimes/codex/options.d.ts.map +1 -1
  332. package/dist/runtimes/codex/options.js +3 -0
  333. package/dist/runtimes/codex/options.js.map +1 -1
  334. package/dist/runtimes/codex/projection.d.ts.map +1 -1
  335. package/dist/runtimes/codex/projection.js +44 -40
  336. package/dist/runtimes/codex/projection.js.map +1 -1
  337. package/dist/runtimes/codex/refusal.d.ts +3 -3
  338. package/dist/runtimes/codex/refusal.js +3 -3
  339. package/dist/runtimes/codex/session.d.ts.map +1 -1
  340. package/dist/runtimes/codex/session.js +13 -6
  341. package/dist/runtimes/codex/session.js.map +1 -1
  342. package/dist/runtimes/codex/tasks.d.ts.map +1 -1
  343. package/dist/runtimes/codex/tasks.js +1 -0
  344. package/dist/runtimes/codex/tasks.js.map +1 -1
  345. package/dist/runtimes/codex/tool-denials.d.ts +0 -3
  346. package/dist/runtimes/codex/tool-denials.d.ts.map +1 -1
  347. package/dist/runtimes/codex/tool-denials.js +0 -8
  348. package/dist/runtimes/codex/tool-denials.js.map +1 -1
  349. package/dist/runtimes/cursor/access.d.ts +4 -3
  350. package/dist/runtimes/cursor/access.d.ts.map +1 -1
  351. package/dist/runtimes/cursor/access.js +12 -8
  352. package/dist/runtimes/cursor/access.js.map +1 -1
  353. package/dist/runtimes/cursor/auth-status.js +1 -1
  354. package/dist/runtimes/cursor/auth-status.js.map +1 -1
  355. package/dist/runtimes/cursor/failure.d.ts.map +1 -1
  356. package/dist/runtimes/cursor/failure.js +4 -6
  357. package/dist/runtimes/cursor/failure.js.map +1 -1
  358. package/dist/runtimes/cursor/index.d.ts.map +1 -1
  359. package/dist/runtimes/cursor/index.js +18 -5
  360. package/dist/runtimes/cursor/index.js.map +1 -1
  361. package/dist/runtimes/cursor/installation.d.ts +13 -9
  362. package/dist/runtimes/cursor/installation.d.ts.map +1 -1
  363. package/dist/runtimes/cursor/installation.js +29 -14
  364. package/dist/runtimes/cursor/installation.js.map +1 -1
  365. package/dist/runtimes/cursor/list-models.js +1 -1
  366. package/dist/runtimes/cursor/list-models.js.map +1 -1
  367. package/dist/runtimes/cursor/login.js +1 -1
  368. package/dist/runtimes/cursor/login.js.map +1 -1
  369. package/dist/runtimes/cursor/logout.js +1 -1
  370. package/dist/runtimes/cursor/logout.js.map +1 -1
  371. package/dist/runtimes/cursor/model.d.ts.map +1 -1
  372. package/dist/runtimes/cursor/model.js +7 -1
  373. package/dist/runtimes/cursor/model.js.map +1 -1
  374. package/dist/runtimes/cursor/run.d.ts +2 -0
  375. package/dist/runtimes/cursor/run.d.ts.map +1 -1
  376. package/dist/runtimes/cursor/run.js +31 -0
  377. package/dist/runtimes/cursor/run.js.map +1 -1
  378. package/dist/runtimes/cursor/session.d.ts +3 -1
  379. package/dist/runtimes/cursor/session.d.ts.map +1 -1
  380. package/dist/runtimes/cursor/session.js +29 -18
  381. package/dist/runtimes/cursor/session.js.map +1 -1
  382. package/dist/runtimes/cursor/subprocess/channel.d.ts +1 -1
  383. package/dist/runtimes/cursor/subprocess/channel.d.ts.map +1 -1
  384. package/dist/runtimes/cursor/subprocess/channel.js +7 -7
  385. package/dist/runtimes/cursor/subprocess/channel.js.map +1 -1
  386. package/dist/runtimes/devin/index.d.ts +19 -0
  387. package/dist/runtimes/devin/index.d.ts.map +1 -1
  388. package/dist/runtimes/devin/index.js +10 -1
  389. package/dist/runtimes/devin/index.js.map +1 -1
  390. package/dist/runtimes/devin/installation.d.ts.map +1 -1
  391. package/dist/runtimes/devin/installation.js +7 -2
  392. package/dist/runtimes/devin/installation.js.map +1 -1
  393. package/dist/runtimes/devin/options.d.ts.map +1 -1
  394. package/dist/runtimes/devin/options.js +4 -0
  395. package/dist/runtimes/devin/options.js.map +1 -1
  396. package/dist/runtimes/devin/session.d.ts.map +1 -1
  397. package/dist/runtimes/devin/session.js +2 -0
  398. package/dist/runtimes/devin/session.js.map +1 -1
  399. package/dist/runtimes/dsh/bridge-controls.d.ts.map +1 -1
  400. package/dist/runtimes/dsh/bridge-controls.js +21 -0
  401. package/dist/runtimes/dsh/bridge-controls.js.map +1 -1
  402. package/dist/runtimes/dsh/bridge-goal.d.ts.map +1 -1
  403. package/dist/runtimes/dsh/bridge-goal.js +9 -5
  404. package/dist/runtimes/dsh/bridge-goal.js.map +1 -1
  405. package/dist/runtimes/dsh/bridge-input.d.ts.map +1 -1
  406. package/dist/runtimes/dsh/bridge-input.js +29 -3
  407. package/dist/runtimes/dsh/bridge-input.js.map +1 -1
  408. package/dist/runtimes/dsh/bridge.d.ts +1 -1
  409. package/dist/runtimes/dsh/bridge.d.ts.map +1 -1
  410. package/dist/runtimes/dsh/bridge.js +43 -8
  411. package/dist/runtimes/dsh/bridge.js.map +1 -1
  412. package/dist/runtimes/dsh/control.d.ts +3 -1
  413. package/dist/runtimes/dsh/control.d.ts.map +1 -1
  414. package/dist/runtimes/dsh/control.js +20 -6
  415. package/dist/runtimes/dsh/control.js.map +1 -1
  416. package/dist/runtimes/dsh/index.d.ts +36 -1
  417. package/dist/runtimes/dsh/index.d.ts.map +1 -1
  418. package/dist/runtimes/dsh/index.js +19 -3
  419. package/dist/runtimes/dsh/index.js.map +1 -1
  420. package/dist/runtimes/dsh/installation.d.ts +2 -3
  421. package/dist/runtimes/dsh/installation.d.ts.map +1 -1
  422. package/dist/runtimes/dsh/installation.js +11 -11
  423. package/dist/runtimes/dsh/installation.js.map +1 -1
  424. package/dist/runtimes/dsh/launch.d.ts +9 -1
  425. package/dist/runtimes/dsh/launch.d.ts.map +1 -1
  426. package/dist/runtimes/dsh/launch.js +22 -4
  427. package/dist/runtimes/dsh/launch.js.map +1 -1
  428. package/dist/runtimes/dsh/list-models.d.ts +3 -1
  429. package/dist/runtimes/dsh/list-models.d.ts.map +1 -1
  430. package/dist/runtimes/dsh/list-models.js +38 -11
  431. package/dist/runtimes/dsh/list-models.js.map +1 -1
  432. package/dist/runtimes/dsh/options.d.ts +6 -0
  433. package/dist/runtimes/dsh/options.d.ts.map +1 -1
  434. package/dist/runtimes/dsh/options.js +17 -1
  435. package/dist/runtimes/dsh/options.js.map +1 -1
  436. package/dist/runtimes/dsh/profile-startup.d.ts +12 -0
  437. package/dist/runtimes/dsh/profile-startup.d.ts.map +1 -0
  438. package/dist/runtimes/dsh/profile-startup.js +64 -0
  439. package/dist/runtimes/dsh/profile-startup.js.map +1 -0
  440. package/dist/runtimes/dsh/projection.d.ts +2 -0
  441. package/dist/runtimes/dsh/projection.d.ts.map +1 -1
  442. package/dist/runtimes/dsh/projection.js +35 -22
  443. package/dist/runtimes/dsh/projection.js.map +1 -1
  444. package/dist/runtimes/dsh/session.d.ts.map +1 -1
  445. package/dist/runtimes/dsh/session.js +76 -15
  446. package/dist/runtimes/dsh/session.js.map +1 -1
  447. package/dist/runtimes/dsh/skills.d.ts.map +1 -1
  448. package/dist/runtimes/dsh/skills.js +7 -5
  449. package/dist/runtimes/dsh/skills.js.map +1 -1
  450. package/dist/runtimes/factory/account-credential.d.ts +2 -1
  451. package/dist/runtimes/factory/account-credential.d.ts.map +1 -1
  452. package/dist/runtimes/factory/account-credential.js +5 -2
  453. package/dist/runtimes/factory/account-credential.js.map +1 -1
  454. package/dist/runtimes/factory/account-usage.d.ts.map +1 -1
  455. package/dist/runtimes/factory/account-usage.js +6 -3
  456. package/dist/runtimes/factory/account-usage.js.map +1 -1
  457. package/dist/runtimes/factory/account.d.ts.map +1 -1
  458. package/dist/runtimes/factory/account.js +4 -3
  459. package/dist/runtimes/factory/account.js.map +1 -1
  460. package/dist/runtimes/factory/client.d.ts.map +1 -1
  461. package/dist/runtimes/factory/client.js +3 -8
  462. package/dist/runtimes/factory/client.js.map +1 -1
  463. package/dist/runtimes/factory/compaction.d.ts +1 -1
  464. package/dist/runtimes/factory/compaction.d.ts.map +1 -1
  465. package/dist/runtimes/factory/compaction.js +62 -48
  466. package/dist/runtimes/factory/compaction.js.map +1 -1
  467. package/dist/runtimes/factory/context-usage.d.ts +15 -0
  468. package/dist/runtimes/factory/context-usage.d.ts.map +1 -0
  469. package/dist/runtimes/factory/context-usage.js +75 -0
  470. package/dist/runtimes/factory/context-usage.js.map +1 -0
  471. package/dist/runtimes/factory/index.d.ts +60 -0
  472. package/dist/runtimes/factory/index.d.ts.map +1 -1
  473. package/dist/runtimes/factory/index.js +21 -1
  474. package/dist/runtimes/factory/index.js.map +1 -1
  475. package/dist/runtimes/factory/installation.d.ts +1 -1
  476. package/dist/runtimes/factory/installation.d.ts.map +1 -1
  477. package/dist/runtimes/factory/installation.js +2 -2
  478. package/dist/runtimes/factory/installation.js.map +1 -1
  479. package/dist/runtimes/factory/options.d.ts.map +1 -1
  480. package/dist/runtimes/factory/options.js +6 -8
  481. package/dist/runtimes/factory/options.js.map +1 -1
  482. package/dist/runtimes/factory/projection.d.ts.map +1 -1
  483. package/dist/runtimes/factory/projection.js +31 -11
  484. package/dist/runtimes/factory/projection.js.map +1 -1
  485. package/dist/runtimes/factory/session-state.d.ts +9 -0
  486. package/dist/runtimes/factory/session-state.d.ts.map +1 -1
  487. package/dist/runtimes/factory/session-state.js +27 -0
  488. package/dist/runtimes/factory/session-state.js.map +1 -1
  489. package/dist/runtimes/factory/session.d.ts.map +1 -1
  490. package/dist/runtimes/factory/session.js +93 -46
  491. package/dist/runtimes/factory/session.js.map +1 -1
  492. package/dist/runtimes/grok/account-usage.d.ts.map +1 -1
  493. package/dist/runtimes/grok/account-usage.js +8 -6
  494. package/dist/runtimes/grok/account-usage.js.map +1 -1
  495. package/dist/runtimes/grok/failure.d.ts.map +1 -1
  496. package/dist/runtimes/grok/failure.js +12 -8
  497. package/dist/runtimes/grok/failure.js.map +1 -1
  498. package/dist/runtimes/grok/index.d.ts +32 -4
  499. package/dist/runtimes/grok/index.d.ts.map +1 -1
  500. package/dist/runtimes/grok/index.js +15 -2
  501. package/dist/runtimes/grok/index.js.map +1 -1
  502. package/dist/runtimes/grok/installation.d.ts +1 -0
  503. package/dist/runtimes/grok/installation.d.ts.map +1 -1
  504. package/dist/runtimes/grok/installation.js +8 -1
  505. package/dist/runtimes/grok/installation.js.map +1 -1
  506. package/dist/runtimes/grok/mcp-startup.d.ts +5 -0
  507. package/dist/runtimes/grok/mcp-startup.d.ts.map +1 -0
  508. package/dist/runtimes/grok/mcp-startup.js +80 -0
  509. package/dist/runtimes/grok/mcp-startup.js.map +1 -0
  510. package/dist/runtimes/grok/options.d.ts +3 -1
  511. package/dist/runtimes/grok/options.d.ts.map +1 -1
  512. package/dist/runtimes/grok/options.js +12 -0
  513. package/dist/runtimes/grok/options.js.map +1 -1
  514. package/dist/runtimes/grok/session.d.ts.map +1 -1
  515. package/dist/runtimes/grok/session.js +2 -0
  516. package/dist/runtimes/grok/session.js.map +1 -1
  517. package/dist/runtimes/grok/tasks.d.ts.map +1 -1
  518. package/dist/runtimes/grok/tasks.js +3 -1
  519. package/dist/runtimes/grok/tasks.js.map +1 -1
  520. package/dist/runtimes/kimi/account-usage.d.ts.map +1 -1
  521. package/dist/runtimes/kimi/account-usage.js +5 -3
  522. package/dist/runtimes/kimi/account-usage.js.map +1 -1
  523. package/dist/runtimes/kimi/index.d.ts +56 -7
  524. package/dist/runtimes/kimi/index.d.ts.map +1 -1
  525. package/dist/runtimes/kimi/index.js +21 -3
  526. package/dist/runtimes/kimi/index.js.map +1 -1
  527. package/dist/runtimes/kimi/installation.d.ts.map +1 -1
  528. package/dist/runtimes/kimi/installation.js +5 -1
  529. package/dist/runtimes/kimi/installation.js.map +1 -1
  530. package/dist/runtimes/kimi/kap-boot.d.ts +16 -0
  531. package/dist/runtimes/kimi/kap-boot.d.ts.map +1 -0
  532. package/dist/runtimes/kimi/kap-boot.js +28 -0
  533. package/dist/runtimes/kimi/kap-boot.js.map +1 -0
  534. package/dist/runtimes/kimi/kap-compaction.d.ts +12 -0
  535. package/dist/runtimes/kimi/kap-compaction.d.ts.map +1 -0
  536. package/dist/runtimes/kimi/kap-compaction.js +63 -0
  537. package/dist/runtimes/kimi/kap-compaction.js.map +1 -0
  538. package/dist/runtimes/kimi/kap-controls.d.ts +48 -0
  539. package/dist/runtimes/kimi/kap-controls.d.ts.map +1 -0
  540. package/dist/runtimes/kimi/kap-controls.js +263 -0
  541. package/dist/runtimes/kimi/kap-controls.js.map +1 -0
  542. package/dist/runtimes/kimi/kap-dispatch.d.ts +10 -0
  543. package/dist/runtimes/kimi/kap-dispatch.d.ts.map +1 -0
  544. package/dist/runtimes/kimi/kap-dispatch.js +146 -0
  545. package/dist/runtimes/kimi/kap-dispatch.js.map +1 -0
  546. package/dist/runtimes/kimi/kap-errors.d.ts +24 -0
  547. package/dist/runtimes/kimi/kap-errors.d.ts.map +1 -0
  548. package/dist/runtimes/kimi/kap-errors.js +173 -0
  549. package/dist/runtimes/kimi/kap-errors.js.map +1 -0
  550. package/dist/runtimes/kimi/kap-failures.d.ts +12 -0
  551. package/dist/runtimes/kimi/kap-failures.d.ts.map +1 -0
  552. package/dist/runtimes/kimi/kap-failures.js +177 -0
  553. package/dist/runtimes/kimi/kap-failures.js.map +1 -0
  554. package/dist/runtimes/kimi/kap-items.d.ts +10 -0
  555. package/dist/runtimes/kimi/kap-items.d.ts.map +1 -0
  556. package/dist/runtimes/kimi/kap-items.js +201 -0
  557. package/dist/runtimes/kimi/kap-items.js.map +1 -0
  558. package/dist/runtimes/kimi/kap-negotiate.d.ts +9 -0
  559. package/dist/runtimes/kimi/kap-negotiate.d.ts.map +1 -0
  560. package/dist/runtimes/kimi/kap-negotiate.js +83 -0
  561. package/dist/runtimes/kimi/kap-negotiate.js.map +1 -0
  562. package/dist/runtimes/kimi/kap-open.d.ts +25 -0
  563. package/dist/runtimes/kimi/kap-open.d.ts.map +1 -0
  564. package/dist/runtimes/kimi/kap-open.js +130 -0
  565. package/dist/runtimes/kimi/kap-open.js.map +1 -0
  566. package/dist/runtimes/kimi/kap-projection-state.d.ts +68 -0
  567. package/dist/runtimes/kimi/kap-projection-state.d.ts.map +1 -0
  568. package/dist/runtimes/kimi/kap-projection-state.js +61 -0
  569. package/dist/runtimes/kimi/kap-projection-state.js.map +1 -0
  570. package/dist/runtimes/kimi/kap-projection.d.ts +6 -0
  571. package/dist/runtimes/kimi/kap-projection.d.ts.map +1 -0
  572. package/dist/runtimes/kimi/kap-projection.js +223 -0
  573. package/dist/runtimes/kimi/kap-projection.js.map +1 -0
  574. package/dist/runtimes/kimi/kap-protocol.d.ts +46 -0
  575. package/dist/runtimes/kimi/kap-protocol.d.ts.map +1 -0
  576. package/dist/runtimes/kimi/kap-protocol.js +220 -0
  577. package/dist/runtimes/kimi/kap-protocol.js.map +1 -0
  578. package/dist/runtimes/kimi/kap-session.d.ts +11 -0
  579. package/dist/runtimes/kimi/kap-session.d.ts.map +1 -0
  580. package/dist/runtimes/kimi/kap-session.js +116 -0
  581. package/dist/runtimes/kimi/kap-session.js.map +1 -0
  582. package/dist/runtimes/kimi/kap-socket.d.ts +11 -0
  583. package/dist/runtimes/kimi/kap-socket.d.ts.map +1 -0
  584. package/dist/runtimes/kimi/kap-socket.js +147 -0
  585. package/dist/runtimes/kimi/kap-socket.js.map +1 -0
  586. package/dist/runtimes/kimi/kap-turns.d.ts +12 -0
  587. package/dist/runtimes/kimi/kap-turns.d.ts.map +1 -0
  588. package/dist/runtimes/kimi/kap-turns.js +168 -0
  589. package/dist/runtimes/kimi/kap-turns.js.map +1 -0
  590. package/dist/runtimes/kimi/native-usage.d.ts.map +1 -1
  591. package/dist/runtimes/kimi/native-usage.js +4 -3
  592. package/dist/runtimes/kimi/native-usage.js.map +1 -1
  593. package/dist/runtimes/kimi/options.d.ts +5 -1
  594. package/dist/runtimes/kimi/options.d.ts.map +1 -1
  595. package/dist/runtimes/kimi/options.js +45 -2
  596. package/dist/runtimes/kimi/options.js.map +1 -1
  597. package/dist/runtimes/kimi/session.d.ts.map +1 -1
  598. package/dist/runtimes/kimi/session.js +15 -3
  599. package/dist/runtimes/kimi/session.js.map +1 -1
  600. package/dist/runtimes/kimi/version.d.ts +5 -0
  601. package/dist/runtimes/kimi/version.d.ts.map +1 -0
  602. package/dist/runtimes/kimi/version.js +12 -0
  603. package/dist/runtimes/kimi/version.js.map +1 -0
  604. package/dist/runtimes/kimi/web-startup.d.ts.map +1 -1
  605. package/dist/runtimes/kimi/web-startup.js +4 -18
  606. package/dist/runtimes/kimi/web-startup.js.map +1 -1
  607. package/dist/runtimes/omp/index.d.ts +4 -0
  608. package/dist/runtimes/omp/index.d.ts.map +1 -1
  609. package/dist/runtimes/omp/index.js +1 -0
  610. package/dist/runtimes/omp/index.js.map +1 -1
  611. package/dist/runtimes/omp/installation.d.ts.map +1 -1
  612. package/dist/runtimes/omp/installation.js +3 -0
  613. package/dist/runtimes/omp/installation.js.map +1 -1
  614. package/dist/runtimes/opencode/failure.js +6 -6
  615. package/dist/runtimes/opencode/failure.js.map +1 -1
  616. package/dist/runtimes/opencode/index.d.ts +120 -5
  617. package/dist/runtimes/opencode/index.d.ts.map +1 -1
  618. package/dist/runtimes/opencode/index.js +34 -4
  619. package/dist/runtimes/opencode/index.js.map +1 -1
  620. package/dist/runtimes/opencode/inline-prompt-config.d.ts +5 -0
  621. package/dist/runtimes/opencode/inline-prompt-config.d.ts.map +1 -0
  622. package/dist/runtimes/opencode/inline-prompt-config.js +82 -0
  623. package/dist/runtimes/opencode/inline-prompt-config.js.map +1 -0
  624. package/dist/runtimes/opencode/installation.d.ts +8 -0
  625. package/dist/runtimes/opencode/installation.d.ts.map +1 -1
  626. package/dist/runtimes/opencode/installation.js +26 -1
  627. package/dist/runtimes/opencode/installation.js.map +1 -1
  628. package/dist/runtimes/opencode/options.d.ts +5 -1
  629. package/dist/runtimes/opencode/options.d.ts.map +1 -1
  630. package/dist/runtimes/opencode/options.js +45 -1
  631. package/dist/runtimes/opencode/options.js.map +1 -1
  632. package/dist/runtimes/opencode/prompt-config-v2.d.ts.map +1 -1
  633. package/dist/runtimes/opencode/prompt-config-v2.js +23 -31
  634. package/dist/runtimes/opencode/prompt-config-v2.js.map +1 -1
  635. package/dist/runtimes/opencode/prompt-config.d.ts +2 -1
  636. package/dist/runtimes/opencode/prompt-config.d.ts.map +1 -1
  637. package/dist/runtimes/opencode/prompt-config.js +45 -23
  638. package/dist/runtimes/opencode/prompt-config.js.map +1 -1
  639. package/dist/runtimes/opencode/session.d.ts.map +1 -1
  640. package/dist/runtimes/opencode/session.js +1 -0
  641. package/dist/runtimes/opencode/session.js.map +1 -1
  642. package/dist/runtimes/opencode/shared-session.d.ts.map +1 -1
  643. package/dist/runtimes/opencode/shared-session.js +3 -0
  644. package/dist/runtimes/opencode/shared-session.js.map +1 -1
  645. package/dist/runtimes/opencode/upgrade.d.ts +4 -0
  646. package/dist/runtimes/opencode/upgrade.d.ts.map +1 -0
  647. package/dist/runtimes/opencode/upgrade.js +21 -0
  648. package/dist/runtimes/opencode/upgrade.js.map +1 -0
  649. package/dist/runtimes/opencode/version.d.ts +5 -0
  650. package/dist/runtimes/opencode/version.d.ts.map +1 -1
  651. package/dist/runtimes/opencode/version.js +14 -1
  652. package/dist/runtimes/opencode/version.js.map +1 -1
  653. package/dist/runtimes/pi/auth.d.ts +30 -7
  654. package/dist/runtimes/pi/auth.d.ts.map +1 -1
  655. package/dist/runtimes/pi/auth.js +2 -0
  656. package/dist/runtimes/pi/auth.js.map +1 -1
  657. package/dist/runtimes/pi/catalog.d.ts +1 -1
  658. package/dist/runtimes/pi/catalog.d.ts.map +1 -1
  659. package/dist/runtimes/pi/catalog.js.map +1 -1
  660. package/dist/runtimes/pi/credential-shape.d.ts +9 -0
  661. package/dist/runtimes/pi/credential-shape.d.ts.map +1 -0
  662. package/dist/runtimes/pi/credential-shape.js +85 -0
  663. package/dist/runtimes/pi/credential-shape.js.map +1 -0
  664. package/dist/runtimes/pi/facade-runtime.d.ts +1 -7
  665. package/dist/runtimes/pi/facade-runtime.d.ts.map +1 -1
  666. package/dist/runtimes/pi/facade-runtime.js.map +1 -1
  667. package/dist/runtimes/pi/failure.d.ts.map +1 -1
  668. package/dist/runtimes/pi/failure.js.map +1 -1
  669. package/dist/runtimes/pi/index.d.ts.map +1 -1
  670. package/dist/runtimes/pi/index.js +3 -1
  671. package/dist/runtimes/pi/index.js.map +1 -1
  672. package/dist/runtimes/pi/input-disposition.d.ts +1 -1
  673. package/dist/runtimes/pi/input-disposition.d.ts.map +1 -1
  674. package/dist/runtimes/pi/installation.d.ts +15 -3
  675. package/dist/runtimes/pi/installation.d.ts.map +1 -1
  676. package/dist/runtimes/pi/installation.js +101 -59
  677. package/dist/runtimes/pi/installation.js.map +1 -1
  678. package/dist/runtimes/pi/inventory.d.ts.map +1 -1
  679. package/dist/runtimes/pi/inventory.js +5 -2
  680. package/dist/runtimes/pi/inventory.js.map +1 -1
  681. package/dist/runtimes/pi/list-models.d.ts +3 -2
  682. package/dist/runtimes/pi/list-models.d.ts.map +1 -1
  683. package/dist/runtimes/pi/list-models.js +12 -2
  684. package/dist/runtimes/pi/list-models.js.map +1 -1
  685. package/dist/runtimes/pi/model-projection.d.ts +2 -0
  686. package/dist/runtimes/pi/model-projection.d.ts.map +1 -1
  687. package/dist/runtimes/pi/model-projection.js.map +1 -1
  688. package/dist/runtimes/pi/model-requests.d.ts +9 -0
  689. package/dist/runtimes/pi/model-requests.d.ts.map +1 -0
  690. package/dist/runtimes/pi/model-requests.js +76 -0
  691. package/dist/runtimes/pi/model-requests.js.map +1 -0
  692. package/dist/runtimes/pi/open.d.ts.map +1 -1
  693. package/dist/runtimes/pi/open.js +13 -28
  694. package/dist/runtimes/pi/open.js.map +1 -1
  695. package/dist/runtimes/pi/options.d.ts +7 -0
  696. package/dist/runtimes/pi/options.d.ts.map +1 -1
  697. package/dist/runtimes/pi/options.js.map +1 -1
  698. package/dist/runtimes/pi/projection.d.ts.map +1 -1
  699. package/dist/runtimes/pi/projection.js +11 -4
  700. package/dist/runtimes/pi/projection.js.map +1 -1
  701. package/dist/runtimes/pi/rpc/control.d.ts +1 -1
  702. package/dist/runtimes/pi/rpc/control.d.ts.map +1 -1
  703. package/dist/runtimes/pi/rpc/control.js +6 -4
  704. package/dist/runtimes/pi/rpc/control.js.map +1 -1
  705. package/dist/runtimes/pi/rpc/extension.d.ts.map +1 -1
  706. package/dist/runtimes/pi/rpc/extension.js +15 -2
  707. package/dist/runtimes/pi/rpc/extension.js.map +1 -1
  708. package/dist/runtimes/pi/rpc/open.d.ts.map +1 -1
  709. package/dist/runtimes/pi/rpc/open.js +11 -6
  710. package/dist/runtimes/pi/rpc/open.js.map +1 -1
  711. package/dist/runtimes/pi/rpc/prompt-files.d.ts.map +1 -1
  712. package/dist/runtimes/pi/rpc/prompt-files.js +14 -5
  713. package/dist/runtimes/pi/rpc/prompt-files.js.map +1 -1
  714. package/dist/runtimes/pi/rpc/readers.d.ts.map +1 -1
  715. package/dist/runtimes/pi/rpc/readers.js +2 -0
  716. package/dist/runtimes/pi/rpc/readers.js.map +1 -1
  717. package/dist/runtimes/pi/rpc/session.d.ts.map +1 -1
  718. package/dist/runtimes/pi/rpc/session.js +18 -12
  719. package/dist/runtimes/pi/rpc/session.js.map +1 -1
  720. package/dist/runtimes/pi/session.d.ts.map +1 -1
  721. package/dist/runtimes/pi/session.js +15 -7
  722. package/dist/runtimes/pi/session.js.map +1 -1
  723. package/dist/runtimes/pi/side-question.js +1 -1
  724. package/dist/runtimes/pi/side-question.js.map +1 -1
  725. package/dist/runtimes/pi-durable/index.d.ts.map +1 -1
  726. package/dist/runtimes/pi-durable/index.js +8 -1
  727. package/dist/runtimes/pi-durable/index.js.map +1 -1
  728. package/dist/runtimes/pi-durable/options.d.ts.map +1 -1
  729. package/dist/runtimes/pi-durable/options.js +3 -0
  730. package/dist/runtimes/pi-durable/options.js.map +1 -1
  731. package/dist/runtimes/pi-durable/projection.d.ts +4 -2
  732. package/dist/runtimes/pi-durable/projection.d.ts.map +1 -1
  733. package/dist/runtimes/pi-durable/projection.js +19 -4
  734. package/dist/runtimes/pi-durable/projection.js.map +1 -1
  735. package/dist/runtimes/pi-durable/session.d.ts.map +1 -1
  736. package/dist/runtimes/pi-durable/session.js +164 -23
  737. package/dist/runtimes/pi-durable/session.js.map +1 -1
  738. package/dist/runtimes/qoder/daemon.d.ts +2 -1
  739. package/dist/runtimes/qoder/daemon.d.ts.map +1 -1
  740. package/dist/runtimes/qoder/daemon.js +13 -7
  741. package/dist/runtimes/qoder/daemon.js.map +1 -1
  742. package/dist/runtimes/qoder/index.d.ts +25 -1
  743. package/dist/runtimes/qoder/index.d.ts.map +1 -1
  744. package/dist/runtimes/qoder/index.js +14 -1
  745. package/dist/runtimes/qoder/index.js.map +1 -1
  746. package/dist/runtimes/qoder/installation.d.ts +2 -2
  747. package/dist/runtimes/qoder/installation.d.ts.map +1 -1
  748. package/dist/runtimes/qoder/installation.js +10 -17
  749. package/dist/runtimes/qoder/installation.js.map +1 -1
  750. package/dist/runtimes/qoder/launch.d.ts +4 -4
  751. package/dist/runtimes/qoder/launch.d.ts.map +1 -1
  752. package/dist/runtimes/qoder/launch.js +24 -31
  753. package/dist/runtimes/qoder/launch.js.map +1 -1
  754. package/dist/runtimes/qoder/list-models.d.ts.map +1 -1
  755. package/dist/runtimes/qoder/list-models.js +22 -14
  756. package/dist/runtimes/qoder/list-models.js.map +1 -1
  757. package/dist/runtimes/qoder/mcp-config.d.ts +13 -0
  758. package/dist/runtimes/qoder/mcp-config.d.ts.map +1 -0
  759. package/dist/runtimes/qoder/mcp-config.js +22 -0
  760. package/dist/runtimes/qoder/mcp-config.js.map +1 -0
  761. package/dist/runtimes/qoder/options.d.ts.map +1 -1
  762. package/dist/runtimes/qoder/options.js +16 -10
  763. package/dist/runtimes/qoder/options.js.map +1 -1
  764. package/dist/runtimes/qoder/projection.d.ts.map +1 -1
  765. package/dist/runtimes/qoder/projection.js +5 -3
  766. package/dist/runtimes/qoder/projection.js.map +1 -1
  767. package/dist/runtimes/qoder/protocol.d.ts +3 -1
  768. package/dist/runtimes/qoder/protocol.d.ts.map +1 -1
  769. package/dist/runtimes/qoder/protocol.js +6 -4
  770. package/dist/runtimes/qoder/protocol.js.map +1 -1
  771. package/dist/runtimes/qoder/session.d.ts.map +1 -1
  772. package/dist/runtimes/qoder/session.js +8 -4
  773. package/dist/runtimes/qoder/session.js.map +1 -1
  774. package/dist/runtimes/qwen/control.d.ts +1 -1
  775. package/dist/runtimes/qwen/control.d.ts.map +1 -1
  776. package/dist/runtimes/qwen/control.js +3 -5
  777. package/dist/runtimes/qwen/control.js.map +1 -1
  778. package/dist/runtimes/qwen/credentials.d.ts +7 -0
  779. package/dist/runtimes/qwen/credentials.d.ts.map +1 -0
  780. package/dist/runtimes/qwen/credentials.js +47 -0
  781. package/dist/runtimes/qwen/credentials.js.map +1 -0
  782. package/dist/runtimes/qwen/index.d.ts +10 -9
  783. package/dist/runtimes/qwen/index.d.ts.map +1 -1
  784. package/dist/runtimes/qwen/index.js +21 -2
  785. package/dist/runtimes/qwen/index.js.map +1 -1
  786. package/dist/runtimes/qwen/installation.d.ts +1 -0
  787. package/dist/runtimes/qwen/installation.d.ts.map +1 -1
  788. package/dist/runtimes/qwen/installation.js +2 -1
  789. package/dist/runtimes/qwen/installation.js.map +1 -1
  790. package/dist/runtimes/qwen/launch.d.ts +3 -1
  791. package/dist/runtimes/qwen/launch.d.ts.map +1 -1
  792. package/dist/runtimes/qwen/launch.js +27 -16
  793. package/dist/runtimes/qwen/launch.js.map +1 -1
  794. package/dist/runtimes/qwen/list-models.js +2 -2
  795. package/dist/runtimes/qwen/list-models.js.map +1 -1
  796. package/dist/runtimes/qwen/native-memory.d.ts +17 -0
  797. package/dist/runtimes/qwen/native-memory.d.ts.map +1 -0
  798. package/dist/runtimes/qwen/native-memory.js +252 -0
  799. package/dist/runtimes/qwen/native-memory.js.map +1 -0
  800. package/dist/runtimes/qwen/options.d.ts +2 -0
  801. package/dist/runtimes/qwen/options.d.ts.map +1 -1
  802. package/dist/runtimes/qwen/options.js +20 -17
  803. package/dist/runtimes/qwen/options.js.map +1 -1
  804. package/dist/runtimes/qwen/projection.d.ts.map +1 -1
  805. package/dist/runtimes/qwen/projection.js +2 -1
  806. package/dist/runtimes/qwen/projection.js.map +1 -1
  807. package/dist/runtimes/qwen/session.d.ts.map +1 -1
  808. package/dist/runtimes/qwen/session.js +16 -7
  809. package/dist/runtimes/qwen/session.js.map +1 -1
  810. package/dist/shared/acp/effort.d.ts.map +1 -1
  811. package/dist/shared/acp/effort.js +5 -0
  812. package/dist/shared/acp/effort.js.map +1 -1
  813. package/dist/shared/acp/errors.d.ts +1 -1
  814. package/dist/shared/acp/errors.d.ts.map +1 -1
  815. package/dist/shared/acp/errors.js +3 -10
  816. package/dist/shared/acp/errors.js.map +1 -1
  817. package/dist/shared/acp/failure.js +5 -5
  818. package/dist/shared/acp/open-readiness.d.ts +15 -0
  819. package/dist/shared/acp/open-readiness.d.ts.map +1 -0
  820. package/dist/shared/acp/open-readiness.js +11 -0
  821. package/dist/shared/acp/open-readiness.js.map +1 -0
  822. package/dist/shared/acp/process.d.ts +5 -1
  823. package/dist/shared/acp/process.d.ts.map +1 -1
  824. package/dist/shared/acp/process.js +18 -5
  825. package/dist/shared/acp/process.js.map +1 -1
  826. package/dist/shared/acp/profile.d.ts +7 -4
  827. package/dist/shared/acp/profile.d.ts.map +1 -1
  828. package/dist/shared/acp/profile.js +42 -22
  829. package/dist/shared/acp/profile.js.map +1 -1
  830. package/dist/shared/acp/projection.d.ts.map +1 -1
  831. package/dist/shared/acp/projection.js +8 -3
  832. package/dist/shared/acp/projection.js.map +1 -1
  833. package/dist/shared/acp/routing-types.d.ts +3 -1
  834. package/dist/shared/acp/routing-types.d.ts.map +1 -1
  835. package/dist/shared/acp/routing.d.ts.map +1 -1
  836. package/dist/shared/acp/routing.js +5 -3
  837. package/dist/shared/acp/routing.js.map +1 -1
  838. package/dist/shared/acp/session-state.d.ts +2 -1
  839. package/dist/shared/acp/session-state.d.ts.map +1 -1
  840. package/dist/shared/acp/session-state.js +3 -1
  841. package/dist/shared/acp/session-state.js.map +1 -1
  842. package/dist/shared/acp/session.d.ts.map +1 -1
  843. package/dist/shared/acp/session.js +98 -52
  844. package/dist/shared/acp/session.js.map +1 -1
  845. package/dist/shared/acp/shared-session.d.ts.map +1 -1
  846. package/dist/shared/acp/shared-session.js +18 -6
  847. package/dist/shared/acp/shared-session.js.map +1 -1
  848. package/dist/shared/acp/turns.d.ts +1 -1
  849. package/dist/shared/acp/turns.d.ts.map +1 -1
  850. package/dist/shared/acp/turns.js +14 -12
  851. package/dist/shared/acp/turns.js.map +1 -1
  852. package/dist/shared/credential-redactor.d.ts +8 -0
  853. package/dist/shared/credential-redactor.d.ts.map +1 -1
  854. package/dist/shared/credential-redactor.js +22 -0
  855. package/dist/shared/credential-redactor.js.map +1 -1
  856. package/dist/shared/executable/close.d.ts +7 -0
  857. package/dist/shared/executable/close.d.ts.map +1 -0
  858. package/dist/shared/executable/close.js +26 -0
  859. package/dist/shared/executable/close.js.map +1 -0
  860. package/dist/shared/executable/diagnostics.d.ts +6 -0
  861. package/dist/shared/executable/diagnostics.d.ts.map +1 -1
  862. package/dist/shared/executable/diagnostics.js +9 -0
  863. package/dist/shared/executable/diagnostics.js.map +1 -1
  864. package/dist/shared/executable/index.d.ts +2 -0
  865. package/dist/shared/executable/index.d.ts.map +1 -1
  866. package/dist/shared/executable/index.js +1 -0
  867. package/dist/shared/executable/index.js.map +1 -1
  868. package/dist/shared/executable/node-script.d.ts +1 -0
  869. package/dist/shared/executable/node-script.d.ts.map +1 -1
  870. package/dist/shared/executable/node-script.js +1 -1
  871. package/dist/shared/executable/node-script.js.map +1 -1
  872. package/dist/shared/executable/process-cleanup-diagnostics.d.ts +3 -1
  873. package/dist/shared/executable/process-cleanup-diagnostics.d.ts.map +1 -1
  874. package/dist/shared/executable/process-cleanup-diagnostics.js.map +1 -1
  875. package/dist/shared/executable/process-cleanup.d.ts.map +1 -1
  876. package/dist/shared/executable/process-cleanup.js +41 -12
  877. package/dist/shared/executable/process-cleanup.js.map +1 -1
  878. package/dist/shared/executable/process-shutdown.d.ts +1 -0
  879. package/dist/shared/executable/process-shutdown.d.ts.map +1 -1
  880. package/dist/shared/executable/process-shutdown.js +27 -4
  881. package/dist/shared/executable/process-shutdown.js.map +1 -1
  882. package/dist/shared/executable/process-table-async.d.ts.map +1 -1
  883. package/dist/shared/executable/process-table-async.js +7 -10
  884. package/dist/shared/executable/process-table-async.js.map +1 -1
  885. package/dist/shared/executable/process-table-error.d.ts +6 -0
  886. package/dist/shared/executable/process-table-error.d.ts.map +1 -0
  887. package/dist/shared/executable/process-table-error.js +10 -0
  888. package/dist/shared/executable/process-table-error.js.map +1 -0
  889. package/dist/shared/executable/process-table-windows.d.ts +19 -0
  890. package/dist/shared/executable/process-table-windows.d.ts.map +1 -0
  891. package/dist/shared/executable/process-table-windows.js +59 -0
  892. package/dist/shared/executable/process-table-windows.js.map +1 -0
  893. package/dist/shared/executable/process-tree.d.ts +9 -9
  894. package/dist/shared/executable/process-tree.d.ts.map +1 -1
  895. package/dist/shared/executable/process-tree.js +21 -49
  896. package/dist/shared/executable/process-tree.js.map +1 -1
  897. package/dist/shared/executable/process.d.ts +9 -1
  898. package/dist/shared/executable/process.d.ts.map +1 -1
  899. package/dist/shared/executable/process.js +2 -1
  900. package/dist/shared/executable/process.js.map +1 -1
  901. package/dist/shared/executable/reported-stderr.d.ts +18 -0
  902. package/dist/shared/executable/reported-stderr.d.ts.map +1 -0
  903. package/dist/shared/executable/reported-stderr.js +49 -0
  904. package/dist/shared/executable/reported-stderr.js.map +1 -0
  905. package/dist/shared/executable/run.d.ts +2 -0
  906. package/dist/shared/executable/run.d.ts.map +1 -1
  907. package/dist/shared/executable/run.js +4 -0
  908. package/dist/shared/executable/run.js.map +1 -1
  909. package/dist/shared/executable/verify-descendant-exit.d.ts +4 -0
  910. package/dist/shared/executable/verify-descendant-exit.d.ts.map +1 -0
  911. package/dist/shared/executable/verify-descendant-exit.js +34 -0
  912. package/dist/shared/executable/verify-descendant-exit.js.map +1 -0
  913. package/dist/shared/failure-class.d.ts +2 -0
  914. package/dist/shared/failure-class.d.ts.map +1 -1
  915. package/dist/shared/failure-class.js +11 -1
  916. package/dist/shared/failure-class.js.map +1 -1
  917. package/dist/shared/held-input.d.ts +9 -0
  918. package/dist/shared/held-input.d.ts.map +1 -1
  919. package/dist/shared/held-input.js +8 -0
  920. package/dist/shared/held-input.js.map +1 -1
  921. package/dist/shared/host-environment.d.ts +40 -0
  922. package/dist/shared/host-environment.d.ts.map +1 -0
  923. package/dist/shared/host-environment.js +74 -0
  924. package/dist/shared/host-environment.js.map +1 -0
  925. package/dist/shared/installation.d.ts +14 -3
  926. package/dist/shared/installation.d.ts.map +1 -1
  927. package/dist/shared/installation.js +81 -61
  928. package/dist/shared/installation.js.map +1 -1
  929. package/dist/shared/launch-args.d.ts +7 -0
  930. package/dist/shared/launch-args.d.ts.map +1 -0
  931. package/dist/shared/launch-args.js +25 -0
  932. package/dist/shared/launch-args.js.map +1 -0
  933. package/dist/shared/login.d.ts +3 -0
  934. package/dist/shared/login.d.ts.map +1 -1
  935. package/dist/shared/login.js +2 -1
  936. package/dist/shared/login.js.map +1 -1
  937. package/dist/shared/mcp-config-handoff.d.ts +12 -0
  938. package/dist/shared/mcp-config-handoff.d.ts.map +1 -0
  939. package/dist/shared/mcp-config-handoff.js +131 -0
  940. package/dist/shared/mcp-config-handoff.js.map +1 -0
  941. package/dist/shared/native-home-initialization.d.ts +20 -0
  942. package/dist/shared/native-home-initialization.d.ts.map +1 -0
  943. package/dist/shared/native-home-initialization.js +87 -0
  944. package/dist/shared/native-home-initialization.js.map +1 -0
  945. package/dist/shared/native-session-file.d.ts +3 -0
  946. package/dist/shared/native-session-file.d.ts.map +1 -0
  947. package/dist/shared/native-session-file.js +22 -0
  948. package/dist/shared/native-session-file.js.map +1 -0
  949. package/dist/shared/process-session.d.ts +1 -1
  950. package/dist/shared/process-session.d.ts.map +1 -1
  951. package/dist/shared/process-session.js +12 -9
  952. package/dist/shared/process-session.js.map +1 -1
  953. package/dist/shared/prompt-run.d.ts +10 -0
  954. package/dist/shared/prompt-run.d.ts.map +1 -0
  955. package/dist/shared/prompt-run.js +9 -0
  956. package/dist/shared/prompt-run.js.map +1 -0
  957. package/dist/shared/seal-session.d.ts.map +1 -1
  958. package/dist/shared/seal-session.js +2 -1
  959. package/dist/shared/seal-session.js.map +1 -1
  960. package/dist/shared/semver.d.ts +6 -0
  961. package/dist/shared/semver.d.ts.map +1 -1
  962. package/dist/shared/semver.js +16 -0
  963. package/dist/shared/semver.js.map +1 -1
  964. package/dist/shared/session-credentials.d.ts.map +1 -1
  965. package/dist/shared/session-credentials.js +2 -0
  966. package/dist/shared/session-credentials.js.map +1 -1
  967. package/dist/shared/session-options.d.ts.map +1 -1
  968. package/dist/shared/session-options.js +7 -4
  969. package/dist/shared/session-options.js.map +1 -1
  970. package/dist/shared/stream-json/compaction.d.ts +0 -1
  971. package/dist/shared/stream-json/compaction.d.ts.map +1 -1
  972. package/dist/shared/stream-json/compaction.js +1 -1
  973. package/dist/shared/stream-json/compaction.js.map +1 -1
  974. package/dist/shared/stream-json/held-input.d.ts.map +1 -1
  975. package/dist/shared/stream-json/held-input.js +0 -4
  976. package/dist/shared/stream-json/held-input.js.map +1 -1
  977. package/dist/shared/stream-json/input-lifecycle.d.ts.map +1 -1
  978. package/dist/shared/stream-json/input-lifecycle.js +8 -0
  979. package/dist/shared/stream-json/input-lifecycle.js.map +1 -1
  980. package/dist/shared/stream-json/profile.d.ts +6 -4
  981. package/dist/shared/stream-json/profile.d.ts.map +1 -1
  982. package/dist/shared/stream-json/projection.d.ts.map +1 -1
  983. package/dist/shared/stream-json/projection.js +23 -6
  984. package/dist/shared/stream-json/projection.js.map +1 -1
  985. package/dist/shared/stream-json/session.d.ts.map +1 -1
  986. package/dist/shared/stream-json/session.js +19 -21
  987. package/dist/shared/stream-json/session.js.map +1 -1
  988. package/dist/shared/stream-json/state.d.ts +3 -2
  989. package/dist/shared/stream-json/state.d.ts.map +1 -1
  990. package/dist/shared/stream-json/state.js +1 -0
  991. package/dist/shared/stream-json/state.js.map +1 -1
  992. package/dist/shared/update.d.ts +2 -0
  993. package/dist/shared/update.d.ts.map +1 -1
  994. package/dist/shared/update.js +6 -2
  995. package/dist/shared/update.js.map +1 -1
  996. package/dist/shared/usage-ratio.d.ts +16 -0
  997. package/dist/shared/usage-ratio.d.ts.map +1 -0
  998. package/dist/shared/usage-ratio.js +52 -0
  999. package/dist/shared/usage-ratio.js.map +1 -0
  1000. package/dist/shared/user-configuration.d.ts +5 -0
  1001. package/dist/shared/user-configuration.d.ts.map +1 -0
  1002. package/dist/shared/user-configuration.js +19 -0
  1003. package/dist/shared/user-configuration.js.map +1 -0
  1004. package/dist/shared/version-range.d.ts +30 -0
  1005. package/dist/shared/version-range.d.ts.map +1 -0
  1006. package/dist/shared/version-range.js +50 -0
  1007. package/dist/shared/version-range.js.map +1 -0
  1008. package/dist/testing/scripted-runtime.d.ts.map +1 -1
  1009. package/dist/testing/scripted-runtime.js +9 -4
  1010. package/dist/testing/scripted-runtime.js.map +1 -1
  1011. package/dist/testing/scripted-tasks.d.ts +1 -0
  1012. package/dist/testing/scripted-tasks.d.ts.map +1 -1
  1013. package/package.json +15 -8
  1014. package/dist/runtimes/qwen/close.d.ts +0 -4
  1015. package/dist/runtimes/qwen/close.d.ts.map +0 -1
  1016. package/dist/runtimes/qwen/close.js +0 -13
  1017. package/dist/runtimes/qwen/close.js.map +0 -1
package/README.md CHANGED
@@ -1,12 +1,12 @@
1
1
  # @saltpub/oar
2
2
 
3
3
  > Locally modified library from the ordinary private repository
4
- > [tmp-reg/oar](https://github.com/tmp-reg/oar). Version `0.121.0` is a release
4
+ > [tmp-reg/oar](https://github.com/tmp-reg/oar). Version `0.122.0` is a release
5
5
  > candidate, not a published or release-ready package. See
6
6
  > [maintenance provenance](../../UPSTREAM.md) for the upstream commit, compiler
7
7
  > requirements and local publication gate.
8
8
 
9
- Provider-independent TypeScript contracts and built-in implementations for controlling and observing Antigravity, Claude, Codex, CodeBuddy, Cursor, DeepSeek Harness, Devin, Factory Droid, Grok, Kimi, OpenCode, Pi, Pi Durable, Qwen Code, and Qoder.
9
+ Provider-independent TypeScript contracts and adapters for controlling and observing Antigravity, Claude, Codex, CodeBuddy, DeepSeek Harness, Devin, Factory Droid, Grok, Kimi, OpenCode, Pi, Qwen Code, and Qoder (plus optional-peer Cursor and Pi Durable, and community Mister Morph and Cybion).
10
10
 
11
11
  ```ts
12
12
  import { defaultRuntimes, promptAndWait } from "@saltpub/oar";
@@ -50,10 +50,10 @@ start and end, usage, model, effort, compaction start / end, retry, background
50
50
  tasks and subagents started, updated and ended, runtime→app requests and oar's
51
51
  answers, control rejections, withdrawn and natively handled inputs, the process
52
52
  exit), each carrying the `seq` and `agentPath` of the record it was read from.
53
- Kinds a runtime never says never appear (claude and factory have no
54
- compaction start; kimi, codebuddy, antigravity and devin no compaction; of the
55
- core runtimes only codex, factory, pi and pi-durable report retry); the
56
- runtime pages say which. It is a
53
+ Kinds a runtime never says never appear (some runtimes report no
54
+ compaction start, some no compaction, and several no retry); the
55
+ [runtime matrix](https://github.com/botiverse/oar/blob/main/docs/spec/runtime-matrix.md)
56
+ and the runtime pages say which. It is a
57
57
  projection over the record stream, which `session.rawEvents()` and
58
58
  `session.records()` expose (`RawEvent`: `Frame` with the native payload
59
59
  verbatim, `RequestRecord`, `ResponseRecord`) for consumers who need the
@@ -65,8 +65,8 @@ carry `elided: true`, while live observers still receive every record complete
65
65
  reports for a command it ran, absent where it reports none (claude); see
66
66
  [tool outcomes](https://github.com/botiverse/oar/blob/main/docs/spec/runtime-matrix.md#tool-outcomes).
67
67
  In `session.usage()`, `TokenTotals.reasoning` is the part of `output` the
68
- runtime reports as reasoning (codex, grok, pi, pi-durable, cursor, dsh; absent
69
- elsewhere): never add it to `output` again
68
+ runtime reports as reasoning (absent where the runtime does not report it;
69
+ the linked section lists which do): never add it to `output` again
70
70
  ([reasoning tokens](https://github.com/botiverse/oar/blob/main/docs/spec/attribution.md#reasoning-tokens)).
71
71
 
72
72
  Tool arguments can arrive while the model is still writing them. Append
@@ -87,8 +87,9 @@ root tools, withdraws the held inputs, aborts the turn and, after the
87
87
  runtime's own turn end, sends them as one merged prompt
88
88
  ([interrupting](https://github.com/botiverse/oar/blob/main/docs/spec/conversation.md#interrupting-and-merging-held-inputs)).
89
89
  `session.steer` exists only on a session whose runtime can steer (qwen,
90
- codebuddy, devin and kimi sessions have none, nor opencode v2 sessions whose
91
- `initialize` does not advertise steering; see
90
+ codebuddy, devin and kimi ACP fallback sessions have none, nor opencode v2
91
+ sessions whose `initialize` does not advertise steering or dsh sessions without
92
+ `steer` in their native method inventory; kimi KAP sessions expose `steer`; see
92
93
  [session controls](https://github.com/botiverse/oar/blob/main/docs/spec/runtime-matrix.md#session-controls)),
93
94
  so a host offers a steer control by reading the member, never a runtime
94
95
  name; `deliver` and `steerOrQueue` queue where it is absent. Before any session
@@ -101,13 +102,13 @@ absent field is unknown, not false
101
102
  sent (`accepted`), or answers `not_queued` once it went; with it a UI offers
102
103
  withdraw, edit (withdraw, then `queue` again) and send now (withdraw, then
103
104
  `deliver`). It exists where OAR holds the queue itself (claude, pi, qwen, qoder, cursor,
104
- factory and the ACP runtimes), on pi-durable through native submission cancellation and on
105
+ factory, kimi, morph, cybion and the ACP runtimes), on pi-durable through native submission cancellation and on
105
106
  dsh through native inbox removal where its method inventory advertises it, not on codex.
106
107
  `session.stopTask(taskId)` stops one native task without aborting its parent
107
- (claude, codex, qoder); acceptance is the native acknowledgement, never a task
108
+ (claude, codex, qoder, kimi KAP, and dsh for backgrounded shell jobs where job controls are advertised); acceptance is the native acknowledgement, never a task
108
109
  end ([single-task stop](https://github.com/botiverse/oar/blob/main/docs/spec/runtime-matrix.md#native-tasks-and-single-task-stop)).
109
110
  `session.compact()` is optional on Claude, Codex, Pi SDK/RPC, Grok, Qoder,
110
- Cursor, Factory and OpenCode v2 sessions. OpenCode v1 omits it.
111
+ Cursor, Factory, Kimi KAP, DSH (when supported) and OpenCode v2 sessions. OpenCode v1 and Kimi ACP omit it.
111
112
  `runtime.manualCompaction` describes support and active-turn policy; these
112
113
  implementations require idle sessions. The result distinguishes native
113
114
  completion, failure, cancellation, rejection and an unconfirmed wait.
@@ -121,8 +122,7 @@ marking a merged native turn's inputs complete; neither field is inferred.
121
122
  `session.resources()` reads the memory a runtime takes on the host: resident
122
123
  bytes and a process count over the runtime process, its group and its
123
124
  descendants, `null` once it has exited (and on Windows). It is a reading only,
124
- never a handle: no pid leaves OAR. Pi's default SDK mode, pi-durable and
125
- cursor (in either execution mode) have none.
125
+ never a handle: no pid leaves OAR. Pi's default SDK mode, pi-durable, cursor (in either execution mode), morph and cybion have none.
126
126
 
127
127
  For conversation UIs, use the browser-safe `reduceConversation` projection
128
128
  over `session.rawEvents()`. It joins input requests, responses and native
@@ -160,18 +160,19 @@ The package has these public entry points, plus `@saltpub/oar/pi-durable` ([belo
160
160
  - `@saltpub/oar`: the runtime registry and adapters, bounded `orient` snapshots, `defineRuntime`, `UnsupportedOptionError` (and its `ResumeCwdError` subclass), `ModelConfirmationError`, `RuntimeFailureError`, `SessionNotFoundError`, `SessionUnavailableError`, `serveMcpTools`, `userShellEnvironment` and `writeShellEnvironmentCapture`, the `oar-voyage/3` recorder (`openVoyage`), and everything the brands and observe entry points below export. Node-only (adapters import `node:child_process` and runtime SDKs).
161
161
  - `@saltpub/oar/browser`: portable contracts, registry, session kernel, observe helpers, agent report formatting, and branding. No Node adapters, process helpers or local image-file loaders.
162
162
  - `@saltpub/oar/brands`: browser-safe runtime names and SVG icons.
163
- - `@saltpub/oar/runtimes/<id>` (`claude`, `codex`, `codebuddy`, `devin`, `dsh`, `factory`, `pi`, `cursor`, `opencode`, `kimi`, `grok`, `antigravity`, `qwen`, `qoder`): one built-in runtime (`claudeRuntime`, …; cursor's is `createCursorRuntime`) without the others, for a host that needs only some of them. Each entry stays at about 1 to 2.5 MB of heap where the root entry takes about 50 MB (Node 26, [#405](https://github.com/botiverse/oar/pull/405)): the ACP SDK (about 20 MB) loads only on the first call that speaks ACP (a session, a model list, a usage, sign-in or status read on an ACP entry, the Qwen provider facade), and the pi and cursor SDKs when theirs first run. Node-only.
163
+ - `@saltpub/oar/runtimes/<id>` (`claude`, `codex`, `codebuddy`, `devin`, `dsh`, `factory`, `pi`, `cursor`, `opencode`, `kimi`, `grok`, `antigravity`, `qwen`, `qoder`): one built-in runtime (`claudeRuntime`, …; cursor's is `createCursorRuntime`) without the others, for a host that needs only some of them (plus `@saltpub/oar/runtimes/codex/installation-candidates` for Codex executable candidate probing; `./runtimes/pi-durable` is blocked in favor of `@saltpub/oar/pi-durable`). Each entry stays at about 1 to 2.5 MB of heap where the root entry takes about 50 MB (Node 26, [#405](https://github.com/botiverse/oar/pull/405)): the ACP SDK (about 20 MB) loads only on the first call that speaks ACP (a session, a model list, a usage, sign-in or status read on an ACP entry, the Qwen provider facade), and the pi and cursor SDKs when theirs first run. Node-only.
164
164
  - `@saltpub/oar/observe`: the browser-safe pure derivations over `RawEvent`s and `Event`s (`eventsOf`, `graphOf`, `usageOf`, `observeAgent`, `reduceStatus`, `tasksOf`, `observeStalls`, `classifyTool`, `reduceConversation`, `reduceSessionView`, …) with no Node or adapter imports, so a browser or Electron-renderer bundle can import it directly. The root export re-exports all of them.
165
165
  It also supplies `failureAdvice` (recovery timing per `FailureClass`) and `noticeText`, `noticeTone`, `phaseLabel`, `failureText` and `taskStatusLabel`, alongside `toolActionLabel` and `toolGroupSummary`: English display wording for OAR types, usable in JavaScriptCore too. Wording may change in a minor release; hosts must use the typed values for decisions, not parse the text ([display wording](https://github.com/botiverse/oar/blob/main/docs/spec/conversation.md#display-wording)).
166
166
  - `@saltpub/oar/kernel`: the runtime-author SPI. `createSessionKernel` is the record stream every built-in adapter is built on (dense `seq`, cursor replay, control recording, the reachability rule) and `sealSession` derives the `Session` API face over an adapter. Pair with `defineRuntime` to ship a custom runtime (a scripted runtime for a host's tests, an in-process agent) without re-implementing the stream contract. `inputImagesRefusal` and `withInputImages` apply the image rules every built-in runtime keeps, so a custom runtime refuses the inputs they refuse. `withdrawHeld` applies `Session.withdraw` to an adapter-held queue; its `HeldInput` type is public too.
167
- - `@saltpub/oar/agents`: subagents. `createSubagents()` starts child sessions on any runtime that takes `SessionOptions.env` (not in-process cursor or pi-durable), returns a report for every turn they end, takes follow-ups, enforces depth and concurrency limits, and reports each child as a task. The host takes reports with `wait` / `next` or receives them through an `onReport` hook; with `formatReport` and `reportOrigin` it can `deliver` one into a parent session so it wakes. See [subagents](https://github.com/botiverse/oar/blob/main/docs/spec/subagents.md). Node-only.
167
+ - `@saltpub/oar/agents`: subagents. `createSubagents()` starts child sessions on any runtime that takes `SessionOptions.env` (not in-process cursor, pi-durable, morph or cybion), returns a report for every turn they end, takes follow-ups, enforces depth and concurrency limits, and reports each child as a task. The host takes reports with `wait` / `next` or receives them through an `onReport` hook; with `formatReport` and `reportOrigin` it can `deliver` one into a parent session so it wakes. See [subagents](https://github.com/botiverse/oar/blob/main/docs/spec/subagents.md). Node-only.
168
168
  - `@saltpub/oar/agents/report`: `formatReport`, `parseReport`, `reportOrigin` and their types, with no Node or adapter imports, for a host forwarding or displaying reports. `parseReport` reads the existing report format into header fields, a structured outcome and the original body, or returns `null`. `@saltpub/oar/agents` loads every built-in runtime, because `createSubagents` defaults to them.
169
169
  - `@saltpub/oar/testing`: `scriptedRuntime({ turn })`, a ready-made runtime on the kernel SPI whose model is a script. It yields a real `Session` (same records, folds and control semantics) with no binary, login or provider, for hosts' tests and demos. A script can also start tasks (`turn.task`) that end after the turn, like a background command, and make the runtime's process exit on its own (`turn.exit`, during the turn or kept for later, while idle), recorded as a vendor process's unexpected exit is. Node-only.
170
170
  - `@saltpub/oar/forms`: runtime config forms for a host's agent-creation UI, as plain data (`configForms`, keyed by runtime id; grok only so far) and shared form types. Hosts validate and map selected values to session options. A form states what the runtime accepts; a host may only narrow it. Loads no runtime SDK and does nothing on import, so it runs in a browser. See [config form](https://github.com/botiverse/oar/blob/main/docs/spec/config-form.md).
171
+ - `@saltpub/oar/capabilities`: `installedSessionCapabilities` and its session-capability contract types (`SessionCapabilityDeclaration`, `CompactionEvents`, `ManualCompaction`, `ContextUsageCapability`, `McpTransport`, `RefusedSessionOptions`, `RefusableSessionOption`, `AvailableInstallation`, `Runtime`). Loads only contract modules, no runtime adapters or native SDKs, for hosts that avoid the root entry to keep memory low.
171
172
 
172
- Brand SVG files are exported at `@saltpub/oar/assets/brands/<runtime-id>.svg`. Any other deep import (`@saltpub/oar/dist/...`, source paths) is internal and may break without notice.
173
+ Brand SVGs (`<runtime-id>.svg`, plus themed `*-on-light.svg`/`*-on-dark.svg` variants and `NOTICE.md`) are exported under `@saltpub/oar/assets/brands/*`. Any other deep import (`@saltpub/oar/dist/...`, source paths) is internal and may break without notice.
173
174
 
174
- Antigravity, CodeBuddy, Devin, Grok, Kimi, and OpenCode share an internal ACP v1 transport and session kernel, but only their concrete runtime identities are public. The registry deliberately does not expose a generic `acp` runtime. The pi SDK (`@earendil-works/pi-coding-agent`) is a dependency of this package. `@cursor/sdk` is an optional peer dependency, and cursor is not in `defaultRuntimes`: install the SDK (`npm install @cursor/sdk@1.4.1`) and hand it over, `createRuntimeRegistry([...defaultRuntimes.list(), createCursorRuntime({ sdk: () => import("@cursor/sdk") })])`. Written in your code, that import fails your compile if the package is missing. It is Cursor's own package under Cursor's terms, and it signs in with `CURSOR_API_KEY` or its own `Cursor.auth.login()`. `createCursorRuntime({ execution: "subprocess", sdkModule: import.meta.resolve("@cursor/sdk") })` instead runs the SDK in a Node child per session, which takes `SessionOptions.env` and whose crash is recorded as `exited` ([execution modes](https://github.com/botiverse/oar/blob/main/docs/runtimes/cursor.md#execution-modes)).
175
+ Antigravity, CodeBuddy, Devin, Grok, Kimi (ACP fallback), and OpenCode share an internal ACP v1 transport and session kernel, but only their concrete runtime identities are public. The registry deliberately does not expose a generic `acp` runtime. The pi SDK (`@earendil-works/pi-coding-agent` and `@earendil-works/pi-ai`) is declared under `optionalDependencies` of `@saltpub/oar` (and direct `dependencies` of `@saltpub/oar-cli`): it installs by default, and hosts that want a slim install without Pi can opt out with `npm install --omit=optional` (`pnpm install --no-optional`; note that this omits every optional dependency in the dependency tree, not only Pi's). Without those packages, Pi remains in `defaultRuntimes` and its `installation()` reports `unsupported` with `code: "dependency_missing"`. `@cursor/sdk` is an optional peer dependency, and cursor is not in `defaultRuntimes`: install the SDK (`npm install @cursor/sdk@1.4.1`) and hand it over, `createRuntimeRegistry([...defaultRuntimes.list(), createCursorRuntime({ sdk: () => import("@cursor/sdk") })])`. Written in your code, that import fails your compile if the package is missing. It is Cursor's own package under Cursor's terms, and it signs in with `CURSOR_API_KEY` or its own `Cursor.auth.login()`. `createCursorRuntime({ execution: "subprocess", sdkModule: import.meta.resolve("@cursor/sdk") })` instead runs the SDK in a Node child per session, which takes `SessionOptions.env` and whose crash is recorded as `exited` ([execution modes](https://github.com/botiverse/oar/blob/main/docs/runtimes/cursor.md#execution-modes)).
175
176
 
176
177
  Community runtimes are contributed and maintained outside the core team (each maintainer is named on its runtime page). They ship in this package from a separate entry point, `@saltpub/oar/community`, and are not in `defaultRuntimes`: `createRuntimeRegistry([...defaultRuntimes.list(), createMorphRuntime()])` adds [Mister Morph](https://github.com/botiverse/oar/blob/main/docs/runtimes/morph.md), driven through its Console Runtime API, and `createCybionRuntime({ baseUrl, apiKey })` adds [Cybion](https://github.com/botiverse/oar/blob/main/docs/runtimes/cybion.md), which drives a server-side Thread through its Agent API. The `oar` CLI adds Mister Morph; it leaves Cybion out, because a Cybion runtime needs a deployment URL and an API key that only the embedding host has.
177
178
 
@@ -180,13 +181,13 @@ Community runtimes are contributed and maintained outside the core team (each ma
180
181
  `SessionOptions.model`. When resuming an old Azure session, pass
181
182
  `model: "azure/<model>"` explicitly; without it, Pi can retain the
182
183
  conversation while selecting a different default model. The opening `model`
183
- event and `Session.model()` report the effective selection. OAR's `^1.5.2`
184
+ event and `Session.model()` report the effective selection. OAR's `~1.6.0`
184
185
  dependency range includes this change
185
186
  ([migration evidence and limits](https://github.com/botiverse/oar/blob/main/experiments/runtime-version-checks/2026-10-05.md)).
186
187
 
187
188
  **Pi 1.5.0 default prompt:** the bundled native default system prompt has
188
189
  changed. Hosts that need stable wording should pass their own `systemPrompt`.
189
- The coding SDK and OAR share undici 8.12.3; see the
190
+ The coding SDK and OAR share undici 8.12.4; see the
190
191
  [security update evidence](https://github.com/botiverse/oar/blob/main/experiments/pi-1.5.0-2026-11-02.md).
191
192
 
192
193
  Qwen Code is available as `qwenRuntime` and in `defaultRuntimes`. Install
@@ -289,7 +290,7 @@ the user's app, holds it); codex reports both. See
289
290
  [unavailable resume targets](https://github.com/botiverse/oar/blob/main/docs/spec/runtime-matrix.md#unavailable-resume-targets).
290
291
 
291
292
  `SessionOptions.name` is the session's display name in the runtime's own UI
292
- (claude, codex and pi; other runtimes refuse it). A new session gets it; a
293
+ (claude, codex, pi, dsh, and cybion for new threads; other runtimes refuse it). A new session gets it; a
293
294
  resume never replaces a name the session has. See
294
295
  [session name](https://github.com/botiverse/oar/blob/main/docs/spec/runtime-matrix.md#session-name).
295
296
 
@@ -299,7 +300,8 @@ copy's. `fork.through` keeps only the turns through one turn: pass the
299
300
  `forkAnchor` of that turn's root `turn_ended` event (`ViewTurn.forkAnchor` in
300
301
  the session view); a turn without one cannot be a cut point (claude names
301
302
  none for a turn that ends on a tool call or was aborted). Claude and Codex
302
- (`through` from Codex 0.143.0) support it; other runtimes refuse it. See
303
+ support anchored copies (`through` from Codex 0.143.0). OpenCode v2 supports
304
+ whole-session copies when ACP advertises `fork` and refuses `through`. See
303
305
  [forking a session](https://github.com/botiverse/oar/blob/main/docs/spec/runtime-matrix.md#forking-a-session).
304
306
 
305
307
  `SessionOptions.additionalDirectories` adds native workspace paths, resolved
@@ -315,7 +317,9 @@ skills, commands, agents, MCP servers, hooks, memory and settings while
315
317
  keeping the native login and session history, so a host can offer a clean
316
318
  configuration without a new login or losing resume. It is not a sandbox, and
317
319
  project configuration stays runtime-specific. Claude and Cursor support it;
318
- other runtimes refuse it. Give it again on resume. See
320
+ other runtimes refuse it. On Claude, `{ exclude: ["instructions"] }` leaves
321
+ settings and MCP active. You can combine `settings`, `mcp` and `instructions`.
322
+ Give the option again on resume. See
319
323
  [user configuration](https://github.com/botiverse/oar/blob/main/docs/spec/runtime-matrix.md#user-configuration).
320
324
 
321
325
  `SessionOptions.endTurnProcessesOnAbort: true` (Codex in an isolated
@@ -368,11 +372,11 @@ fails: [structured output](https://github.com/botiverse/oar/blob/main/docs/spec/
368
372
  args?, env?}` or streamable HTTP `{name, type: "http", url, headers?}`) to
369
373
  one session, on top of the runtime's own, through each runtime's own channel
370
374
  (claude reads them from a 0600 FIFO that never puts them on a disk, a
371
- temporary file on Windows); pi-durable refuses them, and dsh takes
375
+ temporary file on Windows); pi-durable, morph and cybion refuse `mcpServers`, and dsh takes
372
376
  stdio `command` and `args` only. Give them again on `resume`. Their `env` and
373
- `headers` values never appear in a record or an error; antigravity, which would
374
- store them in its conversation database, and dsh refuse an entry carrying them
375
- (declared as `mcpServerCredentials`; leave such entries out). Every runtime refuses the
377
+ `headers` values never appear in a record or an error; antigravity, dsh, cursor,
378
+ devin, Pi RPC (`execution: "subprocess"`), claude on Windows and cybion refuse an
379
+ entry carrying them (declared as `mcpServerCredentials`; leave such entries out). Every runtime refuses the
376
380
  names `__proto__`, `__defineGetter__`, `__defineSetter__`, `__lookupGetter__`
377
381
  and `__lookupSetter__` (`option: "mcpServers"`), which some runtimes drop
378
382
  without a word. See the
@@ -382,7 +386,9 @@ and each runtime page's "Session MCP servers".
382
386
  Tools the host implements itself go through the same option. `serveMcpTools`
383
387
  serves them from an MCP server inside the host process and returns the
384
388
  `mcpServers` entry to pass, so one implementation reaches every runtime that
385
- takes an http entry with `headers` (all but pi-durable, antigravity and dsh):
389
+ takes an `http` entry with `headers` (check
390
+ `installedSessionCapabilities(runtime, installation)` for `mcpTransports` and
391
+ `mcpServerCredentials`):
386
392
 
387
393
  ```ts
388
394
  import { serveMcpTools } from "@saltpub/oar";
@@ -443,8 +449,8 @@ the runtime says so (codex's configured model, else its catalog default; a new
443
449
  session's current model on grok, kimi, antigravity, codebuddy and devin; the native
444
450
  default on qoder and dsh; the default saved in pi's settings). claude, cursor,
445
451
  opencode, qwen and factory mark none: OAR never picks one.
446
- Where several providers serve models (pi, opencode, dsh), `provider: { id,
447
- displayName? }` says which, so a host never parses `id`. A project's own
452
+ Where several providers serve models (pi, opencode v1, dsh), `provider: { id,
453
+ displayName? }` says which (OpenCode v2 omits `provider`), so a host never parses `id`. A project's own
448
454
  configuration can change the list and its default, so pass `options.cwd`, the
449
455
  directory a session would run in (the host's cwd by default). Like the
450
456
  inventory readers, listing starts the runtime there the way a session would
@@ -469,10 +475,11 @@ on its own
469
475
  updater would install and where that answer came from;
470
476
  `runtime.upgrade(installation)` runs that updater without a terminal and
471
477
  judges the result by the version the same executable reports afterwards,
472
- never by its exit code. oar never upgrades on its own. Claude, Codex, Factory, Grok
473
- and Kimi have both; Antigravity and Devin have only the check; CodeBuddy, DSH, OpenCode, Qwen and Qoder
474
- have neither yet; Pi and Cursor have neither, their SDK versions following oar's (Pi's
475
- SDK is a dependency, Cursor's an exact peer dependency).
478
+ never by its exit code. oar never upgrades on its own. Claude, Codex, Factory, Grok, Kimi
479
+ and Antigravity have both; Devin has only the check; OpenCode has only `upgrade`
480
+ (v2); CodeBuddy, DSH, Qwen and Qoder have neither yet; Pi, Cursor, Pi Durable,
481
+ Mister Morph and Cybion have neither (Pi's SDK is an optional dependency and
482
+ Cursor's an exact peer dependency).
476
483
  See [runtime updates](https://github.com/botiverse/oar/blob/main/docs/spec/update.md).
477
484
 
478
485
  `runtime.installPlan()` reports what installing a runtime would run on this
@@ -547,14 +554,14 @@ as the runtime's own image content. `session.capabilities.images` says whether
547
554
  the runtime takes them; an input it cannot deliver is rejected whole. See
548
555
  [Images](https://github.com/botiverse/oar/blob/main/docs/spec/conversation.md#images).
549
556
 
550
- TypeScript hosts: keep `skipLibCheck` on. With `skipLibCheck: false` and `module: nodenext`, importing `@saltpub/oar` alone reports errors inside the pi SDK's declarations and their dependencies' (`@earendil-works/pi-ai` imports JSON without an import attribute, TS1543; its `@google/genai` imports the optional peer `@modelcontextprotocol/sdk`, TS2307, and without the DOM lib also misses `RequestInfo` and `HeadersInit`); OAR's own declarations check clean (official TypeScript 6.0.3 consuming a clean install of the tsrs-built package, 2026-10-26). A host that installs `@cursor/sdk` and checks library files also needs the DOM lib for its `@connectrpc/connect` dependency (`HeadersInit`).
557
+ TypeScript hosts: keep `skipLibCheck` on when Pi or Cursor is installed. With `npm install --omit=optional` (and no optional peers), OAR's own declarations check clean even with `skipLibCheck: false` and `module: nodenext`. With Pi installed (`skipLibCheck: false` and `module: nodenext`), TypeScript reports errors inside the pi SDK's declarations and their dependencies' (`@earendil-works/pi-ai` imports JSON without an import attribute, TS1543; its `@google/genai` imports the optional peer `@modelcontextprotocol/sdk`, TS2307, and without the DOM lib also misses `RequestInfo` and `HeadersInit`); OAR's own declarations check clean (official TypeScript 6.0.3 consuming a clean install of the tsrs-built package). A host that installs `@cursor/sdk` and checks library files also needs the DOM lib for its `@connectrpc/connect` dependency (`HeadersInit`).
551
558
 
552
559
  ## Host-owned durable sessions
553
560
 
554
- Install the optional native peers in the host: `npm install @earendil-works/pi-durable@~1.5.2 @earendil-works/chord@~1.5.2`.
561
+ Install the optional native peers in the host: `npm install @earendil-works/pi-durable@~1.6.0 @earendil-works/chord@~1.6.0`.
555
562
  Resolve Durable and Chord to exactly the same version.
556
- For the host catalog, keep `@earendil-works/pi-ai@1.5.2` under its normal
557
- name and add `@earendil-works/pi-ai-durable` as an npm alias of Pi AI 1.5.2;
563
+ For the host catalog, keep `@earendil-works/pi-ai@1.6.0` under its normal
564
+ name and add `@earendil-works/pi-ai-durable` as an npm alias of Pi AI 1.6.0;
558
565
  import Durable models/providers from that alias. See the
559
566
  [copyable host configuration](https://github.com/botiverse/oar/blob/main/docs/runtimes/pi-durable.md#native-objects-and-calling-interface).
560
567
  Using a different Pi AI version under its normal name can split the coding
@@ -576,7 +583,7 @@ const runtime = createPiDurableRuntime({ harness, models });
576
583
  const session = await runtime.session({ kind: "available", via: "bundled" }, {
577
584
  cwd: "/workspace", model: "provider/model",
578
585
  });
579
- let view = initialSessionView();
586
+ let view = initialSessionView(session.id);
580
587
  session.rawEvents(record => {
581
588
  view = reduceSessionView(view, record, session.id);
582
589
  render(view);
@@ -584,7 +591,7 @@ session.rawEvents(record => {
584
591
  await session.prompt("Hello", { inputId: crypto.randomUUID() });
585
592
  ```
586
593
 
587
- The host owns its Pi Durable 1.5.2 Harness, providers, credentials, extensions
594
+ The host owns its Pi Durable 1.6.0 Harness, providers, credentials, extensions
588
595
  and storage. `resume: session.id` attaches to that storage's conversation and
589
596
  resumes unfinished work. Queue and input-id deduplication are native and
590
597
  durable. `dispose()` detaches the observer; it does not stop work or close the
@@ -615,8 +622,9 @@ Other core runtimes return unsupported for independent command discovery.
615
622
  Kimi and OpenCode expose native skill catalogs. Cursor discovers the measured
616
623
  SDK user/project skill directories with `view: "discovered"`, without loading
617
624
  hooks or MCP servers; malformed/unreadable metadata makes the result partial.
618
- Antigravity, CodeBuddy, Devin, DSH, Factory, Qoder and Qwen inventory queries
619
- are unsupported.
625
+ Antigravity, Devin, DSH, Factory and Qwen expose `skills` (`commands`,
626
+ `mcpServers` and `tools` unsupported); CodeBuddy, Qoder, Cybion, Pi Durable
627
+ and Mister Morph inventory queries are all unsupported.
620
628
 
621
629
  ```ts
622
630
  const catalog = await runtime.commands(installation, { cwd: "/my/project" });
@@ -7,6 +7,13 @@ Brand names and marks belong to their respective owners.
7
7
 
8
8
  Mister Morph: `app_logo_dark.svg` from the Mister Morph website (quailyquaily/mistermorph-website, `public/`), the project's own mark. `morph-on-dark.svg` swaps its two colors (#1F1F1F and white) for dark backgrounds.
9
9
 
10
+ Cybion: `clients/brand/cybion-logo.svg` from the Cybion project's own brand
11
+ assets (`zccz14/cybion`, a private repository), copied unmodified on 2026-11-21.
12
+ The Cybion runtime is contributed by that project, so this is the project
13
+ supplying its own mark rather than an asset taken from a published page. It
14
+ carries its own dark background and is used on both backgrounds. Cybion branding
15
+ belongs to its owner; the LobeHub MIT license below does not cover this asset.
16
+
10
17
  Factory Droid: https://factory.com/favicon.svg (retrieved 2026-11-15), unmodified official site asset for identification. Factory branding belongs to its owner; the LobeHub MIT license below does not cover this asset. It carries its own dark background and is used on both backgrounds.
11
18
 
12
19
  Pi: https://pi.dev/logo-on-dark.svg (retrieved 2026-09-16), unmodified official site asset for identification on dark backgrounds. Pi branding belongs to its respective owner; the LobeHub MIT license below does not cover this asset.
@@ -0,0 +1,27 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="1024" height="1024" viewBox="0 0 1024 1024">
2
+ <defs>
3
+ <linearGradient id="bg" x1="0" y1="0" x2="1" y2="1">
4
+ <stop offset="0" stop-color="#54545e"/>
5
+ <stop offset="0.45" stop-color="#2a2a30"/>
6
+ <stop offset="1" stop-color="#161616"/>
7
+ </linearGradient>
8
+ <linearGradient id="metal" x1="0" y1="0" x2="0.15" y2="1">
9
+ <stop offset="0" stop-color="#ffffff"/>
10
+ <stop offset="0.5" stop-color="#d2d2da"/>
11
+ <stop offset="1" stop-color="#92929c"/>
12
+ </linearGradient>
13
+ <filter id="glow" x="-40%" y="-40%" width="180%" height="180%">
14
+ <feGaussianBlur stdDeviation="20"/>
15
+ </filter>
16
+ </defs>
17
+
18
+ <rect x="0" y="0" width="1024" height="1024" fill="url(#bg)"/>
19
+
20
+ <!-- soft halo around the mark -->
21
+ <path d="M512 337 L714 687 L310 687 Z" fill="none" stroke="#ffffff"
22
+ stroke-width="86" stroke-linejoin="round" opacity="0.5" filter="url(#glow)"/>
23
+
24
+ <!-- the mark -->
25
+ <path d="M512 337 L714 687 L310 687 Z" fill="none" stroke="url(#metal)"
26
+ stroke-width="86" stroke-linejoin="round"/>
27
+ </svg>
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Lightweight session-capability entry: resolves an installation's
3
+ * `SessionCapabilityDeclaration` (`installedSessionCapabilities`) without
4
+ * loading any runtime adapter or native SDK.
5
+ */
6
+ export { installedSessionCapabilities } from "./contracts/runtime.js";
7
+ export type { CompactionEvents, RefusableSessionOption, RefusedSessionOptions, Runtime, SessionCapabilityDeclaration, } from "./contracts/runtime.js";
8
+ export type { AvailableInstallation } from "./contracts/installation.js";
9
+ export type { ManualCompaction } from "./contracts/compaction.js";
10
+ export type { ContextUsageCapability } from "./contracts/context-usage.js";
11
+ export type { McpTransport } from "./contracts/session-options.js";
12
+ //# sourceMappingURL=capabilities.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"capabilities.d.ts","sources":["../src/capabilities.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,4BAA4B,EAAE,MAAM,wBAAwB,CAAC;AACtE,YAAY,EACV,gBAAgB,EAChB,sBAAsB,EACtB,qBAAqB,EACrB,OAAO,EACP,4BAA4B,GAC7B,MAAM,wBAAwB,CAAC;AAChC,YAAY,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACzE,YAAY,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAClE,YAAY,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAC3E,YAAY,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Lightweight session-capability entry: resolves an installation's
3
+ * `SessionCapabilityDeclaration` (`installedSessionCapabilities`) without
4
+ * loading any runtime adapter or native SDK.
5
+ */
6
+ export { installedSessionCapabilities } from "./contracts/runtime.js";
7
+ //# sourceMappingURL=capabilities.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"capabilities.js","sources":["../src/capabilities.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,4BAA4B,EAAE,MAAM,wBAAwB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sources":["../../../src/community/cybion/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAiB,KAAK,OAAO,EAAE,MAAM,4BAA4B,CAAC;AACzE,OAAO,EAAgB,KAAK,aAAa,EAAE,MAAM,aAAa,CAAC;AAI/D,YAAY,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAWjD,6EAA6E;AAC7E,MAAM,MAAM,aAAa,GAAG,OAAO,GAAG,QAAQ,CAAC,IAAI,CAAC,OAAO,EAAE,cAAc,GAAG,uBAAuB,CAAC,CAAC,CAAC;AAExG;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,aAAa,GAAG,aAAa,CAUzE"}
1
+ {"version":3,"file":"index.d.ts","sources":["../../../src/community/cybion/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAiB,KAAK,OAAO,EAAE,MAAM,4BAA4B,CAAC;AACzE,OAAO,EAAgB,KAAK,aAAa,EAAE,MAAM,aAAa,CAAC;AAI/D,YAAY,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAkBjD,6EAA6E;AAC7E,MAAM,MAAM,aAAa,GAAG,OAAO,GAAG,QAAQ,CAAC,IAAI,CAAC,OAAO,EAAE,cAAc,GAAG,uBAAuB,CAAC,CAAC,CAAC;AAExG;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,aAAa,GAAG,aAAa,CAUzE"}
@@ -2,8 +2,15 @@ import { defineRuntime } from "../../contracts/runtime.js";
2
2
  import { CybionClient } from "./client.js";
3
3
  import { cybionRefusedSessionOptions } from "./refused-options.js";
4
4
  import { cybionSessionWith } from "./session.js";
5
- /** Cybion ships no mark in this repository, so the brand carries its name and no icon. */
6
- const cybionBrand = { name: "Cybion", icon: null };
5
+ /**
6
+ * The Cybion mark, `assets/brands/cybion.svg` (see `assets/brands/NOTICE.md`),
7
+ * inline so a host shows it without a file read. It carries its own background,
8
+ * so one asset serves both themes.
9
+ */
10
+ const cybionBrand = {
11
+ name: "Cybion",
12
+ icon: `data:image/svg+xml,${encodeURIComponent("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1024\" height=\"1024\" viewBox=\"0 0 1024 1024\">\n <defs>\n <linearGradient id=\"bg\" x1=\"0\" y1=\"0\" x2=\"1\" y2=\"1\">\n <stop offset=\"0\" stop-color=\"#54545e\"/>\n <stop offset=\"0.45\" stop-color=\"#2a2a30\"/>\n <stop offset=\"1\" stop-color=\"#161616\"/>\n </linearGradient>\n <linearGradient id=\"metal\" x1=\"0\" y1=\"0\" x2=\"0.15\" y2=\"1\">\n <stop offset=\"0\" stop-color=\"#ffffff\"/>\n <stop offset=\"0.5\" stop-color=\"#d2d2da\"/>\n <stop offset=\"1\" stop-color=\"#92929c\"/>\n </linearGradient>\n <filter id=\"glow\" x=\"-40%\" y=\"-40%\" width=\"180%\" height=\"180%\">\n <feGaussianBlur stdDeviation=\"20\"/>\n </filter>\n </defs>\n\n <rect x=\"0\" y=\"0\" width=\"1024\" height=\"1024\" fill=\"url(#bg)\"/>\n\n <!-- soft halo around the mark -->\n <path d=\"M512 337 L714 687 L310 687 Z\" fill=\"none\" stroke=\"#ffffff\"\n stroke-width=\"86\" stroke-linejoin=\"round\" opacity=\"0.5\" filter=\"url(#glow)\"/>\n\n <!-- the mark -->\n <path d=\"M512 337 L714 687 L310 687 Z\" fill=\"none\" stroke=\"url(#metal)\"\n stroke-width=\"86\" stroke-linejoin=\"round\"/>\n</svg>\n")}`,
13
+ };
7
14
  /** The adapter drives a deployment over HTTP: there is no local executable to probe. */
8
15
  const cybionInstallation = async () => {
9
16
  await Promise.resolve();
@@ -20,7 +27,7 @@ export function createCybionRuntime(options) {
20
27
  const client = new CybionClient(options);
21
28
  return defineRuntime({
22
29
  id: "cybion",
23
- sessionCapabilities: () => ({ steer: true, images: true }),
30
+ sessionCapabilities: () => ({ taskEventTypes: [], steer: true, images: true }),
24
31
  brand: cybionBrand,
25
32
  installation: cybionInstallation,
26
33
  session: cybionSessionWith(client),
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../src/community/cybion/index.ts"],"names":[],"mappings":"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AAiB;IAChC,IAAI,EAAE,QAAQ;IACd,IAAI,EAAE,sBAAsB,kBAAkB,CAAC,qsCAAqsC,CAAC,EAAE;CACxvC,CAAC;AAEF,wFAAwF;AACxF,MAAM,kBAAkB,GAAsB,KAAK,IAAI,EAAE;IACvD,MAAM,OAAO,CAAC,OAAO,EAAE,CAAC;IACxB,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,GAAG,EAAE,SAAS,EAAE,CAAC;AAC/C,CAAC,CAAC;AAKF;;;;;;GAMG;AACH,MAAM,UAAU,mBAAmB,CAAC,OAAsB;IACxD,MAAM,MAAM,GAAG,IAAI,YAAY,CAAC,OAAO,CAAC,CAAC;IACzC,OAAO,aAAa,CAAC;QACnB,EAAE,EAAE,QAAQ;QACZ,mBAAmB,EAAE,GAAG,EAAE,CAAC,CAAC,EAAE,cAAc,EAAE,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;QAC9E,KAAK,EAAE,WAAW;QAClB,YAAY,EAAE,kBAAkB;QAChC,OAAO,EAAE,iBAAiB,CAAC,MAAM,CAAC;QAClC,qBAAqB,EAAE,2BAA2B;KACnD,CAAC,CAAC;AACL,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"refused-options.d.ts","sources":["../../../src/community/cybion/refused-options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAExE,uFAAuF;AACvF,eAAO,MAAM,2BAA2B,EAAE,qBAczC,CAAC"}
1
+ {"version":3,"file":"refused-options.d.ts","sources":["../../../src/community/cybion/refused-options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAExE,uFAAuF;AACvF,eAAO,MAAM,2BAA2B,EAAE,qBAgBzC,CAAC"}
@@ -1,5 +1,6 @@
1
1
  /** Options a Cybion session refuses, each with the reason the Agent API gives none. */
2
2
  export const cybionRefusedSessionOptions = {
3
+ modelRequests: "This adapter has no verified capture of the root agent's provider request",
3
4
  systemPrompt: "A Cybion Thread takes no per-session system prompt: its instructions are the Manuals Cybion loads for it",
4
5
  appendSystemPrompt: "A Cybion Thread takes no per-session system prompt: its instructions are the Manuals Cybion loads for it",
5
6
  env: "A Cybion Thread runs on its owner's Workers, not in this process",
@@ -13,5 +14,6 @@ export const cybionRefusedSessionOptions = {
13
14
  userConfiguration: "A Cybion Thread always runs with its owner's configuration, which cannot be excluded",
14
15
  goals: "Cybion's Agent API exposes no structured goal controls",
15
16
  endTurnProcessesOnAbort: "Cybion cancels a turn, but exposes no per-turn control over the processes it started",
17
+ sessionLogUpload: "This adapter has no verified switch to stop vendor session-log upload",
16
18
  };
17
19
  //# sourceMappingURL=refused-options.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"refused-options.js","sources":["../../../src/community/cybion/refused-options.ts"],"names":[],"mappings":"AAEA,uFAAuF;AACvF,MAAM,CAAC,MAAM,2BAA2B,GAA0B;IAChE,YAAY,EAAE,0GAA0G;IACxH,kBAAkB,EAAE,0GAA0G;IAC9H,GAAG,EAAE,kEAAkE;IACvE,UAAU,EAAE,yEAAyE;IACrF,oBAAoB,EAAE,yEAAyE;IAC/F,eAAe,EAAE,kDAAkD;IACnE,UAAU,EAAE,wEAAwE;IACpF,WAAW,EAAE,+EAA+E;IAC5F,qBAAqB,EAAE,sFAAsF;IAC7G,YAAY,EAAE,gEAAgE;IAC9E,iBAAiB,EAAE,sFAAsF;IACzG,KAAK,EAAE,wDAAwD;IAC/D,uBAAuB,EAAE,sFAAsF;CAChH,CAAC"}
1
+ {"version":3,"file":"refused-options.js","sources":["../../../src/community/cybion/refused-options.ts"],"names":[],"mappings":"AAEA,uFAAuF;AACvF,MAAM,CAAC,MAAM,2BAA2B,GAA0B;IAChE,aAAa,EAAE,2EAA2E;IAC1F,YAAY,EAAE,0GAA0G;IACxH,kBAAkB,EAAE,0GAA0G;IAC9H,GAAG,EAAE,kEAAkE;IACvE,UAAU,EAAE,yEAAyE;IACrF,oBAAoB,EAAE,yEAAyE;IAC/F,eAAe,EAAE,kDAAkD;IACnE,UAAU,EAAE,wEAAwE;IACpF,WAAW,EAAE,+EAA+E;IAC5F,qBAAqB,EAAE,sFAAsF;IAC7G,YAAY,EAAE,gEAAgE;IAC9E,iBAAiB,EAAE,sFAAsF;IACzG,KAAK,EAAE,wDAAwD;IAC/D,uBAAuB,EAAE,sFAAsF;IAC/G,gBAAgB,EAAE,uEAAuE;CAC1F,CAAC"}
@@ -20,7 +20,7 @@ const morphBrand = {
20
20
  export function createMorphRuntime() {
21
21
  return defineRuntime({
22
22
  id: "morph",
23
- sessionCapabilities: () => ({ steer: true, images: false }),
23
+ sessionCapabilities: () => ({ taskEventTypes: [], steer: true, images: false }),
24
24
  brand: morphBrand,
25
25
  installation: morphInstallation,
26
26
  listModels: morphListModels,
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../src/community/morph/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAgB,MAAM,4BAA4B,CAAC;AACzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,EAAE,0BAA0B,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAExE,qFAAqF;AACrF,MAAM,UAAU,GAAiB;IAC/B,IAAI,EAAE,cAAc;IACpB,IAAI,EAAE,sBAAsB,kBAAkB,CAAC,w7CAAw7C,CAAC,EAAE;IAC1+C,KAAK,EAAE;QACL,KAAK,EAAE,sBAAsB,kBAAkB,CAAC,w7CAAw7C,CAAC,EAAE;QAC3+C,IAAI,EAAE,sBAAsB,kBAAkB,CAAC,k8CAAk8C,CAAC,EAAE;KACr/C;CACF,CAAC;AAKF;;;;;GAKG;AACH,MAAM,UAAU,kBAAkB;IAChC,OAAO,aAAa,CAAC;QACnB,EAAE,EAAE,OAAO;QACX,mBAAm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kB,CAAC,QAAQ,EAAE,OAAO,GAAG,SAAS,gBAAgB,EAAE,CAYjF"}
@@ -35,6 +35,18 @@ function modelEvents(state, model) {
35
35
  ? { state, events: [] }
36
36
  : { state: { ...state, model: name }, events: [{ kind: "model", model: name }] };
37
37
  }
38
+ /** Read the exit code from Mister Morph's formatShellObservation envelope. */
39
+ function shellExitCode(tool, output) {
40
+ if ((tool !== "bash" && tool !== "powershell") || output === undefined) {
41
+ return undefined;
42
+ }
43
+ const header = /^exit_code: (-?\d+)\nstdout_truncated: (?:true|false)\nstderr_truncated: (?:true|false)\nstdout:\n/u.exec(output);
44
+ if (header === null || !output.includes("\n\nstderr:\n", header[0].length)) {
45
+ return undefined;
46
+ }
47
+ const code = Number(header[1]);
48
+ return Number.isSafeInteger(code) ? code : undefined;
49
+ }
38
50
  /** One agent event (mistermorph agent/events.go) as OAR events. */
39
51
  function traceEvent(task, taskId, seq, event) {
40
52
  const tool = text(event.tool_name) ?? "tool";
@@ -55,7 +67,7 @@ function traceEvent(task, taskId, seq, event) {
55
67
  case "tool_done": {
56
68
  const callId = text(event.activity_id) ?? task.openCalls.findLast((call) => call.tool === tool)?.callId ?? `${taskId}:${String(seq)}`;
57
69
  const output = text(event.text);
58
- const exit = output === undefined ? null : /^exit_code: (-?\d+)/u.exec(output);
70
+ const exitCode = shellExitCode(tool, output);
59
71
  const failed = text(event.error) !== undefined || event.status === "failed" || event.status === "error";
60
72
  const result = failed ? "failed" : (event.status === "done" ? "ok" : undefined);
61
73
  return {
@@ -65,7 +77,7 @@ function traceEvent(task, taskId, seq, event) {
65
77
  callId,
66
78
  ...(output === undefined ? {} : { content: [{ type: "text", text: output }] }),
67
79
  ...(result === undefined ? {} : { result }),
68
- ...(exit === null ? {} : { exitCode: Number(exit[1]) }),
80
+ ...(exitCode === undefined ? {} : { exitCode }),
69
81
  }],
70
82
  };
71
83
  }
@@ -1 +1 @@
1
- {"version":3,"file":"projection.js","sources":["../../../src/community/morph/projection.ts"],"names":[],"m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AO,CAAC,WAAW,CAAC,CAAC;IAC5C,OAAO,CAAC;YACN,IAAI,EAAE,OAAO;YACb,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,MAAM,EAAE,aAAa,EAAE,OAAO,EAAE,KAAK,KAAK,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,GAAG,GAAG,EAAE,EAAE;SAC5F,CAAC,CAAC;AACL,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"session.d.ts","sources":["../../../src/community/morph/session.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACxE,OAAO,KAAK,EAAsD,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAMnH,OAAO,EAAiC,KAAK,YAAY,EAAE,MAAM,cAAc,CAAC;AA8BhF,eAAO,MAAM,0BAA0B,EAAE,qBAWxC,CAAC;AAsBF,oEAAoE;AACpE,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,OAAO,CAAC,YAAY,CAAC,CAAC;AAE1F,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,cAAc,GAAG,YAAY,CAgKtE;AAED,eAAO,MAAM,YAAY,EAAE,YAA+C,CAAC"}
1
+ {"version":3,"file":"session.d.ts","sources":["../../../src/community/morph/session.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACxE,OAAO,KAAK,EAAsD,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAMnH,OAAO,EAAiC,KAAK,YAAY,EAAE,MAAM,cAAc,CAAC;AA8BhF,eAAO,MAAM,0BAA0B,EAAE,qBAaxC,CAAC;AAsBF,oEAAoE;AACpE,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,OAAO,CAAC,YAAY,CAAC,CAAC;AAE1F,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,cAAc,GAAG,YAAY,CAgKtE;AAED,eAAO,MAAM,YAAY,EAAE,YAA+C,CAAC"}
@@ -31,6 +31,7 @@ import { createTaskTracker } from "./tracker.js";
31
31
  /** How long dispose waits for a stopped task's own `canceled` before letting go. */
32
32
  const DISPOSE_SETTLE_MS = 3000;
33
33
  export const morphRefusedSessionOptions = {
34
+ modelRequests: "This adapter has no verified capture of the root agent's provider request",
34
35
  fork: "OAR has not verified a native Morph fork that opens a copy of a saved session under a new id, cut after a chosen turn",
35
36
  goals: "This runtime interface exposes no structured native goal controls",
36
37
  endTurnProcessesOnAbort: "OAR has not verified reading and ending one aborted Morph turn's processes while its session stays usable",
@@ -41,6 +42,7 @@ export const morphRefusedSessionOptions = {
41
42
  mcpServers: "OAR does not attach MCP servers to morph: no per-session channel is known",
42
43
  launchArgs: "morph sessions run in its Console process, which a session neither starts nor owns",
43
44
  name: "OAR knows no morph session name setting",
45
+ sessionLogUpload: "This adapter has no verified switch to stop vendor session-log upload",
44
46
  };
45
47
  function refusal(error) {
46
48
  return error instanceof MorphRefusalError