trouteai 1.0.6 → 1.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (735) hide show
  1. package/.build/next/BUILD_ID +1 -1
  2. package/.build/next/build-manifest.json +3 -3
  3. package/.build/next/fallback-build-manifest.json +3 -3
  4. package/.build/next/server/app/(dashboard)/dashboard/activity/page_client-reference-manifest.js +1 -1
  5. package/.build/next/server/app/(dashboard)/dashboard/analytics/combo-health/page_client-reference-manifest.js +1 -1
  6. package/.build/next/server/app/(dashboard)/dashboard/analytics/page_client-reference-manifest.js +1 -1
  7. package/.build/next/server/app/(dashboard)/dashboard/analytics/utilization/page_client-reference-manifest.js +1 -1
  8. package/.build/next/server/app/(dashboard)/dashboard/api-manager/page_client-reference-manifest.js +1 -1
  9. package/.build/next/server/app/(dashboard)/dashboard/audit/page_client-reference-manifest.js +1 -1
  10. package/.build/next/server/app/(dashboard)/dashboard/auto-combo/page_client-reference-manifest.js +1 -1
  11. package/.build/next/server/app/(dashboard)/dashboard/cache/page_client-reference-manifest.js +1 -1
  12. package/.build/next/server/app/(dashboard)/dashboard/combos/[id]/page_client-reference-manifest.js +1 -1
  13. package/.build/next/server/app/(dashboard)/dashboard/combos/live/page_client-reference-manifest.js +1 -1
  14. package/.build/next/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
  15. package/.build/next/server/app/(dashboard)/dashboard/combos/playground/page_client-reference-manifest.js +1 -1
  16. package/.build/next/server/app/(dashboard)/dashboard/costs/budget/page_client-reference-manifest.js +1 -1
  17. package/.build/next/server/app/(dashboard)/dashboard/costs/page_client-reference-manifest.js +1 -1
  18. package/.build/next/server/app/(dashboard)/dashboard/costs/pricing/page_client-reference-manifest.js +1 -1
  19. package/.build/next/server/app/(dashboard)/dashboard/costs/quota-share/page_client-reference-manifest.js +1 -1
  20. package/.build/next/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
  21. package/.build/next/server/app/(dashboard)/dashboard/health/page_client-reference-manifest.js +1 -1
  22. package/.build/next/server/app/(dashboard)/dashboard/limits/page_client-reference-manifest.js +1 -1
  23. package/.build/next/server/app/(dashboard)/dashboard/logs/activity/page_client-reference-manifest.js +1 -1
  24. package/.build/next/server/app/(dashboard)/dashboard/logs/console/page_client-reference-manifest.js +1 -1
  25. package/.build/next/server/app/(dashboard)/dashboard/logs/page_client-reference-manifest.js +1 -1
  26. package/.build/next/server/app/(dashboard)/dashboard/logs/proxy/page_client-reference-manifest.js +1 -1
  27. package/.build/next/server/app/(dashboard)/dashboard/logs/timeline/page_client-reference-manifest.js +1 -1
  28. package/.build/next/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
  29. package/.build/next/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
  30. package/.build/next/server/app/(dashboard)/dashboard/media-providers/page_client-reference-manifest.js +1 -1
  31. package/.build/next/server/app/(dashboard)/dashboard/onboarding/page_client-reference-manifest.js +1 -1
  32. package/.build/next/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
  33. package/.build/next/server/app/(dashboard)/dashboard/playground/page_client-reference-manifest.js +1 -1
  34. package/.build/next/server/app/(dashboard)/dashboard/provider-stats/page_client-reference-manifest.js +1 -1
  35. package/.build/next/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
  36. package/.build/next/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
  37. package/.build/next/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
  38. package/.build/next/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
  39. package/.build/next/server/app/(dashboard)/dashboard/runtime/page_client-reference-manifest.js +1 -1
  40. package/.build/next/server/app/(dashboard)/dashboard/settings/advanced/page_client-reference-manifest.js +1 -1
  41. package/.build/next/server/app/(dashboard)/dashboard/settings/ai/page_client-reference-manifest.js +1 -1
  42. package/.build/next/server/app/(dashboard)/dashboard/settings/appearance/page_client-reference-manifest.js +1 -1
  43. package/.build/next/server/app/(dashboard)/dashboard/settings/cache/page_client-reference-manifest.js +1 -1
  44. package/.build/next/server/app/(dashboard)/dashboard/settings/feature-flags/page_client-reference-manifest.js +1 -1
  45. package/.build/next/server/app/(dashboard)/dashboard/settings/general/page_client-reference-manifest.js +1 -1
  46. package/.build/next/server/app/(dashboard)/dashboard/settings/page_client-reference-manifest.js +1 -1
  47. package/.build/next/server/app/(dashboard)/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
  48. package/.build/next/server/app/(dashboard)/dashboard/settings/resilience/page_client-reference-manifest.js +1 -1
  49. package/.build/next/server/app/(dashboard)/dashboard/settings/routing/page_client-reference-manifest.js +1 -1
  50. package/.build/next/server/app/(dashboard)/dashboard/settings/security/page_client-reference-manifest.js +1 -1
  51. package/.build/next/server/app/(dashboard)/dashboard/settings/sidebar/page_client-reference-manifest.js +1 -1
  52. package/.build/next/server/app/(dashboard)/dashboard/system/page_client-reference-manifest.js +1 -1
  53. package/.build/next/server/app/(dashboard)/dashboard/system/proxy/page_client-reference-manifest.js +1 -1
  54. package/.build/next/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
  55. package/.build/next/server/app/(dashboard)/home/page_client-reference-manifest.js +1 -1
  56. package/.build/next/server/app/400/page_client-reference-manifest.js +1 -1
  57. package/.build/next/server/app/401/page_client-reference-manifest.js +1 -1
  58. package/.build/next/server/app/403/page_client-reference-manifest.js +1 -1
  59. package/.build/next/server/app/408/page_client-reference-manifest.js +1 -1
  60. package/.build/next/server/app/429/page_client-reference-manifest.js +1 -1
  61. package/.build/next/server/app/500/page_client-reference-manifest.js +1 -1
  62. package/.build/next/server/app/502/page_client-reference-manifest.js +1 -1
  63. package/.build/next/server/app/503/page_client-reference-manifest.js +1 -1
  64. package/.build/next/server/app/_global-error.html +1 -1
  65. package/.build/next/server/app/_global-error.rsc +1 -1
  66. package/.build/next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  67. package/.build/next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  68. package/.build/next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  69. package/.build/next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  70. package/.build/next/server/app/api/combos/test/route.js +156 -156
  71. package/.build/next/server/app/api/compression/compare/verify/route.js +2 -2
  72. package/.build/next/server/app/api/models/test/route.js +143 -143
  73. package/.build/next/server/app/api/models/test-all/route.js +143 -143
  74. package/.build/next/server/app/api/usage/[connectionId]/route.js +2 -2
  75. package/.build/next/server/app/api/usage/codex-reset-credit/route.js +2 -2
  76. package/.build/next/server/app/api/usage/provider-limits/route.js +2 -2
  77. package/.build/next/server/app/api/v1/antigravity/route.js +125 -125
  78. package/.build/next/server/app/api/v1/api/chat/route.js +127 -127
  79. package/.build/next/server/app/api/v1/chat/completions/route.js +133 -133
  80. package/.build/next/server/app/api/v1/completions/route.js +131 -131
  81. package/.build/next/server/app/api/v1/messages/count_tokens/route.js +2 -2
  82. package/.build/next/server/app/api/v1/messages/route.js +130 -130
  83. package/.build/next/server/app/api/v1/providers/[provider]/chat/completions/route.js +124 -124
  84. package/.build/next/server/app/api/v1/responses/[...path]/route.js +125 -125
  85. package/.build/next/server/app/api/v1/responses/route.js +133 -133
  86. package/.build/next/server/app/api/v1/videos/generations/route.js +2 -2
  87. package/.build/next/server/app/api/v1/vscode/[token]/api/chat/route.js +131 -131
  88. package/.build/next/server/app/api/v1/vscode/[token]/chat/completions/route.js +132 -132
  89. package/.build/next/server/app/api/v1/vscode/[token]/responses/route.js +131 -131
  90. package/.build/next/server/app/api/v1/vscode/[token]/v1/chat/completions/route.js +132 -132
  91. package/.build/next/server/app/api/v1/vscode/raw/[token]/api/chat/route.js +131 -131
  92. package/.build/next/server/app/api/v1/vscode/raw/[token]/chat/completions/route.js +132 -132
  93. package/.build/next/server/app/api/v1/vscode/raw/[token]/responses/route.js +131 -131
  94. package/.build/next/server/app/api/v1/vscode/raw/[token]/v1/chat/completions/route.js +132 -132
  95. package/.build/next/server/app/api/v1beta/models/[...path]/route.js +128 -128
  96. package/.build/next/server/app/auth/callback/page_client-reference-manifest.js +1 -1
  97. package/.build/next/server/app/callback/page_client-reference-manifest.js +1 -1
  98. package/.build/next/server/app/connect/codex/[token]/page_client-reference-manifest.js +1 -1
  99. package/.build/next/server/app/forbidden/page_client-reference-manifest.js +1 -1
  100. package/.build/next/server/app/forgot-password/page_client-reference-manifest.js +1 -1
  101. package/.build/next/server/app/login/page_client-reference-manifest.js +1 -1
  102. package/.build/next/server/app/maintenance/page_client-reference-manifest.js +1 -1
  103. package/.build/next/server/app/offline/page_client-reference-manifest.js +1 -1
  104. package/.build/next/server/app/page_client-reference-manifest.js +1 -1
  105. package/.build/next/server/chunks/{1q96_modules_@aws-sdk_nested-clients_dist-es_submodules_signin_index_0071t6-gy8206.js → 1q96_modules_@aws-sdk_nested-clients_dist-es_submodules_signin_index_0cdytbweqx6b7.js} +1 -1
  106. package/.build/next/server/chunks/{1q96_modules_@aws-sdk_nested-clients_dist-es_submodules_signin_index_03uipan87s4vs.js → 1q96_modules_@aws-sdk_nested-clients_dist-es_submodules_signin_index_0dv1_6icxx4nr.js} +1 -1
  107. package/.build/next/server/chunks/{1q96_modules_@aws-sdk_nested-clients_dist-es_submodules_signin_index_04qcux733c716.js → 1q96_modules_@aws-sdk_nested-clients_dist-es_submodules_signin_index_0feukx8b--i7y.js} +1 -1
  108. package/.build/next/server/chunks/{1q96_modules_@aws-sdk_nested-clients_dist-es_submodules_signin_index_04y--asln23t-.js → 1q96_modules_@aws-sdk_nested-clients_dist-es_submodules_signin_index_0foh2lmr9t9jf.js} +1 -1
  109. package/.build/next/server/chunks/1q96_modules_@aws-sdk_nested-clients_dist-es_submodules_signin_index_0ieu8lrtllaog.js +3 -0
  110. package/.build/next/server/chunks/1q96_modules_@aws-sdk_nested-clients_dist-es_submodules_signin_index_0jow9no35q-gl.js +3 -0
  111. package/.build/next/server/chunks/1q96_modules_@aws-sdk_nested-clients_dist-es_submodules_signin_index_0k39__s-5wenx.js +3 -0
  112. package/.build/next/server/chunks/1q96_modules_@aws-sdk_nested-clients_dist-es_submodules_signin_index_0lu36e9zlm6y2.js +3 -0
  113. package/.build/next/server/chunks/1q96_modules_@aws-sdk_nested-clients_dist-es_submodules_signin_index_0q3hd0z__qhm1.js +3 -0
  114. package/.build/next/server/chunks/1q96_modules_@aws-sdk_nested-clients_dist-es_submodules_signin_index_0svnbjltkehm0.js +3 -0
  115. package/.build/next/server/chunks/1q96_modules_@aws-sdk_nested-clients_dist-es_submodules_signin_index_0tp3k6-k_smkk.js +3 -0
  116. package/.build/next/server/chunks/1q96_modules_@aws-sdk_nested-clients_dist-es_submodules_signin_index_0tw8hx-r12mrw.js +3 -0
  117. package/.build/next/server/chunks/1q96_modules_@aws-sdk_nested-clients_dist-es_submodules_signin_index_0vdgv0qv9t25q.js +3 -0
  118. package/.build/next/server/chunks/1q96_modules_@aws-sdk_nested-clients_dist-es_submodules_signin_index_13pu0wi09xd-q.js +3 -0
  119. package/.build/next/server/chunks/1q96_modules_@aws-sdk_nested-clients_dist-es_submodules_signin_index_16gcrutnx6jpm.js +3 -0
  120. package/.build/next/server/chunks/1q96_modules_@aws-sdk_nested-clients_dist-es_submodules_signin_index_170l4-im9-rts.js +3 -0
  121. package/.build/next/server/chunks/1q96_modules_@aws-sdk_nested-clients_dist-es_submodules_signin_index_18ujd4t8o0iap.js +3 -0
  122. package/.build/next/server/chunks/1q96_modules_@aws-sdk_nested-clients_dist-es_submodules_signin_index_1kuob30li3zz4.js +3 -0
  123. package/.build/next/server/chunks/1q96_modules_@aws-sdk_nested-clients_dist-es_submodules_signin_index_1oghu697pywz1.js +3 -0
  124. package/.build/next/server/chunks/1q96_modules_@aws-sdk_nested-clients_dist-es_submodules_signin_index_1oz1ky4cqo5la.js +3 -0
  125. package/.build/next/server/chunks/1q96_modules_@aws-sdk_nested-clients_dist-es_submodules_signin_index_1t1tpwfjdroz-.js +3 -0
  126. package/.build/next/server/chunks/1q96_modules_@aws-sdk_nested-clients_dist-es_submodules_signin_index_1twzsl5g2kx-m.js +3 -0
  127. package/.build/next/server/chunks/1q96_modules_@aws-sdk_nested-clients_dist-es_submodules_signin_index_1u4l5hhlfmkq7.js +3 -0
  128. package/.build/next/server/chunks/1q96_modules_@aws-sdk_nested-clients_dist-es_submodules_signin_index_1wgek1bfzkudf.js +3 -0
  129. package/.build/next/server/chunks/1q96_modules_@aws-sdk_nested-clients_dist-es_submodules_signin_index_1yazcd_f60euz.js +3 -0
  130. package/.build/next/server/chunks/1q96_modules_@aws-sdk_nested-clients_dist-es_submodules_signin_index_1zg9eixcilibu.js +3 -0
  131. package/.build/next/server/chunks/{[root-of-the-server]__0y-c0o33nm9k7._.js → [root-of-the-server]__013qtg6e7nrnt._.js} +2 -2
  132. package/.build/next/server/chunks/{[root-of-the-server]__0jcn_nom11qn8._.js → [root-of-the-server]__01cuuk82yhow-._.js} +2 -2
  133. package/.build/next/server/chunks/[root-of-the-server]__03j1rri4jmffc._.js +1 -1
  134. package/.build/next/server/chunks/{[root-of-the-server]__03ce1fmn0qpsk._.js → [root-of-the-server]__04-wq1d8ad7-c._.js} +2 -2
  135. package/.build/next/server/chunks/{[root-of-the-server]__09e_jeovzn41x._.js → [root-of-the-server]__04ex4wx450p98._.js} +2 -2
  136. package/.build/next/server/chunks/{[root-of-the-server]__0s1n86lqib-r8._.js → [root-of-the-server]__054pm2e42ihgb._.js} +2 -2
  137. package/.build/next/server/chunks/{[root-of-the-server]__09miz4mr315ge._.js → [root-of-the-server]__06a582l--8gfi._.js} +2 -2
  138. package/.build/next/server/chunks/{[root-of-the-server]__14qrr7cz7ih12._.js → [root-of-the-server]__08mchwc4bo740._.js} +2 -2
  139. package/.build/next/server/chunks/{[root-of-the-server]__0cdyf9uauo7s-._.js → [root-of-the-server]__0_potadi-xpgt._.js} +2 -2
  140. package/.build/next/server/chunks/{[root-of-the-server]__053e56_stref0._.js → [root-of-the-server]__0au1tn-inyd_g._.js} +2 -2
  141. package/.build/next/server/chunks/{[root-of-the-server]__0dnxb-t5a29qw._.js → [root-of-the-server]__0bi89tb8hq7gp._.js} +2 -2
  142. package/.build/next/server/chunks/[root-of-the-server]__0bjb6df6ao16p._.js +3 -0
  143. package/.build/next/server/chunks/{[root-of-the-server]__0b6xbrajo6q7j._.js → [root-of-the-server]__0bn0fnmy3cyov._.js} +2 -2
  144. package/.build/next/server/chunks/[root-of-the-server]__0c8uunduj0rcb._.js +3 -0
  145. package/.build/next/server/chunks/{[root-of-the-server]__0bqjf5vfej0y0._.js → [root-of-the-server]__0cfm4y8lfzabg._.js} +2 -2
  146. package/.build/next/server/chunks/[root-of-the-server]__0h2tv7welidf2._.js +1 -1
  147. package/.build/next/server/chunks/[root-of-the-server]__0h6jczejtzur4._.js +3 -0
  148. package/.build/next/server/chunks/[root-of-the-server]__0jboht3yosva1._.js +1 -1
  149. package/.build/next/server/chunks/[root-of-the-server]__0kmh0llofhi-t._.js +3 -0
  150. package/.build/next/server/chunks/{[root-of-the-server]__19fndg4-8fl2p._.js → [root-of-the-server]__0oe87-hbfx_wt._.js} +2 -2
  151. package/.build/next/server/chunks/[root-of-the-server]__0pkk8q-mwrlhb._.js +3 -0
  152. package/.build/next/server/chunks/[root-of-the-server]__0pr6ndvl99m80._.js +3 -0
  153. package/.build/next/server/chunks/[root-of-the-server]__0q4kt78fse6u1._.js +1 -1
  154. package/.build/next/server/chunks/{[root-of-the-server]__0puajugwbae33._.js → [root-of-the-server]__0qwx0hffq93lu._.js} +2 -2
  155. package/.build/next/server/chunks/{[root-of-the-server]__03wxkz1ocd2m9._.js → [root-of-the-server]__0qzppsy_m_vb2._.js} +2 -2
  156. package/.build/next/server/chunks/[root-of-the-server]__0tadcednrqwvh._.js +3 -0
  157. package/.build/next/server/chunks/[root-of-the-server]__0tmd8acngsii3._.js +3 -0
  158. package/.build/next/server/chunks/{[root-of-the-server]__0urs4jrktsqji._.js → [root-of-the-server]__0vrh-4tf0ft8-._.js} +2 -2
  159. package/.build/next/server/chunks/[root-of-the-server]__0w0-w78j-o7zx._.js +3 -0
  160. package/.build/next/server/chunks/[root-of-the-server]__0yhdbb9w6oy0w._.js +3 -0
  161. package/.build/next/server/chunks/[root-of-the-server]__0yovqcjs0srde._.js +3 -0
  162. package/.build/next/server/chunks/{[root-of-the-server]__155hah7mtxxeu._.js → [root-of-the-server]__0yrk_78ixd453._.js} +2 -2
  163. package/.build/next/server/chunks/{[root-of-the-server]__0e_cgryo2zwu7._.js → [root-of-the-server]__0z24jgzvrqjf-._.js} +2 -2
  164. package/.build/next/server/chunks/[root-of-the-server]__1-elrzh0r1gn1._.js +3 -0
  165. package/.build/next/server/chunks/[root-of-the-server]__13g59axrgpk8f._.js +3 -0
  166. package/.build/next/server/chunks/{[root-of-the-server]__0fqufbrh_mxe6._.js → [root-of-the-server]__14htch0up35mq._.js} +2 -2
  167. package/.build/next/server/chunks/[root-of-the-server]__16__ky70mzpki._.js +1 -1
  168. package/.build/next/server/chunks/[root-of-the-server]__175s6rzt1gxf5._.js +3 -0
  169. package/.build/next/server/chunks/[root-of-the-server]__183u7xm7s7a0k._.js +3 -0
  170. package/.build/next/server/chunks/{[root-of-the-server]__1b7gfspxmfn7w._.js → [root-of-the-server]__1_bm64-b9rvps._.js} +2 -2
  171. package/.build/next/server/chunks/{[root-of-the-server]__0_89zuvif-ac0._.js → [root-of-the-server]__1_u2c9t8ghphk._.js} +2 -2
  172. package/.build/next/server/chunks/[root-of-the-server]__1asmrtinwnms1._.js +3 -0
  173. package/.build/next/server/chunks/[root-of-the-server]__1cs67f0gx1m2b._.js +1 -1
  174. package/.build/next/server/chunks/{[root-of-the-server]__0cya_vem8spaz._.js → [root-of-the-server]__1di-si5n-wa-0._.js} +1 -1
  175. package/.build/next/server/chunks/[root-of-the-server]__1eqvp0su82wa0._.js +1 -1
  176. package/.build/next/server/chunks/[root-of-the-server]__1f5u7fc6i-lh2._.js +3 -0
  177. package/.build/next/server/chunks/[root-of-the-server]__1gvcl_1847dlk._.js +1 -1
  178. package/.build/next/server/chunks/[root-of-the-server]__1gvwvri5-zmqs._.js +3 -0
  179. package/.build/next/server/chunks/[root-of-the-server]__1mfz-ys8z6-vj._.js +3 -0
  180. package/.build/next/server/chunks/[root-of-the-server]__1trre9oa-f-0-._.js +3 -0
  181. package/.build/next/server/chunks/[root-of-the-server]__1vwllhi2yaj22._.js +3 -0
  182. package/.build/next/server/chunks/[root-of-the-server]__1waj1qbbu8d0o._.js +3 -0
  183. package/.build/next/server/chunks/[root-of-the-server]__1x9t7o--7d3xv._.js +3 -0
  184. package/.build/next/server/chunks/[root-of-the-server]__1xi0yu215obtp._.js +3 -0
  185. package/.build/next/server/chunks/[root-of-the-server]__1xrpvccwm0tui._.js +3 -0
  186. package/.build/next/server/chunks/[root-of-the-server]__1xxb_la5pyyty._.js +1 -1
  187. package/.build/next/server/chunks/[root-of-the-server]__1yyq83bab1_34._.js +3 -0
  188. package/.build/next/server/chunks/[root-of-the-server]__1zvn7n_eg3bv6._.js +3 -0
  189. package/.build/next/server/chunks/_0-eumrsx9uwoc._.js +3 -3
  190. package/.build/next/server/chunks/_0-whad0_ydcsy._.js +1 -1
  191. package/.build/next/server/chunks/{_029oc7_2cayf9._.js → _01jw2l_g1m495._.js} +1 -1
  192. package/.build/next/server/chunks/_02r_3f8xhg8a_._.js +16 -0
  193. package/.build/next/server/chunks/{_0-7-wo2rhe742._.js → _03qfav-eclfsv._.js} +1 -1
  194. package/.build/next/server/chunks/{_0v8bztyjzmwju._.js → _040sjflhcim3n._.js} +2 -2
  195. package/.build/next/server/chunks/{_045qaiya-q9mx._.js → _06tafvn_2upb9._.js} +1 -1
  196. package/.build/next/server/chunks/{_0bnzv1p-iih9y._.js → _070swycte4f2y._.js} +1 -1
  197. package/.build/next/server/chunks/{_0v223bkfoc35x._.js → _08crm5ua26ded._.js} +1 -1
  198. package/.build/next/server/chunks/{_0cnrejialoejq._.js → _09pw38n0fvjve._.js} +132 -119
  199. package/.build/next/server/chunks/_0_owpim-84v6c._.js +1 -1
  200. package/.build/next/server/chunks/_0bjni2b0bk48x._.js +7 -0
  201. package/.build/next/server/chunks/_0cthudnt9nl4t._.js +3 -0
  202. package/.build/next/server/chunks/_0dtaqfgy6-5ws._.js +3 -0
  203. package/.build/next/server/chunks/{_1gwyqrv4jj-h0._.js → _0dx0f1oye7vfm._.js} +1 -1
  204. package/.build/next/server/chunks/_0gqrj_t8bk-8t._.js +1 -1
  205. package/.build/next/server/chunks/_0heuo1apizyqe._.js +1 -1
  206. package/.build/next/server/chunks/{_05uyjdaba145h._.js → _0jbl3xtidh76w._.js} +1 -1
  207. package/.build/next/server/chunks/_0jzperkk-1ag9._.js +1 -1
  208. package/.build/next/server/chunks/_0ma7hnwk4_v5i._.js +1 -1
  209. package/.build/next/server/chunks/_0nntu-lmwlb6z._.js +1 -1
  210. package/.build/next/server/chunks/_0ntfaxua3a497._.js +3 -0
  211. package/.build/next/server/chunks/{_1mf3kg0sol0_p._.js → _0pqtuwqkanzsg._.js} +132 -119
  212. package/.build/next/server/chunks/{_0syxc2wl5qdnf._.js → _0q0iu436_75a8._.js} +1 -1
  213. package/.build/next/server/chunks/_0qa8wnj0oms8q._.js +3 -0
  214. package/.build/next/server/chunks/{_0hmkgx75fn7mt._.js → _0r-1igk81_7eg._.js} +1 -1
  215. package/.build/next/server/chunks/{_0i0eoe3j0-x0v._.js → _0rffd_e2te-9v._.js} +1 -1
  216. package/.build/next/server/chunks/{_0fr8xxna2d5zn._.js → _0rtwo7u0mrb9r._.js} +1 -1
  217. package/.build/next/server/chunks/_0srkl-vgqcos7._.js +1 -1
  218. package/.build/next/server/chunks/_0tjk31-3k5hyf._.js +1 -1
  219. package/.build/next/server/chunks/_0tu5ehvbm4nc0._.js +3 -0
  220. package/.build/next/server/chunks/_0u8bko69-zd_z._.js +3 -0
  221. package/.build/next/server/chunks/_0v2kg-vv66amt._.js +3 -0
  222. package/.build/next/server/chunks/_0xujjs2b429r3._.js +3 -0
  223. package/.build/next/server/chunks/_0zvrsdbnkncnv._.js +3 -0
  224. package/.build/next/server/chunks/{_15efjsoc2b-sk._.js → _0zzir4fs7j_1p._.js} +2 -2
  225. package/.build/next/server/chunks/_10bcih89e-jn4._.js +3 -0
  226. package/.build/next/server/chunks/_10fwjeqnb57r-._.js +3 -0
  227. package/.build/next/server/chunks/_12_v3uivh86bs._.js +3 -0
  228. package/.build/next/server/chunks/_12ra9yaf_1dyr._.js +650 -0
  229. package/.build/next/server/chunks/_12rywigtphiop._.js +1 -1
  230. package/.build/next/server/chunks/_14cqpo0o-pr27._.js +3 -0
  231. package/.build/next/server/chunks/_14lqp4-f8wqgn._.js +3 -0
  232. package/.build/next/server/chunks/_159dadvt3pm1n._.js +3 -0
  233. package/.build/next/server/chunks/_1644hhqg6d_ln._.js +1 -1
  234. package/.build/next/server/chunks/{_1avfc3einmg1h._.js → _16_wwhbnnhkuh._.js} +1 -1
  235. package/.build/next/server/chunks/_16an60huh6tbs._.js +9 -9
  236. package/.build/next/server/chunks/_16i__1nx0epf7._.js +3 -0
  237. package/.build/next/server/chunks/_178o182dc7ex1._.js +3 -0
  238. package/.build/next/server/chunks/_188c9_xzcpc31._.js +1 -1
  239. package/.build/next/server/chunks/_19fzj3u7s0yz1._.js +3 -0
  240. package/.build/next/server/chunks/_19sfk-pzknkyv._.js +3 -0
  241. package/.build/next/server/chunks/_1_r1zgsvs713w._.js +3 -0
  242. package/.build/next/server/chunks/_1b6zyz_ay2ym5._.js +3 -0
  243. package/.build/next/server/chunks/_1btzlsw6io52c._.js +3 -0
  244. package/.build/next/server/chunks/{_0b_i4b8q0n1wz._.js → _1ft8yf-b3j8b8._.js} +146 -133
  245. package/.build/next/server/chunks/_1g8ka5zb3up7z._.js +3 -0
  246. package/.build/next/server/chunks/_1i00v3yjot-q_._.js +3 -0
  247. package/.build/next/server/chunks/{_0j524iax5w-bz._.js → _1kwnwtivfzp5u._.js} +1 -1
  248. package/.build/next/server/chunks/_1n9cbjvt_d82t._.js +1 -1
  249. package/.build/next/server/chunks/{_1wos-_82xr837._.js → _1q0_qh1mlc-1m._.js} +146 -133
  250. package/.build/next/server/chunks/{_0u-x3uzfboviu._.js → _1qmyzv3q9s7el._.js} +1 -1
  251. package/.build/next/server/chunks/_1qqqu7qtmx3if._.js +3 -0
  252. package/.build/next/server/chunks/_1r-xz7njt1agb._.js +62 -0
  253. package/.build/next/server/chunks/_1r3w1g8gzsrx3._.js +3 -0
  254. package/.build/next/server/chunks/{_1zcs33t-he7xd._.js → _1t7-qccr20ews._.js} +10 -10
  255. package/.build/next/server/chunks/_1uj3ppmpkxnlt._.js +3 -0
  256. package/.build/next/server/chunks/_1vgt3hw061lvz._.js +3 -0
  257. package/.build/next/server/chunks/_1xsk0mm2-hw63._.js +3 -0
  258. package/.build/next/server/chunks/_1yia8a_9rs285._.js +3 -0
  259. package/.build/next/server/chunks/_1yq_qtnhzgne_._.js +3 -0
  260. package/.build/next/server/chunks/_1z1_7oxdwqiqe._.js +3 -0
  261. package/.build/next/server/chunks/{_0zea7hovhgt2_._.js → _1zk9j5avh9do1._.js} +2 -2
  262. package/.build/next/server/chunks/_1zmyssg1ql6gl._.js +3 -3
  263. package/.build/next/server/chunks/_1zzqi2vrqln8r._.js +3 -0
  264. package/.build/next/server/chunks/_20wczne8lusnr._.js +1 -1
  265. package/.build/next/server/chunks/{node_modules_0_a57i8xt9icf._.js → node_modules_00j-j70vb5l89._.js} +1 -1
  266. package/.build/next/server/chunks/{node_modules_0-_w__4n53410._.js → node_modules_00rveaxr6xn-1._.js} +1 -1
  267. package/.build/next/server/chunks/{node_modules_06km3ub1t353p._.js → node_modules_0318sxb9xejre._.js} +1 -1
  268. package/.build/next/server/chunks/{node_modules_070w8pzva2-b5._.js → node_modules_03eegbwr1ykhv._.js} +1 -1
  269. package/.build/next/server/chunks/node_modules_04kmq4fi-fcs3._.js +3 -0
  270. package/.build/next/server/chunks/node_modules_0clpxklowdv39._.js +3 -0
  271. package/.build/next/server/chunks/node_modules_0ixloym14amfv._.js +3 -0
  272. package/.build/next/server/chunks/node_modules_0jcobbm12qhmj._.js +3 -0
  273. package/.build/next/server/chunks/node_modules_0lav-ieym04zb._.js +3 -0
  274. package/.build/next/server/chunks/node_modules_0meaikpo6sp-0._.js +3 -0
  275. package/.build/next/server/chunks/node_modules_0qjpghqow25tc._.js +3 -0
  276. package/.build/next/server/chunks/node_modules_0t3d23hihdgmu._.js +3 -0
  277. package/.build/next/server/chunks/node_modules_0trsqf3qottck._.js +3 -0
  278. package/.build/next/server/chunks/node_modules_0voxtqt-anw9e._.js +3 -0
  279. package/.build/next/server/chunks/node_modules_0vrbvfb6201w6._.js +3 -0
  280. package/.build/next/server/chunks/node_modules_1-kv_qmpt4341._.js +3 -0
  281. package/.build/next/server/chunks/node_modules_10rbyfmbpi425._.js +3 -0
  282. package/.build/next/server/chunks/node_modules_135e3rn3qtd-6._.js +3 -0
  283. package/.build/next/server/chunks/node_modules_17pyrt2it4bgr._.js +3 -0
  284. package/.build/next/server/chunks/node_modules_1ir4um6mro95r._.js +3 -0
  285. package/.build/next/server/chunks/node_modules_1j_0ubaizcezn._.js +3 -0
  286. package/.build/next/server/chunks/node_modules_1n05kwizfpjo6._.js +3 -0
  287. package/.build/next/server/chunks/node_modules_1n47vn0307_u5._.js +3 -0
  288. package/.build/next/server/chunks/node_modules_1srzy9xr2ioyr._.js +3 -0
  289. package/.build/next/server/chunks/node_modules_1tqglxa-ymtqw._.js +3 -0
  290. package/.build/next/server/chunks/node_modules_1z6rpfu7winx2._.js +3 -0
  291. package/.build/next/server/chunks/{node_modules_@aws-sdk_032-tpe7346hb._.js → node_modules_@aws-sdk_03kfydhiseqdg._.js} +2 -2
  292. package/.build/next/server/chunks/{node_modules_@aws-sdk_04o_8bax4fbo4._.js → node_modules_@aws-sdk_0_s99dpim75pu._.js} +2 -2
  293. package/.build/next/server/chunks/{node_modules_@aws-sdk_0_at_8j5m5taa._.js → node_modules_@aws-sdk_0bv_r2pcdu10h._.js} +2 -2
  294. package/.build/next/server/chunks/{node_modules_@aws-sdk_0cpedsd2e8nj9._.js → node_modules_@aws-sdk_0f5qnmpxmag01._.js} +2 -2
  295. package/.build/next/server/chunks/node_modules_@aws-sdk_0nlcm-f5ytb4h._.js +3 -0
  296. package/.build/next/server/chunks/node_modules_@aws-sdk_0obp77rs96mvi._.js +3 -0
  297. package/.build/next/server/chunks/node_modules_@aws-sdk_0oylq1k5y_3ce._.js +3 -0
  298. package/.build/next/server/chunks/node_modules_@aws-sdk_0qf0zztgs682s._.js +3 -0
  299. package/.build/next/server/chunks/node_modules_@aws-sdk_0rgyt30cubjzf._.js +3 -0
  300. package/.build/next/server/chunks/node_modules_@aws-sdk_0vi2hngy9pnuy._.js +3 -0
  301. package/.build/next/server/chunks/node_modules_@aws-sdk_0x510i9ngxcyf._.js +3 -0
  302. package/.build/next/server/chunks/node_modules_@aws-sdk_0y-e4gqf903o3._.js +3 -0
  303. package/.build/next/server/chunks/node_modules_@aws-sdk_0yhl9bvr9ueqh._.js +3 -0
  304. package/.build/next/server/chunks/node_modules_@aws-sdk_0yqxb4ienz6kj._.js +3 -0
  305. package/.build/next/server/chunks/node_modules_@aws-sdk_0yttguxby4mdi._.js +3 -0
  306. package/.build/next/server/chunks/node_modules_@aws-sdk_10101hyu_zjk4._.js +3 -0
  307. package/.build/next/server/chunks/node_modules_@aws-sdk_123n4jie1tq6a._.js +3 -0
  308. package/.build/next/server/chunks/node_modules_@aws-sdk_15qb522ckeehe._.js +3 -0
  309. package/.build/next/server/chunks/node_modules_@aws-sdk_1_n1vj3j0xfms._.js +3 -0
  310. package/.build/next/server/chunks/node_modules_@aws-sdk_1ix0scvbr4xd9._.js +3 -0
  311. package/.build/next/server/chunks/node_modules_@aws-sdk_1lza3gi_jvmio._.js +3 -0
  312. package/.build/next/server/chunks/node_modules_@aws-sdk_1mdahx12zwp_1._.js +3 -0
  313. package/.build/next/server/chunks/node_modules_@aws-sdk_1nk8tt26yrxh-._.js +3 -0
  314. package/.build/next/server/chunks/node_modules_@aws-sdk_1ot6491i27kfo._.js +3 -0
  315. package/.build/next/server/chunks/node_modules_@aws-sdk_1vcgyijr8-gln._.js +3 -0
  316. package/.build/next/server/chunks/node_modules_@aws-sdk_204anorh-zvk-._.js +3 -0
  317. package/.build/next/server/chunks/{node_modules_@aws-sdk_credential-provider-sso_dist-es_loadSso_0-2dpkdybmydz.js → node_modules_@aws-sdk_credential-provider-sso_dist-es_loadSso_01m33xoynofsl.js} +1 -1
  318. package/.build/next/server/chunks/{node_modules_@aws-sdk_credential-provider-sso_dist-es_loadSso_00c1icqvrqz-s.js → node_modules_@aws-sdk_credential-provider-sso_dist-es_loadSso_06adt_ianv_md.js} +1 -1
  319. package/.build/next/server/chunks/{node_modules_@aws-sdk_credential-provider-sso_dist-es_loadSso_039_xf84osnel.js → node_modules_@aws-sdk_credential-provider-sso_dist-es_loadSso_07njywm0sbeyv.js} +1 -1
  320. package/.build/next/server/chunks/{node_modules_@aws-sdk_credential-provider-sso_dist-es_loadSso_03hjwb47vuwm9.js → node_modules_@aws-sdk_credential-provider-sso_dist-es_loadSso_080lter3o8zcp.js} +1 -1
  321. package/.build/next/server/chunks/node_modules_@aws-sdk_credential-provider-sso_dist-es_loadSso_09_cxlxlqf67s.js +3 -0
  322. package/.build/next/server/chunks/node_modules_@aws-sdk_credential-provider-sso_dist-es_loadSso_09ov7ntve-mx7.js +3 -0
  323. package/.build/next/server/chunks/node_modules_@aws-sdk_credential-provider-sso_dist-es_loadSso_0kbpnxnu2ejlc.js +3 -0
  324. package/.build/next/server/chunks/node_modules_@aws-sdk_credential-provider-sso_dist-es_loadSso_0ki8jbo6k_atz.js +3 -0
  325. package/.build/next/server/chunks/node_modules_@aws-sdk_credential-provider-sso_dist-es_loadSso_0npewtp_nops5.js +3 -0
  326. package/.build/next/server/chunks/node_modules_@aws-sdk_credential-provider-sso_dist-es_loadSso_0q715b8wgpb1u.js +3 -0
  327. package/.build/next/server/chunks/node_modules_@aws-sdk_credential-provider-sso_dist-es_loadSso_0yy3fcwj_b5be.js +3 -0
  328. package/.build/next/server/chunks/node_modules_@aws-sdk_credential-provider-sso_dist-es_loadSso_1-4ppt5kmz50x.js +3 -0
  329. package/.build/next/server/chunks/node_modules_@aws-sdk_credential-provider-sso_dist-es_loadSso_1-ky0eo80twjx.js +3 -0
  330. package/.build/next/server/chunks/node_modules_@aws-sdk_credential-provider-sso_dist-es_loadSso_11u9jygsvvu5c.js +3 -0
  331. package/.build/next/server/chunks/node_modules_@aws-sdk_credential-provider-sso_dist-es_loadSso_12s0w02i5mlzh.js +3 -0
  332. package/.build/next/server/chunks/node_modules_@aws-sdk_credential-provider-sso_dist-es_loadSso_12sb57-_mdan4.js +3 -0
  333. package/.build/next/server/chunks/node_modules_@aws-sdk_credential-provider-sso_dist-es_loadSso_13be-a641383i.js +3 -0
  334. package/.build/next/server/chunks/node_modules_@aws-sdk_credential-provider-sso_dist-es_loadSso_14nxcn9iwq7oj.js +3 -0
  335. package/.build/next/server/chunks/node_modules_@aws-sdk_credential-provider-sso_dist-es_loadSso_15sqaub981ncp.js +3 -0
  336. package/.build/next/server/chunks/node_modules_@aws-sdk_credential-provider-sso_dist-es_loadSso_16mb7bvgqd72p.js +3 -0
  337. package/.build/next/server/chunks/node_modules_@aws-sdk_credential-provider-sso_dist-es_loadSso_1a96ybufo8-_d.js +3 -0
  338. package/.build/next/server/chunks/node_modules_@aws-sdk_credential-provider-sso_dist-es_loadSso_1epmqjkncfa-t.js +3 -0
  339. package/.build/next/server/chunks/node_modules_@aws-sdk_credential-provider-sso_dist-es_loadSso_1ymjdx7brv1u5.js +3 -0
  340. package/.build/next/server/chunks/node_modules_@aws-sdk_credential-provider-sso_dist-es_loadSso_1zmx4t1zp2plx.js +3 -0
  341. package/.build/next/server/chunks/node_modules_@aws-sdk_credential-provider-sso_dist-es_loadSso_1ztb14nbvq-v8.js +3 -0
  342. package/.build/next/server/chunks/node_modules_@aws-sdk_credential-provider-sso_dist-es_loadSso_20swopgb7gs5p.js +3 -0
  343. package/.build/next/server/chunks/{node_modules_ioredis_built_index_1-s3egdocnznd.js → node_modules_ioredis_built_index_0bym26c4shwf9.js} +1 -1
  344. package/.build/next/server/chunks/{node_modules_ioredis_built_index_14ex7cglfl3pz.js → node_modules_ioredis_built_index_0olys7xgnfo0i.js} +1 -1
  345. package/.build/next/server/chunks/{node_modules_ioredis_built_index_1w1hzk4_-8xu5.js → node_modules_ioredis_built_index_14ct1dd055dku.js} +1 -1
  346. package/.build/next/server/chunks/{node_modules_ioredis_built_index_15mwjswq7fcc7.js → node_modules_ioredis_built_index_1agrynr6yap-q.js} +1 -1
  347. package/.build/next/server/chunks/{node_modules_ioredis_built_index_1a9ll1mwrmtob.js → node_modules_ioredis_built_index_1ik97n_251xek.js} +1 -1
  348. package/.build/next/server/chunks/node_modules_ioredis_built_index_1vv514_mvh8ve.js +3 -0
  349. package/.build/next/server/chunks/open-sse_02t7zn7htyw-9._.js +1 -1
  350. package/.build/next/server/chunks/open-sse_03goq14q0_x4f._.js +1 -1
  351. package/.build/next/server/chunks/open-sse_03ipq-9xg4l9m._.js +1 -1
  352. package/.build/next/server/chunks/open-sse_0bl-irqke65hd._.js +1 -1
  353. package/.build/next/server/chunks/open-sse_0h0zluguzhqef._.js +16 -3
  354. package/.build/next/server/chunks/open-sse_0s84hi7h9418d._.js +16 -3
  355. package/.build/next/server/chunks/open-sse_1b6ivsct5ejh3._.js +1 -1
  356. package/.build/next/server/chunks/open-sse_1r2up99lm4jtz._.js +1 -1
  357. package/.build/next/server/chunks/open-sse_1tgbautgb4f7f._.js +16 -3
  358. package/.build/next/server/chunks/{open-sse_services_02bmh-sbso22m._.js → open-sse_services_00hw3r8y1gfsk._.js} +1 -1
  359. package/.build/next/server/chunks/open-sse_services_03wu42_5vmj9o._.js +2 -2
  360. package/.build/next/server/chunks/open-sse_services_0ct5y5fs-6yum._.js +2 -2
  361. package/.build/next/server/chunks/{open-sse_services_04dvqigm0hy_b._.js → open-sse_services_0faya5lemfn3z._.js} +1 -1
  362. package/.build/next/server/chunks/{open-sse_services_0884oo1_foqx1._.js → open-sse_services_0fqgcvavo8wg0._.js} +1 -1
  363. package/.build/next/server/chunks/{open-sse_services_0cjgk3rys3phs._.js → open-sse_services_0gp_perj2ozc7._.js} +1 -1
  364. package/.build/next/server/chunks/open-sse_services_0luw8b50a275y._.js +3 -0
  365. package/.build/next/server/chunks/open-sse_services_0lz8kz3o3n32w._.js +3 -0
  366. package/.build/next/server/chunks/open-sse_services_0o2xbv4-s_hgc._.js +2 -2
  367. package/.build/next/server/chunks/open-sse_services_0uzit9opfex07._.js +3 -0
  368. package/.build/next/server/chunks/open-sse_services_10-13kqpampl8._.js +3 -0
  369. package/.build/next/server/chunks/open-sse_services_11px-eu6wpco1._.js +3 -0
  370. package/.build/next/server/chunks/open-sse_services_12xf6ogfm7fk6._.js +3 -0
  371. package/.build/next/server/chunks/open-sse_services_13aor5_u0vw67._.js +3 -0
  372. package/.build/next/server/chunks/open-sse_services_17to5z2yz9tp5._.js +3 -0
  373. package/.build/next/server/chunks/open-sse_services_1_z10i8xets76._.js +2 -2
  374. package/.build/next/server/chunks/open-sse_services_1aofhb43cunjk._.js +3 -0
  375. package/.build/next/server/chunks/open-sse_services_1bmzbrj-w51an._.js +3 -0
  376. package/.build/next/server/chunks/open-sse_services_1cfnib8brx231._.js +3 -0
  377. package/.build/next/server/chunks/open-sse_services_1m558021-9l1o._.js +3 -0
  378. package/.build/next/server/chunks/open-sse_services_1mixpyyaadj44._.js +2 -2
  379. package/.build/next/server/chunks/open-sse_services_1pb9vai4pzp46._.js +3 -0
  380. package/.build/next/server/chunks/open-sse_services_1u1h_rm99qyq_._.js +3 -0
  381. package/.build/next/server/chunks/open-sse_services_1v47txy532v7j._.js +3 -0
  382. package/.build/next/server/chunks/open-sse_services_1zn2whnlx96gx._.js +3 -0
  383. package/.build/next/server/chunks/open-sse_services_20qr88u5g_bzt._.js +3 -0
  384. package/.build/next/server/chunks/open-sse_services_kiroRegion_ts_1plr7t56zivs5._.js +1 -1
  385. package/.build/next/server/chunks/open-sse_utils_requestLogger_ts_0bd_-kg8s0mnb._.js +1 -1
  386. package/.build/next/server/chunks/open-sse_utils_requestLogger_ts_0o1bn8tbcrdys._.js +1 -1
  387. package/.build/next/server/chunks/{src_0gff8n1288m1s._.js → src_06dmt2gh7c2r5._.js} +1 -1
  388. package/.build/next/server/chunks/src_072_u91zja_z6._.js +1 -1
  389. package/.build/next/server/chunks/{src_0ogv5rsf3ovzt._.js → src_0iivcw6e2y8b-._.js} +1 -1
  390. package/.build/next/server/chunks/src_0jsr5vm5qt_kk._.js +1 -1
  391. package/.build/next/server/chunks/{src_1gr5o5rdqanpt._.js → src_0l9p-6g-6c00r._.js} +1 -1
  392. package/.build/next/server/chunks/src_1m93lsr72gv4e._.js +1 -1
  393. package/.build/next/server/chunks/src_1p24y5m9owsdz._.js +1 -1
  394. package/.build/next/server/chunks/{src_1w9wqtyffs4jp._.js → src_20-a3old2hlv7._.js} +1 -1
  395. package/.build/next/server/chunks/{src_lib_0t6aj24w2w4um._.js → src_lib_05upj47v7jd8d._.js} +1 -1
  396. package/.build/next/server/chunks/{src_lib_18c9gtbeeedlu._.js → src_lib_0g6dvcltrlrt1._.js} +1 -1
  397. package/.build/next/server/chunks/{src_lib_plugins_manager_ts_082ank_n7lv72._.js → src_lib_plugins_manager_ts_06-b_e2ssdrqp._.js} +2 -2
  398. package/.build/next/server/chunks/{src_lib_plugins_manager_ts_08h-7dzhghsw_._.js → src_lib_plugins_manager_ts_07a371xptxn0i._.js} +2 -2
  399. package/.build/next/server/chunks/{src_lib_plugins_manager_ts_08obzclzfmgdo._.js → src_lib_plugins_manager_ts_07iwfiw5lpzv6._.js} +2 -2
  400. package/.build/next/server/chunks/{src_lib_plugins_manager_ts_0_8jhcn7g0hyd._.js → src_lib_plugins_manager_ts_094zfas129qox._.js} +2 -2
  401. package/.build/next/server/chunks/src_lib_plugins_manager_ts_09x05wttn6gky._.js +3 -0
  402. package/.build/next/server/chunks/src_lib_plugins_manager_ts_0eicpmorbgq_0._.js +3 -0
  403. package/.build/next/server/chunks/src_lib_plugins_manager_ts_0j45w1t53tqiq._.js +3 -0
  404. package/.build/next/server/chunks/src_lib_plugins_manager_ts_0jtsoy2o58_fe._.js +3 -0
  405. package/.build/next/server/chunks/src_lib_plugins_manager_ts_0k2l6fz_allhv._.js +3 -0
  406. package/.build/next/server/chunks/src_lib_plugins_manager_ts_0m4u5d2zpf0jx._.js +3 -0
  407. package/.build/next/server/chunks/src_lib_plugins_manager_ts_0r69m_ija5052._.js +3 -0
  408. package/.build/next/server/chunks/src_lib_plugins_manager_ts_0rd7v66pzywb8._.js +3 -0
  409. package/.build/next/server/chunks/src_lib_plugins_manager_ts_0u9_z3h42wsrr._.js +3 -0
  410. package/.build/next/server/chunks/src_lib_plugins_manager_ts_12ucso7gp_9we._.js +3 -0
  411. package/.build/next/server/chunks/src_lib_plugins_manager_ts_16wp__3_qev5x._.js +3 -0
  412. package/.build/next/server/chunks/src_lib_plugins_manager_ts_1d_p6ksvmoo3y._.js +3 -0
  413. package/.build/next/server/chunks/src_lib_plugins_manager_ts_1l-e0sne7qzzx._.js +3 -0
  414. package/.build/next/server/chunks/src_lib_plugins_manager_ts_1lf_y4ssq-plx._.js +3 -0
  415. package/.build/next/server/chunks/src_lib_plugins_manager_ts_1qlgxrqwigi2t._.js +3 -0
  416. package/.build/next/server/chunks/src_lib_plugins_manager_ts_1u2eu34-upcvy._.js +3 -0
  417. package/.build/next/server/chunks/src_lib_plugins_manager_ts_218376dd7xrc4._.js +3 -0
  418. package/.build/next/server/chunks/{src_lib_quota_0gw-asus4493x._.js → src_lib_quota_05418fyg4agnh._.js} +1 -1
  419. package/.build/next/server/chunks/{src_lib_quota_0mglshbqfhgw7._.js → src_lib_quota_05bcp_6tt7jbr._.js} +1 -1
  420. package/.build/next/server/chunks/{src_lib_quota_0zwicsy-gs0ct._.js → src_lib_quota_0nybt-asgnvf4._.js} +1 -1
  421. package/.build/next/server/chunks/{src_lib_quota_1o_jx24-m_fom._.js → src_lib_quota_0vqp3tcjqt1dw._.js} +1 -1
  422. package/.build/next/server/chunks/{src_lib_quota_2002143jitgx6._.js → src_lib_quota_0wb8erb76zq-0._.js} +1 -1
  423. package/.build/next/server/chunks/src_lib_quota_19hosofplhjh1._.js +3 -0
  424. package/.build/next/server/chunks/{src_lib_quota_quotaKey_ts_0e9929u5mgny4._.js → src_lib_quota_quotaKey_ts_00sufley9tfda._.js} +1 -1
  425. package/.build/next/server/chunks/{src_lib_quota_quotaKey_ts_06gq2e2g0ozlr._.js → src_lib_quota_quotaKey_ts_05unnu3n41ko_._.js} +1 -1
  426. package/.build/next/server/chunks/{src_lib_quota_quotaKey_ts_07_2e5snrn1ck._.js → src_lib_quota_quotaKey_ts_0_9lralwqmbb2._.js} +1 -1
  427. package/.build/next/server/chunks/{src_lib_quota_quotaKey_ts_0e3c15o4yzmvf._.js → src_lib_quota_quotaKey_ts_0anxeaf_zkp8o._.js} +1 -1
  428. package/.build/next/server/chunks/src_lib_quota_quotaKey_ts_0ffo874n5oku6._.js +3 -0
  429. package/.build/next/server/chunks/src_lib_quota_quotaKey_ts_0jafzf3ifgkuv._.js +3 -0
  430. package/.build/next/server/chunks/src_lib_quota_quotaKey_ts_0llm3vdjpfanc._.js +3 -0
  431. package/.build/next/server/chunks/src_lib_quota_quotaKey_ts_0o6z11z1bom_m._.js +3 -0
  432. package/.build/next/server/chunks/src_lib_quota_quotaKey_ts_0txirnznm274h._.js +3 -0
  433. package/.build/next/server/chunks/src_lib_quota_quotaKey_ts_0xuq_g-h5m3c1._.js +3 -0
  434. package/.build/next/server/chunks/src_lib_quota_quotaKey_ts_10_ltppb3vez-._.js +3 -0
  435. package/.build/next/server/chunks/src_lib_quota_quotaKey_ts_151pluvj7g-vc._.js +3 -0
  436. package/.build/next/server/chunks/src_lib_quota_quotaKey_ts_1ceheb324j-3o._.js +3 -0
  437. package/.build/next/server/chunks/src_lib_quota_quotaKey_ts_1es9tfkkri56i._.js +3 -0
  438. package/.build/next/server/chunks/src_lib_quota_quotaKey_ts_1g0ppe_dhr5q1._.js +3 -0
  439. package/.build/next/server/chunks/src_lib_quota_quotaKey_ts_1lyayo5r_xxjv._.js +3 -0
  440. package/.build/next/server/chunks/src_lib_quota_quotaKey_ts_1mc353kr74tft._.js +3 -0
  441. package/.build/next/server/chunks/src_lib_quota_quotaKey_ts_1q-_0jqsbdlh5._.js +3 -0
  442. package/.build/next/server/chunks/src_lib_quota_quotaKey_ts_1qd-81-a26uej._.js +3 -0
  443. package/.build/next/server/chunks/src_lib_quota_quotaKey_ts_1qg73wxhhll-s._.js +3 -0
  444. package/.build/next/server/chunks/src_lib_quota_quotaKey_ts_1t-h7vqoh9u3s._.js +3 -0
  445. package/.build/next/server/chunks/{src_lib_usage_callLogs_ts_0qnepwt2wta77._.js → src_lib_usage_callLogs_ts_1sie3xbxc5_10._.js} +1 -1
  446. package/.build/next/server/chunks/src_shared_constants_1vndx1xsi1o3x._.js +1 -1
  447. package/.build/next/server/chunks/{src_shared_services_03_eh-49sw70b._.js → src_shared_services_057p4bz8pl04k._.js} +1 -1
  448. package/.build/next/server/chunks/{src_shared_services_04hl1xzqthbh1._.js → src_shared_services_080e2ej5vl6ay._.js} +1 -1
  449. package/.build/next/server/chunks/{src_shared_services_0fjvc-g7uuyno._.js → src_shared_services_0eedv-3vaf69y._.js} +1 -1
  450. package/.build/next/server/chunks/{src_shared_services_0kg6hc95fd11s._.js → src_shared_services_0erucmxdso94e._.js} +1 -1
  451. package/.build/next/server/chunks/{src_shared_services_04z41n7bdg09x._.js → src_shared_services_0lt7_o14ml7sz._.js} +1 -1
  452. package/.build/next/server/chunks/{src_shared_services_06s-_f77zvc_v._.js → src_shared_services_0mv_oizuaavj6._.js} +1 -1
  453. package/.build/next/server/chunks/src_shared_services_0pbe9rzf7waje._.js +3 -0
  454. package/.build/next/server/chunks/src_shared_services_0yf7zz4c9vtx-._.js +3 -0
  455. package/.build/next/server/chunks/src_shared_services_0zulbbb3ttk64._.js +3 -0
  456. package/.build/next/server/chunks/src_shared_services_1-1kghymkipsb._.js +3 -0
  457. package/.build/next/server/chunks/{src_shared_services_13msbx-c1194y._.js → src_shared_services_106s8shtblhd5._.js} +1 -1
  458. package/.build/next/server/chunks/src_shared_services_11l3nwnjgyxm-._.js +3 -0
  459. package/.build/next/server/chunks/src_shared_services_12t1-ga9w38dz._.js +3 -0
  460. package/.build/next/server/chunks/src_shared_services_14w2j2iqdj9eb._.js +3 -0
  461. package/.build/next/server/chunks/src_shared_services_176ndx2kuwev7._.js +3 -0
  462. package/.build/next/server/chunks/{src_shared_services_1jmf68l2lf9nz._.js → src_shared_services_1e0qskhl18qx6._.js} +1 -1
  463. package/.build/next/server/chunks/src_shared_services_1egld-y_7xfyo._.js +3 -0
  464. package/.build/next/server/chunks/src_shared_services_1fhzl753fxvsf._.js +3 -0
  465. package/.build/next/server/chunks/src_shared_services_1rjiu-sbe0cc_._.js +3 -0
  466. package/.build/next/server/chunks/src_shared_services_1w8ezwxiuwg4-._.js +3 -0
  467. package/.build/next/server/chunks/src_shared_services_1y_ma3zvgiio6._.js +3 -0
  468. package/.build/next/server/chunks/src_shared_services_1ypadc9tai46y._.js +3 -0
  469. package/.build/next/server/chunks/{src_shared_services_modelSyncScheduler_ts_0jprbetg42idf._.js → src_shared_services_modelSyncScheduler_ts_091bx-fd70d-_._.js} +1 -1
  470. package/.build/next/server/chunks/{src_shared_services_modelSyncScheduler_ts_1w5s8oci38o86._.js → src_shared_services_modelSyncScheduler_ts_0x1-b0_nhg8oa._.js} +1 -1
  471. package/.build/next/server/chunks/{src_shared_services_modelSyncScheduler_ts_0z9wckeen9uzt._.js → src_shared_services_modelSyncScheduler_ts_0zan1i5wv3x1s._.js} +1 -1
  472. package/.build/next/server/chunks/{src_shared_services_modelSyncScheduler_ts_1admvvz7wu5mb._.js → src_shared_services_modelSyncScheduler_ts_1xd6j5kaxzekj._.js} +1 -1
  473. package/.build/next/server/chunks/{src_shared_services_modelSyncScheduler_ts_1nid3ygpp832c._.js → src_shared_services_modelSyncScheduler_ts_1zp-x3g0jwv9s._.js} +1 -1
  474. package/.build/next/server/chunks/ssr/_0rb4h6lptmehu._.js +1 -1
  475. package/.build/next/server/chunks/ssr/_1ucg-1lxpwd_3._.js +2 -2
  476. package/.build/next/server/chunks/ssr/_1wo8wxqh1dk5a._.js +2 -2
  477. package/.build/next/server/middleware-build-manifest.js +3 -3
  478. package/.build/next/server/middleware.js +2 -2
  479. package/.build/next/server/pages/500.html +1 -1
  480. package/.build/next/static/chunks/{1osm01_w12rhk.js → 273ss8mst5n0x.js} +1 -1
  481. package/.build/next/static/chunks/{0wxtns-mya-et.css → 36imcs53bs6ue.css} +1 -1
  482. package/.build/next/static/chunks/{2yhtmu668hmia.js → 41ia4t5lkoy-u.js} +1 -1
  483. package/open-sse/config/claudeTokens.ts +108 -0
  484. package/open-sse/executors/base.ts +17 -0
  485. package/open-sse/executors/kiro.ts +845 -91
  486. package/open-sse/handlers/chatCore/nonStreamingResponseParse.ts +14 -0
  487. package/open-sse/handlers/chatCore.ts +23 -3
  488. package/open-sse/handlers/responseTranslator.ts +29 -5
  489. package/open-sse/handlers/sseParser.ts +21 -0
  490. package/open-sse/services/combo/targetExhaustion.ts +16 -1
  491. package/open-sse/services/combo.ts +2 -0
  492. package/open-sse/services/kiroRegion.ts +20 -0
  493. package/open-sse/services/usage/kimi.ts +64 -5
  494. package/open-sse/services/webSearchResultText.ts +100 -0
  495. package/open-sse/translator/request/claude-to-openai.ts +194 -3
  496. package/open-sse/translator/request/openai-to-kiro.ts +165 -11
  497. package/open-sse/translator/response/kiro-to-openai.ts +16 -0
  498. package/open-sse/translator/response/openai-to-claude.ts +74 -3
  499. package/open-sse/utils/contextOverflowError.ts +63 -0
  500. package/open-sse/utils/finishReason.ts +8 -0
  501. package/open-sse/utils/pdfText.ts +1252 -0
  502. package/open-sse/utils/requestLogger.ts +4 -1
  503. package/open-sse/utils/stream.ts +19 -6
  504. package/open-sse/utils/streamHelpers.ts +3 -1
  505. package/open-sse/utils/streamPayloadCollector.ts +3 -0
  506. package/package.json +1 -1
  507. package/src/app/api/v1/messages/count_tokens/route.ts +64 -6
  508. package/src/app/api/v1/messages/route.ts +7 -1
  509. package/src/domain/quotaCache.ts +4 -2
  510. package/src/server/authz/pipeline.ts +6 -0
  511. package/src/shared/components/CommandPalette.tsx +2 -2
  512. package/src/shared/components/Sidebar.tsx +3 -3
  513. package/src/shared/utils/anthropicErrorShape.ts +89 -0
  514. package/src/sse/handlers/chat.ts +30 -0
  515. package/src/sse/handlers/webSearchEmulation.ts +1181 -0
  516. package/.build/next/server/chunks/1q96_modules_@aws-sdk_nested-clients_dist-es_submodules_signin_index_0agn1t27_-87q.js +0 -3
  517. package/.build/next/server/chunks/1q96_modules_@aws-sdk_nested-clients_dist-es_submodules_signin_index_0bdbaz8ncan3j.js +0 -3
  518. package/.build/next/server/chunks/1q96_modules_@aws-sdk_nested-clients_dist-es_submodules_signin_index_0ic-xl80j3ahf.js +0 -3
  519. package/.build/next/server/chunks/1q96_modules_@aws-sdk_nested-clients_dist-es_submodules_signin_index_0j-gka-h5--g7.js +0 -3
  520. package/.build/next/server/chunks/1q96_modules_@aws-sdk_nested-clients_dist-es_submodules_signin_index_0jikxjpd83y3m.js +0 -3
  521. package/.build/next/server/chunks/1q96_modules_@aws-sdk_nested-clients_dist-es_submodules_signin_index_0pcsfxk7rl_qj.js +0 -3
  522. package/.build/next/server/chunks/1q96_modules_@aws-sdk_nested-clients_dist-es_submodules_signin_index_0rour4wnl6mch.js +0 -3
  523. package/.build/next/server/chunks/1q96_modules_@aws-sdk_nested-clients_dist-es_submodules_signin_index_1-vgf7hsozo4d.js +0 -3
  524. package/.build/next/server/chunks/1q96_modules_@aws-sdk_nested-clients_dist-es_submodules_signin_index_1-wk-99yzo_ij.js +0 -3
  525. package/.build/next/server/chunks/1q96_modules_@aws-sdk_nested-clients_dist-es_submodules_signin_index_11j-oo1fko_w9.js +0 -3
  526. package/.build/next/server/chunks/1q96_modules_@aws-sdk_nested-clients_dist-es_submodules_signin_index_163fonx9p1t53.js +0 -3
  527. package/.build/next/server/chunks/1q96_modules_@aws-sdk_nested-clients_dist-es_submodules_signin_index_1_scz53f35ozv.js +0 -3
  528. package/.build/next/server/chunks/1q96_modules_@aws-sdk_nested-clients_dist-es_submodules_signin_index_1b31tiezn9knj.js +0 -3
  529. package/.build/next/server/chunks/1q96_modules_@aws-sdk_nested-clients_dist-es_submodules_signin_index_1bc7yeb23me7o.js +0 -3
  530. package/.build/next/server/chunks/1q96_modules_@aws-sdk_nested-clients_dist-es_submodules_signin_index_1cy8wnhh8esbt.js +0 -3
  531. package/.build/next/server/chunks/1q96_modules_@aws-sdk_nested-clients_dist-es_submodules_signin_index_1hcyk-boxbura.js +0 -3
  532. package/.build/next/server/chunks/1q96_modules_@aws-sdk_nested-clients_dist-es_submodules_signin_index_1hjr8tkngjpn2.js +0 -3
  533. package/.build/next/server/chunks/1q96_modules_@aws-sdk_nested-clients_dist-es_submodules_signin_index_1i9ijw0wkft95.js +0 -3
  534. package/.build/next/server/chunks/1q96_modules_@aws-sdk_nested-clients_dist-es_submodules_signin_index_1o4j3aexo9biu.js +0 -3
  535. package/.build/next/server/chunks/1q96_modules_@aws-sdk_nested-clients_dist-es_submodules_signin_index_1pvenj5ob2aem.js +0 -3
  536. package/.build/next/server/chunks/1q96_modules_@aws-sdk_nested-clients_dist-es_submodules_signin_index_1q3t40dvo4--p.js +0 -3
  537. package/.build/next/server/chunks/1q96_modules_@aws-sdk_nested-clients_dist-es_submodules_signin_index_2024waa5dd1lu.js +0 -3
  538. package/.build/next/server/chunks/[root-of-the-server]__0cyc8ns5c-hak._.js +0 -3
  539. package/.build/next/server/chunks/[root-of-the-server]__0hsw8ehbw3i2o._.js +0 -3
  540. package/.build/next/server/chunks/[root-of-the-server]__0jojq4ni9peyl._.js +0 -3
  541. package/.build/next/server/chunks/[root-of-the-server]__0k_9tln3gjdsg._.js +0 -3
  542. package/.build/next/server/chunks/[root-of-the-server]__0sh-ax_s9lxgs._.js +0 -3
  543. package/.build/next/server/chunks/[root-of-the-server]__0yjugdbzmjz__._.js +0 -3
  544. package/.build/next/server/chunks/[root-of-the-server]__0yku0wexi8ghl._.js +0 -3
  545. package/.build/next/server/chunks/[root-of-the-server]__0yt9iwxll_l6u._.js +0 -3
  546. package/.build/next/server/chunks/[root-of-the-server]__0zgbbqlctz_ss._.js +0 -3
  547. package/.build/next/server/chunks/[root-of-the-server]__1-1xnobnihmvu._.js +0 -3
  548. package/.build/next/server/chunks/[root-of-the-server]__10y_wajcozqre._.js +0 -3
  549. package/.build/next/server/chunks/[root-of-the-server]__172v_j4xarr6o._.js +0 -3
  550. package/.build/next/server/chunks/[root-of-the-server]__176x6fzvqwsiv._.js +0 -3
  551. package/.build/next/server/chunks/[root-of-the-server]__17ud9_3_ssk8k._.js +0 -3
  552. package/.build/next/server/chunks/[root-of-the-server]__19ocgqujae39l._.js +0 -3
  553. package/.build/next/server/chunks/[root-of-the-server]__1cwkjoabvk0op._.js +0 -3
  554. package/.build/next/server/chunks/[root-of-the-server]__1jb65mvmckdjg._.js +0 -3
  555. package/.build/next/server/chunks/[root-of-the-server]__1ks8m6fd5ayhs._.js +0 -3
  556. package/.build/next/server/chunks/[root-of-the-server]__1m7e1c6uyafq0._.js +0 -3
  557. package/.build/next/server/chunks/[root-of-the-server]__1my791be0ej2f._.js +0 -3
  558. package/.build/next/server/chunks/[root-of-the-server]__1ohivgmoa4y7_._.js +0 -3
  559. package/.build/next/server/chunks/[root-of-the-server]__1pwuqglvqb8ae._.js +0 -3
  560. package/.build/next/server/chunks/[root-of-the-server]__1q9d4sa50girl._.js +0 -3
  561. package/.build/next/server/chunks/[root-of-the-server]__1qqnlb8mlv5qn._.js +0 -3
  562. package/.build/next/server/chunks/[root-of-the-server]__1sbq18_dr5ht1._.js +0 -3
  563. package/.build/next/server/chunks/[root-of-the-server]__1wcvw0tlzacfj._.js +0 -3
  564. package/.build/next/server/chunks/[root-of-the-server]__20gdw36eknl9h._.js +0 -3
  565. package/.build/next/server/chunks/_0mqzrek7ffz5c._.js +0 -3
  566. package/.build/next/server/chunks/_0ox6qf339bblb._.js +0 -3
  567. package/.build/next/server/chunks/_0re9_1xpmi1in._.js +0 -3
  568. package/.build/next/server/chunks/_0w7y9fwzdv184._.js +0 -3
  569. package/.build/next/server/chunks/_1--z-c5w3yh_b._.js +0 -3
  570. package/.build/next/server/chunks/_11dfub0-g5hqx._.js +0 -3
  571. package/.build/next/server/chunks/_13xv49s2emgbh._.js +0 -12
  572. package/.build/next/server/chunks/_142m98dl-v5qx._.js +0 -3
  573. package/.build/next/server/chunks/_16fb5lg934z_y._.js +0 -3
  574. package/.build/next/server/chunks/_16ldvpp3ltmg_._.js +0 -3
  575. package/.build/next/server/chunks/_17i9uubpwxtr6._.js +0 -3
  576. package/.build/next/server/chunks/_18nswcjdn-o_d._.js +0 -3
  577. package/.build/next/server/chunks/_19d_r4e56lw6c._.js +0 -3
  578. package/.build/next/server/chunks/_19lsyjj_cdcma._.js +0 -3
  579. package/.build/next/server/chunks/_1_a8xtb4eim3-._.js +0 -3
  580. package/.build/next/server/chunks/_1c99m13xvj0dv._.js +0 -3
  581. package/.build/next/server/chunks/_1do5vraekw7a_._.js +0 -3
  582. package/.build/next/server/chunks/_1e-2ziz7vbvj9._.js +0 -3
  583. package/.build/next/server/chunks/_1foat8d-cw4p_._.js +0 -3
  584. package/.build/next/server/chunks/_1lg1a1-ip82th._.js +0 -3
  585. package/.build/next/server/chunks/_1lyng1xt6yaki._.js +0 -3
  586. package/.build/next/server/chunks/_1nprpllrhv5ur._.js +0 -3
  587. package/.build/next/server/chunks/_1nxn6ans9h-yd._.js +0 -3
  588. package/.build/next/server/chunks/_1ohylflm1s935._.js +0 -3
  589. package/.build/next/server/chunks/_1omvf1ucof_yl._.js +0 -3
  590. package/.build/next/server/chunks/_1p60mk1s2dj0m._.js +0 -3
  591. package/.build/next/server/chunks/_1p628qecv5bcu._.js +0 -3
  592. package/.build/next/server/chunks/_1t0wesdzmxm--._.js +0 -3
  593. package/.build/next/server/chunks/_1tryysi-zw-uk._.js +0 -3
  594. package/.build/next/server/chunks/_1u2fevomxng1z._.js +0 -3
  595. package/.build/next/server/chunks/_1u9svjs_bx9zp._.js +0 -3
  596. package/.build/next/server/chunks/_1ukh92xt_h9ls._.js +0 -3
  597. package/.build/next/server/chunks/_1v87bx9e8bvly._.js +0 -3
  598. package/.build/next/server/chunks/_1vf7irr1wo9p-._.js +0 -3
  599. package/.build/next/server/chunks/_1wkk7z3fobxbo._.js +0 -3
  600. package/.build/next/server/chunks/node_modules_0_x6ms_t9skng._.js +0 -3
  601. package/.build/next/server/chunks/node_modules_0gohbx9aorh0u._.js +0 -3
  602. package/.build/next/server/chunks/node_modules_0kv7lp09lm4-8._.js +0 -3
  603. package/.build/next/server/chunks/node_modules_0l3c--_iz3xqs._.js +0 -3
  604. package/.build/next/server/chunks/node_modules_0p85cgv7zv71m._.js +0 -3
  605. package/.build/next/server/chunks/node_modules_0pkok82ldrbvy._.js +0 -3
  606. package/.build/next/server/chunks/node_modules_0taa189fdyrvj._.js +0 -3
  607. package/.build/next/server/chunks/node_modules_0xbbdz3qows09._.js +0 -3
  608. package/.build/next/server/chunks/node_modules_0z17bntb8cv10._.js +0 -3
  609. package/.build/next/server/chunks/node_modules_12n0xi55k1732._.js +0 -3
  610. package/.build/next/server/chunks/node_modules_12w64fw3z-bcd._.js +0 -3
  611. package/.build/next/server/chunks/node_modules_17q-udh619fx5._.js +0 -3
  612. package/.build/next/server/chunks/node_modules_19z_pj5419z4n._.js +0 -3
  613. package/.build/next/server/chunks/node_modules_1kx78kk7zgs6_._.js +0 -3
  614. package/.build/next/server/chunks/node_modules_1l6a6ml6v2i_k._.js +0 -3
  615. package/.build/next/server/chunks/node_modules_1lkgfl4ettcxp._.js +0 -3
  616. package/.build/next/server/chunks/node_modules_1t9hizql924bp._.js +0 -3
  617. package/.build/next/server/chunks/node_modules_1tdhc46ytvj0n._.js +0 -3
  618. package/.build/next/server/chunks/node_modules_1uk_qp0gbho8r._.js +0 -3
  619. package/.build/next/server/chunks/node_modules_1w0h0i7jkq9fa._.js +0 -3
  620. package/.build/next/server/chunks/node_modules_1xtwpfq69aty8._.js +0 -3
  621. package/.build/next/server/chunks/node_modules_1zlh23qg1uq5s._.js +0 -3
  622. package/.build/next/server/chunks/node_modules_@aws-sdk_0fukg5x40kwub._.js +0 -3
  623. package/.build/next/server/chunks/node_modules_@aws-sdk_0g1gza5ppvhr8._.js +0 -3
  624. package/.build/next/server/chunks/node_modules_@aws-sdk_0h_fcdlqd8s5n._.js +0 -3
  625. package/.build/next/server/chunks/node_modules_@aws-sdk_0jpc8oc6b6i93._.js +0 -3
  626. package/.build/next/server/chunks/node_modules_@aws-sdk_0rr7gmwwe5-dh._.js +0 -3
  627. package/.build/next/server/chunks/node_modules_@aws-sdk_0v_xskgrff6wd._.js +0 -3
  628. package/.build/next/server/chunks/node_modules_@aws-sdk_0zuuhl2wpxt8p._.js +0 -3
  629. package/.build/next/server/chunks/node_modules_@aws-sdk_11ckwzfy422am._.js +0 -3
  630. package/.build/next/server/chunks/node_modules_@aws-sdk_11d97npmgf-3r._.js +0 -3
  631. package/.build/next/server/chunks/node_modules_@aws-sdk_12_vv1aumcw9-._.js +0 -3
  632. package/.build/next/server/chunks/node_modules_@aws-sdk_18d7kh8fes7vc._.js +0 -3
  633. package/.build/next/server/chunks/node_modules_@aws-sdk_1d2_q1k2wkf5s._.js +0 -3
  634. package/.build/next/server/chunks/node_modules_@aws-sdk_1glhxo4bsedyk._.js +0 -3
  635. package/.build/next/server/chunks/node_modules_@aws-sdk_1jk-2_ih5r8hp._.js +0 -3
  636. package/.build/next/server/chunks/node_modules_@aws-sdk_1mq27hyj74pss._.js +0 -3
  637. package/.build/next/server/chunks/node_modules_@aws-sdk_1n6-p7yy8md7l._.js +0 -3
  638. package/.build/next/server/chunks/node_modules_@aws-sdk_1os1eoc8tim1y._.js +0 -3
  639. package/.build/next/server/chunks/node_modules_@aws-sdk_1req4zcx_0cnx._.js +0 -3
  640. package/.build/next/server/chunks/node_modules_@aws-sdk_1v244fqkm56j8._.js +0 -3
  641. package/.build/next/server/chunks/node_modules_@aws-sdk_1wwzw_mr_0uhv._.js +0 -3
  642. package/.build/next/server/chunks/node_modules_@aws-sdk_1xyy_nekye31j._.js +0 -3
  643. package/.build/next/server/chunks/node_modules_@aws-sdk_20myne_q7f2m8._.js +0 -3
  644. package/.build/next/server/chunks/node_modules_@aws-sdk_credential-provider-sso_dist-es_loadSso_04gwvpkl1nug0.js +0 -3
  645. package/.build/next/server/chunks/node_modules_@aws-sdk_credential-provider-sso_dist-es_loadSso_0630cbcbg0avk.js +0 -3
  646. package/.build/next/server/chunks/node_modules_@aws-sdk_credential-provider-sso_dist-es_loadSso_0a--3zhc3833c.js +0 -3
  647. package/.build/next/server/chunks/node_modules_@aws-sdk_credential-provider-sso_dist-es_loadSso_0cig_ru63jzhj.js +0 -3
  648. package/.build/next/server/chunks/node_modules_@aws-sdk_credential-provider-sso_dist-es_loadSso_0e_80iimfmh81.js +0 -3
  649. package/.build/next/server/chunks/node_modules_@aws-sdk_credential-provider-sso_dist-es_loadSso_0hmbodnfjrup6.js +0 -3
  650. package/.build/next/server/chunks/node_modules_@aws-sdk_credential-provider-sso_dist-es_loadSso_0pbaee_84omvg.js +0 -3
  651. package/.build/next/server/chunks/node_modules_@aws-sdk_credential-provider-sso_dist-es_loadSso_0xwupvdbu9jfl.js +0 -3
  652. package/.build/next/server/chunks/node_modules_@aws-sdk_credential-provider-sso_dist-es_loadSso_0yd50kn037tj7.js +0 -3
  653. package/.build/next/server/chunks/node_modules_@aws-sdk_credential-provider-sso_dist-es_loadSso_1167_x8-auv93.js +0 -3
  654. package/.build/next/server/chunks/node_modules_@aws-sdk_credential-provider-sso_dist-es_loadSso_126xpn2yg3grm.js +0 -3
  655. package/.build/next/server/chunks/node_modules_@aws-sdk_credential-provider-sso_dist-es_loadSso_16ku3dxvhzhkk.js +0 -3
  656. package/.build/next/server/chunks/node_modules_@aws-sdk_credential-provider-sso_dist-es_loadSso_19bzdp_-n6sq0.js +0 -3
  657. package/.build/next/server/chunks/node_modules_@aws-sdk_credential-provider-sso_dist-es_loadSso_1_ik1zykfz6zp.js +0 -3
  658. package/.build/next/server/chunks/node_modules_@aws-sdk_credential-provider-sso_dist-es_loadSso_1dqajoz1ygnbf.js +0 -3
  659. package/.build/next/server/chunks/node_modules_@aws-sdk_credential-provider-sso_dist-es_loadSso_1o4k7zmx1j2bu.js +0 -3
  660. package/.build/next/server/chunks/node_modules_@aws-sdk_credential-provider-sso_dist-es_loadSso_1oavue5eviexc.js +0 -3
  661. package/.build/next/server/chunks/node_modules_@aws-sdk_credential-provider-sso_dist-es_loadSso_1rqp1l_ptnubg.js +0 -3
  662. package/.build/next/server/chunks/node_modules_@aws-sdk_credential-provider-sso_dist-es_loadSso_1rw3-4dmewdr4.js +0 -3
  663. package/.build/next/server/chunks/node_modules_@aws-sdk_credential-provider-sso_dist-es_loadSso_1tyx-v56ebpk_.js +0 -3
  664. package/.build/next/server/chunks/node_modules_@aws-sdk_credential-provider-sso_dist-es_loadSso_1wn_1b_n7nq-2.js +0 -3
  665. package/.build/next/server/chunks/node_modules_@aws-sdk_credential-provider-sso_dist-es_loadSso_20yftlrkp9ara.js +0 -3
  666. package/.build/next/server/chunks/node_modules_ioredis_built_index_1yvlsm3ny3pj9.js +0 -3
  667. package/.build/next/server/chunks/open-sse_services_0cukrrcbxl1gr._.js +0 -3
  668. package/.build/next/server/chunks/open-sse_services_0ef13xoz5w433._.js +0 -3
  669. package/.build/next/server/chunks/open-sse_services_0hdeb5rg-7ctc._.js +0 -3
  670. package/.build/next/server/chunks/open-sse_services_0jjlzdp9t8t3p._.js +0 -3
  671. package/.build/next/server/chunks/open-sse_services_0jyo433yl_s3-._.js +0 -3
  672. package/.build/next/server/chunks/open-sse_services_0w0o42y4k_0xp._.js +0 -3
  673. package/.build/next/server/chunks/open-sse_services_0x51vcvrd1uy1._.js +0 -3
  674. package/.build/next/server/chunks/open-sse_services_0yenufzwhjgz0._.js +0 -3
  675. package/.build/next/server/chunks/open-sse_services_138omazpx4xu1._.js +0 -3
  676. package/.build/next/server/chunks/open-sse_services_162a5-wghb28k._.js +0 -3
  677. package/.build/next/server/chunks/open-sse_services_1blmj_n8yoazn._.js +0 -3
  678. package/.build/next/server/chunks/open-sse_services_1c2_vovh6b_pe._.js +0 -3
  679. package/.build/next/server/chunks/open-sse_services_1fgkobij47qea._.js +0 -3
  680. package/.build/next/server/chunks/open-sse_services_1iuacwne-axoo._.js +0 -3
  681. package/.build/next/server/chunks/open-sse_services_1ktbqi-1t65pn._.js +0 -3
  682. package/.build/next/server/chunks/open-sse_services_1mdjfnli_1im9._.js +0 -3
  683. package/.build/next/server/chunks/open-sse_services_1s729m6to90v4._.js +0 -3
  684. package/.build/next/server/chunks/src_lib_plugins_manager_ts_0b48oh-otx_ol._.js +0 -3
  685. package/.build/next/server/chunks/src_lib_plugins_manager_ts_0fnwm57tvxp50._.js +0 -3
  686. package/.build/next/server/chunks/src_lib_plugins_manager_ts_0qdw6u_-fb9qe._.js +0 -3
  687. package/.build/next/server/chunks/src_lib_plugins_manager_ts_0u63lwdqoezav._.js +0 -3
  688. package/.build/next/server/chunks/src_lib_plugins_manager_ts_0uw_jlq70rwri._.js +0 -3
  689. package/.build/next/server/chunks/src_lib_plugins_manager_ts_0yxhkyvrf6-x_._.js +0 -3
  690. package/.build/next/server/chunks/src_lib_plugins_manager_ts_1-91nmo9cckkg._.js +0 -3
  691. package/.build/next/server/chunks/src_lib_plugins_manager_ts_11dshqgaqa7k2._.js +0 -3
  692. package/.build/next/server/chunks/src_lib_plugins_manager_ts_12z3np4ktvyaw._.js +0 -3
  693. package/.build/next/server/chunks/src_lib_plugins_manager_ts_1548t2uj3kl8c._.js +0 -3
  694. package/.build/next/server/chunks/src_lib_plugins_manager_ts_198mvq_7kkncw._.js +0 -3
  695. package/.build/next/server/chunks/src_lib_plugins_manager_ts_1cax0u9i8n09r._.js +0 -3
  696. package/.build/next/server/chunks/src_lib_plugins_manager_ts_1dw31gw8gv5b4._.js +0 -3
  697. package/.build/next/server/chunks/src_lib_plugins_manager_ts_1j3eh7kbz5s33._.js +0 -3
  698. package/.build/next/server/chunks/src_lib_plugins_manager_ts_1jgvga752m2_v._.js +0 -3
  699. package/.build/next/server/chunks/src_lib_plugins_manager_ts_1umjhh6i4065t._.js +0 -3
  700. package/.build/next/server/chunks/src_lib_plugins_manager_ts_1ydcm2zxi9w3m._.js +0 -3
  701. package/.build/next/server/chunks/src_lib_quota_1vpqly464si1q._.js +0 -3
  702. package/.build/next/server/chunks/src_lib_quota_quotaKey_ts_0eqloedth3662._.js +0 -3
  703. package/.build/next/server/chunks/src_lib_quota_quotaKey_ts_0gsym2up09qbd._.js +0 -3
  704. package/.build/next/server/chunks/src_lib_quota_quotaKey_ts_0lqr7nuv40xhn._.js +0 -3
  705. package/.build/next/server/chunks/src_lib_quota_quotaKey_ts_0qo8767hpoa2_._.js +0 -3
  706. package/.build/next/server/chunks/src_lib_quota_quotaKey_ts_0r56lkpo6ejtl._.js +0 -3
  707. package/.build/next/server/chunks/src_lib_quota_quotaKey_ts_0u2q7i-ffa3-0._.js +0 -3
  708. package/.build/next/server/chunks/src_lib_quota_quotaKey_ts_0y54fg642lkx_._.js +0 -3
  709. package/.build/next/server/chunks/src_lib_quota_quotaKey_ts_144c1_26o_xs_._.js +0 -3
  710. package/.build/next/server/chunks/src_lib_quota_quotaKey_ts_1a5p04dslzkkr._.js +0 -3
  711. package/.build/next/server/chunks/src_lib_quota_quotaKey_ts_1fqs-9wvkwg8u._.js +0 -3
  712. package/.build/next/server/chunks/src_lib_quota_quotaKey_ts_1g_t5orpm0h2k._.js +0 -3
  713. package/.build/next/server/chunks/src_lib_quota_quotaKey_ts_1kydk56tgu8ni._.js +0 -3
  714. package/.build/next/server/chunks/src_lib_quota_quotaKey_ts_1sd-o-ncs0v_b._.js +0 -3
  715. package/.build/next/server/chunks/src_lib_quota_quotaKey_ts_1u5q9l5wugo13._.js +0 -3
  716. package/.build/next/server/chunks/src_lib_quota_quotaKey_ts_1vebln5zz0jh1._.js +0 -3
  717. package/.build/next/server/chunks/src_lib_quota_quotaKey_ts_1x4r4ykpvtsng._.js +0 -3
  718. package/.build/next/server/chunks/src_lib_quota_quotaKey_ts_1xazcu5ici-w1._.js +0 -3
  719. package/.build/next/server/chunks/src_shared_services_083ix1a7l974z._.js +0 -3
  720. package/.build/next/server/chunks/src_shared_services_093xyaxwtg-ji._.js +0 -3
  721. package/.build/next/server/chunks/src_shared_services_0i9oken9kxj9j._.js +0 -3
  722. package/.build/next/server/chunks/src_shared_services_0r-8-60-r4v_r._.js +0 -3
  723. package/.build/next/server/chunks/src_shared_services_0r7xmlmt1k9hy._.js +0 -3
  724. package/.build/next/server/chunks/src_shared_services_0rg59_7jmlgm-._.js +0 -3
  725. package/.build/next/server/chunks/src_shared_services_0wme2znpr6_8s._.js +0 -3
  726. package/.build/next/server/chunks/src_shared_services_126q0wbgkzp5l._.js +0 -3
  727. package/.build/next/server/chunks/src_shared_services_12se2mvwbr2q0._.js +0 -3
  728. package/.build/next/server/chunks/src_shared_services_1fwlbkehafca_._.js +0 -3
  729. package/.build/next/server/chunks/src_shared_services_1m3xkf85ae5xt._.js +0 -3
  730. package/.build/next/server/chunks/src_shared_services_1obo27zju04g-._.js +0 -3
  731. package/.build/next/server/chunks/src_shared_services_1rnq7eju312ri._.js +0 -3
  732. package/.build/next/server/chunks/src_shared_services_1z51753rm-kau._.js +0 -3
  733. /package/.build/next/static/{9h-Y9U1tfaZmzr5AGgiYn → ScDemTJTEZMscCIzRWSqu}/_buildManifest.js +0 -0
  734. /package/.build/next/static/{9h-Y9U1tfaZmzr5AGgiYn → ScDemTJTEZMscCIzRWSqu}/_clientMiddlewareManifest.js +0 -0
  735. /package/.build/next/static/{9h-Y9U1tfaZmzr5AGgiYn → ScDemTJTEZMscCIzRWSqu}/_ssgManifest.js +0 -0
@@ -1,6 +1,8 @@
1
1
  import { register } from "../registry.ts";
2
2
  import { FORMATS } from "../formats.ts";
3
3
  import { adjustMaxTokens } from "../helpers/maxTokensHelper.ts";
4
+ import { webSearchBlockToText } from "../../services/webSearchResultText.ts";
5
+ import { MAX_PDF_PAGE_IMAGES, extractPdfPageImages, extractPdfText } from "../../utils/pdfText.ts";
4
6
 
5
7
  type JsonRecord = Record<string, unknown>;
6
8
  const TOOL_CHOICE_ANY = ["a", "n", "y"].join("");
@@ -100,6 +102,13 @@ export function claudeToOpenAIRequest(model, body, stream, credentials: unknown
100
102
  typeof credentials === "object" &&
101
103
  !Array.isArray(credentials) &&
102
104
  (credentials as JsonRecord)._preserveCacheControl === true;
105
+ // Kiro takes earlier thinking back with its signature (assistantResponseMessage.reasoningContent,
106
+ // checked by Kiro). Other OpenAI-format upstreams never see the extra field.
107
+ const keepThinkingSignature =
108
+ credentials !== null &&
109
+ typeof credentials === "object" &&
110
+ !Array.isArray(credentials) &&
111
+ (credentials as JsonRecord)._targetFormat === FORMATS.KIRO;
103
112
 
104
113
  const result: {
105
114
  model: string;
@@ -170,7 +179,12 @@ export function claudeToOpenAIRequest(model, body, stream, credentials: unknown
170
179
  if (body.messages && Array.isArray(body.messages)) {
171
180
  for (let i = 0; i < body.messages.length; i++) {
172
181
  const msg = body.messages[i];
173
- const converted = convertClaudeMessage(msg, preserveCacheControl);
182
+ const converted = convertClaudeMessage(
183
+ msg,
184
+ preserveCacheControl,
185
+ keepThinkingSignature,
186
+ keepThinkingSignature
187
+ );
174
188
  if (converted) {
175
189
  // Handle array of messages (multiple tool results)
176
190
  if (Array.isArray(converted)) {
@@ -238,6 +252,21 @@ export function claudeToOpenAIRequest(model, body, stream, credentials: unknown
238
252
  }
239
253
  }
240
254
 
255
+ // Structured output (`output_config.format`, e.g. Claude Code's JSON helper calls). Kiro has no
256
+ // such field (its request schema allows thinking / effort / max_tokens only), so for Kiro it
257
+ // goes on as OpenAI's response_format and becomes an instruction (openai-to-kiro.ts).
258
+ const outputFormat = body.output_config?.format;
259
+ if (keepThinkingSignature && outputFormat && typeof outputFormat === "object") {
260
+ if (outputFormat.type === "json_schema" && outputFormat.schema) {
261
+ result.response_format = {
262
+ type: "json_schema",
263
+ json_schema: { name: "response", schema: outputFormat.schema },
264
+ };
265
+ } else if (outputFormat.type === "json_object" || outputFormat.type === "json") {
266
+ result.response_format = { type: "json_object" };
267
+ }
268
+ }
269
+
241
270
  // Reasoning effort: map Claude-side thinking controls to OpenAI reasoning_effort.
242
271
  // Priority: output_config.effort (Claude Code) > thinking.budget_tokens (Claude native).
243
272
  // Budget buckets match the reverse mapping in thinkingBudget.ts::setCustomBudget.
@@ -263,6 +292,11 @@ export function claudeToOpenAIRequest(model, body, stream, credentials: unknown
263
292
  } else {
264
293
  result.reasoning_effort = "xhigh";
265
294
  }
295
+ } else if (keepMaxEffort && body.thinking?.type === "disabled") {
296
+ // Kiro's newest models think on their own unless told otherwise: carry "thinking off"
297
+ // to the openai -> kiro step (Claude Code's helper calls, such as the auto-mode safety
298
+ // check, send it and expect a fast answer).
299
+ result.reasoning_effort = "none";
266
300
  }
267
301
 
268
302
  return result;
@@ -360,8 +394,90 @@ function fixMissingToolResponses(messages) {
360
394
  }
361
395
  }
362
396
 
397
+ /** "1-3, 5" for [1, 2, 3, 5]. */
398
+ function pageList(pages: number[]): string {
399
+ const out: string[] = [];
400
+ for (let i = 0; i < pages.length; i++) {
401
+ let j = i;
402
+ while (j + 1 < pages.length && pages[j + 1] === pages[j] + 1) j++;
403
+ out.push(j > i ? `${pages[i]}-${pages[j]}` : String(pages[i]));
404
+ i = j;
405
+ }
406
+ return out.join(", ");
407
+ }
408
+
409
+ type DocumentParts = { text: string; images: Array<{ mediaType: string; data: string }> };
410
+
411
+ /**
412
+ * A Claude `document` block for Kiro (no document input): a text document as text, a PDF as its
413
+ * extracted text plus the images of its scanned pages (open-sse/utils/pdfText.ts), else a note
414
+ * that it cannot be read. Text goes in the `<document>` layout Anthropic's prompting guide uses
415
+ * for long documents (a bare "[PDF ...]" header made the model treat a short page as a label).
416
+ */
417
+ function documentBlockParts(block): DocumentParts {
418
+ const source = block?.source || {};
419
+ const name =
420
+ typeof block?.title === "string" ? block.title.replace(/[<>\r\n]+/g, " ").trim() : "";
421
+ const titled = name ? ` "${name}"` : "";
422
+ const wrap = (kind: string, content: string, notes: string[] = []) =>
423
+ `<document>\n<source>${name ? `${name} (${kind})` : kind}</source>\n${notes.map((n) => `<note>${n}</note>\n`).join("")}<document_content>\n${content}\n</document_content>\n</document>`;
424
+ if (source.type === "text" && typeof source.data === "string") {
425
+ return { text: wrap("text document", source.data), images: [] };
426
+ }
427
+ if (
428
+ source.type === "base64" &&
429
+ source.media_type === "application/pdf" &&
430
+ typeof source.data === "string"
431
+ ) {
432
+ const pdf = extractPdfText(source.data);
433
+ const chars = pdf ? pdf.text.replace(/\s+/g, "").length : 0;
434
+ // Pages with images and under about 40 characters are scanned: their images go along.
435
+ const scanned = pdf?.images ? pdf.pageChars.flatMap((n, i) => (n < 40 ? [i + 1] : [])) : [];
436
+ const pageImages = scanned.length ? extractPdfPageImages(source.data, scanned) : null;
437
+ const images = (pageImages?.images || []).map((im) => ({
438
+ mediaType: im.mediaType,
439
+ data: im.data,
440
+ }));
441
+ if (pdf && (chars > 0 || images.length > 0)) {
442
+ const notes: string[] = [];
443
+ const attached = (pageImages?.images || []).map((im) => im.page);
444
+ if (attached.length) {
445
+ notes.push(
446
+ `Page${attached.length === 1 ? "" : "s"} ${pageList(attached)} ${attached.length === 1 ? "is a scanned image" : "are scanned images"}, attached as image${attached.length === 1 ? "" : "s"} after this document in page order.`
447
+ );
448
+ }
449
+ const missing = [
450
+ ...(pageImages?.unreadable || []),
451
+ ...scanned.slice(MAX_PDF_PAGE_IMAGES),
452
+ ].sort((a, b) => a - b);
453
+ if (missing.length) {
454
+ notes.push(
455
+ `Page${missing.length === 1 ? "" : "s"} ${pageList(missing)} ${missing.length === 1 ? "is an image" : "are images"} that could not be attached (format, size or count limit).`
456
+ );
457
+ }
458
+ return {
459
+ text: wrap(`PDF, ${pdf.pages} page${pdf.pages === 1 ? "" : "s"}`, pdf.text, notes),
460
+ images,
461
+ };
462
+ }
463
+ return {
464
+ text: `[A PDF file${titled} was attached here, but it has no readable text (scanned or protected). Tell the user if the answer depends on it.]`,
465
+ images: [],
466
+ };
467
+ }
468
+ return {
469
+ text: `[A ${source.media_type || "document"} file${titled} was attached here, but this model cannot read it. Tell the user if the answer depends on it.]`,
470
+ images: [],
471
+ };
472
+ }
473
+
363
474
  // Convert single Claude message - returns single message or array of messages
364
- function convertClaudeMessage(msg, preserveCacheControl = false) {
475
+ function convertClaudeMessage(
476
+ msg,
477
+ preserveCacheControl = false,
478
+ keepThinkingSignature = false,
479
+ kiroTarget = false
480
+ ) {
365
481
  // Preserve system role for mid-conversation system turns (#6954).
366
482
  // Previously any role that wasn't "user" or "tool" was mapped to "assistant",
367
483
  // which misattributed system messages as assistant output.
@@ -383,6 +499,8 @@ function convertClaudeMessage(msg, preserveCacheControl = false) {
383
499
  const toolCalls = [];
384
500
  const toolResults = [];
385
501
  let reasoningContent = null;
502
+ let reasoningSignature = "";
503
+ let reasoningRedacted = "";
386
504
 
387
505
  for (const block of msg.content) {
388
506
  switch (block.type) {
@@ -417,12 +535,62 @@ function convertClaudeMessage(msg, preserveCacheControl = false) {
417
535
 
418
536
  case "thinking":
419
537
  reasoningContent = block.thinking || block.text || "";
538
+ // The signature belongs to the block whose text is kept (the last one).
539
+ reasoningSignature =
540
+ keepThinkingSignature && typeof block.signature === "string" ? block.signature : "";
420
541
  break;
421
542
 
422
543
  case "redacted_thinking":
423
544
  if (reasoningContent == null) {
424
545
  reasoningContent = "";
425
546
  }
547
+ // Kiro's encrypted reasoning goes back to Kiro unchanged (redactedContent).
548
+ if (keepThinkingSignature && typeof block.data === "string" && block.data) {
549
+ reasoningRedacted = block.data;
550
+ }
551
+ break;
552
+
553
+ // Earlier web search turns (Anthropic's server tool, or TRouteAI's own run of it):
554
+ // upstreams without these block types get them as text, so the results stay in the
555
+ // conversation instead of disappearing.
556
+ case "server_tool_use":
557
+ case "web_search_tool_result": {
558
+ const text = webSearchBlockToText(block);
559
+ if (text) parts.push({ type: "text", text });
560
+ break;
561
+ }
562
+
563
+ // An earlier web fetch (the real tool's result, or TRouteAI's run of it): the page as
564
+ // text, a PDF through the same path as a document block.
565
+ case "web_fetch_tool_result": {
566
+ const res = (block.content || {}) as Record<string, unknown>;
567
+ if (res.type !== "web_fetch_result") {
568
+ const code = typeof res.error_code === "string" ? res.error_code : "";
569
+ parts.push({ type: "text", text: `[The web fetch failed${code ? `: ${code}` : ""}]` });
570
+ break;
571
+ }
572
+ const doc = (res.content || {}) as Record<string, unknown>;
573
+ const url = typeof res.url === "string" ? res.url : "";
574
+ const fetched = documentBlockParts({ ...doc, title: doc.title || url });
575
+ // Text only: this block sits in an assistant turn, which takes no images.
576
+ parts.push({ type: "text", text: `[Fetched ${url}]\n${fetched.text}` });
577
+ break;
578
+ }
579
+
580
+ // Kiro has no document input (CodeWhisperer's user message takes text and images only):
581
+ // a text document goes in as text, a PDF as its extracted text (or, with no text, a
582
+ // note that it was attached and cannot be read).
583
+ case "document":
584
+ if (kiroTarget) {
585
+ const doc = documentBlockParts(block);
586
+ parts.push({ type: "text", text: doc.text });
587
+ for (const im of doc.images) {
588
+ parts.push({
589
+ type: "image_url",
590
+ image_url: { url: `data:${im.mediaType};base64,${im.data}` },
591
+ });
592
+ }
593
+ }
426
594
  break;
427
595
 
428
596
  case "tool_use":
@@ -460,6 +628,19 @@ function convertClaudeMessage(msg, preserveCacheControl = false) {
460
628
  },
461
629
  });
462
630
  hasImage = true;
631
+ } else if (c.type === "document") {
632
+ // Claude Code's Read tool returns a PDF this way (and TRouteAI's web fetch a
633
+ // page); as JSON it would put the whole base64 file into the prompt. Every
634
+ // OpenAI-format target gets the text (and scanned pages as images).
635
+ const doc = documentBlockParts(c);
636
+ textParts.push(doc.text);
637
+ for (const im of doc.images) {
638
+ parts.push({
639
+ type: "image_url",
640
+ image_url: { url: `data:${im.mediaType};base64,${im.data}` },
641
+ });
642
+ hasImage = true;
643
+ }
463
644
  }
464
645
  }
465
646
  resultContent =
@@ -496,6 +677,8 @@ function convertClaudeMessage(msg, preserveCacheControl = false) {
496
677
  result.tool_calls = toolCalls;
497
678
  if (reasoningContent !== null) {
498
679
  result.reasoning_content = reasoningContent;
680
+ if (reasoningSignature) result.reasoning_signature = reasoningSignature;
681
+ if (reasoningRedacted) result.reasoning_redacted = reasoningRedacted;
499
682
  }
500
683
  return result;
501
684
  }
@@ -508,6 +691,8 @@ function convertClaudeMessage(msg, preserveCacheControl = false) {
508
691
  };
509
692
  if (reasoningContent !== null && role === "assistant") {
510
693
  result.reasoning_content = reasoningContent;
694
+ if (reasoningSignature) result.reasoning_signature = reasoningSignature;
695
+ if (reasoningRedacted) result.reasoning_redacted = reasoningRedacted;
511
696
  }
512
697
  return result;
513
698
  }
@@ -522,7 +707,13 @@ function convertClaudeMessage(msg, preserveCacheControl = false) {
522
707
  }
523
708
 
524
709
  if (reasoningContent !== null && role === "assistant") {
525
- return { role, content: "", reasoning_content: reasoningContent };
710
+ return {
711
+ role,
712
+ content: "",
713
+ reasoning_content: reasoningContent,
714
+ ...(reasoningSignature ? { reasoning_signature: reasoningSignature } : {}),
715
+ ...(reasoningRedacted ? { reasoning_redacted: reasoningRedacted } : {}),
716
+ };
526
717
  }
527
718
  }
528
719
 
@@ -11,7 +11,11 @@ import {
11
11
  normalizeKiroToolSchema,
12
12
  serializeToolResultContent,
13
13
  } from "./openai-to-kiro/messageHelpers.ts";
14
- import { kiroEffortForModel, resolveKiroModelAlias } from "./openai-to-kiro/adaptiveThinking.ts";
14
+ import {
15
+ kiroEffortForModel,
16
+ resolveKiroModelAlias,
17
+ supportsKiroAdaptiveThinking,
18
+ } from "./openai-to-kiro/adaptiveThinking.ts";
15
19
 
16
20
  /**
17
21
  * Anthropic's direct-provider `[1m]` context-1m beta suffix. Kiro is AWS
@@ -51,10 +55,37 @@ function convertMessages(messages, tools, model) {
51
55
  let history = [];
52
56
  let currentMessage = null;
53
57
 
58
+ // Kiro caches a prompt prefix up to a message boundary (measured 2026-11-10 with a 140 KB
59
+ // prompt sent again: 47% fewer credits on Sonnet 5, 66-72% on Opus 5.5). A system prompt in a
60
+ // request without earlier turns (Claude Code's auto-mode check, session titles, a subagent's
61
+ // first call) used to land in the current message together with the question and the time
62
+ // line, so it was never cached. As its own first turn it is, whatever the question.
63
+ const firstNonSystem = Array.isArray(messages)
64
+ ? messages.findIndex((m) => m?.role !== "system")
65
+ : -1;
66
+ // Every request with a system prompt gets it as its own first turn (measured 2026-11-10,
67
+ // kiro-session-cache-probe.mts: a session's second call then reuses the first call's cached
68
+ // system prompt, 0.075 instead of 0.135 credits on Sonnet 5; before, only calls without an
69
+ // assistant turn were split). TROUTEAI_KIRO_SPLIT_SYSTEM=first restores the old rule.
70
+ const splitSystemTurn =
71
+ firstNonSystem > 0 &&
72
+ (process.env.TROUTEAI_KIRO_SPLIT_SYSTEM !== "first" ||
73
+ !messages.some((m) => m?.role === "assistant"));
74
+ if (splitSystemTurn) {
75
+ messages = [
76
+ ...messages.slice(0, firstNonSystem),
77
+ { role: "assistant", content: "(empty)" },
78
+ ...messages.slice(firstNonSystem),
79
+ ];
80
+ }
81
+
54
82
  let pendingUserContent = [];
55
83
  let pendingAssistantContent = [];
56
84
  let pendingToolResults = [];
57
85
  let pendingImages: Array<{ format: string; source: { bytes: string } }> = [];
86
+ // Earlier reasoning for the next assistant history entry: signed text, or Kiro's encrypted
87
+ // (redacted) reasoning.
88
+ let pendingReasoning: { text: string; signature: string } | { redacted: string } | null = null;
58
89
  let currentRole = null;
59
90
  let toolsAttached = false;
60
91
 
@@ -86,7 +117,6 @@ function convertMessages(messages, tools, model) {
86
117
  tools?: Array<Record<string, unknown>>;
87
118
  };
88
119
  };
89
- _toolDocs?: string;
90
120
  } = {
91
121
  userInputMessage: {
92
122
  content: content,
@@ -144,9 +174,12 @@ function convertMessages(messages, tools, model) {
144
174
  },
145
175
  };
146
176
  });
147
- // Attach tool docs to message so buildKiroPayload can prepend to content
177
+ // The long descriptions go into this first user turn: the system prompt's own turn when
178
+ // there is one (the descriptions point there), which stays the same for the whole
179
+ // session, so Kiro caches it. They used to ride on the current message only and were
180
+ // lost in every conversation with history (Claude Code's Bash tool: 10,748 characters).
148
181
  if (toolDocs.length > 0) {
149
- userMsg._toolDocs = toolDocs.join("\n\n---\n\n");
182
+ userMsg.userInputMessage.content = `${userMsg.userInputMessage.content}\n\n# Tool Documentation\n\n${toolDocs.join("\n\n---\n\n")}`;
150
183
  }
151
184
  toolsAttached = true;
152
185
  }
@@ -158,13 +191,25 @@ function convertMessages(messages, tools, model) {
158
191
  pendingImages = [];
159
192
  } else if (currentRole === "assistant") {
160
193
  const content = pendingAssistantContent.join("\n\n").trim() || "(empty)";
194
+ // Earlier thinking goes back with its signature, in the shape of AWS's CodeWhisperer
195
+ // AssistantResponseMessage.reasoningContent (one per message). Kiro checks the signature
196
+ // and hands the block to the model (measured 2026-11-10, ai/smoke/kiro-reasoning-probe.mts).
161
197
  const assistantMsg = {
162
198
  assistantResponseMessage: {
163
199
  content: content,
200
+ ...(pendingReasoning
201
+ ? {
202
+ reasoningContent:
203
+ "redacted" in pendingReasoning
204
+ ? { redactedContent: pendingReasoning.redacted }
205
+ : { reasoningText: pendingReasoning },
206
+ }
207
+ : {}),
164
208
  },
165
209
  };
166
210
  history.push(assistantMsg);
167
211
  pendingAssistantContent = [];
212
+ pendingReasoning = null;
168
213
  }
169
214
  };
170
215
 
@@ -277,6 +322,28 @@ function convertMessages(messages, tools, model) {
277
322
  toolUses = msg.tool_calls;
278
323
  }
279
324
 
325
+ // Signed thinking from an earlier Kiro answer (claude -> openai keeps it only for Kiro).
326
+ // Unsigned reasoning is not sent: Kiro answers 400 "thinking.signature: Field required".
327
+ // TROUTEAI_KIRO_SEND_THINKING=0 switches this off (the behaviour before 2026-11-10).
328
+ if (
329
+ !pendingReasoning &&
330
+ process.env.TROUTEAI_KIRO_SEND_THINKING !== "0" &&
331
+ typeof msg.reasoning_signature === "string" &&
332
+ msg.reasoning_signature !== ""
333
+ ) {
334
+ pendingReasoning = {
335
+ text: typeof msg.reasoning_content === "string" ? msg.reasoning_content : "",
336
+ signature: msg.reasoning_signature,
337
+ };
338
+ } else if (
339
+ !pendingReasoning &&
340
+ process.env.TROUTEAI_KIRO_SEND_THINKING !== "0" &&
341
+ typeof msg.reasoning_redacted === "string" &&
342
+ msg.reasoning_redacted !== ""
343
+ ) {
344
+ pendingReasoning = { redacted: msg.reasoning_redacted };
345
+ }
346
+
280
347
  if (textContent) {
281
348
  pendingAssistantContent.push(textContent);
282
349
  }
@@ -461,6 +528,14 @@ function convertMessages(messages, tools, model) {
461
528
  ...item.assistantResponseMessage.toolUses,
462
529
  ];
463
530
  }
531
+ // One reasoningContent per message: the first one stays.
532
+ if (
533
+ item.assistantResponseMessage.reasoningContent &&
534
+ !previous.assistantResponseMessage.reasoningContent
535
+ ) {
536
+ previous.assistantResponseMessage.reasoningContent =
537
+ item.assistantResponseMessage.reasoningContent;
538
+ }
464
539
  } else {
465
540
  mergedHistory.push(item);
466
541
  }
@@ -574,9 +649,44 @@ function convertMessages(messages, tools, model) {
574
649
  alternatingHistory.push(item);
575
650
  }
576
651
 
652
+ // The split system turn and its "(empty)" answer are not the conversation's first message:
653
+ // the conversationId is still derived from the real question, as before.
654
+ if (splitSystemTurn) {
655
+ for (const item of alternatingHistory.slice(0, 2)) {
656
+ Object.defineProperty(item, "__synthetic", {
657
+ value: true,
658
+ enumerable: false,
659
+ configurable: true,
660
+ });
661
+ }
662
+ }
663
+
577
664
  return { history: alternatingHistory, currentMessage, toolsAttached };
578
665
  }
579
666
 
667
+ /** The instruction that stands in for OpenAI's `response_format` (JSON schema / JSON object). */
668
+ function kiroJsonOutputInstruction(responseFormat: unknown): string {
669
+ const rf = responseFormat as
670
+ { type?: unknown; json_schema?: { schema?: unknown } } | null | undefined;
671
+ if (!rf || typeof rf !== "object") return "";
672
+ if (rf.type === "json_schema" && rf.json_schema?.schema) {
673
+ let schema = "";
674
+ try {
675
+ schema = JSON.stringify(rf.json_schema.schema);
676
+ } catch {
677
+ return "";
678
+ }
679
+ return (
680
+ "Reply with exactly one JSON value that matches this JSON Schema, and nothing else: no code " +
681
+ `fence, no text before or after it.\nSchema: ${schema}`
682
+ );
683
+ }
684
+ if (rf.type === "json_object") {
685
+ return "Reply with exactly one JSON object and nothing else: no code fence, no text before or after it.";
686
+ }
687
+ return "";
688
+ }
689
+
580
690
  /** Kiro's accepted reasoning-effort levels (`output_config.effort`). */
581
691
  const KIRO_EFFORT_LEVELS = ["low", "medium", "high", "xhigh", "max"];
582
692
 
@@ -732,15 +842,13 @@ export function buildKiroPayload(model, body, stream, credentials) {
732
842
  const profileArn = credentials?.providerSpecificData?.profileArn || "";
733
843
 
734
844
  let finalContent = currentMessage?.userInputMessage?.content || "";
845
+ // Kiro has no structured-output field: a JSON answer is asked for in words (measured
846
+ // 2026-11-10: Sonnet 5, Haiku 5.5, Opus 5.5 answered valid schema JSON 6 of 6 times).
847
+ const jsonInstruction = kiroJsonOutputInstruction(body.response_format);
848
+ if (jsonInstruction) finalContent = `${finalContent}\n\n${jsonInstruction}`.trim();
735
849
  const timestamp = new Date().toISOString();
736
850
  finalContent = `[Context: Current time is ${timestamp}]\n\n${finalContent}`;
737
851
 
738
- // Prepend tool documentation for tools with long descriptions (moved from toolSpecification)
739
- const toolDocs = (currentMessage as { _toolDocs?: string } | null)?._toolDocs;
740
- if (toolDocs) {
741
- finalContent = `# Tool Documentation\n\n${toolDocs}\n\n---\n\n${finalContent}`;
742
- }
743
-
744
852
  const payload: {
745
853
  conversationState: {
746
854
  chatTriggerType: string;
@@ -818,8 +926,13 @@ export function buildKiroPayload(model, body, stream, credentials) {
818
926
  : ""
819
927
  : "";
820
928
  const firstRealUserTurn = history.find((h) => h?.userInputMessage?.content && !h.__synthetic);
929
+ // Without a history the question itself (not finalContent, which starts with the changing
930
+ // time line) seeds the id, so call 1 and call 2 of a session get the same one.
821
931
  const firstContent =
822
- seedFromPreCompression || firstRealUserTurn?.userInputMessage?.content || finalContent;
932
+ seedFromPreCompression ||
933
+ firstRealUserTurn?.userInputMessage?.content ||
934
+ currentMessage?.userInputMessage?.content ||
935
+ finalContent;
823
936
 
824
937
  // Use uuidv5 with the hash of the system prompt / first message to maintain AWS Builder ID context cache
825
938
  payload.conversationState.conversationId = uuidv5(
@@ -888,7 +1001,48 @@ export function buildKiroPayload(model, body, stream, credentials) {
888
1001
  }
889
1002
  }
890
1003
 
1004
+ // Kiro ignores `inferenceConfig.maxTokens` and has no stop sequences (measured 2026-11-10:
1005
+ // max 1 still answers in full). The executor applies both to the answer itself; this field
1006
+ // never leaves TRouteAI (the executor's transformRequest only forwards Kiro's own fields).
1007
+ const clientStop = (Array.isArray(body.stop) ? body.stop : [body.stop]).filter(
1008
+ (s: unknown): s is string => typeof s === "string" && s.length > 0
1009
+ );
1010
+ const clientMaxTokens = Number(body.max_tokens ?? body.max_completion_tokens);
1011
+ if (clientStop.length > 0 || clientMaxTokens > 0) {
1012
+ (payload as Record<string, unknown>)._clientLimits = {
1013
+ ...(clientStop.length > 0 ? { stop: clientStop } : {}),
1014
+ ...(clientMaxTokens > 0 ? { maxTokens: Math.floor(clientMaxTokens) } : {}),
1015
+ };
1016
+ }
1017
+
1018
+ // Thinking switched off by the client (`reasoning_effort: "none"`, Anthropic
1019
+ // `thinking: {type: "disabled"}`). Kiro's schema only knows "adaptive" (a "disabled" value
1020
+ // gets 400), and without any field Opus 5.5 thinks by itself: measured 2026-11-10 on a
1021
+ // 140 KB prompt, 8.5-10.5 s with a reasoning block against 4.9 s with the lowest effort and
1022
+ // hidden thinking. So that is what "off" becomes; every model of the table accepts it.
1023
+ if (!kiroEffort && !requestedEffort && isKiroThinkingSwitchedOff(body)) {
1024
+ if (supportsKiroAdaptiveThinking(normalizedModel)) {
1025
+ payload.additionalModelRequestFields = {
1026
+ output_config: { effort: "low" },
1027
+ thinking: { type: "adaptive", display: "omitted" },
1028
+ };
1029
+ if (payload.inferenceConfig) {
1030
+ delete payload.inferenceConfig.temperature;
1031
+ delete payload.inferenceConfig.topP;
1032
+ if (Object.keys(payload.inferenceConfig).length === 0) delete payload.inferenceConfig;
1033
+ }
1034
+ }
1035
+ }
1036
+
891
1037
  return payload;
892
1038
  }
893
1039
 
1040
+ function isKiroThinkingSwitchedOff(body: Record<string, unknown>): boolean {
1041
+ if (typeof body.reasoning_effort === "string") {
1042
+ return body.reasoning_effort.toLowerCase() === "none";
1043
+ }
1044
+ const thinking = body.thinking as Record<string, unknown> | undefined;
1045
+ return !!thinking && typeof thinking === "object" && thinking.type === "disabled";
1046
+ }
1047
+
894
1048
  register(FORMATS.OPENAI, FORMATS.KIRO, buildKiroPayload, null);
@@ -13,6 +13,22 @@ import { fallbackToolCallId } from "../helpers/toolCallHelper.ts";
13
13
  export function convertKiroToOpenAI(chunk, state) {
14
14
  if (!chunk) return null;
15
15
 
16
+ // An error inside the answer (the executor's `{error}` chunk: an EventStream exception, or an
17
+ // answer cut off before Kiro's stop reason). The stream ends with this error in the client's
18
+ // format (stream.ts flush, `inband`), not with a normal finish.
19
+ if (chunk.error && typeof chunk.error === "object" && !chunk.choices) {
20
+ const e = chunk.error;
21
+ const status = Number(e.status);
22
+ state.upstreamError = {
23
+ status: status >= 400 && status <= 599 ? status : 502,
24
+ type: typeof e.type === "string" ? e.type : "api_error",
25
+ code: typeof e.code === "string" ? e.code : "kiro_stream_error",
26
+ message: typeof e.message === "string" ? e.message : "Kiro stopped the answer",
27
+ inband: true,
28
+ };
29
+ return null;
30
+ }
31
+
16
32
  // If chunk is already in OpenAI format (from executor transform), return as-is
17
33
  if (chunk.object === "chat.completion.chunk" && chunk.choices) {
18
34
  return chunk;