nolo-cli 0.140.0-alpha.1 → 0.140.0-alpha.2
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.
- package/{_executeModel-GJGGE6JX.js → _executeModel-SOYFJXV6.js} +19 -19
- package/{agentDeleteCommand-DAM4LEEO.js → agentDeleteCommand-PDOMFCIL.js} +14 -14
- package/{agentEmailCommands-BTUG55AL.js → agentEmailCommands-FMB2MKEQ.js} +26 -26
- package/{agentListCommands-T3V5EL27.js → agentListCommands-FKMX7KWB.js} +16 -16
- package/{agentMachineCommands-5NBFFTBT.js → agentMachineCommands-XMVB676S.js} +14 -14
- package/{agentProviderCommands-5W5SYALV.js → agentProviderCommands-AOG3OZJA.js} +1 -1
- package/{agentRecordCommands-GFA7RVTG.js → agentRecordCommands-KGBQJLVJ.js} +25 -25
- package/{agentRunCommand-NXT7TWBS.js → agentRunCommand-SEDWFYXO.js} +25 -25
- package/{agentRuntimeLocal-DKFAWMRZ.js → agentRuntimeLocal-F7VBM3ZK.js} +12 -12
- package/{agentSlice-WQVGFRLD.js → agentSlice-CFXREBVL.js} +1 -1
- package/{appDeleteCommands-PBCGWJZQ.js → appDeleteCommands-C6SHMXRO.js} +15 -15
- package/{appDeployCommands-E7KRDPZ5.js → appDeployCommands-TN7KPWQK.js} +15 -15
- package/{appDeployStatusCommands-TZ64EREZ.js → appDeployStatusCommands-CZLHVPY3.js} +15 -15
- package/{appGetCommands-3M2OIBJ3.js → appGetCommands-SE2MWTE2.js} +15 -15
- package/{appListCommands-D7H6I62Y.js → appListCommands-J47WTLZ3.js} +15 -15
- package/{authCommand-IZBILYGF.js → authCommand-K62FH4X2.js} +8 -8
- package/{chatQueueReduxAdapter-FUXS7NRR.js → chatQueueReduxAdapter-PUEMG7YZ.js} +7 -7
- package/{chunk-KFMLZ3B5.js → chunk-2VMY5RLA.js} +11 -11
- package/{chunk-TJUQIJQR.js → chunk-37GBLNHI.js} +7 -7
- package/{chunk-HLQBSALG.js → chunk-3BXNTXYI.js} +1 -1
- package/{chunk-XOHDUTBS.js → chunk-3EFEN43K.js} +1 -1
- package/{chunk-FHBPYIXJ.js → chunk-4DPP773Q.js} +2 -2
- package/{chunk-YBUA6LCU.js → chunk-65U5FCBE.js} +6 -6
- package/{chunk-H2PUUNAY.js → chunk-7KVZ5LDQ.js} +2 -2
- package/{chunk-Q6SLVXWU.js → chunk-7LLWEG6F.js} +3 -3
- package/{chunk-DQKIZYNM.js → chunk-7MUSNQ6E.js} +2 -2
- package/{chunk-5EALZPW5.js → chunk-A5MB5RIT.js} +3 -3
- package/{chunk-NV47YLPH.js → chunk-CTGZO35O.js} +2 -2
- package/{chunk-ACTMNVHM.js → chunk-CYSYR67N.js} +1 -1
- package/{chunk-NRXXVGOQ.js → chunk-F5IMTLHP.js} +3 -3
- package/{chunk-JDG5YE5U.js → chunk-I4A26N52.js} +2 -2
- package/{chunk-RY3FI23Y.js → chunk-K3NOJJUS.js} +12 -12
- package/{chunk-4QUCHTYC.js → chunk-KUWT3C2P.js} +1 -1
- package/{chunk-XSW2IKJM.js → chunk-LLVHGBUH.js} +1 -1
- package/{chunk-QVG3PWRZ.js → chunk-M6NK74VP.js} +1 -1
- package/{chunk-6JPUN447.js → chunk-NOGH7HCP.js} +2 -2
- package/{chunk-XSOKISAS.js → chunk-OFYHCA6W.js} +1 -1
- package/{chunk-ZOOAFELH.js → chunk-OMI6BKIS.js} +9 -9
- package/{chunk-UOCZAVYF.js → chunk-OXY64W6K.js} +3 -3
- package/{chunk-YSC3EI23.js → chunk-OZ6V53WV.js} +2 -2
- package/{chunk-44YE37DR.js → chunk-PP6FTGA6.js} +16 -16
- package/{chunk-EABW35A7.js → chunk-PQVOC2CZ.js} +1 -1
- package/{chunk-CZNXUKLA.js → chunk-Q6QLBANW.js} +13 -13
- package/{chunk-PZVXRJOS.js → chunk-RRMAZ2BI.js} +1 -1
- package/{chunk-Z4JRRXTW.js → chunk-RVX32KGQ.js} +2 -2
- package/{chunk-QFDNAM7T.js → chunk-SNVNLFVK.js} +3 -3
- package/{chunk-VG72WLGI.js → chunk-U5QTKTZE.js} +1 -1
- package/{chunk-LJVUX3LF.js → chunk-VPNHD2TS.js} +1 -1
- package/{chunk-PVQQA3CQ.js → chunk-W247GBSQ.js} +1 -1
- package/{chunk-C6EZXUCB.js → chunk-X6KARM5G.js} +3 -3
- package/{chunk-AA2TX625.js → chunk-XFEBG6NU.js} +2 -2
- package/{chunk-AR7XM7CQ.js → chunk-XWVHWH35.js} +1 -1
- package/{chunk-Q67DOFOO.js → chunk-Y3PMXGLH.js} +2 -0
- package/{chunk-ENU52AJZ.js → chunk-ZW4TU76B.js} +3 -3
- package/{commandRegistry-XMFDAEN3.js → commandRegistry-I7INNYGB.js} +49 -49
- package/{contentThunks-CDGRYZSO.js → contentThunks-BHQXUKKG.js} +8 -8
- package/{createAgentAutomationAction-HJZH45UP.js → createAgentAutomationAction-QS5HQOP5.js} +8 -8
- package/{createDialogAction-W2U3KOFN.js → createDialogAction-ZTC23O42.js} +9 -9
- package/{createPageAction-4VGPW4AZ.js → createPageAction-RFAUZO6Y.js} +8 -8
- package/{dialogCommands-FBSQ4KJR.js → dialogCommands-LUR5GD4V.js} +15 -15
- package/{dialogSlice-MGEPXTGX.js → dialogSlice-OU5IGCJ5.js} +7 -7
- package/{docCreateCommands-N2TPCEZ7.js → docCreateCommands-F4JYZZXQ.js} +14 -14
- package/{docDeleteCommands-FJA7Q6CI.js → docDeleteCommands-Z3QD6SGU.js} +15 -15
- package/{docReadCommands-2UZB5OR7.js → docReadCommands-UKTYKVGA.js} +14 -14
- package/{docStore-P6JMWIVK.js → docStore-UQF3EY2X.js} +1 -1
- package/{docUpdateCommands-BID4C3QP.js → docUpdateCommands-JSQCDHTL.js} +14 -14
- package/{getPricing-J4FPKSJC.js → getPricing-NMMFT3YI.js} +3 -3
- package/{handleSendMessageAction-HAVG5ANU.js → handleSendMessageAction-NFT57BBK.js} +20 -9
- package/index.js +3 -3
- package/{machineCommands-WDAQIYYL.js → machineCommands-2WI4ISEU.js} +24 -24
- package/{machineWsRunDispatch-Y3MHLPCI.js → machineWsRunDispatch-XQDTKFVP.js} +24 -24
- package/{models-T3SG6MJ5.js → models-ZPU5EDF4.js} +2 -2
- package/package.json +1 -1
- package/{providerPresetApply-E5VR5GW5.js → providerPresetApply-7XEHTODR.js} +6 -6
- package/{providerRegistry-XNBDJTKJ.js → providerRegistry-GNV4FFSA.js} +6 -6
- package/{readlineWorkspace-AGIDALGO.js → readlineWorkspace-XDHXGQ4Z.js} +28 -28
- package/{runAgentClientLoop-7RNZVACU.js → runAgentClientLoop-ZHN7EVIF.js} +17 -17
- package/{spaceCommands-TKFZFVCA.js → spaceCommands-BPQ6XFKS.js} +14 -14
- package/{streamAgentChatTurn-T3WC62NT.js → streamAgentChatTurn-KV7NADH2.js} +20 -20
- package/{tools-UHCAPZ22.js → tools-ZX3DP5DJ.js} +14 -14
- package/{tuiSummaryLlmCaller-W36LJRZU.js → tuiSummaryLlmCaller-7KLLDP22.js} +5 -5
- package/{updateDialogTitleAction-WBIR5A4A.js → updateDialogTitleAction-6ZCZK2I7.js} +8 -8
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
refreshAntigravityOAuthToken,
|
|
5
5
|
refreshOpenAiCodexToken,
|
|
6
6
|
xaiRefresh
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-LLVHGBUH.js";
|
|
8
8
|
import {
|
|
9
9
|
createChromeConnectorClient,
|
|
10
10
|
createVerifiedChromeConnectorClient,
|
|
@@ -63,7 +63,7 @@ import {
|
|
|
63
63
|
import {
|
|
64
64
|
inlineImageUrlsForCustomProvider,
|
|
65
65
|
prepareTools
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-OXY64W6K.js";
|
|
67
67
|
import {
|
|
68
68
|
getServerProviderSecret
|
|
69
69
|
} from "./chunk-HS7MLR74.js";
|
|
@@ -82,11 +82,11 @@ import {
|
|
|
82
82
|
rememberMemoryFunctionSchema,
|
|
83
83
|
resolveAgentRequiredPackIds,
|
|
84
84
|
setTodoListFunc
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-K3NOJJUS.js";
|
|
86
86
|
import {
|
|
87
87
|
deriveCredentialGroup,
|
|
88
88
|
deriveCustomProviderCredentialGroup
|
|
89
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-OZ6V53WV.js";
|
|
90
90
|
import {
|
|
91
91
|
fetchWithTransientRetry,
|
|
92
92
|
isTransientFetchError
|
|
@@ -109,20 +109,20 @@ import {
|
|
|
109
109
|
prepareTokenUsageData,
|
|
110
110
|
resolveBuiltinPlatformAgentConfig,
|
|
111
111
|
runKeyed
|
|
112
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-2VMY5RLA.js";
|
|
113
113
|
import {
|
|
114
114
|
BUILTIN_DIALOG_LLM_CHAT_FALLBACK_MODEL,
|
|
115
115
|
BUILTIN_TITLE_LLM_CONFIG
|
|
116
116
|
} from "./chunk-MC4XLIJ7.js";
|
|
117
117
|
import {
|
|
118
118
|
fetchServerSyncedCredential
|
|
119
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-SNVNLFVK.js";
|
|
120
120
|
import {
|
|
121
121
|
require_date_fns
|
|
122
122
|
} from "./chunk-M76ECQRD.js";
|
|
123
123
|
import {
|
|
124
124
|
getModelPricing
|
|
125
|
-
} from "./chunk-
|
|
125
|
+
} from "./chunk-4DPP773Q.js";
|
|
126
126
|
import {
|
|
127
127
|
FORCED_TOOLS,
|
|
128
128
|
addDefaultLightWebToolsForConfiguredAgents,
|
|
@@ -162,7 +162,7 @@ import {
|
|
|
162
162
|
readDevinUpstreamFailure,
|
|
163
163
|
resolveOpenAiCompatibleProviderConfig,
|
|
164
164
|
summarizeToolArguments
|
|
165
|
-
} from "./chunk-
|
|
165
|
+
} from "./chunk-65U5FCBE.js";
|
|
166
166
|
import {
|
|
167
167
|
accumulateGeminiChunks,
|
|
168
168
|
buildGeminiGenerateContentRequest,
|
|
@@ -173,7 +173,7 @@ import {
|
|
|
173
173
|
parseUpstreamErrorBody,
|
|
174
174
|
resolveAntigravityFinishReason,
|
|
175
175
|
shouldUseGeminiNativeToolRoute
|
|
176
|
-
} from "./chunk-
|
|
176
|
+
} from "./chunk-U5QTKTZE.js";
|
|
177
177
|
import {
|
|
178
178
|
PlatformStreamInterruptedError,
|
|
179
179
|
buildPlatformChatCompletionRequest,
|
|
@@ -184,14 +184,14 @@ import {
|
|
|
184
184
|
readPlatformChatSseCompletion,
|
|
185
185
|
resolvePlatformChatProviderConfig,
|
|
186
186
|
shouldUsePlatformChatProvider
|
|
187
|
-
} from "./chunk-
|
|
187
|
+
} from "./chunk-NOGH7HCP.js";
|
|
188
188
|
import {
|
|
189
189
|
readSseDataValues
|
|
190
190
|
} from "./chunk-GMZLP5DV.js";
|
|
191
191
|
import {
|
|
192
192
|
resolveAgentRuntimeConfigFromRecord,
|
|
193
193
|
resolveHistoricalToolContentCap
|
|
194
|
-
} from "./chunk-
|
|
194
|
+
} from "./chunk-I4A26N52.js";
|
|
195
195
|
import {
|
|
196
196
|
isDevinOAuthAgent
|
|
197
197
|
} from "./chunk-5ZUL4CUO.js";
|
|
@@ -218,13 +218,13 @@ import {
|
|
|
218
218
|
} from "./chunk-H6A6X4EK.js";
|
|
219
219
|
import {
|
|
220
220
|
isAntigravityOAuthAgent
|
|
221
|
-
} from "./chunk-
|
|
221
|
+
} from "./chunk-M6NK74VP.js";
|
|
222
222
|
import {
|
|
223
223
|
resolvePlatformAuthToken
|
|
224
|
-
} from "./chunk-
|
|
224
|
+
} from "./chunk-7MUSNQ6E.js";
|
|
225
225
|
import {
|
|
226
226
|
normalizeUsage
|
|
227
|
-
} from "./chunk-
|
|
227
|
+
} from "./chunk-RVX32KGQ.js";
|
|
228
228
|
import {
|
|
229
229
|
clipCompactText,
|
|
230
230
|
createProviderCallTimingTracker,
|
|
@@ -251,7 +251,7 @@ import {
|
|
|
251
251
|
anthropicOAuthModelMaxOutputTokens,
|
|
252
252
|
getModelConfig,
|
|
253
253
|
isAdaptiveThinkingModelId
|
|
254
|
-
} from "./chunk-
|
|
254
|
+
} from "./chunk-3BXNTXYI.js";
|
|
255
255
|
import {
|
|
256
256
|
createOAuthTokenStore,
|
|
257
257
|
isTokenExpired,
|
|
@@ -274,7 +274,7 @@ import {
|
|
|
274
274
|
import {
|
|
275
275
|
isNoloHostedProvider,
|
|
276
276
|
isPlatformHostedImageModel
|
|
277
|
-
} from "./chunk-
|
|
277
|
+
} from "./chunk-Y3PMXGLH.js";
|
|
278
278
|
import {
|
|
279
279
|
createTokenKey,
|
|
280
280
|
createTokenStatsKey,
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
t,
|
|
29
29
|
toolLabel,
|
|
30
30
|
toolLabelVariants
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-PP6FTGA6.js";
|
|
32
32
|
import {
|
|
33
33
|
clearCredentialAvailability,
|
|
34
34
|
readCredentialEntry,
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
import {
|
|
44
44
|
readDbRecord,
|
|
45
45
|
resolveAgentRecordFromHybridStore
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-RRMAZ2BI.js";
|
|
47
47
|
import {
|
|
48
48
|
isLocalCliAgentKey
|
|
49
49
|
} from "./chunk-SV5IJK6K.js";
|
|
@@ -75,7 +75,7 @@ import {
|
|
|
75
75
|
} from "./chunk-LTRXGFMS.js";
|
|
76
76
|
import {
|
|
77
77
|
formatAgentListCard
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-K3NOJJUS.js";
|
|
79
79
|
import {
|
|
80
80
|
isTransientFetchError
|
|
81
81
|
} from "./chunk-5UTFL4QJ.js";
|
|
@@ -96,11 +96,11 @@ import {
|
|
|
96
96
|
chooseMemoryOwners,
|
|
97
97
|
loadMemoryCandidatesFromDb,
|
|
98
98
|
resolveAgentMemoryPolicy
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-F5IMTLHP.js";
|
|
100
100
|
import {
|
|
101
101
|
API_REPORTED_COST_MULTIPLIER,
|
|
102
102
|
parseUiAskChoiceContent
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-2VMY5RLA.js";
|
|
104
104
|
import {
|
|
105
105
|
isOAuthApiKeyRef
|
|
106
106
|
} from "./chunk-YYLHWIW6.js";
|
|
@@ -115,10 +115,10 @@ import {
|
|
|
115
115
|
LOCAL_AGENT_CONFIG_MISSING_CODE,
|
|
116
116
|
LOCAL_TURN_ABORTED_CODE,
|
|
117
117
|
readActionGate
|
|
118
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-65U5FCBE.js";
|
|
119
119
|
import {
|
|
120
120
|
resolveAgentRuntimeConfigFromRecord
|
|
121
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-I4A26N52.js";
|
|
122
122
|
import {
|
|
123
123
|
createThinkParserState,
|
|
124
124
|
flushThinkParser,
|
|
@@ -134,15 +134,15 @@ import {
|
|
|
134
134
|
} from "./chunk-H6A6X4EK.js";
|
|
135
135
|
import {
|
|
136
136
|
isAntigravityOAuthAgent
|
|
137
|
-
} from "./chunk-
|
|
137
|
+
} from "./chunk-M6NK74VP.js";
|
|
138
138
|
import {
|
|
139
139
|
resolveClientVersion
|
|
140
|
-
} from "./chunk-
|
|
140
|
+
} from "./chunk-7MUSNQ6E.js";
|
|
141
141
|
import {
|
|
142
142
|
DEFAULT_CONTEXT_WINDOW,
|
|
143
143
|
getModelContextWindow,
|
|
144
144
|
normalizeUsage
|
|
145
|
-
} from "./chunk-
|
|
145
|
+
} from "./chunk-RVX32KGQ.js";
|
|
146
146
|
import {
|
|
147
147
|
clipCompactText
|
|
148
148
|
} from "./chunk-F64B2W3R.js";
|
|
@@ -154,7 +154,7 @@ import {
|
|
|
154
154
|
} from "./chunk-HNMXYYJR.js";
|
|
155
155
|
import {
|
|
156
156
|
findModelConfig
|
|
157
|
-
} from "./chunk-
|
|
157
|
+
} from "./chunk-3BXNTXYI.js";
|
|
158
158
|
import {
|
|
159
159
|
buildAgentsMdLayer,
|
|
160
160
|
buildMemoryOverlayLayer,
|
|
@@ -177,7 +177,7 @@ import {
|
|
|
177
177
|
CLIENT_VERSION_TOO_OLD_CODE,
|
|
178
178
|
NOLO_CLIENT_VERSION_HEADER,
|
|
179
179
|
buildClientVersionUpgradeMessage
|
|
180
|
-
} from "./chunk-
|
|
180
|
+
} from "./chunk-Y3PMXGLH.js";
|
|
181
181
|
import {
|
|
182
182
|
parsePositiveFiniteNumberOrFallback
|
|
183
183
|
} from "./chunk-Y5GCAMGP.js";
|
|
@@ -10739,7 +10739,7 @@ function findCollapsedPasteSpanAt(buffer, pos, opts = {}) {
|
|
|
10739
10739
|
// packages/cli/client/agentRun.ts
|
|
10740
10740
|
import { ulid as ulid2 } from "ulid";
|
|
10741
10741
|
async function loadRunLocalAgentTurn() {
|
|
10742
|
-
const { runLocalAgentTurn } = await import("./agentRuntimeLocal-
|
|
10742
|
+
const { runLocalAgentTurn } = await import("./agentRuntimeLocal-F7VBM3ZK.js");
|
|
10743
10743
|
return runLocalAgentTurn;
|
|
10744
10744
|
}
|
|
10745
10745
|
var stripDebugNoise = (s) => s.replace(/\s*raw="[\s\S]*"/g, "").replace(/\s*raw=\S+/g, "").replace(/\s*headers=\[[^\]]*\]/g, "").replace(/\s*headers=\S+/g, "").trim();
|
|
@@ -523,7 +523,7 @@ async function buildCreatedAgentRecord(args) {
|
|
|
523
523
|
const resolvedAgentInput = resolveCliAgentKeyInput(args.parsed.agentInput);
|
|
524
524
|
const agentKey = resolvedAgentInput.startsWith("agent-") ? resolvedAgentInput : createAgentKey.private(userId || "local", resolvedAgentInput);
|
|
525
525
|
if (args.parsed.presetId) {
|
|
526
|
-
const { resolveProviderPresetFields } = await import("./providerPresetApply-
|
|
526
|
+
const { resolveProviderPresetFields } = await import("./providerPresetApply-7XEHTODR.js");
|
|
527
527
|
const fields = resolveProviderPresetFields(args.parsed.presetId);
|
|
528
528
|
if (fields.kind === "manual") {
|
|
529
529
|
throw new Error(
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./chunk-F64B2W3R.js";
|
|
4
4
|
import {
|
|
5
5
|
MODEL_LOOKUP_MAP
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-3BXNTXYI.js";
|
|
7
7
|
import {
|
|
8
8
|
ALL_MODELS
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-CYSYR67N.js";
|
|
10
10
|
import {
|
|
11
11
|
asTrimmedNonEmptyStringArray
|
|
12
12
|
} from "./chunk-3AH7LNUB.js";
|
|
@@ -304,7 +304,7 @@ var slice = createSliceWithThunks({
|
|
|
304
304
|
const overrides = {};
|
|
305
305
|
if (args.systemPromptOverride !== void 0) overrides.prompt = args.systemPromptOverride;
|
|
306
306
|
if (args.toolsOverride !== void 0) overrides.tools = args.toolsOverride;
|
|
307
|
-
const { _executeModel } = await import("./_executeModel-
|
|
307
|
+
const { _executeModel } = await import("./_executeModel-SOYFJXV6.js");
|
|
308
308
|
return _executeModel(
|
|
309
309
|
{
|
|
310
310
|
isStreaming: args.isStreaming ?? false,
|
|
@@ -325,7 +325,7 @@ var slice = createSliceWithThunks({
|
|
|
325
325
|
* - 循环直到无工具调用或触发其他运行时停止条件
|
|
326
326
|
*/
|
|
327
327
|
runAgent: create.asyncThunk(async (args, thunkApi) => {
|
|
328
|
-
const { runAgentClientLoop } = await import("./runAgentClientLoop-
|
|
328
|
+
const { runAgentClientLoop } = await import("./runAgentClientLoop-ZHN7EVIF.js");
|
|
329
329
|
const { content: loopContent, toolCallCount } = await runAgentClientLoop(
|
|
330
330
|
{
|
|
331
331
|
agentKey: args.agentKey,
|
|
@@ -341,7 +341,7 @@ var slice = createSliceWithThunks({
|
|
|
341
341
|
* 聊天轮次流式 Agent 调用
|
|
342
342
|
*/
|
|
343
343
|
streamAgentChatTurn: create.asyncThunk(async (args, thunkApi) => {
|
|
344
|
-
const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-
|
|
344
|
+
const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-KV7NADH2.js");
|
|
345
345
|
return streamAgentChatTurnHandler(args, thunkApi);
|
|
346
346
|
}),
|
|
347
347
|
/**
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createCliLocalRuntimeAdapter,
|
|
3
3
|
summarizeEndpoint
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-PP6FTGA6.js";
|
|
5
5
|
import {
|
|
6
6
|
clipMultilineText
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-K3NOJJUS.js";
|
|
8
8
|
import {
|
|
9
9
|
runLocalAgentTurn
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-65U5FCBE.js";
|
|
11
11
|
import {
|
|
12
12
|
applyToolSurfaceConstraints
|
|
13
13
|
} from "./chunk-RGNEEJ3Y.js";
|
|
@@ -326,7 +326,7 @@ async function saveDocState(arg, { dispatch, getState }) {
|
|
|
326
326
|
).unwrap();
|
|
327
327
|
if (dbSpaceId) {
|
|
328
328
|
try {
|
|
329
|
-
const { updateContentTitle } = await import("./contentThunks-
|
|
329
|
+
const { updateContentTitle } = await import("./contentThunks-BHQXUKKG.js");
|
|
330
330
|
await dispatch(
|
|
331
331
|
updateContentTitle({
|
|
332
332
|
spaceId: dbSpaceId,
|
|
@@ -365,7 +365,7 @@ async function saveDocState(arg, { dispatch, getState }) {
|
|
|
365
365
|
}
|
|
366
366
|
}
|
|
367
367
|
async function createDocState(args, thunkApi) {
|
|
368
|
-
const { createPageAction } = await import("./createPageAction-
|
|
368
|
+
const { createPageAction } = await import("./createPageAction-RFAUZO6Y.js");
|
|
369
369
|
return createPageAction(args, thunkApi);
|
|
370
370
|
}
|
|
371
371
|
function subscribe(listener) {
|
|
@@ -11,6 +11,7 @@ var PLATFORM_HOSTED_KIMI_K3_MODEL = "kimi-k3";
|
|
|
11
11
|
var PLATFORM_HOSTED_KIMI_K26_MODEL = "kimi-k2.6";
|
|
12
12
|
var PLATFORM_HOSTED_KIMI_PROVIDER = "nolo";
|
|
13
13
|
var LEGACY_OLLAMA_CLOUD_PROVIDER = "ollama-cloud";
|
|
14
|
+
var PLATFORM_LLM_BUSY_USER_MESSAGE = "\u670D\u52A1\u5668\u7D27\u5F20";
|
|
14
15
|
var isNoloHostedProvider = (provider) => {
|
|
15
16
|
const normalized = asTrimmedLowercaseString(provider);
|
|
16
17
|
return normalized === PLATFORM_HOSTED_KIMI_PROVIDER || normalized === LEGACY_OLLAMA_CLOUD_PROVIDER;
|
|
@@ -1200,6 +1201,7 @@ export {
|
|
|
1200
1201
|
openrouterModels,
|
|
1201
1202
|
PLATFORM_HOSTED_KIMI_K3_MODEL,
|
|
1202
1203
|
PLATFORM_HOSTED_KIMI_PROVIDER,
|
|
1204
|
+
PLATFORM_LLM_BUSY_USER_MESSAGE,
|
|
1203
1205
|
isNoloHostedProvider,
|
|
1204
1206
|
isFireworksKimiModel,
|
|
1205
1207
|
isDeepInfraKimiModel,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearCliLocalRuntimePreparedAgentCache
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PP6FTGA6.js";
|
|
4
4
|
import {
|
|
5
5
|
getReadableCliDb
|
|
6
6
|
} from "./chunk-CTUQJVQM.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
resolveAgentRecordFromHybridStore,
|
|
13
13
|
sanitizeAgentRecordForCliOutput,
|
|
14
14
|
writeAgentRecord
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-RRMAZ2BI.js";
|
|
16
16
|
import {
|
|
17
17
|
resolveCliAgentKeyInput
|
|
18
18
|
} from "./chunk-SV5IJK6K.js";
|
|
@@ -212,7 +212,7 @@ async function runAgentCreateCommand(args, deps = {}) {
|
|
|
212
212
|
clearCliLocalRuntimePreparedAgentCache();
|
|
213
213
|
let verifyResult;
|
|
214
214
|
if (parsed.verify) {
|
|
215
|
-
const { verifyCustomProvider } = await import("./agentProviderCommands-
|
|
215
|
+
const { verifyCustomProvider } = await import("./agentProviderCommands-AOG3OZJA.js");
|
|
216
216
|
const rec = built.nextRecord;
|
|
217
217
|
verifyResult = await verifyCustomProvider({
|
|
218
218
|
providerUrl: rec.customProviderUrl,
|