nolo-cli 0.30.0-alpha.9 → 0.30.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (91) hide show
  1. package/{_executeModel-5ARVVUIK.js → _executeModel-FYUR7PQU.js} +25 -26
  2. package/{action-HI3VRQLP.js → action-FENWPT3C.js} +7 -7
  3. package/{addContentAction-NCURJ6PK.js → addContentAction-Z5S5ZQ7I.js} +6 -6
  4. package/{addDialogAgentAction-RCY4ECF4.js → addDialogAgentAction-VUNVD2XR.js} +5 -5
  5. package/{agentDeleteCommand-5Q6TDCJU.js → agentDeleteCommand-HHP47ZB2.js} +18 -19
  6. package/{agentEmailCommands-DSX4BJ2I.js → agentEmailCommands-H6KRDTQW.js} +29 -30
  7. package/{agentListCommands-S66HL5RO.js → agentListCommands-GNVFOTB4.js} +20 -21
  8. package/{agentMachineCommands-ULCQ5ZNN.js → agentMachineCommands-4HJHI26F.js} +18 -19
  9. package/{agentRecordCommands-2AA3GEGO.js → agentRecordCommands-W6ITUONM.js} +28 -29
  10. package/{agentRunCommand-3KOT77XY.js → agentRunCommand-VDLU4VKR.js} +28 -29
  11. package/{agentRuntimeLocal-7TMDJD4S.js → agentRuntimeLocal-3X3ZTFT2.js} +15 -16
  12. package/{agentSlice-6IQRQZX3.js → agentSlice-5HYCSSTE.js} +6 -6
  13. package/{appDeleteCommands-UUDIWLNE.js → appDeleteCommands-WFUF34TE.js} +19 -20
  14. package/{appDeployCommands-CO6SZ7YP.js → appDeployCommands-J2EAE53G.js} +19 -20
  15. package/{appDeployStatusCommands-QEVKVECJ.js → appDeployStatusCommands-RLXDEHTV.js} +19 -20
  16. package/{appGetCommands-3YSCCLK4.js → appGetCommands-ZGV3CKCM.js} +19 -20
  17. package/{appListCommands-FBJAFZKK.js → appListCommands-3VRX3EJI.js} +19 -20
  18. package/{authCommand-3ADNCFKD.js → authCommand-RR5LAYSW.js} +3 -3
  19. package/{chunk-J3LHGBNO.js → chunk-2NYIVLAY.js} +1 -1
  20. package/{chunk-CYRMUTGB.js → chunk-2TZP235J.js} +6 -6
  21. package/{chunk-NZBH7FTB.js → chunk-3IPBZISR.js} +1 -1
  22. package/{chunk-Q243PXRU.js → chunk-3Z6SPX5X.js} +11 -11
  23. package/{chunk-G5GVZAXF.js → chunk-446VANPP.js} +4 -4
  24. package/{chunk-4F77PJBR.js → chunk-4ZMTXQFB.js} +5 -5
  25. package/{chunk-N2IX3ZYK.js → chunk-5NPAOURO.js} +1 -1
  26. package/{chunk-IPSPETAL.js → chunk-6QP7LEI6.js} +31 -38
  27. package/{chunk-GVPMJPCT.js → chunk-72NVMKWA.js} +1 -1
  28. package/{chunk-GKXS4F2I.js → chunk-7QW64TCG.js} +3 -3
  29. package/{chunk-LAXMH7JY.js → chunk-A4JDTA5T.js} +6 -6
  30. package/{chunk-ZJ2WITOO.js → chunk-BOL2D2JW.js} +2 -2
  31. package/{chunk-S2BMRBR2.js → chunk-CTLXD6HB.js} +3 -3
  32. package/{chunk-KGEVMUMI.js → chunk-DKRT67FG.js} +3 -3
  33. package/{chunk-ZJH3LKEW.js → chunk-DWQNDGO7.js} +2 -2
  34. package/{chunk-QBOW6RZN.js → chunk-F3A5IZSX.js} +2 -2
  35. package/{chunk-F3MP7CP6.js → chunk-G5JHHUAK.js} +1 -1
  36. package/{chunk-RWJPDKPB.js → chunk-GABCPUMC.js} +1 -1
  37. package/{chunk-VQ4QPCKE.js → chunk-IUA36RS4.js} +13 -15
  38. package/{chunk-ATK5WJOA.js → chunk-IZ3CBMD5.js} +4 -4
  39. package/{chunk-T4X4GCYT.js → chunk-JRI2BRJY.js} +5 -7
  40. package/{chunk-W3UDJJMA.js → chunk-KH3JS4D5.js} +9 -9
  41. package/{chunk-EDWM6D6L.js → chunk-LWP3HB56.js} +1 -1
  42. package/{chunk-2CYGIPJH.js → chunk-LWYIHJKD.js} +2 -2
  43. package/{chunk-PIC6Z7VI.js → chunk-MNUJETMH.js} +1 -1
  44. package/{chunk-R5Y4XELF.js → chunk-MV6UZXZU.js} +8 -8
  45. package/chunk-O6YCGBJB.js +16338 -0
  46. package/{chunk-43EPBPZ2.js → chunk-Q24P6TUS.js} +1 -1
  47. package/{chunk-OIW2RJ74.js → chunk-QDNVDGLN.js} +5 -5
  48. package/{chunk-ARPAHODF.js → chunk-R2JHVPHL.js} +4 -4
  49. package/{chunk-5RDLGLAP.js → chunk-R5V5G73M.js} +1 -0
  50. package/{chunk-2HQ4OG6N.js → chunk-S342XWCB.js} +1 -1
  51. package/{chunk-TXVSNFHC.js → chunk-TAS3THIF.js} +3 -3
  52. package/{chunk-BIPRFBC2.js → chunk-V5BWE46D.js} +2 -2
  53. package/{chunk-EBNSAABL.js → chunk-WJD5RNVB.js} +1 -1
  54. package/{chunk-6JH2DF7J.js → chunk-YK2QRWTO.js} +3 -3
  55. package/{chunk-V54H24CQ.js → chunk-YLADSPDU.js} +2 -2
  56. package/{chunk-2SOQY5L6.js → chunk-YX26YZL4.js} +12 -14
  57. package/{chunk-2IJAKBK2.js → chunk-ZFTCLBEX.js} +1 -3
  58. package/{createAgentAutomationAction-EYNYY2LB.js → createAgentAutomationAction-EKABYSSA.js} +10 -11
  59. package/{createDialogAction-OUIRWYZP.js → createDialogAction-HLP6TV4H.js} +11 -12
  60. package/{createPageAction-2I5PHJFF.js → createPageAction-4NEEWW6S.js} +10 -11
  61. package/{dbSlice-BBL3PEVW.js → dbSlice-OBV7VFCF.js} +5 -5
  62. package/{deleteFile-RJTEPOT4.js → deleteFile-AC45HYSM.js} +3 -3
  63. package/{dialogCommands-5CL4QYQ7.js → dialogCommands-XB3ZNSP3.js} +19 -20
  64. package/{dialogSlice-EKKVFKBJ.js → dialogSlice-4IWM2WIY.js} +10 -10
  65. package/{docCreateCommands-QHCLYGNW.js → docCreateCommands-QSPTTAN7.js} +18 -19
  66. package/{docDeleteCommands-DS6KOU6N.js → docDeleteCommands-2E6JZXCP.js} +19 -20
  67. package/{docReadCommands-FRI5DAKH.js → docReadCommands-N2DQVLLT.js} +18 -19
  68. package/{docStore-V7EJS4PX.js → docStore-PFZCPHPC.js} +11 -12
  69. package/{docUpdateCommands-RQO5ZTXT.js → docUpdateCommands-53KFSYEP.js} +18 -19
  70. package/{handleSendMessageAction-KCF7KII4.js → handleSendMessageAction-4IYJTQAL.js} +10 -10
  71. package/index.js +57 -57
  72. package/{machineCommands-IAGAKTHV.js → machineCommands-CR34SD5W.js} +27 -28
  73. package/{machineWsRunDispatch-JGKC2HEK.js → machineWsRunDispatch-G4O3NQ3I.js} +27 -28
  74. package/package.json +1 -1
  75. package/{read-64OQDO3I.js → read-QK7ZRX6G.js} +3 -3
  76. package/{readDocTool-MXM3T6PE.js → readDocTool-EYDMVRBL.js} +1 -1
  77. package/{readlineWorkspace-5AQHHIBK.js → readlineWorkspace-UAF5D7TC.js} +52 -90
  78. package/{removeDialogAgentAction-NEKVAMSH.js → removeDialogAgentAction-TBW3UZJW.js} +7 -7
  79. package/{runAgentClientLoop-6OGPS6SI.js → runAgentClientLoop-R5WNOWHI.js} +22 -23
  80. package/{setDialogExtraReferencesAction-WTOHQDIV.js → setDialogExtraReferencesAction-Q3ANF2NR.js} +6 -6
  81. package/{setPrimaryDialogAgentAction-LDJOYC4F.js → setPrimaryDialogAgentAction-FQ5R3EFJ.js} +7 -7
  82. package/{settingSlice-4M37TN7V.js → settingSlice-JKKV2T7O.js} +6 -6
  83. package/{spaceCommands-VTDNKTSF.js → spaceCommands-RZN5K5ND.js} +21 -203
  84. package/{spaceSlice-LGUZMB7Y.js → spaceSlice-3BVGRL3V.js} +10 -11
  85. package/{streamAgentChatTurn-TIGCZUNZ.js → streamAgentChatTurn-RVOJZ2HO.js} +25 -27
  86. package/{switchDialogAgentAction-XVWGKR2Z.js → switchDialogAgentAction-QQGVE4SL.js} +5 -5
  87. package/{tableCommands-RJZ3V4TF.js → tableCommands-PRJNWN6Q.js} +1 -1
  88. package/{tools-BQAOPYMR.js → tools-QAKUH2P6.js} +18 -19
  89. package/{updateDialogTitleAction-E6HMEDPH.js → updateDialogTitleAction-4O5PZVQR.js} +12 -14
  90. package/chunk-LEVCXTDN.js +0 -5558
  91. package/chunk-YLC42PIE.js +0 -7889
@@ -5,45 +5,44 @@ import {
5
5
  pickDefined,
6
6
  printCliError,
7
7
  resolveCliContext
8
- } from "./chunk-N2IX3ZYK.js";
8
+ } from "./chunk-5NPAOURO.js";
9
9
  import {
10
10
  hasFlag,
11
11
  hasHelpArg
12
- } from "./chunk-QBOW6RZN.js";
13
- import "./chunk-PIC6Z7VI.js";
14
- import "./chunk-GVPMJPCT.js";
12
+ } from "./chunk-F3A5IZSX.js";
13
+ import "./chunk-MNUJETMH.js";
14
+ import "./chunk-72NVMKWA.js";
15
15
  import "./chunk-K6QEHQZ3.js";
16
- import "./chunk-GKXS4F2I.js";
16
+ import "./chunk-7QW64TCG.js";
17
17
  import "./chunk-ZNFJWEN4.js";
18
18
  import "./chunk-XORE26Z4.js";
19
19
  import "./chunk-OIQPORYI.js";
20
20
  import "./chunk-T27IEBNQ.js";
21
- import "./chunk-VQ4QPCKE.js";
21
+ import "./chunk-IUA36RS4.js";
22
22
  import "./chunk-N7J63Q6C.js";
23
23
  import "./chunk-PJY5AH5A.js";
24
- import "./chunk-OIW2RJ74.js";
24
+ import "./chunk-QDNVDGLN.js";
25
25
  import "./chunk-D34RI6NI.js";
26
26
  import "./chunk-WTPC3XD4.js";
27
27
  import "./chunk-4PWB7JRR.js";
28
28
  import "./chunk-2MBTWINN.js";
29
- import "./chunk-CYRMUTGB.js";
30
- import "./chunk-6JH2DF7J.js";
29
+ import "./chunk-2TZP235J.js";
30
+ import "./chunk-YK2QRWTO.js";
31
31
  import "./chunk-SWYMCHM7.js";
32
32
  import "./chunk-44HACRCK.js";
33
33
  import "./chunk-DCDL3GC4.js";
34
34
  import "./chunk-PACNSC37.js";
35
- import "./chunk-YLC42PIE.js";
36
- import "./chunk-LEVCXTDN.js";
35
+ import "./chunk-O6YCGBJB.js";
37
36
  import "./chunk-OB6FBSH3.js";
38
- import "./chunk-ATK5WJOA.js";
39
- import "./chunk-4F77PJBR.js";
37
+ import "./chunk-IZ3CBMD5.js";
38
+ import "./chunk-4ZMTXQFB.js";
40
39
  import "./chunk-JZPBVBIY.js";
41
40
  import "./chunk-5RGU3J7P.js";
42
41
  import "./chunk-M76ECQRD.js";
43
42
  import "./chunk-HNMXYYJR.js";
44
43
  import "./chunk-DWLEOOGR.js";
45
44
  import "./chunk-3ASDTTEI.js";
46
- import "./chunk-V54H24CQ.js";
45
+ import "./chunk-YLADSPDU.js";
47
46
  import "./chunk-WTGCTVJG.js";
48
47
  import "./chunk-CWMSB67P.js";
49
48
  import "./chunk-EIQDGAAE.js";
@@ -55,15 +54,15 @@ import {
55
54
  readOption
56
55
  } from "./chunk-A7GB5UGH.js";
57
56
  import "./chunk-OLZBQWZU.js";
58
- import "./chunk-G5GVZAXF.js";
57
+ import "./chunk-446VANPP.js";
59
58
  import "./chunk-KX6YBIHG.js";
60
- import "./chunk-LAXMH7JY.js";
61
- import "./chunk-ZJ2WITOO.js";
59
+ import "./chunk-A4JDTA5T.js";
60
+ import "./chunk-BOL2D2JW.js";
62
61
  import "./chunk-QSJ3HFEF.js";
63
- import "./chunk-ZJH3LKEW.js";
62
+ import "./chunk-DWQNDGO7.js";
64
63
  import "./chunk-TOW4E763.js";
65
- import "./chunk-2IJAKBK2.js";
66
- import "./chunk-5RDLGLAP.js";
64
+ import "./chunk-ZFTCLBEX.js";
65
+ import "./chunk-R5V5G73M.js";
67
66
  import "./chunk-LCBAMY2M.js";
68
67
  import "./chunk-4SN6J65J.js";
69
68
  import "./chunk-CF7PE763.js";
@@ -6,7 +6,7 @@ import {
6
6
  parseFlagWithOptionalValue,
7
7
  runCloudflareOAuthLogin,
8
8
  upsertEnvVariable
9
- } from "./chunk-EDWM6D6L.js";
9
+ } from "./chunk-LWP3HB56.js";
10
10
  import "./chunk-6HYVJV7B.js";
11
11
  import {
12
12
  ANTHROPIC_OAUTH_AUTHORIZE_URL,
@@ -46,11 +46,11 @@ import {
46
46
  startCallbackServer,
47
47
  validateXAIEndpoint,
48
48
  xaiOAuthDiscovery
49
- } from "./chunk-EBNSAABL.js";
49
+ } from "./chunk-WJD5RNVB.js";
50
50
  import "./chunk-WJRJDX2W.js";
51
51
  import "./chunk-LM6IYQ3F.js";
52
52
  import "./chunk-JBTJAPUF.js";
53
- import "./chunk-J3LHGBNO.js";
53
+ import "./chunk-2NYIVLAY.js";
54
54
  import "./chunk-WTPC3XD4.js";
55
55
  import {
56
56
  createOAuthTokenStore
@@ -15,7 +15,7 @@ import {
15
15
  } from "./chunk-G3SUCT4W.js";
16
16
 
17
17
  // packages/agent-runtime/antigravityOAuth.ts
18
- var decodeBase64 = (s) => typeof Buffer !== "undefined" ? Buffer.from(s, "base64").toString("utf8") : typeof atob === "function" ? atob(s) : s;
18
+ var decodeBase64 = (s) => Buffer.from(s, "base64").toString("utf8");
19
19
  var ANTIGRAVITY_CLIENT_ID = decodeBase64(
20
20
  "MTA3MTAwNjA2MDU5MS10bWhzc2luMmgyMWxjcmUyMzV2dG9sb2poNGc0MDNlcC5hcHBzLmdvb2dsZXVzZXJjb250ZW50LmNvbQ=="
21
21
  );
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-DCDL3GC4.js";
7
7
  import {
8
8
  fetchAndCacheTableRows
9
- } from "./chunk-YLC42PIE.js";
9
+ } from "./chunk-O6YCGBJB.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-G5GVZAXF.js";
18
+ } from "./chunk-446VANPP.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-ZJH3LKEW.js";
24
+ } from "./chunk-DWQNDGO7.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-2IJAKBK2.js";
32
+ } from "./chunk-ZFTCLBEX.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-BQAOPYMR.js");
1624
+ const { findToolExecutor } = await import("./tools-QAKUH2P6.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-LGUZMB7Y.js");
1648
+ const { fetchUserSpaceMemberships } = await import("./spaceSlice-3BVGRL3V.js");
1649
1649
  await thunkApi.dispatch(fetchUserSpaceMemberships(userId));
1650
1650
  }
1651
1651
  }
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  i18n_default,
3
3
  toolRegistry
4
- } from "./chunk-IPSPETAL.js";
4
+ } from "./chunk-6QP7LEI6.js";
5
5
  import {
6
6
  isNoloHostedProvider
7
7
  } from "./chunk-CAENRKNJ.js";
@@ -4,7 +4,7 @@ import {
4
4
  refreshAntigravityOAuthToken,
5
5
  refreshOpenAiCodexToken,
6
6
  xaiRefresh
7
- } from "./chunk-EBNSAABL.js";
7
+ } from "./chunk-WJD5RNVB.js";
8
8
  import {
9
9
  ackRunRecord,
10
10
  checkStaleRun,
@@ -26,7 +26,7 @@ import {
26
26
  } from "./chunk-WJRJDX2W.js";
27
27
  import {
28
28
  buildLocalAgentLookupKeys
29
- } from "./chunk-GVPMJPCT.js";
29
+ } from "./chunk-72NVMKWA.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-GKXS4F2I.js";
56
+ } from "./chunk-7QW64TCG.js";
57
57
  import {
58
58
  buildPlatformChatCompletionRequest,
59
59
  canUsePlatformChatProvider,
@@ -73,18 +73,18 @@ import {
73
73
  import {
74
74
  inlineImageUrlsForCustomProvider,
75
75
  prepareTools
76
- } from "./chunk-NZBH7FTB.js";
76
+ } from "./chunk-3IPBZISR.js";
77
77
  import {
78
78
  inferCaptureIntent,
79
79
  resolveHistoricalToolContentCap,
80
80
  summarizeToolArguments
81
- } from "./chunk-VQ4QPCKE.js";
81
+ } from "./chunk-IUA36RS4.js";
82
82
  import {
83
83
  getAntigravityUserAgent,
84
84
  isAntigravityOAuthAgent,
85
85
  readAntigravityProjectId,
86
86
  resolveAntigravityCloudCodeBaseUrl
87
- } from "./chunk-J3LHGBNO.js";
87
+ } from "./chunk-2NYIVLAY.js";
88
88
  import {
89
89
  convertMessagesToResponsesInput,
90
90
  toResponsesTools
@@ -103,7 +103,7 @@ import {
103
103
  readXhsProfileFunctionSchema,
104
104
  rememberMemoryFunctionSchema,
105
105
  setTodoListFunc
106
- } from "./chunk-IPSPETAL.js";
106
+ } from "./chunk-6QP7LEI6.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-CYRMUTGB.js";
130
+ } from "./chunk-2TZP235J.js";
131
131
  import {
132
132
  applyTokenUsageToDayStats,
133
133
  prepareTokenUsageData,
134
134
  resolveBuiltinPlatformAgentConfig,
135
135
  runKeyed
136
- } from "./chunk-LEVCXTDN.js";
136
+ } from "./chunk-O6YCGBJB.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-4F77PJBR.js";
147
+ } from "./chunk-4ZMTXQFB.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-ZJH3LKEW.js";
178
+ } from "./chunk-DWQNDGO7.js";
179
179
  import {
180
180
  NOLO_CLUSTER_SERVERS
181
181
  } from "./chunk-LCBAMY2M.js";
@@ -7,13 +7,13 @@ import {
7
7
  toTimestampMs,
8
8
  upsert,
9
9
  write
10
- } from "./chunk-LAXMH7JY.js";
10
+ } from "./chunk-A4JDTA5T.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-ZJH3LKEW.js";
16
+ } from "./chunk-DWQNDGO7.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-2IJAKBK2.js";
24
+ } from "./chunk-ZFTCLBEX.js";
25
25
  import {
26
26
  getAllServers,
27
27
  getIsDesktopApp,
28
28
  isProduction
29
- } from "./chunk-5RDLGLAP.js";
29
+ } from "./chunk-R5V5G73M.js";
30
30
  import {
31
31
  SERVERS
32
32
  } from "./chunk-LCBAMY2M.js";
@@ -8,12 +8,12 @@ import {
8
8
  patch,
9
9
  remove,
10
10
  write
11
- } from "./chunk-LAXMH7JY.js";
11
+ } from "./chunk-A4JDTA5T.js";
12
12
  import {
13
13
  asyncThunkCreator,
14
14
  buildCreateSlice,
15
15
  getRuntimeServerContext
16
- } from "./chunk-2IJAKBK2.js";
16
+ } from "./chunk-ZFTCLBEX.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-5ARVVUIK.js");
586
+ const { _executeModel } = await import("./_executeModel-FYUR7PQU.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-6OGPS6SI.js");
607
+ const { runAgentClientLoop } = await import("./runAgentClientLoop-R5WNOWHI.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-TIGCZUNZ.js");
623
+ const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-RVOJZ2HO.js");
624
624
  return streamAgentChatTurnHandler(args, thunkApi);
625
625
  }),
626
626
  /**
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  requireTokenUser
3
- } from "./chunk-QBOW6RZN.js";
3
+ } from "./chunk-F3A5IZSX.js";
4
4
  import {
5
5
  resolveServerUrl
6
6
  } from "./chunk-A7GB5UGH.js";
@@ -17,7 +17,7 @@ import {
17
17
  import {
18
18
  sortSafeAgentSummaries,
19
19
  toSafeAgentSummary
20
- } from "./chunk-2HQ4OG6N.js";
20
+ } from "./chunk-S342XWCB.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-CYRMUTGB.js";
46
+ } from "./chunk-2TZP235J.js";
47
47
  import {
48
48
  createDocState
49
- } from "./chunk-6JH2DF7J.js";
49
+ } from "./chunk-YK2QRWTO.js";
50
50
  import {
51
51
  setDialogExtraReferencesAction
52
- } from "./chunk-43EPBPZ2.js";
52
+ } from "./chunk-Q24P6TUS.js";
53
53
  import {
54
54
  readDocFunc,
55
55
  readDocFunctionSchema,
56
56
  readPageFunc,
57
57
  readPageFunctionSchema
58
- } from "./chunk-F3MP7CP6.js";
58
+ } from "./chunk-G5JHHUAK.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-T4X4GCYT.js";
72
+ } from "./chunk-JRI2BRJY.js";
73
73
  import {
74
74
  markdownToSlate
75
75
  } from "./chunk-3LY4F7SV.js";
@@ -77,40 +77,39 @@ import {
77
77
  addCategory,
78
78
  addContentToSpace,
79
79
  addRow,
80
+ buildDatabaseFileContentUrl,
80
81
  createTable,
81
82
  deleteDbKey,
82
83
  deleteSpace,
83
84
  fetchUserData,
84
85
  i18nBaseConfig,
86
+ incrementFailedSteps,
87
+ incrementStepsExecuted,
85
88
  initReactI18next,
86
89
  instance,
87
90
  loadTableRows,
88
- selectAllMemberSpaces,
89
- selectCurrentSpaceId,
90
- updateContentCategory,
91
- updateContentTitle
92
- } from "./chunk-YLC42PIE.js";
93
- import {
94
- buildDatabaseFileContentUrl,
95
- incrementFailedSteps,
96
- incrementStepsExecuted,
97
91
  normalizeAppRouteId,
98
92
  resolveDialogRuntimeAgentKey,
93
+ selectAllMemberSpaces,
99
94
  selectAllMsgs,
100
95
  selectCurrentDialogConfig,
101
96
  selectCurrentDialogId,
97
+ selectCurrentSpaceId,
98
+ selectCurrentUserBalance,
102
99
  selectMsgById,
103
100
  setWorkflow,
104
101
  uiAskChoiceFunc,
105
102
  uiAskChoiceFunctionSchema,
103
+ updateContentCategory,
104
+ updateContentTitle,
106
105
  updateStep
107
- } from "./chunk-LEVCXTDN.js";
106
+ } from "./chunk-O6YCGBJB.js";
108
107
  import {
109
108
  createAgent,
110
109
  runLlm,
111
110
  streamAgentChatTurn,
112
111
  updateAgent
113
- } from "./chunk-4F77PJBR.js";
112
+ } from "./chunk-4ZMTXQFB.js";
114
113
  import {
115
114
  toErrorMessage
116
115
  } from "./chunk-HNMXYYJR.js";
@@ -126,7 +125,7 @@ import {
126
125
  addContentAction,
127
126
  createSpaceKey,
128
127
  normalizeSpaceId
129
- } from "./chunk-V54H24CQ.js";
128
+ } from "./chunk-YLADSPDU.js";
130
129
  import {
131
130
  DEFAULT_MODEL
132
131
  } from "./chunk-EIQDGAAE.js";
@@ -138,14 +137,14 @@ import {
138
137
  } from "./chunk-VF4K2QE6.js";
139
138
  import {
140
139
  shareResourceAction
141
- } from "./chunk-KGEVMUMI.js";
140
+ } from "./chunk-DKRT67FG.js";
142
141
  import {
143
142
  AGENT_UPDATE_FIELD_NAMES,
144
143
  normalizeAgentUpdateFieldList,
145
144
  selectAutoApproveSelfUpdateFields,
146
145
  selectCurrentServer,
147
146
  selectSyncServers
148
- } from "./chunk-G5GVZAXF.js";
147
+ } from "./chunk-446VANPP.js";
149
148
  import {
150
149
  asRecordOrEmpty
151
150
  } from "./chunk-KX6YBIHG.js";
@@ -157,13 +156,13 @@ import {
157
156
  selectById,
158
157
  toTimestampMs,
159
158
  write
160
- } from "./chunk-LAXMH7JY.js";
159
+ } from "./chunk-A4JDTA5T.js";
161
160
  import {
162
161
  asTrimmedLowercaseString
163
162
  } from "./chunk-QSJ3HFEF.js";
164
163
  import {
165
164
  readAction
166
- } from "./chunk-ZJH3LKEW.js";
165
+ } from "./chunk-DWQNDGO7.js";
167
166
  import {
168
167
  extractCustomId
169
168
  } from "./chunk-TOW4E763.js";
@@ -172,13 +171,12 @@ import {
172
171
  getRuntimeServerContext,
173
172
  noloWriteRequest,
174
173
  selectIdentityToken,
175
- selectIdentityUserBalance,
176
174
  selectIdentityUserId,
177
175
  selectRuntimeSnapshot
178
- } from "./chunk-2IJAKBK2.js";
176
+ } from "./chunk-ZFTCLBEX.js";
179
177
  import {
180
178
  isAbortError
181
- } from "./chunk-5RDLGLAP.js";
179
+ } from "./chunk-R5V5G73M.js";
182
180
  import {
183
181
  API_ENDPOINTS
184
182
  } from "./chunk-LCBAMY2M.js";
@@ -10184,7 +10182,7 @@ var appBuilder_locale_default = {
10184
10182
  }
10185
10183
  };
10186
10184
 
10187
- // packages/core/gptProTier.ts
10185
+ // packages/auth/gptProTier.ts
10188
10186
  var ADVANCED_FEATURE_MIN_BALANCE = 19;
10189
10187
  var GPT_PRO_REQUIRED_RECHARGE_AMOUNT = 199;
10190
10188
  function isGptProModel(provider, model) {
@@ -11541,7 +11539,7 @@ var findSpaceConfig = (nameOrId, allSpaces) => {
11541
11539
  async function createAgentToolFunc(args, thunkApi) {
11542
11540
  const state = thunkApi.getState();
11543
11541
  const currentUserId = selectIdentityUserId(state);
11544
- const currentBalance = selectIdentityUserBalance(state);
11542
+ const currentBalance = selectCurrentUserBalance(state);
11545
11543
  const allSpaces = selectAllMemberSpaces(state);
11546
11544
  if (!currentUserId) {
11547
11545
  throw new Error("\u521B\u5EFA Agent \u5931\u8D25\uFF1A\u5F53\u524D\u672A\u767B\u5F55\u6216\u7F3A\u5C11 userId\u3002");
@@ -13920,7 +13918,7 @@ async function deleteDialogsFunc(args, thunkApi) {
13920
13918
  const deletedDialogIds = [];
13921
13919
  const deletedDialogKeys = [];
13922
13920
  const failures = [];
13923
- const { deleteDialog } = await import("./dialogSlice-EKKVFKBJ.js");
13921
+ const { deleteDialog } = await import("./dialogSlice-4IWM2WIY.js");
13924
13922
  for (const target of targets) {
13925
13923
  try {
13926
13924
  await thunkApi.dispatch(deleteDialog(target.dbKey)).unwrap();
@@ -14189,7 +14187,7 @@ var readSkillDocFunctionSchema = {
14189
14187
  }
14190
14188
  };
14191
14189
  async function readSkillDocFunc(args, thunkApi) {
14192
- const { buildReadDocResult } = await import("./readDocTool-MXM3T6PE.js");
14190
+ const { buildReadDocResult } = await import("./readDocTool-EYDMVRBL.js");
14193
14191
  const id = args?.id ?? args?.doc ?? args?.docKey ?? args?.pageKey;
14194
14192
  if (typeof id !== "string" || !id.trim()) {
14195
14193
  throw new Error("readSkillDoc requires id or doc.");
@@ -16749,12 +16747,7 @@ var inlineCssUrlAssets = async (args) => {
16749
16747
  const assetUrl = new URL(rawRef, args.cssUrl).toString();
16750
16748
  if (!replacements.has(rawRef)) {
16751
16749
  const bytes = await fetchBytes(assetUrl, args.fetchImpl);
16752
- const chunkSize = 32766;
16753
- let base64 = "";
16754
- const u8 = new Uint8Array(bytes);
16755
- for (let i = 0; i < u8.length; i += chunkSize) {
16756
- base64 += btoa(String.fromCharCode(...u8.subarray(i, i + chunkSize)));
16757
- }
16750
+ const base64 = Buffer.from(bytes).toString("base64");
16758
16751
  replacements.set(
16759
16752
  rawRef,
16760
16753
  `data:${guessMimeType(assetUrl)};base64,${base64}`
@@ -19644,7 +19637,7 @@ var selectUserIdFromState = (state) => typeof state?.auth?.currentUser?.userId =
19644
19637
  var selectCurrentServerFromState = (state) => typeof state?.settings?.currentServer === "string" ? state.settings.currentServer : null;
19645
19638
  async function addImageContentToSpace(input) {
19646
19639
  const injectedAddContentAction = input.thunkApi?.extra?.addContentAction;
19647
- const addContentAction2 = typeof injectedAddContentAction === "function" ? injectedAddContentAction : (await import("./addContentAction-NCURJ6PK.js")).addContentAction;
19640
+ const addContentAction2 = typeof injectedAddContentAction === "function" ? injectedAddContentAction : (await import("./addContentAction-Z5S5ZQ7I.js")).addContentAction;
19648
19641
  await addContentAction2(
19649
19642
  {
19650
19643
  spaceId: input.spaceId,
@@ -25670,7 +25663,7 @@ async function updateDocFunc(args, thunkApi) {
25670
25663
  updated_at: (/* @__PURE__ */ new Date()).toISOString()
25671
25664
  };
25672
25665
  await dispatch(write({ data: updatedPageData, customKey: id })).unwrap();
25673
- const { getDocState, applyExternalDocUpdate } = await import("./docStore-V7EJS4PX.js");
25666
+ const { getDocState, applyExternalDocUpdate } = await import("./docStore-PFZCPHPC.js");
25674
25667
  if (getDocState().pageKey === id) {
25675
25668
  applyExternalDocUpdate({
25676
25669
  slateData: finalSlateData,
@@ -25695,7 +25688,7 @@ async function updateDocFunc(args, thunkApi) {
25695
25688
  // packages/ai/tools/updateUserPreferenceProfileTool.ts
25696
25689
  async function dispatchSetSettings(thunkApi, changes) {
25697
25690
  const injectedSetSettings = thunkApi?.extra?.setSettings;
25698
- const setSettings = typeof injectedSetSettings === "function" ? injectedSetSettings : (await import("./settingSlice-4M37TN7V.js")).setSettings;
25691
+ const setSettings = typeof injectedSetSettings === "function" ? injectedSetSettings : (await import("./settingSlice-JKKV2T7O.js")).setSettings;
25699
25692
  await thunkApi.dispatch(setSettings(changes)).unwrap();
25700
25693
  }
25701
25694
  var updateUserPreferenceProfileFunctionSchema = {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  buildAgentRuntimeAgentLookupKeys,
3
3
  shouldFetchAgentRuntimeRecordRemotely
4
- } from "./chunk-CYRMUTGB.js";
4
+ } from "./chunk-2TZP235J.js";
5
5
 
6
6
  // packages/cli/client/localAgentRecords.ts
7
7
  var buildLocalAgentLookupKeys = buildAgentRuntimeAgentLookupKeys;
@@ -11,7 +11,7 @@ import {
11
11
  import {
12
12
  parseToolArgumentsJson,
13
13
  resolveHistoricalToolContentCap
14
- } from "./chunk-VQ4QPCKE.js";
14
+ } from "./chunk-IUA36RS4.js";
15
15
  import {
16
16
  createThinkParserState,
17
17
  createToolCallAccumulator,
@@ -22,7 +22,7 @@ import {
22
22
  import {
23
23
  requiresBareImageUrl,
24
24
  toBareImageUrlMessages
25
- } from "./chunk-OIW2RJ74.js";
25
+ } from "./chunk-QDNVDGLN.js";
26
26
  import {
27
27
  shouldStripReasoningContentForOutbound,
28
28
  toOpenAiCompatibleMessages
@@ -39,7 +39,7 @@ import {
39
39
  buildNoloWorkspaceCommandArgs,
40
40
  noloStringArg,
41
41
  parseNoloWorkspaceToolArguments
42
- } from "./chunk-CYRMUTGB.js";
42
+ } from "./chunk-2TZP235J.js";
43
43
  import {
44
44
  toErrorMessage
45
45
  } from "./chunk-HNMXYYJR.js";
@@ -2,12 +2,12 @@ import {
2
2
  loadFileFromIndexedDb,
3
3
  removeAction,
4
4
  saveFileToIndexedDb
5
- } from "./chunk-ZJ2WITOO.js";
5
+ } from "./chunk-BOL2D2JW.js";
6
6
  import {
7
7
  readAction,
8
8
  readRequestManager,
9
9
  resolveAgentReadServers
10
- } from "./chunk-ZJH3LKEW.js";
10
+ } from "./chunk-DWQNDGO7.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-2IJAKBK2.js";
30
+ } from "./chunk-ZFTCLBEX.js";
31
31
  import {
32
32
  fetchFromClientDb,
33
33
  fetchFromServer,
34
34
  logger,
35
35
  normalizeTimeFields
36
- } from "./chunk-5RDLGLAP.js";
36
+ } from "./chunk-R5V5G73M.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-64OQDO3I.js");
707
+ const { readAction: readAction2 } = await import("./read-QK7ZRX6G.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-HI3VRQLP.js");
781
+ const { shareResourceAction } = await import("./action-FENWPT3C.js");
782
782
  return shareResourceAction(config, thunkApi);
783
783
  }
784
784
  ),
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  getRuntimeServerContext,
3
3
  scheduleDeleteReplication
4
- } from "./chunk-2IJAKBK2.js";
4
+ } from "./chunk-ZFTCLBEX.js";
5
5
  import {
6
6
  fetchFromClientDb
7
- } from "./chunk-5RDLGLAP.js";
7
+ } from "./chunk-R5V5G73M.js";
8
8
  import {
9
9
  buildTombstoneRecord
10
10
  } from "./chunk-GBRG75BQ.js";