nolo-cli 0.227.0-alpha.1 → 0.228.0-alpha.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 (197) hide show
  1. package/{_executeModel-JKQGZ3HU.js → _executeModel-WZKT6XEU.js} +76 -77
  2. package/{action-CK64LS6S.js → action-GDZDXPMB.js} +9 -9
  3. package/{addContentAction-CARFID6E.js → addContentAction-7RO4AMRI.js} +14 -14
  4. package/{addDialogAgentAction-APLZLFW5.js → addDialogAgentAction-EVYBGTXB.js} +16 -16
  5. package/{agentDeleteCommand-NVR2V2HH.js → agentDeleteCommand-PZWRHNXY.js} +113 -114
  6. package/{agentEmailCommands-UCVOWD3S.js → agentEmailCommands-QTKMEICX.js} +116 -117
  7. package/{agentFavoriteCommands-4PDOP3GW.js → agentFavoriteCommands-7LOP3HUD.js} +6 -6
  8. package/{agentGrantCommands-FLCEXLUH.js → agentGrantCommands-L6O2HVJI.js} +7 -7
  9. package/{agentListCommands-C65UESYM.js → agentListCommands-GUGMORTK.js} +72 -71
  10. package/{agentMachineCommands-V3DGEJU4.js → agentMachineCommands-7QGICJLM.js} +57 -56
  11. package/{agentProviderCommands-7QBFRFRK.js → agentProviderCommands-STI3DQ6A.js} +7 -7
  12. package/{agentPullCommand-E6JBGBVG.js → agentPullCommand-KHV4EELF.js} +6 -6
  13. package/{agentRecordCommands-6RCJS2EY.js → agentRecordCommands-SLLADS5C.js} +104 -105
  14. package/{agentRunCommand-P3GRKXKS.js → agentRunCommand-OFQLOF5Y.js} +110 -111
  15. package/{agentRunControl-SNZZ5XP4.js → agentRunControl-MBG4U6SL.js} +23 -17
  16. package/{agentRuntimeLocal-GOX2DIY7.js → agentRuntimeLocal-TU4LA353.js} +44 -44
  17. package/{agentSlice-N7H2FRJA.js → agentSlice-L4SBGWTB.js} +17 -17
  18. package/{appDeleteCommands-LZDN26FU.js → appDeleteCommands-JWP3XPUA.js} +52 -51
  19. package/{appDeployCommands-6IO6TTZH.js → appDeployCommands-6E4TQCWI.js} +52 -51
  20. package/{appDeployStatusCommands-FG3LX24J.js → appDeployStatusCommands-ALU4SADG.js} +52 -51
  21. package/{appGetCommands-NAKVDVD4.js → appGetCommands-JEY4L6L4.js} +52 -51
  22. package/{appListCommands-KL56RN73.js → appListCommands-PCAVHU7M.js} +52 -51
  23. package/{authCommand-AUN5MXV2.js → authCommand-CGRIIOOV.js} +30 -31
  24. package/{authCommands-D2IPS6ES.js → authCommands-55OGQGCR.js} +12 -13
  25. package/{builtinSkillRegistry-UQGLKRYP.js → builtinSkillRegistry-BAE2LDXF.js} +4 -4
  26. package/{chromeOpsCommands-UJWN5HWH.js → chromeOpsCommands-WAA45NCS.js} +8 -8
  27. package/{chunk-OB6DVWPF.js → chunk-262R3XNN.js} +16 -2
  28. package/{chunk-KMRKZNGT.js → chunk-2MCB7CD7.js} +13 -12
  29. package/{chunk-YPPKC6FL.js → chunk-2NPD3FTX.js} +3 -3
  30. package/{chunk-UN7HIYMH.js → chunk-2X7WFDT6.js} +1 -1
  31. package/{chunk-XI2BWJM5.js → chunk-324FWHUA.js} +20 -3
  32. package/{chunk-JWXITTQB.js → chunk-3P54D2E4.js} +1 -1
  33. package/{chunk-RU6DULV4.js → chunk-3U44JB3O.js} +1 -1
  34. package/{chunk-EUCFKKDM.js → chunk-4I2MXV5Q.js} +38 -10
  35. package/{chunk-PLPLH2XZ.js → chunk-4ZGPHFLE.js} +2 -2
  36. package/{chunk-NO3VBWTL.js → chunk-547ENH5T.js} +1 -1
  37. package/chunk-5ZUOVCKT.js +32 -0
  38. package/{chunk-XZODOEKU.js → chunk-6QHKRARD.js} +2 -2
  39. package/{chunk-YGMBIXCF.js → chunk-6XRPBZRS.js} +4 -2
  40. package/{chunk-VPAZ6BEN.js → chunk-7JGMNKKG.js} +18 -14
  41. package/{chunk-3VFYQH3I.js → chunk-AGYPUBFW.js} +14 -39
  42. package/{chunk-5HL4KC4A.js → chunk-ALAES342.js} +57 -86
  43. package/{chunk-VREDDN25.js → chunk-ATEKLSLR.js} +1 -1
  44. package/{chunk-CQVGR3MX.js → chunk-AUAJTAFM.js} +8 -8
  45. package/chunk-BIDSIRTS.js +307 -0
  46. package/chunk-BIWI5M4E.js +62 -0
  47. package/{chunk-L5I543VB.js → chunk-BNMPUQW6.js} +1 -1
  48. package/{chunk-UCFPVYP7.js → chunk-BP5ZJ6B4.js} +1 -1
  49. package/{chunk-2G3YSVO6.js → chunk-CBUZ6DKA.js} +3 -3
  50. package/{chunk-KYH7XW3K.js → chunk-CD3RU7XL.js} +16 -1
  51. package/{chunk-SFTTXGPM.js → chunk-CMMI3DAT.js} +16 -16
  52. package/{chunk-VZW34YUL.js → chunk-CYWNWA77.js} +5 -5
  53. package/{chunk-5LQDHFBN.js → chunk-D6YNCNM6.js} +14 -11
  54. package/{chunk-UVUVQVZ6.js → chunk-DBUR22G5.js} +2 -2
  55. package/{chunk-7Z3WUZ4Q.js → chunk-DDC6P6EH.js} +24 -24
  56. package/{chunk-G6HJUMST.js → chunk-DEA37IUY.js} +2 -2
  57. package/{chunk-5RKRXQ2H.js → chunk-DGYCDA6W.js} +2 -2
  58. package/{chunk-3HTP4WZQ.js → chunk-DUUDXSLX.js} +21 -7
  59. package/{chunk-KFHREHUQ.js → chunk-DXWGFL2Z.js} +89 -1
  60. package/{chunk-TOKPHZ55.js → chunk-EEOOBRA7.js} +5 -5
  61. package/{chunk-UAPNPNSG.js → chunk-EXJK7TQO.js} +1040 -582
  62. package/{chunk-OXA5GWHU.js → chunk-F6Z6ZCUV.js} +2 -2
  63. package/{chunk-X2KRQP7V.js → chunk-FJSNBZXR.js} +1 -1
  64. package/{chunk-KRRE4A7D.js → chunk-G7IUT2V3.js} +3 -2
  65. package/{chunk-VIHDJ3FK.js → chunk-GACR7H6T.js} +14 -14
  66. package/{chunk-GOLPOTG5.js → chunk-GOCSSER3.js} +3 -3
  67. package/{chunk-NAOO4PVX.js → chunk-GPOV42YM.js} +16 -16
  68. package/{chunk-C2B7M567.js → chunk-GUXZK7SE.js} +5 -5
  69. package/{chunk-TINJKQSO.js → chunk-GYS5FUYR.js} +20 -20
  70. package/{chunk-IAJJYHIB.js → chunk-H6L2NFHY.js} +7 -7
  71. package/{chunk-45LZIYXB.js → chunk-HBRDSQ3M.js} +1 -1
  72. package/{chunk-T5N6NHAT.js → chunk-HHFGE2WF.js} +3 -3
  73. package/{chunk-IX2BXN2K.js → chunk-HSSBDZLD.js} +3 -3
  74. package/{chunk-MWHOH4RJ.js → chunk-HYLRQDEE.js} +4 -4
  75. package/{chunk-ZYA2YDB6.js → chunk-IAAIUH64.js} +16 -16
  76. package/{chunk-LXTC53TN.js → chunk-IXG6YXQM.js} +143 -123
  77. package/{chunk-CVERLOJM.js → chunk-JUSHVFNF.js} +236 -182
  78. package/{chunk-ABGULE7H.js → chunk-K67C2JUC.js} +12 -12
  79. package/{chunk-T2BEPTAG.js → chunk-L32W3PRP.js} +47 -17
  80. package/{chunk-M3Y4IBIR.js → chunk-M4SFKP5L.js} +4 -4
  81. package/{chunk-ZI5SZ3MV.js → chunk-MDZWUD3R.js} +20 -20
  82. package/{chunk-F5AY2UZL.js → chunk-NHY322ZU.js} +8 -8
  83. package/{chunk-KJAAPGBE.js → chunk-OBIC6EG7.js} +6 -6
  84. package/{chunk-4OKTPFNX.js → chunk-OG6MQOQG.js} +105 -37
  85. package/{chunk-AXYH4734.js → chunk-OOJNQK6V.js} +13 -13
  86. package/{chunk-XIEYGCN6.js → chunk-OWKNSIXL.js} +149 -48
  87. package/{chunk-JHF6VLVL.js → chunk-OYU2MA5S.js} +29 -29
  88. package/{chunk-6XIE5ZGI.js → chunk-PDCV7P5W.js} +1 -1
  89. package/{chunk-CKT6QUE2.js → chunk-Q3IVPFVO.js} +1 -1
  90. package/{chunk-PHOSZT3E.js → chunk-QBZCGP34.js} +1 -1
  91. package/{chunk-CLCXHIBS.js → chunk-QCB42576.js} +1 -1
  92. package/{chunk-HOCHUZQ7.js → chunk-QJTZ76CP.js} +24 -6
  93. package/{chunk-YQETUZ5V.js → chunk-QRGDJA4B.js} +11 -11
  94. package/{chunk-ULAQPRHX.js → chunk-QYB23WUH.js} +1 -1
  95. package/{chunk-PVAWNHP5.js → chunk-R3NEQZ53.js} +295 -102
  96. package/{chunk-CSW7IPVD.js → chunk-R6Z5S5GA.js} +11 -11
  97. package/{chunk-MK2Q7ZJD.js → chunk-R7XWZDOH.js} +58 -24
  98. package/{chunk-GUVXQSFZ.js → chunk-RBPUNSG5.js} +1 -1
  99. package/{chunk-GOQ6ZVTN.js → chunk-RG2DGNL6.js} +3 -3
  100. package/{chunk-6EDAMVG6.js → chunk-RTHFJZ6M.js} +10 -10
  101. package/{chunk-YOT437BH.js → chunk-RYOLWYBK.js} +122 -118
  102. package/{chunk-WJP4TH6U.js → chunk-S6FDXXZV.js} +1 -1
  103. package/{chunk-SW6OD4KE.js → chunk-SMJEXX2S.js} +123 -12
  104. package/{chunk-LJSNEV7M.js → chunk-SRCCSTIM.js} +7 -7
  105. package/{chunk-FKEZOMIF.js → chunk-STJ6LSQE.js} +453 -193
  106. package/{chunk-L42CBKBZ.js → chunk-TGNIKIHR.js} +3 -3
  107. package/{chunk-AK5O76CC.js → chunk-TI2EPRHE.js} +2 -2
  108. package/{chunk-SRG5CNLC.js → chunk-TSPMLCWI.js} +6 -6
  109. package/{chunk-YGILMZ7N.js → chunk-TUSTONB3.js} +1 -1
  110. package/{chunk-2SKTCNWO.js → chunk-UE2EVEYS.js} +2 -2
  111. package/{chunk-ZADGPNTV.js → chunk-UWAIJOF2.js} +29 -29
  112. package/{chunk-HVUDBOQG.js → chunk-VMJVAJ6W.js} +9 -6
  113. package/{chunk-LA7JYAKF.js → chunk-VSYTM22R.js} +3 -3
  114. package/{chunk-FIYSMXHY.js → chunk-WWTSEBDF.js} +1 -1
  115. package/{chunk-E2BESSAW.js → chunk-X4O7FJF5.js} +2 -0
  116. package/{chunk-GRXSJR2Z.js → chunk-XJPLSAPJ.js} +21 -21
  117. package/{chunk-HYKGIXNO.js → chunk-XSW4EXQV.js} +85 -21
  118. package/{chunk-T43K75CK.js → chunk-YKY4OVOX.js} +15 -15
  119. package/{chunk-5RKUPJYL.js → chunk-ZH3KXFHS.js} +11 -3
  120. package/chunk-ZOHO6MOF.js +376 -0
  121. package/{chunk-PXKF5CV4.js → chunk-ZXF6D3I6.js} +10 -8
  122. package/{cliAgentConfigHelpers-QVSQYTKC.js → cliAgentConfigHelpers-BTRHMPW2.js} +14 -14
  123. package/{cliEnvHelpers-D6HMC46Z.js → cliEnvHelpers-CNMP3RDX.js} +2 -2
  124. package/{cliExecutor-4MAX3PZL.js → cliExecutor-K6FDZTQ2.js} +3 -1
  125. package/{cliLocalAgentRecordReader-SPKAJYME.js → cliLocalAgentRecordReader-M3F76NIP.js} +46 -46
  126. package/{commandRegistry-TKR6OWXP.js → commandRegistry-ZLWHQVAI.js} +93 -93
  127. package/{contentThunks-BQWRPCTM.js → contentThunks-4ZX2TO7C.js} +36 -35
  128. package/{cooldownCommands-FZYQOWI5.js → cooldownCommands-YB5H5BBK.js} +3 -3
  129. package/{createAgentAutomationAction-GFI6SJZV.js → createAgentAutomationAction-L4CYUZJG.js} +36 -35
  130. package/{createDialogAction-MMBIHFFU.js → createDialogAction-QTU2R2Q3.js} +37 -37
  131. package/{createPageAction-EEYUE5FB.js → createPageAction-F3GJTHW2.js} +39 -38
  132. package/{db-CS4ZJQKV.js → db-M7FU2GNK.js} +9 -6
  133. package/{dbSlice-X4Z4E4QU.js → dbSlice-XRUZOGSU.js} +13 -13
  134. package/{deleteFile-QOOP2UK7.js → deleteFile-6URDHYRB.js} +9 -9
  135. package/{dialogCommands-OXBQ73DD.js → dialogCommands-NRLCOPJR.js} +56 -56
  136. package/{dialogNotifyCommand-VWS5G4OO.js → dialogNotifyCommand-SHGPCU22.js} +17 -17
  137. package/{dialogSlice-KGYIABDY.js → dialogSlice-P2S4LXQD.js} +34 -33
  138. package/{dialogUsageCommand-FEWCN7IA.js → dialogUsageCommand-W2WCSGKF.js} +6 -6
  139. package/{docCreateCommands-LS32VKY3.js → docCreateCommands-YJRDA3RX.js} +51 -50
  140. package/{docDeleteCommands-JTYR5RPH.js → docDeleteCommands-A5QIHZNF.js} +53 -52
  141. package/{docReadCommands-E5LTVKWN.js → docReadCommands-CF2LTMYH.js} +51 -50
  142. package/{docStore-TVS2FNER.js → docStore-6O7NYL6A.js} +15 -15
  143. package/{docUpdateCommands-I3J3JDZ2.js → docUpdateCommands-QRKV4ZXE.js} +51 -50
  144. package/{fetchMessages-Q3INLN5F.js → fetchMessages-TQEUZD7H.js} +3 -3
  145. package/{getPricing-VNGFM4PN.js → getPricing-LF5C4XSI.js} +6 -6
  146. package/{handleSendMessageAction-SSON36TJ.js → handleSendMessageAction-7IHLR37A.js} +66 -66
  147. package/{hostCredentialCreate-WTW4THJF.js → hostCredentialCreate-VNCQUAFT.js} +104 -105
  148. package/index.js +54 -16
  149. package/keys-RWF7UCB4.js +1 -1
  150. package/{localDialogRead-V36DX2Q2.js → localDialogRead-CCOCVGAP.js} +2 -2
  151. package/{localRuntimeAdapter-MI2JGXSF.js → localRuntimeAdapter-FOWVNMIK.js} +111 -112
  152. package/{machineCommands-3LROJZDK.js → machineCommands-ZGC3J4JB.js} +115 -116
  153. package/{machineWsRunDispatch-BUUJRUUB.js → machineWsRunDispatch-KK5U4M3G.js} +102 -103
  154. package/{memberThunks-CFEPHAND.js → memberThunks-7Y3OYSJQ.js} +17 -17
  155. package/{memoryCommands-JQMEJO7J.js → memoryCommands-BC6REPQB.js} +6 -6
  156. package/{overlay-THLKYIWY.js → overlay-BBQZXGYI.js} +5 -3
  157. package/package.json +1 -1
  158. package/{projectArchive-3X54XFVN.js → projectArchive-7ZDYBXAX.js} +44 -43
  159. package/{providerPresetApply-FO36N5TX.js → providerPresetApply-WHAMP2D5.js} +9 -9
  160. package/{providerRegistry-U2BSFE6K.js → providerRegistry-ZI2KORJ7.js} +9 -9
  161. package/{read-KA3L2V7O.js → read-TYMBGEXO.js} +9 -9
  162. package/{readDocTool-AMAZAPAW.js → readDocTool-SKQVHBLO.js} +1 -1
  163. package/{readlineWorkspace-Z3YUH4SX.js → readlineWorkspace-YHT4SX2C.js} +4391 -4161
  164. package/{removeDialogAgentAction-JQOJSUM7.js → removeDialogAgentAction-F5QE2O2B.js} +19 -19
  165. package/{runAgentClientLoop-4FCFLMDJ.js → runAgentClientLoop-H4ED5V3K.js} +70 -71
  166. package/{runtimeDoctorCommands-CXOCVDPU.js → runtimeDoctorCommands-RRKPBGVO.js} +16 -16
  167. package/{secretCommands-GGUAWAE7.js → secretCommands-KZWBZIYS.js} +2 -2
  168. package/{setDialogExtraReferencesAction-YXQTGXIN.js → setDialogExtraReferencesAction-72L27ERM.js} +15 -15
  169. package/{setPrimaryDialogAgentAction-YNLB66WE.js → setPrimaryDialogAgentAction-GJJDUSGJ.js} +19 -19
  170. package/{settingThunks-E6N7RSSS.js → settingThunks-ZRGWVGZD.js} +18 -18
  171. package/{skillDiscovery-B5V23AXP.js → skillDiscovery-I37M5KJC.js} +3 -3
  172. package/{spaceCommands-DB5DKC2J.js → spaceCommands-MEH3HJBC.js} +53 -52
  173. package/{store-JRVN62NM.js → store-Z53ICFL3.js} +3 -1
  174. package/{streamAgentChatTurn-FCBGMD4D.js → streamAgentChatTurn-ZXPOXU33.js} +91 -92
  175. package/{switchDialogAgentAction-LAHLUECU.js → switchDialogAgentAction-IIJBPND3.js} +16 -16
  176. package/{tableCommands-VNSXHAMG.js → tableCommands-FTAOCBTX.js} +12 -12
  177. package/{tools-6JD36D6K.js → tools-2MRWA2PP.js} +59 -60
  178. package/tuiRestart-2IL37YIB.js +41 -0
  179. package/{tuiSummaryLlmCaller-UHZIPGAX.js → tuiSummaryLlmCaller-W2QN4VAC.js} +21 -21
  180. package/{updateCommands-KZ54HCU5.js → updateCommands-CPATDG6J.js} +8 -6
  181. package/{updateDialogTitleAction-RV3EUEN3.js → updateDialogTitleAction-RZ3KZSGQ.js} +36 -35
  182. package/{usageCommand-KFVV6UL3.js → usageCommand-2BF74MKF.js} +2 -2
  183. package/{usageRebuildCommand-HHFSNK46.js → usageRebuildCommand-UHB55BQM.js} +3 -3
  184. package/{windowsSelfUpdate-KERHIAB4.js → windowsSelfUpdate-ZFD6J5HF.js} +2 -2
  185. package/chunk-BJF2MHJ3.js +0 -118
  186. package/chunk-KEPOVMF4.js +0 -91
  187. package/chunk-PMDVQBGA.js +0 -100
  188. package/chunk-WACI5I6V.js +0 -147
  189. package/{accountResolver-EK2S4PWF.js → accountResolver-QETKNC7T.js} +4 -4
  190. package/{chunk-AGP3YSEC.js → chunk-4N6G2CKP.js} +3 -3
  191. package/{chunk-VXL2FZTP.js → chunk-HXER7YJF.js} +3 -3
  192. package/{chunk-BLVSFYQ3.js → chunk-LISC7BD4.js} +3 -3
  193. package/{chunk-SSGTV4FC.js → chunk-USGHJSGO.js} +5 -5
  194. package/{chunk-IC2I373Q.js → chunk-VS276URX.js} +3 -3
  195. package/{chunk-AETZ7AD6.js → chunk-W6RFEDN4.js} +3 -3
  196. package/{offlineMarxistsAgentCommand-AGA2X5E4.js → offlineMarxistsAgentCommand-XVXUE6G5.js} +5 -5
  197. package/{workloadLifecycle-O2I3NZ2Q.js → workloadLifecycle-HFJIN5IZ.js} +8 -8
@@ -3027,6 +3027,15 @@ function getCachedOpenRouterModelReasoning(modelId) {
3027
3027
  var GATEWAY_PROVIDERS = /* @__PURE__ */ new Set(["openrouter", "nolo"]);
3028
3028
  var THINKING_MECHANISM_PROVIDERS = /* @__PURE__ */ new Set(["anthropic", "google"]);
3029
3029
  var MODEL_REASONING_OVERRIDES = [
3030
+ // Platform GPT models accept medium even though the nolo provider fallback
3031
+ // describes DeepSeek's narrower low/high/max scale.
3032
+ ...["gpt-6.1-sol", "gpt-6.1-terra", "gpt-6-luna", "gpt-6-astra"].map((prefix) => ({
3033
+ providers: ["openai"],
3034
+ prefix,
3035
+ exact: true,
3036
+ efforts: ["none", "low", "medium", "high", "xhigh", "max"],
3037
+ note: "GPT-6 model-specific reasoning scale (platformHosted.ts model metadata)"
3038
+ })),
3030
3039
  // ---- OpenAI ----
3031
3040
  {
3032
3041
  providers: ["openai"],
@@ -3228,6 +3237,8 @@ function resolveModelReasoningCapabilityWithCache(provider, model) {
3228
3237
  // packages/ai/llm/reasoningModels.ts
3229
3238
  var REASONING_MODEL_NAMES = /* @__PURE__ */ new Set([
3230
3239
  "deepseek-flash",
3240
+ "deepseek-v4-flash",
3241
+ "deepseek-v4.1-flash",
3231
3242
  "deepseek-v4-pro",
3232
3243
  "gemini-3.7-flash",
3233
3244
  "gemini-3.8-flash",
@@ -3266,7 +3277,10 @@ var isModelSupportReasoningEffort = (model, provider) => {
3266
3277
  if (provider && provider.toLowerCase() === "openrouter") {
3267
3278
  return true;
3268
3279
  }
3269
- return REASONING_MODEL_NAMES.has(model);
3280
+ const p = provider?.toLowerCase();
3281
+ const base = model.toLowerCase().split("/").pop() ?? "";
3282
+ const deepseekFlash = ["deepseek-flash", "deepseek-v4-flash", "deepseek-v4.1-flash"].includes(base);
3283
+ return REASONING_MODEL_NAMES.has(model) || deepseekFlash && ["commandcode", "opendesign", "ollama-cloud", "lithosai"].includes(p ?? "");
3270
3284
  };
3271
3285
  var supportedReasoningModels = Array.from(REASONING_MODEL_NAMES);
3272
3286
  var EFFORT_ORDER = [
@@ -3612,6 +3626,7 @@ export {
3612
3626
  commandCodeModels,
3613
3627
  opencodeGoModels,
3614
3628
  DEFAULT_REASONING_EFFORT,
3629
+ resolveModelReasoningCapability,
3615
3630
  resolveModelReasoningCapabilityWithCache,
3616
3631
  isModelSupportReasoningEffort,
3617
3632
  clampReasoningEffort,
@@ -2,16 +2,16 @@ import {
2
2
  isMediaFile,
3
3
  resolveFileCategory
4
4
  } from "./chunk-3PVYUPXK.js";
5
- import {
6
- loadFileFromIndexedDb,
7
- removeAction,
8
- saveFileToIndexedDb
9
- } from "./chunk-PLPLH2XZ.js";
10
5
  import {
11
6
  readAction,
12
7
  readRequestManager,
13
8
  resolveAgentReadServers
14
- } from "./chunk-5RKRXQ2H.js";
9
+ } from "./chunk-DGYCDA6W.js";
10
+ import {
11
+ loadFileFromIndexedDb,
12
+ removeAction,
13
+ saveFileToIndexedDb
14
+ } from "./chunk-4ZGPHFLE.js";
15
15
  import {
16
16
  beginWriteAck,
17
17
  compareRemoteRecordsByComparableTime,
@@ -29,7 +29,7 @@ import {
29
29
  shouldReplaceLocalWithRemoteRecord,
30
30
  shouldReplicateLocalRecord,
31
31
  uploadToCurrentServer
32
- } from "./chunk-CSW7IPVD.js";
32
+ } from "./chunk-R6Z5S5GA.js";
33
33
  import {
34
34
  asyncThunkCreator,
35
35
  buildCreateSlice,
@@ -41,16 +41,10 @@ import {
41
41
  fetchFromServer,
42
42
  logger,
43
43
  normalizeTimeFields
44
- } from "./chunk-AGP3YSEC.js";
44
+ } from "./chunk-4N6G2CKP.js";
45
45
  import {
46
46
  isTombstoneRecord
47
47
  } from "./chunk-BV3FLP2L.js";
48
- import {
49
- isRecord
50
- } from "./chunk-KUG52IAP.js";
51
- import {
52
- API_ENDPOINTS
53
- } from "./chunk-LCBAMY2M.js";
54
48
  import {
55
49
  fileKey,
56
50
  getFileIdFromKey
@@ -58,6 +52,12 @@ import {
58
52
  import {
59
53
  ulid
60
54
  } from "./chunk-OJKUU3LP.js";
55
+ import {
56
+ API_ENDPOINTS
57
+ } from "./chunk-LCBAMY2M.js";
58
+ import {
59
+ isRecord
60
+ } from "./chunk-KUG52IAP.js";
61
61
 
62
62
  // packages/database/protectedRecordProtocol.ts
63
63
  var PROTECTED_RECORD_PROTOCOL_VERSION = 1;
@@ -1487,7 +1487,7 @@ var dbSlice = createSliceWithThunks({
1487
1487
  // 动态 import 在调用期解析,避开 TDZ/求值顺序问题(同下方 share)。
1488
1488
  read: create.asyncThunk(
1489
1489
  async (payload, thunkApi) => {
1490
- const { readAction: readAction2 } = await import("./read-KA3L2V7O.js");
1490
+ const { readAction: readAction2 } = await import("./read-TYMBGEXO.js");
1491
1491
  return readAction2(payload, thunkApi);
1492
1492
  },
1493
1493
  {
@@ -1561,7 +1561,7 @@ var dbSlice = createSliceWithThunks({
1561
1561
  // 这里改成动态 import,运行期才解析,彻底断开这条边。
1562
1562
  share: create.asyncThunk(
1563
1563
  async (config, thunkApi) => {
1564
- const { shareResourceAction } = await import("./action-CK64LS6S.js");
1564
+ const { shareResourceAction } = await import("./action-GDZDXPMB.js");
1565
1565
  return shareResourceAction(config, thunkApi);
1566
1566
  }
1567
1567
  ),
@@ -1,13 +1,13 @@
1
+ import {
2
+ deriveCredentialGroup
3
+ } from "./chunk-NHY322ZU.js";
1
4
  import {
2
5
  listUserRecordsFromServers,
3
6
  readLiveDbRecordAfterTombstoneMerge
4
- } from "./chunk-PHOSZT3E.js";
7
+ } from "./chunk-QBZCGP34.js";
5
8
  import {
6
9
  agentRecordHasConfiguredCredential
7
- } from "./chunk-5LQDHFBN.js";
8
- import {
9
- deriveCredentialGroup
10
- } from "./chunk-F5AY2UZL.js";
10
+ } from "./chunk-D6YNCNM6.js";
11
11
  import {
12
12
  isTombstoneRecord
13
13
  } from "./chunk-BV3FLP2L.js";
@@ -1,48 +1,51 @@
1
+ import {
2
+ resolveDefaultReasoningEffort
3
+ } from "./chunk-5ZUOVCKT.js";
1
4
  import {
2
5
  buildRestorePatch
3
6
  } from "./chunk-BV3FLP2L.js";
4
7
  import {
5
8
  buildLocalAgentLookupKeys,
6
9
  shouldReadAgentKeyRemotely
7
- } from "./chunk-CLCXHIBS.js";
10
+ } from "./chunk-QCB42576.js";
8
11
  import {
9
12
  resolveCliAgentKeyInput
10
13
  } from "./chunk-BR3GT6MR.js";
11
14
  import {
12
15
  createHostCredentialBrokerChain,
13
16
  createStrictHostCredentialBroker
14
- } from "./chunk-CVERLOJM.js";
17
+ } from "./chunk-JUSHVFNF.js";
15
18
  import {
16
19
  collectInvalidAgentSkillModes,
17
20
  formatInvalidAgentSkillModeMessage,
18
21
  formatInvalidAgentSkillModesFieldMessage,
19
22
  isAgentSkillModesFieldShapeValid
20
- } from "./chunk-X2KRQP7V.js";
23
+ } from "./chunk-FJSNBZXR.js";
21
24
  import {
22
25
  buildAgentApiKeyCredentialRef,
23
26
  migrateAgentSecrets
24
- } from "./chunk-SSGTV4FC.js";
27
+ } from "./chunk-USGHJSGO.js";
25
28
  import {
26
29
  assertCredentialRef,
27
30
  createFileCredentialBroker
28
31
  } from "./chunk-OQHIVPG4.js";
29
32
  import {
30
- toErrorMessage
31
- } from "./chunk-HNMXYYJR.js";
33
+ createAgentKey
34
+ } from "./chunk-SYTHYBMI.js";
32
35
  import {
33
36
  parseUserIdFromAuthToken,
34
37
  readOption,
35
38
  resolveAuthToken,
36
39
  resolveServerCandidates,
37
40
  resolveServerUrl
38
- } from "./chunk-WACI5I6V.js";
41
+ } from "./chunk-BIDSIRTS.js";
39
42
  import {
40
43
  readPipeText,
41
44
  spawnProcess
42
45
  } from "./chunk-4O22PGNQ.js";
43
46
  import {
44
- createAgentKey
45
- } from "./chunk-SYTHYBMI.js";
47
+ toErrorMessage
48
+ } from "./chunk-HNMXYYJR.js";
46
49
 
47
50
  // packages/agent-runtime/sessionCredentialBroker.ts
48
51
  function createSessionMemoryCredentialBroker() {
@@ -763,7 +766,7 @@ async function buildCreatedAgentRecord(args) {
763
766
  const resolvedAgentInput = resolveCliAgentKeyInput(args.parsed.agentInput);
764
767
  const agentKey = resolvedAgentInput.startsWith("agent-") ? resolvedAgentInput : createAgentKey.private(userId || "local", resolvedAgentInput);
765
768
  if (args.parsed.presetId) {
766
- const { resolveProviderPresetFields } = await import("./providerPresetApply-FO36N5TX.js");
769
+ const { resolveProviderPresetFields } = await import("./providerPresetApply-WHAMP2D5.js");
767
770
  const fields = resolveProviderPresetFields(args.parsed.presetId);
768
771
  if (fields.kind === "manual") {
769
772
  throw new Error(
@@ -784,7 +787,7 @@ async function buildCreatedAgentRecord(args) {
784
787
  }
785
788
  if (!u.model && fields.model) u.model = fields.model;
786
789
  if (fields.defaultReasoningEffort && u.reasoning_effort == null) {
787
- u.reasoning_effort = fields.defaultReasoningEffort;
790
+ u.reasoning_effort = resolveDefaultReasoningEffort({ provider: typeof u.provider === "string" ? u.provider : void 0, model: typeof u.model === "string" ? u.model : void 0, fallback: fields.defaultReasoningEffort });
788
791
  }
789
792
  }
790
793
  if (args.parsed.copyProviderFrom) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getModelPricing
3
- } from "./chunk-LJSNEV7M.js";
3
+ } from "./chunk-SRCCSTIM.js";
4
4
  import {
5
5
  PUBLIC_DEEPSEEK_V4_FLASH_AGENT_ID,
6
6
  PUBLIC_DEEPSEEK_V4_PRO_AGENT_ID,
@@ -23,7 +23,7 @@ import {
23
23
  } from "./chunk-M2EJHDJP.js";
24
24
  import {
25
25
  getModelConfig
26
- } from "./chunk-KYH7XW3K.js";
26
+ } from "./chunk-CD3RU7XL.js";
27
27
  import {
28
28
  isRecord
29
29
  } from "./chunk-KUG52IAP.js";
@@ -5,7 +5,7 @@ import {
5
5
  inlineImageUrlsForCustomProvider,
6
6
  prepareTools,
7
7
  shouldInlineImageUrlsForAgent
8
- } from "./chunk-2SKTCNWO.js";
8
+ } from "./chunk-UE2EVEYS.js";
9
9
  import {
10
10
  CONFIRMATION_INPUT_KEYS,
11
11
  INVALID_TOOL_ARGS_REPLACEMENT,
@@ -14,11 +14,11 @@ import {
14
14
  performFetchRequest,
15
15
  sanitizeOutboundMessages,
16
16
  stripModelToolArgs
17
- } from "./chunk-ZADGPNTV.js";
17
+ } from "./chunk-UWAIJOF2.js";
18
18
  import {
19
19
  findToolExecutor,
20
20
  toolDefinitionsByName
21
- } from "./chunk-LXTC53TN.js";
21
+ } from "./chunk-IXG6YXQM.js";
22
22
  import {
23
23
  createSSEParser,
24
24
  createToolRunId,
@@ -27,7 +27,10 @@ import {
27
27
  toolRunSetPending,
28
28
  toolRunStarted,
29
29
  toolRunSucceeded
30
- } from "./chunk-GRXSJR2Z.js";
30
+ } from "./chunk-XJPLSAPJ.js";
31
+ import {
32
+ getCurrentSpaceId
33
+ } from "./chunk-547ENH5T.js";
31
34
  import {
32
35
  addToolMessage,
33
36
  messageStreamEnd,
@@ -35,13 +38,10 @@ import {
35
38
  toast,
36
39
  toolResultNeedsUserConfirmation,
37
40
  updateToolMessage
38
- } from "./chunk-PVAWNHP5.js";
41
+ } from "./chunk-R3NEQZ53.js";
39
42
  import {
40
43
  streamAgentChatTurn
41
- } from "./chunk-ABGULE7H.js";
42
- import {
43
- getCurrentSpaceId
44
- } from "./chunk-NO3VBWTL.js";
44
+ } from "./chunk-K67C2JUC.js";
45
45
  import {
46
46
  addActiveController,
47
47
  getActiveDialogKey,
@@ -53,10 +53,10 @@ import {
53
53
  } from "./chunk-5FUN7EG4.js";
54
54
  import {
55
55
  selectCurrentServer
56
- } from "./chunk-VREDDN25.js";
56
+ } from "./chunk-ATEKLSLR.js";
57
57
  import {
58
58
  write
59
- } from "./chunk-SFTTXGPM.js";
59
+ } from "./chunk-CMMI3DAT.js";
60
60
  import {
61
61
  createAsyncThunk
62
62
  } from "./chunk-7Z6EW7AH.js";
@@ -73,7 +73,7 @@ import {
73
73
  projectUserPartForModel,
74
74
  resolveOutboundDiagnosticSink,
75
75
  resolveOutboundWire
76
- } from "./chunk-ULAQPRHX.js";
76
+ } from "./chunk-QYB23WUH.js";
77
77
  import {
78
78
  accumulateToolCallDelta,
79
79
  createThinkParserState,
@@ -85,7 +85,7 @@ import {
85
85
  } from "./chunk-56GBUMO5.js";
86
86
  import {
87
87
  normalizeChatCompletionsBodyForProvider
88
- } from "./chunk-TOKPHZ55.js";
88
+ } from "./chunk-EEOOBRA7.js";
89
89
  import {
90
90
  classifyApiError,
91
91
  classifyGenerationError,
@@ -93,25 +93,16 @@ import {
93
93
  } from "./chunk-TLE77UJ5.js";
94
94
  import {
95
95
  EMPTY_ASSISTANT_REPAIR_PROMPT
96
- } from "./chunk-YQETUZ5V.js";
96
+ } from "./chunk-QRGDJA4B.js";
97
97
  import {
98
98
  getModelInfo
99
- } from "./chunk-T2BEPTAG.js";
99
+ } from "./chunk-L32W3PRP.js";
100
100
  import {
101
101
  isAbortError
102
102
  } from "./chunk-7DPNBQSV.js";
103
- import {
104
- toErrorMessage
105
- } from "./chunk-HNMXYYJR.js";
106
103
  import {
107
104
  extractCustomId
108
105
  } from "./chunk-M2EJHDJP.js";
109
- import {
110
- getApiEndpoint
111
- } from "./chunk-KYH7XW3K.js";
112
- import {
113
- isRecord
114
- } from "./chunk-KUG52IAP.js";
115
106
  import {
116
107
  toTrimmedString
117
108
  } from "./chunk-SYTHYBMI.js";
@@ -119,9 +110,18 @@ import {
119
110
  createDialogMessageKeyAndId,
120
111
  dialogMessageKey
121
112
  } from "./chunk-OJKUU3LP.js";
113
+ import {
114
+ toErrorMessage
115
+ } from "./chunk-HNMXYYJR.js";
122
116
  import {
123
117
  asTrimmedString
124
118
  } from "./chunk-3EUW3WEO.js";
119
+ import {
120
+ getApiEndpoint
121
+ } from "./chunk-CD3RU7XL.js";
122
+ import {
123
+ isRecord
124
+ } from "./chunk-KUG52IAP.js";
125
125
  import {
126
126
  asOptionalTrimmedString
127
127
  } from "./chunk-G3SUCT4W.js";
@@ -5,11 +5,11 @@ import {
5
5
  import {
6
6
  patch,
7
7
  read
8
- } from "./chunk-SFTTXGPM.js";
8
+ } from "./chunk-CMMI3DAT.js";
9
9
  import {
10
10
  DEVICE_LOCAL_OWNER_ID,
11
11
  isDeviceLocalSpaceBody
12
- } from "./chunk-CSW7IPVD.js";
12
+ } from "./chunk-R6Z5S5GA.js";
13
13
  import {
14
14
  selectIdentityUserId
15
15
  } from "./chunk-PXYBUFDB.js";
@@ -7,13 +7,13 @@ import {
7
7
  scheduleExistingRecordReplication,
8
8
  shouldReplaceLocalWithRemoteRecord,
9
9
  shouldReplicateLocalRecord
10
- } from "./chunk-CSW7IPVD.js";
10
+ } from "./chunk-R6Z5S5GA.js";
11
11
  import {
12
12
  fetchFromClientDb,
13
13
  fetchFromServer,
14
14
  isReadTimeoutError,
15
15
  logger
16
- } from "./chunk-AGP3YSEC.js";
16
+ } from "./chunk-4N6G2CKP.js";
17
17
  import {
18
18
  shouldReplaceWithNextRecord
19
19
  } from "./chunk-BV3FLP2L.js";
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  resolveAgentCallPlan
3
- } from "./chunk-KJAAPGBE.js";
3
+ } from "./chunk-OBIC6EG7.js";
4
4
  import {
5
5
  SUBSCRIPTION_OAUTH_PROVIDERS
6
- } from "./chunk-VPAZ6BEN.js";
6
+ } from "./chunk-7JGMNKKG.js";
7
7
  import {
8
8
  findModelConfig,
9
9
  getProviderByModelName
10
- } from "./chunk-KYH7XW3K.js";
11
- import {
12
- asTrimmedLowercaseString
13
- } from "./chunk-QSJ3HFEF.js";
10
+ } from "./chunk-CD3RU7XL.js";
14
11
  import {
15
12
  asOptionalTrimmedString
16
13
  } from "./chunk-G3SUCT4W.js";
14
+ import {
15
+ asTrimmedLowercaseString
16
+ } from "./chunk-QSJ3HFEF.js";
17
17
 
18
18
  // packages/ai/llm/agentCapabilities.ts
19
19
  var ANTIGRAVITY_EFFORT_SUFFIXES = [
@@ -86,9 +86,19 @@ var resolveCatalogImageSupport = (agent) => {
86
86
  )?.hasVision : lookupKnownModelVision(provider, model);
87
87
  return catalogHasVision;
88
88
  };
89
+ var liveImageSupport = Symbol("liveImageSupport");
90
+ function withLiveImageSupport(agent, supported) {
91
+ return { ...agent, [liveImageSupport]: { model: agent.model, supported } };
92
+ }
93
+ function readLiveImageSupport(agent) {
94
+ const evidence = agent[liveImageSupport];
95
+ if (!evidence || evidence.model !== agent.model) return void 0;
96
+ const plan = resolveAgentCallPlan({ ...agent, key: "" });
97
+ return plan.authMethod.kind === "oauth" && plan.authMethod.ref === "antigravity" ? evidence.supported : void 0;
98
+ }
89
99
  var resolveAgentImageInputSupport = (agent) => {
90
100
  if (!agent) return true;
91
- return resolveCatalogImageSupport(agent) ?? agent.hasVision ?? true;
101
+ return resolveCatalogImageSupport(agent) ?? readLiveImageSupport(agent) ?? agent.hasVision ?? true;
92
102
  };
93
103
  var resolveToolImagePolicy = (input) => {
94
104
  const maxImagesPerRequest = 4;
@@ -102,6 +112,8 @@ var resolveToolImagePolicy = (input) => {
102
112
  }
103
113
  const catalog = resolveCatalogImageSupport(input);
104
114
  if (catalog !== void 0) return { maxImagesPerRequest, supportsToolImages: catalog, reason: "catalog" };
115
+ const live = readLiveImageSupport(input);
116
+ if (live !== void 0) return { maxImagesPerRequest, supportsToolImages: live, reason: "live-discovery" };
105
117
  if (typeof input.hasVision === "boolean") {
106
118
  return { maxImagesPerRequest, supportsToolImages: input.hasVision, reason: "agent-declaration" };
107
119
  }
@@ -109,6 +121,8 @@ var resolveToolImagePolicy = (input) => {
109
121
  };
110
122
 
111
123
  export {
124
+ resolveCatalogImageSupport,
125
+ withLiveImageSupport,
112
126
  resolveAgentImageInputSupport,
113
127
  resolveToolImagePolicy
114
128
  };
@@ -4,9 +4,18 @@ import {
4
4
  normalizeNonNegativeMs,
5
5
  parseRetryAfterHeaderMs
6
6
  } from "./chunk-3L2WKC3W.js";
7
+ import {
8
+ dialogMessageKey
9
+ } from "./chunk-OJKUU3LP.js";
7
10
  import {
8
11
  toErrorMessage
9
12
  } from "./chunk-HNMXYYJR.js";
13
+ import {
14
+ asOptionalFiniteNumber
15
+ } from "./chunk-WWC7I6TA.js";
16
+ import {
17
+ asOptionalTrimmedString
18
+ } from "./chunk-G3SUCT4W.js";
10
19
  import {
11
20
  isLoopbackHostname
12
21
  } from "./chunk-4SN6J65J.js";
@@ -124,7 +133,86 @@ async function fetchWithTransientRetry(fetchImpl, input, init, options = {}) {
124
133
  throw lastError;
125
134
  }
126
135
 
136
+ // packages/core/chat/dialogAttachmentCleanup.ts
137
+ var FILE_CONTENT_RE = /(?:https?:\/\/[^/"'\s]+)?\/api\/v1\/db\/file\/content\/([^?#"'\s)]+)/g;
138
+ function extractFileContentIds(value) {
139
+ const ids = /* @__PURE__ */ new Set();
140
+ const visit = (input) => {
141
+ if (typeof input === "string") {
142
+ for (const match of input.matchAll(FILE_CONTENT_RE)) {
143
+ const fileId = decodeURIComponent(match[1] ?? "").trim();
144
+ if (fileId) ids.add(fileId);
145
+ }
146
+ return;
147
+ }
148
+ if (Array.isArray(input)) {
149
+ for (const item of input) visit(item);
150
+ return;
151
+ }
152
+ if (input && typeof input === "object") {
153
+ for (const item of Object.values(input)) visit(item);
154
+ }
155
+ };
156
+ visit(value);
157
+ return [...ids];
158
+ }
159
+ function messageDbKey(dialogId, message) {
160
+ const dbKey = asOptionalTrimmedString(message.dbKey);
161
+ if (dbKey) return dbKey;
162
+ const id = asOptionalTrimmedString(message.id);
163
+ if (id) return dialogMessageKey(dialogId, id);
164
+ return null;
165
+ }
166
+ function asText(value) {
167
+ return asOptionalTrimmedString(value) ?? null;
168
+ }
169
+ function buildDialogAttachmentPlan(args) {
170
+ const messageKeys = new Set(
171
+ args.messages.map((message) => messageDbKey(args.dialogId, message)).filter((key) => Boolean(key))
172
+ );
173
+ const referencedFileIds = [
174
+ ...new Set(args.messages.flatMap((message) => extractFileContentIds(message)))
175
+ ];
176
+ const candidates = referencedFileIds.map((fileId) => {
177
+ const metadata = args.metadataByFileId[fileId];
178
+ const ownerType = asText(metadata?.ownerType);
179
+ const ownerId = asText(metadata?.ownerId);
180
+ const ownerDbKey = asText(metadata?.ownerDbKey);
181
+ const fileDbKey = asText(metadata?.dbKey);
182
+ const source = asText(metadata?.source);
183
+ const ownedByDialog = ownerType === "dialog" && ownerId === args.dialogId;
184
+ const ownedByMessage = Boolean(ownerDbKey && messageKeys.has(ownerDbKey));
185
+ const userOwnedReferenced = args.includeUserOwnedReferenced === true && Boolean(args.ownerId) && ownerType === "user" && ownerId === args.ownerId;
186
+ const canDelete = Boolean(fileDbKey && (ownedByDialog || ownedByMessage || userOwnedReferenced));
187
+ return {
188
+ fileId,
189
+ fileDbKey,
190
+ size: asOptionalFiniteNumber(metadata?.size) ?? null,
191
+ ownerType,
192
+ ownerId,
193
+ ownerDbKey,
194
+ source,
195
+ status: canDelete ? "delete" : "retain",
196
+ reason: canDelete ? ownedByMessage ? "ownerDbKey matches a message in this dialog" : userOwnedReferenced ? "user-owned file is referenced by this dialog and explicit referenced-attachment deletion is enabled" : "ownerType/ownerId matches this dialog" : fileDbKey ? "file ownership is not exclusive to this dialog" : "file metadata not found"
197
+ };
198
+ });
199
+ const deleteCandidates = candidates.filter((candidate) => candidate.status === "delete");
200
+ const retainedCandidates = candidates.filter((candidate) => candidate.status === "retain");
201
+ return {
202
+ dialogId: args.dialogId,
203
+ messageCount: args.messages.length,
204
+ referencedFileIds,
205
+ candidates,
206
+ deleteCandidates,
207
+ retainedCandidates,
208
+ bytesToDelete: deleteCandidates.reduce((sum, candidate) => sum + (candidate.size ?? 0), 0),
209
+ metadataReadFailures: args.metadataReadFailures ?? []
210
+ };
211
+ }
212
+
127
213
  export {
128
214
  isTransientFetchError,
129
- fetchWithTransientRetry
215
+ fetchWithTransientRetry,
216
+ extractFileContentIds,
217
+ buildDialogAttachmentPlan
130
218
  };
@@ -7,13 +7,16 @@ import {
7
7
  hadToolImages,
8
8
  projectOpenAiToolImages,
9
9
  toolImages
10
- } from "./chunk-E2BESSAW.js";
10
+ } from "./chunk-X4O7FJF5.js";
11
11
  import {
12
12
  getModelContextWindow
13
- } from "./chunk-T2BEPTAG.js";
13
+ } from "./chunk-L32W3PRP.js";
14
14
  import {
15
15
  isRecord
16
16
  } from "./chunk-KUG52IAP.js";
17
+ import {
18
+ asOptionalTrimmedString
19
+ } from "./chunk-G3SUCT4W.js";
17
20
  import {
18
21
  PLATFORM_HOSTED_KIMI_K3_MODEL,
19
22
  isFireworksKimiModel,
@@ -22,9 +25,6 @@ import {
22
25
  import {
23
26
  asTrimmedLowercaseString
24
27
  } from "./chunk-QSJ3HFEF.js";
25
- import {
26
- asOptionalTrimmedString
27
- } from "./chunk-G3SUCT4W.js";
28
28
 
29
29
  // packages/integrations/openai/responsesHelpers.ts
30
30
  var RESPONSES_TOP_LEVEL_SCHEMA_KEYS = ["anyOf", "oneOf", "allOf", "enum", "not"];