@cortex-agent/server 2026.11.17 → 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 (338) hide show
  1. package/README.md +5 -5
  2. package/THIRD_PARTY_NOTICES.txt +860 -294
  3. package/defaults/hooks/quota-stop.mjs +37 -0
  4. package/defaults/prompts/clean-workspace.md +5 -0
  5. package/dist/agent-adapter/claude/remote-mcp-proxy.js +1 -1
  6. package/dist/chunks/agent-runner-LVZVKBZX.js +4 -0
  7. package/dist/chunks/anthropic-messages-TT6454AA.js +8 -0
  8. package/dist/chunks/azure-openai-responses-52LR2XZD.js +4 -0
  9. package/dist/chunks/bedrock-converse-stream-EOZGYUNY.js +60 -0
  10. package/dist/chunks/child-runner-SMG2VOU5.js +4 -0
  11. package/dist/chunks/chunk-24DH4IR5.js +4 -0
  12. package/dist/chunks/chunk-25XKBRDT.js +70 -0
  13. package/dist/chunks/{chunk-VTL3Z2OP.js → chunk-2ABET62E.js} +1 -1
  14. package/dist/chunks/chunk-2BVUA256.js +4 -0
  15. package/dist/chunks/{chunk-4YLAGSDM.js → chunk-2WFL62UO.js} +1 -1
  16. package/dist/chunks/{chunk-LQTFDC67.js → chunk-335SSANX.js} +1 -1
  17. package/dist/chunks/chunk-377OPTXX.js +17 -0
  18. package/dist/chunks/chunk-3EZNVLBF.js +129 -0
  19. package/dist/chunks/{chunk-V6X7Y62J.js → chunk-3O6ZG5HA.js} +1 -1
  20. package/dist/chunks/{chunk-6AKUD3CF.js → chunk-3XLHL5YT.js} +1 -1
  21. package/dist/chunks/{chunk-2ATTYCRJ.js → chunk-4HRI75GU.js} +1 -1
  22. package/dist/chunks/chunk-4JBYLRPM.js +57 -0
  23. package/dist/chunks/chunk-4KKV7VKE.js +4 -0
  24. package/dist/chunks/chunk-4KQHDDC5.js +4 -0
  25. package/dist/chunks/chunk-4SWD4JMP.js +33 -0
  26. package/dist/chunks/chunk-52VCLZS5.js +4 -0
  27. package/dist/chunks/chunk-54P7TSY3.js +10 -0
  28. package/dist/chunks/chunk-5DVSAXOI.js +7 -0
  29. package/dist/chunks/chunk-5F3A62YS.js +4 -0
  30. package/dist/chunks/{chunk-S3MR37DL.js → chunk-5FHETFZM.js} +1 -1
  31. package/dist/chunks/{chunk-CEGSDGYQ.js → chunk-5LBLRAHS.js} +1 -1
  32. package/dist/chunks/chunk-5UYVNA3W.js +4 -0
  33. package/dist/chunks/chunk-6G3OYMCV.js +21 -0
  34. package/dist/chunks/chunk-7GGPYU5E.js +30 -0
  35. package/dist/chunks/chunk-7TYSMLUV.js +4 -0
  36. package/dist/chunks/chunk-7W7VYUTK.js +5 -0
  37. package/dist/chunks/chunk-AXYAZTTN.js +6 -0
  38. package/dist/chunks/chunk-B3NB243Z.js +4 -0
  39. package/dist/chunks/{chunk-XPPZ6Y3X.js → chunk-BKYP6AGM.js} +1 -1
  40. package/dist/chunks/{chunk-QUXPMNFQ.js → chunk-BVEDNESB.js} +1 -1
  41. package/dist/chunks/chunk-BWDJS6A4.js +12 -0
  42. package/dist/chunks/chunk-C6YVF7EI.js +4 -0
  43. package/dist/chunks/chunk-CEJIYYVE.js +15 -0
  44. package/dist/chunks/{chunk-5PAW3DEU.js → chunk-CI2RHH74.js} +4 -4
  45. package/dist/chunks/{chunk-OFEPDNRB.js → chunk-CMSOOLJB.js} +1 -1
  46. package/dist/chunks/chunk-CSVTYYLP.js +4 -0
  47. package/dist/chunks/chunk-DE5EGVKG.js +6 -0
  48. package/dist/chunks/{chunk-E6BYRULL.js → chunk-DK3RPZOQ.js} +1 -1
  49. package/dist/chunks/{chunk-ROVKOIHF.js → chunk-DK4UCK7L.js} +1 -1
  50. package/dist/chunks/chunk-DYLBVUAU.js +4 -0
  51. package/dist/chunks/{chunk-WBSE3EF3.js → chunk-FDC2GRBK.js} +1 -1
  52. package/dist/chunks/chunk-FE7HH5JS.js +18 -0
  53. package/dist/chunks/chunk-FYD57YRO.js +436 -0
  54. package/dist/chunks/chunk-G264APQN.js +5 -0
  55. package/dist/chunks/chunk-G4JYZFEO.js +11 -0
  56. package/dist/chunks/chunk-GFFM56U2.js +4 -0
  57. package/dist/chunks/chunk-GOS3P7KS.js +132 -0
  58. package/dist/chunks/{chunk-2VVRTJQN.js → chunk-HVN37UXD.js} +1 -1
  59. package/dist/chunks/{chunk-53TQNK7Z.js → chunk-IGZWZP7Z.js} +1 -1
  60. package/dist/chunks/{chunk-AFTBQRPN.js → chunk-IJ7XFQMI.js} +1 -1
  61. package/dist/chunks/{chunk-U23S37TT.js → chunk-IMMGYDAB.js} +1 -1
  62. package/dist/chunks/chunk-IOWBF7UK.js +10 -0
  63. package/dist/chunks/{chunk-MGYYSX7Y.js → chunk-ITGCWQFK.js} +1 -1
  64. package/dist/chunks/{chunk-QEL6CMLE.js → chunk-IVZ7QUEG.js} +1 -1
  65. package/dist/chunks/{chunk-EE3WT25T.js → chunk-IWY2HIFK.js} +1 -1
  66. package/dist/chunks/{chunk-KGJZAYQD.js → chunk-J7OBATRN.js} +1 -1
  67. package/dist/chunks/{chunk-NXZS5PEW.js → chunk-JGUEIW2W.js} +1 -1
  68. package/dist/chunks/chunk-JZ7U7RUK.js +351 -0
  69. package/dist/chunks/{chunk-VIMHSW6J.js → chunk-KJUQCCB5.js} +1 -1
  70. package/dist/chunks/{chunk-BUZQBTV2.js → chunk-KST6OY76.js} +1 -1
  71. package/dist/chunks/{chunk-KDPY2YA3.js → chunk-KZSAFVSY.js} +2 -2
  72. package/dist/chunks/chunk-LD2ZSH3M.js +903 -0
  73. package/dist/chunks/{chunk-RYLSRII6.js → chunk-LE6QPXN6.js} +1 -1
  74. package/dist/chunks/{chunk-TX46YMGI.js → chunk-LIIZI3HY.js} +1 -1
  75. package/dist/chunks/{chunk-3CZPBLB3.js → chunk-MJQ2D2OP.js} +1 -1
  76. package/dist/chunks/{chunk-P7TVR4GY.js → chunk-NHHR4DCF.js} +1 -1
  77. package/dist/chunks/chunk-NW4GW47L.js +4 -0
  78. package/dist/chunks/chunk-OALEJ6FG.js +60 -0
  79. package/dist/chunks/chunk-OIV4DIMB.js +4 -0
  80. package/dist/chunks/{chunk-T73GHMFB.js → chunk-OJ37ZWBG.js} +1 -1
  81. package/dist/chunks/{chunk-7GEBDPTT.js → chunk-OZXMPBUX.js} +1 -1
  82. package/dist/chunks/chunk-PG7452XE.js +4 -0
  83. package/dist/chunks/chunk-PJCUB7YJ.js +4 -0
  84. package/dist/chunks/{chunk-RA2BUYI3.js → chunk-PTS3J4DQ.js} +1 -1
  85. package/dist/chunks/{chunk-2ROGTDM2.js → chunk-PVVEEBUU.js} +1 -1
  86. package/dist/chunks/{chunk-W6AKCEYF.js → chunk-Q7BZLPBU.js} +1 -1
  87. package/dist/chunks/{chunk-SY2HV3V5.js → chunk-QC66ZXPP.js} +1 -1
  88. package/dist/chunks/chunk-QXFWIL4C.js +4 -0
  89. package/dist/chunks/{chunk-NRD57ICT.js → chunk-R2CCD4OF.js} +1 -1
  90. package/dist/chunks/{chunk-R52AVUQB.js → chunk-RG5GP4RB.js} +1 -1
  91. package/dist/chunks/{chunk-IKLTEWA3.js → chunk-RW2F2QNP.js} +1 -1
  92. package/dist/chunks/{chunk-XEBEWR6Y.js → chunk-RWPO3NZ3.js} +1 -1
  93. package/dist/chunks/chunk-SDUS2H3E.js +4 -0
  94. package/dist/chunks/chunk-SIHGKM4E.js +4 -0
  95. package/dist/chunks/{chunk-NNBSSISP.js → chunk-SKHFU5DI.js} +1 -1
  96. package/dist/chunks/{chunk-STUHNKQS.js → chunk-SM45TH22.js} +1 -1
  97. package/dist/chunks/chunk-T54CZKNJ.js +6 -0
  98. package/dist/chunks/chunk-TRXLIL7V.js +4 -0
  99. package/dist/chunks/{chunk-KUDK7GPS.js → chunk-UEEW2R4E.js} +1 -1
  100. package/dist/chunks/chunk-UHXPRU6G.js +10 -0
  101. package/dist/chunks/chunk-UPQVWHZ3.js +4 -0
  102. package/dist/chunks/{chunk-BDLKI2NT.js → chunk-VHX2GHBF.js} +1 -1
  103. package/dist/chunks/chunk-VOAKRJ4R.js +4 -0
  104. package/dist/chunks/{chunk-FP7ML72L.js → chunk-WU7RNAZD.js} +1 -1
  105. package/dist/chunks/chunk-WZC4TDDM.js +6 -0
  106. package/dist/chunks/chunk-X2TKJ7KR.js +11 -0
  107. package/dist/chunks/{chunk-H4QZ2P3Z.js → chunk-X5ND4H4P.js} +1 -1
  108. package/dist/chunks/{chunk-5A6CA5TM.js → chunk-Y3AOGNDT.js} +1 -1
  109. package/dist/chunks/chunk-Y6DGVTKM.js +6 -0
  110. package/dist/chunks/{chunk-LP7T32PW.js → chunk-YAEHSSR4.js} +1 -1
  111. package/dist/chunks/chunk-YWPBE5LP.js +4 -0
  112. package/dist/chunks/chunk-ZAVX7G2M.js +15 -0
  113. package/dist/chunks/chunk-ZD2M73XA.js +19 -0
  114. package/dist/chunks/chunk-ZD4O6NPV.js +4 -0
  115. package/dist/chunks/chunk-ZNAMETPQ.js +4 -0
  116. package/dist/chunks/chunk-ZY6N5LVQ.js +4 -0
  117. package/dist/chunks/chunk-ZYQ4TDTT.js +81 -0
  118. package/dist/chunks/cli-VB2N7HEK.js +55 -0
  119. package/dist/chunks/cloudflare-workers-ai-system-one-YKU742EC.js +4 -0
  120. package/dist/chunks/context-CI2FKEQE.js +4 -0
  121. package/dist/chunks/cost-CZRRSIUF.js +5 -0
  122. package/dist/chunks/dist-QCNQN6DY.js +4 -0
  123. package/dist/chunks/{easter-egg-3d-CZH7AYZ7.js → easter-egg-3d-XR5S2O3T.js} +1 -1
  124. package/dist/chunks/execution-repo-5TLV2NM4.js +4 -0
  125. package/dist/chunks/{executions-BN6OLLVM.js → executions-I3UUIGSL.js} +1 -1
  126. package/dist/chunks/file-Y5G56IUT.js +4 -0
  127. package/dist/chunks/github-copilot-BRU2SRRZ.js +4 -0
  128. package/dist/chunks/google-generative-ai-ZF5QEUZV.js +4 -0
  129. package/dist/chunks/google-vertex-4PJZZI3Y.js +4 -0
  130. package/dist/chunks/init-A6GY656J.js +4 -0
  131. package/dist/chunks/{install-cli-ABBD7DO5.js → install-cli-FALWKQYO.js} +1 -1
  132. package/dist/chunks/{interaction-ask-EE2UPR3Q.js → interaction-ask-O5HGF6CH.js} +1 -1
  133. package/dist/chunks/{interaction-plan-C446T2GZ.js → interaction-plan-JTVDN3BC.js} +1 -1
  134. package/dist/chunks/kimi-coding-ZCIBMDZ6.js +4 -0
  135. package/dist/chunks/{llama-cpp-classify-IA2F2H7A.js → llama-cpp-classify-NRUXAIGQ.js} +3 -3
  136. package/dist/chunks/local-client-stop-RS4AHNF4.js +4 -0
  137. package/dist/chunks/memory-cli-DIT4DQF3.js +11 -0
  138. package/dist/chunks/meta-JQH66YU7.js +4 -0
  139. package/dist/chunks/mistral-conversations-CXHOECUV.js +7 -0
  140. package/dist/chunks/model-resolver-GIBPYRKP.js +4 -0
  141. package/dist/chunks/monitor-Z2HKNY5E.js +4 -0
  142. package/dist/chunks/openai-codex-responses-U6DGMGDK.js +12 -0
  143. package/dist/chunks/openai-completions-PP4XLLOM.js +9 -0
  144. package/dist/chunks/{openai-decisions-P5UX7BWY.js → openai-decisions-JU6QQKEM.js} +1 -1
  145. package/dist/chunks/openai-responses-2SG757TL.js +6 -0
  146. package/dist/chunks/openrouter-images-32M7YZWC.js +4 -0
  147. package/dist/chunks/pi-messages-VSINMXN4.js +10 -0
  148. package/dist/chunks/radius-THYKWV4E.js +4 -0
  149. package/dist/chunks/remote-ops-2WBEFQ3E.js +14 -0
  150. package/dist/chunks/runner-5MKMRTIN.js +4 -0
  151. package/dist/chunks/runtime-DST3H5JP.js +4 -0
  152. package/dist/chunks/schedule-cli-V7Y2BBVY.js +4 -0
  153. package/dist/chunks/slack-R7SEJYMY.js +4 -0
  154. package/dist/chunks/start-ui-http-7K5JOLPU.js +43 -0
  155. package/dist/chunks/subagent-Z5IQ4L54.js +4 -0
  156. package/dist/chunks/tool-shims-YCXZWTST.js +4 -0
  157. package/dist/chunks/typesafe-system-one-M2DABJSZ.js +4 -0
  158. package/dist/chunks/ui-board-HQIE4RZG.js +5 -0
  159. package/dist/chunks/ui-decision-YBZDS4YW.js +4 -0
  160. package/dist/chunks/{ui-file-6PLXHSTB.js → ui-file-SRD4ILBS.js} +1 -1
  161. package/dist/chunks/ui-view-Z25MTZT7.js +4 -0
  162. package/dist/chunks/virtual-modules-H4DXPJZB.js +4 -0
  163. package/dist/chunks/{waitpoint-W5M3BE55.js → waitpoint-M6JZBSLT.js} +1 -1
  164. package/dist/chunks/workers-SQ2R32TK.js +4 -0
  165. package/dist/client-bundle/client.mjs +229 -62
  166. package/dist/client-bundle/manifest.json +2 -2
  167. package/dist/core/pi-sdk.js +1 -1
  168. package/dist/domain/auth/cc-auth-cli.js +1 -1
  169. package/dist/domain/mcp/bundled-server.js +1 -1
  170. package/dist/domain/mcp/feishu/client.js +1 -1
  171. package/dist/entry/app.js +138 -556
  172. package/dist/entry/browser-cli.js +1 -1
  173. package/dist/entry/cli.js +1 -1
  174. package/dist/entry/cortex-cli.js +1 -1
  175. package/dist/entry/daemon.js +3 -3
  176. package/dist/entry/hook-cli.js +1 -1
  177. package/dist/entry/production-app-bootstrap.js +1 -1
  178. package/dist/entry/production-evidence-export-cli.js +1 -1
  179. package/dist/entry/signal-cli.js +1 -1
  180. package/dist/tui/index.js +1 -1
  181. package/package.json +1 -1
  182. package/vendor/pi/CHANGELOG.md +330 -0
  183. package/vendor/pi/dist/codemode-worker.js +2 -0
  184. package/vendor/pi/dist/core/export-html/ansi-to-html.js +57 -20
  185. package/vendor/pi/dist/core/export-html/template.css +9 -0
  186. package/vendor/pi/dist/core/export-html/template.js +166 -46
  187. package/vendor/pi/dist/core/export-html/tool-renderer.js +5 -3
  188. package/vendor/pi/dist/core/extensions/loader.js +1 -1
  189. package/vendor/pi/dist/extensions/codemode/execute.js +15 -13
  190. package/vendor/pi/dist/modes/interactive/theme/theme.js +36 -23
  191. package/vendor/pi/dist/utils/image-resize-worker.js +1 -1
  192. package/vendor/pi/dist/utils/image-resize.js +1 -1
  193. package/vendor/pi/docs/cli.md +35 -12
  194. package/vendor/pi/docs/custom-provider.md +2 -0
  195. package/vendor/pi/docs/environment-variables.md +2 -0
  196. package/vendor/pi/docs/extensions.md +3192 -225
  197. package/vendor/pi/docs/keybindings.md +2 -2
  198. package/vendor/pi/docs/llama-cpp.md +27 -19
  199. package/vendor/pi/docs/mcp.md +6 -4
  200. package/vendor/pi/docs/message-types.md +1 -1
  201. package/vendor/pi/docs/models-configuration.md +9 -3
  202. package/vendor/pi/docs/models.md +2 -1
  203. package/vendor/pi/docs/nvidia-rtx-llama-cpp.md +5 -5
  204. package/vendor/pi/docs/packages.md +24 -0
  205. package/vendor/pi/docs/prompt-templates.md +1 -1
  206. package/vendor/pi/docs/providers.md +4 -2
  207. package/vendor/pi/docs/quickstart.md +7 -3
  208. package/vendor/pi/docs/rpc-commands.md +1 -1
  209. package/vendor/pi/docs/rpc.md +4 -2
  210. package/vendor/pi/docs/sessions.md +17 -3
  211. package/vendor/pi/docs/settings.md +6 -5
  212. package/vendor/pi/docs/slash-commands.md +3 -2
  213. package/vendor/pi/docs/terminal-setup.md +3 -1
  214. package/vendor/pi/docs/tmux.md +6 -0
  215. package/vendor/pi/docs/tui.md +4 -0
  216. package/vendor/pi/docs/windows.md +27 -0
  217. package/vendor/pi/examples/extensions/README.md +2 -1
  218. package/vendor/pi/examples/extensions/custom-provider-anthropic/index.ts +27 -31
  219. package/vendor/pi/examples/extensions/custom-provider-anthropic/package-lock.json +2 -2
  220. package/vendor/pi/examples/extensions/custom-provider-anthropic/package.json +1 -1
  221. package/vendor/pi/examples/extensions/custom-provider-gitlab-duo/package.json +1 -1
  222. package/vendor/pi/examples/extensions/debug-provider.ts +2 -2
  223. package/vendor/pi/examples/extensions/gondolin/index.ts +4 -7
  224. package/vendor/pi/examples/extensions/gondolin/package-lock.json +19 -29
  225. package/vendor/pi/examples/extensions/gondolin/package.json +2 -2
  226. package/vendor/pi/examples/extensions/plan-mode/index.ts +23 -13
  227. package/vendor/pi/examples/extensions/plan-mode/utils.ts +42 -16
  228. package/vendor/pi/examples/extensions/preset.ts +2 -0
  229. package/vendor/pi/examples/extensions/reload-runtime.ts +17 -5
  230. package/vendor/pi/examples/extensions/subagent/README.md +14 -11
  231. package/vendor/pi/examples/extensions/subagent/index.ts +392 -171
  232. package/vendor/pi/examples/extensions/todo.ts +7 -0
  233. package/vendor/pi/examples/extensions/tools.ts +2 -0
  234. package/vendor/pi/examples/extensions/with-deps/package-lock.json +2 -2
  235. package/vendor/pi/examples/extensions/with-deps/package.json +1 -1
  236. package/vendor/pi/examples/tsconfig.json +208 -0
  237. package/vendor/pi/package.json +15 -16
  238. package/vendor/pi/schemas/models.schema.json +66 -37
  239. package/vendor/pi/schemas/settings.schema.json +18 -1
  240. package/vendor/pi-ai/bedrock.js +1 -1
  241. package/vendor/pi-ai/oauth-load.js +1 -1
  242. package/web/dist/assets/{board-math-css-BgIyUG-C.js → board-math-css-DKX6FcUS.js} +1 -1
  243. package/web/dist/assets/index-D11wi0uG.js +540 -0
  244. package/web/dist/assets/index-JedYumhY.css +1 -0
  245. package/web/dist/assets/{index-C2eMpcuI.js → index-jl30Gy8P.js} +1 -1
  246. package/web/dist/index.html +2 -2
  247. package/dist/chunks/anthropic-messages-M732OMEE.js +0 -8
  248. package/dist/chunks/azure-openai-responses-RAKTV6JY.js +0 -4
  249. package/dist/chunks/bedrock-converse-stream-WNUGNZ27.js +0 -62
  250. package/dist/chunks/child-runner-MO5RT6FH.js +0 -4
  251. package/dist/chunks/chunk-3CPIMAYX.js +0 -30
  252. package/dist/chunks/chunk-3ORG56I5.js +0 -8
  253. package/dist/chunks/chunk-4EX2JJWB.js +0 -4
  254. package/dist/chunks/chunk-5DF5WJNM.js +0 -60
  255. package/dist/chunks/chunk-7GAYFN52.js +0 -18
  256. package/dist/chunks/chunk-AVXDF7AG.js +0 -4
  257. package/dist/chunks/chunk-BJGYGEZO.js +0 -6
  258. package/dist/chunks/chunk-BZDIAI5M.js +0 -125
  259. package/dist/chunks/chunk-CK3P345X.js +0 -133
  260. package/dist/chunks/chunk-CVC66CFV.js +0 -33
  261. package/dist/chunks/chunk-ETIBCA2S.js +0 -4
  262. package/dist/chunks/chunk-FF7UELTU.js +0 -4
  263. package/dist/chunks/chunk-FX6MOGLR.js +0 -11
  264. package/dist/chunks/chunk-G2V65UBA.js +0 -4
  265. package/dist/chunks/chunk-HGPBHTVD.js +0 -6
  266. package/dist/chunks/chunk-IYVZHGUQ.js +0 -5
  267. package/dist/chunks/chunk-JJDEQ6N2.js +0 -4
  268. package/dist/chunks/chunk-KDYEGGMW.js +0 -4
  269. package/dist/chunks/chunk-L6VCIGWS.js +0 -11
  270. package/dist/chunks/chunk-LACGULCN.js +0 -10
  271. package/dist/chunks/chunk-LAWOWPZX.js +0 -363
  272. package/dist/chunks/chunk-NNTQUHLO.js +0 -877
  273. package/dist/chunks/chunk-OE4KH3NJ.js +0 -4
  274. package/dist/chunks/chunk-OSEIQ7SS.js +0 -4
  275. package/dist/chunks/chunk-PZMGBKUR.js +0 -13
  276. package/dist/chunks/chunk-QBKCAIJG.js +0 -4
  277. package/dist/chunks/chunk-QMSSIDRQ.js +0 -70
  278. package/dist/chunks/chunk-QUUEQRIT.js +0 -4
  279. package/dist/chunks/chunk-RA6HKFBV.js +0 -4
  280. package/dist/chunks/chunk-RDW6FRF5.js +0 -4
  281. package/dist/chunks/chunk-RF4JLYBX.js +0 -6
  282. package/dist/chunks/chunk-SFX7V5O2.js +0 -10
  283. package/dist/chunks/chunk-SKHLZ6XY.js +0 -9
  284. package/dist/chunks/chunk-STCNHXPJ.js +0 -6
  285. package/dist/chunks/chunk-UT6DGZDO.js +0 -4
  286. package/dist/chunks/chunk-VBN2JSER.js +0 -5
  287. package/dist/chunks/chunk-VK5J556O.js +0 -4
  288. package/dist/chunks/chunk-VPVSKJGX.js +0 -6
  289. package/dist/chunks/chunk-VQUPKMDR.js +0 -4
  290. package/dist/chunks/chunk-WEZWKMYU.js +0 -4
  291. package/dist/chunks/chunk-XYSXL3KX.js +0 -4
  292. package/dist/chunks/chunk-Y3GFB5XM.js +0 -8
  293. package/dist/chunks/chunk-YAAKL3QS.js +0 -80
  294. package/dist/chunks/chunk-YB5LUJHS.js +0 -65
  295. package/dist/chunks/chunk-YKKEI5GI.js +0 -4
  296. package/dist/chunks/chunk-Z24SBRJK.js +0 -4
  297. package/dist/chunks/cli-5DBTRMHU.js +0 -53
  298. package/dist/chunks/cloudflare-workers-ai-system-one-32JCFHI3.js +0 -4
  299. package/dist/chunks/context-GQKWKFRM.js +0 -4
  300. package/dist/chunks/cost-OOO32GLC.js +0 -5
  301. package/dist/chunks/dist-V5FRMUFH.js +0 -4
  302. package/dist/chunks/execution-repo-XXL4FXC6.js +0 -4
  303. package/dist/chunks/file-H572PL2Z.js +0 -4
  304. package/dist/chunks/github-copilot-HAI2DA62.js +0 -4
  305. package/dist/chunks/google-generative-ai-2G4ITOZL.js +0 -4
  306. package/dist/chunks/google-vertex-PACHCMRZ.js +0 -4
  307. package/dist/chunks/init-75F4V7SK.js +0 -4
  308. package/dist/chunks/kimi-coding-HMJRKCPA.js +0 -4
  309. package/dist/chunks/local-client-stop-5YOLXGYT.js +0 -4
  310. package/dist/chunks/memory-cli-5SSF6YJM.js +0 -11
  311. package/dist/chunks/meta-KY3LNFV2.js +0 -4
  312. package/dist/chunks/mistral-conversations-VHP63CDS.js +0 -7
  313. package/dist/chunks/model-resolver-FVJNZ6NA.js +0 -4
  314. package/dist/chunks/openai-codex-responses-EHJ4AZBE.js +0 -12
  315. package/dist/chunks/openai-completions-CRAGQFCE.js +0 -9
  316. package/dist/chunks/openai-responses-IZ22NVQ7.js +0 -6
  317. package/dist/chunks/openrouter-images-W2JAMSRH.js +0 -4
  318. package/dist/chunks/pi-messages-MJEEQU2R.js +0 -10
  319. package/dist/chunks/radius-ZM7ZRMXF.js +0 -4
  320. package/dist/chunks/remote-ops-O5CR4RGA.js +0 -14
  321. package/dist/chunks/runner-S6R3US24.js +0 -4
  322. package/dist/chunks/runtime-6YLTA2ZD.js +0 -4
  323. package/dist/chunks/schedule-cli-4T4YC5V5.js +0 -4
  324. package/dist/chunks/slack-2CGM4SMY.js +0 -4
  325. package/dist/chunks/start-ui-http-3D7QNHGB.js +0 -43
  326. package/dist/chunks/subagent-OZGUOV3J.js +0 -4
  327. package/dist/chunks/tool-shims-IA2WELXJ.js +0 -4
  328. package/dist/chunks/typesafe-system-one-6ULACYD4.js +0 -4
  329. package/dist/chunks/ui-board-H4INJD6C.js +0 -5
  330. package/dist/chunks/ui-decision-6HHNROIT.js +0 -4
  331. package/dist/chunks/ui-view-6MDU4GXY.js +0 -4
  332. package/dist/chunks/virtual-modules-OFI7QKYH.js +0 -4
  333. package/dist/chunks/workers-GTFP75MS.js +0 -4
  334. package/vendor/pi/examples/extensions/sandbox/index.ts +0 -321
  335. package/vendor/pi/examples/extensions/sandbox/package-lock.json +0 -92
  336. package/vendor/pi/examples/extensions/sandbox/package.json +0 -19
  337. package/web/dist/assets/index-9lyu2S6W.css +0 -1
  338. package/web/dist/assets/index-C-hpzey7.js +0 -532
@@ -3395,7 +3395,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
3395
3395
 
3396
3396
  ========================================================================
3397
3397
 
3398
- Package: @earendil-works/pi-agent-core@1.4.0
3398
+ Package: @earendil-works/pi-agent-core@1.6.0
3399
3399
  Declared license: MIT
3400
3400
  WARNING: No LICENSE/LICENCE/COPYING file found; declared metadata and any README license information follow.
3401
3401
  The standard MIT license text is included below; published attribution follows.
@@ -3409,7 +3409,7 @@ MIT
3409
3409
 
3410
3410
  ========================================================================
3411
3411
 
3412
- Package: @earendil-works/pi-ai@1.4.0
3412
+ Package: @earendil-works/pi-ai@1.6.0
3413
3413
  Declared license: MIT
3414
3414
  WARNING: No LICENSE/LICENCE/COPYING file found; declared metadata and any README license information follow.
3415
3415
  The standard MIT license text is included below; published attribution follows.
@@ -3423,7 +3423,7 @@ MIT
3423
3423
 
3424
3424
  ========================================================================
3425
3425
 
3426
- Package: @earendil-works/pi-codemode@1.4.0
3426
+ Package: @earendil-works/pi-codemode@1.6.0
3427
3427
  Declared license: MIT
3428
3428
  WARNING: No LICENSE/LICENCE/COPYING file found; declared metadata and any README license information follow.
3429
3429
  The standard MIT license text is included below; published attribution follows.
@@ -3431,7 +3431,7 @@ author: "Earendil Works"
3431
3431
 
3432
3432
  ========================================================================
3433
3433
 
3434
- Package: @earendil-works/pi-coding-agent@1.4.0
3434
+ Package: @earendil-works/pi-coding-agent@1.6.0
3435
3435
  Declared license: MIT
3436
3436
  WARNING: No LICENSE/LICENCE/COPYING file found; declared metadata and any README license information follow.
3437
3437
  The standard MIT license text is included below; published attribution follows.
@@ -3445,36 +3445,539 @@ MIT
3445
3445
 
3446
3446
  ========================================================================
3447
3447
 
3448
- Package: @earendil-works/pi-mcp@1.4.0
3448
+ Package: @earendil-works/pi-mcp@1.6.0
3449
3449
  Declared license: MIT
3450
+ WARNING: No LICENSE/LICENCE/COPYING file found; declared metadata and any README license information follow.
3451
+ The standard MIT license text is included below; published attribution follows.
3452
+ author: "Earendil Works"
3450
3453
 
3451
- --- LICENSES/modelcontextprotocol-typescript-sdk.txt ---
3452
- MIT License
3454
+ --- README.md (license information) ---
3455
+ # @earendil-works/pi-mcp
3453
3456
 
3454
- Copyright (c) 2024 Anthropic, PBC
3457
+ A small, standalone Model Context Protocol client. It does not depend on the official MCP SDK or other pi packages.
3458
+
3459
+ The package provides a transport-neutral client core, stdio and Streamable HTTP transports, a stdio transport over a pipe to a program started elsewhere, and an in-memory testing transport.
3460
+
3461
+ ## Usage
3462
+
3463
+ ```typescript
3464
+ import { McpClient, StdioTransport } from "@earendil-works/pi-mcp";
3465
+
3466
+ const transport = new StdioTransport({
3467
+ command: "npx",
3468
+ args: ["-y", "@modelcontextprotocol/server-filesystem", "/workspace"],
3469
+ });
3470
+ const client = new McpClient({
3471
+ name: "my-client",
3472
+ version: "1.0.0",
3473
+ roots: [{ uri: "file:///workspace", name: "workspace" }],
3474
+ });
3475
+
3476
+ await client.connect(transport);
3477
+ const tools = await client.listTools();
3478
+ const result = await client.callTool("search", { query: "MCP" });
3479
+ await client.close();
3480
+ ```
3481
+
3482
+ For a remote server, use `new StreamableHttpTransport({ url, headers })`. Fetch can be injected for proxying or custom networking.
3483
+
3484
+ An MCP transport owns framing and I/O. It delivers individual JSON-RPC messages to `McpClient`; the client owns request correlation, initialization, timeouts, cancellation, server requests, and protocol-level helpers.
3485
+
3486
+ ### Stdio servers started elsewhere
3487
+
3488
+ `PipeTransport` speaks MCP's stdio framing over a program that something else starts, for example on another machine. `open` starts the program, connects its stdout and stderr to the given handlers, and returns an `McpPipe` (`write`, `closeStdin`, `close` to kill, and an `exited` promise). `@earendil-works/pi-env`'s `openProcess()` returns one, without an adapter:
3489
+
3490
+ ```typescript
3491
+ import { openProcess } from "@earendil-works/pi-env";
3492
+ import { PipeTransport } from "@earendil-works/pi-mcp";
3493
+
3494
+ const transport = new PipeTransport({
3495
+ open: (handlers) => openProcess(connection, { cwd, argv, ...handlers }),
3496
+ });
3497
+ await client.connect(transport);
3498
+ ```
3499
+
3500
+ Closing the transport closes the program's stdin and kills it if it has not exited after `closeTimeoutMs` (default 2000). The transport closes when the program ends.
3501
+
3502
+ ### Tools for an LLM
3503
+
3504
+ `toLlmContent(result)` converts a `CallToolResult` to text and image content for a model, in the shape of `@earendil-works/pi-ai`'s `TextContent` and `ImageContent`. Text and images pass through, embedded text and image resources are unwrapped, and audio, resource links, and binary resources become short text placeholders. A result without content blocks but with `structuredContent` becomes its JSON.
3505
+
3506
+ Wrapping an MCP tool as a `pi-agent-core` `AgentTool`:
3507
+
3508
+ ```typescript
3509
+ import type { AgentTool } from "@earendil-works/pi-agent-core";
3510
+ import { toLlmContent } from "@earendil-works/pi-mcp";
3511
+
3512
+ const tools: AgentTool[] = (await client.listTools()).map((tool) => ({
3513
+ // Providers allow at most 64 characters of [A-Za-z0-9_-].
3514
+ name: `mcp_${tool.name}`.replace(/[^A-Za-z0-9_-]/g, "_").slice(0, 64),
3515
+ label: tool.title ?? tool.name,
3516
+ description: tool.description ?? tool.name,
3517
+ // Providers require an object schema, and some reject one without `properties`.
3518
+ parameters: { ...tool.inputSchema, type: "object", properties: tool.inputSchema.properties ?? {} },
3519
+ execute: async (_toolCallId, params, signal) => {
3520
+ const result = await client.callTool(tool.name, params as Record<string, unknown>, { signal });
3521
+ // MCP reports tool failures in the result instead of as a protocol error.
3522
+ return { content: toLlmContent(result), details: undefined, isError: result.isError === true };
3523
+ },
3524
+ }));
3525
+ ```
3526
+
3527
+ For applications that name tools like pi's coding agent: `createMcpToolName(server, tool, isTaken)` builds `mcp__<server>__<tool>`, limited to the characters and the 64-character length providers accept, with a hash suffix for long names and for names `isTaken` reports as used by another tool. `mcpNamespace(server)` is the prefix of a server's tool names. `normalizeMcpInputSchema()` turns an input schema into an object schema with `properties`, and `limitMcpContent(content, saveOutput)` keeps model-facing text within `MCP_OUTPUT_MAX_BYTES` (20KB) by cutting its middle; `saveOutput`, when given, stores the full text and returns the path the model can read it from.
3528
+
3529
+ The [mcp-codemode example](https://github.com/earendil-works/pi/tree/main/packages/agent/examples/mcp-codemode) also forwards progress, passes `structuredContent` through, and lets `@earendil-works/pi-codemode` scripts call the tools.
3530
+
3531
+ ### OAuth
3532
+
3533
+ `@earendil-works/pi-mcp/oauth` provides the MCP OAuth client subset without depending on the official SDK:
3534
+
3535
+ ```typescript
3536
+ import { McpClient, StreamableHttpTransport } from "@earendil-works/pi-mcp";
3537
+ import {
3538
+ adaptOAuthProvider,
3539
+ authorizeMcp,
3540
+ McpOAuthAuthorizationRequiredError,
3541
+ McpOAuthProvider,
3542
+ OAuthCallbackServer,
3543
+ } from "@earendil-works/pi-mcp/oauth";
3544
+
3545
+ const serverUrl = "https://mcp.example.com/mcp";
3546
+ const callback = await OAuthCallbackServer.listen();
3547
+ let authorizationUrl: URL | undefined;
3548
+ const oauth = new McpOAuthProvider({
3549
+ serverUrl,
3550
+ redirectUrl: callback.redirectUrl,
3551
+ clientMetadata: { client_name: "My MCP client" },
3552
+ onRedirect: (url) => {
3553
+ authorizationUrl = url;
3554
+ },
3555
+ });
3455
3556
 
3456
- Permission is hereby granted, free of charge, to any person obtaining a copy
3457
- of this software and associated documentation files (the "Software"), to deal
3458
- in the Software without restriction, including without limitation the rights
3459
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
3460
- copies of the Software, and to permit persons to whom the Software is
3461
- furnished to do so, subject to the following conditions:
3557
+ const connect = () => {
3558
+ const client = new McpClient({ name: "my-client", version: "1.0.0" });
3559
+ return {
3560
+ client,
3561
+ connected: client.connect(
3562
+ new StreamableHttpTransport({ url: serverUrl, authProvider: adaptOAuthProvider(oauth) }),
3563
+ ),
3564
+ };
3565
+ };
3566
+
3567
+ const first = connect();
3568
+ try {
3569
+ await first.connected;
3570
+ } catch (error) {
3571
+ if (!(error instanceof McpOAuthAuthorizationRequiredError)) throw error;
3572
+ const state = await oauth.state();
3573
+ const result = callback.waitForCallback(state);
3574
+ // Open authorizationUrl in the user's browser here.
3575
+ const { code } = await result;
3576
+ await authorizeMcp(oauth, { serverUrl, authorizationCode: code });
3577
+ }
3462
3578
 
3463
- The above copyright notice and this permission notice shall be included in all
3464
- copies or substantial portions of the Software.
3579
+ const { client, connected } = connect();
3580
+ await connected;
3581
+ ```
3465
3582
 
3466
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
3467
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
3468
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
3469
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3470
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
3471
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
3472
- SOFTWARE.
3583
+ Inject `McpOAuthStateStore` into `McpOAuthProvider` for durable credentials. The package does not open a browser or choose where credentials are stored.
3584
+
3585
+ #### Sign-in in two halves
3586
+
3587
+ `startMcpSignIn()` and `completeMcpSignIn()` run the sign-in pi uses, split so the second half can run in another request with the same state store (an `McpOAuthServerStore`: a state store with a refresh lock). The caller picks the redirect URI: a loopback one, or an https callback route of its own. `startMcpSignIn()` first tries to refresh the stored tokens under the store's refresh lock, so never call it while holding that lock; its `redirect` result is plain data the application can persist until the response arrives. Pass `completeMcpSignIn()` the same options, including the redirect URI you chose (not `started.redirectUrl`, which may be a variant specific to the MCP server).
3588
+
3589
+ ```typescript
3590
+ import { completeMcpSignIn, responseFromRedirectUrl, startMcpSignIn } from "@earendil-works/pi-mcp/oauth";
3591
+
3592
+ const signIn = { serverUrl, store, settings: {}, redirectUrl: "https://app.example/mcp/callback", clientName: "My app" };
3593
+ const started = await startMcpSignIn(signIn);
3594
+ if (started.kind === "redirect") {
3595
+ // Send the browser to started.authorizationUrl; keep `started` until the response arrives.
3596
+ // Later, a callback route builds { code, state, iss } from its query; a pasted URL goes through:
3597
+ const response = responseFromRedirectUrl(pastedUrl, started);
3598
+ await completeMcpSignIn({ ...signIn, authorization: started, response });
3599
+ }
3600
+ ```
3601
+
3602
+ For a browser on the same machine, `listenForLoopbackSignIn()` starts a loopback callback server and returns its redirect URI, and `waitForLoopbackSignIn()` waits for the response on it or for a pasted redirect URL. `clientMetadataDocuments` lets authorization servers that support Client ID Metadata Documents identify the application by a document it publishes instead of registering a client. `createMcpAuthProvider()` is the matching `AuthProvider` for connections: it refreshes the stored tokens and throws `McpOAuthAuthorizationRequiredError` when the user has to sign in.
3603
+
3604
+ The OAuth implementation is adapted from the MIT-licensed Model Context Protocol TypeScript SDK v1.29.0. Its license is included under `THIRD_PARTY_NOTICES/`.
3605
+
3606
+ ### Configuration
3607
+
3608
+ `validateMcpServerConfig(name, entry, options)` validates one entry of the `mcpServers` shape that MCP clients share: stdio servers (`command`, `args`, `env`, `cwd`), Streamable HTTP servers (`url`, `headers`, `oauth`), and `enabled`, `description`, and `timeout`. It returns `{ kind: "stdio" | "http", config }` or `{ kind: "invalid", error }`. Fields it does not know stay in `config`, typed `unknown`, for the application to check afterwards, depending on `kind` where it matters. Resolving `${VAR}` references and relative paths is left to the application. `oauth.clientRegistration: "cimd"` is accepted only with `options.checkMetadataDocumentCallback`, which checks that the application's Client ID Metadata Documents list the callback.
3609
+
3610
+ ```typescript
3611
+ import { validateMcpServerConfig } from "@earendil-works/pi-mcp";
3612
+
3613
+ for (const [name, entry] of Object.entries(file.mcpServers)) {
3614
+ const result = validateMcpServerConfig(name, entry);
3615
+ if (result.kind === "invalid") errors.push(result.error);
3616
+ else if (result.config.shared !== undefined && typeof result.config.shared !== "boolean") {
3617
+ errors.push(`server "${name}": shared must be a boolean`);
3618
+ } else servers.set(name, result);
3619
+ }
3620
+ ```
3621
+
3622
+ `isMcpServerOverride(entry)` is true for entries without `command`, `url`, or `type`, which applications treat as overriding a few fields of a server defined in another file.
3623
+
3624
+ ## Supported protocol surface
3473
3625
 
3626
+ - MCP protocol version `2025-11-25`, accepting servers that negotiate `2025-06-18`, `2025-03-26`, or `2024-11-05`
3627
+ - initialization and `notifications/initialized`
3628
+ - ping
3629
+ - paginated `tools/list`
3630
+ - `tools/call`, including structured content
3631
+ - progress notifications and timeout renewal
3632
+ - request cancellation
3633
+ - Streamable HTTP sessions, the server-to-client GET stream with reconnection, and resumption of dropped response streams with `Last-Event-ID`
3634
+ - stdio shutdown per the spec (close stdin, then SIGTERM, then SIGKILL), applied to the server's whole process group
3635
+ - stdio over a caller-provided pipe (`PipeTransport`)
3636
+ - server `ping` and `roots/list` requests
3637
+ - logging and tool-list-change notifications through the generic notification API
3638
+ - OAuth protected-resource and authorization-server discovery
3639
+ - PKCE authorization code flow, dynamic client registration, token refresh (one refresh shared by concurrent 401s), and step-up authorization for `insufficient_scope`
3640
+
3641
+ Batch JSON-RPC messages, legacy HTTP+SSE, servers, sampling, and tasks are outside the initial core.
3642
+
3643
+ ## Testing
3644
+
3645
+ `@earendil-works/pi-mcp/testing` exports `createInMemoryTransportPair()` for client and adapter tests.
3646
+
3647
+
3648
+ ========================================================================
3474
3649
 
3475
- ========================================================================
3650
+ Package: @earendil-works/pi-schema@1.6.0
3651
+ Declared license: MIT
3652
+ WARNING: No LICENSE/LICENCE/COPYING file found; declared metadata and any README license information follow.
3653
+ The standard MIT license text is included below; published attribution follows.
3654
+ author: "Earendil Works"
3476
3655
 
3477
- Package: @earendil-works/pi-telemetry@1.4.0
3656
+ --- README.md (license information) ---
3657
+ # @earendil-works/pi-schema
3658
+
3659
+ JSON Schema builders and validation without `eval`. A schema compiles once into plain closures, so it checks values
3660
+ at close to the speed of validators that generate code, also under a strict Content Security Policy, and needs no
3661
+ dependencies.
3662
+
3663
+ - Drafts 2020-12 and 7. Passes 2,222 of the 2,223 core tests of the official
3664
+ [JSON-Schema-Test-Suite](https://github.com/json-schema-org/JSON-Schema-Test-Suite).
3665
+ - Builders return plain JSON Schema typed with the values it accepts; a compiled check narrows to that type.
3666
+ - Errors as JSON Pointer paths. A missing or unknown field is reported at the field.
3667
+ - Never modifies a schema; frozen schemas work.
3668
+ - 8.5 KB minified and gzipped. Format checks are an optional import.
3669
+
3670
+ ## Installation
3671
+
3672
+ ```bash
3673
+ npm install @earendil-works/pi-schema
3674
+ ```
3675
+
3676
+ ## Usage
3677
+
3678
+ ```typescript
3679
+ import { compile, int, obj, oneOf, opt, type Static, str } from "@earendil-works/pi-schema";
3680
+
3681
+ const Read = obj({
3682
+ path: str({ description: "Path to the file", minLength: 1 }),
3683
+ offset: opt(int({ minimum: 1 })),
3684
+ mode: oneOf(["text", "binary"]),
3685
+ });
3686
+ type Read = Static<typeof Read>; // { path: string; mode: "text" | "binary"; offset?: number }
3687
+
3688
+ const read = compile(Read);
3689
+ if (read.check(value)) value.path; // value: Read
3690
+
3691
+ read.errors({ offset: 0, extra: true });
3692
+ // [
3693
+ // { path: "/path", keyword: "required", message: "missing" },
3694
+ // { path: "/mode", keyword: "required", message: "missing" },
3695
+ // { path: "/offset", keyword: "minimum", message: "expected >= 1" },
3696
+ // { path: "/extra", keyword: "additionalProperties", message: "unknown field" },
3697
+ // ]
3698
+ ```
3699
+
3700
+ `Read` is plain JSON Schema (`{ type: "object", properties: {...}, required: ["path", "mode"], additionalProperties:
3701
+ false }`), ready for a tool definition or `JSON.stringify`. `compile` takes any JSON Schema, built with the builders
3702
+ or not.
3703
+
3704
+ `check(value)` is the fast path: a boolean, no allocations for most schemas, and a plain function you can pass
3705
+ around. `errors(value)` explains a failure and returns `[]` for a valid value. It is built on the first failure and
3706
+ kept, so a schema whose values always pass never pays for it. `validate(value)` combines the two without changing
3707
+ the value: `{ ok: true, value }` or `{ ok: false, errors }`.
3708
+
3709
+ ### Builders
3710
+
3711
+ | builder | schema | type |
3712
+ |---|---|---|
3713
+ | `str({ minLength, maxLength, pattern, format })` | `{ type: "string", ... }` | `string` |
3714
+ | `num({ minimum, maximum, exclusiveMinimum, exclusiveMaximum, multipleOf })`, `int(...)` | `{ type: "number" }`, `{ type: "integer" }` | `number` |
3715
+ | `bool()`, `nul()`, `unknown()` | `{ type: "boolean" }`, `{ type: "null" }`, `{}` | `boolean`, `null`, `unknown` |
3716
+ | `lit(value)` | `{ const: value }` | the literal |
3717
+ | `oneOf(["a", "b"])` | `{ enum: [...] }` | `"a" \| "b"` |
3718
+ | `obj({ a: str(), b: opt(num()) }, { open })` | closed object; `open: true` allows other properties | `{ a: string; b?: number }` |
3719
+ | `arr(items, { minItems, maxItems, uniqueItems })` | `{ type: "array", items }` | `T[]` |
3720
+ | `tuple([str(), num()])` | `prefixItems`, no more items | `[string, number]` |
3721
+ | `map(value)` | `{ type: "object", additionalProperties: value }` | `Record<string, T>` |
3722
+ | `union([...])` | `{ anyOf: [...] }` | the union |
3723
+ | `nullable(schema)` | `{ anyOf: [schema, { type: "null" }] }` | `T \| null` |
3724
+ | `bytes({ minLength, maxLength })` | `{ type: "bytes", ... }` | `Uint8Array` |
3725
+ | `bigint({ minimum, maximum, exclusiveMinimum, exclusiveMaximum, multipleOf })` | `{ type: "bigint", ... }`, bigint bounds | `bigint` |
3726
+ | `unsafe<T>(schema)` | `schema` as given (`{}` by default) | `T`, unchecked |
3727
+ | `recursive<T>(id, (self) => schema)` | `schema` with `$id: id`; `self` is `{ $ref: id }` | `T` |
3728
+
3729
+ Every builder also takes `title`, `description`, `examples`, `deprecated` and `default`. A `default` is an annotation;
3730
+ validation never inserts it.
3731
+
3732
+ A union of objects tagged by a `lit()` property checks and reports by the tag: only the branch the tag selects runs.
3733
+
3734
+ ```typescript
3735
+ const Block = union([obj({ kind: lit("text"), text: str() }), obj({ kind: lit("image"), width: int({ minimum: 0 }) })]);
3736
+ compile(Block).errors({ kind: "video" });
3737
+ // [{ path: "/kind", keyword: "anyOf", message: 'expected one of ["text","image"]' }]
3738
+ ```
3739
+
3740
+ A recursive schema needs its type spelled out, since TypeScript cannot infer one from the builders. Its `id` must be
3741
+ unique among the recursive schemas within one schema:
3742
+
3743
+ ```typescript
3744
+ type Tree = { name: string; children: Tree[] };
3745
+ const Tree = recursive<Tree>("Tree", (self) => obj({ name: str(), children: arr(self) }));
3746
+ ```
3747
+
3748
+ `Static` also types schemas built with TypeBox 1.x, read from TypeBox's type shapes (pi-schema does not import
3749
+ TypeBox): `String`, `Number`, `Integer`, `Boolean`, `Null`, `Literal`, `Array`, `Object` (with `Type.Optional` and
3750
+ `Type.Readonly` properties), `Union`, `Record`, `Enum`, `Tuple`, `BigInt`, `Undefined`, `Unsafe`, `Unknown` and `Any`
3751
+ give TypeBox's own static type, so `Static<typeof Type.Object({ path: Type.String() })>` is `{ path: string }`. Other
3752
+ TypeBox kinds (`Intersect`, `Cyclic`, `Ref`, ...) give `unknown` where they stand. Other JSON Schema objects give
3753
+ `unknown`.
3754
+
3755
+ ### Options
3756
+
3757
+ ```typescript
3758
+ import { formats } from "@earendil-works/pi-schema/formats";
3759
+
3760
+ const validator = compile(schema, {
3761
+ draft: "7", // "2020-12" (default) or "7"
3762
+ formats, // check `format`; without it `format` is an annotation, as 2020-12 specifies
3763
+ schemas: { "https://example.com/point.json": point }, // documents for $refs to other documents, by URI
3764
+ unresolvedRefs: "reject", // a $ref that names nothing rejects values at its place; default "throw"
3765
+ coerce: true, // adds coerce() and parse(), see Coercion
3766
+ });
3767
+ ```
3768
+
3769
+ `formats` has every format 2020-12 defines (`date-time`, `email`, `uri`, `uuid`, `ipv6`, ...), plus `url` and
3770
+ `json-pointer-uri-fragment`, which TypeBox and ajv-formats also check. Pass your own map to check fewer formats, or
3771
+ custom ones.
3772
+
3773
+ A `$ref` that names nothing (a missing definition, a document not in `schemas`) throws when the schema compiles. With
3774
+ `unresolvedRefs: "reject"` it compiles as `false` instead: only values at that place fail, with the error
3775
+ `unresolved reference <ref>`, and the rest of the schema works. Use it for schemas from other systems, such as MCP
3776
+ servers, whose references may dangle.
3777
+
3778
+ ### TypeBox schemas
3779
+
3780
+ TypeBox 1.x schemas are JSON Schema, so they compile as they are:
3781
+
3782
+ ```typescript
3783
+ import Type from "typebox";
3784
+
3785
+ const user = compile(Type.Object({ name: Type.String(), tags: Type.Array(Type.String()) }));
3786
+ ```
3787
+
3788
+ TypeBox's `BigInt` and `Undefined` are supported (see Values). Its other JavaScript-only types (`Function`, `Symbol`,
3789
+ ...), refinements and codecs are not JSON Schema and are not supported.
3790
+
3791
+ ### Coercion
3792
+
3793
+ `compile(schema, { coerce: true })` adds `coerce()` and `parse()`, for loosely typed input such as a model's tool call
3794
+ arguments. Without the option the validator has neither, and its `check` pays nothing for them: the coercion rules are
3795
+ built on the first `coerce()` or `parse()`.
3796
+
3797
+ ```typescript
3798
+ const read = compile(Read, { coerce: true });
3799
+
3800
+ read.coerce({ path: "a.txt", offset: "10", mode: "text" }); // { path: "a.txt", offset: 10, mode: "text" }
3801
+
3802
+ const result = read.parse({ path: "a.txt", offset: "ten", mode: "text" });
3803
+ if (result.ok) result.value.offset; // number
3804
+ else result.errors; // [{ path: "/offset", keyword: "type", message: "expected integer, got string" }]
3805
+ ```
3806
+
3807
+ `coerce(value)` returns the coerced value. It copies only the paths it changes, returns `value` itself when nothing
3808
+ changes, and never modifies `value`. A value no rule applies to stays as it is. `parse(value)` coerces, then checks:
3809
+ `{ ok: true, value }` with the coerced value, or `{ ok: false, errors }` with the errors of the coerced value.
3810
+
3811
+ Three passes run in order:
3812
+
3813
+ 1. **Optional nulls.** A `null` in an optional property whose schema rejects `null` is dropped, as if omitted.
3814
+ 2. **Conversions**, ported from TypeBox 1.3.27's `Value.Convert` and keyed on JSON Schema keywords (the first that
3815
+ applies to a schema): `$ref` follows the reference; `const` and `enum` take the member the value converts to;
3816
+ `anyOf`/`oneOf` keep a value one branch accepts, else take the first branch's conversion the whole schema
3817
+ accepts; `allOf` converts with each member in turn; then by `type`:
3818
+ - `string`: numbers and booleans to their text, `null` to `"null"`.
3819
+ - `number`: numeric strings (`""` is 0), `"true"`/`"false"`, booleans to 1/0, `null` to 0.
3820
+ - `integer`: as `number`, then truncated (`"3.5"` and `3.5` become 3).
3821
+ - `boolean`: `"true"`/`"false"` (any case), `"1"`/`"0"`, 1/0, `null` to `false`.
3822
+ - `null`: `"null"`, `"undefined"`, `""`, `"0"`, 0 and `false`.
3823
+ - `bigint`: integer strings (`"12"`, `"12n"`; `"12.9"` truncated), numbers truncated, `"true"`/`"false"` and
3824
+ booleans to 1n/0n, `null` to 0n.
3825
+ - `undefined`: `"undefined"`, `"null"`, `""`, `"0"`, 0, 0n, `false` and `null`.
3826
+ - `array`: a single value becomes a one-item array, then each item converts; a tuple (`prefixItems` or an `items`
3827
+ array) converts its items and never wraps.
3828
+ - `object`: each property converts by `properties`, `patternProperties` or `additionalProperties`.
3829
+ 3. **Primitive coercion by type**, as Ajv's `coerceTypes`, for what pass 2 leaves (type arrays such as
3830
+ `["integer", "null"]`): numbers from numeric strings and booleans, booleans from `"true"`/`"false"` and 1/0,
3831
+ strings from numbers and booleans, `null` from `""`, 0 and `false`, and `null` to `""`, 0 or `false`. A value that
3832
+ already has one of a type array's types stays.
3833
+
3834
+ Where passes 2 and 3 disagree, pass 2 wins: `null` for a required string becomes `"null"`, not `""`. A union's
3835
+ branches convert in order and only until one is accepted; a union node that also declares properties converts them into
3836
+ each branch's candidate before checking it. A recursive schema (a tree through `$ref`) that meets a value it cannot
3837
+ convert leaves the value as it is, so `check` reports it, and results through a `$ref` are reused within one call, so a
3838
+ recursive union does not convert (or explain) the same child once per branch.
3839
+
3840
+ Pass 1 drops optional nulls inside the values of `properties`, `patternProperties` and `additionalProperties` alike; a
3841
+ pattern or additional key itself is never dropped. Items past a draft-7 `items` array (`additionalItems`) are not
3842
+ coerced by any pass.
3843
+
3844
+ ### Values
3845
+
3846
+ - An optional property whose value is `undefined` counts as absent, as in TypeBox. A required property set to
3847
+ `undefined` is present: valid when its schema takes `undefined` (`Type.Undefined()` in it, `Type.Unknown()`,
3848
+ `Type.Any()`), else missing.
3849
+ - `{ type: "bytes", minLength, maxLength }` matches a `Uint8Array` of that length, an extension for values that never
3850
+ pass through JSON.
3851
+ - `{ type: "bigint" }` (TypeBox's `Type.BigInt`) matches a `bigint`. The number keywords (`minimum`, `maximum`,
3852
+ `exclusiveMinimum`, `exclusiveMaximum`, `multipleOf`) apply to numbers and bigints alike, with bounds of either kind,
3853
+ as in TypeBox.
3854
+ - `{ type: "undefined" }` (TypeBox's `Type.Undefined`) matches `undefined`.
3855
+ - `equal(a, b)` is JSON equality as `const`, `enum` and `uniqueItems` compare (TypeBox's `Value.Equal`).
3856
+
3857
+ ## Supported keywords
3858
+
3859
+ - Every validation keyword of drafts 2020-12 and 7, including draft 7's `dependencies` and `items` arrays with
3860
+ `additionalItems`.
3861
+ - `$id`, `$anchor`, `$ref` (local, by anchor, relative and remote), `$dynamicRef` and `$dynamicAnchor`.
3862
+ - `unevaluatedProperties` and `unevaluatedItems`.
3863
+ - `pattern` and `patternProperties` are ECMAScript regular expressions with the `u` flag.
3864
+ - Not supported: meta-schemas that switch vocabularies on or off (`$vocabulary`), `contentMediaType` and
3865
+ `contentEncoding` assertions (optional in the spec), and draft 2019-09's `$recursiveRef`.
3866
+
3867
+ ## Benchmarks
3868
+
3869
+ Node 24.4.1 on one core of an i9-13900. The other libraries:
3870
+
3871
+ - ata-validator 1.61.3: its generated code, and its eval-free interpreter chosen with `engine: "interpreter"`;
3872
+ - Ajv 8.20.0, with ajv-formats 3.0.1 for the format tests;
3873
+ - Zod 4.6.7: native Zod schemas for speed, setup and memory, and `z.fromJSONSchema` for the test suite;
3874
+ - TypeBox 1.3.27;
3875
+ - @cfworker/json-schema 4.1.1;
3876
+ - @oh-my-pi/omptype 18.13.3, through `fromJsonSchema`.
3877
+
3878
+ | test suite (tests passed) | pi-schema | ata | ata interpreter | Ajv | Zod | TypeBox | cfworker | omptype |
3879
+ |---|---:|---:|---:|---:|---:|---:|---:|---:|
3880
+ | draft 2020-12 core (1,298) | 1,297 | 1,298 | 1,298 | 1,236 | 693 | 1,276 | 1,249 | 863 |
3881
+ | draft 7 core (925) | 925 | 925 | 925 | 917 | 632 | 924 | 918 | 659 |
3882
+ | draft 2020-12 format (895), with format checks | 895 | 814 | 814 | 750 | 412 | 895 | 740 | 412 |
3883
+
3884
+ | check, valid value | pi-schema | ata | ata interpreter | Ajv | Zod | TypeBox | cfworker | omptype |
3885
+ |---|---:|---:|---:|---:|---:|---:|---:|---:|
3886
+ | nested object with tagged unions | 410 ns | 180 ns | 836 ns | 627 ns | 1.3 µs | 475 ns | 43 µs | 730 ns |
3887
+ | union of 5 messages | 86 ns | 37 ns | 212 ns | 70 ns | 297 ns | 95 ns | 11 µs | 96 ns |
3888
+ | tool schema (read) | 31 ns | 10 ns | 41 ns | 13 ns | 41 ns | 9 ns | 2.0 µs | 9 ns |
3889
+ | MCP tool schema with `$ref` | 161 ns | 64 ns | 314 ns | 136 ns | 927 ns | 87 ns | 15 µs | 1.9 µs |
3890
+ | recursive `$ref` schema | 755 ns | 307 ns | 1.9 µs | 378 ns | 2.7 µs | 1.2 µs | 41 µs | 7.5 µs |
3891
+
3892
+ | same, without eval (strict CSP) | pi-schema | ata | ata interpreter | Ajv | Zod | TypeBox | cfworker | omptype |
3893
+ |---|---:|---:|---:|---:|---:|---:|---:|---:|
3894
+ | nested object with tagged unions | 411 ns | 1.6 µs | 844 ns | fails | 3.4 µs | 44 µs | 44 µs | 2.7 µs |
3895
+ | union of 5 messages | 87 ns | 396 ns | 209 ns | fails | 652 ns | 10 µs | 11 µs | 501 ns |
3896
+ | MCP tool schema with `$ref` | 164 ns | 484 ns | 326 ns | fails | 2.0 µs | 39 µs | 13 µs | 2.2 µs |
3897
+ | recursive `$ref` schema | 746 ns | 2.8 µs | 1.9 µs | fails | 7.3 µs | 130 µs | 42 µs | 9.0 µs |
3898
+
3899
+ | cost | pi-schema | ata | ata interpreter | Ajv | Zod | TypeBox | cfworker | omptype |
3900
+ |---|---:|---:|---:|---:|---:|---:|---:|---:|
3901
+ | compile a new schema | 20 µs | 4.9 µs | 1.3 µs | 1.4 ms | 151 µs | 210 µs | 22 µs | 28 µs |
3902
+ | its first check | 0.8 µs | 335 µs | 87 µs | 195 µs | 466 µs | 41 µs | 7.1 µs | 109 µs |
3903
+ | memory, 3,200 distinct schemas | 7.1 MB | 36.0 MB | 51.3 MB | 59.7 MB | 170.8 MB | 54.7 MB | 7.6 MB | 19.9 MB |
3904
+ | bundle, minified + gzip | 8.5 KB | 134.0 KB | 134.0 KB | 39.7 KB | 24.4 KB | 35.2 KB | 5.8 KB | 38.8 KB |
3905
+
3906
+ Where code generation is unavailable:
3907
+
3908
+ - **ata** answers through its interpreted engine without being told. That automatic fallback measured slower than the
3909
+ engine chosen with `engine: "interpreter"`.
3910
+ - **Ajv** cannot compile at all: `compile()` throws `EvalError`.
3911
+ - **Zod** notices and parses objects without its generated code.
3912
+ - **TypeBox** falls back to its interpreter.
3913
+ - **omptype** throws `EvalError` once per schema, then validates through its interpreter.
3914
+
3915
+ ata, Zod and omptype compile on a schema's first check, so their compile cost shows there. ata's bundle is for the
3916
+ browser without code splitting; with splitting, its first load is about 53 KB plus a 76 KB generator chunk loaded
3917
+ later.
3918
+
3919
+ Zod is not a JSON Schema validator:
3920
+
3921
+ - **Speed, setup and memory:** Zod gets the same schemas written as native Zod schemas (`z.strictObject`,
3922
+ `z.discriminatedUnion`, `z.lazy`), with `.describe()` for the corpus descriptions, and `safeParse` as the check.
3923
+ Its memory includes building the schemas, which the other libraries receive as JSON. Without the descriptions it
3924
+ is 131 MB.
3925
+ - **Test suite:** through `z.fromJSONSchema`, which is semi-experimental. It refuses `unevaluatedProperties`,
3926
+ `unevaluatedItems`, `dependentSchemas`, `dependentRequired`, `if`/`then`/`else`, `not`, and every `$ref` that is
3927
+ not local. A refused schema fails all its tests: 405 of the 1,298 draft 2020-12 core tests and 107 of the 925 draft
3928
+ 7 core tests.
3929
+ - **Bundle:** measured with Zod's documented `import * as z from "zod"`. A named `import { z }` keeps every locale
3930
+ (about 90 KB gzipped), and `z.fromJSONSchema` brings it to 40.0 KB; `zod/mini` is about 6 KB.
3931
+
3932
+ Flat objects of simple types check in 13–80 ns, against 7–15 ns for TypeBox. Without code generation, reading a
3933
+ property whose name comes from a list costs a few nanoseconds.
3934
+
3935
+ ### Reproduce
3936
+
3937
+ `npm run bench` in `packages/schema` takes about 12 minutes. It runs every library through its fastest boolean path
3938
+ (ata's `isValidObject()`) and keeps the object each returns. ata runs with `ATA_NO_NATIVE=1`: its optional native
3939
+ addon only serves its buffer APIs. The scripts are in `test/bench/`.
3940
+
3941
+ - **Conformance:** every library on the vendored test suite, with the remote documents and meta-schemas the tests
3942
+ reference (Zod through `z.fromJSONSchema`, which takes no remote documents). ata reads the draft only from `$schema`, so draft 7 schemas without one get it declared. ata's defaults
3943
+ (`useDefaults`, `assertFormat`) are turned off to match the other libraries; formats are checked only in the
3944
+ format tests, by each library's own checks.
3945
+ - **Speed:** realistic schemas, in ns per check after warm-up. Each result is the median of 15 rounds, with the
3946
+ libraries' order rotated in each round.
3947
+ - **Speed without eval:** the same, run with `--disallow-code-generation-from-strings`.
3948
+ - **Setup:** compiling 1,000 schemas a library has not seen, and their first checks.
3949
+ - **Memory:** 3,200 distinct tool-like schemas, compiled and each checked 3 times, each library in its own process.
3950
+ - **Size:** esbuild browser bundles of what a validator needs, minified and gzipped.
3951
+
3952
+ ### Code generated at build time
3953
+
3954
+ Ajv (`ajv/dist/standalone`) and ata (`ata build`, `ata compile`, `toStandaloneModule()`) can also generate their
3955
+ validation code when the app is built. The app then imports plain modules and evaluates nothing at run time, so those
3956
+ checks run at code-generation speed under a strict CSP. This is not in the benchmark, because it is a different
3957
+ deal:
3958
+
3959
+ - **A build step per schema.** Every schema must be known when the app is built. Schemas that arrive at run time
3960
+ (MCP servers, extensions, user input) cannot be validated this way.
3961
+ - **Code per schema.** In a separate measurement on the same 3,200 schemas:
3962
+ - Ajv: 1.8 ms to build and 8.9 KB of JavaScript per schema;
3963
+ - ata: 1.1 ms and 13 KB per schema, or 0.3–0.8 KB gzipped when only its `isValid` export is bundled;
3964
+ - importing all 3,200 generated validators took 40 MB of heap (Ajv, one module) and 68 MB (ata, one module per
3965
+ schema).
3966
+
3967
+ pi-schema compiles at run time in 25 µs per schema, generates no code, and covers schemas known at build time and
3968
+ schemas that arrive later.
3969
+
3970
+ ## Development
3971
+
3972
+ `npm test` runs the official test suite (drafts 2020-12 and 7, including the optional and format tests, vendored in
3973
+ `test/fixtures/`) and the package's own tests.
3974
+
3975
+ The format checks are adapted from TypeBox 1.3.27 (MIT); its license is in `THIRD_PARTY_NOTICES/`.
3976
+
3977
+
3978
+ ========================================================================
3979
+
3980
+ Package: @earendil-works/pi-telemetry@1.6.0
3478
3981
  Declared license: MIT
3479
3982
  WARNING: No LICENSE/LICENCE/COPYING file found; declared metadata and any README license information follow.
3480
3983
  The standard MIT license text is included below; published attribution follows.
@@ -3488,7 +3991,7 @@ MIT
3488
3991
 
3489
3992
  ========================================================================
3490
3993
 
3491
- Package: @earendil-works/pi-tui@1.4.0
3994
+ Package: @earendil-works/pi-tui@1.6.0
3492
3995
  Declared license: MIT
3493
3996
  WARNING: No LICENSE/LICENCE/COPYING file found; declared metadata and any README license information follow.
3494
3997
  The standard MIT license text is included below; published attribution follows.
@@ -3608,7 +4111,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
3608
4111
 
3609
4112
  ========================================================================
3610
4113
 
3611
- Package: @google/genai@2.21.0
4114
+ Package: @google/genai@2.32.0
3612
4115
  Declared license: Apache-2.0
3613
4116
 
3614
4117
  --- LICENSE ---
@@ -3816,6 +4319,69 @@ Declared license: Apache-2.0
3816
4319
  limitations under the License.
3817
4320
 
3818
4321
 
4322
+ ========================================================================
4323
+
4324
+ Package: @isaacs/nonrecursive-glob-match@1.1.0
4325
+ Declared license: BlueOak-1.0.0
4326
+
4327
+ --- LICENSE.md ---
4328
+ # Blue Oak Model License
4329
+
4330
+ Version 1.0.0
4331
+
4332
+ ## Purpose
4333
+
4334
+ This license gives everyone as much permission to work with
4335
+ this software as possible, while protecting contributors
4336
+ from liability.
4337
+
4338
+ ## Acceptance
4339
+
4340
+ In order to receive this license, you must agree to its
4341
+ rules. The rules of this license are both obligations
4342
+ under that agreement and conditions to your license.
4343
+ You must not do anything with this software that triggers
4344
+ a rule that you cannot or will not follow.
4345
+
4346
+ ## Copyright
4347
+
4348
+ Each contributor licenses you to do everything with this
4349
+ software that would otherwise infringe that contributor's
4350
+ copyright in it.
4351
+
4352
+ ## Notices
4353
+
4354
+ You must ensure that everyone who gets a copy of
4355
+ any part of this software from you, with or without
4356
+ changes, also gets the text of this license or a link to
4357
+ <https://blueoakcouncil.org/license/1.0.0>.
4358
+
4359
+ ## Excuse
4360
+
4361
+ If anyone notifies you in writing that you have not
4362
+ complied with [Notices](#notices), you can keep your
4363
+ license by taking all practical steps to comply within 30
4364
+ days after the notice. If you do not do so, your license
4365
+ ends immediately.
4366
+
4367
+ ## Patent
4368
+
4369
+ Each contributor licenses you to do everything with this
4370
+ software that would otherwise infringe any patent claims
4371
+ they can license or become able to license.
4372
+
4373
+ ## Reliability
4374
+
4375
+ No contributor can revoke this license.
4376
+
4377
+ ## No Liability
4378
+
4379
+ ***As far as the law allows, this software comes as is,
4380
+ without any warranty or condition, and no contributor
4381
+ will be liable to anyone for any damages related to this
4382
+ software or this license, under any kind of legal claim.***
4383
+
4384
+
3819
4385
  ========================================================================
3820
4386
 
3821
4387
  Package: @larksuiteoapi/node-sdk@1.76.0
@@ -11901,293 +12467,80 @@ IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
11901
12467
 
11902
12468
  ========================================================================
11903
12469
 
11904
- Package: grok-mermaid@0.2.3
11905
- Declared license: Apache-2.0
12470
+ Package: has-flag@4.0.0
12471
+ Declared license: MIT
11906
12472
 
11907
- --- LICENSE ---
11908
- Copyright 2023-2026 SpaceXAI
11909
- Copyright 2026 Alexey Zaytsev
12473
+ --- license ---
12474
+ MIT License
11910
12475
 
12476
+ Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
11911
12477
 
11912
- Apache License
11913
- Version 2.0, January 2004
11914
- http://www.apache.org/licenses/
12478
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
11915
12479
 
11916
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
12480
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
11917
12481
 
11918
- 1. Definitions.
12482
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
11919
12483
 
11920
- "License" shall mean the terms and conditions for use, reproduction,
11921
- and distribution as defined by Sections 1 through 9 of this document.
11922
12484
 
11923
- "Licensor" shall mean the copyright owner or entity authorized by
11924
- the copyright owner that is granting the License.
12485
+ ========================================================================
11925
12486
 
11926
- "Legal Entity" shall mean the union of the acting entity and all
11927
- other entities that control, are controlled by, or are under common
11928
- control with that entity. For the purposes of this definition,
11929
- "control" means (i) the power, direct or indirect, to cause the
11930
- direction or management of such entity, whether by contract or
11931
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
11932
- outstanding shares, or (iii) beneficial ownership of such entity.
12487
+ Package: has-symbols@1.1.0
12488
+ Declared license: MIT
11933
12489
 
11934
- "You" (or "Your") shall mean an individual or Legal Entity
11935
- exercising permissions granted by this License.
12490
+ --- LICENSE ---
12491
+ MIT License
11936
12492
 
11937
- "Source" form shall mean the preferred form for making modifications,
11938
- including but not limited to software source code, documentation
11939
- source, and configuration files.
12493
+ Copyright (c) 2016 Jordan Harband
11940
12494
 
11941
- "Object" form shall mean any form resulting from mechanical
11942
- transformation or translation of a Source form, including but
11943
- not limited to compiled object code, generated documentation,
11944
- and conversions to other media types.
12495
+ Permission is hereby granted, free of charge, to any person obtaining a copy
12496
+ of this software and associated documentation files (the "Software"), to deal
12497
+ in the Software without restriction, including without limitation the rights
12498
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12499
+ copies of the Software, and to permit persons to whom the Software is
12500
+ furnished to do so, subject to the following conditions:
11945
12501
 
11946
- "Work" shall mean the work of authorship, whether in Source or
11947
- Object form, made available under the License, as indicated by a
11948
- copyright notice that is included in or attached to the work
11949
- (an example is provided in the Appendix below).
12502
+ The above copyright notice and this permission notice shall be included in all
12503
+ copies or substantial portions of the Software.
11950
12504
 
11951
- "Derivative Works" shall mean any work, whether in Source or Object
11952
- form, that is based on (or derived from) the Work and for which the
11953
- editorial revisions, annotations, elaborations, or other modifications
11954
- represent, as a whole, an original work of authorship. For the purposes
11955
- of this License, Derivative Works shall not include works that remain
11956
- separable from, or merely link (or bind by name) to the interfaces of,
11957
- the Work and Derivative Works thereof.
12505
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
12506
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
12507
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
12508
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
12509
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
12510
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
12511
+ SOFTWARE.
11958
12512
 
11959
- "Contribution" shall mean any work of authorship, including
11960
- the original version of the Work and any modifications or additions
11961
- to that Work or Derivative Works thereof, that is intentionally
11962
- submitted to Licensor for inclusion in the Work by the copyright owner
11963
- or by an individual or Legal Entity authorized to submit on behalf of
11964
- the copyright owner. For the purposes of this definition, "submitted"
11965
- means any form of electronic, verbal, or written communication sent
11966
- to the Licensor or its representatives, including but not limited to
11967
- communication on electronic mailing lists, source code control systems,
11968
- and issue tracking systems that are managed by, or on behalf of, the
11969
- Licensor for the purpose of discussing and improving the Work, but
11970
- excluding communication that is conspicuously marked or otherwise
11971
- designated in writing by the copyright owner as "Not a Contribution."
11972
12513
 
11973
- "Contributor" shall mean Licensor and any individual or Legal Entity
11974
- on behalf of whom a Contribution has been received by Licensor and
11975
- subsequently incorporated within the Work.
12514
+ ========================================================================
11976
12515
 
11977
- 2. Grant of Copyright License. Subject to the terms and conditions of
11978
- this License, each Contributor hereby grants to You a perpetual,
11979
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
11980
- copyright license to reproduce, prepare Derivative Works of,
11981
- publicly display, publicly perform, sublicense, and distribute the
11982
- Work and such Derivative Works in Source or Object form.
12516
+ Package: has-tostringtag@1.0.2
12517
+ Declared license: MIT
11983
12518
 
11984
- 3. Grant of Patent License. Subject to the terms and conditions of
11985
- this License, each Contributor hereby grants to You a perpetual,
11986
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
11987
- (except as stated in this section) patent license to make, have made,
11988
- use, offer to sell, sell, import, and otherwise transfer the Work,
11989
- where such license applies only to those patent claims licensable
11990
- by such Contributor that are necessarily infringed by their
11991
- Contribution(s) alone or by combination of their Contribution(s)
11992
- with the Work to which such Contribution(s) was submitted. If You
11993
- institute patent litigation against any entity (including a
11994
- cross-claim or counterclaim in a lawsuit) alleging that the Work
11995
- or a Contribution incorporated within the Work constitutes direct
11996
- or contributory patent infringement, then any patent licenses
11997
- granted to You under this License for that Work shall terminate
11998
- as of the date such litigation is filed.
12519
+ --- LICENSE ---
12520
+ MIT License
11999
12521
 
12000
- 4. Redistribution. You may reproduce and distribute copies of the
12001
- Work or Derivative Works thereof in any medium, with or without
12002
- modifications, and in Source or Object form, provided that You
12003
- meet the following conditions:
12522
+ Copyright (c) 2021 Inspect JS
12004
12523
 
12005
- (a) You must give any other recipients of the Work or
12006
- Derivative Works a copy of this License; and
12524
+ Permission is hereby granted, free of charge, to any person obtaining a copy
12525
+ of this software and associated documentation files (the "Software"), to deal
12526
+ in the Software without restriction, including without limitation the rights
12527
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12528
+ copies of the Software, and to permit persons to whom the Software is
12529
+ furnished to do so, subject to the following conditions:
12007
12530
 
12008
- (b) You must cause any modified files to carry prominent notices
12009
- stating that You changed the files; and
12531
+ The above copyright notice and this permission notice shall be included in all
12532
+ copies or substantial portions of the Software.
12010
12533
 
12011
- (c) You must retain, in the Source form of any Derivative Works
12012
- that You distribute, all copyright, patent, trademark, and
12013
- attribution notices from the Source form of the Work,
12014
- excluding those notices that do not pertain to any part of
12015
- the Derivative Works; and
12534
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
12535
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
12536
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
12537
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
12538
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
12539
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
12540
+ SOFTWARE.
12016
12541
 
12017
- (d) If the Work includes a "NOTICE" text file as part of its
12018
- distribution, then any Derivative Works that You distribute must
12019
- include a readable copy of the attribution notices contained
12020
- within such NOTICE file, excluding those notices that do not
12021
- pertain to any part of the Derivative Works, in at least one
12022
- of the following places: within a NOTICE text file distributed
12023
- as part of the Derivative Works; within the Source form or
12024
- documentation, if provided along with the Derivative Works; or,
12025
- within a display generated by the Derivative Works, if and
12026
- wherever such third-party notices normally appear. The contents
12027
- of the NOTICE file are for informational purposes only and
12028
- do not modify the License. You may add Your own attribution
12029
- notices within Derivative Works that You distribute, alongside
12030
- or as an addendum to the NOTICE text from the Work, provided
12031
- that such additional attribution notices cannot be construed
12032
- as modifying the License.
12033
12542
 
12034
- You may add Your own copyright statement to Your modifications and
12035
- may provide additional or different license terms and conditions
12036
- for use, reproduction, or distribution of Your modifications, or
12037
- for any such Derivative Works as a whole, provided Your use,
12038
- reproduction, and distribution of the Work otherwise complies with
12039
- the conditions stated in this License.
12040
-
12041
- 5. Submission of Contributions. Unless You explicitly state otherwise,
12042
- any Contribution intentionally submitted for inclusion in the Work
12043
- by You to the Licensor shall be under the terms and conditions of
12044
- this License, without any additional terms or conditions.
12045
- Notwithstanding the above, nothing herein shall supersede or modify
12046
- the terms of any separate license agreement you may have executed
12047
- with Licensor regarding such Contributions.
12048
-
12049
- 6. Trademarks. This License does not grant permission to use the trade
12050
- names, trademarks, service marks, or product names of the Licensor,
12051
- except as required for reasonable and customary use in describing the
12052
- origin of the Work and reproducing the content of the NOTICE file.
12053
-
12054
- 7. Disclaimer of Warranty. Unless required by applicable law or
12055
- agreed to in writing, Licensor provides the Work (and each
12056
- Contributor provides its Contributions) on an "AS IS" BASIS,
12057
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
12058
- implied, including, without limitation, any warranties or conditions
12059
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
12060
- PARTICULAR PURPOSE. You are solely responsible for determining the
12061
- appropriateness of using or redistributing the Work and assume any
12062
- risks associated with Your exercise of permissions under this License.
12063
-
12064
- 8. Limitation of Liability. In no event and under no legal theory,
12065
- whether in tort (including negligence), contract, or otherwise,
12066
- unless required by applicable law (such as deliberate and grossly
12067
- negligent acts) or agreed to in writing, shall any Contributor be
12068
- liable to You for damages, including any direct, indirect, special,
12069
- incidental, or consequential damages of any character arising as a
12070
- result of this License or out of the use or inability to use the
12071
- Work (including but not limited to damages for loss of goodwill,
12072
- work stoppage, computer failure or malfunction, or any and all
12073
- other commercial damages or losses), even if such Contributor
12074
- has been advised of the possibility of such damages.
12075
-
12076
- 9. Accepting Warranty or Additional Liability. While redistributing
12077
- the Work or Derivative Works thereof, You may choose to offer,
12078
- and charge a fee for, acceptance of support, warranty, indemnity,
12079
- or other liability obligations and/or rights consistent with this
12080
- License. However, in accepting such obligations, You may act only
12081
- on Your own behalf and on Your sole responsibility, not on behalf
12082
- of any other Contributor, and only if You agree to indemnify,
12083
- defend, and hold each Contributor harmless for any liability
12084
- incurred by, or claims asserted against, such Contributor by reason
12085
- of your accepting any such warranty or additional liability.
12086
-
12087
- END OF TERMS AND CONDITIONS
12088
-
12089
- APPENDIX: How to apply the Apache License to your work.
12090
-
12091
- To apply the Apache License to your work, attach the following
12092
- boilerplate notice, with the fields enclosed by brackets "[]"
12093
- replaced with your own identifying information. (Don't include
12094
- the brackets!) The text should be enclosed in the appropriate
12095
- comment syntax for the file format. We also recommend that a
12096
- file or class name and description of purpose be included on the
12097
- same "printed page" as the copyright notice for easier
12098
- identification within third-party archives.
12099
-
12100
- Copyright [yyyy] [name of copyright owner]
12101
-
12102
- Licensed under the Apache License, Version 2.0 (the "License");
12103
- you may not use this file except in compliance with the License.
12104
- You may obtain a copy of the License at
12105
-
12106
- http://www.apache.org/licenses/LICENSE-2.0
12107
-
12108
- Unless required by applicable law or agreed to in writing, software
12109
- distributed under the License is distributed on an "AS IS" BASIS,
12110
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12111
- See the License for the specific language governing permissions and
12112
- limitations under the License.
12113
-
12114
-
12115
- ========================================================================
12116
-
12117
- Package: has-flag@4.0.0
12118
- Declared license: MIT
12119
-
12120
- --- license ---
12121
- MIT License
12122
-
12123
- Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
12124
-
12125
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
12126
-
12127
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
12128
-
12129
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
12130
-
12131
-
12132
- ========================================================================
12133
-
12134
- Package: has-symbols@1.1.0
12135
- Declared license: MIT
12136
-
12137
- --- LICENSE ---
12138
- MIT License
12139
-
12140
- Copyright (c) 2016 Jordan Harband
12141
-
12142
- Permission is hereby granted, free of charge, to any person obtaining a copy
12143
- of this software and associated documentation files (the "Software"), to deal
12144
- in the Software without restriction, including without limitation the rights
12145
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12146
- copies of the Software, and to permit persons to whom the Software is
12147
- furnished to do so, subject to the following conditions:
12148
-
12149
- The above copyright notice and this permission notice shall be included in all
12150
- copies or substantial portions of the Software.
12151
-
12152
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
12153
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
12154
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
12155
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
12156
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
12157
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
12158
- SOFTWARE.
12159
-
12160
-
12161
- ========================================================================
12162
-
12163
- Package: has-tostringtag@1.0.2
12164
- Declared license: MIT
12165
-
12166
- --- LICENSE ---
12167
- MIT License
12168
-
12169
- Copyright (c) 2021 Inspect JS
12170
-
12171
- Permission is hereby granted, free of charge, to any person obtaining a copy
12172
- of this software and associated documentation files (the "Software"), to deal
12173
- in the Software without restriction, including without limitation the rights
12174
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12175
- copies of the Software, and to permit persons to whom the Software is
12176
- furnished to do so, subject to the following conditions:
12177
-
12178
- The above copyright notice and this permission notice shall be included in all
12179
- copies or substantial portions of the Software.
12180
-
12181
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
12182
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
12183
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
12184
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
12185
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
12186
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
12187
- SOFTWARE.
12188
-
12189
-
12190
- ========================================================================
12543
+ ========================================================================
12191
12544
 
12192
12545
  Package: hasown@2.0.4
12193
12546
  Declared license: MIT
@@ -13677,6 +14030,219 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
13677
14030
  THE SOFTWARE.
13678
14031
 
13679
14032
 
14033
+ ========================================================================
14034
+
14035
+ Package: lovely-mermaid@0.3.3
14036
+ Declared license: Apache-2.0
14037
+
14038
+ --- LICENSE ---
14039
+ Copyright 2023-2026 SpaceXAI
14040
+ Copyright 2026 Alexey Zaytsev
14041
+
14042
+
14043
+ Apache License
14044
+ Version 2.0, January 2004
14045
+ http://www.apache.org/licenses/
14046
+
14047
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
14048
+
14049
+ 1. Definitions.
14050
+
14051
+ "License" shall mean the terms and conditions for use, reproduction,
14052
+ and distribution as defined by Sections 1 through 9 of this document.
14053
+
14054
+ "Licensor" shall mean the copyright owner or entity authorized by
14055
+ the copyright owner that is granting the License.
14056
+
14057
+ "Legal Entity" shall mean the union of the acting entity and all
14058
+ other entities that control, are controlled by, or are under common
14059
+ control with that entity. For the purposes of this definition,
14060
+ "control" means (i) the power, direct or indirect, to cause the
14061
+ direction or management of such entity, whether by contract or
14062
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
14063
+ outstanding shares, or (iii) beneficial ownership of such entity.
14064
+
14065
+ "You" (or "Your") shall mean an individual or Legal Entity
14066
+ exercising permissions granted by this License.
14067
+
14068
+ "Source" form shall mean the preferred form for making modifications,
14069
+ including but not limited to software source code, documentation
14070
+ source, and configuration files.
14071
+
14072
+ "Object" form shall mean any form resulting from mechanical
14073
+ transformation or translation of a Source form, including but
14074
+ not limited to compiled object code, generated documentation,
14075
+ and conversions to other media types.
14076
+
14077
+ "Work" shall mean the work of authorship, whether in Source or
14078
+ Object form, made available under the License, as indicated by a
14079
+ copyright notice that is included in or attached to the work
14080
+ (an example is provided in the Appendix below).
14081
+
14082
+ "Derivative Works" shall mean any work, whether in Source or Object
14083
+ form, that is based on (or derived from) the Work and for which the
14084
+ editorial revisions, annotations, elaborations, or other modifications
14085
+ represent, as a whole, an original work of authorship. For the purposes
14086
+ of this License, Derivative Works shall not include works that remain
14087
+ separable from, or merely link (or bind by name) to the interfaces of,
14088
+ the Work and Derivative Works thereof.
14089
+
14090
+ "Contribution" shall mean any work of authorship, including
14091
+ the original version of the Work and any modifications or additions
14092
+ to that Work or Derivative Works thereof, that is intentionally
14093
+ submitted to Licensor for inclusion in the Work by the copyright owner
14094
+ or by an individual or Legal Entity authorized to submit on behalf of
14095
+ the copyright owner. For the purposes of this definition, "submitted"
14096
+ means any form of electronic, verbal, or written communication sent
14097
+ to the Licensor or its representatives, including but not limited to
14098
+ communication on electronic mailing lists, source code control systems,
14099
+ and issue tracking systems that are managed by, or on behalf of, the
14100
+ Licensor for the purpose of discussing and improving the Work, but
14101
+ excluding communication that is conspicuously marked or otherwise
14102
+ designated in writing by the copyright owner as "Not a Contribution."
14103
+
14104
+ "Contributor" shall mean Licensor and any individual or Legal Entity
14105
+ on behalf of whom a Contribution has been received by Licensor and
14106
+ subsequently incorporated within the Work.
14107
+
14108
+ 2. Grant of Copyright License. Subject to the terms and conditions of
14109
+ this License, each Contributor hereby grants to You a perpetual,
14110
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
14111
+ copyright license to reproduce, prepare Derivative Works of,
14112
+ publicly display, publicly perform, sublicense, and distribute the
14113
+ Work and such Derivative Works in Source or Object form.
14114
+
14115
+ 3. Grant of Patent License. Subject to the terms and conditions of
14116
+ this License, each Contributor hereby grants to You a perpetual,
14117
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
14118
+ (except as stated in this section) patent license to make, have made,
14119
+ use, offer to sell, sell, import, and otherwise transfer the Work,
14120
+ where such license applies only to those patent claims licensable
14121
+ by such Contributor that are necessarily infringed by their
14122
+ Contribution(s) alone or by combination of their Contribution(s)
14123
+ with the Work to which such Contribution(s) was submitted. If You
14124
+ institute patent litigation against any entity (including a
14125
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
14126
+ or a Contribution incorporated within the Work constitutes direct
14127
+ or contributory patent infringement, then any patent licenses
14128
+ granted to You under this License for that Work shall terminate
14129
+ as of the date such litigation is filed.
14130
+
14131
+ 4. Redistribution. You may reproduce and distribute copies of the
14132
+ Work or Derivative Works thereof in any medium, with or without
14133
+ modifications, and in Source or Object form, provided that You
14134
+ meet the following conditions:
14135
+
14136
+ (a) You must give any other recipients of the Work or
14137
+ Derivative Works a copy of this License; and
14138
+
14139
+ (b) You must cause any modified files to carry prominent notices
14140
+ stating that You changed the files; and
14141
+
14142
+ (c) You must retain, in the Source form of any Derivative Works
14143
+ that You distribute, all copyright, patent, trademark, and
14144
+ attribution notices from the Source form of the Work,
14145
+ excluding those notices that do not pertain to any part of
14146
+ the Derivative Works; and
14147
+
14148
+ (d) If the Work includes a "NOTICE" text file as part of its
14149
+ distribution, then any Derivative Works that You distribute must
14150
+ include a readable copy of the attribution notices contained
14151
+ within such NOTICE file, excluding those notices that do not
14152
+ pertain to any part of the Derivative Works, in at least one
14153
+ of the following places: within a NOTICE text file distributed
14154
+ as part of the Derivative Works; within the Source form or
14155
+ documentation, if provided along with the Derivative Works; or,
14156
+ within a display generated by the Derivative Works, if and
14157
+ wherever such third-party notices normally appear. The contents
14158
+ of the NOTICE file are for informational purposes only and
14159
+ do not modify the License. You may add Your own attribution
14160
+ notices within Derivative Works that You distribute, alongside
14161
+ or as an addendum to the NOTICE text from the Work, provided
14162
+ that such additional attribution notices cannot be construed
14163
+ as modifying the License.
14164
+
14165
+ You may add Your own copyright statement to Your modifications and
14166
+ may provide additional or different license terms and conditions
14167
+ for use, reproduction, or distribution of Your modifications, or
14168
+ for any such Derivative Works as a whole, provided Your use,
14169
+ reproduction, and distribution of the Work otherwise complies with
14170
+ the conditions stated in this License.
14171
+
14172
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
14173
+ any Contribution intentionally submitted for inclusion in the Work
14174
+ by You to the Licensor shall be under the terms and conditions of
14175
+ this License, without any additional terms or conditions.
14176
+ Notwithstanding the above, nothing herein shall supersede or modify
14177
+ the terms of any separate license agreement you may have executed
14178
+ with Licensor regarding such Contributions.
14179
+
14180
+ 6. Trademarks. This License does not grant permission to use the trade
14181
+ names, trademarks, service marks, or product names of the Licensor,
14182
+ except as required for reasonable and customary use in describing the
14183
+ origin of the Work and reproducing the content of the NOTICE file.
14184
+
14185
+ 7. Disclaimer of Warranty. Unless required by applicable law or
14186
+ agreed to in writing, Licensor provides the Work (and each
14187
+ Contributor provides its Contributions) on an "AS IS" BASIS,
14188
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
14189
+ implied, including, without limitation, any warranties or conditions
14190
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
14191
+ PARTICULAR PURPOSE. You are solely responsible for determining the
14192
+ appropriateness of using or redistributing the Work and assume any
14193
+ risks associated with Your exercise of permissions under this License.
14194
+
14195
+ 8. Limitation of Liability. In no event and under no legal theory,
14196
+ whether in tort (including negligence), contract, or otherwise,
14197
+ unless required by applicable law (such as deliberate and grossly
14198
+ negligent acts) or agreed to in writing, shall any Contributor be
14199
+ liable to You for damages, including any direct, indirect, special,
14200
+ incidental, or consequential damages of any character arising as a
14201
+ result of this License or out of the use or inability to use the
14202
+ Work (including but not limited to damages for loss of goodwill,
14203
+ work stoppage, computer failure or malfunction, or any and all
14204
+ other commercial damages or losses), even if such Contributor
14205
+ has been advised of the possibility of such damages.
14206
+
14207
+ 9. Accepting Warranty or Additional Liability. While redistributing
14208
+ the Work or Derivative Works thereof, You may choose to offer,
14209
+ and charge a fee for, acceptance of support, warranty, indemnity,
14210
+ or other liability obligations and/or rights consistent with this
14211
+ License. However, in accepting such obligations, You may act only
14212
+ on Your own behalf and on Your sole responsibility, not on behalf
14213
+ of any other Contributor, and only if You agree to indemnify,
14214
+ defend, and hold each Contributor harmless for any liability
14215
+ incurred by, or claims asserted against, such Contributor by reason
14216
+ of your accepting any such warranty or additional liability.
14217
+
14218
+ END OF TERMS AND CONDITIONS
14219
+
14220
+ APPENDIX: How to apply the Apache License to your work.
14221
+
14222
+ To apply the Apache License to your work, attach the following
14223
+ boilerplate notice, with the fields enclosed by brackets "[]"
14224
+ replaced with your own identifying information. (Don't include
14225
+ the brackets!) The text should be enclosed in the appropriate
14226
+ comment syntax for the file format. We also recommend that a
14227
+ file or class name and description of purpose be included on the
14228
+ same "printed page" as the copyright notice for easier
14229
+ identification within third-party archives.
14230
+
14231
+ Copyright [yyyy] [name of copyright owner]
14232
+
14233
+ Licensed under the Apache License, Version 2.0 (the "License");
14234
+ you may not use this file except in compliance with the License.
14235
+ You may obtain a copy of the License at
14236
+
14237
+ http://www.apache.org/licenses/LICENSE-2.0
14238
+
14239
+ Unless required by applicable law or agreed to in writing, software
14240
+ distributed under the License is distributed on an "AS IS" BASIS,
14241
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14242
+ See the License for the specific language governing permissions and
14243
+ limitations under the License.
14244
+
14245
+
13680
14246
  ========================================================================
13681
14247
 
13682
14248
  Package: lru-cache@11.5.3
@@ -14043,7 +14609,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
14043
14609
 
14044
14610
  ========================================================================
14045
14611
 
14046
- Package: minimatch@10.2.6
14612
+ Package: minimatch@11.0.3
14047
14613
  Declared license: BlueOak-1.0.0
14048
14614
 
14049
14615
  --- LICENSE.md ---
@@ -14413,7 +14979,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
14413
14979
 
14414
14980
  ========================================================================
14415
14981
 
14416
- Package: openai@7.19.0
14982
+ Package: openai@7.59.0
14417
14983
  Declared license: Apache-2.0
14418
14984
 
14419
14985
  --- LICENSE ---
@@ -16858,7 +17424,7 @@ SOFTWARE.
16858
17424
 
16859
17425
  ========================================================================
16860
17426
 
16861
- Package: undici@8.12.3
17427
+ Package: undici@8.12.4
16862
17428
  Declared license: MIT
16863
17429
 
16864
17430
  --- LICENSE ---