@cartanova/qgrid-cli 2.7.0 → 2.7.2

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 (1337) hide show
  1. package/README.ko.md +3 -2
  2. package/README.md +3 -2
  3. package/bundle/dist/_virtual/_rolldown/runtime.js +20 -1
  4. package/bundle/dist/application/monit/monit.frame.js +27 -14
  5. package/bundle/dist/application/monit/monit.types.js +22 -13
  6. package/bundle/dist/application/qgrid/conv-routing.js +21 -11
  7. package/bundle/dist/application/qgrid/oauth.js +1 -1
  8. package/bundle/dist/application/qgrid/qgrid-run-lifecycle.js +15 -4
  9. package/bundle/dist/application/qgrid/qgrid.dispatcher.js +34 -14
  10. package/bundle/dist/application/qgrid/qgrid.frame.js +50 -73
  11. package/bundle/dist/application/qgrid/qgrid.types.js +4 -1
  12. package/bundle/dist/application/qgrid/schema-prompt.js +240 -0
  13. package/bundle/dist/application/qgrid/token-subscriber.js +5 -5
  14. package/bundle/dist/application/qgrid/tool-emulation-schema.js +13 -1
  15. package/bundle/dist/application/qgrid/tool-emulation.js +8 -6
  16. package/bundle/dist/application/queries.generated.js +3 -1
  17. package/bundle/dist/application/request-log/json-schema-type-text.js +55 -0
  18. package/bundle/dist/application/request-log/request-log.model.js +85 -3
  19. package/bundle/dist/application/request-log/request-log.types.js +3 -2
  20. package/bundle/dist/application/request-log/zod-code-format.js +71 -0
  21. package/bundle/dist/application/setting/setting.constant.js +2 -62
  22. package/bundle/dist/application/setting/setting.model.js +3 -3
  23. package/bundle/dist/application/setting/setting.store.js +2 -2
  24. package/bundle/dist/application/sonamu.generated.js +11 -4
  25. package/bundle/dist/application/sonamu.generated.sso.js +7 -3
  26. package/bundle/dist/i18n/sd.generated.js +5 -2
  27. package/bundle/dist/migrations/20260814130113_alter_request_logs_add1_alter1.js +15 -0
  28. package/bundle/dist/migrations/20260814131051_alter_request_logs_add1_alter1.js +15 -0
  29. package/bundle/dist/migrations/20260814134846_alter_request_logs_add1_alter1.js +15 -0
  30. package/bundle/dist/migrations/20260814140759_alter_request_logs_alter1.js +13 -0
  31. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/2020.js +112 -0
  32. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/codegen/code.js +140 -0
  33. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/codegen/index.js +676 -0
  34. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/codegen/scope.js +143 -0
  35. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/errors.js +104 -0
  36. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/index.js +225 -0
  37. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/names.js +30 -0
  38. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/ref_error.js +20 -0
  39. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/resolve.js +135 -0
  40. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/rules.js +63 -0
  41. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/util.js +148 -0
  42. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/applicability.js +25 -0
  43. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/boolSchema.js +50 -0
  44. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/dataType.js +174 -0
  45. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/defaults.js +33 -0
  46. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/index.js +435 -0
  47. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/keyword.js +115 -0
  48. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/subschema.js +74 -0
  49. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/core.js +585 -0
  50. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/data.js +20 -0
  51. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2020-12/index.js +44 -0
  52. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2020-12/meta/applicator.js +52 -0
  53. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2020-12/meta/content.js +22 -0
  54. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2020-12/meta/core.js +53 -0
  55. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.js +18 -0
  56. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2020-12/meta/meta-data.js +38 -0
  57. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.js +21 -0
  58. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2020-12/meta/validation.js +87 -0
  59. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2020-12/schema.js +61 -0
  60. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/runtime/equal.js +14 -0
  61. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/runtime/ucs2length.js +27 -0
  62. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/runtime/uri.js +14 -0
  63. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/runtime/validation_error.js +18 -0
  64. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +59 -0
  65. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +98 -0
  66. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/allOf.js +31 -0
  67. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +18 -0
  68. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/contains.js +91 -0
  69. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +89 -0
  70. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js +18 -0
  71. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/if.js +64 -0
  72. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/index.js +62 -0
  73. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/items.js +61 -0
  74. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/items2020.js +36 -0
  75. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/not.js +33 -0
  76. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +53 -0
  77. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +63 -0
  78. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +19 -0
  79. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/properties.js +54 -0
  80. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +43 -0
  81. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +19 -0
  82. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/code.js +132 -0
  83. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/core/id.js +16 -0
  84. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/core/index.js +24 -0
  85. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/core/ref.js +114 -0
  86. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/discriminator/index.js +103 -0
  87. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/discriminator/types.js +16 -0
  88. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/draft2020.js +37 -0
  89. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js +48 -0
  90. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js +47 -0
  91. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/dynamic/index.js +24 -0
  92. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js +22 -0
  93. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js +17 -0
  94. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/format/format.js +94 -0
  95. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/format/index.js +12 -0
  96. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/metadata.js +25 -0
  97. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/next.js +21 -0
  98. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/unevaluated/index.js +15 -0
  99. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js +48 -0
  100. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js +61 -0
  101. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/const.js +29 -0
  102. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js +19 -0
  103. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/enum.js +51 -0
  104. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/index.js +50 -0
  105. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitContains.js +20 -0
  106. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitItems.js +30 -0
  107. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitLength.js +35 -0
  108. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +49 -0
  109. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +30 -0
  110. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +29 -0
  111. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/pattern.js +40 -0
  112. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/required.js +74 -0
  113. package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +72 -0
  114. package/bundle/dist/node_modules/.pnpm/fast-deep-equal@3.1.3/node_modules/fast-deep-equal/index.js +35 -0
  115. package/bundle/dist/node_modules/.pnpm/fast-uri@3.1.0/node_modules/fast-uri/index.js +238 -0
  116. package/bundle/dist/node_modules/.pnpm/fast-uri@3.1.0/node_modules/fast-uri/lib/schemes.js +189 -0
  117. package/bundle/dist/node_modules/.pnpm/fast-uri@3.1.0/node_modules/fast-uri/lib/utils.js +284 -0
  118. package/bundle/dist/node_modules/.pnpm/json-schema-traverse@1.0.0/node_modules/json-schema-traverse/index.js +80 -0
  119. package/bundle/dist/node_modules/.pnpm/vitest@4.1.10_@opentelemetry_api@1.9.0_@types_node@25.0.7_@vitest_coverage-v8@4.1.10_vi_3892b4338df694f79f7d384fad23d930/node_modules/vitest/dist/chunks/_commonjsHelpers.D26ty3Ew.js +9 -0
  120. package/bundle/dist/node_modules/.pnpm/vitest@4.1.10_@opentelemetry_api@1.9.0_@types_node@25.0.7_@vitest_coverage-v8@4.1.10_vi_3892b4338df694f79f7d384fad23d930/node_modules/vitest/dist/chunks/benchmark.CX_oY03V.js +41 -0
  121. package/bundle/dist/node_modules/.pnpm/vitest@4.1.10_@opentelemetry_api@1.9.0_@types_node@25.0.7_@vitest_coverage-v8@4.1.10_vi_3892b4338df694f79f7d384fad23d930/node_modules/vitest/dist/chunks/evaluatedModules.Dg1zASAC.js +19 -0
  122. package/bundle/dist/node_modules/.pnpm/vitest@4.1.10_@opentelemetry_api@1.9.0_@types_node@25.0.7_@vitest_coverage-v8@4.1.10_vi_3892b4338df694f79f7d384fad23d930/node_modules/vitest/dist/chunks/index.Chj8NDwU.js +202 -0
  123. package/bundle/dist/node_modules/.pnpm/vitest@4.1.10_@opentelemetry_api@1.9.0_@types_node@25.0.7_@vitest_coverage-v8@4.1.10_vi_3892b4338df694f79f7d384fad23d930/node_modules/vitest/dist/chunks/index.DdgEv5B1.js +46 -0
  124. package/bundle/dist/node_modules/.pnpm/vitest@4.1.10_@opentelemetry_api@1.9.0_@types_node@25.0.7_@vitest_coverage-v8@4.1.10_vi_3892b4338df694f79f7d384fad23d930/node_modules/vitest/dist/chunks/rpc.MzXet3jl.js +119 -0
  125. package/bundle/dist/node_modules/.pnpm/vitest@4.1.10_@opentelemetry_api@1.9.0_@types_node@25.0.7_@vitest_coverage-v8@4.1.10_vi_3892b4338df694f79f7d384fad23d930/node_modules/vitest/dist/chunks/test.DNmyFkvJ.js +3044 -0
  126. package/bundle/dist/node_modules/.pnpm/vitest@4.1.10_@opentelemetry_api@1.9.0_@types_node@25.0.7_@vitest_coverage-v8@4.1.10_vi_3892b4338df694f79f7d384fad23d930/node_modules/vitest/dist/chunks/utils.BX5Fg8C4.js +59 -0
  127. package/bundle/dist/node_modules/.pnpm/vitest@4.1.10_@opentelemetry_api@1.9.0_@types_node@25.0.7_@vitest_coverage-v8@4.1.10_vi_3892b4338df694f79f7d384fad23d930/node_modules/vitest/dist/index.js +28 -0
  128. package/bundle/dist/sonamu.config.js +10 -9
  129. package/bundle/dist/testing/schema-bench.js +0 -0
  130. package/bundle/dist/testing/setup-mocks.js +2 -2
  131. package/bundle/dist/utils/providers/anthropic/anthropic-dispatcher.js +14 -2
  132. package/bundle/dist/utils/providers/anthropic/claude-session.js +1 -1
  133. package/bundle/dist/utils/providers/anthropic/fence-strip.js +83 -0
  134. package/bundle/dist/utils/providers/anthropic/stream-json-adapter.js +3 -5
  135. package/bundle/dist/utils/providers/common/model-cost.js +1 -1
  136. package/bundle/dist/utils/providers/common/schema-validation.js +1 -1
  137. package/bundle/dist/utils/providers/openai/openai-backend-protocol.js +144 -0
  138. package/bundle/dist/utils/providers/openai/openai-constants.js +4 -2
  139. package/bundle/dist/utils/providers/openai/openai-direct-client.js +327 -0
  140. package/bundle/dist/utils/providers/openai/openai-dispatcher.js +358 -781
  141. package/bundle/dist/utils/providers/openai/openai-oauth.js +84 -0
  142. package/bundle/dist/utils/providers/openai/openai-quota.js +76 -5
  143. package/bundle/dist/utils/providers/openai/openai-refresh.js +3 -3
  144. package/bundle/dist/utils/providers/openai/openai-sse.js +72 -0
  145. package/bundle/dist/utils/providers/openai/openai-transport-config.js +14 -0
  146. package/bundle/src/application/monit/monit.frame.test.ts +14 -17
  147. package/bundle/src/application/monit/monit.frame.ts +23 -12
  148. package/bundle/src/application/monit/monit.types.ts +40 -11
  149. package/bundle/src/application/qgrid/conv-routing.test.ts +67 -0
  150. package/bundle/src/application/qgrid/conv-routing.ts +46 -12
  151. package/bundle/src/application/qgrid/qgrid-oauth-redirect.test.ts +92 -2
  152. package/bundle/src/application/qgrid/qgrid-run-lifecycle.test.ts +3 -0
  153. package/bundle/src/application/qgrid/qgrid-run-lifecycle.ts +15 -1
  154. package/bundle/src/application/qgrid/qgrid.dispatcher.test.ts +286 -40
  155. package/bundle/src/application/qgrid/qgrid.dispatcher.ts +58 -14
  156. package/bundle/src/application/qgrid/qgrid.frame.test.ts +120 -153
  157. package/bundle/src/application/qgrid/qgrid.frame.ts +57 -94
  158. package/bundle/src/application/qgrid/qgrid.types.ts +11 -4
  159. package/bundle/src/application/qgrid/schema-prompt.test.ts +166 -0
  160. package/bundle/src/application/qgrid/schema-prompt.ts +293 -0
  161. package/bundle/src/application/qgrid/token-subscriber.ts +4 -4
  162. package/bundle/src/application/qgrid/tool-emulation-schema.ts +1 -1
  163. package/bundle/src/application/qgrid/tool-emulation.test.ts +37 -0
  164. package/bundle/src/application/qgrid/tool-emulation.ts +19 -7
  165. package/bundle/src/application/queries.generated.ts +6 -0
  166. package/bundle/src/application/request-log/json-schema-type-text.test.ts +96 -0
  167. package/bundle/src/application/request-log/json-schema-type-text.ts +83 -0
  168. package/bundle/src/application/request-log/request-log.entity.json +147 -21
  169. package/bundle/src/application/request-log/request-log.model.ts +108 -0
  170. package/bundle/src/application/request-log/request-log.types.ts +2 -0
  171. package/bundle/src/application/request-log/zod-code-format.test.ts +31 -0
  172. package/bundle/src/application/request-log/zod-code-format.ts +73 -0
  173. package/bundle/src/application/setting/setting.constant.test.ts +22 -24
  174. package/bundle/src/application/setting/setting.constant.ts +2 -63
  175. package/bundle/src/application/setting/setting.entity.json +1 -1
  176. package/bundle/src/application/setting/setting.store.ts +1 -1
  177. package/bundle/src/application/sonamu.generated.http +20 -1
  178. package/bundle/src/application/sonamu.generated.sso.ts +4 -0
  179. package/bundle/src/application/sonamu.generated.ts +10 -0
  180. package/bundle/src/i18n/sd.generated.ts +6 -1
  181. package/bundle/src/migrations/20260814130113_alter_request_logs_add1_alter1.ts +15 -0
  182. package/bundle/src/migrations/20260814131051_alter_request_logs_add1_alter1.ts +15 -0
  183. package/bundle/src/migrations/20260814134846_alter_request_logs_add1_alter1.ts +15 -0
  184. package/bundle/src/migrations/20260814140759_alter_request_logs_alter1.ts +13 -0
  185. package/bundle/src/sonamu.config.ts +9 -13
  186. package/bundle/src/testing/schema-bench.test.ts +358 -0
  187. package/bundle/src/testing/schema-bench.ts +352 -0
  188. package/bundle/src/utils/providers/anthropic/anthropic-dispatcher.ts +17 -2
  189. package/bundle/src/utils/providers/anthropic/claude-session.ts +1 -3
  190. package/bundle/src/utils/providers/anthropic/fence-strip.test.ts +122 -0
  191. package/bundle/src/utils/providers/anthropic/fence-strip.ts +105 -0
  192. package/bundle/src/utils/providers/anthropic/stream-json-adapter.test.ts +1 -2
  193. package/bundle/src/utils/providers/anthropic/stream-json-adapter.ts +4 -11
  194. package/bundle/src/utils/providers/common/model-cost.ts +4 -9
  195. package/bundle/src/utils/providers/common/provider-dispatcher.ts +10 -8
  196. package/bundle/src/utils/providers/common/provider-types.ts +48 -0
  197. package/bundle/src/utils/providers/common/schema-validation.ts +1 -1
  198. package/bundle/src/utils/providers/openai/openai-backend-protocol.test.ts +106 -0
  199. package/bundle/src/utils/providers/openai/openai-backend-protocol.ts +255 -0
  200. package/bundle/src/utils/providers/openai/openai-constants.ts +2 -0
  201. package/bundle/src/utils/providers/openai/openai-direct-client.test.ts +610 -0
  202. package/bundle/src/utils/providers/openai/openai-direct-client.ts +478 -0
  203. package/bundle/src/utils/providers/openai/openai-dispatcher.test.ts +336 -1723
  204. package/bundle/src/utils/providers/openai/openai-dispatcher.ts +458 -1175
  205. package/bundle/src/utils/providers/openai/openai-oauth.test.ts +95 -0
  206. package/bundle/src/utils/providers/openai/openai-oauth.ts +141 -0
  207. package/bundle/src/utils/providers/openai/openai-quota.test.ts +80 -7
  208. package/bundle/src/utils/providers/openai/openai-quota.ts +105 -4
  209. package/bundle/src/utils/providers/openai/openai-refresh.test.ts +120 -0
  210. package/bundle/src/utils/providers/openai/openai-refresh.ts +3 -1
  211. package/bundle/src/utils/providers/openai/openai-sse.test.ts +52 -0
  212. package/bundle/src/utils/providers/openai/openai-sse.ts +79 -0
  213. package/bundle/src/utils/providers/openai/openai-transport-config.ts +17 -0
  214. package/bundle/web-dist/client/assets/index-BldeEvAK.css +1 -0
  215. package/bundle/web-dist/client/assets/index-DkAXPF9q.js +106 -0
  216. package/bundle/web-dist/client/assets/logs-DlI6OojL.js +1 -0
  217. package/bundle/web-dist/client/assets/monit-qap66dhi.js +1 -0
  218. package/bundle/web-dist/client/assets/routes-CV07Pzde.js +5 -0
  219. package/bundle/web-dist/client/assets/services.generated-CSW8bhCP.js +51 -0
  220. package/bundle/web-dist/client/assets/settings-CdYub4yo.js +1 -0
  221. package/bundle/web-dist/client/assets/show-DA1L8DVD.js +2 -0
  222. package/bundle/web-dist/client/assets/tokens-Dt3gfkwP.js +1 -0
  223. package/bundle/web-dist/client/assets/use-oauth-login-flow-Cwi0HtJY.js +1 -0
  224. package/bundle/web-dist/client/index.html +3 -3
  225. package/bundle/web-dist/server/assets/lazyRouteComponent-0y-znAfz.js +1856 -0
  226. package/bundle/web-dist/server/assets/logs-CJBbHM3_.js +481 -0
  227. package/bundle/web-dist/server/assets/monit-8WAsPETB.js +1670 -0
  228. package/bundle/web-dist/server/assets/plus-9das21ju.js +19 -0
  229. package/bundle/web-dist/server/assets/react-dom-zmEq8BVp.js +462 -0
  230. package/bundle/web-dist/server/assets/routes-B6bX3o41.js +2924 -0
  231. package/bundle/web-dist/server/assets/services.generated-DyPeBI00.js +23644 -0
  232. package/bundle/web-dist/server/assets/settings-D1u5WdpP.js +597 -0
  233. package/bundle/web-dist/server/assets/show-Cr7vwR0l.js +2861 -0
  234. package/bundle/web-dist/server/assets/tokens-BumM0gnH.js +441 -0
  235. package/bundle/web-dist/server/assets/use-oauth-login-flow-DmsHGOlx.js +160 -0
  236. package/bundle/web-dist/server/entry-server.generated.js +12 -12
  237. package/dist/cli.d.ts +10 -1
  238. package/dist/cli.js +1 -6
  239. package/package.json +3 -2
  240. package/skills/qgrid/SKILL.md +5 -5
  241. package/skills/qgrid/references/ai-sdk-provider-contract.md +36 -25
  242. package/skills/qgrid/references/anthropic-claude-code-runtime.md +31 -14
  243. package/skills/qgrid/references/cli-env-and-server-boot.md +6 -13
  244. package/skills/qgrid/references/decision-rationale.md +28 -26
  245. package/skills/qgrid/references/docs-workflow.md +1 -1
  246. package/skills/qgrid/references/openai-codex-runtime.md +39 -156
  247. package/skills/qgrid/references/prompt-cache-and-usage.md +35 -68
  248. package/skills/qgrid/references/provider-runtime-differences.md +18 -18
  249. package/skills/qgrid/references/repo-map.md +2 -2
  250. package/skills/qgrid/references/request-log-run-lifecycle.md +12 -2
  251. package/skills/qgrid/references/sonamu-api-web-flow.md +4 -0
  252. package/skills/qgrid/references/token-auth-quota-lifecycle.md +14 -24
  253. package/skills/qgrid/references/tool-calling-and-multiturn.md +19 -9
  254. package/skills/qgrid/references/verification-and-debugging.md +17 -15
  255. package/bundle/dist/codex-protocol/AgentPath.js +0 -1
  256. package/bundle/dist/codex-protocol/ApplyPatchApprovalParams.js +0 -1
  257. package/bundle/dist/codex-protocol/ApplyPatchApprovalResponse.js +0 -1
  258. package/bundle/dist/codex-protocol/AuthMode.js +0 -1
  259. package/bundle/dist/codex-protocol/ClientInfo.js +0 -1
  260. package/bundle/dist/codex-protocol/ClientNotification.js +0 -1
  261. package/bundle/dist/codex-protocol/ClientRequest.js +0 -1
  262. package/bundle/dist/codex-protocol/CollaborationMode.js +0 -1
  263. package/bundle/dist/codex-protocol/ContentItem.js +0 -1
  264. package/bundle/dist/codex-protocol/ConversationGitInfo.js +0 -1
  265. package/bundle/dist/codex-protocol/ConversationSummary.js +0 -1
  266. package/bundle/dist/codex-protocol/ExecCommandApprovalParams.js +0 -1
  267. package/bundle/dist/codex-protocol/ExecCommandApprovalResponse.js +0 -1
  268. package/bundle/dist/codex-protocol/ExecPolicyAmendment.js +0 -1
  269. package/bundle/dist/codex-protocol/FileChange.js +0 -1
  270. package/bundle/dist/codex-protocol/ForcedLoginMethod.js +0 -1
  271. package/bundle/dist/codex-protocol/FunctionCallOutputBody.js +0 -1
  272. package/bundle/dist/codex-protocol/FunctionCallOutputContentItem.js +0 -1
  273. package/bundle/dist/codex-protocol/FuzzyFileSearchMatchType.js +0 -1
  274. package/bundle/dist/codex-protocol/FuzzyFileSearchParams.js +0 -1
  275. package/bundle/dist/codex-protocol/FuzzyFileSearchResponse.js +0 -1
  276. package/bundle/dist/codex-protocol/FuzzyFileSearchResult.js +0 -1
  277. package/bundle/dist/codex-protocol/FuzzyFileSearchSessionCompletedNotification.js +0 -1
  278. package/bundle/dist/codex-protocol/FuzzyFileSearchSessionUpdatedNotification.js +0 -1
  279. package/bundle/dist/codex-protocol/GetAuthStatusParams.js +0 -1
  280. package/bundle/dist/codex-protocol/GetAuthStatusResponse.js +0 -1
  281. package/bundle/dist/codex-protocol/GetConversationSummaryParams.js +0 -1
  282. package/bundle/dist/codex-protocol/GetConversationSummaryResponse.js +0 -1
  283. package/bundle/dist/codex-protocol/GitDiffToRemoteParams.js +0 -1
  284. package/bundle/dist/codex-protocol/GitDiffToRemoteResponse.js +0 -1
  285. package/bundle/dist/codex-protocol/GitSha.js +0 -1
  286. package/bundle/dist/codex-protocol/ImageDetail.js +0 -1
  287. package/bundle/dist/codex-protocol/InitializeCapabilities.js +0 -1
  288. package/bundle/dist/codex-protocol/InitializeParams.js +0 -1
  289. package/bundle/dist/codex-protocol/InitializeResponse.js +0 -1
  290. package/bundle/dist/codex-protocol/InputModality.js +0 -1
  291. package/bundle/dist/codex-protocol/InternalSessionSource.js +0 -1
  292. package/bundle/dist/codex-protocol/LocalShellAction.js +0 -1
  293. package/bundle/dist/codex-protocol/LocalShellExecAction.js +0 -1
  294. package/bundle/dist/codex-protocol/LocalShellStatus.js +0 -1
  295. package/bundle/dist/codex-protocol/MessagePhase.js +0 -1
  296. package/bundle/dist/codex-protocol/ModeKind.js +0 -1
  297. package/bundle/dist/codex-protocol/NetworkPolicyAmendment.js +0 -1
  298. package/bundle/dist/codex-protocol/NetworkPolicyRuleAction.js +0 -1
  299. package/bundle/dist/codex-protocol/ParsedCommand.js +0 -1
  300. package/bundle/dist/codex-protocol/Personality.js +0 -1
  301. package/bundle/dist/codex-protocol/PlanType.js +0 -1
  302. package/bundle/dist/codex-protocol/RealtimeConversationVersion.js +0 -1
  303. package/bundle/dist/codex-protocol/RealtimeOutputModality.js +0 -1
  304. package/bundle/dist/codex-protocol/RealtimeVoice.js +0 -1
  305. package/bundle/dist/codex-protocol/RealtimeVoicesList.js +0 -1
  306. package/bundle/dist/codex-protocol/ReasoningEffort.js +0 -1
  307. package/bundle/dist/codex-protocol/ReasoningItemContent.js +0 -1
  308. package/bundle/dist/codex-protocol/ReasoningItemReasoningSummary.js +0 -1
  309. package/bundle/dist/codex-protocol/ReasoningSummary.js +0 -1
  310. package/bundle/dist/codex-protocol/RequestId.js +0 -1
  311. package/bundle/dist/codex-protocol/Resource.js +0 -1
  312. package/bundle/dist/codex-protocol/ResourceContent.js +0 -1
  313. package/bundle/dist/codex-protocol/ResourceTemplate.js +0 -1
  314. package/bundle/dist/codex-protocol/ResponseItem.js +0 -1
  315. package/bundle/dist/codex-protocol/ReviewDecision.js +0 -1
  316. package/bundle/dist/codex-protocol/ServerNotification.js +0 -1
  317. package/bundle/dist/codex-protocol/ServerRequest.js +0 -1
  318. package/bundle/dist/codex-protocol/SessionSource.js +0 -1
  319. package/bundle/dist/codex-protocol/Settings.js +0 -1
  320. package/bundle/dist/codex-protocol/SubAgentSource.js +0 -1
  321. package/bundle/dist/codex-protocol/ThreadId.js +0 -1
  322. package/bundle/dist/codex-protocol/ThreadMemoryMode.js +0 -1
  323. package/bundle/dist/codex-protocol/Tool.js +0 -1
  324. package/bundle/dist/codex-protocol/Verbosity.js +0 -1
  325. package/bundle/dist/codex-protocol/WebSearchAction.js +0 -1
  326. package/bundle/dist/codex-protocol/WebSearchContextSize.js +0 -1
  327. package/bundle/dist/codex-protocol/WebSearchLocation.js +0 -1
  328. package/bundle/dist/codex-protocol/WebSearchMode.js +0 -1
  329. package/bundle/dist/codex-protocol/WebSearchToolConfig.js +0 -1
  330. package/bundle/dist/codex-protocol/index.js +0 -2
  331. package/bundle/dist/codex-protocol/serde_json/JsonValue.js +0 -1
  332. package/bundle/dist/codex-protocol/v2/Account.js +0 -1
  333. package/bundle/dist/codex-protocol/v2/AccountLoginCompletedNotification.js +0 -1
  334. package/bundle/dist/codex-protocol/v2/AccountRateLimitsUpdatedNotification.js +0 -1
  335. package/bundle/dist/codex-protocol/v2/AccountUpdatedNotification.js +0 -1
  336. package/bundle/dist/codex-protocol/v2/ActivePermissionProfile.js +0 -1
  337. package/bundle/dist/codex-protocol/v2/ActivePermissionProfileModification.js +0 -1
  338. package/bundle/dist/codex-protocol/v2/AddCreditsNudgeCreditType.js +0 -1
  339. package/bundle/dist/codex-protocol/v2/AddCreditsNudgeEmailStatus.js +0 -1
  340. package/bundle/dist/codex-protocol/v2/AdditionalFileSystemPermissions.js +0 -1
  341. package/bundle/dist/codex-protocol/v2/AdditionalNetworkPermissions.js +0 -1
  342. package/bundle/dist/codex-protocol/v2/AdditionalPermissionProfile.js +0 -1
  343. package/bundle/dist/codex-protocol/v2/AgentMessageDeltaNotification.js +0 -1
  344. package/bundle/dist/codex-protocol/v2/AnalyticsConfig.js +0 -1
  345. package/bundle/dist/codex-protocol/v2/AppBranding.js +0 -1
  346. package/bundle/dist/codex-protocol/v2/AppInfo.js +0 -1
  347. package/bundle/dist/codex-protocol/v2/AppListUpdatedNotification.js +0 -1
  348. package/bundle/dist/codex-protocol/v2/AppMetadata.js +0 -1
  349. package/bundle/dist/codex-protocol/v2/AppReview.js +0 -1
  350. package/bundle/dist/codex-protocol/v2/AppScreenshot.js +0 -1
  351. package/bundle/dist/codex-protocol/v2/AppSummary.js +0 -1
  352. package/bundle/dist/codex-protocol/v2/AppToolApproval.js +0 -1
  353. package/bundle/dist/codex-protocol/v2/AppToolsConfig.js +0 -1
  354. package/bundle/dist/codex-protocol/v2/ApprovalsReviewer.js +0 -1
  355. package/bundle/dist/codex-protocol/v2/AppsConfig.js +0 -1
  356. package/bundle/dist/codex-protocol/v2/AppsDefaultConfig.js +0 -1
  357. package/bundle/dist/codex-protocol/v2/AppsListParams.js +0 -1
  358. package/bundle/dist/codex-protocol/v2/AppsListResponse.js +0 -1
  359. package/bundle/dist/codex-protocol/v2/AskForApproval.js +0 -1
  360. package/bundle/dist/codex-protocol/v2/AutoReviewDecisionSource.js +0 -1
  361. package/bundle/dist/codex-protocol/v2/ByteRange.js +0 -1
  362. package/bundle/dist/codex-protocol/v2/CancelLoginAccountParams.js +0 -1
  363. package/bundle/dist/codex-protocol/v2/CancelLoginAccountResponse.js +0 -1
  364. package/bundle/dist/codex-protocol/v2/CancelLoginAccountStatus.js +0 -1
  365. package/bundle/dist/codex-protocol/v2/ChatgptAuthTokensRefreshParams.js +0 -1
  366. package/bundle/dist/codex-protocol/v2/ChatgptAuthTokensRefreshReason.js +0 -1
  367. package/bundle/dist/codex-protocol/v2/ChatgptAuthTokensRefreshResponse.js +0 -1
  368. package/bundle/dist/codex-protocol/v2/CodexErrorInfo.js +0 -1
  369. package/bundle/dist/codex-protocol/v2/CollabAgentState.js +0 -1
  370. package/bundle/dist/codex-protocol/v2/CollabAgentStatus.js +0 -1
  371. package/bundle/dist/codex-protocol/v2/CollabAgentTool.js +0 -1
  372. package/bundle/dist/codex-protocol/v2/CollabAgentToolCallStatus.js +0 -1
  373. package/bundle/dist/codex-protocol/v2/CollaborationModeMask.js +0 -1
  374. package/bundle/dist/codex-protocol/v2/CommandAction.js +0 -1
  375. package/bundle/dist/codex-protocol/v2/CommandExecOutputDeltaNotification.js +0 -1
  376. package/bundle/dist/codex-protocol/v2/CommandExecOutputStream.js +0 -1
  377. package/bundle/dist/codex-protocol/v2/CommandExecParams.js +0 -1
  378. package/bundle/dist/codex-protocol/v2/CommandExecResizeParams.js +0 -1
  379. package/bundle/dist/codex-protocol/v2/CommandExecResizeResponse.js +0 -1
  380. package/bundle/dist/codex-protocol/v2/CommandExecResponse.js +0 -1
  381. package/bundle/dist/codex-protocol/v2/CommandExecTerminalSize.js +0 -1
  382. package/bundle/dist/codex-protocol/v2/CommandExecTerminateParams.js +0 -1
  383. package/bundle/dist/codex-protocol/v2/CommandExecTerminateResponse.js +0 -1
  384. package/bundle/dist/codex-protocol/v2/CommandExecWriteParams.js +0 -1
  385. package/bundle/dist/codex-protocol/v2/CommandExecWriteResponse.js +0 -1
  386. package/bundle/dist/codex-protocol/v2/CommandExecutionApprovalDecision.js +0 -1
  387. package/bundle/dist/codex-protocol/v2/CommandExecutionOutputDeltaNotification.js +0 -1
  388. package/bundle/dist/codex-protocol/v2/CommandExecutionRequestApprovalParams.js +0 -1
  389. package/bundle/dist/codex-protocol/v2/CommandExecutionRequestApprovalResponse.js +0 -1
  390. package/bundle/dist/codex-protocol/v2/CommandExecutionSource.js +0 -1
  391. package/bundle/dist/codex-protocol/v2/CommandExecutionStatus.js +0 -1
  392. package/bundle/dist/codex-protocol/v2/CommandMigration.js +0 -1
  393. package/bundle/dist/codex-protocol/v2/Config.js +0 -1
  394. package/bundle/dist/codex-protocol/v2/ConfigBatchWriteParams.js +0 -1
  395. package/bundle/dist/codex-protocol/v2/ConfigEdit.js +0 -1
  396. package/bundle/dist/codex-protocol/v2/ConfigLayer.js +0 -1
  397. package/bundle/dist/codex-protocol/v2/ConfigLayerMetadata.js +0 -1
  398. package/bundle/dist/codex-protocol/v2/ConfigLayerSource.js +0 -1
  399. package/bundle/dist/codex-protocol/v2/ConfigReadParams.js +0 -1
  400. package/bundle/dist/codex-protocol/v2/ConfigReadResponse.js +0 -1
  401. package/bundle/dist/codex-protocol/v2/ConfigRequirements.js +0 -1
  402. package/bundle/dist/codex-protocol/v2/ConfigRequirementsReadResponse.js +0 -1
  403. package/bundle/dist/codex-protocol/v2/ConfigValueWriteParams.js +0 -1
  404. package/bundle/dist/codex-protocol/v2/ConfigWarningNotification.js +0 -1
  405. package/bundle/dist/codex-protocol/v2/ConfigWriteResponse.js +0 -1
  406. package/bundle/dist/codex-protocol/v2/ConfiguredHookHandler.js +0 -1
  407. package/bundle/dist/codex-protocol/v2/ConfiguredHookMatcherGroup.js +0 -1
  408. package/bundle/dist/codex-protocol/v2/ContextCompactedNotification.js +0 -1
  409. package/bundle/dist/codex-protocol/v2/CreditsSnapshot.js +0 -1
  410. package/bundle/dist/codex-protocol/v2/DeprecationNoticeNotification.js +0 -1
  411. package/bundle/dist/codex-protocol/v2/DynamicToolCallOutputContentItem.js +0 -1
  412. package/bundle/dist/codex-protocol/v2/DynamicToolCallParams.js +0 -1
  413. package/bundle/dist/codex-protocol/v2/DynamicToolCallResponse.js +0 -1
  414. package/bundle/dist/codex-protocol/v2/DynamicToolCallStatus.js +0 -1
  415. package/bundle/dist/codex-protocol/v2/DynamicToolSpec.js +0 -1
  416. package/bundle/dist/codex-protocol/v2/ErrorNotification.js +0 -1
  417. package/bundle/dist/codex-protocol/v2/ExecPolicyAmendment.js +0 -1
  418. package/bundle/dist/codex-protocol/v2/ExperimentalFeature.js +0 -1
  419. package/bundle/dist/codex-protocol/v2/ExperimentalFeatureEnablementSetParams.js +0 -1
  420. package/bundle/dist/codex-protocol/v2/ExperimentalFeatureEnablementSetResponse.js +0 -1
  421. package/bundle/dist/codex-protocol/v2/ExperimentalFeatureListParams.js +0 -1
  422. package/bundle/dist/codex-protocol/v2/ExperimentalFeatureListResponse.js +0 -1
  423. package/bundle/dist/codex-protocol/v2/ExperimentalFeatureStage.js +0 -1
  424. package/bundle/dist/codex-protocol/v2/ExternalAgentConfigDetectParams.js +0 -1
  425. package/bundle/dist/codex-protocol/v2/ExternalAgentConfigDetectResponse.js +0 -1
  426. package/bundle/dist/codex-protocol/v2/ExternalAgentConfigImportCompletedNotification.js +0 -1
  427. package/bundle/dist/codex-protocol/v2/ExternalAgentConfigImportParams.js +0 -1
  428. package/bundle/dist/codex-protocol/v2/ExternalAgentConfigImportResponse.js +0 -1
  429. package/bundle/dist/codex-protocol/v2/ExternalAgentConfigMigrationItem.js +0 -1
  430. package/bundle/dist/codex-protocol/v2/ExternalAgentConfigMigrationItemType.js +0 -1
  431. package/bundle/dist/codex-protocol/v2/FeedbackUploadParams.js +0 -1
  432. package/bundle/dist/codex-protocol/v2/FeedbackUploadResponse.js +0 -1
  433. package/bundle/dist/codex-protocol/v2/FileChangeApprovalDecision.js +0 -1
  434. package/bundle/dist/codex-protocol/v2/FileChangeOutputDeltaNotification.js +0 -1
  435. package/bundle/dist/codex-protocol/v2/FileChangePatchUpdatedNotification.js +0 -1
  436. package/bundle/dist/codex-protocol/v2/FileChangeRequestApprovalParams.js +0 -1
  437. package/bundle/dist/codex-protocol/v2/FileChangeRequestApprovalResponse.js +0 -1
  438. package/bundle/dist/codex-protocol/v2/FileSystemAccessMode.js +0 -1
  439. package/bundle/dist/codex-protocol/v2/FileSystemPath.js +0 -1
  440. package/bundle/dist/codex-protocol/v2/FileSystemSandboxEntry.js +0 -1
  441. package/bundle/dist/codex-protocol/v2/FileSystemSpecialPath.js +0 -1
  442. package/bundle/dist/codex-protocol/v2/FileUpdateChange.js +0 -1
  443. package/bundle/dist/codex-protocol/v2/FsChangedNotification.js +0 -1
  444. package/bundle/dist/codex-protocol/v2/FsCopyParams.js +0 -1
  445. package/bundle/dist/codex-protocol/v2/FsCopyResponse.js +0 -1
  446. package/bundle/dist/codex-protocol/v2/FsCreateDirectoryParams.js +0 -1
  447. package/bundle/dist/codex-protocol/v2/FsCreateDirectoryResponse.js +0 -1
  448. package/bundle/dist/codex-protocol/v2/FsGetMetadataParams.js +0 -1
  449. package/bundle/dist/codex-protocol/v2/FsGetMetadataResponse.js +0 -1
  450. package/bundle/dist/codex-protocol/v2/FsReadDirectoryEntry.js +0 -1
  451. package/bundle/dist/codex-protocol/v2/FsReadDirectoryParams.js +0 -1
  452. package/bundle/dist/codex-protocol/v2/FsReadDirectoryResponse.js +0 -1
  453. package/bundle/dist/codex-protocol/v2/FsReadFileParams.js +0 -1
  454. package/bundle/dist/codex-protocol/v2/FsReadFileResponse.js +0 -1
  455. package/bundle/dist/codex-protocol/v2/FsRemoveParams.js +0 -1
  456. package/bundle/dist/codex-protocol/v2/FsRemoveResponse.js +0 -1
  457. package/bundle/dist/codex-protocol/v2/FsUnwatchParams.js +0 -1
  458. package/bundle/dist/codex-protocol/v2/FsUnwatchResponse.js +0 -1
  459. package/bundle/dist/codex-protocol/v2/FsWatchParams.js +0 -1
  460. package/bundle/dist/codex-protocol/v2/FsWatchResponse.js +0 -1
  461. package/bundle/dist/codex-protocol/v2/FsWriteFileParams.js +0 -1
  462. package/bundle/dist/codex-protocol/v2/FsWriteFileResponse.js +0 -1
  463. package/bundle/dist/codex-protocol/v2/GetAccountParams.js +0 -1
  464. package/bundle/dist/codex-protocol/v2/GetAccountRateLimitsResponse.js +0 -1
  465. package/bundle/dist/codex-protocol/v2/GetAccountResponse.js +0 -1
  466. package/bundle/dist/codex-protocol/v2/GitInfo.js +0 -1
  467. package/bundle/dist/codex-protocol/v2/GrantedPermissionProfile.js +0 -1
  468. package/bundle/dist/codex-protocol/v2/GuardianApprovalReview.js +0 -1
  469. package/bundle/dist/codex-protocol/v2/GuardianApprovalReviewAction.js +0 -1
  470. package/bundle/dist/codex-protocol/v2/GuardianApprovalReviewStatus.js +0 -1
  471. package/bundle/dist/codex-protocol/v2/GuardianCommandSource.js +0 -1
  472. package/bundle/dist/codex-protocol/v2/GuardianRiskLevel.js +0 -1
  473. package/bundle/dist/codex-protocol/v2/GuardianUserAuthorization.js +0 -1
  474. package/bundle/dist/codex-protocol/v2/GuardianWarningNotification.js +0 -1
  475. package/bundle/dist/codex-protocol/v2/HookCompletedNotification.js +0 -1
  476. package/bundle/dist/codex-protocol/v2/HookErrorInfo.js +0 -1
  477. package/bundle/dist/codex-protocol/v2/HookEventName.js +0 -1
  478. package/bundle/dist/codex-protocol/v2/HookExecutionMode.js +0 -1
  479. package/bundle/dist/codex-protocol/v2/HookHandlerType.js +0 -1
  480. package/bundle/dist/codex-protocol/v2/HookMetadata.js +0 -1
  481. package/bundle/dist/codex-protocol/v2/HookMigration.js +0 -1
  482. package/bundle/dist/codex-protocol/v2/HookOutputEntry.js +0 -1
  483. package/bundle/dist/codex-protocol/v2/HookOutputEntryKind.js +0 -1
  484. package/bundle/dist/codex-protocol/v2/HookPromptFragment.js +0 -1
  485. package/bundle/dist/codex-protocol/v2/HookRunStatus.js +0 -1
  486. package/bundle/dist/codex-protocol/v2/HookRunSummary.js +0 -1
  487. package/bundle/dist/codex-protocol/v2/HookScope.js +0 -1
  488. package/bundle/dist/codex-protocol/v2/HookSource.js +0 -1
  489. package/bundle/dist/codex-protocol/v2/HookStartedNotification.js +0 -1
  490. package/bundle/dist/codex-protocol/v2/HookTrustStatus.js +0 -1
  491. package/bundle/dist/codex-protocol/v2/HooksListEntry.js +0 -1
  492. package/bundle/dist/codex-protocol/v2/HooksListParams.js +0 -1
  493. package/bundle/dist/codex-protocol/v2/HooksListResponse.js +0 -1
  494. package/bundle/dist/codex-protocol/v2/ItemCompletedNotification.js +0 -1
  495. package/bundle/dist/codex-protocol/v2/ItemGuardianApprovalReviewCompletedNotification.js +0 -1
  496. package/bundle/dist/codex-protocol/v2/ItemGuardianApprovalReviewStartedNotification.js +0 -1
  497. package/bundle/dist/codex-protocol/v2/ItemStartedNotification.js +0 -1
  498. package/bundle/dist/codex-protocol/v2/ListMcpServerStatusParams.js +0 -1
  499. package/bundle/dist/codex-protocol/v2/ListMcpServerStatusResponse.js +0 -1
  500. package/bundle/dist/codex-protocol/v2/LoginAccountParams.js +0 -1
  501. package/bundle/dist/codex-protocol/v2/LoginAccountResponse.js +0 -1
  502. package/bundle/dist/codex-protocol/v2/LogoutAccountResponse.js +0 -1
  503. package/bundle/dist/codex-protocol/v2/ManagedHooksRequirements.js +0 -1
  504. package/bundle/dist/codex-protocol/v2/MarketplaceAddParams.js +0 -1
  505. package/bundle/dist/codex-protocol/v2/MarketplaceAddResponse.js +0 -1
  506. package/bundle/dist/codex-protocol/v2/MarketplaceInterface.js +0 -1
  507. package/bundle/dist/codex-protocol/v2/MarketplaceLoadErrorInfo.js +0 -1
  508. package/bundle/dist/codex-protocol/v2/MarketplaceRemoveParams.js +0 -1
  509. package/bundle/dist/codex-protocol/v2/MarketplaceRemoveResponse.js +0 -1
  510. package/bundle/dist/codex-protocol/v2/MarketplaceUpgradeErrorInfo.js +0 -1
  511. package/bundle/dist/codex-protocol/v2/MarketplaceUpgradeParams.js +0 -1
  512. package/bundle/dist/codex-protocol/v2/MarketplaceUpgradeResponse.js +0 -1
  513. package/bundle/dist/codex-protocol/v2/McpAuthStatus.js +0 -1
  514. package/bundle/dist/codex-protocol/v2/McpElicitationArrayType.js +0 -1
  515. package/bundle/dist/codex-protocol/v2/McpElicitationBooleanSchema.js +0 -1
  516. package/bundle/dist/codex-protocol/v2/McpElicitationBooleanType.js +0 -1
  517. package/bundle/dist/codex-protocol/v2/McpElicitationConstOption.js +0 -1
  518. package/bundle/dist/codex-protocol/v2/McpElicitationEnumSchema.js +0 -1
  519. package/bundle/dist/codex-protocol/v2/McpElicitationLegacyTitledEnumSchema.js +0 -1
  520. package/bundle/dist/codex-protocol/v2/McpElicitationMultiSelectEnumSchema.js +0 -1
  521. package/bundle/dist/codex-protocol/v2/McpElicitationNumberSchema.js +0 -1
  522. package/bundle/dist/codex-protocol/v2/McpElicitationNumberType.js +0 -1
  523. package/bundle/dist/codex-protocol/v2/McpElicitationObjectType.js +0 -1
  524. package/bundle/dist/codex-protocol/v2/McpElicitationPrimitiveSchema.js +0 -1
  525. package/bundle/dist/codex-protocol/v2/McpElicitationSchema.js +0 -1
  526. package/bundle/dist/codex-protocol/v2/McpElicitationSingleSelectEnumSchema.js +0 -1
  527. package/bundle/dist/codex-protocol/v2/McpElicitationStringFormat.js +0 -1
  528. package/bundle/dist/codex-protocol/v2/McpElicitationStringSchema.js +0 -1
  529. package/bundle/dist/codex-protocol/v2/McpElicitationStringType.js +0 -1
  530. package/bundle/dist/codex-protocol/v2/McpElicitationTitledEnumItems.js +0 -1
  531. package/bundle/dist/codex-protocol/v2/McpElicitationTitledMultiSelectEnumSchema.js +0 -1
  532. package/bundle/dist/codex-protocol/v2/McpElicitationTitledSingleSelectEnumSchema.js +0 -1
  533. package/bundle/dist/codex-protocol/v2/McpElicitationUntitledEnumItems.js +0 -1
  534. package/bundle/dist/codex-protocol/v2/McpElicitationUntitledMultiSelectEnumSchema.js +0 -1
  535. package/bundle/dist/codex-protocol/v2/McpElicitationUntitledSingleSelectEnumSchema.js +0 -1
  536. package/bundle/dist/codex-protocol/v2/McpResourceReadParams.js +0 -1
  537. package/bundle/dist/codex-protocol/v2/McpResourceReadResponse.js +0 -1
  538. package/bundle/dist/codex-protocol/v2/McpServerElicitationAction.js +0 -1
  539. package/bundle/dist/codex-protocol/v2/McpServerElicitationRequestParams.js +0 -1
  540. package/bundle/dist/codex-protocol/v2/McpServerElicitationRequestResponse.js +0 -1
  541. package/bundle/dist/codex-protocol/v2/McpServerMigration.js +0 -1
  542. package/bundle/dist/codex-protocol/v2/McpServerOauthLoginCompletedNotification.js +0 -1
  543. package/bundle/dist/codex-protocol/v2/McpServerOauthLoginParams.js +0 -1
  544. package/bundle/dist/codex-protocol/v2/McpServerOauthLoginResponse.js +0 -1
  545. package/bundle/dist/codex-protocol/v2/McpServerRefreshResponse.js +0 -1
  546. package/bundle/dist/codex-protocol/v2/McpServerStartupState.js +0 -1
  547. package/bundle/dist/codex-protocol/v2/McpServerStatus.js +0 -1
  548. package/bundle/dist/codex-protocol/v2/McpServerStatusDetail.js +0 -1
  549. package/bundle/dist/codex-protocol/v2/McpServerStatusUpdatedNotification.js +0 -1
  550. package/bundle/dist/codex-protocol/v2/McpServerToolCallParams.js +0 -1
  551. package/bundle/dist/codex-protocol/v2/McpServerToolCallResponse.js +0 -1
  552. package/bundle/dist/codex-protocol/v2/McpToolCallError.js +0 -1
  553. package/bundle/dist/codex-protocol/v2/McpToolCallProgressNotification.js +0 -1
  554. package/bundle/dist/codex-protocol/v2/McpToolCallResult.js +0 -1
  555. package/bundle/dist/codex-protocol/v2/McpToolCallStatus.js +0 -1
  556. package/bundle/dist/codex-protocol/v2/MemoryCitation.js +0 -1
  557. package/bundle/dist/codex-protocol/v2/MemoryCitationEntry.js +0 -1
  558. package/bundle/dist/codex-protocol/v2/MergeStrategy.js +0 -1
  559. package/bundle/dist/codex-protocol/v2/MigrationDetails.js +0 -1
  560. package/bundle/dist/codex-protocol/v2/Model.js +0 -1
  561. package/bundle/dist/codex-protocol/v2/ModelAvailabilityNux.js +0 -1
  562. package/bundle/dist/codex-protocol/v2/ModelListParams.js +0 -1
  563. package/bundle/dist/codex-protocol/v2/ModelListResponse.js +0 -1
  564. package/bundle/dist/codex-protocol/v2/ModelProviderCapabilitiesReadParams.js +0 -1
  565. package/bundle/dist/codex-protocol/v2/ModelProviderCapabilitiesReadResponse.js +0 -1
  566. package/bundle/dist/codex-protocol/v2/ModelRerouteReason.js +0 -1
  567. package/bundle/dist/codex-protocol/v2/ModelReroutedNotification.js +0 -1
  568. package/bundle/dist/codex-protocol/v2/ModelServiceTier.js +0 -1
  569. package/bundle/dist/codex-protocol/v2/ModelUpgradeInfo.js +0 -1
  570. package/bundle/dist/codex-protocol/v2/ModelVerification.js +0 -1
  571. package/bundle/dist/codex-protocol/v2/ModelVerificationNotification.js +0 -1
  572. package/bundle/dist/codex-protocol/v2/NetworkAccess.js +0 -1
  573. package/bundle/dist/codex-protocol/v2/NetworkApprovalContext.js +0 -1
  574. package/bundle/dist/codex-protocol/v2/NetworkApprovalProtocol.js +0 -1
  575. package/bundle/dist/codex-protocol/v2/NetworkDomainPermission.js +0 -1
  576. package/bundle/dist/codex-protocol/v2/NetworkPolicyAmendment.js +0 -1
  577. package/bundle/dist/codex-protocol/v2/NetworkPolicyRuleAction.js +0 -1
  578. package/bundle/dist/codex-protocol/v2/NetworkRequirements.js +0 -1
  579. package/bundle/dist/codex-protocol/v2/NetworkUnixSocketPermission.js +0 -1
  580. package/bundle/dist/codex-protocol/v2/NonSteerableTurnKind.js +0 -1
  581. package/bundle/dist/codex-protocol/v2/OverriddenMetadata.js +0 -1
  582. package/bundle/dist/codex-protocol/v2/PatchApplyStatus.js +0 -1
  583. package/bundle/dist/codex-protocol/v2/PatchChangeKind.js +0 -1
  584. package/bundle/dist/codex-protocol/v2/PermissionGrantScope.js +0 -1
  585. package/bundle/dist/codex-protocol/v2/PermissionProfile.js +0 -1
  586. package/bundle/dist/codex-protocol/v2/PermissionProfileFileSystemPermissions.js +0 -1
  587. package/bundle/dist/codex-protocol/v2/PermissionProfileModificationParams.js +0 -1
  588. package/bundle/dist/codex-protocol/v2/PermissionProfileNetworkPermissions.js +0 -1
  589. package/bundle/dist/codex-protocol/v2/PermissionProfileSelectionParams.js +0 -1
  590. package/bundle/dist/codex-protocol/v2/PermissionsRequestApprovalParams.js +0 -1
  591. package/bundle/dist/codex-protocol/v2/PermissionsRequestApprovalResponse.js +0 -1
  592. package/bundle/dist/codex-protocol/v2/PlanDeltaNotification.js +0 -1
  593. package/bundle/dist/codex-protocol/v2/PluginAuthPolicy.js +0 -1
  594. package/bundle/dist/codex-protocol/v2/PluginAvailability.js +0 -1
  595. package/bundle/dist/codex-protocol/v2/PluginDetail.js +0 -1
  596. package/bundle/dist/codex-protocol/v2/PluginHookSummary.js +0 -1
  597. package/bundle/dist/codex-protocol/v2/PluginInstallParams.js +0 -1
  598. package/bundle/dist/codex-protocol/v2/PluginInstallPolicy.js +0 -1
  599. package/bundle/dist/codex-protocol/v2/PluginInstallResponse.js +0 -1
  600. package/bundle/dist/codex-protocol/v2/PluginInterface.js +0 -1
  601. package/bundle/dist/codex-protocol/v2/PluginListMarketplaceKind.js +0 -1
  602. package/bundle/dist/codex-protocol/v2/PluginListParams.js +0 -1
  603. package/bundle/dist/codex-protocol/v2/PluginListResponse.js +0 -1
  604. package/bundle/dist/codex-protocol/v2/PluginMarketplaceEntry.js +0 -1
  605. package/bundle/dist/codex-protocol/v2/PluginReadParams.js +0 -1
  606. package/bundle/dist/codex-protocol/v2/PluginReadResponse.js +0 -1
  607. package/bundle/dist/codex-protocol/v2/PluginShareContext.js +0 -1
  608. package/bundle/dist/codex-protocol/v2/PluginShareDeleteParams.js +0 -1
  609. package/bundle/dist/codex-protocol/v2/PluginShareDeleteResponse.js +0 -1
  610. package/bundle/dist/codex-protocol/v2/PluginShareDiscoverability.js +0 -1
  611. package/bundle/dist/codex-protocol/v2/PluginShareListItem.js +0 -1
  612. package/bundle/dist/codex-protocol/v2/PluginShareListParams.js +0 -1
  613. package/bundle/dist/codex-protocol/v2/PluginShareListResponse.js +0 -1
  614. package/bundle/dist/codex-protocol/v2/PluginSharePrincipal.js +0 -1
  615. package/bundle/dist/codex-protocol/v2/PluginSharePrincipalType.js +0 -1
  616. package/bundle/dist/codex-protocol/v2/PluginShareSaveParams.js +0 -1
  617. package/bundle/dist/codex-protocol/v2/PluginShareSaveResponse.js +0 -1
  618. package/bundle/dist/codex-protocol/v2/PluginShareTarget.js +0 -1
  619. package/bundle/dist/codex-protocol/v2/PluginShareUpdateDiscoverability.js +0 -1
  620. package/bundle/dist/codex-protocol/v2/PluginShareUpdateTargetsParams.js +0 -1
  621. package/bundle/dist/codex-protocol/v2/PluginShareUpdateTargetsResponse.js +0 -1
  622. package/bundle/dist/codex-protocol/v2/PluginSkillReadParams.js +0 -1
  623. package/bundle/dist/codex-protocol/v2/PluginSkillReadResponse.js +0 -1
  624. package/bundle/dist/codex-protocol/v2/PluginSource.js +0 -1
  625. package/bundle/dist/codex-protocol/v2/PluginSummary.js +0 -1
  626. package/bundle/dist/codex-protocol/v2/PluginUninstallParams.js +0 -1
  627. package/bundle/dist/codex-protocol/v2/PluginUninstallResponse.js +0 -1
  628. package/bundle/dist/codex-protocol/v2/PluginsMigration.js +0 -1
  629. package/bundle/dist/codex-protocol/v2/ProcessExitedNotification.js +0 -1
  630. package/bundle/dist/codex-protocol/v2/ProcessOutputDeltaNotification.js +0 -1
  631. package/bundle/dist/codex-protocol/v2/ProcessOutputStream.js +0 -1
  632. package/bundle/dist/codex-protocol/v2/ProcessTerminalSize.js +0 -1
  633. package/bundle/dist/codex-protocol/v2/ProfileV2.js +0 -1
  634. package/bundle/dist/codex-protocol/v2/RateLimitReachedType.js +0 -1
  635. package/bundle/dist/codex-protocol/v2/RateLimitSnapshot.js +0 -1
  636. package/bundle/dist/codex-protocol/v2/RateLimitWindow.js +0 -1
  637. package/bundle/dist/codex-protocol/v2/RawResponseItemCompletedNotification.js +0 -1
  638. package/bundle/dist/codex-protocol/v2/ReasoningEffortOption.js +0 -1
  639. package/bundle/dist/codex-protocol/v2/ReasoningSummaryPartAddedNotification.js +0 -1
  640. package/bundle/dist/codex-protocol/v2/ReasoningSummaryTextDeltaNotification.js +0 -1
  641. package/bundle/dist/codex-protocol/v2/ReasoningTextDeltaNotification.js +0 -1
  642. package/bundle/dist/codex-protocol/v2/RemoteControlConnectionStatus.js +0 -1
  643. package/bundle/dist/codex-protocol/v2/RemoteControlStatusChangedNotification.js +0 -1
  644. package/bundle/dist/codex-protocol/v2/RequestPermissionProfile.js +0 -1
  645. package/bundle/dist/codex-protocol/v2/ResidencyRequirement.js +0 -1
  646. package/bundle/dist/codex-protocol/v2/ReviewDelivery.js +0 -1
  647. package/bundle/dist/codex-protocol/v2/ReviewStartParams.js +0 -1
  648. package/bundle/dist/codex-protocol/v2/ReviewStartResponse.js +0 -1
  649. package/bundle/dist/codex-protocol/v2/ReviewTarget.js +0 -1
  650. package/bundle/dist/codex-protocol/v2/SandboxMode.js +0 -1
  651. package/bundle/dist/codex-protocol/v2/SandboxPolicy.js +0 -1
  652. package/bundle/dist/codex-protocol/v2/SandboxWorkspaceWrite.js +0 -1
  653. package/bundle/dist/codex-protocol/v2/SendAddCreditsNudgeEmailParams.js +0 -1
  654. package/bundle/dist/codex-protocol/v2/SendAddCreditsNudgeEmailResponse.js +0 -1
  655. package/bundle/dist/codex-protocol/v2/ServerRequestResolvedNotification.js +0 -1
  656. package/bundle/dist/codex-protocol/v2/SessionMigration.js +0 -1
  657. package/bundle/dist/codex-protocol/v2/SessionSource.js +0 -1
  658. package/bundle/dist/codex-protocol/v2/SkillDependencies.js +0 -1
  659. package/bundle/dist/codex-protocol/v2/SkillErrorInfo.js +0 -1
  660. package/bundle/dist/codex-protocol/v2/SkillInterface.js +0 -1
  661. package/bundle/dist/codex-protocol/v2/SkillMetadata.js +0 -1
  662. package/bundle/dist/codex-protocol/v2/SkillScope.js +0 -1
  663. package/bundle/dist/codex-protocol/v2/SkillSummary.js +0 -1
  664. package/bundle/dist/codex-protocol/v2/SkillToolDependency.js +0 -1
  665. package/bundle/dist/codex-protocol/v2/SkillsChangedNotification.js +0 -1
  666. package/bundle/dist/codex-protocol/v2/SkillsConfigWriteParams.js +0 -1
  667. package/bundle/dist/codex-protocol/v2/SkillsConfigWriteResponse.js +0 -1
  668. package/bundle/dist/codex-protocol/v2/SkillsListEntry.js +0 -1
  669. package/bundle/dist/codex-protocol/v2/SkillsListParams.js +0 -1
  670. package/bundle/dist/codex-protocol/v2/SkillsListResponse.js +0 -1
  671. package/bundle/dist/codex-protocol/v2/SortDirection.js +0 -1
  672. package/bundle/dist/codex-protocol/v2/SubagentMigration.js +0 -1
  673. package/bundle/dist/codex-protocol/v2/TerminalInteractionNotification.js +0 -1
  674. package/bundle/dist/codex-protocol/v2/TextElement.js +0 -1
  675. package/bundle/dist/codex-protocol/v2/TextPosition.js +0 -1
  676. package/bundle/dist/codex-protocol/v2/TextRange.js +0 -1
  677. package/bundle/dist/codex-protocol/v2/Thread.js +0 -1
  678. package/bundle/dist/codex-protocol/v2/ThreadActiveFlag.js +0 -1
  679. package/bundle/dist/codex-protocol/v2/ThreadApproveGuardianDeniedActionParams.js +0 -1
  680. package/bundle/dist/codex-protocol/v2/ThreadApproveGuardianDeniedActionResponse.js +0 -1
  681. package/bundle/dist/codex-protocol/v2/ThreadArchiveParams.js +0 -1
  682. package/bundle/dist/codex-protocol/v2/ThreadArchiveResponse.js +0 -1
  683. package/bundle/dist/codex-protocol/v2/ThreadArchivedNotification.js +0 -1
  684. package/bundle/dist/codex-protocol/v2/ThreadClosedNotification.js +0 -1
  685. package/bundle/dist/codex-protocol/v2/ThreadCompactStartParams.js +0 -1
  686. package/bundle/dist/codex-protocol/v2/ThreadCompactStartResponse.js +0 -1
  687. package/bundle/dist/codex-protocol/v2/ThreadForkParams.js +0 -1
  688. package/bundle/dist/codex-protocol/v2/ThreadForkResponse.js +0 -1
  689. package/bundle/dist/codex-protocol/v2/ThreadGoal.js +0 -1
  690. package/bundle/dist/codex-protocol/v2/ThreadGoalClearedNotification.js +0 -1
  691. package/bundle/dist/codex-protocol/v2/ThreadGoalStatus.js +0 -1
  692. package/bundle/dist/codex-protocol/v2/ThreadGoalUpdatedNotification.js +0 -1
  693. package/bundle/dist/codex-protocol/v2/ThreadInjectItemsParams.js +0 -1
  694. package/bundle/dist/codex-protocol/v2/ThreadInjectItemsResponse.js +0 -1
  695. package/bundle/dist/codex-protocol/v2/ThreadItem.js +0 -1
  696. package/bundle/dist/codex-protocol/v2/ThreadListParams.js +0 -1
  697. package/bundle/dist/codex-protocol/v2/ThreadListResponse.js +0 -1
  698. package/bundle/dist/codex-protocol/v2/ThreadLoadedListParams.js +0 -1
  699. package/bundle/dist/codex-protocol/v2/ThreadLoadedListResponse.js +0 -1
  700. package/bundle/dist/codex-protocol/v2/ThreadMetadataGitInfoUpdateParams.js +0 -1
  701. package/bundle/dist/codex-protocol/v2/ThreadMetadataUpdateParams.js +0 -1
  702. package/bundle/dist/codex-protocol/v2/ThreadMetadataUpdateResponse.js +0 -1
  703. package/bundle/dist/codex-protocol/v2/ThreadNameUpdatedNotification.js +0 -1
  704. package/bundle/dist/codex-protocol/v2/ThreadReadParams.js +0 -1
  705. package/bundle/dist/codex-protocol/v2/ThreadReadResponse.js +0 -1
  706. package/bundle/dist/codex-protocol/v2/ThreadRealtimeAudioChunk.js +0 -1
  707. package/bundle/dist/codex-protocol/v2/ThreadRealtimeClosedNotification.js +0 -1
  708. package/bundle/dist/codex-protocol/v2/ThreadRealtimeErrorNotification.js +0 -1
  709. package/bundle/dist/codex-protocol/v2/ThreadRealtimeItemAddedNotification.js +0 -1
  710. package/bundle/dist/codex-protocol/v2/ThreadRealtimeOutputAudioDeltaNotification.js +0 -1
  711. package/bundle/dist/codex-protocol/v2/ThreadRealtimeSdpNotification.js +0 -1
  712. package/bundle/dist/codex-protocol/v2/ThreadRealtimeStartTransport.js +0 -1
  713. package/bundle/dist/codex-protocol/v2/ThreadRealtimeStartedNotification.js +0 -1
  714. package/bundle/dist/codex-protocol/v2/ThreadRealtimeTranscriptDeltaNotification.js +0 -1
  715. package/bundle/dist/codex-protocol/v2/ThreadRealtimeTranscriptDoneNotification.js +0 -1
  716. package/bundle/dist/codex-protocol/v2/ThreadResumeParams.js +0 -1
  717. package/bundle/dist/codex-protocol/v2/ThreadResumeResponse.js +0 -1
  718. package/bundle/dist/codex-protocol/v2/ThreadRollbackParams.js +0 -1
  719. package/bundle/dist/codex-protocol/v2/ThreadRollbackResponse.js +0 -1
  720. package/bundle/dist/codex-protocol/v2/ThreadSetNameParams.js +0 -1
  721. package/bundle/dist/codex-protocol/v2/ThreadSetNameResponse.js +0 -1
  722. package/bundle/dist/codex-protocol/v2/ThreadShellCommandParams.js +0 -1
  723. package/bundle/dist/codex-protocol/v2/ThreadShellCommandResponse.js +0 -1
  724. package/bundle/dist/codex-protocol/v2/ThreadSortKey.js +0 -1
  725. package/bundle/dist/codex-protocol/v2/ThreadSource.js +0 -1
  726. package/bundle/dist/codex-protocol/v2/ThreadSourceKind.js +0 -1
  727. package/bundle/dist/codex-protocol/v2/ThreadStartParams.js +0 -1
  728. package/bundle/dist/codex-protocol/v2/ThreadStartResponse.js +0 -1
  729. package/bundle/dist/codex-protocol/v2/ThreadStartSource.js +0 -1
  730. package/bundle/dist/codex-protocol/v2/ThreadStartedNotification.js +0 -1
  731. package/bundle/dist/codex-protocol/v2/ThreadStatus.js +0 -1
  732. package/bundle/dist/codex-protocol/v2/ThreadStatusChangedNotification.js +0 -1
  733. package/bundle/dist/codex-protocol/v2/ThreadTokenUsage.js +0 -1
  734. package/bundle/dist/codex-protocol/v2/ThreadTokenUsageUpdatedNotification.js +0 -1
  735. package/bundle/dist/codex-protocol/v2/ThreadUnarchiveParams.js +0 -1
  736. package/bundle/dist/codex-protocol/v2/ThreadUnarchiveResponse.js +0 -1
  737. package/bundle/dist/codex-protocol/v2/ThreadUnarchivedNotification.js +0 -1
  738. package/bundle/dist/codex-protocol/v2/ThreadUnsubscribeParams.js +0 -1
  739. package/bundle/dist/codex-protocol/v2/ThreadUnsubscribeResponse.js +0 -1
  740. package/bundle/dist/codex-protocol/v2/ThreadUnsubscribeStatus.js +0 -1
  741. package/bundle/dist/codex-protocol/v2/TokenUsageBreakdown.js +0 -1
  742. package/bundle/dist/codex-protocol/v2/ToolRequestUserInputAnswer.js +0 -1
  743. package/bundle/dist/codex-protocol/v2/ToolRequestUserInputOption.js +0 -1
  744. package/bundle/dist/codex-protocol/v2/ToolRequestUserInputParams.js +0 -1
  745. package/bundle/dist/codex-protocol/v2/ToolRequestUserInputQuestion.js +0 -1
  746. package/bundle/dist/codex-protocol/v2/ToolRequestUserInputResponse.js +0 -1
  747. package/bundle/dist/codex-protocol/v2/ToolsV2.js +0 -1
  748. package/bundle/dist/codex-protocol/v2/Turn.js +0 -1
  749. package/bundle/dist/codex-protocol/v2/TurnCompletedNotification.js +0 -1
  750. package/bundle/dist/codex-protocol/v2/TurnDiffUpdatedNotification.js +0 -1
  751. package/bundle/dist/codex-protocol/v2/TurnEnvironmentParams.js +0 -1
  752. package/bundle/dist/codex-protocol/v2/TurnError.js +0 -1
  753. package/bundle/dist/codex-protocol/v2/TurnInterruptParams.js +0 -1
  754. package/bundle/dist/codex-protocol/v2/TurnInterruptResponse.js +0 -1
  755. package/bundle/dist/codex-protocol/v2/TurnItemsView.js +0 -1
  756. package/bundle/dist/codex-protocol/v2/TurnPlanStep.js +0 -1
  757. package/bundle/dist/codex-protocol/v2/TurnPlanStepStatus.js +0 -1
  758. package/bundle/dist/codex-protocol/v2/TurnPlanUpdatedNotification.js +0 -1
  759. package/bundle/dist/codex-protocol/v2/TurnStartParams.js +0 -1
  760. package/bundle/dist/codex-protocol/v2/TurnStartResponse.js +0 -1
  761. package/bundle/dist/codex-protocol/v2/TurnStartedNotification.js +0 -1
  762. package/bundle/dist/codex-protocol/v2/TurnStatus.js +0 -1
  763. package/bundle/dist/codex-protocol/v2/TurnSteerParams.js +0 -1
  764. package/bundle/dist/codex-protocol/v2/TurnSteerResponse.js +0 -1
  765. package/bundle/dist/codex-protocol/v2/UserInput.js +0 -1
  766. package/bundle/dist/codex-protocol/v2/WarningNotification.js +0 -1
  767. package/bundle/dist/codex-protocol/v2/WebSearchAction.js +0 -1
  768. package/bundle/dist/codex-protocol/v2/WindowsSandboxReadiness.js +0 -1
  769. package/bundle/dist/codex-protocol/v2/WindowsSandboxReadinessResponse.js +0 -1
  770. package/bundle/dist/codex-protocol/v2/WindowsSandboxSetupCompletedNotification.js +0 -1
  771. package/bundle/dist/codex-protocol/v2/WindowsSandboxSetupMode.js +0 -1
  772. package/bundle/dist/codex-protocol/v2/WindowsSandboxSetupStartParams.js +0 -1
  773. package/bundle/dist/codex-protocol/v2/WindowsSandboxSetupStartResponse.js +0 -1
  774. package/bundle/dist/codex-protocol/v2/WindowsWorldWritableWarningNotification.js +0 -1
  775. package/bundle/dist/codex-protocol/v2/WriteStatus.js +0 -1
  776. package/bundle/dist/codex-protocol/v2/index.js +0 -7
  777. package/bundle/dist/node_modules/.pnpm/vitest@4.1.10_@opentelemetry_api@1.9.0_@types_node@25.0.7_@vitest_coverage-v8@4.1.10_ms_f9cfcfeddd63e656d4010c98521af26c/node_modules/vitest/dist/chunks/_commonjsHelpers.D26ty3Ew.js +0 -9
  778. package/bundle/dist/node_modules/.pnpm/vitest@4.1.10_@opentelemetry_api@1.9.0_@types_node@25.0.7_@vitest_coverage-v8@4.1.10_ms_f9cfcfeddd63e656d4010c98521af26c/node_modules/vitest/dist/chunks/benchmark.CX_oY03V.js +0 -41
  779. package/bundle/dist/node_modules/.pnpm/vitest@4.1.10_@opentelemetry_api@1.9.0_@types_node@25.0.7_@vitest_coverage-v8@4.1.10_ms_f9cfcfeddd63e656d4010c98521af26c/node_modules/vitest/dist/chunks/evaluatedModules.Dg1zASAC.js +0 -19
  780. package/bundle/dist/node_modules/.pnpm/vitest@4.1.10_@opentelemetry_api@1.9.0_@types_node@25.0.7_@vitest_coverage-v8@4.1.10_ms_f9cfcfeddd63e656d4010c98521af26c/node_modules/vitest/dist/chunks/index.Chj8NDwU.js +0 -202
  781. package/bundle/dist/node_modules/.pnpm/vitest@4.1.10_@opentelemetry_api@1.9.0_@types_node@25.0.7_@vitest_coverage-v8@4.1.10_ms_f9cfcfeddd63e656d4010c98521af26c/node_modules/vitest/dist/chunks/index.DdgEv5B1.js +0 -46
  782. package/bundle/dist/node_modules/.pnpm/vitest@4.1.10_@opentelemetry_api@1.9.0_@types_node@25.0.7_@vitest_coverage-v8@4.1.10_ms_f9cfcfeddd63e656d4010c98521af26c/node_modules/vitest/dist/chunks/rpc.MzXet3jl.js +0 -119
  783. package/bundle/dist/node_modules/.pnpm/vitest@4.1.10_@opentelemetry_api@1.9.0_@types_node@25.0.7_@vitest_coverage-v8@4.1.10_ms_f9cfcfeddd63e656d4010c98521af26c/node_modules/vitest/dist/chunks/test.DNmyFkvJ.js +0 -3044
  784. package/bundle/dist/node_modules/.pnpm/vitest@4.1.10_@opentelemetry_api@1.9.0_@types_node@25.0.7_@vitest_coverage-v8@4.1.10_ms_f9cfcfeddd63e656d4010c98521af26c/node_modules/vitest/dist/chunks/utils.BX5Fg8C4.js +0 -59
  785. package/bundle/dist/node_modules/.pnpm/vitest@4.1.10_@opentelemetry_api@1.9.0_@types_node@25.0.7_@vitest_coverage-v8@4.1.10_ms_f9cfcfeddd63e656d4010c98521af26c/node_modules/vitest/dist/index.js +0 -28
  786. package/bundle/dist/utils/providers/openai/codex-rpc.js +0 -153
  787. package/bundle/dist/utils/providers/openai/codex-worker.js +0 -642
  788. package/bundle/dist/utils/providers/openai/openai-worker-pool-config.js +0 -51
  789. package/bundle/src/codex-protocol/AbsolutePathBuf.ts +0 -14
  790. package/bundle/src/codex-protocol/AgentPath.ts +0 -5
  791. package/bundle/src/codex-protocol/ApplyPatchApprovalParams.ts +0 -24
  792. package/bundle/src/codex-protocol/ApplyPatchApprovalResponse.ts +0 -6
  793. package/bundle/src/codex-protocol/AuthMode.ts +0 -8
  794. package/bundle/src/codex-protocol/ClientInfo.ts +0 -5
  795. package/bundle/src/codex-protocol/ClientNotification.ts +0 -5
  796. package/bundle/src/codex-protocol/ClientRequest.ts +0 -176
  797. package/bundle/src/codex-protocol/CollaborationMode.ts +0 -10
  798. package/bundle/src/codex-protocol/ContentItem.ts +0 -9
  799. package/bundle/src/codex-protocol/ConversationGitInfo.ts +0 -9
  800. package/bundle/src/codex-protocol/ConversationSummary.ts +0 -19
  801. package/bundle/src/codex-protocol/ExecCommandApprovalParams.ts +0 -22
  802. package/bundle/src/codex-protocol/ExecCommandApprovalResponse.ts +0 -6
  803. package/bundle/src/codex-protocol/ExecPolicyAmendment.ts +0 -12
  804. package/bundle/src/codex-protocol/FileChange.ts +0 -8
  805. package/bundle/src/codex-protocol/ForcedLoginMethod.ts +0 -5
  806. package/bundle/src/codex-protocol/FunctionCallOutputBody.ts +0 -6
  807. package/bundle/src/codex-protocol/FunctionCallOutputContentItem.ts +0 -12
  808. package/bundle/src/codex-protocol/FuzzyFileSearchMatchType.ts +0 -5
  809. package/bundle/src/codex-protocol/FuzzyFileSearchParams.ts +0 -9
  810. package/bundle/src/codex-protocol/FuzzyFileSearchResponse.ts +0 -6
  811. package/bundle/src/codex-protocol/FuzzyFileSearchResult.ts +0 -16
  812. package/bundle/src/codex-protocol/FuzzyFileSearchSessionCompletedNotification.ts +0 -5
  813. package/bundle/src/codex-protocol/FuzzyFileSearchSessionUpdatedNotification.ts +0 -10
  814. package/bundle/src/codex-protocol/GetAuthStatusParams.ts +0 -5
  815. package/bundle/src/codex-protocol/GetAuthStatusResponse.ts +0 -10
  816. package/bundle/src/codex-protocol/GetConversationSummaryParams.ts +0 -6
  817. package/bundle/src/codex-protocol/GetConversationSummaryResponse.ts +0 -6
  818. package/bundle/src/codex-protocol/GitDiffToRemoteParams.ts +0 -5
  819. package/bundle/src/codex-protocol/GitDiffToRemoteResponse.ts +0 -6
  820. package/bundle/src/codex-protocol/GitSha.ts +0 -5
  821. package/bundle/src/codex-protocol/ImageDetail.ts +0 -5
  822. package/bundle/src/codex-protocol/InitializeCapabilities.ts +0 -18
  823. package/bundle/src/codex-protocol/InitializeParams.ts +0 -10
  824. package/bundle/src/codex-protocol/InitializeResponse.ts +0 -22
  825. package/bundle/src/codex-protocol/InputModality.ts +0 -8
  826. package/bundle/src/codex-protocol/InternalSessionSource.ts +0 -5
  827. package/bundle/src/codex-protocol/LocalShellAction.ts +0 -6
  828. package/bundle/src/codex-protocol/LocalShellExecAction.ts +0 -11
  829. package/bundle/src/codex-protocol/LocalShellStatus.ts +0 -5
  830. package/bundle/src/codex-protocol/MessagePhase.ts +0 -11
  831. package/bundle/src/codex-protocol/ModeKind.ts +0 -8
  832. package/bundle/src/codex-protocol/NetworkPolicyAmendment.ts +0 -6
  833. package/bundle/src/codex-protocol/NetworkPolicyRuleAction.ts +0 -5
  834. package/bundle/src/codex-protocol/ParsedCommand.ts +0 -20
  835. package/bundle/src/codex-protocol/Personality.ts +0 -5
  836. package/bundle/src/codex-protocol/PlanType.ts +0 -17
  837. package/bundle/src/codex-protocol/RealtimeConversationVersion.ts +0 -5
  838. package/bundle/src/codex-protocol/RealtimeOutputModality.ts +0 -5
  839. package/bundle/src/codex-protocol/RealtimeVoice.ts +0 -24
  840. package/bundle/src/codex-protocol/RealtimeVoicesList.ts +0 -11
  841. package/bundle/src/codex-protocol/ReasoningEffort.ts +0 -8
  842. package/bundle/src/codex-protocol/ReasoningItemContent.ts +0 -7
  843. package/bundle/src/codex-protocol/ReasoningItemReasoningSummary.ts +0 -5
  844. package/bundle/src/codex-protocol/ReasoningSummary.ts +0 -10
  845. package/bundle/src/codex-protocol/RequestId.ts +0 -5
  846. package/bundle/src/codex-protocol/Resource.ts +0 -19
  847. package/bundle/src/codex-protocol/ResourceContent.ts +0 -27
  848. package/bundle/src/codex-protocol/ResourceTemplate.ts +0 -16
  849. package/bundle/src/codex-protocol/ResponseItem.ts +0 -63
  850. package/bundle/src/codex-protocol/ReviewDecision.ts +0 -17
  851. package/bundle/src/codex-protocol/ServerNotification.ts +0 -154
  852. package/bundle/src/codex-protocol/ServerRequest.ts +0 -47
  853. package/bundle/src/codex-protocol/SessionSource.ts +0 -15
  854. package/bundle/src/codex-protocol/Settings.ts +0 -13
  855. package/bundle/src/codex-protocol/SubAgentSource.ts +0 -20
  856. package/bundle/src/codex-protocol/ThreadId.ts +0 -5
  857. package/bundle/src/codex-protocol/ThreadMemoryMode.ts +0 -5
  858. package/bundle/src/codex-protocol/Tool.ts +0 -18
  859. package/bundle/src/codex-protocol/Verbosity.ts +0 -9
  860. package/bundle/src/codex-protocol/WebSearchAction.ts +0 -9
  861. package/bundle/src/codex-protocol/WebSearchContextSize.ts +0 -5
  862. package/bundle/src/codex-protocol/WebSearchLocation.ts +0 -10
  863. package/bundle/src/codex-protocol/WebSearchMode.ts +0 -5
  864. package/bundle/src/codex-protocol/WebSearchToolConfig.ts +0 -11
  865. package/bundle/src/codex-protocol/index.ts +0 -79
  866. package/bundle/src/codex-protocol/serde_json/JsonValue.ts +0 -11
  867. package/bundle/src/codex-protocol/v2/Account.ts +0 -9
  868. package/bundle/src/codex-protocol/v2/AccountLoginCompletedNotification.ts +0 -9
  869. package/bundle/src/codex-protocol/v2/AccountRateLimitsUpdatedNotification.ts +0 -6
  870. package/bundle/src/codex-protocol/v2/AccountUpdatedNotification.ts +0 -7
  871. package/bundle/src/codex-protocol/v2/ActivePermissionProfile.ts +0 -22
  872. package/bundle/src/codex-protocol/v2/ActivePermissionProfileModification.ts +0 -9
  873. package/bundle/src/codex-protocol/v2/AddCreditsNudgeCreditType.ts +0 -5
  874. package/bundle/src/codex-protocol/v2/AddCreditsNudgeEmailStatus.ts +0 -5
  875. package/bundle/src/codex-protocol/v2/AdditionalFileSystemPermissions.ts +0 -18
  876. package/bundle/src/codex-protocol/v2/AdditionalNetworkPermissions.ts +0 -5
  877. package/bundle/src/codex-protocol/v2/AdditionalPermissionProfile.ts +0 -13
  878. package/bundle/src/codex-protocol/v2/AgentMessageDeltaNotification.ts +0 -10
  879. package/bundle/src/codex-protocol/v2/AnalyticsConfig.ts +0 -14
  880. package/bundle/src/codex-protocol/v2/AppBranding.ts +0 -15
  881. package/bundle/src/codex-protocol/v2/AppInfo.ts +0 -32
  882. package/bundle/src/codex-protocol/v2/AppListUpdatedNotification.ts +0 -9
  883. package/bundle/src/codex-protocol/v2/AppMetadata.ts +0 -20
  884. package/bundle/src/codex-protocol/v2/AppReview.ts +0 -5
  885. package/bundle/src/codex-protocol/v2/AppScreenshot.ts +0 -5
  886. package/bundle/src/codex-protocol/v2/AppSummary.ts +0 -14
  887. package/bundle/src/codex-protocol/v2/AppToolApproval.ts +0 -5
  888. package/bundle/src/codex-protocol/v2/AppToolsConfig.ts +0 -8
  889. package/bundle/src/codex-protocol/v2/ApprovalsReviewer.ts +0 -12
  890. package/bundle/src/codex-protocol/v2/AppsConfig.ts +0 -17
  891. package/bundle/src/codex-protocol/v2/AppsDefaultConfig.ts +0 -9
  892. package/bundle/src/codex-protocol/v2/AppsListParams.ts +0 -25
  893. package/bundle/src/codex-protocol/v2/AppsListResponse.ts +0 -16
  894. package/bundle/src/codex-protocol/v2/AskForApproval.ts +0 -18
  895. package/bundle/src/codex-protocol/v2/AutoReviewDecisionSource.ts +0 -8
  896. package/bundle/src/codex-protocol/v2/ByteRange.ts +0 -5
  897. package/bundle/src/codex-protocol/v2/CancelLoginAccountParams.ts +0 -5
  898. package/bundle/src/codex-protocol/v2/CancelLoginAccountResponse.ts +0 -6
  899. package/bundle/src/codex-protocol/v2/CancelLoginAccountStatus.ts +0 -5
  900. package/bundle/src/codex-protocol/v2/ChatgptAuthTokensRefreshParams.ts +0 -18
  901. package/bundle/src/codex-protocol/v2/ChatgptAuthTokensRefreshReason.ts +0 -5
  902. package/bundle/src/codex-protocol/v2/ChatgptAuthTokensRefreshResponse.ts +0 -9
  903. package/bundle/src/codex-protocol/v2/CodexErrorInfo.ts +0 -27
  904. package/bundle/src/codex-protocol/v2/CollabAgentState.ts +0 -6
  905. package/bundle/src/codex-protocol/v2/CollabAgentStatus.ts +0 -12
  906. package/bundle/src/codex-protocol/v2/CollabAgentTool.ts +0 -5
  907. package/bundle/src/codex-protocol/v2/CollabAgentToolCallStatus.ts +0 -5
  908. package/bundle/src/codex-protocol/v2/CollaborationModeMask.ts +0 -15
  909. package/bundle/src/codex-protocol/v2/CommandAction.ts +0 -10
  910. package/bundle/src/codex-protocol/v2/CommandExecOutputDeltaNotification.ts +0 -31
  911. package/bundle/src/codex-protocol/v2/CommandExecOutputStream.ts +0 -8
  912. package/bundle/src/codex-protocol/v2/CommandExecParams.ts +0 -87
  913. package/bundle/src/codex-protocol/v2/CommandExecResizeParams.ts +0 -19
  914. package/bundle/src/codex-protocol/v2/CommandExecResizeResponse.ts +0 -8
  915. package/bundle/src/codex-protocol/v2/CommandExecResponse.ts +0 -25
  916. package/bundle/src/codex-protocol/v2/CommandExecTerminalSize.ts +0 -17
  917. package/bundle/src/codex-protocol/v2/CommandExecTerminateParams.ts +0 -14
  918. package/bundle/src/codex-protocol/v2/CommandExecTerminateResponse.ts +0 -8
  919. package/bundle/src/codex-protocol/v2/CommandExecWriteParams.ts +0 -23
  920. package/bundle/src/codex-protocol/v2/CommandExecWriteResponse.ts +0 -8
  921. package/bundle/src/codex-protocol/v2/CommandExecutionApprovalDecision.ts +0 -13
  922. package/bundle/src/codex-protocol/v2/CommandExecutionOutputDeltaNotification.ts +0 -10
  923. package/bundle/src/codex-protocol/v2/CommandExecutionRequestApprovalParams.ts +0 -47
  924. package/bundle/src/codex-protocol/v2/CommandExecutionRequestApprovalResponse.ts +0 -8
  925. package/bundle/src/codex-protocol/v2/CommandExecutionSource.ts +0 -9
  926. package/bundle/src/codex-protocol/v2/CommandExecutionStatus.ts +0 -5
  927. package/bundle/src/codex-protocol/v2/CommandMigration.ts +0 -5
  928. package/bundle/src/codex-protocol/v2/Config.ts +0 -53
  929. package/bundle/src/codex-protocol/v2/ConfigBatchWriteParams.ts +0 -17
  930. package/bundle/src/codex-protocol/v2/ConfigEdit.ts +0 -7
  931. package/bundle/src/codex-protocol/v2/ConfigLayer.ts +0 -12
  932. package/bundle/src/codex-protocol/v2/ConfigLayerMetadata.ts +0 -6
  933. package/bundle/src/codex-protocol/v2/ConfigLayerSource.ts +0 -27
  934. package/bundle/src/codex-protocol/v2/ConfigReadParams.ts +0 -13
  935. package/bundle/src/codex-protocol/v2/ConfigReadResponse.ts +0 -12
  936. package/bundle/src/codex-protocol/v2/ConfigRequirements.ts +0 -15
  937. package/bundle/src/codex-protocol/v2/ConfigRequirementsReadResponse.ts +0 -11
  938. package/bundle/src/codex-protocol/v2/ConfigValueWriteParams.ts +0 -16
  939. package/bundle/src/codex-protocol/v2/ConfigWarningNotification.ts +0 -23
  940. package/bundle/src/codex-protocol/v2/ConfigWriteResponse.ts +0 -16
  941. package/bundle/src/codex-protocol/v2/ConfiguredHookHandler.ts +0 -14
  942. package/bundle/src/codex-protocol/v2/ConfiguredHookMatcherGroup.ts +0 -9
  943. package/bundle/src/codex-protocol/v2/ContextCompactedNotification.ts +0 -8
  944. package/bundle/src/codex-protocol/v2/CreditsSnapshot.ts +0 -5
  945. package/bundle/src/codex-protocol/v2/DeprecationNoticeNotification.ts +0 -14
  946. package/bundle/src/codex-protocol/v2/DynamicToolCallOutputContentItem.ts +0 -7
  947. package/bundle/src/codex-protocol/v2/DynamicToolCallParams.ts +0 -13
  948. package/bundle/src/codex-protocol/v2/DynamicToolCallResponse.ts +0 -9
  949. package/bundle/src/codex-protocol/v2/DynamicToolCallStatus.ts +0 -5
  950. package/bundle/src/codex-protocol/v2/DynamicToolSpec.ts +0 -12
  951. package/bundle/src/codex-protocol/v2/ErrorNotification.ts +0 -11
  952. package/bundle/src/codex-protocol/v2/ExecPolicyAmendment.ts +0 -5
  953. package/bundle/src/codex-protocol/v2/ExperimentalFeature.ts +0 -38
  954. package/bundle/src/codex-protocol/v2/ExperimentalFeatureEnablementSetParams.ts +0 -13
  955. package/bundle/src/codex-protocol/v2/ExperimentalFeatureEnablementSetResponse.ts +0 -10
  956. package/bundle/src/codex-protocol/v2/ExperimentalFeatureListParams.ts +0 -14
  957. package/bundle/src/codex-protocol/v2/ExperimentalFeatureListResponse.ts +0 -13
  958. package/bundle/src/codex-protocol/v2/ExperimentalFeatureStage.ts +0 -10
  959. package/bundle/src/codex-protocol/v2/ExternalAgentConfigDetectParams.ts +0 -14
  960. package/bundle/src/codex-protocol/v2/ExternalAgentConfigDetectResponse.ts +0 -6
  961. package/bundle/src/codex-protocol/v2/ExternalAgentConfigImportCompletedNotification.ts +0 -5
  962. package/bundle/src/codex-protocol/v2/ExternalAgentConfigImportParams.ts +0 -8
  963. package/bundle/src/codex-protocol/v2/ExternalAgentConfigImportResponse.ts +0 -5
  964. package/bundle/src/codex-protocol/v2/ExternalAgentConfigMigrationItem.ts +0 -15
  965. package/bundle/src/codex-protocol/v2/ExternalAgentConfigMigrationItemType.ts +0 -14
  966. package/bundle/src/codex-protocol/v2/FeedbackUploadParams.ts +0 -12
  967. package/bundle/src/codex-protocol/v2/FeedbackUploadResponse.ts +0 -5
  968. package/bundle/src/codex-protocol/v2/FileChangeApprovalDecision.ts +0 -5
  969. package/bundle/src/codex-protocol/v2/FileChangeOutputDeltaNotification.ts +0 -15
  970. package/bundle/src/codex-protocol/v2/FileChangePatchUpdatedNotification.ts +0 -11
  971. package/bundle/src/codex-protocol/v2/FileChangeRequestApprovalParams.ts +0 -22
  972. package/bundle/src/codex-protocol/v2/FileChangeRequestApprovalResponse.ts +0 -6
  973. package/bundle/src/codex-protocol/v2/FileSystemAccessMode.ts +0 -5
  974. package/bundle/src/codex-protocol/v2/FileSystemPath.ts +0 -10
  975. package/bundle/src/codex-protocol/v2/FileSystemSandboxEntry.ts +0 -7
  976. package/bundle/src/codex-protocol/v2/FileSystemSpecialPath.ts +0 -11
  977. package/bundle/src/codex-protocol/v2/FileUpdateChange.ts +0 -6
  978. package/bundle/src/codex-protocol/v2/FsChangedNotification.ts +0 -18
  979. package/bundle/src/codex-protocol/v2/FsCopyParams.ts +0 -22
  980. package/bundle/src/codex-protocol/v2/FsCopyResponse.ts +0 -8
  981. package/bundle/src/codex-protocol/v2/FsCreateDirectoryParams.ts +0 -18
  982. package/bundle/src/codex-protocol/v2/FsCreateDirectoryResponse.ts +0 -8
  983. package/bundle/src/codex-protocol/v2/FsGetMetadataParams.ts +0 -14
  984. package/bundle/src/codex-protocol/v2/FsGetMetadataResponse.ts +0 -29
  985. package/bundle/src/codex-protocol/v2/FsReadDirectoryEntry.ts +0 -21
  986. package/bundle/src/codex-protocol/v2/FsReadDirectoryParams.ts +0 -14
  987. package/bundle/src/codex-protocol/v2/FsReadDirectoryResponse.ts +0 -14
  988. package/bundle/src/codex-protocol/v2/FsReadFileParams.ts +0 -14
  989. package/bundle/src/codex-protocol/v2/FsReadFileResponse.ts +0 -13
  990. package/bundle/src/codex-protocol/v2/FsRemoveParams.ts +0 -22
  991. package/bundle/src/codex-protocol/v2/FsRemoveResponse.ts +0 -8
  992. package/bundle/src/codex-protocol/v2/FsUnwatchParams.ts +0 -13
  993. package/bundle/src/codex-protocol/v2/FsUnwatchResponse.ts +0 -8
  994. package/bundle/src/codex-protocol/v2/FsWatchParams.ts +0 -18
  995. package/bundle/src/codex-protocol/v2/FsWatchResponse.ts +0 -14
  996. package/bundle/src/codex-protocol/v2/FsWriteFileParams.ts +0 -18
  997. package/bundle/src/codex-protocol/v2/FsWriteFileResponse.ts +0 -8
  998. package/bundle/src/codex-protocol/v2/GetAccountParams.ts +0 -14
  999. package/bundle/src/codex-protocol/v2/GetAccountRateLimitsResponse.ts +0 -15
  1000. package/bundle/src/codex-protocol/v2/GetAccountResponse.ts +0 -6
  1001. package/bundle/src/codex-protocol/v2/GitInfo.ts +0 -5
  1002. package/bundle/src/codex-protocol/v2/GrantedPermissionProfile.ts +0 -10
  1003. package/bundle/src/codex-protocol/v2/GuardianApprovalReview.ts +0 -18
  1004. package/bundle/src/codex-protocol/v2/GuardianApprovalReviewAction.ts +0 -34
  1005. package/bundle/src/codex-protocol/v2/GuardianApprovalReviewStatus.ts +0 -13
  1006. package/bundle/src/codex-protocol/v2/GuardianCommandSource.ts +0 -5
  1007. package/bundle/src/codex-protocol/v2/GuardianRiskLevel.ts +0 -8
  1008. package/bundle/src/codex-protocol/v2/GuardianUserAuthorization.ts +0 -8
  1009. package/bundle/src/codex-protocol/v2/GuardianWarningNotification.ts +0 -14
  1010. package/bundle/src/codex-protocol/v2/HookCompletedNotification.ts +0 -10
  1011. package/bundle/src/codex-protocol/v2/HookErrorInfo.ts +0 -5
  1012. package/bundle/src/codex-protocol/v2/HookEventName.ts +0 -13
  1013. package/bundle/src/codex-protocol/v2/HookExecutionMode.ts +0 -5
  1014. package/bundle/src/codex-protocol/v2/HookHandlerType.ts +0 -5
  1015. package/bundle/src/codex-protocol/v2/HookMetadata.ts +0 -26
  1016. package/bundle/src/codex-protocol/v2/HookMigration.ts +0 -5
  1017. package/bundle/src/codex-protocol/v2/HookOutputEntry.ts +0 -6
  1018. package/bundle/src/codex-protocol/v2/HookOutputEntryKind.ts +0 -5
  1019. package/bundle/src/codex-protocol/v2/HookPromptFragment.ts +0 -5
  1020. package/bundle/src/codex-protocol/v2/HookRunStatus.ts +0 -5
  1021. package/bundle/src/codex-protocol/v2/HookRunSummary.ts +0 -28
  1022. package/bundle/src/codex-protocol/v2/HookScope.ts +0 -5
  1023. package/bundle/src/codex-protocol/v2/HookSource.ts +0 -15
  1024. package/bundle/src/codex-protocol/v2/HookStartedNotification.ts +0 -10
  1025. package/bundle/src/codex-protocol/v2/HookTrustStatus.ts +0 -5
  1026. package/bundle/src/codex-protocol/v2/HooksListEntry.ts +0 -12
  1027. package/bundle/src/codex-protocol/v2/HooksListParams.ts +0 -10
  1028. package/bundle/src/codex-protocol/v2/HooksListResponse.ts +0 -6
  1029. package/bundle/src/codex-protocol/v2/ItemCompletedNotification.ts +0 -14
  1030. package/bundle/src/codex-protocol/v2/ItemGuardianApprovalReviewCompletedNotification.ts +0 -44
  1031. package/bundle/src/codex-protocol/v2/ItemGuardianApprovalReviewStartedNotification.ts +0 -38
  1032. package/bundle/src/codex-protocol/v2/ItemStartedNotification.ts +0 -14
  1033. package/bundle/src/codex-protocol/v2/ListMcpServerStatusParams.ts +0 -20
  1034. package/bundle/src/codex-protocol/v2/ListMcpServerStatusResponse.ts +0 -13
  1035. package/bundle/src/codex-protocol/v2/LoginAccountParams.ts +0 -27
  1036. package/bundle/src/codex-protocol/v2/LoginAccountResponse.ts +0 -27
  1037. package/bundle/src/codex-protocol/v2/LogoutAccountResponse.ts +0 -5
  1038. package/bundle/src/codex-protocol/v2/ManagedHooksRequirements.ts +0 -17
  1039. package/bundle/src/codex-protocol/v2/MarketplaceAddParams.ts +0 -9
  1040. package/bundle/src/codex-protocol/v2/MarketplaceAddResponse.ts +0 -10
  1041. package/bundle/src/codex-protocol/v2/MarketplaceInterface.ts +0 -5
  1042. package/bundle/src/codex-protocol/v2/MarketplaceLoadErrorInfo.ts +0 -6
  1043. package/bundle/src/codex-protocol/v2/MarketplaceRemoveParams.ts +0 -5
  1044. package/bundle/src/codex-protocol/v2/MarketplaceRemoveResponse.ts +0 -9
  1045. package/bundle/src/codex-protocol/v2/MarketplaceUpgradeErrorInfo.ts +0 -5
  1046. package/bundle/src/codex-protocol/v2/MarketplaceUpgradeParams.ts +0 -5
  1047. package/bundle/src/codex-protocol/v2/MarketplaceUpgradeResponse.ts +0 -11
  1048. package/bundle/src/codex-protocol/v2/McpAuthStatus.ts +0 -5
  1049. package/bundle/src/codex-protocol/v2/McpElicitationArrayType.ts +0 -5
  1050. package/bundle/src/codex-protocol/v2/McpElicitationBooleanSchema.ts +0 -11
  1051. package/bundle/src/codex-protocol/v2/McpElicitationBooleanType.ts +0 -5
  1052. package/bundle/src/codex-protocol/v2/McpElicitationConstOption.ts +0 -5
  1053. package/bundle/src/codex-protocol/v2/McpElicitationEnumSchema.ts +0 -11
  1054. package/bundle/src/codex-protocol/v2/McpElicitationLegacyTitledEnumSchema.ts +0 -13
  1055. package/bundle/src/codex-protocol/v2/McpElicitationMultiSelectEnumSchema.ts +0 -9
  1056. package/bundle/src/codex-protocol/v2/McpElicitationNumberSchema.ts +0 -13
  1057. package/bundle/src/codex-protocol/v2/McpElicitationNumberType.ts +0 -5
  1058. package/bundle/src/codex-protocol/v2/McpElicitationObjectType.ts +0 -5
  1059. package/bundle/src/codex-protocol/v2/McpElicitationPrimitiveSchema.ts +0 -13
  1060. package/bundle/src/codex-protocol/v2/McpElicitationSchema.ts +0 -18
  1061. package/bundle/src/codex-protocol/v2/McpElicitationSingleSelectEnumSchema.ts +0 -9
  1062. package/bundle/src/codex-protocol/v2/McpElicitationStringFormat.ts +0 -5
  1063. package/bundle/src/codex-protocol/v2/McpElicitationStringSchema.ts +0 -15
  1064. package/bundle/src/codex-protocol/v2/McpElicitationStringType.ts +0 -5
  1065. package/bundle/src/codex-protocol/v2/McpElicitationTitledEnumItems.ts +0 -6
  1066. package/bundle/src/codex-protocol/v2/McpElicitationTitledMultiSelectEnumSchema.ts +0 -15
  1067. package/bundle/src/codex-protocol/v2/McpElicitationTitledSingleSelectEnumSchema.ts +0 -13
  1068. package/bundle/src/codex-protocol/v2/McpElicitationUntitledEnumItems.ts +0 -9
  1069. package/bundle/src/codex-protocol/v2/McpElicitationUntitledMultiSelectEnumSchema.ts +0 -15
  1070. package/bundle/src/codex-protocol/v2/McpElicitationUntitledSingleSelectEnumSchema.ts +0 -12
  1071. package/bundle/src/codex-protocol/v2/McpResourceReadParams.ts +0 -5
  1072. package/bundle/src/codex-protocol/v2/McpResourceReadResponse.ts +0 -6
  1073. package/bundle/src/codex-protocol/v2/McpServerElicitationAction.ts +0 -5
  1074. package/bundle/src/codex-protocol/v2/McpServerElicitationRequestParams.ts +0 -27
  1075. package/bundle/src/codex-protocol/v2/McpServerElicitationRequestResponse.ts +0 -19
  1076. package/bundle/src/codex-protocol/v2/McpServerMigration.ts +0 -5
  1077. package/bundle/src/codex-protocol/v2/McpServerOauthLoginCompletedNotification.ts +0 -9
  1078. package/bundle/src/codex-protocol/v2/McpServerOauthLoginParams.ts +0 -9
  1079. package/bundle/src/codex-protocol/v2/McpServerOauthLoginResponse.ts +0 -5
  1080. package/bundle/src/codex-protocol/v2/McpServerRefreshResponse.ts +0 -5
  1081. package/bundle/src/codex-protocol/v2/McpServerStartupState.ts +0 -5
  1082. package/bundle/src/codex-protocol/v2/McpServerStatus.ts +0 -15
  1083. package/bundle/src/codex-protocol/v2/McpServerStatusDetail.ts +0 -5
  1084. package/bundle/src/codex-protocol/v2/McpServerStatusUpdatedNotification.ts +0 -10
  1085. package/bundle/src/codex-protocol/v2/McpServerToolCallParams.ts +0 -12
  1086. package/bundle/src/codex-protocol/v2/McpServerToolCallResponse.ts +0 -11
  1087. package/bundle/src/codex-protocol/v2/McpToolCallError.ts +0 -5
  1088. package/bundle/src/codex-protocol/v2/McpToolCallProgressNotification.ts +0 -10
  1089. package/bundle/src/codex-protocol/v2/McpToolCallResult.ts +0 -10
  1090. package/bundle/src/codex-protocol/v2/McpToolCallStatus.ts +0 -5
  1091. package/bundle/src/codex-protocol/v2/MemoryCitation.ts +0 -6
  1092. package/bundle/src/codex-protocol/v2/MemoryCitationEntry.ts +0 -10
  1093. package/bundle/src/codex-protocol/v2/MergeStrategy.ts +0 -5
  1094. package/bundle/src/codex-protocol/v2/MigrationDetails.ts +0 -18
  1095. package/bundle/src/codex-protocol/v2/Model.ts +0 -30
  1096. package/bundle/src/codex-protocol/v2/ModelAvailabilityNux.ts +0 -5
  1097. package/bundle/src/codex-protocol/v2/ModelListParams.ts +0 -18
  1098. package/bundle/src/codex-protocol/v2/ModelListResponse.ts +0 -13
  1099. package/bundle/src/codex-protocol/v2/ModelProviderCapabilitiesReadParams.ts +0 -5
  1100. package/bundle/src/codex-protocol/v2/ModelProviderCapabilitiesReadResponse.ts +0 -9
  1101. package/bundle/src/codex-protocol/v2/ModelRerouteReason.ts +0 -5
  1102. package/bundle/src/codex-protocol/v2/ModelReroutedNotification.ts +0 -12
  1103. package/bundle/src/codex-protocol/v2/ModelServiceTier.ts +0 -5
  1104. package/bundle/src/codex-protocol/v2/ModelUpgradeInfo.ts +0 -10
  1105. package/bundle/src/codex-protocol/v2/ModelVerification.ts +0 -5
  1106. package/bundle/src/codex-protocol/v2/ModelVerificationNotification.ts +0 -10
  1107. package/bundle/src/codex-protocol/v2/NetworkAccess.ts +0 -5
  1108. package/bundle/src/codex-protocol/v2/NetworkApprovalContext.ts +0 -6
  1109. package/bundle/src/codex-protocol/v2/NetworkApprovalProtocol.ts +0 -5
  1110. package/bundle/src/codex-protocol/v2/NetworkDomainPermission.ts +0 -5
  1111. package/bundle/src/codex-protocol/v2/NetworkPolicyAmendment.ts +0 -6
  1112. package/bundle/src/codex-protocol/v2/NetworkPolicyRuleAction.ts +0 -5
  1113. package/bundle/src/codex-protocol/v2/NetworkRequirements.ts +0 -40
  1114. package/bundle/src/codex-protocol/v2/NetworkUnixSocketPermission.ts +0 -5
  1115. package/bundle/src/codex-protocol/v2/NonSteerableTurnKind.ts +0 -5
  1116. package/bundle/src/codex-protocol/v2/OverriddenMetadata.ts +0 -11
  1117. package/bundle/src/codex-protocol/v2/PatchApplyStatus.ts +0 -5
  1118. package/bundle/src/codex-protocol/v2/PatchChangeKind.ts +0 -8
  1119. package/bundle/src/codex-protocol/v2/PermissionGrantScope.ts +0 -5
  1120. package/bundle/src/codex-protocol/v2/PermissionProfile.ts +0 -14
  1121. package/bundle/src/codex-protocol/v2/PermissionProfileFileSystemPermissions.ts +0 -8
  1122. package/bundle/src/codex-protocol/v2/PermissionProfileModificationParams.ts +0 -9
  1123. package/bundle/src/codex-protocol/v2/PermissionProfileNetworkPermissions.ts +0 -5
  1124. package/bundle/src/codex-protocol/v2/PermissionProfileSelectionParams.ts +0 -10
  1125. package/bundle/src/codex-protocol/v2/PermissionsRequestApprovalParams.ts +0 -18
  1126. package/bundle/src/codex-protocol/v2/PermissionsRequestApprovalResponse.ts +0 -14
  1127. package/bundle/src/codex-protocol/v2/PlanDeltaNotification.ts +0 -14
  1128. package/bundle/src/codex-protocol/v2/PluginAuthPolicy.ts +0 -5
  1129. package/bundle/src/codex-protocol/v2/PluginAvailability.ts +0 -5
  1130. package/bundle/src/codex-protocol/v2/PluginDetail.ts +0 -19
  1131. package/bundle/src/codex-protocol/v2/PluginHookSummary.ts +0 -6
  1132. package/bundle/src/codex-protocol/v2/PluginInstallParams.ts +0 -10
  1133. package/bundle/src/codex-protocol/v2/PluginInstallPolicy.ts +0 -5
  1134. package/bundle/src/codex-protocol/v2/PluginInstallResponse.ts +0 -10
  1135. package/bundle/src/codex-protocol/v2/PluginInterface.ts +0 -46
  1136. package/bundle/src/codex-protocol/v2/PluginListMarketplaceKind.ts +0 -5
  1137. package/bundle/src/codex-protocol/v2/PluginListParams.ts +0 -18
  1138. package/bundle/src/codex-protocol/v2/PluginListResponse.ts +0 -11
  1139. package/bundle/src/codex-protocol/v2/PluginMarketplaceEntry.ts +0 -17
  1140. package/bundle/src/codex-protocol/v2/PluginReadParams.ts +0 -10
  1141. package/bundle/src/codex-protocol/v2/PluginReadResponse.ts +0 -6
  1142. package/bundle/src/codex-protocol/v2/PluginShareContext.ts +0 -12
  1143. package/bundle/src/codex-protocol/v2/PluginShareDeleteParams.ts +0 -5
  1144. package/bundle/src/codex-protocol/v2/PluginShareDeleteResponse.ts +0 -5
  1145. package/bundle/src/codex-protocol/v2/PluginShareDiscoverability.ts +0 -5
  1146. package/bundle/src/codex-protocol/v2/PluginShareListItem.ts +0 -11
  1147. package/bundle/src/codex-protocol/v2/PluginShareListParams.ts +0 -5
  1148. package/bundle/src/codex-protocol/v2/PluginShareListResponse.ts +0 -6
  1149. package/bundle/src/codex-protocol/v2/PluginSharePrincipal.ts +0 -10
  1150. package/bundle/src/codex-protocol/v2/PluginSharePrincipalType.ts +0 -5
  1151. package/bundle/src/codex-protocol/v2/PluginShareSaveParams.ts +0 -13
  1152. package/bundle/src/codex-protocol/v2/PluginShareSaveResponse.ts +0 -5
  1153. package/bundle/src/codex-protocol/v2/PluginShareTarget.ts +0 -6
  1154. package/bundle/src/codex-protocol/v2/PluginShareUpdateDiscoverability.ts +0 -5
  1155. package/bundle/src/codex-protocol/v2/PluginShareUpdateTargetsParams.ts +0 -11
  1156. package/bundle/src/codex-protocol/v2/PluginShareUpdateTargetsResponse.ts +0 -10
  1157. package/bundle/src/codex-protocol/v2/PluginSkillReadParams.ts +0 -9
  1158. package/bundle/src/codex-protocol/v2/PluginSkillReadResponse.ts +0 -5
  1159. package/bundle/src/codex-protocol/v2/PluginSource.ts +0 -9
  1160. package/bundle/src/codex-protocol/v2/PluginSummary.ts +0 -29
  1161. package/bundle/src/codex-protocol/v2/PluginUninstallParams.ts +0 -5
  1162. package/bundle/src/codex-protocol/v2/PluginUninstallResponse.ts +0 -5
  1163. package/bundle/src/codex-protocol/v2/PluginsMigration.ts +0 -5
  1164. package/bundle/src/codex-protocol/v2/ProcessExitedNotification.ts +0 -43
  1165. package/bundle/src/codex-protocol/v2/ProcessOutputDeltaNotification.ts +0 -27
  1166. package/bundle/src/codex-protocol/v2/ProcessOutputStream.ts +0 -8
  1167. package/bundle/src/codex-protocol/v2/ProcessTerminalSize.ts +0 -17
  1168. package/bundle/src/codex-protocol/v2/ProfileV2.ts +0 -37
  1169. package/bundle/src/codex-protocol/v2/RateLimitReachedType.ts +0 -10
  1170. package/bundle/src/codex-protocol/v2/RateLimitSnapshot.ts +0 -17
  1171. package/bundle/src/codex-protocol/v2/RateLimitWindow.ts +0 -9
  1172. package/bundle/src/codex-protocol/v2/RawResponseItemCompletedNotification.ts +0 -10
  1173. package/bundle/src/codex-protocol/v2/ReasoningEffortOption.ts +0 -6
  1174. package/bundle/src/codex-protocol/v2/ReasoningSummaryPartAddedNotification.ts +0 -10
  1175. package/bundle/src/codex-protocol/v2/ReasoningSummaryTextDeltaNotification.ts +0 -11
  1176. package/bundle/src/codex-protocol/v2/ReasoningTextDeltaNotification.ts +0 -11
  1177. package/bundle/src/codex-protocol/v2/RemoteControlConnectionStatus.ts +0 -5
  1178. package/bundle/src/codex-protocol/v2/RemoteControlStatusChangedNotification.ts +0 -12
  1179. package/bundle/src/codex-protocol/v2/RequestPermissionProfile.ts +0 -10
  1180. package/bundle/src/codex-protocol/v2/ResidencyRequirement.ts +0 -5
  1181. package/bundle/src/codex-protocol/v2/ReviewDelivery.ts +0 -5
  1182. package/bundle/src/codex-protocol/v2/ReviewStartParams.ts +0 -15
  1183. package/bundle/src/codex-protocol/v2/ReviewStartResponse.ts +0 -15
  1184. package/bundle/src/codex-protocol/v2/ReviewTarget.ts +0 -16
  1185. package/bundle/src/codex-protocol/v2/SandboxMode.ts +0 -5
  1186. package/bundle/src/codex-protocol/v2/SandboxPolicy.ts +0 -17
  1187. package/bundle/src/codex-protocol/v2/SandboxWorkspaceWrite.ts +0 -10
  1188. package/bundle/src/codex-protocol/v2/SendAddCreditsNudgeEmailParams.ts +0 -6
  1189. package/bundle/src/codex-protocol/v2/SendAddCreditsNudgeEmailResponse.ts +0 -6
  1190. package/bundle/src/codex-protocol/v2/ServerRequestResolvedNotification.ts +0 -6
  1191. package/bundle/src/codex-protocol/v2/SessionMigration.ts +0 -5
  1192. package/bundle/src/codex-protocol/v2/SessionSource.ts +0 -13
  1193. package/bundle/src/codex-protocol/v2/SkillDependencies.ts +0 -6
  1194. package/bundle/src/codex-protocol/v2/SkillErrorInfo.ts +0 -5
  1195. package/bundle/src/codex-protocol/v2/SkillInterface.ts +0 -13
  1196. package/bundle/src/codex-protocol/v2/SkillMetadata.ts +0 -21
  1197. package/bundle/src/codex-protocol/v2/SkillScope.ts +0 -5
  1198. package/bundle/src/codex-protocol/v2/SkillSummary.ts +0 -14
  1199. package/bundle/src/codex-protocol/v2/SkillToolDependency.ts +0 -12
  1200. package/bundle/src/codex-protocol/v2/SkillsChangedNotification.ts +0 -11
  1201. package/bundle/src/codex-protocol/v2/SkillsConfigWriteParams.ts +0 -16
  1202. package/bundle/src/codex-protocol/v2/SkillsConfigWriteResponse.ts +0 -5
  1203. package/bundle/src/codex-protocol/v2/SkillsListEntry.ts +0 -11
  1204. package/bundle/src/codex-protocol/v2/SkillsListParams.ts +0 -14
  1205. package/bundle/src/codex-protocol/v2/SkillsListResponse.ts +0 -6
  1206. package/bundle/src/codex-protocol/v2/SortDirection.ts +0 -5
  1207. package/bundle/src/codex-protocol/v2/SubagentMigration.ts +0 -5
  1208. package/bundle/src/codex-protocol/v2/TerminalInteractionNotification.ts +0 -11
  1209. package/bundle/src/codex-protocol/v2/TextElement.ts +0 -15
  1210. package/bundle/src/codex-protocol/v2/TextPosition.ts +0 -14
  1211. package/bundle/src/codex-protocol/v2/TextRange.ts +0 -6
  1212. package/bundle/src/codex-protocol/v2/Thread.ts +0 -88
  1213. package/bundle/src/codex-protocol/v2/ThreadActiveFlag.ts +0 -5
  1214. package/bundle/src/codex-protocol/v2/ThreadApproveGuardianDeniedActionParams.ts +0 -12
  1215. package/bundle/src/codex-protocol/v2/ThreadApproveGuardianDeniedActionResponse.ts +0 -5
  1216. package/bundle/src/codex-protocol/v2/ThreadArchiveParams.ts +0 -5
  1217. package/bundle/src/codex-protocol/v2/ThreadArchiveResponse.ts +0 -5
  1218. package/bundle/src/codex-protocol/v2/ThreadArchivedNotification.ts +0 -5
  1219. package/bundle/src/codex-protocol/v2/ThreadClosedNotification.ts +0 -5
  1220. package/bundle/src/codex-protocol/v2/ThreadCompactStartParams.ts +0 -5
  1221. package/bundle/src/codex-protocol/v2/ThreadCompactStartResponse.ts +0 -5
  1222. package/bundle/src/codex-protocol/v2/ThreadForkParams.ts +0 -40
  1223. package/bundle/src/codex-protocol/v2/ThreadForkResponse.ts +0 -30
  1224. package/bundle/src/codex-protocol/v2/ThreadGoal.ts +0 -15
  1225. package/bundle/src/codex-protocol/v2/ThreadGoalClearedNotification.ts +0 -5
  1226. package/bundle/src/codex-protocol/v2/ThreadGoalStatus.ts +0 -5
  1227. package/bundle/src/codex-protocol/v2/ThreadGoalUpdatedNotification.ts +0 -10
  1228. package/bundle/src/codex-protocol/v2/ThreadInjectItemsParams.ts +0 -12
  1229. package/bundle/src/codex-protocol/v2/ThreadInjectItemsResponse.ts +0 -5
  1230. package/bundle/src/codex-protocol/v2/ThreadItem.ts +0 -156
  1231. package/bundle/src/codex-protocol/v2/ThreadListParams.ts +0 -55
  1232. package/bundle/src/codex-protocol/v2/ThreadListResponse.ts +0 -20
  1233. package/bundle/src/codex-protocol/v2/ThreadLoadedListParams.ts +0 -14
  1234. package/bundle/src/codex-protocol/v2/ThreadLoadedListResponse.ts +0 -15
  1235. package/bundle/src/codex-protocol/v2/ThreadMetadataGitInfoUpdateParams.ts +0 -21
  1236. package/bundle/src/codex-protocol/v2/ThreadMetadataUpdateParams.ts +0 -14
  1237. package/bundle/src/codex-protocol/v2/ThreadMetadataUpdateResponse.ts +0 -6
  1238. package/bundle/src/codex-protocol/v2/ThreadNameUpdatedNotification.ts +0 -5
  1239. package/bundle/src/codex-protocol/v2/ThreadReadParams.ts +0 -11
  1240. package/bundle/src/codex-protocol/v2/ThreadReadResponse.ts +0 -6
  1241. package/bundle/src/codex-protocol/v2/ThreadRealtimeAudioChunk.ts +0 -14
  1242. package/bundle/src/codex-protocol/v2/ThreadRealtimeClosedNotification.ts +0 -8
  1243. package/bundle/src/codex-protocol/v2/ThreadRealtimeErrorNotification.ts +0 -8
  1244. package/bundle/src/codex-protocol/v2/ThreadRealtimeItemAddedNotification.ts +0 -9
  1245. package/bundle/src/codex-protocol/v2/ThreadRealtimeOutputAudioDeltaNotification.ts +0 -12
  1246. package/bundle/src/codex-protocol/v2/ThreadRealtimeSdpNotification.ts +0 -8
  1247. package/bundle/src/codex-protocol/v2/ThreadRealtimeStartTransport.ts +0 -17
  1248. package/bundle/src/codex-protocol/v2/ThreadRealtimeStartedNotification.ts +0 -13
  1249. package/bundle/src/codex-protocol/v2/ThreadRealtimeTranscriptDeltaNotification.ts +0 -16
  1250. package/bundle/src/codex-protocol/v2/ThreadRealtimeTranscriptDoneNotification.ts +0 -16
  1251. package/bundle/src/codex-protocol/v2/ThreadResumeParams.ts +0 -39
  1252. package/bundle/src/codex-protocol/v2/ThreadResumeResponse.ts +0 -30
  1253. package/bundle/src/codex-protocol/v2/ThreadRollbackParams.ts +0 -14
  1254. package/bundle/src/codex-protocol/v2/ThreadRollbackResponse.ts +0 -15
  1255. package/bundle/src/codex-protocol/v2/ThreadSetNameParams.ts +0 -5
  1256. package/bundle/src/codex-protocol/v2/ThreadSetNameResponse.ts +0 -5
  1257. package/bundle/src/codex-protocol/v2/ThreadShellCommandParams.ts +0 -14
  1258. package/bundle/src/codex-protocol/v2/ThreadShellCommandResponse.ts +0 -5
  1259. package/bundle/src/codex-protocol/v2/ThreadSortKey.ts +0 -5
  1260. package/bundle/src/codex-protocol/v2/ThreadSource.ts +0 -5
  1261. package/bundle/src/codex-protocol/v2/ThreadSourceKind.ts +0 -15
  1262. package/bundle/src/codex-protocol/v2/ThreadStartParams.ts +0 -33
  1263. package/bundle/src/codex-protocol/v2/ThreadStartResponse.ts +0 -30
  1264. package/bundle/src/codex-protocol/v2/ThreadStartSource.ts +0 -5
  1265. package/bundle/src/codex-protocol/v2/ThreadStartedNotification.ts +0 -6
  1266. package/bundle/src/codex-protocol/v2/ThreadStatus.ts +0 -10
  1267. package/bundle/src/codex-protocol/v2/ThreadStatusChangedNotification.ts +0 -6
  1268. package/bundle/src/codex-protocol/v2/ThreadTokenUsage.ts +0 -10
  1269. package/bundle/src/codex-protocol/v2/ThreadTokenUsageUpdatedNotification.ts +0 -10
  1270. package/bundle/src/codex-protocol/v2/ThreadUnarchiveParams.ts +0 -5
  1271. package/bundle/src/codex-protocol/v2/ThreadUnarchiveResponse.ts +0 -6
  1272. package/bundle/src/codex-protocol/v2/ThreadUnarchivedNotification.ts +0 -5
  1273. package/bundle/src/codex-protocol/v2/ThreadUnsubscribeParams.ts +0 -5
  1274. package/bundle/src/codex-protocol/v2/ThreadUnsubscribeResponse.ts +0 -6
  1275. package/bundle/src/codex-protocol/v2/ThreadUnsubscribeStatus.ts +0 -5
  1276. package/bundle/src/codex-protocol/v2/TokenUsageBreakdown.ts +0 -11
  1277. package/bundle/src/codex-protocol/v2/ToolRequestUserInputAnswer.ts +0 -8
  1278. package/bundle/src/codex-protocol/v2/ToolRequestUserInputOption.ts +0 -8
  1279. package/bundle/src/codex-protocol/v2/ToolRequestUserInputParams.ts +0 -14
  1280. package/bundle/src/codex-protocol/v2/ToolRequestUserInputQuestion.ts +0 -16
  1281. package/bundle/src/codex-protocol/v2/ToolRequestUserInputResponse.ts +0 -11
  1282. package/bundle/src/codex-protocol/v2/ToolsV2.ts +0 -6
  1283. package/bundle/src/codex-protocol/v2/Turn.ts +0 -36
  1284. package/bundle/src/codex-protocol/v2/TurnCompletedNotification.ts +0 -6
  1285. package/bundle/src/codex-protocol/v2/TurnDiffUpdatedNotification.ts +0 -9
  1286. package/bundle/src/codex-protocol/v2/TurnEnvironmentParams.ts +0 -6
  1287. package/bundle/src/codex-protocol/v2/TurnError.ts +0 -10
  1288. package/bundle/src/codex-protocol/v2/TurnInterruptParams.ts +0 -5
  1289. package/bundle/src/codex-protocol/v2/TurnInterruptResponse.ts +0 -5
  1290. package/bundle/src/codex-protocol/v2/TurnItemsView.ts +0 -5
  1291. package/bundle/src/codex-protocol/v2/TurnPlanStep.ts +0 -6
  1292. package/bundle/src/codex-protocol/v2/TurnPlanStepStatus.ts +0 -5
  1293. package/bundle/src/codex-protocol/v2/TurnPlanUpdatedNotification.ts +0 -11
  1294. package/bundle/src/codex-protocol/v2/TurnStartParams.ts +0 -48
  1295. package/bundle/src/codex-protocol/v2/TurnStartResponse.ts +0 -6
  1296. package/bundle/src/codex-protocol/v2/TurnStartedNotification.ts +0 -6
  1297. package/bundle/src/codex-protocol/v2/TurnStatus.ts +0 -5
  1298. package/bundle/src/codex-protocol/v2/TurnSteerParams.ts +0 -13
  1299. package/bundle/src/codex-protocol/v2/TurnSteerResponse.ts +0 -5
  1300. package/bundle/src/codex-protocol/v2/UserInput.ts +0 -18
  1301. package/bundle/src/codex-protocol/v2/WarningNotification.ts +0 -14
  1302. package/bundle/src/codex-protocol/v2/WebSearchAction.ts +0 -9
  1303. package/bundle/src/codex-protocol/v2/WindowsSandboxReadiness.ts +0 -5
  1304. package/bundle/src/codex-protocol/v2/WindowsSandboxReadinessResponse.ts +0 -6
  1305. package/bundle/src/codex-protocol/v2/WindowsSandboxSetupCompletedNotification.ts +0 -10
  1306. package/bundle/src/codex-protocol/v2/WindowsSandboxSetupMode.ts +0 -5
  1307. package/bundle/src/codex-protocol/v2/WindowsSandboxSetupStartParams.ts +0 -10
  1308. package/bundle/src/codex-protocol/v2/WindowsSandboxSetupStartResponse.ts +0 -5
  1309. package/bundle/src/codex-protocol/v2/WindowsWorldWritableWarningNotification.ts +0 -9
  1310. package/bundle/src/codex-protocol/v2/WriteStatus.ts +0 -5
  1311. package/bundle/src/codex-protocol/v2/index.ts +0 -446
  1312. package/bundle/src/utils/providers/openai/codex-rpc.ts +0 -238
  1313. package/bundle/src/utils/providers/openai/codex-worker.test.ts +0 -1006
  1314. package/bundle/src/utils/providers/openai/codex-worker.ts +0 -927
  1315. package/bundle/src/utils/providers/openai/openai-worker-pool-config.ts +0 -112
  1316. package/bundle/web-dist/client/assets/index-C24D5PiN.js +0 -106
  1317. package/bundle/web-dist/client/assets/index-CcMEpCgt.css +0 -1
  1318. package/bundle/web-dist/client/assets/logs-CIlZG6A3.js +0 -1
  1319. package/bundle/web-dist/client/assets/monit-DZFBMxKl.js +0 -1
  1320. package/bundle/web-dist/client/assets/routes-C3wlSNBL.js +0 -5
  1321. package/bundle/web-dist/client/assets/services.generated-jGypfumC.js +0 -51
  1322. package/bundle/web-dist/client/assets/settings-ClRDWO-8.js +0 -1
  1323. package/bundle/web-dist/client/assets/show-BP7U8yyJ.js +0 -2
  1324. package/bundle/web-dist/client/assets/tokens-DfQeULnJ.js +0 -1
  1325. package/bundle/web-dist/client/assets/use-oauth-login-flow-CY-ASCfL.js +0 -1
  1326. package/bundle/web-dist/server/assets/lazyRouteComponent-DOc8TV-P.js +0 -1856
  1327. package/bundle/web-dist/server/assets/logs-CfF3nmLM.js +0 -451
  1328. package/bundle/web-dist/server/assets/monit-BSaKhh5D.js +0 -1577
  1329. package/bundle/web-dist/server/assets/plus-DLFUHsfx.js +0 -19
  1330. package/bundle/web-dist/server/assets/react-dom-BotjLnTK.js +0 -462
  1331. package/bundle/web-dist/server/assets/routes-CHMxrTT0.js +0 -2924
  1332. package/bundle/web-dist/server/assets/services.generated-D3Q3FYot.js +0 -23570
  1333. package/bundle/web-dist/server/assets/settings-DOQjV28c.js +0 -598
  1334. package/bundle/web-dist/server/assets/show-Cn_C6Qvl.js +0 -2776
  1335. package/bundle/web-dist/server/assets/tokens-c0EN3iCx.js +0 -441
  1336. package/bundle/web-dist/server/assets/use-oauth-login-flow-B68AbMDE.js +0 -160
  1337. /package/bundle/dist/{codex-protocol/AbsolutePathBuf.js → utils/providers/common/provider-types.js} +0 -0
@@ -0,0 +1,1856 @@
1
+ import { H as __toESM, S as require_react, x as require_jsx_runtime, z as __commonJSMin } from "./services.generated-DyPeBI00.js";
2
+ import { n as require_shim, t as require_react_dom } from "./react-dom-zmEq8BVp.js";
3
+ //#region ../../node_modules/.pnpm/@tanstack+router-core@1.143.6/node_modules/@tanstack/router-core/dist/esm/utils.js
4
+ function last(arr) {
5
+ return arr[arr.length - 1];
6
+ }
7
+ function isFunction(d) {
8
+ return typeof d === "function";
9
+ }
10
+ function functionalUpdate(updater, previous) {
11
+ if (isFunction(updater)) return updater(previous);
12
+ return updater;
13
+ }
14
+ var hasOwn = Object.prototype.hasOwnProperty;
15
+ function replaceEqualDeep(prev, _next) {
16
+ if (prev === _next) return prev;
17
+ const next = _next;
18
+ const array = isPlainArray(prev) && isPlainArray(next);
19
+ if (!array && !(isPlainObject(prev) && isPlainObject(next))) return next;
20
+ const prevItems = array ? prev : getEnumerableOwnKeys(prev);
21
+ if (!prevItems) return next;
22
+ const nextItems = array ? next : getEnumerableOwnKeys(next);
23
+ if (!nextItems) return next;
24
+ const prevSize = prevItems.length;
25
+ const nextSize = nextItems.length;
26
+ const copy = array ? new Array(nextSize) : {};
27
+ let equalItems = 0;
28
+ for (let i = 0; i < nextSize; i++) {
29
+ const key = array ? i : nextItems[i];
30
+ const p = prev[key];
31
+ const n = next[key];
32
+ if (p === n) {
33
+ copy[key] = p;
34
+ if (array ? i < prevSize : hasOwn.call(prev, key)) equalItems++;
35
+ continue;
36
+ }
37
+ if (p === null || n === null || typeof p !== "object" || typeof n !== "object") {
38
+ copy[key] = n;
39
+ continue;
40
+ }
41
+ const v = replaceEqualDeep(p, n);
42
+ copy[key] = v;
43
+ if (v === p) equalItems++;
44
+ }
45
+ return prevSize === nextSize && equalItems === prevSize ? prev : copy;
46
+ }
47
+ function getEnumerableOwnKeys(o) {
48
+ const keys = [];
49
+ const names = Object.getOwnPropertyNames(o);
50
+ for (const name of names) {
51
+ if (!Object.prototype.propertyIsEnumerable.call(o, name)) return false;
52
+ keys.push(name);
53
+ }
54
+ const symbols = Object.getOwnPropertySymbols(o);
55
+ for (const symbol of symbols) {
56
+ if (!Object.prototype.propertyIsEnumerable.call(o, symbol)) return false;
57
+ keys.push(symbol);
58
+ }
59
+ return keys;
60
+ }
61
+ function isPlainObject(o) {
62
+ if (!hasObjectPrototype(o)) return false;
63
+ const ctor = o.constructor;
64
+ if (typeof ctor === "undefined") return true;
65
+ const prot = ctor.prototype;
66
+ if (!hasObjectPrototype(prot)) return false;
67
+ if (!prot.hasOwnProperty("isPrototypeOf")) return false;
68
+ return true;
69
+ }
70
+ function hasObjectPrototype(o) {
71
+ return Object.prototype.toString.call(o) === "[object Object]";
72
+ }
73
+ function isPlainArray(value) {
74
+ return Array.isArray(value) && value.length === Object.keys(value).length;
75
+ }
76
+ function deepEqual(a, b, opts) {
77
+ if (a === b) return true;
78
+ if (typeof a !== typeof b) return false;
79
+ if (Array.isArray(a) && Array.isArray(b)) {
80
+ if (a.length !== b.length) return false;
81
+ for (let i = 0, l = a.length; i < l; i++) if (!deepEqual(a[i], b[i], opts)) return false;
82
+ return true;
83
+ }
84
+ if (isPlainObject(a) && isPlainObject(b)) {
85
+ const ignoreUndefined = opts?.ignoreUndefined ?? true;
86
+ if (opts?.partial) {
87
+ for (const k in b) if (!ignoreUndefined || b[k] !== void 0) {
88
+ if (!deepEqual(a[k], b[k], opts)) return false;
89
+ }
90
+ return true;
91
+ }
92
+ let aCount = 0;
93
+ if (!ignoreUndefined) aCount = Object.keys(a).length;
94
+ else for (const k in a) if (a[k] !== void 0) aCount++;
95
+ let bCount = 0;
96
+ for (const k in b) if (!ignoreUndefined || b[k] !== void 0) {
97
+ bCount++;
98
+ if (bCount > aCount || !deepEqual(a[k], b[k], opts)) return false;
99
+ }
100
+ return aCount === bCount;
101
+ }
102
+ return false;
103
+ }
104
+ function createControlledPromise(onResolve) {
105
+ let resolveLoadPromise;
106
+ let rejectLoadPromise;
107
+ const controlledPromise = new Promise((resolve, reject) => {
108
+ resolveLoadPromise = resolve;
109
+ rejectLoadPromise = reject;
110
+ });
111
+ controlledPromise.status = "pending";
112
+ controlledPromise.resolve = (value) => {
113
+ controlledPromise.status = "resolved";
114
+ controlledPromise.value = value;
115
+ resolveLoadPromise(value);
116
+ onResolve?.(value);
117
+ };
118
+ controlledPromise.reject = (e) => {
119
+ controlledPromise.status = "rejected";
120
+ rejectLoadPromise(e);
121
+ };
122
+ return controlledPromise;
123
+ }
124
+ function isModuleNotFoundError(error) {
125
+ if (typeof error?.message !== "string") return false;
126
+ return error.message.startsWith("Failed to fetch dynamically imported module") || error.message.startsWith("error loading dynamically imported module") || error.message.startsWith("Importing a module script failed");
127
+ }
128
+ function isPromise(value) {
129
+ return Boolean(value && typeof value === "object" && typeof value.then === "function");
130
+ }
131
+ function findLast(array, predicate) {
132
+ for (let i = array.length - 1; i >= 0; i--) {
133
+ const item = array[i];
134
+ if (predicate(item)) return item;
135
+ }
136
+ }
137
+ function decodeSegment(segment) {
138
+ try {
139
+ return decodeURI(segment);
140
+ } catch {
141
+ return segment.replaceAll(/%[0-9A-F]{2}/gi, (match) => {
142
+ try {
143
+ return decodeURI(match);
144
+ } catch {
145
+ return match;
146
+ }
147
+ });
148
+ }
149
+ }
150
+ function decodePath(path, decodeIgnore) {
151
+ if (!path) return path;
152
+ const re = decodeIgnore ? new RegExp(`${decodeIgnore.join("|")}`, "gi") : /%25|%5C/gi;
153
+ let cursor = 0;
154
+ let result = "";
155
+ let match;
156
+ while (null !== (match = re.exec(path))) {
157
+ result += decodeSegment(path.slice(cursor, match.index)) + match[0];
158
+ cursor = re.lastIndex;
159
+ }
160
+ return result + decodeSegment(cursor ? path.slice(cursor) : path);
161
+ }
162
+ //#endregion
163
+ //#region ../../node_modules/.pnpm/tiny-invariant@1.3.3/node_modules/tiny-invariant/dist/esm/tiny-invariant.js
164
+ var isProduction$1 = process.env.NODE_ENV === "production";
165
+ var prefix = "Invariant failed";
166
+ function invariant(condition, message) {
167
+ if (condition) return;
168
+ if (isProduction$1) throw new Error(prefix);
169
+ var provided = typeof message === "function" ? message() : message;
170
+ var value = provided ? "".concat(prefix, ": ").concat(provided) : prefix;
171
+ throw new Error(value);
172
+ }
173
+ //#endregion
174
+ //#region ../../node_modules/.pnpm/@tanstack+router-core@1.143.6/node_modules/@tanstack/router-core/dist/esm/lru-cache.js
175
+ function createLRUCache(max) {
176
+ const cache = /* @__PURE__ */ new Map();
177
+ let oldest;
178
+ let newest;
179
+ const touch = (entry) => {
180
+ if (!entry.next) return;
181
+ if (!entry.prev) {
182
+ entry.next.prev = void 0;
183
+ oldest = entry.next;
184
+ entry.next = void 0;
185
+ if (newest) {
186
+ entry.prev = newest;
187
+ newest.next = entry;
188
+ }
189
+ } else {
190
+ entry.prev.next = entry.next;
191
+ entry.next.prev = entry.prev;
192
+ entry.next = void 0;
193
+ if (newest) {
194
+ newest.next = entry;
195
+ entry.prev = newest;
196
+ }
197
+ }
198
+ newest = entry;
199
+ };
200
+ return {
201
+ get(key) {
202
+ const entry = cache.get(key);
203
+ if (!entry) return void 0;
204
+ touch(entry);
205
+ return entry.value;
206
+ },
207
+ set(key, value) {
208
+ if (cache.size >= max && oldest) {
209
+ const toDelete = oldest;
210
+ cache.delete(toDelete.key);
211
+ if (toDelete.next) {
212
+ oldest = toDelete.next;
213
+ toDelete.next.prev = void 0;
214
+ }
215
+ if (toDelete === newest) newest = void 0;
216
+ }
217
+ const existing = cache.get(key);
218
+ if (existing) {
219
+ existing.value = value;
220
+ touch(existing);
221
+ } else {
222
+ const entry = {
223
+ key,
224
+ value,
225
+ prev: newest
226
+ };
227
+ if (newest) newest.next = entry;
228
+ newest = entry;
229
+ if (!oldest) oldest = entry;
230
+ cache.set(key, entry);
231
+ }
232
+ },
233
+ clear() {
234
+ cache.clear();
235
+ oldest = void 0;
236
+ newest = void 0;
237
+ }
238
+ };
239
+ }
240
+ var SEGMENT_TYPE_INDEX = 4;
241
+ var PARAM_W_CURLY_BRACES_RE = /^([^{]*)\{\$([a-zA-Z_$][a-zA-Z0-9_$]*)\}([^}]*)$/;
242
+ var OPTIONAL_PARAM_W_CURLY_BRACES_RE = /^([^{]*)\{-\$([a-zA-Z_$][a-zA-Z0-9_$]*)\}([^}]*)$/;
243
+ var WILDCARD_W_CURLY_BRACES_RE = /^([^{]*)\{\$\}([^}]*)$/;
244
+ function parseSegment(path, start, output = new Uint16Array(6)) {
245
+ const next = path.indexOf("/", start);
246
+ const end = next === -1 ? path.length : next;
247
+ const part = path.substring(start, end);
248
+ if (!part || !part.includes("$")) {
249
+ output[0] = 0;
250
+ output[1] = start;
251
+ output[2] = start;
252
+ output[3] = end;
253
+ output[4] = end;
254
+ output[5] = end;
255
+ return output;
256
+ }
257
+ if (part === "$") {
258
+ const total = path.length;
259
+ output[0] = 2;
260
+ output[1] = start;
261
+ output[2] = start;
262
+ output[3] = total;
263
+ output[4] = total;
264
+ output[5] = total;
265
+ return output;
266
+ }
267
+ if (part.charCodeAt(0) === 36) {
268
+ output[0] = 1;
269
+ output[1] = start;
270
+ output[2] = start + 1;
271
+ output[3] = end;
272
+ output[4] = end;
273
+ output[5] = end;
274
+ return output;
275
+ }
276
+ const wildcardBracesMatch = part.match(WILDCARD_W_CURLY_BRACES_RE);
277
+ if (wildcardBracesMatch) {
278
+ const pLength = wildcardBracesMatch[1].length;
279
+ output[0] = 2;
280
+ output[1] = start + pLength;
281
+ output[2] = start + pLength + 1;
282
+ output[3] = start + pLength + 2;
283
+ output[4] = start + pLength + 3;
284
+ output[5] = path.length;
285
+ return output;
286
+ }
287
+ const optionalParamBracesMatch = part.match(OPTIONAL_PARAM_W_CURLY_BRACES_RE);
288
+ if (optionalParamBracesMatch) {
289
+ const prefix = optionalParamBracesMatch[1];
290
+ const paramName = optionalParamBracesMatch[2];
291
+ const suffix = optionalParamBracesMatch[3];
292
+ const pLength = prefix.length;
293
+ output[0] = 3;
294
+ output[1] = start + pLength;
295
+ output[2] = start + pLength + 3;
296
+ output[3] = start + pLength + 3 + paramName.length;
297
+ output[4] = end - suffix.length;
298
+ output[5] = end;
299
+ return output;
300
+ }
301
+ const paramBracesMatch = part.match(PARAM_W_CURLY_BRACES_RE);
302
+ if (paramBracesMatch) {
303
+ const prefix = paramBracesMatch[1];
304
+ const paramName = paramBracesMatch[2];
305
+ const suffix = paramBracesMatch[3];
306
+ const pLength = prefix.length;
307
+ output[0] = 1;
308
+ output[1] = start + pLength;
309
+ output[2] = start + pLength + 2;
310
+ output[3] = start + pLength + 2 + paramName.length;
311
+ output[4] = end - suffix.length;
312
+ output[5] = end;
313
+ return output;
314
+ }
315
+ output[0] = 0;
316
+ output[1] = start;
317
+ output[2] = start;
318
+ output[3] = end;
319
+ output[4] = end;
320
+ output[5] = end;
321
+ return output;
322
+ }
323
+ function parseSegments(defaultCaseSensitive, data, route, start, node, depth, onRoute) {
324
+ onRoute?.(route);
325
+ let cursor = start;
326
+ {
327
+ const path = route.fullPath ?? route.from;
328
+ const length = path.length;
329
+ const caseSensitive = route.options?.caseSensitive ?? defaultCaseSensitive;
330
+ while (cursor < length) {
331
+ const segment = parseSegment(path, cursor, data);
332
+ let nextNode;
333
+ const start2 = cursor;
334
+ const end = segment[5];
335
+ cursor = end + 1;
336
+ depth++;
337
+ switch (segment[0]) {
338
+ case 0: {
339
+ const value = path.substring(segment[2], segment[3]);
340
+ if (caseSensitive) {
341
+ const existingNode = node.static?.get(value);
342
+ if (existingNode) nextNode = existingNode;
343
+ else {
344
+ node.static ??= /* @__PURE__ */ new Map();
345
+ const next = createStaticNode(route.fullPath ?? route.from);
346
+ next.parent = node;
347
+ next.depth = depth;
348
+ nextNode = next;
349
+ node.static.set(value, next);
350
+ }
351
+ } else {
352
+ const name = value.toLowerCase();
353
+ const existingNode = node.staticInsensitive?.get(name);
354
+ if (existingNode) nextNode = existingNode;
355
+ else {
356
+ node.staticInsensitive ??= /* @__PURE__ */ new Map();
357
+ const next = createStaticNode(route.fullPath ?? route.from);
358
+ next.parent = node;
359
+ next.depth = depth;
360
+ nextNode = next;
361
+ node.staticInsensitive.set(name, next);
362
+ }
363
+ }
364
+ break;
365
+ }
366
+ case 1: {
367
+ const prefix_raw = path.substring(start2, segment[1]);
368
+ const suffix_raw = path.substring(segment[4], end);
369
+ const actuallyCaseSensitive = caseSensitive && !!(prefix_raw || suffix_raw);
370
+ const prefix = !prefix_raw ? void 0 : actuallyCaseSensitive ? prefix_raw : prefix_raw.toLowerCase();
371
+ const suffix = !suffix_raw ? void 0 : actuallyCaseSensitive ? suffix_raw : suffix_raw.toLowerCase();
372
+ const existingNode = node.dynamic?.find((s) => s.caseSensitive === actuallyCaseSensitive && s.prefix === prefix && s.suffix === suffix);
373
+ if (existingNode) nextNode = existingNode;
374
+ else {
375
+ const next = createDynamicNode(1, route.fullPath ?? route.from, actuallyCaseSensitive, prefix, suffix);
376
+ nextNode = next;
377
+ next.depth = depth;
378
+ next.parent = node;
379
+ node.dynamic ??= [];
380
+ node.dynamic.push(next);
381
+ }
382
+ break;
383
+ }
384
+ case 3: {
385
+ const prefix_raw = path.substring(start2, segment[1]);
386
+ const suffix_raw = path.substring(segment[4], end);
387
+ const actuallyCaseSensitive = caseSensitive && !!(prefix_raw || suffix_raw);
388
+ const prefix = !prefix_raw ? void 0 : actuallyCaseSensitive ? prefix_raw : prefix_raw.toLowerCase();
389
+ const suffix = !suffix_raw ? void 0 : actuallyCaseSensitive ? suffix_raw : suffix_raw.toLowerCase();
390
+ const existingNode = node.optional?.find((s) => s.caseSensitive === actuallyCaseSensitive && s.prefix === prefix && s.suffix === suffix);
391
+ if (existingNode) nextNode = existingNode;
392
+ else {
393
+ const next = createDynamicNode(3, route.fullPath ?? route.from, actuallyCaseSensitive, prefix, suffix);
394
+ nextNode = next;
395
+ next.parent = node;
396
+ next.depth = depth;
397
+ node.optional ??= [];
398
+ node.optional.push(next);
399
+ }
400
+ break;
401
+ }
402
+ case 2: {
403
+ const prefix_raw = path.substring(start2, segment[1]);
404
+ const suffix_raw = path.substring(segment[4], end);
405
+ const actuallyCaseSensitive = caseSensitive && !!(prefix_raw || suffix_raw);
406
+ const prefix = !prefix_raw ? void 0 : actuallyCaseSensitive ? prefix_raw : prefix_raw.toLowerCase();
407
+ const suffix = !suffix_raw ? void 0 : actuallyCaseSensitive ? suffix_raw : suffix_raw.toLowerCase();
408
+ const next = createDynamicNode(2, route.fullPath ?? route.from, actuallyCaseSensitive, prefix, suffix);
409
+ nextNode = next;
410
+ next.parent = node;
411
+ next.depth = depth;
412
+ node.wildcard ??= [];
413
+ node.wildcard.push(next);
414
+ }
415
+ }
416
+ node = nextNode;
417
+ }
418
+ const isLeaf = (route.path || !route.children) && !route.isRoot;
419
+ if (isLeaf && path.endsWith("/")) {
420
+ const indexNode = createStaticNode(route.fullPath ?? route.from);
421
+ indexNode.kind = SEGMENT_TYPE_INDEX;
422
+ indexNode.parent = node;
423
+ depth++;
424
+ indexNode.depth = depth;
425
+ node.index = indexNode;
426
+ node = indexNode;
427
+ }
428
+ if (isLeaf && !node.route) {
429
+ node.route = route;
430
+ node.fullPath = route.fullPath ?? route.from;
431
+ }
432
+ }
433
+ if (route.children) for (const child of route.children) parseSegments(defaultCaseSensitive, data, child, cursor, node, depth, onRoute);
434
+ }
435
+ function sortDynamic(a, b) {
436
+ if (a.prefix && b.prefix && a.prefix !== b.prefix) {
437
+ if (a.prefix.startsWith(b.prefix)) return -1;
438
+ if (b.prefix.startsWith(a.prefix)) return 1;
439
+ }
440
+ if (a.suffix && b.suffix && a.suffix !== b.suffix) {
441
+ if (a.suffix.endsWith(b.suffix)) return -1;
442
+ if (b.suffix.endsWith(a.suffix)) return 1;
443
+ }
444
+ if (a.prefix && !b.prefix) return -1;
445
+ if (!a.prefix && b.prefix) return 1;
446
+ if (a.suffix && !b.suffix) return -1;
447
+ if (!a.suffix && b.suffix) return 1;
448
+ if (a.caseSensitive && !b.caseSensitive) return -1;
449
+ if (!a.caseSensitive && b.caseSensitive) return 1;
450
+ return 0;
451
+ }
452
+ function sortTreeNodes(node) {
453
+ if (node.static) for (const child of node.static.values()) sortTreeNodes(child);
454
+ if (node.staticInsensitive) for (const child of node.staticInsensitive.values()) sortTreeNodes(child);
455
+ if (node.dynamic?.length) {
456
+ node.dynamic.sort(sortDynamic);
457
+ for (const child of node.dynamic) sortTreeNodes(child);
458
+ }
459
+ if (node.optional?.length) {
460
+ node.optional.sort(sortDynamic);
461
+ for (const child of node.optional) sortTreeNodes(child);
462
+ }
463
+ if (node.wildcard?.length) {
464
+ node.wildcard.sort(sortDynamic);
465
+ for (const child of node.wildcard) sortTreeNodes(child);
466
+ }
467
+ }
468
+ function createStaticNode(fullPath) {
469
+ return {
470
+ kind: 0,
471
+ depth: 0,
472
+ index: null,
473
+ static: null,
474
+ staticInsensitive: null,
475
+ dynamic: null,
476
+ optional: null,
477
+ wildcard: null,
478
+ route: null,
479
+ fullPath,
480
+ parent: null
481
+ };
482
+ }
483
+ function createDynamicNode(kind, fullPath, caseSensitive, prefix, suffix) {
484
+ return {
485
+ kind,
486
+ depth: 0,
487
+ index: null,
488
+ static: null,
489
+ staticInsensitive: null,
490
+ dynamic: null,
491
+ optional: null,
492
+ wildcard: null,
493
+ route: null,
494
+ fullPath,
495
+ parent: null,
496
+ caseSensitive,
497
+ prefix,
498
+ suffix
499
+ };
500
+ }
501
+ function processRouteMasks(routeList, processedTree) {
502
+ const segmentTree = createStaticNode("/");
503
+ const data = new Uint16Array(6);
504
+ for (const route of routeList) parseSegments(false, data, route, 1, segmentTree, 0);
505
+ sortTreeNodes(segmentTree);
506
+ processedTree.masksTree = segmentTree;
507
+ processedTree.flatCache = createLRUCache(1e3);
508
+ }
509
+ function findFlatMatch(path, processedTree) {
510
+ path ||= "/";
511
+ const cached = processedTree.flatCache.get(path);
512
+ if (cached) return cached;
513
+ const result = findMatch(path, processedTree.masksTree);
514
+ processedTree.flatCache.set(path, result);
515
+ return result;
516
+ }
517
+ function findSingleMatch(from, caseSensitive, fuzzy, path, processedTree) {
518
+ from ||= "/";
519
+ path ||= "/";
520
+ const key = caseSensitive ? `case\0${from}` : from;
521
+ let tree = processedTree.singleCache.get(key);
522
+ if (!tree) {
523
+ tree = createStaticNode("/");
524
+ parseSegments(caseSensitive, new Uint16Array(6), { from }, 1, tree, 0);
525
+ processedTree.singleCache.set(key, tree);
526
+ }
527
+ return findMatch(path, tree, fuzzy);
528
+ }
529
+ function findRouteMatch(path, processedTree, fuzzy = false) {
530
+ const key = fuzzy ? path : `nofuzz\0${path}`;
531
+ const cached = processedTree.matchCache.get(key);
532
+ if (cached !== void 0) return cached;
533
+ path ||= "/";
534
+ const result = findMatch(path, processedTree.segmentTree, fuzzy);
535
+ if (result) result.branch = buildRouteBranch(result.route);
536
+ processedTree.matchCache.set(key, result);
537
+ return result;
538
+ }
539
+ function trimPathRight$1(path) {
540
+ return path === "/" ? path : path.replace(/\/{1,}$/, "");
541
+ }
542
+ function processRouteTree(routeTree, caseSensitive = false, initRoute) {
543
+ const segmentTree = createStaticNode(routeTree.fullPath);
544
+ const data = new Uint16Array(6);
545
+ const routesById = {};
546
+ const routesByPath = {};
547
+ let index = 0;
548
+ parseSegments(caseSensitive, data, routeTree, 1, segmentTree, 0, (route) => {
549
+ initRoute?.(route, index);
550
+ invariant(!(route.id in routesById), `Duplicate routes found with id: ${String(route.id)}`);
551
+ routesById[route.id] = route;
552
+ if (index !== 0 && route.path) {
553
+ const trimmedFullPath = trimPathRight$1(route.fullPath);
554
+ if (!routesByPath[trimmedFullPath] || route.fullPath.endsWith("/")) routesByPath[trimmedFullPath] = route;
555
+ }
556
+ index++;
557
+ });
558
+ sortTreeNodes(segmentTree);
559
+ return {
560
+ processedTree: {
561
+ segmentTree,
562
+ singleCache: createLRUCache(1e3),
563
+ matchCache: createLRUCache(1e3),
564
+ flatCache: null,
565
+ masksTree: null
566
+ },
567
+ routesById,
568
+ routesByPath
569
+ };
570
+ }
571
+ function findMatch(path, segmentTree, fuzzy = false) {
572
+ const parts = path.split("/");
573
+ const leaf = getNodeMatch(path, parts, segmentTree, fuzzy);
574
+ if (!leaf) return null;
575
+ const params = extractParams(path, parts, leaf);
576
+ if ("**" in leaf) params["**"] = leaf["**"];
577
+ return {
578
+ route: leaf.node.route,
579
+ params
580
+ };
581
+ }
582
+ function extractParams(path, parts, leaf) {
583
+ const list = buildBranch(leaf.node);
584
+ let nodeParts = null;
585
+ const params = {};
586
+ for (let partIndex = 0, nodeIndex = 0, pathIndex = 0; nodeIndex < list.length; partIndex++, nodeIndex++, pathIndex++) {
587
+ const node = list[nodeIndex];
588
+ const part = parts[partIndex];
589
+ const currentPathIndex = pathIndex;
590
+ if (part) pathIndex += part.length;
591
+ if (node.kind === 1) {
592
+ nodeParts ??= leaf.node.fullPath.split("/");
593
+ const nodePart = nodeParts[nodeIndex];
594
+ const preLength = node.prefix?.length ?? 0;
595
+ if (nodePart.charCodeAt(preLength) === 123) {
596
+ const sufLength = node.suffix?.length ?? 0;
597
+ const name = nodePart.substring(preLength + 2, nodePart.length - sufLength - 1);
598
+ const value = part.substring(preLength, part.length - sufLength);
599
+ params[name] = decodeURIComponent(value);
600
+ } else {
601
+ const name = nodePart.substring(1);
602
+ params[name] = decodeURIComponent(part);
603
+ }
604
+ } else if (node.kind === 3) {
605
+ if (leaf.skipped & 1 << nodeIndex) {
606
+ partIndex--;
607
+ continue;
608
+ }
609
+ nodeParts ??= leaf.node.fullPath.split("/");
610
+ const nodePart = nodeParts[nodeIndex];
611
+ const preLength = node.prefix?.length ?? 0;
612
+ const sufLength = node.suffix?.length ?? 0;
613
+ const name = nodePart.substring(preLength + 3, nodePart.length - sufLength - 1);
614
+ const value = node.suffix || node.prefix ? part.substring(preLength, part.length - sufLength) : part;
615
+ if (value) params[name] = decodeURIComponent(value);
616
+ } else if (node.kind === 2) {
617
+ const n = node;
618
+ const value = path.substring(currentPathIndex + (n.prefix?.length ?? 0), path.length - (n.suffix?.length ?? 0));
619
+ const splat = decodeURIComponent(value);
620
+ params["*"] = splat;
621
+ params._splat = splat;
622
+ break;
623
+ }
624
+ }
625
+ return params;
626
+ }
627
+ function buildRouteBranch(route) {
628
+ const list = [route];
629
+ while (route.parentRoute) {
630
+ route = route.parentRoute;
631
+ list.push(route);
632
+ }
633
+ list.reverse();
634
+ return list;
635
+ }
636
+ function buildBranch(node) {
637
+ const list = Array(node.depth + 1);
638
+ do {
639
+ list[node.depth] = node;
640
+ node = node.parent;
641
+ } while (node);
642
+ return list;
643
+ }
644
+ function getNodeMatch(path, parts, segmentTree, fuzzy) {
645
+ if (path === "/" && segmentTree.index) return {
646
+ node: segmentTree.index,
647
+ skipped: 0
648
+ };
649
+ const trailingSlash = !last(parts);
650
+ const pathIsIndex = trailingSlash && path !== "/";
651
+ const partsLength = parts.length - (trailingSlash ? 1 : 0);
652
+ const stack = [{
653
+ node: segmentTree,
654
+ index: 1,
655
+ skipped: 0,
656
+ depth: 1,
657
+ statics: 1,
658
+ dynamics: 0,
659
+ optionals: 0
660
+ }];
661
+ let wildcardMatch = null;
662
+ let bestFuzzy = null;
663
+ let bestMatch = null;
664
+ while (stack.length) {
665
+ const frame = stack.pop();
666
+ let { node, index, skipped, depth, statics, dynamics, optionals } = frame;
667
+ if (fuzzy && node.route && node.kind !== SEGMENT_TYPE_INDEX && isFrameMoreSpecific(bestFuzzy, frame)) bestFuzzy = frame;
668
+ const isBeyondPath = index === partsLength;
669
+ if (isBeyondPath) {
670
+ if (node.route && !pathIsIndex && isFrameMoreSpecific(bestMatch, frame)) bestMatch = frame;
671
+ if (!node.optional && !node.wildcard && !node.index) continue;
672
+ }
673
+ const part = isBeyondPath ? void 0 : parts[index];
674
+ let lowerPart;
675
+ if (isBeyondPath && node.index) {
676
+ const indexFrame = {
677
+ node: node.index,
678
+ index,
679
+ skipped,
680
+ depth: depth + 1,
681
+ statics,
682
+ dynamics,
683
+ optionals
684
+ };
685
+ if (statics === partsLength && !dynamics && !optionals && !skipped) return indexFrame;
686
+ if (isFrameMoreSpecific(bestMatch, indexFrame)) bestMatch = indexFrame;
687
+ }
688
+ if (node.wildcard && isFrameMoreSpecific(wildcardMatch, frame)) for (const segment of node.wildcard) {
689
+ const { prefix, suffix } = segment;
690
+ if (prefix) {
691
+ if (isBeyondPath) continue;
692
+ if (!(segment.caseSensitive ? part : lowerPart ??= part.toLowerCase()).startsWith(prefix)) continue;
693
+ }
694
+ if (suffix) {
695
+ if (isBeyondPath) continue;
696
+ const end = parts.slice(index).join("/").slice(-suffix.length);
697
+ if ((segment.caseSensitive ? end : end.toLowerCase()) !== suffix) continue;
698
+ }
699
+ wildcardMatch = {
700
+ node: segment,
701
+ index: partsLength,
702
+ skipped,
703
+ depth,
704
+ statics,
705
+ dynamics,
706
+ optionals
707
+ };
708
+ break;
709
+ }
710
+ if (node.optional) {
711
+ const nextSkipped = skipped | 1 << depth;
712
+ const nextDepth = depth + 1;
713
+ for (let i = node.optional.length - 1; i >= 0; i--) {
714
+ const segment = node.optional[i];
715
+ stack.push({
716
+ node: segment,
717
+ index,
718
+ skipped: nextSkipped,
719
+ depth: nextDepth,
720
+ statics,
721
+ dynamics,
722
+ optionals
723
+ });
724
+ }
725
+ if (!isBeyondPath) for (let i = node.optional.length - 1; i >= 0; i--) {
726
+ const segment = node.optional[i];
727
+ const { prefix, suffix } = segment;
728
+ if (prefix || suffix) {
729
+ const casePart = segment.caseSensitive ? part : lowerPart ??= part.toLowerCase();
730
+ if (prefix && !casePart.startsWith(prefix)) continue;
731
+ if (suffix && !casePart.endsWith(suffix)) continue;
732
+ }
733
+ stack.push({
734
+ node: segment,
735
+ index: index + 1,
736
+ skipped,
737
+ depth: nextDepth,
738
+ statics,
739
+ dynamics,
740
+ optionals: optionals + 1
741
+ });
742
+ }
743
+ }
744
+ if (!isBeyondPath && node.dynamic && part) for (let i = node.dynamic.length - 1; i >= 0; i--) {
745
+ const segment = node.dynamic[i];
746
+ const { prefix, suffix } = segment;
747
+ if (prefix || suffix) {
748
+ const casePart = segment.caseSensitive ? part : lowerPart ??= part.toLowerCase();
749
+ if (prefix && !casePart.startsWith(prefix)) continue;
750
+ if (suffix && !casePart.endsWith(suffix)) continue;
751
+ }
752
+ stack.push({
753
+ node: segment,
754
+ index: index + 1,
755
+ skipped,
756
+ depth: depth + 1,
757
+ statics,
758
+ dynamics: dynamics + 1,
759
+ optionals
760
+ });
761
+ }
762
+ if (!isBeyondPath && node.staticInsensitive) {
763
+ const match = node.staticInsensitive.get(lowerPart ??= part.toLowerCase());
764
+ if (match) stack.push({
765
+ node: match,
766
+ index: index + 1,
767
+ skipped,
768
+ depth: depth + 1,
769
+ statics: statics + 1,
770
+ dynamics,
771
+ optionals
772
+ });
773
+ }
774
+ if (!isBeyondPath && node.static) {
775
+ const match = node.static.get(part);
776
+ if (match) stack.push({
777
+ node: match,
778
+ index: index + 1,
779
+ skipped,
780
+ depth: depth + 1,
781
+ statics: statics + 1,
782
+ dynamics,
783
+ optionals
784
+ });
785
+ }
786
+ }
787
+ if (bestMatch && wildcardMatch) return isFrameMoreSpecific(wildcardMatch, bestMatch) ? bestMatch : wildcardMatch;
788
+ if (bestMatch) return bestMatch;
789
+ if (wildcardMatch) return wildcardMatch;
790
+ if (fuzzy && bestFuzzy) {
791
+ let sliceIndex = bestFuzzy.index;
792
+ for (let i = 0; i < bestFuzzy.index; i++) sliceIndex += parts[i].length;
793
+ const splat = sliceIndex === path.length ? "/" : path.slice(sliceIndex);
794
+ return {
795
+ node: bestFuzzy.node,
796
+ skipped: bestFuzzy.skipped,
797
+ "**": decodeURIComponent(splat)
798
+ };
799
+ }
800
+ return null;
801
+ }
802
+ function isFrameMoreSpecific(prev, next) {
803
+ if (!prev) return true;
804
+ return next.statics > prev.statics || next.statics === prev.statics && (next.dynamics > prev.dynamics || next.dynamics === prev.dynamics && (next.optionals > prev.optionals || next.optionals === prev.optionals && ((next.node.kind === SEGMENT_TYPE_INDEX) > (prev.node.kind === SEGMENT_TYPE_INDEX) || next.node.kind === SEGMENT_TYPE_INDEX === (prev.node.kind === SEGMENT_TYPE_INDEX) && next.depth > prev.depth)));
805
+ }
806
+ //#endregion
807
+ //#region ../../node_modules/.pnpm/@tanstack+router-core@1.143.6/node_modules/@tanstack/router-core/dist/esm/path.js
808
+ function joinPaths(paths) {
809
+ return cleanPath(paths.filter((val) => {
810
+ return val !== void 0;
811
+ }).join("/"));
812
+ }
813
+ function cleanPath(path) {
814
+ return path.replace(/\/{2,}/g, "/");
815
+ }
816
+ function trimPathLeft(path) {
817
+ return path === "/" ? path : path.replace(/^\/{1,}/, "");
818
+ }
819
+ function trimPathRight(path) {
820
+ const len = path.length;
821
+ return len > 1 && path[len - 1] === "/" ? path.replace(/\/{1,}$/, "") : path;
822
+ }
823
+ function trimPath(path) {
824
+ return trimPathRight(trimPathLeft(path));
825
+ }
826
+ function removeTrailingSlash(value, basepath) {
827
+ if (value?.endsWith("/") && value !== "/" && value !== `${basepath}/`) return value.slice(0, -1);
828
+ return value;
829
+ }
830
+ function exactPathTest(pathName1, pathName2, basepath) {
831
+ return removeTrailingSlash(pathName1, basepath) === removeTrailingSlash(pathName2, basepath);
832
+ }
833
+ function resolvePath({ base, to, trailingSlash = "never", cache }) {
834
+ const isAbsolute = to.startsWith("/");
835
+ const isBase = !isAbsolute && to === ".";
836
+ let key;
837
+ if (cache) {
838
+ key = isAbsolute ? to : isBase ? base : base + "\0" + to;
839
+ const cached = cache.get(key);
840
+ if (cached) return cached;
841
+ }
842
+ let baseSegments;
843
+ if (isBase) baseSegments = base.split("/");
844
+ else if (isAbsolute) baseSegments = to.split("/");
845
+ else {
846
+ baseSegments = base.split("/");
847
+ while (baseSegments.length > 1 && last(baseSegments) === "") baseSegments.pop();
848
+ const toSegments = to.split("/");
849
+ for (let index = 0, length = toSegments.length; index < length; index++) {
850
+ const value = toSegments[index];
851
+ if (value === "") {
852
+ if (!index) baseSegments = [value];
853
+ else if (index === length - 1) baseSegments.push(value);
854
+ } else if (value === "..") baseSegments.pop();
855
+ else if (value === ".");
856
+ else baseSegments.push(value);
857
+ }
858
+ }
859
+ if (baseSegments.length > 1) {
860
+ if (last(baseSegments) === "") {
861
+ if (trailingSlash === "never") baseSegments.pop();
862
+ } else if (trailingSlash === "always") baseSegments.push("");
863
+ }
864
+ let segment;
865
+ let joined = "";
866
+ for (let i = 0; i < baseSegments.length; i++) {
867
+ if (i > 0) joined += "/";
868
+ const part = baseSegments[i];
869
+ if (!part) continue;
870
+ segment = parseSegment(part, 0, segment);
871
+ const kind = segment[0];
872
+ if (kind === 0) {
873
+ joined += part;
874
+ continue;
875
+ }
876
+ const end = segment[5];
877
+ const prefix = part.substring(0, segment[1]);
878
+ const suffix = part.substring(segment[4], end);
879
+ const value = part.substring(segment[2], segment[3]);
880
+ if (kind === 1) joined += prefix || suffix ? `${prefix}{$${value}}${suffix}` : `$${value}`;
881
+ else if (kind === 2) joined += prefix || suffix ? `${prefix}{$}${suffix}` : "$";
882
+ else joined += `${prefix}{-$${value}}${suffix}`;
883
+ }
884
+ joined = cleanPath(joined);
885
+ const result = joined || "/";
886
+ if (key && cache) cache.set(key, result);
887
+ return result;
888
+ }
889
+ function encodeParam(key, params, decodeCharMap) {
890
+ const value = params[key];
891
+ if (typeof value !== "string") return value;
892
+ if (key === "_splat") return encodeURI(value);
893
+ else return encodePathParam(value, decodeCharMap);
894
+ }
895
+ function interpolatePath({ path, params, decodeCharMap }) {
896
+ let isMissingParams = false;
897
+ const usedParams = {};
898
+ if (!path || path === "/") return {
899
+ interpolatedPath: "/",
900
+ usedParams,
901
+ isMissingParams
902
+ };
903
+ if (!path.includes("$")) return {
904
+ interpolatedPath: path,
905
+ usedParams,
906
+ isMissingParams
907
+ };
908
+ const length = path.length;
909
+ let cursor = 0;
910
+ let segment;
911
+ let joined = "";
912
+ while (cursor < length) {
913
+ const start = cursor;
914
+ segment = parseSegment(path, start, segment);
915
+ const end = segment[5];
916
+ cursor = end + 1;
917
+ if (start === end) continue;
918
+ const kind = segment[0];
919
+ if (kind === 0) {
920
+ joined += "/" + path.substring(start, end);
921
+ continue;
922
+ }
923
+ if (kind === 2) {
924
+ const splat = params._splat;
925
+ usedParams._splat = splat;
926
+ usedParams["*"] = splat;
927
+ const prefix = path.substring(start, segment[1]);
928
+ const suffix = path.substring(segment[4], end);
929
+ if (!splat) {
930
+ isMissingParams = true;
931
+ if (prefix || suffix) joined += "/" + prefix + suffix;
932
+ continue;
933
+ }
934
+ const value = encodeParam("_splat", params, decodeCharMap);
935
+ joined += "/" + prefix + value + suffix;
936
+ continue;
937
+ }
938
+ if (kind === 1) {
939
+ const key = path.substring(segment[2], segment[3]);
940
+ if (!isMissingParams && !(key in params)) isMissingParams = true;
941
+ usedParams[key] = params[key];
942
+ const prefix = path.substring(start, segment[1]);
943
+ const suffix = path.substring(segment[4], end);
944
+ const value = encodeParam(key, params, decodeCharMap) ?? "undefined";
945
+ joined += "/" + prefix + value + suffix;
946
+ continue;
947
+ }
948
+ if (kind === 3) {
949
+ const key = path.substring(segment[2], segment[3]);
950
+ const valueRaw = params[key];
951
+ if (valueRaw == null) continue;
952
+ usedParams[key] = valueRaw;
953
+ const prefix = path.substring(start, segment[1]);
954
+ const suffix = path.substring(segment[4], end);
955
+ const value = encodeParam(key, params, decodeCharMap) ?? "";
956
+ joined += "/" + prefix + value + suffix;
957
+ continue;
958
+ }
959
+ }
960
+ if (path.endsWith("/")) joined += "/";
961
+ return {
962
+ usedParams,
963
+ interpolatedPath: joined || "/",
964
+ isMissingParams
965
+ };
966
+ }
967
+ function encodePathParam(value, decodeCharMap) {
968
+ let encoded = encodeURIComponent(value);
969
+ if (decodeCharMap) for (const [encodedChar, char] of decodeCharMap) encoded = encoded.replaceAll(encodedChar, char);
970
+ return encoded;
971
+ }
972
+ //#endregion
973
+ //#region ../../node_modules/.pnpm/@tanstack+router-core@1.143.6/node_modules/@tanstack/router-core/dist/esm/not-found.js
974
+ function isNotFound(obj) {
975
+ return !!obj?.isNotFound;
976
+ }
977
+ //#endregion
978
+ //#region ../../node_modules/.pnpm/@tanstack+router-core@1.143.6/node_modules/@tanstack/router-core/dist/esm/root.js
979
+ var rootRouteId = "__root__";
980
+ //#endregion
981
+ //#region ../../node_modules/.pnpm/@tanstack+router-core@1.143.6/node_modules/@tanstack/router-core/dist/esm/link.js
982
+ var preloadWarning = "Error preloading route! ☝️";
983
+ //#endregion
984
+ //#region ../../node_modules/.pnpm/@tanstack+router-core@1.143.6/node_modules/@tanstack/router-core/dist/esm/route.js
985
+ var BaseRoute = class {
986
+ constructor(options) {
987
+ this.init = (opts) => {
988
+ this.originalIndex = opts.originalIndex;
989
+ const options2 = this.options;
990
+ const isRoot = !options2?.path && !options2?.id;
991
+ this.parentRoute = this.options.getParentRoute?.();
992
+ if (isRoot) this._path = rootRouteId;
993
+ else if (!this.parentRoute) invariant(false, `Child Route instances must pass a 'getParentRoute: () => ParentRoute' option that returns a Route instance.`);
994
+ let path = isRoot ? rootRouteId : options2?.path;
995
+ if (path && path !== "/") path = trimPathLeft(path);
996
+ const customId = options2?.id || path;
997
+ let id = isRoot ? rootRouteId : joinPaths([this.parentRoute.id === "__root__" ? "" : this.parentRoute.id, customId]);
998
+ if (path === "__root__") path = "/";
999
+ if (id !== "__root__") id = joinPaths(["/", id]);
1000
+ const fullPath = id === "__root__" ? "/" : joinPaths([this.parentRoute.fullPath, path]);
1001
+ this._path = path;
1002
+ this._id = id;
1003
+ this._fullPath = fullPath;
1004
+ this._to = fullPath;
1005
+ };
1006
+ this.addChildren = (children) => {
1007
+ return this._addFileChildren(children);
1008
+ };
1009
+ this._addFileChildren = (children) => {
1010
+ if (Array.isArray(children)) this.children = children;
1011
+ if (typeof children === "object" && children !== null) this.children = Object.values(children);
1012
+ return this;
1013
+ };
1014
+ this._addFileTypes = () => {
1015
+ return this;
1016
+ };
1017
+ this.updateLoader = (options2) => {
1018
+ Object.assign(this.options, options2);
1019
+ return this;
1020
+ };
1021
+ this.update = (options2) => {
1022
+ Object.assign(this.options, options2);
1023
+ return this;
1024
+ };
1025
+ this.lazy = (lazyFn) => {
1026
+ this.lazyFn = lazyFn;
1027
+ return this;
1028
+ };
1029
+ this.options = options || {};
1030
+ this.isRoot = !options?.getParentRoute;
1031
+ if (options?.id && options?.path) throw new Error(`Route cannot have both an 'id' and a 'path' option.`);
1032
+ }
1033
+ get to() {
1034
+ return this._to;
1035
+ }
1036
+ get id() {
1037
+ return this._id;
1038
+ }
1039
+ get path() {
1040
+ return this._path;
1041
+ }
1042
+ get fullPath() {
1043
+ return this._fullPath;
1044
+ }
1045
+ };
1046
+ var BaseRootRoute = class extends BaseRoute {
1047
+ constructor(options) {
1048
+ super(options);
1049
+ }
1050
+ };
1051
+ //#endregion
1052
+ //#region ../../node_modules/.pnpm/tiny-warning@1.0.3/node_modules/tiny-warning/dist/tiny-warning.esm.js
1053
+ var isProduction = process.env.NODE_ENV === "production";
1054
+ function warning(condition, message) {
1055
+ if (!isProduction) {
1056
+ if (condition) return;
1057
+ var text = "Warning: " + message;
1058
+ if (typeof console !== "undefined") console.warn(text);
1059
+ try {
1060
+ throw Error(text);
1061
+ } catch (x) {}
1062
+ }
1063
+ }
1064
+ //#endregion
1065
+ //#region ../../node_modules/.pnpm/use-sync-external-store@1.6.0_react@19.2.4/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js
1066
+ /**
1067
+ * @license React
1068
+ * use-sync-external-store-shim/with-selector.production.js
1069
+ *
1070
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
1071
+ *
1072
+ * This source code is licensed under the MIT license found in the
1073
+ * LICENSE file in the root directory of this source tree.
1074
+ */
1075
+ var require_with_selector_production = /* @__PURE__ */ __commonJSMin(((exports) => {
1076
+ var React = require_react(), shim = require_shim();
1077
+ function is(x, y) {
1078
+ return x === y && (0 !== x || 1 / x === 1 / y) || x !== x && y !== y;
1079
+ }
1080
+ var objectIs = "function" === typeof Object.is ? Object.is : is, useSyncExternalStore = shim.useSyncExternalStore, useRef = React.useRef, useEffect = React.useEffect, useMemo = React.useMemo, useDebugValue = React.useDebugValue;
1081
+ exports.useSyncExternalStoreWithSelector = function(subscribe, getSnapshot, getServerSnapshot, selector, isEqual) {
1082
+ var instRef = useRef(null);
1083
+ if (null === instRef.current) {
1084
+ var inst = {
1085
+ hasValue: !1,
1086
+ value: null
1087
+ };
1088
+ instRef.current = inst;
1089
+ } else inst = instRef.current;
1090
+ instRef = useMemo(function() {
1091
+ function memoizedSelector(nextSnapshot) {
1092
+ if (!hasMemo) {
1093
+ hasMemo = !0;
1094
+ memoizedSnapshot = nextSnapshot;
1095
+ nextSnapshot = selector(nextSnapshot);
1096
+ if (void 0 !== isEqual && inst.hasValue) {
1097
+ var currentSelection = inst.value;
1098
+ if (isEqual(currentSelection, nextSnapshot)) return memoizedSelection = currentSelection;
1099
+ }
1100
+ return memoizedSelection = nextSnapshot;
1101
+ }
1102
+ currentSelection = memoizedSelection;
1103
+ if (objectIs(memoizedSnapshot, nextSnapshot)) return currentSelection;
1104
+ var nextSelection = selector(nextSnapshot);
1105
+ if (void 0 !== isEqual && isEqual(currentSelection, nextSelection)) return memoizedSnapshot = nextSnapshot, currentSelection;
1106
+ memoizedSnapshot = nextSnapshot;
1107
+ return memoizedSelection = nextSelection;
1108
+ }
1109
+ var hasMemo = !1, memoizedSnapshot, memoizedSelection, maybeGetServerSnapshot = void 0 === getServerSnapshot ? null : getServerSnapshot;
1110
+ return [function() {
1111
+ return memoizedSelector(getSnapshot());
1112
+ }, null === maybeGetServerSnapshot ? void 0 : function() {
1113
+ return memoizedSelector(maybeGetServerSnapshot());
1114
+ }];
1115
+ }, [
1116
+ getSnapshot,
1117
+ getServerSnapshot,
1118
+ selector,
1119
+ isEqual
1120
+ ]);
1121
+ var value = useSyncExternalStore(subscribe, instRef[0], instRef[1]);
1122
+ useEffect(function() {
1123
+ inst.hasValue = !0;
1124
+ inst.value = value;
1125
+ }, [value]);
1126
+ useDebugValue(value);
1127
+ return value;
1128
+ };
1129
+ }));
1130
+ //#endregion
1131
+ //#region ../../node_modules/.pnpm/use-sync-external-store@1.6.0_react@19.2.4/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js
1132
+ /**
1133
+ * @license React
1134
+ * use-sync-external-store-shim/with-selector.development.js
1135
+ *
1136
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
1137
+ *
1138
+ * This source code is licensed under the MIT license found in the
1139
+ * LICENSE file in the root directory of this source tree.
1140
+ */
1141
+ var require_with_selector_development = /* @__PURE__ */ __commonJSMin(((exports) => {
1142
+ "production" !== process.env.NODE_ENV && (function() {
1143
+ function is(x, y) {
1144
+ return x === y && (0 !== x || 1 / x === 1 / y) || x !== x && y !== y;
1145
+ }
1146
+ "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
1147
+ var React = require_react(), shim = require_shim(), objectIs = "function" === typeof Object.is ? Object.is : is, useSyncExternalStore = shim.useSyncExternalStore, useRef = React.useRef, useEffect = React.useEffect, useMemo = React.useMemo, useDebugValue = React.useDebugValue;
1148
+ exports.useSyncExternalStoreWithSelector = function(subscribe, getSnapshot, getServerSnapshot, selector, isEqual) {
1149
+ var instRef = useRef(null);
1150
+ if (null === instRef.current) {
1151
+ var inst = {
1152
+ hasValue: !1,
1153
+ value: null
1154
+ };
1155
+ instRef.current = inst;
1156
+ } else inst = instRef.current;
1157
+ instRef = useMemo(function() {
1158
+ function memoizedSelector(nextSnapshot) {
1159
+ if (!hasMemo) {
1160
+ hasMemo = !0;
1161
+ memoizedSnapshot = nextSnapshot;
1162
+ nextSnapshot = selector(nextSnapshot);
1163
+ if (void 0 !== isEqual && inst.hasValue) {
1164
+ var currentSelection = inst.value;
1165
+ if (isEqual(currentSelection, nextSnapshot)) return memoizedSelection = currentSelection;
1166
+ }
1167
+ return memoizedSelection = nextSnapshot;
1168
+ }
1169
+ currentSelection = memoizedSelection;
1170
+ if (objectIs(memoizedSnapshot, nextSnapshot)) return currentSelection;
1171
+ var nextSelection = selector(nextSnapshot);
1172
+ if (void 0 !== isEqual && isEqual(currentSelection, nextSelection)) return memoizedSnapshot = nextSnapshot, currentSelection;
1173
+ memoizedSnapshot = nextSnapshot;
1174
+ return memoizedSelection = nextSelection;
1175
+ }
1176
+ var hasMemo = !1, memoizedSnapshot, memoizedSelection, maybeGetServerSnapshot = void 0 === getServerSnapshot ? null : getServerSnapshot;
1177
+ return [function() {
1178
+ return memoizedSelector(getSnapshot());
1179
+ }, null === maybeGetServerSnapshot ? void 0 : function() {
1180
+ return memoizedSelector(maybeGetServerSnapshot());
1181
+ }];
1182
+ }, [
1183
+ getSnapshot,
1184
+ getServerSnapshot,
1185
+ selector,
1186
+ isEqual
1187
+ ]);
1188
+ var value = useSyncExternalStore(subscribe, instRef[0], instRef[1]);
1189
+ useEffect(function() {
1190
+ inst.hasValue = !0;
1191
+ inst.value = value;
1192
+ }, [value]);
1193
+ useDebugValue(value);
1194
+ return value;
1195
+ };
1196
+ "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
1197
+ })();
1198
+ }));
1199
+ //#endregion
1200
+ //#region ../../node_modules/.pnpm/@tanstack+react-store@0.8.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@tanstack/react-store/dist/esm/index.js
1201
+ var import_with_selector = (/* @__PURE__ */ __commonJSMin(((exports, module) => {
1202
+ if (process.env.NODE_ENV === "production") module.exports = require_with_selector_production();
1203
+ else module.exports = require_with_selector_development();
1204
+ })))();
1205
+ function useStore(store, selector = (d) => d, options = {}) {
1206
+ const equal = options.equal ?? shallow;
1207
+ return (0, import_with_selector.useSyncExternalStoreWithSelector)(store.subscribe, () => store.state, () => store.state, selector, equal);
1208
+ }
1209
+ function shallow(objA, objB) {
1210
+ if (Object.is(objA, objB)) return true;
1211
+ if (typeof objA !== "object" || objA === null || typeof objB !== "object" || objB === null) return false;
1212
+ if (objA instanceof Map && objB instanceof Map) {
1213
+ if (objA.size !== objB.size) return false;
1214
+ for (const [k, v] of objA) if (!objB.has(k) || !Object.is(v, objB.get(k))) return false;
1215
+ return true;
1216
+ }
1217
+ if (objA instanceof Set && objB instanceof Set) {
1218
+ if (objA.size !== objB.size) return false;
1219
+ for (const v of objA) if (!objB.has(v)) return false;
1220
+ return true;
1221
+ }
1222
+ if (objA instanceof Date && objB instanceof Date) {
1223
+ if (objA.getTime() !== objB.getTime()) return false;
1224
+ return true;
1225
+ }
1226
+ const keysA = getOwnKeys(objA);
1227
+ if (keysA.length !== getOwnKeys(objB).length) return false;
1228
+ for (let i = 0; i < keysA.length; i++) if (!Object.prototype.hasOwnProperty.call(objB, keysA[i]) || !Object.is(objA[keysA[i]], objB[keysA[i]])) return false;
1229
+ return true;
1230
+ }
1231
+ function getOwnKeys(obj) {
1232
+ return Object.keys(obj).concat(Object.getOwnPropertySymbols(obj));
1233
+ }
1234
+ //#endregion
1235
+ //#region ../../node_modules/.pnpm/@tanstack+react-router@1.143.11_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@tanstack/react-router/dist/esm/routerContext.js
1236
+ var import_react = /* @__PURE__ */ __toESM(require_react(), 1);
1237
+ var routerContext = import_react.createContext(null);
1238
+ function getRouterContext() {
1239
+ if (typeof document === "undefined") return routerContext;
1240
+ if (window.__TSR_ROUTER_CONTEXT__) return window.__TSR_ROUTER_CONTEXT__;
1241
+ window.__TSR_ROUTER_CONTEXT__ = routerContext;
1242
+ return routerContext;
1243
+ }
1244
+ //#endregion
1245
+ //#region ../../node_modules/.pnpm/@tanstack+react-router@1.143.11_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@tanstack/react-router/dist/esm/useRouter.js
1246
+ function useRouter(opts) {
1247
+ const value = import_react.useContext(getRouterContext());
1248
+ warning(!((opts?.warn ?? true) && !value), "useRouter must be used inside a <RouterProvider> component!");
1249
+ return value;
1250
+ }
1251
+ //#endregion
1252
+ //#region ../../node_modules/.pnpm/@tanstack+react-router@1.143.11_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@tanstack/react-router/dist/esm/useRouterState.js
1253
+ function useRouterState(opts) {
1254
+ const contextRouter = useRouter({ warn: opts?.router === void 0 });
1255
+ const router = opts?.router || contextRouter;
1256
+ const previousResult = (0, import_react.useRef)(void 0);
1257
+ return useStore(router.__store, (state) => {
1258
+ if (opts?.select) {
1259
+ if (opts.structuralSharing ?? router.options.defaultStructuralSharing) {
1260
+ const newSlice = replaceEqualDeep(previousResult.current, opts.select(state));
1261
+ previousResult.current = newSlice;
1262
+ return newSlice;
1263
+ }
1264
+ return opts.select(state);
1265
+ }
1266
+ return state;
1267
+ });
1268
+ }
1269
+ //#endregion
1270
+ //#region ../../node_modules/.pnpm/@tanstack+react-router@1.143.11_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@tanstack/react-router/dist/esm/matchContext.js
1271
+ var matchContext = import_react.createContext(void 0);
1272
+ var dummyMatchContext = import_react.createContext(void 0);
1273
+ //#endregion
1274
+ //#region ../../node_modules/.pnpm/@tanstack+react-router@1.143.11_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@tanstack/react-router/dist/esm/useMatch.js
1275
+ function useMatch(opts) {
1276
+ const nearestMatchId = import_react.useContext(opts.from ? dummyMatchContext : matchContext);
1277
+ return useRouterState({
1278
+ select: (state) => {
1279
+ const match = state.matches.find((d) => opts.from ? opts.from === d.routeId : d.id === nearestMatchId);
1280
+ invariant(!((opts.shouldThrow ?? true) && !match), `Could not find ${opts.from ? `an active match from "${opts.from}"` : "a nearest match!"}`);
1281
+ if (match === void 0) return;
1282
+ return opts.select ? opts.select(match) : match;
1283
+ },
1284
+ structuralSharing: opts.structuralSharing
1285
+ });
1286
+ }
1287
+ //#endregion
1288
+ //#region ../../node_modules/.pnpm/@tanstack+react-router@1.143.11_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@tanstack/react-router/dist/esm/useLoaderData.js
1289
+ function useLoaderData(opts) {
1290
+ return useMatch({
1291
+ from: opts.from,
1292
+ strict: opts.strict,
1293
+ structuralSharing: opts.structuralSharing,
1294
+ select: (s) => {
1295
+ return opts.select ? opts.select(s.loaderData) : s.loaderData;
1296
+ }
1297
+ });
1298
+ }
1299
+ //#endregion
1300
+ //#region ../../node_modules/.pnpm/@tanstack+react-router@1.143.11_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@tanstack/react-router/dist/esm/useLoaderDeps.js
1301
+ function useLoaderDeps(opts) {
1302
+ const { select, ...rest } = opts;
1303
+ return useMatch({
1304
+ ...rest,
1305
+ select: (s) => {
1306
+ return select ? select(s.loaderDeps) : s.loaderDeps;
1307
+ }
1308
+ });
1309
+ }
1310
+ //#endregion
1311
+ //#region ../../node_modules/.pnpm/@tanstack+react-router@1.143.11_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@tanstack/react-router/dist/esm/useParams.js
1312
+ function useParams(opts) {
1313
+ return useMatch({
1314
+ from: opts.from,
1315
+ shouldThrow: opts.shouldThrow,
1316
+ structuralSharing: opts.structuralSharing,
1317
+ strict: opts.strict,
1318
+ select: (match) => {
1319
+ const params = opts.strict === false ? match.params : match._strictParams;
1320
+ return opts.select ? opts.select(params) : params;
1321
+ }
1322
+ });
1323
+ }
1324
+ //#endregion
1325
+ //#region ../../node_modules/.pnpm/@tanstack+react-router@1.143.11_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@tanstack/react-router/dist/esm/useSearch.js
1326
+ function useSearch(opts) {
1327
+ return useMatch({
1328
+ from: opts.from,
1329
+ strict: opts.strict,
1330
+ shouldThrow: opts.shouldThrow,
1331
+ structuralSharing: opts.structuralSharing,
1332
+ select: (match) => {
1333
+ return opts.select ? opts.select(match.search) : match.search;
1334
+ }
1335
+ });
1336
+ }
1337
+ //#endregion
1338
+ //#region ../../node_modules/.pnpm/@tanstack+react-router@1.143.11_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@tanstack/react-router/dist/esm/utils.js
1339
+ var useLayoutEffect = typeof window !== "undefined" ? import_react.useLayoutEffect : import_react.useEffect;
1340
+ function usePrevious(value) {
1341
+ const ref = import_react.useRef({
1342
+ value,
1343
+ prev: null
1344
+ });
1345
+ const current = ref.current.value;
1346
+ if (value !== current) ref.current = {
1347
+ value,
1348
+ prev: current
1349
+ };
1350
+ return ref.current.prev;
1351
+ }
1352
+ function useIntersectionObserver(ref, callback, intersectionObserverOptions = {}, options = {}) {
1353
+ import_react.useEffect(() => {
1354
+ if (!ref.current || options.disabled || typeof IntersectionObserver !== "function") return;
1355
+ const observer = new IntersectionObserver(([entry]) => {
1356
+ callback(entry);
1357
+ }, intersectionObserverOptions);
1358
+ observer.observe(ref.current);
1359
+ return () => {
1360
+ observer.disconnect();
1361
+ };
1362
+ }, [
1363
+ callback,
1364
+ intersectionObserverOptions,
1365
+ options.disabled,
1366
+ ref
1367
+ ]);
1368
+ }
1369
+ function useForwardedRef(ref) {
1370
+ const innerRef = import_react.useRef(null);
1371
+ import_react.useImperativeHandle(ref, () => innerRef.current, []);
1372
+ return innerRef;
1373
+ }
1374
+ //#endregion
1375
+ //#region ../../node_modules/.pnpm/@tanstack+react-router@1.143.11_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@tanstack/react-router/dist/esm/useNavigate.js
1376
+ function useNavigate(_defaultOpts) {
1377
+ const router = useRouter();
1378
+ return import_react.useCallback((options) => {
1379
+ return router.navigate({
1380
+ ...options,
1381
+ from: options.from ?? _defaultOpts?.from
1382
+ });
1383
+ }, [_defaultOpts?.from, router]);
1384
+ }
1385
+ //#endregion
1386
+ //#region ../../node_modules/.pnpm/@tanstack+react-router@1.143.11_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@tanstack/react-router/dist/esm/link.js
1387
+ var import_jsx_runtime = require_jsx_runtime();
1388
+ var import_react_dom = /* @__PURE__ */ __toESM(require_react_dom(), 1);
1389
+ function useLinkProps(options, forwardedRef) {
1390
+ const router = useRouter();
1391
+ const [isTransitioning, setIsTransitioning] = import_react.useState(false);
1392
+ const hasRenderFetched = import_react.useRef(false);
1393
+ const innerRef = useForwardedRef(forwardedRef);
1394
+ const { activeProps, inactiveProps, activeOptions, to, preload: userPreload, preloadDelay: userPreloadDelay, hashScrollIntoView, replace, startTransition, resetScroll, viewTransition, children, target, disabled, style, className, onClick, onFocus, onMouseEnter, onMouseLeave, onTouchStart, ignoreBlocker, params: _params, search: _search, hash: _hash, state: _state, mask: _mask, reloadDocument: _reloadDocument, unsafeRelative: _unsafeRelative, from: _from, _fromLocation, ...propsSafeToSpread } = options;
1395
+ const currentSearch = useRouterState({
1396
+ select: (s) => s.location.search,
1397
+ structuralSharing: true
1398
+ });
1399
+ const from = options.from;
1400
+ const _options = import_react.useMemo(() => {
1401
+ return {
1402
+ ...options,
1403
+ from
1404
+ };
1405
+ }, [
1406
+ router,
1407
+ currentSearch,
1408
+ from,
1409
+ options._fromLocation,
1410
+ options.hash,
1411
+ options.to,
1412
+ options.search,
1413
+ options.params,
1414
+ options.state,
1415
+ options.mask,
1416
+ options.unsafeRelative
1417
+ ]);
1418
+ const next = import_react.useMemo(() => router.buildLocation({ ..._options }), [router, _options]);
1419
+ const hrefOption = import_react.useMemo(() => {
1420
+ if (disabled) return;
1421
+ let href = next.maskedLocation ? next.maskedLocation.url.href : next.url.href;
1422
+ let external = false;
1423
+ if (router.origin) if (href.startsWith(router.origin)) href = router.history.createHref(href.replace(router.origin, "")) || "/";
1424
+ else external = true;
1425
+ return {
1426
+ href,
1427
+ external
1428
+ };
1429
+ }, [
1430
+ disabled,
1431
+ next.maskedLocation,
1432
+ next.url,
1433
+ router.origin,
1434
+ router.history
1435
+ ]);
1436
+ const externalLink = import_react.useMemo(() => {
1437
+ if (hrefOption?.external) return hrefOption.href;
1438
+ try {
1439
+ new URL(to);
1440
+ return to;
1441
+ } catch {}
1442
+ }, [to, hrefOption]);
1443
+ const preload = options.reloadDocument || externalLink ? false : userPreload ?? router.options.defaultPreload;
1444
+ const preloadDelay = userPreloadDelay ?? router.options.defaultPreloadDelay ?? 0;
1445
+ const isActive = useRouterState({ select: (s) => {
1446
+ if (externalLink) return false;
1447
+ if (activeOptions?.exact) {
1448
+ if (!exactPathTest(s.location.pathname, next.pathname, router.basepath)) return false;
1449
+ } else {
1450
+ const currentPathSplit = removeTrailingSlash(s.location.pathname, router.basepath);
1451
+ const nextPathSplit = removeTrailingSlash(next.pathname, router.basepath);
1452
+ if (!(currentPathSplit.startsWith(nextPathSplit) && (currentPathSplit.length === nextPathSplit.length || currentPathSplit[nextPathSplit.length] === "/"))) return false;
1453
+ }
1454
+ if (activeOptions?.includeSearch ?? true) {
1455
+ if (!deepEqual(s.location.search, next.search, {
1456
+ partial: !activeOptions?.exact,
1457
+ ignoreUndefined: !activeOptions?.explicitUndefined
1458
+ })) return false;
1459
+ }
1460
+ if (activeOptions?.includeHash) return s.location.hash === next.hash;
1461
+ return true;
1462
+ } });
1463
+ const doPreload = import_react.useCallback(() => {
1464
+ router.preloadRoute({ ..._options }).catch((err) => {
1465
+ console.warn(err);
1466
+ console.warn(preloadWarning);
1467
+ });
1468
+ }, [router, _options]);
1469
+ useIntersectionObserver(innerRef, import_react.useCallback((entry) => {
1470
+ if (entry?.isIntersecting) doPreload();
1471
+ }, [doPreload]), intersectionObserverOptions, { disabled: !!disabled || !(preload === "viewport") });
1472
+ import_react.useEffect(() => {
1473
+ if (hasRenderFetched.current) return;
1474
+ if (!disabled && preload === "render") {
1475
+ doPreload();
1476
+ hasRenderFetched.current = true;
1477
+ }
1478
+ }, [
1479
+ disabled,
1480
+ doPreload,
1481
+ preload
1482
+ ]);
1483
+ const handleClick = (e) => {
1484
+ const elementTarget = e.currentTarget.getAttribute("target");
1485
+ const effectiveTarget = target !== void 0 ? target : elementTarget;
1486
+ if (!disabled && !isCtrlEvent(e) && !e.defaultPrevented && (!effectiveTarget || effectiveTarget === "_self") && e.button === 0) {
1487
+ e.preventDefault();
1488
+ (0, import_react_dom.flushSync)(() => {
1489
+ setIsTransitioning(true);
1490
+ });
1491
+ const unsub = router.subscribe("onResolved", () => {
1492
+ unsub();
1493
+ setIsTransitioning(false);
1494
+ });
1495
+ router.navigate({
1496
+ ..._options,
1497
+ replace,
1498
+ resetScroll,
1499
+ hashScrollIntoView,
1500
+ startTransition,
1501
+ viewTransition,
1502
+ ignoreBlocker
1503
+ });
1504
+ }
1505
+ };
1506
+ if (externalLink) return {
1507
+ ...propsSafeToSpread,
1508
+ ref: innerRef,
1509
+ href: externalLink,
1510
+ ...children && { children },
1511
+ ...target && { target },
1512
+ ...disabled && { disabled },
1513
+ ...style && { style },
1514
+ ...className && { className },
1515
+ ...onClick && { onClick },
1516
+ ...onFocus && { onFocus },
1517
+ ...onMouseEnter && { onMouseEnter },
1518
+ ...onMouseLeave && { onMouseLeave },
1519
+ ...onTouchStart && { onTouchStart }
1520
+ };
1521
+ const handleFocus = (_) => {
1522
+ if (disabled) return;
1523
+ if (preload) doPreload();
1524
+ };
1525
+ const handleTouchStart = handleFocus;
1526
+ const handleEnter = (e) => {
1527
+ if (disabled || !preload) return;
1528
+ if (!preloadDelay) doPreload();
1529
+ else {
1530
+ const eventTarget = e.target;
1531
+ if (timeoutMap.has(eventTarget)) return;
1532
+ const id = setTimeout(() => {
1533
+ timeoutMap.delete(eventTarget);
1534
+ doPreload();
1535
+ }, preloadDelay);
1536
+ timeoutMap.set(eventTarget, id);
1537
+ }
1538
+ };
1539
+ const handleLeave = (e) => {
1540
+ if (disabled || !preload || !preloadDelay) return;
1541
+ const eventTarget = e.target;
1542
+ const id = timeoutMap.get(eventTarget);
1543
+ if (id) {
1544
+ clearTimeout(id);
1545
+ timeoutMap.delete(eventTarget);
1546
+ }
1547
+ };
1548
+ const resolvedActiveProps = isActive ? functionalUpdate(activeProps, {}) ?? STATIC_ACTIVE_OBJECT : STATIC_EMPTY_OBJECT;
1549
+ const resolvedInactiveProps = isActive ? STATIC_EMPTY_OBJECT : functionalUpdate(inactiveProps, {}) ?? STATIC_EMPTY_OBJECT;
1550
+ const resolvedClassName = [
1551
+ className,
1552
+ resolvedActiveProps.className,
1553
+ resolvedInactiveProps.className
1554
+ ].filter(Boolean).join(" ");
1555
+ const resolvedStyle = (style || resolvedActiveProps.style || resolvedInactiveProps.style) && {
1556
+ ...style,
1557
+ ...resolvedActiveProps.style,
1558
+ ...resolvedInactiveProps.style
1559
+ };
1560
+ return {
1561
+ ...propsSafeToSpread,
1562
+ ...resolvedActiveProps,
1563
+ ...resolvedInactiveProps,
1564
+ href: hrefOption?.href,
1565
+ ref: innerRef,
1566
+ onClick: composeHandlers([onClick, handleClick]),
1567
+ onFocus: composeHandlers([onFocus, handleFocus]),
1568
+ onMouseEnter: composeHandlers([onMouseEnter, handleEnter]),
1569
+ onMouseLeave: composeHandlers([onMouseLeave, handleLeave]),
1570
+ onTouchStart: composeHandlers([onTouchStart, handleTouchStart]),
1571
+ disabled: !!disabled,
1572
+ target,
1573
+ ...resolvedStyle && { style: resolvedStyle },
1574
+ ...resolvedClassName && { className: resolvedClassName },
1575
+ ...disabled && STATIC_DISABLED_PROPS,
1576
+ ...isActive && STATIC_ACTIVE_PROPS,
1577
+ ...isTransitioning && STATIC_TRANSITIONING_PROPS
1578
+ };
1579
+ }
1580
+ var STATIC_EMPTY_OBJECT = {};
1581
+ var STATIC_ACTIVE_OBJECT = { className: "active" };
1582
+ var STATIC_DISABLED_PROPS = {
1583
+ role: "link",
1584
+ "aria-disabled": true
1585
+ };
1586
+ var STATIC_ACTIVE_PROPS = {
1587
+ "data-status": "active",
1588
+ "aria-current": "page"
1589
+ };
1590
+ var STATIC_TRANSITIONING_PROPS = { "data-transitioning": "transitioning" };
1591
+ var timeoutMap = /* @__PURE__ */ new WeakMap();
1592
+ var intersectionObserverOptions = { rootMargin: "100px" };
1593
+ var composeHandlers = (handlers) => (e) => {
1594
+ for (const handler of handlers) {
1595
+ if (!handler) continue;
1596
+ if (e.defaultPrevented) return;
1597
+ handler(e);
1598
+ }
1599
+ };
1600
+ var Link = import_react.forwardRef((props, ref) => {
1601
+ const { _asChild, ...rest } = props;
1602
+ const { type: _type, ref: innerRef, ...linkProps } = useLinkProps(rest, ref);
1603
+ const children = typeof rest.children === "function" ? rest.children({ isActive: linkProps["data-status"] === "active" }) : rest.children;
1604
+ if (_asChild === void 0) delete linkProps.disabled;
1605
+ return import_react.createElement(_asChild ? _asChild : "a", {
1606
+ ...linkProps,
1607
+ ref: innerRef
1608
+ }, children);
1609
+ });
1610
+ function isCtrlEvent(e) {
1611
+ return !!(e.metaKey || e.altKey || e.ctrlKey || e.shiftKey);
1612
+ }
1613
+ //#endregion
1614
+ //#region ../../node_modules/.pnpm/@tanstack+react-router@1.143.11_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@tanstack/react-router/dist/esm/route.js
1615
+ var Route = class extends BaseRoute {
1616
+ /**
1617
+ * @deprecated Use the `createRoute` function instead.
1618
+ */
1619
+ constructor(options) {
1620
+ super(options);
1621
+ this.useMatch = (opts) => {
1622
+ return useMatch({
1623
+ select: opts?.select,
1624
+ from: this.id,
1625
+ structuralSharing: opts?.structuralSharing
1626
+ });
1627
+ };
1628
+ this.useRouteContext = (opts) => {
1629
+ return useMatch({
1630
+ ...opts,
1631
+ from: this.id,
1632
+ select: (d) => opts?.select ? opts.select(d.context) : d.context
1633
+ });
1634
+ };
1635
+ this.useSearch = (opts) => {
1636
+ return useSearch({
1637
+ select: opts?.select,
1638
+ structuralSharing: opts?.structuralSharing,
1639
+ from: this.id
1640
+ });
1641
+ };
1642
+ this.useParams = (opts) => {
1643
+ return useParams({
1644
+ select: opts?.select,
1645
+ structuralSharing: opts?.structuralSharing,
1646
+ from: this.id
1647
+ });
1648
+ };
1649
+ this.useLoaderDeps = (opts) => {
1650
+ return useLoaderDeps({
1651
+ ...opts,
1652
+ from: this.id
1653
+ });
1654
+ };
1655
+ this.useLoaderData = (opts) => {
1656
+ return useLoaderData({
1657
+ ...opts,
1658
+ from: this.id
1659
+ });
1660
+ };
1661
+ this.useNavigate = () => {
1662
+ return useNavigate({ from: this.fullPath });
1663
+ };
1664
+ this.Link = import_react.forwardRef((props, ref) => {
1665
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Link, {
1666
+ ref,
1667
+ from: this.fullPath,
1668
+ ...props
1669
+ });
1670
+ });
1671
+ this.$$typeof = Symbol.for("react.memo");
1672
+ }
1673
+ };
1674
+ function createRoute(options) {
1675
+ return new Route(options);
1676
+ }
1677
+ function createRootRouteWithContext() {
1678
+ return (options) => {
1679
+ return createRootRoute(options);
1680
+ };
1681
+ }
1682
+ var RootRoute = class extends BaseRootRoute {
1683
+ /**
1684
+ * @deprecated `RootRoute` is now an internal implementation detail. Use `createRootRoute()` instead.
1685
+ */
1686
+ constructor(options) {
1687
+ super(options);
1688
+ this.useMatch = (opts) => {
1689
+ return useMatch({
1690
+ select: opts?.select,
1691
+ from: this.id,
1692
+ structuralSharing: opts?.structuralSharing
1693
+ });
1694
+ };
1695
+ this.useRouteContext = (opts) => {
1696
+ return useMatch({
1697
+ ...opts,
1698
+ from: this.id,
1699
+ select: (d) => opts?.select ? opts.select(d.context) : d.context
1700
+ });
1701
+ };
1702
+ this.useSearch = (opts) => {
1703
+ return useSearch({
1704
+ select: opts?.select,
1705
+ structuralSharing: opts?.structuralSharing,
1706
+ from: this.id
1707
+ });
1708
+ };
1709
+ this.useParams = (opts) => {
1710
+ return useParams({
1711
+ select: opts?.select,
1712
+ structuralSharing: opts?.structuralSharing,
1713
+ from: this.id
1714
+ });
1715
+ };
1716
+ this.useLoaderDeps = (opts) => {
1717
+ return useLoaderDeps({
1718
+ ...opts,
1719
+ from: this.id
1720
+ });
1721
+ };
1722
+ this.useLoaderData = (opts) => {
1723
+ return useLoaderData({
1724
+ ...opts,
1725
+ from: this.id
1726
+ });
1727
+ };
1728
+ this.useNavigate = () => {
1729
+ return useNavigate({ from: this.fullPath });
1730
+ };
1731
+ this.Link = import_react.forwardRef((props, ref) => {
1732
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Link, {
1733
+ ref,
1734
+ from: this.fullPath,
1735
+ ...props
1736
+ });
1737
+ });
1738
+ this.$$typeof = Symbol.for("react.memo");
1739
+ }
1740
+ };
1741
+ function createRootRoute(options) {
1742
+ return new RootRoute(options);
1743
+ }
1744
+ //#endregion
1745
+ //#region ../../node_modules/.pnpm/@tanstack+react-router@1.143.11_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@tanstack/react-router/dist/esm/fileRoute.js
1746
+ function createFileRoute(path) {
1747
+ if (typeof path === "object") return new FileRoute(path, { silent: true }).createRoute(path);
1748
+ return new FileRoute(path, { silent: true }).createRoute;
1749
+ }
1750
+ var FileRoute = class {
1751
+ constructor(path, _opts) {
1752
+ this.path = path;
1753
+ this.createRoute = (options) => {
1754
+ warning(this.silent, "FileRoute is deprecated and will be removed in the next major version. Use the createFileRoute(path)(options) function instead.");
1755
+ const route = createRoute(options);
1756
+ route.isRoot = false;
1757
+ return route;
1758
+ };
1759
+ this.silent = _opts?.silent;
1760
+ }
1761
+ };
1762
+ var LazyRoute = class {
1763
+ constructor(opts) {
1764
+ this.useMatch = (opts2) => {
1765
+ return useMatch({
1766
+ select: opts2?.select,
1767
+ from: this.options.id,
1768
+ structuralSharing: opts2?.structuralSharing
1769
+ });
1770
+ };
1771
+ this.useRouteContext = (opts2) => {
1772
+ return useMatch({
1773
+ from: this.options.id,
1774
+ select: (d) => opts2?.select ? opts2.select(d.context) : d.context
1775
+ });
1776
+ };
1777
+ this.useSearch = (opts2) => {
1778
+ return useSearch({
1779
+ select: opts2?.select,
1780
+ structuralSharing: opts2?.structuralSharing,
1781
+ from: this.options.id
1782
+ });
1783
+ };
1784
+ this.useParams = (opts2) => {
1785
+ return useParams({
1786
+ select: opts2?.select,
1787
+ structuralSharing: opts2?.structuralSharing,
1788
+ from: this.options.id
1789
+ });
1790
+ };
1791
+ this.useLoaderDeps = (opts2) => {
1792
+ return useLoaderDeps({
1793
+ ...opts2,
1794
+ from: this.options.id
1795
+ });
1796
+ };
1797
+ this.useLoaderData = (opts2) => {
1798
+ return useLoaderData({
1799
+ ...opts2,
1800
+ from: this.options.id
1801
+ });
1802
+ };
1803
+ this.useNavigate = () => {
1804
+ return useNavigate({ from: useRouter().routesById[this.options.id].fullPath });
1805
+ };
1806
+ this.options = opts;
1807
+ this.$$typeof = Symbol.for("react.memo");
1808
+ }
1809
+ };
1810
+ function createLazyFileRoute(id) {
1811
+ if (typeof id === "object") return new LazyRoute(id);
1812
+ return (opts) => new LazyRoute({
1813
+ id,
1814
+ ...opts
1815
+ });
1816
+ }
1817
+ //#endregion
1818
+ //#region ../../node_modules/.pnpm/@tanstack+react-router@1.143.11_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@tanstack/react-router/dist/esm/lazyRouteComponent.js
1819
+ function lazyRouteComponent(importer, exportName) {
1820
+ let loadPromise;
1821
+ let comp;
1822
+ let error;
1823
+ let reload;
1824
+ const load = () => {
1825
+ if (!loadPromise) loadPromise = importer().then((res) => {
1826
+ loadPromise = void 0;
1827
+ comp = res[exportName ?? "default"];
1828
+ }).catch((err) => {
1829
+ error = err;
1830
+ if (isModuleNotFoundError(error)) {
1831
+ if (error instanceof Error && typeof window !== "undefined" && typeof sessionStorage !== "undefined") {
1832
+ const storageKey = `tanstack_router_reload:${error.message}`;
1833
+ if (!sessionStorage.getItem(storageKey)) {
1834
+ sessionStorage.setItem(storageKey, "1");
1835
+ reload = true;
1836
+ }
1837
+ }
1838
+ }
1839
+ });
1840
+ return loadPromise;
1841
+ };
1842
+ const lazyComp = function Lazy(props) {
1843
+ if (reload) {
1844
+ window.location.reload();
1845
+ throw new Promise(() => {});
1846
+ }
1847
+ if (error) throw error;
1848
+ if (!comp) if (import_react.use) import_react.use(load());
1849
+ else throw load();
1850
+ return import_react.createElement(comp, props);
1851
+ };
1852
+ lazyComp.preload = load;
1853
+ return lazyComp;
1854
+ }
1855
+ //#endregion
1856
+ export { decodePath as A, findRouteMatch as C, createLRUCache as D, processRouteTree as E, last as F, replaceEqualDeep as I, findLast as M, functionalUpdate as N, invariant as O, isPromise as P, findFlatMatch as S, processRouteMasks as T, interpolatePath as _, Link as a, trimPath as b, usePrevious as c, useRouter as d, getRouterContext as f, cleanPath as g, isNotFound as h, createRootRouteWithContext as i, deepEqual as j, createControlledPromise as k, matchContext as l, rootRouteId as m, createFileRoute as n, useNavigate as o, warning as p, createLazyFileRoute as r, useLayoutEffect as s, lazyRouteComponent as t, useRouterState as u, joinPaths as v, findSingleMatch as w, trimPathRight as x, resolvePath as y };