nolo-cli 0.30.0-alpha.4 → 0.30.0-alpha.6

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 (87) hide show
  1. package/{_executeModel-7KWY4TOT.js → _executeModel-F7LV7M3U.js} +25 -24
  2. package/{action-PABHQA2V.js → action-HI3VRQLP.js} +7 -7
  3. package/{addContentAction-QOCQY2OK.js → addContentAction-NCURJ6PK.js} +6 -6
  4. package/{addDialogAgentAction-HQKBYZZM.js → addDialogAgentAction-RCY4ECF4.js} +5 -5
  5. package/{agentDeleteCommand-K56FLXHX.js → agentDeleteCommand-VHZDPUB4.js} +19 -18
  6. package/{agentEmailCommands-4HTNF3NM.js → agentEmailCommands-W6JFMN52.js} +27 -26
  7. package/{agentListCommands-2AJIJEK3.js → agentListCommands-TI45YSNL.js} +21 -20
  8. package/{agentMachineCommands-CTO3ICU7.js → agentMachineCommands-UR5GLDYC.js} +19 -18
  9. package/{agentRecordCommands-QMD3GDVM.js → agentRecordCommands-UN5X2HDO.js} +27 -26
  10. package/{agentRunCommand-VW7DXSDX.js → agentRunCommand-WEDTQP4Y.js} +27 -26
  11. package/{agentRuntimeLocal-7P7RPLWZ.js → agentRuntimeLocal-6ICEFE6W.js} +16 -15
  12. package/{agentSlice-4ZVASIFY.js → agentSlice-72ZVODRI.js} +6 -6
  13. package/{appDeleteCommands-3V5H4PZP.js → appDeleteCommands-M5UHLDA6.js} +20 -19
  14. package/{appDeployCommands-CP2FN4XQ.js → appDeployCommands-4OMCBP4Y.js} +20 -19
  15. package/{appDeployStatusCommands-4BJ2IMW3.js → appDeployStatusCommands-G7DTM6FA.js} +20 -19
  16. package/{appGetCommands-T6YXMZKL.js → appGetCommands-FDTXHBWP.js} +20 -19
  17. package/{appListCommands-TRN2EUCV.js → appListCommands-HVM57XXB.js} +20 -19
  18. package/{chunk-ZSMZGOZ2.js → chunk-2IBEKS2W.js} +3 -3
  19. package/{chunk-REBLMWZW.js → chunk-2IJAKBK2.js} +1 -1
  20. package/{chunk-VTADMA7F.js → chunk-2IU7N5GD.js} +9 -9
  21. package/{chunk-VQRRTI4N.js → chunk-3XM7BOJ4.js} +2 -2
  22. package/{chunk-2FNQS3NE.js → chunk-43EPBPZ2.js} +1 -1
  23. package/{chunk-H5UXA6OF.js → chunk-4ESWGXGU.js} +3 -3
  24. package/{chunk-BGY4FZB4.js → chunk-4RJQPMKA.js} +4 -4
  25. package/{chunk-Y4C6CIWP.js → chunk-4URK2ONB.js} +2 -2
  26. package/{chunk-FXCLTQEO.js → chunk-5MAO25MQ.js} +1 -1
  27. package/{chunk-R5V5G73M.js → chunk-5RDLGLAP.js} +0 -1
  28. package/{chunk-QMGLMEEF.js → chunk-ARB4TTHS.js} +1 -1
  29. package/{chunk-BPB4MFE5.js → chunk-ATK5WJOA.js} +4 -4
  30. package/{chunk-GR4ULAGB.js → chunk-B3FH7RAZ.js} +3 -3
  31. package/chunk-CWJPBMQF.js +7889 -0
  32. package/{chunk-BNM4PN7V.js → chunk-EJZ7JUJQ.js} +6 -6
  33. package/{chunk-4VJZODXQ.js → chunk-ELBGPDVW.js} +1 -1
  34. package/{chunk-S45OJAFJ.js → chunk-F3MP7CP6.js} +1 -1
  35. package/{chunk-B2F42PFJ.js → chunk-G5GVZAXF.js} +4 -4
  36. package/{chunk-W53SDRNA.js → chunk-H4LQQNMO.js} +7 -7
  37. package/{chunk-3NHLRJTZ.js → chunk-IAUWR74M.js} +9 -9
  38. package/{chunk-VNQ4HVEE.js → chunk-J5A7YX6E.js} +1 -1
  39. package/{chunk-WZ7E2MTX.js → chunk-KC6PXUBE.js} +7 -5
  40. package/{chunk-7NE6SSNO.js → chunk-KGEVMUMI.js} +3 -3
  41. package/{chunk-5GDLMDLY.js → chunk-KL2AIINE.js} +3 -3
  42. package/{chunk-AKF3R6YT.js → chunk-LAXMH7JY.js} +6 -6
  43. package/{chunk-N3F3I7CF.js → chunk-MOSVVBDE.js} +5 -5
  44. package/{chunk-FVKMFU3A.js → chunk-NB3ZWVV5.js} +1 -1
  45. package/{chunk-INRBVD6S.js → chunk-RGDW7GVD.js} +29 -27
  46. package/{chunk-3MUUQJXW.js → chunk-T7ATPGU2.js} +2 -2
  47. package/chunk-TNEZPPUH.js +5558 -0
  48. package/{chunk-LZSOKNT7.js → chunk-V54H24CQ.js} +2 -2
  49. package/{chunk-2NKRHXDO.js → chunk-VCETGU44.js} +13 -11
  50. package/{chunk-TNAX4WSO.js → chunk-W2X2E22F.js} +14 -12
  51. package/{chunk-CYSB5B6O.js → chunk-YQDH6ZLQ.js} +1 -1
  52. package/{chunk-H42QD4SH.js → chunk-ZJ2WITOO.js} +2 -2
  53. package/{chunk-MBZE75JH.js → chunk-ZJH3LKEW.js} +2 -2
  54. package/{chunk-OWO7RJJP.js → chunk-ZKUHTOLW.js} +5 -5
  55. package/{createAgentAutomationAction-3CG7CZF2.js → createAgentAutomationAction-5DSJJJGA.js} +11 -10
  56. package/{createDialogAction-OPFOUFO7.js → createDialogAction-C2BXPUBG.js} +12 -11
  57. package/{createPageAction-Y54TU4LK.js → createPageAction-O4IFCXPJ.js} +11 -10
  58. package/{dbSlice-YGWTAMGP.js → dbSlice-BBL3PEVW.js} +5 -5
  59. package/{deleteFile-6BPXHM5G.js → deleteFile-RJTEPOT4.js} +3 -3
  60. package/{dialogCommands-KUOPTTW7.js → dialogCommands-JSTEWXMC.js} +20 -19
  61. package/{dialogSlice-ZWPGG6CW.js → dialogSlice-4Q4OXEPB.js} +10 -10
  62. package/{docCreateCommands-NWT3CF6Z.js → docCreateCommands-AV4NXXL3.js} +19 -18
  63. package/{docDeleteCommands-N6Y2GBXZ.js → docDeleteCommands-36WFALAY.js} +20 -19
  64. package/{docReadCommands-WMUAO7NP.js → docReadCommands-AR3Y34AJ.js} +19 -18
  65. package/{docStore-MMY7W6LI.js → docStore-ZFEMRTV7.js} +12 -11
  66. package/{docUpdateCommands-BJ6RXO6N.js → docUpdateCommands-BWWIKWYX.js} +19 -18
  67. package/{handleSendMessageAction-4E2363XK.js → handleSendMessageAction-D5EJ7VBI.js} +10 -10
  68. package/index.js +51 -51
  69. package/{machineCommands-G3XNZ4K7.js → machineCommands-ZRLA7LYE.js} +26 -25
  70. package/{machineWsRunDispatch-TDXCER6V.js → machineWsRunDispatch-KQTXJWGN.js} +26 -25
  71. package/package.json +1 -1
  72. package/{read-QUUPWYTV.js → read-64OQDO3I.js} +3 -3
  73. package/{readDocTool-J6U623EK.js → readDocTool-MXM3T6PE.js} +1 -1
  74. package/{readlineWorkspace-XX2N2R76.js → readlineWorkspace-W5LPUDCC.js} +30 -29
  75. package/{removeDialogAgentAction-UMXNPWYC.js → removeDialogAgentAction-NEKVAMSH.js} +7 -7
  76. package/{runAgentClientLoop-TJLJMHWD.js → runAgentClientLoop-B4D7T7GO.js} +22 -21
  77. package/{setDialogExtraReferencesAction-A3MC5BRN.js → setDialogExtraReferencesAction-WTOHQDIV.js} +6 -6
  78. package/{setPrimaryDialogAgentAction-43JNNAH4.js → setPrimaryDialogAgentAction-LDJOYC4F.js} +7 -7
  79. package/{settingSlice-XIATPDJH.js → settingSlice-4M37TN7V.js} +6 -6
  80. package/{spaceCommands-DFLZCOPH.js → spaceCommands-HQAPY3MM.js} +203 -21
  81. package/{spaceSlice-UL7KEYOZ.js → spaceSlice-5Q4MHBAG.js} +11 -10
  82. package/{streamAgentChatTurn-MOIP2RPM.js → streamAgentChatTurn-B7EL5LGJ.js} +26 -24
  83. package/{switchDialogAgentAction-K42FPQXR.js → switchDialogAgentAction-XVWGKR2Z.js} +5 -5
  84. package/{tableCommands-PRJNWN6Q.js → tableCommands-RJZ3V4TF.js} +1 -1
  85. package/{tools-NTOMB4LH.js → tools-BTAZSZ6Z.js} +19 -18
  86. package/{updateDialogTitleAction-IHHHSMZW.js → updateDialogTitleAction-FROWB7ZK.js} +14 -12
  87. package/chunk-NCPP67IY.js +0 -16336
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-DCDL3GC4.js";
7
7
  import {
8
8
  fetchAndCacheTableRows
9
- } from "./chunk-NCPP67IY.js";
9
+ } from "./chunk-CWJPBMQF.js";
10
10
  import {
11
11
  toErrorMessage
12
12
  } from "./chunk-HNMXYYJR.js";
@@ -15,13 +15,13 @@ import {
15
15
  } from "./chunk-3ASDTTEI.js";
16
16
  import {
17
17
  nolotusId
18
- } from "./chunk-B2F42PFJ.js";
18
+ } from "./chunk-G5GVZAXF.js";
19
19
  import {
20
20
  asRecordOrEmpty
21
21
  } from "./chunk-KX6YBIHG.js";
22
22
  import {
23
23
  DEFAULT_CODE_PLANNER_EXECUTOR_CANDIDATE_KEYS
24
- } from "./chunk-MBZE75JH.js";
24
+ } from "./chunk-ZJH3LKEW.js";
25
25
  import {
26
26
  isOwnedAgentKey,
27
27
  ownedAgentKey,
@@ -29,7 +29,7 @@ import {
29
29
  } from "./chunk-TOW4E763.js";
30
30
  import {
31
31
  createAsyncThunk
32
- } from "./chunk-REBLMWZW.js";
32
+ } from "./chunk-2IJAKBK2.js";
33
33
  import {
34
34
  asOptionalFiniteNumber
35
35
  } from "./chunk-WWC7I6TA.js";
@@ -1621,7 +1621,7 @@ var executeToolRun = createAsyncThunk(
1621
1621
  if (!executionInput) {
1622
1622
  throw new Error(`ToolRun ${id} has no input to execute with.`);
1623
1623
  }
1624
- const { findToolExecutor } = await import("./tools-NTOMB4LH.js");
1624
+ const { findToolExecutor } = await import("./tools-BTAZSZ6Z.js");
1625
1625
  const { executor } = findToolExecutor(run.toolName);
1626
1626
  toolRunStarted({
1627
1627
  id: run.id,
@@ -1645,7 +1645,7 @@ var executeToolRun = createAsyncThunk(
1645
1645
  const latestState = thunkApi.getState();
1646
1646
  const userId = latestState.auth?.currentUser?.userId;
1647
1647
  if (userId) {
1648
- const { fetchUserSpaceMemberships } = await import("./spaceSlice-UL7KEYOZ.js");
1648
+ const { fetchUserSpaceMemberships } = await import("./spaceSlice-5Q4MHBAG.js");
1649
1649
  await thunkApi.dispatch(fetchUserSpaceMemberships(userId));
1650
1650
  }
1651
1651
  }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  requireTokenUser
3
- } from "./chunk-Y4C6CIWP.js";
3
+ } from "./chunk-4URK2ONB.js";
4
4
  import {
5
5
  resolveServerUrl
6
6
  } from "./chunk-A7GB5UGH.js";
@@ -52,7 +52,7 @@ async function readDocFunc(args, thunkApi) {
52
52
  throw new Error(`\u65E0\u6548\u7684\u9875\u9762 ID: ${id}\u3002\u9875\u9762 ID \u901A\u5E38\u4EE5 "page-" \u5F00\u5934\u3002`);
53
53
  }
54
54
  try {
55
- const { readAction } = await import("./read-QUUPWYTV.js");
55
+ const { readAction } = await import("./read-64OQDO3I.js");
56
56
  const pageData = await readAction({ dbKey: id }, thunkApi);
57
57
  if (!pageData) {
58
58
  throw new Error(`\u672A\u627E\u5230 ID \u4E3A ${id} \u7684\u9875\u9762\u3002`);
@@ -7,13 +7,13 @@ import {
7
7
  toTimestampMs,
8
8
  upsert,
9
9
  write
10
- } from "./chunk-AKF3R6YT.js";
10
+ } from "./chunk-LAXMH7JY.js";
11
11
  import {
12
12
  asTrimmedLowercaseString
13
13
  } from "./chunk-QSJ3HFEF.js";
14
14
  import {
15
15
  BUILTIN_NOLO_AGENT_KEY
16
- } from "./chunk-MBZE75JH.js";
16
+ } from "./chunk-ZJH3LKEW.js";
17
17
  import {
18
18
  asyncThunkCreator,
19
19
  buildCreateSlice,
@@ -21,12 +21,12 @@ import {
21
21
  createAsyncThunk,
22
22
  createSelector,
23
23
  selectIdentityUserId
24
- } from "./chunk-REBLMWZW.js";
24
+ } from "./chunk-2IJAKBK2.js";
25
25
  import {
26
26
  getAllServers,
27
27
  getIsDesktopApp,
28
28
  isProduction
29
- } from "./chunk-R5V5G73M.js";
29
+ } from "./chunk-5RDLGLAP.js";
30
30
  import {
31
31
  SERVERS
32
32
  } from "./chunk-LCBAMY2M.js";
@@ -9,7 +9,7 @@ import {
9
9
  requiresBareImageUrl,
10
10
  resolveToolGuidedSections,
11
11
  toBareImageUrlMessages
12
- } from "./chunk-OWO7RJJP.js";
12
+ } from "./chunk-ZKUHTOLW.js";
13
13
  import {
14
14
  convertMessagesToResponsesInput,
15
15
  preserveAgentStateFields
@@ -26,7 +26,7 @@ import {
26
26
  } from "./chunk-4PWB7JRR.js";
27
27
  import {
28
28
  waitForAbortableDelay
29
- } from "./chunk-INRBVD6S.js";
29
+ } from "./chunk-RGDW7GVD.js";
30
30
  import {
31
31
  createDrainExhaustedResponse,
32
32
  isCoreDrainingBody,
@@ -36,15 +36,15 @@ import {
36
36
  } from "./chunk-Z5MXSEOJ.js";
37
37
  import {
38
38
  resolveBuiltinSkillPage
39
- } from "./chunk-BNM4PN7V.js";
39
+ } from "./chunk-EJZ7JUJQ.js";
40
40
  import {
41
41
  estimateTokenCount,
42
42
  shouldUseServerProxy
43
- } from "./chunk-NCPP67IY.js";
43
+ } from "./chunk-TNEZPPUH.js";
44
44
  import {
45
45
  createFileCredentialBroker,
46
46
  fetchServerSyncedCredential
47
- } from "./chunk-N3F3I7CF.js";
47
+ } from "./chunk-MOSVVBDE.js";
48
48
  import {
49
49
  toErrorMessage
50
50
  } from "./chunk-HNMXYYJR.js";
@@ -60,13 +60,13 @@ import {
60
60
  } from "./chunk-CAENRKNJ.js";
61
61
  import {
62
62
  read
63
- } from "./chunk-AKF3R6YT.js";
63
+ } from "./chunk-LAXMH7JY.js";
64
64
  import {
65
65
  asTrimmedLowercaseString
66
66
  } from "./chunk-QSJ3HFEF.js";
67
67
  import {
68
68
  isAbortError
69
- } from "./chunk-R5V5G73M.js";
69
+ } from "./chunk-5RDLGLAP.js";
70
70
  import {
71
71
  API_ENDPOINTS
72
72
  } from "./chunk-LCBAMY2M.js";
@@ -26,7 +26,7 @@ import {
26
26
  } from "./chunk-WJRJDX2W.js";
27
27
  import {
28
28
  buildLocalAgentLookupKeys
29
- } from "./chunk-QMGLMEEF.js";
29
+ } from "./chunk-ARB4TTHS.js";
30
30
  import {
31
31
  LOCAL_CODEX_AGENT_ID,
32
32
  LOCAL_CODEX_AGENT_KEY,
@@ -53,7 +53,7 @@ import {
53
53
  readOpenAiCompatibleSseCompletion,
54
54
  resolveAgentNextAvailableAt,
55
55
  resolveOpenAiCompatibleProviderConfig
56
- } from "./chunk-GR4ULAGB.js";
56
+ } from "./chunk-B3FH7RAZ.js";
57
57
  import {
58
58
  buildPlatformChatCompletionRequest,
59
59
  canUsePlatformChatProvider,
@@ -73,12 +73,12 @@ import {
73
73
  import {
74
74
  inlineImageUrlsForCustomProvider,
75
75
  prepareTools
76
- } from "./chunk-FVKMFU3A.js";
76
+ } from "./chunk-NB3ZWVV5.js";
77
77
  import {
78
78
  inferCaptureIntent,
79
79
  resolveHistoricalToolContentCap,
80
80
  summarizeToolArguments
81
- } from "./chunk-2NKRHXDO.js";
81
+ } from "./chunk-VCETGU44.js";
82
82
  import {
83
83
  getAntigravityUserAgent,
84
84
  isAntigravityOAuthAgent,
@@ -103,7 +103,7 @@ import {
103
103
  readXhsProfileFunctionSchema,
104
104
  rememberMemoryFunctionSchema,
105
105
  setTodoListFunc
106
- } from "./chunk-INRBVD6S.js";
106
+ } from "./chunk-RGDW7GVD.js";
107
107
  import {
108
108
  createDrainExhaustedResponse,
109
109
  isCoreDrainingBody,
@@ -127,13 +127,13 @@ import {
127
127
  parseNoloWorkspaceToolArguments,
128
128
  resolveAgentRequiredPackIds,
129
129
  resolveRuntimeToolSurfaceForAgent
130
- } from "./chunk-BNM4PN7V.js";
130
+ } from "./chunk-EJZ7JUJQ.js";
131
131
  import {
132
132
  applyTokenUsageToDayStats,
133
133
  prepareTokenUsageData,
134
134
  resolveBuiltinPlatformAgentConfig,
135
135
  runKeyed
136
- } from "./chunk-NCPP67IY.js";
136
+ } from "./chunk-TNEZPPUH.js";
137
137
  import {
138
138
  BUILTIN_TITLE_LLM_CONFIG,
139
139
  clipCompactText
@@ -144,7 +144,7 @@ import {
144
144
  resolveCurrentRunRuntimeToolPolicy,
145
145
  resolveLocalWorkspaceExecutorOptionsFromPolicy,
146
146
  resolveRequestedRuntimeToolNames
147
- } from "./chunk-N3F3I7CF.js";
147
+ } from "./chunk-MOSVVBDE.js";
148
148
  import {
149
149
  createOAuthTokenStore,
150
150
  isTokenExpired,
@@ -175,7 +175,7 @@ import {
175
175
  } from "./chunk-QSJ3HFEF.js";
176
176
  import {
177
177
  isSystemBuiltinTrustedAgentKey
178
- } from "./chunk-MBZE75JH.js";
178
+ } from "./chunk-ZJH3LKEW.js";
179
179
  import {
180
180
  NOLO_CLUSTER_SERVERS
181
181
  } from "./chunk-LCBAMY2M.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  isOAuthApiKeyRef
3
- } from "./chunk-NCPP67IY.js";
3
+ } from "./chunk-TNEZPPUH.js";
4
4
  import {
5
5
  getModelAbility
6
6
  } from "./chunk-WTGCTVJG.js";
@@ -2,11 +2,13 @@ import {
2
2
  buildBuiltinObjectSkillReference
3
3
  } from "./chunk-DCDL3GC4.js";
4
4
  import {
5
- addContentToSpace,
5
+ addContentToSpace
6
+ } from "./chunk-CWJPBMQF.js";
7
+ import {
6
8
  prepareAndPersistMessage,
7
9
  uiAskChoiceFunc,
8
10
  uiAskChoiceFunctionSchema
9
- } from "./chunk-NCPP67IY.js";
11
+ } from "./chunk-TNEZPPUH.js";
10
12
  import {
11
13
  require_date_fns
12
14
  } from "./chunk-M76ECQRD.js";
@@ -21,16 +23,16 @@ import {
21
23
  removeCachedEntity,
22
24
  upsertSSREntity,
23
25
  write
24
- } from "./chunk-AKF3R6YT.js";
26
+ } from "./chunk-LAXMH7JY.js";
25
27
  import {
26
28
  extractCustomId
27
29
  } from "./chunk-TOW4E763.js";
28
30
  import {
29
31
  selectIdentityUserId
30
- } from "./chunk-REBLMWZW.js";
32
+ } from "./chunk-2IJAKBK2.js";
31
33
  import {
32
34
  isDevelopment
33
- } from "./chunk-R5V5G73M.js";
35
+ } from "./chunk-5RDLGLAP.js";
34
36
  import {
35
37
  createAgentKey,
36
38
  createDialogKey,
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  selectCurrentServer,
3
3
  selectRemoteServers
4
- } from "./chunk-B2F42PFJ.js";
4
+ } from "./chunk-G5GVZAXF.js";
5
5
  import {
6
6
  noloDeleteRequest,
7
7
  noloWriteRequest,
8
8
  selectIdentityUser,
9
9
  selectIdentityUserId
10
- } from "./chunk-REBLMWZW.js";
10
+ } from "./chunk-2IJAKBK2.js";
11
11
  import {
12
12
  normalizeTimeFields
13
- } from "./chunk-R5V5G73M.js";
13
+ } from "./chunk-5RDLGLAP.js";
14
14
  import {
15
15
  createUserKey,
16
16
  extractAgentInfo,
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  listUserRecordsFromServers,
3
3
  readLiveDbRecordAfterTombstoneMerge
4
- } from "./chunk-FXCLTQEO.js";
4
+ } from "./chunk-5MAO25MQ.js";
5
5
  import {
6
6
  agentRecordHasConfiguredCredential
7
- } from "./chunk-CYSB5B6O.js";
7
+ } from "./chunk-YQDH6ZLQ.js";
8
8
  import {
9
9
  toSafeAgentSummary
10
- } from "./chunk-VNQ4HVEE.js";
10
+ } from "./chunk-J5A7YX6E.js";
11
11
  import {
12
12
  PUBLIC_AGENT_KEY_PREFIX,
13
13
  isOwnedAgentKey,
@@ -2,12 +2,12 @@ import {
2
2
  loadFileFromIndexedDb,
3
3
  removeAction,
4
4
  saveFileToIndexedDb
5
- } from "./chunk-H42QD4SH.js";
5
+ } from "./chunk-ZJ2WITOO.js";
6
6
  import {
7
7
  readAction,
8
8
  readRequestManager,
9
9
  resolveAgentReadServers
10
- } from "./chunk-MBZE75JH.js";
10
+ } from "./chunk-ZJH3LKEW.js";
11
11
  import {
12
12
  asyncThunkCreator,
13
13
  buildCreateSlice,
@@ -27,13 +27,13 @@ import {
27
27
  shouldReplaceLocalWithRemoteRecord,
28
28
  shouldReplicateLocalRecord,
29
29
  uploadToCurrentServer
30
- } from "./chunk-REBLMWZW.js";
30
+ } from "./chunk-2IJAKBK2.js";
31
31
  import {
32
32
  fetchFromClientDb,
33
33
  fetchFromServer,
34
34
  logger,
35
35
  normalizeTimeFields
36
- } from "./chunk-R5V5G73M.js";
36
+ } from "./chunk-5RDLGLAP.js";
37
37
  import {
38
38
  API_ENDPOINTS
39
39
  } from "./chunk-LCBAMY2M.js";
@@ -704,7 +704,7 @@ var dbSlice = createSliceWithThunks({
704
704
  // 动态 import 在调用期解析,避开 TDZ/求值顺序问题(同下方 share)。
705
705
  read: create.asyncThunk(
706
706
  async (payload, thunkApi) => {
707
- const { readAction: readAction2 } = await import("./read-QUUPWYTV.js");
707
+ const { readAction: readAction2 } = await import("./read-64OQDO3I.js");
708
708
  return readAction2(payload, thunkApi);
709
709
  },
710
710
  {
@@ -778,7 +778,7 @@ var dbSlice = createSliceWithThunks({
778
778
  // 这里改成动态 import,运行期才解析,彻底断开这条边。
779
779
  share: create.asyncThunk(
780
780
  async (config, thunkApi) => {
781
- const { shareResourceAction } = await import("./action-PABHQA2V.js");
781
+ const { shareResourceAction } = await import("./action-HI3VRQLP.js");
782
782
  return shareResourceAction(config, thunkApi);
783
783
  }
784
784
  ),
@@ -8,12 +8,12 @@ import {
8
8
  patch,
9
9
  remove,
10
10
  write
11
- } from "./chunk-AKF3R6YT.js";
11
+ } from "./chunk-LAXMH7JY.js";
12
12
  import {
13
13
  asyncThunkCreator,
14
14
  buildCreateSlice,
15
15
  getRuntimeServerContext
16
- } from "./chunk-REBLMWZW.js";
16
+ } from "./chunk-2IJAKBK2.js";
17
17
  import {
18
18
  createAgentKey,
19
19
  toTrimmedString
@@ -583,7 +583,7 @@ var slice = createSliceWithThunks({
583
583
  const overrides = {};
584
584
  if (args.systemPromptOverride !== void 0) overrides.prompt = args.systemPromptOverride;
585
585
  if (args.toolsOverride !== void 0) overrides.tools = args.toolsOverride;
586
- const { _executeModel } = await import("./_executeModel-7KWY4TOT.js");
586
+ const { _executeModel } = await import("./_executeModel-F7LV7M3U.js");
587
587
  return _executeModel(
588
588
  {
589
589
  isStreaming: args.isStreaming ?? false,
@@ -604,7 +604,7 @@ var slice = createSliceWithThunks({
604
604
  * - 循环直到无工具调用或触发其他运行时停止条件
605
605
  */
606
606
  runAgent: create.asyncThunk(async (args, thunkApi) => {
607
- const { runAgentClientLoop } = await import("./runAgentClientLoop-TJLJMHWD.js");
607
+ const { runAgentClientLoop } = await import("./runAgentClientLoop-B4D7T7GO.js");
608
608
  const { content: loopContent, toolCallCount } = await runAgentClientLoop(
609
609
  {
610
610
  agentKey: args.agentKey,
@@ -620,7 +620,7 @@ var slice = createSliceWithThunks({
620
620
  * 聊天轮次流式 Agent 调用
621
621
  */
622
622
  streamAgentChatTurn: create.asyncThunk(async (args, thunkApi) => {
623
- const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-MOIP2RPM.js");
623
+ const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-B7EL5LGJ.js");
624
624
  return streamAgentChatTurnHandler(args, thunkApi);
625
625
  }),
626
626
  /**
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  i18n_default,
3
3
  toolRegistry
4
- } from "./chunk-INRBVD6S.js";
4
+ } from "./chunk-RGDW7GVD.js";
5
5
  import {
6
6
  isNoloHostedProvider
7
7
  } from "./chunk-CAENRKNJ.js";
@@ -17,7 +17,7 @@ import {
17
17
  import {
18
18
  sortSafeAgentSummaries,
19
19
  toSafeAgentSummary
20
- } from "./chunk-VNQ4HVEE.js";
20
+ } from "./chunk-J5A7YX6E.js";
21
21
  import {
22
22
  getUserDataItemTimestamp,
23
23
  mergeAndDedupUserData
@@ -43,19 +43,19 @@ import {
43
43
  resolveNoloDialogInput,
44
44
  toolRunUpdated,
45
45
  verifyNoloDialogSubjectRefQuery
46
- } from "./chunk-BNM4PN7V.js";
46
+ } from "./chunk-EJZ7JUJQ.js";
47
47
  import {
48
48
  createDocState
49
- } from "./chunk-H5UXA6OF.js";
49
+ } from "./chunk-4ESWGXGU.js";
50
50
  import {
51
51
  setDialogExtraReferencesAction
52
- } from "./chunk-2FNQS3NE.js";
52
+ } from "./chunk-43EPBPZ2.js";
53
53
  import {
54
54
  readDocFunc,
55
55
  readDocFunctionSchema,
56
56
  readPageFunc,
57
57
  readPageFunctionSchema
58
- } from "./chunk-S45OJAFJ.js";
58
+ } from "./chunk-F3MP7CP6.js";
59
59
  import {
60
60
  slateToSimplifiedMarkdown
61
61
  } from "./chunk-SWYMCHM7.js";
@@ -69,7 +69,7 @@ import {
69
69
  } from "./chunk-44HACRCK.js";
70
70
  import {
71
71
  createDialogAction
72
- } from "./chunk-WZ7E2MTX.js";
72
+ } from "./chunk-KC6PXUBE.js";
73
73
  import {
74
74
  markdownToSlate
75
75
  } from "./chunk-3LY4F7SV.js";
@@ -77,38 +77,40 @@ import {
77
77
  addCategory,
78
78
  addContentToSpace,
79
79
  addRow,
80
- buildDatabaseFileContentUrl,
81
80
  createTable,
82
81
  deleteDbKey,
83
82
  deleteSpace,
84
83
  fetchUserData,
85
84
  i18nBaseConfig,
86
- incrementFailedSteps,
87
- incrementStepsExecuted,
88
85
  initReactI18next,
89
86
  instance,
90
87
  loadTableRows,
88
+ selectAllMemberSpaces,
89
+ selectCurrentSpaceId,
90
+ updateContentCategory,
91
+ updateContentTitle
92
+ } from "./chunk-CWJPBMQF.js";
93
+ import {
94
+ buildDatabaseFileContentUrl,
95
+ incrementFailedSteps,
96
+ incrementStepsExecuted,
91
97
  normalizeAppRouteId,
92
98
  resolveDialogRuntimeAgentKey,
93
- selectAllMemberSpaces,
94
99
  selectAllMsgs,
95
100
  selectCurrentDialogConfig,
96
101
  selectCurrentDialogId,
97
- selectCurrentSpaceId,
98
102
  selectMsgById,
99
103
  setWorkflow,
100
104
  uiAskChoiceFunc,
101
105
  uiAskChoiceFunctionSchema,
102
- updateContentCategory,
103
- updateContentTitle,
104
106
  updateStep
105
- } from "./chunk-NCPP67IY.js";
107
+ } from "./chunk-TNEZPPUH.js";
106
108
  import {
107
109
  createAgent,
108
110
  runLlm,
109
111
  streamAgentChatTurn,
110
112
  updateAgent
111
- } from "./chunk-N3F3I7CF.js";
113
+ } from "./chunk-MOSVVBDE.js";
112
114
  import {
113
115
  toErrorMessage
114
116
  } from "./chunk-HNMXYYJR.js";
@@ -124,7 +126,7 @@ import {
124
126
  addContentAction,
125
127
  createSpaceKey,
126
128
  normalizeSpaceId
127
- } from "./chunk-LZSOKNT7.js";
129
+ } from "./chunk-V54H24CQ.js";
128
130
  import {
129
131
  DEFAULT_MODEL
130
132
  } from "./chunk-EIQDGAAE.js";
@@ -136,14 +138,14 @@ import {
136
138
  } from "./chunk-VF4K2QE6.js";
137
139
  import {
138
140
  shareResourceAction
139
- } from "./chunk-7NE6SSNO.js";
141
+ } from "./chunk-KGEVMUMI.js";
140
142
  import {
141
143
  AGENT_UPDATE_FIELD_NAMES,
142
144
  normalizeAgentUpdateFieldList,
143
145
  selectAutoApproveSelfUpdateFields,
144
146
  selectCurrentServer,
145
147
  selectSyncServers
146
- } from "./chunk-B2F42PFJ.js";
148
+ } from "./chunk-G5GVZAXF.js";
147
149
  import {
148
150
  asRecordOrEmpty
149
151
  } from "./chunk-KX6YBIHG.js";
@@ -155,13 +157,13 @@ import {
155
157
  selectById,
156
158
  toTimestampMs,
157
159
  write
158
- } from "./chunk-AKF3R6YT.js";
160
+ } from "./chunk-LAXMH7JY.js";
159
161
  import {
160
162
  asTrimmedLowercaseString
161
163
  } from "./chunk-QSJ3HFEF.js";
162
164
  import {
163
165
  readAction
164
- } from "./chunk-MBZE75JH.js";
166
+ } from "./chunk-ZJH3LKEW.js";
165
167
  import {
166
168
  extractCustomId
167
169
  } from "./chunk-TOW4E763.js";
@@ -173,10 +175,10 @@ import {
173
175
  selectIdentityUserBalance,
174
176
  selectIdentityUserId,
175
177
  selectRuntimeSnapshot
176
- } from "./chunk-REBLMWZW.js";
178
+ } from "./chunk-2IJAKBK2.js";
177
179
  import {
178
180
  isAbortError
179
- } from "./chunk-R5V5G73M.js";
181
+ } from "./chunk-5RDLGLAP.js";
180
182
  import {
181
183
  API_ENDPOINTS
182
184
  } from "./chunk-LCBAMY2M.js";
@@ -13918,7 +13920,7 @@ async function deleteDialogsFunc(args, thunkApi) {
13918
13920
  const deletedDialogIds = [];
13919
13921
  const deletedDialogKeys = [];
13920
13922
  const failures = [];
13921
- const { deleteDialog } = await import("./dialogSlice-ZWPGG6CW.js");
13923
+ const { deleteDialog } = await import("./dialogSlice-4Q4OXEPB.js");
13922
13924
  for (const target of targets) {
13923
13925
  try {
13924
13926
  await thunkApi.dispatch(deleteDialog(target.dbKey)).unwrap();
@@ -14187,7 +14189,7 @@ var readSkillDocFunctionSchema = {
14187
14189
  }
14188
14190
  };
14189
14191
  async function readSkillDocFunc(args, thunkApi) {
14190
- const { buildReadDocResult } = await import("./readDocTool-J6U623EK.js");
14192
+ const { buildReadDocResult } = await import("./readDocTool-MXM3T6PE.js");
14191
14193
  const id = args?.id ?? args?.doc ?? args?.docKey ?? args?.pageKey;
14192
14194
  if (typeof id !== "string" || !id.trim()) {
14193
14195
  throw new Error("readSkillDoc requires id or doc.");
@@ -19637,7 +19639,7 @@ var selectUserIdFromState = (state) => typeof state?.auth?.currentUser?.userId =
19637
19639
  var selectCurrentServerFromState = (state) => typeof state?.settings?.currentServer === "string" ? state.settings.currentServer : null;
19638
19640
  async function addImageContentToSpace(input) {
19639
19641
  const injectedAddContentAction = input.thunkApi?.extra?.addContentAction;
19640
- const addContentAction2 = typeof injectedAddContentAction === "function" ? injectedAddContentAction : (await import("./addContentAction-QOCQY2OK.js")).addContentAction;
19642
+ const addContentAction2 = typeof injectedAddContentAction === "function" ? injectedAddContentAction : (await import("./addContentAction-NCURJ6PK.js")).addContentAction;
19641
19643
  await addContentAction2(
19642
19644
  {
19643
19645
  spaceId: input.spaceId,
@@ -25663,7 +25665,7 @@ async function updateDocFunc(args, thunkApi) {
25663
25665
  updated_at: (/* @__PURE__ */ new Date()).toISOString()
25664
25666
  };
25665
25667
  await dispatch(write({ data: updatedPageData, customKey: id })).unwrap();
25666
- const { getDocState, applyExternalDocUpdate } = await import("./docStore-MMY7W6LI.js");
25668
+ const { getDocState, applyExternalDocUpdate } = await import("./docStore-ZFEMRTV7.js");
25667
25669
  if (getDocState().pageKey === id) {
25668
25670
  applyExternalDocUpdate({
25669
25671
  slateData: finalSlateData,
@@ -25688,7 +25690,7 @@ async function updateDocFunc(args, thunkApi) {
25688
25690
  // packages/ai/tools/updateUserPreferenceProfileTool.ts
25689
25691
  async function dispatchSetSettings(thunkApi, changes) {
25690
25692
  const injectedSetSettings = thunkApi?.extra?.setSettings;
25691
- const setSettings = typeof injectedSetSettings === "function" ? injectedSetSettings : (await import("./settingSlice-XIATPDJH.js")).setSettings;
25693
+ const setSettings = typeof injectedSetSettings === "function" ? injectedSetSettings : (await import("./settingSlice-4M37TN7V.js")).setSettings;
25692
25694
  await thunkApi.dispatch(setSettings(changes)).unwrap();
25693
25695
  }
25694
25696
  var updateUserPreferenceProfileFunctionSchema = {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  resolveReferenceAssets
3
- } from "./chunk-W53SDRNA.js";
3
+ } from "./chunk-H4LQQNMO.js";
4
4
  import {
5
5
  fetchReferenceContents
6
- } from "./chunk-OWO7RJJP.js";
6
+ } from "./chunk-ZKUHTOLW.js";
7
7
 
8
8
  // packages/ai/agent/fetchAgentContexts.ts
9
9
  async function fetchAgentContexts(references, dispatch) {