@humain/humain-code 0.6.2 → 0.7.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 (792) hide show
  1. package/CHANGELOG.md +119 -0
  2. package/README.md +23 -6
  3. package/dist/agent-monitor/entry.lazy.d.ts +3 -0
  4. package/dist/agent-monitor/entry.lazy.d.ts.map +1 -0
  5. package/dist/agent-monitor/entry.lazy.js +3 -0
  6. package/dist/agent-monitor/entry.lazy.js.map +1 -0
  7. package/dist/bundle/agent-monitor.js +1 -1
  8. package/dist/bundle/chunks/adaptive-peer-worker-X2ZNZE3S.js +8 -0
  9. package/dist/bundle/chunks/adaptive-session-host-7KDSQV5I.js +162 -0
  10. package/dist/bundle/chunks/anthropic-messages-TQK3FUV3.js +68 -0
  11. package/dist/bundle/chunks/anthropic.js +13 -10
  12. package/dist/bundle/chunks/{azure-openai-responses-IV74M5OR.js → azure-openai-responses-JY7OSLH2.js} +6 -6
  13. package/dist/bundle/chunks/bedrock-converse-stream.js +79 -74
  14. package/dist/bundle/chunks/chunk-2FYYW6FY.js +2 -0
  15. package/dist/bundle/chunks/{chunk-A2VPLMF2.js → chunk-2G7YVAVF.js} +1 -1
  16. package/dist/bundle/chunks/chunk-32QLLD2P.js +1114 -0
  17. package/dist/bundle/chunks/{chunk-3LP543EX.js → chunk-3EDMWQ35.js} +17 -16
  18. package/dist/bundle/chunks/chunk-3HVHETMU.js +18 -0
  19. package/dist/bundle/chunks/{chunk-XMZGB3H4.js → chunk-4HTVBBJD.js} +11 -6
  20. package/dist/bundle/chunks/chunk-4JRER4XK.js +175 -0
  21. package/dist/bundle/chunks/{chunk-FHLLDO7U.js → chunk-4PRNKB6V.js} +5 -5
  22. package/dist/bundle/chunks/chunk-4QAXV5T6.js +49 -0
  23. package/dist/bundle/chunks/{chunk-JCTQQ3DX.js → chunk-4V5VL2BO.js} +1 -1
  24. package/dist/bundle/chunks/chunk-5B25YXF7.js +24 -0
  25. package/dist/bundle/chunks/chunk-5L4PBYC7.js +11 -0
  26. package/dist/bundle/chunks/chunk-66FZJO75.js +5146 -0
  27. package/dist/bundle/chunks/chunk-6P6GJPYB.js +4 -0
  28. package/dist/bundle/chunks/chunk-6PNQYO6A.js +10 -0
  29. package/dist/bundle/chunks/chunk-7NKUVTBL.js +76 -0
  30. package/dist/bundle/chunks/chunk-AEWYICBL.js +89 -0
  31. package/dist/bundle/chunks/chunk-AQ4EXORZ.js +14 -0
  32. package/dist/bundle/chunks/chunk-AZXVJN6E.js +19 -0
  33. package/dist/bundle/chunks/chunk-CRN54O4D.js +24 -0
  34. package/dist/bundle/chunks/chunk-CTU2ECLD.js +7 -0
  35. package/dist/bundle/chunks/{chunk-BQ3TMEWD.js → chunk-EIC7CQX3.js} +4 -3
  36. package/dist/bundle/chunks/chunk-F6ZAYLU2.js +59 -0
  37. package/dist/bundle/chunks/chunk-G4QPSFBF.js +493 -0
  38. package/dist/bundle/chunks/chunk-GME4AWDG.js +23 -0
  39. package/dist/bundle/chunks/{chunk-SFMDIVZ4.js → chunk-GRJUKEE3.js} +43 -30
  40. package/dist/bundle/chunks/chunk-GTILMMUF.js +12 -0
  41. package/dist/bundle/chunks/chunk-GUHNFZ2Q.js +51 -0
  42. package/dist/bundle/chunks/chunk-GY663MNP.js +11 -0
  43. package/dist/bundle/chunks/chunk-HTA325LJ.js +56 -0
  44. package/dist/bundle/chunks/{chunk-5L4JG6PO.js → chunk-I3NDOUHE.js} +8 -7
  45. package/dist/bundle/chunks/chunk-I5E7RQ5V.js +21 -0
  46. package/dist/bundle/chunks/chunk-IWZQ25I3.js +5 -0
  47. package/dist/bundle/chunks/chunk-IYGHKVUG.js +2 -0
  48. package/dist/bundle/chunks/chunk-J57HOSWD.js +21 -0
  49. package/dist/bundle/chunks/chunk-JF7FYXAI.js +288 -0
  50. package/dist/bundle/chunks/chunk-JSZBTGI6.js +10 -0
  51. package/dist/bundle/chunks/chunk-JYWUOKOI.js +1061 -0
  52. package/dist/bundle/chunks/{chunk-DLCBSLHW.js → chunk-KRCX3ZBA.js} +1 -1
  53. package/dist/bundle/chunks/chunk-KTSJYIYC.js +30 -0
  54. package/dist/bundle/chunks/{chunk-K7SDY3VJ.js → chunk-LB4CIS4F.js} +40 -165
  55. package/dist/bundle/chunks/{chunk-NN53K2QQ.js → chunk-LYZ37DJP.js} +2 -14
  56. package/dist/bundle/chunks/chunk-MD7K7RPN.js +20 -0
  57. package/dist/bundle/chunks/chunk-MX4Q4W6H.js +214 -0
  58. package/dist/bundle/chunks/{chunk-6PD3T2EF.js → chunk-N2SNMUD3.js} +1 -1
  59. package/dist/bundle/chunks/chunk-NXA6NEHE.js +54 -0
  60. package/dist/bundle/chunks/chunk-OB332KMV.js +300 -0
  61. package/dist/bundle/chunks/chunk-P6AXBESH.js +1883 -0
  62. package/dist/bundle/chunks/chunk-PPBDDQHP.js +11 -0
  63. package/dist/bundle/chunks/chunk-PWUDFU5V.js +51 -0
  64. package/dist/bundle/chunks/chunk-Q5RKNQ2T.js +73 -0
  65. package/dist/bundle/chunks/chunk-QT6ZHDMP.js +12 -0
  66. package/dist/bundle/chunks/chunk-R5OOX7RW.js +16 -0
  67. package/dist/bundle/chunks/chunk-R6YQR7TZ.js +25 -0
  68. package/dist/bundle/chunks/{chunk-4ZBGTJJM.js → chunk-RNBZBCH2.js} +1 -1
  69. package/dist/bundle/chunks/chunk-RQU722SY.js +1 -0
  70. package/dist/bundle/chunks/{chunk-RGUZULEE.js → chunk-RS6PZK35.js} +71 -72
  71. package/dist/bundle/chunks/{jiti-loader-6P33XTLC.js → chunk-RW7GT7L3.js} +1 -1
  72. package/dist/bundle/chunks/{chunk-PCTLFSQG.js → chunk-SCINMV4X.js} +1 -1
  73. package/dist/bundle/chunks/{chunk-NCC2FAJN.js → chunk-SSRCVJZK.js} +28 -28
  74. package/dist/bundle/chunks/chunk-T5A6T24H.js +93 -0
  75. package/dist/bundle/chunks/chunk-T7BXP46S.js +3367 -0
  76. package/dist/bundle/chunks/chunk-TGDPZCSW.js +9 -0
  77. package/dist/bundle/chunks/{chunk-4J6BGNX2.js → chunk-TWAHPPXN.js} +434 -429
  78. package/dist/bundle/chunks/chunk-UEW6TUSP.js +36 -0
  79. package/dist/bundle/chunks/chunk-UZNIPOGS.js +323 -0
  80. package/dist/bundle/chunks/{chunk-KM4GQ2BU.js → chunk-VFLVWPLZ.js} +5 -6
  81. package/dist/bundle/chunks/chunk-WAPZN4KP.js +74 -0
  82. package/dist/bundle/chunks/chunk-WCFHG6NO.js +16 -0
  83. package/dist/bundle/chunks/chunk-WQ7EJQIT.js +839 -0
  84. package/dist/bundle/chunks/chunk-WQOOJP7U.js +4 -0
  85. package/dist/bundle/chunks/chunk-XHDVDJM7.js +17 -0
  86. package/dist/bundle/chunks/chunk-YPZPCHNV.js +3 -0
  87. package/dist/bundle/chunks/chunk-Z5YLKK3S.js +41 -0
  88. package/dist/bundle/chunks/chunk-ZJUU6WOV.js +2052 -0
  89. package/dist/bundle/chunks/{cli-N7KOVPLB.js → cli-H4LJNE2V.js} +2 -2
  90. package/dist/bundle/chunks/{cloudflare-workers-ai-system-one-KRMHG2L3.js → cloudflare-workers-ai-system-one-T5R2RVFQ.js} +1 -1
  91. package/dist/bundle/chunks/codemode-worker.js +2 -0
  92. package/dist/bundle/chunks/compat-ZK2DIW3P.js +15 -0
  93. package/dist/bundle/chunks/dist-EY7YKQHB.js +11 -0
  94. package/dist/bundle/chunks/dist-FMWWM4H7.js +268 -0
  95. package/dist/bundle/chunks/dist-NHQTBDHT.js +1107 -0
  96. package/dist/bundle/chunks/{easter-egg-3d-O2GG2XIG.js → easter-egg-3d-BUEOC3NO.js} +1 -1
  97. package/dist/bundle/chunks/entry-A2CSLKHC.js +323 -0
  98. package/dist/bundle/chunks/entry-AL54ZGYO.js +2 -0
  99. package/dist/bundle/chunks/{execute-LMBACTKA.js → execute-MY5JSEPV.js} +18 -15
  100. package/dist/bundle/chunks/{extract-CXXLVFC5.js → extract-PTGACPGP.js} +3 -3
  101. package/dist/bundle/chunks/flow-implementer-APJFY4YI.js +21 -0
  102. package/dist/bundle/chunks/github-copilot.js +66 -62
  103. package/dist/bundle/chunks/{google-generative-ai-SBL77OXO.js → google-generative-ai-UL7YEQ6J.js} +2 -3
  104. package/dist/bundle/chunks/{google-vertex-NZBNNXMK.js → google-vertex-OTMSPUYH.js} +3 -3
  105. package/dist/bundle/chunks/host-75YAHLDR.js +3 -0
  106. package/dist/bundle/chunks/index.bundle-THL4EUSU.js +390 -0
  107. package/dist/bundle/chunks/inprocess-5NP5VJHZ.js +32 -0
  108. package/dist/bundle/chunks/interactive-mode-IW4PIVAQ.js +5 -0
  109. package/dist/bundle/chunks/jiti-bun-loader-VSLLRCSD.js +3459 -0
  110. package/dist/bundle/chunks/jiti-loader-TMJL6S2D.js +2 -0
  111. package/dist/bundle/chunks/{llama-cpp-classify-PP63BYDF.js → llama-cpp-classify-GJAXULWL.js} +1 -1
  112. package/dist/bundle/chunks/{mistral-conversations-DX4YKJSO.js → mistral-conversations-E72Y6OC3.js} +2 -2
  113. package/dist/bundle/chunks/{node-UGQUSQE6.js → node-ZFIIS5IM.js} +32 -32
  114. package/dist/bundle/chunks/openai-codex-responses-S7CMCAOY.js +101 -0
  115. package/dist/bundle/chunks/openai-completions-2Z57N7PC.js +87 -0
  116. package/dist/bundle/chunks/{openai-decisions-ALJROWBE.js → openai-decisions-JIOJDB4C.js} +1 -1
  117. package/dist/bundle/chunks/openai-responses-5VBZSTHL.js +27 -0
  118. package/dist/bundle/chunks/{openrouter-images-FCJT7C7I.js → openrouter-images-S6O7DBEJ.js} +1 -1
  119. package/dist/bundle/chunks/{pi-messages-NHTQQOPW.js → pi-messages-SMLN5J2W.js} +10 -7
  120. package/dist/bundle/chunks/runtime-OYTWXIUM.js +2 -0
  121. package/dist/bundle/chunks/session-picker-DM6S37IF.js +4 -0
  122. package/dist/bundle/chunks/startup-ui-4GGLWNSU.js +3 -0
  123. package/dist/bundle/chunks/trace-command-YLDYCL55.js +254 -0
  124. package/dist/bundle/chunks/typesafe-system-one-7BEL3H5N.js +3 -0
  125. package/dist/bundle/chunks/virtual-modules-TI3W24YL.js +28 -0
  126. package/dist/bundle/cli-runtime.js +5 -3
  127. package/dist/bundle/flow/agents/orch-implementation-fast.md +4 -4
  128. package/dist/bundle/flow/agents/orch-implementation-strong.md +5 -5
  129. package/dist/bundle/flow/package.json +35 -3
  130. package/dist/bundle/index.js +20 -17
  131. package/dist/bundle/orchestrate/README.md +37 -0
  132. package/dist/bundle/{flow → orchestrate}/agents/orch-qa-agent.md +1 -1
  133. package/dist/bundle/{flow → orchestrate}/agents/orch-worker.md +1 -1
  134. package/dist/bundle/{flow → orchestrate}/agents/orchestrator-lead.md +1 -1
  135. package/dist/bundle/orchestrate/package.json +29 -0
  136. package/dist/bundle/rpc-entry.js +5 -3
  137. package/dist/cli/args.d.ts +6 -0
  138. package/dist/cli/args.d.ts.map +1 -1
  139. package/dist/cli/args.js +69 -2
  140. package/dist/cli/args.js.map +1 -1
  141. package/dist/cli/auth-check.d.ts +3 -2
  142. package/dist/cli/auth-check.d.ts.map +1 -1
  143. package/dist/cli/auth-check.js +4 -3
  144. package/dist/cli/auth-check.js.map +1 -1
  145. package/dist/cli/config-selector.d.ts.map +1 -1
  146. package/dist/cli/config-selector.js +3 -1
  147. package/dist/cli/config-selector.js.map +1 -1
  148. package/dist/cli/file-processor.d.ts +2 -0
  149. package/dist/cli/file-processor.d.ts.map +1 -1
  150. package/dist/cli/file-processor.js +6 -6
  151. package/dist/cli/file-processor.js.map +1 -1
  152. package/dist/cli/metadata-disclosure.d.ts +4 -0
  153. package/dist/cli/metadata-disclosure.d.ts.map +1 -0
  154. package/dist/cli/metadata-disclosure.js +23 -0
  155. package/dist/cli/metadata-disclosure.js.map +1 -0
  156. package/dist/cli/project-trust.d.ts.map +1 -1
  157. package/dist/cli/project-trust.js +4 -1
  158. package/dist/cli/project-trust.js.map +1 -1
  159. package/dist/cli/session-picker.lazy.d.ts +3 -0
  160. package/dist/cli/session-picker.lazy.d.ts.map +1 -0
  161. package/dist/cli/session-picker.lazy.js +3 -0
  162. package/dist/cli/session-picker.lazy.js.map +1 -0
  163. package/dist/cli/startup-ui.d.ts +4 -4
  164. package/dist/cli/startup-ui.d.ts.map +1 -1
  165. package/dist/cli/startup-ui.js +38 -14
  166. package/dist/cli/startup-ui.js.map +1 -1
  167. package/dist/cli/startup-ui.lazy.d.ts +3 -0
  168. package/dist/cli/startup-ui.lazy.d.ts.map +1 -0
  169. package/dist/cli/startup-ui.lazy.js +3 -0
  170. package/dist/cli/startup-ui.lazy.js.map +1 -0
  171. package/dist/cli/trace-command.lazy.d.ts +3 -0
  172. package/dist/cli/trace-command.lazy.d.ts.map +1 -0
  173. package/dist/cli/trace-command.lazy.js +3 -0
  174. package/dist/cli/trace-command.lazy.js.map +1 -0
  175. package/dist/cli.js.map +1 -1
  176. package/dist/coordination/broker/entry.lazy.d.ts +3 -0
  177. package/dist/coordination/broker/entry.lazy.d.ts.map +1 -0
  178. package/dist/coordination/broker/entry.lazy.js +3 -0
  179. package/dist/coordination/broker/entry.lazy.js.map +1 -0
  180. package/dist/core/acceptance-command.d.ts +15 -0
  181. package/dist/core/acceptance-command.d.ts.map +1 -0
  182. package/dist/core/acceptance-command.js +150 -0
  183. package/dist/core/acceptance-command.js.map +1 -0
  184. package/dist/core/acceptance-ledger.d.ts +52 -0
  185. package/dist/core/acceptance-ledger.d.ts.map +1 -0
  186. package/dist/core/acceptance-ledger.js +341 -0
  187. package/dist/core/acceptance-ledger.js.map +1 -0
  188. package/dist/core/admission-types.d.ts +69 -0
  189. package/dist/core/admission-types.js +2 -0
  190. package/dist/core/admission-types.js.map +1 -0
  191. package/dist/core/agent-session-runtime.d.ts +7 -0
  192. package/dist/core/agent-session-runtime.d.ts.map +1 -1
  193. package/dist/core/agent-session-runtime.js +43 -9
  194. package/dist/core/agent-session-runtime.js.map +1 -1
  195. package/dist/core/agent-session-services.d.ts +8 -0
  196. package/dist/core/agent-session-services.d.ts.map +1 -1
  197. package/dist/core/agent-session-services.js +13 -1
  198. package/dist/core/agent-session-services.js.map +1 -1
  199. package/dist/core/agent-session.d.ts +127 -10
  200. package/dist/core/agent-session.d.ts.map +1 -1
  201. package/dist/core/agent-session.js +1390 -145
  202. package/dist/core/agent-session.js.map +1 -1
  203. package/dist/core/anthropic-subscription-usage.d.ts +1 -1
  204. package/dist/core/anthropic-subscription-usage.d.ts.map +1 -1
  205. package/dist/core/anthropic-subscription-usage.js +31 -3
  206. package/dist/core/anthropic-subscription-usage.js.map +1 -1
  207. package/dist/core/auth-storage.d.ts +2 -1
  208. package/dist/core/auth-storage.d.ts.map +1 -1
  209. package/dist/core/auth-storage.js +13 -10
  210. package/dist/core/auth-storage.js.map +1 -1
  211. package/dist/core/auto-session-namer.d.ts.map +1 -1
  212. package/dist/core/auto-session-namer.js +3 -1
  213. package/dist/core/auto-session-namer.js.map +1 -1
  214. package/dist/core/bash-executor.d.ts.map +1 -1
  215. package/dist/core/bash-executor.js +3 -1
  216. package/dist/core/bash-executor.js.map +1 -1
  217. package/dist/core/bug-report-redaction.d.ts +4 -0
  218. package/dist/core/bug-report-redaction.d.ts.map +1 -0
  219. package/dist/core/bug-report-redaction.js +209 -0
  220. package/dist/core/bug-report-redaction.js.map +1 -0
  221. package/dist/core/bug-report.d.ts +26 -6
  222. package/dist/core/bug-report.d.ts.map +1 -1
  223. package/dist/core/bug-report.js +82 -9
  224. package/dist/core/bug-report.js.map +1 -1
  225. package/dist/core/cache-warmer.d.ts.map +1 -1
  226. package/dist/core/cache-warmer.js +5 -0
  227. package/dist/core/cache-warmer.js.map +1 -1
  228. package/dist/core/compaction/compaction.d.ts +6 -0
  229. package/dist/core/compaction/compaction.d.ts.map +1 -1
  230. package/dist/core/compaction/compaction.js +103 -71
  231. package/dist/core/compaction/compaction.js.map +1 -1
  232. package/dist/core/compaction/utils.d.ts.map +1 -1
  233. package/dist/core/compaction/utils.js +2 -1
  234. package/dist/core/compaction/utils.js.map +1 -1
  235. package/dist/core/extensions/jiti-bun-babel.d.ts +4 -0
  236. package/dist/core/extensions/jiti-bun-babel.d.ts.map +1 -0
  237. package/dist/core/extensions/jiti-bun-babel.js +4 -0
  238. package/dist/core/extensions/jiti-bun-babel.js.map +1 -0
  239. package/dist/core/extensions/jiti-bun-loader.d.ts +4 -0
  240. package/dist/core/extensions/jiti-bun-loader.d.ts.map +1 -0
  241. package/dist/core/extensions/jiti-bun-loader.js +13 -0
  242. package/dist/core/extensions/jiti-bun-loader.js.map +1 -0
  243. package/dist/core/extensions/jiti-bun-loader.lazy.d.ts +3 -0
  244. package/dist/core/extensions/jiti-bun-loader.lazy.d.ts.map +1 -0
  245. package/dist/core/extensions/jiti-bun-loader.lazy.js +3 -0
  246. package/dist/core/extensions/jiti-bun-loader.lazy.js.map +1 -0
  247. package/dist/core/extensions/loader.d.ts.map +1 -1
  248. package/dist/core/extensions/loader.js +9 -3
  249. package/dist/core/extensions/loader.js.map +1 -1
  250. package/dist/core/extensions/runner.d.ts.map +1 -1
  251. package/dist/core/extensions/runner.js +4 -0
  252. package/dist/core/extensions/runner.js.map +1 -1
  253. package/dist/core/extensions/types.d.ts +3 -0
  254. package/dist/core/extensions/types.d.ts.map +1 -1
  255. package/dist/core/extensions/types.js.map +1 -1
  256. package/dist/core/flow-implementer.d.ts +25 -0
  257. package/dist/core/flow-implementer.d.ts.map +1 -0
  258. package/dist/core/flow-implementer.js +301 -0
  259. package/dist/core/flow-implementer.js.map +1 -0
  260. package/dist/core/internal-process.d.ts +23 -0
  261. package/dist/core/internal-process.d.ts.map +1 -0
  262. package/dist/core/internal-process.js +88 -0
  263. package/dist/core/internal-process.js.map +1 -0
  264. package/dist/core/keybindings.d.ts +2 -2
  265. package/dist/core/keybindings.js +1 -1
  266. package/dist/core/keybindings.js.map +1 -1
  267. package/dist/core/model-config.d.ts +52 -0
  268. package/dist/core/model-config.d.ts.map +1 -1
  269. package/dist/core/model-config.js +4 -4
  270. package/dist/core/model-config.js.map +1 -1
  271. package/dist/core/model-registry.d.ts +4 -0
  272. package/dist/core/model-registry.d.ts.map +1 -1
  273. package/dist/core/model-registry.js +8 -0
  274. package/dist/core/model-registry.js.map +1 -1
  275. package/dist/core/model-request-admission.d.ts +51 -0
  276. package/dist/core/model-request-admission.d.ts.map +1 -0
  277. package/dist/core/model-request-admission.js +103 -0
  278. package/dist/core/model-request-admission.js.map +1 -0
  279. package/dist/core/model-resolver.d.ts +4 -0
  280. package/dist/core/model-resolver.d.ts.map +1 -1
  281. package/dist/core/model-resolver.js +109 -2
  282. package/dist/core/model-resolver.js.map +1 -1
  283. package/dist/core/model-runtime.d.ts +56 -1
  284. package/dist/core/model-runtime.d.ts.map +1 -1
  285. package/dist/core/model-runtime.js +482 -40
  286. package/dist/core/model-runtime.js.map +1 -1
  287. package/dist/core/model-selection-intent.d.ts +14 -0
  288. package/dist/core/model-selection-intent.d.ts.map +1 -0
  289. package/dist/core/model-selection-intent.js +15 -0
  290. package/dist/core/model-selection-intent.js.map +1 -0
  291. package/dist/core/oauth-account-pool.d.ts +4 -1
  292. package/dist/core/oauth-account-pool.d.ts.map +1 -1
  293. package/dist/core/oauth-account-pool.js +251 -228
  294. package/dist/core/oauth-account-pool.js.map +1 -1
  295. package/dist/core/os-secret-store.d.ts +25 -0
  296. package/dist/core/os-secret-store.d.ts.map +1 -0
  297. package/dist/core/os-secret-store.js +290 -0
  298. package/dist/core/os-secret-store.js.map +1 -0
  299. package/dist/core/output-guard.d.ts.map +1 -1
  300. package/dist/core/output-guard.js +62 -2
  301. package/dist/core/output-guard.js.map +1 -1
  302. package/dist/core/pi-ai-schemas.d.ts +4 -0
  303. package/dist/core/pi-ai-schemas.d.ts.map +1 -1
  304. package/dist/core/private-windows-path.d.ts +4 -0
  305. package/dist/core/private-windows-path.d.ts.map +1 -0
  306. package/dist/core/private-windows-path.js +44 -0
  307. package/dist/core/private-windows-path.js.map +1 -0
  308. package/dist/core/prompt-templates.d.ts.map +1 -1
  309. package/dist/core/prompt-templates.js +18 -2
  310. package/dist/core/prompt-templates.js.map +1 -1
  311. package/dist/core/provider-composer.d.ts.map +1 -1
  312. package/dist/core/provider-composer.js +1 -1
  313. package/dist/core/provider-composer.js.map +1 -1
  314. package/dist/core/resource-loader.d.ts.map +1 -1
  315. package/dist/core/resource-loader.js +6 -2
  316. package/dist/core/resource-loader.js.map +1 -1
  317. package/dist/core/run-outcome.d.ts +40 -0
  318. package/dist/core/run-outcome.d.ts.map +1 -0
  319. package/dist/core/run-outcome.js +91 -0
  320. package/dist/core/run-outcome.js.map +1 -0
  321. package/dist/core/run-preflight.d.ts +5 -0
  322. package/dist/core/run-preflight.d.ts.map +1 -0
  323. package/dist/core/run-preflight.js +96 -0
  324. package/dist/core/run-preflight.js.map +1 -0
  325. package/dist/core/runtime-credentials.d.ts +18 -2
  326. package/dist/core/runtime-credentials.d.ts.map +1 -1
  327. package/dist/core/runtime-credentials.js +65 -9
  328. package/dist/core/runtime-credentials.js.map +1 -1
  329. package/dist/core/sdk.d.ts +19 -3
  330. package/dist/core/sdk.d.ts.map +1 -1
  331. package/dist/core/sdk.js +115 -20
  332. package/dist/core/sdk.js.map +1 -1
  333. package/dist/core/settings-defaults.d.ts +2 -1
  334. package/dist/core/settings-defaults.d.ts.map +1 -1
  335. package/dist/core/settings-defaults.js +2 -1
  336. package/dist/core/settings-defaults.js.map +1 -1
  337. package/dist/core/settings-manager.d.ts +15 -4
  338. package/dist/core/settings-manager.d.ts.map +1 -1
  339. package/dist/core/settings-manager.js +114 -22
  340. package/dist/core/settings-manager.js.map +1 -1
  341. package/dist/core/settings-schema.d.ts +7 -2
  342. package/dist/core/settings-schema.d.ts.map +1 -1
  343. package/dist/core/settings-schema.js +12 -5
  344. package/dist/core/settings-schema.js.map +1 -1
  345. package/dist/core/skills.d.ts.map +1 -1
  346. package/dist/core/skills.js +11 -0
  347. package/dist/core/skills.js.map +1 -1
  348. package/dist/core/system-prompt.d.ts +3 -0
  349. package/dist/core/system-prompt.d.ts.map +1 -1
  350. package/dist/core/system-prompt.js +10 -2
  351. package/dist/core/system-prompt.js.map +1 -1
  352. package/dist/core/tools/bash-jobs.d.ts +109 -0
  353. package/dist/core/tools/bash-jobs.d.ts.map +1 -0
  354. package/dist/core/tools/bash-jobs.js +563 -0
  355. package/dist/core/tools/bash-jobs.js.map +1 -0
  356. package/dist/core/tools/bash.d.ts +68 -6
  357. package/dist/core/tools/bash.d.ts.map +1 -1
  358. package/dist/core/tools/bash.js +350 -37
  359. package/dist/core/tools/bash.js.map +1 -1
  360. package/dist/core/tools/edit-diff.d.ts +11 -1
  361. package/dist/core/tools/edit-diff.d.ts.map +1 -1
  362. package/dist/core/tools/edit-diff.js +89 -20
  363. package/dist/core/tools/edit-diff.js.map +1 -1
  364. package/dist/core/tools/edit.d.ts.map +1 -1
  365. package/dist/core/tools/edit.js +15 -7
  366. package/dist/core/tools/edit.js.map +1 -1
  367. package/dist/core/tools/file-mutation-custody.d.ts +29 -0
  368. package/dist/core/tools/file-mutation-custody.d.ts.map +1 -0
  369. package/dist/core/tools/file-mutation-custody.js +173 -0
  370. package/dist/core/tools/file-mutation-custody.js.map +1 -0
  371. package/dist/core/tools/find.d.ts +6 -0
  372. package/dist/core/tools/find.d.ts.map +1 -1
  373. package/dist/core/tools/find.js +84 -38
  374. package/dist/core/tools/find.js.map +1 -1
  375. package/dist/core/tools/grep.d.ts +8 -2
  376. package/dist/core/tools/grep.d.ts.map +1 -1
  377. package/dist/core/tools/grep.js +121 -77
  378. package/dist/core/tools/grep.js.map +1 -1
  379. package/dist/core/tools/index.d.ts +3 -1
  380. package/dist/core/tools/index.d.ts.map +1 -1
  381. package/dist/core/tools/index.js +12 -0
  382. package/dist/core/tools/index.js.map +1 -1
  383. package/dist/core/tools/jobs.d.ts +24 -0
  384. package/dist/core/tools/jobs.d.ts.map +1 -0
  385. package/dist/core/tools/jobs.js +86 -0
  386. package/dist/core/tools/jobs.js.map +1 -0
  387. package/dist/core/tools/ls.d.ts.map +1 -1
  388. package/dist/core/tools/ls.js +2 -1
  389. package/dist/core/tools/ls.js.map +1 -1
  390. package/dist/core/tools/output-accumulator.d.ts +12 -1
  391. package/dist/core/tools/output-accumulator.d.ts.map +1 -1
  392. package/dist/core/tools/output-accumulator.js +88 -8
  393. package/dist/core/tools/output-accumulator.js.map +1 -1
  394. package/dist/core/tools/output-cleanup.d.ts +40 -0
  395. package/dist/core/tools/output-cleanup.d.ts.map +1 -0
  396. package/dist/core/tools/output-cleanup.js +273 -0
  397. package/dist/core/tools/output-cleanup.js.map +1 -0
  398. package/dist/core/tools/powershell.d.ts.map +1 -1
  399. package/dist/core/tools/powershell.js +15 -2
  400. package/dist/core/tools/powershell.js.map +1 -1
  401. package/dist/core/tools/read.d.ts +21 -0
  402. package/dist/core/tools/read.d.ts.map +1 -1
  403. package/dist/core/tools/read.js +162 -29
  404. package/dist/core/tools/read.js.map +1 -1
  405. package/dist/core/tools/renderers/bash.d.ts.map +1 -1
  406. package/dist/core/tools/renderers/bash.js +3 -1
  407. package/dist/core/tools/renderers/bash.js.map +1 -1
  408. package/dist/core/tools/renderers/index.d.ts.map +1 -1
  409. package/dist/core/tools/renderers/index.js +1 -0
  410. package/dist/core/tools/renderers/index.js.map +1 -1
  411. package/dist/core/tools/subagent.d.ts +5 -1
  412. package/dist/core/tools/subagent.d.ts.map +1 -1
  413. package/dist/core/tools/subagent.js +76 -19
  414. package/dist/core/tools/subagent.js.map +1 -1
  415. package/dist/core/tools/truncate.d.ts +4 -0
  416. package/dist/core/tools/truncate.d.ts.map +1 -1
  417. package/dist/core/tools/truncate.js +24 -1
  418. package/dist/core/tools/truncate.js.map +1 -1
  419. package/dist/core/tools/write.d.ts.map +1 -1
  420. package/dist/core/tools/write.js +6 -1
  421. package/dist/core/tools/write.js.map +1 -1
  422. package/dist/core/trace/config.js +3 -3
  423. package/dist/core/trace/config.js.map +1 -1
  424. package/dist/core/trace/redaction.d.ts.map +1 -1
  425. package/dist/core/trace/redaction.js +12 -9
  426. package/dist/core/trace/redaction.js.map +1 -1
  427. package/dist/core/trace-client/credential-store.d.ts +1 -1
  428. package/dist/core/trace-client/credential-store.d.ts.map +1 -1
  429. package/dist/core/trace-client/credential-store.js +20 -3
  430. package/dist/core/trace-client/credential-store.js.map +1 -1
  431. package/dist/core/usage-ledger.d.ts +35 -0
  432. package/dist/core/usage-ledger.d.ts.map +1 -0
  433. package/dist/core/usage-ledger.js +140 -0
  434. package/dist/core/usage-ledger.js.map +1 -0
  435. package/dist/extensions/codemode/execute.d.ts.map +1 -1
  436. package/dist/extensions/codemode/execute.js +24 -15
  437. package/dist/extensions/codemode/execute.js.map +1 -1
  438. package/dist/extensions/codemode/index.d.ts +4 -2
  439. package/dist/extensions/codemode/index.d.ts.map +1 -1
  440. package/dist/extensions/codemode/index.js +8 -4
  441. package/dist/extensions/codemode/index.js.map +1 -1
  442. package/dist/extensions/codemode/tool.d.ts +4 -2
  443. package/dist/extensions/codemode/tool.d.ts.map +1 -1
  444. package/dist/extensions/codemode/tool.js +34 -12
  445. package/dist/extensions/codemode/tool.js.map +1 -1
  446. package/dist/extensions/llama/client.d.ts +2 -0
  447. package/dist/extensions/llama/client.d.ts.map +1 -1
  448. package/dist/extensions/llama/client.js +23 -2
  449. package/dist/extensions/llama/client.js.map +1 -1
  450. package/dist/extensions/llama/ui.d.ts.map +1 -1
  451. package/dist/extensions/llama/ui.js +15 -3
  452. package/dist/extensions/llama/ui.js.map +1 -1
  453. package/dist/extensions/mcp/runtime.d.ts.map +1 -1
  454. package/dist/extensions/mcp/runtime.js +3 -2
  455. package/dist/extensions/mcp/runtime.js.map +1 -1
  456. package/dist/extensions/tool-search/tool.d.ts.map +1 -1
  457. package/dist/extensions/tool-search/tool.js +18 -6
  458. package/dist/extensions/tool-search/tool.js.map +1 -1
  459. package/dist/extensions/usage/hcode-overview.d.ts +23 -0
  460. package/dist/extensions/usage/hcode-overview.d.ts.map +1 -0
  461. package/dist/extensions/usage/hcode-overview.js +109 -0
  462. package/dist/extensions/usage/hcode-overview.js.map +1 -0
  463. package/dist/extensions/usage/index.d.ts +5 -0
  464. package/dist/extensions/usage/index.d.ts.map +1 -1
  465. package/dist/extensions/usage/index.js +194 -12
  466. package/dist/extensions/usage/index.js.map +1 -1
  467. package/dist/extensions/usage/overview.d.ts +5 -0
  468. package/dist/extensions/usage/overview.d.ts.map +1 -1
  469. package/dist/extensions/usage/overview.js +21 -1
  470. package/dist/extensions/usage/overview.js.map +1 -1
  471. package/dist/extensions/usage/popup.d.ts +14 -3
  472. package/dist/extensions/usage/popup.d.ts.map +1 -1
  473. package/dist/extensions/usage/popup.js +199 -25
  474. package/dist/extensions/usage/popup.js.map +1 -1
  475. package/dist/humain/adaptive-execution.d.ts +51 -0
  476. package/dist/humain/adaptive-execution.d.ts.map +1 -0
  477. package/dist/humain/adaptive-execution.js +100 -0
  478. package/dist/humain/adaptive-execution.js.map +1 -0
  479. package/dist/humain/adaptive-peer-process.d.ts +44 -0
  480. package/dist/humain/adaptive-peer-process.d.ts.map +1 -0
  481. package/dist/humain/adaptive-peer-process.js +159 -0
  482. package/dist/humain/adaptive-peer-process.js.map +1 -0
  483. package/dist/humain/adaptive-peer-worker.d.ts +3 -0
  484. package/dist/humain/adaptive-peer-worker.d.ts.map +1 -0
  485. package/dist/humain/adaptive-peer-worker.js +122 -0
  486. package/dist/humain/adaptive-peer-worker.js.map +1 -0
  487. package/dist/humain/adaptive-runtime-types.d.ts +621 -0
  488. package/dist/humain/adaptive-runtime-types.d.ts.map +1 -0
  489. package/dist/humain/adaptive-runtime-types.js +3 -0
  490. package/dist/humain/adaptive-runtime-types.js.map +1 -0
  491. package/dist/humain/adaptive-session-host.d.ts +113 -0
  492. package/dist/humain/adaptive-session-host.d.ts.map +1 -0
  493. package/dist/humain/adaptive-session-host.js +1838 -0
  494. package/dist/humain/adaptive-session-host.js.map +1 -0
  495. package/dist/humain/adhd/index.d.ts +2 -2
  496. package/dist/humain/adhd/index.d.ts.map +1 -1
  497. package/dist/humain/adhd/index.js +22 -13
  498. package/dist/humain/adhd/index.js.map +1 -1
  499. package/dist/humain/bedrock-provider/vendor/index.bundle.mjs +162 -49
  500. package/dist/humain/caveman/index.d.ts +1 -1
  501. package/dist/humain/caveman/index.d.ts.map +1 -1
  502. package/dist/humain/caveman/index.js +21 -12
  503. package/dist/humain/caveman/index.js.map +1 -1
  504. package/dist/humain/classify-tool.d.ts +4 -0
  505. package/dist/humain/classify-tool.d.ts.map +1 -0
  506. package/dist/humain/classify-tool.js +50 -0
  507. package/dist/humain/classify-tool.js.map +1 -0
  508. package/dist/humain/flow-command.d.ts +1 -1
  509. package/dist/humain/flow-command.d.ts.map +1 -1
  510. package/dist/humain/flow-command.js +21 -3
  511. package/dist/humain/flow-command.js.map +1 -1
  512. package/dist/humain/flow-loader.d.ts +15 -10
  513. package/dist/humain/flow-loader.d.ts.map +1 -1
  514. package/dist/humain/flow-loader.js +72 -18
  515. package/dist/humain/flow-loader.js.map +1 -1
  516. package/dist/humain/fuse-provider.d.ts +5 -0
  517. package/dist/humain/fuse-provider.d.ts.map +1 -0
  518. package/dist/humain/fuse-provider.js +302 -0
  519. package/dist/humain/fuse-provider.js.map +1 -0
  520. package/dist/humain/gateway/provider.d.ts.map +1 -1
  521. package/dist/humain/gateway/provider.js +2 -0
  522. package/dist/humain/gateway/provider.js.map +1 -1
  523. package/dist/humain/gateway/secret-store.d.ts +3 -7
  524. package/dist/humain/gateway/secret-store.d.ts.map +1 -1
  525. package/dist/humain/gateway/secret-store.js +21 -249
  526. package/dist/humain/gateway/secret-store.js.map +1 -1
  527. package/dist/humain/hcode/account-store.d.ts +92 -0
  528. package/dist/humain/hcode/account-store.d.ts.map +1 -0
  529. package/dist/humain/hcode/account-store.js +720 -0
  530. package/dist/humain/hcode/account-store.js.map +1 -0
  531. package/dist/humain/hcode/account.d.ts +42 -0
  532. package/dist/humain/hcode/account.d.ts.map +1 -0
  533. package/dist/humain/hcode/account.js +552 -0
  534. package/dist/humain/hcode/account.js.map +1 -0
  535. package/dist/humain/hcode/catalog.d.ts +6 -0
  536. package/dist/humain/hcode/catalog.d.ts.map +1 -0
  537. package/dist/humain/hcode/catalog.js +47 -0
  538. package/dist/humain/hcode/catalog.js.map +1 -0
  539. package/dist/humain/hcode/contracts.d.ts +389 -0
  540. package/dist/humain/hcode/contracts.d.ts.map +1 -0
  541. package/dist/humain/hcode/contracts.js +1243 -0
  542. package/dist/humain/hcode/contracts.js.map +1 -0
  543. package/dist/humain/hcode/environment.d.ts +9 -0
  544. package/dist/humain/hcode/environment.d.ts.map +1 -0
  545. package/dist/humain/hcode/environment.js +24 -0
  546. package/dist/humain/hcode/environment.js.map +1 -0
  547. package/dist/humain/hcode/facade.d.ts +54 -0
  548. package/dist/humain/hcode/facade.d.ts.map +1 -0
  549. package/dist/humain/hcode/facade.js +326 -0
  550. package/dist/humain/hcode/facade.js.map +1 -0
  551. package/dist/humain/hcode/http.d.ts +10 -0
  552. package/dist/humain/hcode/http.d.ts.map +1 -0
  553. package/dist/humain/hcode/http.js +119 -0
  554. package/dist/humain/hcode/http.js.map +1 -0
  555. package/dist/humain/hcode/notices.d.ts +15 -0
  556. package/dist/humain/hcode/notices.d.ts.map +1 -0
  557. package/dist/humain/hcode/notices.js +69 -0
  558. package/dist/humain/hcode/notices.js.map +1 -0
  559. package/dist/humain/hcode/ports.d.ts +34 -0
  560. package/dist/humain/hcode/ports.d.ts.map +1 -0
  561. package/dist/humain/hcode/ports.js +2 -0
  562. package/dist/humain/hcode/ports.js.map +1 -0
  563. package/dist/humain/hcode/provider.d.ts +15 -0
  564. package/dist/humain/hcode/provider.d.ts.map +1 -0
  565. package/dist/humain/hcode/provider.js +200 -0
  566. package/dist/humain/hcode/provider.js.map +1 -0
  567. package/dist/humain/hcode/selection.d.ts +16 -0
  568. package/dist/humain/hcode/selection.d.ts.map +1 -0
  569. package/dist/humain/hcode/selection.js +37 -0
  570. package/dist/humain/hcode/selection.js.map +1 -0
  571. package/dist/humain/hcode/transport.d.ts +22 -0
  572. package/dist/humain/hcode/transport.d.ts.map +1 -0
  573. package/dist/humain/hcode/transport.js +368 -0
  574. package/dist/humain/hcode/transport.js.map +1 -0
  575. package/dist/humain/hcode/usage.d.ts +5 -0
  576. package/dist/humain/hcode/usage.d.ts.map +1 -0
  577. package/dist/humain/hcode/usage.js +66 -0
  578. package/dist/humain/hcode/usage.js.map +1 -0
  579. package/dist/humain/hcode/wire.d.ts +16 -0
  580. package/dist/humain/hcode/wire.d.ts.map +1 -0
  581. package/dist/humain/hcode/wire.js +104 -0
  582. package/dist/humain/hcode/wire.js.map +1 -0
  583. package/dist/humain/index.d.ts +1 -3
  584. package/dist/humain/index.d.ts.map +1 -1
  585. package/dist/humain/index.js +8 -60
  586. package/dist/humain/index.js.map +1 -1
  587. package/dist/humain/login-menu.d.ts.map +1 -1
  588. package/dist/humain/login-menu.js +8 -1
  589. package/dist/humain/login-menu.js.map +1 -1
  590. package/dist/humain/metadata/contracts.d.ts +82 -0
  591. package/dist/humain/metadata/contracts.d.ts.map +1 -0
  592. package/dist/humain/metadata/contracts.js +214 -0
  593. package/dist/humain/metadata/contracts.js.map +1 -0
  594. package/dist/humain/metadata/identity.d.ts +10 -0
  595. package/dist/humain/metadata/identity.d.ts.map +1 -0
  596. package/dist/humain/metadata/identity.js +209 -0
  597. package/dist/humain/metadata/identity.js.map +1 -0
  598. package/dist/humain/metadata/index.d.ts +41 -0
  599. package/dist/humain/metadata/index.d.ts.map +1 -0
  600. package/dist/humain/metadata/index.js +100 -0
  601. package/dist/humain/metadata/index.js.map +1 -0
  602. package/dist/humain/metadata/sender.d.ts +20 -0
  603. package/dist/humain/metadata/sender.d.ts.map +1 -0
  604. package/dist/humain/metadata/sender.js +302 -0
  605. package/dist/humain/metadata/sender.js.map +1 -0
  606. package/dist/humain/metadata/version.d.ts +8 -0
  607. package/dist/humain/metadata/version.d.ts.map +1 -0
  608. package/dist/humain/metadata/version.js +38 -0
  609. package/dist/humain/metadata/version.js.map +1 -0
  610. package/dist/humain/node-http.d.ts +2 -0
  611. package/dist/humain/node-http.d.ts.map +1 -1
  612. package/dist/humain/node-http.js +9 -4
  613. package/dist/humain/node-http.js.map +1 -1
  614. package/dist/humain/node-provider.d.ts +2 -0
  615. package/dist/humain/node-provider.d.ts.map +1 -1
  616. package/dist/humain/node-provider.js +39 -8
  617. package/dist/humain/node-provider.js.map +1 -1
  618. package/dist/humain/ponytail/vendor/hooks/ponytail-config.d.ts +1 -1
  619. package/dist/humain/ponytail/vendor/hooks/ponytail-config.d.ts.map +1 -1
  620. package/dist/humain/ponytail/vendor/hooks/ponytail-config.js +4 -4
  621. package/dist/humain/ponytail/vendor/hooks/ponytail-config.js.map +1 -1
  622. package/dist/humain/ponytail/vendor/hooks/ponytail-instructions.d.ts.map +1 -1
  623. package/dist/humain/ponytail/vendor/hooks/ponytail-instructions.js +7 -0
  624. package/dist/humain/ponytail/vendor/hooks/ponytail-instructions.js.map +1 -1
  625. package/dist/humain/ponytail/vendor/pi-extension/index.d.ts.map +1 -1
  626. package/dist/humain/ponytail/vendor/pi-extension/index.js +12 -1
  627. package/dist/humain/ponytail/vendor/pi-extension/index.js.map +1 -1
  628. package/dist/humain/systemone.d.ts +23 -0
  629. package/dist/humain/systemone.d.ts.map +1 -0
  630. package/dist/humain/systemone.js +101 -0
  631. package/dist/humain/systemone.js.map +1 -0
  632. package/dist/humain/trace-capture/flow-producer.d.ts.map +1 -1
  633. package/dist/humain/trace-capture/flow-producer.js +3 -3
  634. package/dist/humain/trace-capture/flow-producer.js.map +1 -1
  635. package/dist/index.d.ts +4 -2
  636. package/dist/index.d.ts.map +1 -1
  637. package/dist/index.js.map +1 -1
  638. package/dist/main.d.ts +1 -0
  639. package/dist/main.d.ts.map +1 -1
  640. package/dist/main.js +292 -183
  641. package/dist/main.js.map +1 -1
  642. package/dist/modes/interactive/bug-report.d.ts.map +1 -1
  643. package/dist/modes/interactive/bug-report.js +82 -36
  644. package/dist/modes/interactive/bug-report.js.map +1 -1
  645. package/dist/modes/interactive/components/assistant-message.d.ts.map +1 -1
  646. package/dist/modes/interactive/components/assistant-message.js +8 -5
  647. package/dist/modes/interactive/components/assistant-message.js.map +1 -1
  648. package/dist/modes/interactive/components/diff.d.ts.map +1 -1
  649. package/dist/modes/interactive/components/diff.js +11 -5
  650. package/dist/modes/interactive/components/diff.js.map +1 -1
  651. package/dist/modes/interactive/components/extension-selector.d.ts.map +1 -1
  652. package/dist/modes/interactive/components/extension-selector.js +9 -1
  653. package/dist/modes/interactive/components/extension-selector.js.map +1 -1
  654. package/dist/modes/interactive/components/first-time-setup.d.ts +10 -5
  655. package/dist/modes/interactive/components/first-time-setup.d.ts.map +1 -1
  656. package/dist/modes/interactive/components/first-time-setup.js +55 -29
  657. package/dist/modes/interactive/components/first-time-setup.js.map +1 -1
  658. package/dist/modes/interactive/components/model-selector.d.ts +16 -2
  659. package/dist/modes/interactive/components/model-selector.d.ts.map +1 -1
  660. package/dist/modes/interactive/components/model-selector.js +164 -19
  661. package/dist/modes/interactive/components/model-selector.js.map +1 -1
  662. package/dist/modes/interactive/components/oauth-selector.d.ts +3 -0
  663. package/dist/modes/interactive/components/oauth-selector.d.ts.map +1 -1
  664. package/dist/modes/interactive/components/oauth-selector.js +19 -2
  665. package/dist/modes/interactive/components/oauth-selector.js.map +1 -1
  666. package/dist/modes/interactive/components/status-indicator.d.ts +17 -0
  667. package/dist/modes/interactive/components/status-indicator.d.ts.map +1 -1
  668. package/dist/modes/interactive/components/status-indicator.js +78 -1
  669. package/dist/modes/interactive/components/status-indicator.js.map +1 -1
  670. package/dist/modes/interactive/components/tree-selector.d.ts +1 -0
  671. package/dist/modes/interactive/components/tree-selector.d.ts.map +1 -1
  672. package/dist/modes/interactive/components/tree-selector.js +19 -10
  673. package/dist/modes/interactive/components/tree-selector.js.map +1 -1
  674. package/dist/modes/interactive/interactive-mode.d.ts +4 -0
  675. package/dist/modes/interactive/interactive-mode.d.ts.map +1 -1
  676. package/dist/modes/interactive/interactive-mode.js +353 -65
  677. package/dist/modes/interactive/interactive-mode.js.map +1 -1
  678. package/dist/modes/interactive/interactive-mode.lazy.d.ts +3 -0
  679. package/dist/modes/interactive/interactive-mode.lazy.d.ts.map +1 -0
  680. package/dist/modes/interactive/interactive-mode.lazy.js +3 -0
  681. package/dist/modes/interactive/interactive-mode.lazy.js.map +1 -0
  682. package/dist/modes/interactive/model-catalog-refresh.d.ts +2 -0
  683. package/dist/modes/interactive/model-catalog-refresh.d.ts.map +1 -1
  684. package/dist/modes/interactive/model-catalog-refresh.js +12 -0
  685. package/dist/modes/interactive/model-catalog-refresh.js.map +1 -1
  686. package/dist/modes/interactive/theme/theme-controller.d.ts +2 -3
  687. package/dist/modes/interactive/theme/theme-controller.d.ts.map +1 -1
  688. package/dist/modes/interactive/theme/theme-controller.js +4 -5
  689. package/dist/modes/interactive/theme/theme-controller.js.map +1 -1
  690. package/dist/modes/interactive/theme/theme-schema.js +4 -4
  691. package/dist/modes/interactive/theme/theme-schema.js.map +1 -1
  692. package/dist/modes/interactive/theme/theme.d.ts +2 -0
  693. package/dist/modes/interactive/theme/theme.d.ts.map +1 -1
  694. package/dist/modes/interactive/theme/theme.js +8 -0
  695. package/dist/modes/interactive/theme/theme.js.map +1 -1
  696. package/dist/modes/json-event.d.ts +2 -1
  697. package/dist/modes/json-event.d.ts.map +1 -1
  698. package/dist/modes/json-event.js.map +1 -1
  699. package/dist/modes/print-mode.d.ts +4 -0
  700. package/dist/modes/print-mode.d.ts.map +1 -1
  701. package/dist/modes/print-mode.js +57 -11
  702. package/dist/modes/print-mode.js.map +1 -1
  703. package/dist/modes/rpc/rpc-mode.d.ts.map +1 -1
  704. package/dist/modes/rpc/rpc-mode.js +68 -16
  705. package/dist/modes/rpc/rpc-mode.js.map +1 -1
  706. package/dist/modes/rpc/rpc-types.d.ts +2 -0
  707. package/dist/modes/rpc/rpc-types.d.ts.map +1 -1
  708. package/dist/modes/rpc/rpc-types.js.map +1 -1
  709. package/dist/utils/changelog.d.ts +1 -1
  710. package/dist/utils/changelog.d.ts.map +1 -1
  711. package/dist/utils/changelog.js +7 -5
  712. package/dist/utils/changelog.js.map +1 -1
  713. package/dist/utils/image-resize.d.ts.map +1 -1
  714. package/dist/utils/image-resize.js +3 -1
  715. package/dist/utils/image-resize.js.map +1 -1
  716. package/dist/utils/lazy-validator.d.ts +5 -0
  717. package/dist/utils/lazy-validator.d.ts.map +1 -0
  718. package/dist/utils/lazy-validator.js +7 -0
  719. package/dist/utils/lazy-validator.js.map +1 -0
  720. package/dist/utils/shell.d.ts +3 -1
  721. package/dist/utils/shell.d.ts.map +1 -1
  722. package/dist/utils/shell.js +9 -4
  723. package/dist/utils/shell.js.map +1 -1
  724. package/docs/cli.md +23 -5
  725. package/docs/codemode.md +21 -1
  726. package/docs/development.md +18 -0
  727. package/docs/docs.json +4 -0
  728. package/docs/extensions.md +4 -0
  729. package/docs/flow.md +115 -16
  730. package/docs/headless-modes.md +61 -0
  731. package/docs/humain-code-forge-architecture.md +65 -13
  732. package/docs/humain-code-forge-component-scorecard.md +10 -1
  733. package/docs/humain-code-forge-flow-walkthrough.md +54 -55
  734. package/docs/humain-code.md +22 -19
  735. package/docs/index.md +1 -0
  736. package/docs/keybindings.md +1 -1
  737. package/docs/models-configuration.md +6 -1
  738. package/docs/models.md +1 -1
  739. package/docs/prompt-templates.md +1 -1
  740. package/docs/providers.md +67 -15
  741. package/docs/run-preflight.md +47 -0
  742. package/docs/sdk.md +39 -1
  743. package/docs/security.md +1 -1
  744. package/docs/settings.md +12 -5
  745. package/docs/skills.md +2 -0
  746. package/docs/slash-commands.md +5 -3
  747. package/docs/usage.md +29 -0
  748. package/examples/extensions/custom-provider-anthropic/package-lock.json +4 -4
  749. package/examples/extensions/custom-provider-anthropic/package.json +1 -1
  750. package/examples/tsconfig.json +13 -0
  751. package/npm-shrinkwrap.json +67 -67
  752. package/package.json +25 -19
  753. package/schemas/models.schema.json +30 -0
  754. package/schemas/settings.schema.json +28 -9
  755. package/src/humain/caveman/UPSTREAM.md +19 -3
  756. package/src/humain/caveman/upstream.json +2 -2
  757. package/src/humain/ponytail/UPSTREAM.md +16 -1
  758. package/src/humain/web-access/UPSTREAM.md +10 -0
  759. package/src/humain/web-access/upstream.json +1 -0
  760. package/dist/bundle/chunks/anthropic-messages-MNISFDZA.js +0 -66
  761. package/dist/bundle/chunks/chunk-2HZ2V3HS.js +0 -1985
  762. package/dist/bundle/chunks/chunk-2PZ46FSM.js +0 -6
  763. package/dist/bundle/chunks/chunk-4SQUP6IR.js +0 -88
  764. package/dist/bundle/chunks/chunk-5JSLXC2A.js +0 -3
  765. package/dist/bundle/chunks/chunk-75CQYZ63.js +0 -1336
  766. package/dist/bundle/chunks/chunk-DCPACGLH.js +0 -12267
  767. package/dist/bundle/chunks/chunk-FLVBQ6GS.js +0 -24
  768. package/dist/bundle/chunks/chunk-H7Y4QY7K.js +0 -11
  769. package/dist/bundle/chunks/chunk-JEAM6N22.js +0 -139
  770. package/dist/bundle/chunks/chunk-PS2FJ7M4.js +0 -23
  771. package/dist/bundle/chunks/chunk-TEOMXMW6.js +0 -23
  772. package/dist/bundle/chunks/chunk-WEFEQEIQ.js +0 -28
  773. package/dist/bundle/chunks/chunk-WW4SILXG.js +0 -249
  774. package/dist/bundle/chunks/compat-MXAZPYDN.js +0 -13
  775. package/dist/bundle/chunks/dist-3V7ZSLER.js +0 -3166
  776. package/dist/bundle/chunks/dist-66CW64M2.js +0 -8
  777. package/dist/bundle/chunks/host-SCZ4IKWR.js +0 -2
  778. package/dist/bundle/chunks/openai-codex-responses-LZWBQYVP.js +0 -101
  779. package/dist/bundle/chunks/openai-completions-7NWH423P.js +0 -82
  780. package/dist/bundle/chunks/openai-responses-5YOLHMCF.js +0 -27
  781. package/dist/bundle/chunks/runtime-UVPDE4CX.js +0 -2
  782. package/dist/bundle/chunks/typesafe-system-one-BHJYAZ6E.js +0 -3
  783. package/dist/bundle/chunks/virtual-modules-YQPK57CW.js +0 -23
  784. package/dist/humain/legacy-workflow-tiers.d.ts +0 -3
  785. package/dist/humain/legacy-workflow-tiers.d.ts.map +0 -1
  786. package/dist/humain/legacy-workflow-tiers.js +0 -46
  787. package/dist/humain/legacy-workflow-tiers.js.map +0 -1
  788. /package/dist/bundle/{flow → orchestrate}/agents/orch-architect.md +0 -0
  789. /package/dist/bundle/{flow → orchestrate}/agents/orch-scout.md +0 -0
  790. /package/dist/bundle/{flow → orchestrate}/agents/orch-security-review.md +0 -0
  791. /package/dist/bundle/{flow → orchestrate}/agents/orch-technical-lead.md +0 -0
  792. /package/dist/bundle/{flow → orchestrate}/agents/orch-technical-review.md +0 -0
package/docs/sdk.md CHANGED
@@ -113,10 +113,48 @@ Inline extension factories can be supplied through `DefaultResourceLoader`. Give
113
113
 
114
114
  <a id="codemode-mcp"></a>
115
115
 
116
- The CLI loads `codemode`, `tool_search`, and MCP as built-in extensions. SDK sessions do not; add `createCodemodeExtension()`, `createToolSearchExtension()`, and `createMcpExtension()` to the `extensionFactories` of `DefaultResourceLoader`. `codemode` and `tool_search` are registered inactive: enable them through the `defaultTools` setting (`["+codemode", "+tool_search"]` keeps the other default tools), or let the MCP extension activate them: `codemode` for servers with `codemode` exposure, `tool_search` for servers with `deferred` exposure. The MCP extension connects its servers on `session_start`, so call `session.bindExtensions()`. See [Codemode and MCP](../examples/sdk/14-codemode-mcp.ts).
116
+ The CLI loads `codemode`, `tool_search`, and MCP as built-in extensions. SDK sessions do not; add `createCodemodeExtension()`, `createToolSearchExtension()`, and `createMcpExtension()` to the `extensionFactories` of `DefaultResourceLoader`. Both tools register inactive, but `createAgentSession()` activates loaded `codemode` by default when the startup model has `compat.supportsOpenAIGrammarTools` and tool selection is not explicit. Changing models does not recompute this selection. `"defaultTools": ["-codemode"]` opts out of this default; explicit SDK `tools`, `noTools`, and `excludeTools` keep their existing precedence. See [Default activation](codemode.md#default-activation). For other models or `tool_search`, enable them through the `defaultTools` setting (`["+codemode", "+tool_search"]` keeps the other default tools), or let the MCP extension activate them: `codemode` for servers with `codemode` exposure, `tool_search` for servers with `deferred` exposure. The MCP extension connects its servers on `session_start`, so call `session.bindExtensions()`. See [Codemode and MCP](../examples/sdk/14-codemode-mcp.ts).
117
117
 
118
118
  See the focused examples for [models](../examples/sdk/02-custom-model.ts), [tools](../examples/sdk/05-tools.ts), [extensions](../examples/sdk/06-extensions.ts), and [full control](../examples/sdk/12-full-control.ts).
119
119
 
120
+ ### Background bash ownership
121
+
122
+ Default `AgentSession` tools share a session-owned `BashJobManager`. `session.abort()` waits for current jobs to terminate and permits later starts; `session.dispose()` closes admission and initiates cleanup. Session replacement disposes the old session's manager.
123
+
124
+ Standalone tool factories do not allocate a job manager. To enable background work with `createCodingToolDefinitions()`, `createAllToolDefinitions()`, `createCodingTools()`, or `createAllTools()`, pass a host-owned manager through `options.bash.jobs`. Bash and the `jobs` companion share that manager, including across factory calls using the same owner. Without it, foreground bash still works and background/management calls reject. The `jobs` tool remains in the returned tool set.
125
+
126
+ The host must stop its jobs on cancellation and close admission during teardown. Tools supplied through `AgentSession`'s `baseToolsOverride` or as custom replacements remain host-owned; session abort/disposal does not adopt their manager. Use `await jobs.abort()` for cancellation. For final teardown, call `jobs.dispose()` before `await jobs.abort()` to close admission and wait for cleanup:
127
+
128
+ ```typescript
129
+ import { BashJobManager, createCodingTools } from "@humain/humain-code";
130
+
131
+ const jobs = new BashJobManager();
132
+ const tools = createCodingTools(process.cwd(), { bash: { jobs } });
133
+
134
+ try {
135
+ // Register tools with your host runtime and run its work here.
136
+ } finally {
137
+ jobs.dispose();
138
+ await jobs.abort();
139
+ }
140
+ ```
141
+
142
+ ### Harness documentation
143
+
144
+ SDK sessions omit the harness documentation-routing `<docs>` section from the default system prompt. Pass `includeHarnessDocs: true` to `createAgentSession()` or `createAgentSessionFromServices()` when the agent needs guidance for finding HUMAIN Code CLI's own documentation and examples. The opt-in survives tool changes, extension binding, and resource reloads. Interactive TUI sessions still include the section automatically, even when the option is omitted or false. Custom system prompt replacements remain unchanged.
145
+
146
+ ```typescript
147
+ const { session } = await createAgentSession({ includeHarnessDocs: true });
148
+ ```
149
+
150
+ <a id="time-budget"></a>
151
+
152
+ ### Headless time budget
153
+
154
+ Pass `timeLimitSeconds: 1620` to `createAgentSession()` to give that session 27 minutes from creation. The value must be a positive safe integer. The first request includes a persisted conversation message stating the total limit and asking the model to finish and answer before it, leaving time to verify. One reminder is appended on the next request after 50% and 85% elapsed; the latter asks the model to stop exploring and deliver its final answer. The system prompt stays unchanged, preserving provider prompt caching. No extra request is started solely for a reminder, and no reminders are added after expiry.
155
+
156
+ Built-in model-facing foreground bash calls, including calls through codemode, use `min(normalTimeout, max(5, remainingSeconds - 20))`. This does not interrupt other tools or model requests, kill the process, or change its exit code; the host must enforce the deadline. The five-second floor remains after expiry. TUI bindings reject sessions with a time limit. The budget applies only to the session it is given to; subagents and Flow children do not inherit it. See [CLI time budgets](cli.md#headless-time-budget).
157
+
120
158
  ## Accounts
121
159
 
122
160
  `session.modelRuntime.accounts` exposes secret-free metadata and global saved-account management:
package/docs/security.md CHANGED
@@ -94,6 +94,6 @@ These practices do not replace isolation, but they reduce exposure or make recov
94
94
 
95
95
  ## Report a security issue
96
96
 
97
- Follow the repository [Security Policy](https://github.com/earendil-works/pi/blob/main/SECURITY.md). Do not open a public issue for a security-sensitive report.
97
+ Report security-sensitive issues privately to [akarim@humain.com](mailto:akarim@humain.com). Follow the HUMAIN Code CLI [Security Policy](https://gitlab.humain.com/humain/data-and-ai-modeling/standard/agentic/humain-terminal/-/blob/main/SECURITY.md). Do not open a public issue for a security-sensitive report.
98
98
 
99
99
  Expected local-agent behavior, prompt injection from untrusted content, lack of a built-in sandbox, and behavior from user-installed extensions or skills are generally outside the security boundary unless the report demonstrates a privilege-boundary bypass or access that the local user did not already have.
package/docs/settings.md CHANGED
@@ -85,12 +85,18 @@ Pooled credentials live in `~/.humain-terminal/agent/oauth-accounts.json`; `auth
85
85
 
86
86
  | Setting | Type | Default | Description |
87
87
  |---|---|---|---|
88
- | `defaultTools` | `string[]` | `read`, `bash`, `edit`, `write` | Tools enabled at startup. Plain names replace the defaults; `+name` adds a tool and `-name` removes one. An empty array disables all built-in tools but not extension or SDK tools. |
88
+ | `defaultTools` | `string[]` | `read`, `bash`, `jobs`, `edit`, `write`, `subagent`; eligible models also get `codemode` | Tools enabled at startup. Plain names replace the defaults; `+name` adds a tool and `-name` removes one. An empty array disables all built-in tools but not extension or SDK tools. |
89
+ | `bashOutputHeadTail` | boolean | `false` | Opt in to an 8 KiB head-and-tail cap for model-facing bash output. `HUMAIN_TERMINAL_BASH_OUTPUT_HEAD_TAIL=1` enables it; `=0` disables it, overriding this setting. Other values are ignored. |
90
+ | `bashOutputCleanup` | boolean | `false` | Opt in to deterministic cleanup of model-facing bash output before size limits. `HUMAIN_TERMINAL_BASH_OUTPUT_CLEANUP=1` enables it; `=0` disables it, overriding this setting. Other values are ignored. |
89
91
  | `codemode.mode` | `"on"` \| `"only"` | `"on"` | How the `codemode` tool presents tools while it is active. `on`: declared tools get a note on calling them from scripts appended to their description, and `codemode` lists only tools that are not declared. `only`: `codemode` lists every tool scripts can call, and active built-in and extension tools are hidden from the model, so it reaches them through `codemode`. |
90
92
  | `codemode.flowImplementer` | `"only"` \| `"off"` | `"only"` | Tools of the Flow SMALL/MEDIUM implementer and its repair rounds. `only`: `codemode` with `codemode.mode: "only"`. `off`: the plain tool list. `HUMAIN_FLOW_IMPLEMENTER_CODEMODE=only\|off` overrides it. See [Flow](flow.md#codemode-only-implementer). |
91
93
  | `codemode.inlineBudget` | number | `3000` | Estimated tokens (characters / 4) the `codemode` tool's description may spend on tool declarations. Tools that do not fit are left out and found with `searchTools()`. `0` lists only namespaces. |
92
94
 
93
- Available built-in tools are `read`, `bash`, `powershell`, `edit`, `write`, `grep`, `find`, and `ls`. `defaultTools` can also name `codemode` and `tool_search`, which built-in extensions register inactive, and other extension tools registered inactive.
95
+ With `bashOutputHeadTail` enabled, bash retains at most 8,192 content bytes: up to 4,096 bytes each from the head and tail, with at most 2,000 combined lines and UTF-8-safe cut points. Small outputs are untouched. The omission marker between the retained sections reports omitted bytes, points to the saved full output, explains how to retrieve it, and warns not to infer success from truncated output. Exit, timeout and abort status lines remain outside the clipped body. Structured codemode output keeps its existing 1 MiB contract; PowerShell and user `!`/`!!` commands are unchanged. With the option disabled, existing bash output behavior is unchanged. There is no CLI flag. See [Bash output limits](usage.md#bash-output-limits).
96
+
97
+ With `bashOutputCleanup` enabled, model-facing foreground bash text strips non-content terminal control sequences, resolves carriage-return overwrites, collapses consecutive identical lines with a count marker, and collapses repeated blank lines. Cleanup runs before output size limits, including the optional head-and-tail cap. Every enabled foreground result includes a cleanup marker and a saved raw-output file, even when no bytes are removed. Retrieve it with `read` using offset/limit or by searching the saved file; saved output keeps its raw bytes. The marker is outside the content size limit. Cleanup uses eight-column tab stops and grapheme cell widths for carriage-return overwrites and erase-in-line; other cursor movements are removed, not emulated. It buffers the current line and last identical-line run, so memory follows the largest pending line and streaming previews wait for completed runs. This is not a full-screen terminal emulator. Exit, timeout and abort status lines remain unchanged. Cleanup applies only to bash: structured results consumed by codemode scripts, file reads and edits, `grep`, `find`, `ls`, PowerShell, and user `!`/`!!` commands are unchanged. With cleanup off, existing output behavior is unchanged. There is no cross-call deduplication, summarization, model call, or CLI flag. Background bash returns a job handle; neither foreground cleanup nor the foreground cap transforms the raw capture read through `jobs`.
98
+
99
+ Available built-in tools are `read`, `bash`, `jobs`, `powershell`, `edit`, `write`, `grep`, `find`, and `ls`. `defaultTools` can also name `codemode`, `tool_search`, and other extension tools registered inactive. When its extension is loaded, `codemode` is active by default for grammar-capable GPT-5 and newer OpenAI models, in mode `on`. Turn that default off with `"defaultTools": ["-codemode"]`. Explicit selections win; changing models does not recompute the selection. See [Default activation](codemode.md#default-activation), including MCP's separate auto-activation policy.
94
100
 
95
101
  A list of only `+name` and `-name` entries changes the inherited selection instead of replacing it. For example, this enables `codemode` next to the default tools:
96
102
 
@@ -183,7 +189,7 @@ See [Themes](themes.md) and [Terminal Setup](terminal-setup.md) for format and p
183
189
  | `transport` | `"auto" \| "sse" \| "websocket" \| "websocket-cached"` | `"auto"` | Preferred transport for AI providers that support multiple transports. |
184
190
  | `httpProxy` | string | None | Proxy URL applied as `HTTP_PROXY` and `HTTPS_PROXY` for HUMAIN Code CLI-managed HTTP clients. **Can only be set in agent-directory settings.** |
185
191
  | `httpIdleTimeoutMs` | number \| `"disabled"` | `300000` | HTTP header and body idle timeout in milliseconds. Set to `0` or `"disabled"` to disable. |
186
- | `noProgressTimeoutMs` | positive integer | `120000` | Abort model streams after this many milliseconds without meaningful progress. Range: `1`–`2147483647`; cannot be disabled. |
192
+ | `noProgressTimeoutMs` | positive integer | `120000` | Abort model streams after this many milliseconds without meaningful progress. Range: `1`–`2147483647`; cannot be disabled. When unset, HUMAIN Code account requests use `330000`; a configured value applies to every provider. |
187
193
  | `websocketConnectTimeoutMs` | number \| `"disabled"` | `15000` | WebSocket connection timeout in milliseconds. Set to `0` or `"disabled"` to disable. |
188
194
  | `retry.enabled` | boolean | `true` | Enable automatic agent-level retry for transient failures. |
189
195
  | `retry.maxRetries` | number | `3` | Maximum agent-level retry attempts. |
@@ -228,6 +234,7 @@ The built-in extensions are named `builtin:mcp`, `builtin:llama.cpp`, `builtin:c
228
234
  | Setting | Type | Default | Description |
229
235
  |---|---|---|---|
230
236
  | `collapseChangelog` | boolean | `false` | Show a condensed changelog after an update. Also condenses extension package changelogs to one line per package. |
231
- | `enableInstallTelemetry` | boolean | `true` | Enable anonymous install/update reporting and selected provider attribution headers. Does not control update checks. |
232
- | `enableAnalytics` | boolean | `false` | Opt in to analytics data sharing. Currently used only by the experimental first-run setup. |
237
+ | `enableInstallTelemetry` | boolean | `true` | Enable version observations and selected provider attribution headers. Does not control update checks or automatic adoption/performance metadata. |
233
238
  | `warnings.anthropicExtraUsage` | boolean | `true` | Warn when Anthropic subscription authentication may use paid extra usage. |
239
+
240
+ Automatic adoption/performance metadata uses the separate [metadata policy](../README.md#metadata-disclosure). Legacy `enableAnalytics` and `trackingId` no longer control collection and are never reused as metadata identity. The global-only `hcodeMetadataDisclosureVersion` records disclosure acknowledgment, not consent. Explicit `HUMAIN_TERMINAL_OFFLINE` or `PI_OFFLINE` suppresses metadata delivery and version observations.
package/docs/skills.md CHANGED
@@ -42,6 +42,8 @@ Use relative paths from the skill directory when referring to bundled files. HUM
42
42
 
43
43
  At startup, HUMAIN Code CLI scans configured skill locations and adds each skill’s name, description, and path to the system prompt. It does not add the full instructions.
44
44
 
45
+ `--no-skills` disables automatic skill loading, including skills contributed by bundled modules or extensions. Explicit `--skill <path>` selections still load. SDK hosts get the same behavior with `DefaultResourceLoader({ ..., noSkills: true })`; `additionalSkillPaths` remain explicit selections.
46
+
45
47
  When a task matches, the model reads `SKILL.md` and follows its instructions. This keeps detailed guidance out of context until it is needed. A model might fail to load a relevant skill, so use `/skill:name` when you need to force it.
46
48
 
47
49
  Arguments after `/skill:name` are appended to the loaded instructions as a user request:
@@ -34,9 +34,11 @@ Extensions, prompt templates, and skills can add commands. The command menu in H
34
34
 
35
35
  ### /usage
36
36
 
37
- `/usage` opens an interactive-only, full-terminal overlay through `ctx.ui.custom`, independent of extension widgets and input dock height. It defaults to **Accounts** when saved Codex or Claude OAuth accounts exist, otherwise **Session**. Accounts appear in a provider-grouped list with selected-account details, not a truncated tab strip. They are shown regardless of the selected model, provider or API-key use. These are subscription limits, not API-key quotas; other providers' subscription limits are not shown. **Session** shows tokens, cost, context use and duration.
37
+ In interactive mode, `/usage` opens a full-terminal overlay through `ctx.ui.custom`, independent of extension widgets and input dock height. It defaults to **Accounts** when saved Codex or Claude OAuth accounts exist, otherwise **Session**. Accounts appear in a provider-grouped list with selected-account details, not a truncated tab strip. They are shown regardless of the selected model, provider or API-key use. These are subscription limits, not API-key quotas; other providers' subscription limits are not shown. **Session** shows tokens, cost, context use and duration.
38
38
 
39
- Default controls (all configurable in [keybindings.json](keybindings.md#usage-popup)):
39
+ `humain-code -p "/usage"` prints an aligned, read-only snapshot of session statistics and every saved Codex and Claude account's reported limits. `humain-code --mode json "/usage"` emits a JSONL record with `type: "usage"`, `session` and `accounts`; each account includes its label, active status and complete usage overview. Noninteractive snapshots cannot redeem resets, open billing pages or switch accounts. RPC does not support this command.
40
+
41
+ Default interactive controls (all configurable in [keybindings.json](keybindings.md#usage-popup)):
40
42
 
41
43
  - **a** opens Accounts; **s** opens Session.
42
44
  - **Up/Down** selects an account; **Enter** focuses its details. **Esc** returns to the account list, or closes from the list or Session.
@@ -51,7 +53,7 @@ Account results appear progressively, with at most three lookups at once and a 1
51
53
  Each limit window shows its percentage used and reset time when reported. Weekly allowance, saved resets and paid credits are separate facts:
52
54
 
53
55
  - **OpenAI Codex (ChatGPT subscription):** reads every window from `https://chatgpt.com/backend-api/wham/usage`, the same route `/accounts` reads. The 5h and weekly windows appear first, then provider-named additional limits and the code review limit. Reached limits use the error color. Paid balances accept validated string or numeric amounts in Codex's native **credits**, not dollars. Missing or malformed balances remain unavailable; explicit provider flags can report unlimited or no credits.
54
- - **Claude subscription:** shows 5h, weekly, weekly Opus, weekly Sonnet and weekly OAuth apps limits, plus extra-usage percentage when enabled. Anthropic's undocumented `https://api.anthropic.com/api/oauth/usage?cedar_ember=1` endpoint is read-only, uses the selected account's token without redirects, truthfully identifies HUMAIN, caches results per account for 60 seconds and honors `Retry-After`. Its extra-usage response proves enabled/disabled status and reported percentage only, not a purchased balance or currency units. Paid balance, monthly spending amounts and auto-reload status remain unavailable unless verified; enablement does not mean paid credits exist.
56
+ - **Claude subscription:** shows the known 5h, weekly, weekly Opus, weekly Sonnet and weekly OAuth apps limits first, followed by up to eight additional percentage limits in response order, plus extra-usage percentage when enabled. Additional keys must use only lowercase letters, digits and underscores and be at most 64 characters. Labels turn `seven_day_<name>` into `Weekly <Name>`, `five_hour_<name>` into `5h <Name>`, and other keys into title-cased words (for example, `seven_day_fable_5` becomes `Weekly Fable 5`); the actual Fable key is unconfirmed. Reset-grant and credit metadata are not percentage windows. The same rules apply to Claude Code's cached copy. Anthropic's undocumented `https://api.anthropic.com/api/oauth/usage?cedar_ember=1` endpoint is read-only, uses the selected account's token without redirects, truthfully identifies HUMAIN, caches results per account for 60 seconds and honors `Retry-After`. Its extra-usage response proves enabled/disabled status and reported percentage only, not a purchased balance or currency units. Paid balance, monthly spending amounts and auto-reload status remain unavailable unless verified; enablement does not mean paid credits exist.
55
57
 
56
58
  If live Claude limits are unavailable, Claude Code's cached bars in `~/.claude.json` are used only when the provider-issued Claude credential `accountId` UUID matches `oauthAccount.accountUuid`. Editable pool labels and emails never establish a match; an unknown UUID refuses the cache. Cached bars show their age; the live failure reason appears only when that fallback also fails. Cached data never supplies reset eligibility.
57
59
 
package/docs/usage.md CHANGED
@@ -32,6 +32,35 @@ The startup header lists the instructions and resources HUMAIN Code CLI loaded.
32
32
 
33
33
  HUMAIN Code CLI does not ask before every tool call. Review commands and changed files, and use a sandbox for untrusted or unattended work. See [Security](security.md).
34
34
 
35
+ The model's foreground `bash` tool stops commands after 120 seconds unless the call sets `timeout` in seconds. Pass a larger `timeout` for commands that need longer. This default applies in every mode, including bash calls through codemode; user `!` and `!!` commands keep their existing behavior.
36
+
37
+ On Linux and macOS, for servers, watchers, builds and solvers that take minutes, use `bash({command: "...", background: true})`. It returns a session-local `job_id` immediately and captures output to a file. Background work has no default timeout; an explicit `timeout` still applies. The companion `jobs` tool supports `list`, `read`, `wait`, and `kill` actions:
38
+
39
+ ```js
40
+ const started = await tools.bash({command: "npm run dev", background: true});
41
+ text(await tools.jobs({action: "wait", job_id: started.job_id, timeout: 5}));
42
+ text(await tools.jobs({action: "read", job_id: started.job_id}));
43
+ text(await tools.jobs({action: "kill", job_id: started.job_id}));
44
+ ```
45
+
46
+ These calls work through codemode, including mode `only`. `read` and `wait` return only new output, bounded to 2,000 lines / 50 KB per result. A wait defaults to 30 seconds; reaching its timeout returns the running status without killing the job. With `--time-limit`, waits stop at the remaining budget minus the 20-second reserve, with no five-second floor.
47
+
48
+ Each session allows four running jobs and retains up to 32 job records. Each job captures up to 10 MiB; further output is discarded and reported. Aborting, replacing, or disposing the session terminates its jobs and their children. Jobs survive `/reload`, but do not persist across application restarts. Local Windows background starts fail without spawning a process: the current process-tree helpers cannot safely retain descendants after their shell exits. Use WSL's Linux CLI for background jobs. The `jobs` tool is enabled alongside `bash` by default; explicit tool selections must include both.
49
+
50
+ For unattended print, JSON or RPC work, pass `--time-limit <seconds>` (a positive integer), for example `humain-code -p --time-limit 1620 "Fix the failing test"`. The budget starts at session creation. The model receives the total limit once and remaining-time reminders at 50% and 85% elapsed. Foreground bash timeouts are capped to the remaining budget minus 20 seconds, with a five-second floor. The caller still enforces the deadline; this option neither kills the process nor changes its exit code. It applies only to that session, not subagents or Flow children, and is rejected in the terminal UI. See [Headless time budget](cli.md#headless-time-budget).
51
+
52
+ ### Bash output limits
53
+
54
+ By default, model-facing bash output keeps its existing tail-only limit of 2,000 lines or 50 KiB. To trial smaller results, set `"bashOutputHeadTail": true` in `settings.json`, or launch with `HUMAIN_TERMINAL_BASH_OUTPUT_HEAD_TAIL=1`. The environment value `1` enables the trial and `0` disables it, overriding the setting; other values are ignored. The setting is off by default and has no CLI flag.
55
+
56
+ The trial retains at most 8,192 content bytes: up to 4,096 bytes from the start and 4,096 from the end, with at most 2,000 combined lines. Cut points preserve UTF-8, including for a single long line; small outputs are untouched. The full output is saved as before. An omission marker separates the retained sections:
57
+
58
+ ```text
59
+ [... <N> bytes omitted; showing head and tail (8 KiB / 2,000-line limit). Full output: <path>. Use read with offset/limit, or grep the saved file. Do not infer success from truncated output.]
60
+ ```
61
+
62
+ The content cap excludes the marker and exit, timeout and abort status lines. Inspect the saved file with `read` and `offset`/`limit`, or grep it, before treating clipped output as evidence of success. Structured bash results for codemode callers retain their existing 1 MiB contract. PowerShell and user `!`/`!!` commands are unchanged. See [Tools settings](settings.md#tools).
63
+
35
64
  ## Change direction
36
65
 
37
66
  You can send more input while HUMAIN Code CLI is working:
@@ -8,13 +8,13 @@
8
8
  "name": "pi-extension-custom-provider-anthropic",
9
9
  "version": "1.5.0",
10
10
  "dependencies": {
11
- "@anthropic-ai/sdk": "1.6.0"
11
+ "@anthropic-ai/sdk": "1.8.0"
12
12
  }
13
13
  },
14
14
  "node_modules/@anthropic-ai/sdk": {
15
- "version": "1.6.0",
16
- "resolved": "https://registry.npmjs.org/@anthropic-ai/sdk/-/sdk-1.6.0.tgz",
17
- "integrity": "sha512-XqiO/46n8S6So8jQ/6/uNCkHntyW6QHHs1gZ+hlwTx1fWDr929g4VmwIXfdMVk7SuBWNdQvAlwyi1G3t6SEIuQ==",
15
+ "version": "1.8.0",
16
+ "resolved": "https://registry.npmjs.org/@anthropic-ai/sdk/-/sdk-1.8.0.tgz",
17
+ "integrity": "sha512-yDOArk2+Qpd/djEKmZjrv7JZ+pn5iBHARJ9PAdvfhGf4H5wNqTgY/2K0/yDKdQdm8G8hrNQchMlBAHpPK7yBfg==",
18
18
  "license": "Apache-2.0",
19
19
  "dependencies": {
20
20
  "@opentelemetry/api": "^1.4.1",
@@ -14,6 +14,6 @@
14
14
  ]
15
15
  },
16
16
  "dependencies": {
17
- "@anthropic-ai/sdk": "1.6.0"
17
+ "@anthropic-ai/sdk": "1.8.0"
18
18
  }
19
19
  }
@@ -202,6 +202,19 @@
202
202
  "@humain/flow": [
203
203
  "../../../packages/flow/src/index.ts"
204
204
  ],
205
+ "@humain/flow/extension": ["../../../packages/flow/src/extension.ts"],
206
+ "@humain/flow/core": ["../../../packages/flow/src/public/core.ts"],
207
+ "@humain/flow/dispatch": ["../../../packages/flow/src/public/dispatch.ts"],
208
+ "@humain/flow/executor": ["../../../packages/flow/src/public/executor.ts"],
209
+ "@humain/flow/pipeline": ["../../../packages/flow/src/public/pipeline.ts"],
210
+ "@humain/flow/recovery": ["../../../packages/flow/src/public/recovery.ts"],
211
+ "@humain/flow/runtime": ["../../../packages/flow/src/public/runtime.ts"],
212
+ "@humain/flow/telemetry": ["../../../packages/flow/src/public/telemetry.ts"],
213
+ "@humain/orchestrate": ["../../../packages/orchestrate/src/index.ts"],
214
+ "@humain/orchestrate/extension": ["../../../packages/orchestrate/src/extension.ts"],
215
+ "@humain/humain-code-contracts/run-outcome": [
216
+ "../../../packages/humain-code-contracts/src/run-outcome.ts"
217
+ ],
205
218
  "@humain/humain-code-contracts/rpc": [
206
219
  "../../../packages/humain-code-contracts/src/rpc.ts"
207
220
  ],
@@ -1,26 +1,26 @@
1
1
  {
2
2
  "name": "@humain/humain-code",
3
- "version": "0.6.2",
3
+ "version": "0.7.0",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@humain/humain-code",
9
- "version": "0.6.2",
9
+ "version": "0.7.0",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
- "@humain/humain-code-contracts": "0.4.20",
12
+ "@humain/humain-code-contracts": "0.4.21",
13
13
  "@aws-sdk/client-bedrock-runtime": "3.1164.0",
14
14
  "@aws-sdk/client-cloudwatch": "3.1164.0",
15
- "@earendil-works/pi-agent-core": "1.5.0",
16
- "@earendil-works/pi-ai": "1.5.0",
17
- "@earendil-works/pi-codemode": "1.5.0",
18
- "@earendil-works/pi-mcp": "1.5.0",
19
- "@earendil-works/pi-tui": "1.5.0",
15
+ "@earendil-works/pi-agent-core": "1.5.2",
16
+ "@earendil-works/pi-ai": "1.5.2",
17
+ "@earendil-works/pi-codemode": "1.5.2",
18
+ "@earendil-works/pi-mcp": "1.5.2",
19
+ "@earendil-works/pi-tui": "1.5.2",
20
20
  "@mozilla/readability": "0.6.0",
21
21
  "@silvia-odwyer/photon-node": "0.3.4",
22
22
  "@smithy/node-http-handler": "4.14.2",
23
- "brace-expansion": "5.0.12",
23
+ "brace-expansion": "5.0.13",
24
24
  "chalk": "6.0.1",
25
25
  "cross-spawn": "7.0.6",
26
26
  "defuddle": "0.19.6",
@@ -34,7 +34,7 @@
34
34
  "https-proxy-agent": "9.1.0",
35
35
  "jiti": "2.7.0",
36
36
  "linkedom": "0.18.15",
37
- "minimatch": "11.0.5",
37
+ "minimatch": "11.0.8",
38
38
  "p-limit": "7.3.3",
39
39
  "partial-json": "0.1.7",
40
40
  "promise.try": "2.0.2",
@@ -42,11 +42,11 @@
42
42
  "quickjs-wasi": "3.6.4",
43
43
  "semver": "7.8.6",
44
44
  "turndown": "7.2.5",
45
- "typebox": "1.4.5",
45
+ "typebox": "1.4.6",
46
46
  "undici": "8.12.4",
47
47
  "unpdf": "2.1.0",
48
48
  "yaml": "2.9.1",
49
- "@earendil-works/chord": "1.5.0"
49
+ "@earendil-works/chord": "1.5.2"
50
50
  },
51
51
  "optionalDependencies": {
52
52
  "@mariozechner/clipboard": "0.3.9"
@@ -66,9 +66,9 @@
66
66
  }
67
67
  },
68
68
  "node_modules/@anthropic-ai/sdk": {
69
- "version": "1.6.0",
70
- "resolved": "https://registry.npmjs.org/@anthropic-ai/sdk/-/sdk-1.6.0.tgz",
71
- "integrity": "sha512-XqiO/46n8S6So8jQ/6/uNCkHntyW6QHHs1gZ+hlwTx1fWDr929g4VmwIXfdMVk7SuBWNdQvAlwyi1G3t6SEIuQ==",
69
+ "version": "1.8.0",
70
+ "resolved": "https://registry.npmjs.org/@anthropic-ai/sdk/-/sdk-1.8.0.tgz",
71
+ "integrity": "sha512-yDOArk2+Qpd/djEKmZjrv7JZ+pn5iBHARJ9PAdvfhGf4H5wNqTgY/2K0/yDKdQdm8G8hrNQchMlBAHpPK7yBfg==",
72
72
  "license": "Apache-2.0",
73
73
  "dependencies": {
74
74
  "@opentelemetry/api": "^1.4.1",
@@ -441,16 +441,16 @@
441
441
  }
442
442
  },
443
443
  "node_modules/@earendil-works/chord": {
444
- "version": "1.5.0",
445
- "resolved": "https://registry.npmjs.org/@earendil-works/chord/-/chord-1.5.0.tgz",
444
+ "version": "1.5.2",
445
+ "resolved": "https://registry.npmjs.org/@earendil-works/chord/-/chord-1.5.2.tgz",
446
446
  "license": "MIT",
447
447
  "dependencies": {
448
- "@earendil-works/pi-telemetry": "1.5.0",
448
+ "@earendil-works/pi-telemetry": "1.5.2",
449
449
  "esbuild": "0.28.2",
450
- "@earendil-works/pi-schema": "1.5.0"
450
+ "@earendil-works/pi-schema": "1.5.2"
451
451
  },
452
452
  "peerDependencies": {
453
- "ws": "8.22.1",
453
+ "ws": "8.22.2",
454
454
  "esbuild": "0.28.2"
455
455
  },
456
456
  "peerDependenciesMeta": {
@@ -466,33 +466,33 @@
466
466
  }
467
467
  },
468
468
  "node_modules/@earendil-works/pi-agent-core": {
469
- "version": "1.5.0",
470
- "resolved": "https://registry.npmjs.org/@earendil-works/pi-agent-core/-/pi-agent-core-1.5.0.tgz",
469
+ "version": "1.5.2",
470
+ "resolved": "https://registry.npmjs.org/@earendil-works/pi-agent-core/-/pi-agent-core-1.5.2.tgz",
471
471
  "license": "MIT",
472
472
  "dependencies": {
473
- "@earendil-works/pi-ai": "1.5.0",
474
- "@earendil-works/pi-schema": "1.5.0"
473
+ "@earendil-works/pi-ai": "1.5.2",
474
+ "@earendil-works/pi-schema": "1.5.2"
475
475
  },
476
476
  "engines": {
477
477
  "node": ">=22.22.2"
478
478
  }
479
479
  },
480
480
  "node_modules/@earendil-works/pi-ai": {
481
- "version": "1.5.0",
482
- "resolved": "https://registry.npmjs.org/@earendil-works/pi-ai/-/pi-ai-1.5.0.tgz",
481
+ "version": "1.5.2",
482
+ "resolved": "https://registry.npmjs.org/@earendil-works/pi-ai/-/pi-ai-1.5.2.tgz",
483
483
  "license": "MIT",
484
484
  "dependencies": {
485
- "@anthropic-ai/sdk": "1.6.0",
485
+ "@anthropic-ai/sdk": "1.8.0",
486
486
  "@aws-sdk/client-bedrock-runtime": "3.1164.0",
487
- "@earendil-works/pi-telemetry": "1.5.0",
488
- "@google/genai": "3.0.0",
487
+ "@earendil-works/pi-telemetry": "1.5.2",
488
+ "@google/genai": "3.1.0",
489
489
  "@opentelemetry/api": "1.10.0",
490
490
  "@smithy/node-http-handler": "4.14.2",
491
491
  "http-proxy-agent": "9.1.0",
492
492
  "https-proxy-agent": "9.1.0",
493
- "openai": "7.53.0",
493
+ "openai": "7.55.0",
494
494
  "partial-json": "0.1.7",
495
- "@earendil-works/pi-schema": "1.5.0"
495
+ "@earendil-works/pi-schema": "1.5.2"
496
496
  },
497
497
  "bin": {
498
498
  "pi-ai": "dist/cli.js"
@@ -502,8 +502,8 @@
502
502
  }
503
503
  },
504
504
  "node_modules/@earendil-works/pi-codemode": {
505
- "version": "1.5.0",
506
- "resolved": "https://registry.npmjs.org/@earendil-works/pi-codemode/-/pi-codemode-1.5.0.tgz",
505
+ "version": "1.5.2",
506
+ "resolved": "https://registry.npmjs.org/@earendil-works/pi-codemode/-/pi-codemode-1.5.2.tgz",
507
507
  "license": "MIT",
508
508
  "dependencies": {
509
509
  "quickjs-wasi": "3.6.4"
@@ -519,8 +519,8 @@
519
519
  "license": "MIT"
520
520
  },
521
521
  "node_modules/@earendil-works/pi-mcp": {
522
- "version": "1.5.0",
523
- "resolved": "https://registry.npmjs.org/@earendil-works/pi-mcp/-/pi-mcp-1.5.0.tgz",
522
+ "version": "1.5.2",
523
+ "resolved": "https://registry.npmjs.org/@earendil-works/pi-mcp/-/pi-mcp-1.5.2.tgz",
524
524
  "license": "MIT",
525
525
  "dependencies": {
526
526
  "cross-spawn": "7.0.6"
@@ -530,28 +530,28 @@
530
530
  }
531
531
  },
532
532
  "node_modules/@earendil-works/pi-schema": {
533
- "version": "1.5.0",
534
- "resolved": "https://registry.npmjs.org/@earendil-works/pi-schema/-/pi-schema-1.5.0.tgz",
533
+ "version": "1.5.2",
534
+ "resolved": "https://registry.npmjs.org/@earendil-works/pi-schema/-/pi-schema-1.5.2.tgz",
535
535
  "license": "MIT",
536
536
  "engines": {
537
537
  "node": ">=22.19.0"
538
538
  }
539
539
  },
540
540
  "node_modules/@earendil-works/pi-telemetry": {
541
- "version": "1.5.0",
542
- "resolved": "https://registry.npmjs.org/@earendil-works/pi-telemetry/-/pi-telemetry-1.5.0.tgz",
541
+ "version": "1.5.2",
542
+ "resolved": "https://registry.npmjs.org/@earendil-works/pi-telemetry/-/pi-telemetry-1.5.2.tgz",
543
543
  "license": "MIT",
544
544
  "engines": {
545
545
  "node": ">=22.22.2"
546
546
  }
547
547
  },
548
548
  "node_modules/@earendil-works/pi-tui": {
549
- "version": "1.5.0",
550
- "resolved": "https://registry.npmjs.org/@earendil-works/pi-tui/-/pi-tui-1.5.0.tgz",
549
+ "version": "1.5.2",
550
+ "resolved": "https://registry.npmjs.org/@earendil-works/pi-tui/-/pi-tui-1.5.2.tgz",
551
551
  "license": "MIT",
552
552
  "dependencies": {
553
553
  "get-east-asian-width": "1.7.0",
554
- "marked": "18.1.3",
554
+ "marked": "18.2.0",
555
555
  "marked-cjk-friendly": "0.1.3"
556
556
  },
557
557
  "engines": {
@@ -975,9 +975,9 @@
975
975
  "optional": true
976
976
  },
977
977
  "node_modules/@google/genai": {
978
- "version": "3.0.0",
979
- "resolved": "https://registry.npmjs.org/@google/genai/-/genai-3.0.0.tgz",
980
- "integrity": "sha512-0o2uBXPWBNUu0jWg2Id5iBtCnsd7lnxKPQfnijKvNublG/zj40CToERvz/eyfNjzzXt2kwuvxpouLUrRCZ2WUQ==",
978
+ "version": "3.1.0",
979
+ "resolved": "https://registry.npmjs.org/@google/genai/-/genai-3.1.0.tgz",
980
+ "integrity": "sha512-fKLeRkpULBDox+b5wmm4UN6PsUw1v5kP+8vJF1aq/wSpiI2sV4AuDtL0uZqu91AH4lc25fZ8sDa6cyCQOFyaXg==",
981
981
  "license": "Apache-2.0",
982
982
  "dependencies": {
983
983
  "google-auth-library": "^10.3.0",
@@ -998,12 +998,12 @@
998
998
  }
999
999
  },
1000
1000
  "node_modules/@humain/humain-code-contracts": {
1001
- "version": "0.4.20",
1002
- "resolved": "https://registry.npmjs.org/@humain/humain-code-contracts/-/humain-code-contracts-0.4.20.tgz",
1003
- "integrity": "sha512-uuQ90hgxDuReL8ryk6vITUhvsUH5f1V0tKZQBeh44gEjTZIogq27ggr+dYHeE3Sm0LUcHkeFJ+HJuOu/+vit5w==",
1001
+ "version": "0.4.21",
1002
+ "resolved": "https://registry.npmjs.org/@humain/humain-code-contracts/-/humain-code-contracts-0.4.21.tgz",
1003
+ "integrity": "sha512-B+smrlVcQyxV3ThxPGJkCilHSKYfGcjmcU40jz+FbQ6Gu9C2hqHFKZYE5cKI6/JWhtpr809ckw6fivNbRREvSQ==",
1004
1004
  "license": "MIT",
1005
1005
  "dependencies": {
1006
- "typebox": "1.4.5"
1006
+ "typebox": "1.4.6"
1007
1007
  },
1008
1008
  "engines": {
1009
1009
  "node": ">=22.22.2"
@@ -1544,9 +1544,9 @@
1544
1544
  "license": "MIT"
1545
1545
  },
1546
1546
  "node_modules/brace-expansion": {
1547
- "version": "5.0.12",
1548
- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.12.tgz",
1549
- "integrity": "sha512-YovQ3rzhaLMIrDjNDMkNS01tea93qhEhG5xy8f6+R0l+dw3Ki+5sCoIoI942iuLZTHWogWktgwVDhU09iNEimQ==",
1547
+ "version": "5.0.13",
1548
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.13.tgz",
1549
+ "integrity": "sha512-Vh3dmFbc4wZeox7M9I/0L9GfFd83Su4+yCck/OF9Gi/P/dAHn0RT7X4K9R7gMNMhDck3DvhR6QXsnQdjjgwNvQ==",
1550
1550
  "license": "MIT",
1551
1551
  "dependencies": {
1552
1552
  "balanced-match": "^4.0.2"
@@ -3132,9 +3132,9 @@
3132
3132
  }
3133
3133
  },
3134
3134
  "node_modules/marked": {
3135
- "version": "18.1.3",
3136
- "resolved": "https://registry.npmjs.org/marked/-/marked-18.1.3.tgz",
3137
- "integrity": "sha512-9ChMH8EVVgjgID49nsL6IWxWk5c6GtAsq/xw7U1ggkjkU5AGuv68oLTVlFRtvcUYZtpbNyjyvGo3YDu0fGapiw==",
3135
+ "version": "18.2.0",
3136
+ "resolved": "https://registry.npmjs.org/marked/-/marked-18.2.0.tgz",
3137
+ "integrity": "sha512-KaeL+tAbtvI930q7HE2PN5lYXYdT8EiSmxHlN6F3rsfb57wd5mp5W5TLazpdj4inTQBJdgjYwbs40W/0VUGU+Q==",
3138
3138
  "license": "MIT",
3139
3139
  "bin": {
3140
3140
  "marked": "bin/marked.js"
@@ -3174,9 +3174,9 @@
3174
3174
  }
3175
3175
  },
3176
3176
  "node_modules/minimatch": {
3177
- "version": "11.0.5",
3178
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-11.0.5.tgz",
3179
- "integrity": "sha512-snPlVppFcYWfLLFQGhDxUyBcHNtMlWmn3jtj7pEaO+DP8pqL0IvAzXhMYmn1z9ASNtgmwLBdFxSf4tMUB0OTKA==",
3177
+ "version": "11.0.8",
3178
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-11.0.8.tgz",
3179
+ "integrity": "sha512-nFQuYSTVrGvysVBps5Ih+0BdnYFN/Cj3C816r6+p7yK+FHrVLGE4O4N9AFwykrlNlvM2HYt+Rad1Uiro6h88Ig==",
3180
3180
  "license": "BlueOak-1.0.0",
3181
3181
  "dependencies": {
3182
3182
  "@isaacs/nonrecursive-glob-match": "^1.1.0",
@@ -3300,9 +3300,9 @@
3300
3300
  }
3301
3301
  },
3302
3302
  "node_modules/openai": {
3303
- "version": "7.53.0",
3304
- "resolved": "https://registry.npmjs.org/openai/-/openai-7.53.0.tgz",
3305
- "integrity": "sha512-PXiIZraFYMb2QYgTtWqDA16Oszj4fWRZNn7qLIAddmiJxM5uQPWBFaxp9O8MhLfTUOQ+iQsnFSRJhLPecsGovQ==",
3303
+ "version": "7.55.0",
3304
+ "resolved": "https://registry.npmjs.org/openai/-/openai-7.55.0.tgz",
3305
+ "integrity": "sha512-0r4snVSRN46m4wL2vXCW5Xw6CKGPbdNI8t79KZOpe8GKKPmhL8peDXN8YOY/2ipsOVWSfsP/vgkLjTmWB+kMug==",
3306
3306
  "license": "Apache-2.0",
3307
3307
  "peerDependencies": {
3308
3308
  "@aws-sdk/credential-provider-node": ">=3.972.0 <4",
@@ -3910,9 +3910,9 @@
3910
3910
  }
3911
3911
  },
3912
3912
  "node_modules/typebox": {
3913
- "version": "1.4.5",
3914
- "resolved": "https://registry.npmjs.org/typebox/-/typebox-1.4.5.tgz",
3915
- "integrity": "sha512-cRcb2hVtmv4XEQlXpKsEHYAjCHMKrhl1DFnCR50JiqUsd54OGkipWGgeedUVbAzBlbIFnQN9AULbcIe2mRuVnA==",
3913
+ "version": "1.4.6",
3914
+ "resolved": "https://registry.npmjs.org/typebox/-/typebox-1.4.6.tgz",
3915
+ "integrity": "sha512-Yh8Mi4hzD7gqcuv9ZIk6HK1KVJKubTlfxaNxkrYK35HCvxoCjCuWVr8cBjQ/ChfA7yliPteJEBWHGFVGWDuF5Q==",
3916
3916
  "license": "MIT"
3917
3917
  },
3918
3918
  "node_modules/typed-array-buffer": {
@@ -4154,9 +4154,9 @@
4154
4154
  }
4155
4155
  },
4156
4156
  "node_modules/ws": {
4157
- "version": "8.22.1",
4158
- "resolved": "https://registry.npmjs.org/ws/-/ws-8.22.1.tgz",
4159
- "integrity": "sha512-oyL6OPYme/CmiFvNuGzeoxCJ4nOrZE2O1FwM9MWM1AsGri6nLXB2pg+lNA8aLeXMSav0J6eIVS1j6vUPzUtK9g==",
4157
+ "version": "8.22.2",
4158
+ "resolved": "https://registry.npmjs.org/ws/-/ws-8.22.2.tgz",
4159
+ "integrity": "sha512-/rEZ2ejown2N5gxVTHUu9bVVC7ttu0/Tgzf5hbTOixR3Fs7mbbXgn2DbdbcKgJOmpQMtrIUWivtYuVMnp/W/yA==",
4160
4160
  "license": "MIT",
4161
4161
  "peerDependencies": {
4162
4162
  "bufferutil": "^4.0.1",