gsd-pi 2.10.5 → 2.10.8

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 (592) hide show
  1. package/dist/loader.js +0 -0
  2. package/dist/onboarding.js +20 -7
  3. package/dist/resource-loader.d.ts +1 -1
  4. package/dist/resource-loader.js +2 -8
  5. package/node_modules/@gsd/native/dist/index.d.ts +6 -0
  6. package/node_modules/@gsd/native/dist/index.js +4 -0
  7. package/node_modules/@gsd/native/dist/json-parse/index.d.ts +20 -0
  8. package/node_modules/@gsd/native/dist/json-parse/index.js +30 -0
  9. package/node_modules/@gsd/native/dist/native.d.ts +10 -0
  10. package/node_modules/@gsd/native/dist/stream-process/index.d.ts +35 -0
  11. package/node_modules/@gsd/native/dist/stream-process/index.js +48 -0
  12. package/node_modules/@gsd/native/dist/truncate/index.d.ts +29 -0
  13. package/node_modules/@gsd/native/dist/truncate/index.js +25 -0
  14. package/node_modules/@gsd/native/dist/xxhash/index.d.ts +0 -1
  15. package/node_modules/@gsd/native/dist/xxhash/index.js +0 -1
  16. package/node_modules/@gsd/native/package.json +4 -0
  17. package/node_modules/@gsd/pi-ai/dist/index.d.ts +1 -1
  18. package/node_modules/@gsd/pi-ai/dist/index.d.ts.map +1 -1
  19. package/node_modules/@gsd/pi-ai/dist/index.js.map +1 -1
  20. package/node_modules/@gsd/pi-ai/dist/models.generated.d.ts +17 -0
  21. package/node_modules/@gsd/pi-ai/dist/models.generated.d.ts.map +1 -1
  22. package/node_modules/@gsd/pi-ai/dist/models.generated.js +17 -0
  23. package/node_modules/@gsd/pi-ai/dist/models.generated.js.map +1 -1
  24. package/node_modules/@gsd/pi-ai/dist/providers/anthropic.d.ts +8 -0
  25. package/node_modules/@gsd/pi-ai/dist/providers/anthropic.d.ts.map +1 -1
  26. package/node_modules/@gsd/pi-ai/dist/providers/anthropic.js +42 -0
  27. package/node_modules/@gsd/pi-ai/dist/providers/anthropic.js.map +1 -1
  28. package/node_modules/@gsd/pi-ai/dist/types.d.ts +2 -0
  29. package/node_modules/@gsd/pi-ai/dist/types.d.ts.map +1 -1
  30. package/node_modules/@gsd/pi-ai/dist/types.js.map +1 -1
  31. package/node_modules/@gsd/pi-ai/dist/utils/json-parse.d.ts +2 -0
  32. package/node_modules/@gsd/pi-ai/dist/utils/json-parse.d.ts.map +1 -1
  33. package/node_modules/@gsd/pi-ai/dist/utils/json-parse.js +4 -19
  34. package/node_modules/@gsd/pi-ai/dist/utils/json-parse.js.map +1 -1
  35. package/node_modules/@gsd/pi-ai/dist/utils/oauth/index.d.ts +1 -10
  36. package/node_modules/@gsd/pi-ai/dist/utils/oauth/index.d.ts.map +1 -1
  37. package/node_modules/@gsd/pi-ai/dist/utils/oauth/index.js +0 -21
  38. package/node_modules/@gsd/pi-ai/dist/utils/oauth/index.js.map +1 -1
  39. package/node_modules/@gsd/pi-ai/dist/utils/oauth/types.d.ts +0 -8
  40. package/node_modules/@gsd/pi-ai/dist/utils/oauth/types.d.ts.map +1 -1
  41. package/node_modules/@gsd/pi-ai/dist/utils/oauth/types.js.map +1 -1
  42. package/node_modules/@gsd/pi-ai/package.json +0 -1
  43. package/node_modules/@gsd/pi-ai/src/index.ts +0 -2
  44. package/node_modules/@gsd/pi-ai/src/models.generated.ts +17 -0
  45. package/node_modules/@gsd/pi-ai/src/providers/anthropic.ts +43 -0
  46. package/node_modules/@gsd/pi-ai/src/types.ts +2 -0
  47. package/node_modules/@gsd/pi-ai/src/utils/json-parse.ts +4 -18
  48. package/node_modules/@gsd/pi-ai/src/utils/oauth/index.ts +1 -27
  49. package/node_modules/@gsd/pi-ai/src/utils/oauth/types.ts +0 -10
  50. package/node_modules/@gsd/pi-coding-agent/dist/core/agent-session.d.ts.map +1 -1
  51. package/node_modules/@gsd/pi-coding-agent/dist/core/agent-session.js +23 -1
  52. package/node_modules/@gsd/pi-coding-agent/dist/core/agent-session.js.map +1 -1
  53. package/node_modules/@gsd/pi-coding-agent/dist/core/bash-executor.d.ts.map +1 -1
  54. package/node_modules/@gsd/pi-coding-agent/dist/core/bash-executor.js +12 -8
  55. package/node_modules/@gsd/pi-coding-agent/dist/core/bash-executor.js.map +1 -1
  56. package/node_modules/@gsd/pi-coding-agent/dist/core/model-resolver.d.ts.map +1 -1
  57. package/node_modules/@gsd/pi-coding-agent/dist/core/model-resolver.js +11 -0
  58. package/node_modules/@gsd/pi-coding-agent/dist/core/model-resolver.js.map +1 -1
  59. package/node_modules/@gsd/pi-coding-agent/dist/core/settings-manager.d.ts +24 -0
  60. package/node_modules/@gsd/pi-coding-agent/dist/core/settings-manager.d.ts.map +1 -1
  61. package/node_modules/@gsd/pi-coding-agent/dist/core/settings-manager.js +16 -0
  62. package/node_modules/@gsd/pi-coding-agent/dist/core/settings-manager.js.map +1 -1
  63. package/node_modules/@gsd/pi-coding-agent/dist/core/tools/hashline.d.ts.map +1 -1
  64. package/node_modules/@gsd/pi-coding-agent/dist/core/tools/hashline.js +1 -59
  65. package/node_modules/@gsd/pi-coding-agent/dist/core/tools/hashline.js.map +1 -1
  66. package/node_modules/@gsd/pi-coding-agent/dist/index.d.ts +1 -1
  67. package/node_modules/@gsd/pi-coding-agent/dist/index.d.ts.map +1 -1
  68. package/node_modules/@gsd/pi-coding-agent/dist/index.js.map +1 -1
  69. package/node_modules/@gsd/pi-coding-agent/dist/modes/interactive/components/keybinding-hints.d.ts +5 -0
  70. package/node_modules/@gsd/pi-coding-agent/dist/modes/interactive/components/keybinding-hints.d.ts.map +1 -1
  71. package/node_modules/@gsd/pi-coding-agent/dist/modes/interactive/components/keybinding-hints.js +13 -2
  72. package/node_modules/@gsd/pi-coding-agent/dist/modes/interactive/components/keybinding-hints.js.map +1 -1
  73. package/node_modules/@gsd/pi-coding-agent/dist/modes/interactive/components/scoped-models-selector.js +1 -1
  74. package/node_modules/@gsd/pi-coding-agent/dist/modes/interactive/components/scoped-models-selector.js.map +1 -1
  75. package/node_modules/@gsd/pi-coding-agent/dist/modes/interactive/components/settings-selector.js +1 -1
  76. package/node_modules/@gsd/pi-coding-agent/dist/modes/interactive/components/settings-selector.js.map +1 -1
  77. package/node_modules/@gsd/pi-coding-agent/dist/modes/interactive/components/tool-execution.d.ts.map +1 -1
  78. package/node_modules/@gsd/pi-coding-agent/dist/modes/interactive/components/tool-execution.js +3 -1
  79. package/node_modules/@gsd/pi-coding-agent/dist/modes/interactive/components/tool-execution.js.map +1 -1
  80. package/node_modules/@gsd/pi-coding-agent/dist/modes/interactive/components/tree-selector.js +1 -1
  81. package/node_modules/@gsd/pi-coding-agent/dist/modes/interactive/components/tree-selector.js.map +1 -1
  82. package/node_modules/@gsd/pi-coding-agent/dist/modes/interactive/interactive-mode.js +2 -2
  83. package/node_modules/@gsd/pi-coding-agent/dist/modes/interactive/interactive-mode.js.map +1 -1
  84. package/node_modules/@gsd/pi-coding-agent/dist/resources/extensions/memory/index.d.ts +15 -0
  85. package/node_modules/@gsd/pi-coding-agent/dist/resources/extensions/memory/index.d.ts.map +1 -0
  86. package/node_modules/@gsd/pi-coding-agent/dist/resources/extensions/memory/index.js +206 -0
  87. package/node_modules/@gsd/pi-coding-agent/dist/resources/extensions/memory/index.js.map +1 -0
  88. package/node_modules/@gsd/pi-coding-agent/dist/resources/extensions/memory/pipeline.d.ts +39 -0
  89. package/node_modules/@gsd/pi-coding-agent/dist/resources/extensions/memory/pipeline.d.ts.map +1 -0
  90. package/node_modules/@gsd/pi-coding-agent/dist/resources/extensions/memory/pipeline.js +453 -0
  91. package/node_modules/@gsd/pi-coding-agent/dist/resources/extensions/memory/pipeline.js.map +1 -0
  92. package/node_modules/@gsd/pi-coding-agent/dist/resources/extensions/memory/storage.d.ts +128 -0
  93. package/node_modules/@gsd/pi-coding-agent/dist/resources/extensions/memory/storage.d.ts.map +1 -0
  94. package/node_modules/@gsd/pi-coding-agent/dist/resources/extensions/memory/storage.js +345 -0
  95. package/node_modules/@gsd/pi-coding-agent/dist/resources/extensions/memory/storage.js.map +1 -0
  96. package/node_modules/@gsd/pi-coding-agent/package.json +2 -0
  97. package/node_modules/@gsd/pi-coding-agent/src/core/agent-session.ts +22 -1
  98. package/node_modules/@gsd/pi-coding-agent/src/core/bash-executor.ts +12 -8
  99. package/node_modules/@gsd/pi-coding-agent/src/core/model-resolver.ts +12 -0
  100. package/node_modules/@gsd/pi-coding-agent/src/core/settings-manager.ts +42 -0
  101. package/node_modules/@gsd/pi-coding-agent/src/core/tools/hashline.ts +1 -70
  102. package/node_modules/@gsd/pi-coding-agent/src/index.ts +2 -0
  103. package/node_modules/@gsd/pi-coding-agent/src/modes/interactive/components/keybinding-hints.ts +14 -2
  104. package/node_modules/@gsd/pi-coding-agent/src/modes/interactive/components/scoped-models-selector.ts +1 -1
  105. package/node_modules/@gsd/pi-coding-agent/src/modes/interactive/components/settings-selector.ts +1 -1
  106. package/node_modules/@gsd/pi-coding-agent/src/modes/interactive/components/tool-execution.ts +3 -1
  107. package/node_modules/@gsd/pi-coding-agent/src/modes/interactive/components/tree-selector.ts +1 -1
  108. package/node_modules/@gsd/pi-coding-agent/src/modes/interactive/interactive-mode.ts +2 -2
  109. package/node_modules/@gsd/pi-coding-agent/src/resources/extensions/memory/index.ts +270 -0
  110. package/node_modules/@gsd/pi-coding-agent/src/resources/extensions/memory/pipeline.ts +547 -0
  111. package/node_modules/@gsd/pi-coding-agent/src/resources/extensions/memory/storage.ts +488 -0
  112. package/node_modules/@gsd/pi-tui/dist/tui.d.ts.map +1 -1
  113. package/node_modules/@gsd/pi-tui/dist/tui.js +3 -26
  114. package/node_modules/@gsd/pi-tui/dist/tui.js.map +1 -1
  115. package/node_modules/@gsd/pi-tui/src/tui.ts +3 -28
  116. package/node_modules/better-sqlite3/LICENSE +21 -0
  117. package/node_modules/better-sqlite3/README.md +99 -0
  118. package/node_modules/better-sqlite3/binding.gyp +38 -0
  119. package/node_modules/better-sqlite3/deps/common.gypi +68 -0
  120. package/node_modules/better-sqlite3/deps/copy.js +31 -0
  121. package/node_modules/better-sqlite3/deps/defines.gypi +41 -0
  122. package/node_modules/better-sqlite3/deps/download.sh +122 -0
  123. package/node_modules/better-sqlite3/deps/patches/1208.patch +15 -0
  124. package/node_modules/better-sqlite3/deps/sqlite3/sqlite3.c +261480 -0
  125. package/node_modules/better-sqlite3/deps/sqlite3/sqlite3.h +13715 -0
  126. package/node_modules/better-sqlite3/deps/sqlite3/sqlite3ext.h +719 -0
  127. package/node_modules/better-sqlite3/deps/sqlite3.gyp +80 -0
  128. package/node_modules/better-sqlite3/deps/test_extension.c +21 -0
  129. package/node_modules/better-sqlite3/lib/database.js +90 -0
  130. package/node_modules/better-sqlite3/lib/index.js +3 -0
  131. package/node_modules/better-sqlite3/lib/methods/aggregate.js +43 -0
  132. package/node_modules/better-sqlite3/lib/methods/backup.js +67 -0
  133. package/node_modules/better-sqlite3/lib/methods/function.js +31 -0
  134. package/node_modules/better-sqlite3/lib/methods/inspect.js +7 -0
  135. package/node_modules/better-sqlite3/lib/methods/pragma.js +12 -0
  136. package/node_modules/better-sqlite3/lib/methods/serialize.js +16 -0
  137. package/node_modules/better-sqlite3/lib/methods/table.js +189 -0
  138. package/node_modules/better-sqlite3/lib/methods/transaction.js +78 -0
  139. package/node_modules/better-sqlite3/lib/methods/wrappers.js +54 -0
  140. package/node_modules/better-sqlite3/lib/sqlite-error.js +20 -0
  141. package/node_modules/better-sqlite3/lib/util.js +12 -0
  142. package/node_modules/better-sqlite3/package.json +54 -0
  143. package/node_modules/better-sqlite3/src/better_sqlite3.cpp +2186 -0
  144. package/node_modules/better-sqlite3/src/better_sqlite3.hpp +1036 -0
  145. package/node_modules/bindings/LICENSE.md +22 -0
  146. package/node_modules/bindings/README.md +98 -0
  147. package/node_modules/bindings/bindings.js +221 -0
  148. package/node_modules/bindings/package.json +28 -0
  149. package/node_modules/bl/.travis.yml +17 -0
  150. package/node_modules/bl/BufferList.js +396 -0
  151. package/node_modules/bl/LICENSE.md +13 -0
  152. package/node_modules/bl/README.md +247 -0
  153. package/node_modules/bl/bl.js +84 -0
  154. package/node_modules/bl/package.json +37 -0
  155. package/node_modules/bl/test/convert.js +21 -0
  156. package/node_modules/bl/test/indexOf.js +492 -0
  157. package/node_modules/bl/test/isBufferList.js +32 -0
  158. package/node_modules/bl/test/test.js +869 -0
  159. package/node_modules/buffer/AUTHORS.md +70 -0
  160. package/node_modules/buffer/LICENSE +21 -0
  161. package/node_modules/buffer/README.md +410 -0
  162. package/node_modules/buffer/index.d.ts +186 -0
  163. package/node_modules/buffer/index.js +1817 -0
  164. package/node_modules/buffer/package.json +96 -0
  165. package/node_modules/chownr/LICENSE +15 -0
  166. package/node_modules/chownr/README.md +3 -0
  167. package/node_modules/chownr/chownr.js +167 -0
  168. package/node_modules/chownr/package.json +29 -0
  169. package/node_modules/decompress-response/index.d.ts +22 -0
  170. package/node_modules/decompress-response/index.js +58 -0
  171. package/node_modules/decompress-response/license +9 -0
  172. package/node_modules/decompress-response/package.json +56 -0
  173. package/node_modules/decompress-response/readme.md +48 -0
  174. package/node_modules/deep-extend/LICENSE +20 -0
  175. package/node_modules/deep-extend/README.md +91 -0
  176. package/node_modules/deep-extend/index.js +1 -0
  177. package/node_modules/deep-extend/lib/deep-extend.js +150 -0
  178. package/node_modules/deep-extend/package.json +62 -0
  179. package/node_modules/detect-libc/LICENSE +201 -0
  180. package/node_modules/detect-libc/README.md +163 -0
  181. package/node_modules/detect-libc/index.d.ts +14 -0
  182. package/node_modules/detect-libc/lib/detect-libc.js +313 -0
  183. package/node_modules/detect-libc/lib/elf.js +39 -0
  184. package/node_modules/detect-libc/lib/filesystem.js +51 -0
  185. package/node_modules/detect-libc/lib/process.js +24 -0
  186. package/node_modules/detect-libc/package.json +44 -0
  187. package/node_modules/expand-template/.travis.yml +6 -0
  188. package/node_modules/expand-template/LICENSE +21 -0
  189. package/node_modules/expand-template/README.md +43 -0
  190. package/node_modules/expand-template/index.js +26 -0
  191. package/node_modules/expand-template/package.json +29 -0
  192. package/node_modules/expand-template/test.js +67 -0
  193. package/node_modules/file-uri-to-path/.npmignore +1 -0
  194. package/node_modules/file-uri-to-path/.travis.yml +30 -0
  195. package/node_modules/file-uri-to-path/History.md +21 -0
  196. package/node_modules/file-uri-to-path/LICENSE +20 -0
  197. package/node_modules/file-uri-to-path/README.md +74 -0
  198. package/node_modules/file-uri-to-path/index.d.ts +2 -0
  199. package/node_modules/file-uri-to-path/index.js +66 -0
  200. package/node_modules/file-uri-to-path/package.json +32 -0
  201. package/node_modules/file-uri-to-path/test/test.js +24 -0
  202. package/node_modules/file-uri-to-path/test/tests.json +13 -0
  203. package/node_modules/fs-constants/LICENSE +21 -0
  204. package/node_modules/fs-constants/README.md +26 -0
  205. package/node_modules/fs-constants/browser.js +1 -0
  206. package/node_modules/fs-constants/index.js +1 -0
  207. package/node_modules/fs-constants/package.json +19 -0
  208. package/node_modules/github-from-package/.travis.yml +4 -0
  209. package/node_modules/github-from-package/LICENSE +18 -0
  210. package/node_modules/github-from-package/example/package.json +8 -0
  211. package/node_modules/github-from-package/example/url.js +3 -0
  212. package/node_modules/github-from-package/index.js +17 -0
  213. package/node_modules/github-from-package/package.json +30 -0
  214. package/node_modules/github-from-package/readme.markdown +53 -0
  215. package/node_modules/github-from-package/test/a.json +8 -0
  216. package/node_modules/github-from-package/test/b.json +5 -0
  217. package/node_modules/github-from-package/test/c.json +5 -0
  218. package/node_modules/github-from-package/test/d.json +7 -0
  219. package/node_modules/github-from-package/test/e.json +5 -0
  220. package/node_modules/github-from-package/test/url.js +19 -0
  221. package/node_modules/inherits/LICENSE +16 -0
  222. package/node_modules/inherits/README.md +42 -0
  223. package/node_modules/inherits/inherits.js +9 -0
  224. package/node_modules/inherits/inherits_browser.js +27 -0
  225. package/node_modules/inherits/package.json +29 -0
  226. package/node_modules/ini/LICENSE +15 -0
  227. package/node_modules/ini/README.md +102 -0
  228. package/node_modules/ini/ini.js +206 -0
  229. package/node_modules/ini/package.json +33 -0
  230. package/node_modules/mimic-response/index.d.ts +17 -0
  231. package/node_modules/mimic-response/index.js +77 -0
  232. package/node_modules/mimic-response/license +9 -0
  233. package/node_modules/mimic-response/package.json +42 -0
  234. package/node_modules/mimic-response/readme.md +78 -0
  235. package/node_modules/minimist/.eslintrc +29 -0
  236. package/node_modules/minimist/.github/FUNDING.yml +12 -0
  237. package/node_modules/minimist/.nycrc +14 -0
  238. package/node_modules/minimist/CHANGELOG.md +298 -0
  239. package/node_modules/minimist/LICENSE +18 -0
  240. package/node_modules/minimist/README.md +121 -0
  241. package/node_modules/minimist/example/parse.js +4 -0
  242. package/node_modules/minimist/index.js +263 -0
  243. package/node_modules/minimist/package.json +75 -0
  244. package/node_modules/minimist/test/all_bool.js +34 -0
  245. package/node_modules/minimist/test/bool.js +177 -0
  246. package/node_modules/minimist/test/dash.js +43 -0
  247. package/node_modules/minimist/test/default_bool.js +37 -0
  248. package/node_modules/minimist/test/dotted.js +24 -0
  249. package/node_modules/minimist/test/kv_short.js +32 -0
  250. package/node_modules/minimist/test/long.js +33 -0
  251. package/node_modules/minimist/test/num.js +38 -0
  252. package/node_modules/minimist/test/parse.js +209 -0
  253. package/node_modules/minimist/test/parse_modified.js +11 -0
  254. package/node_modules/minimist/test/proto.js +64 -0
  255. package/node_modules/minimist/test/short.js +69 -0
  256. package/node_modules/minimist/test/stop_early.js +17 -0
  257. package/node_modules/minimist/test/unknown.js +104 -0
  258. package/node_modules/minimist/test/whitespace.js +10 -0
  259. package/node_modules/mkdirp-classic/LICENSE +21 -0
  260. package/node_modules/mkdirp-classic/README.md +18 -0
  261. package/node_modules/mkdirp-classic/index.js +98 -0
  262. package/node_modules/mkdirp-classic/package.json +18 -0
  263. package/node_modules/napi-build-utils/.github/workflows/run-npm-tests.yml +31 -0
  264. package/node_modules/{partial-json → napi-build-utils}/LICENSE +1 -1
  265. package/node_modules/napi-build-utils/README.md +52 -0
  266. package/node_modules/napi-build-utils/index.js +214 -0
  267. package/node_modules/napi-build-utils/index.md +0 -0
  268. package/node_modules/napi-build-utils/package.json +42 -0
  269. package/node_modules/node-abi/LICENSE +21 -0
  270. package/node_modules/node-abi/README.md +54 -0
  271. package/node_modules/node-abi/abi_registry.json +432 -0
  272. package/node_modules/node-abi/index.js +179 -0
  273. package/node_modules/node-abi/package.json +45 -0
  274. package/node_modules/prebuild-install/CHANGELOG.md +131 -0
  275. package/node_modules/prebuild-install/CONTRIBUTING.md +6 -0
  276. package/node_modules/prebuild-install/LICENSE +21 -0
  277. package/node_modules/prebuild-install/README.md +163 -0
  278. package/node_modules/prebuild-install/asset.js +44 -0
  279. package/node_modules/prebuild-install/bin.js +78 -0
  280. package/node_modules/prebuild-install/download.js +142 -0
  281. package/node_modules/prebuild-install/error.js +14 -0
  282. package/node_modules/prebuild-install/help.txt +16 -0
  283. package/node_modules/prebuild-install/index.js +1 -0
  284. package/node_modules/prebuild-install/log.js +33 -0
  285. package/node_modules/prebuild-install/package.json +67 -0
  286. package/node_modules/prebuild-install/proxy.js +35 -0
  287. package/node_modules/prebuild-install/rc.js +64 -0
  288. package/node_modules/prebuild-install/util.js +143 -0
  289. package/node_modules/rc/LICENSE.APACHE2 +15 -0
  290. package/node_modules/rc/LICENSE.BSD +26 -0
  291. package/node_modules/rc/LICENSE.MIT +24 -0
  292. package/node_modules/rc/README.md +227 -0
  293. package/node_modules/rc/browser.js +7 -0
  294. package/node_modules/rc/cli.js +4 -0
  295. package/node_modules/rc/index.js +53 -0
  296. package/node_modules/rc/lib/utils.js +104 -0
  297. package/node_modules/rc/package.json +29 -0
  298. package/node_modules/rc/test/ini.js +16 -0
  299. package/node_modules/rc/test/nested-env-vars.js +50 -0
  300. package/node_modules/rc/test/test.js +59 -0
  301. package/node_modules/readable-stream/CONTRIBUTING.md +38 -0
  302. package/node_modules/readable-stream/GOVERNANCE.md +136 -0
  303. package/node_modules/readable-stream/LICENSE +47 -0
  304. package/node_modules/readable-stream/README.md +106 -0
  305. package/node_modules/readable-stream/errors-browser.js +127 -0
  306. package/node_modules/readable-stream/errors.js +116 -0
  307. package/node_modules/readable-stream/experimentalWarning.js +17 -0
  308. package/node_modules/readable-stream/lib/_stream_duplex.js +126 -0
  309. package/node_modules/readable-stream/lib/_stream_passthrough.js +37 -0
  310. package/node_modules/readable-stream/lib/_stream_readable.js +1027 -0
  311. package/node_modules/readable-stream/lib/_stream_transform.js +190 -0
  312. package/node_modules/readable-stream/lib/_stream_writable.js +641 -0
  313. package/node_modules/readable-stream/lib/internal/streams/async_iterator.js +180 -0
  314. package/node_modules/readable-stream/lib/internal/streams/buffer_list.js +183 -0
  315. package/node_modules/readable-stream/lib/internal/streams/destroy.js +96 -0
  316. package/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +86 -0
  317. package/node_modules/readable-stream/lib/internal/streams/from-browser.js +3 -0
  318. package/node_modules/readable-stream/lib/internal/streams/from.js +52 -0
  319. package/node_modules/readable-stream/lib/internal/streams/pipeline.js +86 -0
  320. package/node_modules/readable-stream/lib/internal/streams/state.js +22 -0
  321. package/node_modules/readable-stream/lib/internal/streams/stream-browser.js +1 -0
  322. package/node_modules/readable-stream/lib/internal/streams/stream.js +1 -0
  323. package/node_modules/readable-stream/package.json +68 -0
  324. package/node_modules/readable-stream/readable-browser.js +9 -0
  325. package/node_modules/readable-stream/readable.js +16 -0
  326. package/node_modules/semver/LICENSE +15 -0
  327. package/node_modules/semver/README.md +665 -0
  328. package/node_modules/semver/bin/semver.js +191 -0
  329. package/node_modules/semver/classes/comparator.js +143 -0
  330. package/node_modules/semver/classes/index.js +7 -0
  331. package/node_modules/semver/classes/range.js +557 -0
  332. package/node_modules/semver/classes/semver.js +333 -0
  333. package/node_modules/semver/functions/clean.js +8 -0
  334. package/node_modules/semver/functions/cmp.js +54 -0
  335. package/node_modules/semver/functions/coerce.js +62 -0
  336. package/node_modules/semver/functions/compare-build.js +9 -0
  337. package/node_modules/semver/functions/compare-loose.js +5 -0
  338. package/node_modules/semver/functions/compare.js +7 -0
  339. package/node_modules/semver/functions/diff.js +60 -0
  340. package/node_modules/semver/functions/eq.js +5 -0
  341. package/node_modules/semver/functions/gt.js +5 -0
  342. package/node_modules/semver/functions/gte.js +5 -0
  343. package/node_modules/semver/functions/inc.js +21 -0
  344. package/node_modules/semver/functions/lt.js +5 -0
  345. package/node_modules/semver/functions/lte.js +5 -0
  346. package/node_modules/semver/functions/major.js +5 -0
  347. package/node_modules/semver/functions/minor.js +5 -0
  348. package/node_modules/semver/functions/neq.js +5 -0
  349. package/node_modules/semver/functions/parse.js +18 -0
  350. package/node_modules/semver/functions/patch.js +5 -0
  351. package/node_modules/semver/functions/prerelease.js +8 -0
  352. package/node_modules/semver/functions/rcompare.js +5 -0
  353. package/node_modules/semver/functions/rsort.js +5 -0
  354. package/node_modules/semver/functions/satisfies.js +12 -0
  355. package/node_modules/semver/functions/sort.js +5 -0
  356. package/node_modules/semver/functions/valid.js +8 -0
  357. package/node_modules/semver/index.js +91 -0
  358. package/node_modules/semver/internal/constants.js +37 -0
  359. package/node_modules/semver/internal/debug.js +11 -0
  360. package/node_modules/semver/internal/identifiers.js +29 -0
  361. package/node_modules/semver/internal/lrucache.js +42 -0
  362. package/node_modules/semver/internal/parse-options.js +17 -0
  363. package/node_modules/semver/internal/re.js +223 -0
  364. package/node_modules/semver/package.json +78 -0
  365. package/node_modules/semver/preload.js +4 -0
  366. package/node_modules/semver/range.bnf +16 -0
  367. package/node_modules/semver/ranges/gtr.js +6 -0
  368. package/node_modules/semver/ranges/intersects.js +9 -0
  369. package/node_modules/semver/ranges/ltr.js +6 -0
  370. package/node_modules/semver/ranges/max-satisfying.js +27 -0
  371. package/node_modules/semver/ranges/min-satisfying.js +26 -0
  372. package/node_modules/semver/ranges/min-version.js +63 -0
  373. package/node_modules/semver/ranges/outside.js +82 -0
  374. package/node_modules/semver/ranges/simplify.js +49 -0
  375. package/node_modules/semver/ranges/subset.js +249 -0
  376. package/node_modules/semver/ranges/to-comparators.js +10 -0
  377. package/node_modules/semver/ranges/valid.js +13 -0
  378. package/node_modules/simple-concat/.travis.yml +3 -0
  379. package/node_modules/simple-concat/LICENSE +20 -0
  380. package/node_modules/simple-concat/README.md +44 -0
  381. package/node_modules/simple-concat/index.js +15 -0
  382. package/node_modules/simple-concat/package.json +47 -0
  383. package/node_modules/simple-concat/test/basic.js +41 -0
  384. package/node_modules/simple-get/.github/dependabot.yml +15 -0
  385. package/node_modules/simple-get/.github/workflows/ci.yml +23 -0
  386. package/node_modules/simple-get/LICENSE +20 -0
  387. package/node_modules/simple-get/README.md +333 -0
  388. package/node_modules/simple-get/index.js +108 -0
  389. package/node_modules/simple-get/package.json +67 -0
  390. package/node_modules/string_decoder/LICENSE +48 -0
  391. package/node_modules/string_decoder/README.md +47 -0
  392. package/node_modules/string_decoder/lib/string_decoder.js +296 -0
  393. package/node_modules/string_decoder/package.json +34 -0
  394. package/node_modules/strip-json-comments/index.js +70 -0
  395. package/node_modules/strip-json-comments/license +21 -0
  396. package/node_modules/strip-json-comments/package.json +42 -0
  397. package/node_modules/strip-json-comments/readme.md +64 -0
  398. package/node_modules/tar-fs/.travis.yml +6 -0
  399. package/node_modules/tar-fs/LICENSE +21 -0
  400. package/node_modules/tar-fs/README.md +165 -0
  401. package/node_modules/tar-fs/index.js +363 -0
  402. package/node_modules/tar-fs/package.json +41 -0
  403. package/node_modules/tar-fs/test/fixtures/a/hello.txt +1 -0
  404. package/node_modules/tar-fs/test/fixtures/b/a/test.txt +1 -0
  405. package/node_modules/tar-fs/test/fixtures/d/file1 +0 -0
  406. package/node_modules/tar-fs/test/fixtures/d/file2 +0 -0
  407. package/node_modules/tar-fs/test/fixtures/d/sub-dir/file5 +0 -0
  408. package/node_modules/tar-fs/test/fixtures/d/sub-files/file3 +0 -0
  409. package/node_modules/tar-fs/test/fixtures/d/sub-files/file4 +0 -0
  410. package/node_modules/tar-fs/test/fixtures/e/directory/.ignore +0 -0
  411. package/node_modules/tar-fs/test/fixtures/e/file +0 -0
  412. package/node_modules/tar-fs/test/fixtures/invalid.tar +0 -0
  413. package/node_modules/tar-fs/test/index.js +346 -0
  414. package/node_modules/tar-stream/LICENSE +21 -0
  415. package/node_modules/tar-stream/README.md +168 -0
  416. package/node_modules/tar-stream/extract.js +257 -0
  417. package/node_modules/tar-stream/headers.js +295 -0
  418. package/node_modules/tar-stream/index.js +2 -0
  419. package/node_modules/tar-stream/pack.js +255 -0
  420. package/node_modules/tar-stream/package.json +58 -0
  421. package/node_modules/tar-stream/sandbox.js +11 -0
  422. package/node_modules/tunnel-agent/LICENSE +55 -0
  423. package/node_modules/tunnel-agent/README.md +4 -0
  424. package/node_modules/tunnel-agent/index.js +244 -0
  425. package/node_modules/tunnel-agent/package.json +22 -0
  426. package/node_modules/util-deprecate/History.md +16 -0
  427. package/node_modules/util-deprecate/LICENSE +24 -0
  428. package/node_modules/util-deprecate/README.md +53 -0
  429. package/node_modules/util-deprecate/browser.js +67 -0
  430. package/node_modules/util-deprecate/node.js +6 -0
  431. package/node_modules/util-deprecate/package.json +27 -0
  432. package/package.json +10 -8
  433. package/packages/native/dist/index.d.ts +6 -0
  434. package/packages/native/dist/index.js +4 -0
  435. package/packages/native/dist/json-parse/index.d.ts +20 -0
  436. package/packages/native/dist/json-parse/index.js +30 -0
  437. package/packages/native/dist/native.d.ts +10 -0
  438. package/packages/native/dist/stream-process/index.d.ts +35 -0
  439. package/packages/native/dist/stream-process/index.js +48 -0
  440. package/packages/native/dist/truncate/index.d.ts +29 -0
  441. package/packages/native/dist/truncate/index.js +25 -0
  442. package/packages/native/dist/xxhash/index.d.ts +0 -1
  443. package/packages/native/dist/xxhash/index.js +0 -1
  444. package/packages/native/package.json +4 -0
  445. package/packages/native/src/__tests__/json-parse.test.mjs +158 -0
  446. package/packages/native/src/__tests__/truncate.test.mjs +145 -0
  447. package/packages/native/src/__tests__/xxhash.test.mjs +86 -0
  448. package/packages/native/src/index.ts +17 -0
  449. package/packages/native/src/json-parse/index.ts +34 -0
  450. package/packages/native/src/native.ts +10 -0
  451. package/packages/native/src/stream-process/index.ts +75 -0
  452. package/packages/native/src/truncate/index.ts +50 -0
  453. package/packages/native/src/xxhash/index.ts +18 -0
  454. package/packages/pi-ai/dist/index.d.ts +1 -1
  455. package/packages/pi-ai/dist/index.d.ts.map +1 -1
  456. package/packages/pi-ai/dist/index.js.map +1 -1
  457. package/packages/pi-ai/dist/models.generated.d.ts +17 -0
  458. package/packages/pi-ai/dist/models.generated.d.ts.map +1 -1
  459. package/packages/pi-ai/dist/models.generated.js +17 -0
  460. package/packages/pi-ai/dist/models.generated.js.map +1 -1
  461. package/packages/pi-ai/dist/providers/anthropic.d.ts +8 -0
  462. package/packages/pi-ai/dist/providers/anthropic.d.ts.map +1 -1
  463. package/packages/pi-ai/dist/providers/anthropic.js +42 -0
  464. package/packages/pi-ai/dist/providers/anthropic.js.map +1 -1
  465. package/packages/pi-ai/dist/types.d.ts +2 -0
  466. package/packages/pi-ai/dist/types.d.ts.map +1 -1
  467. package/packages/pi-ai/dist/types.js.map +1 -1
  468. package/packages/pi-ai/dist/utils/json-parse.d.ts +2 -0
  469. package/packages/pi-ai/dist/utils/json-parse.d.ts.map +1 -1
  470. package/packages/pi-ai/dist/utils/json-parse.js +4 -19
  471. package/packages/pi-ai/dist/utils/json-parse.js.map +1 -1
  472. package/packages/pi-ai/dist/utils/oauth/index.d.ts +1 -10
  473. package/packages/pi-ai/dist/utils/oauth/index.d.ts.map +1 -1
  474. package/packages/pi-ai/dist/utils/oauth/index.js +0 -21
  475. package/packages/pi-ai/dist/utils/oauth/index.js.map +1 -1
  476. package/packages/pi-ai/dist/utils/oauth/types.d.ts +0 -8
  477. package/packages/pi-ai/dist/utils/oauth/types.d.ts.map +1 -1
  478. package/packages/pi-ai/dist/utils/oauth/types.js.map +1 -1
  479. package/packages/pi-ai/package.json +0 -1
  480. package/packages/pi-ai/src/index.ts +0 -2
  481. package/packages/pi-ai/src/models.generated.ts +17 -0
  482. package/packages/pi-ai/src/providers/anthropic.ts +43 -0
  483. package/packages/pi-ai/src/types.ts +2 -0
  484. package/packages/pi-ai/src/utils/json-parse.ts +4 -18
  485. package/packages/pi-ai/src/utils/oauth/index.ts +1 -27
  486. package/packages/pi-ai/src/utils/oauth/types.ts +0 -10
  487. package/packages/pi-coding-agent/dist/core/agent-session.d.ts.map +1 -1
  488. package/packages/pi-coding-agent/dist/core/agent-session.js +23 -1
  489. package/packages/pi-coding-agent/dist/core/agent-session.js.map +1 -1
  490. package/packages/pi-coding-agent/dist/core/bash-executor.d.ts.map +1 -1
  491. package/packages/pi-coding-agent/dist/core/bash-executor.js +12 -8
  492. package/packages/pi-coding-agent/dist/core/bash-executor.js.map +1 -1
  493. package/packages/pi-coding-agent/dist/core/model-resolver.d.ts.map +1 -1
  494. package/packages/pi-coding-agent/dist/core/model-resolver.js +11 -0
  495. package/packages/pi-coding-agent/dist/core/model-resolver.js.map +1 -1
  496. package/packages/pi-coding-agent/dist/core/settings-manager.d.ts +24 -0
  497. package/packages/pi-coding-agent/dist/core/settings-manager.d.ts.map +1 -1
  498. package/packages/pi-coding-agent/dist/core/settings-manager.js +16 -0
  499. package/packages/pi-coding-agent/dist/core/settings-manager.js.map +1 -1
  500. package/packages/pi-coding-agent/dist/core/tools/hashline.d.ts.map +1 -1
  501. package/packages/pi-coding-agent/dist/core/tools/hashline.js +1 -59
  502. package/packages/pi-coding-agent/dist/core/tools/hashline.js.map +1 -1
  503. package/packages/pi-coding-agent/dist/index.d.ts +1 -1
  504. package/packages/pi-coding-agent/dist/index.d.ts.map +1 -1
  505. package/packages/pi-coding-agent/dist/index.js.map +1 -1
  506. package/packages/pi-coding-agent/dist/modes/interactive/components/keybinding-hints.d.ts +5 -0
  507. package/packages/pi-coding-agent/dist/modes/interactive/components/keybinding-hints.d.ts.map +1 -1
  508. package/packages/pi-coding-agent/dist/modes/interactive/components/keybinding-hints.js +13 -2
  509. package/packages/pi-coding-agent/dist/modes/interactive/components/keybinding-hints.js.map +1 -1
  510. package/packages/pi-coding-agent/dist/modes/interactive/components/scoped-models-selector.js +1 -1
  511. package/packages/pi-coding-agent/dist/modes/interactive/components/scoped-models-selector.js.map +1 -1
  512. package/packages/pi-coding-agent/dist/modes/interactive/components/settings-selector.js +1 -1
  513. package/packages/pi-coding-agent/dist/modes/interactive/components/settings-selector.js.map +1 -1
  514. package/packages/pi-coding-agent/dist/modes/interactive/components/tool-execution.d.ts.map +1 -1
  515. package/packages/pi-coding-agent/dist/modes/interactive/components/tool-execution.js +3 -1
  516. package/packages/pi-coding-agent/dist/modes/interactive/components/tool-execution.js.map +1 -1
  517. package/packages/pi-coding-agent/dist/modes/interactive/components/tree-selector.js +1 -1
  518. package/packages/pi-coding-agent/dist/modes/interactive/components/tree-selector.js.map +1 -1
  519. package/packages/pi-coding-agent/dist/modes/interactive/interactive-mode.js +2 -2
  520. package/packages/pi-coding-agent/dist/modes/interactive/interactive-mode.js.map +1 -1
  521. package/packages/pi-coding-agent/dist/resources/extensions/memory/index.d.ts +15 -0
  522. package/packages/pi-coding-agent/dist/resources/extensions/memory/index.d.ts.map +1 -0
  523. package/packages/pi-coding-agent/dist/resources/extensions/memory/index.js +206 -0
  524. package/packages/pi-coding-agent/dist/resources/extensions/memory/index.js.map +1 -0
  525. package/packages/pi-coding-agent/dist/resources/extensions/memory/pipeline.d.ts +39 -0
  526. package/packages/pi-coding-agent/dist/resources/extensions/memory/pipeline.d.ts.map +1 -0
  527. package/packages/pi-coding-agent/dist/resources/extensions/memory/pipeline.js +453 -0
  528. package/packages/pi-coding-agent/dist/resources/extensions/memory/pipeline.js.map +1 -0
  529. package/packages/pi-coding-agent/dist/resources/extensions/memory/storage.d.ts +128 -0
  530. package/packages/pi-coding-agent/dist/resources/extensions/memory/storage.d.ts.map +1 -0
  531. package/packages/pi-coding-agent/dist/resources/extensions/memory/storage.js +345 -0
  532. package/packages/pi-coding-agent/dist/resources/extensions/memory/storage.js.map +1 -0
  533. package/packages/pi-coding-agent/package.json +2 -0
  534. package/packages/pi-coding-agent/src/core/agent-session.ts +22 -1
  535. package/packages/pi-coding-agent/src/core/bash-executor.ts +12 -8
  536. package/packages/pi-coding-agent/src/core/model-resolver.ts +12 -0
  537. package/packages/pi-coding-agent/src/core/settings-manager.ts +42 -0
  538. package/packages/pi-coding-agent/src/core/tools/hashline.ts +1 -70
  539. package/packages/pi-coding-agent/src/index.ts +2 -0
  540. package/packages/pi-coding-agent/src/modes/interactive/components/keybinding-hints.ts +14 -2
  541. package/packages/pi-coding-agent/src/modes/interactive/components/scoped-models-selector.ts +1 -1
  542. package/packages/pi-coding-agent/src/modes/interactive/components/settings-selector.ts +1 -1
  543. package/packages/pi-coding-agent/src/modes/interactive/components/tool-execution.ts +3 -1
  544. package/packages/pi-coding-agent/src/modes/interactive/components/tree-selector.ts +1 -1
  545. package/packages/pi-coding-agent/src/modes/interactive/interactive-mode.ts +2 -2
  546. package/packages/pi-coding-agent/src/resources/extensions/memory/index.ts +270 -0
  547. package/packages/pi-coding-agent/src/resources/extensions/memory/pipeline.ts +547 -0
  548. package/packages/pi-coding-agent/src/resources/extensions/memory/storage.ts +488 -0
  549. package/packages/pi-tui/dist/tui.d.ts.map +1 -1
  550. package/packages/pi-tui/dist/tui.js +3 -26
  551. package/packages/pi-tui/dist/tui.js.map +1 -1
  552. package/packages/pi-tui/src/tui.ts +3 -28
  553. package/src/resources/extensions/async-jobs/job-manager.ts +4 -43
  554. package/src/resources/extensions/gsd/auto.ts +193 -12
  555. package/src/resources/extensions/gsd/dashboard-overlay.ts +1 -1
  556. package/src/resources/extensions/gsd/git-service.ts +103 -41
  557. package/src/resources/extensions/gsd/tests/git-service.test.ts +19 -4
  558. package/src/resources/extensions/gsd/tests/idle-recovery.test.ts +117 -2
  559. package/src/resources/extensions/gsd/worktree-manager.ts +8 -0
  560. package/src/resources/extensions/gsd/worktree.ts +1 -0
  561. package/src/resources/extensions/search-the-web/provider.ts +1 -0
  562. package/src/resources/extensions/subagent/index.ts +72 -21
  563. package/src/resources/extensions/subagent/isolation.ts +498 -0
  564. package/src/resources/skills/github-workflows/SKILL.md +87 -0
  565. package/src/resources/skills/github-workflows/references/gh/SKILL.md +255 -0
  566. package/src/resources/skills/github-workflows/references/gh/references/issue-stories.md +204 -0
  567. package/src/resources/skills/github-workflows/references/gh/references/labels.md +170 -0
  568. package/src/resources/skills/github-workflows/references/gh/references/milestones.md +158 -0
  569. package/src/resources/skills/github-workflows/references/gh/references/projects-v2.md +177 -0
  570. package/src/resources/skills/github-workflows/references/gh/scripts/experiment_cleanup.py +191 -0
  571. package/src/resources/skills/github-workflows/references/gh/scripts/github_project_setup.py +799 -0
  572. package/src/resources/skills/github-workflows/references/gh/tests/__init__.py +0 -0
  573. package/src/resources/skills/github-workflows/references/gh/tests/test_github_project_setup.py +608 -0
  574. package/dist/modes/interactive/theme/dark.json +0 -85
  575. package/dist/modes/interactive/theme/light.json +0 -84
  576. package/dist/modes/interactive/theme/theme-schema.json +0 -335
  577. package/dist/modes/interactive/theme/theme.d.ts +0 -78
  578. package/dist/modes/interactive/theme/theme.d.ts.map +0 -1
  579. package/dist/modes/interactive/theme/theme.js +0 -949
  580. package/dist/modes/interactive/theme/theme.js.map +0 -1
  581. package/node_modules/@gsd/native/dist/hasher/index.d.ts +0 -32
  582. package/node_modules/@gsd/native/dist/hasher/index.js +0 -37
  583. package/node_modules/partial-json/README.md +0 -131
  584. package/node_modules/partial-json/dist/index.d.ts +0 -18
  585. package/node_modules/partial-json/dist/index.d.ts.map +0 -1
  586. package/node_modules/partial-json/dist/index.js +0 -220
  587. package/node_modules/partial-json/dist/options.d.ts +0 -85
  588. package/node_modules/partial-json/dist/options.d.ts.map +0 -1
  589. package/node_modules/partial-json/dist/options.js +0 -72
  590. package/node_modules/partial-json/package.json +0 -43
  591. package/packages/native/dist/hasher/index.d.ts +0 -32
  592. package/packages/native/dist/hasher/index.js +0 -37
package/dist/loader.js CHANGED
File without changes
@@ -222,17 +222,21 @@ async function runLlmStep(p, pc, authStorage) {
222
222
  // Build the OAuth provider list dynamically from what's registered
223
223
  const oauthProviders = authStorage.getOAuthProviders();
224
224
  const oauthMap = new Map(oauthProviders.map(op => [op.id, op]));
225
- // ── Step 1: How do you want to authenticate? ─────────────────────────────
225
+ // Check if already authenticated
226
+ const existingAuth = LLM_PROVIDER_IDS.find(id => authStorage.hasAuth(id));
227
+ const authOptions = [];
228
+ if (existingAuth) {
229
+ authOptions.push({ value: 'keep', label: `Keep current (${existingAuth})`, hint: 'already configured' });
230
+ }
231
+ authOptions.push({ value: 'browser', label: 'Sign in with your browser', hint: 'recommended — same login as claude.ai / ChatGPT' }, { value: 'api-key', label: 'Paste an API key', hint: 'from your provider dashboard' }, { value: 'skip', label: 'Skip for now', hint: 'use /login inside GSD later' });
226
232
  const method = await p.select({
227
- message: 'How do you want to sign in?',
228
- options: [
229
- { value: 'browser', label: 'Sign in with your browser', hint: 'recommended — same login as claude.ai / ChatGPT' },
230
- { value: 'api-key', label: 'Paste an API key', hint: 'from your provider dashboard' },
231
- { value: 'skip', label: 'Skip for now', hint: 'use /login inside GSD later' },
232
- ],
233
+ message: existingAuth ? `LLM provider: ${existingAuth} — change it?` : 'How do you want to sign in?',
234
+ options: authOptions,
233
235
  });
234
236
  if (p.isCancel(method) || method === 'skip')
235
237
  return false;
238
+ if (method === 'keep')
239
+ return true;
236
240
  // ── Step 2: Which provider? ──────────────────────────────────────────────
237
241
  if (method === 'browser') {
238
242
  const provider = await p.select({
@@ -354,7 +358,14 @@ async function runWebSearchStep(p, pc, authStorage, isAnthropicAuth) {
354
358
  // Check which LLM provider was configured
355
359
  const authed = authStorage.list().filter(id => LLM_PROVIDER_IDS.includes(id));
356
360
  const isAnthropic = isAnthropicAuth && authed.includes('anthropic');
361
+ // Check if web search is already configured
362
+ const hasBrave = !!process.env.BRAVE_API_KEY || authStorage.has('brave');
363
+ const hasTavily = !!process.env.TAVILY_API_KEY || authStorage.has('tavily');
364
+ const existingSearch = hasBrave ? 'Brave Search' : hasTavily ? 'Tavily' : null;
357
365
  const options = [];
366
+ if (existingSearch) {
367
+ options.push({ value: 'keep', label: `Keep current (${existingSearch})`, hint: 'already configured' });
368
+ }
358
369
  if (isAnthropic) {
359
370
  options.push({
360
371
  value: 'anthropic-native',
@@ -369,6 +380,8 @@ async function runWebSearchStep(p, pc, authStorage, isAnthropicAuth) {
369
380
  });
370
381
  if (p.isCancel(choice) || choice === 'skip')
371
382
  return null;
383
+ if (choice === 'keep')
384
+ return existingSearch;
372
385
  if (choice === 'anthropic-native') {
373
386
  p.log.success(`Web search: ${pc.green('Anthropic built-in')} — works out of the box`);
374
387
  return 'Anthropic built-in';
@@ -5,7 +5,7 @@ export declare function discoverExtensionEntryPaths(extensionsDir: string): stri
5
5
  *
6
6
  * - extensions/ → ~/.gsd/agent/extensions/ (always overwrite — ensures updates ship on next launch)
7
7
  * - agents/ → ~/.gsd/agent/agents/ (always overwrite)
8
- * - AGENTS.md → ~/.gsd/agent/AGENTS.md (always overwrite)
8
+ * - skills/ → ~/.gsd/agent/skills/ (always overwrite)
9
9
  * - GSD-WORKFLOW.md is read directly from bundled path via GSD_WORKFLOW_PATH env var
10
10
  *
11
11
  * Always-overwrite ensures `npm update -g @glittercowboy/gsd` takes effect immediately.
@@ -1,6 +1,6 @@
1
1
  import { DefaultResourceLoader } from '@gsd/pi-coding-agent';
2
2
  import { homedir } from 'node:os';
3
- import { cpSync, existsSync, mkdirSync, readFileSync, readdirSync, writeFileSync } from 'node:fs';
3
+ import { cpSync, existsSync, mkdirSync, readFileSync, readdirSync } from 'node:fs';
4
4
  import { dirname, join, relative, resolve } from 'node:path';
5
5
  import { fileURLToPath } from 'node:url';
6
6
  // Resolves to the bundled src/resources/ inside the npm package at runtime:
@@ -66,7 +66,7 @@ function getExtensionKey(entryPath, extensionsDir) {
66
66
  *
67
67
  * - extensions/ → ~/.gsd/agent/extensions/ (always overwrite — ensures updates ship on next launch)
68
68
  * - agents/ → ~/.gsd/agent/agents/ (always overwrite)
69
- * - AGENTS.md → ~/.gsd/agent/AGENTS.md (always overwrite)
69
+ * - skills/ → ~/.gsd/agent/skills/ (always overwrite)
70
70
  * - GSD-WORKFLOW.md is read directly from bundled path via GSD_WORKFLOW_PATH env var
71
71
  *
72
72
  * Always-overwrite ensures `npm update -g @glittercowboy/gsd` takes effect immediately.
@@ -92,12 +92,6 @@ export function initResources(agentDir) {
92
92
  if (existsSync(srcSkills)) {
93
93
  cpSync(srcSkills, destSkills, { recursive: true, force: true });
94
94
  }
95
- // Sync AGENTS.md
96
- const srcAgentsMd = join(resourcesDir, 'AGENTS.md');
97
- const destAgentsMd = join(agentDir, 'AGENTS.md');
98
- if (existsSync(srcAgentsMd)) {
99
- writeFileSync(destAgentsMd, readFileSync(srcAgentsMd));
100
- }
101
95
  }
102
96
  /**
103
97
  * Constructs a DefaultResourceLoader that loads extensions from both
@@ -34,7 +34,13 @@ export { fuzzyFind } from "./fd/index.js";
34
34
  export type { FuzzyFindMatch, FuzzyFindOptions, FuzzyFindResult, } from "./fd/index.js";
35
35
  export { parseImage, ImageFormat, SamplingFilter } from "./image/index.js";
36
36
  export type { NativeImageHandle } from "./image/index.js";
37
+ export { xxHash32 } from "./xxhash/index.js";
37
38
  export { ttsrCompileRules, ttsrCheckBuffer, ttsrFreeRules } from "./ttsr/index.js";
38
39
  export type { TtsrHandle, TtsrRuleInput } from "./ttsr/index.js";
40
+ export { parseJson, parsePartialJson, parseStreamingJson, } from "./json-parse/index.js";
41
+ export { processStreamChunk, stripAnsiNative, sanitizeBinaryOutputNative, } from "./stream-process/index.js";
42
+ export type { StreamState, StreamChunkResult } from "./stream-process/index.js";
39
43
  export { parseFrontmatter, extractSection as nativeExtractSection, extractAllSections, batchParseGsdFiles, parseRoadmapFile, } from "./gsd-parser/index.js";
40
44
  export type { BatchParseResult, FrontmatterResult, NativeBoundaryMapEntry, NativeRoadmap, NativeRoadmapSlice, ParsedGsdFile, SectionResult, } from "./gsd-parser/index.js";
45
+ export { truncateTail, truncateHead, truncateOutput } from "./truncate/index.js";
46
+ export type { TruncateResult, TruncateOutputResult } from "./truncate/index.js";
@@ -24,5 +24,9 @@ export { wrapTextWithAnsi, truncateToWidth, sliceWithWidth, extractSegments, san
24
24
  export { normalizeForFuzzyMatch, fuzzyFindText, generateDiff, } from "./diff/index.js";
25
25
  export { fuzzyFind } from "./fd/index.js";
26
26
  export { parseImage, ImageFormat, SamplingFilter } from "./image/index.js";
27
+ export { xxHash32 } from "./xxhash/index.js";
27
28
  export { ttsrCompileRules, ttsrCheckBuffer, ttsrFreeRules } from "./ttsr/index.js";
29
+ export { parseJson, parsePartialJson, parseStreamingJson, } from "./json-parse/index.js";
30
+ export { processStreamChunk, stripAnsiNative, sanitizeBinaryOutputNative, } from "./stream-process/index.js";
28
31
  export { parseFrontmatter, extractSection as nativeExtractSection, extractAllSections, batchParseGsdFiles, parseRoadmapFile, } from "./gsd-parser/index.js";
32
+ export { truncateTail, truncateHead, truncateOutput } from "./truncate/index.js";
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Streaming JSON parser via native Rust bindings.
3
+ *
4
+ * Provides fast JSON parsing with recovery for incomplete/partial JSON,
5
+ * used during LLM streaming tool call argument parsing.
6
+ */
7
+ /**
8
+ * Parse a complete JSON string. Throws on invalid JSON.
9
+ */
10
+ export declare function parseJson<T = unknown>(text: string): T;
11
+ /**
12
+ * Parse potentially incomplete JSON by closing unclosed structures.
13
+ * Handles unclosed strings, objects, arrays, trailing commas, and truncated literals.
14
+ */
15
+ export declare function parsePartialJson<T = unknown>(text: string): T;
16
+ /**
17
+ * Try full JSON parse first; fall back to partial parse.
18
+ * Returns `{}` on total failure. Drop-in replacement for the JS streaming parser.
19
+ */
20
+ export declare function parseStreamingJson<T = unknown>(text: string | undefined): T;
@@ -0,0 +1,30 @@
1
+ /**
2
+ * Streaming JSON parser via native Rust bindings.
3
+ *
4
+ * Provides fast JSON parsing with recovery for incomplete/partial JSON,
5
+ * used during LLM streaming tool call argument parsing.
6
+ */
7
+ import { native } from "../native.js";
8
+ /**
9
+ * Parse a complete JSON string. Throws on invalid JSON.
10
+ */
11
+ export function parseJson(text) {
12
+ return native.parseJson(text);
13
+ }
14
+ /**
15
+ * Parse potentially incomplete JSON by closing unclosed structures.
16
+ * Handles unclosed strings, objects, arrays, trailing commas, and truncated literals.
17
+ */
18
+ export function parsePartialJson(text) {
19
+ return native.parsePartialJson(text);
20
+ }
21
+ /**
22
+ * Try full JSON parse first; fall back to partial parse.
23
+ * Returns `{}` on total failure. Drop-in replacement for the JS streaming parser.
24
+ */
25
+ export function parseStreamingJson(text) {
26
+ if (!text || text.trim() === "") {
27
+ return {};
28
+ }
29
+ return native.parseStreamingJson(text);
30
+ }
@@ -39,9 +39,19 @@ export declare const native: {
39
39
  ttsrCompileRules: (rules: unknown[]) => number;
40
40
  ttsrCheckBuffer: (handle: number, buffer: string) => string[];
41
41
  ttsrFreeRules: (handle: number) => void;
42
+ processStreamChunk: (chunk: Buffer, state?: unknown) => unknown;
43
+ stripAnsiNative: (text: string) => string;
44
+ sanitizeBinaryOutputNative: (text: string) => string;
42
45
  parseFrontmatter: (content: string) => unknown;
43
46
  extractSection: (content: string, heading: string, level?: number) => unknown;
44
47
  extractAllSections: (content: string, level?: number) => string;
45
48
  batchParseGsdFiles: (directory: string) => unknown;
46
49
  parseRoadmapFile: (content: string) => unknown;
50
+ truncateTail: (text: string, maxBytes: number) => unknown;
51
+ truncateHead: (text: string, maxBytes: number) => unknown;
52
+ truncateOutput: (text: string, maxBytes: number, mode?: string) => unknown;
53
+ parseJson: (text: string) => unknown;
54
+ parsePartialJson: (text: string) => unknown;
55
+ parseStreamingJson: (text: string) => unknown;
56
+ xxHash32: (input: string, seed: number) => number;
47
57
  };
@@ -0,0 +1,35 @@
1
+ /**
2
+ * Bash stream processor — single-pass UTF-8 decode + ANSI strip + binary sanitization.
3
+ *
4
+ * Handles chunk boundaries for incomplete UTF-8 and ANSI escape sequences.
5
+ */
6
+ export interface StreamState {
7
+ utf8Pending: number[];
8
+ ansiPending: number[];
9
+ }
10
+ export interface StreamChunkResult {
11
+ text: string;
12
+ state: StreamState;
13
+ }
14
+ /**
15
+ * Process a raw bash output chunk in a single pass.
16
+ *
17
+ * Decodes UTF-8 (handling incomplete multibyte sequences at boundaries),
18
+ * strips ANSI escape sequences, removes control characters (except tab and
19
+ * newline), removes carriage returns, and filters Unicode format characters.
20
+ *
21
+ * Pass the returned `state` to the next call to handle sequences split
22
+ * across chunk boundaries.
23
+ */
24
+ export declare function processStreamChunk(chunk: Buffer, state?: StreamState): StreamChunkResult;
25
+ /**
26
+ * Strip ANSI escape sequences from a string.
27
+ */
28
+ export declare function stripAnsiNative(text: string): string;
29
+ /**
30
+ * Remove binary garbage and control characters from a string.
31
+ *
32
+ * Keeps tab and newline. Removes carriage return, all other control
33
+ * characters, Unicode format characters (U+FFF9-U+FFFB), and lone surrogates.
34
+ */
35
+ export declare function sanitizeBinaryOutputNative(text: string): string;
@@ -0,0 +1,48 @@
1
+ /**
2
+ * Bash stream processor — single-pass UTF-8 decode + ANSI strip + binary sanitization.
3
+ *
4
+ * Handles chunk boundaries for incomplete UTF-8 and ANSI escape sequences.
5
+ */
6
+ import { native } from "../native.js";
7
+ /**
8
+ * Process a raw bash output chunk in a single pass.
9
+ *
10
+ * Decodes UTF-8 (handling incomplete multibyte sequences at boundaries),
11
+ * strips ANSI escape sequences, removes control characters (except tab and
12
+ * newline), removes carriage returns, and filters Unicode format characters.
13
+ *
14
+ * Pass the returned `state` to the next call to handle sequences split
15
+ * across chunk boundaries.
16
+ */
17
+ export function processStreamChunk(chunk, state) {
18
+ // Convert StreamState arrays to the format napi expects (Vec<u8>)
19
+ const napiState = state
20
+ ? {
21
+ utf8Pending: Buffer.from(state.utf8Pending),
22
+ ansiPending: Buffer.from(state.ansiPending),
23
+ }
24
+ : undefined;
25
+ const result = native.processStreamChunk(chunk, napiState);
26
+ return {
27
+ text: result.text,
28
+ state: {
29
+ utf8Pending: Array.from(result.state.utf8Pending),
30
+ ansiPending: Array.from(result.state.ansiPending),
31
+ },
32
+ };
33
+ }
34
+ /**
35
+ * Strip ANSI escape sequences from a string.
36
+ */
37
+ export function stripAnsiNative(text) {
38
+ return native.stripAnsiNative(text);
39
+ }
40
+ /**
41
+ * Remove binary garbage and control characters from a string.
42
+ *
43
+ * Keeps tab and newline. Removes carriage return, all other control
44
+ * characters, Unicode format characters (U+FFF9-U+FFFB), and lone surrogates.
45
+ */
46
+ export function sanitizeBinaryOutputNative(text) {
47
+ return native.sanitizeBinaryOutputNative(text);
48
+ }
@@ -0,0 +1,29 @@
1
+ /**
2
+ * Line-boundary-aware output truncation (native Rust).
3
+ *
4
+ * Truncates tool output at line boundaries, counting by UTF-8 bytes.
5
+ * Three modes: head (keep end), tail (keep start), both (keep start+end).
6
+ */
7
+ export interface TruncateResult {
8
+ text: string;
9
+ truncated: boolean;
10
+ originalLines: number;
11
+ keptLines: number;
12
+ }
13
+ export interface TruncateOutputResult {
14
+ text: string;
15
+ truncated: boolean;
16
+ message?: string;
17
+ }
18
+ /**
19
+ * Keep the first `maxBytes` worth of complete lines.
20
+ */
21
+ export declare function truncateTail(text: string, maxBytes: number): TruncateResult;
22
+ /**
23
+ * Keep the last `maxBytes` worth of complete lines.
24
+ */
25
+ export declare function truncateHead(text: string, maxBytes: number): TruncateResult;
26
+ /**
27
+ * Main entry point: truncate tool output with head/tail/both modes.
28
+ */
29
+ export declare function truncateOutput(text: string, maxBytes: number, mode?: string): TruncateOutputResult;
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Line-boundary-aware output truncation (native Rust).
3
+ *
4
+ * Truncates tool output at line boundaries, counting by UTF-8 bytes.
5
+ * Three modes: head (keep end), tail (keep start), both (keep start+end).
6
+ */
7
+ import { native } from "../native.js";
8
+ /**
9
+ * Keep the first `maxBytes` worth of complete lines.
10
+ */
11
+ export function truncateTail(text, maxBytes) {
12
+ return native.truncateTail(text, maxBytes);
13
+ }
14
+ /**
15
+ * Keep the last `maxBytes` worth of complete lines.
16
+ */
17
+ export function truncateHead(text, maxBytes) {
18
+ return native.truncateHead(text, maxBytes);
19
+ }
20
+ /**
21
+ * Main entry point: truncate tool output with head/tail/both modes.
22
+ */
23
+ export function truncateOutput(text, maxBytes, mode) {
24
+ return native.truncateOutput(text, maxBytes, mode);
25
+ }
@@ -1,7 +1,6 @@
1
1
  /**
2
2
  * Native xxHash32 — Rust implementation via napi-rs.
3
3
  *
4
- * Drop-in replacement for the pure-JS xxHash32 in hashline.ts.
5
4
  * Hashes the UTF-8 representation of the input string with the given seed.
6
5
  */
7
6
  /**
@@ -1,7 +1,6 @@
1
1
  /**
2
2
  * Native xxHash32 — Rust implementation via napi-rs.
3
3
  *
4
- * Drop-in replacement for the pure-JS xxHash32 in hashline.ts.
5
4
  * Hashes the UTF-8 representation of the input string with the given seed.
6
5
  */
7
6
  import { native } from "../native.js";
@@ -51,6 +51,10 @@
51
51
  "./image": {
52
52
  "types": "./dist/image/index.d.ts",
53
53
  "import": "./dist/image/index.js"
54
+ },
55
+ "./xxhash": {
56
+ "types": "./dist/xxhash/index.d.ts",
57
+ "import": "./dist/xxhash/index.js"
54
58
  }
55
59
  },
56
60
  "files": [
@@ -16,7 +16,7 @@ export * from "./stream.js";
16
16
  export * from "./types.js";
17
17
  export * from "./utils/event-stream.js";
18
18
  export * from "./utils/json-parse.js";
19
- export type { OAuthAuthInfo, OAuthCredentials, OAuthLoginCallbacks, OAuthPrompt, OAuthProvider, OAuthProviderId, OAuthProviderInfo, OAuthProviderInterface, } from "./utils/oauth/types.js";
19
+ export type { OAuthAuthInfo, OAuthCredentials, OAuthLoginCallbacks, OAuthPrompt, OAuthProviderId, OAuthProviderInterface, } from "./utils/oauth/types.js";
20
20
  export * from "./utils/overflow.js";
21
21
  export * from "./utils/typebox-helpers.js";
22
22
  export * from "./utils/validation.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAEzC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAm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B,EAChB,mBAAmB,EACnB,WAAW,EACX,eAAe,EACf,sBAAsB,GACtB,MAAM,wBAAwB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,uBAAuB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAEzC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,0BAA0B,CAAC;AACzC,cAAc,uCAAuC,CAAC;AACtD,cAAc,uBAAuB,CAAC;AACtC,cAAc,kCAAkC,CAAC;AACjD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wBAAwB,CAAC;AACvC,cAAc,mCAAmC,CAAC;AAClD,cAAc,iCAAiC,CAAC;AAChD,cAAc,kCAAkC,CAAC;AACjD,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AAWtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,uBAAuB,CAAC","sourcesContent":["export type { Static, TSchema } from \"@sinclair/typebox\";\nexport { Type } from \"@sinclair/typebox\";\n\nexport * from \"./api-registry.js\";\nexport * from \"./env-api-keys.js\";\nexport * from \"./models.js\";\nexport * from \"./providers/anthropic.js\";\nexport * from \"./providers/azure-openai-responses.js\";\nexport * from \"./providers/google.js\";\nexport * from \"./providers/google-gemini-cli.js\";\nexport * from \"./providers/google-vertex.js\";\nexport * from \"./providers/mistral.js\";\nexport * from \"./providers/openai-completions.js\";\nexport * from \"./providers/openai-responses.js\";\nexport * from \"./providers/register-builtins.js\";\nexport * from \"./stream.js\";\nexport * from \"./types.js\";\nexport * from \"./utils/event-stream.js\";\nexport * from \"./utils/json-parse.js\";\nexport type {\n\tOAuthAuthInfo,\n\tOAuthCredentials,\n\tOAuthLoginCallbacks,\n\tOAuthPrompt,\n\tOAuthProvider,\n\tOAuthProviderId,\n\tOAuthProviderInfo,\n\tOAuthProviderInterface,\n} from \"./utils/oauth/types.js\";\nexport * from \"./utils/overflow.js\";\nexport * from \"./utils/typebox-helpers.js\";\nexport * from \"./utils/validation.js\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAEzC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,0BAA0B,CAAC;AACzC,cAAc,uCAAuC,CAAC;AACtD,cAAc,uBAAuB,CAAC;AACtC,cAAc,kCAAkC,CAAC;AACjD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wBAAwB,CAAC;AACvC,cAAc,mCAAmC,CAAC;AAClD,cAAc,iCAAiC,CAAC;AAChD,cAAc,kCAAkC,CAAC;AACjD,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AAStC,cAAc,qBAAqB,CAAC;AACpC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,uBAAuB,CAAC","sourcesContent":["export type { Static, TSchema } from \"@sinclair/typebox\";\nexport { Type } from \"@sinclair/typebox\";\n\nexport * from \"./api-registry.js\";\nexport * from \"./env-api-keys.js\";\nexport * from \"./models.js\";\nexport * from \"./providers/anthropic.js\";\nexport * from \"./providers/azure-openai-responses.js\";\nexport * from \"./providers/google.js\";\nexport * from \"./providers/google-gemini-cli.js\";\nexport * from \"./providers/google-vertex.js\";\nexport * from \"./providers/mistral.js\";\nexport * from \"./providers/openai-completions.js\";\nexport * from \"./providers/openai-responses.js\";\nexport * from \"./providers/register-builtins.js\";\nexport * from \"./stream.js\";\nexport * from \"./types.js\";\nexport * from \"./utils/event-stream.js\";\nexport * from \"./utils/json-parse.js\";\nexport type {\n\tOAuthAuthInfo,\n\tOAuthCredentials,\n\tOAuthLoginCallbacks,\n\tOAuthPrompt,\n\tOAuthProviderId,\n\tOAuthProviderInterface,\n} from \"./utils/oauth/types.js\";\nexport * from \"./utils/overflow.js\";\nexport * from \"./utils/typebox-helpers.js\";\nexport * from \"./utils/validation.js\";\n"]}
@@ -1719,6 +1719,23 @@ export declare const MODELS: {
1719
1719
  contextWindow: number;
1720
1720
  maxTokens: number;
1721
1721
  };
1722
+ readonly "claude-opus-4-6[1m]": {
1723
+ id: string;
1724
+ name: string;
1725
+ api: "anthropic-messages";
1726
+ provider: string;
1727
+ baseUrl: string;
1728
+ reasoning: true;
1729
+ input: ("text" | "image")[];
1730
+ cost: {
1731
+ input: number;
1732
+ output: number;
1733
+ cacheRead: number;
1734
+ cacheWrite: number;
1735
+ };
1736
+ contextWindow: number;
1737
+ maxTokens: number;
1738
+ };
1722
1739
  readonly "claude-sonnet-4-0": {
1723
1740
  id: string;
1724
1741
  name: string;
@@ -1 +1 @@
1
- {"version":3,"file":"models.generated.d.ts","sourceRoot":"","sources":["../src/models.generated.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqkaT,CAAC"}
@@ -1721,6 +1721,23 @@ export const MODELS = {
1721
1721
  contextWindow: 200000,
1722
1722
  maxTokens: 128000,
1723
1723
  },
1724
+ "claude-opus-4-6[1m]": {
1725
+ id: "claude-opus-4-6[1m]",
1726
+ name: "Claude Opus 4.6 (1M)",
1727
+ api: "anthropic-messages",
1728
+ provider: "anthropic",
1729
+ baseUrl: "https://api.anthropic.com",
1730
+ reasoning: true,
1731
+ input: ["text", "image"],
1732
+ cost: {
1733
+ input: 5,
1734
+ output: 25,
1735
+ cacheRead: 0.5,
1736
+ cacheWrite: 6.25,
1737
+ },
1738
+ contextWindow: 1000000,
1739
+ maxTokens: 128000,
1740
+ },
1724
1741
  "claude-sonnet-4-0": {
1725
1742
  id: "claude-sonnet-4-0",
1726
1743
  name: "Claude Sonnet 4 (latest)",