nolo-cli 0.223.0-alpha.1 → 0.224.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (141) hide show
  1. package/{_executeModel-4GGQQHOB.js → _executeModel-4WBUORCW.js} +40 -39
  2. package/{addContentAction-GDHDOF4U.js → addContentAction-EQXMFNPR.js} +4 -4
  3. package/{addDialogAgentAction-CAKRU3ZT.js → addDialogAgentAction-RSDZDASD.js} +3 -3
  4. package/{agentDeleteCommand-BPV2XZL7.js → agentDeleteCommand-BB6KU5AO.js} +58 -57
  5. package/{agentEmailCommands-EJOS75YL.js → agentEmailCommands-KMHPL6OH.js} +55 -54
  6. package/{agentListCommands-HIZODBF3.js → agentListCommands-5UNM7CGG.js} +27 -27
  7. package/{agentMachineCommands-ZMQ2CY7Y.js → agentMachineCommands-OC5D4YZW.js} +23 -23
  8. package/{agentProviderCommands-WKJOAWBP.js → agentProviderCommands-ZCH37KAL.js} +2 -2
  9. package/{agentRecordCommands-OMXVDLDX.js → agentRecordCommands-S2IVVEES.js} +54 -53
  10. package/{agentRunCommand-CB34YWMV.js → agentRunCommand-M22Y3D5U.js} +55 -53
  11. package/{agentRunControl-JNONH3RP.js → agentRunControl-QDFW5P2T.js} +6 -6
  12. package/{agentRuntimeLocal-QZPFWMLG.js → agentRuntimeLocal-SD7U2EGY.js} +21 -21
  13. package/{agentSlice-RD2CDU7T.js → agentSlice-AJPMMBOP.js} +4 -4
  14. package/{appDeleteCommands-QCCFDIEQ.js → appDeleteCommands-NE3NQQJL.js} +24 -24
  15. package/{appDeployCommands-V2T7TNMQ.js → appDeployCommands-2BAHY522.js} +24 -24
  16. package/{appDeployStatusCommands-6PGH7ZCG.js → appDeployStatusCommands-JTW6LZNC.js} +24 -24
  17. package/{appGetCommands-3L7WWJA6.js → appGetCommands-WKFEJO6A.js} +24 -24
  18. package/{appListCommands-ENJCK4PO.js → appListCommands-HNAZZLFX.js} +24 -24
  19. package/{authCommand-6V47SYGK.js → authCommand-VQP625QS.js} +16 -12
  20. package/{authCommands-GAJ3NIXO.js → authCommands-PAKU3CJZ.js} +5 -1
  21. package/{builtinSkillRegistry-2ECA42FC.js → builtinSkillRegistry-PXH7EGQB.js} +3 -3
  22. package/{chunk-AN74ON4G.js → chunk-2KTUDBG7.js} +1 -1
  23. package/{chunk-I7WBYGBP.js → chunk-2OLYKYNY.js} +2 -2
  24. package/{chunk-BGP2EDFG.js → chunk-4A2JIXR2.js} +1 -1
  25. package/{chunk-ON37YXGX.js → chunk-53X6PS42.js} +8 -8
  26. package/{chunk-2CI3ZFWD.js → chunk-5OZC7R7Y.js} +4 -4
  27. package/{chunk-5CHGAKRT.js → chunk-5R63B62U.js} +4 -4
  28. package/{chunk-ODJ7BVSI.js → chunk-652XYZGP.js} +3 -3
  29. package/{chunk-6WU5572L.js → chunk-6D7NVU66.js} +3 -3
  30. package/{chunk-DVQH4BTR.js → chunk-6E2NWYT4.js} +5 -1
  31. package/{chunk-27PCUMJI.js → chunk-6NKA6RKF.js} +1 -1
  32. package/{chunk-I4EADJ4P.js → chunk-6RQFZCKH.js} +16 -16
  33. package/{chunk-MYHNBEXD.js → chunk-AFHOCBSP.js} +1 -1
  34. package/{chunk-44X52WOJ.js → chunk-AVHRSJUH.js} +2 -2
  35. package/{chunk-SQYIK6HO.js → chunk-BGGHA5DV.js} +1 -1
  36. package/chunk-BJF2MHJ3.js +118 -0
  37. package/{chunk-B4GOW4MT.js → chunk-BKJSRO66.js} +26 -26
  38. package/{chunk-4DESLZTK.js → chunk-CXDPIPZ4.js} +2 -2
  39. package/{chunk-QNWG52I4.js → chunk-DJSTBAOU.js} +4 -4
  40. package/{chunk-WJVYAO6P.js → chunk-EGXPAWLG.js} +1 -1
  41. package/{chunk-SVT62ULE.js → chunk-EK7PGVPY.js} +13 -13
  42. package/{chunk-FS2XP5D7.js → chunk-EOWLBDY6.js} +1 -1
  43. package/{chunk-GYVCJABP.js → chunk-EVYGYDPG.js} +5 -5
  44. package/{chunk-EIAI3PPH.js → chunk-FRSBYNWI.js} +2 -2
  45. package/{chunk-MDLS23JK.js → chunk-G2EJ7NL4.js} +2 -2
  46. package/{chunk-UB3D4TRQ.js → chunk-GGKNJ42M.js} +2 -2
  47. package/{chunk-DNKTQ3IN.js → chunk-GIABSSWQ.js} +1 -1
  48. package/{chunk-PJCIP64Z.js → chunk-GNHMRBYZ.js} +1 -1
  49. package/{chunk-AD5EWDFD.js → chunk-GVGOEMNV.js} +1 -1
  50. package/{chunk-XWVCYUUU.js → chunk-H5LWB3D3.js} +7 -117
  51. package/{chunk-AIHYNKGV.js → chunk-H7R3365N.js} +3 -3
  52. package/{chunk-RDH5CQ4T.js → chunk-HCJFGH6Y.js} +3 -3
  53. package/{chunk-O6J3OTOP.js → chunk-HJAGA3GR.js} +3 -3
  54. package/{chunk-3LMUPOHG.js → chunk-IWH5SOU4.js} +2 -2
  55. package/{chunk-FJK526XH.js → chunk-IWQAOW2X.js} +2 -2
  56. package/{chunk-F3GRJO4Z.js → chunk-J6T25AJ6.js} +1 -1
  57. package/{chunk-SY3C4SQ7.js → chunk-JC5XLWZK.js} +3 -3
  58. package/{chunk-HYIETXA6.js → chunk-JVRQ6YVK.js} +1 -1
  59. package/{chunk-2GJKRKI6.js → chunk-K5FNYHZC.js} +1 -1
  60. package/{chunk-7ET2U67U.js → chunk-KN3HEZIQ.js} +1 -1
  61. package/{chunk-7EEZJ6BS.js → chunk-KOXKKHFE.js} +1 -1
  62. package/{chunk-LVL6GFCM.js → chunk-KPAFQHRT.js} +3 -3
  63. package/{chunk-2UCBGYO4.js → chunk-LE6LGAJE.js} +1 -1
  64. package/{chunk-X7UF53VA.js → chunk-ME4XUFTD.js} +3 -3
  65. package/{chunk-MBG66ZBH.js → chunk-MOMR7NMG.js} +1 -1
  66. package/{chunk-AQZ6BMRK.js → chunk-OGHP3CTL.js} +1 -1
  67. package/{chunk-DWX2HEVC.js → chunk-OK4MZRJ6.js} +14 -14
  68. package/{chunk-7JLY4WYF.js → chunk-OOF7XDZF.js} +2 -2
  69. package/{chunk-34J5K2YA.js → chunk-OXKUPBAQ.js} +2 -2
  70. package/{chunk-MAIITKBT.js → chunk-PFJNLBRU.js} +2 -2
  71. package/{chunk-JA3ICVJY.js → chunk-PVZY6P3S.js} +1 -1
  72. package/{chunk-IILMY4W4.js → chunk-PYIMOZSX.js} +3 -3
  73. package/{chunk-CIRB724Q.js → chunk-Q6HOUF4O.js} +1 -1
  74. package/{chunk-FYF2TONJ.js → chunk-Q7WP5RPC.js} +1 -1
  75. package/{chunk-YWWDC3O7.js → chunk-QG3USDTD.js} +5 -5
  76. package/{chunk-WAE3GFCJ.js → chunk-QLFCTYRH.js} +1 -1
  77. package/{chunk-NWP2OYOX.js → chunk-RXJ26SQW.js} +4 -4
  78. package/{chunk-MZLE5HQ3.js → chunk-S7RA7A4X.js} +26 -25
  79. package/{chunk-YU4ZPWVF.js → chunk-SASHAZ67.js} +1 -1
  80. package/chunk-SH3IKNCG.js +100 -0
  81. package/{chunk-MS4NZNKI.js → chunk-SJYK3LLP.js} +4 -4
  82. package/{chunk-OBWT45ZU.js → chunk-SRL56PI2.js} +3 -3
  83. package/{chunk-T6DXNI6Z.js → chunk-SYQR7FQS.js} +2 -2
  84. package/{chunk-WKGQSYTB.js → chunk-TRWT3EE3.js} +1 -1
  85. package/{chunk-Z2PITYZN.js → chunk-TVFRV3UQ.js} +16 -16
  86. package/{chunk-3IK6ILVW.js → chunk-UJKTI5PG.js} +6 -6
  87. package/{chunk-P5ZJRTCH.js → chunk-ULK35M44.js} +30 -30
  88. package/{chunk-KQSYAIZR.js → chunk-UMRI2IRY.js} +3 -3
  89. package/{chunk-CKG3PRZ7.js → chunk-VALBGPM6.js} +106 -50
  90. package/{chunk-WI67URFP.js → chunk-WOIURUUV.js} +4 -4
  91. package/{chunk-WUUH4LWZ.js → chunk-XUJZYUIM.js} +9 -9
  92. package/{chunk-NIZ2BXFD.js → chunk-XWGDCWXY.js} +2 -2
  93. package/{chunk-PJVKMGPZ.js → chunk-ZLNHUFOF.js} +133 -106
  94. package/{chunk-CMZ3Z5PT.js → chunk-ZLOSGVCQ.js} +3 -3
  95. package/{cliAgentConfigHelpers-TKYL43MT.js → cliAgentConfigHelpers-PO3MVDME.js} +7 -7
  96. package/{cliLocalAgentRecordReader-MHHD4T7R.js → cliLocalAgentRecordReader-Z7CH4K4R.js} +25 -25
  97. package/{commandRegistry-5DA5UP7S.js → commandRegistry-3JVE76K2.js} +61 -61
  98. package/{contentThunks-5GUQ7FWJ.js → contentThunks-SRKUHSBR.js} +17 -17
  99. package/{createAgentAutomationAction-UCLTHQRI.js → createAgentAutomationAction-B4BQV46J.js} +17 -17
  100. package/{createDialogAction-UPN774AF.js → createDialogAction-IONSKZIX.js} +19 -18
  101. package/{createPageAction-JRQ2TA4O.js → createPageAction-K75KBQOO.js} +18 -18
  102. package/{dbSlice-WNON7TOL.js → dbSlice-ZJPDIFER.js} +3 -3
  103. package/{dialogCommands-VRI7VCXH.js → dialogCommands-6KQEBHSG.js} +26 -26
  104. package/{dialogNotifyCommand-6TMCX4D2.js → dialogNotifyCommand-WIZFFEY3.js} +8 -8
  105. package/{dialogSlice-LFNVUSAN.js → dialogSlice-GPALSBQM.js} +15 -15
  106. package/{docCreateCommands-AMPXMOX3.js → docCreateCommands-XZOLWBRC.js} +23 -23
  107. package/{docDeleteCommands-I5WFAEHP.js → docDeleteCommands-ZSO4LGWE.js} +24 -24
  108. package/{docReadCommands-X53ELNIE.js → docReadCommands-TTMXCDER.js} +23 -23
  109. package/{docStore-2VAWVLWH.js → docStore-O43KOHIX.js} +4 -4
  110. package/{docUpdateCommands-6QPNDC7M.js → docUpdateCommands-PRG6WOXL.js} +23 -23
  111. package/{getPricing-MB2GBXOK.js → getPricing-YH3VMSVU.js} +3 -3
  112. package/{handleSendMessageAction-AAJOHXOB.js → handleSendMessageAction-I2GHUSHZ.js} +34 -34
  113. package/{hostCredentialCreate-GLMJ22M6.js → hostCredentialCreate-V775SKCE.js} +54 -53
  114. package/index.js +4 -4
  115. package/{localRuntimeAdapter-BMP57P42.js → localRuntimeAdapter-SAMUDW5S.js} +53 -52
  116. package/{machineCommands-3MLIAK5Q.js → machineCommands-ZXZWGMFE.js} +54 -53
  117. package/{machineWsRunDispatch-FKIGROQF.js → machineWsRunDispatch-3ZEI4BEC.js} +54 -53
  118. package/{memberThunks-ZGLZ36PK.js → memberThunks-JRYNONYV.js} +5 -5
  119. package/{models-ULVWLSQ6.js → models-CXINDUJA.js} +2 -2
  120. package/package.json +1 -1
  121. package/{projectArchive-HK63GMF4.js → projectArchive-V7EYBAX6.js} +18 -18
  122. package/{providerPresetApply-OIFQ73LH.js → providerPresetApply-SHT2SUVB.js} +5 -5
  123. package/{providerRegistry-KZ3SDZ3D.js → providerRegistry-TA7EGCVZ.js} +5 -5
  124. package/{read-MRQHJMJ2.js → read-Q7GOHGNP.js} +2 -2
  125. package/{readDocTool-4BGTXTXA.js → readDocTool-Z5OQ6422.js} +1 -1
  126. package/{readlineWorkspace-AKAHSCNY.js → readlineWorkspace-S4VRNWYG.js} +65 -63
  127. package/{removeDialogAgentAction-B6H7DXFM.js → removeDialogAgentAction-U3F2MNAY.js} +4 -4
  128. package/{runAgentClientLoop-UVAWGEON.js → runAgentClientLoop-MQLOUDF5.js} +37 -36
  129. package/{runtimeDoctorCommands-FW6XKDUG.js → runtimeDoctorCommands-I47JN4HS.js} +5 -5
  130. package/{setDialogExtraReferencesAction-EVCY3TRW.js → setDialogExtraReferencesAction-G3WSJ7EM.js} +4 -4
  131. package/{setPrimaryDialogAgentAction-KPFVPHCJ.js → setPrimaryDialogAgentAction-6FHAHZBB.js} +4 -4
  132. package/{settingThunks-ENOAK2WV.js → settingThunks-AXTBX3Q5.js} +7 -7
  133. package/{spaceCommands-DTTNAS2L.js → spaceCommands-IB6FKWIC.js} +23 -23
  134. package/{streamAgentChatTurn-R5UY25VB.js → streamAgentChatTurn-GMNIKJVL.js} +45 -44
  135. package/{switchDialogAgentAction-SZ44XDRY.js → switchDialogAgentAction-UOFIAGPL.js} +3 -3
  136. package/{tools-HWFG6GMJ.js → tools-MWIF3S4T.js} +31 -30
  137. package/{tuiSummaryLlmCaller-HQQZAMYF.js → tuiSummaryLlmCaller-7LWYTHLM.js} +12 -12
  138. package/{updateDialogTitleAction-KNPOAMVS.js → updateDialogTitleAction-ZXHMZFSX.js} +17 -17
  139. package/{usageCommand-FWZCB7AM.js → usageCommand-RVKHEPLU.js} +1 -1
  140. package/{usageRebuildCommand-SP2BLNJU.js → usageRebuildCommand-GRAFOZF2.js} +2 -2
  141. package/{workloadLifecycle-DYNEYHV5.js → workloadLifecycle-O2I3NZ2Q.js} +3 -3
@@ -6,16 +6,16 @@ import {
6
6
  normalizeSystemBuiltinSkills,
7
7
  normalizeTonePresetSetting,
8
8
  resolveUserEnabledSkills
9
- } from "./chunk-UB3D4TRQ.js";
9
+ } from "./chunk-GGKNJ42M.js";
10
10
  import {
11
11
  isSkillSummaryMarker
12
12
  } from "./chunk-VF4K2QE6.js";
13
13
  import {
14
14
  setDialogExtraReferencesAction
15
- } from "./chunk-DNKTQ3IN.js";
15
+ } from "./chunk-GIABSSWQ.js";
16
16
  import {
17
17
  fetchAndCacheTableRows
18
- } from "./chunk-YWWDC3O7.js";
18
+ } from "./chunk-QG3USDTD.js";
19
19
  import {
20
20
  getActiveDialogKey
21
21
  } from "./chunk-S2NTVGA2.js";
@@ -27,7 +27,7 @@ import {
27
27
  } from "./chunk-UAD2WT54.js";
28
28
  import {
29
29
  selectById
30
- } from "./chunk-44X52WOJ.js";
30
+ } from "./chunk-AVHRSJUH.js";
31
31
  import {
32
32
  selectRuntimeSnapshot
33
33
  } from "./chunk-2VUZSVAS.js";
@@ -40,12 +40,12 @@ import {
40
40
  } from "./chunk-PXYBUFDB.js";
41
41
  import {
42
42
  isAgentSkillDisabled
43
- } from "./chunk-FS2XP5D7.js";
43
+ } from "./chunk-EOWLBDY6.js";
44
44
  import {
45
45
  DEFAULT_SYSTEM_AGENT_CAPABILITIES,
46
46
  listBuiltinSkills,
47
47
  resolveBuiltinSkillByName
48
- } from "./chunk-PJCIP64Z.js";
48
+ } from "./chunk-GNHMRBYZ.js";
49
49
  import {
50
50
  parseSkillDocProtocol
51
51
  } from "./chunk-W6RFEDN4.js";
@@ -783,7 +783,7 @@ var executeToolRun = createAsyncThunk(
783
783
  if (!executionInput) {
784
784
  throw new Error(`ToolRun ${id} has no input to execute with.`);
785
785
  }
786
- const { findToolExecutor } = await import("./tools-HWFG6GMJ.js");
786
+ const { findToolExecutor } = await import("./tools-MWIF3S4T.js");
787
787
  const { executor } = findToolExecutor(run.toolName);
788
788
  toolRunStarted({
789
789
  id: run.id,
@@ -807,7 +807,7 @@ var executeToolRun = createAsyncThunk(
807
807
  const latestState = thunkApi.getState();
808
808
  const userId = selectIdentityUserId(latestState);
809
809
  if (userId) {
810
- const { fetchUserSpaceMemberships } = await import("./memberThunks-ZGLZ36PK.js");
810
+ const { fetchUserSpaceMemberships } = await import("./memberThunks-JRYNONYV.js");
811
811
  await thunkApi.dispatch(fetchUserSpaceMemberships(userId));
812
812
  }
813
813
  }
@@ -7,17 +7,17 @@ import {
7
7
  } from "./chunk-BR3GT6MR.js";
8
8
  import {
9
9
  applyPublicAgentCatalogOverride
10
- } from "./chunk-I4EADJ4P.js";
10
+ } from "./chunk-6RQFZCKH.js";
11
11
  import {
12
12
  applyBuiltinAgentRuntimeOverride,
13
13
  resolveBuiltinPlatformAgentConfig
14
- } from "./chunk-HYIETXA6.js";
14
+ } from "./chunk-JVRQ6YVK.js";
15
15
  import {
16
16
  localDialogMessageRecordToRuntimeMessage
17
- } from "./chunk-Z2PITYZN.js";
17
+ } from "./chunk-TVFRV3UQ.js";
18
18
  import {
19
19
  resolveAgentRuntimeConfigFromRecord
20
- } from "./chunk-YU4ZPWVF.js";
20
+ } from "./chunk-SASHAZ67.js";
21
21
  import {
22
22
  dialogMessagePrefix,
23
23
  dialogMessageRange
@@ -10,7 +10,7 @@ import {
10
10
  canUsePlatformChatProvider,
11
11
  parsePlatformChatCompletionResponse,
12
12
  resolvePlatformChatProviderConfig
13
- } from "./chunk-QNWG52I4.js";
13
+ } from "./chunk-DJSTBAOU.js";
14
14
  import {
15
15
  COMPACTION_SUMMARY_SYSTEM_PROMPT,
16
16
  classifySummaryError,
@@ -18,17 +18,17 @@ import {
18
18
  isTruncatedCompletion,
19
19
  selectSummaryRoute,
20
20
  summaryCompletionTokens
21
- } from "./chunk-RDH5CQ4T.js";
21
+ } from "./chunk-HCJFGH6Y.js";
22
22
  import {
23
23
  isAbortError
24
24
  } from "./chunk-7DPNBQSV.js";
25
25
  import {
26
26
  resolvePlatformAuthToken,
27
27
  resolvePlatformServerUrl
28
- } from "./chunk-I7WBYGBP.js";
28
+ } from "./chunk-2OLYKYNY.js";
29
29
  import {
30
30
  PLATFORM_HOSTED_DEEPSEEK_FLASH_MODEL
31
- } from "./chunk-CKG3PRZ7.js";
31
+ } from "./chunk-VALBGPM6.js";
32
32
  import {
33
33
  parseUserIdFromAuthToken
34
34
  } from "./chunk-2THCNKE4.js";
@@ -3,18 +3,18 @@ import {
3
3
  DEFAULT_USER_PREFERENCE_PROFILE,
4
4
  isAccountOnDemandWorkflowSkill,
5
5
  resolveUserEnabledSkills
6
- } from "./chunk-UB3D4TRQ.js";
6
+ } from "./chunk-GGKNJ42M.js";
7
7
  import {
8
8
  collectAgentSkillConfigIssues,
9
9
  describeAgentSkillModeValue,
10
10
  isAgentSkillDisabled,
11
11
  resolveAgentSkillConfig
12
- } from "./chunk-FS2XP5D7.js";
12
+ } from "./chunk-EOWLBDY6.js";
13
13
  import {
14
14
  resolveBuiltinSkillEntry,
15
15
  resolveBuiltinSkillPage,
16
16
  resolveSkillGraphFromRoots
17
- } from "./chunk-PJCIP64Z.js";
17
+ } from "./chunk-GNHMRBYZ.js";
18
18
  import {
19
19
  parseSkillDocProtocol
20
20
  } from "./chunk-W6RFEDN4.js";
@@ -11,13 +11,13 @@ import {
11
11
  import {
12
12
  createHostCredentialBrokerChain,
13
13
  createStrictHostCredentialBroker
14
- } from "./chunk-Z2PITYZN.js";
14
+ } from "./chunk-TVFRV3UQ.js";
15
15
  import {
16
16
  collectInvalidAgentSkillModes,
17
17
  formatInvalidAgentSkillModeMessage,
18
18
  formatInvalidAgentSkillModesFieldMessage,
19
19
  isAgentSkillModesFieldShapeValid
20
- } from "./chunk-FS2XP5D7.js";
20
+ } from "./chunk-EOWLBDY6.js";
21
21
  import {
22
22
  buildAgentApiKeyCredentialRef,
23
23
  migrateAgentSecrets
@@ -763,7 +763,7 @@ async function buildCreatedAgentRecord(args) {
763
763
  const resolvedAgentInput = resolveCliAgentKeyInput(args.parsed.agentInput);
764
764
  const agentKey = resolvedAgentInput.startsWith("agent-") ? resolvedAgentInput : createAgentKey.private(userId || "local", resolvedAgentInput);
765
765
  if (args.parsed.presetId) {
766
- const { resolveProviderPresetFields } = await import("./providerPresetApply-OIFQ73LH.js");
766
+ const { resolveProviderPresetFields } = await import("./providerPresetApply-SHT2SUVB.js");
767
767
  const fields = resolveProviderPresetFields(args.parsed.presetId);
768
768
  if (fields.kind === "manual") {
769
769
  throw new Error(
@@ -1,3 +1,6 @@
1
+ import {
2
+ deriveStateResident
3
+ } from "./chunk-SH3IKNCG.js";
1
4
  import {
2
5
  _appendRetiredStateBatch,
3
6
  loadMemoryVNextCatalog
@@ -618,7 +621,8 @@ var toVNextMemoryItem = (state, owner) => ({
618
621
  activationCount: 1,
619
622
  importance: 0.9,
620
623
  confidence: 0.9,
621
- resident: state.facet === "preference" || state.facet === "style"
624
+ // 与其余三条合成路径共用同一判定(2026-11-15 收敛)。
625
+ resident: deriveStateResident(state, owner.ownerType)
622
626
  });
623
627
  var matchesVNextFilters = (state, idSet, contentSub) => {
624
628
  if (!idSet && !contentSub) return false;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  readDbRecord,
3
3
  writeAgentRecord
4
- } from "./chunk-6WU5572L.js";
4
+ } from "./chunk-6D7NVU66.js";
5
5
  import {
6
6
  buildSkillSummaryMarker
7
7
  } from "./chunk-VF4K2QE6.js";
@@ -12,7 +12,7 @@ import {
12
12
  builtinAgentCatalogEntryById,
13
13
  catalogReleasedAtMs,
14
14
  isRetiredCatalogEntry
15
- } from "./chunk-3IK6ILVW.js";
15
+ } from "./chunk-UJKTI5PG.js";
16
16
  import {
17
17
  parsePublicAgentId,
18
18
  parseSystemAgentId,
@@ -20,17 +20,17 @@ import {
20
20
  } from "./chunk-M2EJHDJP.js";
21
21
  import {
22
22
  getModelPricing
23
- } from "./chunk-FJK526XH.js";
23
+ } from "./chunk-IWQAOW2X.js";
24
24
  import {
25
25
  getModelConfig
26
- } from "./chunk-2UCBGYO4.js";
26
+ } from "./chunk-LE6LGAJE.js";
27
27
  import {
28
28
  isRecord
29
29
  } from "./chunk-KUG52IAP.js";
30
30
  import {
31
31
  isNoloHostedProvider,
32
32
  isPlatformHostedImageModel
33
- } from "./chunk-CKG3PRZ7.js";
33
+ } from "./chunk-VALBGPM6.js";
34
34
 
35
35
  // packages/core/publicAgentSeeds.ts
36
36
  var AGENT_SEED_DEFAULTS = {
@@ -323,16 +323,16 @@ var GEMINI_4_ARGON_DEF = defineAgentSeed({
323
323
  var GPT_IMAGE_2_GENERATOR_DEF = defineAgentSeed({
324
324
  id: PUBLIC_GPT_IMAGE_2_GENERATOR_AGENT_ID,
325
325
  presetKey: "gpt-image-2-generator",
326
- name: "GPT Image 2.5 \u56FE\u7247\u751F\u6210\u5668",
326
+ name: "GPT Image 2.6 \u56FE\u7247\u751F\u6210\u5668",
327
327
  provider: "nolo",
328
328
  model: "deepseek-flash",
329
- imageModel: "gpt-image-2.5-flare",
329
+ imageModel: "gpt-image-2.6-flare",
330
330
  isPublic: true,
331
331
  hasImageOutput: true,
332
332
  imageWorkflow: "generate",
333
333
  imageConfig: { enabled: true },
334
- introduction: "\u4E13\u95E8\u8D1F\u8D23 GPT Image 2.5 \u65B0\u56FE\u751F\u6210\uFF1A\u6587\u672C\u751F\u6210\u65B0\u56FE\u7247\uFF0C\u4E5F\u53EF\u628A\u4E0A\u4F20\u56FE\u7247\u5F53\u4F5C\u53C2\u8003\u56FE\u6765\u751F\u6210\u65B0\u7684\u753B\u9762\u3002",
335
- greeting: "\u4F60\u597D\uFF0C\u6211\u662F GPT Image 2.5 \u56FE\u7247\u751F\u6210\u5668\u3002\u76F4\u63A5\u544A\u8BC9\u6211\u4F60\u60F3\u753B\u4EC0\u4E48\uFF1B\u5982\u679C\u4F60\u4E0A\u4F20\u53C2\u8003\u56FE\uFF0C\u6211\u4F1A\u628A\u5B83\u4EEC\u5F53\u4F5C\u7075\u611F\u53C2\u8003\u6765\u751F\u6210\u4E00\u5F20\u65B0\u7684\u56FE\u7247\u3002",
334
+ introduction: "\u4E13\u95E8\u8D1F\u8D23 GPT Image 2.6 \u65B0\u56FE\u751F\u6210\uFF1A\u6587\u672C\u751F\u6210\u65B0\u56FE\u7247\uFF0C\u4E5F\u53EF\u628A\u4E0A\u4F20\u56FE\u7247\u5F53\u4F5C\u53C2\u8003\u56FE\u6765\u751F\u6210\u65B0\u7684\u753B\u9762\u3002",
335
+ greeting: "\u4F60\u597D\uFF0C\u6211\u662F GPT Image 2.6 \u56FE\u7247\u751F\u6210\u5668\u3002\u76F4\u63A5\u544A\u8BC9\u6211\u4F60\u60F3\u753B\u4EC0\u4E48\uFF1B\u5982\u679C\u4F60\u4E0A\u4F20\u53C2\u8003\u56FE\uFF0C\u6211\u4F1A\u628A\u5B83\u4EEC\u5F53\u4F5C\u7075\u611F\u53C2\u8003\u6765\u751F\u6210\u4E00\u5F20\u65B0\u7684\u56FE\u7247\u3002",
336
336
  prompt: [
337
337
  "\u5B9A\u4F4D\uFF1A",
338
338
  "- \u4F60\u7684\u4E3B\u4EFB\u52A1\u662F\u6587\u672C\u751F\u6210\u65B0\u56FE\u7247\u3002",
@@ -354,16 +354,16 @@ var GPT_IMAGE_2_GENERATOR_DEF = defineAgentSeed({
354
354
  var GPT_IMAGE_2_EDITOR_DEF = defineAgentSeed({
355
355
  id: PUBLIC_GPT_IMAGE_2_EDITOR_AGENT_ID,
356
356
  presetKey: "gpt-image-2-editor",
357
- name: "GPT Image 2.5 \u56FE\u7247\u7F16\u8F91\u5668",
357
+ name: "GPT Image 2.6 \u56FE\u7247\u7F16\u8F91\u5668",
358
358
  provider: "nolo",
359
359
  model: "deepseek-flash",
360
- imageModel: "gpt-image-2.5-sunburst",
360
+ imageModel: "gpt-image-2.6-sunburst",
361
361
  isPublic: true,
362
362
  hasImageOutput: true,
363
363
  imageWorkflow: "edit",
364
364
  imageConfig: { enabled: true },
365
- introduction: "\u4E13\u95E8\u8D1F\u8D23 GPT Image 2.5 \u5355\u6B21\u8BF7\u6C42\u6539\u56FE\uFF1A\u652F\u6301\u5355\u56FE\u7F16\u8F91\u3001\u591A\u56FE\u53C2\u8003\u5408\u6210\uFF0C\u4EE5\u53CA\u5E26 mask \u7684\u7CBE\u786E\u4FEE\u6539\u3002",
366
- greeting: "\u4F60\u597D\uFF0C\u6211\u662F GPT Image 2.5 \u56FE\u7247\u7F16\u8F91\u5668\u3002\u628A\u8981\u4FEE\u6539\u7684\u56FE\u7247\u3001\u53C2\u8003\u56FE\u6216 mask \u53D1\u7ED9\u6211\uFF0C\u6211\u4F1A\u6309\u5355\u6B21\u8BF7\u6C42\u6539\u56FE\u7684\u65B9\u5F0F\u7ED9\u4F60\u4E00\u7248\u7ED3\u679C\u3002",
365
+ introduction: "\u4E13\u95E8\u8D1F\u8D23 GPT Image 2.6 \u5355\u6B21\u8BF7\u6C42\u6539\u56FE\uFF1A\u652F\u6301\u5355\u56FE\u7F16\u8F91\u3001\u591A\u56FE\u53C2\u8003\u5408\u6210\uFF0C\u4EE5\u53CA\u5E26 mask \u7684\u7CBE\u786E\u4FEE\u6539\u3002",
366
+ greeting: "\u4F60\u597D\uFF0C\u6211\u662F GPT Image 2.6 \u56FE\u7247\u7F16\u8F91\u5668\u3002\u628A\u8981\u4FEE\u6539\u7684\u56FE\u7247\u3001\u53C2\u8003\u56FE\u6216 mask \u53D1\u7ED9\u6211\uFF0C\u6211\u4F1A\u6309\u5355\u6B21\u8BF7\u6C42\u6539\u56FE\u7684\u65B9\u5F0F\u7ED9\u4F60\u4E00\u7248\u7ED3\u679C\u3002",
367
367
  prompt: [
368
368
  "\u5B9A\u4F4D\uFF1A",
369
369
  "- \u4F60\u7684\u4E3B\u4EFB\u52A1\u662F\u5355\u6B21\u8BF7\u6C42\u6539\u56FE\uFF0C\u4E0D\u662F\u957F\u5BF9\u8BDD\u966A\u4F34\u5F0F\u521B\u4F5C\u3002",
@@ -388,16 +388,16 @@ var GPT_IMAGE_2_EDITOR_DEF = defineAgentSeed({
388
388
  var GPT_IMAGE_2_CONTINUOUS_DEF = defineAgentSeed({
389
389
  id: PUBLIC_GPT_IMAGE_2_CONTINUOUS_AGENT_ID,
390
390
  presetKey: "gpt-image-2-continuous",
391
- name: "GPT Image 2.5 \u8FDE\u7EED\u521B\u4F5C\u52A9\u624B",
391
+ name: "GPT Image 2.6 \u8FDE\u7EED\u521B\u4F5C\u52A9\u624B",
392
392
  provider: "nolo",
393
393
  model: "deepseek-flash",
394
- imageModel: "gpt-image-2.5-flare",
394
+ imageModel: "gpt-image-2.6-flare",
395
395
  isPublic: true,
396
396
  hasImageOutput: true,
397
397
  imageWorkflow: "continuous",
398
398
  imageConfig: { enabled: true },
399
- introduction: "\u4E13\u95E8\u8D1F\u8D23 GPT Image 2.5 \u591A\u8F6E\u8FDE\u7EED\u521B\u4F5C\uFF1A\u9002\u5408\u5148\u51FA\u4E00\u7248\uFF0C\u518D\u56F4\u7ED5\u4E0A\u4E00\u8F6E\u56FE\u7247\u7EE7\u7EED\u4FEE\u6539\u3001\u7EE7\u7EED\u6269\u5C55\u548C\u7EE7\u7EED\u8FED\u4EE3\u3002",
400
- greeting: "\u4F60\u597D\uFF0C\u6211\u662F GPT Image 2.5 \u8FDE\u7EED\u521B\u4F5C\u52A9\u624B\u3002\u4F60\u53EF\u4EE5\u5148\u8BA9\u6211\u51FA\u4E00\u7248\u56FE\uFF0C\u518D\u56F4\u7ED5\u4E0A\u4E00\u8F6E\u7EE7\u7EED\u4FEE\u6539\u3001\u7EE7\u7EED\u6269\u5C55\u6216\u7EE7\u7EED\u5B9A\u7A3F\u3002",
399
+ introduction: "\u4E13\u95E8\u8D1F\u8D23 GPT Image 2.6 \u591A\u8F6E\u8FDE\u7EED\u521B\u4F5C\uFF1A\u9002\u5408\u5148\u51FA\u4E00\u7248\uFF0C\u518D\u56F4\u7ED5\u4E0A\u4E00\u8F6E\u56FE\u7247\u7EE7\u7EED\u4FEE\u6539\u3001\u7EE7\u7EED\u6269\u5C55\u548C\u7EE7\u7EED\u8FED\u4EE3\u3002",
400
+ greeting: "\u4F60\u597D\uFF0C\u6211\u662F GPT Image 2.6 \u8FDE\u7EED\u521B\u4F5C\u52A9\u624B\u3002\u4F60\u53EF\u4EE5\u5148\u8BA9\u6211\u51FA\u4E00\u7248\u56FE\uFF0C\u518D\u56F4\u7ED5\u4E0A\u4E00\u8F6E\u7EE7\u7EED\u4FEE\u6539\u3001\u7EE7\u7EED\u6269\u5C55\u6216\u7EE7\u7EED\u5B9A\u7A3F\u3002",
401
401
  prompt: [
402
402
  "\u5B9A\u4F4D\uFF1A",
403
403
  "- \u4F60\u7684\u4E3B\u4EFB\u52A1\u662F\u591A\u8F6E\u8FDE\u7EED\u521B\u4F5C\u3002",
@@ -2,7 +2,7 @@ import {
2
2
  deleteDbRecord,
3
3
  queryUserRecords,
4
4
  readDbRecord
5
- } from "./chunk-6WU5572L.js";
5
+ } from "./chunk-6D7NVU66.js";
6
6
  import {
7
7
  mergeAndDedupUserData
8
8
  } from "./chunk-GBWGPTA7.js";
@@ -11,7 +11,7 @@ import {
11
11
  readAction,
12
12
  readRequestManager,
13
13
  resolveAgentReadServers
14
- } from "./chunk-WAE3GFCJ.js";
14
+ } from "./chunk-QLFCTYRH.js";
15
15
  import {
16
16
  beginWriteAck,
17
17
  compareRemoteRecordsByComparableTime,
@@ -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-MRQHJMJ2.js");
1490
+ const { readAction: readAction2 } = await import("./read-Q7GOHGNP.js");
1491
1491
  return readAction2(payload, thunkApi);
1492
1492
  },
1493
1493
  {
@@ -206,7 +206,7 @@ async function readDocFunc(args, thunkApi) {
206
206
  throw new Error(`\u65E0\u6548\u7684\u9875\u9762 ID: ${id}\u3002\u9875\u9762 ID \u901A\u5E38\u4EE5 "page-" \u5F00\u5934\u3002`);
207
207
  }
208
208
  try {
209
- const { readAction } = await import("./read-MRQHJMJ2.js");
209
+ const { readAction } = await import("./read-Q7GOHGNP.js");
210
210
  const pageData = await readAction({ dbKey: id }, thunkApi);
211
211
  if (!pageData) {
212
212
  throw new Error(`\u672A\u627E\u5230 ID \u4E3A ${id} \u7684\u9875\u9762\u3002`);
@@ -0,0 +1,118 @@
1
+ import {
2
+ createMemoryKey,
3
+ memoryOwnerRange,
4
+ memorySubjectKindRange
5
+ } from "./chunk-SYTHYBMI.js";
6
+
7
+ // packages/ai/memory/queryShared.ts
8
+ var chooseMemoryOwners = (input) => {
9
+ const owners = [];
10
+ if (input.userId) {
11
+ owners.push({ ownerType: "user", ownerId: input.userId });
12
+ }
13
+ if (input.spaceId) {
14
+ owners.push({ ownerType: "space", ownerId: input.spaceId });
15
+ }
16
+ return owners;
17
+ };
18
+ var loadOwnerItemsFromDb = async (db, owner, limit) => {
19
+ const range = memoryOwnerRange(owner.ownerType, owner.ownerId);
20
+ const refs = [];
21
+ for await (const [, value] of db.iterator({
22
+ gte: range.start,
23
+ lte: range.end,
24
+ reverse: true
25
+ })) {
26
+ refs.push(value ?? {});
27
+ if (refs.length >= limit) break;
28
+ }
29
+ const items = await Promise.all(
30
+ refs.map(
31
+ (ref) => typeof ref?.memoryId === "string" ? db.get(createMemoryKey(owner.ownerType, owner.ownerId, ref.memoryId)).catch(() => null) : Promise.resolve(null)
32
+ )
33
+ );
34
+ return items.filter((item) => !!item);
35
+ };
36
+ var loadSubjectKindItemsFromDb = async (db, subject, kind, limit) => {
37
+ const range = memorySubjectKindRange(subject.subjectType, subject.subjectId, kind);
38
+ const refs = [];
39
+ for await (const [, value] of db.iterator({
40
+ gte: range.start,
41
+ lte: range.end,
42
+ reverse: true
43
+ })) {
44
+ refs.push(value ?? {});
45
+ if (refs.length >= limit) break;
46
+ }
47
+ const items = await Promise.all(
48
+ refs.map(
49
+ (ref) => typeof ref?.memoryKey === "string" ? db.get(ref.memoryKey).catch(() => null) : Promise.resolve(null)
50
+ )
51
+ );
52
+ return items.filter((item) => !!item);
53
+ };
54
+ var loadMemoryCandidatesFromDb = async (db, input) => {
55
+ const kinds = input.kinds ?? ["episodic", "semantic", "procedural"];
56
+ const ownerLimit = input.ownerLimit ?? 12;
57
+ const ownerFallback = input.ownerFallback ?? "onSubjectMiss";
58
+ const reserve = Math.max(0, input.corroboratedProceduralReserve ?? 0);
59
+ const ownerKeySet = new Set(
60
+ input.owners.filter((owner) => owner.ownerId).map((owner) => `${owner.ownerType}:${owner.ownerId}`)
61
+ );
62
+ const subjects = input.subjects.filter(
63
+ (subject) => !!subject.subjectId
64
+ );
65
+ const subjectResults = subjects.length > 0 ? await Promise.all(
66
+ subjects.flatMap(
67
+ (subject) => kinds.map(
68
+ (kind) => loadSubjectKindItemsFromDb(db, subject, kind, ownerLimit)
69
+ )
70
+ )
71
+ ) : [];
72
+ const subjectHitCount = subjectResults.reduce((sum, items) => sum + items.length, 0);
73
+ const shouldLoadOwnerFallback = ownerFallback !== "never" && (subjects.length === 0 || subjectHitCount === 0 || ownerFallback === "always");
74
+ const results = shouldLoadOwnerFallback ? await Promise.all(
75
+ [
76
+ ...subjectResults,
77
+ ...input.owners.map((owner) => loadOwnerItemsFromDb(db, owner, ownerLimit))
78
+ ]
79
+ ) : subjectResults;
80
+ if (reserve > 0 && kinds.includes("procedural")) {
81
+ const probeLimit = ownerLimit * 2;
82
+ const reserveResults = await Promise.all(
83
+ subjects.map(
84
+ (subject) => loadSubjectKindItemsFromDb(db, subject, "procedural", probeLimit)
85
+ )
86
+ );
87
+ const corroborated = reserveResults.flat().filter((item) => item && item.recurrenceEvidence).sort((a, b) => b.createdAt.localeCompare(a.createdAt)).slice(0, reserve);
88
+ for (const item of corroborated) {
89
+ results.push([item]);
90
+ }
91
+ }
92
+ const kindSet = new Set(kinds);
93
+ const seen = /* @__PURE__ */ new Set();
94
+ const merged = [];
95
+ for (const items of results) {
96
+ for (const item of items) {
97
+ if (seen.has(item.id)) continue;
98
+ if (!kindSet.has(item.kind)) continue;
99
+ if (ownerKeySet.size > 0 && !ownerKeySet.has(`${item.ownerType}:${item.ownerId}`)) {
100
+ continue;
101
+ }
102
+ if (!shouldLoadOwnerFallback && subjects.length > 0 && !subjects.some(
103
+ (subject) => subject.subjectType === item.subjectType && subject.subjectId === item.subjectId
104
+ )) {
105
+ continue;
106
+ }
107
+ seen.add(item.id);
108
+ merged.push(item);
109
+ }
110
+ }
111
+ return merged;
112
+ };
113
+
114
+ export {
115
+ chooseMemoryOwners,
116
+ loadOwnerItemsFromDb,
117
+ loadMemoryCandidatesFromDb
118
+ };
@@ -7,7 +7,7 @@ import {
7
7
  resolveDiscoveryScope,
8
8
  resolvePaginationArgs,
9
9
  toDiscoverySafeAgentSummary
10
- } from "./chunk-34J5K2YA.js";
10
+ } from "./chunk-OXKUPBAQ.js";
11
11
  import {
12
12
  ToolResultError,
13
13
  clipMultilineText,
@@ -20,7 +20,7 @@ import {
20
20
  toolRunUpdated,
21
21
  uiCardFallback,
22
22
  waitForAbortableDelay
23
- } from "./chunk-ON37YXGX.js";
23
+ } from "./chunk-53X6PS42.js";
24
24
  import {
25
25
  isGatewayHttpStatus
26
26
  } from "./chunk-NF64D32W.js";
@@ -34,7 +34,7 @@ import {
34
34
  import {
35
35
  AGENT_UPDATE_FIELD_NAMES,
36
36
  normalizeAgentUpdateFieldList
37
- } from "./chunk-UB3D4TRQ.js";
37
+ } from "./chunk-GGKNJ42M.js";
38
38
  import {
39
39
  markdownToSlate
40
40
  } from "./chunk-FJ23FZXF.js";
@@ -46,12 +46,12 @@ import {
46
46
  } from "./chunk-63W5N6P3.js";
47
47
  import {
48
48
  createDocState
49
- } from "./chunk-IILMY4W4.js";
49
+ } from "./chunk-PYIMOZSX.js";
50
50
  import {
51
51
  applyFetchSpaceFulfilled,
52
52
  fetchAuthoritativeRemoteSpace,
53
53
  selectSpaceRemoteAuth
54
- } from "./chunk-7EEZJ6BS.js";
54
+ } from "./chunk-KOXKKHFE.js";
55
55
  import {
56
56
  ToolApiError,
57
57
  buildToolRequestHeaders,
@@ -66,13 +66,13 @@ import {
66
66
  readPageFunc,
67
67
  readPageFunctionSchema,
68
68
  resolvePageReadMarkdown
69
- } from "./chunk-SQYIK6HO.js";
69
+ } from "./chunk-BGGHA5DV.js";
70
70
  import {
71
71
  shareResourceAction
72
72
  } from "./chunk-AK5O76CC.js";
73
73
  import {
74
74
  createDialogAction
75
- } from "./chunk-XWVCYUUU.js";
75
+ } from "./chunk-H5LWB3D3.js";
76
76
  import {
77
77
  DEFAULT_COLLAPSED_CATEGORIES,
78
78
  addContentToSpace,
@@ -89,7 +89,7 @@ import {
89
89
  updateContentCategory,
90
90
  updateContentTitle,
91
91
  writeStoredCollapsedCategories
92
- } from "./chunk-YWWDC3O7.js";
92
+ } from "./chunk-QG3USDTD.js";
93
93
  import {
94
94
  buildDatabaseFileContentUrl,
95
95
  deleteDialog,
@@ -102,14 +102,14 @@ import {
102
102
  selectMsgById,
103
103
  uiAskChoiceFunc,
104
104
  uiAskChoiceFunctionSchema
105
- } from "./chunk-MZLE5HQ3.js";
105
+ } from "./chunk-S7RA7A4X.js";
106
106
  import {
107
107
  createAgent,
108
108
  deleteServerSyncedCredential,
109
109
  runLlm,
110
110
  streamAgentChatTurn,
111
111
  updateAgent
112
- } from "./chunk-NWP2OYOX.js";
112
+ } from "./chunk-RXJ26SQW.js";
113
113
  import {
114
114
  addMemberSpace,
115
115
  getAllMemberSpaces,
@@ -126,7 +126,7 @@ import {
126
126
  setViewMode,
127
127
  updateCurrentSpaceIfMatch,
128
128
  updateMemberSpaceName
129
- } from "./chunk-MBG66ZBH.js";
129
+ } from "./chunk-MOMR7NMG.js";
130
130
  import {
131
131
  buildMediaToolConfirmation,
132
132
  normalizeMediaConfirmExecutionRevision
@@ -147,7 +147,7 @@ import {
147
147
  UNCATEGORIZED_ID,
148
148
  addContentAction,
149
149
  checkSpaceMembership
150
- } from "./chunk-JA3ICVJY.js";
150
+ } from "./chunk-PVZY6P3S.js";
151
151
  import {
152
152
  createSpaceKey,
153
153
  normalizeSpaceId
@@ -163,14 +163,14 @@ import {
163
163
  selectEntities,
164
164
  toTimestampMs,
165
165
  write
166
- } from "./chunk-44X52WOJ.js";
166
+ } from "./chunk-AVHRSJUH.js";
167
167
  import {
168
168
  getUserDataItemTimestamp,
169
169
  mergeAndDedupUserData
170
170
  } from "./chunk-GBWGPTA7.js";
171
171
  import {
172
172
  readAction
173
- } from "./chunk-WAE3GFCJ.js";
173
+ } from "./chunk-QLFCTYRH.js";
174
174
  import {
175
175
  DEVICE_LOCAL_OWNER_ID,
176
176
  getRuntimeServerContext,
@@ -238,7 +238,7 @@ import {
238
238
  } from "./chunk-7DPNBQSV.js";
239
239
  import {
240
240
  CAPABILITY_PACKS
241
- } from "./chunk-PJCIP64Z.js";
241
+ } from "./chunk-GNHMRBYZ.js";
242
242
  import {
243
243
  CHROME_CONNECTOR_ACCEPTED_TOOL_NAMES,
244
244
  canonicalizeToolName,
@@ -309,7 +309,7 @@ import {
309
309
  DEFAULT_MODEL,
310
310
  clampReasoningEffort,
311
311
  resolveModelReasoningCapabilityWithCache
312
- } from "./chunk-2UCBGYO4.js";
312
+ } from "./chunk-LE6LGAJE.js";
313
313
  import {
314
314
  isRecord
315
315
  } from "./chunk-KUG52IAP.js";
@@ -1023,7 +1023,7 @@ var HOSTED_EXEC_RUNTIME_TOOL_POLICY = {
1023
1023
  workspace: { mode: "lease" }
1024
1024
  };
1025
1025
  var findModelConfig = async (modelName, provider) => {
1026
- const { ALL_MODELS } = await import("./models-ULVWLSQ6.js");
1026
+ const { ALL_MODELS } = await import("./models-CXINDUJA.js");
1027
1027
  const name = toTrimmedString(modelName);
1028
1028
  const prov = toTrimmedString(provider ?? "");
1029
1029
  if (!name) return null;
@@ -1268,7 +1268,7 @@ var buildPlatformFormDataFromArgs = async (args) => {
1268
1268
  const trimmedModel = toTrimmedString(model);
1269
1269
  const trimmedProvider = toTrimmedString(provider);
1270
1270
  const modelConfig = await findModelConfig(trimmedModel, trimmedProvider);
1271
- const { getModelPricing } = await import("./getPricing-MB2GBXOK.js");
1271
+ const { getModelPricing } = await import("./getPricing-YH3VMSVU.js");
1272
1272
  const normalizedTools = tools ?? [];
1273
1273
  const resolvedRuntimeToolPolicy = runtimeToolPolicy ?? (normalizedTools.includes("execShell") ? HOSTED_EXEC_RUNTIME_TOOL_POLICY : void 0);
1274
1274
  const formData = {
@@ -3904,7 +3904,7 @@ async function deleteDialogsFunc(args, thunkApi) {
3904
3904
  const deletedDialogIds = [];
3905
3905
  const deletedDialogKeys = [];
3906
3906
  const failures = [];
3907
- const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-LFNVUSAN.js");
3907
+ const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-GPALSBQM.js");
3908
3908
  for (const target of targets) {
3909
3909
  try {
3910
3910
  await thunkApi.dispatch(deleteDialog2(target.dbKey)).unwrap();
@@ -4297,7 +4297,7 @@ var readSkillDocFunctionSchema = {
4297
4297
  }
4298
4298
  };
4299
4299
  async function readSkillDocFunc(args, thunkApi) {
4300
- const { buildReadDocResult } = await import("./readDocTool-4BGTXTXA.js");
4300
+ const { buildReadDocResult } = await import("./readDocTool-Z5OQ6422.js");
4301
4301
  const id = args?.id ?? args?.doc ?? args?.docKey ?? args?.pageKey;
4302
4302
  if (typeof id !== "string" || !id.trim()) {
4303
4303
  throw new Error("readSkillDoc requires id or doc.");
@@ -5148,7 +5148,7 @@ var fetchSpaceAction = async (input, thunkAPI) => {
5148
5148
  const spaceKey = createSpaceKey.space(spaceId);
5149
5149
  const readSpace = async (dbKey) => {
5150
5150
  try {
5151
- const { read: read2, readAndWait: readAndWait2 } = await import("./dbSlice-WNON7TOL.js");
5151
+ const { read: read2, readAndWait: readAndWait2 } = await import("./dbSlice-ZJPDIFER.js");
5152
5152
  const readPromise = fresh ? dispatch(readAndWait2(dbKey)).unwrap() : dispatch(read2({ dbKey })).unwrap();
5153
5153
  return await withTimeout(readPromise);
5154
5154
  } catch {
@@ -11796,7 +11796,7 @@ var selectUserIdFromState = (state2) => {
11796
11796
  var selectCurrentServerFromState = (state2) => typeof state2?.settings?.currentServer === "string" ? state2.settings.currentServer : null;
11797
11797
  async function addImageContentToSpace(input) {
11798
11798
  const injectedAddContentAction = input.thunkApi?.extra?.addContentAction;
11799
- const addContentAction2 = typeof injectedAddContentAction === "function" ? injectedAddContentAction : (await import("./addContentAction-GDHDOF4U.js")).addContentAction;
11799
+ const addContentAction2 = typeof injectedAddContentAction === "function" ? injectedAddContentAction : (await import("./addContentAction-EQXMFNPR.js")).addContentAction;
11800
11800
  await addContentAction2(
11801
11801
  {
11802
11802
  spaceId: input.spaceId,
@@ -12123,8 +12123,8 @@ var geminiProImagePreviewFunc = createGeminiImageExecutor(
12123
12123
  );
12124
12124
 
12125
12125
  // packages/ai/tools/openaiImageTool.ts
12126
- var DEFAULT_OPENAI_IMAGE_GENERATE_MODEL = "gpt-image-2.5-flare";
12127
- var DEFAULT_OPENAI_IMAGE_EDIT_MODEL = "gpt-image-2.5-sunburst";
12126
+ var DEFAULT_OPENAI_IMAGE_GENERATE_MODEL = "gpt-image-2.6-flare";
12127
+ var DEFAULT_OPENAI_IMAGE_EDIT_MODEL = "gpt-image-2.6-sunburst";
12128
12128
  var DEFAULT_OPENAI_IMAGE_MODEL = DEFAULT_OPENAI_IMAGE_GENERATE_MODEL;
12129
12129
  var buildOpenAIImageLlmContext = ({
12130
12130
  result,
@@ -18934,7 +18934,7 @@ async function updateDocFunc(args, thunkApi) {
18934
18934
  updated_at: (/* @__PURE__ */ new Date()).toISOString()
18935
18935
  };
18936
18936
  await dispatch(write({ data: updatedPageData, customKey: id })).unwrap();
18937
- const { getDocState, applyExternalDocUpdate } = await import("./docStore-2VAWVLWH.js");
18937
+ const { getDocState, applyExternalDocUpdate } = await import("./docStore-O43KOHIX.js");
18938
18938
  if (getDocState().pageKey === id) {
18939
18939
  applyExternalDocUpdate({
18940
18940
  slateData: finalSlateData,
@@ -18959,7 +18959,7 @@ async function updateDocFunc(args, thunkApi) {
18959
18959
  // packages/ai/tools/updateUserPreferenceProfileTool.ts
18960
18960
  async function dispatchSetSettings(thunkApi, changes) {
18961
18961
  const injectedSetSettings = thunkApi?.extra?.setSettings;
18962
- const setSettings = typeof injectedSetSettings === "function" ? injectedSetSettings : (await import("./settingThunks-ENOAK2WV.js")).setSettings;
18962
+ const setSettings = typeof injectedSetSettings === "function" ? injectedSetSettings : (await import("./settingThunks-AXTBX3Q5.js")).setSettings;
18963
18963
  await thunkApi.dispatch(setSettings(changes)).unwrap();
18964
18964
  }
18965
18965
  var updateUserPreferenceProfileFunctionSchema = {