@herbertgao/pi-extensions 2026.9.17 → 2026.9.19

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 (307) hide show
  1. package/README.md +31 -33
  2. package/THIRD_PARTY_NOTICES.md +1 -1
  3. package/node_modules/@herbertgao/pi-bark/package.json +2 -2
  4. package/node_modules/@herbertgao/pi-cc-extensions/README.en.md +4 -1
  5. package/node_modules/@herbertgao/pi-cc-extensions/README.md +4 -1
  6. package/node_modules/@herbertgao/pi-cc-extensions/extensions/feature/shell/working-message.ts +21 -6
  7. package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/index.ts +15 -4
  8. package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/tool/diff/index.ts +43 -7
  9. package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/tool/grouping.ts +7 -2
  10. package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/tool/result.ts +1 -1
  11. package/node_modules/@herbertgao/pi-cc-extensions/package.json +75 -75
  12. package/node_modules/@herbertgao/pi-subagents/CHANGELOG.md +6 -0
  13. package/node_modules/@herbertgao/pi-subagents/package.json +7 -7
  14. package/node_modules/@herbertgao/resume-from/package.json +4 -2
  15. package/node_modules/@herbertgao/sol-pi/package.json +6 -6
  16. package/node_modules/@juicesharp/rpiv-ask-user-question/package.json +99 -99
  17. package/node_modules/@pi-plugins/fast-mode/package.json +1 -1
  18. package/node_modules/@tifan/pi-handoff/package.json +1 -1
  19. package/node_modules/@tifan/pi-handoff/src/index.ts +56 -26
  20. package/node_modules/@tifan/pi-mermaid-open/package.json +1 -1
  21. package/node_modules/@tifan/pi-preferred-thinking/package.json +1 -1
  22. package/node_modules/@tifan/pi-recap/package.json +1 -1
  23. package/node_modules/@tifan/pi-rename/package.json +1 -1
  24. package/node_modules/pi-antigravity/README.md +29 -6
  25. package/node_modules/pi-antigravity/package.json +14 -9
  26. package/node_modules/pi-antigravity/src/auth/accounts.ts +327 -0
  27. package/node_modules/pi-antigravity/src/auth/index.ts +9 -0
  28. package/node_modules/pi-antigravity/src/client/client.ts +1 -1
  29. package/node_modules/pi-antigravity/src/image/image.ts +4 -4
  30. package/node_modules/pi-antigravity/src/index.ts +203 -13
  31. package/node_modules/pi-antigravity/src/search/index.ts +1 -0
  32. package/node_modules/pi-antigravity/src/search/search.ts +325 -0
  33. package/node_modules/pi-antigravity/src/stream/stream.ts +191 -14
  34. package/node_modules/pi-antigravity/src/types/enums.ts +45 -36
  35. package/node_modules/pi-antigravity/src/types/types.ts +5 -12
  36. package/node_modules/pi-antigravity/src/utils/http.ts +7 -2
  37. package/node_modules/pi-antigravity/src/utils/util.ts +31 -3
  38. package/node_modules/pi-lens/package.json +158 -158
  39. package/node_modules/pi-multi-account/package.json +2 -2
  40. package/node_modules/pi-typesafe/README.md +3 -1
  41. package/node_modules/pi-typesafe/dist/auth.d.ts +9 -5
  42. package/node_modules/pi-typesafe/dist/auth.js +7 -3
  43. package/node_modules/pi-typesafe/dist/backends.d.ts +33 -3
  44. package/node_modules/pi-typesafe/dist/backends.js +95 -1
  45. package/node_modules/pi-typesafe/dist/client.d.ts +5 -5
  46. package/node_modules/pi-typesafe/dist/client.js +12 -9
  47. package/node_modules/pi-typesafe/dist/credentials.d.ts +14 -8
  48. package/node_modules/pi-typesafe/dist/credentials.js +10 -7
  49. package/node_modules/pi-typesafe/dist/errors.d.ts +2 -2
  50. package/node_modules/pi-typesafe/dist/index.d.ts +2 -2
  51. package/node_modules/pi-typesafe/dist/index.js +1 -1
  52. package/node_modules/pi-typesafe/dist/login.d.ts +2 -2
  53. package/node_modules/pi-typesafe/dist/login.js +2 -2
  54. package/node_modules/pi-typesafe/package.json +6 -5
  55. package/node_modules/pi-web-access/CHANGELOG.md +72 -0
  56. package/node_modules/pi-web-access/README.md +34 -13
  57. package/node_modules/pi-web-access/chrome-cookies.ts +79 -25
  58. package/node_modules/pi-web-access/curator-page.ts +5 -1
  59. package/node_modules/pi-web-access/curator-server.ts +2 -0
  60. package/node_modules/pi-web-access/dist/index.js +1337 -1009
  61. package/node_modules/pi-web-access/exa.ts +20 -52
  62. package/node_modules/pi-web-access/extract.ts +41 -4
  63. package/node_modules/pi-web-access/gemini-search.ts +12 -4
  64. package/node_modules/pi-web-access/index.ts +29 -37
  65. package/node_modules/pi-web-access/openai-search.ts +35 -7
  66. package/node_modules/pi-web-access/package.json +8 -7
  67. package/node_modules/pi-web-access/page-query.ts +2 -2
  68. package/node_modules/pi-web-access/query-rewrite.ts +2 -3
  69. package/node_modules/pi-web-access/ssrf-protection.ts +27 -10
  70. package/node_modules/pi-web-access/storage.ts +48 -77
  71. package/node_modules/pi-web-access/summary-model-scope.ts +6 -77
  72. package/node_modules/pi-web-access/summary-review.ts +3 -4
  73. package/node_modules/pi-web-access/tavily.ts +67 -20
  74. package/node_modules/pi-web-access/tool-activation.ts +53 -33
  75. package/node_modules/pi-web-access/utils.ts +1 -1
  76. package/node_modules/pi-web-access/you.ts +164 -0
  77. package/node_modules/pi-web-access/zai.ts +161 -0
  78. package/node_modules/remote-pi/package.json +5 -1
  79. package/package.json +19 -31
  80. package/node_modules/pi-mcp-adapter/CHANGELOG.md +0 -1013
  81. package/node_modules/pi-mcp-adapter/LICENSE +0 -21
  82. package/node_modules/pi-mcp-adapter/OAUTH.md +0 -369
  83. package/node_modules/pi-mcp-adapter/README.md +0 -1021
  84. package/node_modules/pi-mcp-adapter/abort.ts +0 -34
  85. package/node_modules/pi-mcp-adapter/agent-dir.ts +0 -68
  86. package/node_modules/pi-mcp-adapter/agent-plugin-loader.ts +0 -416
  87. package/node_modules/pi-mcp-adapter/agent-plugin-provenance.ts +0 -36
  88. package/node_modules/pi-mcp-adapter/app-bridge.bundle.js +0 -67
  89. package/node_modules/pi-mcp-adapter/banner.png +0 -0
  90. package/node_modules/pi-mcp-adapter/bearer-command-resolver.ts +0 -193
  91. package/node_modules/pi-mcp-adapter/claude-plugin-loader.ts +0 -365
  92. package/node_modules/pi-mcp-adapter/cli.js +0 -454
  93. package/node_modules/pi-mcp-adapter/commands.ts +0 -861
  94. package/node_modules/pi-mcp-adapter/config.ts +0 -1565
  95. package/node_modules/pi-mcp-adapter/consent-manager.ts +0 -95
  96. package/node_modules/pi-mcp-adapter/direct-tool-surface.ts +0 -244
  97. package/node_modules/pi-mcp-adapter/direct-tools.ts +0 -428
  98. package/node_modules/pi-mcp-adapter/dist/abort.d.ts +0 -2
  99. package/node_modules/pi-mcp-adapter/dist/abort.js +0 -36
  100. package/node_modules/pi-mcp-adapter/dist/abort.js.map +0 -1
  101. package/node_modules/pi-mcp-adapter/dist/agent-dir.d.ts +0 -10
  102. package/node_modules/pi-mcp-adapter/dist/agent-dir.js +0 -63
  103. package/node_modules/pi-mcp-adapter/dist/agent-dir.js.map +0 -1
  104. package/node_modules/pi-mcp-adapter/dist/agent-plugin-loader.d.ts +0 -8
  105. package/node_modules/pi-mcp-adapter/dist/agent-plugin-loader.js +0 -398
  106. package/node_modules/pi-mcp-adapter/dist/agent-plugin-loader.js.map +0 -1
  107. package/node_modules/pi-mcp-adapter/dist/agent-plugin-provenance.d.ts +0 -1
  108. package/node_modules/pi-mcp-adapter/dist/agent-plugin-provenance.js +0 -31
  109. package/node_modules/pi-mcp-adapter/dist/agent-plugin-provenance.js.map +0 -1
  110. package/node_modules/pi-mcp-adapter/dist/bearer-command-resolver.d.ts +0 -6
  111. package/node_modules/pi-mcp-adapter/dist/bearer-command-resolver.js +0 -194
  112. package/node_modules/pi-mcp-adapter/dist/bearer-command-resolver.js.map +0 -1
  113. package/node_modules/pi-mcp-adapter/dist/claude-plugin-loader.d.ts +0 -9
  114. package/node_modules/pi-mcp-adapter/dist/claude-plugin-loader.js +0 -362
  115. package/node_modules/pi-mcp-adapter/dist/claude-plugin-loader.js.map +0 -1
  116. package/node_modules/pi-mcp-adapter/dist/config.d.ts +0 -134
  117. package/node_modules/pi-mcp-adapter/dist/config.js +0 -1361
  118. package/node_modules/pi-mcp-adapter/dist/config.js.map +0 -1
  119. package/node_modules/pi-mcp-adapter/dist/consent-manager.d.ts +0 -18
  120. package/node_modules/pi-mcp-adapter/dist/consent-manager.js +0 -88
  121. package/node_modules/pi-mcp-adapter/dist/consent-manager.js.map +0 -1
  122. package/node_modules/pi-mcp-adapter/dist/elicitation-handler.d.ts +0 -17
  123. package/node_modules/pi-mcp-adapter/dist/elicitation-handler.js +0 -316
  124. package/node_modules/pi-mcp-adapter/dist/elicitation-handler.js.map +0 -1
  125. package/node_modules/pi-mcp-adapter/dist/errors.d.ts +0 -131
  126. package/node_modules/pi-mcp-adapter/dist/errors.js +0 -278
  127. package/node_modules/pi-mcp-adapter/dist/errors.js.map +0 -1
  128. package/node_modules/pi-mcp-adapter/dist/http-ca.d.ts +0 -8
  129. package/node_modules/pi-mcp-adapter/dist/http-ca.js +0 -88
  130. package/node_modules/pi-mcp-adapter/dist/http-ca.js.map +0 -1
  131. package/node_modules/pi-mcp-adapter/dist/jev-client.d.ts +0 -14
  132. package/node_modules/pi-mcp-adapter/dist/jev-client.js +0 -367
  133. package/node_modules/pi-mcp-adapter/dist/jev-client.js.map +0 -1
  134. package/node_modules/pi-mcp-adapter/dist/jev-contracts.d.ts +0 -77
  135. package/node_modules/pi-mcp-adapter/dist/jev-contracts.js +0 -2
  136. package/node_modules/pi-mcp-adapter/dist/jev-contracts.js.map +0 -1
  137. package/node_modules/pi-mcp-adapter/dist/jev-key-store.d.ts +0 -51
  138. package/node_modules/pi-mcp-adapter/dist/jev-key-store.js +0 -205
  139. package/node_modules/pi-mcp-adapter/dist/jev-key-store.js.map +0 -1
  140. package/node_modules/pi-mcp-adapter/dist/json-schema-validator.d.ts +0 -2
  141. package/node_modules/pi-mcp-adapter/dist/json-schema-validator.js +0 -68
  142. package/node_modules/pi-mcp-adapter/dist/json-schema-validator.js.map +0 -1
  143. package/node_modules/pi-mcp-adapter/dist/lifecycle.d.ts +0 -56
  144. package/node_modules/pi-mcp-adapter/dist/lifecycle.js +0 -410
  145. package/node_modules/pi-mcp-adapter/dist/lifecycle.js.map +0 -1
  146. package/node_modules/pi-mcp-adapter/dist/logger.d.ts +0 -51
  147. package/node_modules/pi-mcp-adapter/dist/logger.js +0 -131
  148. package/node_modules/pi-mcp-adapter/dist/logger.js.map +0 -1
  149. package/node_modules/pi-mcp-adapter/dist/mcp-auth-fetch.d.ts +0 -26
  150. package/node_modules/pi-mcp-adapter/dist/mcp-auth-fetch.js +0 -103
  151. package/node_modules/pi-mcp-adapter/dist/mcp-auth-fetch.js.map +0 -1
  152. package/node_modules/pi-mcp-adapter/dist/mcp-auth-flow.d.ts +0 -118
  153. package/node_modules/pi-mcp-adapter/dist/mcp-auth-flow.js +0 -1097
  154. package/node_modules/pi-mcp-adapter/dist/mcp-auth-flow.js.map +0 -1
  155. package/node_modules/pi-mcp-adapter/dist/mcp-auth.d.ts +0 -170
  156. package/node_modules/pi-mcp-adapter/dist/mcp-auth.js +0 -1142
  157. package/node_modules/pi-mcp-adapter/dist/mcp-auth.js.map +0 -1
  158. package/node_modules/pi-mcp-adapter/dist/mcp-bearer-store.d.ts +0 -24
  159. package/node_modules/pi-mcp-adapter/dist/mcp-bearer-store.js +0 -203
  160. package/node_modules/pi-mcp-adapter/dist/mcp-bearer-store.js.map +0 -1
  161. package/node_modules/pi-mcp-adapter/dist/mcp-callback-server.d.ts +0 -53
  162. package/node_modules/pi-mcp-adapter/dist/mcp-callback-server.js +0 -441
  163. package/node_modules/pi-mcp-adapter/dist/mcp-callback-server.js.map +0 -1
  164. package/node_modules/pi-mcp-adapter/dist/mcp-oauth-provider.d.ts +0 -148
  165. package/node_modules/pi-mcp-adapter/dist/mcp-oauth-provider.js +0 -689
  166. package/node_modules/pi-mcp-adapter/dist/mcp-oauth-provider.js.map +0 -1
  167. package/node_modules/pi-mcp-adapter/dist/mcp-probe.d.ts +0 -6
  168. package/node_modules/pi-mcp-adapter/dist/mcp-probe.js +0 -166
  169. package/node_modules/pi-mcp-adapter/dist/mcp-probe.js.map +0 -1
  170. package/node_modules/pi-mcp-adapter/dist/mcp-tasks.d.ts +0 -102
  171. package/node_modules/pi-mcp-adapter/dist/mcp-tasks.js +0 -369
  172. package/node_modules/pi-mcp-adapter/dist/mcp-tasks.js.map +0 -1
  173. package/node_modules/pi-mcp-adapter/dist/mcp-trace.d.ts +0 -95
  174. package/node_modules/pi-mcp-adapter/dist/mcp-trace.js +0 -242
  175. package/node_modules/pi-mcp-adapter/dist/mcp-trace.js.map +0 -1
  176. package/node_modules/pi-mcp-adapter/dist/metadata-cache.d.ts +0 -19
  177. package/node_modules/pi-mcp-adapter/dist/metadata-cache.js +0 -301
  178. package/node_modules/pi-mcp-adapter/dist/metadata-cache.js.map +0 -1
  179. package/node_modules/pi-mcp-adapter/dist/npx-resolver.d.ts +0 -6
  180. package/node_modules/pi-mcp-adapter/dist/npx-resolver.js +0 -505
  181. package/node_modules/pi-mcp-adapter/dist/npx-resolver.js.map +0 -1
  182. package/node_modules/pi-mcp-adapter/dist/package-mcp-loader.d.ts +0 -2
  183. package/node_modules/pi-mcp-adapter/dist/package-mcp-loader.js +0 -144
  184. package/node_modules/pi-mcp-adapter/dist/package-mcp-loader.js.map +0 -1
  185. package/node_modules/pi-mcp-adapter/dist/request-headers-command.d.ts +0 -10
  186. package/node_modules/pi-mcp-adapter/dist/request-headers-command.js +0 -312
  187. package/node_modules/pi-mcp-adapter/dist/request-headers-command.js.map +0 -1
  188. package/node_modules/pi-mcp-adapter/dist/resource-tools.d.ts +0 -1
  189. package/node_modules/pi-mcp-adapter/dist/resource-tools.js +0 -15
  190. package/node_modules/pi-mcp-adapter/dist/resource-tools.js.map +0 -1
  191. package/node_modules/pi-mcp-adapter/dist/runtime-owner.d.ts +0 -13
  192. package/node_modules/pi-mcp-adapter/dist/runtime-owner.js +0 -97
  193. package/node_modules/pi-mcp-adapter/dist/runtime-owner.js.map +0 -1
  194. package/node_modules/pi-mcp-adapter/dist/sampling-handler.d.ts +0 -17
  195. package/node_modules/pi-mcp-adapter/dist/sampling-handler.js +0 -203
  196. package/node_modules/pi-mcp-adapter/dist/sampling-handler.js.map +0 -1
  197. package/node_modules/pi-mcp-adapter/dist/secure-keyring.d.ts +0 -11
  198. package/node_modules/pi-mcp-adapter/dist/secure-keyring.js +0 -172
  199. package/node_modules/pi-mcp-adapter/dist/secure-keyring.js.map +0 -1
  200. package/node_modules/pi-mcp-adapter/dist/server-manager.d.ts +0 -157
  201. package/node_modules/pi-mcp-adapter/dist/server-manager.js +0 -1745
  202. package/node_modules/pi-mcp-adapter/dist/server-manager.js.map +0 -1
  203. package/node_modules/pi-mcp-adapter/dist/session-approvals.d.ts +0 -34
  204. package/node_modules/pi-mcp-adapter/dist/session-approvals.js +0 -140
  205. package/node_modules/pi-mcp-adapter/dist/session-approvals.js.map +0 -1
  206. package/node_modules/pi-mcp-adapter/dist/session-recovery.d.ts +0 -26
  207. package/node_modules/pi-mcp-adapter/dist/session-recovery.js +0 -142
  208. package/node_modules/pi-mcp-adapter/dist/session-recovery.js.map +0 -1
  209. package/node_modules/pi-mcp-adapter/dist/state.d.ts +0 -73
  210. package/node_modules/pi-mcp-adapter/dist/state.js +0 -2
  211. package/node_modules/pi-mcp-adapter/dist/state.js.map +0 -1
  212. package/node_modules/pi-mcp-adapter/dist/types.d.ts +0 -642
  213. package/node_modules/pi-mcp-adapter/dist/types.js +0 -331
  214. package/node_modules/pi-mcp-adapter/dist/types.js.map +0 -1
  215. package/node_modules/pi-mcp-adapter/dist/ui-app-bridge-helpers.d.ts +0 -6
  216. package/node_modules/pi-mcp-adapter/dist/ui-app-bridge-helpers.js +0 -37
  217. package/node_modules/pi-mcp-adapter/dist/ui-app-bridge-helpers.js.map +0 -1
  218. package/node_modules/pi-mcp-adapter/dist/ui-resource-handler.d.ts +0 -17
  219. package/node_modules/pi-mcp-adapter/dist/ui-resource-handler.js +0 -219
  220. package/node_modules/pi-mcp-adapter/dist/ui-resource-handler.js.map +0 -1
  221. package/node_modules/pi-mcp-adapter/dist/ui-stream-types.d.ts +0 -104
  222. package/node_modules/pi-mcp-adapter/dist/ui-stream-types.js +0 -59
  223. package/node_modules/pi-mcp-adapter/dist/ui-stream-types.js.map +0 -1
  224. package/node_modules/pi-mcp-adapter/dist/ui-tool-visibility.d.ts +0 -4
  225. package/node_modules/pi-mcp-adapter/dist/ui-tool-visibility.js +0 -27
  226. package/node_modules/pi-mcp-adapter/dist/ui-tool-visibility.js.map +0 -1
  227. package/node_modules/pi-mcp-adapter/dist/unix-socket-transport.d.ts +0 -15
  228. package/node_modules/pi-mcp-adapter/dist/unix-socket-transport.js +0 -85
  229. package/node_modules/pi-mcp-adapter/dist/unix-socket-transport.js.map +0 -1
  230. package/node_modules/pi-mcp-adapter/dist/utils.d.ts +0 -41
  231. package/node_modules/pi-mcp-adapter/dist/utils.js +0 -417
  232. package/node_modules/pi-mcp-adapter/dist/utils.js.map +0 -1
  233. package/node_modules/pi-mcp-adapter/elicitation-handler.ts +0 -358
  234. package/node_modules/pi-mcp-adapter/error-signal.ts +0 -32
  235. package/node_modules/pi-mcp-adapter/errors.ts +0 -364
  236. package/node_modules/pi-mcp-adapter/examples/jev-accessibility-loop.mjs +0 -85
  237. package/node_modules/pi-mcp-adapter/examples/jev-semantic-filter.mjs +0 -34
  238. package/node_modules/pi-mcp-adapter/failure-backoff.ts +0 -23
  239. package/node_modules/pi-mcp-adapter/glimpse-ui.ts +0 -80
  240. package/node_modules/pi-mcp-adapter/host-html-template.ts +0 -515
  241. package/node_modules/pi-mcp-adapter/http-ca.ts +0 -84
  242. package/node_modules/pi-mcp-adapter/index.ts +0 -2106
  243. package/node_modules/pi-mcp-adapter/init.ts +0 -721
  244. package/node_modules/pi-mcp-adapter/jev-client.ts +0 -300
  245. package/node_modules/pi-mcp-adapter/jev-contracts.ts +0 -53
  246. package/node_modules/pi-mcp-adapter/jev-key-store.ts +0 -192
  247. package/node_modules/pi-mcp-adapter/json-schema-validator.ts +0 -83
  248. package/node_modules/pi-mcp-adapter/lazy-loader.ts +0 -7
  249. package/node_modules/pi-mcp-adapter/lifecycle.ts +0 -457
  250. package/node_modules/pi-mcp-adapter/logger.ts +0 -169
  251. package/node_modules/pi-mcp-adapter/mcp-auth-fetch.ts +0 -113
  252. package/node_modules/pi-mcp-adapter/mcp-auth-flow.ts +0 -1296
  253. package/node_modules/pi-mcp-adapter/mcp-auth.ts +0 -1287
  254. package/node_modules/pi-mcp-adapter/mcp-bearer-store.ts +0 -250
  255. package/node_modules/pi-mcp-adapter/mcp-callback-server.ts +0 -534
  256. package/node_modules/pi-mcp-adapter/mcp-code.ts +0 -495
  257. package/node_modules/pi-mcp-adapter/mcp-install.ts +0 -60
  258. package/node_modules/pi-mcp-adapter/mcp-keyring-helper.cjs +0 -89
  259. package/node_modules/pi-mcp-adapter/mcp-oauth-provider.ts +0 -819
  260. package/node_modules/pi-mcp-adapter/mcp-output-guard.ts +0 -511
  261. package/node_modules/pi-mcp-adapter/mcp-panel-theme.ts +0 -104
  262. package/node_modules/pi-mcp-adapter/mcp-panel.ts +0 -1099
  263. package/node_modules/pi-mcp-adapter/mcp-probe.ts +0 -201
  264. package/node_modules/pi-mcp-adapter/mcp-references.ts +0 -373
  265. package/node_modules/pi-mcp-adapter/mcp-script-worker.mjs +0 -137
  266. package/node_modules/pi-mcp-adapter/mcp-setup-panel.ts +0 -747
  267. package/node_modules/pi-mcp-adapter/mcp-status.ts +0 -105
  268. package/node_modules/pi-mcp-adapter/mcp-tasks.ts +0 -467
  269. package/node_modules/pi-mcp-adapter/mcp-trace.ts +0 -306
  270. package/node_modules/pi-mcp-adapter/metadata-cache.ts +0 -362
  271. package/node_modules/pi-mcp-adapter/namespace-tools.ts +0 -334
  272. package/node_modules/pi-mcp-adapter/npx-resolver.ts +0 -543
  273. package/node_modules/pi-mcp-adapter/oauth-handler.ts +0 -30
  274. package/node_modules/pi-mcp-adapter/oauth.ts +0 -52
  275. package/node_modules/pi-mcp-adapter/onboarding-state.ts +0 -76
  276. package/node_modules/pi-mcp-adapter/package-mcp-loader.ts +0 -156
  277. package/node_modules/pi-mcp-adapter/package.json +0 -219
  278. package/node_modules/pi-mcp-adapter/panel-keys.ts +0 -53
  279. package/node_modules/pi-mcp-adapter/prompts.ts +0 -385
  280. package/node_modules/pi-mcp-adapter/proxy-modes.ts +0 -1735
  281. package/node_modules/pi-mcp-adapter/request-headers-command.ts +0 -333
  282. package/node_modules/pi-mcp-adapter/resource-tools.ts +0 -17
  283. package/node_modules/pi-mcp-adapter/runtime-owner.ts +0 -106
  284. package/node_modules/pi-mcp-adapter/sampling-handler.ts +0 -261
  285. package/node_modules/pi-mcp-adapter/sandbox-proxy-template.ts +0 -144
  286. package/node_modules/pi-mcp-adapter/search-ranking.ts +0 -309
  287. package/node_modules/pi-mcp-adapter/secure-keyring.ts +0 -170
  288. package/node_modules/pi-mcp-adapter/semantic-search.ts +0 -186
  289. package/node_modules/pi-mcp-adapter/server-manager.ts +0 -2088
  290. package/node_modules/pi-mcp-adapter/session-approvals.ts +0 -201
  291. package/node_modules/pi-mcp-adapter/session-recovery.ts +0 -158
  292. package/node_modules/pi-mcp-adapter/skills/mcp-scripting/SKILL.md +0 -49
  293. package/node_modules/pi-mcp-adapter/state.ts +0 -71
  294. package/node_modules/pi-mcp-adapter/tool-approval.ts +0 -205
  295. package/node_modules/pi-mcp-adapter/tool-metadata.ts +0 -302
  296. package/node_modules/pi-mcp-adapter/tool-registrar.ts +0 -255
  297. package/node_modules/pi-mcp-adapter/tool-result-renderer.ts +0 -573
  298. package/node_modules/pi-mcp-adapter/ts-shape.ts +0 -149
  299. package/node_modules/pi-mcp-adapter/types.ts +0 -1120
  300. package/node_modules/pi-mcp-adapter/ui-app-bridge-helpers.ts +0 -40
  301. package/node_modules/pi-mcp-adapter/ui-resource-handler.ts +0 -266
  302. package/node_modules/pi-mcp-adapter/ui-server.ts +0 -993
  303. package/node_modules/pi-mcp-adapter/ui-session.ts +0 -624
  304. package/node_modules/pi-mcp-adapter/ui-stream-types.ts +0 -89
  305. package/node_modules/pi-mcp-adapter/ui-tool-visibility.ts +0 -25
  306. package/node_modules/pi-mcp-adapter/unix-socket-transport.ts +0 -85
  307. package/node_modules/pi-mcp-adapter/utils.ts +0 -464
package/README.md CHANGED
@@ -10,30 +10,36 @@ pi install npm:@herbertgao/pi-extensions
10
10
 
11
11
  Requires Node.js 24 or newer and Pi 0.85.1 or newer.
12
12
 
13
- The package bundles 6 active `@herbertgao/*` child packages—`pi-bark`, `pi-cc-extensions`, `resume-from`, `pi-subagents`, `sol-pi`, and the maintained Antigravity provider mirror—plus the following upstream packages under their original names:
14
-
15
- - `pi-antigravity@0.7.2`
16
- - `@dietrichgebert/ponytail@4.9.0`
17
- - `@juicesharp/rpiv-ask-user-question@2.8.0`
18
- - `@narumitw/pi-btw@0.61.0`
19
-
20
- - `@narumitw/pi-caffeinate@0.49.7`
21
- - `@pi-plugins/fast-mode@0.1.10`
22
- - `@tifan/pi-copy-response@0.2.6`
23
- - `@tifan/pi-handoff@2.2.0`
24
- - `@tifan/pi-inline-skills@1.0.5`
25
- - `@tifan/pi-mermaid-open@0.2.0`
26
- - `@tifan/pi-preferred-thinking@1.0.1`
27
- - `@tifan/pi-recap@0.4.6`
13
+ ## Native MCP
14
+
15
+ MCP is provided by Pi 0.99.0+, not by a bundled extension. Configure servers in `~/.pi/agent/mcp.json` and use `/mcp` to manage them. Older Pi versions need an upgrade to retain MCP support.
16
+
17
+ When migrating from `pi-mcp-adapter`, remove any standalone adapter install as well. Native MCP uses `exposure: "direct"` instead of `directTools: true`; tools default to `codemode` exposure. Adapter-only settings such as `lifecycle`, `mcpFooterStatus`, and `showStatusIcon` are not native settings. OAuth servers may require signing in again with `pi mcp login <server>`. See Pi's [MCP documentation](https://github.com/earendil-works/pi/blob/main/packages/coding-agent/docs/mcp.md).
18
+
19
+ ## Bundled extensions
20
+
21
+ The package bundles 5 active `@herbertgao/*` child packages—`pi-bark`, `pi-cc-extensions`, `resume-from`, `pi-subagents`, and `sol-pi`—plus the following upstream packages under their original names:
22
+
23
+ - `pi-antigravity@0.8.1`
24
+ - `@dietrichgebert/ponytail@4.10.0`
25
+ - `@juicesharp/rpiv-ask-user-question@2.11.0`
26
+ - `@narumitw/pi-btw@0.61.1`
27
+ - `@narumitw/pi-caffeinate@0.49.8`
28
+ - `@pi-plugins/fast-mode@0.1.12`
29
+ - `@tifan/pi-copy-response@0.2.7`
30
+ - `@tifan/pi-handoff@2.2.2`
31
+ - `@tifan/pi-inline-skills@1.0.6`
32
+ - `@tifan/pi-mermaid-open@0.2.1`
33
+ - `@tifan/pi-preferred-thinking@1.0.2`
34
+ - `@tifan/pi-recap@0.4.7`
28
35
  - `@tifan/pi-rename@0.6.0`
29
- - `pi-mcp-adapter@2.31.0`
30
- - `pi-typesafe@0.7.1`
36
+ - `pi-typesafe@0.8.1`
31
37
  - `pi-multi-account@1.23.2`
32
38
  - `pi-next-cue@1.0.7`
33
39
  - `pi-footer@0.5.1`
34
40
  - `pi-jev-auto-mode@0.5.0`
35
- - `pi-lens@4.2.1`
36
- - `pi-web-access@0.27.0`
41
+ - `pi-lens@4.3.0`
42
+ - `pi-web-access@0.34.0`
37
43
  - `remote-pi@0.7.0`
38
44
 
39
45
  Pi loads their extensions and skills through `node_modules/` paths inside one package root. The upstream companions are pinned and bundled, not forked or renamed.
@@ -42,11 +48,11 @@ Pi loads their extensions and skills through `node_modules/` paths inside one pa
42
48
 
43
49
  `@herbertgao/pi-bark` sends localized Bark pushes when a user-facing Pi run fully settles or `@juicesharp/rpiv-ask-user-question` needs an answer. Notifications include emoji-labeled machine/path metadata and support the bundled official Pi badge through Bark's `icon` parameter. Configure it in `$PI_CODING_AGENT_DIR/bark.json` (normally `~/.pi/agent/bark.json`); see the [package README](../pi-bark/README.md). Without a valid endpoint it stays inactive.
44
50
 
45
- `@narumitw/pi-caffeinate@0.49.7` uses the host platform's sleep inhibitor during each Pi agent run. On macOS, `/caffeinate sleep` keeps the system awake while allowing the display to sleep; `/caffeinate display` also keeps the display awake. It releases the inhibitor when the run or session ends.
51
+ `@narumitw/pi-caffeinate@0.49.8` uses the host platform's sleep inhibitor during each Pi agent run. On macOS, `/caffeinate sleep` keeps the system awake while allowing the display to sleep; `/caffeinate display` also keeps the display awake. It releases the inhibitor when the run or session ends.
46
52
 
47
- `pi-jev-auto-mode@0.5.0` adds fail-closed Jev safety gates for shell commands and file changes. `pi-typesafe@0.7.1` adds the `/typesafe` command and `typesafe_evaluate` tool for explicit structured decisions; both use the TypeSafe API after login.
53
+ `pi-jev-auto-mode@0.5.0` adds fail-closed Jev safety gates for shell commands and file changes. `pi-typesafe@0.8.1` adds the `/typesafe` command and `typesafe_evaluate` tool for explicit structured decisions; both use the TypeSafe API after login.
48
54
 
49
- `@herbertgao/resume-from@0.2.0` keeps Claude Code sessions associated with their original repository when the active transcript later moves into a nested cwd. `@herbertgao/sol-pi@0.1.0` adds opt-in Action Fusion, ObservationPack, Evidence-Preserving Reducer, and Online Context Compact; see its [configuration guide](../sol-pi/docs/configuration.md). `pi-lens@4.2.1` expands language routing and bounds retained diagnostic facts across multi-root sessions. `pi-web-access@0.27.0` adds configurable fetch deadlines and answer models plus isolated GitHub clone runtimes. Preferred Thinking 1.0.1 preserves an explicit subagent `--thinking` choice. Deprecated `@tifan/pi-titlebar-spinner` is no longer bundled; Rename remains the single owner of Herdr tab naming.
55
+ `@herbertgao/resume-from@0.2.0` keeps Claude Code sessions associated with their original repository when the active transcript later moves into a nested cwd. `@herbertgao/sol-pi@0.1.0` adds opt-in Action Fusion, ObservationPack, Evidence-Preserving Reducer, and Online Context Compact; see its [configuration guide](../sol-pi/docs/configuration.md). `pi-lens@4.3.0` expands language routing and bounds retained diagnostic facts across multi-root sessions. `pi-web-access@0.34.0` provides configurable web search and fetch tools; its `toolActivation` defaults to `auto`, choosing eager or dynamic tool activation per model. `pi-antigravity@0.8.1` reads Pi 0.86+ transcript system messages, so Antigravity requests carry Pi's system prompt and tools; it also registers `google_search` and `generate_image` tools that use the signed-in Antigravity account. Preferred Thinking 1.0.2 preserves an explicit subagent `--thinking` choice. Deprecated `@tifan/pi-titlebar-spinner` is no longer bundled; Rename remains the single owner of Herdr tab naming.
50
56
 
51
57
  `pi-stash` is no longer bundled: `/btw` already preserves the main editor draft while handling side questions outside the main conversation. Prior `@herbertgao/pi-stash` releases remain available but are no longer maintained here.
52
58
 
@@ -64,22 +70,14 @@ pi remove npm:pi-footer@0.5.1
64
70
 
65
71
  `pi-footer` is enabled by the aggregate. It preserves the native path, Git branch, session, token/context, model, and thinking information. Configure it in `$PI_CODING_AGENT_DIR/extensions/pi-footer.json`; use `/footer` for interactive changes. Only one footer-replacement extension should be enabled at a time.
66
72
 
67
- For the intended compact status text, merge these optional companion settings into existing files rather than replacing the files:
73
+ For the intended compact status text, merge the optional pi-lens widget setting into its existing file rather than replacing the file:
68
74
 
69
75
  ```jsonc
70
- // ~/.pi/agent/mcp.json
71
- {
72
- "settings": {
73
- "mcpFooterStatus": "compact",
74
- "showStatusIcon": false
75
- }
76
- }
77
-
78
76
  // ~/.pi-lens/config.json
79
77
  {
80
78
  "widget": {
81
- "visible": false
82
- }
79
+ "visible": false,
80
+ },
83
81
  }
84
82
  ```
85
83
 
@@ -86,7 +86,7 @@ THE SOFTWARE.
86
86
 
87
87
  ## `pi-antigravity`
88
88
 
89
- The aggregate bundles the MIT-licensed [`pi-antigravity`](https://github.com/Rahularya01/pi-antigravity) package version 0.7.2 under its original attribution:
89
+ The aggregate bundles the MIT-licensed [`pi-antigravity`](https://github.com/Rahularya01/pi-antigravity) package version 0.8.1 under its original attribution:
90
90
 
91
91
  MIT License
92
92
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@herbertgao/pi-bark",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "Send Bark notifications when Pi finishes or needs user input.",
5
5
  "keywords": [
6
6
  "bark",
@@ -39,7 +39,7 @@
39
39
  "typescript": "^5.9.3"
40
40
  },
41
41
  "peerDependencies": {
42
- "@earendil-works/pi-coding-agent": "^0.87.1"
42
+ "@earendil-works/pi-coding-agent": "*"
43
43
  },
44
44
  "engines": {
45
45
  "node": ">=24"
@@ -87,13 +87,16 @@ bun run typecheck
87
87
 
88
88
  - Node.js `>=24`, Pi `^0.84.0 || ^0.85.0` (loaded through `pi.extensions` and `pi.themes` in the root `package.json`)
89
89
 
90
+ ## Built-in capabilities
91
+
92
+ Pi 0.99+ provides native MCP tools and `/mcp` management; do not install another MCP extension that registers `/mcp`.
93
+
90
94
  ## Recommended companions
91
95
 
92
96
  | Extension | Purpose |
93
97
  | ------------------------------------------ | -------------------------------------------------------------- |
94
98
  | `npm:@tintinweb/pi-subagents` | Parallel SubAgents, background tasks, and worktree isolation |
95
99
  | `npm:@tintinweb/pi-tasks` | Claude Code-style task tracking and coordination |
96
- | `npm:pi-mcp-adapter` | On-demand MCP tool discovery with lower context usage |
97
100
  | `npm:@ff-labs/pi-fff` | FFF-powered fuzzy file and content search (fffind / ffgrep) |
98
101
  | `npm:pi-web-access` | Web search, URL fetching, GitHub cloning, PDF/video parsing |
99
102
  | `npm:pi-theme-picker` | Theme search and live preview |
@@ -87,13 +87,16 @@ bun run typecheck
87
87
 
88
88
  - Node.js `>=24`,Pi `^0.84.0 || ^0.85.0`(通过根目录 `package.json` 的 `pi.extensions` 和 `pi.themes` 加载)
89
89
 
90
+ ## 内置能力
91
+
92
+ Pi 0.99+ 的内置 MCP 负责 MCP 工具与 `/mcp` 管理;不要再安装会注册 `/mcp` 的第三方 MCP 扩展。
93
+
90
94
  ## 推荐搭配
91
95
 
92
96
  | 扩展 | 用途 |
93
97
  | ------------------------------------------ | -------------------------------------------------- |
94
98
  | `npm:@tintinweb/pi-subagents` | 并行 SubAgent、后台任务与工作树隔离 |
95
99
  | `npm:@tintinweb/pi-tasks` | Claude Code 风格任务跟踪与协调 |
96
- | `npm:pi-mcp-adapter` | 按需发现 MCP 工具,减少上下文占用 |
97
100
  | `npm:@ff-labs/pi-fff` | 模糊文件与内容检索(fffind / ffgrep) |
98
101
  | `npm:pi-web-access` | 网页搜索、URL 抓取、GitHub 克隆、PDF/视频解析 |
99
102
  | `npm:pi-theme-picker` | 主题搜索和实时预览 |
@@ -98,18 +98,30 @@ export default function (pi: ExtensionAPI): void {
98
98
  return parts.length ? `Working... (${parts.join(" · ")})` : "";
99
99
  }
100
100
 
101
+ function workingUiAvailable(): boolean {
102
+ try {
103
+ return activeCtx?.hasUI === true;
104
+ } catch {
105
+ // A stale ctx after session replacement/reload throws from its getter; stop driving the footer.
106
+ turnActive = false;
107
+ activeCtx = null;
108
+ stopRefreshLoop();
109
+ return false;
110
+ }
111
+ }
112
+
101
113
  function restoreDefaultWorkingMessage(): void {
102
114
  lastMessage = null;
103
- if (!activeCtx?.hasUI) return;
115
+ if (!workingUiAvailable()) return;
104
116
  try {
105
- activeCtx.ui.setWorkingMessage();
117
+ activeCtx?.ui.setWorkingMessage();
106
118
  } catch {
107
119
  // Noop when the TUI is unavailable.
108
120
  }
109
121
  }
110
122
 
111
123
  function syncWorkingMessage(force = false): void {
112
- if (!activeCtx?.hasUI) return;
124
+ if (!workingUiAvailable()) return;
113
125
  const next = buildWorkingMessage();
114
126
  if (!next) {
115
127
  if (force) restoreDefaultWorkingMessage();
@@ -118,7 +130,7 @@ export default function (pi: ExtensionAPI): void {
118
130
  if (!force && next === lastMessage) return;
119
131
  lastMessage = next;
120
132
  try {
121
- activeCtx.ui.setWorkingMessage(next);
133
+ activeCtx?.ui.setWorkingMessage(next);
122
134
  } catch {
123
135
  // Noop when the TUI is unavailable.
124
136
  }
@@ -130,9 +142,12 @@ export default function (pi: ExtensionAPI): void {
130
142
  refreshTimer = null;
131
143
  try {
132
144
  syncWorkingMessage();
133
- } finally {
134
- scheduleRefreshTick();
145
+ } catch {
146
+ // An exception here would become an uncaughtException and kill Pi; stop the decorative refresh.
147
+ turnActive = false;
148
+ return;
135
149
  }
150
+ scheduleRefreshTick();
136
151
  }, REFRESH_INTERVAL_MS);
137
152
  refreshTimer.unref?.();
138
153
  }
@@ -216,10 +216,21 @@ export default function (
216
216
  });
217
217
 
218
218
  pi.on("session_start", async (_event, ctx) => {
219
- // 延迟到 session_start 注册 write override:加载阶段 getAllTools 不可用且其他扩展
220
- // 尚未注册工具,无法检测外部 write 所有者(如 pi-spark),直接注册会与对方撞名。
221
- // session_start 时所有扩展已加载完毕,installWriteOverride 内部会检测并让位。
222
- installWriteOverride(pi, writeExecutionMetadata);
219
+ // Confirm write ownership one tick after every extension's session_start has run:
220
+ // others register tools in their own session_start, and registering first would
221
+ // silently drop their write (first registration wins).
222
+ setTimeout(() => {
223
+ installWriteOverride(pi, writeExecutionMetadata, (owner) => {
224
+ try {
225
+ ctx.ui?.notify?.(
226
+ `ccstyle: write is owned by ${owner.path || owner.source}; rich diff yields`,
227
+ "warning",
228
+ );
229
+ } catch {
230
+ // ctx may be stale by the next tick; the notice is decorative.
231
+ }
232
+ });
233
+ }, 0);
223
234
  const hooks = ensureTuiInstallation(ctx);
224
235
  // 鼠标交互独立于渲染层:fullscreen 渲染层让位(hooks undefined)但
225
236
  // 工具点击/回到底部适配仍需安装;保持在渲染层安装之后以维持原顺序。
@@ -59,6 +59,8 @@ export function renderRichToolResult(
59
59
  );
60
60
  }
61
61
  if (toolName !== "write") return undefined;
62
+ // Yield point: when another extension owns write there is no execution metadata; fall back to the plain result row.
63
+ if (!ownsWriteTool()) return undefined;
62
64
 
63
65
  const metadata = writeMetadata.get(context?.toolCallId);
64
66
  if (!metadata) {
@@ -83,24 +85,58 @@ export function renderRichToolResult(
83
85
  );
84
86
  }
85
87
 
86
- function hasExternalWriteOwner(pi: ExtensionAPI): boolean {
88
+ /** Extension currently owning write, reported in the conflict notice. */
89
+ export type ExternalWriteOwner = { source: string; path: string };
90
+
91
+ const WRITE_OWNERSHIP_SLOT = Symbol.for("pi.ccstyle.write-ownership");
92
+ /** Parameters object of the write override registered by this module; identifies our own tool in getAllTools(). */
93
+ let ownWriteParameters: unknown;
94
+
95
+ function writeOwnership(): { owned?: boolean } {
96
+ const slots = globalThis as any;
97
+ slots[WRITE_OWNERSHIP_SLOT] ??= {};
98
+ return slots[WRITE_OWNERSHIP_SLOT];
99
+ }
100
+
101
+ /** Whether this package executes write; unknown ownership keeps the existing rich-diff behavior. */
102
+ export function ownsWriteTool(): boolean {
103
+ return writeOwnership().owned !== false;
104
+ }
105
+
106
+ function findExternalWriteOwner(pi: ExtensionAPI): ExternalWriteOwner | undefined {
87
107
  try {
88
- const tools = pi.getAllTools();
89
- const write = tools.find((tool: any) => tool?.name === "write") as any;
90
- const source = write?.sourceInfo?.source;
91
- return Boolean(write && typeof source === "string" && source !== "builtin");
108
+ const tools = pi.getAllTools() as any[];
109
+ const write = tools?.find((tool: any) => tool?.name === "write") as any;
110
+ const sourceInfo = write?.sourceInfo;
111
+ const source = sourceInfo?.source;
112
+ if (!write || typeof source !== "string" || source === "builtin") return undefined;
113
+ // Our own override from an earlier session_start in this runtime.
114
+ if (ownWriteParameters !== undefined && write.parameters === ownWriteParameters)
115
+ return undefined;
116
+ return { source, path: typeof sourceInfo?.path === "string" ? sourceInfo.path : "" };
92
117
  } catch {
93
118
  // getAllTools is unavailable before the extension runtime is bound.
94
- return false;
119
+ return undefined;
95
120
  }
96
121
  }
97
122
 
98
123
  export function installWriteOverride(
99
124
  pi: ExtensionAPI,
100
125
  store = new WriteExecutionMetadataStore(),
126
+ /** Called when another extension already owns write. */
127
+ onExternalOwner?: (owner: ExternalWriteOwner) => void,
101
128
  ): WriteExecutionMetadataStore {
102
- if (typeof (pi as any).registerTool !== "function" || hasExternalWriteOwner(pi)) return store;
129
+ if (typeof (pi as any).registerTool !== "function") return store;
130
+ const state = writeOwnership();
131
+ const external = findExternalWriteOwner(pi);
132
+ if (external) {
133
+ state.owned = false;
134
+ onExternalOwner?.(external);
135
+ return store;
136
+ }
137
+ state.owned = true;
103
138
  const nativeWrite = createWriteToolDefinition(process.cwd()) as any;
139
+ ownWriteParameters = nativeWrite.parameters;
104
140
  pi.registerTool({
105
141
  ...nativeWrite,
106
142
  async execute(
@@ -8,7 +8,12 @@ import {
8
8
  } from "@earendil-works/pi-tui";
9
9
  import { TOOL_LOADING_INTERVAL_MS, toolLoadingIcon } from "../../utils/tool-loading-icon.ts";
10
10
  import { sanitizeToolResultText } from "../../utils/tool-result-sanitize.ts";
11
- import { fitToolCallSummary, pathSummary, type ToolCallSummary } from "./result.ts";
11
+ import {
12
+ fitToolCallSummary,
13
+ pathSummary,
14
+ toolViewportWidth,
15
+ type ToolCallSummary,
16
+ } from "./result.ts";
12
17
  import { isToolTuiFullscreen, showMoreHintText } from "../show-more-hint.ts";
13
18
 
14
19
  const PATCH_KEY = Symbol.for("pi.ccstyle.tool-grouping-patch");
@@ -444,7 +449,7 @@ export class ToolGroupComponent extends Container {
444
449
  "",
445
450
  truncateToWidth(
446
451
  ` ${fg(overallColor, "●")} ${label}: ${countText}${nameList} ${hint}`,
447
- width,
452
+ toolViewportWidth(width),
448
453
  "…",
449
454
  ),
450
455
  ];
@@ -566,8 +566,8 @@ export type ToolCallSummary = {
566
566
  };
567
567
 
568
568
  function pathApi(value: string) {
569
- if (win32.isAbsolute(value)) return win32;
570
569
  if (posix.isAbsolute(value)) return posix;
570
+ if (win32.isAbsolute(value)) return win32;
571
571
  return undefined;
572
572
  }
573
573
 
@@ -1,77 +1,77 @@
1
1
  {
2
- "name": "@herbertgao/pi-cc-extensions",
3
- "version": "0.9.5",
4
- "license": "MIT",
5
- "description": "A Pi productivity suite with Claude Code-style UI, context inspection, and agent/session references",
6
- "type": "module",
7
- "keywords": [
8
- "pi-package",
9
- "pi-extension",
10
- "pi-coding-agent",
11
- "claude-code"
12
- ],
13
- "homepage": "https://github.com/HerbertGao/pi-extensions/tree/master/packages/pi-cc-extensions#readme",
14
- "repository": {
15
- "type": "git",
16
- "url": "git+https://github.com/HerbertGao/pi-extensions.git",
17
- "directory": "packages/pi-cc-extensions"
18
- },
19
- "bugs": {
20
- "url": "https://github.com/HerbertGao/pi-extensions/issues"
21
- },
22
- "author": "Herbert Gao",
23
- "files": [
24
- "extensions",
25
- "assets/readme",
26
- "themes",
27
- "README.md",
28
- "README.en.md",
29
- "LICENSE"
30
- ],
31
- "pi": {
32
- "extensions": [
33
- "./extensions/index.ts"
34
- ],
35
- "themes": [
36
- "./themes/cc-dark.json",
37
- "./themes/cc-light.json"
38
- ],
39
- "image": "https://raw.githubusercontent.com/HerbertGao/pi-extensions/master/packages/pi-cc-extensions/assets/readme/welcome.webp",
40
- "video": "https://github.com/user-attachments/assets/debf76ea-a9dc-4f34-977f-aae344a9a7f8"
41
- },
42
- "scripts": {
43
- "test": "node --test tests/**/*.test.ts",
44
- "typecheck": "node scripts/typecheck.mjs",
45
- "format": "biome format --write .",
46
- "format:check": "biome format ."
47
- },
48
- "dependencies": {
49
- "@shikijs/cli": "^4.0.2",
50
- "grok-mermaid": "^0.2.2",
51
- "jiti": "^2.7.0"
52
- },
53
- "peerDependencies": {
54
- "@earendil-works/pi-ai": "^0.87.1",
55
- "@earendil-works/pi-coding-agent": "^0.87.1",
56
- "@earendil-works/pi-tui": "^0.87.1"
57
- },
58
- "engines": {
59
- "node": ">=24"
60
- },
61
- "publishConfig": {
62
- "access": "public",
63
- "provenance": true
64
- },
65
- "devDependencies": {
66
- "@biomejs/biome": "2.5.5",
67
- "@types/node": "^26.1.1",
68
- "typescript": "^5.9.3"
69
- },
70
- "x-upstream": {
71
- "package": "pi-cc-extensions",
72
- "version": "0.8.71",
73
- "reviewedVersion": "0.9.5",
74
- "repository": "https://github.com/minuque/pi-cc-extensions",
75
- "commit": "e43e0041b59f5d7f03be9b9d103a5f9e954e4c11"
76
- }
2
+ "name": "@herbertgao/pi-cc-extensions",
3
+ "version": "0.9.7",
4
+ "license": "MIT",
5
+ "description": "A Pi productivity suite with Claude Code-style UI, context inspection, and agent/session references",
6
+ "type": "module",
7
+ "keywords": [
8
+ "pi-package",
9
+ "pi-extension",
10
+ "pi-coding-agent",
11
+ "claude-code"
12
+ ],
13
+ "homepage": "https://github.com/HerbertGao/pi-extensions/tree/master/packages/pi-cc-extensions#readme",
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "git+https://github.com/HerbertGao/pi-extensions.git",
17
+ "directory": "packages/pi-cc-extensions"
18
+ },
19
+ "bugs": {
20
+ "url": "https://github.com/HerbertGao/pi-extensions/issues"
21
+ },
22
+ "author": "Herbert Gao",
23
+ "files": [
24
+ "extensions",
25
+ "assets/readme",
26
+ "themes",
27
+ "README.md",
28
+ "README.en.md",
29
+ "LICENSE"
30
+ ],
31
+ "pi": {
32
+ "extensions": [
33
+ "./extensions/index.ts"
34
+ ],
35
+ "themes": [
36
+ "./themes/cc-dark.json",
37
+ "./themes/cc-light.json"
38
+ ],
39
+ "image": "https://raw.githubusercontent.com/HerbertGao/pi-extensions/master/packages/pi-cc-extensions/assets/readme/welcome.webp",
40
+ "video": "https://github.com/user-attachments/assets/debf76ea-a9dc-4f34-977f-aae344a9a7f8"
41
+ },
42
+ "scripts": {
43
+ "test": "node --test tests/**/*.test.ts",
44
+ "typecheck": "node scripts/typecheck.mjs",
45
+ "format": "biome format --write .",
46
+ "format:check": "biome format ."
47
+ },
48
+ "dependencies": {
49
+ "@shikijs/cli": "^4.0.2",
50
+ "grok-mermaid": "^0.2.2",
51
+ "jiti": "^2.7.0"
52
+ },
53
+ "peerDependencies": {
54
+ "@earendil-works/pi-ai": "*",
55
+ "@earendil-works/pi-coding-agent": "*",
56
+ "@earendil-works/pi-tui": "*"
57
+ },
58
+ "engines": {
59
+ "node": ">=24"
60
+ },
61
+ "publishConfig": {
62
+ "access": "public",
63
+ "provenance": true
64
+ },
65
+ "devDependencies": {
66
+ "@biomejs/biome": "2.5.5",
67
+ "@types/node": "^26.1.1",
68
+ "typescript": "^5.9.3"
69
+ },
70
+ "x-upstream": {
71
+ "package": "pi-cc-extensions",
72
+ "version": "0.8.71",
73
+ "reviewedVersion": "0.9.9",
74
+ "repository": "https://github.com/minuque/pi-cc-extensions",
75
+ "commit": "e43e0041b59f5d7f03be9b9d103a5f9e954e4c11"
76
+ }
77
77
  }
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.18.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [#248](https://github.com/HerbertGao/pi-extensions/pull/248) [`c14c004`](https://github.com/HerbertGao/pi-extensions/commit/c14c0042a8e02862cd6718dd60e4ffb22314165c) Thanks [@HerbertGao](https://github.com/HerbertGao)! - Use Pi 0.99+'s native MCP implementation instead of registering the removed `pi-mcp-adapter`, declare Pi-hosted packages as wildcard peers, update `@tifan/pi-handoff` to 2.2.2 for its Herdr startup retry fix, and pin `pi-typesafe` to 0.8.0.
8
+
3
9
  ## 0.18.3
4
10
 
5
11
  ### Patch Changes
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@herbertgao/pi-subagents",
3
- "version": "0.18.3",
3
+ "version": "0.18.4",
4
4
  "description": "Claude Code-style autonomous subagents and workflow orchestration for Pi, with HerbertGao-maintained UI extensions.",
5
5
  "keywords": [
6
6
  "agent",
@@ -45,18 +45,18 @@
45
45
  "test:coverage": "vitest run --coverage"
46
46
  },
47
47
  "dependencies": {
48
- "@sinclair/typebox": "^0.34.49",
49
48
  "croner": "^10.0.1",
50
- "nanoid": "^5.1.16",
51
- "typebox": "^1.3.7"
49
+ "nanoid": "^5.1.16"
52
50
  },
53
51
  "devDependencies": {
54
52
  "@vitest/coverage-istanbul": "^4.1.10"
55
53
  },
56
54
  "peerDependencies": {
57
- "@earendil-works/pi-ai": "^0.87.1",
58
- "@earendil-works/pi-coding-agent": "^0.87.1",
59
- "@earendil-works/pi-tui": "^0.87.1"
55
+ "@earendil-works/pi-ai": "*",
56
+ "@earendil-works/pi-coding-agent": "*",
57
+ "@earendil-works/pi-tui": "*",
58
+ "@sinclair/typebox": "*",
59
+ "typebox": "*"
60
60
  },
61
61
  "engines": {
62
62
  "node": ">=24"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@herbertgao/resume-from",
3
- "version": "0.2.3",
3
+ "version": "0.2.4",
4
4
  "description": "Continue a coding session in a different agent, or a different profile.",
5
5
  "keywords": [
6
6
  "pi-package",
@@ -63,9 +63,11 @@
63
63
  "vitest": "^4.1.10"
64
64
  },
65
65
  "dependencies": {
66
- "@earendil-works/pi-tui": "^0.87.1",
67
66
  "gpt-tokenizer": "^3.4.0"
68
67
  },
68
+ "peerDependencies": {
69
+ "@earendil-works/pi-tui": "*"
70
+ },
69
71
  "pi": {
70
72
  "extensions": [
71
73
  "./shims/pi/extensions/resume-from.js"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@herbertgao/sol-pi",
3
- "version": "0.3.3",
3
+ "version": "0.3.4",
4
4
  "description": "Token-efficient context and tool extensions for Pi, maintained from NVlabs/SoL-Pi.",
5
5
  "keywords": [
6
6
  "pi-package",
@@ -47,11 +47,11 @@
47
47
  "check": "npm run typecheck && npm test && npm pack --dry-run"
48
48
  },
49
49
  "peerDependencies": {
50
- "@earendil-works/pi-agent-core": "^0.87.1",
51
- "@earendil-works/pi-ai": "^0.87.1",
52
- "@earendil-works/pi-coding-agent": "^0.87.1",
53
- "@earendil-works/pi-tui": "^0.87.1",
54
- "typebox": ">=1.3.7"
50
+ "@earendil-works/pi-agent-core": "*",
51
+ "@earendil-works/pi-ai": "*",
52
+ "@earendil-works/pi-coding-agent": "*",
53
+ "@earendil-works/pi-tui": "*",
54
+ "typebox": "*"
55
55
  },
56
56
  "devDependencies": {
57
57
  "@types/node": "^24.0.0",