nolo-cli 0.228.0-alpha.2 → 0.228.1

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 (260) hide show
  1. package/README.md +3 -5
  2. package/{_executeModel-VYCHHZVT.js → _executeModel-AKCTHGMP.js} +89 -83
  3. package/{accountResolver-QETKNC7T.js → accountResolver-NGICIMEE.js} +1 -1
  4. package/{action-GDZDXPMB.js → action-C6IQAKN4.js} +8 -5
  5. package/{addContentAction-7RO4AMRI.js → addContentAction-53364YDW.js} +13 -12
  6. package/{addDialogAgentAction-EVYBGTXB.js → addDialogAgentAction-U5DD5EN5.js} +16 -15
  7. package/{agentDeleteCommand-QWQKT54A.js → agentDeleteCommand-2E5FAGUO.js} +128 -115
  8. package/{agentEmailCommands-EISMBIRE.js → agentEmailCommands-UGZZAH7E.js} +128 -111
  9. package/{agentListCommands-4WLG32IW.js → agentListCommands-JCTW3J2K.js} +398 -179
  10. package/{agentMachineCommands-DC6NKWTU.js → agentMachineCommands-QPG5ZXF4.js} +58 -47
  11. package/{agentProviderCommands-STI3DQ6A.js → agentProviderCommands-QLTABYR7.js} +2 -2
  12. package/{agentPullCommand-KHV4EELF.js → agentPullCommand-2EYJ5ENC.js} +1 -1
  13. package/agentRecordCommands-4NTVR6MZ.js +194 -0
  14. package/agentRunCommand-VHF34PYC.js +232 -0
  15. package/{agentRunControl-MBG4U6SL.js → agentRunControl-QYTXUQGY.js} +14 -9
  16. package/{agentRuntimeLocal-HOXKWCYO.js → agentRuntimeLocal-U54AKHXH.js} +58 -43
  17. package/{agentSlice-UG76KEBH.js → agentSlice-4JGDEXWK.js} +14 -13
  18. package/{appDeleteCommands-WWCC6WA5.js → appDeleteCommands-XBE5QJ6P.js} +58 -47
  19. package/{appDeployCommands-AU4IUN33.js → appDeployCommands-QIYLXXGA.js} +58 -47
  20. package/{appDeployStatusCommands-STUW7WXL.js → appDeployStatusCommands-JXS6ZQZZ.js} +58 -47
  21. package/{appGetCommands-BGTLIQ4K.js → appGetCommands-SZS7SJPK.js} +58 -47
  22. package/{appListCommands-CUCPRUXW.js → appListCommands-B3GBJSNV.js} +58 -47
  23. package/{authCommand-OZ2KTP4Z.js → authCommand-V6EOMZX6.js} +25 -19
  24. package/{authCommands-55OGQGCR.js → authCommands-T5FODCEG.js} +12 -6
  25. package/{builtinSkillRegistry-BAE2LDXF.js → builtinSkillRegistry-ZQC3IIO2.js} +8 -7
  26. package/{chromeCommands-G5UDKVSV.js → chromeCommands-O4IIKTBD.js} +384 -7
  27. package/{chromeOpsCommands-WAA45NCS.js → chromeOpsCommands-OFX7ZGKP.js} +3 -3
  28. package/{chunk-DBUR22G5.js → chunk-223KZUJ6.js} +19 -15
  29. package/{chunk-3U44JB3O.js → chunk-2C5VN7NH.js} +1 -1
  30. package/{chunk-PWTNI4N7.js → chunk-2E4BYAUE.js} +22 -0
  31. package/{chunk-L32W3PRP.js → chunk-2FZVXOFX.js} +234 -18
  32. package/{chunk-HBRDSQ3M.js → chunk-2JHGUL5K.js} +3 -2
  33. package/chunk-2SXN7LAY.js +15 -0
  34. package/chunk-3A5NNQCN.js +64 -0
  35. package/chunk-3F2FRLIO.js +372 -0
  36. package/{chunk-DEA37IUY.js → chunk-46FETNLF.js} +2 -2
  37. package/{chunk-ZEVQHCLM.js → chunk-4GYVS4PM.js} +8 -6
  38. package/{chunk-CBUZ6DKA.js → chunk-4YPH5KRA.js} +1 -1
  39. package/chunk-4ZCTKB27.js +31 -0
  40. package/chunk-53W5BXLN.js +340 -0
  41. package/{chunk-7FEP5USX.js → chunk-5AYP5QBB.js} +5 -5
  42. package/{chunk-XAG3FWBE.js → chunk-5ISNPTQH.js} +5 -5
  43. package/{chunk-EVGU5P4U.js → chunk-5P3PPQVP.js} +1 -1
  44. package/{chunk-XSW4EXQV.js → chunk-6BMTKYAO.js} +55 -18
  45. package/chunk-6PAHSSD2.js +33401 -0
  46. package/{chunk-ZOHO6MOF.js → chunk-6RSNVJGO.js} +2 -99
  47. package/{chunk-7JGMNKKG.js → chunk-6SOWMEAY.js} +30 -9
  48. package/{chunk-RG2DGNL6.js → chunk-6VEO7Z3Y.js} +3 -3
  49. package/{chunk-PDCV7P5W.js → chunk-6XIE5ZGI.js} +1 -1
  50. package/{chunk-DGYCDA6W.js → chunk-7BIJFGKS.js} +36 -17
  51. package/{chunk-WFDNADFX.js → chunk-7OVOZRZF.js} +8 -8
  52. package/{chunk-WCFFRBL5.js → chunk-7PON4LBY.js} +45 -27
  53. package/{chunk-QRGDJA4B.js → chunk-7WHCIA5V.js} +33 -7
  54. package/{chunk-CMMI3DAT.js → chunk-ADYWV732.js} +59 -30
  55. package/{chunk-QYB23WUH.js → chunk-AIFQKNPP.js} +1 -1
  56. package/{chunk-HGDKT2D6.js → chunk-BPB3T5EU.js} +174 -1
  57. package/{chunk-DUUDXSLX.js → chunk-BZLGPM5B.js} +28 -4
  58. package/{chunk-ATEKLSLR.js → chunk-BZMDWGQQ.js} +14 -9
  59. package/chunk-C5A54QS7.js +108 -0
  60. package/{chunk-S6K5F3KP.js → chunk-CEKRIR22.js} +1 -1
  61. package/{chunk-42OKN2LI.js → chunk-D634SL2Y.js} +9 -107
  62. package/{chunk-DLXMMTGM.js → chunk-DHRPLRIR.js} +1283 -786
  63. package/{chunk-LKA64WH4.js → chunk-DMPZMYH4.js} +37 -1
  64. package/{chunk-OBIC6EG7.js → chunk-DNNPARJK.js} +9 -5
  65. package/{chunk-X3E6EHJW.js → chunk-E3LSO6EI.js} +292 -207
  66. package/{chunk-OQHIVPG4.js → chunk-E6A5NHDH.js} +4 -1
  67. package/chunk-EHFBP6IK.js +791 -0
  68. package/chunk-EJQE5HB7.js +21 -0
  69. package/{chunk-VQ5N5GSV.js → chunk-EL5NRJHI.js} +4 -4
  70. package/chunk-EUGTFFO6.js +42 -0
  71. package/{chunk-7BCG67EI.js → chunk-EVHTYVD2.js} +1199 -442
  72. package/{chunk-6XRPBZRS.js → chunk-EYLGAEB4.js} +0 -134
  73. package/{chunk-262R3XNN.js → chunk-FEIVARWR.js} +377 -112
  74. package/{chunk-3VZLEKV2.js → chunk-FLBJ7IJI.js} +14 -14
  75. package/{chunk-EEOOBRA7.js → chunk-FXEPZKNJ.js} +13 -6
  76. package/{chunk-XTJKU3Z4.js → chunk-FYAMUU55.js} +677 -140
  77. package/{chunk-M3OZRQNH.js → chunk-FZANZZ63.js} +1 -1
  78. package/chunk-GAHJLSDO.js +107 -0
  79. package/{chunk-WWTSEBDF.js → chunk-GIXWVN2W.js} +1 -1
  80. package/{chunk-4N6G2CKP.js → chunk-HDKMVYNJ.js} +47 -1
  81. package/chunk-HEVRQGGH.js +106 -0
  82. package/{chunk-BIWI5M4E.js → chunk-HFHJPHFK.js} +1 -1
  83. package/{chunk-R6Z5S5GA.js → chunk-HPDLPEUG.js} +60 -17
  84. package/{chunk-YKY4OVOX.js → chunk-HQUGB2HM.js} +17 -170
  85. package/chunk-IIRJ4P4I.js +24 -0
  86. package/chunk-IVK2KT3H.js +209 -0
  87. package/{chunk-ALAES342.js → chunk-IYLUK67R.js} +9 -5
  88. package/{chunk-N5Z2V73W.js → chunk-J55F3IEZ.js} +1 -1
  89. package/{chunk-S6FDXXZV.js → chunk-J7JRCOIW.js} +2 -2
  90. package/{chunk-OWKNSIXL.js → chunk-JAKRY74O.js} +470 -83
  91. package/{chunk-VS276URX.js → chunk-JCQ3WCQ3.js} +4 -2
  92. package/chunk-JLZJL3WC.js +988 -0
  93. package/{chunk-OBSEKCVK.js → chunk-JPXACKSW.js} +219 -52
  94. package/{chunk-OTKSESZR.js → chunk-KDBDOXOM.js} +138 -54
  95. package/{chunk-VP3BINY7.js → chunk-KDDHQMSH.js} +31 -1
  96. package/{chunk-RBPUNSG5.js → chunk-KG27JIG4.js} +18 -108
  97. package/{chunk-4WVJLODK.js → chunk-KHYSFS3W.js} +88 -7
  98. package/{chunk-TCZ2VJZQ.js → chunk-KKIQAVDR.js} +9 -9
  99. package/{chunk-4JVNURX4.js → chunk-KQHEGELM.js} +68 -16
  100. package/chunk-KXOPLLFP.js +190 -0
  101. package/{chunk-HS7MLR74.js → chunk-KZ4A7EIV.js} +3 -5
  102. package/{chunk-HYLRQDEE.js → chunk-LLUBUHNT.js} +6 -6
  103. package/{chunk-QJTZ76CP.js → chunk-LS5KAVFQ.js} +1 -0
  104. package/{chunk-RTHFJZ6M.js → chunk-LVZVSLKO.js} +29 -9
  105. package/{chunk-TI2EPRHE.js → chunk-MNFUKRRU.js} +3 -3
  106. package/chunk-MVOZ22RZ.js +26 -0
  107. package/{chunk-CNMY2XM6.js → chunk-O3A2CHAL.js} +6 -6
  108. package/{chunk-TSPMLCWI.js → chunk-OB4FBZXJ.js} +5 -5
  109. package/{chunk-LYD6C7OU.js → chunk-OJSJJKHF.js} +6 -6
  110. package/{chunk-M4SFKP5L.js → chunk-OKAXQFON.js} +3 -3
  111. package/{chunk-CD3RU7XL.js → chunk-OKH74FML.js} +121 -14
  112. package/{chunk-U2HBB7RS.js → chunk-OOV5JN25.js} +130 -30
  113. package/{chunk-ZH3KXFHS.js → chunk-OOVOAG4Q.js} +1 -1
  114. package/chunk-OQFOE4SJ.js +405 -0
  115. package/{chunk-M3JEW6N6.js → chunk-OYUMJMC5.js} +15 -0
  116. package/chunk-P27E22MA.js +203 -0
  117. package/{chunk-SRCCSTIM.js → chunk-P4R5KXU7.js} +4 -4
  118. package/{chunk-FJ23FZXF.js → chunk-PHREU2KZ.js} +5 -3
  119. package/{chunk-HSSBDZLD.js → chunk-PIVTQRX6.js} +43 -13
  120. package/{chunk-XFXFPUO7.js → chunk-PJL7OJRC.js} +13 -39
  121. package/{chunk-RRDRQOEC.js → chunk-PNLDLUMO.js} +276 -303
  122. package/{chunk-4I2MXV5Q.js → chunk-PVFYPUIM.js} +2 -0
  123. package/{chunk-HHFGE2WF.js → chunk-QGFLVQ6E.js} +5 -5
  124. package/{chunk-EGHP7KOY.js → chunk-QONAOHVW.js} +38 -29
  125. package/chunk-R3FZHW4Q.js +103 -0
  126. package/{chunk-ZYKJBRZ3.js → chunk-R3MV2GII.js} +1 -47
  127. package/chunk-R72QWIFO.js +50 -0
  128. package/{chunk-5FUN7EG4.js → chunk-RD3QLZQV.js} +83 -47
  129. package/{chunk-ILHQ2AXT.js → chunk-RIWKZT7E.js} +36 -8
  130. package/{chunk-OOJNQK6V.js → chunk-S25VJYXV.js} +8 -2
  131. package/{chunk-45CAVC35.js → chunk-S7H4KTMB.js} +2568 -337
  132. package/{chunk-OJ45MEEI.js → chunk-SA356NGW.js} +1 -1
  133. package/{chunk-F6Z6ZCUV.js → chunk-SCAC3NM5.js} +3 -3
  134. package/{chunk-YVFH2MFB.js → chunk-SLUN7W6S.js} +7 -7
  135. package/chunk-SQL7YNED.js +650 -0
  136. package/chunk-SR4FE5VD.js +9 -0
  137. package/{chunk-HF7BLF3F.js → chunk-SSOR2EDT.js} +107 -104
  138. package/chunk-TRRXYFTR.js +46 -0
  139. package/{chunk-3QIYD3VM.js → chunk-TUOHSUK5.js} +20068 -18402
  140. package/chunk-TYJCIA2O.js +835 -0
  141. package/{chunk-S2NTVGA2.js → chunk-U35UUM5K.js} +2 -1
  142. package/{chunk-GAYNXB6T.js → chunk-U3BUWDUP.js} +1031 -2155
  143. package/{chunk-BP5ZJ6B4.js → chunk-U6QNVOR5.js} +1 -1
  144. package/{chunk-UAIHKQIA.js → chunk-U6RD332P.js} +18 -2
  145. package/chunk-UAF5VQCE.js +77 -0
  146. package/{chunk-TQEKUOTI.js → chunk-UFGUJ2IH.js} +12 -12
  147. package/{chunk-VMJVAJ6W.js → chunk-UP7KBWLE.js} +109 -33
  148. package/{chunk-2X7WFDT6.js → chunk-UUCYUN6Y.js} +1 -1
  149. package/{chunk-5YMA6DDZ.js → chunk-UZKBVQUX.js} +1 -1
  150. package/chunk-V5TI7HJH.js +133 -0
  151. package/{chunk-WFGNWWJI.js → chunk-VH7UO6E5.js} +252 -114
  152. package/{chunk-MNEZUL5S.js → chunk-VJFDG3ZG.js} +63 -94
  153. package/{chunk-G7IUT2V3.js → chunk-WC3J5SL2.js} +635 -350
  154. package/{chunk-HXB4VDGK.js → chunk-WD5547ZF.js} +33 -30
  155. package/chunk-WDWZPASX.js +29 -0
  156. package/{chunk-4ZGPHFLE.js → chunk-WS36XPJD.js} +2 -2
  157. package/{chunk-6QHKRARD.js → chunk-WSLL7VV4.js} +29 -5
  158. package/chunk-XRGBJHZX.js +136 -0
  159. package/{chunk-MZG5CETE.js → chunk-Y2KWJTOZ.js} +4 -4
  160. package/{dialogUsageCommand-W2WCSGKF.js → chunk-Y2TCTNUD.js} +27 -20
  161. package/chunk-YJPK35HB.js +175 -0
  162. package/{chunk-6OVNSQHN.js → chunk-YLAHYLDQ.js} +5 -0
  163. package/{chunk-547ENH5T.js → chunk-YN23INFZ.js} +4 -4
  164. package/{chunk-4QYJPWHH.js → chunk-YXK3GJF5.js} +232 -10
  165. package/{chunk-MJI3UAXN.js → chunk-Z2OWAYMI.js} +77 -51
  166. package/{chunk-7Z6EW7AH.js → chunk-ZTHAJU3O.js} +106 -14
  167. package/{chunk-YFLVRVYK.js → chunk-ZYPXOQS2.js} +1 -1
  168. package/{cliAgentConfigHelpers-BTRHMPW2.js → cliAgentConfigHelpers-BXHQ3PXP.js} +9 -9
  169. package/{cliAuthorityBrokerClient-XHH7MH2P.js → cliAuthorityBrokerClient-TFNXJLXL.js} +1 -1
  170. package/cliAuthorityBrokerProcess-5ZFBTHLB.js +22 -0
  171. package/cliLocalAgentRecordReader-47PXMHPH.js +104 -0
  172. package/{commandRegistry-FVYPE2IN.js → commandRegistry-CTMPAQH2.js} +111 -162
  173. package/{contentThunks-GNFPG32S.js → contentThunks-CAHIIZO5.js} +38 -36
  174. package/{cooldownCommands-YB5H5BBK.js → cooldownCommands-WDOI5VD7.js} +3 -3
  175. package/{createAgentAutomationAction-PB4QIFQ4.js → createAgentAutomationAction-M25XZSPD.js} +38 -36
  176. package/{createDialogAction-EVTOPY7A.js → createDialogAction-4SN7FKI7.js} +39 -37
  177. package/{createPageAction-2UYF2IDZ.js → createPageAction-N7QPDN3M.js} +43 -41
  178. package/{db-M7FU2GNK.js → db-VR74ADGC.js} +7 -2
  179. package/{dbSlice-XRUZOGSU.js → dbSlice-RWPSVHBC.js} +12 -11
  180. package/{deleteFile-6URDHYRB.js → deleteFile-ECU6FU5C.js} +15 -7
  181. package/{dialogCommands-6SZD4TYP.js → dialogCommands-BBHWCKDP.js} +69 -53
  182. package/dialogMessageRecord-OAV77LT7.js +7 -0
  183. package/{dialogNotifyCommand-SHGPCU22.js → dialogNotifyCommand-IASQGEMW.js} +11 -11
  184. package/{dialogSlice-5EQ2A6LY.js → dialogSlice-JI3J22RV.js} +39 -37
  185. package/dialogTraceCommand-EW2KK6A4.js +961 -0
  186. package/dialogUsageCommand-WJ3U6KZU.js +27 -0
  187. package/{docCreateCommands-25E6PGN3.js → docCreateCommands-QSX3X5U4.js} +57 -46
  188. package/{docDeleteCommands-F7ZVGEHW.js → docDeleteCommands-63JBG2HQ.js} +59 -48
  189. package/{docReadCommands-JY2E5XEN.js → docReadCommands-CQFKRQUI.js} +57 -46
  190. package/{docStore-OKKIKLT3.js → docStore-XLBKGGNM.js} +14 -13
  191. package/{docUpdateCommands-OZ4CUSIQ.js → docUpdateCommands-534LUK25.js} +57 -46
  192. package/ebookDownloaderAgentCommand-DYSKF5ZY.js +677 -0
  193. package/fetchMessages-TQEUZD7H.js +1 -1
  194. package/{getPricing-LF5C4XSI.js → getPricing-5BLZRPTM.js} +4 -4
  195. package/{handleSendMessageAction-LNT7SZND.js → handleSendMessageAction-Q2VMEVOR.js} +127 -81
  196. package/{hostCredentialCreate-XUU2CSHI.js → hostCredentialCreate-C57T7YPE.js} +127 -109
  197. package/index.js +23 -11
  198. package/{localDialogRead-CCOCVGAP.js → localDialogRead-BJJT3TF5.js} +1 -1
  199. package/{localRuntimeAdapter-IBSTMSX7.js → localRuntimeAdapter-OALZPFZU.js} +134 -115
  200. package/localRuntimeAuthority-UF2DAQ3F.js +28 -0
  201. package/{localRuntimeDb-N7KHDXS2.js → localRuntimeDb-ZJFGNHML.js} +1 -1
  202. package/{machineCommands-HSQHDHOT.js → machineCommands-N6IVWRZT.js} +262 -325
  203. package/machineWsRunDispatch-PDWYB33B.js +209 -0
  204. package/markdownToSlate-PXYAIBVL.js +8 -0
  205. package/mcpLocalAuthorizeCommand-KYI4EGF5.js +110 -0
  206. package/{memberThunks-7Y3OYSJQ.js → memberThunks-43B7UYC5.js} +21 -16
  207. package/{models-H5NNZRLH.js → models-ZX2BYIMB.js} +2 -2
  208. package/{overlay-BBQZXGYI.js → overlay-JA3SPVUS.js} +5 -3
  209. package/package.json +2 -1
  210. package/{projectArchive-FQO654Z3.js → projectArchive-TJNW5DLM.js} +46 -44
  211. package/{providerPresetApply-WHAMP2D5.js → providerPresetApply-NTJUINI6.js} +36 -17
  212. package/{providerRegistry-ZI2KORJ7.js → providerRegistry-W45SLUV6.js} +6 -6
  213. package/{read-TYMBGEXO.js → read-KG6INYUT.js} +13 -7
  214. package/{readDocTool-SKQVHBLO.js → readDocTool-N3GA52JR.js} +1 -1
  215. package/{readlineWorkspace-7U272DSA.js → readlineWorkspace-PJZJVGA5.js} +7486 -4492
  216. package/rememberExplicit-CPAPONSI.js +15 -0
  217. package/{removeDialogAgentAction-F5QE2O2B.js → removeDialogAgentAction-EEVSOQOJ.js} +18 -17
  218. package/{runAgentClientLoop-AF4JQIJ7.js → runAgentClientLoop-3VC5TCDW.js} +107 -76
  219. package/{runtimeDoctorCommands-RRKPBGVO.js → runtimeDoctorCommands-V3M3JTUV.js} +14 -11
  220. package/{secretCommands-KZWBZIYS.js → secretCommands-KVVZS7A6.js} +3 -3
  221. package/{setDialogExtraReferencesAction-72L27ERM.js → setDialogExtraReferencesAction-DNO5POHA.js} +15 -14
  222. package/{setPrimaryDialogAgentAction-GJJDUSGJ.js → setPrimaryDialogAgentAction-QABBEO4C.js} +18 -17
  223. package/{settingThunks-ZRGWVGZD.js → settingThunks-DVKG4X4S.js} +181 -66
  224. package/{skillDiscovery-BHHPCUHZ.js → skillDiscovery-ZMJH36AK.js} +4 -3
  225. package/{spaceCommands-5VNWMDBE.js → spaceCommands-AGGZXPY3.js} +235 -87
  226. package/{streamAgentChatTurn-YSPEFY4K.js → streamAgentChatTurn-4GTLL2OF.js} +242 -169
  227. package/{switchDialogAgentAction-IIJBPND3.js → switchDialogAgentAction-KYWJSGOO.js} +16 -15
  228. package/{tableCommands-FTAOCBTX.js → tableCommands-EFA754RE.js} +7 -4
  229. package/{toolApiClient-OGQEBQVX.js → toolApiClient-N5PYW2R3.js} +8 -6
  230. package/{tools-M35PTIFB.js → tools-5AGPOPLW.js} +69 -65
  231. package/{tuiRestart-2IL37YIB.js → tuiRestart-77E7PL4R.js} +11 -10
  232. package/{tuiSummaryLlmCaller-W2QN4VAC.js → tuiSummaryLlmCaller-HROLGN4F.js} +16 -15
  233. package/{updateCommands-CPATDG6J.js → updateCommands-GJGRS6JK.js} +3 -3
  234. package/{updateDialogTitleAction-IMIRJRQQ.js → updateDialogTitleAction-5OSEDGRK.js} +40 -38
  235. package/{usageCommand-2BF74MKF.js → usageCommand-WI6SQOPB.js} +2 -2
  236. package/{usageRebuildCommand-UHB55BQM.js → usageRebuildCommand-WQRLLZAT.js} +3 -3
  237. package/webapi-QVV65DQF.js +2487 -0
  238. package/{windowsSelfUpdate-ZFD6J5HF.js → windowsSelfUpdate-C7LGVWYX.js} +2 -2
  239. package/workContext-Y3ADAPZU.js +14 -0
  240. package/workContextAccess-VU5I4LKZ.js +11 -0
  241. package/workContextWriteNotice-YCSSMHN4.js +7 -0
  242. package/{workloadLifecycle-HFJIN5IZ.js → workloadLifecycle-P2SJVV3S.js} +2 -2
  243. package/agentRecordCommands-IZYUVHME.js +0 -177
  244. package/agentRunCommand-QM7ETUTX.js +0 -209
  245. package/chunk-2YGBI2XB.js +0 -30
  246. package/chunk-5ZMIIR23.js +0 -265
  247. package/chunk-5ZUOVCKT.js +0 -32
  248. package/chunk-62HXNQVV.js +0 -134
  249. package/chunk-FJSNBZXR.js +0 -142
  250. package/chunk-FPBJM2BW.js +0 -689
  251. package/chunk-JQZRSXS5.js +0 -90
  252. package/chunk-P2ZLUIW2.js +0 -795
  253. package/chunk-PPJYZRSQ.js +0 -160
  254. package/chunk-TUSTONB3.js +0 -81
  255. package/chunk-ZXF6D3I6.js +0 -359
  256. package/cliLocalAgentRecordReader-H3HYQRRR.js +0 -91
  257. package/lib-OT5OTXRU.js +0 -21046
  258. package/localRuntimeAuthority-IBJAT62G.js +0 -16
  259. package/machineWsRunDispatch-L6H7J66T.js +0 -192
  260. package/{chunk-W6RFEDN4.js → chunk-AETZ7AD6.js} +3 -3
@@ -1,27 +1,46 @@
1
- import {
2
- LOCAL_USER_ID
3
- } from "./chunk-TZXPT53C.js";
4
1
  import {
5
2
  applyTokenUsageToDayStats,
6
3
  require_format
7
4
  } from "./chunk-BUDVRYES.js";
5
+ import {
6
+ LOCAL_USER_ID
7
+ } from "./chunk-TZXPT53C.js";
8
8
  import {
9
9
  BUILTIN_SUMMARY_LLM_CONFIG
10
10
  } from "./chunk-523DITKR.js";
11
11
  import {
12
12
  runLlm
13
- } from "./chunk-WCFFRBL5.js";
14
- import {
15
- isMediaToolConfirmation
16
- } from "./chunk-QYPE3TS3.js";
13
+ } from "./chunk-7PON4LBY.js";
17
14
  import {
18
15
  cleanupCliSessionForDialog
19
- } from "./chunk-RG2DGNL6.js";
16
+ } from "./chunk-6VEO7Z3Y.js";
20
17
  import {
21
18
  getActiveDialogAgentId,
22
19
  getDialogAgentIds,
23
20
  getPrimaryDialogAgentId
24
21
  } from "./chunk-5RGU3J7P.js";
22
+ import {
23
+ addContentAction
24
+ } from "./chunk-46FETNLF.js";
25
+ import {
26
+ patch,
27
+ read,
28
+ remove,
29
+ selectById,
30
+ upload,
31
+ write
32
+ } from "./chunk-ADYWV732.js";
33
+ import {
34
+ fetchMessages
35
+ } from "./chunk-HXER7YJF.js";
36
+ import {
37
+ buildDialogAttachmentPlan,
38
+ extractFileContentIds,
39
+ fetchWithTransientRetry
40
+ } from "./chunk-DXWGFL2Z.js";
41
+ import {
42
+ isMediaToolConfirmation
43
+ } from "./chunk-QYPE3TS3.js";
25
44
  import {
26
45
  abortActiveControllers,
27
46
  addPageReferenceToRuntime,
@@ -37,67 +56,41 @@ import {
37
56
  setActiveDialogKey,
38
57
  setDialogConfigError,
39
58
  setMediaJobRuntimeActor
40
- } from "./chunk-S2NTVGA2.js";
59
+ } from "./chunk-U35UUM5K.js";
41
60
  import {
42
61
  require_react
43
- } from "./chunk-5FUN7EG4.js";
44
- import {
45
- buildDialogAttachmentPlan,
46
- extractFileContentIds,
47
- fetchWithTransientRetry
48
- } from "./chunk-DXWGFL2Z.js";
49
- import {
50
- addContentAction
51
- } from "./chunk-DEA37IUY.js";
52
- import {
53
- patch,
54
- read,
55
- remove,
56
- selectById,
57
- upload,
58
- write
59
- } from "./chunk-CMMI3DAT.js";
62
+ } from "./chunk-RD3QLZQV.js";
60
63
  import {
61
64
  getRuntimeServerContext,
62
65
  parseOwnerUserIdFromDbKey,
63
66
  resolveUserAuthorityServer,
64
67
  scheduleDeleteReplication,
65
68
  waitForWriteAck
66
- } from "./chunk-R6Z5S5GA.js";
69
+ } from "./chunk-HPDLPEUG.js";
67
70
  import {
68
71
  asyncThunkCreator,
69
72
  buildCreateSlice,
70
73
  createAsyncThunk,
71
74
  createEntityAdapter,
72
75
  createSelector
73
- } from "./chunk-7Z6EW7AH.js";
76
+ } from "./chunk-ZTHAJU3O.js";
74
77
  import {
78
+ googleSessionRequestToken,
79
+ isGoogleAuthoritySession,
75
80
  normalizeTimeFields
76
- } from "./chunk-4N6G2CKP.js";
81
+ } from "./chunk-HDKMVYNJ.js";
82
+ import {
83
+ createClientLogger
84
+ } from "./chunk-QQ56R7KS.js";
77
85
  import {
78
86
  selectIdentityToken,
79
87
  selectIdentityUser,
80
88
  selectIdentityUserId
81
89
  } from "./chunk-PXYBUFDB.js";
82
- import {
83
- createClientLogger
84
- } from "./chunk-QQ56R7KS.js";
85
- import {
86
- fetchMessages
87
- } from "./chunk-HXER7YJF.js";
88
- import {
89
- getRecordTimestamp,
90
- getTombstoneTimestamp,
91
- isTombstoneRecord,
92
- shouldReplaceWithNextRecord
93
- } from "./chunk-BV3FLP2L.js";
94
90
  import {
95
91
  applyBuiltinAgentRuntimeOverride,
96
92
  resolveBuiltinPlatformAgentRecord
97
- } from "./chunk-S6K5F3KP.js";
98
- import {
99
- getApproxPricePerImage
100
- } from "./chunk-4JH2UMJR.js";
93
+ } from "./chunk-CEKRIR22.js";
101
94
  import {
102
95
  DEFAULT_AUTO_EXECUTION_PROFILE,
103
96
  EMPTY_ASSISTANT_FALLBACK_MESSAGE,
@@ -112,15 +105,15 @@ import {
112
105
  isCodexOAuthAgent,
113
106
  normalizeAttachmentPart,
114
107
  resolveAutoExecutionProfile
115
- } from "./chunk-QRGDJA4B.js";
108
+ } from "./chunk-7WHCIA5V.js";
116
109
  import {
117
110
  isDevinOAuthAgent
118
111
  } from "./chunk-5ZUL4CUO.js";
119
112
  import {
120
113
  COMPACTION_SUMMARY_SYSTEM_PROMPT,
121
114
  DEFAULT_CONTEXT_WINDOW,
122
- buildBoundedCompactionRequest,
123
115
  buildCompactionMetricsFromPlan,
116
+ buildHistoricalCompactionRequest,
124
117
  classifySummaryError,
125
118
  computeSummarySourceMetadata,
126
119
  createSummaryBudget,
@@ -132,29 +125,28 @@ import {
132
125
  runSummaryWithContract,
133
126
  selectSummaryRoute,
134
127
  serializeMessageContent
135
- } from "./chunk-L32W3PRP.js";
128
+ } from "./chunk-2FZVXOFX.js";
136
129
  import {
137
130
  isOAuthApiKeyRef
138
131
  } from "./chunk-UKZX3NHN.js";
139
132
  import {
140
133
  asRecordOrEmpty
141
134
  } from "./chunk-KX6YBIHG.js";
142
- import {
143
- isAbortError
144
- } from "./chunk-7DPNBQSV.js";
145
135
  import {
146
136
  estimateTokenCount
147
137
  } from "./chunk-PSCNXBYA.js";
148
138
  import {
149
- nolotusId
150
- } from "./chunk-EVGU5P4U.js";
139
+ isAbortError
140
+ } from "./chunk-7DPNBQSV.js";
151
141
  import {
152
- isBuiltinPlatformAgentKey
153
- } from "./chunk-ILHQ2AXT.js";
142
+ getRecordTimestamp,
143
+ getTombstoneTimestamp,
144
+ isTombstoneRecord,
145
+ shouldReplaceWithNextRecord
146
+ } from "./chunk-BV3FLP2L.js";
154
147
  import {
155
- extractCustomId,
156
- extractUserId
157
- } from "./chunk-M2EJHDJP.js";
148
+ nolotusId
149
+ } from "./chunk-5P3PPQVP.js";
158
150
  import {
159
151
  buildDialogAgentListIndexDeleteOps,
160
152
  createKey,
@@ -165,6 +157,16 @@ import {
165
157
  createDialogMessageKeyAndId,
166
158
  dialogMessageKey
167
159
  } from "./chunk-OJKUU3LP.js";
160
+ import {
161
+ isBuiltinPlatformAgentKey
162
+ } from "./chunk-RIWKZT7E.js";
163
+ import {
164
+ extractCustomId,
165
+ extractUserId
166
+ } from "./chunk-M2EJHDJP.js";
167
+ import {
168
+ getApproxPricePerImage
169
+ } from "./chunk-4JH2UMJR.js";
168
170
  import {
169
171
  API_ENDPOINTS
170
172
  } from "./chunk-LCBAMY2M.js";
@@ -174,16 +176,16 @@ import {
174
176
  import {
175
177
  asTrimmedString
176
178
  } from "./chunk-3EUW3WEO.js";
179
+ import {
180
+ asOptionalFiniteNumber
181
+ } from "./chunk-WWC7I6TA.js";
177
182
  import {
178
183
  findModelConfig,
179
184
  getModelConfig
180
- } from "./chunk-CD3RU7XL.js";
185
+ } from "./chunk-OKH74FML.js";
181
186
  import {
182
187
  isRecord
183
188
  } from "./chunk-KUG52IAP.js";
184
- import {
185
- asOptionalFiniteNumber
186
- } from "./chunk-WWC7I6TA.js";
187
189
  import {
188
190
  asOptionalTrimmedString
189
191
  } from "./chunk-G3SUCT4W.js";
@@ -201,13 +203,14 @@ import {
201
203
  PLATFORM_HOSTED_DEEPSEEK_PRO_MODEL,
202
204
  PLATFORM_HOSTED_GLM_53_FLASH_BASETEN_PRICE,
203
205
  getPlatformHostedDeepSeekV4Price,
206
+ isGeminiNeonModel,
204
207
  isPlatformHostedDeepSeekV4Model,
205
208
  isPlatformHostedImageModel,
206
209
  isPlatformHostedOpenAIImageModel,
207
210
  isPlatformManagedProvider,
208
211
  resolvePlatformEffectiveModel,
209
212
  resolvePlatformHostedRouting
210
- } from "./chunk-OBSEKCVK.js";
213
+ } from "./chunk-JPXACKSW.js";
211
214
  import {
212
215
  asTrimmedLowercaseString
213
216
  } from "./chunk-QSJ3HFEF.js";
@@ -984,6 +987,7 @@ var fetchConvMsgs = async (server, token, {
984
987
  limit,
985
988
  beforeKey
986
989
  }, options = {}) => {
990
+ googleSessionRequestToken(token, server);
987
991
  const { signal: externalSignal } = options;
988
992
  const controller = new AbortController();
989
993
  const startedAt = now();
@@ -1028,6 +1032,7 @@ var fetchConvMsgs = async (server, token, {
1028
1032
  try {
1029
1033
  const response = await fetch(`${server}/rpc/getConvMsgs`, {
1030
1034
  method: "POST",
1035
+ ...isGoogleAuthoritySession(token) ? { redirect: "error", credentials: "omit" } : {},
1031
1036
  headers: {
1032
1037
  Authorization: `Bearer ${token}`,
1033
1038
  "Content-Type": "application/json"
@@ -3816,6 +3821,84 @@ var AI_API_KEY_LABEL_DE = "API-Schl\xFCssel";
3816
3821
  var ai_locale_default = {
3817
3822
  en: {
3818
3823
  translation: {
3824
+ editRoleModel: {
3825
+ tab: "Role & model",
3826
+ identity: "Identity",
3827
+ model: "Model",
3828
+ greeting: "Greeting & menu"
3829
+ },
3830
+ editModelSource: {
3831
+ platform: "Platform API",
3832
+ platformHint: "Use the platform key",
3833
+ custom: "Custom API",
3834
+ customHint: "Use your own key",
3835
+ cli: "CLI (terminal)",
3836
+ cliHint: "For example, gh copilot",
3837
+ provider: "Provider",
3838
+ cliTool: "CLI tool",
3839
+ runLocation: "Run location",
3840
+ credentialStatus: "Credential status",
3841
+ chooseModel: "Choose from catalog",
3842
+ manualModel: "Enter model ID manually",
3843
+ oauthGroup: "Subscription OAuth",
3844
+ manualProvider: "Manual / Other",
3845
+ apiKeyConfigured: "API key is saved. Enter a new key above to replace it.",
3846
+ apiKeyProviderShared: "\u2713 Using the shared {{presetId}} key. Enter a new key above to replace it.",
3847
+ cliUnverified: "Unverified (sign in on the machine)",
3848
+ cliLoginHint: "An online machine does not mean the CLI is signed in. Run {{command}} in a terminal on the target machine.",
3849
+ cliLoginCommand: "the sign-in command",
3850
+ cliMachineBound: "Advanced options: bound to {{machine}}",
3851
+ cliMachineUnbound: "Advanced options: choose a machine (defaults to the local or default CLI environment)"
3852
+ },
3853
+ providerGroup: {
3854
+ subscriptionTokenPlan: "Subscription plan key",
3855
+ meteredApi: "Metered API"
3856
+ },
3857
+ quota: {
3858
+ title: "Subscription Quota",
3859
+ remaining: "{{percent}}% left",
3860
+ snapshotAge: "Snapshot \xB7 {{age}}",
3861
+ windowAriaLabel: "{{label}}: {{remaining}}",
3862
+ snapshotTooltip: "The time applies to the entire snapshot, not to individual windows. The platform probes upstream quota endpoints; what is counted and when it is refreshed may differ from the official usage page.",
3863
+ period: {
3864
+ fiveHours: "5 hours",
3865
+ daily: "Daily",
3866
+ weekly: "Weekly",
3867
+ monthly: "Monthly"
3868
+ },
3869
+ source: {
3870
+ codex: "Codex rate_limit endpoint",
3871
+ claude: "Claude oauth/usage endpoint",
3872
+ antigravity: "Antigravity quota endpoint",
3873
+ devin: "Devin seat status endpoint",
3874
+ cursor: "Cursor period usage endpoint",
3875
+ body: "Upstream response body",
3876
+ unknown: "Unknown source",
3877
+ upstream: "Upstream response",
3878
+ unified: "Upstream response header (unified)",
3879
+ rateLimit: "Upstream response header (x-ratelimit)",
3880
+ googleQuota: "Upstream response header (x-goog-quota)",
3881
+ sub2api: "Upstream response header (x-sub2api)"
3882
+ },
3883
+ age: {
3884
+ unknown: "Probe time unknown",
3885
+ justNow: "Checked just now",
3886
+ minutes: "Checked {{count}} minutes ago",
3887
+ hours: "Checked {{count}} hours ago",
3888
+ days: "Checked {{count}} days ago",
3889
+ minutes_one: "Checked {{count}} minute ago",
3890
+ hours_one: "Checked {{count}} hour ago",
3891
+ days_one: "Checked {{count}} day ago"
3892
+ },
3893
+ reset: {
3894
+ today: "Today at {{time}}",
3895
+ tomorrow: "Tomorrow at {{time}}",
3896
+ date: "{{month}}/{{day}} at {{time}}",
3897
+ soon: "reset imminent",
3898
+ remaining: "{{duration}} left",
3899
+ line: "Resets: {{clock}} \xB7 {{remaining}}"
3900
+ }
3901
+ },
3819
3902
  providerPreset: {
3820
3903
  // 厂商官方限制第三方登录的订阅通道:照常可选,只做风险提示。
3821
3904
  officialRestricted: "Third-party sign-in restricted by the vendor"
@@ -3904,20 +3987,7 @@ var ai_locale_default = {
3904
3987
  chat: "Start Chat",
3905
3988
  public: "Public",
3906
3989
  byConversation: "Create AI by Conversation",
3907
- manualConfiguration: "Create AI",
3908
- quickCreate: {
3909
- reasoningEffort: "Reasoning Effort",
3910
- reasoningEffortOptions: {
3911
- none: "None",
3912
- minimal: "Minimal",
3913
- low: "Low",
3914
- medium: "Medium",
3915
- high: "High",
3916
- xhigh: "X-High",
3917
- max: "Max",
3918
- ultra: "Ultra"
3919
- }
3920
- }
3990
+ manualConfiguration: "Create AI"
3921
3991
  },
3922
3992
  // RN / local-first create sheet (useTranslation("ai") → localCreate.*)
3923
3993
  localCreate: {
@@ -3957,6 +4027,8 @@ var ai_locale_default = {
3957
4027
  },
3958
4028
  // Form Fields & Placeholders
3959
4029
  form: {
4030
+ modelRecommendedLabel: "{{label}} (Recommended)",
4031
+ rememberProviderKey: "Remember provider key",
3960
4032
  name: "AI Name",
3961
4033
  namePlaceholder: "Enter AI name",
3962
4034
  provider: "Provider",
@@ -3967,6 +4039,9 @@ var ai_locale_default = {
3967
4039
  customProviderUrlPlaceholder: "e.g. https://api.example.com/v1/chat/completions",
3968
4040
  apiKey: "API Key",
3969
4041
  crossDeviceKey: "Use on other devices",
4042
+ crossDeviceKeyOffHint: "Turning this off prevents this key from being uploaded now. Previously synced copies will not be deleted.",
4043
+ crossDeviceKeyOffWebHint: "Your browser will try to reach the provider directly. The request may fail if the provider blocks cross-origin requests (CORS).",
4044
+ rememberProviderKeyFailed: "Could not remember the provider key. The AI was not created. Please try again.",
3970
4045
  prompt: "Prompt",
3971
4046
  promptPlaceholder: "Define AI's behavior and personality",
3972
4047
  greeting: "Greeting Message",
@@ -3975,7 +4050,7 @@ var ai_locale_default = {
3975
4050
  tags: "Tags",
3976
4051
  tagsPlaceholder: "Add tags and press Enter",
3977
4052
  useServerProxy: "Proxy Mode",
3978
- enableThinking: "Thinking Mode",
4053
+ enableThinking: "Thinking mode",
3979
4054
  thinkingBudget: "Thinking Budget",
3980
4055
  isPublic: "Make Public",
3981
4056
  allowFork: "Allow others to copy",
@@ -3998,7 +4073,18 @@ var ai_locale_default = {
3998
4073
  maxTokensSetCustom: "Custom",
3999
4074
  maxTokensClearToDefault: "Follow model default",
4000
4075
  maxTokensInputPlaceholder: "Type a value (empty = follow model default)",
4001
- reasoningEffort: "Reasoning Effort",
4076
+ reasoningEffort: "Thinking depth",
4077
+ thinkingDefault: "Provider default",
4078
+ thinkingDepthOptions: {
4079
+ none: "Off",
4080
+ minimal: "Minimal",
4081
+ low: "Low",
4082
+ medium: "Medium",
4083
+ high: "High",
4084
+ xhigh: "Extra high",
4085
+ max: "Maximum",
4086
+ ultra: "Ultra"
4087
+ },
4002
4088
  defaults: {
4003
4089
  greeting: "I am an intelligent assistant customized for you by nolo.chat. How can I help you today?"
4004
4090
  },
@@ -4023,7 +4109,10 @@ var ai_locale_default = {
4023
4109
  frequencyPenalty: "Reduces word repetition, from -2 to 2. Higher discourages repetition.",
4024
4110
  presencePenalty: "Reduces topic repetition, from -2 to 2. Higher encourages new topics.",
4025
4111
  maxTokens: "Limits response length, minimum 1.",
4026
- reasoningEffort: "How hard the model thinks before answering. Supported values: none / minimal / low / medium / high / xhigh / max (varies by model/provider). Only applies to models that support reasoning effort."
4112
+ thinkingLegacyOn: "Using legacy setting: thinking on",
4113
+ thinkingLegacyOff: "Using legacy setting: thinking off",
4114
+ thinkingSavedEffortMapped: "Saved: {{saved}}. This model uses {{effective}}.",
4115
+ thinkingSavedEffortUnavailable: "The saved value, {{saved}}, is not in the current options."
4027
4116
  },
4028
4117
  // Validation Messages
4029
4118
  validation: {
@@ -4041,7 +4130,7 @@ var ai_locale_default = {
4041
4130
  maxTokensMin: "Max Tokens must be at least 1",
4042
4131
  maxTokensMax: "Max Tokens must be at most 500,000",
4043
4132
  maxTokensRange: "Max Tokens must be between {{min}} and {{max}}",
4044
- reasoningEffortInvalid: "Reasoning effort must be none, minimal, low, medium, high, xhigh, max, or ultra",
4133
+ reasoningEffortInvalid: "Thinking depth must be none, minimal, low, medium, high, xhigh, max, or ultra",
4045
4134
  thinkingBudgetMin: "Thinking budget must be at least 1024 tokens",
4046
4135
  thinkingBudgetMax: "Thinking budget must be at most 100,000 tokens",
4047
4136
  apiKeyRequired: "API Key is required when not using Server Proxy, Ollama or Custom provider",
@@ -4221,6 +4310,81 @@ var ai_locale_default = {
4221
4310
  },
4222
4311
  "zh-CN": {
4223
4312
  translation: {
4313
+ editRoleModel: {
4314
+ tab: "\u89D2\u8272\u4E0E\u6A21\u578B",
4315
+ identity: "\u8EAB\u4EFD",
4316
+ model: "\u6A21\u578B",
4317
+ greeting: "\u95EE\u5019\u8BED\u4E0E\u83DC\u5355"
4318
+ },
4319
+ editModelSource: {
4320
+ platform: "\u5E73\u53F0 API",
4321
+ platformHint: "\u4F7F\u7528\u5E73\u53F0\u5BC6\u94A5",
4322
+ custom: "\u81EA\u5B9A\u4E49 API",
4323
+ customHint: "\u4F7F\u7528\u81EA\u5DF1\u7684\u5BC6\u94A5",
4324
+ cli: "\u547D\u4EE4\u884C\uFF08CLI\uFF09",
4325
+ cliHint: "\u4F8B\u5982 gh copilot",
4326
+ provider: "\u670D\u52A1\u5546",
4327
+ cliTool: "CLI \u5DE5\u5177",
4328
+ runLocation: "\u8FD0\u884C\u4F4D\u7F6E",
4329
+ credentialStatus: "\u51ED\u636E\u72B6\u6001",
4330
+ chooseModel: "\u4ECE\u76EE\u5F55\u9009\u62E9",
4331
+ manualModel: "\u624B\u52A8\u8F93\u5165\u6A21\u578B ID",
4332
+ oauthGroup: "\u8BA2\u9605 OAuth",
4333
+ manualProvider: "\u624B\u52A8\u914D\u7F6E / \u5176\u4ED6",
4334
+ apiKeyConfigured: "API Key \u5DF2\u5B89\u5168\u4FDD\u5B58\u3002\u5982\u9700\u66F4\u6362\uFF0C\u8BF7\u5728\u4E0A\u65B9\u586B\u5199\u65B0 Key\u3002",
4335
+ apiKeyProviderShared: "\u2713 \u6B63\u5728\u4F7F\u7528\u5171\u4EAB\u7684 {{presetId}} \u5BC6\u94A5\u3002\u5982\u9700\u66F4\u6362\uFF0C\u8BF7\u5728\u4E0A\u65B9\u586B\u5199\u65B0 Key\u3002",
4336
+ cliUnverified: "\u672A\u9A8C\u8BC1\uFF08\u9700\u5728\u672C\u673A\u767B\u5F55\uFF09",
4337
+ cliLoginHint: "\u673A\u5668\u5728\u7EBF\u4E0D\u4EE3\u8868 CLI \u5DF2\u767B\u5F55\u3002\u8BF7\u5728\u76EE\u6807\u673A\u5668\u7684\u7EC8\u7AEF\u8FD0\u884C {{command}}\u3002",
4338
+ cliLoginCommand: "\u767B\u5F55\u547D\u4EE4",
4339
+ cliMachineBound: "\u9AD8\u7EA7\u9009\u9879\uFF1A\u5DF2\u7ED1\u5B9A\u8FD0\u884C\u673A\u5668\uFF08{{machine}}\uFF09",
4340
+ cliMachineUnbound: "\u9AD8\u7EA7\u9009\u9879\uFF1A\u6307\u5B9A\u8FD0\u884C\u673A\u5668\uFF08\u9ED8\u8BA4\u4F7F\u7528\u672C\u5730\u6216\u9ED8\u8BA4 CLI \u73AF\u5883\uFF09"
4341
+ },
4342
+ providerGroup: {
4343
+ subscriptionTokenPlan: "\u8BA2\u9605\u4E13\u7528 Key",
4344
+ meteredApi: "API \u7528\u91CF\u8BA1\u8D39"
4345
+ },
4346
+ quota: {
4347
+ title: "\u8BA2\u9605\u989D\u5EA6",
4348
+ remaining: "\u5269\u4F59 {{percent}}%",
4349
+ snapshotAge: "\u5FEB\u7167 \xB7 {{age}}",
4350
+ windowAriaLabel: "{{label}}\u989D\u5EA6{{remaining}}",
4351
+ snapshotTooltip: "\u65F6\u95F4\u8868\u793A\u6574\u4EFD\u5FEB\u7167\u7684\u63A2\u6D4B\u65F6\u523B\uFF0C\u4E0D\u662F\u5404\u7A97\u53E3\u7684\u72EC\u7ACB\u89C2\u6D4B\u65F6\u523B\u3002\u6570\u636E\u6765\u81EA\u5E73\u53F0\u5BF9\u4E0A\u6E38\u989D\u5EA6\u63A5\u53E3\u7684\u4E3B\u52A8\u63A2\u6D4B\uFF0C\u4E0E\u5B98\u65B9\u7528\u91CF\u9875\u9762\u7684\u53E3\u5F84\u548C\u5237\u65B0\u65F6\u673A\u53EF\u80FD\u4E0D\u540C\u3002",
4352
+ period: {
4353
+ fiveHours: "5 \u5C0F\u65F6",
4354
+ daily: "\u6BCF\u65E5",
4355
+ weekly: "\u6BCF\u5468",
4356
+ monthly: "\u6BCF\u6708"
4357
+ },
4358
+ source: {
4359
+ codex: "Codex rate_limit \u63A5\u53E3",
4360
+ claude: "Claude oauth/usage \u63A5\u53E3",
4361
+ antigravity: "Antigravity \u989D\u5EA6\u63A5\u53E3",
4362
+ devin: "Devin seat \u72B6\u6001\u63A5\u53E3",
4363
+ cursor: "Cursor \u5468\u671F\u7528\u91CF\u63A5\u53E3",
4364
+ body: "\u4E0A\u6E38\u54CD\u5E94 body",
4365
+ unknown: "\u6765\u6E90\u672A\u77E5",
4366
+ upstream: "\u4E0A\u6E38\u54CD\u5E94",
4367
+ unified: "\u4E0A\u6E38\u54CD\u5E94\u5934\uFF08unified\uFF09",
4368
+ rateLimit: "\u4E0A\u6E38\u54CD\u5E94\u5934\uFF08x-ratelimit\uFF09",
4369
+ googleQuota: "\u4E0A\u6E38\u54CD\u5E94\u5934\uFF08x-goog-quota\uFF09",
4370
+ sub2api: "\u4E0A\u6E38\u54CD\u5E94\u5934\uFF08x-sub2api\uFF09"
4371
+ },
4372
+ age: {
4373
+ unknown: "\u63A2\u6D4B\u65F6\u95F4\u672A\u77E5",
4374
+ justNow: "\u521A\u521A\u63A2\u6D4B",
4375
+ minutes: "{{count}} \u5206\u949F\u524D\u63A2\u6D4B",
4376
+ hours: "{{count}} \u5C0F\u65F6\u524D\u63A2\u6D4B",
4377
+ days: "{{count}} \u5929\u524D\u63A2\u6D4B"
4378
+ },
4379
+ reset: {
4380
+ today: "\u4ECA\u5929 {{time}}",
4381
+ tomorrow: "\u660E\u5929 {{time}}",
4382
+ date: "{{month}}\u6708{{day}}\u65E5 {{time}}",
4383
+ soon: "\u5373\u5C06\u91CD\u7F6E",
4384
+ remaining: "\u8FD8\u5269 {{duration}}",
4385
+ line: "{{clock}} \u91CD\u7F6E \xB7 {{remaining}}"
4386
+ }
4387
+ },
4224
4388
  // 通用操作和状态
4225
4389
  cancel: "\u53D6\u6D88",
4226
4390
  update: "\u66F4\u65B0",
@@ -4305,20 +4469,7 @@ var ai_locale_default = {
4305
4469
  chat: "\u5F00\u59CB\u804A\u5929",
4306
4470
  public: "\u516C\u5F00",
4307
4471
  byConversation: "\u7528\u5BF9\u8BDD\u521B\u5EFA AI",
4308
- manualConfiguration: "\u521B\u5EFAAI",
4309
- quickCreate: {
4310
- reasoningEffort: "\u63A8\u7406\u5F3A\u5EA6",
4311
- reasoningEffortOptions: {
4312
- none: "\u5173\u95ED",
4313
- minimal: "\u6781\u7B80",
4314
- low: "\u4F4E",
4315
- medium: "\u4E2D",
4316
- high: "\u9AD8",
4317
- xhigh: "\u8D85\u9AD8",
4318
- max: "\u6700\u5927",
4319
- ultra: "\u6781\u81F4"
4320
- }
4321
- }
4472
+ manualConfiguration: "\u521B\u5EFAAI"
4322
4473
  },
4323
4474
  // RN / local-first create sheet (useTranslation("ai") → localCreate.*)
4324
4475
  localCreate: {
@@ -4359,6 +4510,8 @@ var ai_locale_default = {
4359
4510
  },
4360
4511
  // 表单字段和占位符
4361
4512
  form: {
4513
+ modelRecommendedLabel: "{{label}}\uFF08\u63A8\u8350\uFF09",
4514
+ rememberProviderKey: "\u8BB0\u4F4F\u6B64\u670D\u52A1\u5546\u5BC6\u94A5",
4362
4515
  name: "AI\u540D\u79F0",
4363
4516
  namePlaceholder: "\u8F93\u5165AI\u540D\u79F0",
4364
4517
  provider: "\u670D\u52A1\u5546",
@@ -4369,6 +4522,9 @@ var ai_locale_default = {
4369
4522
  customProviderUrlPlaceholder: "\u4F8B\u5982\uFF1Ahttps://api.example.com/v1/chat/completions",
4370
4523
  apiKey: "API\u5BC6\u94A5",
4371
4524
  crossDeviceKey: "\u8DE8\u8BBE\u5907\u4F7F\u7528\u6B64\u5BC6\u94A5",
4525
+ crossDeviceKeyOffHint: "\u5173\u95ED\u540E\uFF0C\u672C\u6B21\u4E0D\u518D\u4E0A\u4F20\u5BC6\u94A5\uFF1B\u6B64\u524D\u5DF2\u540C\u6B65\u7684\u526F\u672C\u4E0D\u4F1A\u88AB\u5220\u9664\u3002",
4526
+ crossDeviceKeyOffWebHint: "\u6D4F\u89C8\u5668\u4F1A\u5C1D\u8BD5\u76F4\u63A5\u8BF7\u6C42\u670D\u52A1\u5546\uFF1B\u8BF7\u6C42\u53EF\u80FD\u88AB\u670D\u52A1\u5546\u7684\u8DE8\u57DF\u9650\u5236\uFF08CORS\uFF09\u62E6\u622A\u3002",
4527
+ rememberProviderKeyFailed: "\u670D\u52A1\u5546\u5BC6\u94A5\u4FDD\u5B58\u5931\u8D25\uFF0C\u672A\u521B\u5EFA AI\uFF0C\u8BF7\u91CD\u8BD5\u3002",
4372
4528
  prompt: "\u7CFB\u7EDF\u63D0\u793A\u8BCD",
4373
4529
  promptPlaceholder: "\u5B9A\u4E49AI\u7684\u884C\u4E3A\u3001\u89D2\u8272\u548C\u4E2A\u6027...",
4374
4530
  greeting: "\u95EE\u5019\u8BED",
@@ -4399,7 +4555,18 @@ var ai_locale_default = {
4399
4555
  maxTokensSetCustom: "\u81EA\u5B9A\u4E49",
4400
4556
  maxTokensClearToDefault: "\u8DDF\u968F\u6A21\u578B\u9ED8\u8BA4",
4401
4557
  maxTokensInputPlaceholder: "\u8F93\u5165\u6570\u503C\uFF08\u7559\u7A7A = \u8DDF\u968F\u6A21\u578B\u9ED8\u8BA4\uFF09",
4402
- reasoningEffort: "\u63A8\u7406\u5F3A\u5EA6",
4558
+ reasoningEffort: "\u601D\u8003\u6DF1\u5EA6",
4559
+ thinkingDefault: "\u670D\u52A1\u5546\u9ED8\u8BA4",
4560
+ thinkingDepthOptions: {
4561
+ none: "\u5173\u95ED",
4562
+ minimal: "\u6781\u4F4E",
4563
+ low: "\u4F4E",
4564
+ medium: "\u4E2D",
4565
+ high: "\u9AD8",
4566
+ xhigh: "\u6781\u9AD8",
4567
+ max: "\u6700\u9AD8",
4568
+ ultra: "\u8D85\u6781\u9650"
4569
+ },
4403
4570
  defaults: {
4404
4571
  greeting: "\u6211\u662F\u7531 nolo.chat \u4E3A\u4F60\u5B9A\u5236\u7684\u667A\u80FD\u52A9\u624B\uFF0C\u4ECA\u5929\u6709\u4EC0\u4E48\u53EF\u4EE5\u5E2E\u5230\u4F60\u7684\uFF1F"
4405
4572
  },
@@ -4424,7 +4591,10 @@ var ai_locale_default = {
4424
4591
  frequencyPenalty: "\u964D\u4F4E\u8BCD\u6C47\u91CD\u590D\u5EA6\uFF0C\u8303\u56F4-2\u52302\u3002\u8D8A\u9AD8\u8D8A\u80FD\u907F\u514D\u91CD\u590D\u7528\u8BCD\u3002",
4425
4592
  presencePenalty: "\u964D\u4F4E\u4E3B\u9898\u91CD\u590D\u5EA6\uFF0C\u8303\u56F4-2\u52302\u3002\u8D8A\u9AD8\u8D8A\u9F13\u52B1\u8C08\u8BBA\u65B0\u4E3B\u9898\u3002",
4426
4593
  maxTokens: "\u9650\u5236\u5355\u6B21\u56DE\u590D\u7684\u957F\u5EA6\uFF0C\u6700\u5C0F\u4E3A1\u3002",
4427
- reasoningEffort: "\u63A7\u5236\u6A21\u578B\u56DE\u7B54\u524D\u7684\u63A8\u7406\u5F3A\u5EA6\u3002\u652F\u6301\u7684\u503C\uFF1Anone / minimal / low / medium / high / xhigh / max\uFF08\u56E0\u6A21\u578B/\u670D\u52A1\u5546\u800C\u5F02\uFF09\u3002\u4EC5\u5BF9\u652F\u6301\u63A8\u7406\u5F3A\u5EA6\u7684\u6A21\u578B\u751F\u6548\u3002"
4594
+ thinkingLegacyOn: "\u5F53\u524D\u6CBF\u7528\u65E7\u8BBE\u7F6E\uFF1A\u601D\u8003\u5DF2\u5F00\u542F",
4595
+ thinkingLegacyOff: "\u5F53\u524D\u6CBF\u7528\u65E7\u8BBE\u7F6E\uFF1A\u601D\u8003\u5DF2\u5173\u95ED",
4596
+ thinkingSavedEffortMapped: "\u5DF2\u4FDD\u5B58 {{saved}}\uFF1B\u6B64\u6A21\u578B\u5B9E\u9645\u4F7F\u7528 {{effective}}\u3002",
4597
+ thinkingSavedEffortUnavailable: "\u5DF2\u4FDD\u5B58\u7684\u503C {{saved}} \u4E0D\u5728\u5F53\u524D\u9009\u9879\u4E2D\u3002"
4428
4598
  },
4429
4599
  // 验证信息
4430
4600
  validation: {
@@ -4442,7 +4612,7 @@ var ai_locale_default = {
4442
4612
  maxTokensMin: "\u6700\u5927Token\u6570\u5FC5\u987B\u81F3\u5C11\u4E3A1",
4443
4613
  maxTokensMax: "\u6700\u5927Token\u6570\u4E0D\u80FD\u8D85\u8FC7500,000",
4444
4614
  maxTokensRange: "\u6700\u5927Token\u6570\u5FC5\u987B\u5728 {{min}} \u548C {{max}} \u4E4B\u95F4",
4445
- reasoningEffortInvalid: "\u63A8\u7406\u5F3A\u5EA6\u5FC5\u987B\u662F none, minimal, low, medium, high, xhigh, max, \u6216 ultra",
4615
+ reasoningEffortInvalid: "\u601D\u8003\u6DF1\u5EA6\u5FC5\u987B\u662F none, minimal, low, medium, high, xhigh, max, \u6216 ultra",
4446
4616
  thinkingBudgetMin: "\u601D\u8003\u9884\u7B97\u81F3\u5C11\u9700\u8981 1024 \u4E2A Token",
4447
4617
  thinkingBudgetMax: "\u601D\u8003\u9884\u7B97\u4E0D\u80FD\u8D85\u8FC7 100,000 \u4E2A Token",
4448
4618
  apiKeyRequired: "\u672A\u4F7F\u7528\u4EE3\u7406\u6A21\u5F0F\u3001Ollama\u6216\u81EA\u5B9A\u4E49\u670D\u52A1\u5546\u65F6\uFF0CAPI\u5BC6\u94A5\u4E3A\u5FC5\u586B\u9879",
@@ -4623,6 +4793,81 @@ var ai_locale_default = {
4623
4793
  },
4624
4794
  "zh-Hant": {
4625
4795
  translation: {
4796
+ editRoleModel: {
4797
+ tab: "\u89D2\u8272\u8207\u6A21\u578B",
4798
+ identity: "\u8EAB\u5206",
4799
+ model: "\u6A21\u578B",
4800
+ greeting: "\u554F\u5019\u8A9E\u8207\u9078\u55AE"
4801
+ },
4802
+ editModelSource: {
4803
+ platform: "\u5E73\u53F0 API",
4804
+ platformHint: "\u4F7F\u7528\u5E73\u53F0\u91D1\u9470",
4805
+ custom: "\u81EA\u8A02 API",
4806
+ customHint: "\u4F7F\u7528\u81EA\u5DF1\u7684\u91D1\u9470",
4807
+ cli: "CLI\uFF08\u7D42\u7AEF\u6A5F\uFF09",
4808
+ cliHint: "\u4F8B\u5982 gh copilot",
4809
+ provider: "\u670D\u52D9\u63D0\u4F9B\u8005",
4810
+ cliTool: "CLI \u5DE5\u5177",
4811
+ runLocation: "\u57F7\u884C\u4F4D\u7F6E",
4812
+ credentialStatus: "\u6191\u8B49\u72C0\u614B",
4813
+ chooseModel: "\u5F9E\u76EE\u9304\u9078\u64C7",
4814
+ manualModel: "\u624B\u52D5\u8F38\u5165\u6A21\u578B ID",
4815
+ oauthGroup: "\u8A02\u95B1 OAuth",
4816
+ manualProvider: "\u624B\u52D5 / \u5176\u4ED6",
4817
+ apiKeyConfigured: "API \u91D1\u9470\u5DF2\u5132\u5B58\u3002\u5982\u9700\u66F4\u63DB\uFF0C\u8ACB\u5728\u4E0A\u65B9\u8F38\u5165\u65B0\u91D1\u9470\u3002",
4818
+ apiKeyProviderShared: "\u2713 \u4F7F\u7528\u5171\u7528\u7684 {{presetId}} \u91D1\u9470\u3002\u5982\u9700\u66F4\u63DB\uFF0C\u8ACB\u5728\u4E0A\u65B9\u8F38\u5165\u65B0\u91D1\u9470\u3002",
4819
+ cliUnverified: "\u672A\u9A57\u8B49\uFF08\u9700\u5728\u672C\u6A5F\u767B\u5165\uFF09",
4820
+ cliLoginHint: "\u6A5F\u5668\u4E0A\u7DDA\u4E0D\u4EE3\u8868 CLI \u5DF2\u767B\u5165\u3002\u8ACB\u5728\u76EE\u6A19\u6A5F\u5668\u7684\u7D42\u7AEF\u6A5F\u57F7\u884C {{command}}\u3002",
4821
+ cliLoginCommand: "\u767B\u5165\u6307\u4EE4",
4822
+ cliMachineBound: "\u9032\u968E\u9078\u9805\uFF1A\u5DF2\u7D81\u5B9A\u57F7\u884C\u6A5F\u5668\uFF08{{machine}}\uFF09",
4823
+ cliMachineUnbound: "\u9032\u968E\u9078\u9805\uFF1A\u6307\u5B9A\u57F7\u884C\u6A5F\u5668\uFF08\u9810\u8A2D\u4F7F\u7528\u672C\u6A5F\u6216\u9810\u8A2D CLI \u74B0\u5883\uFF09"
4824
+ },
4825
+ providerGroup: {
4826
+ subscriptionTokenPlan: "\u8A02\u95B1\u5C08\u7528\u91D1\u9470",
4827
+ meteredApi: "API \u7528\u91CF\u8A08\u8CBB"
4828
+ },
4829
+ quota: {
4830
+ title: "\u8A02\u95B1\u984D\u5EA6",
4831
+ remaining: "\u5269\u9918 {{percent}}%",
4832
+ snapshotAge: "\u5FEB\u7167 \xB7 {{age}}",
4833
+ windowAriaLabel: "{{label}}\u984D\u5EA6{{remaining}}",
4834
+ snapshotTooltip: "\u6642\u9593\u8868\u793A\u6574\u4EFD\u5FEB\u7167\u7684\u63A2\u6E2C\u6642\u523B\uFF0C\u4E0D\u662F\u5404\u6642\u6BB5\u7684\u7368\u7ACB\u89C0\u6E2C\u6642\u523B\u3002\u8CC7\u6599\u4F86\u81EA\u5E73\u53F0\u5C0D\u4E0A\u6E38\u984D\u5EA6\u4ECB\u9762\u7684\u4E3B\u52D5\u63A2\u6E2C\uFF0C\u8207\u5B98\u65B9\u7528\u91CF\u9801\u9762\u7684\u7D71\u8A08\u65B9\u5F0F\u548C\u66F4\u65B0\u6642\u6A5F\u53EF\u80FD\u4E0D\u540C\u3002",
4835
+ period: {
4836
+ fiveHours: "5 \u5C0F\u6642",
4837
+ daily: "\u6BCF\u65E5",
4838
+ weekly: "\u6BCF\u9031",
4839
+ monthly: "\u6BCF\u6708"
4840
+ },
4841
+ source: {
4842
+ codex: "Codex rate_limit \u4ECB\u9762",
4843
+ claude: "Claude oauth/usage \u4ECB\u9762",
4844
+ antigravity: "Antigravity \u984D\u5EA6\u4ECB\u9762",
4845
+ devin: "Devin \u5E2D\u6B21\u72C0\u614B\u4ECB\u9762",
4846
+ cursor: "Cursor \u9031\u671F\u7528\u91CF\u4ECB\u9762",
4847
+ body: "\u4E0A\u6E38\u56DE\u61C9\u672C\u6587",
4848
+ unknown: "\u4F86\u6E90\u672A\u77E5",
4849
+ upstream: "\u4E0A\u6E38\u56DE\u61C9",
4850
+ unified: "\u4E0A\u6E38\u56DE\u61C9\u6A19\u982D\uFF08unified\uFF09",
4851
+ rateLimit: "\u4E0A\u6E38\u56DE\u61C9\u6A19\u982D\uFF08x-ratelimit\uFF09",
4852
+ googleQuota: "\u4E0A\u6E38\u56DE\u61C9\u6A19\u982D\uFF08x-goog-quota\uFF09",
4853
+ sub2api: "\u4E0A\u6E38\u56DE\u61C9\u6A19\u982D\uFF08x-sub2api\uFF09"
4854
+ },
4855
+ age: {
4856
+ unknown: "\u63A2\u6E2C\u6642\u9593\u672A\u77E5",
4857
+ justNow: "\u525B\u525B\u63A2\u6E2C",
4858
+ minutes: "{{count}} \u5206\u9418\u524D\u63A2\u6E2C",
4859
+ hours: "{{count}} \u5C0F\u6642\u524D\u63A2\u6E2C",
4860
+ days: "{{count}} \u5929\u524D\u63A2\u6E2C"
4861
+ },
4862
+ reset: {
4863
+ today: "\u4ECA\u5929 {{time}}",
4864
+ tomorrow: "\u660E\u5929 {{time}}",
4865
+ date: "{{month}}\u6708{{day}}\u65E5 {{time}}",
4866
+ soon: "\u5373\u5C07\u91CD\u8A2D",
4867
+ remaining: "\u9084\u5269 {{duration}}",
4868
+ line: "{{clock}} \u91CD\u8A2D \xB7 {{remaining}}"
4869
+ }
4870
+ },
4626
4871
  // 通用操作與狀態
4627
4872
  cancel: "\u53D6\u6D88",
4628
4873
  update: "\u66F4\u65B0",
@@ -4707,20 +4952,7 @@ var ai_locale_default = {
4707
4952
  chat: "\u958B\u59CB\u804A\u5929",
4708
4953
  public: "\u516C\u958B",
4709
4954
  byConversation: "\u7528\u5C0D\u8A71\u5EFA\u7ACB AI",
4710
- manualConfiguration: "\u5EFA\u7ACBAI",
4711
- quickCreate: {
4712
- reasoningEffort: "\u63A8\u7406\u5F37\u5EA6",
4713
- reasoningEffortOptions: {
4714
- none: "\u95DC\u9589",
4715
- minimal: "\u6975\u7C21",
4716
- low: "\u4F4E",
4717
- medium: "\u4E2D",
4718
- high: "\u9AD8",
4719
- xhigh: "\u8D85\u9AD8",
4720
- max: "\u6700\u5927",
4721
- ultra: "\u6975\u81F4"
4722
- }
4723
- }
4955
+ manualConfiguration: "\u5EFA\u7ACBAI"
4724
4956
  },
4725
4957
  // RN / local-first create sheet (useTranslation("ai") → localCreate.*)
4726
4958
  localCreate: {
@@ -4761,6 +4993,8 @@ var ai_locale_default = {
4761
4993
  },
4762
4994
  // 表單欄位和預留位置
4763
4995
  form: {
4996
+ modelRecommendedLabel: "{{label}}\uFF08\u63A8\u85A6\uFF09",
4997
+ rememberProviderKey: "\u8A18\u4F4F\u6B64\u670D\u52D9\u5546\u91D1\u9470",
4764
4998
  name: "AI\u540D\u7A31",
4765
4999
  namePlaceholder: "\u8F38\u5165AI\u540D\u7A31",
4766
5000
  provider: "\u670D\u52D9\u63D0\u4F9B\u8005",
@@ -4771,6 +5005,9 @@ var ai_locale_default = {
4771
5005
  customProviderUrlPlaceholder: "\u4F8B\u5982\uFF1Ahttps://api.example.com/v1/chat/completions",
4772
5006
  apiKey: "API\u91D1\u9470",
4773
5007
  crossDeviceKey: "\u8DE8\u88DD\u7F6E\u4F7F\u7528\u6B64\u91D1\u9470",
5008
+ crossDeviceKeyOffHint: "\u95DC\u9589\u5F8C\uFF0C\u9019\u6B21\u4E0D\u6703\u4E0A\u50B3\u91D1\u9470\uFF1B\u5148\u524D\u5DF2\u540C\u6B65\u7684\u526F\u672C\u4E0D\u6703\u88AB\u522A\u9664\u3002",
5009
+ crossDeviceKeyOffWebHint: "\u700F\u89BD\u5668\u6703\u5617\u8A66\u76F4\u63A5\u5411\u670D\u52D9\u5546\u50B3\u9001\u8ACB\u6C42\uFF1B\u670D\u52D9\u5546\u7684\u8DE8\u4F86\u6E90\u9650\u5236\uFF08CORS\uFF09\u53EF\u80FD\u6703\u963B\u64CB\u8ACB\u6C42\u3002",
5010
+ rememberProviderKeyFailed: "\u7121\u6CD5\u5132\u5B58\u670D\u52D9\u5546\u91D1\u9470\uFF0C\u672A\u5EFA\u7ACB AI\uFF0C\u8ACB\u518D\u8A66\u4E00\u6B21\u3002",
4774
5011
  prompt: "\u7CFB\u7D71\u63D0\u793A\u8A5E",
4775
5012
  promptPlaceholder: "\u5B9A\u7FA9AI\u7684\u884C\u70BA\u3001\u89D2\u8272\u548C\u500B\u6027...",
4776
5013
  greeting: "\u554F\u5019\u8A9E",
@@ -4801,7 +5038,18 @@ var ai_locale_default = {
4801
5038
  maxTokensSetCustom: "\u81EA\u8A02",
4802
5039
  maxTokensClearToDefault: "\u8DDF\u96A8\u6A21\u578B\u9810\u8A2D",
4803
5040
  maxTokensInputPlaceholder: "\u8F38\u5165\u6578\u503C\uFF08\u7559\u7A7A = \u8DDF\u96A8\u6A21\u578B\u9810\u8A2D\uFF09",
4804
- reasoningEffort: "\u63A8\u7406\u5F37\u5EA6",
5041
+ reasoningEffort: "\u601D\u8003\u6DF1\u5EA6",
5042
+ thinkingDefault: "\u670D\u52D9\u5546\u9810\u8A2D",
5043
+ thinkingDepthOptions: {
5044
+ none: "\u95DC\u9589",
5045
+ minimal: "\u6975\u4F4E",
5046
+ low: "\u4F4E",
5047
+ medium: "\u4E2D",
5048
+ high: "\u9AD8",
5049
+ xhigh: "\u6975\u9AD8",
5050
+ max: "\u6700\u9AD8",
5051
+ ultra: "\u8D85\u6975\u9650"
5052
+ },
4805
5053
  defaults: {
4806
5054
  greeting: "\u6211\u662F\u7531 nolo.chat \u70BA\u60A8\u5BA2\u88FD\u5316\u7684\u667A\u6167\u52A9\u7406\uFF0C\u4ECA\u5929\u6709\u4EC0\u9EBC\u53EF\u4EE5\u5E6B\u5230\u60A8\u7684\uFF1F"
4807
5055
  },
@@ -4826,7 +5074,10 @@ var ai_locale_default = {
4826
5074
  frequencyPenalty: "\u964D\u4F4E\u8A5E\u5F59\u91CD\u8907\u5EA6\uFF0C\u7BC4\u570D-2\u52302\u3002\u8D8A\u9AD8\u8D8A\u80FD\u907F\u514D\u91CD\u8907\u7528\u8A5E\u3002",
4827
5075
  presencePenalty: "\u964D\u4F4E\u4E3B\u984C\u91CD\u8907\u5EA6\uFF0C\u7BC4\u570D-2\u52302\u3002\u8D8A\u9AD8\u8D8A\u9F13\u52F5\u8AC7\u8AD6\u65B0\u4E3B\u984C\u3002",
4828
5076
  maxTokens: "\u9650\u5236\u55AE\u6B21\u56DE\u8986\u7684\u9577\u5EA6\uFF0C\u6700\u5C0F\u70BA1\u3002",
4829
- reasoningEffort: "\u63A7\u5236\u6A21\u578B\u56DE\u7B54\u524D\u7684\u63A8\u7406\u5F37\u5EA6\u3002\u652F\u63F4\u7684\u503C\uFF1Anone / minimal / low / medium / high / xhigh / max\uFF08\u56E0\u6A21\u578B/\u670D\u52D9\u5546\u800C\u7570\uFF09\u3002\u50C5\u5C0D\u652F\u63F4\u63A8\u7406\u5F37\u5EA6\u7684\u6A21\u578B\u751F\u6548\u3002"
5077
+ thinkingLegacyOn: "\u76EE\u524D\u6CBF\u7528\u820A\u8A2D\u5B9A\uFF1A\u601D\u8003\u5DF2\u958B\u555F",
5078
+ thinkingLegacyOff: "\u76EE\u524D\u6CBF\u7528\u820A\u8A2D\u5B9A\uFF1A\u601D\u8003\u5DF2\u95DC\u9589",
5079
+ thinkingSavedEffortMapped: "\u5DF2\u5132\u5B58 {{saved}}\uFF1B\u6B64\u6A21\u578B\u5BE6\u969B\u4F7F\u7528 {{effective}}\u3002",
5080
+ thinkingSavedEffortUnavailable: "\u5DF2\u5132\u5B58\u7684\u503C {{saved}} \u4E0D\u5728\u76EE\u524D\u7684\u9078\u9805\u4E2D\u3002"
4830
5081
  },
4831
5082
  // 驗證資訊
4832
5083
  validation: {
@@ -4844,7 +5095,7 @@ var ai_locale_default = {
4844
5095
  maxTokensMin: "\u6700\u5927Token\u6578\u5FC5\u9808\u81F3\u5C11\u70BA1",
4845
5096
  maxTokensMax: "\u6700\u5927Token\u6578\u4E0D\u5F97\u8D85\u904E500,000",
4846
5097
  maxTokensRange: "\u6700\u5927Token\u6578\u5FC5\u9808\u5728 {{min}} \u548C {{max}} \u4E4B\u9593",
4847
- reasoningEffortInvalid: "\u63A8\u7406\u5F37\u5EA6\u5FC5\u9808\u662F none, minimal, low, medium, high, xhigh, max, \u6216 ultra",
5098
+ reasoningEffortInvalid: "\u601D\u8003\u6DF1\u5EA6\u5FC5\u9808\u662F none, minimal, low, medium, high, xhigh, max, \u6216 ultra",
4848
5099
  thinkingBudgetMin: "\u601D\u8003\u9810\u7B97\u81F3\u5C11\u9700\u8981 1024 \u500B Token",
4849
5100
  thinkingBudgetMax: "\u601D\u8003\u9810\u7B97\u4E0D\u80FD\u8D85\u904E 100,000 \u500B Token",
4850
5101
  apiKeyRequired: "\u672A\u4F7F\u7528\u4EE3\u7406\u6A21\u5F0F\u3001Ollama\u6216\u81EA\u8A02\u670D\u52D9\u63D0\u4F9B\u8005\u6642\uFF0CAPI\u91D1\u9470\u70BA\u5FC5\u586B\u9805",
@@ -5025,6 +5276,84 @@ var ai_locale_default = {
5025
5276
  },
5026
5277
  ja: {
5027
5278
  translation: {
5279
+ editRoleModel: {
5280
+ tab: "\u5F79\u5272\u3068\u30E2\u30C7\u30EB",
5281
+ identity: "\u57FA\u672C\u8A2D\u5B9A",
5282
+ model: "\u30E2\u30C7\u30EB",
5283
+ greeting: "\u6328\u62F6\u3068\u30E1\u30CB\u30E5\u30FC"
5284
+ },
5285
+ editModelSource: {
5286
+ platform: "\u30D7\u30E9\u30C3\u30C8\u30D5\u30A9\u30FC\u30E0 API",
5287
+ platformHint: "\u30D7\u30E9\u30C3\u30C8\u30D5\u30A9\u30FC\u30E0\u306E\u30AD\u30FC\u3092\u4F7F\u7528",
5288
+ custom: "\u30AB\u30B9\u30BF\u30E0 API",
5289
+ customHint: "\u81EA\u5206\u306E\u30AD\u30FC\u3092\u4F7F\u7528",
5290
+ cli: "CLI\uFF08\u30BF\u30FC\u30DF\u30CA\u30EB\uFF09",
5291
+ cliHint: "\u4F8B\uFF1Agh copilot",
5292
+ provider: "\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC",
5293
+ cliTool: "CLI \u30C4\u30FC\u30EB",
5294
+ runLocation: "\u5B9F\u884C\u5834\u6240",
5295
+ credentialStatus: "\u8A8D\u8A3C\u60C5\u5831\u306E\u72B6\u614B",
5296
+ chooseModel: "\u30AB\u30BF\u30ED\u30B0\u304B\u3089\u9078\u629E",
5297
+ manualModel: "\u30E2\u30C7\u30EB ID \u3092\u624B\u5165\u529B",
5298
+ oauthGroup: "\u30B5\u30D6\u30B9\u30AF\u30EA\u30D7\u30B7\u30E7\u30F3 OAuth",
5299
+ manualProvider: "\u624B\u52D5 / \u305D\u306E\u4ED6",
5300
+ apiKeyConfigured: "API \u30AD\u30FC\u306F\u4FDD\u5B58\u6E08\u307F\u3067\u3059\u3002\u5909\u66F4\u3059\u308B\u306B\u306F\u4E0A\u306B\u65B0\u3057\u3044\u30AD\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
5301
+ apiKeyProviderShared: "\u2713 \u5171\u6709\u306E {{presetId}} \u30AD\u30FC\u3092\u4F7F\u7528\u4E2D\u3067\u3059\u3002\u5909\u66F4\u3059\u308B\u306B\u306F\u4E0A\u306B\u65B0\u3057\u3044\u30AD\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
5302
+ cliUnverified: "\u672A\u78BA\u8A8D\uFF08\u5BFE\u8C61\u30DE\u30B7\u30F3\u3067\u30ED\u30B0\u30A4\u30F3\u304C\u5FC5\u8981\uFF09",
5303
+ cliLoginHint: "\u30DE\u30B7\u30F3\u304C\u30AA\u30F3\u30E9\u30A4\u30F3\u3067\u3082 CLI \u306B\u30ED\u30B0\u30A4\u30F3\u6E08\u307F\u3068\u306F\u9650\u308A\u307E\u305B\u3093\u3002\u5BFE\u8C61\u30DE\u30B7\u30F3\u306E\u7AEF\u672B\u3067 {{command}} \u3092\u5B9F\u884C\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
5304
+ cliLoginCommand: "\u30ED\u30B0\u30A4\u30F3\u30B3\u30DE\u30F3\u30C9",
5305
+ cliMachineBound: "\u8A73\u7D30\u8A2D\u5B9A\uFF1A{{machine}} \u306B\u5272\u308A\u5F53\u3066\u6E08\u307F",
5306
+ cliMachineUnbound: "\u8A73\u7D30\u8A2D\u5B9A\uFF1A\u5B9F\u884C\u30DE\u30B7\u30F3\u3092\u6307\u5B9A\uFF08\u65E2\u5B9A\u306F\u30ED\u30FC\u30AB\u30EB\u307E\u305F\u306F\u65E2\u5B9A\u306E CLI \u74B0\u5883\uFF09"
5307
+ },
5308
+ providerGroup: {
5309
+ subscriptionTokenPlan: "\u30B5\u30D6\u30B9\u30AF\u30EA\u30D7\u30B7\u30E7\u30F3\u5C02\u7528\u30AD\u30FC",
5310
+ meteredApi: "API \u5F93\u91CF\u8AB2\u91D1"
5311
+ },
5312
+ quota: {
5313
+ title: "\u30B5\u30D6\u30B9\u30AF\u30EA\u30D7\u30B7\u30E7\u30F3\u67A0",
5314
+ remaining: "\u6B8B\u308A {{percent}}%",
5315
+ snapshotAge: "\u30B9\u30CA\u30C3\u30D7\u30B7\u30E7\u30C3\u30C8 \xB7 {{age}}",
5316
+ windowAriaLabel: "{{label}}\u67A0\uFF1A{{remaining}}",
5317
+ snapshotTooltip: "\u6642\u523B\u306F\u5404\u671F\u9593\u306E\u500B\u5225\u306E\u89B3\u6E2C\u6642\u523B\u3067\u306F\u306A\u304F\u3001\u30B9\u30CA\u30C3\u30D7\u30B7\u30E7\u30C3\u30C8\u5168\u4F53\u306E\u53D6\u5F97\u6642\u523B\u3067\u3059\u3002\u30D7\u30E9\u30C3\u30C8\u30D5\u30A9\u30FC\u30E0\u304C\u4E0A\u6D41\u306E\u5229\u7528\u67A0 API \u3092\u7167\u4F1A\u3057\u305F\u7D50\u679C\u3067\u3042\u308A\u3001\u516C\u5F0F\u306E\u4F7F\u7528\u91CF\u30DA\u30FC\u30B8\u3068\u306F\u96C6\u8A08\u65B9\u6CD5\u3084\u66F4\u65B0\u6642\u671F\u304C\u7570\u306A\u308B\u5834\u5408\u304C\u3042\u308A\u307E\u3059\u3002",
5318
+ period: {
5319
+ fiveHours: "5 \u6642\u9593",
5320
+ daily: "\u65E5\u6B21",
5321
+ weekly: "\u9031\u6B21",
5322
+ monthly: "\u6708\u6B21"
5323
+ },
5324
+ source: {
5325
+ codex: "Codex \u306E rate_limit API",
5326
+ claude: "Claude \u306E oauth/usage API",
5327
+ antigravity: "Antigravity \u5229\u7528\u67A0 API",
5328
+ devin: "Devin \u30B7\u30FC\u30C8\u72B6\u614B API",
5329
+ cursor: "Cursor \u671F\u9593\u5225\u4F7F\u7528\u91CF API",
5330
+ body: "\u4E0A\u6D41\u306E\u30EC\u30B9\u30DD\u30F3\u30B9\u672C\u6587",
5331
+ unknown: "\u53D6\u5F97\u5143\u4E0D\u660E",
5332
+ upstream: "\u4E0A\u6D41\u306E\u30EC\u30B9\u30DD\u30F3\u30B9",
5333
+ unified: "\u4E0A\u6D41\u306E\u30EC\u30B9\u30DD\u30F3\u30B9\u30D8\u30C3\u30C0\u30FC\uFF08unified\uFF09",
5334
+ rateLimit: "\u4E0A\u6D41\u306E\u30EC\u30B9\u30DD\u30F3\u30B9\u30D8\u30C3\u30C0\u30FC\uFF08x-ratelimit\uFF09",
5335
+ googleQuota: "\u4E0A\u6D41\u306E\u30EC\u30B9\u30DD\u30F3\u30B9\u30D8\u30C3\u30C0\u30FC\uFF08x-goog-quota\uFF09",
5336
+ sub2api: "\u4E0A\u6D41\u306E\u30EC\u30B9\u30DD\u30F3\u30B9\u30D8\u30C3\u30C0\u30FC\uFF08x-sub2api\uFF09"
5337
+ },
5338
+ age: {
5339
+ unknown: "\u53D6\u5F97\u6642\u523B\u4E0D\u660E",
5340
+ justNow: "\u305F\u3063\u305F\u4ECA\u53D6\u5F97",
5341
+ minutes: "{{count}} \u5206\u524D\u306B\u53D6\u5F97",
5342
+ hours: "{{count}} \u6642\u9593\u524D\u306B\u53D6\u5F97",
5343
+ days: "{{count}} \u65E5\u524D\u306B\u53D6\u5F97"
5344
+ },
5345
+ reset: {
5346
+ today: "\u4ECA\u65E5 {{time}}",
5347
+ tomorrow: "\u660E\u65E5 {{time}}",
5348
+ date: "{{month}}\u6708{{day}}\u65E5 {{time}}",
5349
+ soon: "\u307E\u3082\u306A\u304F\u30EA\u30BB\u30C3\u30C8",
5350
+ remaining: "\u6B8B\u308A {{duration}}",
5351
+ line: "{{clock}} \u306B\u30EA\u30BB\u30C3\u30C8 \xB7 {{remaining}}"
5352
+ }
5353
+ },
5354
+ providerPreset: {
5355
+ officialRestricted: "\u63D0\u4F9B\u5143\u306F\u30B5\u30FC\u30C9\u30D1\u30FC\u30C6\u30A3\u30FC\u30A2\u30D7\u30EA\u304B\u3089\u306E\u30ED\u30B0\u30A4\u30F3\u3092\u5236\u9650\u3057\u3066\u3044\u307E\u3059"
5356
+ },
5028
5357
  // 一般的なアクションとステータス
5029
5358
  cancel: "\u30AD\u30E3\u30F3\u30BB\u30EB",
5030
5359
  update: "\u66F4\u65B0",
@@ -5109,20 +5438,7 @@ var ai_locale_default = {
5109
5438
  chat: "\u30C1\u30E3\u30C3\u30C8\u3092\u958B\u59CB",
5110
5439
  public: "\u516C\u958B",
5111
5440
  byConversation: "\u4F1A\u8A71\u3067 AI \u3092\u4F5C\u6210",
5112
- manualConfiguration: "AI\u3092\u4F5C\u6210",
5113
- quickCreate: {
5114
- reasoningEffort: "\u63A8\u8AD6\u5F37\u5EA6",
5115
- reasoningEffortOptions: {
5116
- none: "\u306A\u3057",
5117
- minimal: "\u6700\u5C0F",
5118
- low: "\u4F4E",
5119
- medium: "\u4E2D",
5120
- high: "\u9AD8",
5121
- xhigh: "\u8D85\u9AD8",
5122
- max: "\u6700\u5927",
5123
- ultra: "\u30A6\u30EB\u30C8\u30E9"
5124
- }
5125
- }
5441
+ manualConfiguration: "AI\u3092\u4F5C\u6210"
5126
5442
  },
5127
5443
  // RN / local-first create sheet (useTranslation("ai") → localCreate.*)
5128
5444
  localCreate: {
@@ -5163,6 +5479,8 @@ var ai_locale_default = {
5163
5479
  },
5164
5480
  // フォームフィールドとプレースホルダー
5165
5481
  form: {
5482
+ modelRecommendedLabel: "{{label}}\uFF08\u63A8\u5968\uFF09",
5483
+ rememberProviderKey: "\u3053\u306E\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u306E\u30AD\u30FC\u3092\u8A18\u61B6",
5166
5484
  name: "AI\u540D",
5167
5485
  namePlaceholder: "AI\u540D\u3092\u5165\u529B",
5168
5486
  provider: "\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC",
@@ -5173,6 +5491,9 @@ var ai_locale_default = {
5173
5491
  customProviderUrlPlaceholder: "\u4F8B\uFF1Ahttps://api.example.com/v1/chat/completions",
5174
5492
  apiKey: "API\u30AD\u30FC",
5175
5493
  crossDeviceKey: "\u4ED6\u30C7\u30D0\u30A4\u30B9\u3067\u4F7F\u7528",
5494
+ crossDeviceKeyOffHint: "\u30AA\u30D5\u306B\u3059\u308B\u3068\u4ECA\u56DE\u306F\u30AD\u30FC\u3092\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3057\u307E\u305B\u3093\u3002\u4EE5\u524D\u306B\u540C\u671F\u3057\u305F\u30B3\u30D4\u30FC\u306F\u524A\u9664\u3055\u308C\u307E\u305B\u3093\u3002",
5495
+ crossDeviceKeyOffWebHint: "\u30D6\u30E9\u30A6\u30B6\u30FC\u306F\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u306B\u76F4\u63A5\u30EA\u30AF\u30A8\u30B9\u30C8\u3057\u307E\u3059\u3002\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u306E\u30AF\u30ED\u30B9\u30AA\u30EA\u30B8\u30F3\u5236\u9650\uFF08CORS\uFF09\u3067\u5931\u6557\u3059\u308B\u3053\u3068\u304C\u3042\u308A\u307E\u3059\u3002",
5496
+ rememberProviderKeyFailed: "\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u306E\u30AD\u30FC\u3092\u4FDD\u5B58\u3067\u304D\u306A\u304B\u3063\u305F\u305F\u3081\u3001AI \u306F\u4F5C\u6210\u3055\u308C\u307E\u305B\u3093\u3067\u3057\u305F\u3002\u3082\u3046\u4E00\u5EA6\u304A\u8A66\u3057\u304F\u3060\u3055\u3044\u3002",
5176
5497
  prompt: "\u30B7\u30B9\u30C6\u30E0\u30D7\u30ED\u30F3\u30D7\u30C8",
5177
5498
  promptPlaceholder: "AI\u306E\u884C\u52D5\u3001\u5F79\u5272\u3001\u6027\u683C\u3092\u5B9A\u7FA9\u3057\u307E\u3059...",
5178
5499
  greeting: "\u6328\u62F6\u30E1\u30C3\u30BB\u30FC\u30B8",
@@ -5204,7 +5525,18 @@ var ai_locale_default = {
5204
5525
  maxTokensSetCustom: "\u30AB\u30B9\u30BF\u30E0",
5205
5526
  maxTokensClearToDefault: "\u30E2\u30C7\u30EB\u306E\u30C7\u30D5\u30A9\u30EB\u30C8\u306B\u5F93\u3046",
5206
5527
  maxTokensInputPlaceholder: "\u6570\u5024\u3092\u5165\u529B\uFF08\u7A7A\u6B04 = \u30E2\u30C7\u30EB\u306E\u30C7\u30D5\u30A9\u30EB\u30C8\u306B\u5F93\u3046\uFF09",
5207
- reasoningEffort: "\u63A8\u8AD6\u5F37\u5EA6",
5528
+ reasoningEffort: "\u601D\u8003\u306E\u6DF1\u3055",
5529
+ thinkingDefault: "\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u306E\u65E2\u5B9A\u5024",
5530
+ thinkingDepthOptions: {
5531
+ none: "\u30AA\u30D5",
5532
+ minimal: "\u6700\u5C0F",
5533
+ low: "\u4F4E",
5534
+ medium: "\u4E2D",
5535
+ high: "\u9AD8",
5536
+ xhigh: "\u6975\u9AD8",
5537
+ max: "\u6700\u5927",
5538
+ ultra: "\u8D85\u6700\u5927"
5539
+ },
5208
5540
  defaults: {
5209
5541
  greeting: "\u79C1\u306Fnolo.chat\u306B\u3088\u3063\u3066\u30AB\u30B9\u30BF\u30DE\u30A4\u30BA\u3055\u308C\u305F\u30A4\u30F3\u30C6\u30EA\u30B8\u30A7\u30F3\u30C8\u30A2\u30B7\u30B9\u30BF\u30F3\u30C8\u3067\u3059\u3002\u4ECA\u65E5\u306F\u4F55\u3092\u304A\u624B\u4F1D\u3044\u3057\u307E\u3057\u3087\u3046\u304B\uFF1F"
5210
5542
  },
@@ -5229,7 +5561,10 @@ var ai_locale_default = {
5229
5561
  frequencyPenalty: "\u5358\u8A9E\u306E\u7E70\u308A\u8FD4\u3057\u3092\u6E1B\u3089\u3057\u307E\u3059\uFF08\u7BC4\u56F2-2\u301C2\uFF09\u3002\u5024\u304C\u9AD8\u3044\u307B\u3069\u7E70\u308A\u8FD4\u3055\u308C\u306B\u304F\u304F\u306A\u308A\u307E\u3059\u3002",
5230
5562
  presencePenalty: "\u30C8\u30D4\u30C3\u30AF\u306E\u7E70\u308A\u8FD4\u3057\u3092\u6E1B\u3089\u3057\u307E\u3059\uFF08\u7BC4\u56F2-2\u301C2\uFF09\u3002\u5024\u304C\u9AD8\u3044\u307B\u3069\u65B0\u3057\u3044\u30C8\u30D4\u30C3\u30AF\u304C\u4FC3\u3055\u308C\u307E\u3059\u3002",
5231
5563
  maxTokens: "1\u56DE\u306E\u5FDC\u7B54\u306E\u9577\u3055\u3092\u5236\u9650\u3057\u307E\u3059\uFF08\u6700\u5C0F1\uFF09\u3002",
5232
- reasoningEffort: "\u56DE\u7B54\u524D\u306E\u63A8\u8AD6\u306E\u5F37\u3055\u3002\u30B5\u30DD\u30FC\u30C8\u5024\uFF1Anone / minimal / low / medium / high / xhigh / max\uFF08\u30E2\u30C7\u30EB/\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u306B\u3088\u308A\u7570\u306A\u308B\uFF09\u3002\u63A8\u8AD6\u5F37\u5EA6\u3092\u30B5\u30DD\u30FC\u30C8\u3059\u308B\u30E2\u30C7\u30EB\u3067\u306E\u307F\u6709\u52B9\u3067\u3059\u3002"
5564
+ thinkingLegacyOn: "\u4EE5\u524D\u306E\u8A2D\u5B9A\u3092\u4F7F\u7528\u4E2D\uFF1A\u601D\u8003\u30AA\u30F3",
5565
+ thinkingLegacyOff: "\u4EE5\u524D\u306E\u8A2D\u5B9A\u3092\u4F7F\u7528\u4E2D\uFF1A\u601D\u8003\u30AA\u30D5",
5566
+ thinkingSavedEffortMapped: "\u4FDD\u5B58\u6E08\u307F\uFF1A{{saved}}\u3002\u3053\u306E\u30E2\u30C7\u30EB\u306F\u5B9F\u969B\u306B\u306F {{effective}} \u3092\u4F7F\u7528\u3057\u307E\u3059\u3002",
5567
+ thinkingSavedEffortUnavailable: "\u4FDD\u5B58\u6E08\u307F\u306E\u5024 {{saved}} \u306F\u73FE\u5728\u306E\u9078\u629E\u80A2\u306B\u3042\u308A\u307E\u305B\u3093\u3002"
5233
5568
  },
5234
5569
  // バリデーションメッセージ
5235
5570
  validation: {
@@ -5428,6 +5763,87 @@ var ai_locale_default = {
5428
5763
  },
5429
5764
  de: {
5430
5765
  translation: {
5766
+ editRoleModel: {
5767
+ tab: "Rolle und Modell",
5768
+ identity: "Identit\xE4t",
5769
+ model: "Modell",
5770
+ greeting: "Begr\xFC\xDFung und Men\xFC"
5771
+ },
5772
+ editModelSource: {
5773
+ platform: "Plattform-API",
5774
+ platformHint: "Plattformschl\xFCssel verwenden",
5775
+ custom: "Eigene API",
5776
+ customHint: "Eigenen Schl\xFCssel verwenden",
5777
+ cli: "CLI (Terminal)",
5778
+ cliHint: "Zum Beispiel gh copilot",
5779
+ provider: "Anbieter",
5780
+ cliTool: "CLI-Tool",
5781
+ runLocation: "Ausf\xFChrungsort",
5782
+ credentialStatus: "Anmeldedatenstatus",
5783
+ chooseModel: "Aus Katalog w\xE4hlen",
5784
+ manualModel: "Modell-ID manuell eingeben",
5785
+ oauthGroup: "Abo per OAuth",
5786
+ manualProvider: "Manuell / Sonstige",
5787
+ apiKeyConfigured: "API-Schl\xFCssel ist gespeichert. Gib oben einen neuen Schl\xFCssel ein, um ihn zu ersetzen.",
5788
+ apiKeyProviderShared: "\u2713 Der gemeinsame Schl\xFCssel f\xFCr {{presetId}} wird verwendet. Gib oben einen neuen Schl\xFCssel ein, um ihn zu ersetzen.",
5789
+ cliUnverified: "Nicht verifiziert (Anmeldung am Rechner erforderlich)",
5790
+ cliLoginHint: "Ein erreichbarer Rechner bedeutet nicht, dass die CLI angemeldet ist. F\xFChre {{command}} im Terminal des Zielrechners aus.",
5791
+ cliLoginCommand: "den Anmeldebefehl",
5792
+ cliMachineBound: "Erweiterte Optionen: an {{machine}} gebunden",
5793
+ cliMachineUnbound: "Erweiterte Optionen: Rechner ausw\xE4hlen (standardm\xE4\xDFig lokale oder voreingestellte CLI-Umgebung)"
5794
+ },
5795
+ providerGroup: {
5796
+ subscriptionTokenPlan: "Abo-Schl\xFCssel",
5797
+ meteredApi: "API nach Verbrauch"
5798
+ },
5799
+ quota: {
5800
+ title: "Abo-Kontingent",
5801
+ remaining: "Noch {{percent}} %",
5802
+ snapshotAge: "Stand \xB7 {{age}}",
5803
+ windowAriaLabel: "{{label}}: {{remaining}}",
5804
+ snapshotTooltip: "Die Zeit gilt f\xFCr den gesamten Snapshot, nicht f\xFCr einzelne Zeitfenster. Die Plattform fragt die Kontingent-Schnittstellen des Anbieters aktiv ab. Z\xE4hlweise und Aktualisierungszeitpunkt k\xF6nnen von der offiziellen Nutzungsseite abweichen.",
5805
+ period: {
5806
+ fiveHours: "5 Stunden",
5807
+ daily: "T\xE4glich",
5808
+ weekly: "W\xF6chentlich",
5809
+ monthly: "Monatlich"
5810
+ },
5811
+ source: {
5812
+ codex: "Codex rate_limit-Schnittstelle",
5813
+ claude: "Claude oauth/usage-Schnittstelle",
5814
+ antigravity: "Antigravity-Kontingent-Schnittstelle",
5815
+ devin: "Devin-Sitzstatus-Schnittstelle",
5816
+ cursor: "Cursor-Nutzungsschnittstelle pro Zeitraum",
5817
+ body: "Antworttext des Anbieters",
5818
+ unknown: "Quelle unbekannt",
5819
+ upstream: "Antwort des Anbieters",
5820
+ unified: "Antwort-Header des Anbieters (unified)",
5821
+ rateLimit: "Antwort-Header des Anbieters (x-ratelimit)",
5822
+ googleQuota: "Antwort-Header des Anbieters (x-goog-quota)",
5823
+ sub2api: "Antwort-Header des Anbieters (x-sub2api)"
5824
+ },
5825
+ age: {
5826
+ unknown: "Abfragezeit unbekannt",
5827
+ justNow: "Gerade abgefragt",
5828
+ minutes: "Vor {{count}} Minuten abgefragt",
5829
+ hours: "Vor {{count}} Stunden abgefragt",
5830
+ days: "Vor {{count}} Tagen abgefragt",
5831
+ minutes_one: "Vor {{count}} Minute abgefragt",
5832
+ hours_one: "Vor {{count}} Stunde abgefragt",
5833
+ days_one: "Vor {{count}} Tag abgefragt"
5834
+ },
5835
+ reset: {
5836
+ today: "Heute um {{time}}",
5837
+ tomorrow: "Morgen um {{time}}",
5838
+ date: "{{day}}.{{month}}. um {{time}}",
5839
+ soon: "Zur\xFCcksetzung steht bevor",
5840
+ remaining: "Noch {{duration}}",
5841
+ line: "Zur\xFCcksetzung: {{clock}} \xB7 {{remaining}}"
5842
+ }
5843
+ },
5844
+ providerPreset: {
5845
+ officialRestricted: "Der Anbieter schr\xE4nkt die Anmeldung aus Drittanbieter-Apps ein"
5846
+ },
5431
5847
  cancel: "Abbrechen",
5432
5848
  update: "Aktualisieren",
5433
5849
  updating: "Wird aktualisiert...",
@@ -5506,20 +5922,7 @@ var ai_locale_default = {
5506
5922
  chat: "Chat",
5507
5923
  public: "\xD6ffentlich",
5508
5924
  byConversation: "Durch Unterhaltung erstellen",
5509
- manualConfiguration: "Manuelle Konfiguration",
5510
- quickCreate: {
5511
- reasoningEffort: "Denkaufwand",
5512
- reasoningEffortOptions: {
5513
- none: "Keine",
5514
- minimal: "Minimal",
5515
- low: "Niedrig",
5516
- medium: "Mittel",
5517
- high: "Hoch",
5518
- xhigh: "Sehr hoch",
5519
- max: "Maximal",
5520
- ultra: "Ultra"
5521
- }
5522
- }
5925
+ manualConfiguration: "Manuelle Konfiguration"
5523
5926
  },
5524
5927
  localCreate: {
5525
5928
  title: "Lokalen Agent erstellen",
@@ -5557,6 +5960,8 @@ var ai_locale_default = {
5557
5960
  memory: "Ged\xE4chtnis"
5558
5961
  },
5559
5962
  form: {
5963
+ modelRecommendedLabel: "{{label}} (Empfohlen)",
5964
+ rememberProviderKey: "Anbieterschl\xFCssel merken",
5560
5965
  name: "Agent-Name",
5561
5966
  namePlaceholder: "Namen des Agent eingeben...",
5562
5967
  provider: "Anbieter",
@@ -5567,6 +5972,9 @@ var ai_locale_default = {
5567
5972
  customProviderUrlPlaceholder: "z. B. https://api.example.com/v1/chat/completions",
5568
5973
  apiKey: AI_API_KEY_LABEL_DE,
5569
5974
  crossDeviceKey: "Auf anderen Ger\xE4ten verwenden",
5975
+ crossDeviceKeyOffHint: "Ist die Option aus, wird der Schl\xFCssel diesmal nicht hochgeladen. Bereits synchronisierte Kopien werden nicht gel\xF6scht.",
5976
+ crossDeviceKeyOffWebHint: "Der Browser versucht, den Anbieter direkt zu erreichen. Dessen Beschr\xE4nkungen f\xFCr ursprungs\xFCbergreifende Anfragen (CORS) k\xF6nnen die Anfrage blockieren.",
5977
+ rememberProviderKeyFailed: "Der Anbieterschl\xFCssel konnte nicht gespeichert werden. Die KI wurde nicht erstellt. Bitte versuche es erneut.",
5570
5978
  prompt: "Prompt",
5571
5979
  promptPlaceholder: "Verhalten und Pers\xF6nlichkeit des Agent definieren...",
5572
5980
  greeting: "Begr\xFC\xDFungsnachricht",
@@ -5598,7 +6006,18 @@ var ai_locale_default = {
5598
6006
  maxTokensSetCustom: "Benutzerdefiniert",
5599
6007
  maxTokensClearToDefault: "Modell-Standardwert folgen",
5600
6008
  maxTokensInputPlaceholder: "Wert eingeben (leer = Modell-Standardwert)",
5601
- reasoningEffort: "Denkaufwand",
6009
+ reasoningEffort: "Denktiefe",
6010
+ thinkingDefault: "Anbieterstandard",
6011
+ thinkingDepthOptions: {
6012
+ none: "Aus",
6013
+ minimal: "Minimal",
6014
+ low: "Niedrig",
6015
+ medium: "Mittel",
6016
+ high: "Hoch",
6017
+ xhigh: "Sehr hoch",
6018
+ max: "Maximum",
6019
+ ultra: "Ultra"
6020
+ },
5602
6021
  defaults: {
5603
6022
  greeting: "Ich bin ein intelligenter Assistent, der von nolo.chat f\xFCr Sie angepasst wurde. Wie kann ich Ihnen heute helfen?"
5604
6023
  },
@@ -5622,7 +6041,10 @@ var ai_locale_default = {
5622
6041
  frequencyPenalty: "Verringert die Wahrscheinlichkeit, dass W\xF6rter wiederholt werden.",
5623
6042
  presencePenalty: "Erh\xF6ht die Wahrscheinlichkeit, neue Themen anzusprechen.",
5624
6043
  maxTokens: "Die maximale Anzahl der in einer Antwort generierten Tokens.",
5625
- reasoningEffort: "Steuert die Intensit\xE4t des Denkens bei Modellen mit Denkmodus (z. B. OpenAI o-Serie)."
6044
+ thinkingLegacyOn: "Bisherige Einstellung: Denkmodus an",
6045
+ thinkingLegacyOff: "Bisherige Einstellung: Denkmodus aus",
6046
+ thinkingSavedEffortMapped: "Gespeichert: {{saved}}. Dieses Modell verwendet {{effective}}.",
6047
+ thinkingSavedEffortUnavailable: "Der gespeicherte Wert {{saved}} ist in den aktuellen Optionen nicht verf\xFCgbar."
5626
6048
  },
5627
6049
  validation: {
5628
6050
  nameRequired: "Name des Agent ist erforderlich",
@@ -5817,6 +6239,87 @@ var ai_locale_default = {
5817
6239
  },
5818
6240
  es: {
5819
6241
  translation: {
6242
+ editRoleModel: {
6243
+ tab: "Rol y modelo",
6244
+ identity: "Identidad",
6245
+ model: "Modelo",
6246
+ greeting: "Saludo y men\xFA"
6247
+ },
6248
+ editModelSource: {
6249
+ platform: "API de la plataforma",
6250
+ platformHint: "Usar la clave de la plataforma",
6251
+ custom: "API personalizada",
6252
+ customHint: "Usar tu propia clave",
6253
+ cli: "CLI (terminal)",
6254
+ cliHint: "Por ejemplo, gh copilot",
6255
+ provider: "Proveedor",
6256
+ cliTool: "Herramienta CLI",
6257
+ runLocation: "Lugar de ejecuci\xF3n",
6258
+ credentialStatus: "Estado de credenciales",
6259
+ chooseModel: "Elegir del cat\xE1logo",
6260
+ manualModel: "Introducir ID de modelo manualmente",
6261
+ oauthGroup: "Suscripci\xF3n OAuth",
6262
+ manualProvider: "Manual / Otro",
6263
+ apiKeyConfigured: "La clave de API est\xE1 guardada. Para reemplazarla, escribe una nueva arriba.",
6264
+ apiKeyProviderShared: "\u2713 Se usa la clave compartida de {{presetId}}. Para reemplazarla, escribe una nueva arriba.",
6265
+ cliUnverified: "Sin verificar (inicia sesi\xF3n en el equipo)",
6266
+ cliLoginHint: "Que el equipo est\xE9 en l\xEDnea no significa que la CLI tenga una sesi\xF3n iniciada. Ejecuta {{command}} en una terminal del equipo de destino.",
6267
+ cliLoginCommand: "el comando de inicio de sesi\xF3n",
6268
+ cliMachineBound: "Opciones avanzadas: vinculado a {{machine}}",
6269
+ cliMachineUnbound: "Opciones avanzadas: elige un equipo (se usa el entorno local o predeterminado de la CLI)"
6270
+ },
6271
+ providerGroup: {
6272
+ subscriptionTokenPlan: "Clave de plan de suscripci\xF3n",
6273
+ meteredApi: "API por consumo"
6274
+ },
6275
+ quota: {
6276
+ title: "Cuota de suscripci\xF3n",
6277
+ remaining: "{{percent}}% restante",
6278
+ snapshotAge: "Instant\xE1nea \xB7 {{age}}",
6279
+ windowAriaLabel: "{{label}}: {{remaining}}",
6280
+ snapshotTooltip: "La hora corresponde a la instant\xE1nea completa, no a cada per\xEDodo. La plataforma consulta las interfaces de cuota del proveedor; los criterios de c\xF3mputo y los tiempos de actualizaci\xF3n pueden diferir de la p\xE1gina oficial de uso.",
6281
+ period: {
6282
+ fiveHours: "5 horas",
6283
+ daily: "Diaria",
6284
+ weekly: "Semanal",
6285
+ monthly: "Mensual"
6286
+ },
6287
+ source: {
6288
+ codex: "Interfaz rate_limit de Codex",
6289
+ claude: "Interfaz oauth/usage de Claude",
6290
+ antigravity: "Interfaz de cuota de Antigravity",
6291
+ devin: "Interfaz de estado de plazas de Devin",
6292
+ cursor: "Interfaz de uso por per\xEDodo de Cursor",
6293
+ body: "Cuerpo de respuesta del proveedor",
6294
+ unknown: "Fuente desconocida",
6295
+ upstream: "Respuesta del proveedor",
6296
+ unified: "Cabecera de respuesta del proveedor (unified)",
6297
+ rateLimit: "Cabecera de respuesta del proveedor (x-ratelimit)",
6298
+ googleQuota: "Cabecera de respuesta del proveedor (x-goog-quota)",
6299
+ sub2api: "Cabecera de respuesta del proveedor (x-sub2api)"
6300
+ },
6301
+ age: {
6302
+ unknown: "Hora de consulta desconocida",
6303
+ justNow: "Consultado hace un momento",
6304
+ minutes: "Consultado hace {{count}} minutos",
6305
+ hours: "Consultado hace {{count}} horas",
6306
+ days: "Consultado hace {{count}} d\xEDas",
6307
+ minutes_one: "Consultado hace {{count}} minuto",
6308
+ hours_one: "Consultado hace {{count}} hora",
6309
+ days_one: "Consultado hace {{count}} d\xEDa"
6310
+ },
6311
+ reset: {
6312
+ today: "Hoy a las {{time}}",
6313
+ tomorrow: "Ma\xF1ana a las {{time}}",
6314
+ date: "{{day}}/{{month}} a las {{time}}",
6315
+ soon: "restablecimiento inminente",
6316
+ remaining: "Quedan {{duration}}",
6317
+ line: "Se restablece: {{clock}} \xB7 {{remaining}}"
6318
+ }
6319
+ },
6320
+ providerPreset: {
6321
+ officialRestricted: "El proveedor restringe el inicio de sesi\xF3n desde aplicaciones de terceros"
6322
+ },
5820
6323
  cancel: "Cancelar",
5821
6324
  update: "Actualizar",
5822
6325
  updating: "Actualizando...",
@@ -5895,20 +6398,7 @@ var ai_locale_default = {
5895
6398
  chat: "Chat",
5896
6399
  public: "P\xFAblico",
5897
6400
  byConversation: "Crear mediante conversaci\xF3n",
5898
- manualConfiguration: "Configuraci\xF3n manual",
5899
- quickCreate: {
5900
- reasoningEffort: "Esfuerzo de razonamiento",
5901
- reasoningEffortOptions: {
5902
- none: "Ninguno",
5903
- minimal: "M\xEDnimo",
5904
- low: "Bajo",
5905
- medium: "Medio",
5906
- high: "Alto",
5907
- xhigh: "Muy alto",
5908
- max: "M\xE1ximo",
5909
- ultra: "Ultra"
5910
- }
5911
- }
6401
+ manualConfiguration: "Configuraci\xF3n manual"
5912
6402
  },
5913
6403
  localCreate: {
5914
6404
  title: "Crear Agent local",
@@ -5946,6 +6436,8 @@ var ai_locale_default = {
5946
6436
  memory: "Memoria"
5947
6437
  },
5948
6438
  form: {
6439
+ modelRecommendedLabel: "{{label}} (Recomendado)",
6440
+ rememberProviderKey: "Recordar clave del proveedor",
5949
6441
  name: "Nombre del Agent",
5950
6442
  namePlaceholder: "Introduce el nombre del Agent...",
5951
6443
  provider: "Proveedor",
@@ -5956,6 +6448,9 @@ var ai_locale_default = {
5956
6448
  customProviderUrlPlaceholder: "p. ej., https://api.example.com/v1/chat/completions",
5957
6449
  apiKey: "Clave API",
5958
6450
  crossDeviceKey: "Usar en otros dispositivos",
6451
+ crossDeviceKeyOffHint: "Al desactivar esta opci\xF3n, la clave no se sube esta vez. Las copias ya sincronizadas no se eliminan.",
6452
+ crossDeviceKeyOffWebHint: "El navegador intentar\xE1 conectar directamente con el proveedor. Sus restricciones entre or\xEDgenes (CORS) pueden bloquear la solicitud.",
6453
+ rememberProviderKeyFailed: "No se pudo guardar la clave del proveedor. No se cre\xF3 la IA. Int\xE9ntalo de nuevo.",
5959
6454
  prompt: "Prompt",
5960
6455
  promptPlaceholder: "Define el comportamiento y la personalidad del Agent...",
5961
6456
  greeting: "Mensaje de bienvenida",
@@ -5964,7 +6459,7 @@ var ai_locale_default = {
5964
6459
  tags: "Etiquetas",
5965
6460
  tagsPlaceholder: "Introduce etiquetas y pulsa Enter",
5966
6461
  useServerProxy: "Modo proxy",
5967
- enableThinking: "Modo de razonamiento",
6462
+ enableThinking: "Modo de pensamiento",
5968
6463
  thinkingBudget: "Presupuesto de tokens de razonamiento",
5969
6464
  isPublic: "Hacer p\xFAblico",
5970
6465
  allowFork: "Permitir que otros copien",
@@ -5987,7 +6482,18 @@ var ai_locale_default = {
5987
6482
  maxTokensSetCustom: "Personalizado",
5988
6483
  maxTokensClearToDefault: "Seguir valor predeterminado del modelo",
5989
6484
  maxTokensInputPlaceholder: "Introduce un valor (vac\xEDo = valor predeterminado del modelo)",
5990
- reasoningEffort: "Esfuerzo de razonamiento",
6485
+ reasoningEffort: "Profundidad de pensamiento",
6486
+ thinkingDefault: "Valor predeterminado del proveedor",
6487
+ thinkingDepthOptions: {
6488
+ none: "Desactivado",
6489
+ minimal: "M\xEDnimo",
6490
+ low: "Bajo",
6491
+ medium: "Medio",
6492
+ high: "Alto",
6493
+ xhigh: "Muy alto",
6494
+ max: "M\xE1ximo",
6495
+ ultra: "Ultra"
6496
+ },
5991
6497
  defaults: {
5992
6498
  greeting: "Soy un asistente inteligente personalizado para ti por nolo.chat. \xBFEn qu\xE9 puedo ayudarte hoy?"
5993
6499
  },
@@ -6011,7 +6517,10 @@ var ai_locale_default = {
6011
6517
  frequencyPenalty: "Reduce la repetici\xF3n de palabras en la respuesta.",
6012
6518
  presencePenalty: "Aumenta la probabilidad de introducir temas nuevos.",
6013
6519
  maxTokens: "N\xFAmero m\xE1ximo de tokens generados en una \xFAnica respuesta.",
6014
- reasoningEffort: "Ajusta la intensidad de razonamiento en modelos compatibles (p. ej., serie o de OpenAI)."
6520
+ thinkingLegacyOn: "Configuraci\xF3n anterior: pensamiento activado",
6521
+ thinkingLegacyOff: "Configuraci\xF3n anterior: pensamiento desactivado",
6522
+ thinkingSavedEffortMapped: "Valor guardado: {{saved}}. Este modelo usa {{effective}}.",
6523
+ thinkingSavedEffortUnavailable: "El valor guardado, {{saved}}, no est\xE1 entre las opciones actuales."
6015
6524
  },
6016
6525
  validation: {
6017
6526
  nameRequired: "El nombre del Agent es obligatorio",
@@ -6206,6 +6715,64 @@ var ai_locale_default = {
6206
6715
  }
6207
6716
  };
6208
6717
 
6718
+ // packages/chat/dialog/childRunObserverLabels.ts
6719
+ var childRunObserverLabels = {
6720
+ "en": {
6721
+ "openChildPage": "Open child dialog",
6722
+ "savedActiveGroup": "Last saved active \xB7 not live",
6723
+ "historyGroup": "Other tasks",
6724
+ "viewDetails": "View details",
6725
+ "persistedRuns": "Persisted subagent runs",
6726
+ "persistedSnapshot": "Saved status \xB7 not live",
6727
+ "inProgressGroup": "In progress"
6728
+ },
6729
+ "zh-CN": {
6730
+ "openChildPage": "\u6253\u5F00\u5B50\u5BF9\u8BDD",
6731
+ "savedActiveGroup": "\u4E0A\u6B21\u4FDD\u5B58\u4E3A\u6D3B\u8DC3 \xB7 \u975E\u5B9E\u65F6",
6732
+ "historyGroup": "\u5176\u4ED6\u4EFB\u52A1",
6733
+ "viewDetails": "\u67E5\u770B\u8BE6\u60C5",
6734
+ "persistedRuns": "\u5DF2\u540C\u6B65\u7684\u5B50\u4EFB\u52A1",
6735
+ "persistedSnapshot": "\u5DF2\u4FDD\u5B58\u72B6\u6001 \xB7 \u975E\u5B9E\u65F6",
6736
+ "inProgressGroup": "\u8FDB\u884C\u4E2D"
6737
+ },
6738
+ "zh-Hant": {
6739
+ "openChildPage": "\u958B\u555F\u5B50\u5C0D\u8A71",
6740
+ "savedActiveGroup": "\u4E0A\u6B21\u5132\u5B58\u70BA\u6D3B\u8E8D \xB7 \u975E\u5373\u6642",
6741
+ "historyGroup": "\u5176\u4ED6\u4EFB\u52D9",
6742
+ "viewDetails": "\u67E5\u770B\u8A73\u60C5",
6743
+ "persistedRuns": "\u5DF2\u540C\u6B65\u7684\u5B50\u4EFB\u52D9",
6744
+ "persistedSnapshot": "\u5DF2\u5132\u5B58\u72C0\u614B \xB7 \u975E\u5373\u6642",
6745
+ "inProgressGroup": "\u9032\u884C\u4E2D"
6746
+ },
6747
+ "ja": {
6748
+ "openChildPage": "\u5B50\u4F1A\u8A71\u3092\u958B\u304F",
6749
+ "savedActiveGroup": "\u6700\u7D42\u4FDD\u5B58\u6642\u306F\u5B9F\u884C\u4E2D\u30FB\u975E\u30EA\u30A2\u30EB\u30BF\u30A4\u30E0",
6750
+ "historyGroup": "\u305D\u306E\u4ED6\u306E\u30BF\u30B9\u30AF",
6751
+ "viewDetails": "\u8A73\u7D30\u3092\u898B\u308B",
6752
+ "persistedRuns": "\u4FDD\u5B58\u6E08\u307F\u30B5\u30D6\u30BF\u30B9\u30AF",
6753
+ "persistedSnapshot": "\u4FDD\u5B58\u6E08\u307F\u72B6\u614B\u30FB\u30EA\u30A2\u30EB\u30BF\u30A4\u30E0\u3067\u306F\u3042\u308A\u307E\u305B\u3093",
6754
+ "inProgressGroup": "\u9032\u884C\u4E2D"
6755
+ },
6756
+ "de": {
6757
+ "openChildPage": "Unterdialog \xF6ffnen",
6758
+ "savedActiveGroup": "Zuletzt aktiv gespeichert \xB7 nicht live",
6759
+ "historyGroup": "Weitere Aufgaben",
6760
+ "viewDetails": "Details ansehen",
6761
+ "persistedRuns": "Gespeicherte Unteraufgaben",
6762
+ "persistedSnapshot": "Gespeicherter Status \xB7 nicht live",
6763
+ "inProgressGroup": "In Bearbeitung"
6764
+ },
6765
+ "es": {
6766
+ "openChildPage": "Abrir di\xE1logo secundario",
6767
+ "savedActiveGroup": "Activo al guardar \xB7 no en vivo",
6768
+ "historyGroup": "Otras tareas",
6769
+ "viewDetails": "Ver detalles",
6770
+ "persistedRuns": "Subtareas guardadas",
6771
+ "persistedSnapshot": "Estado guardado \xB7 no en vivo",
6772
+ "inProgressGroup": "En curso"
6773
+ }
6774
+ };
6775
+
6209
6776
  // packages/chat/chat.locale.ts
6210
6777
  var chat_locale_default = {
6211
6778
  en: {
@@ -6615,6 +7182,13 @@ var chat_locale_default = {
6615
7182
  DialogSettings: "Dialog Settings",
6616
7183
  collaborativeConversation: "Collaborative conversation",
6617
7184
  childRunObserver: {
7185
+ ...childRunObserverLabels["en"],
7186
+ workingGroup: "Working",
7187
+ mainAgent: "Main agent",
7188
+ modelUnknown: "Model unknown",
7189
+ reasoningConfigured: "Reasoning effort (configured): {{effort}}",
7190
+ reasoningUnspecified: "Reasoning effort: not specified",
7191
+ reasoningUnsupported: "Configured reasoning effort is not supported by this model/provider",
6618
7192
  panelAriaLabel: "Child runs",
6619
7193
  title: "Child runs",
6620
7194
  subtitleLoading: "Loading child runs\u2026",
@@ -7168,6 +7742,13 @@ var chat_locale_default = {
7168
7742
  DialogSettings: "\u4F1A\u8BDD\u8BBE\u7F6E",
7169
7743
  collaborativeConversation: "\u534F\u4F5C\u4F1A\u8BDD",
7170
7744
  childRunObserver: {
7745
+ ...childRunObserverLabels["zh-CN"],
7746
+ workingGroup: "\u6B63\u5728\u6267\u884C",
7747
+ mainAgent: "\u4E3B Agent",
7748
+ modelUnknown: "\u6A21\u578B\u672A\u77E5",
7749
+ reasoningConfigured: "\u63A8\u7406\u5F3A\u5EA6\uFF08\u914D\u7F6E\uFF09\uFF1A{{effort}}",
7750
+ reasoningUnspecified: "\u63A8\u7406\u5F3A\u5EA6\uFF1A\u672A\u6307\u5B9A",
7751
+ reasoningUnsupported: "\u5DF2\u914D\u7F6E\u63A8\u7406\u5F3A\u5EA6\uFF0C\u4F46\u6B64\u6A21\u578B\u6216\u63D0\u4F9B\u65B9\u4E0D\u652F\u6301\u6B64\u53C2\u6570",
7171
7752
  panelAriaLabel: "\u5B50\u4EFB\u52A1\u8FD0\u884C",
7172
7753
  title: "\u5B50\u4EFB\u52A1",
7173
7754
  subtitleLoading: "\u52A0\u8F7D\u5B50\u8FD0\u884C\u2026",
@@ -7721,6 +8302,13 @@ var chat_locale_default = {
7721
8302
  DialogSettings: "\u6703\u8A71\u8A2D\u5B9A",
7722
8303
  collaborativeConversation: "\u5354\u4F5C\u6703\u8A71",
7723
8304
  childRunObserver: {
8305
+ ...childRunObserverLabels["zh-Hant"],
8306
+ workingGroup: "\u6B63\u5728\u57F7\u884C",
8307
+ mainAgent: "\u4E3B Agent",
8308
+ modelUnknown: "\u6A21\u578B\u672A\u77E5",
8309
+ reasoningConfigured: "\u63A8\u7406\u5F37\u5EA6\uFF08\u8A2D\u5B9A\uFF09\uFF1A{{effort}}",
8310
+ reasoningUnspecified: "\u63A8\u7406\u5F37\u5EA6\uFF1A\u672A\u6307\u5B9A",
8311
+ reasoningUnsupported: "\u5DF2\u8A2D\u5B9A\u63A8\u7406\u5F37\u5EA6\uFF0C\u4F46\u6B64\u6A21\u578B\u6216\u4F9B\u61C9\u5546\u4E0D\u652F\u63F4\u6B64\u53C3\u6578",
7724
8312
  panelAriaLabel: "\u5B50\u4EFB\u52D9\u904B\u884C",
7725
8313
  title: "\u5B50\u4EFB\u52D9",
7726
8314
  subtitleLoading: "\u8F09\u5165\u5B50\u904B\u884C\u2026",
@@ -8280,6 +8868,13 @@ var chat_locale_default = {
8280
8868
  DialogSettings: "\u5BFE\u8A71\u8A2D\u5B9A",
8281
8869
  collaborativeConversation: "\u5354\u8ABF\u4F1A\u8A71",
8282
8870
  childRunObserver: {
8871
+ ...childRunObserverLabels["ja"],
8872
+ workingGroup: "\u5B9F\u884C\u4E2D",
8873
+ mainAgent: "\u30E1\u30A4\u30F3 Agent",
8874
+ modelUnknown: "\u30E2\u30C7\u30EB\u4E0D\u660E",
8875
+ reasoningConfigured: "\u63A8\u8AD6\u5F37\u5EA6\uFF08\u8A2D\u5B9A\uFF09\uFF1A{{effort}}",
8876
+ reasoningUnspecified: "\u63A8\u8AD6\u5F37\u5EA6\uFF1A\u672A\u6307\u5B9A",
8877
+ reasoningUnsupported: "\u8A2D\u5B9A\u3055\u308C\u305F\u63A8\u8AD6\u5F37\u5EA6\u306F\u3053\u306E\u30E2\u30C7\u30EB\u307E\u305F\u306F\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u3067\u306F\u975E\u5BFE\u5FDC\u3067\u3059",
8283
8878
  panelAriaLabel: "\u5B50\u30BF\u30B9\u30AF\u5B9F\u884C",
8284
8879
  title: "\u5B50\u30BF\u30B9\u30AF",
8285
8880
  subtitleLoading: "\u5B50\u5B9F\u884C\u3092\u8AAD\u307F\u8FBC\u307F\u4E2D\u2026",
@@ -8840,6 +9435,13 @@ var chat_locale_default = {
8840
9435
  DialogSettings: "Dialog-Einstellungen",
8841
9436
  collaborativeConversation: "Kollaborative Unterhaltung",
8842
9437
  childRunObserver: {
9438
+ ...childRunObserverLabels["de"],
9439
+ workingGroup: "In Bearbeitung",
9440
+ mainAgent: "Haupt-Agent",
9441
+ modelUnknown: "Modell unbekannt",
9442
+ reasoningConfigured: "Denkaufwand (konfiguriert): {{effort}}",
9443
+ reasoningUnspecified: "Denkaufwand: nicht angegeben",
9444
+ reasoningUnsupported: "Der konfigurierte Denkaufwand wird von diesem Modell/Anbieter nicht unterst\xFCtzt",
8843
9445
  panelAriaLabel: "Hintergrund-Subtasks",
8844
9446
  title: "Hintergrund-Subtasks",
8845
9447
  subtitleLoading: "Subtasks werden geladen\u2026",
@@ -9400,6 +10002,13 @@ var chat_locale_default = {
9400
10002
  DialogSettings: "Ajustes del di\xE1logo",
9401
10003
  collaborativeConversation: "Conversaci\xF3n colaborativa",
9402
10004
  childRunObserver: {
10005
+ ...childRunObserverLabels["es"],
10006
+ workingGroup: "En ejecuci\xF3n",
10007
+ mainAgent: "Agente principal",
10008
+ modelUnknown: "Modelo desconocido",
10009
+ reasoningConfigured: "Esfuerzo de razonamiento (configurado): {{effort}}",
10010
+ reasoningUnspecified: "Esfuerzo de razonamiento: sin especificar",
10011
+ reasoningUnsupported: "El esfuerzo configurado no es compatible con este modelo/proveedor",
9403
10012
  panelAriaLabel: "Subtareas en segundo plano",
9404
10013
  title: "Subtareas en segundo plano",
9405
10014
  subtitleLoading: "Cargando subtareas\u2026",
@@ -9577,6 +10186,11 @@ var space_locale_default = {
9577
10186
  workspace_other: "Other spaces",
9578
10187
  workspace_unassociated: "Unassociated space",
9579
10188
  workspace_unassociated_empty: "No content outside spaces yet",
10189
+ workspace_show_more: "Show more ({{count}} remaining)",
10190
+ workspace_create_space: "New Space",
10191
+ workspace_start_chat: "Start chat in this space",
10192
+ workspace_more: "More space actions: {{name}}",
10193
+ workspace_more_menu: "Space actions",
9580
10194
  // === 基础操作 ===
9581
10195
  create: "Create Space",
9582
10196
  name: "Space Name",
@@ -9784,6 +10398,50 @@ var space_locale_default = {
9784
10398
  uploadFailed: "Upload failed",
9785
10399
  uploadPartial: "{{succeeded}} uploaded, {{failed}} failed",
9786
10400
  retry: "Retry",
10401
+ epub_loading: "Opening book...",
10402
+ epub_reader_label: "EPUB reader: {{name}}",
10403
+ epub_toc: "Table of contents",
10404
+ epub_prev: "Previous",
10405
+ epub_next: "Next",
10406
+ epub_chapter_fallback: "Chapter {{n}}",
10407
+ epub_chapter_of: "Chapter {{current}} / {{total}}",
10408
+ epub_progress_label: "Reading progress",
10409
+ epub_error_title: "Cannot open this book",
10410
+ epub_error_fetch: "The file could not be downloaded. Check your connection and try again.",
10411
+ epub_error_invalid_zip: "This file is not a valid EPUB package (it cannot be unzipped).",
10412
+ epub_error_missing_container: "This EPUB is damaged: META-INF/container.xml is missing.",
10413
+ epub_error_missing_opf: "This EPUB is damaged: the package (OPF) file is missing.",
10414
+ epub_error_invalid_opf: "This EPUB is damaged: the package (OPF) file cannot be parsed.",
10415
+ epub_error_encrypted: "This EPUB is DRM-protected and cannot be read online. Download the original file and open it with a reader that is authorized for it.",
10416
+ epub_settings: "Reading settings",
10417
+ epub_font_size: "Font size",
10418
+ epub_font_smaller: "Smaller",
10419
+ epub_font_larger: "Larger",
10420
+ epub_size_sm: "Small",
10421
+ epub_size_md: "Medium",
10422
+ epub_size_lg: "Large",
10423
+ epub_size_xl: "Extra large",
10424
+ epub_font_family: "Font",
10425
+ epub_font_sans: "Sans-serif",
10426
+ epub_font_serif: "Serif",
10427
+ epub_theme: "Theme",
10428
+ epub_theme_system: "System",
10429
+ epub_theme_light: "Light",
10430
+ epub_theme_paper: "Warm paper",
10431
+ epub_theme_dark: "Dark",
10432
+ epub_error_empty_spine: "This EPUB has no readable chapters.",
10433
+ epub_error_missing_chapter: "This chapter is missing from the EPUB package.",
10434
+ epub_error_too_large: "This EPUB is too large to open here.",
10435
+ epub_error_chapter_too_large: "This chapter is too large to render.",
10436
+ epub_links_hint: "Links inside the book are not clickable; use the table of contents.",
10437
+ epub_search: "Search book",
10438
+ epub_search_placeholder: "Search in book...",
10439
+ epub_search_empty: "No matching passages",
10440
+ epub_search_min_chars: "Type at least 2 characters",
10441
+ epub_search_count: "{{count}} matches",
10442
+ epub_ask_ai: "Ask AI",
10443
+ epub_quote_ask_ai: "Quote to AI",
10444
+ epub_quote_hint: "Copy a passage from the book first, then click Quote to AI \u2014 or paste directly in the assistant.",
9787
10445
  uploadFile: "Upload File",
9788
10446
  uploading: "Uploading...",
9789
10447
  selectionCount: "Selected {{count}}",
@@ -9911,6 +10569,11 @@ var space_locale_default = {
9911
10569
  workspace_other: "\u5176\u4ED6\u7A7A\u95F4",
9912
10570
  workspace_unassociated: "\u7A7A\u95F4\u5916",
9913
10571
  workspace_unassociated_empty: "\u7A7A\u95F4\u5916\u8FD8\u6CA1\u6709\u5185\u5BB9",
10572
+ workspace_show_more: "\u663E\u793A\u66F4\u591A\uFF08\u5269\u4F59 {{count}} \u6761\uFF09",
10573
+ workspace_create_space: "\u65B0\u5EFA\u7A7A\u95F4",
10574
+ workspace_start_chat: "\u5728\u6B64\u7A7A\u95F4\u53D1\u8D77\u5BF9\u8BDD",
10575
+ workspace_more: "\u7A7A\u95F4\u66F4\u591A\u64CD\u4F5C\uFF1A{{name}}",
10576
+ workspace_more_menu: "\u7A7A\u95F4\u64CD\u4F5C",
9914
10577
  // === 基础操作 ===
9915
10578
  create: "\u521B\u5EFA\u7A7A\u95F4",
9916
10579
  name: "\u7A7A\u95F4\u540D\u79F0",
@@ -10118,6 +10781,50 @@ var space_locale_default = {
10118
10781
  uploadFailed: "\u4E0A\u4F20\u5931\u8D25",
10119
10782
  uploadPartial: "{{succeeded}} \u4E2A\u6210\u529F\uFF0C{{failed}} \u4E2A\u5931\u8D25",
10120
10783
  retry: "\u91CD\u8BD5",
10784
+ epub_loading: "\u6B63\u5728\u6253\u5F00\u4E66\u7C4D\u2026",
10785
+ epub_reader_label: "EPUB \u9605\u8BFB\u5668\uFF1A{{name}}",
10786
+ epub_toc: "\u76EE\u5F55",
10787
+ epub_prev: "\u4E0A\u4E00\u7AE0",
10788
+ epub_next: "\u4E0B\u4E00\u7AE0",
10789
+ epub_chapter_fallback: "\u7B2C {{n}} \u7AE0",
10790
+ epub_chapter_of: "\u7B2C {{current}} / {{total}} \u7AE0",
10791
+ epub_progress_label: "\u9605\u8BFB\u8FDB\u5EA6",
10792
+ epub_error_title: "\u65E0\u6CD5\u6253\u5F00\u8FD9\u672C\u4E66",
10793
+ epub_error_fetch: "\u6587\u4EF6\u4E0B\u8F7D\u5931\u8D25\uFF0C\u8BF7\u68C0\u67E5\u7F51\u7EDC\u540E\u91CD\u8BD5\u3002",
10794
+ epub_error_invalid_zip: "\u8FD9\u4E0D\u662F\u6709\u6548\u7684 EPUB \u6587\u4EF6\uFF08\u65E0\u6CD5\u89E3\u538B\uFF09\u3002",
10795
+ epub_error_missing_container: "EPUB \u5DF2\u635F\u574F\uFF1A\u7F3A\u5C11 META-INF/container.xml\u3002",
10796
+ epub_error_missing_opf: "EPUB \u5DF2\u635F\u574F\uFF1A\u627E\u4E0D\u5230\u5305\u63CF\u8FF0\uFF08OPF\uFF09\u6587\u4EF6\u3002",
10797
+ epub_error_invalid_opf: "EPUB \u5DF2\u635F\u574F\uFF1A\u5305\u63CF\u8FF0\uFF08OPF\uFF09\u6587\u4EF6\u65E0\u6CD5\u89E3\u6790\u3002",
10798
+ epub_error_encrypted: "\u8FD9\u672C EPUB \u53D7 DRM \u4FDD\u62A4\uFF0C\u65E0\u6CD5\u5728\u7EBF\u9605\u8BFB\uFF0C\u53EF\u4E0B\u8F7D\u539F\u6587\u4EF6\u7528\u5DF2\u6388\u6743\u7684\u9605\u8BFB\u5668\u6253\u5F00\u3002",
10799
+ epub_settings: "\u9605\u8BFB\u8BBE\u7F6E",
10800
+ epub_font_size: "\u5B57\u53F7",
10801
+ epub_font_smaller: "\u51CF\u5C0F\u5B57\u53F7",
10802
+ epub_font_larger: "\u589E\u5927\u5B57\u53F7",
10803
+ epub_size_sm: "\u5C0F",
10804
+ epub_size_md: "\u4E2D",
10805
+ epub_size_lg: "\u5927",
10806
+ epub_size_xl: "\u7279\u5927",
10807
+ epub_font_family: "\u5B57\u4F53",
10808
+ epub_font_sans: "\u65E0\u886C\u7EBF",
10809
+ epub_font_serif: "\u886C\u7EBF",
10810
+ epub_theme: "\u4E3B\u9898",
10811
+ epub_theme_system: "\u8DDF\u968F\u7CFB\u7EDF",
10812
+ epub_theme_light: "\u6D45\u767D",
10813
+ epub_theme_paper: "\u6696\u7EB8",
10814
+ epub_theme_dark: "\u6DF1\u8272",
10815
+ epub_error_empty_spine: "\u8FD9\u672C EPUB \u6CA1\u6709\u53EF\u9605\u8BFB\u7684\u7AE0\u8282\u3002",
10816
+ epub_error_missing_chapter: "EPUB \u5305\u5185\u7F3A\u5C11\u8BE5\u7AE0\u8282\u3002",
10817
+ epub_error_too_large: "\u8FD9\u672C EPUB \u4F53\u79EF\u8FC7\u5927\uFF0C\u65E0\u6CD5\u5728\u6B64\u6253\u5F00\u3002",
10818
+ epub_error_chapter_too_large: "\u8BE5\u7AE0\u8282\u5185\u5BB9\u8FC7\u5927\uFF0C\u65E0\u6CD5\u6E32\u67D3\u3002",
10819
+ epub_links_hint: "\u4E66\u5185\u94FE\u63A5\u6682\u4E0D\u53EF\u70B9\u51FB\uFF0C\u8BF7\u4F7F\u7528\u76EE\u5F55\u8DF3\u8F6C\u3002",
10820
+ epub_search: "\u641C\u7D22\u5168\u4E66",
10821
+ epub_search_placeholder: "\u641C\u7D22\u5168\u4E66\u5173\u952E\u8BCD\u2026",
10822
+ epub_search_empty: "\u672A\u627E\u5230\u5339\u914D\u5185\u5BB9",
10823
+ epub_search_min_chars: "\u8BF7\u8F93\u5165\u81F3\u5C11 2 \u4E2A\u5B57\u7B26",
10824
+ epub_search_count: "\u5171 {{count}} \u5904\u5339\u914D",
10825
+ epub_ask_ai: "\u95EE AI",
10826
+ epub_quote_ask_ai: "\u5F15\u7528\u95EE AI",
10827
+ epub_quote_hint: "\u5148\u590D\u5236\u4E66\u5185\u53E5\u5B50\u518D\u70B9\u6B64\u5F15\u7528\uFF0C\u6216\u76F4\u63A5\u7C98\u8D34\u63D0\u95EE",
10121
10828
  uploadFile: "\u4E0A\u4F20\u6587\u4EF6",
10122
10829
  uploading: "\u4E0A\u4F20\u4E2D...",
10123
10830
  selectionCount: "\u5DF2\u9009 {{count}}",
@@ -10245,6 +10952,11 @@ var space_locale_default = {
10245
10952
  workspace_other: "\u5176\u4ED6\u7A7A\u9593",
10246
10953
  workspace_unassociated: "\u7A7A\u9593\u5916",
10247
10954
  workspace_unassociated_empty: "\u7A7A\u9593\u5916\u9084\u6C92\u6709\u5167\u5BB9",
10955
+ workspace_show_more: "\u986F\u793A\u66F4\u591A\uFF08\u5269\u9918 {{count}} \u689D\uFF09",
10956
+ workspace_create_space: "\u65B0\u589E\u7A7A\u9593",
10957
+ workspace_start_chat: "\u5728\u6B64\u7A7A\u9593\u767C\u8D77\u5C0D\u8A71",
10958
+ workspace_more: "\u7A7A\u9593\u66F4\u591A\u64CD\u4F5C\uFF1A{{name}}",
10959
+ workspace_more_menu: "\u7A7A\u9593\u64CD\u4F5C",
10248
10960
  // === 基础操作 ===
10249
10961
  create: "\u5275\u5EFA\u7A7A\u9593",
10250
10962
  name: "\u7A7A\u9593\u540D\u7A31",
@@ -10451,6 +11163,50 @@ var space_locale_default = {
10451
11163
  uploadFailed: "\u4E0A\u50B3\u5931\u6557",
10452
11164
  uploadPartial: "{{succeeded}} \u500B\u6210\u529F\uFF0C{{failed}} \u500B\u5931\u6557",
10453
11165
  retry: "\u91CD\u8A66",
11166
+ epub_loading: "\u6B63\u5728\u958B\u555F\u66F8\u7C4D\u2026",
11167
+ epub_reader_label: "EPUB \u95B1\u8B80\u5668\uFF1A{{name}}",
11168
+ epub_toc: "\u76EE\u9304",
11169
+ epub_prev: "\u4E0A\u4E00\u7AE0",
11170
+ epub_next: "\u4E0B\u4E00\u7AE0",
11171
+ epub_chapter_fallback: "\u7B2C {{n}} \u7AE0",
11172
+ epub_chapter_of: "\u7B2C {{current}} / {{total}} \u7AE0",
11173
+ epub_progress_label: "\u95B1\u8B80\u9032\u5EA6",
11174
+ epub_error_title: "\u7121\u6CD5\u958B\u555F\u9019\u672C\u66F8",
11175
+ epub_error_fetch: "\u6A94\u6848\u4E0B\u8F09\u5931\u6557\uFF0C\u8ACB\u6AA2\u67E5\u7DB2\u8DEF\u5F8C\u91CD\u8A66\u3002",
11176
+ epub_error_invalid_zip: "\u9019\u4E0D\u662F\u6709\u6548\u7684 EPUB \u6A94\u6848\uFF08\u7121\u6CD5\u89E3\u58D3\u7E2E\uFF09\u3002",
11177
+ epub_error_missing_container: "EPUB \u5DF2\u640D\u6BC0\uFF1A\u7F3A\u5C11 META-INF/container.xml\u3002",
11178
+ epub_error_missing_opf: "EPUB \u5DF2\u640D\u6BC0\uFF1A\u627E\u4E0D\u5230\u5957\u4EF6\u63CF\u8FF0\uFF08OPF\uFF09\u6A94\u6848\u3002",
11179
+ epub_error_invalid_opf: "EPUB \u5DF2\u640D\u6BC0\uFF1A\u5957\u4EF6\u63CF\u8FF0\uFF08OPF\uFF09\u6A94\u6848\u7121\u6CD5\u89E3\u6790\u3002",
11180
+ epub_error_encrypted: "\u9019\u672C EPUB \u53D7 DRM \u4FDD\u8B77\uFF0C\u7121\u6CD5\u7DDA\u4E0A\u95B1\u8B80\uFF0C\u53EF\u4E0B\u8F09\u539F\u6A94\u7528\u5DF2\u6388\u6B0A\u7684\u95B1\u8B80\u5668\u958B\u555F\u3002",
11181
+ epub_settings: "\u95B1\u8B80\u8A2D\u5B9A",
11182
+ epub_font_size: "\u5B57\u7D1A",
11183
+ epub_font_smaller: "\u7E2E\u5C0F\u5B57\u7D1A",
11184
+ epub_font_larger: "\u653E\u5927\u5B57\u7D1A",
11185
+ epub_size_sm: "\u5C0F",
11186
+ epub_size_md: "\u4E2D",
11187
+ epub_size_lg: "\u5927",
11188
+ epub_size_xl: "\u7279\u5927",
11189
+ epub_font_family: "\u5B57\u9AD4",
11190
+ epub_font_sans: "\u7121\u896F\u7DDA",
11191
+ epub_font_serif: "\u896F\u7DDA",
11192
+ epub_theme: "\u4E3B\u984C",
11193
+ epub_theme_system: "\u8DDF\u96A8\u7CFB\u7D71",
11194
+ epub_theme_light: "\u6DFA\u767D",
11195
+ epub_theme_paper: "\u6696\u7D19",
11196
+ epub_theme_dark: "\u6DF1\u8272",
11197
+ epub_error_empty_spine: "\u9019\u672C EPUB \u6C92\u6709\u53EF\u95B1\u8B80\u7684\u7AE0\u7BC0\u3002",
11198
+ epub_error_missing_chapter: "EPUB \u5957\u4EF6\u5167\u7F3A\u5C11\u8A72\u7AE0\u7BC0\u3002",
11199
+ epub_error_too_large: "\u9019\u672C EPUB \u9AD4\u7A4D\u904E\u5927\uFF0C\u7121\u6CD5\u5728\u6B64\u958B\u555F\u3002",
11200
+ epub_error_chapter_too_large: "\u8A72\u7AE0\u7BC0\u5167\u5BB9\u904E\u5927\uFF0C\u7121\u6CD5\u6E32\u67D3\u3002",
11201
+ epub_links_hint: "\u66F8\u5167\u9023\u7D50\u66AB\u4E0D\u53EF\u9EDE\u64CA\uFF0C\u8ACB\u4F7F\u7528\u76EE\u9304\u8DF3\u8F49\u3002",
11202
+ epub_search: "\u641C\u5C0B\u5168\u66F8",
11203
+ epub_search_placeholder: "\u641C\u5C0B\u5168\u66F8\u95DC\u9375\u5B57\u2026",
11204
+ epub_search_empty: "\u672A\u627E\u5230\u76F8\u7B26\u5167\u5BB9",
11205
+ epub_search_min_chars: "\u8ACB\u8F38\u5165\u81F3\u5C11 2 \u500B\u5B57\u5143",
11206
+ epub_search_count: "\u5171 {{count}} \u8655\u76F8\u7B26",
11207
+ epub_ask_ai: "\u554F AI",
11208
+ epub_quote_ask_ai: "\u5F15\u7528\u554F AI",
11209
+ epub_quote_hint: "\u5148\u8907\u88FD\u66F8\u5167\u53E5\u5B50\u518D\u9EDE\u6B64\u5F15\u7528\uFF0C\u6216\u76F4\u63A5\u8CBC\u4E0A\u63D0\u554F",
10454
11210
  uploadFile: "\u4E0A\u50B3\u6A94\u6848",
10455
11211
  uploading: "\u4E0A\u50B3\u4E2D...",
10456
11212
  selectionCount: "\u5DF2\u9078 {{count}}",
@@ -10578,6 +11334,11 @@ var space_locale_default = {
10578
11334
  workspace_other: "\u305D\u306E\u4ED6\u306E\u30B9\u30DA\u30FC\u30B9",
10579
11335
  workspace_unassociated: "\u672A\u95A2\u9023\u306E\u30B9\u30DA\u30FC\u30B9",
10580
11336
  workspace_unassociated_empty: "\u30B9\u30DA\u30FC\u30B9\u5916\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u306F\u307E\u3060\u3042\u308A\u307E\u305B\u3093",
11337
+ workspace_show_more: "\u3055\u3089\u306B\u8868\u793A\uFF08\u6B8B\u308A {{count}} \u4EF6\uFF09",
11338
+ workspace_create_space: "\u65B0\u3057\u3044\u30B9\u30DA\u30FC\u30B9",
11339
+ workspace_start_chat: "\u3053\u306E\u30B9\u30DA\u30FC\u30B9\u3067\u5BFE\u8A71\u3092\u958B\u59CB",
11340
+ workspace_more: "\u30B9\u30DA\u30FC\u30B9\u306E\u305D\u306E\u4ED6\u306E\u64CD\u4F5C\uFF1A{{name}}",
11341
+ workspace_more_menu: "\u30B9\u30DA\u30FC\u30B9\u64CD\u4F5C",
10581
11342
  // === 基本操作 ===
10582
11343
  create: "\u30B9\u30DA\u30FC\u30B9\u3092\u4F5C\u6210",
10583
11344
  name: "\u30B9\u30DA\u30FC\u30B9\u540D",
@@ -10786,6 +11547,50 @@ var space_locale_default = {
10786
11547
  uploadFailed: "\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u5931\u6557",
10787
11548
  uploadPartial: "{{succeeded}} \u4EF6\u6210\u529F\u3001{{failed}} \u4EF6\u5931\u6557",
10788
11549
  retry: "\u518D\u8A66\u884C",
11550
+ epub_loading: "\u672C\u3092\u958B\u3044\u3066\u3044\u307E\u3059\u2026",
11551
+ epub_reader_label: "EPUB \u30EA\u30FC\u30C0\u30FC\uFF1A{{name}}",
11552
+ epub_toc: "\u76EE\u6B21",
11553
+ epub_prev: "\u524D\u306E\u7AE0",
11554
+ epub_next: "\u6B21\u306E\u7AE0",
11555
+ epub_chapter_fallback: "\u7B2C {{n}} \u7AE0",
11556
+ epub_chapter_of: "\u7B2C {{current}} / {{total}} \u7AE0",
11557
+ epub_progress_label: "\u8AAD\u66F8\u306E\u9032\u6357",
11558
+ epub_error_title: "\u3053\u306E\u672C\u3092\u958B\u3051\u307E\u305B\u3093",
11559
+ epub_error_fetch: "\u30D5\u30A1\u30A4\u30EB\u3092\u53D6\u5F97\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002\u63A5\u7D9A\u3092\u78BA\u8A8D\u3057\u3066\u518D\u8A66\u884C\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
11560
+ epub_error_invalid_zip: "\u6709\u52B9\u306A EPUB \u30D5\u30A1\u30A4\u30EB\u3067\u306F\u3042\u308A\u307E\u305B\u3093\uFF08\u5C55\u958B\u3067\u304D\u307E\u305B\u3093\uFF09\u3002",
11561
+ epub_error_missing_container: "EPUB \u304C\u7834\u640D\u3057\u3066\u3044\u307E\u3059\uFF1AMETA-INF/container.xml \u304C\u3042\u308A\u307E\u305B\u3093\u3002",
11562
+ epub_error_missing_opf: "EPUB \u304C\u7834\u640D\u3057\u3066\u3044\u307E\u3059\uFF1A\u30D1\u30C3\u30B1\u30FC\u30B8\uFF08OPF\uFF09\u30D5\u30A1\u30A4\u30EB\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002",
11563
+ epub_error_invalid_opf: "EPUB \u304C\u7834\u640D\u3057\u3066\u3044\u307E\u3059\uFF1A\u30D1\u30C3\u30B1\u30FC\u30B8\uFF08OPF\uFF09\u30D5\u30A1\u30A4\u30EB\u3092\u89E3\u6790\u3067\u304D\u307E\u305B\u3093\u3002",
11564
+ epub_error_encrypted: "\u3053\u306E EPUB \u306F DRM \u3067\u4FDD\u8B77\u3055\u308C\u3066\u3044\u308B\u305F\u3081\u3001\u30AA\u30F3\u30E9\u30A4\u30F3\u3067\u306F\u8AAD\u3081\u307E\u305B\u3093\u3002\u5143\u306E\u30D5\u30A1\u30A4\u30EB\u3092\u30C0\u30A6\u30F3\u30ED\u30FC\u30C9\u3057\u3001\u6A29\u9650\u306E\u3042\u308B\u30EA\u30FC\u30C0\u30FC\u3067\u958B\u3044\u3066\u304F\u3060\u3055\u3044\u3002",
11565
+ epub_settings: "\u8AAD\u66F8\u8A2D\u5B9A",
11566
+ epub_font_size: "\u6587\u5B57\u30B5\u30A4\u30BA",
11567
+ epub_font_smaller: "\u5C0F\u3055\u304F",
11568
+ epub_font_larger: "\u5927\u304D\u304F",
11569
+ epub_size_sm: "\u5C0F",
11570
+ epub_size_md: "\u4E2D",
11571
+ epub_size_lg: "\u5927",
11572
+ epub_size_xl: "\u7279\u5927",
11573
+ epub_font_family: "\u30D5\u30A9\u30F3\u30C8",
11574
+ epub_font_sans: "\u30B4\u30B7\u30C3\u30AF\u4F53",
11575
+ epub_font_serif: "\u660E\u671D\u4F53",
11576
+ epub_theme: "\u30C6\u30FC\u30DE",
11577
+ epub_theme_system: "\u30B7\u30B9\u30C6\u30E0\u306B\u5408\u308F\u305B\u308B",
11578
+ epub_theme_light: "\u30E9\u30A4\u30C8",
11579
+ epub_theme_paper: "\u751F\u6210\u308A",
11580
+ epub_theme_dark: "\u30C0\u30FC\u30AF",
11581
+ epub_error_empty_spine: "\u3053\u306E EPUB \u306B\u306F\u8AAD\u3081\u308B\u7AE0\u304C\u3042\u308A\u307E\u305B\u3093\u3002",
11582
+ epub_error_missing_chapter: "\u3053\u306E\u7AE0\u306F EPUB \u30D1\u30C3\u30B1\u30FC\u30B8\u5185\u306B\u3042\u308A\u307E\u305B\u3093\u3002",
11583
+ epub_error_too_large: "\u3053\u306E EPUB \u306F\u5927\u304D\u3059\u304E\u308B\u305F\u3081\u3001\u3053\u3053\u3067\u306F\u958B\u3051\u307E\u305B\u3093\u3002",
11584
+ epub_error_chapter_too_large: "\u3053\u306E\u7AE0\u306F\u5927\u304D\u3059\u304E\u3066\u8868\u793A\u3067\u304D\u307E\u305B\u3093\u3002",
11585
+ epub_links_hint: "\u672C\u6587\u5185\u306E\u30EA\u30F3\u30AF\u306F\u73FE\u5728\u30AF\u30EA\u30C3\u30AF\u3067\u304D\u307E\u305B\u3093\u3002\u76EE\u6B21\u304B\u3089\u79FB\u52D5\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
11586
+ epub_search: "\u672C\u3092\u691C\u7D22",
11587
+ epub_search_placeholder: "\u672C\u66F8\u5185\u3092\u691C\u7D22\u2026",
11588
+ epub_search_empty: "\u4E00\u81F4\u3059\u308B\u7B87\u6240\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093",
11589
+ epub_search_min_chars: "2\u6587\u5B57\u4EE5\u4E0A\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",
11590
+ epub_search_count: "{{count}} \u4EF6\u306E\u4E00\u81F4",
11591
+ epub_ask_ai: "AI \u306B\u8CEA\u554F",
11592
+ epub_quote_ask_ai: "\u5F15\u7528\u3057\u3066 AI \u306B\u8CEA\u554F",
11593
+ epub_quote_hint: "\u672C\u306E\u4E2D\u306E\u6587\u3092\u30B3\u30D4\u30FC\u3057\u3066\u304B\u3089\u62BC\u3059\u304B\u3001\u305D\u306E\u307E\u307E\u8CBC\u308A\u4ED8\u3051\u3066\u8CEA\u554F\u3057\u3066\u304F\u3060\u3055\u3044",
10789
11594
  uploadFile: "\u30D5\u30A1\u30A4\u30EB\u3092\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9",
10790
11595
  uploading: "\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u4E2D...",
10791
11596
  selectionCount: "\u9078\u629E\u6E08\u307F {{count}}",
@@ -10913,6 +11718,11 @@ var space_locale_default = {
10913
11718
  workspace_other: "Andere Spaces",
10914
11719
  workspace_unassociated: "Nicht zugeordneter Space",
10915
11720
  workspace_unassociated_empty: "Noch keine Inhalte au\xDFerhalb von Spaces",
11721
+ workspace_show_more: "Mehr anzeigen (noch {{count}})",
11722
+ workspace_create_space: "Neuer Space",
11723
+ workspace_start_chat: "Dialog in diesem Space starten",
11724
+ workspace_more: "Weitere Space-Aktionen: {{name}}",
11725
+ workspace_more_menu: "Space-Aktionen",
10916
11726
  create: "Space erstellen",
10917
11727
  name: "Space-Name",
10918
11728
  description: "Beschreibung",
@@ -11229,6 +12039,11 @@ var space_locale_default = {
11229
12039
  workspace_other: "Otros espacios",
11230
12040
  workspace_unassociated: "Espacio no asociado",
11231
12041
  workspace_unassociated_empty: "A\xFAn no hay contenido fuera de los espacios",
12042
+ workspace_show_more: "Mostrar m\xE1s ({{count}} restantes)",
12043
+ workspace_create_space: "Nuevo espacio",
12044
+ workspace_start_chat: "Iniciar di\xE1logo en este espacio",
12045
+ workspace_more: "M\xE1s acciones del espacio: {{name}}",
12046
+ workspace_more_menu: "Acciones del espacio",
11232
12047
  create: "Crear espacio",
11233
12048
  name: "Nombre del espacio",
11234
12049
  description: "Descripci\xF3n",
@@ -11588,6 +12403,13 @@ var getMessagesForDialogFromState = (state, dialogId) => {
11588
12403
  });
11589
12404
  };
11590
12405
  var identityCanonicalName = (name) => name;
12406
+ var toCompactionRequestMessage = (msg) => {
12407
+ if (msg.role !== "tool" || typeof msg.toolCallId !== "string" || !msg.toolCallId) {
12408
+ return msg;
12409
+ }
12410
+ const { toolCallId, ...rest } = msg;
12411
+ return { ...rest, tool_call_id: toolCallId };
12412
+ };
11591
12413
  var summarizingDialogs = /* @__PURE__ */ new Set();
11592
12414
  var BudgetRescueError = class extends Error {
11593
12415
  constructor(code, detail) {
@@ -11667,8 +12489,10 @@ var updateDialogSummaryAction = async (args, thunkApi) => {
11667
12489
  route.kind === "platform" ? resolveAgentContextWindow({ model: route.model, provider: "nolo" }) ?? 32768 : Infinity,
11668
12490
  currentAvailable ? resolveAgentContextWindow(currentAgent) ?? 32768 : route.kind === "platform" ? Infinity : 32768
11669
12491
  );
11670
- const request = buildBoundedCompactionRequest({
11671
- msgsToCompress: plan.msgsToCompress,
12492
+ const request = buildHistoricalCompactionRequest({
12493
+ // 存储形态(toolCallId)先归一到运行时契约(tool_call_id),否则历史里
12494
+ // 半批工具调用的声明与结果无法配对,整段摘要请求会被严格阻塞。
12495
+ msgsToCompress: plan.msgsToCompress.map(toCompactionRequestMessage),
11672
12496
  previousSummary,
11673
12497
  contextWindow: summaryWindow,
11674
12498
  canonicalizeToolName: identityCanonicalName
@@ -11678,7 +12502,8 @@ var updateDialogSummaryAction = async (args, thunkApi) => {
11678
12502
  if (args.reason === "budget_rescue") throw new BudgetRescueError("no-summary-input", `bounded summary request blocked: ${request.reason}`);
11679
12503
  return;
11680
12504
  }
11681
- const { coveredMessages, summarizedBeforeId: newSummarizedBeforeId, promptContent, outputTokenBudget } = request;
12505
+ const coveredMessages = plan.msgsToCompress.slice(0, request.coveredMessages.length);
12506
+ const { summarizedBeforeId: newSummarizedBeforeId, promptContent, outputTokenBudget } = request;
11682
12507
  const extractedKeys = new Set(dialogConfig.referenceKeys || []);
11683
12508
  for (const msg of coveredMessages) {
11684
12509
  for (const key of extractReferenceKeysFromMessage(msg)) extractedKeys.add(key);
@@ -11889,6 +12714,8 @@ var waitForFileReady = async (url, {
11889
12714
  };
11890
12715
 
11891
12716
  // packages/database/fileUrl.ts
12717
+ var INLINE_IMAGE_MAX_BYTES = 5 * 1024 * 1024;
12718
+ var INLINE_IMAGE_TOTAL_MAX_BYTES = 20 * 1024 * 1024;
11892
12719
  var normalizeFileId = (fileId) => {
11893
12720
  if (typeof fileId !== "string") return "";
11894
12721
  return fileId.trim();
@@ -12093,256 +12920,6 @@ ${failureText}`;
12093
12920
  return failureText;
12094
12921
  }
12095
12922
 
12096
- // packages/create/space/contentKeyUtils.ts
12097
- var isAppContentKey = (contentKey) => typeof contentKey === "string" && contentKey.startsWith("app-");
12098
- var normalizeAppRouteId = (contentKey) => isAppContentKey(contentKey) ? contentKey : `app-${contentKey}`;
12099
-
12100
- // packages/ai/tools/uiAskChoiceTool.ts
12101
- var uiAskChoiceFunctionSchema = {
12102
- name: "ask_user",
12103
- description: "\u8BA9\u7528\u6237\u5728\u4E00\u7EC4\u9009\u9879\u4E4B\u95F4\u505A\u9009\u62E9\uFF08\u5355\u9009\u6216\u591A\u9009\uFF09\u7684\u901A\u7528\u201C\u51FA\u9009\u9879\u201D\u5DE5\u5177\uFF08\u9700\u6C42\u6A21\u7CCA\u3001\u5206\u652F\u51B3\u7B56\u3001\u95EE\u5377\u7B49\uFF09\u3002\u672C\u5DE5\u5177\u7528\u4E8E\u7EAF\u63D0\u95EE\u3001\u7B49\u5F85\u7528\u6237\u56DE\u7B54\u7684\u573A\u666F\uFF08blocking:false \u65F6\u4E0D\u6682\u505C\u7B49\u5F85\uFF09\uFF1B\u82E5\u9700\u8981\u540C\u65F6\u5C55\u793A\u7ED3\u6784\u5316\u5BF9\u6BD4/\u6307\u6807\u5E76\u8BA9\u7528\u6237\u5728\u540C\u4E00\u5757\u91CC\u9009\u62E9\uFF0C\u8D70 show_interaction\u3002\u8C03\u7528\u524D\u987B\u5148\u5728\u666E\u901A\u56DE\u590D\u6587\u672C\u91CC\u89E3\u91CA\u80CC\u666F\u4E0E\u6743\u8861\uFF08\u5148\u89E3\u91CA\uFF0C\u518D\u8C03\u7528\uFF09\u3002\u591A\u95EE\u9898\u4F20 questions\uFF0C\u5355\u95EE\u9898\u4F20 question+choices\u3002\u754C\u9762\u9ED8\u8BA4\u63D0\u4F9B\u201C\u5176\u4ED6\u201D\u81EA\u7531\u8F93\u5165\u884C\uFF08\u53EF\u7528 allowOther:false \u5173\u95ED\uFF09\uFF0C\u7528\u6237\u8F93\u5165\u7684\u6587\u5B57\u4F1A\u968F\u7B54\u6848\u56DE\u4F20\uFF1B\u4E0D\u8981\u81EA\u5EFA\u201C\u5176\u4ED6/\u81EA\u5DF1\u5199\u201D\u4E4B\u7C7B\u7684\u9009\u9879\u2014\u2014\u70B9\u51FB\u666E\u901A\u9009\u9879\u53EA\u56DE\u4F20\u8BE5\u9009\u9879\u6587\u6848\uFF0C\u7528\u6237\u65E0\u5904\u586B\u5199\u3002",
12104
- parameters: {
12105
- type: "object",
12106
- properties: {
12107
- question: {
12108
- type: "string",
12109
- description: "\u5C55\u793A\u7ED9\u7528\u6237\u7684\u95EE\u9898\u6587\u6848\uFF08\u5355\u95EE\u9898\u6A21\u5F0F\uFF09\u3002\u4E0E questions \u4E8C\u9009\u4E00\u3002"
12110
- },
12111
- choices: {
12112
- type: "array",
12113
- description: "\u5907\u9009\u9879\u5217\u8868\uFF0C\u6E32\u67D3\u4E3A\u6309\u94AE\u4F9B\u7528\u6237\u70B9\u51FB\u3002",
12114
- items: {
12115
- type: "object",
12116
- properties: {
12117
- id: {
12118
- type: "string",
12119
- description: "\u9009\u9879\u6807\u8BC6\u3002"
12120
- },
12121
- label: {
12122
- type: "string",
12123
- description: "\u6309\u94AE\u6587\u5B57\uFF0C\u5982\u201C\u751F\u6210\u672C\u5468\u5468\u62A5\u201D\u3002"
12124
- },
12125
- detail: {
12126
- type: "string",
12127
- description: "\u7B80\u77ED\u8865\u5145\uFF08\u5EFA\u8BAE\u4E00\u53E5\u8BDD\uFF09\uFF0C\u957F\u89E3\u91CA\u5199\u8FDB\u8C03\u7528\u524D\u7684\u56DE\u590D\u6587\u672C\u3002"
12128
- },
12129
- userMessage: {
12130
- type: "string",
12131
- description: "\u70B9\u51FB\u540E\u4F5C\u4E3A\u4E0B\u4E00\u6761 user \u6D88\u606F\u53D1\u9001\u7684\u6587\u6848\uFF08\u7559\u7A7A\u9ED8\u8BA4\u7528 label\uFF09\u3002"
12132
- }
12133
- },
12134
- required: ["id", "label"]
12135
- }
12136
- },
12137
- questions: {
12138
- type: "array",
12139
- description: "\u591A\u95EE\u9898\u6A21\u5F0F\uFF08\u591A tab \u6E32\u67D3\uFF0C\u4E0E question+choices \u4E8C\u9009\u4E00\uFF09\u3002",
12140
- items: {
12141
- type: "object",
12142
- properties: {
12143
- id: {
12144
- type: "string",
12145
- description: "\u95EE\u9898\u6807\u8BC6\u3002"
12146
- },
12147
- header: {
12148
- type: "string",
12149
- description: "\u591A\u95EE\u9898 tab \u680F\u663E\u793A\u7684\u77ED\u6807\u7B7E\uFF08\u226412 \u5B57\u7B26\uFF0C\u5982\u201C\u683C\u5F0F/\u8BED\u8A00/\u8303\u56F4\u201D\uFF09\uFF0C\u7F3A\u7701\u7528 Qn\u3002"
12150
- },
12151
- question: {
12152
- type: "string",
12153
- description: "\u95EE\u9898\u6587\u6848\u3002"
12154
- },
12155
- choices: {
12156
- type: "array",
12157
- description: "\u8BE5\u95EE\u9898\u7684\u5907\u9009\u9879\u3002",
12158
- items: {
12159
- type: "object",
12160
- properties: {
12161
- id: { type: "string" },
12162
- label: { type: "string" },
12163
- detail: {
12164
- type: "string",
12165
- description: "\u7B80\u77ED\u8865\u5145\uFF08\u5EFA\u8BAE\u4E00\u53E5\u8BDD\uFF09\uFF0C\u957F\u89E3\u91CA\u5199\u8FDB\u8C03\u7528\u524D\u7684\u56DE\u590D\u6587\u672C\u3002"
12166
- },
12167
- userMessage: { type: "string" }
12168
- },
12169
- required: ["id", "label"]
12170
- }
12171
- },
12172
- multiSelect: {
12173
- type: "boolean",
12174
- description: "\u5141\u8BB8\u591A\u9009\uFF0C\u9ED8\u8BA4 false\u3002"
12175
- },
12176
- allowOther: {
12177
- type: "boolean",
12178
- description: "\u663E\u793A\u201C\u5176\u4ED6\u201D\u81EA\u7531\u8F93\u5165\u884C\uFF0C\u9ED8\u8BA4 true\u3002"
12179
- },
12180
- required: {
12181
- type: "boolean",
12182
- description: "\u662F\u5426\u5FC5\u987B\u56DE\u7B54\u624D\u80FD\u63D0\u4EA4\uFF0C\u9ED8\u8BA4 true\u3002"
12183
- }
12184
- },
12185
- required: ["id", "question", "choices"]
12186
- }
12187
- },
12188
- blocking: {
12189
- type: "boolean",
12190
- description: "\u662F\u5426\u7B49\u5F85\u7528\u6237\u9009\u62E9\u540E\u518D\u7EE7\u7EED\u6D41\u7A0B\uFF0C\u9ED8\u8BA4 true\u3002"
12191
- }
12192
- },
12193
- required: []
12194
- }
12195
- };
12196
- function validateChoiceList(choices, scopeLabel) {
12197
- const seenChoiceIds = /* @__PURE__ */ new Set();
12198
- for (let index = 0; index < choices.length; index += 1) {
12199
- const entry = choices[index];
12200
- if (!entry || typeof entry !== "object" || Array.isArray(entry)) {
12201
- return `${scopeLabel}.choices[${index}] \u5FC5\u987B\u662F\u5BF9\u8C61\u3002`;
12202
- }
12203
- const choice = entry;
12204
- if (typeof choice.label !== "string" || !choice.label.trim()) {
12205
- return `${scopeLabel}.choices[${index}].label \u5FC5\u987B\u662F\u975E\u7A7A\u5B57\u7B26\u4E32\u3002`;
12206
- }
12207
- if (choice.id !== void 0 && typeof choice.id !== "string") {
12208
- return `${scopeLabel}.choices[${index}].id \u5FC5\u987B\u662F\u5B57\u7B26\u4E32\u3002`;
12209
- }
12210
- const choiceId = typeof choice.id === "string" ? choice.id.trim() : "";
12211
- if (choiceId && seenChoiceIds.has(choiceId)) {
12212
- return `${scopeLabel} \u5185\u7684\u9009\u9879 id "${choiceId}" \u91CD\u590D\u3002`;
12213
- }
12214
- if (choiceId) seenChoiceIds.add(choiceId);
12215
- }
12216
- return null;
12217
- }
12218
- function validateAskChoiceInput(raw) {
12219
- if (!raw || typeof raw !== "object" || Array.isArray(raw)) {
12220
- return "ask_user \u9700\u8981\u4E00\u4E2A\u5BF9\u8C61\u53C2\u6570\u3002";
12221
- }
12222
- const args = raw;
12223
- if (args.blocking !== void 0 && typeof args.blocking !== "boolean") {
12224
- return "ask_user \u7684 blocking \u5FC5\u987B\u662F\u5E03\u5C14\u503C\u3002";
12225
- }
12226
- const rawQuestions = args.questions;
12227
- if (rawQuestions !== void 0 && !Array.isArray(rawQuestions)) {
12228
- return "ask_user \u7684 questions \u5FC5\u987B\u662F\u6570\u7EC4\u3002";
12229
- }
12230
- const questions = rawQuestions;
12231
- if (questions && questions.length > 0) {
12232
- const seenQuestionIds = /* @__PURE__ */ new Set();
12233
- for (let index = 0; index < questions.length; index += 1) {
12234
- const entry = questions[index];
12235
- if (!entry || typeof entry !== "object" || Array.isArray(entry)) {
12236
- return `questions[${index}] \u5FC5\u987B\u662F\u5BF9\u8C61\u3002`;
12237
- }
12238
- const question = entry;
12239
- if (question.id !== void 0 && typeof question.id !== "string") {
12240
- return `questions[${index}].id \u5FC5\u987B\u662F\u5B57\u7B26\u4E32\u3002`;
12241
- }
12242
- const questionId = typeof question.id === "string" ? question.id.trim() : "";
12243
- if (questionId && seenQuestionIds.has(questionId)) {
12244
- return `\u95EE\u9898 id "${questionId}" \u91CD\u590D\u3002`;
12245
- }
12246
- if (questionId) seenQuestionIds.add(questionId);
12247
- if (typeof question.question !== "string" || !question.question.trim()) {
12248
- return `questions[${index}].question \u5FC5\u987B\u662F\u975E\u7A7A\u5B57\u7B26\u4E32\u3002`;
12249
- }
12250
- for (const flag of ["multiSelect", "allowOther", "required"]) {
12251
- if (question[flag] !== void 0 && typeof question[flag] !== "boolean") {
12252
- return `questions[${index}].${flag} \u5FC5\u987B\u662F\u5E03\u5C14\u503C\u3002`;
12253
- }
12254
- }
12255
- const choices = question.choices;
12256
- if (!Array.isArray(choices)) {
12257
- return `questions[${index}].choices \u5FC5\u987B\u662F\u6570\u7EC4\u3002`;
12258
- }
12259
- const choiceError = validateChoiceList(choices, `questions[${index}]`);
12260
- if (choiceError) return choiceError;
12261
- if (choices.length === 0 && question.allowOther === false) {
12262
- return `questions[${index}] \u6CA1\u6709\u4EFB\u4F55\u9009\u9879\u4E14 allowOther \u4E3A false\uFF0C\u7528\u6237\u65E0\u6CD5\u4F5C\u7B54\u3002`;
12263
- }
12264
- }
12265
- return null;
12266
- }
12267
- if (typeof args.question !== "string" || !args.question.trim()) {
12268
- return "ask_user \u9700\u8981 question\uFF08\u975E\u7A7A\u5B57\u7B26\u4E32\uFF09\u4E0E choices\u3002";
12269
- }
12270
- if (!Array.isArray(args.choices) || args.choices.length === 0) {
12271
- return "ask_user \u9700\u8981 question\uFF08\u975E\u7A7A\u5B57\u7B26\u4E32\uFF09\u4E0E choices\u3002";
12272
- }
12273
- return validateChoiceList(args.choices, "ask_user");
12274
- }
12275
- async function uiAskChoiceFunc(args, _thunkApi) {
12276
- const invalid = validateAskChoiceInput(args);
12277
- if (invalid) throw new Error(invalid);
12278
- const blocking = args?.blocking !== false;
12279
- if (Array.isArray(args?.questions) && args.questions.length > 0) {
12280
- const firstQ = args.questions[0];
12281
- return {
12282
- rawData: {
12283
- type: "ask_user",
12284
- question: firstQ?.question ?? "",
12285
- choices: firstQ?.choices ?? [],
12286
- blocking,
12287
- questions: args.questions
12288
- },
12289
- displayData: args.questions.map((q) => q.question).join(" / ")
12290
- };
12291
- }
12292
- const question = String(args?.question ?? "").trim();
12293
- const choices = Array.isArray(args?.choices) ? args.choices : [];
12294
- if (!question || choices.length === 0) {
12295
- throw new Error("ask_user \u9700\u8981 question+choices \u6216 questions\u3002");
12296
- }
12297
- return {
12298
- rawData: {
12299
- type: "ask_user",
12300
- question,
12301
- choices,
12302
- blocking
12303
- },
12304
- displayData: question
12305
- };
12306
- }
12307
- function parseUiAskChoiceContent(rawContent) {
12308
- const parsed = typeof rawContent === "string" ? (() => {
12309
- try {
12310
- return JSON.parse(rawContent);
12311
- } catch {
12312
- return null;
12313
- }
12314
- })() : rawContent;
12315
- if (!parsed || typeof parsed !== "object") return null;
12316
- if (parsed.type !== "ask_user") return null;
12317
- return parsed;
12318
- }
12319
-
12320
- // packages/ai/policy/personalizationDialog.ts
12321
- var PERSONALIZATION_DIALOG_CATEGORY = "user-overlay-profile";
12322
- var PERSONALIZATION_DIALOG_EXTRA_TOOLS = [
12323
- "ask_user",
12324
- "updateUserPreferenceProfile"
12325
- ];
12326
- var buildPersonalizationRuntimeOptions = (runtimeOptions) => ({
12327
- ...runtimeOptions,
12328
- extraTools: Array.from(
12329
- /* @__PURE__ */ new Set([
12330
- ...runtimeOptions?.extraTools ?? [],
12331
- ...PERSONALIZATION_DIALOG_EXTRA_TOOLS
12332
- ])
12333
- )
12334
- });
12335
- var buildPersonalizationDialogPolicyContext = () => [
12336
- "\u5F53\u524D\u5BF9\u8BDD\u662F\u201C\u7528\u6237\u4E2A\u6027\u5316\u8BBE\u7F6E\u201D\u6A21\u5F0F\uFF0C\u4E0D\u662F\u666E\u901A\u95F2\u804A\u3002",
12337
- "\u4F60\u7684\u76EE\u6807\u662F\u7528\u7B80\u77ED\u5BF9\u8BDD\u5E2E\u52A9\u7528\u6237\u786E\u8BA4 tone\u3001knowledge_capture\u3001space_context \u8FD9\u4E09\u9879\u504F\u597D\u3002",
12338
- "\u5982\u679C\u7528\u6237\u5148\u4ECB\u7ECD\u81EA\u5DF1\u3001\u5DE5\u4F5C\u65B9\u5F0F\u6216\u957F\u671F\u6C9F\u901A\u504F\u597D\uFF0C\u8BF7\u628A\u8FD9\u4E9B\u53EF\u590D\u7528\u4FE1\u606F\u6574\u7406\u6210\u7B80\u6D01\u7684 globalPrompt \u8349\u6848\uFF0C\u5E76\u5728\u7528\u6237\u786E\u8BA4\u540E\u901A\u8FC7 updateUserPreferenceProfile \u4FDD\u5B58\u3002",
12339
- "\u4F18\u5148\u4E00\u6B21\u53EA\u95EE\u4E00\u4E2A\u95EE\u9898\uFF1B\u5F53\u5B58\u5728\u6E05\u6670\u4E92\u65A5\u9009\u9879\u65F6\uFF0C\u4F18\u5148\u8C03\u7528 ask_user\u3002",
12340
- "\u6536\u96C6\u5230\u8DB3\u591F\u4FE1\u606F\u540E\uFF0C\u8C03\u7528 updateUserPreferenceProfile \u4FDD\u5B58\u7ED3\u679C\uFF0C\u7136\u540E\u7528\u81EA\u7136\u8BED\u8A00\u603B\u7ED3\u5DF2\u4FDD\u5B58\u7684\u8BBE\u7F6E\u3002",
12341
- "\u4FDD\u5B58\u5B8C\u6210\u540E\uFF0C\u8981\u63D0\u9192\u7528\u6237\uFF1A\u4EE5\u540E\u4E5F\u53EF\u4EE5\u5728\u8BBE\u7F6E\u91CC\u4FEE\u6539 globalPrompt \u548C\u8FD9\u4E9B\u504F\u597D\uFF0C\u6216\u8005\u518D\u6B21\u6253\u5F00\u8FD9\u4E2A\u5165\u53E3\u7EE7\u7EED\u8C03\u6574\u3002",
12342
- "\u4E2A\u6027\u5316\u8BBE\u7F6E\u5B8C\u6210\u540E\uFF0C\u53EF\u987A\u624B\u5F15\u5BFC\u7528\u6237\u5C1D\u8BD5 1 \u5230 2 \u4E2A\u76F8\u5173\u529F\u80FD\uFF0C\u4F8B\u5982\u9996\u9875\u5FEB\u6377\u5BF9\u8BDD\u3001\u521B\u5EFA\u7B14\u8BB0\u3001\u521B\u5EFA AI\uFF0C\u4F46\u4E0D\u8981\u4E00\u6B21\u63A8\u8350\u592A\u591A\u3002",
12343
- "\u9664\u975E\u7528\u6237\u660E\u786E\u8981\u6C42\uFF0C\u5426\u5219\u4E0D\u8981\u521B\u5EFA\u6587\u6863\uFF0C\u4E0D\u8981\u521B\u5EFA\u6216\u4FEE\u6539\u4EFB\u4F55 agent\u3002"
12344
- ].join("\n");
12345
-
12346
12923
  // packages/chat/dialog/dialogAgentPolicy.ts
12347
12924
  var resolveDialogAgentMode = (dialog) => {
12348
12925
  if (dialog?.agentMode === "auto") return "auto";
@@ -12378,7 +12955,7 @@ function resolveHandleSendMessageContext(input) {
12378
12955
  return {
12379
12956
  agentKeyToUse: resolveDialogRuntimeAgentKey(dialogConfig, targetAgentKey),
12380
12957
  agentConfigToUse: resolveDialogRuntimeAgentConfig(dialogConfig, targetAgentKey) ?? void 0,
12381
- effectiveRuntimeOptions: dialogConfig.category === PERSONALIZATION_DIALOG_CATEGORY ? buildPersonalizationRuntimeOptions(runtimeOptions ?? {}) : runtimeOptions
12958
+ effectiveRuntimeOptions: runtimeOptions
12382
12959
  };
12383
12960
  }
12384
12961
 
@@ -13548,6 +14125,128 @@ function clearForegroundTurnSettledVisible(dialogId) {
13548
14125
  notify();
13549
14126
  }
13550
14127
 
14128
+ // packages/chat/messages/messageBucketLru.ts
14129
+ var MAX_CACHED_INACTIVE_DIALOG_BUCKETS = 10;
14130
+ var SAVE_FAILED_MARKER = "[Failed to save message]";
14131
+ function isSaveFailedMessageContent(content) {
14132
+ if (typeof content === "string") {
14133
+ return content.includes(SAVE_FAILED_MARKER);
14134
+ }
14135
+ if (Array.isArray(content)) {
14136
+ return content.some(
14137
+ (part) => Boolean(part) && part.type === "text" && typeof part.text === "string" && part.text.includes(SAVE_FAILED_MARKER)
14138
+ );
14139
+ }
14140
+ return false;
14141
+ }
14142
+ function hasProtectedMessageInBucket(messages) {
14143
+ const validMessages = [];
14144
+ for (const msg of messages) {
14145
+ if (!msg) continue;
14146
+ validMessages.push(msg);
14147
+ if (msg.isStreaming === true) return true;
14148
+ if (msg.imageGenerationState != null) return true;
14149
+ const metadata = msg.metadata;
14150
+ const queueState = metadata?.queueState;
14151
+ if (queueState === "pending" || queueState === "queued" || queueState === "accepted") {
14152
+ return true;
14153
+ }
14154
+ const userBatchPhase = metadata?.userBatchPhase;
14155
+ if (userBatchPhase === "admitted" || userBatchPhase === "requested") {
14156
+ return true;
14157
+ }
14158
+ const rawMsg = msg;
14159
+ if (metadata?.saveFailed === true || metadata?.draft === true || metadata?.isDraft === true || metadata?.persisted === false || metadata?.unsaved === true || rawMsg.saveFailed === true || rawMsg.isDraft === true || rawMsg.persisted === false) {
14160
+ return true;
14161
+ }
14162
+ if (isSaveFailedMessageContent(msg.content)) {
14163
+ return true;
14164
+ }
14165
+ }
14166
+ return selectPendingUserMessages(validMessages).length > 0;
14167
+ }
14168
+ function touchDialogBucketLru(lruOrder, dialogId, dialogStateById) {
14169
+ if (!dialogId || dialogId === GLOBAL_MESSAGE_DIALOG_ID) {
14170
+ return lruOrder ? [...lruOrder] : [];
14171
+ }
14172
+ if (lruOrder && lruOrder.length > 0 && lruOrder[lruOrder.length - 1] === dialogId) {
14173
+ return lruOrder;
14174
+ }
14175
+ const seen = /* @__PURE__ */ new Set();
14176
+ const next = [];
14177
+ if (!lruOrder && dialogStateById) {
14178
+ for (const existingId of Object.keys(dialogStateById)) {
14179
+ if (existingId !== GLOBAL_MESSAGE_DIALOG_ID && existingId !== dialogId && !seen.has(existingId)) {
14180
+ seen.add(existingId);
14181
+ next.push(existingId);
14182
+ }
14183
+ }
14184
+ }
14185
+ if (lruOrder) {
14186
+ for (const existingId of lruOrder) {
14187
+ if (existingId !== GLOBAL_MESSAGE_DIALOG_ID && existingId !== dialogId && !seen.has(existingId) && (!dialogStateById || existingId in dialogStateById)) {
14188
+ seen.add(existingId);
14189
+ next.push(existingId);
14190
+ }
14191
+ }
14192
+ }
14193
+ next.push(dialogId);
14194
+ return next;
14195
+ }
14196
+ function planColdMessageBucketEviction(input) {
14197
+ const {
14198
+ dialogStateById,
14199
+ lruOrder = [],
14200
+ activeDialogId: activeDialogId2,
14201
+ protectedDialogIds = [],
14202
+ maxCachedInactiveBuckets = MAX_CACHED_INACTIVE_DIALOG_BUCKETS,
14203
+ isDialogProtected
14204
+ } = input;
14205
+ const cap = Math.max(0, Math.floor(maxCachedInactiveBuckets));
14206
+ const protectedSet = /* @__PURE__ */ new Set([GLOBAL_MESSAGE_DIALOG_ID]);
14207
+ if (typeof activeDialogId2 === "string" && activeDialogId2.length > 0) {
14208
+ protectedSet.add(activeDialogId2);
14209
+ }
14210
+ for (const id of protectedDialogIds) {
14211
+ if (typeof id === "string" && id.length > 0) {
14212
+ protectedSet.add(id);
14213
+ }
14214
+ }
14215
+ const trackedSet = /* @__PURE__ */ new Set();
14216
+ const trackedOrdered = [];
14217
+ for (const id of lruOrder) {
14218
+ if (id !== GLOBAL_MESSAGE_DIALOG_ID && id in dialogStateById && !trackedSet.has(id)) {
14219
+ trackedSet.add(id);
14220
+ trackedOrdered.push(id);
14221
+ }
14222
+ }
14223
+ const orderedIds = [];
14224
+ for (const id of Object.keys(dialogStateById)) {
14225
+ if (id !== GLOBAL_MESSAGE_DIALOG_ID && !trackedSet.has(id)) {
14226
+ orderedIds.push(id);
14227
+ }
14228
+ }
14229
+ orderedIds.push(...trackedOrdered);
14230
+ const evictableIds = [];
14231
+ for (const dialogId of orderedIds) {
14232
+ if (protectedSet.has(dialogId)) continue;
14233
+ const bucket = dialogStateById[dialogId];
14234
+ if (!bucket) continue;
14235
+ const entities = bucket.msgs?.entities ?? {};
14236
+ const messages = Object.values(entities).filter(
14237
+ (msg) => Boolean(msg)
14238
+ );
14239
+ if (hasProtectedMessageInBucket(messages)) continue;
14240
+ if (isDialogProtected?.(dialogId, messages)) continue;
14241
+ evictableIds.push(dialogId);
14242
+ }
14243
+ const overflow = evictableIds.length - cap;
14244
+ if (overflow <= 0) {
14245
+ return [];
14246
+ }
14247
+ return evictableIds.slice(0, overflow);
14248
+ }
14249
+
13551
14250
  // packages/chat/messages/messageSlice.ts
13552
14251
  var OLDER_LOAD_LIMIT = 30;
13553
14252
  var createSliceWithThunks = buildCreateSlice({
@@ -13563,7 +14262,8 @@ var createEmptyMessageDialogState = () => ({
13563
14262
  var initialState = {
13564
14263
  dialogStateById: {
13565
14264
  [GLOBAL_MESSAGE_DIALOG_ID]: createEmptyMessageDialogState()
13566
- }
14265
+ },
14266
+ lruOrder: []
13567
14267
  };
13568
14268
  var captureUnderstandingFromCompletedUiTurn2 = async (input) => captureUnderstandingFromCompletedUiTurn({
13569
14269
  ...input,
@@ -13580,8 +14280,38 @@ var ensureMessageDialogState = (state, dialogId, dialogKey) => {
13580
14280
  if (!state.dialogStateById[resolvedDialogId]) {
13581
14281
  state.dialogStateById[resolvedDialogId] = createEmptyMessageDialogState();
13582
14282
  }
14283
+ state.lruOrder = touchDialogBucketLru(
14284
+ state.lruOrder,
14285
+ resolvedDialogId,
14286
+ state.dialogStateById
14287
+ );
13583
14288
  return state.dialogStateById[resolvedDialogId];
13584
14289
  };
14290
+ var evictColdBucketsIfNeeded = (state, protectedDialogId) => {
14291
+ if (!state.dialogStateById) return;
14292
+ const evictedIds = planColdMessageBucketEviction({
14293
+ dialogStateById: state.dialogStateById,
14294
+ lruOrder: state.lruOrder,
14295
+ activeDialogId: getActiveMessageDialogId(),
14296
+ protectedDialogIds: protectedDialogId ? [protectedDialogId] : void 0,
14297
+ maxCachedInactiveBuckets: MAX_CACHED_INACTIVE_DIALOG_BUCKETS,
14298
+ isDialogProtected: (dialogId) => {
14299
+ if (getHasStreamingMessage(dialogId)) return true;
14300
+ if (getCanonicalHandoffTransientId(dialogId) !== null) return true;
14301
+ const session = getMessageSession(dialogId);
14302
+ return session.isLoadingInitial || session.isLoadingOlder;
14303
+ }
14304
+ });
14305
+ if (evictedIds.length === 0) return;
14306
+ const evictedSet = new Set(evictedIds);
14307
+ for (const evictedId of evictedIds) {
14308
+ delete state.dialogStateById[evictedId];
14309
+ deleteMessageSession(evictedId);
14310
+ }
14311
+ if (state.lruOrder) {
14312
+ state.lruOrder = state.lruOrder.filter((id) => !evictedSet.has(id));
14313
+ }
14314
+ };
13585
14315
  var getMessageDialogState = (state, dialogId, dialogKey) => {
13586
14316
  const dialogStateById = state.dialogStateById ?? {};
13587
14317
  const resolvedDialogId = resolveMessageDialogId(state, dialogId, dialogKey);
@@ -13688,6 +14418,7 @@ var messageSlice = createSliceWithThunks({
13688
14418
  state.dialogStateById = {
13689
14419
  [GLOBAL_MESSAGE_DIALOG_ID]: createEmptyMessageDialogState()
13690
14420
  };
14421
+ state.lruOrder = [];
13691
14422
  resetAllMessageSessions();
13692
14423
  return;
13693
14424
  }
@@ -13697,6 +14428,9 @@ var messageSlice = createSliceWithThunks({
13697
14428
  action2.payload?.dialogKey
13698
14429
  );
13699
14430
  delete state.dialogStateById[dialogId];
14431
+ if (state.lruOrder) {
14432
+ state.lruOrder = state.lruOrder.filter((id) => id !== dialogId);
14433
+ }
13700
14434
  deleteMessageSession(dialogId);
13701
14435
  if (dialogId === getActiveMessageDialogId()) {
13702
14436
  setActiveMessageDialogId(null);
@@ -13914,7 +14648,14 @@ var messageSlice = createSliceWithThunks({
13914
14648
  async (args, { dispatch, getState, extra }) => {
13915
14649
  const dialogId = extractCustomId(args.dialogKey);
13916
14650
  const db = extra.db;
13917
- const valid = () => !args.signal?.aborted && (args.owns?.() ?? true) && (args.execution?.valid() ?? true);
14651
+ const valid = () => {
14652
+ if (args.signal?.aborted) return false;
14653
+ if (!(args.owns?.() ?? true) || !(args.execution?.valid() ?? true)) {
14654
+ args.execution?.dispose();
14655
+ throw new Error("User batch execution ownership lost; blocked");
14656
+ }
14657
+ return true;
14658
+ };
13918
14659
  const assertInput = (expected, actual, ids) => {
13919
14660
  try {
13920
14661
  assertUserBatchInput(expected, actual, ids);
@@ -13925,7 +14666,6 @@ var messageSlice = createSliceWithThunks({
13925
14666
  };
13926
14667
  if (!isLocalUserBatch(args.dialogKey)) {
13927
14668
  if (!Array.isArray(args.requestUserInput)) throw new Error("Missing controlled user batch request input; blocked");
13928
- if (args.execution && !args.execution.valid()) throw new Error("User batch execution expired; blocked");
13929
14669
  if (!valid()) return void 0;
13930
14670
  const control = userBatchControl(getState(), args.dialogKey);
13931
14671
  const history = selectAllMsgs(getState(), dialogId).filter((message) => message.role === "user");
@@ -14026,7 +14766,14 @@ var messageSlice = createSliceWithThunks({
14026
14766
  };
14027
14767
  if (!valid()) return void 0;
14028
14768
  if (rows.length) await persist("requested");
14029
- if (!valid()) {
14769
+ let canStart;
14770
+ try {
14771
+ canStart = valid();
14772
+ } catch (error) {
14773
+ if (rows.length) await persist("admitted");
14774
+ throw error;
14775
+ }
14776
+ if (!canStart) {
14030
14777
  if (rows.length) await persist("admitted");
14031
14778
  return void 0;
14032
14779
  }
@@ -14205,6 +14952,7 @@ var messageSlice = createSliceWithThunks({
14205
14952
  } else {
14206
14953
  setAllMessages(dialogState, action2.payload);
14207
14954
  }
14955
+ evictColdBucketsIfNeeded(state, dialogId);
14208
14956
  },
14209
14957
  rejected: (state, action2) => {
14210
14958
  const dialogId = action2.meta.arg.dialogId;
@@ -14497,6 +15245,7 @@ var messageSlice = createSliceWithThunks({
14497
15245
  imageGenerationState: void 0
14498
15246
  });
14499
15247
  setStreamingMessageId(payload.dialogId, null);
15248
+ evictColdBucketsIfNeeded(state, payload.dialogId);
14500
15249
  },
14501
15250
  rejected: (state, action2) => {
14502
15251
  const arg = action2.meta?.arg;
@@ -14619,7 +15368,7 @@ var messageSlice = createSliceWithThunks({
14619
15368
  runtimeOptions: args.runtimeOptions
14620
15369
  });
14621
15370
  if (agentKeyToUse) {
14622
- const { streamAgentChatTurn } = await import("./agentSlice-UG76KEBH.js");
15371
+ const { streamAgentChatTurn } = await import("./agentSlice-4JGDEXWK.js");
14623
15372
  await dispatch(
14624
15373
  streamAgentChatTurn({
14625
15374
  agentKey: agentKeyToUse,
@@ -14751,6 +15500,10 @@ var scaleModelServiceTierPrice = (price, inputOutputMultiplier, cacheMultiplier)
14751
15500
  ...price,
14752
15501
  input: price.input * inputOutputMultiplier,
14753
15502
  output: price.output * inputOutputMultiplier,
15503
+ // 缓存命中单价有两个历史字段(见 resolveModelPrice 的归一说明):只缩放
15504
+ // cachingWrite/cachingRead 会漏掉已归一出来的 inputCacheHit,使缓存命中仍按
15505
+ // Standard 价收(Gemini 4 Neon Flex 1M 命中应为 0.6,漏缩放则变回 1.2)。
15506
+ ...typeof cacheMultiplier === "number" && typeof price.inputCacheHit === "number" ? { inputCacheHit: price.inputCacheHit * cacheMultiplier } : {},
14754
15507
  ...typeof cacheMultiplier === "number" && typeof price.cachingWrite === "number" ? { cachingWrite: price.cachingWrite * cacheMultiplier } : {},
14755
15508
  ...typeof cacheMultiplier === "number" && typeof price.cachingRead === "number" ? { cachingRead: price.cachingRead * cacheMultiplier } : {}
14756
15509
  });
@@ -14766,6 +15519,9 @@ var resolveGoogleServiceTierPrice = (model, price, billingServiceTier) => {
14766
15519
  serviceTierMultiplier.cache
14767
15520
  );
14768
15521
  }
15522
+ if (model.serviceTierPriceMultipliers) {
15523
+ return priceWithImageOutput;
15524
+ }
14769
15525
  if (normalizedTier === "flex" || normalizedTier === "batch") {
14770
15526
  return scaleModelInputOutputPrice(priceWithImageOutput, 0.5);
14771
15527
  }
@@ -14788,6 +15544,9 @@ var resolveEffectiveModelPrice = ({
14788
15544
  if (provider === "google") {
14789
15545
  return resolveGoogleServiceTierPrice(model, resolvedPrice, billingServiceTier);
14790
15546
  }
15547
+ if (provider === "nolo" && model.serviceTierPriceMultipliers && resolvePlatformHostedRouting(model.name)?.usageProvider === "google") {
15548
+ return resolveGoogleServiceTierPrice(model, resolvedPrice, billingServiceTier);
15549
+ }
14791
15550
  if (provider === "runinfra" || provider === "baseten") {
14792
15551
  return resolvedPrice;
14793
15552
  }
@@ -14995,6 +15754,9 @@ var calculateBasicCost = (model, usage, provider, externalPrice, billingServiceT
14995
15754
  if (model.name.includes("gemini-3")) {
14996
15755
  return calculateAnthropicCost(resolvedPrice, usage, externalPrice);
14997
15756
  }
15757
+ if (typeof resolvedPrice.inputCacheHit === "number" && isGeminiNeonModel(model.name)) {
15758
+ return calculateCacheBasedCost(resolvedPrice, usage, externalPrice);
15759
+ }
14998
15760
  return calculateSimpleCost(resolvedPrice, usage, externalPrice);
14999
15761
  case "openrouter": {
15000
15762
  const reported = calculateApiReportedCost(usage);
@@ -15690,7 +16452,7 @@ var deleteOwnedDialogAttachments = async (args) => {
15690
16452
  metadataReadFailures
15691
16453
  });
15692
16454
  if (!plan.deleteCandidates.length) return plan;
15693
- const { deleteFileAction } = await import("./deleteFile-6URDHYRB.js");
16455
+ const { deleteFileAction } = await import("./deleteFile-ECU6FU5C.js");
15694
16456
  for (const candidate of plan.deleteCandidates) {
15695
16457
  if (candidate.fileDbKey) {
15696
16458
  await deleteFileAction(candidate.fileDbKey, args.thunkApi);
@@ -15752,7 +16514,7 @@ var deleteDialogThunk = async (payload, thunkApi) => {
15752
16514
  }
15753
16515
  if (isCurrentDialog) {
15754
16516
  await thunkApi.dispatch(resetMsgs());
15755
- const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-5EQ2A6LY.js");
16517
+ const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-JI3J22RV.js");
15756
16518
  dispatch(clearPendingAttachments2());
15757
16519
  }
15758
16520
  return { dialogKey, isCurrentDialog, attachmentPlan };
@@ -15760,39 +16522,39 @@ var deleteDialogThunk = async (payload, thunkApi) => {
15760
16522
 
15761
16523
  // packages/chat/dialog/dialogSlice.ts
15762
16524
  var runCreateDialogAction = async (args, thunkApi) => {
15763
- const { createDialogAction } = await import("./createDialogAction-EVTOPY7A.js");
16525
+ const { createDialogAction } = await import("./createDialogAction-4SN7FKI7.js");
15764
16526
  return createDialogAction(args, thunkApi);
15765
16527
  };
15766
16528
  var runCreateAgentAutomationAction = async (args, thunkApi) => {
15767
- const { createAgentAutomationAction } = await import("./createAgentAutomationAction-PB4QIFQ4.js");
16529
+ const { createAgentAutomationAction } = await import("./createAgentAutomationAction-M25XZSPD.js");
15768
16530
  return createAgentAutomationAction(args, thunkApi);
15769
16531
  };
15770
16532
  var runUpdateDialogTitleAction = async (args, thunkApi) => {
15771
- const { updateDialogTitleAction } = await import("./updateDialogTitleAction-IMIRJRQQ.js");
16533
+ const { updateDialogTitleAction } = await import("./updateDialogTitleAction-5OSEDGRK.js");
15772
16534
  return updateDialogTitleAction(args, thunkApi);
15773
16535
  };
15774
16536
  var runAddDialogAgentAction = async (args, thunkApi) => {
15775
- const { addDialogAgentAction } = await import("./addDialogAgentAction-EVYBGTXB.js");
16537
+ const { addDialogAgentAction } = await import("./addDialogAgentAction-U5DD5EN5.js");
15776
16538
  return addDialogAgentAction(args, thunkApi);
15777
16539
  };
15778
16540
  var runRemoveDialogAgentAction = async (args, thunkApi) => {
15779
- const { removeDialogAgentAction } = await import("./removeDialogAgentAction-F5QE2O2B.js");
16541
+ const { removeDialogAgentAction } = await import("./removeDialogAgentAction-EEVSOQOJ.js");
15780
16542
  return removeDialogAgentAction(args, thunkApi);
15781
16543
  };
15782
16544
  var runSetPrimaryDialogAgentAction = async (args, thunkApi) => {
15783
- const { setPrimaryDialogAgentAction } = await import("./setPrimaryDialogAgentAction-GJJDUSGJ.js");
16545
+ const { setPrimaryDialogAgentAction } = await import("./setPrimaryDialogAgentAction-QABBEO4C.js");
15784
16546
  return setPrimaryDialogAgentAction(args, thunkApi);
15785
16547
  };
15786
16548
  var runSwitchDialogAgentAction = async (args, thunkApi) => {
15787
- const { switchDialogAgentAction } = await import("./switchDialogAgentAction-IIJBPND3.js");
16549
+ const { switchDialogAgentAction } = await import("./switchDialogAgentAction-KYWJSGOO.js");
15788
16550
  return switchDialogAgentAction(args, thunkApi);
15789
16551
  };
15790
16552
  var runSetDialogExtraReferencesAction = async (args, thunkApi) => {
15791
- const { setDialogExtraReferencesAction } = await import("./setDialogExtraReferencesAction-72L27ERM.js");
16553
+ const { setDialogExtraReferencesAction } = await import("./setDialogExtraReferencesAction-DNO5POHA.js");
15792
16554
  return setDialogExtraReferencesAction(args, thunkApi);
15793
16555
  };
15794
16556
  var runHandleSendMessageAction = async (args, thunkApi) => {
15795
- const { handleSendMessageAction } = await import("./handleSendMessageAction-LNT7SZND.js");
16557
+ const { handleSendMessageAction } = await import("./handleSendMessageAction-Q2VMEVOR.js");
15796
16558
  return handleSendMessageAction(args, thunkApi);
15797
16559
  };
15798
16560
  function clearDialogState() {
@@ -15805,7 +16567,7 @@ var createPageAndAddReference = createAsyncThunk(
15805
16567
  async (payload, { dispatch, getState, rejectWithValue }) => {
15806
16568
  const { slateData, jsonData, title, type, fileId, groupId, dialogKey } = payload;
15807
16569
  try {
15808
- const { createDocState } = await import("./docStore-OKKIKLT3.js");
16570
+ const { createDocState } = await import("./docStore-XLBKGGNM.js");
15809
16571
  const pageKey = await createDocState(
15810
16572
  { slateData, title },
15811
16573
  { dispatch, getState }
@@ -15978,10 +16740,6 @@ export {
15978
16740
  resolveAgentContextWindow,
15979
16741
  isAgentRunStatusNormal,
15980
16742
  isAgentRunStartFailureStatus,
15981
- uiAskChoiceFunctionSchema,
15982
- validateAskChoiceInput,
15983
- uiAskChoiceFunc,
15984
- parseUiAskChoiceContent,
15985
16743
  normalizeRunCompletionShape,
15986
16744
  createTurnRequest,
15987
16745
  runtime_default,
@@ -15996,10 +16754,9 @@ export {
15996
16754
  fetchAndCacheMessages,
15997
16755
  toast,
15998
16756
  updateDialogSummaryAction,
16757
+ INLINE_IMAGE_MAX_BYTES,
16758
+ INLINE_IMAGE_TOTAL_MAX_BYTES,
15999
16759
  buildDatabaseFileContentUrl,
16000
- normalizeAppRouteId,
16001
- PERSONALIZATION_DIALOG_CATEGORY,
16002
- buildPersonalizationDialogPolicyContext,
16003
16760
  resolveDialogRuntimeAgentKey,
16004
16761
  resolveHandleSendMessageContext,
16005
16762
  estimateMissingUsage,