nolo-cli 0.97.5 → 0.97.7

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 (140) hide show
  1. package/{_executeModel-GWED52PB.js → _executeModel-RMLQFUCS.js} +69 -67
  2. package/action-PNPQLJHG.js +20 -0
  3. package/{addContentAction-B2DRF7P6.js → addContentAction-DX6T34JR.js} +13 -12
  4. package/{addDialogAgentAction-T3I7IXPK.js → addDialogAgentAction-6SGG37BF.js} +17 -16
  5. package/{agentDeleteCommand-FH462XO5.js → agentDeleteCommand-76VXVM3N.js} +40 -39
  6. package/{agentEmailCommands-6UNG6QKI.js → agentEmailCommands-FQKGKT55.js} +79 -77
  7. package/{agentListCommands-7QQZXKMN.js → agentListCommands-62NGDFOS.js} +50 -49
  8. package/{agentMachineCommands-DCBE3CPT.js → agentMachineCommands-ROITVU5E.js} +38 -37
  9. package/{agentProviderCommands-EMZCM6VA.js → agentProviderCommands-SG535ZMY.js} +1 -1
  10. package/{agentPullCommand-HF4A42D4.js → agentPullCommand-5DOL6RGF.js} +1 -1
  11. package/{agentRecordCommands-TNOVFCQ3.js → agentRecordCommands-ILR67636.js} +73 -71
  12. package/{agentRunCommand-PAUTLE6D.js → agentRunCommand-6HJG3XVZ.js} +76 -74
  13. package/{agentRunControl-2TTTUTSW.js → agentRunControl-3HWA2LLQ.js} +2 -2
  14. package/{agentRuntimeLocal-AY6YNUAL.js → agentRuntimeLocal-EZPUCRMS.js} +35 -34
  15. package/{agentSlice-FRLSN5HD.js → agentSlice-NBGKMMMR.js} +15 -14
  16. package/{appDeleteCommands-DFA4W66A.js → appDeleteCommands-7WLUFWPE.js} +35 -34
  17. package/{appDeployCommands-RDTG2IGP.js → appDeployCommands-NK22AMAW.js} +35 -34
  18. package/{appDeployStatusCommands-43XL5KEM.js → appDeployStatusCommands-PIWSMQET.js} +35 -34
  19. package/{appGetCommands-AKEAHGIG.js → appGetCommands-J3H6IHUT.js} +35 -34
  20. package/{appListCommands-F2H37K7K.js → appListCommands-CF4NYHRY.js} +35 -34
  21. package/{authCommand-2YPMMIJN.js → authCommand-T6UO5KPG.js} +20 -20
  22. package/{authCommands-FFDS4FVX.js → authCommands-KTIUCVVG.js} +4 -4
  23. package/{builtinSkillRegistry-CALVIJTX.js → builtinSkillRegistry-MAR5LPAC.js} +7 -6
  24. package/{chunk-EKS2APRJ.js → chunk-2TYM4V33.js} +2 -2
  25. package/{chunk-O26PCYLS.js → chunk-2WJ57RJA.js} +6 -6
  26. package/{chunk-C53ZG23R.js → chunk-4XYBLM4D.js} +4 -4
  27. package/{chunk-ZOVKKMF6.js → chunk-74D5HEDI.js} +1 -1
  28. package/{chunk-R5VLGKMK.js → chunk-7FL7ZUZV.js} +15 -15
  29. package/{chunk-XVLDUNF7.js → chunk-7H327KC7.js} +4 -4
  30. package/{chunk-UQNS32WZ.js → chunk-7MTCBOOS.js} +1 -1
  31. package/{chunk-PQ3B6KI6.js → chunk-A2Q6RMPJ.js} +92 -92
  32. package/chunk-A4SQRTZ6.js +15 -0
  33. package/chunk-AGIM7IMJ.js +147 -0
  34. package/{chunk-7WCQEMPB.js → chunk-ANRWQGOV.js} +27 -27
  35. package/{chunk-5UTFL4QJ.js → chunk-AOTBKDRK.js} +7 -0
  36. package/{chunk-4HXY5QQG.js → chunk-APVTZ66V.js} +1 -1
  37. package/{chunk-OTEMQQZI.js → chunk-BFWQ65IZ.js} +1 -1
  38. package/{chunk-4J3Q2KJL.js → chunk-BI2L6M54.js} +10 -8
  39. package/{chunk-6D2JFXLY.js → chunk-BZ7NPA6G.js} +0 -2
  40. package/{chunk-DDBBIUXZ.js → chunk-CLXLSAYP.js} +20 -20
  41. package/{chunk-TU5NE4U3.js → chunk-CV366NXM.js} +7 -7
  42. package/{chunk-KLMW4NNN.js → chunk-DBOMSOYX.js} +1 -1
  43. package/{chunk-AWF3WO5R.js → chunk-DHA6B3LS.js} +7 -7
  44. package/{chunk-7AEF6ZXP.js → chunk-DPPI7DJM.js} +7 -7
  45. package/chunk-DZ7R5V3Y.js +164 -0
  46. package/{chunk-I3QNET24.js → chunk-E3YWHWCR.js} +20 -1
  47. package/{chunk-Z4CSIXYP.js → chunk-ELIMCKNX.js} +5 -5
  48. package/{chunk-CTUQJVQM.js → chunk-EMQZSES6.js} +1 -1
  49. package/{chunk-RSEEDUMS.js → chunk-EPCAQM3U.js} +2 -2
  50. package/{chunk-3R7EAVTC.js → chunk-FN5VI6YP.js} +38 -38
  51. package/{chunk-QOKAKDPE.js → chunk-HIM3FCLF.js} +0 -1
  52. package/{chunk-DCLMZ5TX.js → chunk-HP57OUJO.js} +5 -5
  53. package/{chunk-SEZZCP3H.js → chunk-INI6OVJN.js} +27 -27
  54. package/{chunk-WILHZY7K.js → chunk-JNXHAQPJ.js} +4 -4
  55. package/{chunk-AZRHIN5B.js → chunk-K6U4NKFJ.js} +1 -1
  56. package/{chunk-34TW5T2M.js → chunk-LHQTN33D.js} +1 -1
  57. package/{chunk-HYZIYH2H.js → chunk-NVRC52JS.js} +22 -20
  58. package/chunk-NWENLDMM.js +42 -0
  59. package/{chunk-YXXI6MJ2.js → chunk-ONPQQSBX.js} +56 -60
  60. package/{chunk-P6GMCCAT.js → chunk-OW4APERY.js} +1 -1
  61. package/{chunk-RJK4MLDC.js → chunk-OXEHLZNH.js} +18 -20
  62. package/{chunk-VN45QM57.js → chunk-OYDJFF7H.js} +76 -76
  63. package/{chunk-DSSTTEKI.js → chunk-PQ6BKMXB.js} +2 -2
  64. package/{chunk-QMX4FNL4.js → chunk-QMXFJJAT.js} +84 -84
  65. package/{chunk-QJC7X767.js → chunk-RJYTVNWD.js} +1 -1
  66. package/{chunk-CPUFH46E.js → chunk-ROFPWC4X.js} +12 -12
  67. package/{chunk-IAESIMK7.js → chunk-RX4HD4H7.js} +8 -8
  68. package/{chunk-VVXRRZXE.js → chunk-SESH42J6.js} +3 -3
  69. package/{chunk-DAWDCRIG.js → chunk-TAWF7YAW.js} +1 -1
  70. package/{chunk-VFWN2MLE.js → chunk-TLM3NM4J.js} +170 -153
  71. package/{chunk-ZYWQNCBN.js → chunk-TVCAR26G.js} +1 -1
  72. package/{chunk-APMUYAPK.js → chunk-U3C3IA32.js} +1 -1
  73. package/chunk-UJXNKP5V.js +760 -0
  74. package/{chunk-O2OWEFII.js → chunk-VCAQFMVN.js} +1 -1
  75. package/{chunk-KCDUTE5V.js → chunk-VEYL5MO5.js} +4 -4
  76. package/{chunk-WIWM4FE3.js → chunk-VY6VFGKR.js} +7 -746
  77. package/{chunk-XAYSAKSS.js → chunk-VZZUQTBR.js} +2 -2
  78. package/{chunk-CU3QB4HW.js → chunk-W72ISAKC.js} +3 -3
  79. package/{chunk-QKUMVP3O.js → chunk-WCGC6S77.js} +4 -4
  80. package/{chunk-QDSINZM3.js → chunk-WJ3B6FX6.js} +1 -14
  81. package/{chunk-6ZWMH6TJ.js → chunk-WS2VEVHS.js} +4 -5
  82. package/{chunk-7CHC4W22.js → chunk-XBIYSBSG.js} +5 -5
  83. package/{chunk-NR4IWY23.js → chunk-ZTPPACAL.js} +40 -260
  84. package/{commandRegistry-PUSRUY6V.js → commandRegistry-MGVPQ4UY.js} +70 -70
  85. package/{contentThunks-JFPH7ZGN.js → contentThunks-XEUK52F5.js} +32 -32
  86. package/{createAgentAutomationAction-AYUD3TVG.js → createAgentAutomationAction-UETPHR7A.js} +35 -35
  87. package/{createDialogAction-5EJGAQL5.js → createDialogAction-ARPAWCJP.js} +36 -35
  88. package/{createPageAction-OJVJJSAD.js → createPageAction-OQX7YUWI.js} +43 -42
  89. package/{dbSlice-DQ32LYTJ.js → dbSlice-BUB77DHH.js} +12 -11
  90. package/{deleteFile-NX6QHCWZ.js → deleteFile-HG4BF3CS.js} +8 -7
  91. package/{dialogCommands-TQ2EYOO3.js → dialogCommands-CNXJGME5.js} +38 -38
  92. package/{dialogSlice-L5SA2HCW.js → dialogSlice-5S2XYAP4.js} +31 -31
  93. package/{docCreateCommands-YGTVED6F.js → docCreateCommands-U2TEDZHS.js} +34 -33
  94. package/{docDeleteCommands-Y2K6UBU5.js → docDeleteCommands-K4ME6F6S.js} +35 -34
  95. package/{docReadCommands-JSJTTCVY.js → docReadCommands-ZUAVR3HH.js} +34 -33
  96. package/{docStore-DAAP4WFC.js → docStore-4JNBG74K.js} +13 -12
  97. package/{docUpdateCommands-X2ZC37D3.js → docUpdateCommands-UKEOVRTF.js} +34 -33
  98. package/{fetchMessages-67MEFPZR.js → fetchMessages-N2BW2L62.js} +4 -4
  99. package/getPricing-NMMFT3YI.js +1 -1
  100. package/{handleSendMessageAction-NCZABULQ.js → handleSendMessageAction-57V3SMMC.js} +37 -37
  101. package/index.js +3 -3
  102. package/{localDialogRead-EBRS242U.js → localDialogRead-3FHUPYAR.js} +1 -1
  103. package/{localRuntimeDb-3LRMNLCM.js → localRuntimeDb-AXJREE2T.js} +1 -1
  104. package/{machineCommands-GRIO3LQG.js → machineCommands-PIBIQ756.js} +79 -77
  105. package/{machineWsRunDispatch-65IU4CLA.js → machineWsRunDispatch-32U6CJYK.js} +71 -69
  106. package/{memberThunks-5ZXPR63F.js → memberThunks-LEUNURN2.js} +21 -19
  107. package/package.json +1 -1
  108. package/{providerPresetApply-76AVU3HD.js → providerPresetApply-76AHT34P.js} +4 -4
  109. package/{providerRegistry-Z62NC45X.js → providerRegistry-6HAQAQXB.js} +4 -4
  110. package/{read-EPTJRAEF.js → read-TBK4DFHP.js} +8 -7
  111. package/{readDocTool-W4NDXNEX.js → readDocTool-TJFCZ3ND.js} +1 -1
  112. package/{readlineWorkspace-6F27WVAV.js → readlineWorkspace-NP2MQKHV.js} +327 -110
  113. package/{removeDialogAgentAction-BVAWQKXE.js → removeDialogAgentAction-CT5HGRZH.js} +20 -22
  114. package/{runAgentClientLoop-CKC7RYAK.js → runAgentClientLoop-M3NMQENV.js} +65 -63
  115. package/{runtimeDoctorCommands-3USD722U.js → runtimeDoctorCommands-EQJA4MGD.js} +2 -2
  116. package/{setDialogExtraReferencesAction-LYY45IAD.js → setDialogExtraReferencesAction-JOENKFTX.js} +14 -13
  117. package/{setPrimaryDialogAgentAction-73IL7DLU.js → setPrimaryDialogAgentAction-MHWOGXP3.js} +20 -22
  118. package/{chunk-SONWNI3L.js → settingThunks-KLPZNA6L.js} +104 -921
  119. package/{slateUtils-RIZES3PV.js → slateUtils-NGV2NMKM.js} +1 -1
  120. package/{spaceCommands-JZO2QK77.js → spaceCommands-ZESRWSTC.js} +36 -35
  121. package/{streamAgentChatTurn-4PBF5RK5.js → streamAgentChatTurn-RWFCST5Y.js} +110 -108
  122. package/{switchDialogAgentAction-UUXDSQ6X.js → switchDialogAgentAction-JHA4JEYA.js} +14 -13
  123. package/{tableCommands-G7RV3RU3.js → tableCommands-6U4BMLRR.js} +7 -7
  124. package/{toolApiClient-INIQCPGY.js → toolApiClient-EJT6TMFG.js} +4 -4
  125. package/{tools-BQ375D2L.js → tools-6AKBF274.js} +53 -51
  126. package/{tuiSummaryLlmCaller-74NRRLVW.js → tuiSummaryLlmCaller-QUCBFGZK.js} +18 -17
  127. package/{updateDialogTitleAction-DTREH6RR.js → updateDialogTitleAction-43H4O3QO.js} +39 -39
  128. package/action-GI44T4DR.js +0 -31
  129. package/browser-image-compression-MFDTD7K6.js +0 -1763
  130. package/chatQueueReduxAdapter-B3PSJ3GC.js +0 -187
  131. package/chunk-MEYIRKDN.js +0 -8967
  132. package/chunk-Y5GCAMGP.js +0 -9
  133. package/chunk-YPREESF4.js +0 -225
  134. package/settingSlice-Q6EKL7EQ.js +0 -204
  135. package/syncMapping-N6RGXGBW.js +0 -437
  136. package/{chunk-6PHKBY2Q.js → chunk-4YSOUKUR.js} +8 -8
  137. package/{chunk-S5XGT6GB.js → chunk-UA324D4O.js} +3 -3
  138. package/{chunk-MX574M24.js → chunk-V4UYSDTH.js} +3 -3
  139. package/{chunk-ESRMFY7G.js → chunk-XFUBXRVI.js} +5 -5
  140. package/{localRuntimeAuthority-5W6IJRAD.js → localRuntimeAuthority-AENMRPGX.js} +5 -5
@@ -29,6 +29,13 @@ import {
29
29
  toOpenAiCompatibleMessages,
30
30
  toResponsesTools
31
31
  } from "./chunk-PUOC4YRO.js";
32
+ import {
33
+ isMeaningfulChatCompletionOutput,
34
+ isMeaningfulResponsesOutput
35
+ } from "./chunk-WS2VEVHS.js";
36
+ import {
37
+ clipCompactText
38
+ } from "./chunk-5MMAK75Q.js";
32
39
  import {
33
40
  buildProviderExecutionPlan,
34
41
  canUsePlatformChatProvider,
@@ -39,13 +46,6 @@ import {
39
46
  resolvePlatformServerUrl,
40
47
  resolveProviderTransportDecision
41
48
  } from "./chunk-27ONFIEY.js";
42
- import {
43
- isMeaningfulChatCompletionOutput,
44
- isMeaningfulResponsesOutput
45
- } from "./chunk-6ZWMH6TJ.js";
46
- import {
47
- clipCompactText
48
- } from "./chunk-5MMAK75Q.js";
49
49
  import {
50
50
  NOLO_CLIENT_VERSION_HEADER,
51
51
  isPlatformMimoProviderModel
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  requireTokenUser
3
- } from "./chunk-4HXY5QQG.js";
3
+ } from "./chunk-APVTZ66V.js";
4
4
  import {
5
5
  resolveServerUrl
6
6
  } from "./chunk-A7GB5UGH.js";
@@ -1,25 +1,25 @@
1
- import {
2
- isSubscriptionEndpoint,
3
- isSubscriptionOAuthCredential
4
- } from "./chunk-DAWDCRIG.js";
5
1
  import {
6
2
  isOAuthApiKeyRef
7
3
  } from "./chunk-YYLHWIW6.js";
8
4
  import {
9
5
  compareAgentSelection
10
- } from "./chunk-6PHKBY2Q.js";
6
+ } from "./chunk-4YSOUKUR.js";
11
7
  import {
12
8
  isAgentUnavailableNow
13
9
  } from "./chunk-H6A6X4EK.js";
10
+ import {
11
+ isSubscriptionEndpoint,
12
+ isSubscriptionOAuthCredential
13
+ } from "./chunk-TAWF7YAW.js";
14
14
  import {
15
15
  isAntigravityOAuthAgent
16
- } from "./chunk-S5XGT6GB.js";
16
+ } from "./chunk-UA324D4O.js";
17
17
  import {
18
18
  getModelAbility
19
19
  } from "./chunk-CYSYR67N.js";
20
20
  import {
21
21
  fnv1a32Hex
22
- } from "./chunk-WIWM4FE3.js";
22
+ } from "./chunk-UJXNKP5V.js";
23
23
  import {
24
24
  isOwnedAgentKey,
25
25
  ownedAgentKey,
@@ -4,13 +4,13 @@ import {
4
4
  import {
5
5
  require_react
6
6
  } from "./chunk-YDH3FDFQ.js";
7
- import {
8
- toErrorMessage
9
- } from "./chunk-HNMXYYJR.js";
10
7
  import {
11
8
  patch,
12
9
  readAndWait
13
- } from "./chunk-HYZIYH2H.js";
10
+ } from "./chunk-NVRC52JS.js";
11
+ import {
12
+ toErrorMessage
13
+ } from "./chunk-HNMXYYJR.js";
14
14
  import {
15
15
  asOptionalTrimmedString
16
16
  } from "./chunk-G3SUCT4W.js";
@@ -299,7 +299,7 @@ async function saveDocState(arg, { dispatch, getState }) {
299
299
  { slateToRenderMarkdown },
300
300
  { buildSkillSummaryMarker }
301
301
  ] = await Promise.all([
302
- import("./slateUtils-RIZES3PV.js"),
302
+ import("./slateUtils-NGV2NMKM.js"),
303
303
  import("./slateToRenderMarkdown-Y5IYN73U.js"),
304
304
  import("./skillSummaryMarker-42HKSXYY.js")
305
305
  ]);
@@ -325,7 +325,7 @@ async function saveDocState(arg, { dispatch, getState }) {
325
325
  ).unwrap();
326
326
  if (dbSpaceId) {
327
327
  try {
328
- const { updateContentTitle } = await import("./contentThunks-JFPH7ZGN.js");
328
+ const { updateContentTitle } = await import("./contentThunks-XEUK52F5.js");
329
329
  await dispatch(
330
330
  updateContentTitle({
331
331
  spaceId: dbSpaceId,
@@ -364,7 +364,7 @@ async function saveDocState(arg, { dispatch, getState }) {
364
364
  }
365
365
  }
366
366
  async function createDocState(args, thunkApi) {
367
- const { createPageAction } = await import("./createPageAction-OJVJJSAD.js");
367
+ const { createPageAction } = await import("./createPageAction-OQX7YUWI.js");
368
368
  return createPageAction(args, thunkApi);
369
369
  }
370
370
  function subscribe(listener) {
@@ -0,0 +1,164 @@
1
+ import {
2
+ noloAgentId
3
+ } from "./chunk-A4SQRTZ6.js";
4
+ import {
5
+ asTrimmedLowercaseString
6
+ } from "./chunk-QSJ3HFEF.js";
7
+ import {
8
+ normalizeServerOrigin
9
+ } from "./chunk-CF7PE763.js";
10
+
11
+ // packages/app/theme/fontPreference.ts
12
+ var FONT_PRESET_ALIASES = {
13
+ system: "system",
14
+ default: "system",
15
+ hei: "hei",
16
+ heiti: "hei",
17
+ sans: "hei",
18
+ song: "song",
19
+ songti: "song",
20
+ serif: "song",
21
+ kai: "kai",
22
+ kaiti: "kai",
23
+ "kai-ti": "kai",
24
+ "fang-song": "fang-song",
25
+ fangsong: "fang-song",
26
+ "fang song": "fang-song"
27
+ };
28
+ var normalizeFontPreset = (value) => {
29
+ const normalized = asTrimmedLowercaseString(value);
30
+ return FONT_PRESET_ALIASES[normalized];
31
+ };
32
+
33
+ // packages/ai/policy/types.ts
34
+ var DEFAULT_AGENT_BASE_POLICY = {
35
+ version: 1,
36
+ tone: {
37
+ preset: "default",
38
+ resolutionMode: "blend"
39
+ },
40
+ knowledgeCaptureMaxLevel: 4,
41
+ spaceContextMaxLevel: 4,
42
+ selfEvolutionMode: "knowledge_only"
43
+ };
44
+ var DEFAULT_USER_PREFERENCE_PROFILE = {
45
+ version: 1,
46
+ tone: {
47
+ preset: "default"
48
+ },
49
+ knowledgeCaptureLevel: 2,
50
+ spaceContextLevel: 3
51
+ };
52
+
53
+ // packages/app/settings/settingTypes.ts
54
+ var SYSTEM_DEFAULT_AGENT_ID = "system-default";
55
+
56
+ // packages/app/settings/settingNormalizers.ts
57
+ var hasOwn = (target, key) => Object.prototype.hasOwnProperty.call(target, key);
58
+ var normalizeDefaultAgentIdSetting = (value) => {
59
+ if (typeof value !== "string" || value.trim() === "") {
60
+ return void 0;
61
+ }
62
+ return value === noloAgentId || value === SYSTEM_DEFAULT_AGENT_ID ? SYSTEM_DEFAULT_AGENT_ID : value;
63
+ };
64
+ var normalizeAuthorityHomeServerSetting = (value) => {
65
+ const normalized = normalizeServerOrigin(value);
66
+ return /^https?:\/\//i.test(normalized) ? normalized : null;
67
+ };
68
+ var normalizeTonePresetSetting = (value) => {
69
+ switch (value) {
70
+ case "professional":
71
+ case "friendly":
72
+ case "direct":
73
+ case "pragmatic":
74
+ case "default":
75
+ return value;
76
+ default:
77
+ return DEFAULT_USER_PREFERENCE_PROFILE.tone?.preset ?? "default";
78
+ }
79
+ };
80
+ var normalizePolicyLevelSetting = (value, fallback) => {
81
+ const n = Number(value);
82
+ if (n === 1 || n === 2 || n === 3 || n === 4) {
83
+ return n;
84
+ }
85
+ return fallback;
86
+ };
87
+ var resolveDefaultAgentIdSetting = (value) => normalizeDefaultAgentIdSetting(value) ?? SYSTEM_DEFAULT_AGENT_ID;
88
+ var omitKeys = (record, keys) => {
89
+ const next = { ...record };
90
+ keys.forEach((key) => {
91
+ delete next[key];
92
+ });
93
+ return next;
94
+ };
95
+ var isRecordLike = (v) => typeof v === "object" && v !== null && !Array.isArray(v);
96
+ var normalizeSystemBuiltinSkills = (value, defaults) => {
97
+ const base = isRecordLike(value) ? value : {};
98
+ const result = { ...defaults };
99
+ for (const key of Object.keys(base)) {
100
+ result[key] = Boolean(base[key]);
101
+ }
102
+ return result;
103
+ };
104
+
105
+ // packages/ai/policy/selfUpdateFields.ts
106
+ var AGENT_UPDATE_FIELD_NAMES = [
107
+ "name",
108
+ "handle",
109
+ "model",
110
+ "provider",
111
+ "prompt",
112
+ "introduction",
113
+ "greeting",
114
+ "isPublic",
115
+ "tags",
116
+ "tools",
117
+ "references",
118
+ "temperature",
119
+ "top_p",
120
+ "frequency_penalty",
121
+ "presence_penalty",
122
+ "max_tokens",
123
+ "reasoning_effort"
124
+ ];
125
+ var PRIMARY_AUTO_APPROVE_SELF_UPDATE_FIELDS = [
126
+ "greeting",
127
+ "introduction",
128
+ "tags"
129
+ ];
130
+ var DEFAULT_AUTO_APPROVED_SELF_UPDATE_FIELDS = [
131
+ ...PRIMARY_AUTO_APPROVE_SELF_UPDATE_FIELDS
132
+ ];
133
+ var VALID_AGENT_UPDATE_FIELDS = new Set(AGENT_UPDATE_FIELD_NAMES);
134
+ var normalizeAgentUpdateFieldList = (value, fallback = DEFAULT_AUTO_APPROVED_SELF_UPDATE_FIELDS) => {
135
+ if (!Array.isArray(value)) {
136
+ return [...fallback];
137
+ }
138
+ const normalized = Array.from(
139
+ new Set(
140
+ value.filter(
141
+ (item) => typeof item === "string" && VALID_AGENT_UPDATE_FIELDS.has(item)
142
+ )
143
+ )
144
+ );
145
+ return normalized;
146
+ };
147
+
148
+ export {
149
+ normalizeFontPreset,
150
+ DEFAULT_AGENT_BASE_POLICY,
151
+ DEFAULT_USER_PREFERENCE_PROFILE,
152
+ AGENT_UPDATE_FIELD_NAMES,
153
+ DEFAULT_AUTO_APPROVED_SELF_UPDATE_FIELDS,
154
+ normalizeAgentUpdateFieldList,
155
+ SYSTEM_DEFAULT_AGENT_ID,
156
+ hasOwn,
157
+ normalizeDefaultAgentIdSetting,
158
+ normalizeAuthorityHomeServerSetting,
159
+ normalizeTonePresetSetting,
160
+ normalizePolicyLevelSetting,
161
+ resolveDefaultAgentIdSetting,
162
+ omitKeys,
163
+ normalizeSystemBuiltinSkills
164
+ };
@@ -289,6 +289,24 @@ var AGENT_RUN_TERMINAL_STATUSES = /* @__PURE__ */ new Set([
289
289
  function isAgentRunTerminalStatus(status) {
290
290
  return typeof status === "string" && AGENT_RUN_TERMINAL_STATUSES.has(status);
291
291
  }
292
+ function formatAgentListCard(agents, maxDisplay = 8) {
293
+ const total = agents.length;
294
+ const lines = [`Agents (${total})`];
295
+ const visible = agents.slice(0, maxDisplay);
296
+ for (const agent of visible) {
297
+ const star = agent.isFavorite ? "\u2605" : " ";
298
+ const own = agent.isOwned ? "\u25CE" : " ";
299
+ const name = agent.name || "(unnamed)";
300
+ const model = agent.model || "\u2014";
301
+ const source = agent.apiSource || agent.provider || agent.cliProvider || "\u2014";
302
+ const key = agent.agentKey || "(agentKey unavailable)";
303
+ lines.push(`${star}${own} ${name} ${model} ${source} ${key}`);
304
+ }
305
+ if (total > maxDisplay) {
306
+ lines.push(`\u2026 +${total - maxDisplay} more`);
307
+ }
308
+ return lines.join("\n");
309
+ }
292
310
 
293
311
  export {
294
312
  buildDelegatedTaskContent,
@@ -308,5 +326,6 @@ export {
308
326
  formatStopRunCard,
309
327
  formatListRunsCard,
310
328
  formatNotFoundRunCard,
311
- isAgentRunTerminalStatus
329
+ isAgentRunTerminalStatus,
330
+ formatAgentListCard
312
331
  };
@@ -1,12 +1,12 @@
1
- import {
2
- selectCurrentServer
3
- } from "./chunk-SONWNI3L.js";
4
1
  import {
5
2
  patch
6
- } from "./chunk-HYZIYH2H.js";
3
+ } from "./chunk-NVRC52JS.js";
4
+ import {
5
+ selectCurrentServer
6
+ } from "./chunk-NWENLDMM.js";
7
7
  import {
8
8
  getIsDesktopApp
9
- } from "./chunk-QOKAKDPE.js";
9
+ } from "./chunk-HIM3FCLF.js";
10
10
  import {
11
11
  selectIdentityToken
12
12
  } from "./chunk-SEJ5OS6F.js";
@@ -4,7 +4,7 @@ import {
4
4
 
5
5
  // packages/cli/agentCommandSupport.ts
6
6
  async function getDefaultCliDb() {
7
- const { getDefaultCliLocalRuntimeDb } = await import("./localRuntimeDb-3LRMNLCM.js");
7
+ const { getDefaultCliLocalRuntimeDb } = await import("./localRuntimeDb-AXJREE2T.js");
8
8
  return getDefaultCliLocalRuntimeDb();
9
9
  }
10
10
  function createNullCliDb() {
@@ -4,11 +4,11 @@ import {
4
4
  import {
5
5
  patch,
6
6
  read
7
- } from "./chunk-HYZIYH2H.js";
7
+ } from "./chunk-NVRC52JS.js";
8
8
  import {
9
9
  DEVICE_LOCAL_OWNER_ID,
10
10
  isDeviceLocalSpaceBody
11
- } from "./chunk-WIWM4FE3.js";
11
+ } from "./chunk-UJXNKP5V.js";
12
12
  import {
13
13
  selectIdentityUserId
14
14
  } from "./chunk-SEJ5OS6F.js";
@@ -7,7 +7,7 @@ import {
7
7
  import {
8
8
  clipMultilineText,
9
9
  fetchAndSerializeTable
10
- } from "./chunk-VFWN2MLE.js";
10
+ } from "./chunk-TLM3NM4J.js";
11
11
  import {
12
12
  isGatewayHttpStatus
13
13
  } from "./chunk-NF64D32W.js";
@@ -17,31 +17,31 @@ import {
17
17
  normalizeNonNegativeMs,
18
18
  parseRetryAfterHeaderMs
19
19
  } from "./chunk-3L2WKC3W.js";
20
- import {
21
- waitForAbortableDelay
22
- } from "./chunk-N4G4PKQ6.js";
23
20
  import {
24
21
  resolvePageReadMarkdown,
25
22
  slateToSimplifiedMarkdown
26
- } from "./chunk-UQNS32WZ.js";
23
+ } from "./chunk-7MTCBOOS.js";
24
+ import {
25
+ waitForAbortableDelay
26
+ } from "./chunk-N4G4PKQ6.js";
27
27
  import {
28
28
  extractCategorizedMentions
29
- } from "./chunk-MEYIRKDN.js";
29
+ } from "./chunk-AGIM7IMJ.js";
30
30
  import {
31
31
  fetchAndCacheMessages
32
- } from "./chunk-QMX4FNL4.js";
32
+ } from "./chunk-QMXFJJAT.js";
33
33
  import {
34
34
  shouldUseServerProxy
35
35
  } from "./chunk-YYLHWIW6.js";
36
36
  import {
37
37
  fetchServerSyncedCredential
38
- } from "./chunk-4J3Q2KJL.js";
38
+ } from "./chunk-BI2L6M54.js";
39
39
  import {
40
40
  buildSkillGuidancePromptBlock,
41
41
  extractRuntimePageCapabilities,
42
42
  resolveBuiltinSkillPage,
43
43
  resolveSkillGraphFromRoots
44
- } from "./chunk-KCDUTE5V.js";
44
+ } from "./chunk-VEYL5MO5.js";
45
45
  import {
46
46
  DELETE_SAFETY_RED_LINE,
47
47
  buildIdentityBlock,
@@ -50,74 +50,74 @@ import {
50
50
  detectDispatchIntentFromMessages,
51
51
  normalizeChatCompletionsBodyForProvider,
52
52
  resolveToolGuidedSections
53
- } from "./chunk-EKS2APRJ.js";
53
+ } from "./chunk-2TYM4V33.js";
54
54
  import {
55
55
  convertMessagesToResponsesInput,
56
56
  getUsageRequestOptions,
57
57
  preserveAgentStateFields,
58
58
  stablePromptCacheKey
59
59
  } from "./chunk-PUOC4YRO.js";
60
+ import {
61
+ createFileCredentialBroker
62
+ } from "./chunk-XFUBXRVI.js";
63
+ import {
64
+ estimateTokenCount
65
+ } from "./chunk-PSCNXBYA.js";
66
+ import {
67
+ createSpaceKey
68
+ } from "./chunk-UAD2WT54.js";
69
+ import {
70
+ read
71
+ } from "./chunk-NVRC52JS.js";
72
+ import {
73
+ MEMORY_USE_GUIDANCE,
74
+ buildUserResponseLanguageContext,
75
+ wrapHistoricalSummaryWithReplayGuard
76
+ } from "./chunk-4VJAC32I.js";
77
+ import {
78
+ canonicalizeToolNames
79
+ } from "./chunk-XUWRURDF.js";
60
80
  import {
61
81
  ANTIGRAVITY_CLOUD_CODE_BASE_URL,
62
82
  isAntigravityOAuthAgent
63
- } from "./chunk-S5XGT6GB.js";
83
+ } from "./chunk-UA324D4O.js";
64
84
  import {
65
85
  buildProviderAuthHeaders
66
86
  } from "./chunk-27ONFIEY.js";
67
- import {
68
- estimateTokenCount
69
- } from "./chunk-PSCNXBYA.js";
70
- import {
71
- createFileCredentialBroker
72
- } from "./chunk-ESRMFY7G.js";
73
87
  import {
74
88
  isOpenAiResponsesModel,
75
89
  resolvePlatformChatCompletionsEndpoint,
76
90
  resolvePlatformResponsesEndpoint
77
91
  } from "./chunk-7KVZ5LDQ.js";
78
- import {
79
- toErrorMessage
80
- } from "./chunk-HNMXYYJR.js";
81
92
  import {
82
93
  clampReasoningEffort,
83
94
  getModelConfig,
84
95
  isModelSupportReasoningEffort
85
96
  } from "./chunk-3BXNTXYI.js";
86
97
  import {
87
- createSpaceKey
88
- } from "./chunk-UAD2WT54.js";
89
- import {
90
- MEMORY_USE_GUIDANCE,
91
- buildUserResponseLanguageContext,
92
- wrapHistoricalSummaryWithReplayGuard
93
- } from "./chunk-4VJAC32I.js";
94
- import {
95
- canonicalizeToolNames
96
- } from "./chunk-XUWRURDF.js";
98
+ toErrorMessage
99
+ } from "./chunk-HNMXYYJR.js";
97
100
  import {
98
101
  isDeepInfraKimiModel,
99
102
  isFireworksKimiModel,
100
103
  isPlatformMimoProviderModel,
101
104
  resolveFireworksKimiModel
102
105
  } from "./chunk-Y3PMXGLH.js";
103
- import {
104
- read
105
- } from "./chunk-HYZIYH2H.js";
106
106
  import {
107
107
  asTrimmedLowercaseString
108
108
  } from "./chunk-QSJ3HFEF.js";
109
109
  import {
110
110
  getRuntimeServerContext
111
- } from "./chunk-WIWM4FE3.js";
111
+ } from "./chunk-UJXNKP5V.js";
112
112
  import {
113
- isAbortError
114
- } from "./chunk-QOKAKDPE.js";
113
+ extractCustomId
114
+ } from "./chunk-M2EJHDJP.js";
115
115
  import {
116
116
  isRecord
117
117
  } from "./chunk-KUG52IAP.js";
118
118
  import {
119
- extractCustomId
120
- } from "./chunk-M2EJHDJP.js";
119
+ isAbortError
120
+ } from "./chunk-HIM3FCLF.js";
121
121
  import {
122
122
  asTrimmedString
123
123
  } from "./chunk-3EUW3WEO.js";
@@ -258,7 +258,6 @@ var normalizeTimeFields = (data) => ({
258
258
  });
259
259
 
260
260
  export {
261
- isProduction,
262
261
  isDevelopment,
263
262
  getIsDesktopApp,
264
263
  createClientLogger,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getActiveDialogKey
3
- } from "./chunk-6D2JFXLY.js";
3
+ } from "./chunk-BZ7NPA6G.js";
4
4
  import {
5
5
  compactWhitespace
6
6
  } from "./chunk-DWLEOOGR.js";
@@ -8,14 +8,14 @@ import {
8
8
  asTrimmedLowercaseString
9
9
  } from "./chunk-QSJ3HFEF.js";
10
10
  import {
11
- selectIdentityToken
12
- } from "./chunk-SEJ5OS6F.js";
11
+ extractCustomId
12
+ } from "./chunk-M2EJHDJP.js";
13
13
  import {
14
14
  isRecord
15
15
  } from "./chunk-KUG52IAP.js";
16
16
  import {
17
- extractCustomId
18
- } from "./chunk-M2EJHDJP.js";
17
+ selectIdentityToken
18
+ } from "./chunk-SEJ5OS6F.js";
19
19
 
20
20
  // packages/ai/tools/toolApiClient.ts
21
21
  var MAIN_SERVER = "https://nolo.chat";
@@ -5,17 +5,14 @@ import {
5
5
  inlineImageUrlsForCustomProvider,
6
6
  prepareTools,
7
7
  shouldInlineImageUrlsForAgent
8
- } from "./chunk-PQ3B6KI6.js";
9
- import {
10
- parseApiError
11
- } from "./chunk-OCZKATRC.js";
8
+ } from "./chunk-A2Q6RMPJ.js";
12
9
  import {
13
10
  INVALID_TOOL_ARGS_REPLACEMENT,
14
11
  buildInvalidToolCallSelfHealResult,
15
12
  parseToolCallArguments,
16
13
  performFetchRequest,
17
14
  sanitizeOutboundMessages
18
- } from "./chunk-3R7EAVTC.js";
15
+ } from "./chunk-FN5VI6YP.js";
19
16
  import {
20
17
  createSSEParser,
21
18
  createToolRunId,
@@ -26,7 +23,13 @@ import {
26
23
  toolRunSetPending,
27
24
  toolRunStarted,
28
25
  toolRunSucceeded
29
- } from "./chunk-VFWN2MLE.js";
26
+ } from "./chunk-TLM3NM4J.js";
27
+ import {
28
+ getPublicImageAgentMode
29
+ } from "./chunk-VIDPVFP3.js";
30
+ import {
31
+ parseApiError
32
+ } from "./chunk-OCZKATRC.js";
30
33
  import {
31
34
  getCurrentSpaceId
32
35
  } from "./chunk-ZJ7UHBJS.js";
@@ -35,18 +38,15 @@ import {
35
38
  messageStreamEnd,
36
39
  messageStreaming,
37
40
  updateToolMessage
38
- } from "./chunk-QMX4FNL4.js";
41
+ } from "./chunk-QMXFJJAT.js";
39
42
  import {
40
43
  streamAgentChatTurn
41
- } from "./chunk-4J3Q2KJL.js";
44
+ } from "./chunk-BI2L6M54.js";
42
45
  import {
43
46
  addActiveController,
44
47
  removeActiveController,
45
48
  tokenUsageLiveUpdate
46
- } from "./chunk-6D2JFXLY.js";
47
- import {
48
- getPublicImageAgentMode
49
- } from "./chunk-VIDPVFP3.js";
49
+ } from "./chunk-BZ7NPA6G.js";
50
50
  import {
51
51
  accumulateToolCallDelta,
52
52
  createThinkParserState,
@@ -59,19 +59,25 @@ import {
59
59
  import {
60
60
  EMPTY_ASSISTANT_REPAIR_PROMPT,
61
61
  getModelInfo
62
- } from "./chunk-WILHZY7K.js";
62
+ } from "./chunk-JNXHAQPJ.js";
63
63
  import {
64
- toErrorMessage
65
- } from "./chunk-HNMXYYJR.js";
64
+ write
65
+ } from "./chunk-NVRC52JS.js";
66
66
  import {
67
67
  getApiEndpoint
68
68
  } from "./chunk-3BXNTXYI.js";
69
69
  import {
70
- selectCurrentServer
71
- } from "./chunk-SONWNI3L.js";
70
+ toErrorMessage
71
+ } from "./chunk-HNMXYYJR.js";
72
72
  import {
73
- write
74
- } from "./chunk-HYZIYH2H.js";
73
+ extractCustomId
74
+ } from "./chunk-M2EJHDJP.js";
75
+ import {
76
+ isRecord
77
+ } from "./chunk-KUG52IAP.js";
78
+ import {
79
+ selectCurrentServer
80
+ } from "./chunk-NWENLDMM.js";
75
81
  import {
76
82
  createDialogMessageKeyAndId,
77
83
  dialogMessageKey,
@@ -79,19 +85,13 @@ import {
79
85
  } from "./chunk-3AH7LNUB.js";
80
86
  import {
81
87
  createAsyncThunk
82
- } from "./chunk-WIWM4FE3.js";
88
+ } from "./chunk-VY6VFGKR.js";
83
89
  import {
84
90
  isAbortError
85
- } from "./chunk-QOKAKDPE.js";
91
+ } from "./chunk-HIM3FCLF.js";
86
92
  import {
87
93
  selectIdentityToken
88
94
  } from "./chunk-SEJ5OS6F.js";
89
- import {
90
- isRecord
91
- } from "./chunk-KUG52IAP.js";
92
- import {
93
- extractCustomId
94
- } from "./chunk-M2EJHDJP.js";
95
95
  import {
96
96
  asTrimmedString
97
97
  } from "./chunk-3EUW3WEO.js";
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  normalizeTimingMs
3
- } from "./chunk-6ZWMH6TJ.js";
3
+ } from "./chunk-WS2VEVHS.js";
4
4
  import {
5
5
  MODEL_LOOKUP_MAP
6
6
  } from "./chunk-3BXNTXYI.js";
7
7
  import {
8
8
  ALL_MODELS
9
9
  } from "./chunk-CYSYR67N.js";
10
+ import {
11
+ BUILTIN_NOLO_AGENT_KEY
12
+ } from "./chunk-BNGW5ASC.js";
10
13
  import {
11
14
  asTrimmedNonEmptyStringArray
12
15
  } from "./chunk-3AH7LNUB.js";
13
16
  import {
14
17
  asOptionalFiniteNumber
15
18
  } from "./chunk-WWC7I6TA.js";
16
- import {
17
- BUILTIN_NOLO_AGENT_KEY
18
- } from "./chunk-BNGW5ASC.js";
19
19
  import {
20
20
  asOptionalTrimmedString
21
21
  } from "./chunk-G3SUCT4W.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  generatePkcePair,
3
3
  startCallbackServer
4
- } from "./chunk-O26PCYLS.js";
4
+ } from "./chunk-2WJ57RJA.js";
5
5
  import {
6
6
  toErrorMessage
7
7
  } from "./chunk-HNMXYYJR.js";