@herbertgao/pi-extensions 2026.10.18 → 2026.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (264) hide show
  1. package/README.md +19 -5
  2. package/THIRD_PARTY_NOTICES.md +53 -3
  3. package/node_modules/@herbertgao/pi-subagents/CHANGELOG.md +6 -0
  4. package/node_modules/@herbertgao/pi-subagents/README.md +142 -45
  5. package/node_modules/@herbertgao/pi-subagents/docs/rpc.md +17 -7
  6. package/node_modules/@herbertgao/pi-subagents/package.json +4 -4
  7. package/node_modules/@herbertgao/pi-subagents/src/agent-manager.ts +111 -59
  8. package/node_modules/@herbertgao/pi-subagents/src/agent-runner.ts +135 -117
  9. package/node_modules/@herbertgao/pi-subagents/src/cross-extension-rpc.ts +41 -14
  10. package/node_modules/@herbertgao/pi-subagents/src/index.ts +110 -19
  11. package/node_modules/@herbertgao/pi-subagents/src/nested-tools.ts +8 -0
  12. package/node_modules/@herbertgao/pi-subagents/src/prompts.ts +31 -0
  13. package/node_modules/@tintinweb/pi-tasks/CHANGELOG.md +270 -0
  14. package/node_modules/@tintinweb/pi-tasks/CONTRIBUTING.md +67 -0
  15. package/node_modules/@tintinweb/pi-tasks/CUSTOMIZING.md +289 -0
  16. package/node_modules/@tintinweb/pi-tasks/LICENSE +21 -0
  17. package/node_modules/@tintinweb/pi-tasks/README.md +417 -0
  18. package/node_modules/@tintinweb/pi-tasks/SECURITY.md +107 -0
  19. package/node_modules/@tintinweb/pi-tasks/dist/auto-clear.d.ts +64 -0
  20. package/node_modules/@tintinweb/pi-tasks/dist/auto-clear.js +129 -0
  21. package/node_modules/@tintinweb/pi-tasks/dist/index.d.ts +17 -0
  22. package/node_modules/@tintinweb/pi-tasks/dist/index.js +1338 -0
  23. package/node_modules/@tintinweb/pi-tasks/dist/process-tracker.d.ts +29 -0
  24. package/node_modules/@tintinweb/pi-tasks/dist/process-tracker.js +121 -0
  25. package/node_modules/@tintinweb/pi-tasks/dist/reminder-cadence.d.ts +39 -0
  26. package/node_modules/@tintinweb/pi-tasks/dist/reminder-cadence.js +61 -0
  27. package/node_modules/@tintinweb/pi-tasks/dist/task-glyphs.d.ts +48 -0
  28. package/node_modules/@tintinweb/pi-tasks/dist/task-glyphs.js +68 -0
  29. package/node_modules/@tintinweb/pi-tasks/dist/task-paths.d.ts +44 -0
  30. package/node_modules/@tintinweb/pi-tasks/dist/task-paths.js +60 -0
  31. package/node_modules/@tintinweb/pi-tasks/dist/task-sort.d.ts +23 -0
  32. package/node_modules/@tintinweb/pi-tasks/dist/task-sort.js +69 -0
  33. package/node_modules/@tintinweb/pi-tasks/dist/task-store.d.ts +61 -0
  34. package/node_modules/@tintinweb/pi-tasks/dist/task-store.js +397 -0
  35. package/node_modules/@tintinweb/pi-tasks/dist/tasks-config.d.ts +16 -0
  36. package/node_modules/@tintinweb/pi-tasks/dist/tasks-config.js +51 -0
  37. package/node_modules/@tintinweb/pi-tasks/dist/types.d.ts +36 -0
  38. package/node_modules/@tintinweb/pi-tasks/dist/types.js +4 -0
  39. package/node_modules/@tintinweb/pi-tasks/dist/ui/settings-menu.d.ts +15 -0
  40. package/node_modules/@tintinweb/pi-tasks/dist/ui/settings-menu.js +140 -0
  41. package/node_modules/@tintinweb/pi-tasks/dist/ui/task-widget.d.ts +69 -0
  42. package/node_modules/@tintinweb/pi-tasks/dist/ui/task-widget.js +278 -0
  43. package/node_modules/@tintinweb/pi-tasks/package.json +57 -0
  44. package/node_modules/@tintinweb/pi-tasks/src/auto-clear.ts +134 -0
  45. package/node_modules/@tintinweb/pi-tasks/src/index.ts +1417 -0
  46. package/node_modules/@tintinweb/pi-tasks/src/process-tracker.ts +140 -0
  47. package/node_modules/@tintinweb/pi-tasks/src/reminder-cadence.ts +90 -0
  48. package/node_modules/@tintinweb/pi-tasks/src/task-glyphs.ts +110 -0
  49. package/node_modules/@tintinweb/pi-tasks/src/task-paths.ts +65 -0
  50. package/node_modules/@tintinweb/pi-tasks/src/task-sort.ts +90 -0
  51. package/node_modules/@tintinweb/pi-tasks/src/task-store.ts +402 -0
  52. package/node_modules/@tintinweb/pi-tasks/src/tasks-config.ts +77 -0
  53. package/node_modules/@tintinweb/pi-tasks/src/types.ts +40 -0
  54. package/node_modules/@tintinweb/pi-tasks/src/ui/settings-menu.ts +174 -0
  55. package/node_modules/@tintinweb/pi-tasks/src/ui/task-widget.ts +325 -0
  56. package/node_modules/pi-commandcode-provider/CHANGELOG.md +330 -0
  57. package/node_modules/pi-commandcode-provider/CONTRIBUTING.md +192 -0
  58. package/node_modules/pi-commandcode-provider/LICENSE +21 -0
  59. package/node_modules/pi-commandcode-provider/README.md +243 -0
  60. package/node_modules/pi-commandcode-provider/RELEASE.md +194 -0
  61. package/node_modules/pi-commandcode-provider/index.ts +309 -0
  62. package/node_modules/pi-commandcode-provider/package.json +91 -0
  63. package/node_modules/pi-commandcode-provider/scripts/live-e2e-profile.mjs +87 -0
  64. package/node_modules/pi-commandcode-provider/scripts/pi-authenticated.mjs +50 -0
  65. package/node_modules/pi-commandcode-provider/scripts/pi-isolated.mjs +79 -0
  66. package/node_modules/pi-commandcode-provider/src/api-key.ts +69 -0
  67. package/node_modules/pi-commandcode-provider/src/auth-server.ts +229 -0
  68. package/node_modules/pi-commandcode-provider/src/commandcode-catalog-overrides.ts +28 -0
  69. package/node_modules/pi-commandcode-provider/src/commandcode-catalog.ts +260 -0
  70. package/node_modules/pi-commandcode-provider/src/converters.ts +477 -0
  71. package/node_modules/pi-commandcode-provider/src/core.ts +836 -0
  72. package/node_modules/pi-commandcode-provider/src/cost.ts +76 -0
  73. package/node_modules/pi-commandcode-provider/src/json-schema.ts +417 -0
  74. package/node_modules/pi-commandcode-provider/src/models.ts +515 -0
  75. package/node_modules/pi-commandcode-provider/src/oauth.ts +229 -0
  76. package/node_modules/pi-commandcode-provider/src/overflow.ts +120 -0
  77. package/node_modules/pi-commandcode-provider/src/pricing.ts +370 -0
  78. package/node_modules/pi-commandcode-provider/src/quota-command.ts +66 -0
  79. package/node_modules/pi-commandcode-provider/src/quota-format.ts +143 -0
  80. package/node_modules/pi-commandcode-provider/src/quota-types.ts +47 -0
  81. package/node_modules/pi-commandcode-provider/src/quota.ts +357 -0
  82. package/node_modules/pi-commandcode-provider/src/responses-stream.ts +249 -0
  83. package/node_modules/pi-commandcode-provider/src/runtime.ts +330 -0
  84. package/node_modules/pi-commandcode-provider/src/transcript.ts +56 -0
  85. package/node_modules/pi-commandcode-provider/src/transport.ts +147 -0
  86. package/node_modules/pi-commandcode-provider/src/types.ts +212 -0
  87. package/node_modules/pi-commandcode-provider/src/usage.ts +261 -0
  88. package/node_modules/pi-lens/CHANGELOG.md +149 -0
  89. package/node_modules/pi-lens/README.md +12 -2
  90. package/node_modules/pi-lens/config/markdownlint/run-no-fix.mjs +36 -0
  91. package/node_modules/pi-lens/dist/{chunk-WME2OQST.js → chunk-2453RRJ2.js} +11 -6
  92. package/node_modules/pi-lens/dist/{chunk-FZKFVUEC.js → chunk-2BKUFQKR.js} +276 -208
  93. package/node_modules/pi-lens/dist/chunk-2TS4GLOJ.js +31 -0
  94. package/node_modules/pi-lens/dist/{chunk-QHSNL7B2.js → chunk-2ZE3AUJQ.js} +12 -14
  95. package/node_modules/pi-lens/dist/{chunk-MPKRJBPK.js → chunk-35WKJWO5.js} +28 -30
  96. package/node_modules/pi-lens/dist/chunk-3JAHQBSY.js +27 -0
  97. package/node_modules/pi-lens/dist/{chunk-4LM3VAZH.js → chunk-3O5EII3W.js} +2 -2
  98. package/node_modules/pi-lens/dist/chunk-447YZL4S.js +25 -0
  99. package/node_modules/pi-lens/dist/{chunk-H7OR7DFZ.js → chunk-4B2YFN4U.js} +25 -21
  100. package/node_modules/pi-lens/dist/{chunk-OSTKYB55.js → chunk-4BKU7PV3.js} +1 -1
  101. package/node_modules/pi-lens/dist/{chunk-RRV3FNNM.js → chunk-4LL2VRNY.js} +27 -28
  102. package/node_modules/pi-lens/dist/{chunk-BZARLRJW.js → chunk-4NBWFYWW.js} +9 -9
  103. package/node_modules/pi-lens/dist/{chunk-KKCK636N.js → chunk-4QG55RRC.js} +12 -12
  104. package/node_modules/pi-lens/dist/{chunk-RQS4QQSD.js → chunk-4W52ZKZX.js} +2 -2
  105. package/node_modules/pi-lens/dist/{chunk-Z2XAOKHK.js → chunk-565VRUP4.js} +2 -2
  106. package/node_modules/pi-lens/dist/{chunk-HWDAVBFU.js → chunk-57X2CDRX.js} +23 -23
  107. package/node_modules/pi-lens/dist/{chunk-MB6PXBUA.js → chunk-5F3XF3SX.js} +7 -15
  108. package/node_modules/pi-lens/dist/{chunk-O4BJFESU.js → chunk-5RNB4HVK.js} +1 -1
  109. package/node_modules/pi-lens/dist/{chunk-ZMAUPOMG.js → chunk-5T5A6YAJ.js} +35 -34
  110. package/node_modules/pi-lens/dist/{chunk-4ZYJHQMB.js → chunk-6FIRFP6A.js} +12 -12
  111. package/node_modules/pi-lens/dist/{chunk-4YHYPW2G.js → chunk-6GMGEKQN.js} +9 -5
  112. package/node_modules/pi-lens/dist/{chunk-4LOE5R5P.js → chunk-6LJOJ6EO.js} +20 -15
  113. package/node_modules/pi-lens/dist/{chunk-3YY7IXIL.js → chunk-6YUNI7B5.js} +3 -3
  114. package/node_modules/pi-lens/dist/{chunk-PKES3ISE.js → chunk-7ANZ7XDD.js} +2 -2
  115. package/node_modules/pi-lens/dist/{chunk-FB5SCCPT.js → chunk-7CGIDRIK.js} +16 -15
  116. package/node_modules/pi-lens/dist/{chunk-L3CMBQMH.js → chunk-7MAD5ZAY.js} +16 -17
  117. package/node_modules/pi-lens/dist/{chunk-WDBICWH3.js → chunk-7TNILKGY.js} +1 -1
  118. package/node_modules/pi-lens/dist/{chunk-RORGS5II.js → chunk-A5GRLYPZ.js} +9 -9
  119. package/node_modules/pi-lens/dist/{chunk-MNJIXFX4.js → chunk-AGGUWKRK.js} +1 -1
  120. package/node_modules/pi-lens/dist/{chunk-ABPKUVA4.js → chunk-BBET6HD6.js} +1 -1
  121. package/node_modules/pi-lens/dist/{chunk-L5JYIU47.js → chunk-BHWW6FAX.js} +14 -13
  122. package/node_modules/pi-lens/dist/{chunk-URCQWAQ4.js → chunk-BOPDQ7AZ.js} +23 -21
  123. package/node_modules/pi-lens/dist/{chunk-KDX35VXP.js → chunk-BQG2QFVO.js} +158 -133
  124. package/node_modules/pi-lens/dist/{chunk-CB4WHS4H.js → chunk-BUZIQDFS.js} +3 -3
  125. package/node_modules/pi-lens/dist/{chunk-2PHMIAKO.js → chunk-CM73PPGD.js} +4 -4
  126. package/node_modules/pi-lens/dist/{chunk-DH5JPM3K.js → chunk-CUDD35TW.js} +10 -9
  127. package/node_modules/pi-lens/dist/{chunk-AWDSEDER.js → chunk-CZL44WFN.js} +2 -2
  128. package/node_modules/pi-lens/dist/{chunk-N5WSK2K7.js → chunk-DIWK3LBC.js} +12 -15
  129. package/node_modules/pi-lens/dist/{chunk-24BILSZW.js → chunk-DYRZGUMA.js} +2 -2
  130. package/node_modules/pi-lens/dist/{chunk-PR6PO3ES.js → chunk-FHEV6T4L.js} +22 -18
  131. package/node_modules/pi-lens/dist/{chunk-DQZFQSR5.js → chunk-FRLAUP2B.js} +4 -4
  132. package/node_modules/pi-lens/dist/{chunk-RZOXUSPC.js → chunk-G5GV2Q7K.js} +2 -2
  133. package/node_modules/pi-lens/dist/{chunk-EKWX4WD3.js → chunk-G6JKM4O7.js} +7 -7
  134. package/node_modules/pi-lens/dist/chunk-GGYOZWHW.js +27 -0
  135. package/node_modules/pi-lens/dist/{chunk-XT2HTCJ5.js → chunk-GIRBSBGL.js} +6 -5
  136. package/node_modules/pi-lens/dist/{chunk-PQJFG24Z.js → chunk-GMROJJRN.js} +1292 -946
  137. package/node_modules/pi-lens/dist/{chunk-U6VN4NVL.js → chunk-HHR7WGCI.js} +3 -3
  138. package/node_modules/pi-lens/dist/{chunk-TIQJPRDD.js → chunk-HKIL6DCL.js} +3 -2
  139. package/node_modules/pi-lens/dist/{chunk-SNDXCFRS.js → chunk-HUAM7QG3.js} +11 -11
  140. package/node_modules/pi-lens/dist/{chunk-QOE342SU.js → chunk-HXFUTMX2.js} +2 -2
  141. package/node_modules/pi-lens/dist/{chunk-U7BD2QL7.js → chunk-I22THIHI.js} +12 -12
  142. package/node_modules/pi-lens/dist/chunk-IE5D3RA5.js +58 -0
  143. package/node_modules/pi-lens/dist/{chunk-DPGEAHZT.js → chunk-IYVYZQRL.js} +10 -16
  144. package/node_modules/pi-lens/dist/{chunk-3F6BMY53.js → chunk-JBP7KESM.js} +1 -1
  145. package/node_modules/pi-lens/dist/{chunk-U5HPROLA.js → chunk-JE6HKLC7.js} +2 -2
  146. package/node_modules/pi-lens/dist/{chunk-ZE3KXHS7.js → chunk-JPRDTY5S.js} +85 -3
  147. package/node_modules/pi-lens/dist/{chunk-HO6LWE2E.js → chunk-JYLOYTZD.js} +17 -1
  148. package/node_modules/pi-lens/dist/{chunk-KW5JQPO5.js → chunk-JZRP4DGP.js} +2 -2
  149. package/node_modules/pi-lens/dist/{chunk-CPSR3AVL.js → chunk-KZ4ALBCH.js} +2 -2
  150. package/node_modules/pi-lens/dist/{chunk-6IR3ZYIB.js → chunk-L3CLUGDY.js} +3 -3
  151. package/node_modules/pi-lens/dist/{chunk-LV4UMYVH.js → chunk-L4NEVZ4T.js} +28 -27
  152. package/node_modules/pi-lens/dist/chunk-LPYTPNOJ.js +22 -0
  153. package/node_modules/pi-lens/dist/{chunk-WGRJOXED.js → chunk-LSFXZLPW.js} +1016 -636
  154. package/node_modules/pi-lens/dist/{chunk-LBLBAFG3.js → chunk-MC6VB2E5.js} +4 -4
  155. package/node_modules/pi-lens/dist/{chunk-U2SDMG7C.js → chunk-NM2NWH55.js} +5 -5
  156. package/node_modules/pi-lens/dist/{chunk-T7A2HK2B.js → chunk-NSPVR3FN.js} +19 -18
  157. package/node_modules/pi-lens/dist/{chunk-ZGSJDWQU.js → chunk-O2ARHQKF.js} +2 -2
  158. package/node_modules/pi-lens/dist/{chunk-OXOI55RU.js → chunk-O4N5BQ3T.js} +10 -10
  159. package/node_modules/pi-lens/dist/{chunk-3FRLWYBG.js → chunk-OC7VWJBZ.js} +39 -40
  160. package/node_modules/pi-lens/dist/chunk-OFNMHPBT.js +89 -0
  161. package/node_modules/pi-lens/dist/{chunk-HR3OJ3TH.js → chunk-OWTG6UMO.js} +21 -21
  162. package/node_modules/pi-lens/dist/{chunk-75GAYVNO.js → chunk-OY7WZI7Q.js} +6 -6
  163. package/node_modules/pi-lens/dist/{chunk-ZJTT47IG.js → chunk-OZWXLJMX.js} +2 -2
  164. package/node_modules/pi-lens/dist/{chunk-F6X3YJWD.js → chunk-PIQQM32Y.js} +2 -2
  165. package/node_modules/pi-lens/dist/chunk-PKLB2XJL.js +8 -0
  166. package/node_modules/pi-lens/dist/{chunk-EAOK7MIZ.js → chunk-PKSUMEPT.js} +17 -4
  167. package/node_modules/pi-lens/dist/{chunk-YISME6ON.js → chunk-PPKECBPP.js} +1 -1
  168. package/node_modules/pi-lens/dist/{chunk-4L36HG27.js → chunk-R2QQC33W.js} +14 -14
  169. package/node_modules/pi-lens/dist/{chunk-LUBPZN36.js → chunk-R4QWJQ2H.js} +11 -11
  170. package/node_modules/pi-lens/dist/{chunk-V63BC55Q.js → chunk-RGGH6M34.js} +1 -1
  171. package/node_modules/pi-lens/dist/{chunk-Y7F7IEE3.js → chunk-RZG472YW.js} +65 -7
  172. package/node_modules/pi-lens/dist/{chunk-PUZ3E2J4.js → chunk-SDFKOLSF.js} +6 -6
  173. package/node_modules/pi-lens/dist/{chunk-YHC2O2WO.js → chunk-SFLHSL5R.js} +9 -9
  174. package/node_modules/pi-lens/dist/{chunk-CCV2EU7T.js → chunk-SP4TFY5F.js} +14 -13
  175. package/node_modules/pi-lens/dist/{chunk-J6JP25XU.js → chunk-SQC7K3SP.js} +4 -3
  176. package/node_modules/pi-lens/dist/{chunk-3K2F6UDZ.js → chunk-T2S3FNNJ.js} +44 -42
  177. package/node_modules/pi-lens/dist/{chunk-2TF6RXWB.js → chunk-TV6RXRYH.js} +10 -10
  178. package/node_modules/pi-lens/dist/{chunk-GNSIWBAT.js → chunk-U3AS2FR6.js} +3 -3
  179. package/node_modules/pi-lens/dist/{chunk-F7K5IBZG.js → chunk-UHHLR2VY.js} +40 -40
  180. package/node_modules/pi-lens/dist/chunk-UYXV5NIS.js +20 -0
  181. package/node_modules/pi-lens/dist/{chunk-VSFLRN5Y.js → chunk-VLQ7UKZH.js} +1 -1
  182. package/node_modules/pi-lens/dist/{chunk-VUZWQ7UG.js → chunk-VN3L2JWZ.js} +46 -72
  183. package/node_modules/pi-lens/dist/{chunk-NA7SEXHE.js → chunk-VOP4PJKA.js} +7 -7
  184. package/node_modules/pi-lens/dist/{chunk-F5Z6URKM.js → chunk-VOXTCULR.js} +2 -2
  185. package/node_modules/pi-lens/dist/{chunk-LLS45EWB.js → chunk-VPLBLWFO.js} +6 -8
  186. package/node_modules/pi-lens/dist/chunk-W3BGKBBK.js +27 -0
  187. package/node_modules/pi-lens/dist/{chunk-ZKXQKGWZ.js → chunk-WC6WRNQT.js} +4 -3
  188. package/node_modules/pi-lens/dist/{chunk-YVHBNSME.js → chunk-WMDUT4KH.js} +1148 -1132
  189. package/node_modules/pi-lens/dist/{chunk-KXF5R4UN.js → chunk-WQV6BI4Q.js} +1 -1
  190. package/node_modules/pi-lens/dist/chunk-WXUDRAG6.js +24 -0
  191. package/node_modules/pi-lens/dist/{chunk-KPPJTH44.js → chunk-X35S7HSB.js} +28 -10
  192. package/node_modules/pi-lens/dist/{chunk-JMEKXFOL.js → chunk-X66YJ2SS.js} +40 -34
  193. package/node_modules/pi-lens/dist/{chunk-CE6VMBCB.js → chunk-XOMGO63G.js} +22 -21
  194. package/node_modules/pi-lens/dist/{chunk-LS3QJRUB.js → chunk-XWIME22V.js} +13 -13
  195. package/node_modules/pi-lens/dist/{chunk-R5MOQM2H.js → chunk-XYLC35E4.js} +119 -87
  196. package/node_modules/pi-lens/dist/{chunk-OE5ZBP7F.js → chunk-YHGYAEFH.js} +18 -18
  197. package/node_modules/pi-lens/dist/{chunk-7E2563GA.js → chunk-ZFORSIED.js} +13 -13
  198. package/node_modules/pi-lens/dist/{chunk-E7HJ56Y7.js → chunk-ZKLTNLAW.js} +64 -73
  199. package/node_modules/pi-lens/dist/chunk-ZONZ6YY3.js +74 -0
  200. package/node_modules/pi-lens/dist/chunk-ZSM35JF4.js +30 -0
  201. package/node_modules/pi-lens/dist/{chunk-RC2Z6K47.js → chunk-ZZDIOAAJ.js} +15 -6
  202. package/node_modules/pi-lens/dist/index.js +6993 -5396
  203. package/node_modules/pi-lens/dist/mcp/analyze-cli.js +10 -10
  204. package/node_modules/pi-lens/dist/mcp/cli.js +44 -42
  205. package/node_modules/pi-lens/dist/mcp/server.js +1627 -504
  206. package/node_modules/pi-lens/dist/mcp/worker.js +62 -61
  207. package/node_modules/pi-lens/dist/probes/installer.js +20 -19
  208. package/node_modules/pi-lens/docs/adr/0003-git-guard-latch-writer.md +11 -6
  209. package/node_modules/pi-lens/docs/agent-tools.md +18 -8
  210. package/node_modules/pi-lens/docs/alignment-families.md +29 -0
  211. package/node_modules/pi-lens/docs/ast-grep_rules_catalog.md +6 -4
  212. package/node_modules/pi-lens/docs/ci-bot-pr-checks.md +126 -0
  213. package/node_modules/pi-lens/docs/configuration.md +99 -3
  214. package/node_modules/pi-lens/docs/defect-shapes.md +55 -12
  215. package/node_modules/pi-lens/docs/engineering-principles.md +27 -2
  216. package/node_modules/pi-lens/docs/features.md +2 -2
  217. package/node_modules/pi-lens/docs/invariants/git-guard-host.md +7 -3
  218. package/node_modules/pi-lens/docs/invariants/language-config.md +15 -4
  219. package/node_modules/pi-lens/docs/invariants/lsp-trust-exec.md +16 -2
  220. package/node_modules/pi-lens/docs/invariants/paths-os.md +4 -2
  221. package/node_modules/pi-lens/docs/lsp-capability-matrix.md +119 -39
  222. package/node_modules/pi-lens/docs/merge-queue-rollout.md +1 -1
  223. package/node_modules/pi-lens/docs/pi-lens-fixer.md +24 -17
  224. package/node_modules/pi-lens/docs/pi-lens-merge-policy.md +20 -11
  225. package/node_modules/pi-lens/docs/pi-lens-monitor.md +9 -0
  226. package/node_modules/pi-lens/docs/pi-lens-orchestration.md +4 -1
  227. package/node_modules/pi-lens/docs/pi-lens-reviewer.md +5 -5
  228. package/node_modules/pi-lens/docs/pi-lens-subagent.md +6 -3
  229. package/node_modules/pi-lens/docs/public-api-stability.md +18 -2
  230. package/node_modules/pi-lens/docs/schema/pi-lens-config-v1.json +10 -0
  231. package/node_modules/pi-lens/docs/settings.md +10 -6
  232. package/node_modules/pi-lens/docs/word-index.md +17 -5
  233. package/node_modules/pi-lens/package.json +5 -3
  234. package/node_modules/pi-lens/rules/ast-grep-rules/rule-tests/no-accumulating-spread-js-test.yml +37 -0
  235. package/node_modules/pi-lens/rules/ast-grep-rules/rule-tests/ts-redundant-filter-map-test.yml +12 -1
  236. package/node_modules/pi-lens/rules/ast-grep-rules/rule-tests-disabled/filter-then-map-js-test.yml +12 -0
  237. package/node_modules/pi-lens/rules/ast-grep-rules/rule-tests-disabled/filter-then-map-test.yml +25 -0
  238. package/node_modules/pi-lens/rules/ast-grep-rules/rules/no-accumulating-spread-js.yml +49 -1
  239. package/node_modules/pi-lens/rules/ast-grep-rules/rules/ts-redundant-filter-map.yml +9 -1
  240. package/node_modules/pi-lens/rules/ast-grep-rules/rules-disabled/filter-then-map-js.yml +17 -0
  241. package/node_modules/pi-lens/rules/ast-grep-rules/rules-disabled/filter-then-map.yml +36 -0
  242. package/node_modules/pi-lens/rules/ast-grep-rules/self-scan-baseline.json +1 -1
  243. package/node_modules/pi-provider-qoder/README.md +22 -0
  244. package/node_modules/pi-provider-qoder/dist/index.js +370 -11
  245. package/node_modules/pi-provider-qoder/package.json +5 -2
  246. package/package.json +11 -11
  247. package/node_modules/@tifan/pi-inline-skills/README.md +0 -41
  248. package/node_modules/@tifan/pi-inline-skills/package.json +0 -44
  249. package/node_modules/@tifan/pi-inline-skills/src/index.ts +0 -646
  250. package/node_modules/@tifan/pi-preferred-thinking/README.md +0 -54
  251. package/node_modules/@tifan/pi-preferred-thinking/package.json +0 -43
  252. package/node_modules/@tifan/pi-preferred-thinking/src/index.ts +0 -236
  253. package/node_modules/pi-lens/dist/chunk-46TNM7XZ.js +0 -88
  254. package/node_modules/pi-lens/dist/chunk-72OKUXSD.js +0 -31
  255. package/node_modules/pi-lens/dist/chunk-7GLOLOSH.js +0 -57
  256. package/node_modules/pi-lens/dist/chunk-AKUUMGD5.js +0 -26
  257. package/node_modules/pi-lens/dist/chunk-ASUXV767.js +0 -22
  258. package/node_modules/pi-lens/dist/chunk-CTADOKYM.js +0 -25
  259. package/node_modules/pi-lens/dist/chunk-JJ2RRESP.js +0 -58
  260. package/node_modules/pi-lens/dist/chunk-LSC3VADM.js +0 -23
  261. package/node_modules/pi-lens/dist/chunk-SHLDT3OI.js +0 -27
  262. package/node_modules/pi-lens/dist/chunk-UF7RTZSO.js +0 -27
  263. package/node_modules/pi-lens/dist/chunk-W4WP2ERB.js +0 -30
  264. package/node_modules/pi-lens/dist/chunk-YES5CACN.js +0 -73
@@ -0,0 +1,330 @@
1
+ # Changelog
2
+
3
+ ## Unreleased
4
+
5
+ ## 0.7.11 - 2026-10-28
6
+
7
+ - Refresh the static capability snapshot to `command-code@1.88.1`, which publishes metadata for two models the CLI previously did not describe: `moonshotai/Kimi-K3.1-Pro` finally gains image input, reasoning, and selectable `low`/`high`/`max` efforts instead of the conservative text-only defaults it carried since 0.7.10, and the newly advertised `gpt-6.1-terra` arrives with image input, reasoning, and `low`/`medium`/`high`/`xhigh`/`max` efforts. Neither model publishes a model-specific output limit, so both keep the 65,536-token default. No other model metadata changed ([#175](https://github.com/patlux/pi-commandcode-provider/pull/175)).
8
+ - Add reviewed display pricing for `gpt-6.1-terra`, verified against the official pricing page on 2026-10-28: $1 input / $5 output / $0.05 cache read / $1.25 cache write per million tokens up to 272K tokens, and $2 input / $7.5 output / $0.1 cache read / $2.5 cache write above that threshold. The reviewed snapshot now covers all 94 advertised models, so the daily catalog job stops reporting a missing price ([#175](https://github.com/patlux/pi-commandcode-provider/pull/175)).
9
+ - Stop counting Oh My Pi's skill-description pre-passes as agent requests in `test-omp-compat.mjs`. OMP 18.13 compresses skill descriptions into routing hints at start-up by calling the configured model once per skill, which added a second `POST /provider/v1/chat/completions` and failed the request-count assertion against an unmodified `main`. Pre-passes are now counted separately, keyed on their body shape (user messages only — agent turns always carry a system prompt), and keep the ordinary mock response under the `403 upgrade_required` scenario so the fallback stays the only failing path. Test-only change; verified against OMP 18.12.6 and 18.13.2 ([#176](https://github.com/patlux/pi-commandcode-provider/pull/176)).
10
+
11
+ ## 0.7.10 - 2026-10-23
12
+
13
+ - Refresh the static capability snapshot to `command-code@1.88.0`, which drops image input for `xiaomi/mimo-v2.5` and publishes no other metadata change. Add reviewed display pricing for the newly advertised `moonshotai/Kimi-K3.1-Pro` at $2 input / $10 output / $0.2 cache read per million tokens with no cache-write charge, verified against the official pricing page on 2026-10-23; the CLI does not publish capability metadata for it yet, so it keeps conservative text-only, non-reasoning defaults with a 65,536-token output limit until the snapshot catches up. Retire `xiaomi/mimo-v2.5` and `xiaomi/mimo-v2.5-pro`, which neither the API nor the pricing page lists anymore, and drop their display prices. The reviewed snapshot covers all 93 advertised models.
14
+
15
+ ## 0.7.9 - 2026-10-22
16
+
17
+ - Pin the capability snapshot to `command-code@1.87.2`, covering all 94 advertised models; the `x-command-code-version` header sent on the generate fallback reports that CLI version.
18
+ - Add reviewed display pricing for the newly advertised models, verified against the official pricing page on 2026-10-22: `minimax/minimax-m3.1-flash` at $0.15 input / $0.60 output / $0.015 cache read per million tokens, with image input, reasoning and `low`/`medium`/`high`/`xhigh`/`max` efforts; `ornith/ornith-1.5-122b` at $0.16 input / $0.64 output / $0.02 cache read with image input and reasoning but no selectable efforts; and the capacity-limited free `reflection/beam:free`, which gains reasoning with the same five efforts and a 131,072-token output limit. No cache-write charge applies to the new models.
19
+ - Add image input, reasoning, and selectable `low`/`medium`/`high` efforts for `meta/muse-spark-open` and `nvidia/nemotron-3.5-super-vl` ([#167](https://github.com/patlux/pi-commandcode-provider/pull/167)).
20
+ - Retire models the API no longer advertises: the free `stealth/cat-jam:free` preview, `inclusionai/ling-3.0-flash-sante:free`, and the two promotions that ended on 2026-10-22 — `minimax/minimax-m3.1-flash:free` (10:45 UTC) and `ornith/ornith-1.5-122b:free` (06:00 UTC). Their capability metadata, display prices, dated pricing guards and fixture entries are removed, so `TEMPORARY_PRICING` is empty until the pricing page publishes another dated promotion. The paid variants keep their rates, and Beam's capacity-limited free pricing has no published expiry ([#169](https://github.com/patlux/pi-commandcode-provider/pull/169)).
21
+ - Disable npm lifecycle scripts while the catalog checker inspects the published CLI package, so an upstream `preinstall` or `postinstall` script cannot run during model-metadata comparison or synchronization ([#157](https://github.com/patlux/pi-commandcode-provider/pull/157)).
22
+
23
+ ### Contributors
24
+
25
+ - @sandexzx — refreshed the capability catalog and contributed the reviewed pricing for Beam, MiniMax M3.1 Flash and Ornith 1.5 122B ([#167](https://github.com/patlux/pi-commandcode-provider/pull/167), [#169](https://github.com/patlux/pi-commandcode-provider/pull/169)).
26
+ - @pierreraby — independently verified the catalog, pricing and promotion-expiry deltas, and prepared this release.
27
+
28
+ ## 0.7.8 - 2026-10-15
29
+
30
+ - Redact sensitive text in direct stream errors and normalized context-overflow messages before returning them to the host. This closes two error-reporting paths that did not use the shared redactor; it is defensive hardening, not a claim of a confirmed credential leak ([#155](https://github.com/patlux/pi-commandcode-provider/pull/155)).
31
+ - Enforce one overall deadline for quota requests, including fetch implementations that ignore cancellation and stalled JSON/error-body reads. Preserve partial quota data and existing timeout reporting instead of leaving `/commandcode-quota` hanging ([#152](https://github.com/patlux/pi-commandcode-provider/pull/152)).
32
+ - Continue to the generate fallback if a Provider API stream iterator rejects after an inspected `403 upgrade_required` response. Keep exactly one start event, expose only the generate result, and propagate unrelated failures unchanged. This is a defensive guard; the iterator-rejection behavior was not reproduced with the tested Pi/OMP adapters ([#154](https://github.com/patlux/pi-commandcode-provider/pull/154)).
33
+ - Refresh the static capability snapshot to `command-code@1.82.4`: add image input and reasoning efforts for `google/gemini-4-argon`, `meta/muse-wonder-1.0`, and `Qwen/Qwen3.8-Max-Prime`; replace the retired free Ling 3.1 Flash with `inclusionai/ling-3.1-flash`, preserving its reasoning efforts and 32,768-token output limit. Max Prime has a 131,072-token output limit (#153).
34
+ - Fix catalog synchronization with the CLI's new model-object layout. Read explicit input modalities instead of the removed global text-only set, and project the CLI's additional `file` modality onto the host's supported text/image inputs (#153).
35
+ - Add reviewed display pricing for Gemini 4 Argon, Muse Wonder, Qwen 3.8 Max Prime, paid Ling 3.1 Flash, Nemotron 3.5 Super VL, Muse Spark Open, and the free Cat Jam preview. Remove the retired free Ling entry. Prices and context tiers were verified against the official pricing page on 2026-10-15; the snapshot covers all 93 advertised models. Cat Jam is free only while its stealth preview lasts, with no published expiry. Models not yet present in CLI 1.82.4 keep conservative capability defaults until upstream metadata is available (#153).
36
+
37
+ ### Contributors
38
+
39
+ - @karaaslanz — hardened error redaction and quota deadlines, and contributed the defensive generate-fallback guard (#155, #152, #154).
40
+ - @sandexzx — refreshed the capability catalog and reviewed pricing for Gemini 4 Argon and Muse Wonder, forming the basis of the updated catalog release (#153).
41
+ - @pierreraby — independently reviewed and validated the contributor changes before the maintainer follow-ups (#152, #153, #154, #155).
42
+
43
+ ## 0.7.7 - 2026-10-11
44
+
45
+ - Recognize the `off` reasoning effort now published for the DeepSeek V4 and V4.1 models, so the catalog parser no longer rejects it and the generate transport never forwards `off` as `reasoning_effort`. The Provider API and Oh My Pi adapters translate the level from the model's thinking metadata on their own wire.
46
+ - Refresh the static capability snapshot to `command-code@1.79.2`: add `claude-haiku-5-5`, `mistral/mistral-large-4` (image input, 262K output limit), and the free `stealth/glyph-cluster:free`; retire `stealth/pixel-canary` and `stealth/space-bunny-alpha`.
47
+ - Add reviewed display pricing for the refreshed catalog — `claude-haiku-5-5` with its 100K long-context tier, `mistral/mistral-large-4`, and the free `stealth/glyph-cluster:free` — drop the retired `stealth/space-bunny-alpha`, and correct the `claude-sonnet-5-5` cache-read rate to $0.10 per million tokens, verified against the official pricing page on 2026-10-09. The snapshot now covers all 87 advertised models.
48
+ - Fix `400 input[N].call_id` failures on the `/alpha/generate` fallback by shortening compound Responses tool-call ids (`<call_id>|<item_id>`, 73 characters in the reported session) to the 64-character wire limit. The mapping is deterministic per request and shared by tool calls and their results, so pairing is preserved and distinct ids never collide; short ids pass through unchanged and the Provider API path is untouched ([#141](https://github.com/patlux/pi-commandcode-provider/issues/141)).
49
+ - Replay prior assistant reasoning on the generate transport so the model can see its own earlier thinking on follow-up turns, matching the Command Code CLI's `/alpha/generate` wire (`toWireMessages` in `command-code@1.79.2`), which replays every thinking block as a `reasoning` part with no model check and no signature. Prior reasoning was dropped in 0.5.0, which made multi-turn tasks whose state lives only in thinking — plans, games, consistency checks — silently re-decide on the fallback transport.
50
+ - Reject local OAuth callback requests that carry an untrusted browser `Origin` before any callback payload is processed, so a cross-origin forged `text/plain` POST (including a forged `access_denied`) can no longer terminate a pending browser login ([#149](https://github.com/patlux/pi-commandcode-provider/pull/149)). Origin-less local clients, the trusted Command Code/localhost origins, and the state-mismatch flow are unchanged.
51
+
52
+ ### Contributors
53
+
54
+ - @sandexzx — refreshed the Command Code catalog to `1.79.2`, taught the parser the new `off` reasoning effort, and added the matching reviewed pricing (#145).
55
+ - @szpoont — reported the generate fallback's `call_id` length failures with a reproducible session export (#141).
56
+ - @LongLongBigInt — diagnosed the dropped assistant reasoning across generate turns and contributed the replay fix with cumulative fixtures (#146, #148).
57
+ - @karaaslanz — hardened the local OAuth callback against forged browser origins and caught the short-ID collision edge case in the tool-call ID fix (#144, #149).
58
+
59
+ ## 0.7.6 - 2026-10-06
60
+
61
+ - Correct the display input price for `stepfun/Step-3.5-Flash` to $0.09 per million tokens and add the `Qwen/Qwen3.6-Plus` long-context tier above 256K tokens, verified against the official pricing page on 2026-10-06. Mark the unchanged, expired `qwen-3.7-max-2x-usage` badge as reviewed in the pricing checker while keeping it visible in reports; changed deal terms and price drift still require review.
62
+ - Restore incremental reasoning on the Provider API OpenAI Responses wire by translating Command Code's non-standard `response.reasoning.delta` events into the canonical `response.reasoning_text.delta` before they reach pi-ai, including valid trailing frames without a final blank line. Reasoning now streams while the reasoning item is still open instead of appearing only at `response.output_item.done`. Unsupported reasoning event shapes remain unchanged and produce a content-free warning in `/commandcode-status`. Reproduced with `deepseek/deepseek-v4.1-flash-fast`; standard Responses events, Chat Completions, Anthropic Messages, and the generate fallback are unchanged.
63
+ - Add a read-only `npm run check:commandcode-pricing` command that compares the live Provider API catalog and the official pricing page against `MODEL_COSTS`, reporting missing local prices, changed base rates and context tiers, time-policy drift, and expired promotions. It runs in the daily catalog workflow and applicable pull requests, publishes its report to the Actions summary, and never edits prices.
64
+ - Add reviewed display pricing for the October catalog additions — `claude-sonnet-5-5`, `gpt-6.1-sol` (with its 272K long-context tier), `deepseek/deepseek-v4.1-flash-fast`, and the free `inclusionai/ling-3.1-flash:free`. Apply the DeepSeek V4 weekday peak-pricing window to `deepseek/deepseek-v4.1-flash-fast`. Models absent from `MODEL_COSTS` silently fall back to a zero display cost, so the snapshot now covers all 85 advertised models.
65
+
66
+ ### Contributors
67
+
68
+ - @sandexzx — added October catalog display pricing (#135), built the pricing-drift checker (#136), and restored incremental Responses reasoning (#138).
69
+
70
+ ## 0.7.5 - 2026-10-06
71
+
72
+ - Harden the `test-pi-local.mjs` temp-home cleanup against transient `ENOTEMPTY` when RPC children flush session files while exiting: poll with fresh removal attempts instead of relying on `maxRetries`, whose behavior on `ENOTEMPTY` varies across Node versions. Test-only change; the 0.7.4 release run failed on this cleanup after all tests had passed.
73
+
74
+ ## 0.7.4 - 2026-10-05
75
+
76
+ - Use the Provider API's OpenAI Responses wire (`/provider/v1/responses`) for models whose `/provider/v1/models` entry advertises `/responses`, keeping OpenAI Chat Completions for chat-only models and Anthropic Messages for Claude. The wire is resolved per model from `supported_endpoints`, falling back to Chat Completions when the catalog omits the field. This also enables prompt caching (`prompt_cache_key` is forwarded on `/responses` but ignored on `/chat/completions`): repeated prefixes bill at cache-read instead of full input price ([#132](https://github.com/patlux/pi-commandcode-provider/issues/132), [#133](https://github.com/patlux/pi-commandcode-provider/pull/133)).
77
+ - Sweep orphaned `commandcode-models.json.<pid>.tmp` files older than one hour on the next successful catalog refresh, and use a unique temp name per attempt so concurrent hosts never share one. Hosts killed mid-write no longer accumulate temp files ([#130](https://github.com/patlux/pi-commandcode-provider/issues/130), [#131](https://github.com/patlux/pi-commandcode-provider/pull/131)).
78
+
79
+ ### Contributors
80
+
81
+ - @Mario-pereyra — designed the OpenAI Responses wire and authored the routing implementation carried forward in #133 (#124).
82
+ - @maxitromer — traced the missing cache key on the Provider API path and proposed the fix directions (#132).
83
+
84
+ ## 0.7.3 - 2026-09-28
85
+
86
+ - Register an Oh My Pi usage provider alongside the Command Code models, so OMP reports the account's 5-hour and weekly usage windows, credits remaining and used against the billing-period pool, and the current plan wherever it reads provider usage. The report is built from the same alpha endpoints and credentials `/commandcode-quota` uses rather than a second fetch, and sections the API does not report are listed as unavailable instead of being displayed as zero usage. pi has no `usage` field and ignores it ([#120](https://github.com/patlux/pi-commandcode-provider/pull/120)).
87
+ - Apply DeepSeek V4 weekday peak pricing to estimated request costs from 01:00–04:00 and 06:00–10:00 UTC, while keeping weekends off-peak and using the same request-time rate selection on the native Provider API and legacy generate transports (#122).
88
+
89
+ ### Contributors
90
+
91
+ - @aarisr — implemented the Oh My Pi usage-provider integration and contributed the underlying quota-surface changes (#120).
92
+ - @pierreraby — co-authored and validated the Oh My Pi usage integration (#120).
93
+ - @karaaslanz — implemented the DeepSeek V4 peak-pricing correction (#122).
94
+
95
+ ## 0.7.3-next.0 - 2026-09-26
96
+
97
+ - Validate the tag-triggered release workflow end to end using npm Trusted Publishing. The workflow verifies versions and Git refs, tests the packed and registry-installed package in Pi and OMP, and creates a GitHub Release only after verification ([#117](https://github.com/patlux/pi-commandcode-provider/pull/117)).
98
+ - This prerelease tests release automation only; provider runtime behavior is unchanged from 0.7.2. It is published to `next`, leaving `latest` on 0.7.2.
99
+
100
+ ## 0.7.2 - 2026-09-24
101
+
102
+ - Send pi's system prompt and tool declarations on the `/alpha/generate` fallback with pi 0.86+, which moved them into transcript system messages. Plans without Provider API access use this transport, where models wrote tool calls as plain text instead of calling tools (#108, #109, #110).
103
+ - Stop writing model catalog warnings directly to the console, which can corrupt the host TUI. Diagnostics remain available through `/commandcode-status`.
104
+ - Refresh the Command Code CLI catalog to `1.65.0`, adding image input, reasoning, and effort levels for `claude-opus-5-5`, `gpt-6-sol`, `gpt-6-luna`, `stepfun/Step-5-Preview`, `xai/grok-4.7`, `z-ai/glm-5.3-flashx`, and `stealth/space-bunny-alpha`, image input for the `xiaomi/mimo-v2.6-*` models, and reasoning for `meituan/LongCat-2.0`, which replaced `meituan/LongCat-2.0:free` (#106).
105
+ - Add reviewed display pricing for these models and the now paid `meituan/LongCat-2.0`, including the temporary Grok 4.7 launch discount through 2026-09-27, and the long-context rates above 272K tokens for GPT-6 and GPT-5.6 models (#106).
106
+ - Use a decodable PNG in the pi end-to-end image test, which pi 0.87 resizes before forwarding (#108).
107
+
108
+ ### Contributors
109
+
110
+ - @domye — identified the pi 0.86 TranscriptContext change and opened the generate-transport fix (#108).
111
+ - @pierreraby — reproduced the root cause on pi 0.87.1 and proposed resolving the context in the host-aware layer (#108).
112
+ - @cwjcharles and @forkyyyyy — diagnosed the generate fallback and validated a local fix (#110).
113
+ - @transtone, @yoruboku, and @azarelga — reported and reproduced the plain-text tool calls (#109, #110).
114
+ - @barisgit — kept catalog warnings off the console to protect pi's TUI (#111).
115
+
116
+ ## 0.7.1 - 2026-09-18
117
+
118
+ - Normalize nullable type arrays for `google/gemini-*` tools on the generate transport to avoid the gateway's `any_of` validation error, preserving required fields, literal data, and schemas for unrelated models (#99, #103).
119
+ - Refresh the Command Code CLI catalog to `1.56.0`, adding image input, reasoning effort levels, a 131,072-token output limit, and reviewed display pricing for `Qwen/Qwen3.8-Omni-Flash` (#102).
120
+ - Correct the Oh My Pi update instructions to use `omp plugin install pi-commandcode-provider --force` for npm-installed plugins (#104).
121
+
122
+ ### Contributors
123
+
124
+ - @JaimeGonzalezVallejo — reported the Gemini nullable-schema failure, contributed the fix and regression tests, and verified it against the live endpoint (#99, #103).
125
+ - @Newbie-troll — corrected the Oh My Pi plugin update instructions (#104).
126
+
127
+ ## 0.7.0 - 2026-09-15
128
+
129
+ - Honor host-resolved image input on the generate transport, including explicit text-only restrictions; fall back to catalog metadata only when host input is absent or empty. Filter unsupported modality strings without unsafe casts.
130
+
131
+ - Reset the generate transport's idle timeout on every received chunk, allowing active reasoning streams to exceed the timeout overall while still aborting stalled streams (#87).
132
+
133
+ - Batch consecutive tool-result images after all tool results on the generate transport, preventing interleaved user messages from breaking multi-tool turns with "Tool result is missing".
134
+
135
+ - Add display pricing for DeepSeek V4.1 Flash, Qwen 3.8 Max 0902, Gemini 3.8 Flash, Muse Spark 1.3 variants, LongCat 2.0 free, and Ling 3.0 Flash Sante free. Verify against the September 15 pricing page and live 69-model catalog; correct DeepSeek V4 Flash and Vision Exp off-peak prices to $0.15/$0.60 with $0.003 cache reads per million tokens.
136
+
137
+ - Refresh model capabilities to `command-code@1.54.0`: add DeepSeek V4.1 Flash image input and `low`/`high`/`max` efforts, GPT-6 Astra capability metadata, Grok 4.6 image input, and MiniMax M3 efforts. Ling 3.0 Flash Sante is reasoning-capable with a 32K output limit but has no published selectable effort levels. Catalog metadata does not make models absent from the Provider API selectable.
138
+ - Replace manual Muse Spark efforts with upstream levels: remove `minimal` for all five models and add `max` for Muse Spark 1.3.
139
+ - Rebind a host's preselected built-in Command Code model to the extension's registered transport at session start, preserving configured endpoints and generate fallback on Oh My Pi.
140
+ - Make the daily catalog sync self-healing: it now removes manual effort overrides once upstream publishes its own levels and includes that change in the automated pull request.
141
+ - Fix the pi end-to-end mock against pi 0.85 and newer by matching Anthropic Messages paths independently of query parameters.
142
+
143
+ ### Contributors
144
+
145
+ - @pierreraby — repaired catalog synchronization and Pi integration tests (#95).
146
+ - @SamYue1 — refreshed model capability metadata (#98).
147
+ - @myohei — added and verified model pricing (#93).
148
+ - @Star-233 — fixed parallel tool-result image ordering and contributed pricing coverage (#84, #85).
149
+ - @leon-zym — fixed stream idle timeout handling (#88).
150
+ - @djymike — honored host-resolved input modalities (#94).
151
+ - @dangvanthanh, @newCman1, and @eibednejo — contributed overlapping catalog, pricing, reasoning, and image fixes (#86, #91, #92).
152
+ - @zidanefaqih and @Alice39s — independently validated catalog behavior and provided review evidence (#93, #98).
153
+
154
+ ### Validation
155
+
156
+ - Full automated suite and CI, including real Pi and Oh My Pi mock-API integration tests.
157
+ - GOAT live E2E passed: reasoning, multi-turn history, runtime commands, abort, tools, vision, and packed artifact.
158
+ - Go live E2E remains unverified: the test account returned insufficient credits on its first request. Generate transport mock coverage passes.
159
+
160
+ ## 0.6.4 - 2026-09-03
161
+
162
+ - Refresh the generated Command Code capability catalog from `command-code@1.40.1` to `command-code@1.44.0`, adding current image-input, reasoning, effort, and output-limit metadata for newly published models.
163
+ - Expose selectable thinking levels (`minimal`, `low`, `medium`, `high`, `xhigh`) for `meta/muse-spark-1.3` and `meta/muse-spark-1.3-contributor`, so Pi and Oh My Pi forward the selected `reasoning_effort` instead of keeping thinking disabled.
164
+
165
+ ### Contributors
166
+
167
+ - @heie54 — added and validated Muse Spark 1.3 reasoning support (#80).
168
+
169
+ ## 0.6.3 - 2026-09-02
170
+
171
+ - Fix Oh My Pi chat returning `401 Invalid 'Authorization' header` after `/login`: OMP kept the unresolved `$COMMAND_CODE_API_KEY` placeholder as a literal config API key that shadowed its stored credentials and was sent as the Bearer token. The placeholder is now registered only on pi, where it keeps the API-key login method and `--api-key` working next to OAuth; on OMP the provider omits `apiKey` unless a real key is configured. Placeholders passed by the host are also resolved or stripped on the Provider API and compat stream paths, and the legacy generate transport resolves its key through the same rule.
172
+ - Cover stored `/login` OAuth and API-key credentials, `--api-key`, and env keys end to end on both pi and Oh My Pi, asserting the exact Bearer token the mock API receives. CI now runs the pi end-to-end suite against a real `pi` binary instead of skipping it.
173
+
174
+ ### Contributors
175
+
176
+ - @ebreen — reported and diagnosed the Oh My Pi `/login` 401, and opened the fix that this release builds on (#78).
177
+
178
+ ## 0.6.2 - 2026-09-02
179
+
180
+ - Fix `omp plugin install` on Oh My Pi 18.x, which rejected 0.6.1 because its pi-ai lacks the `registerApiProvider` export; the compat registration now resolves at runtime and is skipped on hosts that register custom APIs themselves.
181
+ - Run the Oh My Pi compatibility suite against a real `omp` binary in CI as a required check, and assert there that the extension loads against OMP's bundled pi packages.
182
+ - Pin the CI memory benchmark and Oh My Pi jobs to Bun 1.4.0, Node 22.23.2, and pi 0.84.4.
183
+
184
+ ### Contributors
185
+
186
+ - @AmeMizuki — reported the failing `omp plugin install` on Oh My Pi 18.1.2.
187
+
188
+ ## 0.6.1 - 2026-09-01
189
+
190
+ - Expose selectable thinking levels (`minimal`, `low`, `medium`, `high`, `xhigh`) for `meta/muse-spark-1.1`, `meta/muse-spark-1.2`, and `meta/muse-spark-1.2-contributor` through a manual catalog override, so `/thinking` and `Shift+Tab` no longer stay locked on `off` for these reasoning models.
191
+ - Start from the cached model catalog and refresh it in the background instead of blocking host startup on the catalog request; a first start without a cache still waits for the live catalog.
192
+ - Register the `commandcode-custom` API in the `@earendil-works/pi-ai/compat` registry so sibling extensions that stream with the active Command Code model no longer fail with `No API provider registered for api: commandcode-custom` on plain pi.
193
+ - Assert structural catalog invariants in the model tests so the daily catalog sync no longer fails on every upstream change.
194
+ - Display the monthly renewal date and remaining days in `/commandcode-quota`.
195
+ - Stop silently dropping `role: "developer"` messages (for example OMP advisor steering notes, reminders, and nudges). `/alpha/generate` only accepts `user`, `assistant`, and `tool` roles, so developer messages are now forwarded as `user` messages with identical content in the same chronological position instead of disappearing from the request.
196
+ - Add `Qwen/Qwen3.8-Flash` and `z-ai/glm-5.3-flash` with their verified reasoning efforts (`low, medium, xhigh` and `low, high, max`) and display pricing.
197
+ - Refresh static model capabilities from `command-code@1.40.1`, adding `claude-fable-5-1`, `deepseek/deepseek-v4-flash-fast`, and `tencent/hy4-preview` with their reasoning efforts, adding `moonshotai/Kimi-K3` efforts and the `z-ai/glm-5.3-flash` output limit, and dropping the retired `stealth/ox-alpha` and `minimax/minimax-m3-free`.
198
+ - Refresh display pricing for the current 62-model catalog, adding `claude-fable-5-1`, `deepseek/deepseek-v4-flash-fast`, and `tencent/hy4-preview`, removing the retired `stealth/ox-alpha`, `minimax/minimax-m3-free`, and `minimax/minimax-m2.7-free`, and ending the expired Claude Sonnet 5 introductory and Gemini 3.7 Flash promotional windows.
199
+ - Fix `npm run sync:commandcode-catalog` and `npm run check:commandcode-catalog` on Windows by spawning npm through the shell.
200
+ - Add a `refresh-model-catalog` agent skill with cross-platform helper scripts that snapshot the live model catalog and regenerate the pricing fixture from `MODEL_COSTS`.
201
+
202
+ ### Contributors
203
+
204
+ - @warc0s — preserved developer messages on the `/alpha/generate` transport with OMP advisory coverage.
205
+ - @jagaliano — added the quota renewal date and diagnosed the failing daily catalog sync.
206
+ - @ThomasByr — added GLM 5.3 Flash and Qwen 3.8 Flash and contributed the `refresh-model-catalog` skill.
207
+ - @hjshin-ubob — proposed selectable thinking levels for the Muse Spark models.
208
+ - @Sokoshy — analyzed the `commandcode-custom` compat registry failure on plain pi.
209
+ - @CoderTCY — measured and proposed the cache-first catalog startup.
210
+ - @MertSoylu — reported the missing GLM 5.3 Flash effort levels.
211
+
212
+ ## 0.6.0 - 2026-08-25
213
+
214
+ - Allow switching from a vision-capable model to a text-only model by omitting historical image tool results while preserving their text output; direct image prompts still fail clearly.
215
+ - Stream incremental tool-call arguments from the `/alpha/generate` transport instead of waiting for the final complete tool-call event.
216
+ - Add a daily GitHub Actions synchronization job that opens or updates a pull request for CLI version, image capability, reasoning, effort, and output-limit changes in the latest published Command Code catalog.
217
+ - Refresh static model capabilities from `command-code@1.32.2`, separating reasoning support from selectable effort levels and honoring model-specific output limits.
218
+ - Reject truncated, aborted, and network-failed generate streams instead of reporting partial responses as successful.
219
+ - Normalize malformed tool results and synthesize missing tool results so follow-up requests preserve valid tool-call history.
220
+ - Refresh display pricing for all 58 current models, including Gemini 3.7 Flash, Qwen 3.8 27B, Ox Alpha, Muse Spark 1.2, and Grok 4.6 long-context rates.
221
+ - Accept the official `COMMAND_CODE_API_KEY` and `CMD_ZDR` environment variables while retaining legacy aliases.
222
+ - Align generate request metadata with the CLI by forwarding stable session IDs, optional temperature, and the CLI user agent.
223
+ - Validate manually pasted API keys, use the CLI's two-minute browser timeout, and reject OAuth state mismatches without closing the callback server.
224
+ - Add `/commandcode-quota` with live credits, plan, usage totals, and rolling-limit diagnostics from Command Code's alpha usage endpoints.
225
+ - Add `zai-org/GLM-5.3` with its verified reasoning efforts and display pricing.
226
+ - Prefer Command Code's Provider API (`/provider/v1/chat/completions` and `/provider/v1/messages`) and automatically fall back to the existing `/alpha/generate` transport only when the Provider API returns `403 upgrade_required` for a Go-plan account.
227
+ - Remember the detected transport for the running process, re-detect it when credentials change, prevent stale in-flight requests from overwriting the new credential's transport, and never fall back for unrelated authentication, permission, rate-limit, network, or server failures.
228
+ - Use Pi's native OpenAI- and Anthropic-compatible providers for Provider API streaming, including adaptive thinking for current reasoning-capable Claude models, while preserving the existing hardened generate transport, dynamic model discovery, offline cache, refresh/status commands, pricing, and OAuth credentials.
229
+ - Let `/login` use browser authentication, an explicit API-key prompt, or a directly pasted API key.
230
+ - Add optional zero-data-retention headers through `CMD_ZDR=1` and the legacy `COMMANDCODE_ZDR=1` alias.
231
+ - Refresh GPT-5.6 Terra and Luna display prices after their temporary 50% promotion ended, and display the current DeepSeek V4 off-peak rates for its time-dependent pricing.
232
+ - Add isolated live E2E profiles for separate Go-, GOAT-, and Provider-plan credentials, covering transport selection, reasoning across turns, quota identity, aborts, tools, GOAT vision, Go image rejection, and packed-package validation.
233
+ - Fix extension load failure on newer pi hosts that reject registering a custom API under a built-in name (`openai-completions`); register under `commandcode-custom` instead and restore the real wire API before native compat dispatch.
234
+
235
+ ### Contributors
236
+
237
+ - @jagaliano — added the live quota dashboard and hardened its integration.
238
+ - @omariqbalnaru — fixed custom API registration for Oh My Pi 17.4.0.
239
+ - @ThomasByr — added GLM-5.3 pricing and reasoning levels.
240
+ - @newCman1 — added DeepSeek V4 vision model support.
241
+
242
+ ## 0.5.1 - 2026-08-11
243
+
244
+ - Add model-specific image input capabilities from the `command-code@1.15.1` catalog and forward user and tool-result images using the current Command Code wire format.
245
+ - Update the Command Code client version header to `1.15.1`.
246
+
247
+ ### Contributors
248
+
249
+ - @DiyarD — reported missing vision support for GPT-5.6 Luna, Muse Spark 1.2, and other vision-capable models.
250
+
251
+ ## 0.5.0 - 2026-08-07
252
+
253
+ - Stop replaying completed assistant reasoning traces to Command Code while preserving visible text and completed tool calls in follow-up request history.
254
+ - Add `/commandcode-refresh` and `/commandcode-status` commands for safe model-catalog refreshes and redacted diagnostics.
255
+ - Bound model discovery to a configurable 10-second timeout so a slow Provider API cannot block pi startup; timed-out discovery uses the validated cache when available.
256
+ - Normalize Command Code context overflow failures so pi can auto-compact and retry, while leaving unrelated rate-limit and capacity errors unchanged.
257
+ - Keep the legacy `/alpha/generate` integration explicitly text-only: image input and image tool results are rejected instead of being silently dropped, and models do not claim image capability until the protocol exposes documented support and limits.
258
+ - Replace blanket reasoning metadata with model-specific Command Code effort support. Known models expose a `thinkingLevelMap`, and selected supported Pi levels are forwarded as `params.reasoning_effort`; unsupported or unknown models do not receive reasoning request fields.
259
+ - Add repository commands for testing the current checkout either in a logged-out, automatically cleaned-up pi environment or with existing credentials and only Command Code models enabled.
260
+ - Refresh display pricing for the current Command Code model catalog, remove expired Qwen promotional rates, add current free and discounted models, and require review when temporary prices expire.
261
+ - Use the host-provided `pi-ai` and `pi-coding-agent` core packages instead of installing private runtime copies, including for local and out-of-store development checkouts.
262
+ - Fix cached input tokens being counted twice.
263
+
264
+ ### Contributors
265
+
266
+ - @IfkumRfnl — fixed cached input token accounting.
267
+
268
+ ## 0.4.3 - 2026-08-02
269
+
270
+ - Allow pi to start when model discovery is unavailable. The provider now caches the last successfully fetched model catalog so previously discovered Command Code models remain selectable offline; a first offline start without a cache keeps Command Code unavailable until `/reload` succeeds.
271
+
272
+ ### Contributors
273
+
274
+ - @k3-2o — reported that the model-list fetch blocked pi startup when offline.
275
+
276
+ ## 0.4.2 - 2026-07-05
277
+
278
+ - Fix Oh My Pi extension validation by avoiding the missing `calculateCost` export from OMP's legacy `pi-ai` shim.
279
+ - Add a regression test that locks the local Command Code cost calculation to pi-ai's upstream `calculateCost` behavior.
280
+
281
+ ### Contributors
282
+
283
+ - @CoderTCY — reported the Oh My Pi installation failure.
284
+
285
+ ## 0.4.1 - 2026-06-16
286
+
287
+ - Use the explicit `$COMMANDCODE_API_KEY` provider registration syntax expected by newer pi versions, removing the startup deprecation warning while keeping legacy placeholder compatibility.
288
+ - Refresh development dependency lockfile entries to resolve npm audit findings for `tsx`/`esbuild` and `protobufjs`.
289
+
290
+ ### Contributors
291
+
292
+ - @plumj-am — fixed the pi provider `apiKey` deprecation warning.
293
+ - @cad0p — reported retry/deprecation-related issues that helped validate the current behavior.
294
+ - @bl4zee1g — reported provider availability concerns that prompted additional local/live validation.
295
+
296
+ ## 0.4.0 - 2026-06-02
297
+
298
+ - Add retry mechanism for transient HTTP errors (429, 5xx) and stream-level errors, configurable via pi `settings.json` `retry.provider` fields (`timeoutMs`, `maxRetries`, `maxRetryDelayMs`). Supports exponential backoff with jitter and `Retry-After` header.
299
+
300
+ ## 0.3.1 - 2026-05-29
301
+
302
+ - Bump CLI version header to `0.29.0` for Command Code API parity.
303
+ - Harden PR security pipeline CI configuration.
304
+
305
+ ## 0.3.0 - 2026-05-28
306
+
307
+ - Add OMP (Oh My Pi) provider compatibility: support `~/.omp/agent/auth.json` auth path, handle OMP's env-var-name-as-apiKey quirk, convert OMP system prompt arrays to text.
308
+ - Close open thinking blocks before starting text or tool output to prevent event ordering issues when upstream omits `reasoning-end`.
309
+ - Correct DeepSeek V4 Pro discount as permanent (no expiry), not time-limited.
310
+ - Correct DeepSeek V4 Flash cache-read rate to $0.028/M and add xiaomi/mimo models to pricing table.
311
+ - Upgrade pi dependencies from `@mariozechner` 0.72.0 to `@earendil-works` 0.75.5.
312
+ - Move `pi-coding-agent` to optional peerDependencies.
313
+
314
+ ## 0.2.0 - 2026-05-27
315
+
316
+ - Stream `reasoning-delta` events incrementally instead of buffering the full thinking block until `reasoning-end`. Emits `thinking_start`, `thinking_delta`, and `thinking_end` events as they arrive so the UI can show reasoning in real time.
317
+ - Close open text blocks on `reasoning-start` and `reasoning-delta` so thinking and text never overlap in the output.
318
+ - Add live display pricing (`MODEL_COSTS`) for known Command Code models. Cost falls back to zero for models not yet in the price table until the Provider API exposes pricing directly.
319
+ - Fetch models from the Command Code Provider API at startup (inherited from upstream 0.1.1) and overlay the static cost table.
320
+
321
+ ## 0.1.1 - 2026-05-26
322
+
323
+ - Align Command Code generate requests with CLI `0.27.2` headers and payload shape.
324
+ - Support official Command Code CLI auth files using the `command-code` credential key.
325
+ - Handle `reasoning-start` and ignore streamed `tool-result` events.
326
+ - Cap generated `max_tokens` by the selected model and the Command Code output limit.
327
+
328
+ ## 0.1.0 - 2026-05-05
329
+
330
+ - Initial public release.
@@ -0,0 +1,192 @@
1
+ # Contributing
2
+
3
+ Thanks for helping improve `pi-commandcode-provider`.
4
+
5
+ This is an unofficial Command Code provider for pi. Keep changes small, tested, and easy to review.
6
+
7
+ ## Development setup
8
+
9
+ ```sh
10
+ npm install
11
+ npm test
12
+ ```
13
+
14
+ Useful commands:
15
+
16
+ ```sh
17
+ npm run typecheck
18
+ npm run format:check
19
+ npm run test:unit
20
+ npm run test:models
21
+ npm run test:oauth
22
+ npm run test:abort
23
+ npm run test:stream
24
+ npm run test:pi-isolated
25
+ npm run test:pi-authenticated
26
+ npm run test:pi-local
27
+ ```
28
+
29
+ Start an isolated pi instance with only the current checkout installed and no existing Command Code credentials:
30
+
31
+ ```sh
32
+ npm run pi:isolated
33
+ ```
34
+
35
+ Run `/login` inside pi. Temporary credentials, configuration, and sessions are deleted when pi exits.
36
+
37
+ Start the current checkout with your existing pi credentials and only Command Code models in the model picker:
38
+
39
+ ```sh
40
+ npm run pi:authenticated
41
+ ```
42
+
43
+ Both commands accept additional pi arguments after `--`, for example `npm run pi:authenticated -- --model claude-sonnet-4-6`.
44
+
45
+ Run the transport-specific live tests with separate credentials:
46
+
47
+ ```sh
48
+ COMMANDCODE_E2E_GO_API_KEY_FILE=/path/to/go-key npm run test:e2e:live:go
49
+ COMMANDCODE_E2E_GOAT_API_KEY_FILE=/path/to/goat-key npm run test:e2e:live:goat
50
+ COMMANDCODE_E2E_PROVIDER_API_KEY_FILE=/path/to/provider-key npm run test:e2e:live:provider
51
+ ```
52
+
53
+ Use `npm run test:e2e:live:all` with the Go and GOAT file variables to run both subscription transports sequentially. Store keys in a secret manager and export each one to a new mode-`0600` temporary file for the test; never add key files to the repository. Direct `*_API_KEY` variables are intended primarily for protected CI secrets.
54
+
55
+ ### pi end-to-end
56
+
57
+ `tests/test-pi-local.mjs` runs the extension inside a real `pi` binary against a mock Command Code API, including every credential source (`/login` OAuth and API-key credentials, `--api-key`, env keys). It skips locally when `pi` is not on `PATH`; CI installs pi and runs it as part of `npm test` with `PI_LOCAL_REQUIRED=1`. Point `PI_BIN` at another pi executable to test against a specific version.
58
+
59
+ ### Oh My Pi compatibility
60
+
61
+ `tests/test-omp-compat.mjs` runs the extension inside a real `omp` binary against a mock Command Code API. It skips locally when `omp` is not on `PATH`; CI installs Oh My Pi and runs it as a required check with `OMP_COMPAT_REQUIRED=1`, so a change that only loads on pi fails CI instead of the next `omp plugin install`.
62
+
63
+ To run it locally, point `OMP_BIN` at an omp executable (Oh My Pi needs Bun ≥ 1.3.14):
64
+
65
+ ```sh
66
+ npm install -g @oh-my-pi/pi-coding-agent
67
+ OMP_BIN="$(npm prefix -g)/bin/omp" node tests/test-omp-compat.mjs
68
+ ```
69
+
70
+ Before opening a PR, run:
71
+
72
+ ```sh
73
+ npm test
74
+ npm run format:check
75
+ git diff --check
76
+ ```
77
+
78
+ For release and npm smoke-test steps, see [RELEASE.md](RELEASE.md). Releases use a
79
+ merged release PR followed by a `vX.Y.Z` (stable) or `vX.Y.Z-next.N` tag push; the
80
+ release workflow is the only publishing path, including recovery, and publishes the
81
+ tested tarball through npm Trusted Publishing (OIDC).
82
+ The canonical repository's activation was verified with `0.7.3-next.0` on 2026-09-26;
83
+ see the [activation record](RELEASE.md#activation-record). Setup changes and maintainer
84
+ permissions remain separate owner tasks. `RELEASE.md` is the single release guide
85
+ for maintainers and coding agents.
86
+
87
+ Release-rule tests run as part of `npm test`, or separately with `npm run test:release`.
88
+ To test a packed artifact with real Pi and OMP against mock APIs, run
89
+ `npm run test:release-package -- /path/to/package.tgz`; both hosts and Bun are required.
90
+ Validate workflow edits with `actionlint`.
91
+
92
+ ## Pull request guidelines
93
+
94
+ - Keep PRs focused on one problem or feature.
95
+ - Add or update tests for behavior changes.
96
+ - Update `README.md`, `CHANGELOG.md`, or `RELEASE.md` when user-facing behavior changes.
97
+ - Avoid broad refactors unless the PR is specifically about refactoring.
98
+ - Do not include API keys, tokens, real auth files, `.env` files, or other secrets.
99
+ - Prefer documented/public Command Code API behavior. If compatibility with CLI behavior is needed, document why.
100
+ - Make sure npm package contents still make sense when `package.json` `files` changes.
101
+
102
+ ## Testing pi integration changes
103
+
104
+ For provider, auth, request-shape, or stream changes, test both local code and the package form when possible.
105
+
106
+ Local extension smoke:
107
+
108
+ ```sh
109
+ pi --no-extensions -e ./index.ts --list-models commandcode
110
+ ```
111
+
112
+ Packed-package smoke testing is documented in [RELEASE.md](RELEASE.md#local-package-smoke-test).
113
+ Use the isolated launchers above for a separately authorized manual `/login` test.
114
+
115
+ ## Commit message rules
116
+
117
+ Use Angular-style Conventional Commits.
118
+
119
+ Format:
120
+
121
+ ```txt
122
+ <type>(<scope>): <subject>
123
+ ```
124
+
125
+ Examples:
126
+
127
+ ```txt
128
+ feat(auth): support Command Code CLI auth files
129
+ fix(core): cap max tokens by selected model
130
+ docs(release): document npm smoke testing
131
+ test(stream): cover reasoning start events
132
+ chore(release): publish 0.1.1
133
+ ```
134
+
135
+ ### Types
136
+
137
+ Use one of these types:
138
+
139
+ - `feat`: a new user-facing feature
140
+ - `fix`: a bug fix
141
+ - `docs`: documentation-only changes
142
+ - `style`: formatting-only changes, no behavior change
143
+ - `refactor`: code restructuring without behavior change
144
+ - `perf`: performance improvement
145
+ - `test`: adding or changing tests
146
+ - `build`: package, dependency, or build-system changes
147
+ - `ci`: CI workflow changes
148
+ - `chore`: maintenance that does not fit another type
149
+ - `revert`: revert a previous commit
150
+
151
+ ### Scopes
152
+
153
+ Use a short lowercase scope. Prefer existing project areas:
154
+
155
+ - `auth`
156
+ - `oauth`
157
+ - `core`
158
+ - `models`
159
+ - `stream`
160
+ - `tests`
161
+ - `docs`
162
+ - `release`
163
+ - `deps`
164
+ - `ci`
165
+
166
+ A scope is strongly recommended. If no scope fits, choose the closest project area instead of omitting it.
167
+
168
+ ### Subject line
169
+
170
+ - Use imperative mood: `fix(auth): read oauth credentials`, not `fixed` or `fixes`.
171
+ - Keep it concise.
172
+ - Start lowercase after the colon.
173
+ - Do not end with a period.
174
+
175
+ ### Body and footers
176
+
177
+ Use a body when the reason is not obvious:
178
+
179
+ ```txt
180
+ fix(core): cap max tokens by selected model
181
+
182
+ Command Code can return models with lower output limits than the provider-wide cap.
183
+ Clamp defaults to the selected model so requests do not exceed upstream limits.
184
+ ```
185
+
186
+ Breaking changes must be marked with `!` or a `BREAKING CHANGE:` footer:
187
+
188
+ ```txt
189
+ feat(api)!: switch to provider api endpoints
190
+
191
+ BREAKING CHANGE: removes support for the legacy internal generate endpoint.
192
+ ```
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Pat Woz
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.