nolo-cli 0.49.1 → 0.50.0

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 (131) hide show
  1. package/{_executeModel-KE4PQSZ3.js → _executeModel-JKEH7ACW.js} +48 -42
  2. package/{action-IU6ON7ZB.js → action-VSG2IYP3.js} +8 -8
  3. package/{addContentAction-5V5CCI3I.js → addContentAction-2HJJITDI.js} +8 -7
  4. package/{addDialogAgentAction-KF3KZZNZ.js → addDialogAgentAction-7BSQVVL5.js} +10 -9
  5. package/{agentDeleteCommand-Z67TJG3W.js → agentDeleteCommand-SVXKS5SC.js} +30 -28
  6. package/{agentEmailCommands-7LPIK7JE.js → agentEmailCommands-WN7QBTP3.js} +57 -52
  7. package/{agentListCommands-5J2IM3IT.js → agentListCommands-2BEBOQIG.js} +42 -33
  8. package/{agentMachineCommands-YXH6FXUQ.js → agentMachineCommands-WALP3ONU.js} +30 -28
  9. package/{agentRecordCommands-GZLCDVUS.js → agentRecordCommands-E652SW57.js} +55 -50
  10. package/{agentRunCommand-WYH5Q54Q.js → agentRunCommand-6VXWXKCS.js} +60 -53
  11. package/{agentRunControl-4GHHSXFZ.js → agentRunControl-LJVFDJGU.js} +3 -1
  12. package/{agentRuntimeLocal-A6EF3RUY.js → agentRuntimeLocal-SBG7BDFQ.js} +30 -26
  13. package/{agentSlice-ARTDF6VD.js → agentSlice-3WYXIGEO.js} +8 -8
  14. package/{agentSuperviseCommands-VB6BUS5H.js → agentSuperviseCommands-F3RFAL7K.js} +2 -2
  15. package/{appDeleteCommands-V2B7ZCLC.js → appDeleteCommands-NTUNMEXY.js} +31 -29
  16. package/{appDeployCommands-AXQU44RD.js → appDeployCommands-DISWXRTL.js} +31 -29
  17. package/{appDeployStatusCommands-FWGSC2UM.js → appDeployStatusCommands-IKRA6B6F.js} +31 -29
  18. package/{appGetCommands-67R3RFZK.js → appGetCommands-UMOP2DFV.js} +31 -29
  19. package/{appListCommands-TTASJPGV.js → appListCommands-ZKFD2AKS.js} +31 -29
  20. package/{authCommand-QOPOEYEK.js → authCommand-BS3CQC6I.js} +11 -11
  21. package/{chatQueueReduxAdapter-6CAHUQ4O.js → chatQueueReduxAdapter-A3YH4MT4.js} +24 -21
  22. package/{chunk-76UA7376.js → chunk-273FJUYI.js} +6 -6
  23. package/{chunk-7CH6U3FL.js → chunk-2GRGFCF6.js} +2 -4
  24. package/{chunk-T27IEBNQ.js → chunk-2QDDKFG5.js} +74 -1
  25. package/{chunk-IRJVFYOH.js → chunk-2TLYVDTN.js} +321 -1100
  26. package/{chunk-6BYAXNH5.js → chunk-3QOCS5IF.js} +11 -2
  27. package/chunk-6IGD47IC.js +19 -0
  28. package/{chunk-GFD7TIZU.js → chunk-6TUT5ZJD.js} +4 -6
  29. package/chunk-6YTOJY35.js +352 -0
  30. package/{chunk-B54WOZ77.js → chunk-7H7GQL6V.js} +2 -2
  31. package/{chunk-OYNDYVSE.js → chunk-B45YNDAE.js} +1 -1
  32. package/{chunk-UQWFIWHX.js → chunk-BKIDF5LV.js} +1 -1
  33. package/{chunk-5XCW6RQG.js → chunk-BUBPRCIU.js} +1 -1
  34. package/chunk-BYXBJQAS.js +0 -0
  35. package/{chunk-X7S7OFUX.js → chunk-CEVCRRHU.js} +4 -4
  36. package/{chunk-SP3DPVBH.js → chunk-DEIGUGP6.js} +2 -2
  37. package/{chunk-V2IPBG5U.js → chunk-DGEPT6FH.js} +1 -1
  38. package/{chunk-3AOLVADY.js → chunk-DVINR3PL.js} +1 -1
  39. package/{chunk-NN3AMBY3.js → chunk-DXOELY7S.js} +64 -69
  40. package/{chunk-OFZPJ3NT.js → chunk-E4MARS3Q.js} +1 -1
  41. package/{chunk-QUCSAM43.js → chunk-EAYBPWHX.js} +87 -66
  42. package/{chunk-DQLYEGP7.js → chunk-EGVY3GMT.js} +1 -1
  43. package/{chunk-2JYSSXLY.js → chunk-EJFW7TRP.js} +5 -26
  44. package/{chunk-HPZL4IBN.js → chunk-FGRCSLPV.js} +34 -45
  45. package/{chunk-WL3UOGYO.js → chunk-G4WSLTQF.js} +31 -97
  46. package/{chunk-HR5XDXYM.js → chunk-G5SQVIFZ.js} +3 -3
  47. package/{chunk-J3UALFHL.js → chunk-GHE5XMVR.js} +1 -1
  48. package/{chunk-6SMMK7MD.js → chunk-GKB4AZKV.js} +440 -2981
  49. package/{chunk-IKSFDJXB.js → chunk-GKNGRBE6.js} +150 -27
  50. package/{chunk-Q24S4NDF.js → chunk-HQTK2SFT.js} +1 -1
  51. package/{chunk-GDGIEGHV.js → chunk-IPTZ5TVU.js} +7 -6
  52. package/{chunk-4RXXP6WD.js → chunk-J7KDNHUO.js} +5 -64
  53. package/{chunk-QDHZCAH3.js → chunk-KNQ5LYVZ.js} +57 -2
  54. package/{chunk-VRJUIUIY.js → chunk-KVVNC5V3.js} +2 -2
  55. package/{chunk-CVT7L2WZ.js → chunk-LVCAWHI5.js} +4 -4
  56. package/{chunk-WX5E6HZS.js → chunk-N6SLQMSA.js} +6 -6
  57. package/{chunk-SQTVMYMU.js → chunk-NTZO3KX2.js} +3 -3
  58. package/{chunk-LGUQHYAL.js → chunk-O5FLGN2L.js} +3 -2
  59. package/{chunk-WKOEOQCI.js → chunk-OSUZKICS.js} +1600 -190
  60. package/{chunk-EXDR5D6X.js → chunk-Q2QN2RHG.js} +7 -7
  61. package/{chunk-L3JWI7WX.js → chunk-QOKAKDPE.js} +15 -11
  62. package/{chunk-757BGY6Y.js → chunk-RFYXK6KI.js} +1 -1
  63. package/chunk-RQSN75DW.js +1766 -0
  64. package/{chunk-HCMFFI2G.js → chunk-S3JNURSO.js} +2 -2
  65. package/{chunk-YZ2WE6CW.js → chunk-SAJSBPI2.js} +2 -2
  66. package/{chunk-WHVQA7PJ.js → chunk-SCBBGS2N.js} +23 -5
  67. package/chunk-SGSJBBKP.js +297 -0
  68. package/{chunk-GFUOVFQA.js → chunk-TUBNQ3OF.js} +2 -2
  69. package/{chunk-BANYWEYY.js → chunk-TY3ADTX5.js} +1 -1
  70. package/chunk-UAD2WT54.js +64 -0
  71. package/{chunk-SW7RCUGA.js → chunk-UEV5WVQV.js} +3 -3
  72. package/{chunk-EURF2SV6.js → chunk-UMCMW5R3.js} +51 -34
  73. package/{chunk-K524MUQC.js → chunk-VFDRZHPM.js} +16 -16
  74. package/{chunk-5WADL4O7.js → chunk-W22UTILW.js} +3 -3
  75. package/{chunk-IKTHA3JH.js → chunk-WERPP2S7.js} +2 -2
  76. package/{chunk-GBADO3SM.js → chunk-WSUHBABG.js} +1 -1
  77. package/{chunk-U5Z7LFZF.js → chunk-X3OGKR5Q.js} +4 -4
  78. package/{chunk-AVKUDHJO.js → chunk-X5LRMXTS.js} +10 -10
  79. package/{chunk-DIQCV4FR.js → chunk-X665UCNM.js} +1 -1
  80. package/{chunk-HCBQVVFZ.js → chunk-X7P6EJUY.js} +4 -4
  81. package/{chunk-HHBXCRJS.js → chunk-XOJRZUPF.js} +4 -4
  82. package/{chunk-MRWGHF56.js → chunk-YDH3FDFQ.js} +12 -356
  83. package/{chunk-TNPCQNGQ.js → chunk-YEFRCO5N.js} +4 -9
  84. package/{chunk-RO2IUWZE.js → chunk-YUKTCDVN.js} +1 -1
  85. package/{chunk-56W233KG.js → chunk-YWY25N4V.js} +1 -1
  86. package/{chunk-RU5D3B22.js → chunk-ZDS63Y4O.js} +2 -2
  87. package/chunk-ZJ7UHBJS.js +89 -0
  88. package/{chunk-SG65C33A.js → chunk-ZLMG6NRV.js} +4 -4
  89. package/{codingSkills-BYQI6EPT.js → codingSkills-FQPCEIWL.js} +2 -2
  90. package/contentThunks-J33BZB3E.js +71 -0
  91. package/{createAgentAutomationAction-7BBF5YXN.js → createAgentAutomationAction-HTMTGX6Q.js} +25 -21
  92. package/{createDialogAction-B5URPHP4.js → createDialogAction-WYQBSN6A.js} +27 -23
  93. package/{createPageAction-ISJKM5Q3.js → createPageAction-ICRRK3SA.js} +27 -22
  94. package/{dbSlice-FWF5F4L7.js → dbSlice-YORO4VL4.js} +6 -6
  95. package/{deleteFile-NPZ64DFN.js → deleteFile-JYKRT7C3.js} +4 -4
  96. package/{dialogCommands-XHH4MVA4.js → dialogCommands-FRSIAPKY.js} +31 -29
  97. package/{dialogSlice-NRAN5X7F.js → dialogSlice-5KPVIAWH.js} +24 -21
  98. package/{docCreateCommands-FUN2Z7HQ.js → docCreateCommands-DBRJMPDX.js} +30 -28
  99. package/{docDeleteCommands-OZDPFXPF.js → docDeleteCommands-BCYPLWXN.js} +31 -29
  100. package/{docReadCommands-FIPK7LE3.js → docReadCommands-L5JX4Q7G.js} +30 -28
  101. package/{docStore-LUS7SWC3.js → docStore-34NXLCEO.js} +8 -33
  102. package/{docUpdateCommands-BZ5GKAN4.js → docUpdateCommands-RELG7XJD.js} +30 -28
  103. package/fetchMessages-KZQVBXKY.js +1 -1
  104. package/{getPricing-HAU62AFM.js → getPricing-FM7TJZFV.js} +4 -4
  105. package/{handleSendMessageAction-RA4OD2ZH.js → handleSendMessageAction-MEYK7RPD.js} +25 -22
  106. package/index.js +64 -64
  107. package/{machineCommands-WDAYEFBE.js → machineCommands-YSXTOWHQ.js} +59 -54
  108. package/{machineWsRunDispatch-TPQ2FQVS.js → machineWsRunDispatch-DNAYOPQT.js} +54 -49
  109. package/memberThunks-KVPBG4V7.js +638 -0
  110. package/{models-4QF4BJVY.js → models-CW5EL6Z7.js} +2 -2
  111. package/package.json +2 -3
  112. package/{read-J7RVVCHH.js → read-NIOV5F7W.js} +4 -4
  113. package/{readDocTool-G2WBM4IH.js → readDocTool-ULKJ5BEM.js} +1 -1
  114. package/{readlineWorkspace-HN44KGIF.js → readlineWorkspace-KZ3LPQG2.js} +829 -393
  115. package/{removeDialogAgentAction-RMPISD42.js → removeDialogAgentAction-JGSCPML3.js} +12 -11
  116. package/{runAgentClientLoop-ZYUI22EA.js → runAgentClientLoop-O2AUHIJT.js} +46 -40
  117. package/{setDialogExtraReferencesAction-7BUTHDAL.js → setDialogExtraReferencesAction-CORU64NM.js} +9 -8
  118. package/{setPrimaryDialogAgentAction-WCYIBGZ4.js → setPrimaryDialogAgentAction-5VS2VKLZ.js} +12 -11
  119. package/{settingSlice-7NN2MI6Y.js → settingSlice-3GNGTC2T.js} +7 -7
  120. package/{skillDiscovery-COX56OBO.js → skillDiscovery-CYUCJMAG.js} +3 -3
  121. package/{spaceCommands-OJ2567D4.js → spaceCommands-OI7RIB2T.js} +30 -28
  122. package/{streamAgentChatTurn-FNFMMGNN.js → streamAgentChatTurn-TA3PGS6C.js} +61 -54
  123. package/{switchDialogAgentAction-WGMMQHDI.js → switchDialogAgentAction-LP433X4D.js} +10 -9
  124. package/{tableCommands-P2TXJ3CF.js → tableCommands-R6WFRDYF.js} +1 -1
  125. package/{toolApiClient-B2MFXMEG.js → toolApiClient-53U4UDFF.js} +3 -2
  126. package/{tools-QCDR3UMD.js → tools-6ZPQ75XA.js} +37 -32
  127. package/{tuiSummaryLlmCaller-LCGT62QC.js → tuiSummaryLlmCaller-YKYQB4ZL.js} +17 -15
  128. package/{updateDialogTitleAction-Y3OGJWDB.js → updateDialogTitleAction-LRJ7NSOS.js} +26 -22
  129. package/chunk-EUG45QJR.js +0 -6104
  130. package/spaceSlice-F7JCOZEF.js +0 -127
  131. package/{chunk-NQ4N4IGO.js → chunk-CS6TCJ7E.js} +3 -3
@@ -4,7 +4,7 @@ import {
4
4
  refreshAntigravityOAuthToken,
5
5
  refreshOpenAiCodexToken,
6
6
  xaiRefresh
7
- } from "./chunk-U5Z7LFZF.js";
7
+ } from "./chunk-X3OGKR5Q.js";
8
8
  import {
9
9
  defaultLoopbackRequest
10
10
  } from "./chunk-EADNWBAZ.js";
@@ -18,7 +18,7 @@ import {
18
18
  } from "./chunk-NI2BS6UD.js";
19
19
  import {
20
20
  buildLocalAgentLookupKeys
21
- } from "./chunk-OYNDYVSE.js";
21
+ } from "./chunk-B45YNDAE.js";
22
22
  import {
23
23
  LOCAL_CODEX_AGENT_ID,
24
24
  LOCAL_CODEX_AGENT_KEY,
@@ -46,17 +46,17 @@ import {
46
46
  spawnLocalBackgroundRun,
47
47
  terminateRunProcess,
48
48
  withQueueLock
49
- } from "./chunk-WHVQA7PJ.js";
49
+ } from "./chunk-SCBBGS2N.js";
50
50
  import {
51
51
  inferCaptureIntent
52
- } from "./chunk-RO2IUWZE.js";
52
+ } from "./chunk-YUKTCDVN.js";
53
53
  import {
54
54
  buildCliPrompt
55
55
  } from "./chunk-ATNTHIZI.js";
56
56
  import {
57
57
  inlineImageUrlsForCustomProvider,
58
58
  prepareTools
59
- } from "./chunk-HCMFFI2G.js";
59
+ } from "./chunk-S3JNURSO.js";
60
60
  import {
61
61
  getServerProviderSecret
62
62
  } from "./chunk-HS7MLR74.js";
@@ -65,7 +65,7 @@ import {
65
65
  isAntigravityOAuthAgent,
66
66
  readAntigravityProjectId,
67
67
  resolveAntigravityCloudCodeBaseUrl
68
- } from "./chunk-757BGY6Y.js";
68
+ } from "./chunk-RFYXK6KI.js";
69
69
  import {
70
70
  deleteMemoryFunctionSchema,
71
71
  readXPostFunc,
@@ -75,7 +75,7 @@ import {
75
75
  rememberMemoryFunctionSchema,
76
76
  resolveAgentRequiredPackIds,
77
77
  setTodoListFunc
78
- } from "./chunk-WKOEOQCI.js";
78
+ } from "./chunk-OSUZKICS.js";
79
79
  import {
80
80
  fetchWithTransientRetry,
81
81
  isTransientFetchError
@@ -98,13 +98,13 @@ import {
98
98
  prepareTokenUsageData,
99
99
  resolveBuiltinPlatformAgentConfig,
100
100
  runKeyed
101
- } from "./chunk-EURF2SV6.js";
101
+ } from "./chunk-UMCMW5R3.js";
102
102
  import {
103
103
  BUILTIN_TITLE_LLM_CONFIG
104
104
  } from "./chunk-EVBFYPDC.js";
105
105
  import {
106
106
  fetchServerSyncedCredential
107
- } from "./chunk-WX5E6HZS.js";
107
+ } from "./chunk-N6SLQMSA.js";
108
108
  import {
109
109
  require_date_fns
110
110
  } from "./chunk-M76ECQRD.js";
@@ -120,8 +120,9 @@ import {
120
120
  applySystemBuiltinSkillFilter,
121
121
  expandEnabledPacks,
122
122
  resolveEffectiveEnabledPacks
123
- } from "./chunk-LGUQHYAL.js";
123
+ } from "./chunk-O5FLGN2L.js";
124
124
  import {
125
+ DEFAULT_HYBRID_READ_TIMEOUT_MS,
125
126
  aggregateResponsesStream,
126
127
  buildLoadSkillExecutor,
127
128
  buildLocalDialogWritePlan,
@@ -144,7 +145,7 @@ import {
144
145
  parseSyncServersEnv,
145
146
  resolveOpenAiCompatibleProviderConfig,
146
147
  summarizeToolArguments
147
- } from "./chunk-IKSFDJXB.js";
148
+ } from "./chunk-GKNGRBE6.js";
148
149
  import {
149
150
  buildPlatformChatCompletionRequest,
150
151
  canUsePlatformChatProvider,
@@ -156,23 +157,23 @@ import {
156
157
  resolvePlatformChatProviderConfig,
157
158
  shouldUsePlatformChatProvider,
158
159
  streamSseDataValues
159
- } from "./chunk-GDGIEGHV.js";
160
+ } from "./chunk-IPTZ5TVU.js";
160
161
  import {
161
162
  resolveAgentRuntimeConfigFromRecord,
162
163
  resolveHistoricalToolContentCap
163
- } from "./chunk-CVT7L2WZ.js";
164
+ } from "./chunk-LVCAWHI5.js";
164
165
  import {
165
166
  convertMessagesToResponsesInput,
166
167
  toResponsesTools
167
- } from "./chunk-6BYAXNH5.js";
168
+ } from "./chunk-3QOCS5IF.js";
168
169
  import {
169
170
  resolvePlatformAuthToken
170
- } from "./chunk-SP3DPVBH.js";
171
+ } from "./chunk-DEIGUGP6.js";
171
172
  import {
172
173
  buildNoloWorkspaceOpenAiTools,
173
174
  parseNoloWorkspaceToolArguments,
174
175
  resolveRuntimeToolSurfaceForAgent
175
- } from "./chunk-TNPCQNGQ.js";
176
+ } from "./chunk-YEFRCO5N.js";
176
177
  import {
177
178
  mergeAvailabilityDeadline,
178
179
  resolveAvailabilityAction,
@@ -184,25 +185,25 @@ import {
184
185
  } from "./chunk-2MBTWINN.js";
185
186
  import {
186
187
  clipCompactText
187
- } from "./chunk-HR5XDXYM.js";
188
+ } from "./chunk-G5SQVIFZ.js";
189
+ import {
190
+ isAdaptiveThinkingModelId
191
+ } from "./chunk-KNQ5LYVZ.js";
192
+ import {
193
+ compactWhitespace
194
+ } from "./chunk-DWLEOOGR.js";
188
195
  import {
189
196
  createFileCredentialBroker,
190
197
  resolveCurrentRunRuntimeToolPolicy,
191
198
  resolveLocalWorkspaceExecutorOptionsFromPolicy,
192
199
  resolveRequestedRuntimeToolNames
193
- } from "./chunk-NQ4N4IGO.js";
200
+ } from "./chunk-CS6TCJ7E.js";
194
201
  import {
195
202
  createOAuthTokenStore,
196
203
  isTokenExpired,
197
204
  readOAuthCredential,
198
205
  resolveFreshAccessToken
199
206
  } from "./chunk-FD36SCCD.js";
200
- import {
201
- isAdaptiveThinkingModelId
202
- } from "./chunk-QDHZCAH3.js";
203
- import {
204
- compactWhitespace
205
- } from "./chunk-DWLEOOGR.js";
206
207
  import {
207
208
  toErrorMessage
208
209
  } from "./chunk-HNMXYYJR.js";
@@ -230,7 +231,7 @@ import {
230
231
  } from "./chunk-QSJ3HFEF.js";
231
232
  import {
232
233
  isSystemBuiltinTrustedAgentKey
233
- } from "./chunk-2JYSSXLY.js";
234
+ } from "./chunk-EJFW7TRP.js";
234
235
  import {
235
236
  isRecord
236
237
  } from "./chunk-KUG52IAP.js";
@@ -532,6 +533,11 @@ var STRINGS = {
532
533
  en: "Draft cleared.",
533
534
  zh: "\u8F93\u5165\u8349\u7A3F\u5DF2\u6E05\u7A7A\u3002"
534
535
  },
536
+ // 空草稿按 Backspace 逐个撤销附件(composer 附件条)。
537
+ attachmentRemovedHint: {
538
+ en: "Removed attachment {0}, {1} remaining",
539
+ zh: "\u5DF2\u79FB\u9664\u9644\u4EF6 {0}\uFF0C\u5269\u4F59 {1} \u5F20"
540
+ },
535
541
  historyNoToken: {
536
542
  en: "History requires an auth token. Run `nolo login` or set AUTH_TOKEN.",
537
543
  zh: "\u67E5\u770B\u5386\u53F2\u5BF9\u8BDD\u9700\u8981\u767B\u5F55\u51ED\u8BC1\u3002\u8BF7\u8FD0\u884C `nolo login` \u6216\u8BBE\u7F6E AUTH_TOKEN\u3002"
@@ -599,6 +605,10 @@ var STRINGS = {
599
605
  // --- Tool trace copy ------------------------------------------------------
600
606
  // The compact trace shows only status, never timing or output size: a line
601
607
  // count told the user nothing actionable and the ms figure read as noise.
608
+ thinkingTraceLine: {
609
+ en: "\u273B Thought for {0}",
610
+ zh: "\u273B \u601D\u8003 {0}"
611
+ },
602
612
  toolNeedsAction: {
603
613
  en: "needs action",
604
614
  zh: "\u5F85\u786E\u8BA4"
@@ -801,10 +811,6 @@ var STRINGS = {
801
811
  en: "runtime",
802
812
  zh: "\u8FD0\u884C\u65F6"
803
813
  },
804
- contextFieldTools: {
805
- en: "tools",
806
- zh: "\u5DE5\u5177"
807
- },
808
814
  contextFieldServer: {
809
815
  en: "server",
810
816
  zh: "\u670D\u52A1\u7AEF"
@@ -840,9 +846,8 @@ var STRINGS = {
840
846
  " /new Clear screen and start a fresh dialog",
841
847
  " /compact Compact current dialog and fork a new one",
842
848
  " /context Show workspace context and next actions",
849
+ " /cd <path> Change the working directory (takes effect on the next turn)",
843
850
  " /runtime <mode> Use auto, local, or server runtime",
844
- " /tools <mode> Control tool trace: hide, compact, verbose",
845
- " /thinking <mode> Show or hide live model reasoning",
846
851
  " /switch Pick an agent interactively (\u2191\u2193, Enter)",
847
852
  " /switch list List agents as text",
848
853
  " /switch <name> Switch directly by name, alias, or key (alias: /agent)",
@@ -852,7 +857,7 @@ var STRINGS = {
852
857
  " /lang <zh|en> Switch interface language",
853
858
  ' /copy [all] Copy the last reply (or the full conversation with "all") to the clipboard',
854
859
  " /mouse <on|off> Toggle mouse mode (off = drag to select text)",
855
- " /auto <on|off> Toggle permission auto-approve (skip destructive-shell & external-file confirms)",
860
+ " /auto <on|off> Toggle permission auto-approve (skip destructive-shell, external-file & file-write confirms)",
856
861
  " /math <on|off> Toggle math formula rendering (Unicode transcription)",
857
862
  " /altscreen <on|off> Toggle the terminal alternate screen (default on; off shares shell scrollback)",
858
863
  " Shift+drag Select text natively even while mouse mode is on (terminal bypass)",
@@ -879,9 +884,8 @@ var STRINGS = {
879
884
  " /new \u6E05\u5C4F\u5E76\u5F00\u59CB\u65B0\u5BF9\u8BDD",
880
885
  " /compact \u538B\u7F29\u5F53\u524D\u5BF9\u8BDD\u5E76\u5206\u53C9\u51FA\u65B0\u5BF9\u8BDD",
881
886
  " /context \u67E5\u770B\u5DE5\u4F5C\u533A\u4E0A\u4E0B\u6587\u4E0E\u540E\u7EED\u64CD\u4F5C",
887
+ " /cd <path> \u5207\u6362\u5DE5\u4F5C\u76EE\u5F55\uFF08\u4E0B\u4E2A turn \u751F\u6548\uFF09",
882
888
  " /runtime <mode> \u5207\u6362 runtime\uFF1Aauto\u3001local\u3001server",
883
- " /tools <mode> \u5DE5\u5177\u8F68\u8FF9\u663E\u793A\uFF1Ahide\u3001compact\u3001verbose",
884
- " /thinking <mode> \u663E\u793A\u6216\u9690\u85CF\u6A21\u578B\u7684\u5B9E\u65F6\u601D\u8003\u8FC7\u7A0B",
885
889
  " /switch \u4EA4\u4E92\u5F0F\u9009\u62E9 agent\uFF08\u2191\u2193 \u79FB\u52A8\uFF0CEnter \u786E\u8BA4\uFF09",
886
890
  " /switch list \u4EE5\u6587\u672C\u5217\u51FA\u5168\u90E8 agent",
887
891
  " /switch <name> \u6309\u540D\u79F0\u3001\u522B\u540D\u6216 key \u76F4\u63A5\u5207\u6362\uFF08\u522B\u540D\uFF1A/agent\uFF09",
@@ -891,7 +895,7 @@ var STRINGS = {
891
895
  " /lang <zh|en> \u5207\u6362\u754C\u9762\u8BED\u8A00",
892
896
  " /copy [all] \u590D\u5236\u6700\u540E\u4E00\u6761\u56DE\u590D\u5230\u526A\u8D34\u677F\uFF08\u52A0 all \u590D\u5236\u5B8C\u6574\u5BF9\u8BDD\uFF09",
893
897
  " /mouse <on|off> \u5207\u6362\u9F20\u6807\u6A21\u5F0F\uFF08off \u540E\u53EF\u76F4\u63A5\u62D6\u9009\u6587\u672C\uFF09",
894
- " /auto <on|off> \u5207\u6362\u6743\u9650\u81EA\u52A8\u5316\uFF08\u81EA\u52A8\u653E\u884C\u7834\u574F\u6027 shell \u4E0E\u5916\u90E8\u6587\u4EF6\u786E\u8BA4\uFF09",
898
+ " /auto <on|off> \u5207\u6362\u6743\u9650\u81EA\u52A8\u5316\uFF08\u81EA\u52A8\u653E\u884C\u7834\u574F\u6027 shell\u3001\u5916\u90E8\u6587\u4EF6\u4E0E\u5199\u6587\u4EF6\u786E\u8BA4\uFF09",
895
899
  " /math <on|off> \u5207\u6362\u6570\u5B66\u516C\u5F0F\u6E32\u67D3\uFF08Unicode \u8F6C\u5199\uFF09",
896
900
  " /altscreen <on|off> \u5207\u6362\u7EC8\u7AEF\u5907\u7528\u5C4F\uFF08\u9ED8\u8BA4 on\uFF1Boff \u6539\u4E3A\u4E0E shell \u5171\u7528\u56DE\u6EDA\uFF09",
897
901
  " Shift+\u62D6\u62FD \u9F20\u6807\u6A21\u5F0F\u5F00\u542F\u65F6\u4E5F\u53EF\u539F\u751F\u9009\u4E2D\u6587\u672C\uFF08\u7EC8\u7AEF\u7ED5\u8FC7\u4FEE\u9970\u952E\uFF09",
@@ -922,21 +926,10 @@ var STRINGS = {
922
926
  },
923
927
  runtimeUsage: { en: "Usage: /runtime <auto|local|server>", zh: "\u7528\u6CD5\uFF1A/runtime <auto|local|server>" },
924
928
  runtimeSet: { en: "Runtime: {0}", zh: "\u8FD0\u884C\u6A21\u5F0F\uFF1A{0}" },
925
- toolsCurrent: {
926
- en: "Tool display: {0} (normal | pro | hide | verbose)",
927
- zh: "\u5DE5\u5177\u663E\u793A\uFF1A{0}\uFF08\u666E\u901A normal | \u4E13\u4E1A pro | hide | verbose\uFF09"
928
- },
929
- toolsUsage: { en: "Usage: /tools <normal|pro|hide|verbose>", zh: "\u7528\u6CD5\uFF1A/tools <normal|pro|hide|verbose>" },
930
- toolsSet: { en: "Tool display: {0}", zh: "\u5DE5\u5177\u663E\u793A\uFF1A{0}" },
931
- thinkingCurrent: {
932
- en: "Thinking display: {0} (show | hide)",
933
- zh: "\u601D\u8003\u663E\u793A\uFF1A{0}\uFF08show | hide\uFF09"
934
- },
935
- thinkingUsage: {
936
- en: "Usage: /thinking <show|hide>",
937
- zh: "\u7528\u6CD5\uFF1A/thinking <show|hide>"
929
+ displayFixedHint: {
930
+ en: "The TUI ships a single built-in tool display \u2014 no configuration needed. Thinking process visibility is still controlled independently via NOLO_CLI_THINKING=show|hide (applied on restart).",
931
+ zh: "TUI \u53EA\u6709\u4E00\u5957\u5185\u7F6E\u5DE5\u5177\u663E\u793A\uFF0C\u65E0\u9700\u914D\u7F6E\u3002\u601D\u8003\u8FC7\u7A0B\u4ECD\u53EF\u7528 NOLO_CLI_THINKING=show|hide \u72EC\u7ACB\u63A7\u5236\uFF08\u91CD\u542F\u751F\u6548\uFF09\u3002"
938
932
  },
939
- thinkingSet: { en: "Thinking display: {0}", zh: "\u601D\u8003\u663E\u793A\uFF1A{0}" },
940
933
  tasksRunning: { en: "Running processes ({0}):", zh: "\u8FD0\u884C\u4E2D\u7684\u8FDB\u7A0B\uFF08{0}\uFF09\uFF1A" },
941
934
  tasksStopped: { en: "Stopped/exited ({0}):", zh: "\u5DF2\u505C\u6B62/\u5DF2\u9000\u51FA\uFF08{0}\uFF09\uFF1A" },
942
935
  tasksNone: { en: "No processes.", zh: "\u6CA1\u6709\u8FD0\u884C\u4E2D\u7684\u8FDB\u7A0B\u3002" },
@@ -1009,14 +1002,18 @@ Use /switch, /switch list, /switch minimax-m3, or a full agent key.`,
1009
1002
  },
1010
1003
  themeSwitched: { en: "Switched to theme: {0}", zh: "\u5DF2\u5207\u6362\u5230\u4E3B\u9898\uFF1A{0}" },
1011
1004
  themeUnknown: { en: "Unknown theme: {0}. Available themes: {1}", zh: "\u672A\u77E5\u4E3B\u9898\uFF1A{0}\u3002\u53EF\u7528\u4E3B\u9898\uFF1A{1}" },
1012
- densityCurrent: {
1013
- en: "Current density: {0}\nUsage: /density <cozy|spacious>",
1014
- zh: "\u5F53\u524D\u5BC6\u5EA6\uFF1A{0}\n\u7528\u6CD5\uFF1A/density <cozy|spacious>"
1015
- },
1016
- densitySwitched: { en: "Switched to layout density: {0}", zh: "\u5DF2\u5207\u6362\u5230\u5E03\u5C40\u5BC6\u5EA6\uFF1A{0}" },
1017
- densityUnknown: {
1018
- en: "Unknown density: {0}. Use 'cozy' or 'spacious'.",
1019
- zh: "\u672A\u77E5\u5BC6\u5EA6\uFF1A{0}\u3002\u8BF7\u4F7F\u7528 cozy \u6216 spacious\u3002"
1005
+ cdUsage: {
1006
+ en: "Usage: /cd <path> (relative, absolute, ~, or -; takes effect on the next turn)",
1007
+ zh: "\u7528\u6CD5\uFF1A/cd <path>\uFF08\u76F8\u5BF9\u3001\u7EDD\u5BF9\u3001~ \u6216 - \u8DEF\u5F84\uFF1B\u4E0B\u4E2A turn \u751F\u6548\uFF09"
1008
+ },
1009
+ cdCurrent: { en: "Current directory: {0}", zh: "\u5F53\u524D\u76EE\u5F55\uFF1A{0}" },
1010
+ cdSwitched: { en: "Working directory: {0}", zh: "\u5DE5\u4F5C\u76EE\u5F55\uFF1A{0}" },
1011
+ cdNotFound: { en: "Directory not found: {0}", zh: "\u76EE\u5F55\u4E0D\u5B58\u5728\uFF1A{0}" },
1012
+ cdNotDir: { en: "Not a directory: {0}", zh: "\u4E0D\u662F\u76EE\u5F55\uFF1A{0}" },
1013
+ cdNoPrevious: { en: "No previous directory.", zh: "\u6CA1\u6709\u4E0A\u4E00\u4E2A\u76EE\u5F55\u3002" },
1014
+ cdSwitchedMessage: {
1015
+ en: "Working directory changed: {0} \u2192 {1}. Subsequent tool execution and file operations use the new directory.",
1016
+ zh: "\u5DE5\u4F5C\u76EE\u5F55\u5DF2\u5207\u6362\uFF1A{0} \u2192 {1}\u3002\u540E\u7EED\u5DE5\u5177\u6267\u884C\u4E0E\u6587\u4EF6\u64CD\u4F5C\u4EE5\u65B0\u76EE\u5F55\u4E3A\u51C6\u3002"
1020
1017
  },
1021
1018
  docAttachUsage: { en: "Usage: /doc attach <doc>", zh: "\u7528\u6CD5\uFF1A/doc attach <doc>" },
1022
1019
  docList: { en: "Attached docs: {0}", zh: "\u5DF2\u6302\u8F7D\u6587\u6863\uFF1A{0}" },
@@ -11382,6 +11379,15 @@ function resolveFallbackServers(env) {
11382
11379
  function resolveAuthToken(env) {
11383
11380
  return resolvePlatformAuthToken(env);
11384
11381
  }
11382
+ function resolveHybridReadTimeoutMs(env = process.env) {
11383
+ const raw = env.NOLO_HYBRID_READ_TIMEOUT_MS?.trim();
11384
+ if (!raw) return DEFAULT_HYBRID_READ_TIMEOUT_MS;
11385
+ const parsed = Number(raw);
11386
+ if (!Number.isFinite(parsed) || parsed < 0) {
11387
+ return DEFAULT_HYBRID_READ_TIMEOUT_MS;
11388
+ }
11389
+ return parsed;
11390
+ }
11385
11391
  function createCliHybridRecordStore(deps) {
11386
11392
  return createHybridRecordStore({
11387
11393
  db: deps.db,
@@ -11390,7 +11396,8 @@ function createCliHybridRecordStore(deps) {
11390
11396
  ),
11391
11397
  fallbackServers: resolveFallbackServers(deps.env),
11392
11398
  authToken: resolveAuthToken(deps.env),
11393
- fetchImpl: deps.fetchImpl
11399
+ fetchImpl: deps.fetchImpl,
11400
+ requestTimeoutMs: resolveHybridReadTimeoutMs(deps.env)
11394
11401
  });
11395
11402
  }
11396
11403
 
@@ -12263,17 +12270,22 @@ function createCliLocalRuntimeAdapter(deps) {
12263
12270
  executeTool: async (call, opts) => {
12264
12271
  const contextualCall = opts?.runtimeContext ? { ...call, runtimeContext: opts.runtimeContext } : call;
12265
12272
  let injectedCall = contextualCall;
12266
- if (contextualCall.name === "startAgentRun" && deps.parentDialogId && typeof contextualCall.arguments === "string") {
12273
+ let spawnedWithoutParent = false;
12274
+ if (contextualCall.name === "startAgentRun" && typeof contextualCall.arguments === "string") {
12267
12275
  try {
12268
12276
  const args = JSON.parse(contextualCall.arguments);
12269
12277
  if (!args.parentDialogId) {
12270
- injectedCall = {
12271
- ...contextualCall,
12272
- arguments: JSON.stringify({
12273
- ...args,
12274
- parentDialogId: deps.parentDialogId
12275
- })
12276
- };
12278
+ if (deps.parentDialogId) {
12279
+ injectedCall = {
12280
+ ...contextualCall,
12281
+ arguments: JSON.stringify({
12282
+ ...args,
12283
+ parentDialogId: deps.parentDialogId
12284
+ })
12285
+ };
12286
+ } else {
12287
+ spawnedWithoutParent = true;
12288
+ }
12277
12289
  }
12278
12290
  } catch {
12279
12291
  }
@@ -12292,6 +12304,15 @@ function createCliLocalRuntimeAdapter(deps) {
12292
12304
  detachMs: resolveExecShellDetachMs(deps.env),
12293
12305
  ...deps.confirmDestructiveAction ? { confirmDestructiveAction: deps.confirmDestructiveAction } : {}
12294
12306
  });
12307
+ if (spawnedWithoutParent && deps.onBackgroundRunSpawned) {
12308
+ try {
12309
+ const payload = JSON.parse(result?.content ?? "");
12310
+ if (payload && typeof payload.runId === "string" && payload.runId) {
12311
+ deps.onBackgroundRunSpawned(payload.runId);
12312
+ }
12313
+ } catch {
12314
+ }
12315
+ }
12295
12316
  return {
12296
12317
  ...result,
12297
12318
  metadata: {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  buildLocalAgentLookupKeys,
3
3
  shouldReadAgentKeyRemotely
4
- } from "./chunk-OYNDYVSE.js";
4
+ } from "./chunk-B45YNDAE.js";
5
5
  import {
6
6
  resolveCliAgentKeyInput
7
7
  } from "./chunk-EKLRRZIN.js";
@@ -10,14 +10,14 @@ import {
10
10
  scheduleExistingRecordReplication,
11
11
  shouldReplaceLocalWithRemoteRecord,
12
12
  shouldReplicateLocalRecord
13
- } from "./chunk-HHBXCRJS.js";
13
+ } from "./chunk-XOJRZUPF.js";
14
14
  import {
15
15
  fetchFromClientDb,
16
16
  fetchFromServer,
17
17
  isAbortError,
18
18
  isReadTimeoutError,
19
19
  logger
20
- } from "./chunk-L3JWI7WX.js";
20
+ } from "./chunk-QOKAKDPE.js";
21
21
  import {
22
22
  shouldReplaceWithNextRecord
23
23
  } from "./chunk-GBRG75BQ.js";
@@ -152,30 +152,9 @@ var BUILTIN_AGENT_CATALOG = [
152
152
  model: "gpt-5.5-pro",
153
153
  runtimeFallback: true
154
154
  },
155
- {
156
- id: "01CLSO50DIPB00000000A1DVVU",
157
- group: "public",
158
- name: "Claude Sonnet 5",
159
- provider: "deepinfra",
160
- model: "anthropic/claude-sonnet-5",
161
- runtimeFallback: true
162
- },
163
- {
164
- id: "01CLOP48DIPB0000000001OI1W",
165
- group: "public",
166
- name: "Claude Opus 5",
167
- provider: "deepinfra",
168
- model: "anthropic/claude-opus-5",
169
- runtimeFallback: true
170
- },
171
- {
172
- id: "01FABLE5DIPB00000001VJBKM4",
173
- group: "public",
174
- name: "Claude Fable 5",
175
- provider: "deepinfra",
176
- model: "anthropic/claude-fable-5",
177
- runtimeFallback: true
178
- },
155
+ // Claude Sonnet/Opus/Fable 5 已从广场下架(2026-09-01,平台停止维护 Claude 系):
156
+ // 存量记录由 modelUpgradeTable 迁移到 nolo/glm-5-3-flash,兼容期请求由
157
+ // platformHostedRoutingTable 重映射;客户端下架提示走 publicAgents.removedFromPlaza。
179
158
  // Gemini 文本档只上架最新一代:旧版留在广场只会分散选择、拉长列表,而
180
159
  // 用户想要的是「最新的那个 Gemini」。gemini-3.6-flash 这个**模型**仍然保留
181
160
  // (modelAbility / 定价表照旧),下架的只是广场入口。
@@ -1,16 +1,19 @@
1
+ import {
2
+ buildResponseGuidelines
3
+ } from "./chunk-6IGD47IC.js";
1
4
  import {
2
5
  getLocalProviderSecret
3
6
  } from "./chunk-HS7MLR74.js";
4
7
  import {
5
8
  ANTIGRAVITY_CLOUD_CODE_BASE_URL,
6
9
  isAntigravityOAuthAgent
7
- } from "./chunk-757BGY6Y.js";
10
+ } from "./chunk-RFYXK6KI.js";
8
11
  import {
9
12
  clipMultilineText,
10
13
  fetchAndSerializeTable,
11
14
  resolveBuiltinSkillPage,
12
15
  waitForAbortableDelay
13
- } from "./chunk-WKOEOQCI.js";
16
+ } from "./chunk-OSUZKICS.js";
14
17
  import {
15
18
  isGatewayHttpStatus
16
19
  } from "./chunk-NF64D32W.js";
@@ -22,55 +25,55 @@ import {
22
25
  } from "./chunk-3L2WKC3W.js";
23
26
  import {
24
27
  slateToSimplifiedMarkdown
25
- } from "./chunk-5XCW6RQG.js";
28
+ } from "./chunk-BUBPRCIU.js";
26
29
  import {
27
30
  extractCategorizedMentions
28
31
  } from "./chunk-MEYIRKDN.js";
29
32
  import {
30
33
  fetchAndCacheMessages
31
- } from "./chunk-EURF2SV6.js";
34
+ } from "./chunk-UMCMW5R3.js";
32
35
  import {
33
36
  shouldUseServerProxy
34
37
  } from "./chunk-YYLHWIW6.js";
35
38
  import {
36
39
  fetchServerSyncedCredential
37
- } from "./chunk-WX5E6HZS.js";
40
+ } from "./chunk-N6SLQMSA.js";
38
41
  import {
39
42
  buildSkillGuidancePromptBlock,
40
43
  extractRuntimePageCapabilities,
41
44
  resolveSkillGraphFromRoots
42
- } from "./chunk-V2IPBG5U.js";
45
+ } from "./chunk-DGEPT6FH.js";
43
46
  import {
44
47
  buildCurrentTimeBlock,
45
48
  buildIdentityBlock,
46
49
  buildRuntimeGuidanceBlocks,
47
50
  normalizeChatCompletionsBodyForProvider,
48
51
  resolveToolGuidedSections
49
- } from "./chunk-NN3AMBY3.js";
52
+ } from "./chunk-DXOELY7S.js";
50
53
  import {
51
54
  convertMessagesToResponsesInput,
52
55
  getUsageRequestOptions,
53
56
  preserveAgentStateFields
54
- } from "./chunk-6BYAXNH5.js";
57
+ } from "./chunk-3QOCS5IF.js";
55
58
  import {
56
59
  buildProviderAuthHeaders
57
- } from "./chunk-SP3DPVBH.js";
60
+ } from "./chunk-DEIGUGP6.js";
58
61
  import {
59
62
  estimateTokenCount
60
- } from "./chunk-HR5XDXYM.js";
63
+ } from "./chunk-G5SQVIFZ.js";
61
64
  import {
62
65
  isOpenAiResponsesModel,
63
66
  resolvePlatformChatCompletionsEndpoint,
64
67
  resolvePlatformResponsesEndpoint
65
- } from "./chunk-VRJUIUIY.js";
66
- import {
67
- createFileCredentialBroker
68
- } from "./chunk-NQ4N4IGO.js";
68
+ } from "./chunk-KVVNC5V3.js";
69
69
  import {
70
70
  clampReasoningEffort,
71
71
  getModelConfig,
72
72
  isModelSupportReasoningEffort
73
- } from "./chunk-QDHZCAH3.js";
73
+ } from "./chunk-KNQ5LYVZ.js";
74
+ import {
75
+ createFileCredentialBroker
76
+ } from "./chunk-CS6TCJ7E.js";
74
77
  import {
75
78
  toErrorMessage
76
79
  } from "./chunk-HNMXYYJR.js";
@@ -78,7 +81,7 @@ import {
78
81
  MEMORY_USE_GUIDANCE,
79
82
  buildUserResponseLanguageContext,
80
83
  wrapHistoricalSummaryWithReplayGuard
81
- } from "./chunk-7CH6U3FL.js";
84
+ } from "./chunk-2GRGFCF6.js";
82
85
  import {
83
86
  canonicalizeToolNames
84
87
  } from "./chunk-O6OSWFZQ.js";
@@ -86,13 +89,13 @@ import {
86
89
  isDeepInfraKimiModel,
87
90
  isFireworksKimiModel,
88
91
  resolveFireworksKimiModel
89
- } from "./chunk-WL3UOGYO.js";
92
+ } from "./chunk-G4WSLTQF.js";
90
93
  import {
91
94
  createSpaceKey
92
- } from "./chunk-4RXXP6WD.js";
95
+ } from "./chunk-UAD2WT54.js";
93
96
  import {
94
97
  read
95
- } from "./chunk-76UA7376.js";
98
+ } from "./chunk-273FJUYI.js";
96
99
  import {
97
100
  asTrimmedLowercaseString
98
101
  } from "./chunk-QSJ3HFEF.js";
@@ -101,16 +104,16 @@ import {
101
104
  } from "./chunk-BJIRLHJR.js";
102
105
  import {
103
106
  getRuntimeServerContext
104
- } from "./chunk-HHBXCRJS.js";
107
+ } from "./chunk-XOJRZUPF.js";
105
108
  import {
106
109
  isAbortError
107
- } from "./chunk-L3JWI7WX.js";
108
- import {
109
- isRecord
110
- } from "./chunk-KUG52IAP.js";
110
+ } from "./chunk-QOKAKDPE.js";
111
111
  import {
112
112
  asTrimmedString
113
113
  } from "./chunk-3EUW3WEO.js";
114
+ import {
115
+ isRecord
116
+ } from "./chunk-KUG52IAP.js";
114
117
  import {
115
118
  API_ENDPOINTS
116
119
  } from "./chunk-LCBAMY2M.js";
@@ -473,8 +476,8 @@ function resolveAgentCallPlan(agentConfig, _env) {
473
476
  model: agentConfig.model,
474
477
  endpointKey: agentConfig.endpointKey
475
478
  });
476
- const upstreamWire = useResponses ? "responses" : "chat.completions";
477
- const endpoint = useResponses ? resolvePlatformResponsesEndpoint(provider) ?? "" : resolvePlatformChatCompletionsEndpoint(provider, agentConfig.model) ?? "";
479
+ const upstreamWire = provider === "nolo" && agentConfig.model === "deepseek-v4-pro" ? "chat.completions" : useResponses ? "responses" : "chat.completions";
480
+ const endpoint = upstreamWire === "responses" ? resolvePlatformResponsesEndpoint(provider) ?? "" : resolvePlatformChatCompletionsEndpoint(provider, agentConfig.model) ?? "";
478
481
  return {
479
482
  authMethod: { kind: "platform-key" },
480
483
  transport,
@@ -559,22 +562,6 @@ var createContextSection = (title, description, content) => content ? `### ${tit
559
562
  ${description}
560
563
 
561
564
  ${content} ` : "";
562
- var buildResponseGuidelines = (isMobile) => {
563
- if (isMobile) {
564
- return `--- \u54CD\u5E94\u5C55\u793A\u6307\u5357\uFF08\u7A84\u5C4F / TUI / \u79FB\u52A8\u7AEF\uFF09 ---
565
- \u5F53\u524D\u5904\u4E8E\u7A84\u5C4F\u6216\u7EC8\u7AEF\u89C6\u56FE\uFF0C\u8BF7\u91C7\u7528\u7D27\u51D1\u3001\u9AD8\u626B\u63CF\u7387\u7684\u6392\u7248\uFF1A
566
- - **\u7ED3\u6784\u4E0E\u7559\u767D**\uFF1A\u7ED3\u8BBA\u6216\u5173\u952E\u72B6\u6001\u7F6E\u9876\uFF0C\u76F4\u5954\u4E3B\u9898\uFF1B\u77ED\u6BB5\u843D\uFF082-4 \u53E5\uFF09\u5E76\u4FDD\u6301\u7A7A\u884C\u547C\u5438\uFF0C\u62D2\u7EDD\u957F\u6BB5\u6587\u5B57\u5899\u3002
567
- - **\u5217\u8868\u4E0E\u7F29\u8FDB**\uFF1A\u5217\u8868\u9879\u7528\u300C- **\u6838\u5FC3\u8BCD**\uFF1A\u8BF4\u660E\u300D\uFF1B\u5D4C\u5957\u6700\u591A 2 \u5C42\uFF0C\u5B50\u5217\u8868\u7F29\u8FDB 2 \u7A7A\u683C\uFF0C\u9632\u6B62\u7EC8\u7AEF\u4E0E\u79FB\u52A8\u7AEF\u6298\u884C\u9519\u4F4D\uFF1B\u5E76\u5217\u7528\u65E0\u5E8F\u5217\u8868\uFF0C\u6B65\u9AA4\u7528\u6709\u5E8F\u5217\u8868\u3002
568
- - **\u8868\u683C\u964D\u7EA7**\uFF1A\u4E25\u7981\u4F7F\u7528 \u22654 \u5217\u7684\u5927\u5BBD\u8868\uFF08\u7A84\u5C4F/\u7EC8\u7AEF\u4E0B\u6298\u884C\u4E25\u91CD\u9519\u4F4D\uFF09\uFF0C\u6539\u7528\u300C\u952E\u503C\u6E05\u5355\u300D\u6216\u7EB5\u5411\u5361\u7247\u3002
569
- - **\u7B26\u53F7\u4E0E\u4EE3\u7801**\uFF1A\u514B\u5236\u4F7F\u7528\u300C---\u300D\u5206\u5272\u7EBF\uFF08\u4EC5\u5927\u4E3B\u9898\u5207\u6362\u6216\u7ED3\u8BBA\u524D\uFF0C\u524D\u540E\u7559\u7A7A\u884C\uFF09\uFF1B\u8DEF\u5F84\u3001\u547D\u4EE4\u4E0E\u53C2\u6570\u4E00\u5F8B\u7528\u53CD\u5F15\u53F7 \` \` \u5305\u88F9\uFF1B\u4EE3\u7801\u5757\u6807\u660E\u8BED\u8A00\u4E14\u907F\u514D\u6A2A\u5411\u8D85\u957F\u884C\uFF1B\u514B\u5236 Emoji\u3002`;
570
- }
571
- return `--- \u54CD\u5E94\u5C55\u793A\u6307\u5357\uFF08\u5BBD\u5C4F / \u684C\u9762\u7AEF\uFF09 ---
572
- \u5F53\u524D\u5904\u4E8E\u5927\u5C4F\u89C6\u56FE\uFF0C\u53EF\u5145\u5206\u53D1\u6325\u7A7A\u95F4\u4F18\u52BF\uFF1A
573
- - **\u7ED3\u6784\u4E0E\u7559\u767D**\uFF1A\u63D0\u4F9B\u5C42\u6B21\u6E05\u6670\u7684\u5168\u666F\u7ED3\u6784\uFF0C\u91CD\u8981\u6A21\u5757\u7528\u4E8C\u7EA7/\u4E09\u7EA7\u6807\u9898\u5212\u5206\uFF1B\u6BB5\u843D\u4FDD\u6301 2-4 \u53E5\u5E76\u7559\u7A7A\u884C\u547C\u5438\uFF0C\u76F4\u5954\u4E3B\u9898\u3002
574
- - **\u5217\u8868\u4E0E\u7F29\u8FDB**\uFF1A\u5217\u8868\u9879\u7528\u300C- **\u6838\u5FC3\u8BCD**\uFF1A\u8BF4\u660E\u300D\uFF1B\u5D4C\u5957\u6700\u591A 2 \u5C42\uFF0C\u5B50\u5217\u8868\u7F29\u8FDB 2 \u7A7A\u683C\uFF1B\u5E76\u5217\u7528\u65E0\u5E8F\u5217\u8868\uFF0C\u6B65\u9AA4\u7528\u6709\u5E8F\u5217\u8868\u3002
575
- - **\u8868\u683C\u4E0E\u5BF9\u6BD4**\uFF1A\u5BBD\u5C4F\u4E0B\u53EF\u9002\u5EA6\u4F7F\u7528 Markdown \u591A\u5217\u8868\u683C\u8FDB\u884C\u65B9\u6848\u6A2A\u5411\u5BF9\u6BD4\u3001\u53C2\u6570\u6C47\u603B\u6216\u77E9\u9635\u5206\u6790\u3002
576
- - **\u7B26\u53F7\u4E0E\u4EE3\u7801**\uFF1A\u53EF\u5C55\u793A\u66F4\u5B8C\u6574\u7684\u4EE3\u7801\u4E0A\u4E0B\u6587\u4E0E\u591A\u6B65\u6267\u884C\u793A\u4F8B\uFF1B\u8DEF\u5F84\u3001\u547D\u4EE4\u4E0E\u53C2\u6570\u7528\u53CD\u5F15\u53F7 \` \` \u5305\u88F9\uFF0C\u4EE3\u7801\u5757\u6807\u660E\u8BED\u8A00\uFF1B\u514B\u5236\u4F7F\u7528\u5206\u5272\u7EBF\u4E0E Emoji\u3002`;
577
- };
578
565
  var buildReferenceMaterialsBlock = (contexts) => {
579
566
  const sections = [
580
567
  createContextSection(
@@ -713,8 +700,7 @@ ${wrapHistoricalSummaryWithReplayGuard(contexts.dialogSummary)}` : "";
713
700
  { id: "clarification-mode", owner: "platform", cacheScope: "session", content: clarifyingSection },
714
701
  { id: "knowledge-management", owner: "platform", cacheScope: "session", content: toolSections.knowledgeManagement },
715
702
  { id: "memory-capture", owner: "platform", cacheScope: "session", content: toolSections.memoryCapture },
716
- { id: "self-update", owner: "platform", cacheScope: "session", content: toolSections.selfUpdate },
717
- { id: "generic-agent-update", owner: "platform", cacheScope: "session", content: toolSections.genericAgentUpdate },
703
+ { id: "agent-config-maintenance", owner: "platform", cacheScope: "session", content: toolSections.agentConfigMaintenance },
718
704
  { id: "context-layer-contract", owner: "platform", cacheScope: "static", content: contextLayerContract },
719
705
  {
720
706
  id: "email-registration-workflow",
@@ -809,6 +795,7 @@ var buildRequestBody = (options) => {
809
795
  model,
810
796
  messages,
811
797
  providerName,
798
+ customProviderUrl,
812
799
  temperature,
813
800
  top_p,
814
801
  frequency_penalty,
@@ -825,7 +812,8 @@ var buildRequestBody = (options) => {
825
812
  stream: true
826
813
  };
827
814
  const usageRequestOptions = getUsageRequestOptions(providerName, {
828
- api: "chat-completions"
815
+ api: "chat-completions",
816
+ endpoint: customProviderUrl
829
817
  });
830
818
  Object.assign(bodyData, usageRequestOptions);
831
819
  if (reasoning_effort && isModelSupportReasoningEffort(model)) {
@@ -881,6 +869,7 @@ var generateOpenAIRequestBody = (agentConfig, providerName, messages, contexts,
881
869
  model: resolvedModel,
882
870
  messages: messagesWithPrompt,
883
871
  providerName,
872
+ customProviderUrl: agentConfig.customProviderUrl,
884
873
  temperature: agentConfig.temperature,
885
874
  top_p: agentConfig.top_p,
886
875
  frequency_penalty: agentConfig.frequency_penalty,