nolo-cli 0.30.0-alpha.3 → 0.30.0-alpha.5

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-FYUR7PQU.js → _executeModel-F7LV7M3U.js} +25 -24
  2. package/{action-FENWPT3C.js → action-HI3VRQLP.js} +7 -7
  3. package/{addContentAction-Z5S5ZQ7I.js → addContentAction-NCURJ6PK.js} +6 -6
  4. package/{addDialogAgentAction-VUNVD2XR.js → addDialogAgentAction-RCY4ECF4.js} +5 -5
  5. package/{agentDeleteCommand-HHP47ZB2.js → agentDeleteCommand-VHZDPUB4.js} +19 -18
  6. package/{agentEmailCommands-H6KRDTQW.js → agentEmailCommands-W6JFMN52.js} +27 -26
  7. package/{agentListCommands-GNVFOTB4.js → agentListCommands-TI45YSNL.js} +21 -20
  8. package/{agentMachineCommands-4HJHI26F.js → agentMachineCommands-UR5GLDYC.js} +19 -18
  9. package/{agentRecordCommands-W6ITUONM.js → agentRecordCommands-UN5X2HDO.js} +27 -26
  10. package/{agentRunCommand-VDLU4VKR.js → agentRunCommand-WEDTQP4Y.js} +27 -26
  11. package/{agentRuntimeLocal-3X3ZTFT2.js → agentRuntimeLocal-6ICEFE6W.js} +16 -15
  12. package/{agentSlice-5HYCSSTE.js → agentSlice-72ZVODRI.js} +6 -6
  13. package/{appDeleteCommands-WFUF34TE.js → appDeleteCommands-M5UHLDA6.js} +20 -19
  14. package/{appDeployCommands-J2EAE53G.js → appDeployCommands-4OMCBP4Y.js} +20 -19
  15. package/{appDeployStatusCommands-RLXDEHTV.js → appDeployStatusCommands-G7DTM6FA.js} +20 -19
  16. package/{appGetCommands-ZGV3CKCM.js → appGetCommands-FDTXHBWP.js} +20 -19
  17. package/{appListCommands-3VRX3EJI.js → appListCommands-HVM57XXB.js} +20 -19
  18. package/{chunk-TAS3THIF.js → chunk-2IBEKS2W.js} +3 -3
  19. package/{chunk-ZFTCLBEX.js → chunk-2IJAKBK2.js} +3 -1
  20. package/{chunk-KH3JS4D5.js → chunk-2IU7N5GD.js} +9 -9
  21. package/{chunk-LWYIHJKD.js → chunk-3XM7BOJ4.js} +2 -2
  22. package/{chunk-Q24P6TUS.js → chunk-43EPBPZ2.js} +1 -1
  23. package/{chunk-YK2QRWTO.js → chunk-4ESWGXGU.js} +3 -3
  24. package/{chunk-R2JHVPHL.js → chunk-4RJQPMKA.js} +4 -4
  25. package/{chunk-F3A5IZSX.js → chunk-4URK2ONB.js} +2 -2
  26. package/{chunk-GABCPUMC.js → chunk-5MAO25MQ.js} +1 -1
  27. package/{chunk-R5V5G73M.js → chunk-5RDLGLAP.js} +0 -1
  28. package/{chunk-72NVMKWA.js → chunk-ARB4TTHS.js} +1 -1
  29. package/{chunk-IZ3CBMD5.js → chunk-ATK5WJOA.js} +4 -4
  30. package/{chunk-7QW64TCG.js → chunk-B3FH7RAZ.js} +3 -3
  31. package/chunk-CWJPBMQF.js +7889 -0
  32. package/{chunk-2TZP235J.js → chunk-EJZ7JUJQ.js} +6 -6
  33. package/{chunk-5NPAOURO.js → chunk-ELBGPDVW.js} +1 -1
  34. package/{chunk-G5JHHUAK.js → chunk-F3MP7CP6.js} +1 -1
  35. package/{chunk-446VANPP.js → chunk-G5GVZAXF.js} +4 -4
  36. package/{chunk-MV6UZXZU.js → chunk-H4LQQNMO.js} +7 -7
  37. package/{chunk-3Z6SPX5X.js → chunk-IAUWR74M.js} +9 -9
  38. package/{chunk-S342XWCB.js → chunk-J5A7YX6E.js} +1 -1
  39. package/{chunk-JRI2BRJY.js → chunk-KC6PXUBE.js} +7 -5
  40. package/{chunk-DKRT67FG.js → chunk-KGEVMUMI.js} +3 -3
  41. package/{chunk-CTLXD6HB.js → chunk-KL2AIINE.js} +3 -3
  42. package/{chunk-A4JDTA5T.js → chunk-LAXMH7JY.js} +6 -6
  43. package/{chunk-4ZMTXQFB.js → chunk-MOSVVBDE.js} +5 -5
  44. package/{chunk-3IPBZISR.js → chunk-NB3ZWVV5.js} +1 -1
  45. package/{chunk-6QP7LEI6.js → chunk-RGDW7GVD.js} +32 -30
  46. package/{chunk-V5BWE46D.js → chunk-T7ATPGU2.js} +2 -2
  47. package/chunk-TNEZPPUH.js +5558 -0
  48. package/{chunk-YLADSPDU.js → chunk-V54H24CQ.js} +2 -2
  49. package/{chunk-IUA36RS4.js → chunk-VCETGU44.js} +15 -13
  50. package/{chunk-YX26YZL4.js → chunk-W2X2E22F.js} +14 -12
  51. package/{chunk-MNUJETMH.js → chunk-YQDH6ZLQ.js} +1 -1
  52. package/{chunk-BOL2D2JW.js → chunk-ZJ2WITOO.js} +2 -2
  53. package/{chunk-DWQNDGO7.js → chunk-ZJH3LKEW.js} +2 -2
  54. package/{chunk-QDNVDGLN.js → chunk-ZKUHTOLW.js} +5 -5
  55. package/{createAgentAutomationAction-EKABYSSA.js → createAgentAutomationAction-5DSJJJGA.js} +11 -10
  56. package/{createDialogAction-HLP6TV4H.js → createDialogAction-C2BXPUBG.js} +12 -11
  57. package/{createPageAction-4NEEWW6S.js → createPageAction-O4IFCXPJ.js} +11 -10
  58. package/{dbSlice-OBV7VFCF.js → dbSlice-BBL3PEVW.js} +5 -5
  59. package/{deleteFile-AC45HYSM.js → deleteFile-RJTEPOT4.js} +3 -3
  60. package/{dialogCommands-XB3ZNSP3.js → dialogCommands-JSTEWXMC.js} +20 -19
  61. package/{dialogSlice-4IWM2WIY.js → dialogSlice-4Q4OXEPB.js} +10 -10
  62. package/{docCreateCommands-QSPTTAN7.js → docCreateCommands-AV4NXXL3.js} +19 -18
  63. package/{docDeleteCommands-2E6JZXCP.js → docDeleteCommands-36WFALAY.js} +20 -19
  64. package/{docReadCommands-N2DQVLLT.js → docReadCommands-AR3Y34AJ.js} +19 -18
  65. package/{docStore-PFZCPHPC.js → docStore-ZFEMRTV7.js} +12 -11
  66. package/{docUpdateCommands-53KFSYEP.js → docUpdateCommands-BWWIKWYX.js} +19 -18
  67. package/{handleSendMessageAction-4IYJTQAL.js → handleSendMessageAction-D5EJ7VBI.js} +10 -10
  68. package/index.js +51 -51
  69. package/{machineCommands-CR34SD5W.js → machineCommands-ZRLA7LYE.js} +26 -25
  70. package/{machineWsRunDispatch-G4O3NQ3I.js → machineWsRunDispatch-KQTXJWGN.js} +26 -25
  71. package/package.json +1 -1
  72. package/{read-QK7ZRX6G.js → read-64OQDO3I.js} +3 -3
  73. package/{readDocTool-EYDMVRBL.js → readDocTool-MXM3T6PE.js} +1 -1
  74. package/{readlineWorkspace-OOXRR2NG.js → readlineWorkspace-W5LPUDCC.js} +30 -29
  75. package/{removeDialogAgentAction-TBW3UZJW.js → removeDialogAgentAction-NEKVAMSH.js} +7 -7
  76. package/{runAgentClientLoop-R5WNOWHI.js → runAgentClientLoop-B4D7T7GO.js} +22 -21
  77. package/{setDialogExtraReferencesAction-Q3ANF2NR.js → setDialogExtraReferencesAction-WTOHQDIV.js} +6 -6
  78. package/{setPrimaryDialogAgentAction-FQ5R3EFJ.js → setPrimaryDialogAgentAction-LDJOYC4F.js} +7 -7
  79. package/{settingSlice-JKKV2T7O.js → settingSlice-4M37TN7V.js} +6 -6
  80. package/{spaceCommands-RZN5K5ND.js → spaceCommands-HQAPY3MM.js} +203 -21
  81. package/{spaceSlice-3BVGRL3V.js → spaceSlice-5Q4MHBAG.js} +11 -10
  82. package/{streamAgentChatTurn-RVOJZ2HO.js → streamAgentChatTurn-B7EL5LGJ.js} +26 -24
  83. package/{switchDialogAgentAction-QQGVE4SL.js → switchDialogAgentAction-XVWGKR2Z.js} +5 -5
  84. package/{tableCommands-PRJNWN6Q.js → tableCommands-RJZ3V4TF.js} +1 -1
  85. package/{tools-QAKUH2P6.js → tools-BTAZSZ6Z.js} +19 -18
  86. package/{updateDialogTitleAction-4O5PZVQR.js → updateDialogTitleAction-FROWB7ZK.js} +14 -12
  87. package/chunk-O6YCGBJB.js +0 -16338
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-DCDL3GC4.js";
7
7
  import {
8
8
  fetchAndCacheTableRows
9
- } from "./chunk-O6YCGBJB.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-446VANPP.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-DWQNDGO7.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-ZFTCLBEX.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-QAKUH2P6.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-3BVGRL3V.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-F3A5IZSX.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-QK7ZRX6G.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-A4JDTA5T.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-DWQNDGO7.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-ZFTCLBEX.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-QDNVDGLN.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-6QP7LEI6.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-2TZP235J.js";
39
+ } from "./chunk-EJZ7JUJQ.js";
40
40
  import {
41
41
  estimateTokenCount,
42
42
  shouldUseServerProxy
43
- } from "./chunk-O6YCGBJB.js";
43
+ } from "./chunk-TNEZPPUH.js";
44
44
  import {
45
45
  createFileCredentialBroker,
46
46
  fetchServerSyncedCredential
47
- } from "./chunk-4ZMTXQFB.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-A4JDTA5T.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-72NVMKWA.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-7QW64TCG.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-3IPBZISR.js";
76
+ } from "./chunk-NB3ZWVV5.js";
77
77
  import {
78
78
  inferCaptureIntent,
79
79
  resolveHistoricalToolContentCap,
80
80
  summarizeToolArguments
81
- } from "./chunk-IUA36RS4.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-6QP7LEI6.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-2TZP235J.js";
130
+ } from "./chunk-EJZ7JUJQ.js";
131
131
  import {
132
132
  applyTokenUsageToDayStats,
133
133
  prepareTokenUsageData,
134
134
  resolveBuiltinPlatformAgentConfig,
135
135
  runKeyed
136
- } from "./chunk-O6YCGBJB.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-4ZMTXQFB.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-DWQNDGO7.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-O6YCGBJB.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-O6YCGBJB.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-A4JDTA5T.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-ZFTCLBEX.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-446VANPP.js";
4
+ } from "./chunk-G5GVZAXF.js";
5
5
  import {
6
6
  noloDeleteRequest,
7
7
  noloWriteRequest,
8
8
  selectIdentityUser,
9
9
  selectIdentityUserId
10
- } from "./chunk-ZFTCLBEX.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-GABCPUMC.js";
4
+ } from "./chunk-5MAO25MQ.js";
5
5
  import {
6
6
  agentRecordHasConfiguredCredential
7
- } from "./chunk-MNUJETMH.js";
7
+ } from "./chunk-YQDH6ZLQ.js";
8
8
  import {
9
9
  toSafeAgentSummary
10
- } from "./chunk-S342XWCB.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-BOL2D2JW.js";
5
+ } from "./chunk-ZJ2WITOO.js";
6
6
  import {
7
7
  readAction,
8
8
  readRequestManager,
9
9
  resolveAgentReadServers
10
- } from "./chunk-DWQNDGO7.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-ZFTCLBEX.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-QK7ZRX6G.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-FENWPT3C.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-A4JDTA5T.js";
11
+ } from "./chunk-LAXMH7JY.js";
12
12
  import {
13
13
  asyncThunkCreator,
14
14
  buildCreateSlice,
15
15
  getRuntimeServerContext
16
- } from "./chunk-ZFTCLBEX.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-FYUR7PQU.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-R5WNOWHI.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-RVOJZ2HO.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-6QP7LEI6.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-S342XWCB.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-2TZP235J.js";
46
+ } from "./chunk-EJZ7JUJQ.js";
47
47
  import {
48
48
  createDocState
49
- } from "./chunk-YK2QRWTO.js";
49
+ } from "./chunk-4ESWGXGU.js";
50
50
  import {
51
51
  setDialogExtraReferencesAction
52
- } from "./chunk-Q24P6TUS.js";
52
+ } from "./chunk-43EPBPZ2.js";
53
53
  import {
54
54
  readDocFunc,
55
55
  readDocFunctionSchema,
56
56
  readPageFunc,
57
57
  readPageFunctionSchema
58
- } from "./chunk-G5JHHUAK.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-JRI2BRJY.js";
72
+ } from "./chunk-KC6PXUBE.js";
73
73
  import {
74
74
  markdownToSlate
75
75
  } from "./chunk-3LY4F7SV.js";
@@ -77,39 +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
- selectCurrentUserBalance,
99
102
  selectMsgById,
100
103
  setWorkflow,
101
104
  uiAskChoiceFunc,
102
105
  uiAskChoiceFunctionSchema,
103
- updateContentCategory,
104
- updateContentTitle,
105
106
  updateStep
106
- } from "./chunk-O6YCGBJB.js";
107
+ } from "./chunk-TNEZPPUH.js";
107
108
  import {
108
109
  createAgent,
109
110
  runLlm,
110
111
  streamAgentChatTurn,
111
112
  updateAgent
112
- } from "./chunk-4ZMTXQFB.js";
113
+ } from "./chunk-MOSVVBDE.js";
113
114
  import {
114
115
  toErrorMessage
115
116
  } from "./chunk-HNMXYYJR.js";
@@ -125,7 +126,7 @@ import {
125
126
  addContentAction,
126
127
  createSpaceKey,
127
128
  normalizeSpaceId
128
- } from "./chunk-YLADSPDU.js";
129
+ } from "./chunk-V54H24CQ.js";
129
130
  import {
130
131
  DEFAULT_MODEL
131
132
  } from "./chunk-EIQDGAAE.js";
@@ -137,14 +138,14 @@ import {
137
138
  } from "./chunk-VF4K2QE6.js";
138
139
  import {
139
140
  shareResourceAction
140
- } from "./chunk-DKRT67FG.js";
141
+ } from "./chunk-KGEVMUMI.js";
141
142
  import {
142
143
  AGENT_UPDATE_FIELD_NAMES,
143
144
  normalizeAgentUpdateFieldList,
144
145
  selectAutoApproveSelfUpdateFields,
145
146
  selectCurrentServer,
146
147
  selectSyncServers
147
- } from "./chunk-446VANPP.js";
148
+ } from "./chunk-G5GVZAXF.js";
148
149
  import {
149
150
  asRecordOrEmpty
150
151
  } from "./chunk-KX6YBIHG.js";
@@ -156,13 +157,13 @@ import {
156
157
  selectById,
157
158
  toTimestampMs,
158
159
  write
159
- } from "./chunk-A4JDTA5T.js";
160
+ } from "./chunk-LAXMH7JY.js";
160
161
  import {
161
162
  asTrimmedLowercaseString
162
163
  } from "./chunk-QSJ3HFEF.js";
163
164
  import {
164
165
  readAction
165
- } from "./chunk-DWQNDGO7.js";
166
+ } from "./chunk-ZJH3LKEW.js";
166
167
  import {
167
168
  extractCustomId
168
169
  } from "./chunk-TOW4E763.js";
@@ -171,12 +172,13 @@ import {
171
172
  getRuntimeServerContext,
172
173
  noloWriteRequest,
173
174
  selectIdentityToken,
175
+ selectIdentityUserBalance,
174
176
  selectIdentityUserId,
175
177
  selectRuntimeSnapshot
176
- } from "./chunk-ZFTCLBEX.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";
@@ -10182,7 +10184,7 @@ var appBuilder_locale_default = {
10182
10184
  }
10183
10185
  };
10184
10186
 
10185
- // packages/auth/gptProTier.ts
10187
+ // packages/core/gptProTier.ts
10186
10188
  var ADVANCED_FEATURE_MIN_BALANCE = 19;
10187
10189
  var GPT_PRO_REQUIRED_RECHARGE_AMOUNT = 199;
10188
10190
  function isGptProModel(provider, model) {
@@ -11539,7 +11541,7 @@ var findSpaceConfig = (nameOrId, allSpaces) => {
11539
11541
  async function createAgentToolFunc(args, thunkApi) {
11540
11542
  const state = thunkApi.getState();
11541
11543
  const currentUserId = selectIdentityUserId(state);
11542
- const currentBalance = selectCurrentUserBalance(state);
11544
+ const currentBalance = selectIdentityUserBalance(state);
11543
11545
  const allSpaces = selectAllMemberSpaces(state);
11544
11546
  if (!currentUserId) {
11545
11547
  throw new Error("\u521B\u5EFA Agent \u5931\u8D25\uFF1A\u5F53\u524D\u672A\u767B\u5F55\u6216\u7F3A\u5C11 userId\u3002");
@@ -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-4IWM2WIY.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-EYDMVRBL.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-Z5S5ZQ7I.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-PFZCPHPC.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-JKKV2T7O.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-MV6UZXZU.js";
3
+ } from "./chunk-H4LQQNMO.js";
4
4
  import {
5
5
  fetchReferenceContents
6
- } from "./chunk-QDNVDGLN.js";
6
+ } from "./chunk-ZKUHTOLW.js";
7
7
 
8
8
  // packages/ai/agent/fetchAgentContexts.ts
9
9
  async function fetchAgentContexts(references, dispatch) {