@zortexhq/indra-v2.5 0.2.5 → 0.2.7

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 (790) hide show
  1. package/README.md +129 -109
  2. package/dist/cli-run.js +1 -1
  3. package/dist/codex-setup.js +1 -1
  4. package/dist/connector-worker.js +1 -1
  5. package/dist/content-find.js +2 -0
  6. package/dist/ensure-ready.js +1 -0
  7. package/dist/gateway.js +1 -1
  8. package/dist/help-launch.js +1 -1
  9. package/dist/local-cloud-policy.js +1 -1
  10. package/dist/mcp.js +2 -2
  11. package/dist/onboarding.js +1 -1
  12. package/dist/operation-telemetry.js +1 -1
  13. package/dist/profile-upgrade.js +1 -1
  14. package/dist/public-tool.js +1 -0
  15. package/dist/recovery-progress.js +1 -1
  16. package/dist/recovery-text.js +1 -1
  17. package/dist/recovery.js +1 -1
  18. package/dist/resident-ensure-ready.js +1 -0
  19. package/dist/resident-host.js +2 -2
  20. package/dist/resident-jobs.js +1 -1
  21. package/dist/resident-platform.js +1 -1
  22. package/dist/resident-telemetry.js +1 -1
  23. package/dist/source-catalog.js +1 -1
  24. package/dist/startup.js +1 -2
  25. package/dist/supervised-sync.js +1 -1
  26. package/dist/tools.js +1 -1
  27. package/dist/update-cli.js +1 -1
  28. package/dist/web.js +2 -2
  29. package/node_modules/@zortexhq/plugin-auth-core/dist/device-admission.js +2 -2
  30. package/node_modules/@zortexhq/plugin-auth-core/dist/index.js +1 -1
  31. package/node_modules/@zortexhq/plugin-auth-core/package.json +1 -8
  32. package/node_modules/@zortexhq/plugin-auto-connect/dist/api/index.js +1 -1
  33. package/node_modules/@zortexhq/plugin-auto-connect/package.json +0 -3
  34. package/node_modules/@zortexhq/plugin-connector-calendar/dist/actions.js +1 -1
  35. package/node_modules/@zortexhq/plugin-connector-core/dist/api/index.js +1 -1
  36. package/node_modules/@zortexhq/plugin-connector-core/dist/enrollment.js +1 -1
  37. package/node_modules/@zortexhq/plugin-connector-core/dist/hub.js +1 -1
  38. package/node_modules/@zortexhq/plugin-connector-core/package.json +1 -3
  39. package/node_modules/@zortexhq/plugin-connector-fleet/dist/index.js +1 -1
  40. package/node_modules/@zortexhq/plugin-connector-fleet/package.json +1 -4
  41. package/node_modules/@zortexhq/plugin-connector-framework/dist/api/browser-authorization.js +1 -0
  42. package/node_modules/@zortexhq/plugin-connector-framework/dist/api/index.js +1 -1
  43. package/node_modules/@zortexhq/plugin-connector-framework/dist/runner.js +1 -1
  44. package/node_modules/@zortexhq/plugin-connector-framework/package.json +0 -3
  45. package/node_modules/@zortexhq/plugin-connector-level1/dist/additional-sources.js +1 -1
  46. package/node_modules/@zortexhq/plugin-connector-level1/dist/index.js +1 -1
  47. package/node_modules/@zortexhq/plugin-connector-level1/dist/matrix-login.js +1 -1
  48. package/node_modules/@zortexhq/plugin-connector-level1/dist/provisioning.js +1 -1
  49. package/node_modules/@zortexhq/plugin-connector-level1/dist/shallow.js +1 -1
  50. package/node_modules/@zortexhq/plugin-connector-level1/dist/sources.js +1 -1
  51. package/node_modules/@zortexhq/plugin-connector-level1/package.json +1 -4
  52. package/node_modules/@zortexhq/plugin-connector-notion/dist/broker.js +1 -1
  53. package/node_modules/@zortexhq/plugin-connector-notion/dist/index.js +1 -1
  54. package/node_modules/@zortexhq/plugin-connector-notion/dist/provider.js +1 -1
  55. package/node_modules/@zortexhq/plugin-connector-notion/package.json +1 -3
  56. package/node_modules/@zortexhq/plugin-connector-steam/dist/index.js +1 -1
  57. package/node_modules/@zortexhq/plugin-connector-steam/dist/provider.js +1 -1
  58. package/node_modules/@zortexhq/plugin-connector-steam/package.json +1 -3
  59. package/node_modules/@zortexhq/plugin-galaxy-ui/src/integration/app-model.js +1 -1
  60. package/node_modules/@zortexhq/plugin-galaxy-ui/src/integration/connection-panel.js +1 -1
  61. package/node_modules/@zortexhq/plugin-google-auth/dist/index.js +1 -1
  62. package/node_modules/@zortexhq/plugin-google-auth/package.json +1 -3
  63. package/node_modules/@zortexhq/plugin-telemetry/dist/api/telemetry.js +1 -1
  64. package/node_modules/@zortexhq/plugin-vault-sqlite/dist/index.js +1 -1
  65. package/package.json +6 -20
  66. package/profiles/core.yml +0 -18
  67. package/release-provenance.json +27 -93
  68. package/update-manifest.json +362 -4744
  69. package/dist/cloud-action-proof.js +0 -1
  70. package/dist/cloud-device-host.js +0 -1
  71. package/dist/cloud-device-identity.js +0 -1
  72. package/dist/cloud-download-sink.js +0 -1
  73. package/dist/cloud-gmail-actions.js +0 -1
  74. package/dist/cloud-gmail-audit.js +0 -1
  75. package/dist/cloud-gmail-bound-audit-runner.js +0 -1
  76. package/dist/cloud-gmail-bound-epoch.js +0 -1
  77. package/dist/cloud-gmail-bound-identity.js +0 -1
  78. package/dist/cloud-gmail-bound-runner.js +0 -1
  79. package/dist/cloud-gmail-provider.js +0 -1
  80. package/dist/cloud-gmail-rpc.js +0 -1
  81. package/dist/cloud-gmail-sync.js +0 -1
  82. package/node_modules/@zortexhq/plugin-auth-core/dist/cloud-frame.js +0 -1
  83. package/node_modules/@zortexhq/plugin-auth-core/dist/cloud-vault-keyring.js +0 -1
  84. package/node_modules/@zortexhq/plugin-cloud-ai/dist/account.js +0 -1
  85. package/node_modules/@zortexhq/plugin-cloud-ai/dist/adopt.js +0 -1
  86. package/node_modules/@zortexhq/plugin-cloud-ai/dist/index.js +0 -1
  87. package/node_modules/@zortexhq/plugin-cloud-ai/dist/pack.js +0 -1
  88. package/node_modules/@zortexhq/plugin-cloud-ai/dist/publish.js +0 -1
  89. package/node_modules/@zortexhq/plugin-cloud-ai/dist/records.js +0 -1
  90. package/node_modules/@zortexhq/plugin-cloud-ai/package.json +0 -17
  91. package/node_modules/@zortexhq/plugin-cloud-vault/dist/device-trust.js +0 -1
  92. package/node_modules/@zortexhq/plugin-cloud-vault/dist/owner-admission.js +0 -1
  93. package/node_modules/@zortexhq/plugin-cloud-vault/package.json +0 -19
  94. package/node_modules/@zortexhq/plugin-connector-core/dist/api/browser-authorization.js +0 -1
  95. package/node_modules/@zortexhq/plugin-connector-framework/dist/api/original-miner.js +0 -1
  96. package/node_modules/@zortexhq/plugin-connector-framework/dist/checkpoint-codec.js +0 -2
  97. package/node_modules/@zortexhq/plugin-connector-framework/dist/checkpoint-fs.js +0 -1
  98. package/node_modules/@zortexhq/plugin-connector-framework/dist/checkpoint-move-worker.js +0 -1
  99. package/node_modules/@zortexhq/plugin-connector-framework/dist/checkpoint-move.js +0 -1
  100. package/node_modules/@zortexhq/plugin-connector-framework/dist/checkpoint-posix.js +0 -1
  101. package/node_modules/@zortexhq/plugin-connector-framework/dist/checkpoint-public.js +0 -1
  102. package/node_modules/@zortexhq/plugin-connector-framework/dist/checkpoint-replay.js +0 -1
  103. package/node_modules/@zortexhq/plugin-connector-framework/dist/checkpoint-store.js +0 -1
  104. package/node_modules/@zortexhq/plugin-connector-framework/dist/chromium-local/chromium-history.js +0 -1
  105. package/node_modules/@zortexhq/plugin-connector-framework/dist/chromium-local/index.js +0 -1
  106. package/node_modules/@zortexhq/plugin-connector-framework/dist/chromium-local/normalize-visit.js +0 -1
  107. package/node_modules/@zortexhq/plugin-connector-framework/dist/connection-health.js +0 -1
  108. package/node_modules/@zortexhq/plugin-connector-framework/dist/connector.js +0 -1
  109. package/node_modules/@zortexhq/plugin-connector-framework/dist/failure-type.js +0 -1
  110. package/node_modules/@zortexhq/plugin-connector-framework/dist/index.js +0 -1
  111. package/node_modules/@zortexhq/plugin-connector-framework/dist/windows-custody.js +0 -1
  112. package/node_modules/@zortexhq/plugin-connector-level1/dist/chatgpt.js +0 -1
  113. package/node_modules/@zortexhq/plugin-connector-level1/dist/signed-in.js +0 -1
  114. package/node_modules/@zortexhq/plugin-connector-social/dist/full-sync.js +0 -1
  115. package/node_modules/@zortexhq/plugin-connector-social/dist/index.js +0 -1
  116. package/node_modules/@zortexhq/plugin-connector-social/dist/provider.js +0 -1
  117. package/node_modules/@zortexhq/plugin-connector-social/dist/sites.js +0 -1
  118. package/node_modules/@zortexhq/plugin-connector-social/package.json +0 -22
  119. package/node_modules/@zortexhq/plugin-connector-steam/dist/browser-session.js +0 -1
  120. package/node_modules/@zortexhq/plugin-connectors/package.json +0 -17
  121. package/node_modules/@zortexhq/plugin-jev-autopilot/dist/attached.js +0 -11
  122. package/node_modules/@zortexhq/plugin-jev-autopilot/dist/browser.js +0 -1
  123. package/node_modules/@zortexhq/plugin-jev-autopilot/dist/decision.js +0 -1
  124. package/node_modules/@zortexhq/plugin-jev-autopilot/dist/extension-transport.js +0 -1
  125. package/node_modules/@zortexhq/plugin-jev-autopilot/dist/feedback.js +0 -1
  126. package/node_modules/@zortexhq/plugin-jev-autopilot/dist/google-oauth-bridge.js +0 -1
  127. package/node_modules/@zortexhq/plugin-jev-autopilot/dist/google-oauth-driver.js +0 -1
  128. package/node_modules/@zortexhq/plugin-jev-autopilot/dist/google-uia-decision.js +0 -1
  129. package/node_modules/@zortexhq/plugin-jev-autopilot/dist/index.js +0 -1
  130. package/node_modules/@zortexhq/plugin-jev-autopilot/dist/microsoft-oauth-bridge.js +0 -1
  131. package/node_modules/@zortexhq/plugin-jev-autopilot/dist/microsoft-oauth-driver.js +0 -1
  132. package/node_modules/@zortexhq/plugin-jev-autopilot/dist/page-inspect.js +0 -6
  133. package/node_modules/@zortexhq/plugin-jev-autopilot/dist/runner.js +0 -1
  134. package/node_modules/@zortexhq/plugin-jev-autopilot/dist/slack-oauth-bridge.js +0 -1
  135. package/node_modules/@zortexhq/plugin-jev-autopilot/dist/slack-oauth-driver.js +0 -1
  136. package/node_modules/@zortexhq/plugin-jev-autopilot/dist/whatsapp-session.js +0 -1
  137. package/node_modules/@zortexhq/plugin-jev-autopilot/extension/manifest.json +0 -9
  138. package/node_modules/@zortexhq/plugin-jev-autopilot/package.json +0 -21
  139. package/node_modules/@zortexhq/plugin-jev-browser-driver/assets/ax-page.js +0 -1
  140. package/node_modules/@zortexhq/plugin-jev-browser-driver/assets/uia-page.ps1 +0 -545
  141. package/node_modules/@zortexhq/plugin-jev-browser-driver/dist/approved-control.js +0 -1
  142. package/node_modules/@zortexhq/plugin-jev-browser-driver/dist/attached-session.js +0 -8
  143. package/node_modules/@zortexhq/plugin-jev-browser-driver/dist/authorization-account-policy.js +0 -1
  144. package/node_modules/@zortexhq/plugin-jev-browser-driver/dist/authorization-memory.js +0 -1
  145. package/node_modules/@zortexhq/plugin-jev-browser-driver/dist/authorization-planner.js +0 -8
  146. package/node_modules/@zortexhq/plugin-jev-browser-driver/dist/authorization-task.js +0 -1
  147. package/node_modules/@zortexhq/plugin-jev-browser-driver/dist/browser-actions.js +0 -1
  148. package/node_modules/@zortexhq/plugin-jev-browser-driver/dist/browser-task.js +0 -7
  149. package/node_modules/@zortexhq/plugin-jev-browser-driver/dist/combined.js +0 -1
  150. package/node_modules/@zortexhq/plugin-jev-browser-driver/dist/decision.js +0 -5
  151. package/node_modules/@zortexhq/plugin-jev-browser-driver/dist/driver.js +0 -1
  152. package/node_modules/@zortexhq/plugin-jev-browser-driver/dist/google-oauth-driver.js +0 -1
  153. package/node_modules/@zortexhq/plugin-jev-browser-driver/dist/index.js +0 -1
  154. package/node_modules/@zortexhq/plugin-jev-browser-driver/dist/isolated-display.js +0 -1
  155. package/node_modules/@zortexhq/plugin-jev-browser-driver/dist/microsoft-oauth-driver.js +0 -1
  156. package/node_modules/@zortexhq/plugin-jev-browser-driver/dist/native-session.js +0 -1
  157. package/node_modules/@zortexhq/plugin-jev-browser-driver/dist/notion-oauth-driver.js +0 -1
  158. package/node_modules/@zortexhq/plugin-jev-browser-driver/dist/observe-log.js +0 -1
  159. package/node_modules/@zortexhq/plugin-jev-browser-driver/dist/operational-browser.js +0 -1
  160. package/node_modules/@zortexhq/plugin-jev-browser-driver/dist/page-settle.js +0 -1
  161. package/node_modules/@zortexhq/plugin-jev-browser-driver/dist/planned-oauth.js +0 -1
  162. package/node_modules/@zortexhq/plugin-jev-browser-driver/dist/session-routes.js +0 -1
  163. package/node_modules/@zortexhq/plugin-jev-browser-driver/dist/shared-session.js +0 -1
  164. package/node_modules/@zortexhq/plugin-jev-browser-driver/dist/site-read.js +0 -1
  165. package/node_modules/@zortexhq/plugin-jev-browser-driver/dist/slack-oauth-driver.js +0 -1
  166. package/node_modules/@zortexhq/plugin-jev-browser-driver/package.json +0 -20
  167. package/node_modules/@zortexhq/plugin-oauth-browser-driver/assets/windows-oauth-background.cs +0 -492
  168. package/node_modules/@zortexhq/plugin-oauth-browser-driver/assets/windows-oauth-guard-x64.build.json +0 -30
  169. package/node_modules/@zortexhq/plugin-oauth-browser-driver/assets/windows-oauth-guard-x64.dll +0 -0
  170. package/node_modules/@zortexhq/plugin-oauth-browser-driver/assets/windows-oauth-guard.c +0 -692
  171. package/node_modules/@zortexhq/plugin-oauth-browser-driver/assets/windows-uia-oauth.ps1 +0 -3840
  172. package/node_modules/@zortexhq/plugin-oauth-browser-driver/dist/api/index.js +0 -1
  173. package/node_modules/@zortexhq/plugin-oauth-browser-driver/dist/driver.js +0 -3
  174. package/node_modules/@zortexhq/plugin-oauth-browser-driver/dist/index.js +0 -1
  175. package/node_modules/@zortexhq/plugin-oauth-browser-driver/package.json +0 -19
  176. package/node_modules/chatgpt-web-mcp/.env.example +0 -30
  177. package/node_modules/chatgpt-web-mcp/CONTRIBUTING.md +0 -65
  178. package/node_modules/chatgpt-web-mcp/LICENSE +0 -21
  179. package/node_modules/chatgpt-web-mcp/README.en.md +0 -149
  180. package/node_modules/chatgpt-web-mcp/README.md +0 -194
  181. package/node_modules/chatgpt-web-mcp/SECURITY.md +0 -37
  182. package/node_modules/chatgpt-web-mcp/node_modules/zod/LICENSE +0 -21
  183. package/node_modules/chatgpt-web-mcp/node_modules/zod/README.md +0 -208
  184. package/node_modules/chatgpt-web-mcp/node_modules/zod/index.cjs +0 -33
  185. package/node_modules/chatgpt-web-mcp/node_modules/zod/index.d.cts +0 -4
  186. package/node_modules/chatgpt-web-mcp/node_modules/zod/index.d.ts +0 -4
  187. package/node_modules/chatgpt-web-mcp/node_modules/zod/index.js +0 -4
  188. package/node_modules/chatgpt-web-mcp/node_modules/zod/package.json +0 -118
  189. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/index.ts +0 -4
  190. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/ZodError.ts +0 -330
  191. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/benchmarks/datetime.ts +0 -58
  192. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +0 -80
  193. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/benchmarks/index.ts +0 -59
  194. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/benchmarks/ipv4.ts +0 -57
  195. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/benchmarks/object.ts +0 -69
  196. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/benchmarks/primitives.ts +0 -162
  197. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/benchmarks/realworld.ts +0 -63
  198. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/benchmarks/string.ts +0 -55
  199. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/benchmarks/union.ts +0 -80
  200. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/errors.ts +0 -13
  201. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/external.ts +0 -6
  202. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/helpers/enumUtil.ts +0 -17
  203. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/helpers/errorUtil.ts +0 -8
  204. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/helpers/parseUtil.ts +0 -176
  205. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/helpers/partialUtil.ts +0 -34
  206. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/helpers/typeAliases.ts +0 -2
  207. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/helpers/util.ts +0 -224
  208. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/index.ts +0 -4
  209. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/locales/en.ts +0 -124
  210. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/standard-schema.ts +0 -113
  211. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/Mocker.ts +0 -54
  212. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/all-errors.test.ts +0 -157
  213. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/anyunknown.test.ts +0 -28
  214. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/array.test.ts +0 -71
  215. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/async-parsing.test.ts +0 -388
  216. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/async-refinements.test.ts +0 -46
  217. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/base.test.ts +0 -29
  218. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/bigint.test.ts +0 -55
  219. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/branded.test.ts +0 -53
  220. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/catch.test.ts +0 -220
  221. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/coerce.test.ts +0 -133
  222. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/complex.test.ts +0 -56
  223. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/custom.test.ts +0 -31
  224. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/date.test.ts +0 -32
  225. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/deepmasking.test.ts +0 -186
  226. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/default.test.ts +0 -112
  227. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/description.test.ts +0 -33
  228. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +0 -315
  229. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/enum.test.ts +0 -80
  230. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/error.test.ts +0 -551
  231. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/firstparty.test.ts +0 -87
  232. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +0 -21
  233. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/function.test.ts +0 -257
  234. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/generics.test.ts +0 -48
  235. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/instanceof.test.ts +0 -37
  236. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/intersection.test.ts +0 -110
  237. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/language-server.source.ts +0 -76
  238. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/language-server.test.ts +0 -207
  239. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/literal.test.ts +0 -36
  240. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/map.test.ts +0 -110
  241. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/masking.test.ts +0 -4
  242. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/mocker.test.ts +0 -19
  243. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/nan.test.ts +0 -21
  244. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/nativeEnum.test.ts +0 -87
  245. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/nullable.test.ts +0 -42
  246. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/number.test.ts +0 -176
  247. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/object-augmentation.test.ts +0 -29
  248. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +0 -29
  249. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/object.test.ts +0 -434
  250. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/optional.test.ts +0 -42
  251. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/parseUtil.test.ts +0 -23
  252. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/parser.test.ts +0 -41
  253. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/partials.test.ts +0 -243
  254. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/pickomit.test.ts +0 -111
  255. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/pipeline.test.ts +0 -29
  256. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/preprocess.test.ts +0 -186
  257. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/primitive.test.ts +0 -440
  258. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/promise.test.ts +0 -90
  259. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/readonly.test.ts +0 -194
  260. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/record.test.ts +0 -171
  261. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/recursive.test.ts +0 -197
  262. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/refine.test.ts +0 -313
  263. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/safeparse.test.ts +0 -27
  264. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/set.test.ts +0 -142
  265. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/standard-schema.test.ts +0 -83
  266. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/string.test.ts +0 -916
  267. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/transformer.test.ts +0 -233
  268. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/tuple.test.ts +0 -90
  269. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/unions.test.ts +0 -57
  270. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/validations.test.ts +0 -133
  271. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/void.test.ts +0 -15
  272. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/types.ts +0 -5136
  273. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/checks.ts +0 -30
  274. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/coerce.ts +0 -27
  275. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/compat.ts +0 -66
  276. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/errors.ts +0 -75
  277. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/external.ts +0 -50
  278. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/index.ts +0 -5
  279. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/iso.ts +0 -90
  280. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/parse.ts +0 -33
  281. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/schemas.ts +0 -2054
  282. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +0 -26
  283. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/array.test.ts +0 -264
  284. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/assignability.test.ts +0 -210
  285. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +0 -381
  286. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +0 -68
  287. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/base.test.ts +0 -7
  288. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/bigint.test.ts +0 -54
  289. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/brand.test.ts +0 -63
  290. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/catch.test.ts +0 -252
  291. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +0 -20
  292. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/coerce.test.ts +0 -160
  293. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/continuability.test.ts +0 -352
  294. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/custom.test.ts +0 -40
  295. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/date.test.ts +0 -31
  296. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/datetime.test.ts +0 -296
  297. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/default.test.ts +0 -313
  298. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/description.test.ts +0 -32
  299. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +0 -619
  300. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/enum.test.ts +0 -285
  301. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +0 -527
  302. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/error.test.ts +0 -711
  303. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/file.test.ts +0 -91
  304. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +0 -175
  305. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/function.test.ts +0 -268
  306. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/generics.test.ts +0 -72
  307. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/index.test.ts +0 -829
  308. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +0 -34
  309. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/intersection.test.ts +0 -171
  310. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/json.test.ts +0 -108
  311. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/lazy.test.ts +0 -227
  312. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/literal.test.ts +0 -92
  313. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/map.test.ts +0 -196
  314. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/nan.test.ts +0 -21
  315. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +0 -168
  316. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +0 -86
  317. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/nullable.test.ts +0 -22
  318. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/number.test.ts +0 -247
  319. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/object.test.ts +0 -563
  320. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/optional.test.ts +0 -123
  321. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/partial.test.ts +0 -147
  322. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +0 -127
  323. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/pipe.test.ts +0 -81
  324. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/prefault.test.ts +0 -37
  325. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +0 -298
  326. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/primitive.test.ts +0 -175
  327. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/promise.test.ts +0 -81
  328. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +0 -23
  329. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/readonly.test.ts +0 -252
  330. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/record.test.ts +0 -342
  331. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +0 -356
  332. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/refine.test.ts +0 -532
  333. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/registries.test.ts +0 -204
  334. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/set.test.ts +0 -179
  335. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +0 -57
  336. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +0 -109
  337. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/string.test.ts +0 -881
  338. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +0 -66
  339. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +0 -758
  340. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +0 -2314
  341. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/transform.test.ts +0 -250
  342. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/tuple.test.ts +0 -163
  343. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/union.test.ts +0 -94
  344. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/validations.test.ts +0 -283
  345. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/void.test.ts +0 -12
  346. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/core/api.ts +0 -1594
  347. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/core/checks.ts +0 -1283
  348. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/core/config.ts +0 -15
  349. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/core/core.ts +0 -134
  350. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/core/doc.ts +0 -44
  351. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/core/errors.ts +0 -424
  352. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/core/function.ts +0 -176
  353. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/core/index.ts +0 -15
  354. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/core/json-schema.ts +0 -143
  355. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/core/parse.ts +0 -94
  356. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/core/regexes.ts +0 -135
  357. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/core/registries.ts +0 -96
  358. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/core/schemas.ts +0 -3842
  359. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/core/standard-schema.ts +0 -64
  360. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/core/tests/index.test.ts +0 -46
  361. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/core/tests/locales/be.test.ts +0 -124
  362. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/core/tests/locales/en.test.ts +0 -22
  363. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +0 -128
  364. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +0 -69
  365. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/core/to-json-schema.ts +0 -977
  366. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/core/util.ts +0 -775
  367. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/core/versions.ts +0 -5
  368. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/core/zsf.ts +0 -323
  369. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/index.ts +0 -4
  370. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/ar.ts +0 -125
  371. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/az.ts +0 -121
  372. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/be.ts +0 -184
  373. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/ca.ts +0 -127
  374. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/cs.ts +0 -142
  375. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/de.ts +0 -124
  376. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/en.ts +0 -127
  377. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/eo.ts +0 -125
  378. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/es.ts +0 -125
  379. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/fa.ts +0 -134
  380. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/fi.ts +0 -131
  381. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/fr-CA.ts +0 -126
  382. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/fr.ts +0 -124
  383. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/he.ts +0 -125
  384. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/hu.ts +0 -126
  385. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/id.ts +0 -125
  386. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/index.ts +0 -39
  387. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/it.ts +0 -125
  388. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/ja.ts +0 -122
  389. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/kh.ts +0 -126
  390. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/ko.ts +0 -131
  391. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/mk.ts +0 -127
  392. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/ms.ts +0 -124
  393. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/nl.ts +0 -126
  394. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/no.ts +0 -124
  395. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/ota.ts +0 -125
  396. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/pl.ts +0 -126
  397. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/ps.ts +0 -133
  398. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/pt.ts +0 -123
  399. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/ru.ts +0 -184
  400. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/sl.ts +0 -126
  401. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/sv.ts +0 -127
  402. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/ta.ts +0 -125
  403. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/th.ts +0 -126
  404. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/tr.ts +0 -121
  405. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/ua.ts +0 -126
  406. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/ur.ts +0 -126
  407. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/vi.ts +0 -125
  408. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/zh-CN.ts +0 -123
  409. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/zh-TW.ts +0 -125
  410. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/mini/checks.ts +0 -32
  411. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/mini/coerce.ts +0 -22
  412. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/mini/external.ts +0 -40
  413. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/mini/index.ts +0 -3
  414. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/mini/iso.ts +0 -62
  415. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/mini/parse.ts +0 -1
  416. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/mini/schemas.ts +0 -1579
  417. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/mini/tests/assignability.test.ts +0 -129
  418. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/mini/tests/brand.test.ts +0 -51
  419. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/mini/tests/checks.test.ts +0 -144
  420. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/mini/tests/computed.test.ts +0 -36
  421. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/mini/tests/error.test.ts +0 -22
  422. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/mini/tests/functions.test.ts +0 -43
  423. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/mini/tests/index.test.ts +0 -871
  424. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/mini/tests/number.test.ts +0 -95
  425. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/mini/tests/object.test.ts +0 -185
  426. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +0 -43
  427. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +0 -275
  428. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/mini/tests/string.test.ts +0 -299
  429. package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4-mini/index.ts +0 -1
  430. package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/ZodError.cjs +0 -138
  431. package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/ZodError.d.cts +0 -164
  432. package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/ZodError.d.ts +0 -164
  433. package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/ZodError.js +0 -133
  434. package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/errors.cjs +0 -17
  435. package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/errors.d.cts +0 -5
  436. package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/errors.d.ts +0 -5
  437. package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/errors.js +0 -9
  438. package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/external.cjs +0 -22
  439. package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/external.d.cts +0 -6
  440. package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/external.d.ts +0 -6
  441. package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/external.js +0 -6
  442. package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/helpers/enumUtil.cjs +0 -2
  443. package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/helpers/enumUtil.d.cts +0 -8
  444. package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/helpers/enumUtil.d.ts +0 -8
  445. package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/helpers/enumUtil.js +0 -1
  446. package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/helpers/errorUtil.cjs +0 -9
  447. package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/helpers/errorUtil.d.cts +0 -9
  448. package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/helpers/errorUtil.d.ts +0 -9
  449. package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/helpers/errorUtil.js +0 -6
  450. package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/helpers/parseUtil.cjs +0 -124
  451. package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/helpers/parseUtil.d.cts +0 -78
  452. package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/helpers/parseUtil.d.ts +0 -78
  453. package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/helpers/parseUtil.js +0 -109
  454. package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/helpers/partialUtil.cjs +0 -2
  455. package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/helpers/partialUtil.d.cts +0 -8
  456. package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/helpers/partialUtil.d.ts +0 -8
  457. package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/helpers/partialUtil.js +0 -1
  458. package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/helpers/typeAliases.cjs +0 -2
  459. package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/helpers/typeAliases.d.cts +0 -2
  460. package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/helpers/typeAliases.d.ts +0 -2
  461. package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/helpers/typeAliases.js +0 -1
  462. package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/helpers/util.cjs +0 -137
  463. package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/helpers/util.d.cts +0 -85
  464. package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/helpers/util.d.ts +0 -85
  465. package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/helpers/util.js +0 -133
  466. package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/index.cjs +0 -33
  467. package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/index.d.cts +0 -4
  468. package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/index.d.ts +0 -4
  469. package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/index.js +0 -4
  470. package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/locales/en.cjs +0 -111
  471. package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/locales/en.d.cts +0 -3
  472. package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/locales/en.d.ts +0 -3
  473. package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/locales/en.js +0 -109
  474. package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/standard-schema.cjs +0 -2
  475. package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/standard-schema.d.cts +0 -102
  476. package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/standard-schema.d.ts +0 -102
  477. package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/standard-schema.js +0 -1
  478. package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/types.cjs +0 -3775
  479. package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/types.d.cts +0 -1031
  480. package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/types.d.ts +0 -1031
  481. package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/types.js +0 -3693
  482. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/classic/checks.cjs +0 -32
  483. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/classic/checks.d.cts +0 -1
  484. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/classic/checks.d.ts +0 -1
  485. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/classic/checks.js +0 -1
  486. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/classic/coerce.cjs +0 -47
  487. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/classic/coerce.d.cts +0 -17
  488. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/classic/coerce.d.ts +0 -17
  489. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/classic/coerce.js +0 -17
  490. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/classic/compat.cjs +0 -57
  491. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/classic/compat.d.cts +0 -46
  492. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/classic/compat.d.ts +0 -46
  493. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/classic/compat.js +0 -27
  494. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/classic/errors.cjs +0 -67
  495. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/classic/errors.d.cts +0 -30
  496. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/classic/errors.d.ts +0 -30
  497. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/classic/errors.js +0 -41
  498. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/classic/external.cjs +0 -70
  499. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/classic/external.d.cts +0 -13
  500. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/classic/external.d.ts +0 -13
  501. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/classic/external.js +0 -18
  502. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/classic/index.cjs +0 -33
  503. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/classic/index.d.cts +0 -4
  504. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/classic/index.d.ts +0 -4
  505. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/classic/index.js +0 -4
  506. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/classic/iso.cjs +0 -60
  507. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/classic/iso.d.cts +0 -22
  508. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/classic/iso.d.ts +0 -22
  509. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/classic/iso.js +0 -30
  510. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/classic/parse.cjs +0 -32
  511. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/classic/parse.d.cts +0 -23
  512. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/classic/parse.d.ts +0 -23
  513. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/classic/parse.js +0 -6
  514. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/classic/schemas.cjs +0 -1109
  515. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/classic/schemas.d.cts +0 -630
  516. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/classic/schemas.d.ts +0 -630
  517. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/classic/schemas.js +0 -1006
  518. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/api.cjs +0 -1039
  519. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/api.d.cts +0 -284
  520. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/api.d.ts +0 -284
  521. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/api.js +0 -906
  522. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/checks.cjs +0 -591
  523. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/checks.d.cts +0 -278
  524. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/checks.d.ts +0 -278
  525. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/checks.js +0 -565
  526. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/core.cjs +0 -67
  527. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/core.d.cts +0 -49
  528. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/core.d.ts +0 -49
  529. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/core.js +0 -61
  530. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/doc.cjs +0 -39
  531. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/doc.d.cts +0 -14
  532. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/doc.d.ts +0 -14
  533. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/doc.js +0 -35
  534. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/errors.cjs +0 -226
  535. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/errors.d.cts +0 -208
  536. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/errors.d.ts +0 -208
  537. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/errors.js +0 -195
  538. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/function.cjs +0 -102
  539. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/function.d.cts +0 -52
  540. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/function.d.ts +0 -52
  541. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/function.js +0 -75
  542. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/index.cjs +0 -44
  543. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/index.d.cts +0 -15
  544. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/index.d.ts +0 -15
  545. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/index.js +0 -15
  546. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/json-schema.cjs +0 -2
  547. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/json-schema.d.cts +0 -87
  548. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/json-schema.d.ts +0 -87
  549. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/json-schema.js +0 -1
  550. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/parse.cjs +0 -87
  551. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/parse.d.cts +0 -25
  552. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/parse.d.ts +0 -25
  553. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/parse.js +0 -57
  554. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/regexes.cjs +0 -103
  555. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/regexes.d.cts +0 -62
  556. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/regexes.d.ts +0 -62
  557. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/regexes.js +0 -95
  558. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/registries.cjs +0 -56
  559. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/registries.d.cts +0 -35
  560. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/registries.d.ts +0 -35
  561. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/registries.js +0 -51
  562. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/schemas.cjs +0 -1748
  563. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/schemas.d.cts +0 -1041
  564. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/schemas.d.ts +0 -1041
  565. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/schemas.js +0 -1717
  566. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/standard-schema.cjs +0 -2
  567. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/standard-schema.d.cts +0 -55
  568. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/standard-schema.d.ts +0 -55
  569. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/standard-schema.js +0 -1
  570. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/to-json-schema.cjs +0 -854
  571. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/to-json-schema.d.cts +0 -88
  572. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/to-json-schema.d.ts +0 -88
  573. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/to-json-schema.js +0 -849
  574. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/util.cjs +0 -539
  575. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/util.d.cts +0 -183
  576. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/util.d.ts +0 -183
  577. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/util.js +0 -493
  578. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/versions.cjs +0 -8
  579. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/versions.d.cts +0 -5
  580. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/versions.d.ts +0 -5
  581. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/versions.js +0 -5
  582. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/index.cjs +0 -22
  583. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/index.d.cts +0 -3
  584. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/index.d.ts +0 -3
  585. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/index.js +0 -3
  586. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ar.cjs +0 -142
  587. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ar.d.cts +0 -4
  588. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ar.d.ts +0 -4
  589. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ar.js +0 -116
  590. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/az.cjs +0 -141
  591. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/az.d.cts +0 -4
  592. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/az.d.ts +0 -4
  593. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/az.js +0 -115
  594. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/be.cjs +0 -190
  595. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/be.d.cts +0 -4
  596. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/be.d.ts +0 -4
  597. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/be.js +0 -164
  598. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ca.cjs +0 -144
  599. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ca.d.cts +0 -4
  600. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ca.d.ts +0 -4
  601. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ca.js +0 -118
  602. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/cs.cjs +0 -161
  603. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/cs.d.cts +0 -4
  604. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/cs.d.ts +0 -4
  605. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/cs.js +0 -135
  606. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/de.cjs +0 -142
  607. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/de.d.cts +0 -4
  608. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/de.d.ts +0 -4
  609. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/de.js +0 -116
  610. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/en.cjs +0 -145
  611. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/en.d.cts +0 -5
  612. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/en.d.ts +0 -5
  613. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/en.js +0 -117
  614. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/eo.cjs +0 -144
  615. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/eo.d.cts +0 -5
  616. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/eo.d.ts +0 -5
  617. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/eo.js +0 -116
  618. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/es.cjs +0 -143
  619. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/es.d.cts +0 -4
  620. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/es.d.ts +0 -4
  621. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/es.js +0 -117
  622. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/fa.cjs +0 -148
  623. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/fa.d.cts +0 -4
  624. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/fa.d.ts +0 -4
  625. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/fa.js +0 -122
  626. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/fi.cjs +0 -148
  627. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/fi.d.cts +0 -4
  628. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/fi.d.ts +0 -4
  629. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/fi.js +0 -122
  630. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/fr-CA.cjs +0 -143
  631. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/fr-CA.d.cts +0 -4
  632. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/fr-CA.d.ts +0 -4
  633. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/fr-CA.js +0 -117
  634. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/fr.cjs +0 -142
  635. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/fr.d.cts +0 -4
  636. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/fr.d.ts +0 -4
  637. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/fr.js +0 -116
  638. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/he.cjs +0 -143
  639. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/he.d.cts +0 -4
  640. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/he.d.ts +0 -4
  641. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/he.js +0 -117
  642. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/hu.cjs +0 -143
  643. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/hu.d.cts +0 -4
  644. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/hu.d.ts +0 -4
  645. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/hu.js +0 -117
  646. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/id.cjs +0 -142
  647. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/id.d.cts +0 -4
  648. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/id.d.ts +0 -4
  649. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/id.js +0 -116
  650. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/index.cjs +0 -84
  651. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/index.d.cts +0 -39
  652. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/index.d.ts +0 -39
  653. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/index.js +0 -39
  654. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/it.cjs +0 -143
  655. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/it.d.cts +0 -4
  656. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/it.d.ts +0 -4
  657. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/it.js +0 -117
  658. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ja.cjs +0 -141
  659. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ja.d.cts +0 -4
  660. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ja.d.ts +0 -4
  661. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ja.js +0 -115
  662. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/kh.cjs +0 -143
  663. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/kh.d.cts +0 -4
  664. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/kh.d.ts +0 -4
  665. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/kh.js +0 -117
  666. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ko.cjs +0 -147
  667. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ko.d.cts +0 -4
  668. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ko.d.ts +0 -4
  669. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ko.js +0 -121
  670. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/mk.cjs +0 -144
  671. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/mk.d.cts +0 -4
  672. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/mk.d.ts +0 -4
  673. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/mk.js +0 -118
  674. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ms.cjs +0 -142
  675. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ms.d.cts +0 -4
  676. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ms.d.ts +0 -4
  677. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ms.js +0 -116
  678. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/nl.cjs +0 -143
  679. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/nl.d.cts +0 -4
  680. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/nl.d.ts +0 -4
  681. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/nl.js +0 -117
  682. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/no.cjs +0 -142
  683. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/no.d.cts +0 -4
  684. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/no.d.ts +0 -4
  685. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/no.js +0 -116
  686. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ota.cjs +0 -143
  687. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ota.d.cts +0 -4
  688. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ota.d.ts +0 -4
  689. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ota.js +0 -117
  690. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/pl.cjs +0 -143
  691. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/pl.d.cts +0 -4
  692. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/pl.d.ts +0 -4
  693. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/pl.js +0 -117
  694. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ps.cjs +0 -148
  695. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ps.d.cts +0 -4
  696. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ps.d.ts +0 -4
  697. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ps.js +0 -122
  698. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/pt.cjs +0 -142
  699. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/pt.d.cts +0 -4
  700. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/pt.d.ts +0 -4
  701. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/pt.js +0 -116
  702. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ru.cjs +0 -190
  703. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ru.d.cts +0 -4
  704. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ru.d.ts +0 -4
  705. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ru.js +0 -164
  706. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/sl.cjs +0 -143
  707. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/sl.d.cts +0 -4
  708. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/sl.d.ts +0 -4
  709. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/sl.js +0 -117
  710. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/sv.cjs +0 -144
  711. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/sv.d.cts +0 -4
  712. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/sv.d.ts +0 -4
  713. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/sv.js +0 -118
  714. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ta.cjs +0 -143
  715. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ta.d.cts +0 -4
  716. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ta.d.ts +0 -4
  717. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ta.js +0 -117
  718. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/th.cjs +0 -143
  719. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/th.d.cts +0 -4
  720. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/th.d.ts +0 -4
  721. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/th.js +0 -117
  722. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/tr.cjs +0 -143
  723. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/tr.d.cts +0 -5
  724. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/tr.d.ts +0 -5
  725. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/tr.js +0 -115
  726. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ua.cjs +0 -143
  727. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ua.d.cts +0 -4
  728. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ua.d.ts +0 -4
  729. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ua.js +0 -117
  730. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ur.cjs +0 -143
  731. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ur.d.cts +0 -4
  732. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ur.d.ts +0 -4
  733. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ur.js +0 -117
  734. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/vi.cjs +0 -142
  735. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/vi.d.cts +0 -4
  736. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/vi.d.ts +0 -4
  737. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/vi.js +0 -116
  738. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/zh-CN.cjs +0 -142
  739. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/zh-CN.d.cts +0 -4
  740. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/zh-CN.d.ts +0 -4
  741. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/zh-CN.js +0 -116
  742. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/zh-TW.cjs +0 -143
  743. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/zh-TW.d.cts +0 -4
  744. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/zh-TW.d.ts +0 -4
  745. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/zh-TW.js +0 -117
  746. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/mini/checks.cjs +0 -34
  747. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/mini/checks.d.cts +0 -1
  748. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/mini/checks.d.ts +0 -1
  749. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/mini/checks.js +0 -1
  750. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/mini/coerce.cjs +0 -47
  751. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/mini/coerce.d.cts +0 -7
  752. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/mini/coerce.d.ts +0 -7
  753. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/mini/coerce.js +0 -17
  754. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/mini/external.cjs +0 -62
  755. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/mini/external.d.cts +0 -11
  756. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/mini/external.d.ts +0 -11
  757. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/mini/external.js +0 -13
  758. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/mini/index.cjs +0 -32
  759. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/mini/index.d.cts +0 -3
  760. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/mini/index.d.ts +0 -3
  761. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/mini/index.js +0 -3
  762. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/mini/iso.cjs +0 -60
  763. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/mini/iso.d.cts +0 -22
  764. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/mini/iso.d.ts +0 -22
  765. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/mini/iso.js +0 -30
  766. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/mini/parse.cjs +0 -8
  767. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/mini/parse.d.cts +0 -1
  768. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/mini/parse.d.ts +0 -1
  769. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/mini/parse.js +0 -1
  770. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/mini/schemas.cjs +0 -839
  771. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/mini/schemas.d.cts +0 -356
  772. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/mini/schemas.d.ts +0 -356
  773. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/mini/schemas.js +0 -732
  774. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4-mini/index.cjs +0 -17
  775. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4-mini/index.d.cts +0 -1
  776. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4-mini/index.d.ts +0 -1
  777. package/node_modules/chatgpt-web-mcp/node_modules/zod/v4-mini/index.js +0 -1
  778. package/node_modules/chatgpt-web-mcp/package.json +0 -50
  779. package/node_modules/chatgpt-web-mcp/scripts/doctor.js +0 -40
  780. package/node_modules/chatgpt-web-mcp/scripts/inspect.js +0 -16
  781. package/node_modules/chatgpt-web-mcp/scripts/login.js +0 -32
  782. package/node_modules/chatgpt-web-mcp/scripts/smoke-mcp.js +0 -26
  783. package/node_modules/chatgpt-web-mcp/src/browser.js +0 -4670
  784. package/node_modules/chatgpt-web-mcp/src/cli.js +0 -27
  785. package/node_modules/chatgpt-web-mcp/src/config.js +0 -210
  786. package/node_modules/chatgpt-web-mcp/src/errors.js +0 -20
  787. package/node_modules/chatgpt-web-mcp/src/index.js +0 -381
  788. package/node_modules/chatgpt-web-mcp/src/login-lifecycle.js +0 -39
  789. package/node_modules/chatgpt-web-mcp/src/selectors.js +0 -151
  790. package/profiles/social-worker.yml +0 -18
@@ -1 +0,0 @@
1
- import{createHash}from"node:crypto";export function browserAuthorizationInputDigest(input){const authorization=input.authorization;return createHash("sha256").update(JSON.stringify({sourceId:input.sourceId,issuer:authorization.issuer,authorizationEndpoint:authorization.authorizationEndpoint,clientId:authorization.clientId,resource:authorization.resource,scopes:authorization.scopes,allowedOrigins:authorization.allowedOrigins,maxSteps:authorization.maxSteps,maxModelCalls:authorization.maxModelCalls,authorizationUrl:input.authorizationUrl,redirectUri:input.redirectUri,state:input.state,timeoutMs:input.timeoutMs})).digest("hex")}export function isReviewedOAuthRequest(request){const context=request?.authorization;const task=request?.task;const closedObject=(value,allowed)=>{const prototype=Object.getPrototypeOf(value);return(prototype===Object.prototype||prototype===null)&&Reflect.ownKeys(value).every(key=>typeof key==="string"&&allowed.includes(key))};if(request?.provider!=="oauth"||!closedObject(request,["provider","authorization","task","authorizationUrl","redirectUri","state","timeoutMs","automatic","nextDriver","accountIndex","account","onDriverStarted"])||!context||typeof context!=="object"||!closedObject(context,["issuer","authorizationEndpoint","clientId","resource","scopes","allowedOrigins","maxSteps","maxModelCalls"])||!task||typeof task!=="object"||!closedObject(task,["contractVersion","transactionId","requestId","inputDigest","sourceId","generation","attempt","expectedBinding","unresolvedDiscoveryIdentity","trustedOrigins","expiresAt","modelBudget"])||task.contractVersion!==1||typeof task.transactionId!=="string"||!/^[A-Za-z0-9][A-Za-z0-9._:/-]{0,255}$/u.test(task.transactionId)||typeof task.requestId!=="string"||!/^[A-Za-z0-9][A-Za-z0-9._:/-]{0,255}$/u.test(task.requestId)||typeof task.inputDigest!=="string"||!/^[a-f0-9]{64}$/u.test(task.inputDigest)||typeof task.sourceId!=="string"||!/^[A-Za-z0-9][A-Za-z0-9._:/-]{0,255}$/u.test(task.sourceId)||!Number.isSafeInteger(task.generation)||task.generation<0||!Number.isSafeInteger(task.attempt)||task.attempt<1||task.expectedBinding===void 0===(task.unresolvedDiscoveryIdentity===void 0)||task.expectedBinding!==void 0&&(typeof task.expectedBinding!=="string"||!/^[A-Za-z0-9][A-Za-z0-9._:/-]{0,255}$/u.test(task.expectedBinding))||task.unresolvedDiscoveryIdentity!==void 0&&(typeof task.unresolvedDiscoveryIdentity!=="string"||!/^[A-Za-z0-9][A-Za-z0-9._:/-]{0,255}$/u.test(task.unresolvedDiscoveryIdentity))||!Array.isArray(task.trustedOrigins)||typeof task.expiresAt!=="string"||!Number.isFinite(Date.parse(task.expiresAt))||Date.parse(task.expiresAt)<=Date.now()||!task.modelBudget||typeof task.modelBudget!=="object"||!closedObject(task.modelBudget,["totalCalls","remainingCalls"])||!Number.isSafeInteger(task.modelBudget.totalCalls)||!Number.isSafeInteger(task.modelBudget.remainingCalls)||task.modelBudget.totalCalls<0||task.modelBudget.remainingCalls<0||task.modelBudget.remainingCalls>task.modelBudget.totalCalls||typeof request.state!=="string"||request.state.length<16||request.state.length>512||!Number.isInteger(request.timeoutMs)||request.timeoutMs<1e3||request.timeoutMs>9e5||!Number.isInteger(context.maxSteps)||context.maxSteps<1||context.maxSteps>12||!Number.isInteger(context.maxModelCalls)||context.maxModelCalls<0||context.maxModelCalls>24||typeof context.clientId!=="string"||!context.clientId||context.clientId.length>2048||/\s/u.test(context.clientId)||!Array.isArray(context.allowedOrigins)||context.allowedOrigins.length<1||context.allowedOrigins.length>8||!Array.isArray(context.scopes)||context.scopes.length>32||context.scopes.some(scope=>typeof scope!=="string"||!scope||scope.length>1024||/\s/u.test(scope))||new Set(context.scopes).size!==context.scopes.length||request.discoverAccounts!==void 0||request.clientId!==void 0||request.authorizationState!==void 0||request.automatic!==void 0&&typeof request.automatic!=="boolean"||request.nextDriver!==void 0&&typeof request.nextDriver!=="boolean"||request.accountIndex!==void 0&&(!Number.isInteger(request.accountIndex)||request.accountIndex<0||request.accountIndex>19)||request.account!==void 0&&(typeof request.account!=="string"||request.account.length>254||!/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9.-]+\.[a-z]{2,}$/iu.test(request.account)))return false;try{const expiresAt=Date.parse(task.expiresAt);if(expiresAt>Date.now()+request.timeoutMs||task.inputDigest!==browserAuthorizationInputDigest({sourceId:task.sourceId,authorization:context,authorizationUrl:request.authorizationUrl,redirectUri:request.redirectUri,state:request.state,timeoutMs:request.timeoutMs}))return false;const secure=value=>{if(typeof value!=="string"||value!==value.trim())throw Error();const url2=new URL(value);if(url2.protocol!=="https:"||url2.username||url2.password||url2.hash||url2.hostname.includes("*"))throw Error();return url2};const issuer=secure(context.issuer),endpoint=secure(context.authorizationEndpoint);const resource=context.resource===void 0?void 0:secure(context.resource);const url=secure(request.authorizationUrl),redirect=new URL(request.redirectUri);if(issuer.search||endpoint.search||resource?.search||context.allowedOrigins.some(origin=>secure(origin).origin!==origin)||task.trustedOrigins.length!==context.allowedOrigins.length||task.trustedOrigins.some((origin,index)=>origin!==context.allowedOrigins[index])||task.modelBudget.totalCalls!==context.maxModelCalls||task.modelBudget.remainingCalls>context.maxModelCalls||!context.allowedOrigins.includes(issuer.origin)||!context.allowedOrigins.includes(endpoint.origin)||url.origin!==endpoint.origin||url.pathname!==endpoint.pathname||request.accountIndex!==void 0&&(url.searchParams.getAll("prompt").length!==1||!url.searchParams.get("prompt").split(/\s+/u).includes("select_account"))||redirect.protocol!=="http:"||!["127.0.0.1","localhost"].includes(redirect.hostname)||!redirect.port||redirect.username||redirect.password||redirect.search||redirect.hash)return false;const expected={client_id:context.clientId,response_type:"code",state:request.state,redirect_uri:request.redirectUri,...context.resource===void 0?{}:{resource:context.resource},code_challenge_method:"S256"};if(Object.entries(expected).some(([key,value])=>url.searchParams.getAll(key).length!==1||url.searchParams.get(key)!==value))return false;if(context.resource===void 0&&url.searchParams.has("resource"))return false;const challenge=url.searchParams.getAll("code_challenge"),scope=url.searchParams.getAll("scope"),iss=url.searchParams.getAll("iss");return challenge.length===1&&/^[A-Za-z0-9_-]{43,128}$/u.test(challenge[0])&&scope.length<=1&&!url.searchParams.has("user_scope")&&(scope[0]??"").split(/\s+/u).filter(Boolean).sort().join(" ")===[...context.scopes].sort().join(" ")&&iss.length<=1&&(iss.length===0||iss[0]===context.issuer)}catch{return false}}const X_OWN_POSTS_QUERY=/^from:[A-Za-z0-9_]{1,15} -filter:replies until:\d{4}-\d{2}-\d{2}$/;export function xOwnPostsSearchUrl(handle,untilDay){const url=new URL("https://x.com/search");url.searchParams.set("q",`from:${handle} -filter:replies until:${untilDay}`);url.searchParams.set("f","live");return url.href}export function isXOwnPostsSearch(href){try{const url=new URL(String(href)),keys=[...url.searchParams.keys()].sort();return url.protocol==="https:"&&url.hostname==="x.com"&&url.pathname==="/search"&&!url.port&&!url.username&&!url.password&&!url.hash&&keys.join(",")==="f,q"&&url.searchParams.get("f")==="live"&&X_OWN_POSTS_QUERY.test(url.searchParams.get("q")??"")}catch{return false}}export const BROWSER_CONNECTION_DIAGNOSTICS=["chrome_endpoint_missing","chrome_endpoint_unreadable","chrome_endpoint_invalid","chrome_connection_timeout","chrome_connection_closed","chrome_connection_required","chrome_protocol_timeout","chrome_protocol_failed","chrome_page_failed"];export function browserConnectionDiagnostic(reason){if(typeof reason!=="string")return void 0;const code=reason.replace(/^browser_session_unavailable /,"");return BROWSER_CONNECTION_DIAGNOSTICS.includes(code)?code:void 0}export function browserRecoveryErrorCode(error){const message=error.cause?.message;return error.code==="unavailable"&&typeof message==="string"&&BROWSER_CONNECTION_DIAGNOSTICS.includes(message)?message:error.code}export function browserFailureCause(reason){const message=browserConnectionDiagnostic(reason);return message?{cause:{code:"unavailable",layer:"plugin",retryability:"non-retryable",message}}:{}}
@@ -1,3 +0,0 @@
1
- import{spawn as spawnProcess}from"node:child_process";import{appendFileSync}from"node:fs";import{dirname,isAbsolute,join}from"node:path";import{fileURLToPath}from"node:url";import{createTraceRecorder,currentFeedbackFlow,TRACE_PAGES,TRACE_ACTIONS,AUTHORIZATION_REASON_CODES}from"@zortexhq/plugin-telemetry/api";import{isXOwnPostsSearch}from"./api/index.js";const AUTHORIZE={notion:{origin:"https://zortex-auth.pages.dev",path:/^\/notion\/authorize$/},google:{origin:"https://accounts.google.com",path:/^\/o\/oauth2\/(?:v2\/)?auth$/},slack:{origin:"https://slack.com",path:/^\/oauth\/v2\/authorize$/},microsoft:{origin:"https://login.microsoftonline.com",path:/^\/(?:common|consumers|organizations)\/oauth2\/v2\.0\/authorize$/}};const STATES=new Set(["code","completed","accounts","login_required","multiple_accounts","ui_drift","browser_unsupported","failed"]);const PRIVATE_HELPER_FLAGS=/^(?:zortex_jev_uia_mode|zortex_jev_test_allow_unverified|zortex_oauth_debug_names|zortex_oauth_observe|zortex_oauth_observe_log|zortex_site_inventory)$/i;export function helperEnvironment(env=process.env){const safe={...env};for(const key of Object.keys(safe))if(PRIVATE_HELPER_FLAGS.test(key))delete safe[key];return safe}export function helperScriptPath(){return join(dirname(fileURLToPath(import.meta.url)),"..","assets","windows-uia-oauth.ps1")}function trusted(request){if(!request||typeof request!=="object"||request.provider==="oauth"||!Object.hasOwn(AUTHORIZE,request.provider))return false;if(typeof request.state!=="string"||request.state.length<16||request.state.length>512)return false;if(!Number.isInteger(request.timeoutMs)||request.timeoutMs<1e3||request.timeoutMs>9e5)return false;if(request.automatic!==void 0&&typeof request.automatic!=="boolean")return false;if(request.nextDriver!==void 0&&typeof request.nextDriver!=="boolean")return false;if(request.accountIndex!==void 0&&(!Number.isInteger(request.accountIndex)||request.accountIndex<0||request.accountIndex>19))return false;if(request.accountIndex!==void 0&&!["google","microsoft"].includes(request.provider))return false;if(request.discoverAccounts!==void 0&&(request.provider!=="google"||request.discoverAccounts!==true||request.accountIndex!==void 0||request.account!==void 0))return false;if(request.account!==void 0&&(request.provider!=="google"||request.accountIndex!==void 0||typeof request.account!=="string"||request.account.length>254||!/^[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,}$/i.test(request.account)))return false;try{const url=new URL(request.authorizationUrl),redirect=new URL(request.redirectUri),rule=AUTHORIZE[request.provider];if(request.provider==="notion"){return request.clientId==="3e2d872b-594c-81be-8038-00376fbca2ad"&&typeof request.authorizationState==="string"&&request.authorizationState.length<=12e3&&/^n1\.state\.[A-Za-z0-9_-]{16}\.[A-Za-z0-9_-]+$/.test(request.authorizationState)&&/^[A-Za-z0-9_-]{43}$/.test(request.state)&&url.origin===rule.origin&&rule.path.test(url.pathname)&&!url.username&&!url.password&&!url.hash&&[...url.searchParams.keys()].length===1&&url.searchParams.get("state")===request.authorizationState&&/^http:\/\/127\.0\.0\.1:[1-9][0-9]{0,4}\/notion\/callback$/.test(request.redirectUri)&&Number(redirect.port)<=65535}if(request.clientId!==void 0||request.authorizationState!==void 0)return false;const chooser=url.searchParams.getAll("prompt");if(request.accountIndex!==void 0&&request.provider!=="google"&&(chooser.length!==1||!chooser[0].split(/\s+/u).includes("select_account")))return false;return url.origin===rule.origin&&rule.path.test(url.pathname)&&!url.username&&!url.password&&!url.hash&&!!url.searchParams.get("client_id")&&url.searchParams.get("state")===request.state&&redirect.protocol==="http:"&&["127.0.0.1","localhost"].includes(redirect.hostname)&&!!redirect.port&&!redirect.username&&!redirect.password&&!redirect.hash}catch{return false}}const SITE_HOSTS={x:["x.com","twitter.com"],instagram:["www.instagram.com","instagram.com"],linkedin:["www.linkedin.com","linkedin.com"],steam:["steamcommunity.com"],"netease-mail":["mail.163.com","mail.126.com"],reddit:["www.reddit.com","reddit.com"],spotify:["open.spotify.com"],notebooklm:["notebooklm.google.com","notebook.google.com"],whatsapp:["web.whatsapp.com"]};const SITE_STATES=new Set(["completed","login_required","ui_drift","browser_unsupported","failed"]);const SITE_READ_MAX_MS=12e4,SCROLLED_READ_MAX_MS=6e5;function sitePage(site,href){try{const url=new URL(String(href));return url.protocol==="https:"&&SITE_HOSTS[site].includes(url.hostname)&&!url.port&&!url.username&&!url.password&&!url.hash&&(!url.search||site==="x"&&isXOwnPostsSearch(url.href))}catch{return false}}export function trustedSiteRequest(request){if(!request||typeof request!=="object"||!Object.hasOwn(SITE_HOSTS,request.site))return false;const scroll=request.scroll;if(scroll!==void 0&&(!scroll||typeof scroll!=="object"||!Number.isInteger(scroll.maxScrolls)||scroll.maxScrolls<1||scroll.maxScrolls>5e3||scroll.stopWhenNoNew!==void 0&&typeof scroll.stopWhenNoNew!=="boolean"))return false;if((request.stopAtHref!==void 0||request.onBatch!==void 0)&&scroll===void 0)return false;if(request.stopAtHref!==void 0&&!sitePage(request.site,request.stopAtHref))return false;if(request.onBatch!==void 0&&typeof request.onBatch!=="function")return false;if(!Number.isInteger(request.timeoutMs)||request.timeoutMs<5e3||request.timeoutMs>(scroll?SCROLLED_READ_MAX_MS:SITE_READ_MAX_MS))return false;if(request.settleMs!==void 0&&(!Number.isInteger(request.settleMs)||request.settleMs<1e3||request.settleMs>3e4))return false;return sitePage(request.site,request.url)}export function siteOutcomeOf(line,site){let row;try{row=JSON.parse(line)}catch{return{state:"failed",reason:"invalid_helper_result"}}if(!row||typeof row!=="object"||typeof row.state!=="string"||!SITE_STATES.has(row.state))return{state:"failed",reason:"invalid_helper_result"};const text=(value,max)=>typeof value==="string"?value.slice(0,max):"";const link=value=>{if(!value||typeof value!=="object")return void 0;const{name,href}=value;try{const url=new URL(String(href));if(url.protocol!=="https:"||!SITE_HOSTS[site].includes(url.hostname))return void 0;return{name:text(name,300),href:url.origin+url.pathname}}catch{return void 0}};const links=(value,max)=>(Array.isArray(value)?value:value?[value]:[]).slice(0,max).map(link).filter(l=>!!l);const blocks=(value,max)=>(Array.isArray(value)?value:value?[value]:[]).slice(0,max).filter(v=>v&&typeof v==="object").map(v=>({name:text(v.name,4e3),links:links(v.links,20)}));const outcome={state:row.state};if(row.foregroundObserved===true)outcome.foregroundObserved=true;if(typeof row.reason==="string"&&row.reason)outcome.reason=row.reason.slice(0,300);if(outcome.state==="completed"){const page=link({name:"",href:row.url});if(page)outcome.url=page.href;outcome.articles=blocks(row.articles,12);outcome.items=blocks(row.items,40);outcome.links=links(row.links,300)}return outcome}function outcomeOf(line){let row;try{row=JSON.parse(line)}catch{return{state:"failed",reason:"invalid_helper_result"}}if(!row||typeof row!=="object"||typeof row.state!=="string"||!STATES.has(row.state)||row.state==="code"&&(typeof row.code!=="string"||!row.code))return{state:"failed",reason:"invalid_helper_result"};const state=row.state==="code"?"completed":row.state;if(state==="accounts"){if(!Array.isArray(row.accounts)||row.accounts.length<1||row.accounts.length>10||row.accounts.some(account=>typeof account!=="string"||account.length>254||!/^[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,}$/i.test(account)))return{state:"failed",reason:"invalid_helper_result"};const accounts=row.accounts.map(account=>account.toLowerCase());if(new Set(accounts).size!==accounts.length)return{state:"failed",reason:"invalid_helper_result"};return{state,accounts}}return{state,...typeof row.reason==="string"&&row.reason?{reason:row.reason.slice(0,300)}:{},...row.foregroundObserved===true?{foregroundObserved:true}:{}}}function logBackgroundWindow(row,diagnostic){const window=row?.backgroundWindow;if(!window||typeof window!=="object")return;const count=value=>Number.isInteger(value)&&value>=0&&value<1e7?value:0;const event={kind:"oauth_background_window",raised:count(window.raised),reveals:count(window.reveals),rendererWaitMs:count(window.rendererWaitMs),foregroundReturned:count(window.foregroundReturned),foregroundObserved:row.foregroundObserved===true};process.stderr.write(`indra: background window raised=${event.raised} reveals=${event.reveals} rendererWaitMs=${event.rendererWaitMs} foregroundReturned=${event.foregroundReturned}
2
- `);try{diagnostic?.(event)}catch{}}function defaultBackgroundWindowDiagnostic(){const root=process.env.ZORTEX_ENGINE_ROOT;if(process.env.ZORTEX_AUTH_DIAGNOSTICS!=="1"||!root||!isAbsolute(root))return void 0;const file=join(root,"authorization-diagnostics.ndjson");return event=>appendFileSync(file,JSON.stringify(event)+"\n",{encoding:"utf8",mode:384})}export function retryable(outcome){return outcome.state==="ui_drift"&&typeof outcome.reason==="string"&&/^(?:page_accessibility_unavailable|consent_control_unavailable|background_page_reveal_)/.test(outcome.reason)}export function startBackgroundPageSession({spawn=spawnProcess,systemRoot=process.env.SystemRoot??"C:\\Windows",timeoutMs=9e5,backgroundWindowDiagnostic=defaultBackgroundWindowDiagnostic()}={}){const helper=helperScriptPath();const child=spawn(join(systemRoot,"System32","WindowsPowerShell","v1.0","powershell.exe"),["-NoProfile","-NonInteractive","-ExecutionPolicy","Bypass","-WindowStyle","Hidden","-File",helper],{cwd:dirname(helper),stdio:["pipe","pipe","ignore"],windowsHide:true,env:helperEnvironment()});child.on("error",()=>{});child.stdin?.on("error",()=>{});child.stdin?.write(JSON.stringify({kind:"page-session",timeoutMs})+"\n");const listeners=[];let buffer="";child.stdout?.on("data",chunk=>{buffer+=chunk.toString("utf8");for(let end=buffer.indexOf("\n");end>=0;end=buffer.indexOf("\n")){const line=buffer.slice(0,end).trim();buffer=buffer.slice(end+1);if(line){let row;try{row=JSON.parse(line)}catch{}logBackgroundWindow(row,backgroundWindowDiagnostic);for(const listener of listeners)listener(line)}}});return{send:line=>{child.stdin?.write(line+"\n")},onLine:listener=>{listeners.push(listener)},onExit:listener=>{child.once("close",listener)},kill:()=>{try{child.stdin?.end()}catch{}setTimeout(()=>child.kill(),1e4).unref()}}}export function createOAuthBrowserDriver({platform=process.platform,spawn=spawnProcess,systemRoot=process.env.SystemRoot??"C:\\Windows",closeGraceMs=1e4,helperGraceMs=15e3,metrics,retryHiddenPage=true,backgroundWindowDiagnostic=defaultBackgroundWindowDiagnostic()}={}){const running=new Set;let closed=false;const launch=(request,signal)=>{if(closed||platform!=="win32"||signal?.aborted||!trusted(request))return{launched:false};request.onDriverStarted?.("uia");const flow=currentFeedbackFlow(),trace=createTraceRecorder(metrics,flow?.source??(request.provider==="google"?"other":request.provider==="microsoft"?"outlook":request.provider==="notion"?"notion":"slack"),flow);let writes=trace.step("browser_opened","started"),frames=0,opened=false;const progress=row=>{if(++frames>128||Object.keys(row).some(k=>!["kind","stage","state","page","action"].includes(k))||!["page_observed","action_selected","action_executed"].includes(String(row.stage))||!["started","completed","failed"].includes(String(row.state))||row.page!==void 0&&!TRACE_PAGES.includes(row.page)||row.action!==void 0&&!TRACE_ACTIONS.includes(row.action))return;writes=writes.then(async()=>{if(row.stage==="page_observed"&&!opened){opened=true;await trace.step("browser_opened","completed")}await trace.step(row.stage,row.state,{...row.page?{page:row.page}:{},...row.action?{action:row.action}:{}})})};const helper=helperScriptPath();const helperEnv=helperEnvironment();const child=spawn(join(systemRoot,"System32","WindowsPowerShell","v1.0","powershell.exe"),["-NoProfile","-NonInteractive","-ExecutionPolicy","Bypass","-WindowStyle","Hidden","-File",helper],{cwd:dirname(helper),stdio:["pipe","pipe","ignore"],windowsHide:true,env:helperEnv});let cancelled=false,cancelTimer;const cancel=()=>{if(cancelled)return;cancelled=true;child.stdin?.end("cancel\n");cancelTimer=setTimeout(()=>child.kill(),5e3)};let finishTimeout=()=>{};const settled=new Promise(resolve=>{let buffer="",total=0,done=false,exited=false;let result;const finish=outcome=>{if(!done){result??=outcome;if(!exited)return;outcome=result;done=true;if(outcome.foregroundObserved)process.stderr.write("indra: owned authorization window was observed in foreground.\n");const reason=AUTHORIZATION_REASON_CODES.find(code=>code===outcome.reason)??"driver_error";if(outcome.state!=="completed")process.stderr.write(`indra: browser driver stopped: ${outcome.state}${outcome.reason?" "+String(outcome.reason).slice(0,200):""}
3
- `);writes=writes.then(async()=>{if(outcome.state==="accounts")await trace.step("page_observed","completed",{page:"account_picker",count:outcome.accounts?.length??0});else await trace.step("automation_finished",outcome.state==="completed"?"completed":outcome.reason==="cancelled"?"cancelled":"failed",{mode:outcome.state==="completed"?"automatic":"unknown",...outcome.state==="completed"?{}:{reason}})});void writes.then(()=>resolve(outcome),()=>{process.stderr.write("indra feedback: browser diagnostic write failed.\n");resolve(outcome)})}};finishTimeout=()=>{result={state:"failed",reason:"helper_timeout",...result?.foregroundObserved?{foregroundObserved:true}:{}};finish(result)};child.stdout?.on("data",chunk=>{if(done||result)return;const text=chunk.toString("utf8");buffer+=text;total+=text.length;if(total>65536){finish({state:"failed",reason:"invalid_helper_result"});child.kill();return}for(let end=buffer.indexOf("\n");end>=0&&!done&&!result;end=buffer.indexOf("\n")){const line=buffer.slice(0,end);buffer=buffer.slice(end+1);let row;try{row=JSON.parse(line)}catch{}if(row&&row.kind==="zortex_oauth_step")progress(row);else{logBackgroundWindow(row,backgroundWindowDiagnostic);finish(outcomeOf(line))}}});child.once("error",()=>finish({state:"failed",reason:"helper_unavailable"}));child.once("close",()=>{exited=true;if(cancelled)result={state:"failed",reason:"cancelled",...result?.foregroundObserved?{foregroundObserved:true}:{}};finish({state:"failed",reason:"helper_exited_without_result"})})});const entry={child,settled,cancel};running.add(entry);const watchdog=setTimeout(()=>{try{child.kill()}finally{finishTimeout()}},request.timeoutMs+helperGraceMs);signal?.addEventListener("abort",cancel,{once:true});void settled.finally(()=>{clearTimeout(watchdog);clearTimeout(cancelTimer);running.delete(entry);signal?.removeEventListener("abort",cancel)});child.stdin?.on("error",()=>{});child.stdin?.write(JSON.stringify({...request,feedback:true})+"\n");if(flow)flow.automationSettled=settled.then(()=>{},()=>{});return{launched:true,outcome:settled}};return{start(request,signal){const first=launch(request,signal);if(!first.launched)return first;const began=Date.now();return{launched:true,outcome:first.outcome.then(outcome=>{const remaining=request.timeoutMs-(Date.now()-began);if(!retryHiddenPage||!retryable(outcome)||closed||signal?.aborted||remaining<6e4)return outcome;process.stderr.write("indra: browser driver retrying the authorization window once.\n");const again=launch({...request,timeoutMs:Math.floor(remaining)},signal);return again.launched?again.outcome:outcome})}},readSite(request,signal){if(closed||platform!=="win32"||signal?.aborted||!trustedSiteRequest(request))return{launched:false};const timeoutMs=Math.min(request.timeoutMs,SITE_READ_MAX_MS);const helper=helperScriptPath();const child=spawn(join(systemRoot,"System32","WindowsPowerShell","v1.0","powershell.exe"),["-NoProfile","-NonInteractive","-ExecutionPolicy","Bypass","-WindowStyle","Hidden","-File",helper],{cwd:dirname(helper),stdio:["pipe","pipe","ignore"],windowsHide:true,env:helperEnvironment()});let cancelled=false,cancelTimer;const cancel=()=>{if(cancelled)return;cancelled=true;child.stdin?.end("cancel\n");cancelTimer=setTimeout(()=>child.kill(),5e3)};let timedOut=false;const settled=new Promise(resolve=>{const chunks=[];let total=0,failed;child.stdout?.on("data",chunk=>{total+=chunk.length;if(total>2e6){failed={state:"failed",reason:"invalid_helper_result"};child.kill();return}chunks.push(chunk)});child.once("error",()=>{failed??={state:"failed",reason:"helper_unavailable"}});child.once("close",()=>{if(cancelled){resolve({state:"failed",reason:"cancelled"});return}if(timedOut){resolve({state:"failed",reason:"helper_timeout"});return}if(failed){resolve(failed);return}const line=Buffer.concat(chunks).toString("utf8").split(/\r?\n/).filter(l=>l.trimStart().startsWith("{")).pop();resolve(line?siteOutcomeOf(line,request.site):{state:"failed",reason:"helper_exited_without_result"})})});const entry={child,settled,cancel};running.add(entry);const watchdog=setTimeout(()=>{timedOut=true;child.kill()},timeoutMs+helperGraceMs);signal?.addEventListener("abort",cancel,{once:true});void settled.finally(()=>{clearTimeout(watchdog);clearTimeout(cancelTimer);running.delete(entry);signal?.removeEventListener("abort",cancel)});child.stdin?.on("error",()=>{});child.stdin?.write(JSON.stringify({kind:"site-read",site:request.site,url:request.url,timeoutMs,...request.settleMs?{settleMs:request.settleMs}:{}})+"\n");return{launched:true,outcome:settled}},async close(){closed=true;let timer;await Promise.race([Promise.allSettled([...running].map(entry=>entry.settled)),new Promise(resolve=>{timer=setTimeout(resolve,closeGraceMs)})]);clearTimeout(timer);for(const entry of running)entry.cancel();await Promise.allSettled([...running].map(entry=>entry.settled))}}}
@@ -1 +0,0 @@
1
- import{createOAuthBrowserDriver}from"./driver.js";import{appendFileSync}from"node:fs";import{join}from"node:path";export{createOAuthBrowserDriver,startBackgroundPageSession}from"./driver.js";export const name="zortex-oauth-browser-driver";export function apply(ctx,_config={},options={}){const diagnosticFile=process.env.ZORTEX_AUTH_DIAGNOSTICS==="1"&&process.env.ZORTEX_ENGINE_ROOT?join(process.env.ZORTEX_ENGINE_ROOT,"authorization-diagnostics.ndjson"):void 0;const backgroundWindowDiagnostic=options.backgroundWindowDiagnostic??(diagnosticFile?event=>appendFileSync(diagnosticFile,JSON.stringify(event)+"\n",{encoding:"utf8",mode:384}):void 0);const driver=createOAuthBrowserDriver({metrics:()=>ctx.get?.("zortexTelemetry"),...options,...backgroundWindowDiagnostic?{backgroundWindowDiagnostic}:{}});ctx.provide("zortexOAuthBrowserDriver",driver);ctx.effect(()=>()=>driver.close())}
@@ -1,19 +0,0 @@
1
- {
2
- "name": "@zortexhq/plugin-oauth-browser-driver",
3
- "version": "0.1.0",
4
- "type": "module",
5
- "exports": {
6
- ".": {
7
- "default": "./dist/index.js"
8
- },
9
- "./api": {
10
- "default": "./dist/api/index.js"
11
- }
12
- },
13
- "dependencies": {
14
- "@zortexhq/plugin-telemetry": "0.1.0"
15
- },
16
- "zortex": {
17
- "role": "plugin"
18
- }
19
- }
@@ -1,30 +0,0 @@
1
- # Optional browser override. Leave empty when auto-detection works.
2
- # CHATGPT_WEB_CHROME=/absolute/path/to/chrome
3
-
4
- # Minimum intervals, not a guarantee against rate limits. Increase if needed.
5
- CHATGPT_WEB_SEND_INTERVAL_MS=5000
6
- CHATGPT_WEB_CONVERSATION_CHANGE_INTERVAL_MS=5000
7
- CHATGPT_WEB_POST_RESPONSE_CONVERSATION_COOLDOWN_MS=5000
8
- CHATGPT_WEB_PAGE_INTERACTION_INTERVAL_MS=1000
9
- CHATGPT_WEB_SITE_ACTION_INTERVAL_MS=5000
10
- CHATGPT_WEB_PAGE_STARTUP_DELAY_MS=6000
11
- CHATGPT_WEB_POST_BREAKER_COOLDOWN_MS=300000
12
- CHATGPT_WEB_HISTORY_QUIET_PERIOD_MS=300000
13
-
14
- # Avoid extra temporary chats and test prompts by default.
15
- CHATGPT_WEB_PROBE_ENABLED=false
16
- # Optional extra reload BEFORE opening a new chat. Sending already reloads.
17
- CHATGPT_WEB_REFRESH_BEFORE_NEW_CHAT=false
18
-
19
- # Experimental probe settings below only apply when explicitly enabled.
20
- CHATGPT_WEB_DEFAULT_TIER=极高
21
- CHATGPT_WEB_PRO_TIER=Pro
22
- CHATGPT_WEB_PROBE_PROMPT=你是什么模型?
23
- CHATGPT_WEB_PROBE_ACCEPT_ID=gpt-5.6-pro
24
- CHATGPT_WEB_PROBE_FALLBACK_ID=gpt-5.5-mini
25
- CHATGPT_WEB_PROBE_ACCEPT_PATTERN=gpt\s*[- ]?5[..]6\s*[- ]?pro|5[..]6\s*[- ]?pro
26
- CHATGPT_WEB_PROBE_FALLBACK_PATTERN=gpt\s*[- ]?5[..]5\s*[- ]?mini|5[..]5\s*[- ]?mini
27
- CHATGPT_WEB_PRO_RECHECK_AFTER_CLOSE_MS=10800000
28
- CHATGPT_WEB_MAX_CONVERSATION_TURNS=40
29
- # Optional: point this at a checked-out research repository docs directory.
30
- # CHATGPT_WEB_CONTEXT_ARCHIVE_DIR=/absolute/path/to/repo/docs/research/chatgpt-web
@@ -1,65 +0,0 @@
1
- # Contributing
2
-
3
- Thanks for helping improve ChatGPT Web MCP. This project controls a user-authenticated web UI, so conservative behavior matters more than raw speed.
4
-
5
- ## Development setup
6
-
7
- ```bash
8
- git clone https://github.com/Goudu666/chatgpt-web-mcp.git
9
- cd chatgpt-web-mcp
10
- npm ci
11
- npm test
12
- npm run smoke
13
- ```
14
-
15
- Node.js 20 or newer is required. `npm run smoke` starts the stdio server and lists its MCP tools without opening ChatGPT.
16
-
17
- ## Before opening a pull request
18
-
19
- Run:
20
-
21
- ```bash
22
- npm test
23
- npm run smoke
24
- npm pack --dry-run
25
- ```
26
-
27
- Do not add a live ChatGPT login or message-send test to CI. Live browser verification must be manual, low frequency, and performed with the contributor's own account.
28
-
29
- ## Project structure
30
-
31
- - `src/index.js`: MCP tool registration
32
- - `src/browser.js`: persistent browser control, validation, throttling, and circuit breaking
33
- - `src/config.js`: cross-platform paths, timing defaults, and route policy configuration
34
- - `src/selectors.js`: language-aware UI selectors
35
- - `src/cli.js`: `serve`, `login`, `status`, and `doctor` commands
36
- - `scripts/`: local login, diagnostics, and offline smoke checks
37
- - `test/`: offline unit tests
38
-
39
- ## Safety requirements
40
-
41
- A contribution must not:
42
-
43
- - reduce the documented five-second operation intervals or five-minute recovery periods merely to speed up tests; timing changes must be deliberate and documented, not presented as protection from rate limits;
44
- - add page polling when an event-driven wait is possible;
45
- - automatically clear a circuit breaker, dismiss a rate-limit prompt, or retry HTTP 429;
46
- - fall back to repeated full-page ChatGPT reloads;
47
- - close the persistent browser unless the user explicitly requested it;
48
- - read a user's regular browser profile;
49
- - log cookies, query strings, request bodies, response bodies, prompts, uploaded content, or conversation identifiers;
50
- - require secrets in source code or repository configuration.
51
-
52
- ## Selector changes
53
-
54
- Prefer semantic roles, labels, and visible text over screen coordinates. Support both English and Chinese where the UI exposes stable labels. When a selector cannot be verified, return a clear error and stop.
55
-
56
- Bug reports and pull requests must redact account names, conversation titles, URLs, and private page content from screenshots and logs.
57
-
58
- ## Pull request checklist
59
-
60
- - [ ] The change is focused and explained.
61
- - [ ] Offline tests pass.
62
- - [ ] No credentials, browser data, screenshots, or runtime state are included.
63
- - [ ] Rate-limit and browser-persistence invariants remain intact.
64
- - [ ] User-facing behavior and environment variables are documented.
65
- - [ ] Any manual live test was low frequency and is described without private data.
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2026 Goudu66
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
@@ -1,149 +0,0 @@
1
- # ChatGPT Web MCP
2
-
3
- [中文说明](README.md)
4
-
5
- An unofficial local MCP server that lets Codex and other MCP clients operate `chatgpt.com` through a dedicated persistent browser profile. It does not use OpenAI's official paid API or require an API key. Messages are sent through the UI; history reads may use the current web session's internal endpoint. It does not read a user's regular browser profile or place login credentials in MCP configuration.
6
-
7
- > [!IMPORTANT]
8
- > This project is not affiliated with or endorsed by OpenAI. It depends on the ChatGPT web UI, which may change without notice. Account permissions, region, and workspace policy may also affect behavior. Do not use this project to bypass access controls, usage limits, or safety systems.
9
-
10
- ## Features
11
-
12
- - Create normal and temporary chats and select chat history
13
- - Write prompts, upload explicitly selected files, send messages, and read responses
14
- - Discover models, reasoning levels, and answer tiers from the visible UI
15
- - Keep the dedicated browser and ChatGPT page open between MCP calls
16
- - Serialize browser control across MCP processes and apply conservative delays
17
- - Stop on rate-limit text or non-history HTTP 429; history API 429 does not trip the global breaker or automatically retry that endpoint
18
- - Use the default extreme tier with temporary Pro identity probes disabled by default, avoiding extra temporary chats and test messages
19
- - Rotate conversations before the 40-turn cap, loading older lazy history and archiving the complete transcript first; direct submit calls are rejected at the cap
20
- - Store only sanitized network error metadata
21
-
22
- ## Requirements
23
-
24
- - Node.js 20+
25
- - Google Chrome, Chromium, or Microsoft Edge
26
- - A local stdio MCP client such as Codex
27
- - A ChatGPT account that can be logged in manually
28
-
29
- Common browser locations are detected on macOS, Windows, and Linux. Set `CHATGPT_WEB_CHROME` when auto-detection does not find your browser.
30
-
31
- ## Install
32
-
33
- ```bash
34
- git clone https://github.com/Goudu666/chatgpt-web-mcp.git
35
- cd chatgpt-web-mcp
36
- npm ci
37
- npm run doctor
38
- npm link
39
- ```
40
-
41
- Log in through the dedicated browser:
42
-
43
- ```bash
44
- chatgpt-web-mcp login
45
- ```
46
-
47
- The browser profile is stored in `~/.chatgpt-web-mcp/chrome-profile` by default. Never commit or share that directory.
48
-
49
- Add the server to Codex:
50
-
51
- ```bash
52
- codex mcp add chatgpt-web -- chatgpt-web-mcp serve
53
- codex mcp get chatgpt-web
54
- ```
55
-
56
- If the Codex process cannot resolve the linked command, use an absolute project path:
57
-
58
- ```bash
59
- codex mcp add chatgpt-web -- node /absolute/path/to/chatgpt-web-mcp/src/index.js
60
- ```
61
-
62
- See the [official OpenAI MCP documentation](https://learn.chatgpt.com/docs/extend/mcp?surface=cli) for Codex MCP configuration concepts.
63
-
64
- ## CLI
65
-
66
- ```text
67
- chatgpt-web-mcp serve Start the stdio MCP server (default)
68
- chatgpt-web-mcp login Open the dedicated browser for manual login
69
- chatgpt-web-mcp status Inspect local browser state
70
- chatgpt-web-mcp doctor Check Node.js, browser detection, and local paths
71
- chatgpt-web-mcp help Show command help
72
- ```
73
-
74
- ## Configurable routing policy
75
-
76
- Normal requests create a non-temporary chat with the available `极高` tier using `chatgpt_route_new_chat(requestPro=false)`.
77
-
78
- **Temporary Pro identity probes are disabled by default** (`CHATGPT_WEB_PROBE_ENABLED=false`). Both `chatgpt_probe_pro_identity` and `requestPro=true` fail before opening a temporary chat or sending a probe; `forceProbe=true` does not bypass the switch. This avoids extra conversations and test requests. Explicitly selecting a Pro option that the UI actually offers is still possible, but actual model routing is not guaranteed.
79
-
80
- Set `CHATGPT_WEB_PROBE_ENABLED=true` and restart the MCP server only if an experimental identity probe is needed. The existing experimental route probes the available tier and reads `model_slug`: mini falls back to the default tier, another nonempty slug is classified as `network-verified`, and a missing slug stops the route. **Non-mini does not mean Pro.** The probe does not force a Pro selection; its tool name and `requestPro` parameter remain for compatibility.
81
-
82
- When enabled, a reliable probe result is reused while the same browser and page stay open, with a three-hour grace period after a detected close. Normal MCP calls only disconnect local control, so they do not start that timer. With probing disabled, cache expiry never triggers a probe or requires a new login.
83
-
84
- These values can be changed without editing source code:
85
-
86
- | Variable | Default |
87
- | --- | --- |
88
- | `CHATGPT_WEB_PROBE_ENABLED` | `false` |
89
- | `CHATGPT_WEB_DEFAULT_TIER` | `极高` |
90
- | `CHATGPT_WEB_PRO_TIER` | `Pro` |
91
- | `CHATGPT_WEB_PROBE_PROMPT` | `你是什么模型?` |
92
- | `CHATGPT_WEB_PROBE_ACCEPT_ID` | `gpt-5.6-pro` |
93
- | `CHATGPT_WEB_PROBE_FALLBACK_ID` | `gpt-5.5-mini` |
94
- | `CHATGPT_WEB_PROBE_ACCEPT_PATTERN` | GPT-5.6 Pro regular expression |
95
- | `CHATGPT_WEB_PROBE_FALLBACK_PATTERN` | GPT-5.5 mini regular expression |
96
- | `CHATGPT_WEB_PRO_RECHECK_AFTER_CLOSE_MS` | `10800000` (3 hours) |
97
- | `CHATGPT_WEB_MAX_CONVERSATION_TURNS` | `40` |
98
- | `CHATGPT_WEB_CONTEXT_ARCHIVE_DIR` | `~/.chatgpt-web-mcp/conversation-context` |
99
-
100
- See [.env.example](.env.example). The project does not automatically load `.env`; inject variables through the MCP client, shell, or operating system.
101
-
102
- ## Optional refresh before a new chat
103
-
104
- `CHATGPT_WEB_REFRESH_BEFORE_NEW_CHAT=false` by default. Set it to `true` and restart the MCP server to check drafts/attachments, reload the current page, then open a new chat through the UI. A failed reload or rate limit stops the operation without retrying.
105
-
106
- This is separate from the existing refresh before sending. Enabling both usually means two reloads for a new-chat send, increasing requests and latency. This option is for stale-page troubleshooting, **not rate-limit prevention**. Small successful trials do not establish that another reload reduces rate limits. The browser and its page still remain open.
107
-
108
- ## Rate-limit policy and five-second defaults
109
-
110
- - Page interactions: at least 1 second apart
111
- - High-level site actions: at least 5 seconds apart
112
- - Message sends: at least 5 seconds apart (`CHATGPT_WEB_SEND_INTERVAL_MS=5000`)
113
- - Conversation changes: at least 5 seconds apart (`CHATGPT_WEB_CONVERSATION_CHANGE_INTERVAL_MS=5000`)
114
- - Conversation changes after a completed answer: at least 5 seconds (`CHATGPT_WEB_POST_RESPONSE_CONVERSATION_COOLDOWN_MS=5000`)
115
- - After initially opening ChatGPT: 6 seconds (`CHATGPT_WEB_PAGE_STARTUP_DELAY_MS=6000`)
116
- - First site action after clearing a breaker: 5 minutes
117
- - Independent history quiet period after a history rate limit: 5 minutes
118
-
119
- **Five seconds is a minimum interval, not an operation duration or a guarantee against rate limits or account restrictions.** Loading, UI interactions, generation, and other waits add to it; messages are not sent concurrently. Existing client environment overrides still win: an explicit `30000` remains 30 seconds after upgrading. Increase the three intervals to `30000` if needed; stop instead of repeatedly retrying when a warning appears.
120
-
121
- The five-minute breaker recovery and history quiet period are unchanged. The server does not automatically clear the breaker, dismiss warnings, retry HTTP 429, or close the persistent browser. History API 429 alone does not trip the global breaker: browser responses remain in the diagnostic log, and an unsuccessful direct history read uses the existing page-transcript fallback without retrying that endpoint. Explicit page-visible rate-limit warnings still stop operations. Missing observed API headers no longer cause another conversation page to open just for authentication priming.
122
-
123
- The PR's stale-owner cleanup is preserved: when the recorded MCP process has exited, a subsequent operation automatically clears its generation marker. This rule does not clear markers with a live or missing owner PID, clear a rate-limit breaker, or close the browser.
124
-
125
- ## Privacy and limitations
126
-
127
- - Login state, runtime state, and sanitized diagnostics live under `~/.chatgpt-web-mcp` by default.
128
- - Upload tools only accept explicit absolute file paths.
129
- - Diagnostics omit query strings, cookies, request and response bodies, and conversation identifiers.
130
- - Response waiting uses in-page mutation events rather than page polling.
131
- - Failed in-page navigation stops instead of repeatedly reloading ChatGPT.
132
- - The ChatGPT web UI is not a stable API and selectors may require maintenance.
133
- - Before automatic conversation rotation, the complete transcript (including older lazy-loaded messages) is written as a `0600` Markdown archive; use `chatgpt_archive_conversation` for explicit persistence.
134
- - Neither a model's self-description nor its network label independently proves the serving model; a non-mini label is not a Pro guarantee.
135
-
136
- ## Development
137
-
138
- ```bash
139
- npm ci
140
- npm test
141
- npm run smoke
142
- npm pack --dry-run
143
- ```
144
-
145
- CI performs offline unit tests and package checks only. It never logs in to ChatGPT or sends live requests. See [CONTRIBUTING.md](CONTRIBUTING.md) and [SECURITY.md](SECURITY.md).
146
-
147
- ## License
148
-
149
- [MIT](LICENSE)
@@ -1,194 +0,0 @@
1
- # ChatGPT Web MCP
2
-
3
- [English](README.en.md)
4
-
5
- 一个本地、非官方的 MCP Server,让 Codex 等 MCP 客户端通过独立的持久浏览器配置操作 `chatgpt.com`。它不使用 OpenAI 官方付费 API,也不需要 API Key。消息发送通过网页完成;历史读取可能使用当前网页会话的内部接口。它不读取用户日常浏览器配置,也不会把登录信息写进 MCP 配置。
6
-
7
- > [!IMPORTANT]
8
- > 本项目与 OpenAI 无隶属或背书关系。它依赖 ChatGPT 网页界面,页面改版、账号权限、地区或工作区策略都可能影响可用性。请遵守适用于你账号的条款,不要用它绕过访问控制、用量限制或安全机制。
9
-
10
- ## 主要能力
11
-
12
- - 写入提示词、上传文件、发送消息并读取完整回答
13
- - 新建普通或临时对话,选择历史对话
14
- - 动态读取和选择页面实际显示的模型、思考强度与能力档位
15
- - 普通请求默认使用“极高”;临时 Pro 身份探针默认停用,避免额外创建临时对话和发送测试消息
16
- - 浏览器和 ChatGPT 页面默认常驻,工具结束后只断开本地控制连接
17
- - 跨进程串行操作、低频节流、回答完成后的切换静默期
18
- - 遇到页面限流文字或非历史接口 HTTP 429 时熔断;历史接口 429 不触发全局熔断,不自动重试该接口
19
- - 对话达到 40 轮或出现 ChatGPT maximum-length banner 时,发送前先滚动加载完整 transcript(含较早历史),再归档并轮换普通对话;直接 `chatgpt_submit_prompt` 会安全拦截
20
- - 只记录脱敏后的异常请求方法、路径、状态码和资源类型
21
-
22
- ## 运行要求
23
-
24
- - Node.js 20 或更高版本
25
- - Google Chrome、Chromium 或 Microsoft Edge
26
- - 支持本地 stdio MCP 的客户端,例如 Codex
27
- - 可正常访问并手动登录的 ChatGPT 账号
28
-
29
- 项目会在 macOS、Windows 和 Linux 的常见位置查找浏览器。找不到时可通过 `CHATGPT_WEB_CHROME` 指定可执行文件。
30
-
31
- ## 安装
32
-
33
- ```bash
34
- git clone https://github.com/Goudu666/chatgpt-web-mcp.git
35
- cd chatgpt-web-mcp
36
- npm ci
37
- npm run doctor
38
- ```
39
-
40
- 为了在任意目录使用统一命令,可以建立本地全局链接:
41
-
42
- ```bash
43
- npm link
44
- chatgpt-web-mcp doctor
45
- ```
46
-
47
- ## 首次登录
48
-
49
- ```bash
50
- chatgpt-web-mcp login
51
- ```
52
-
53
- 未执行 `npm link` 时也可以使用:
54
-
55
- ```bash
56
- npm run login
57
- ```
58
-
59
- 在打开的专用浏览器窗口中手动登录。登录资料默认保存在 `~/.chatgpt-web-mcp/chrome-profile`,与日常浏览器配置分离。不要复制、提交或分享这个目录,也不要把密码、Cookie、令牌或验证码写进环境变量。
60
-
61
- ## 添加到 Codex
62
-
63
- 使用统一命令:
64
-
65
- ```bash
66
- codex mcp add chatgpt-web -- chatgpt-web-mcp serve
67
- codex mcp get chatgpt-web
68
- ```
69
-
70
- 如果 Codex 找不到全局命令,可以直接使用 Node.js 和项目的绝对路径:
71
-
72
- ```bash
73
- codex mcp add chatgpt-web -- node /absolute/path/to/chatgpt-web-mcp/src/index.js
74
- ```
75
-
76
- Codex 的 MCP 配置方式可参考 [OpenAI Docs](https://learn.chatgpt.com/docs/extend/mcp?surface=cli)。
77
-
78
- ## CLI
79
-
80
- ```text
81
- chatgpt-web-mcp serve 启动 stdio MCP Server(默认命令)
82
- chatgpt-web-mcp login 打开专用浏览器并等待手动登录
83
- chatgpt-web-mcp status 读取当前本地状态
84
- chatgpt-web-mcp doctor 检查 Node.js、浏览器和本地数据路径
85
- chatgpt-web-mcp help 显示帮助
86
- ```
87
-
88
- ## MCP 工具
89
-
90
- 工具按用途分为以下几组:
91
-
92
- - 状态:`chatgpt_status`、`chatgpt_capabilities`、`chatgpt_browser_lifecycle`
93
- - 对话:`chatgpt_new_chat`、`chatgpt_set_temporary`、`chatgpt_list_history`、`chatgpt_search_history`、`chatgpt_select_history`
94
- - 设置:`chatgpt_list_modes`、`chatgpt_select_mode`、`chatgpt_list_models`、`chatgpt_select_model`、`chatgpt_list_thinking_levels`、`chatgpt_select_thinking_level`、`chatgpt_answer_tier_status`、`chatgpt_select_answer_tier`
95
- - 输入与输出:`chatgpt_write_prompt`、`chatgpt_upload_files`、`chatgpt_submit_prompt`、`chatgpt_send_message`、`chatgpt_get_latest_response`、`chatgpt_archive_conversation`
96
- - 安全:`chatgpt_circuit_breaker_status`、`chatgpt_clear_circuit_breaker`、`chatgpt_network_diagnostics`
97
- - 策略路由:`chatgpt_probe_pro_identity`、`chatgpt_route_new_chat`
98
-
99
- 只有用户明确要求关闭专用浏览器时,才应调用 `chatgpt_close_browser`。
100
-
101
- ## 默认路由策略
102
-
103
- 普通请求默认新建非临时对话并选择页面可用的“极高”档位,使用 `chatgpt_route_new_chat(requestPro=false)`。
104
-
105
- **临时 Pro 身份探针默认停用**(`CHATGPT_WEB_PROBE_ENABLED=false`)。`chatgpt_probe_pro_identity` 或 `requestPro=true` 会明确报错,不新建临时对话,也不发送“你是什么模型?”;`forceProbe=true` 不能绕过停用设置。这样可以避免探针产生额外对话和请求。停用探针不等于禁止手动选择页面实际提供的 Pro 档位,但本工具不保证账号实际路由到哪一个模型。
106
-
107
- 仅在确实需要实验性身份核对时,才手动设置 `CHATGPT_WEB_PROBE_ENABLED=true` 并重启 MCP。当前实验流程在临时对话的可用档位发送探针,读取网络响应的 `model_slug`:mini 回退默认档位,其他非空标记记为 `network-verified`,缺少标记则停止。**非 mini 不等于 Pro**,该流程不会强制选择 Pro。工具名及 `requestPro` 参数为兼容旧客户端而保留,不能把它们理解为 Pro 保证。
108
-
109
- 启用探针时,同一浏览器与页面会话持续复用可靠缓存;检测到关闭后保留 3 小时,再次请求时才重验。普通 MCP 调用结束只断开控制连接,不关闭网页,不启动重验计时。默认停用状态下不会因缓存过期自动发起探针,也不会要求重新登录。
110
-
111
- 相关配置:
112
-
113
- | 环境变量 | 默认值 | 用途 |
114
- | --- | --- | --- |
115
- | `CHATGPT_WEB_PROBE_ENABLED` | `false` | 是否显式启用实验性临时身份探针 |
116
- | `CHATGPT_WEB_DEFAULT_TIER` | `极高` | 普通请求和回退使用的倒数第二档名称 |
117
- | `CHATGPT_WEB_PRO_TIER` | `Pro` | 滑杆最高档名称 |
118
- | `CHATGPT_WEB_PROBE_PROMPT` | `你是什么模型?` | 临时身份探针提示词 |
119
- | `CHATGPT_WEB_PROBE_ACCEPT_ID` | `gpt-5.6-pro` | 接受分类标识 |
120
- | `CHATGPT_WEB_PROBE_FALLBACK_ID` | `gpt-5.5-mini` | 回退分类标识 |
121
- | `CHATGPT_WEB_PROBE_ACCEPT_PATTERN` | GPT-5.6 Pro 正则 | 接受回答的匹配表达式 |
122
- | `CHATGPT_WEB_PROBE_FALLBACK_PATTERN` | GPT-5.5 mini 正则 | 回退回答的匹配表达式 |
123
- | `CHATGPT_WEB_PRO_RECHECK_AFTER_CLOSE_MS` | `10800000` | 页面或浏览器关闭后,重新验证前继续复用可靠结果的时间 |
124
-
125
- 参考配置见 [.env.example](.env.example)。项目不会自动读取 `.env`;请通过 MCP 客户端、Shell 或系统环境注入变量。
126
-
127
- ## 新对话前的可选刷新
128
-
129
- `CHATGPT_WEB_REFRESH_BEFORE_NEW_CHAT=false`,默认不额外刷新旧页面。设置为 `true` 并重启 MCP 后,新建对话执行“检查草稿和附件 → 刷新当前页面 → 站内新建”。刷新失败或出现限流时停止,不重试。
130
-
131
- 这与现有的“发送前刷新”是两个步骤。开启后,一次新建并发送通常会刷新两次,增加请求量和耗时;它用于按需处理旧页面状态,不是防限流功能。已完成的小规模测试只能说明该流程可用,不能证明额外刷新能降低限流。浏览器与网页仍默认常驻。
132
-
133
- ## 安全节流
134
-
135
- | 环境变量 | 默认值 |
136
- | --- | ---: |
137
- | `CHATGPT_WEB_PAGE_INTERACTION_INTERVAL_MS` | 1000 ms |
138
- | `CHATGPT_WEB_SITE_ACTION_INTERVAL_MS` | 5000 ms |
139
- | `CHATGPT_WEB_SEND_INTERVAL_MS` | 5000 ms |
140
- | `CHATGPT_WEB_CONVERSATION_CHANGE_INTERVAL_MS` | 5000 ms |
141
- | `CHATGPT_WEB_POST_RESPONSE_CONVERSATION_COOLDOWN_MS` | 5000 ms |
142
- | `CHATGPT_WEB_PAGE_STARTUP_DELAY_MS` | 6000 ms |
143
- | `CHATGPT_WEB_POST_BREAKER_COOLDOWN_MS` | 300000 ms |
144
- | `CHATGPT_WEB_HISTORY_QUIET_PERIOD_MS` | 300000 ms |
145
-
146
- **默认 5 秒是最小间隔,不是每 5 秒必定完成一次操作,也不是免于限流或封禁的保证。** 页面加载、页面交互、生成回答以及其他等待会叠加;完成上一条回答后才开始下一条,不并发发送。已有客户端环境变量会覆盖新默认值;例如原先显式配置了 `30000`,升级后仍使用 30 秒。
147
-
148
- 新建、临时切换和历史选择受独立的 5 秒对话变更间隔约束,回答完成后至少静默 5 秒才允许切换。首次打开 ChatGPT 页面后仍等待 6 秒。若账号出现请求频繁提示,应停止并增大间隔,例如把上述三个 `5000` 配置改回 `30000`,不要反复重试。
149
-
150
- 人工确认限流消失并清除本地熔断后,首次站点操作仍等待 5 分钟;页面明确提示历史限流时还有独立的 5 分钟静默截止时间,清除熔断不会绕过它。仅历史接口返回 HTTP 429 不触发全局熔断:浏览器响应保留诊断日志,主动读取失败则沿用页面 transcript 回退,不自动重试该接口。网页明确出现“请求过于频繁”等限流提示时仍停止。缺少现成请求头时不再额外打开页面取认证信息。
151
-
152
- 保留 PR 的旧进程锁回收逻辑:记录的 MCP 进程已退出时,后续操作会自动清除其生成标记,避免遗留锁阻塞。进程仍存活或标记未记录进程 ID 时,不按此规则清除;这不会同时清除限流熔断,也不会关闭浏览器。
153
-
154
- ## 其他环境变量
155
-
156
- - `CHATGPT_WEB_CHROME`:浏览器可执行文件绝对路径
157
- - `CHATGPT_WEB_PROFILE`:专用浏览器配置目录
158
- - `CHATGPT_WEB_HEADLESS`:是否无界面运行,默认 `false`
159
- - `CHATGPT_WEB_ACTION_TIMEOUT_MS`:单次页面操作超时
160
- - `CHATGPT_WEB_RESPONSE_TIMEOUT_MS`:普通档位回答超时
161
- - `CHATGPT_WEB_RECONNECT_DELAY_MS`:浏览器异常重连间隔
162
- - `CHATGPT_WEB_AUTH_CACHE_MS`:登录状态本地缓存时间
163
- - `CHATGPT_WEB_PRO_RECHECK_AFTER_CLOSE_MS`:页面或浏览器关闭后的探针重验间隔,默认 3 小时
164
- - `CHATGPT_WEB_BROWSER_STATE`、`CHATGPT_WEB_RUNTIME_STATE`:本地状态文件
165
- - `CHATGPT_WEB_OPERATION_LOCK`:跨进程浏览器独占锁
166
- - `CHATGPT_WEB_NETWORK_LOG`:脱敏网络异常日志
167
- - `CHATGPT_WEB_MAX_CONVERSATION_TURNS`:发送前自动轮换阈值,默认 `40`
168
- - `CHATGPT_WEB_CONTEXT_ARCHIVE_DIR`:对话轮换前 Markdown 归档目录
169
-
170
- ## 隐私与局限
171
-
172
- - 登录资料、运行状态和诊断日志默认位于 `~/.chatgpt-web-mcp`,不在仓库中。
173
- - 文件上传只接受调用者明确提供的绝对路径。
174
- - 网络诊断不保存查询参数、Cookie、请求体、响应体或对话 ID。
175
- - 等待回答使用页面内的变更事件,不持续轮询页面。
176
- - 每次发送前只做一次当前对话整页刷新并重新校验;页面、对话 URL、用户草稿或附件状态异常时停止,不自动重试。
177
- - 对话轮换前的完整 transcript(含懒加载的较早消息)由 `chatgpt_archive_conversation` 或原子发送路径以 `0600` Markdown 文件保存;归档目录应按部署需要纳入受控的研究文档路径。
178
- - ChatGPT 网页不是稳定 API;选择器可能随页面更新而需要维护。
179
- - 模型自我说明和网络模型标记都不构成对实际服务模型的独立证明;尤其不能把“非 mini”当作 Pro 保证。
180
-
181
- ## 开发
182
-
183
- ```bash
184
- npm ci
185
- npm test
186
- npm run smoke
187
- npm pack --dry-run
188
- ```
189
-
190
- CI 只运行离线测试和打包检查,不登录 ChatGPT,也不执行真实网页请求。贡献前请阅读 [CONTRIBUTING.md](CONTRIBUTING.md);安全问题请阅读 [SECURITY.md](SECURITY.md)。
191
-
192
- ## 许可证
193
-
194
- [MIT](LICENSE)
@@ -1,37 +0,0 @@
1
- # Security Policy
2
-
3
- ## Sensitive data
4
-
5
- The following data must never be committed, pasted into an issue, or attached to a public pull request:
6
-
7
- - browser profiles, cookies, local storage, session data, or authentication tokens;
8
- - passwords, verification codes, API keys, or private MCP configuration;
9
- - unredacted screenshots containing account details or chat history;
10
- - runtime-state, browser-state, lock, or raw diagnostic files;
11
- - private prompts, uploaded files, conversation URLs, or conversation identifiers.
12
-
13
- The default local data directory is `~/.chatgpt-web-mcp`. Treat the whole directory as sensitive even though the network diagnostic log is designed to be sanitized.
14
-
15
- ## Reporting a vulnerability
16
-
17
- Use GitHub's private vulnerability reporting feature when it is available for this repository. Do not open a public issue containing an exploit, credential, session artifact, or private user data.
18
-
19
- If private reporting is not available, open a public issue containing only a short, fully redacted request for a private reporting channel. Do not include reproduction secrets in that issue.
20
-
21
- For ordinary selector breakage, UI changes, installation problems, or non-sensitive bugs, use the public bug report template.
22
-
23
- ## Security invariants
24
-
25
- Contributions must preserve these behaviors:
26
-
27
- - the remote debugging endpoint listens only on loopback;
28
- - the project never asks users to put passwords, cookies, or verification codes in configuration;
29
- - HTTP 429 and visible rate-limit messages trip a manual circuit breaker;
30
- - the server does not dismiss rate-limit prompts or automatically retry them;
31
- - network diagnostics exclude query strings, cookies, request and response bodies, and conversation identifiers;
32
- - file upload requires explicit absolute paths from the caller;
33
- - the persistent browser is closed only after an explicit user request.
34
-
35
- ## Supported versions
36
-
37
- Security fixes are applied to the latest released version and the current default branch. Older snapshots may not receive backports.
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2025 Colin McDonnell
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.