@cortex-agent/server 2026.10.28 → 2026.12.5

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 (401) hide show
  1. package/LICENSE +255 -21
  2. package/README.md +36 -7
  3. package/THIRD_PARTY_NOTICES.txt +1990 -593
  4. package/defaults/hooks/cortex-hook-api.mjs +2 -1
  5. package/defaults/hooks/quota-stop.mjs +37 -0
  6. package/defaults/plugins/cortex-system/skills/client-manage/SKILL.md +23 -15
  7. package/defaults/prompts/clean-workspace.md +5 -0
  8. package/dist/agent-adapter/claude/remote-mcp-proxy.js +1 -1
  9. package/dist/chunks/agent-runner-LVZVKBZX.js +4 -0
  10. package/dist/chunks/anthropic-messages-TT6454AA.js +8 -0
  11. package/dist/chunks/azure-openai-responses-52LR2XZD.js +4 -0
  12. package/dist/chunks/bedrock-converse-stream-EOZGYUNY.js +60 -0
  13. package/dist/chunks/bowser-MLGGLXTZ.js +20 -0
  14. package/dist/chunks/child-runner-SMG2VOU5.js +4 -0
  15. package/dist/chunks/chunk-24DH4IR5.js +4 -0
  16. package/dist/chunks/chunk-25XKBRDT.js +70 -0
  17. package/dist/chunks/chunk-2ABET62E.js +23 -0
  18. package/dist/chunks/chunk-2BVUA256.js +4 -0
  19. package/dist/chunks/{chunk-LEUENXI2.js → chunk-2WFL62UO.js} +1 -1
  20. package/dist/chunks/{chunk-OZGBWAT2.js → chunk-2YTYYG4K.js} +1 -1
  21. package/dist/chunks/chunk-335SSANX.js +4 -0
  22. package/dist/chunks/chunk-377OPTXX.js +17 -0
  23. package/dist/chunks/chunk-3EZNVLBF.js +129 -0
  24. package/dist/chunks/chunk-3O6ZG5HA.js +7 -0
  25. package/dist/chunks/{chunk-6AKUD3CF.js → chunk-3XLHL5YT.js} +1 -1
  26. package/dist/chunks/chunk-4HRI75GU.js +4 -0
  27. package/dist/chunks/chunk-4JBYLRPM.js +57 -0
  28. package/dist/chunks/chunk-4KKV7VKE.js +4 -0
  29. package/dist/chunks/chunk-4KQHDDC5.js +4 -0
  30. package/dist/chunks/chunk-4SWD4JMP.js +33 -0
  31. package/dist/chunks/chunk-52VCLZS5.js +4 -0
  32. package/dist/chunks/chunk-54P7TSY3.js +10 -0
  33. package/dist/chunks/chunk-5DVSAXOI.js +7 -0
  34. package/dist/chunks/chunk-5F3A62YS.js +4 -0
  35. package/dist/chunks/{chunk-XNSSUVT6.js → chunk-5FHETFZM.js} +1 -1
  36. package/dist/chunks/{chunk-A34TDMIC.js → chunk-5LBLRAHS.js} +1 -1
  37. package/dist/chunks/chunk-5UYVNA3W.js +4 -0
  38. package/dist/chunks/chunk-6G3OYMCV.js +21 -0
  39. package/dist/chunks/chunk-7GGPYU5E.js +30 -0
  40. package/dist/chunks/chunk-7TYSMLUV.js +4 -0
  41. package/dist/chunks/chunk-7W7VYUTK.js +5 -0
  42. package/dist/chunks/chunk-AXYAZTTN.js +6 -0
  43. package/dist/chunks/{chunk-BGVHA2D4.js → chunk-B3NB243Z.js} +1 -1
  44. package/dist/chunks/chunk-BKYP6AGM.js +8 -0
  45. package/dist/chunks/chunk-BVEDNESB.js +4 -0
  46. package/dist/chunks/chunk-BWDJS6A4.js +12 -0
  47. package/dist/chunks/chunk-C6YVF7EI.js +4 -0
  48. package/dist/chunks/chunk-CEJIYYVE.js +15 -0
  49. package/dist/chunks/chunk-CI2RHH74.js +50 -0
  50. package/dist/chunks/chunk-CMSOOLJB.js +4 -0
  51. package/dist/chunks/chunk-CSVTYYLP.js +4 -0
  52. package/dist/chunks/chunk-DE5EGVKG.js +6 -0
  53. package/dist/chunks/{chunk-E6BYRULL.js → chunk-DK3RPZOQ.js} +1 -1
  54. package/dist/chunks/{chunk-YPK2CAIZ.js → chunk-DK4UCK7L.js} +1 -1
  55. package/dist/chunks/chunk-DYLBVUAU.js +4 -0
  56. package/dist/chunks/chunk-FDC2GRBK.js +27 -0
  57. package/dist/chunks/chunk-FE7HH5JS.js +18 -0
  58. package/dist/chunks/chunk-FYD57YRO.js +436 -0
  59. package/dist/chunks/chunk-G264APQN.js +5 -0
  60. package/dist/chunks/chunk-G4JYZFEO.js +11 -0
  61. package/dist/chunks/chunk-GFFM56U2.js +4 -0
  62. package/dist/chunks/chunk-GOS3P7KS.js +132 -0
  63. package/dist/chunks/chunk-HVN37UXD.js +4 -0
  64. package/dist/chunks/chunk-IA6IODY3.js +4 -0
  65. package/dist/chunks/{chunk-HU6UIDEJ.js → chunk-IGZWZP7Z.js} +1 -1
  66. package/dist/chunks/{chunk-NR6U3WIZ.js → chunk-IJ7XFQMI.js} +1 -1
  67. package/dist/chunks/chunk-IMMGYDAB.js +6 -0
  68. package/dist/chunks/chunk-IOWBF7UK.js +10 -0
  69. package/dist/chunks/{chunk-HALUQ7ZF.js → chunk-ITGCWQFK.js} +1 -1
  70. package/dist/chunks/chunk-IVZ7QUEG.js +4 -0
  71. package/dist/chunks/{chunk-YAEVYJAR.js → chunk-IWY2HIFK.js} +1 -1
  72. package/dist/chunks/{chunk-KGJZAYQD.js → chunk-J7OBATRN.js} +1 -1
  73. package/dist/chunks/{chunk-QWAQHHRS.js → chunk-JGUEIW2W.js} +1 -1
  74. package/dist/chunks/chunk-JKL3AK5D.js +106 -0
  75. package/dist/chunks/chunk-JZ7U7RUK.js +351 -0
  76. package/dist/chunks/chunk-KJUQCCB5.js +4 -0
  77. package/dist/chunks/chunk-KST6OY76.js +10 -0
  78. package/dist/chunks/chunk-KZSAFVSY.js +129 -0
  79. package/dist/chunks/chunk-LD2ZSH3M.js +903 -0
  80. package/dist/chunks/chunk-LE6QPXN6.js +7 -0
  81. package/dist/chunks/chunk-LEAV3FFG.js +4 -0
  82. package/dist/chunks/chunk-LIIZI3HY.js +5 -0
  83. package/dist/chunks/chunk-LP72AF56.js +45 -0
  84. package/dist/chunks/{chunk-FXDIR3SQ.js → chunk-MJQ2D2OP.js} +1 -1
  85. package/dist/chunks/{chunk-6LZK4DDH.js → chunk-NHHR4DCF.js} +1 -1
  86. package/dist/chunks/chunk-NW4GW47L.js +4 -0
  87. package/dist/chunks/chunk-OALEJ6FG.js +60 -0
  88. package/dist/chunks/chunk-OIV4DIMB.js +4 -0
  89. package/dist/chunks/chunk-OJ37ZWBG.js +4 -0
  90. package/dist/chunks/chunk-OZXMPBUX.js +4 -0
  91. package/dist/chunks/{chunk-3THJYAEF.js → chunk-PG7452XE.js} +1 -1
  92. package/dist/chunks/chunk-PJCUB7YJ.js +4 -0
  93. package/dist/chunks/chunk-PTS3J4DQ.js +6 -0
  94. package/dist/chunks/{chunk-PXS5SHOV.js → chunk-PVVEEBUU.js} +1 -1
  95. package/dist/chunks/chunk-Q7BZLPBU.js +8 -0
  96. package/dist/chunks/{chunk-FOJQXLL2.js → chunk-QC66ZXPP.js} +1 -1
  97. package/dist/chunks/chunk-QXFWIL4C.js +4 -0
  98. package/dist/chunks/{chunk-PFMEUFJ7.js → chunk-R2CCD4OF.js} +1 -1
  99. package/dist/chunks/chunk-R6CGBSTC.js +22 -0
  100. package/dist/chunks/chunk-RG5GP4RB.js +5 -0
  101. package/dist/chunks/{chunk-D3NXKK2L.js → chunk-RW2F2QNP.js} +1 -1
  102. package/dist/chunks/{models-L5VF4I5O-XXNJYQMQ.js → chunk-RWPO3NZ3.js} +1 -1
  103. package/dist/chunks/chunk-SAJD4EKE.js +10 -0
  104. package/dist/chunks/chunk-SDUS2H3E.js +4 -0
  105. package/dist/chunks/chunk-SIHGKM4E.js +4 -0
  106. package/dist/chunks/chunk-SKHFU5DI.js +4 -0
  107. package/dist/chunks/{chunk-STUHNKQS.js → chunk-SM45TH22.js} +1 -1
  108. package/dist/chunks/chunk-T54CZKNJ.js +6 -0
  109. package/dist/chunks/chunk-TKFFQNAP.js +19 -0
  110. package/dist/chunks/chunk-TMV2ZDOI.js +18 -0
  111. package/dist/chunks/chunk-TRXLIL7V.js +4 -0
  112. package/dist/chunks/{chunk-SUFW24P4.js → chunk-UEEW2R4E.js} +1 -1
  113. package/dist/chunks/chunk-UHXPRU6G.js +10 -0
  114. package/dist/chunks/chunk-UPQVWHZ3.js +4 -0
  115. package/dist/chunks/{chunk-JERCOLY3.js → chunk-V35MFAUQ.js} +4 -6
  116. package/dist/chunks/chunk-V7K3KNDM.js +4 -0
  117. package/dist/chunks/chunk-VHX2GHBF.js +4 -0
  118. package/dist/chunks/chunk-VOAKRJ4R.js +4 -0
  119. package/dist/chunks/{chunk-X2GYYRVM.js → chunk-VW7TLY3P.js} +1 -1
  120. package/dist/chunks/chunk-W34AK4SK.js +65 -0
  121. package/dist/chunks/{chunk-REBNWCKI.js → chunk-WU7RNAZD.js} +1 -1
  122. package/dist/chunks/chunk-WZC4TDDM.js +6 -0
  123. package/dist/chunks/chunk-WZYS2HAK.js +4 -0
  124. package/dist/chunks/chunk-X2TKJ7KR.js +11 -0
  125. package/dist/chunks/{chunk-H2FP6DG4.js → chunk-X5ND4H4P.js} +1 -1
  126. package/dist/chunks/{chunk-4U7XXM4W.js → chunk-Y3AOGNDT.js} +1 -1
  127. package/dist/chunks/chunk-Y6DGVTKM.js +6 -0
  128. package/dist/chunks/{chunk-KENCMLRE.js → chunk-YAEHSSR4.js} +1 -1
  129. package/dist/chunks/chunk-YWPBE5LP.js +4 -0
  130. package/dist/chunks/chunk-ZAVX7G2M.js +15 -0
  131. package/dist/chunks/chunk-ZD2M73XA.js +19 -0
  132. package/dist/chunks/chunk-ZD4O6NPV.js +4 -0
  133. package/dist/chunks/chunk-ZNAMETPQ.js +4 -0
  134. package/dist/chunks/chunk-ZY6N5LVQ.js +4 -0
  135. package/dist/chunks/chunk-ZYQ4TDTT.js +81 -0
  136. package/dist/chunks/cli-VB2N7HEK.js +55 -0
  137. package/dist/chunks/cloudflare-workers-ai-system-one-YKU742EC.js +4 -0
  138. package/dist/chunks/context-CI2FKEQE.js +4 -0
  139. package/dist/chunks/cost-CZRRSIUF.js +5 -0
  140. package/dist/chunks/dist-QCNQN6DY.js +4 -0
  141. package/dist/chunks/easter-egg-3d-XR5S2O3T.js +4 -0
  142. package/dist/chunks/{event-streams-3JSFPOTZ.js → event-streams-AVE4MSS6.js} +1 -1
  143. package/dist/chunks/{execution-repo-ZLJTBWFC.js → execution-repo-5TLV2NM4.js} +1 -1
  144. package/dist/chunks/{executions-6ARGR3IO.js → executions-I3UUIGSL.js} +1 -1
  145. package/dist/chunks/file-Y5G56IUT.js +4 -0
  146. package/dist/chunks/github-copilot-BRU2SRRZ.js +4 -0
  147. package/dist/chunks/google-generative-ai-ZF5QEUZV.js +4 -0
  148. package/dist/chunks/google-vertex-4PJZZI3Y.js +4 -0
  149. package/dist/chunks/init-A6GY656J.js +4 -0
  150. package/dist/chunks/{install-cli-4IZCSDFZ.js → install-cli-FALWKQYO.js} +1 -1
  151. package/dist/chunks/{interaction-ask-G5T3H3CG.js → interaction-ask-O5HGF6CH.js} +1 -1
  152. package/dist/chunks/{interaction-plan-E5V42MUP.js → interaction-plan-JTVDN3BC.js} +1 -1
  153. package/dist/chunks/kimi-coding-ZCIBMDZ6.js +4 -0
  154. package/dist/chunks/{llama-cpp-classify-OTXZWCMW.js → llama-cpp-classify-NRUXAIGQ.js} +3 -3
  155. package/dist/chunks/local-client-stop-RS4AHNF4.js +4 -0
  156. package/dist/chunks/{memory-cli-PYOILNN5.js → memory-cli-DIT4DQF3.js} +1 -1
  157. package/dist/chunks/meta-JQH66YU7.js +4 -0
  158. package/dist/chunks/mistral-conversations-CXHOECUV.js +7 -0
  159. package/dist/chunks/model-resolver-GIBPYRKP.js +4 -0
  160. package/dist/chunks/monitor-Z2HKNY5E.js +4 -0
  161. package/dist/chunks/{node-PTK2HCDV.js → node-DAO3SX7O.js} +1 -1
  162. package/dist/chunks/{openai-codex-2REL6UQU.js → openai-codex-JULCKICT.js} +1 -1
  163. package/dist/chunks/openai-codex-responses-U6DGMGDK.js +12 -0
  164. package/dist/chunks/openai-completions-PP4XLLOM.js +9 -0
  165. package/dist/chunks/{openai-decisions-2N6ZRPZC.js → openai-decisions-JU6QQKEM.js} +1 -1
  166. package/dist/chunks/openai-responses-2SG757TL.js +6 -0
  167. package/dist/chunks/openrouter-images-32M7YZWC.js +4 -0
  168. package/dist/chunks/pi-messages-VSINMXN4.js +10 -0
  169. package/dist/chunks/radius-THYKWV4E.js +4 -0
  170. package/dist/chunks/remote-ops-2WBEFQ3E.js +14 -0
  171. package/dist/chunks/runner-5MKMRTIN.js +4 -0
  172. package/dist/chunks/runtime-DST3H5JP.js +4 -0
  173. package/dist/chunks/schedule-cli-V7Y2BBVY.js +4 -0
  174. package/dist/chunks/slack-R7SEJYMY.js +4 -0
  175. package/dist/chunks/start-ui-http-7K5JOLPU.js +43 -0
  176. package/dist/chunks/subagent-Z5IQ4L54.js +4 -0
  177. package/dist/chunks/{time-KEHDQT6K.js → time-P6PE52WL.js} +1 -1
  178. package/dist/chunks/tool-shims-YCXZWTST.js +4 -0
  179. package/dist/chunks/typesafe-system-one-M2DABJSZ.js +4 -0
  180. package/dist/chunks/ui-board-HQIE4RZG.js +5 -0
  181. package/dist/chunks/ui-decision-YBZDS4YW.js +4 -0
  182. package/dist/chunks/{ui-file-GVH53O3X.js → ui-file-SRD4ILBS.js} +1 -1
  183. package/dist/chunks/ui-view-Z25MTZT7.js +4 -0
  184. package/dist/chunks/virtual-modules-H4DXPJZB.js +4 -0
  185. package/dist/chunks/waitpoint-M6JZBSLT.js +5 -0
  186. package/dist/chunks/workers-SQ2R32TK.js +4 -0
  187. package/dist/client-bundle/client.mjs +273 -93
  188. package/dist/client-bundle/manifest.json +2 -2
  189. package/dist/core/pi-sdk.js +1 -1
  190. package/dist/domain/auth/cc-auth-cli.js +1 -1
  191. package/dist/domain/mcp/bundled-server.js +1 -1
  192. package/dist/domain/mcp/feishu/client.js +4 -0
  193. package/dist/entry/app.js +151 -559
  194. package/dist/entry/browser-cli.js +10 -10
  195. package/dist/entry/cli.js +1 -1
  196. package/dist/entry/cortex-cli.js +1 -1
  197. package/dist/entry/daemon.js +4 -4
  198. package/dist/entry/hook-cli.js +2 -2
  199. package/dist/entry/production-app-bootstrap.js +1 -1
  200. package/dist/entry/production-evidence-export-cli.js +1 -1
  201. package/dist/entry/signal-cli.js +2 -2
  202. package/dist/tui/index.js +41 -41
  203. package/package.json +3 -3
  204. package/vendor/pi/CHANGELOG.md +330 -0
  205. package/vendor/pi/dist/codemode-worker.js +2 -0
  206. package/vendor/pi/dist/core/export-html/ansi-to-html.js +57 -20
  207. package/vendor/pi/dist/core/export-html/template.css +9 -0
  208. package/vendor/pi/dist/core/export-html/template.js +166 -46
  209. package/vendor/pi/dist/core/export-html/tool-renderer.js +5 -3
  210. package/vendor/pi/dist/core/extensions/loader.js +1 -1
  211. package/vendor/pi/dist/extensions/codemode/execute.js +15 -13
  212. package/vendor/pi/dist/modes/interactive/theme/theme.js +36 -23
  213. package/vendor/pi/dist/utils/image-resize-worker.js +1 -1
  214. package/vendor/pi/dist/utils/image-resize.js +1 -1
  215. package/vendor/pi/docs/cli.md +35 -12
  216. package/vendor/pi/docs/custom-provider.md +2 -0
  217. package/vendor/pi/docs/environment-variables.md +2 -0
  218. package/vendor/pi/docs/extensions.md +3192 -225
  219. package/vendor/pi/docs/keybindings.md +2 -2
  220. package/vendor/pi/docs/llama-cpp.md +27 -19
  221. package/vendor/pi/docs/mcp.md +6 -4
  222. package/vendor/pi/docs/message-types.md +1 -1
  223. package/vendor/pi/docs/models-configuration.md +9 -3
  224. package/vendor/pi/docs/models.md +2 -1
  225. package/vendor/pi/docs/nvidia-rtx-llama-cpp.md +5 -5
  226. package/vendor/pi/docs/packages.md +24 -0
  227. package/vendor/pi/docs/prompt-templates.md +1 -1
  228. package/vendor/pi/docs/providers.md +4 -2
  229. package/vendor/pi/docs/quickstart.md +7 -3
  230. package/vendor/pi/docs/rpc-commands.md +1 -1
  231. package/vendor/pi/docs/rpc.md +4 -2
  232. package/vendor/pi/docs/sessions.md +17 -3
  233. package/vendor/pi/docs/settings.md +6 -5
  234. package/vendor/pi/docs/slash-commands.md +3 -2
  235. package/vendor/pi/docs/terminal-setup.md +3 -1
  236. package/vendor/pi/docs/tmux.md +6 -0
  237. package/vendor/pi/docs/tui.md +4 -0
  238. package/vendor/pi/docs/windows.md +27 -0
  239. package/vendor/pi/examples/extensions/README.md +2 -1
  240. package/vendor/pi/examples/extensions/custom-provider-anthropic/index.ts +27 -31
  241. package/vendor/pi/examples/extensions/custom-provider-anthropic/package-lock.json +2 -2
  242. package/vendor/pi/examples/extensions/custom-provider-anthropic/package.json +1 -1
  243. package/vendor/pi/examples/extensions/custom-provider-gitlab-duo/package.json +1 -1
  244. package/vendor/pi/examples/extensions/debug-provider.ts +2 -2
  245. package/vendor/pi/examples/extensions/gondolin/index.ts +4 -7
  246. package/vendor/pi/examples/extensions/gondolin/package-lock.json +19 -29
  247. package/vendor/pi/examples/extensions/gondolin/package.json +2 -2
  248. package/vendor/pi/examples/extensions/plan-mode/index.ts +23 -13
  249. package/vendor/pi/examples/extensions/plan-mode/utils.ts +42 -16
  250. package/vendor/pi/examples/extensions/preset.ts +2 -0
  251. package/vendor/pi/examples/extensions/reload-runtime.ts +17 -5
  252. package/vendor/pi/examples/extensions/subagent/README.md +14 -11
  253. package/vendor/pi/examples/extensions/subagent/index.ts +392 -171
  254. package/vendor/pi/examples/extensions/todo.ts +7 -0
  255. package/vendor/pi/examples/extensions/tools.ts +2 -0
  256. package/vendor/pi/examples/extensions/with-deps/package-lock.json +2 -2
  257. package/vendor/pi/examples/extensions/with-deps/package.json +1 -1
  258. package/vendor/pi/examples/tsconfig.json +208 -0
  259. package/vendor/pi/package.json +15 -16
  260. package/vendor/pi/schemas/models.schema.json +66 -37
  261. package/vendor/pi/schemas/settings.schema.json +18 -1
  262. package/vendor/pi-ai/bedrock.js +1 -1
  263. package/vendor/pi-ai/oauth-load.js +1 -1
  264. package/web/dist/assets/{board-math-css-BPXakv_3.js → board-math-css-DKX6FcUS.js} +1 -1
  265. package/web/dist/assets/index-D11wi0uG.js +540 -0
  266. package/web/dist/assets/index-JedYumhY.css +1 -0
  267. package/web/dist/assets/{index-WCm6wwmM.js → index-jl30Gy8P.js} +1 -1
  268. package/web/dist/assets/pdf-worker-DdZgk2mV.js +57 -0
  269. package/web/dist/assets/pdf.worker.min-Bz_KHX45.js +55 -0
  270. package/web/dist/index.html +2 -2
  271. package/web/dist/theme.css +22 -0
  272. package/dist/chunks/anthropic-messages-M3SMXACA.js +0 -8
  273. package/dist/chunks/api-GM53PHIL-GFHEXXE6.js +0 -4
  274. package/dist/chunks/azure-openai-responses-76YWXHSB.js +0 -4
  275. package/dist/chunks/bedrock-converse-stream-5UPX4NTQ.js +0 -58
  276. package/dist/chunks/child-runner-3GHOWGZP.js +0 -4
  277. package/dist/chunks/chunk-2ZNLUY2U.js +0 -128
  278. package/dist/chunks/chunk-3F6WW7HR.js +0 -13
  279. package/dist/chunks/chunk-3OKHUVEM.js +0 -7
  280. package/dist/chunks/chunk-3YHOCPQU.js +0 -10
  281. package/dist/chunks/chunk-4EX2JJWB.js +0 -4
  282. package/dist/chunks/chunk-4LLH5OWM.js +0 -10
  283. package/dist/chunks/chunk-52T37Y47.js +0 -8
  284. package/dist/chunks/chunk-7MU2AKNM.js +0 -4
  285. package/dist/chunks/chunk-AAA3UBIS.js +0 -4
  286. package/dist/chunks/chunk-ASYQHJVQ.js +0 -9
  287. package/dist/chunks/chunk-BKHDWCRT.js +0 -79
  288. package/dist/chunks/chunk-CQLH4UVX.js +0 -4
  289. package/dist/chunks/chunk-CVC66CFV.js +0 -33
  290. package/dist/chunks/chunk-D6UA4BZC.js +0 -19
  291. package/dist/chunks/chunk-DGMNI4AO.js +0 -4
  292. package/dist/chunks/chunk-DHSA5ACV.js +0 -125
  293. package/dist/chunks/chunk-DPQPXBTP.js +0 -68
  294. package/dist/chunks/chunk-DXBSQXJL.js +0 -18
  295. package/dist/chunks/chunk-E7ZMYIY6.js +0 -30
  296. package/dist/chunks/chunk-EQITBTJC.js +0 -10
  297. package/dist/chunks/chunk-EXJA5RIX.js +0 -357
  298. package/dist/chunks/chunk-FF7UELTU.js +0 -4
  299. package/dist/chunks/chunk-FH74NME3.js +0 -115
  300. package/dist/chunks/chunk-FOQ7VLIL.js +0 -17
  301. package/dist/chunks/chunk-FX6MOGLR.js +0 -11
  302. package/dist/chunks/chunk-G2V65UBA.js +0 -4
  303. package/dist/chunks/chunk-HGPBHTVD.js +0 -6
  304. package/dist/chunks/chunk-J5DVLUKY.js +0 -6
  305. package/dist/chunks/chunk-JW2HFMTF.js +0 -4
  306. package/dist/chunks/chunk-KDYEGGMW.js +0 -4
  307. package/dist/chunks/chunk-KIGMAATV.js +0 -23
  308. package/dist/chunks/chunk-KIU5FAPY.js +0 -5
  309. package/dist/chunks/chunk-KIWMQPH7.js +0 -739
  310. package/dist/chunks/chunk-L6VCIGWS.js +0 -11
  311. package/dist/chunks/chunk-LACGULCN.js +0 -10
  312. package/dist/chunks/chunk-LMSQZ6TQ.js +0 -4
  313. package/dist/chunks/chunk-MEPASGPP.js +0 -6
  314. package/dist/chunks/chunk-MFAEUHMV.js +0 -28
  315. package/dist/chunks/chunk-NAA7GF6Q.js +0 -5
  316. package/dist/chunks/chunk-NKDMKRSB.js +0 -68
  317. package/dist/chunks/chunk-NKXV32S6.js +0 -4
  318. package/dist/chunks/chunk-NVX5IPRN.js +0 -4
  319. package/dist/chunks/chunk-O3JW2F7D.js +0 -8
  320. package/dist/chunks/chunk-OE4KH3NJ.js +0 -4
  321. package/dist/chunks/chunk-OISO5JXB.js +0 -4
  322. package/dist/chunks/chunk-OPYXNSMY.js +0 -4
  323. package/dist/chunks/chunk-OSEIQ7SS.js +0 -4
  324. package/dist/chunks/chunk-P52RMIYX.js +0 -6
  325. package/dist/chunks/chunk-PBJ5MPPX.js +0 -60
  326. package/dist/chunks/chunk-PZMGBKUR.js +0 -13
  327. package/dist/chunks/chunk-PZMXHA6X.js +0 -9
  328. package/dist/chunks/chunk-Q7CE3UIE.js +0 -133
  329. package/dist/chunks/chunk-QBKCAIJG.js +0 -4
  330. package/dist/chunks/chunk-QEOFEETJ.js +0 -4
  331. package/dist/chunks/chunk-QUUEQRIT.js +0 -4
  332. package/dist/chunks/chunk-RA6HKFBV.js +0 -4
  333. package/dist/chunks/chunk-REPYBMQS.js +0 -4
  334. package/dist/chunks/chunk-SKHLZ6XY.js +0 -9
  335. package/dist/chunks/chunk-TAWLERZA.js +0 -4
  336. package/dist/chunks/chunk-TWAEABGG.js +0 -52
  337. package/dist/chunks/chunk-TZFLHVOQ.js +0 -7
  338. package/dist/chunks/chunk-UD3NMUHR.js +0 -12
  339. package/dist/chunks/chunk-UNVEZI57.js +0 -4
  340. package/dist/chunks/chunk-VQUPKMDR.js +0 -4
  341. package/dist/chunks/chunk-W25TB3PU.js +0 -4
  342. package/dist/chunks/chunk-W5LGYSPZ.js +0 -4
  343. package/dist/chunks/chunk-WEZWKMYU.js +0 -4
  344. package/dist/chunks/chunk-XAJLZR7C.js +0 -28
  345. package/dist/chunks/chunk-XH6FMP3N.js +0 -71
  346. package/dist/chunks/chunk-XSRZHN63.js +0 -4
  347. package/dist/chunks/chunk-Y3GFB5XM.js +0 -8
  348. package/dist/chunks/chunk-YG7OEPR2.js +0 -6
  349. package/dist/chunks/chunk-YHIWOGVL.js +0 -4
  350. package/dist/chunks/chunk-YKKEI5GI.js +0 -4
  351. package/dist/chunks/chunk-YZSHTWNM.js +0 -92
  352. package/dist/chunks/chunk-Z4H3VDHI.js +0 -4
  353. package/dist/chunks/cli-5DBTRMHU.js +0 -53
  354. package/dist/chunks/client-XOGYH5UR.js +0 -4
  355. package/dist/chunks/cloudflare-workers-ai-system-one-32JCFHI3.js +0 -4
  356. package/dist/chunks/config-DJSQI77S-335IXHSM.js +0 -4
  357. package/dist/chunks/context-VCQH5OB6.js +0 -4
  358. package/dist/chunks/cost-PGGFI7QJ.js +0 -5
  359. package/dist/chunks/dist-PUKMZ7GW.js +0 -4
  360. package/dist/chunks/easter-egg-3d-MO4MOEVF.js +0 -4
  361. package/dist/chunks/es5-VNTQPCKX.js +0 -4
  362. package/dist/chunks/file-7BN7RCAY.js +0 -4
  363. package/dist/chunks/gateway-UCRPMR75.js +0 -36
  364. package/dist/chunks/github-copilot-HAI2DA62.js +0 -4
  365. package/dist/chunks/google-generative-ai-2VXWLHWI.js +0 -4
  366. package/dist/chunks/google-vertex-UA36QP2U.js +0 -4
  367. package/dist/chunks/init-HA7FAQ73.js +0 -4
  368. package/dist/chunks/kimi-coding-HMJRKCPA.js +0 -4
  369. package/dist/chunks/local-client-stop-SQRU7ZZM.js +0 -4
  370. package/dist/chunks/meta-KY3LNFV2.js +0 -4
  371. package/dist/chunks/mistral-conversations-34F66L3O.js +0 -7
  372. package/dist/chunks/model-resolver-N3DTAQ2S.js +0 -4
  373. package/dist/chunks/openai-codex-responses-ZBVHREB3.js +0 -12
  374. package/dist/chunks/openai-completions-VVIB26SH.js +0 -9
  375. package/dist/chunks/openai-responses-735XA2ZX.js +0 -6
  376. package/dist/chunks/openrouter-images-3IKETHAC.js +0 -4
  377. package/dist/chunks/pi-messages-I3E4ZFHA.js +0 -10
  378. package/dist/chunks/radius-HXRZVBDB.js +0 -4
  379. package/dist/chunks/remote-ops-BALZYKH6.js +0 -14
  380. package/dist/chunks/runner-PLVZDGHB.js +0 -4
  381. package/dist/chunks/runtime-6YLTA2ZD.js +0 -4
  382. package/dist/chunks/schedule-cli-OLASBBYJ.js +0 -4
  383. package/dist/chunks/slack-WAGSPZUX.js +0 -4
  384. package/dist/chunks/start-ui-http-QALT7C3P.js +0 -43
  385. package/dist/chunks/subagent-E3UC7ZHC.js +0 -4
  386. package/dist/chunks/tool-shims-Q6P6UXVC.js +0 -4
  387. package/dist/chunks/typesafe-system-one-6ULACYD4.js +0 -4
  388. package/dist/chunks/ui-board-4GYW6KKW.js +0 -5
  389. package/dist/chunks/ui-decision-U2FXSEC2.js +0 -4
  390. package/dist/chunks/ui-view-O7PLANT7.js +0 -4
  391. package/dist/chunks/virtual-modules-IDC5YKZJ.js +0 -4
  392. package/dist/chunks/waitpoint-2FGQBIAC.js +0 -5
  393. package/dist/chunks/workers-XN4PSTH6.js +0 -4
  394. package/vendor/aistatus/gateway-cli.js +0 -21
  395. package/vendor/pi/examples/extensions/sandbox/index.ts +0 -321
  396. package/vendor/pi/examples/extensions/sandbox/package-lock.json +0 -92
  397. package/vendor/pi/examples/extensions/sandbox/package.json +0 -19
  398. package/web/dist/assets/index-BHZpFXhc.js +0 -525
  399. package/web/dist/assets/index-DqWMdMkh.css +0 -1
  400. package/web/dist/assets/pdf-worker-Hp15W1QJ.js +0 -57
  401. package/web/dist/assets/pdf.worker.min-DnhTvCwe.js +0 -55
@@ -276,6 +276,13 @@ export default function (pi: ExtensionAPI) {
276
276
 
277
277
  case "clear":
278
278
  return new Text(theme.fg("success", "✓ ") + theme.fg("muted", "Cleared all todos"), 0, 0);
279
+
280
+ default:
281
+ return new Text(
282
+ result.content[0]?.type === "text" ? theme.fg("error", result.content[0].text) : "",
283
+ 0,
284
+ 0,
285
+ );
279
286
  }
280
287
  },
281
288
  });
@@ -117,6 +117,8 @@ export default function toolsExtension(pi: ExtensionAPI) {
117
117
  container.addChild(settingsList);
118
118
 
119
119
  const component = {
120
+ // Let PageUp/PageDown page the list instead of scrolling the fullscreen transcript.
121
+ capturesViewportInput: settingsList.capturesViewportInput,
120
122
  render(width: number) {
121
123
  return container.render(width);
122
124
  },
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "pi-extension-with-deps",
3
- "version": "1.4.0",
3
+ "version": "1.5.2",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "pi-extension-with-deps",
9
- "version": "1.4.0",
9
+ "version": "1.5.2",
10
10
  "dependencies": {
11
11
  "ms": "^2.1.3"
12
12
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pi-extension-with-deps",
3
3
  "private": true,
4
- "version": "1.4.0",
4
+ "version": "1.5.2",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "clean": "echo 'nothing to clean'",
@@ -0,0 +1,208 @@
1
+ // Type-checks the example extensions against the modules extensions see at run time (core/extensions/virtual-modules.ts):
2
+ // "@earendil-works/pi-ai" is the extension view, which adds TypeBox's Type, Static and TSchema to the compat entry (the
3
+ // view imports "@earendil-works/pi-ai/compat", so that path stays the package's own).
4
+ // The other paths repeat the root tsconfig.json; keep them in sync.
5
+ // Also the test that imports the subagent example: it type-checks only against the extension view.
6
+ {
7
+ "extends": "../../../tsconfig.json",
8
+ "compilerOptions": {
9
+ "paths": {
10
+ "@earendil-works/chord": [
11
+ "../../../packages/chord/src/index.ts"
12
+ ],
13
+ "@earendil-works/chord/context": [
14
+ "../../../packages/chord/src/context/index.ts"
15
+ ],
16
+ "@earendil-works/chord/delta": [
17
+ "../../../packages/chord/src/delta/index.ts"
18
+ ],
19
+ "@earendil-works/chord/json": [
20
+ "../../../packages/chord/src/json.ts"
21
+ ],
22
+ "@earendil-works/chord/watch": [
23
+ "../../../packages/chord/src/watch.ts"
24
+ ],
25
+ "@earendil-works/chord/output": [
26
+ "../../../packages/chord/src/output.ts"
27
+ ],
28
+ "@earendil-works/chord/sqlite": [
29
+ "../../../packages/chord/src/sqlite/index.ts"
30
+ ],
31
+ "@earendil-works/chord/sqlite/node": [
32
+ "../../../packages/chord/src/sqlite/node.ts"
33
+ ],
34
+ "@earendil-works/chord/sqlite/cloudflare": [
35
+ "../../../packages/chord/src/sqlite/cloudflare.ts"
36
+ ],
37
+ "@earendil-works/chord/telemetry-sqlite": [
38
+ "../../../packages/chord/src/telemetry-sqlite/index.ts"
39
+ ],
40
+ "@earendil-works/chord/http": [
41
+ "../../../packages/chord/src/node/http/index.ts"
42
+ ],
43
+ "@earendil-works/chord/workers": [
44
+ "../../../packages/chord/src/node/workers/index.ts"
45
+ ],
46
+ "@earendil-works/chord/workers/child": [
47
+ "../../../packages/chord/src/node/workers/child.ts"
48
+ ],
49
+ "@earendil-works/chord/plugins": [
50
+ "../../../packages/chord/src/node/plugins/index.ts"
51
+ ],
52
+ "@earendil-works/chord/plugins/runtime": [
53
+ "../../../packages/chord/src/node/plugins/runtime.ts"
54
+ ],
55
+ "@earendil-works/chord/app": [
56
+ "../../../packages/chord/src/node/app/index.ts"
57
+ ],
58
+ "@earendil-works/chord/app/files": [
59
+ "../../../packages/chord/src/node/app/files-entry.ts"
60
+ ],
61
+ "@earendil-works/chord/web": [
62
+ "../../../packages/chord/src/web/index.ts"
63
+ ],
64
+ "@earendil-works/chord/surfaces": [
65
+ "../../../packages/chord/src/node/surfaces/index.ts"
66
+ ],
67
+ "@earendil-works/chord/react": [
68
+ "../../../packages/chord/src/react/index.ts"
69
+ ],
70
+ "@earendil-works/chord/tui": [
71
+ "../../../packages/chord/src/tui/index.ts"
72
+ ],
73
+ "@earendil-works/chord/tui/launcher": [
74
+ "../../../packages/chord/src/node/tui/index.ts"
75
+ ],
76
+ "@earendil-works/chord/sync": [
77
+ "../../../packages/chord/src/sync/index.ts"
78
+ ],
79
+ "@test/contracts/*": [
80
+ "../../chord/test/node/fixtures/plugins/contracts/*.ts"
81
+ ],
82
+ "@example/contracts/*": [
83
+ "../../chord/test/examples/35-plugins/plugins/contracts/*.ts"
84
+ ],
85
+ "@example/weather/*": [
86
+ "../../chord/test/examples/36-plugin-failures/plugins/weather/*.ts"
87
+ ],
88
+ "@example/prices/*": [
89
+ "../../chord/test/examples/36-plugin-failures/plugins/prices/*.ts"
90
+ ],
91
+ "@example/shapes/*": [
92
+ "../../chord/test/examples/37-plugin-imports/plugins/shapes/*.ts"
93
+ ],
94
+ "@example/shared/*": [
95
+ "../../chord/test/examples/38-watch-and-rollout/plugins/contracts/*.ts"
96
+ ],
97
+ "@earendil-works/pi-telemetry": [
98
+ "../../../packages/telemetry/src/index.ts"
99
+ ],
100
+ "@earendil-works/pi-telemetry/testing": [
101
+ "../../../packages/telemetry/src/testing/index.ts"
102
+ ],
103
+ "@earendil-works/pi-telemetry/render": [
104
+ "../../../packages/telemetry/src/render.ts"
105
+ ],
106
+ "@earendil-works/pi-codemode": [
107
+ "../../../packages/codemode/src/index.ts"
108
+ ],
109
+ "@earendil-works/pi-codemode/cloudflare": [
110
+ "../../../packages/codemode/src/cloudflare.ts"
111
+ ],
112
+ "@earendil-works/pi-codemode/declarations": [
113
+ "../../../packages/codemode/src/declarations.ts"
114
+ ],
115
+ "@earendil-works/pi-codemode/portable": [
116
+ "../../../packages/codemode/src/portable.ts"
117
+ ],
118
+ "@earendil-works/pi-codemode/source": [
119
+ "../../../packages/codemode/src/source.ts"
120
+ ],
121
+ "@earendil-works/pi-codemode/worker": [
122
+ "../../../packages/codemode/src/runtime/worker.ts"
123
+ ],
124
+ "@earendil-works/pi-schema": [
125
+ "../../../packages/schema/src/index.ts"
126
+ ],
127
+ "@earendil-works/pi-schema/formats": [
128
+ "../../../packages/schema/src/formats/index.ts"
129
+ ],
130
+ "@earendil-works/pi-mcp": [
131
+ "../../../packages/mcp/src/index.ts"
132
+ ],
133
+ "@earendil-works/pi-mcp/oauth": [
134
+ "../../../packages/mcp/src/oauth/index.ts"
135
+ ],
136
+ "@earendil-works/pi-mcp/testing": [
137
+ "../../../packages/mcp/src/testing/index.ts"
138
+ ],
139
+ "@earendil-works/pi-ai": [
140
+ "../../../packages/coding-agent/src/core/extensions/pi-ai-extension-view.ts"
141
+ ],
142
+ "@earendil-works/pi-ai/oauth": [
143
+ "../../../packages/ai/src/oauth.ts"
144
+ ],
145
+ "@earendil-works/pi-ai/*": [
146
+ "../../../packages/ai/src/*.ts",
147
+ "../../../packages/ai/src/providers/*.ts"
148
+ ],
149
+ "@earendil-works/pi-ai/dist/*": [
150
+ "../../../packages/ai/src/*"
151
+ ],
152
+ "@earendil-works/pi-durable": [
153
+ "../../../packages/durable/src/index.ts"
154
+ ],
155
+ "@earendil-works/pi-durable/testing": [
156
+ "../../../packages/durable/src/testing/index.ts"
157
+ ],
158
+ "@earendil-works/pi-durable/*": [
159
+ "../../../packages/durable/src/*.ts",
160
+ "../../../packages/durable/src/*/index.ts",
161
+ "../../../packages/durable/src/*"
162
+ ],
163
+ "@earendil-works/pi-env": [
164
+ "../../../packages/env/src/index.ts"
165
+ ],
166
+ "@earendil-works/pi-agent-core": [
167
+ "../../../packages/agent/src/index.ts"
168
+ ],
169
+ "@earendil-works/pi-coding-agent": [
170
+ "../../../packages/coding-agent/src/index.ts"
171
+ ],
172
+ "@earendil-works/pi-coding-agent/hooks": [
173
+ "../../../packages/coding-agent/src/core/hooks/index.ts"
174
+ ],
175
+ "@earendil-works/pi-coding-agent/*": [
176
+ "../../../packages/coding-agent/src/*"
177
+ ],
178
+ "typebox": [
179
+ "../../../node_modules/typebox"
180
+ ],
181
+ "@earendil-works/pi-tui": [
182
+ "../../../packages/tui/src/index.ts"
183
+ ],
184
+ "@earendil-works/pi-tui/*": [
185
+ "../../../packages/tui/src/*"
186
+ ],
187
+ "@earendil-works/pi-agent-old": [
188
+ "../../../packages/agent-old/src/index.ts"
189
+ ],
190
+ "@earendil-works/pi-agent-old/*": [
191
+ "../../../packages/agent-old/src/*"
192
+ ],
193
+ "@mariozechner/pi-ai": [
194
+ "../../../packages/coding-agent/src/core/extensions/pi-ai-extension-view.ts"
195
+ ]
196
+ }
197
+ },
198
+ "include": [
199
+ "./extensions/**/*",
200
+ "../../*/src/**/*.d.ts",
201
+ "../test/suite/regressions/8261-subagent-project-trust.test.ts",
202
+ "../test/subagent-extension.test.ts"
203
+ ],
204
+ "exclude": [
205
+ "**/node_modules/**",
206
+ "./extensions/gondolin/**"
207
+ ]
208
+ }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@earendil-works/pi-coding-agent",
3
- "version": "1.4.0",
3
+ "version": "1.6.0",
4
4
  "description": "Coding agent CLI with read, bash, edit, write tools and session management",
5
5
  "type": "module",
6
6
  "piConfig": {
@@ -29,39 +29,39 @@
29
29
  "CHANGELOG.md"
30
30
  ],
31
31
  "scripts": {
32
- "clean": "shx rm -rf dist",
32
+ "clean": "node ../../scripts/package-files.mjs clean dist",
33
33
  "build": "npm run build:unbundled && node ../../scripts/build-coding-agent-bundle.mjs",
34
- "build:unbundled": "tsc -p tsconfig.build.json && shx chmod +x dist/cli.js dist/rpc-entry.js && npm run copy-assets",
35
- "build:binary": "npm --prefix ../tui run build && npm --prefix ../telemetry run build && npm --prefix ../ai run build && npm --prefix ../agent run build && npm run build && bun build --compile --no-compile-autoload-bunfig --no-compile-autoload-dotenv ./dist/bun/cli.js ./src/utils/image-resize-worker.ts ./src/extensions/codemode/worker.ts --outfile dist/pi && npm run copy-binary-assets",
36
- "copy-assets": "shx mkdir -p dist/modes/interactive/theme && shx cp src/modes/interactive/theme/*.json dist/modes/interactive/theme/ && shx mkdir -p dist/modes/interactive/assets && shx cp src/modes/interactive/assets/*.png dist/modes/interactive/assets/ && shx mkdir -p dist/core/export-html/vendor && shx cp src/core/export-html/template.html src/core/export-html/template.css src/core/export-html/template.js dist/core/export-html/ && shx cp src/core/export-html/vendor/*.js dist/core/export-html/vendor/",
37
- "copy-binary-assets": "shx cp package.json dist/ && shx cp README.md dist/ && shx cp CHANGELOG.md dist/ && shx mkdir -p dist/theme && shx cp src/modes/interactive/theme/*.json dist/theme/ && shx mkdir -p dist/assets && shx cp src/modes/interactive/assets/*.png dist/assets/ && shx mkdir -p dist/export-html/vendor && shx cp src/core/export-html/template.html dist/export-html/ && shx cp src/core/export-html/vendor/*.js dist/export-html/vendor/ && shx cp -r docs dist/ && shx cp -r examples dist/ && shx cp ../../node_modules/@silvia-odwyer/photon-node/photon_rs_bg.wasm dist/",
34
+ "build:unbundled": "tsc -p tsconfig.build.json && node ../../scripts/package-files.mjs executable dist/cli.js dist/rpc-entry.js && npm run copy-assets",
35
+ "build:binary": "npm --prefix ../tui run build && npm --prefix ../telemetry run build && npm --prefix ../ai run build && npm --prefix ../agent run build && npm run build && bun build --compile --no-compile-autoload-bunfig --no-compile-autoload-dotenv --compile-autoload-package-json ./dist/bun/cli.js ./src/utils/image-resize-worker.ts ./src/extensions/codemode/worker.ts --outfile dist/pi && npm run copy-binary-assets",
36
+ "copy-assets": "node ../../scripts/package-files.mjs copy \"src/modes/interactive/theme/*.json\" dist/modes/interactive/theme && node ../../scripts/package-files.mjs copy \"src/modes/interactive/assets/*.png\" dist/modes/interactive/assets && node ../../scripts/package-files.mjs copy src/core/export-html/template.html src/core/export-html/template.css src/core/export-html/template.js dist/core/export-html && node ../../scripts/package-files.mjs copy \"src/core/export-html/vendor/*.js\" dist/core/export-html/vendor",
37
+ "copy-binary-assets": "node ../../scripts/package-files.mjs copy package.json README.md CHANGELOG.md docs examples ../../node_modules/@silvia-odwyer/photon-node/photon_rs_bg.wasm dist && node ../../scripts/package-files.mjs copy \"src/modes/interactive/theme/*.json\" dist/theme && node ../../scripts/package-files.mjs copy \"src/modes/interactive/assets/*.png\" dist/assets && node ../../scripts/package-files.mjs copy src/core/export-html/template.html dist/export-html && node ../../scripts/package-files.mjs copy \"src/core/export-html/vendor/*.js\" dist/export-html/vendor",
38
38
  "test": "vitest --run",
39
39
  "generate:schemas": "node --import ./src/experimental/source-resolver.ts scripts/generate-schemas.ts",
40
40
  "generate:references": "node --import ./src/experimental/source-resolver.ts scripts/generate-references.ts",
41
41
  "prepublishOnly": "npm run clean && npm run build"
42
42
  },
43
43
  "dependencies": {
44
- "@earendil-works/pi-agent-core": "1.4.0",
45
- "@earendil-works/pi-ai": "1.4.0",
46
- "@earendil-works/pi-codemode": "1.4.0",
47
- "@earendil-works/pi-mcp": "1.4.0",
48
- "@earendil-works/pi-tui": "1.4.0",
44
+ "@earendil-works/pi-agent-core": "1.6.0",
45
+ "@earendil-works/pi-ai": "1.6.0",
46
+ "@earendil-works/pi-codemode": "1.6.0",
47
+ "@earendil-works/pi-mcp": "1.6.0",
48
+ "@earendil-works/pi-tui": "1.6.0",
49
49
  "@silvia-odwyer/photon-node": "0.3.4",
50
50
  "brace-expansion": "5.0.12",
51
51
  "chalk": "6.0.0",
52
52
  "cross-spawn": "7.0.6",
53
53
  "diff": "8.0.4",
54
- "grok-mermaid": "0.2.3",
55
54
  "highlight.js": "10.7.3",
56
55
  "hosted-git-info": "9.0.3",
57
56
  "ignore": "7.0.8",
58
57
  "jiti": "2.7.0",
59
- "minimatch": "10.2.6",
58
+ "lovely-mermaid": "0.3.3",
59
+ "minimatch": "11.0.3",
60
60
  "proper-lockfile": "4.1.2",
61
61
  "quickjs-wasi": "3.6.2",
62
62
  "semver": "7.8.5",
63
63
  "typebox": "1.3.27",
64
- "undici": "8.10.2",
64
+ "undici": "8.12.4",
65
65
  "yaml": "2.9.0"
66
66
  },
67
67
  "overrides": {
@@ -74,8 +74,7 @@
74
74
  "@types/proper-lockfile": "4.1.4",
75
75
  "@types/semver": "7.7.1",
76
76
  "marked": "18.0.11",
77
- "shx": "0.3.4",
78
- "vitest": "4.1.11"
77
+ "vitest": "4.1.12"
79
78
  },
80
79
  "keywords": [
81
80
  "coding-agent",
@@ -255,13 +255,6 @@
255
255
  "type": "array",
256
256
  "items": {
257
257
  "type": "object",
258
- "required": [
259
- "inputTokensAbove",
260
- "input",
261
- "output",
262
- "cacheRead",
263
- "cacheWrite"
264
- ],
265
258
  "properties": {
266
259
  "inputTokensAbove": {
267
260
  "type": "number",
@@ -283,7 +276,14 @@
283
276
  "type": "number",
284
277
  "description": "Cache-write cost in USD per million tokens."
285
278
  }
286
- }
279
+ },
280
+ "required": [
281
+ "inputTokensAbove",
282
+ "input",
283
+ "output",
284
+ "cacheRead",
285
+ "cacheWrite"
286
+ ]
287
287
  },
288
288
  "description": "Request-wide pricing tiers. The highest matching input threshold applies to the full request."
289
289
  }
@@ -383,12 +383,6 @@
383
383
  "$defs": {
384
384
  "ModelCost": {
385
385
  "type": "object",
386
- "required": [
387
- "input",
388
- "output",
389
- "cacheRead",
390
- "cacheWrite"
391
- ],
392
386
  "properties": {
393
387
  "input": {
394
388
  "type": "number",
@@ -410,13 +404,6 @@
410
404
  "type": "array",
411
405
  "items": {
412
406
  "type": "object",
413
- "required": [
414
- "inputTokensAbove",
415
- "input",
416
- "output",
417
- "cacheRead",
418
- "cacheWrite"
419
- ],
420
407
  "properties": {
421
408
  "inputTokensAbove": {
422
409
  "type": "number",
@@ -438,11 +425,24 @@
438
425
  "type": "number",
439
426
  "description": "Cache-write cost in USD per million tokens."
440
427
  }
441
- }
428
+ },
429
+ "required": [
430
+ "inputTokensAbove",
431
+ "input",
432
+ "output",
433
+ "cacheRead",
434
+ "cacheWrite"
435
+ ]
442
436
  },
443
437
  "description": "Request-wide pricing tiers. The highest matching input threshold applies to the full request."
444
438
  }
445
- }
439
+ },
440
+ "required": [
441
+ "input",
442
+ "output",
443
+ "cacheRead",
444
+ "cacheWrite"
445
+ ]
446
446
  },
447
447
  "ModelInputLimits": {
448
448
  "type": "object",
@@ -552,6 +552,14 @@
552
552
  "type": "boolean",
553
553
  "description": "Whether a user message after tool results requires an assistant message in between. Default: auto-detected from URL."
554
554
  },
555
+ "requiresNonNullAssistantContent": {
556
+ "type": "boolean",
557
+ "description": "Whether replayed assistant messages with no text (e.g. tool-call-only messages) must send \"\" instead of null content. Default: false."
558
+ },
559
+ "requiresToolsWithToolHistory": {
560
+ "type": "boolean",
561
+ "description": "Whether requests without tools must send \"tools\": [] when the conversation contains tool calls or tool results. Needed by some proxies in front of Anthropic, such as older LiteLLM versions. Default: false, the field is omitted."
562
+ },
555
563
  "requiresThinkingAsText": {
556
564
  "type": "boolean",
557
565
  "description": "Whether thinking blocks must be converted to text blocks with <thinking> delimiters. Default: auto-detected from URL."
@@ -628,9 +636,6 @@
628
636
  },
629
637
  {
630
638
  "type": "object",
631
- "required": [
632
- "$var"
633
- ],
634
639
  "properties": {
635
640
  "$var": {
636
641
  "anyOf": [
@@ -651,7 +656,10 @@
651
656
  "omitWhenOff": {
652
657
  "type": "boolean"
653
658
  }
654
- }
659
+ },
660
+ "required": [
661
+ "$var"
662
+ ]
655
663
  }
656
664
  ]
657
665
  }
@@ -677,9 +685,6 @@
677
685
  },
678
686
  {
679
687
  "type": "object",
680
- "required": [
681
- "$var"
682
- ],
683
688
  "properties": {
684
689
  "$var": {
685
690
  "anyOf": [
@@ -700,7 +705,10 @@
700
705
  "omitWhenOff": {
701
706
  "type": "boolean"
702
707
  }
703
- }
708
+ },
709
+ "required": [
710
+ "$var"
711
+ ]
704
712
  }
705
713
  ]
706
714
  }
@@ -1013,6 +1021,23 @@
1013
1021
  ],
1014
1022
  "description": "Session-affinity header format. Defaults are API-specific or auto-detected."
1015
1023
  },
1024
+ "promptCacheKeyMode": {
1025
+ "anyOf": [
1026
+ {
1027
+ "type": "string",
1028
+ "const": "auto"
1029
+ },
1030
+ {
1031
+ "type": "string",
1032
+ "const": "enabled"
1033
+ },
1034
+ {
1035
+ "type": "string",
1036
+ "const": "disabled"
1037
+ }
1038
+ ],
1039
+ "description": "Controls the prompt_cache_key request field for openai-completions and openai-responses: auto keeps each API's default, enabled sends it whenever caching is active, disabled never sends it. Default: auto."
1040
+ },
1016
1041
  "supportsLongCacheRetention": {
1017
1042
  "type": "boolean",
1018
1043
  "description": "Whether the provider supports long prompt cache retention. Defaults are API-specific or auto-detected."
@@ -1038,7 +1063,7 @@
1038
1063
  },
1039
1064
  "supportsMidConvoEffort": {
1040
1065
  "type": "boolean",
1041
- "description": "Whether thinking level changes are sent inside the conversation instead of changing the request's effort, so a change keeps the prompt cache. Used by the anthropic-messages and openai-responses APIs.",
1066
+ "description": "Whether thinking level changes are sent inside the conversation instead of changing the request's effort, so a change keeps the prompt cache. Used by the anthropic-messages, openai-responses, and openai-codex-responses APIs.",
1042
1067
  "default": false
1043
1068
  },
1044
1069
  "supportsMaxOutputTokens": {
@@ -1081,15 +1106,14 @@
1081
1106
  "description": "Whether the exact model accepts mid-conversation tool_addition and tool_removal blocks. Requires supportsMidConvoSystemMessages.",
1082
1107
  "default": false
1083
1108
  },
1109
+ "supportsMessageThreads": {
1110
+ "type": "boolean",
1111
+ "description": "Whether the endpoint supports Anthropic message threads, which let a request with a session id send only the new messages and continue from the previous reply. Default: true for a baseUrl on api.anthropic.com, false otherwise. Set true for gateways that forward the thread request field."
1112
+ },
1084
1113
  "allowedFallbackModels": {
1085
1114
  "type": "array",
1086
1115
  "items": {
1087
1116
  "type": "object",
1088
- "required": [
1089
- "provider",
1090
- "model",
1091
- "cost"
1092
- ],
1093
1117
  "properties": {
1094
1118
  "provider": {
1095
1119
  "type": "string",
@@ -1103,6 +1127,11 @@
1103
1127
  "$ref": "#/$defs/ModelCost"
1104
1128
  }
1105
1129
  },
1130
+ "required": [
1131
+ "provider",
1132
+ "model",
1133
+ "cost"
1134
+ ],
1106
1135
  "description": "An Anthropic server-side refusal fallback model with local pricing metadata."
1107
1136
  },
1108
1137
  "maxItems": 3,
@@ -11,6 +11,15 @@
11
11
  "lastChangelogVersion": {
12
12
  "type": "string"
13
13
  },
14
+ "extensionChangelogVersions": {
15
+ "type": "object",
16
+ "patternProperties": {
17
+ "^.*$": {
18
+ "type": "string"
19
+ }
20
+ },
21
+ "description": "Last seen changelog version per extension package."
22
+ },
14
23
  "defaultProvider": {
15
24
  "type": "string"
16
25
  },
@@ -258,6 +267,14 @@
258
267
  },
259
268
  "description": "Command used for npm package lookup and installation, in argv form such as [\"mise\", \"exec\", \"node@20\", \"--\", \"npm\"]."
260
269
  },
270
+ "selfUpdateCommand": {
271
+ "type": "array",
272
+ "items": {
273
+ "type": "string"
274
+ },
275
+ "minItems": 1,
276
+ "description": "Command `pi update` runs to update Pi itself, in argv form such as [\"mise\", \"use\", \"-g\", \"npm:{packageName}@{version}\"]. Placeholders: {packageName}, {version}, {installSpec}. PI_SELF_UPDATE_COMMAND takes precedence. Global setting only."
277
+ },
261
278
  "collapseChangelog": {
262
279
  "type": "boolean",
263
280
  "description": "Show the condensed changelog after update; use /changelog for the full changelog.",
@@ -668,7 +685,7 @@
668
685
  }
669
686
  ],
670
687
  "description": "Cache-warming profile. \"idle\" also warms between agent runs. Global only because each refresh costs money.",
671
- "default": "streaming"
688
+ "default": "idle"
672
689
  },
673
690
  "websocketConnectTimeoutMs": {
674
691
  "anyOf": [
@@ -1,4 +1,4 @@
1
1
  import { createRequire as __cortexCreateRequire } from 'node:module';
2
2
  const require = __cortexCreateRequire(import.meta.url);
3
3
  const __cortexPackageRoot = new URL("../../", import.meta.url);
4
- import{a,b}from"../../dist/chunks/chunk-UNVEZI57.js";import"../../dist/chunks/chunk-OSEIQ7SS.js";import"../../dist/chunks/chunk-CXT5IR5T.js";import"../../dist/chunks/chunk-WHC7AYZD.js";export{b as bedrockConverseStreamApi,a as setBedrockProviderModule};
4
+ import{a,b,c}from"../../dist/chunks/chunk-GFFM56U2.js";import"../../dist/chunks/chunk-NW4GW47L.js";import"../../dist/chunks/chunk-CXT5IR5T.js";import"../../dist/chunks/chunk-WHC7AYZD.js";export{c as bedrockConverseStreamApi,b as setBedrockProviderLoader,a as setBedrockProviderModule};
@@ -1,4 +1,4 @@
1
1
  import { createRequire as __cortexCreateRequire } from 'node:module';
2
2
  const require = __cortexCreateRequire(import.meta.url);
3
3
  const __cortexPackageRoot = new URL("../../", import.meta.url);
4
- import{a,b,c,d,e,f,g,h,i,j}from"../../dist/chunks/chunk-NR6U3WIZ.js";import"../../dist/chunks/chunk-WHC7AYZD.js";export{b as loadAnthropicOAuth,e as loadGitHubCopilotOAuth,g as loadKimiCodingOAuth,h as loadMetaOAuth,d as loadOpenAIChatGPTOAuth,c as loadOpenAICodexOAuth,f as loadOpenRouterOAuth,j as loadRadiusOAuth,i as loadXaiOAuth,a as registerBundledOAuthFlowLoaders};
4
+ import{a,b,c,d,e,f,g,h,i,j}from"../../dist/chunks/chunk-IJ7XFQMI.js";import"../../dist/chunks/chunk-WHC7AYZD.js";export{b as loadAnthropicOAuth,e as loadGitHubCopilotOAuth,g as loadKimiCodingOAuth,h as loadMetaOAuth,d as loadOpenAIChatGPTOAuth,c as loadOpenAICodexOAuth,f as loadOpenRouterOAuth,j as loadRadiusOAuth,i as loadXaiOAuth,a as registerBundledOAuthFlowLoaders};