@herbertgao/pi-extensions 2026.10.19 → 2026.11.1

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 (288) hide show
  1. package/CHANGELOG.md +759 -0
  2. package/README.md +21 -6
  3. package/THIRD_PARTY_NOTICES.md +53 -2
  4. package/extensions/clef.mjs +1 -1
  5. package/node_modules/@herbertgao/pi-agency/CHANGELOG.md +19 -0
  6. package/node_modules/@herbertgao/pi-agency/package.json +4 -2
  7. package/node_modules/@herbertgao/pi-agency/src/index.ts +1 -1
  8. package/node_modules/@herbertgao/pi-bark/CHANGELOG.md +52 -0
  9. package/node_modules/@herbertgao/pi-bark/package.json +2 -1
  10. package/node_modules/@herbertgao/pi-cc-extensions/CHANGELOG.md +207 -0
  11. package/node_modules/@herbertgao/pi-cc-extensions/README.en.md +7 -5
  12. package/node_modules/@herbertgao/pi-cc-extensions/README.md +10 -7
  13. package/node_modules/@herbertgao/pi-cc-extensions/extensions/config/config.ts +20 -0
  14. package/node_modules/@herbertgao/pi-cc-extensions/extensions/config/panel.ts +61 -6
  15. package/node_modules/@herbertgao/pi-cc-extensions/extensions/feature/agent-summary/core.ts +11 -16
  16. package/node_modules/@herbertgao/pi-cc-extensions/extensions/feature/agent-summary/index.ts +60 -11
  17. package/node_modules/@herbertgao/pi-cc-extensions/extensions/feature/compact-thinking.ts +29 -11
  18. package/node_modules/@herbertgao/pi-cc-extensions/extensions/feature/shell/footer-layout.ts +54 -6
  19. package/node_modules/@herbertgao/pi-cc-extensions/extensions/feature/shell/footer.ts +23 -5
  20. package/node_modules/@herbertgao/pi-cc-extensions/extensions/feature/shell/session-tokens.ts +52 -0
  21. package/node_modules/@herbertgao/pi-cc-extensions/package.json +5 -4
  22. package/node_modules/@herbertgao/pi-impeccable/CHANGELOG.md +13 -0
  23. package/node_modules/@herbertgao/pi-impeccable/package.json +2 -1
  24. package/node_modules/@herbertgao/pi-subagents/CHANGELOG.md +6 -0
  25. package/node_modules/@herbertgao/pi-subagents/README.md +142 -45
  26. package/node_modules/@herbertgao/pi-subagents/docs/rpc.md +17 -7
  27. package/node_modules/@herbertgao/pi-subagents/package.json +4 -4
  28. package/node_modules/@herbertgao/pi-subagents/src/agent-manager.ts +111 -59
  29. package/node_modules/@herbertgao/pi-subagents/src/agent-runner.ts +135 -117
  30. package/node_modules/@herbertgao/pi-subagents/src/cross-extension-rpc.ts +41 -14
  31. package/node_modules/@herbertgao/pi-subagents/src/index.ts +110 -19
  32. package/node_modules/@herbertgao/pi-subagents/src/nested-tools.ts +8 -0
  33. package/node_modules/@herbertgao/pi-subagents/src/prompts.ts +31 -0
  34. package/node_modules/@herbertgao/sol-pi/CHANGELOG.md +84 -0
  35. package/node_modules/@herbertgao/sol-pi/README.md +3 -3
  36. package/node_modules/@herbertgao/sol-pi/THIRD_PARTY_NOTICES.md +4 -4
  37. package/node_modules/@herbertgao/sol-pi/agents-install.md +3 -3
  38. package/node_modules/@herbertgao/sol-pi/docs/compatibility.md +1 -1
  39. package/node_modules/@herbertgao/sol-pi/package.json +2 -1
  40. package/node_modules/@tintinweb/pi-tasks/CHANGELOG.md +270 -0
  41. package/node_modules/@tintinweb/pi-tasks/CONTRIBUTING.md +67 -0
  42. package/node_modules/@tintinweb/pi-tasks/CUSTOMIZING.md +289 -0
  43. package/node_modules/@tintinweb/pi-tasks/LICENSE +21 -0
  44. package/node_modules/@tintinweb/pi-tasks/README.md +417 -0
  45. package/node_modules/@tintinweb/pi-tasks/SECURITY.md +107 -0
  46. package/node_modules/@tintinweb/pi-tasks/dist/auto-clear.d.ts +64 -0
  47. package/node_modules/@tintinweb/pi-tasks/dist/auto-clear.js +129 -0
  48. package/node_modules/@tintinweb/pi-tasks/dist/index.d.ts +17 -0
  49. package/node_modules/@tintinweb/pi-tasks/dist/index.js +1338 -0
  50. package/node_modules/@tintinweb/pi-tasks/dist/process-tracker.d.ts +29 -0
  51. package/node_modules/@tintinweb/pi-tasks/dist/process-tracker.js +121 -0
  52. package/node_modules/@tintinweb/pi-tasks/dist/reminder-cadence.d.ts +39 -0
  53. package/node_modules/@tintinweb/pi-tasks/dist/reminder-cadence.js +61 -0
  54. package/node_modules/@tintinweb/pi-tasks/dist/task-glyphs.d.ts +48 -0
  55. package/node_modules/@tintinweb/pi-tasks/dist/task-glyphs.js +68 -0
  56. package/node_modules/@tintinweb/pi-tasks/dist/task-paths.d.ts +44 -0
  57. package/node_modules/@tintinweb/pi-tasks/dist/task-paths.js +60 -0
  58. package/node_modules/@tintinweb/pi-tasks/dist/task-sort.d.ts +23 -0
  59. package/node_modules/@tintinweb/pi-tasks/dist/task-sort.js +69 -0
  60. package/node_modules/@tintinweb/pi-tasks/dist/task-store.d.ts +61 -0
  61. package/node_modules/@tintinweb/pi-tasks/dist/task-store.js +397 -0
  62. package/node_modules/@tintinweb/pi-tasks/dist/tasks-config.d.ts +16 -0
  63. package/node_modules/@tintinweb/pi-tasks/dist/tasks-config.js +51 -0
  64. package/node_modules/@tintinweb/pi-tasks/dist/types.d.ts +36 -0
  65. package/node_modules/@tintinweb/pi-tasks/dist/types.js +4 -0
  66. package/node_modules/@tintinweb/pi-tasks/dist/ui/settings-menu.d.ts +15 -0
  67. package/node_modules/@tintinweb/pi-tasks/dist/ui/settings-menu.js +140 -0
  68. package/node_modules/@tintinweb/pi-tasks/dist/ui/task-widget.d.ts +69 -0
  69. package/node_modules/@tintinweb/pi-tasks/dist/ui/task-widget.js +278 -0
  70. package/node_modules/@tintinweb/pi-tasks/package.json +57 -0
  71. package/node_modules/@tintinweb/pi-tasks/src/auto-clear.ts +134 -0
  72. package/node_modules/@tintinweb/pi-tasks/src/index.ts +1417 -0
  73. package/node_modules/@tintinweb/pi-tasks/src/process-tracker.ts +140 -0
  74. package/node_modules/@tintinweb/pi-tasks/src/reminder-cadence.ts +90 -0
  75. package/node_modules/@tintinweb/pi-tasks/src/task-glyphs.ts +110 -0
  76. package/node_modules/@tintinweb/pi-tasks/src/task-paths.ts +65 -0
  77. package/node_modules/@tintinweb/pi-tasks/src/task-sort.ts +90 -0
  78. package/node_modules/@tintinweb/pi-tasks/src/task-store.ts +402 -0
  79. package/node_modules/@tintinweb/pi-tasks/src/tasks-config.ts +77 -0
  80. package/node_modules/@tintinweb/pi-tasks/src/types.ts +40 -0
  81. package/node_modules/@tintinweb/pi-tasks/src/ui/settings-menu.ts +174 -0
  82. package/node_modules/@tintinweb/pi-tasks/src/ui/task-widget.ts +325 -0
  83. package/node_modules/pi-commandcode-provider/CHANGELOG.md +330 -0
  84. package/node_modules/pi-commandcode-provider/CONTRIBUTING.md +192 -0
  85. package/node_modules/pi-commandcode-provider/LICENSE +21 -0
  86. package/node_modules/pi-commandcode-provider/README.md +243 -0
  87. package/node_modules/pi-commandcode-provider/RELEASE.md +194 -0
  88. package/node_modules/pi-commandcode-provider/index.ts +309 -0
  89. package/node_modules/pi-commandcode-provider/package.json +91 -0
  90. package/node_modules/pi-commandcode-provider/scripts/live-e2e-profile.mjs +87 -0
  91. package/node_modules/pi-commandcode-provider/scripts/pi-authenticated.mjs +50 -0
  92. package/node_modules/pi-commandcode-provider/scripts/pi-isolated.mjs +79 -0
  93. package/node_modules/pi-commandcode-provider/src/api-key.ts +69 -0
  94. package/node_modules/pi-commandcode-provider/src/auth-server.ts +229 -0
  95. package/node_modules/pi-commandcode-provider/src/commandcode-catalog-overrides.ts +28 -0
  96. package/node_modules/pi-commandcode-provider/src/commandcode-catalog.ts +260 -0
  97. package/node_modules/pi-commandcode-provider/src/converters.ts +477 -0
  98. package/node_modules/pi-commandcode-provider/src/core.ts +836 -0
  99. package/node_modules/pi-commandcode-provider/src/cost.ts +76 -0
  100. package/node_modules/pi-commandcode-provider/src/json-schema.ts +417 -0
  101. package/node_modules/pi-commandcode-provider/src/models.ts +515 -0
  102. package/node_modules/pi-commandcode-provider/src/oauth.ts +229 -0
  103. package/node_modules/pi-commandcode-provider/src/overflow.ts +120 -0
  104. package/node_modules/pi-commandcode-provider/src/pricing.ts +370 -0
  105. package/node_modules/pi-commandcode-provider/src/quota-command.ts +66 -0
  106. package/node_modules/pi-commandcode-provider/src/quota-format.ts +143 -0
  107. package/node_modules/pi-commandcode-provider/src/quota-types.ts +47 -0
  108. package/node_modules/pi-commandcode-provider/src/quota.ts +357 -0
  109. package/node_modules/pi-commandcode-provider/src/responses-stream.ts +249 -0
  110. package/node_modules/pi-commandcode-provider/src/runtime.ts +330 -0
  111. package/node_modules/pi-commandcode-provider/src/transcript.ts +56 -0
  112. package/node_modules/pi-commandcode-provider/src/transport.ts +147 -0
  113. package/node_modules/pi-commandcode-provider/src/types.ts +212 -0
  114. package/node_modules/pi-commandcode-provider/src/usage.ts +261 -0
  115. package/node_modules/pi-lens/CHANGELOG.md +149 -0
  116. package/node_modules/pi-lens/README.md +12 -2
  117. package/node_modules/pi-lens/config/markdownlint/run-no-fix.mjs +36 -0
  118. package/node_modules/pi-lens/dist/{chunk-WME2OQST.js → chunk-2453RRJ2.js} +11 -6
  119. package/node_modules/pi-lens/dist/{chunk-FZKFVUEC.js → chunk-2BKUFQKR.js} +276 -208
  120. package/node_modules/pi-lens/dist/chunk-2TS4GLOJ.js +31 -0
  121. package/node_modules/pi-lens/dist/{chunk-QHSNL7B2.js → chunk-2ZE3AUJQ.js} +12 -14
  122. package/node_modules/pi-lens/dist/{chunk-MPKRJBPK.js → chunk-35WKJWO5.js} +28 -30
  123. package/node_modules/pi-lens/dist/chunk-3JAHQBSY.js +27 -0
  124. package/node_modules/pi-lens/dist/{chunk-4LM3VAZH.js → chunk-3O5EII3W.js} +2 -2
  125. package/node_modules/pi-lens/dist/chunk-447YZL4S.js +25 -0
  126. package/node_modules/pi-lens/dist/{chunk-H7OR7DFZ.js → chunk-4B2YFN4U.js} +25 -21
  127. package/node_modules/pi-lens/dist/{chunk-OSTKYB55.js → chunk-4BKU7PV3.js} +1 -1
  128. package/node_modules/pi-lens/dist/{chunk-RRV3FNNM.js → chunk-4LL2VRNY.js} +27 -28
  129. package/node_modules/pi-lens/dist/{chunk-BZARLRJW.js → chunk-4NBWFYWW.js} +9 -9
  130. package/node_modules/pi-lens/dist/{chunk-KKCK636N.js → chunk-4QG55RRC.js} +12 -12
  131. package/node_modules/pi-lens/dist/{chunk-RQS4QQSD.js → chunk-4W52ZKZX.js} +2 -2
  132. package/node_modules/pi-lens/dist/{chunk-Z2XAOKHK.js → chunk-565VRUP4.js} +2 -2
  133. package/node_modules/pi-lens/dist/{chunk-HWDAVBFU.js → chunk-57X2CDRX.js} +23 -23
  134. package/node_modules/pi-lens/dist/{chunk-MB6PXBUA.js → chunk-5F3XF3SX.js} +7 -15
  135. package/node_modules/pi-lens/dist/{chunk-O4BJFESU.js → chunk-5RNB4HVK.js} +1 -1
  136. package/node_modules/pi-lens/dist/{chunk-ZMAUPOMG.js → chunk-5T5A6YAJ.js} +35 -34
  137. package/node_modules/pi-lens/dist/{chunk-4ZYJHQMB.js → chunk-6FIRFP6A.js} +12 -12
  138. package/node_modules/pi-lens/dist/{chunk-4YHYPW2G.js → chunk-6GMGEKQN.js} +9 -5
  139. package/node_modules/pi-lens/dist/{chunk-4LOE5R5P.js → chunk-6LJOJ6EO.js} +20 -15
  140. package/node_modules/pi-lens/dist/{chunk-3YY7IXIL.js → chunk-6YUNI7B5.js} +3 -3
  141. package/node_modules/pi-lens/dist/{chunk-PKES3ISE.js → chunk-7ANZ7XDD.js} +2 -2
  142. package/node_modules/pi-lens/dist/{chunk-FB5SCCPT.js → chunk-7CGIDRIK.js} +16 -15
  143. package/node_modules/pi-lens/dist/{chunk-L3CMBQMH.js → chunk-7MAD5ZAY.js} +16 -17
  144. package/node_modules/pi-lens/dist/{chunk-WDBICWH3.js → chunk-7TNILKGY.js} +1 -1
  145. package/node_modules/pi-lens/dist/{chunk-RORGS5II.js → chunk-A5GRLYPZ.js} +9 -9
  146. package/node_modules/pi-lens/dist/{chunk-MNJIXFX4.js → chunk-AGGUWKRK.js} +1 -1
  147. package/node_modules/pi-lens/dist/{chunk-ABPKUVA4.js → chunk-BBET6HD6.js} +1 -1
  148. package/node_modules/pi-lens/dist/{chunk-L5JYIU47.js → chunk-BHWW6FAX.js} +14 -13
  149. package/node_modules/pi-lens/dist/{chunk-URCQWAQ4.js → chunk-BOPDQ7AZ.js} +23 -21
  150. package/node_modules/pi-lens/dist/{chunk-KDX35VXP.js → chunk-BQG2QFVO.js} +158 -133
  151. package/node_modules/pi-lens/dist/{chunk-CB4WHS4H.js → chunk-BUZIQDFS.js} +3 -3
  152. package/node_modules/pi-lens/dist/{chunk-2PHMIAKO.js → chunk-CM73PPGD.js} +4 -4
  153. package/node_modules/pi-lens/dist/{chunk-DH5JPM3K.js → chunk-CUDD35TW.js} +10 -9
  154. package/node_modules/pi-lens/dist/{chunk-AWDSEDER.js → chunk-CZL44WFN.js} +2 -2
  155. package/node_modules/pi-lens/dist/{chunk-N5WSK2K7.js → chunk-DIWK3LBC.js} +12 -15
  156. package/node_modules/pi-lens/dist/{chunk-24BILSZW.js → chunk-DYRZGUMA.js} +2 -2
  157. package/node_modules/pi-lens/dist/{chunk-PR6PO3ES.js → chunk-FHEV6T4L.js} +22 -18
  158. package/node_modules/pi-lens/dist/{chunk-DQZFQSR5.js → chunk-FRLAUP2B.js} +4 -4
  159. package/node_modules/pi-lens/dist/{chunk-RZOXUSPC.js → chunk-G5GV2Q7K.js} +2 -2
  160. package/node_modules/pi-lens/dist/{chunk-EKWX4WD3.js → chunk-G6JKM4O7.js} +7 -7
  161. package/node_modules/pi-lens/dist/chunk-GGYOZWHW.js +27 -0
  162. package/node_modules/pi-lens/dist/{chunk-XT2HTCJ5.js → chunk-GIRBSBGL.js} +6 -5
  163. package/node_modules/pi-lens/dist/{chunk-PQJFG24Z.js → chunk-GMROJJRN.js} +1292 -946
  164. package/node_modules/pi-lens/dist/{chunk-U6VN4NVL.js → chunk-HHR7WGCI.js} +3 -3
  165. package/node_modules/pi-lens/dist/{chunk-TIQJPRDD.js → chunk-HKIL6DCL.js} +3 -2
  166. package/node_modules/pi-lens/dist/{chunk-SNDXCFRS.js → chunk-HUAM7QG3.js} +11 -11
  167. package/node_modules/pi-lens/dist/{chunk-QOE342SU.js → chunk-HXFUTMX2.js} +2 -2
  168. package/node_modules/pi-lens/dist/{chunk-U7BD2QL7.js → chunk-I22THIHI.js} +12 -12
  169. package/node_modules/pi-lens/dist/chunk-IE5D3RA5.js +58 -0
  170. package/node_modules/pi-lens/dist/{chunk-DPGEAHZT.js → chunk-IYVYZQRL.js} +10 -16
  171. package/node_modules/pi-lens/dist/{chunk-3F6BMY53.js → chunk-JBP7KESM.js} +1 -1
  172. package/node_modules/pi-lens/dist/{chunk-U5HPROLA.js → chunk-JE6HKLC7.js} +2 -2
  173. package/node_modules/pi-lens/dist/{chunk-ZE3KXHS7.js → chunk-JPRDTY5S.js} +85 -3
  174. package/node_modules/pi-lens/dist/{chunk-HO6LWE2E.js → chunk-JYLOYTZD.js} +17 -1
  175. package/node_modules/pi-lens/dist/{chunk-KW5JQPO5.js → chunk-JZRP4DGP.js} +2 -2
  176. package/node_modules/pi-lens/dist/{chunk-CPSR3AVL.js → chunk-KZ4ALBCH.js} +2 -2
  177. package/node_modules/pi-lens/dist/{chunk-6IR3ZYIB.js → chunk-L3CLUGDY.js} +3 -3
  178. package/node_modules/pi-lens/dist/{chunk-LV4UMYVH.js → chunk-L4NEVZ4T.js} +28 -27
  179. package/node_modules/pi-lens/dist/chunk-LPYTPNOJ.js +22 -0
  180. package/node_modules/pi-lens/dist/{chunk-WGRJOXED.js → chunk-LSFXZLPW.js} +1016 -636
  181. package/node_modules/pi-lens/dist/{chunk-LBLBAFG3.js → chunk-MC6VB2E5.js} +4 -4
  182. package/node_modules/pi-lens/dist/{chunk-U2SDMG7C.js → chunk-NM2NWH55.js} +5 -5
  183. package/node_modules/pi-lens/dist/{chunk-T7A2HK2B.js → chunk-NSPVR3FN.js} +19 -18
  184. package/node_modules/pi-lens/dist/{chunk-ZGSJDWQU.js → chunk-O2ARHQKF.js} +2 -2
  185. package/node_modules/pi-lens/dist/{chunk-OXOI55RU.js → chunk-O4N5BQ3T.js} +10 -10
  186. package/node_modules/pi-lens/dist/{chunk-3FRLWYBG.js → chunk-OC7VWJBZ.js} +39 -40
  187. package/node_modules/pi-lens/dist/chunk-OFNMHPBT.js +89 -0
  188. package/node_modules/pi-lens/dist/{chunk-HR3OJ3TH.js → chunk-OWTG6UMO.js} +21 -21
  189. package/node_modules/pi-lens/dist/{chunk-75GAYVNO.js → chunk-OY7WZI7Q.js} +6 -6
  190. package/node_modules/pi-lens/dist/{chunk-ZJTT47IG.js → chunk-OZWXLJMX.js} +2 -2
  191. package/node_modules/pi-lens/dist/{chunk-F6X3YJWD.js → chunk-PIQQM32Y.js} +2 -2
  192. package/node_modules/pi-lens/dist/chunk-PKLB2XJL.js +8 -0
  193. package/node_modules/pi-lens/dist/{chunk-EAOK7MIZ.js → chunk-PKSUMEPT.js} +17 -4
  194. package/node_modules/pi-lens/dist/{chunk-YISME6ON.js → chunk-PPKECBPP.js} +1 -1
  195. package/node_modules/pi-lens/dist/{chunk-4L36HG27.js → chunk-R2QQC33W.js} +14 -14
  196. package/node_modules/pi-lens/dist/{chunk-LUBPZN36.js → chunk-R4QWJQ2H.js} +11 -11
  197. package/node_modules/pi-lens/dist/{chunk-V63BC55Q.js → chunk-RGGH6M34.js} +1 -1
  198. package/node_modules/pi-lens/dist/{chunk-Y7F7IEE3.js → chunk-RZG472YW.js} +65 -7
  199. package/node_modules/pi-lens/dist/{chunk-PUZ3E2J4.js → chunk-SDFKOLSF.js} +6 -6
  200. package/node_modules/pi-lens/dist/{chunk-YHC2O2WO.js → chunk-SFLHSL5R.js} +9 -9
  201. package/node_modules/pi-lens/dist/{chunk-CCV2EU7T.js → chunk-SP4TFY5F.js} +14 -13
  202. package/node_modules/pi-lens/dist/{chunk-J6JP25XU.js → chunk-SQC7K3SP.js} +4 -3
  203. package/node_modules/pi-lens/dist/{chunk-3K2F6UDZ.js → chunk-T2S3FNNJ.js} +44 -42
  204. package/node_modules/pi-lens/dist/{chunk-2TF6RXWB.js → chunk-TV6RXRYH.js} +10 -10
  205. package/node_modules/pi-lens/dist/{chunk-GNSIWBAT.js → chunk-U3AS2FR6.js} +3 -3
  206. package/node_modules/pi-lens/dist/{chunk-F7K5IBZG.js → chunk-UHHLR2VY.js} +40 -40
  207. package/node_modules/pi-lens/dist/chunk-UYXV5NIS.js +20 -0
  208. package/node_modules/pi-lens/dist/{chunk-VSFLRN5Y.js → chunk-VLQ7UKZH.js} +1 -1
  209. package/node_modules/pi-lens/dist/{chunk-VUZWQ7UG.js → chunk-VN3L2JWZ.js} +46 -72
  210. package/node_modules/pi-lens/dist/{chunk-NA7SEXHE.js → chunk-VOP4PJKA.js} +7 -7
  211. package/node_modules/pi-lens/dist/{chunk-F5Z6URKM.js → chunk-VOXTCULR.js} +2 -2
  212. package/node_modules/pi-lens/dist/{chunk-LLS45EWB.js → chunk-VPLBLWFO.js} +6 -8
  213. package/node_modules/pi-lens/dist/chunk-W3BGKBBK.js +27 -0
  214. package/node_modules/pi-lens/dist/{chunk-ZKXQKGWZ.js → chunk-WC6WRNQT.js} +4 -3
  215. package/node_modules/pi-lens/dist/{chunk-YVHBNSME.js → chunk-WMDUT4KH.js} +1148 -1132
  216. package/node_modules/pi-lens/dist/{chunk-KXF5R4UN.js → chunk-WQV6BI4Q.js} +1 -1
  217. package/node_modules/pi-lens/dist/chunk-WXUDRAG6.js +24 -0
  218. package/node_modules/pi-lens/dist/{chunk-KPPJTH44.js → chunk-X35S7HSB.js} +28 -10
  219. package/node_modules/pi-lens/dist/{chunk-JMEKXFOL.js → chunk-X66YJ2SS.js} +40 -34
  220. package/node_modules/pi-lens/dist/{chunk-CE6VMBCB.js → chunk-XOMGO63G.js} +22 -21
  221. package/node_modules/pi-lens/dist/{chunk-LS3QJRUB.js → chunk-XWIME22V.js} +13 -13
  222. package/node_modules/pi-lens/dist/{chunk-R5MOQM2H.js → chunk-XYLC35E4.js} +119 -87
  223. package/node_modules/pi-lens/dist/{chunk-OE5ZBP7F.js → chunk-YHGYAEFH.js} +18 -18
  224. package/node_modules/pi-lens/dist/{chunk-7E2563GA.js → chunk-ZFORSIED.js} +13 -13
  225. package/node_modules/pi-lens/dist/{chunk-E7HJ56Y7.js → chunk-ZKLTNLAW.js} +64 -73
  226. package/node_modules/pi-lens/dist/chunk-ZONZ6YY3.js +74 -0
  227. package/node_modules/pi-lens/dist/chunk-ZSM35JF4.js +30 -0
  228. package/node_modules/pi-lens/dist/{chunk-RC2Z6K47.js → chunk-ZZDIOAAJ.js} +15 -6
  229. package/node_modules/pi-lens/dist/index.js +6993 -5396
  230. package/node_modules/pi-lens/dist/mcp/analyze-cli.js +10 -10
  231. package/node_modules/pi-lens/dist/mcp/cli.js +44 -42
  232. package/node_modules/pi-lens/dist/mcp/server.js +1627 -504
  233. package/node_modules/pi-lens/dist/mcp/worker.js +62 -61
  234. package/node_modules/pi-lens/dist/probes/installer.js +20 -19
  235. package/node_modules/pi-lens/docs/adr/0003-git-guard-latch-writer.md +11 -6
  236. package/node_modules/pi-lens/docs/agent-tools.md +18 -8
  237. package/node_modules/pi-lens/docs/alignment-families.md +29 -0
  238. package/node_modules/pi-lens/docs/ast-grep_rules_catalog.md +6 -4
  239. package/node_modules/pi-lens/docs/ci-bot-pr-checks.md +126 -0
  240. package/node_modules/pi-lens/docs/configuration.md +99 -3
  241. package/node_modules/pi-lens/docs/defect-shapes.md +55 -12
  242. package/node_modules/pi-lens/docs/engineering-principles.md +27 -2
  243. package/node_modules/pi-lens/docs/features.md +2 -2
  244. package/node_modules/pi-lens/docs/invariants/git-guard-host.md +7 -3
  245. package/node_modules/pi-lens/docs/invariants/language-config.md +15 -4
  246. package/node_modules/pi-lens/docs/invariants/lsp-trust-exec.md +16 -2
  247. package/node_modules/pi-lens/docs/invariants/paths-os.md +4 -2
  248. package/node_modules/pi-lens/docs/lsp-capability-matrix.md +119 -39
  249. package/node_modules/pi-lens/docs/merge-queue-rollout.md +1 -1
  250. package/node_modules/pi-lens/docs/pi-lens-fixer.md +24 -17
  251. package/node_modules/pi-lens/docs/pi-lens-merge-policy.md +20 -11
  252. package/node_modules/pi-lens/docs/pi-lens-monitor.md +9 -0
  253. package/node_modules/pi-lens/docs/pi-lens-orchestration.md +4 -1
  254. package/node_modules/pi-lens/docs/pi-lens-reviewer.md +5 -5
  255. package/node_modules/pi-lens/docs/pi-lens-subagent.md +6 -3
  256. package/node_modules/pi-lens/docs/public-api-stability.md +18 -2
  257. package/node_modules/pi-lens/docs/schema/pi-lens-config-v1.json +10 -0
  258. package/node_modules/pi-lens/docs/settings.md +10 -6
  259. package/node_modules/pi-lens/docs/word-index.md +17 -5
  260. package/node_modules/pi-lens/package.json +5 -3
  261. package/node_modules/pi-lens/rules/ast-grep-rules/rule-tests/no-accumulating-spread-js-test.yml +37 -0
  262. package/node_modules/pi-lens/rules/ast-grep-rules/rule-tests/ts-redundant-filter-map-test.yml +12 -1
  263. package/node_modules/pi-lens/rules/ast-grep-rules/rule-tests-disabled/filter-then-map-js-test.yml +12 -0
  264. package/node_modules/pi-lens/rules/ast-grep-rules/rule-tests-disabled/filter-then-map-test.yml +25 -0
  265. package/node_modules/pi-lens/rules/ast-grep-rules/rules/no-accumulating-spread-js.yml +49 -1
  266. package/node_modules/pi-lens/rules/ast-grep-rules/rules/ts-redundant-filter-map.yml +9 -1
  267. package/node_modules/pi-lens/rules/ast-grep-rules/rules-disabled/filter-then-map-js.yml +17 -0
  268. package/node_modules/pi-lens/rules/ast-grep-rules/rules-disabled/filter-then-map.yml +36 -0
  269. package/node_modules/pi-lens/rules/ast-grep-rules/self-scan-baseline.json +1 -1
  270. package/node_modules/pi-provider-qoder/README.md +22 -0
  271. package/node_modules/pi-provider-qoder/dist/index.js +375 -12
  272. package/node_modules/pi-provider-qoder/package.json +5 -2
  273. package/package.json +17 -13
  274. package/node_modules/@tifan/pi-preferred-thinking/README.md +0 -54
  275. package/node_modules/@tifan/pi-preferred-thinking/package.json +0 -43
  276. package/node_modules/@tifan/pi-preferred-thinking/src/index.ts +0 -236
  277. package/node_modules/pi-lens/dist/chunk-46TNM7XZ.js +0 -88
  278. package/node_modules/pi-lens/dist/chunk-72OKUXSD.js +0 -31
  279. package/node_modules/pi-lens/dist/chunk-7GLOLOSH.js +0 -57
  280. package/node_modules/pi-lens/dist/chunk-AKUUMGD5.js +0 -26
  281. package/node_modules/pi-lens/dist/chunk-ASUXV767.js +0 -22
  282. package/node_modules/pi-lens/dist/chunk-CTADOKYM.js +0 -25
  283. package/node_modules/pi-lens/dist/chunk-JJ2RRESP.js +0 -58
  284. package/node_modules/pi-lens/dist/chunk-LSC3VADM.js +0 -23
  285. package/node_modules/pi-lens/dist/chunk-SHLDT3OI.js +0 -27
  286. package/node_modules/pi-lens/dist/chunk-UF7RTZSO.js +0 -27
  287. package/node_modules/pi-lens/dist/chunk-W4WP2ERB.js +0 -30
  288. package/node_modules/pi-lens/dist/chunk-YES5CACN.js +0 -73
@@ -13,6 +13,8 @@ export const FOOTER_CONTEXT_KEY = "context";
13
13
  export const FOOTER_CACHE_KEY = "cache";
14
14
  export const FOOTER_RATE_KEY = "rate";
15
15
  export const FOOTER_COST_KEY = "cost";
16
+ /** 本次对话累计消耗 token(累加会话条目的 usage.totalTokens)。 */
17
+ export const FOOTER_TOKENS_KEY = "tokens";
16
18
  export const FOOTER_CWD_KEY = "cwd";
17
19
  export const FOOTER_GIT_KEY = "git";
18
20
 
@@ -23,6 +25,7 @@ export const DEFAULT_FOOTER_LINE1_KEYS = [
23
25
  FOOTER_CACHE_KEY,
24
26
  FOOTER_RATE_KEY,
25
27
  FOOTER_COST_KEY,
28
+ FOOTER_TOKENS_KEY,
26
29
  PI_USAGE_KEY,
27
30
  ] as const;
28
31
 
@@ -40,7 +43,18 @@ const LEGACY_FIXED_FOOTER_KEYS = [
40
43
  FOOTER_GIT_KEY,
41
44
  ] as const;
42
45
 
43
- const BUILTIN_FOOTER_KEYS = new Set<string>(LEGACY_FIXED_FOOTER_KEYS);
46
+ /**
47
+ * 后加的内置芯片:老配置里不会出现,读取时补到默认行上 `after` 那个芯片后面。
48
+ * 与 LEGACY_FIXED_FOOTER_KEYS 分开,旧配置的「只排插件芯片」迁移判断才不会误判。
49
+ */
50
+ const ADDED_FOOTER_KEYS: ReadonlyArray<{ key: string; after: string }> = [
51
+ { key: FOOTER_TOKENS_KEY, after: FOOTER_COST_KEY },
52
+ ];
53
+
54
+ const BUILTIN_FOOTER_KEYS = new Set<string>([
55
+ ...LEGACY_FIXED_FOOTER_KEYS,
56
+ ...ADDED_FOOTER_KEYS.map((item) => item.key),
57
+ ]);
44
58
 
45
59
  export function isBuiltinFooterKey(key: string): boolean {
46
60
  return BUILTIN_FOOTER_KEYS.has(key);
@@ -62,9 +76,12 @@ export const DEFAULT_FOOTER_CHIP_LAYOUT: FooterChipLayout = {
62
76
  footerLine3Keys: [],
63
77
  };
64
78
 
65
- /** 别的扩展写的 model 状态与本扩展的模型芯片重名,不当插件芯片接纳。配置里的 model 不受影响。 */
79
+ /**
80
+ * 别的扩展写的 model / tokens 状态与本扩展的内置芯片重名,不当插件芯片接纳。
81
+ * 配置里的同名内置 key 不受影响。
82
+ */
66
83
  export function isSkippedFooterStatusKey(key: string): boolean {
67
- return key === FOOTER_MODEL_KEY;
84
+ return key === FOOTER_MODEL_KEY || key === FOOTER_TOKENS_KEY;
68
85
  }
69
86
 
70
87
  /** 未单独配置时的默认行:内置项按原来的行,usage 类在 line1,其余 line2。不会默认进 line3。 */
@@ -113,7 +130,10 @@ function ensureBuiltinKeys(
113
130
  if (LEGACY_FIXED_FOOTER_KEYS.some((key) => seen.has(key))) {
114
131
  return { footerLine1Keys: line1, footerLine2Keys: line2, footerLine3Keys: line3 };
115
132
  }
116
- const line1Builtins = DEFAULT_FOOTER_LINE1_KEYS.filter((key) => key !== PI_USAGE_KEY);
133
+ // tokens 属于后加芯片,由 ensureAddedBuiltins 负责插入。
134
+ const line1Builtins = DEFAULT_FOOTER_LINE1_KEYS.filter(
135
+ (key) => key !== PI_USAGE_KEY && key !== FOOTER_TOKENS_KEY,
136
+ );
117
137
  const usageAt = line1.indexOf(PI_USAGE_KEY);
118
138
  const footerLine1Keys =
119
139
  usageAt >= 0
@@ -126,6 +146,33 @@ function ensureBuiltinKeys(
126
146
  };
127
147
  }
128
148
 
149
+ function ensureAddedBuiltins(layout: FooterChipLayout): FooterChipLayout {
150
+ const present = new Set([
151
+ ...layout.footerLine1Keys,
152
+ ...layout.footerLine2Keys,
153
+ ...layout.footerLine3Keys,
154
+ ...layout.footerHiddenKeys,
155
+ ]);
156
+ const missing = ADDED_FOOTER_KEYS.filter((item) => !present.has(item.key));
157
+ if (missing.length === 0) return layout;
158
+ const next: FooterChipLayout = {
159
+ ...layout,
160
+ footerLine1Keys: [...layout.footerLine1Keys],
161
+ footerLine2Keys: [...layout.footerLine2Keys],
162
+ footerLine3Keys: [...layout.footerLine3Keys],
163
+ };
164
+ for (const item of missing) {
165
+ // 贴着锚点芯片所在的行放(如 tokens 跟 cost)。
166
+ const line = footerLineOfKey(next, item.after) ?? defaultFooterLine(item.key);
167
+ const keys = keysOnLine(next, line);
168
+ const anchorAt = keys.indexOf(item.after);
169
+ // 锚点被用户删掉时接到该行末尾:芯片留在布局里,面板菜单与开关才管得到。
170
+ // 默认关闭,不渲染就不占位,多出来的 key 不会让底栏多一行。
171
+ keys.splice(anchorAt >= 0 ? anchorAt + 1 : keys.length, 0, item.key);
172
+ }
173
+ return next;
174
+ }
175
+
129
176
  /** 跨行去重(line1 → line2 → line3);旧配置补上内置芯片。 */
130
177
  export function normalizeFooterChipLayout(source: Record<string, unknown>): FooterChipLayout {
131
178
  const hasHidden = Array.isArray(source.footerHiddenKeys);
@@ -144,10 +191,10 @@ export function normalizeFooterChipLayout(source: Record<string, unknown>): Foot
144
191
  const line1 = takeUnique(normalizeFooterKeyList(source.footerLine1Keys), seen);
145
192
  const line2 = takeUnique(normalizeFooterKeyList(source.footerLine2Keys), seen);
146
193
  const line3 = takeUnique(normalizeFooterKeyList(source.footerLine3Keys), seen);
147
- return {
194
+ return ensureAddedBuiltins({
148
195
  footerHiddenKeys: normalizeFooterKeyList(source.footerHiddenKeys),
149
196
  ...ensureBuiltinKeys(line1, line2, line3),
150
- };
197
+ });
151
198
  }
152
199
 
153
200
  const BUILTIN_FOOTER_LABEL: Record<string, string> = {
@@ -156,6 +203,7 @@ const BUILTIN_FOOTER_LABEL: Record<string, string> = {
156
203
  [FOOTER_CACHE_KEY]: "Cache hit rate",
157
204
  [FOOTER_RATE_KEY]: "Output rate",
158
205
  [FOOTER_COST_KEY]: "Session cost",
206
+ [FOOTER_TOKENS_KEY]: "Tokens used in this conversation",
159
207
  [FOOTER_CWD_KEY]: "Working directory and session name",
160
208
  [FOOTER_GIT_KEY]: "Branch and change stats",
161
209
  };
@@ -4,7 +4,7 @@
4
4
  * 默认第一行:model thinking · ██████░░░░ 45%/200k · 󰆼 42% · $0.01 · pi-usage · 其余 line1 芯片
5
5
  * 默认第二行:cwd in session ·  branch (+16 −1) · 其余 line2 芯片
6
6
  * 第三行:仅当 line3 有可见芯片时出现
7
- * model / context / cache / rate / cost / cwd / git 与插件芯片同一套排布,可换行、调序、隐藏
7
+ * model / context / cache / rate / cost / tokens / cwd / git 与插件芯片同一套排布,可换行、调序、隐藏
8
8
  *
9
9
  * - line1 短芯片,· 分隔;缓存用 zentui 󰆼,费用 success
10
10
  * - line2 用 zentui 句式 in / on + 
@@ -31,6 +31,7 @@ import {
31
31
  FOOTER_GIT_KEY,
32
32
  FOOTER_MODEL_KEY,
33
33
  FOOTER_RATE_KEY,
34
+ FOOTER_TOKENS_KEY,
34
35
  PI_USAGE_KEY,
35
36
  isBuiltinFooterKey,
36
37
  isSkippedFooterStatusKey,
@@ -39,6 +40,7 @@ import {
39
40
  type FooterChipLayout,
40
41
  } from "./footer-layout.ts";
41
42
  import { createGitStatsRefresher, readGitStats, type GitStats } from "./git-stats.ts";
43
+ import { formatSessionTokenTotal, sessionEntryTokens } from "./session-tokens.ts";
42
44
  import { MCP_STATUS_KEY, buildMcpChip } from "./mcp-chip.ts";
43
45
  import { inputTextIndent } from "./prompt-editor.ts";
44
46
  import { currentTtftMs, displayTokenRate, formatTokenRate } from "./token-rate.ts";
@@ -391,7 +393,12 @@ const createCustomFooterFactory =
391
393
  let statsMemoKey = "";
392
394
  let statsMemoAt = 0;
393
395
  let statsMemo:
394
- | { contextUsage: ReturnType<typeof ctx.getContextUsage>; cost: number; cachePct: number }
396
+ | {
397
+ contextUsage: ReturnType<typeof ctx.getContextUsage>;
398
+ cost: number;
399
+ tokens: number;
400
+ cachePct: number;
401
+ }
395
402
  | undefined;
396
403
  const sessionStats = () => {
397
404
  const model = ctx.model;
@@ -404,19 +411,28 @@ const createCustomFooterFactory =
404
411
  return statsMemo;
405
412
  }
406
413
  let cost = 0;
414
+ let tokens = 0;
407
415
  for (const entry of ctx.sessionManager.getEntries()) {
408
416
  if (entry.type === "message") {
409
417
  const m = entry.message;
410
418
  if (m.role === "assistant") cost += m.usage?.cost?.total || 0;
411
419
  else if (m.role === "toolResult" && m.usage) cost += m.usage.cost?.total || 0;
412
420
  } else if (
413
- (entry.type === "branch_summary" || entry.type === "compaction") &&
421
+ (entry.type === "branch_summary" ||
422
+ entry.type === "compaction" ||
423
+ entry.type === "usage") &&
414
424
  entry.usage
415
425
  ) {
416
426
  cost += entry.usage.cost?.total || 0;
417
427
  }
428
+ tokens += sessionEntryTokens(entry);
418
429
  }
419
- statsMemo = { contextUsage: ctx.getContextUsage(), cost, cachePct: getCachePct() };
430
+ statsMemo = {
431
+ contextUsage: ctx.getContextUsage(),
432
+ cost,
433
+ tokens,
434
+ cachePct: getCachePct(),
435
+ };
420
436
  statsMemoKey = key;
421
437
  statsMemoAt = performance.now();
422
438
  return statsMemo;
@@ -424,7 +440,7 @@ const createCustomFooterFactory =
424
440
 
425
441
  const render = (width: number): string[] => {
426
442
  const model = ctx.model;
427
- const { contextUsage, cost, cachePct } = sessionStats();
443
+ const { contextUsage, cost, tokens, cachePct } = sessionStats();
428
444
  const contextWindow = contextUsage?.contextWindow ?? model?.contextWindow ?? 0;
429
445
  const percent = contextUsage?.percent;
430
446
 
@@ -471,6 +487,7 @@ const createCustomFooterFactory =
471
487
  const costChip = costLabel
472
488
  ? theme.fg("dim", costLabel) + (usingSubscription ? theme.fg("warning", " sub") : "")
473
489
  : "";
490
+ const tokensLabel = config.footerSessionTokens ? formatSessionTokenTotal(tokens) : "";
474
491
 
475
492
  const gitColor = theme.getThinkingBorderColor("medium");
476
493
  let place = theme.fg("accent", cwdLabel);
@@ -508,6 +525,7 @@ const createCustomFooterFactory =
508
525
  [FOOTER_CACHE_KEY, cacheLabel ? theme.fg("dim", cacheLabel) : ""],
509
526
  [FOOTER_RATE_KEY, rateLabel ? theme.fg("dim", rateLabel) : ""],
510
527
  [FOOTER_COST_KEY, costChip],
528
+ [FOOTER_TOKENS_KEY, tokensLabel ? theme.fg("dim", tokensLabel) : ""],
511
529
  [FOOTER_CWD_KEY, place],
512
530
  [FOOTER_GIT_KEY, gitChip],
513
531
  ]);
@@ -0,0 +1,52 @@
1
+ /**
2
+ * footer 的会话累计 token:统计 `sessionManager.getEntries()` 里每条条目的 usage。
3
+ *
4
+ * 口径是 `usage.totalTokens` 累加(输入 + 输出 + 缓存读 + 缓存写),
5
+ * 覆盖 assistant / toolResult 消息,以及 compaction、branch_summary 与 `usage` 条目
6
+ * 自己那次 LLM 调用的开销。整个会话全量累加,不沿当前分支裁剪:
7
+ * 回退/重发放弃的节点也算进「这次对话烧掉了多少 token」。
8
+ */
9
+
10
+ import { formatTokenCount } from "../../utils/format.ts";
11
+
12
+ type UnknownRecord = Record<string, unknown>;
13
+
14
+ function asRecord(value: unknown): UnknownRecord | undefined {
15
+ return value && typeof value === "object" ? (value as UnknownRecord) : undefined;
16
+ }
17
+
18
+ /** `usage.totalTokens` 优先;缺失时用四项相加,非数字一律忽略。 */
19
+ export function usageTokenTotal(usage: unknown): number {
20
+ const record = asRecord(usage);
21
+ if (!record) return 0;
22
+ const total = record.totalTokens;
23
+ if (typeof total === "number" && Number.isFinite(total) && total > 0) return total;
24
+ let sum = 0;
25
+ for (const key of ["input", "output", "cacheRead", "cacheWrite"] as const) {
26
+ const part = record[key];
27
+ if (typeof part === "number" && Number.isFinite(part) && part > 0) sum += part;
28
+ }
29
+ return sum;
30
+ }
31
+
32
+ /** 一条会话条目贡献的 token;user/system/自定义条目不消费 LLM token,返回 0。 */
33
+ export function sessionEntryTokens(entry: unknown): number {
34
+ const record = asRecord(entry);
35
+ if (!record) return 0;
36
+ if (record.type === "message") {
37
+ const message = asRecord(record.message);
38
+ if (!message) return 0;
39
+ if (message.role !== "assistant" && message.role !== "toolResult") return 0;
40
+ return usageTokenTotal(message.usage);
41
+ }
42
+ if (record.type === "compaction" || record.type === "branch_summary" || record.type === "usage") {
43
+ return usageTokenTotal(record.usage);
44
+ }
45
+ return 0;
46
+ }
47
+
48
+ /** 芯片文案:`∑ 402k`;没有数据返回空串(不占位置)。 */
49
+ export function formatSessionTokenTotal(total: number): string {
50
+ if (!Number.isFinite(total) || total <= 0) return "";
51
+ return `∑ ${formatTokenCount(Math.round(total))}`;
52
+ }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@herbertgao/pi-cc-extensions",
3
- "version": "1.0.12-local.1",
3
+ "version": "1.0.13-local.1",
4
4
  "license": "MIT",
5
5
  "description": "A Pi productivity suite with Claude Code-style UI, context inspection, and agent/session references",
6
6
  "type": "module",
@@ -26,6 +26,7 @@
26
26
  "themes",
27
27
  "README.md",
28
28
  "README.en.md",
29
+ "CHANGELOG.md",
29
30
  "LICENSE"
30
31
  ],
31
32
  "pi": {
@@ -71,10 +72,10 @@
71
72
  },
72
73
  "x-upstream": {
73
74
  "package": "pi-cc-extensions",
74
- "version": "1.0.12",
75
- "reviewedVersion": "1.0.12",
75
+ "version": "1.0.13",
76
+ "reviewedVersion": "1.0.13",
76
77
  "repository": "https://github.com/minuque/pi-cc-extensions",
77
- "commit": "90957cd445403bc493e8aaee2231e1932ac26d46",
78
+ "commit": "2ee840f0049be01e352a86f96a6c6e8be9f74670",
78
79
  "trackVersion": true
79
80
  }
80
81
  }
@@ -0,0 +1,13 @@
1
+ # @herbertgao/pi-impeccable
2
+
3
+ ## 0.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#346](https://github.com/HerbertGao/pi-extensions/pull/346) [`641894f`](https://github.com/HerbertGao/pi-extensions/commit/641894ff5dc34a38ab41905f27a3077cc865ab91) Thanks [@HerbertGao](https://github.com/HerbertGao)! - Document Pi 1.5.0 as the tested host and publish each package changelog so Pi can show Extension Updates after an update. Agency tools and clef keep the same TypeBox schemas, built from typebox because Pi 1.5 no longer re-exports Type. Peer ranges stay open. The BTW fullscreen handoff resolves `@narumitw/pi-tui-kit@0.68.1` inside the existing `^0.68.0` range.
8
+
9
+ ## 0.1.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [#331](https://github.com/HerbertGao/pi-extensions/pull/331) [`12c8680`](https://github.com/HerbertGao/pi-extensions/commit/12c86808bf7084d4fab6f90d6bac17a2531585ce) Thanks [@HerbertGao](https://github.com/HerbertGao)! - Vendor the official Impeccable 4.8.0 Pi skill as `@herbertgao/pi-impeccable` and include it in the aggregate package.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@herbertgao/pi-impeccable",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "The Impeccable design skill for Pi, vendored from the official release.",
5
5
  "keywords": [
6
6
  "design",
@@ -27,6 +27,7 @@
27
27
  "files": [
28
28
  "skills",
29
29
  "README.md",
30
+ "CHANGELOG.md",
30
31
  "LICENSE",
31
32
  "NOTICE.md"
32
33
  ],
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.22.1-local.1
4
+
5
+ ### Minor Changes
6
+
7
+ - [#344](https://github.com/HerbertGao/pi-extensions/pull/344) [`1feb356`](https://github.com/HerbertGao/pi-extensions/commit/1feb356ae779427d033499d4e922579ec8247619) Thanks [@HerbertGao](https://github.com/HerbertGao)! - Replay subagents onto upstream 0.22.1. Other extensions can steer a running agent over `subagents:rpc:steer`, and every agent reports per-message `subagents:usage` until `subagents:disposed`. A resumed run gets a fresh turn budget, a subagent inherits the parent session's thinking level, and an append-mode agent no longer repeats the parent's skills and working directory. Unconsumed results and a failed worktree cleanup still stay recoverable.
8
+
3
9
  ## 0.22.0-local.2
4
10
 
5
11
  ### Patch Changes