nolo-cli 0.98.0 → 0.98.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.
- package/{_executeModel-GJK4ZVU6.js → _executeModel-YEIQBSEM.js} +12 -12
- package/{agentDeleteCommand-GHRF6CH5.js → agentDeleteCommand-4PLHGGLA.js} +4 -4
- package/{agentEmailCommands-O5BTHYZK.js → agentEmailCommands-NXWEK7QA.js} +13 -13
- package/{agentListCommands-3REEM63V.js → agentListCommands-VRVS3BJL.js} +4 -4
- package/{agentMachineCommands-2GW3CV7Q.js → agentMachineCommands-DJH5VXOD.js} +5 -5
- package/{agentRecordCommands-WYQODWZE.js → agentRecordCommands-SQCFY7TA.js} +13 -13
- package/{agentRunCommand-KAN65WPY.js → agentRunCommand-3HT2JILG.js} +13 -13
- package/{agentRuntimeLocal-IOFBNVIL.js → agentRuntimeLocal-7TFUAJON.js} +4 -4
- package/{agentSlice-I45M32KO.js → agentSlice-XTZIXRNX.js} +1 -1
- package/{appDeleteCommands-SFS6IZEM.js → appDeleteCommands-EZLI7EIO.js} +4 -4
- package/{appDeployCommands-YZQESVRQ.js → appDeployCommands-QBWG5BGL.js} +4 -4
- package/{appDeployStatusCommands-FKUUDCKP.js → appDeployStatusCommands-ZLG46B3T.js} +4 -4
- package/{appGetCommands-QUE7OQZC.js → appGetCommands-P4D34JD2.js} +4 -4
- package/{appListCommands-QEETFKMH.js → appListCommands-JMYHZBQH.js} +4 -4
- package/{chunk-I7BCBNWZ.js → chunk-3WHINT3R.js} +6 -6
- package/{chunk-NNCYNBYV.js → chunk-7TKWCTSY.js} +1 -1
- package/{chunk-X2B2C4XD.js → chunk-CYYWWZV7.js} +1 -1
- package/{chunk-5AUJB66Z.js → chunk-IM6ZMFRL.js} +8 -8
- package/{chunk-6XDD7N7P.js → chunk-JY3XHK42.js} +1 -1
- package/{chunk-GDFA73QZ.js → chunk-KQQMCLDJ.js} +3 -3
- package/{chunk-B2DEZY6J.js → chunk-KVKYLJOA.js} +2 -2
- package/{chunk-LDCAFLXD.js → chunk-LKERWYPX.js} +3 -0
- package/{chunk-NHDMQZJM.js → chunk-M6NBAHCD.js} +8 -8
- package/{chunk-C4DVDM72.js → chunk-NFG4GW2E.js} +9 -9
- package/{chunk-OU36O6OR.js → chunk-SDUYSRTJ.js} +2 -2
- package/{chunk-LQ4PDQCI.js → chunk-SEB5HAUU.js} +1 -1
- package/{chunk-P5L7VVMT.js → chunk-TN3SIMJZ.js} +3 -3
- package/{chunk-WXHAOL7Y.js → chunk-UFUTWXPR.js} +3 -3
- package/{chunk-EIFYNGU4.js → chunk-UUMRZHVT.js} +1 -1
- package/{chunk-W3RFFFFF.js → chunk-V4BX25AC.js} +7 -7
- package/{chunk-M33GWZIZ.js → chunk-ZDXOUUPB.js} +4 -4
- package/{chunk-I76SDF7A.js → chunk-ZH7YLZC5.js} +2 -2
- package/{commandRegistry-RZNZ37BN.js → commandRegistry-YXINJIJK.js} +40 -40
- package/{contentThunks-DF7ZNCAG.js → contentThunks-ZZVD2LBR.js} +4 -4
- package/{createAgentAutomationAction-KPMOZ53Y.js → createAgentAutomationAction-B2TFWNDC.js} +4 -4
- package/{createDialogAction-I2UDVAXN.js → createDialogAction-DVG2MYBF.js} +5 -5
- package/{createPageAction-IF5JXNKV.js → createPageAction-UXBWURHH.js} +4 -4
- package/{dialogCommands-LWHIIUQD.js → dialogCommands-243UITH3.js} +4 -4
- package/{dialogSlice-74DFPFRV.js → dialogSlice-B77ICP3A.js} +3 -3
- package/{docCreateCommands-LVXQ6TNZ.js → docCreateCommands-RT6AVFDR.js} +4 -4
- package/{docDeleteCommands-7TVIGCLP.js → docDeleteCommands-TMKHOR5F.js} +4 -4
- package/{docReadCommands-KYAXFLQ5.js → docReadCommands-KIDSKS6N.js} +4 -4
- package/{docStore-2JDRAYXJ.js → docStore-NBER5SWJ.js} +1 -1
- package/{docUpdateCommands-TVC5KWPK.js → docUpdateCommands-C6OCR767.js} +4 -4
- package/{handleSendMessageAction-54GY3XOH.js → handleSendMessageAction-4DBKTZDW.js} +3 -3
- package/index.js +2 -2
- package/{machineCommands-54RNLVJE.js → machineCommands-Y2BN2TCO.js} +13 -13
- package/{machineWsRunDispatch-WE3VTD57.js → machineWsRunDispatch-POB6IF6W.js} +13 -13
- package/package.json +1 -1
- package/{readlineWorkspace-UK5M5CJI.js → readlineWorkspace-OLCGKYLQ.js} +13 -13
- package/{runAgentClientLoop-MTI5OU2W.js → runAgentClientLoop-BFVCLCBO.js} +10 -10
- package/{spaceCommands-446WWA73.js → spaceCommands-WQBSC4VD.js} +4 -4
- package/{streamAgentChatTurn-IANOWAKR.js → streamAgentChatTurn-M7V35IXY.js} +12 -12
- package/{tools-WZZYTUNF.js → tools-4XIEV6FW.js} +7 -7
- package/{updateDialogTitleAction-Z2JTYLXD.js → updateDialogTitleAction-TFQFP7FE.js} +4 -4
|
@@ -75,10 +75,10 @@ import {
|
|
|
75
75
|
} from "./chunk-VF4K2QE6.js";
|
|
76
76
|
import {
|
|
77
77
|
createDocState
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-KVKYLJOA.js";
|
|
79
79
|
import {
|
|
80
80
|
createDialogAction
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-SDUYSRTJ.js";
|
|
82
82
|
import {
|
|
83
83
|
TASK_PREVIEW_MAX,
|
|
84
84
|
buildDelegatedTaskContent,
|
|
@@ -108,7 +108,7 @@ import {
|
|
|
108
108
|
updateContentCategory,
|
|
109
109
|
updateContentTitle,
|
|
110
110
|
writeStoredCollapsedCategories
|
|
111
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-JY3XHK42.js";
|
|
112
112
|
import {
|
|
113
113
|
getCurrentSpaceId,
|
|
114
114
|
getCurrentSpaceIdRaw,
|
|
@@ -130,14 +130,14 @@ import {
|
|
|
130
130
|
selectMsgById,
|
|
131
131
|
uiAskChoiceFunc,
|
|
132
132
|
uiAskChoiceFunctionSchema
|
|
133
|
-
} from "./chunk-
|
|
133
|
+
} from "./chunk-NFG4GW2E.js";
|
|
134
134
|
import {
|
|
135
135
|
createAgent,
|
|
136
136
|
deleteServerSyncedCredential,
|
|
137
137
|
runLlm,
|
|
138
138
|
streamAgentChatTurn,
|
|
139
139
|
updateAgent
|
|
140
|
-
} from "./chunk-
|
|
140
|
+
} from "./chunk-TN3SIMJZ.js";
|
|
141
141
|
import {
|
|
142
142
|
getActiveDialogKey,
|
|
143
143
|
selectCurrentDialogKey,
|
|
@@ -3996,7 +3996,7 @@ async function deleteDialogsFunc(args, thunkApi) {
|
|
|
3996
3996
|
const deletedDialogIds = [];
|
|
3997
3997
|
const deletedDialogKeys = [];
|
|
3998
3998
|
const failures = [];
|
|
3999
|
-
const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-
|
|
3999
|
+
const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-B77ICP3A.js");
|
|
4000
4000
|
for (const target of targets) {
|
|
4001
4001
|
try {
|
|
4002
4002
|
await thunkApi.dispatch(deleteDialog2(target.dbKey)).unwrap();
|
|
@@ -14905,7 +14905,7 @@ var executeToolRun = createAsyncThunk(
|
|
|
14905
14905
|
if (!executionInput) {
|
|
14906
14906
|
throw new Error(`ToolRun ${id} has no input to execute with.`);
|
|
14907
14907
|
}
|
|
14908
|
-
const { findToolExecutor: findToolExecutor2 } = await import("./tools-
|
|
14908
|
+
const { findToolExecutor: findToolExecutor2 } = await import("./tools-4XIEV6FW.js");
|
|
14909
14909
|
const { executor } = findToolExecutor2(run.toolName);
|
|
14910
14910
|
toolRunStarted({
|
|
14911
14911
|
id: run.id,
|
|
@@ -17412,7 +17412,7 @@ async function updateDocFunc(args, thunkApi) {
|
|
|
17412
17412
|
updated_at: (/* @__PURE__ */ new Date()).toISOString()
|
|
17413
17413
|
};
|
|
17414
17414
|
await dispatch(write({ data: updatedPageData, customKey: id })).unwrap();
|
|
17415
|
-
const { getDocState, applyExternalDocUpdate } = await import("./docStore-
|
|
17415
|
+
const { getDocState, applyExternalDocUpdate } = await import("./docStore-NBER5SWJ.js");
|
|
17416
17416
|
if (getDocState().pageKey === id) {
|
|
17417
17417
|
applyExternalDocUpdate({
|
|
17418
17418
|
slateData: finalSlateData,
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
resolveHistoricalToolContentCap,
|
|
28
28
|
resolveToolOutputProfile,
|
|
29
29
|
stripImagePartsFromMessages
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-SEB5HAUU.js";
|
|
31
31
|
import {
|
|
32
32
|
downgradeUnparsableToolCalls,
|
|
33
33
|
hasParsableObjectArguments,
|
|
@@ -54,7 +54,7 @@ import {
|
|
|
54
54
|
requiresBareImageUrl,
|
|
55
55
|
resolveToolGuidedSections,
|
|
56
56
|
toBareImageUrlMessages
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-7TKWCTSY.js";
|
|
58
58
|
import {
|
|
59
59
|
convertMessagesToResponsesInput,
|
|
60
60
|
extractReasoningFromResponseOutput,
|
|
@@ -94,7 +94,7 @@ import {
|
|
|
94
94
|
resolveEmptyAssistantFallbackMessage,
|
|
95
95
|
resolveEmptyAssistantOutcome,
|
|
96
96
|
resolveTruncatedReasoningTailLog
|
|
97
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-LKERWYPX.js";
|
|
98
98
|
import {
|
|
99
99
|
COMPACTION_SUMMARY_SCHEMA_VERSION,
|
|
100
100
|
COMPACTION_SUMMARY_SYSTEM_PROMPT,
|
|
@@ -333,7 +333,7 @@ async function saveDocState(arg, { dispatch, getState }) {
|
|
|
333
333
|
).unwrap();
|
|
334
334
|
if (dbSpaceId) {
|
|
335
335
|
try {
|
|
336
|
-
const { updateContentTitle } = await import("./contentThunks-
|
|
336
|
+
const { updateContentTitle } = await import("./contentThunks-ZZVD2LBR.js");
|
|
337
337
|
await dispatch(
|
|
338
338
|
updateContentTitle({
|
|
339
339
|
spaceId: dbSpaceId,
|
|
@@ -372,7 +372,7 @@ async function saveDocState(arg, { dispatch, getState }) {
|
|
|
372
372
|
}
|
|
373
373
|
}
|
|
374
374
|
async function createDocState(args, thunkApi) {
|
|
375
|
-
const { createPageAction } = await import("./createPageAction-
|
|
375
|
+
const { createPageAction } = await import("./createPageAction-UXBWURHH.js");
|
|
376
376
|
return createPageAction(args, thunkApi);
|
|
377
377
|
}
|
|
378
378
|
function subscribe(listener) {
|
|
@@ -97,6 +97,8 @@ var readCacheCreationInputTokens = (usage) => firstPositive(usage, [
|
|
|
97
97
|
var DEFAULT_CONTEXT_WINDOW = 256e3;
|
|
98
98
|
var QWEN_3_6_CONTEXT_WINDOW = 262144;
|
|
99
99
|
var GLM_5_2_CONTEXT_WINDOW = 1e6;
|
|
100
|
+
var GPT_6_1_SOL_CONTEXT_WINDOW = 5e5;
|
|
101
|
+
var GPT_6_1_SOL_PATTERN = /(^|\/)gpt-6\.1[- ]sol(?![a-z])/;
|
|
100
102
|
var ANTIGRAVITY_EFFORT_SUFFIXES = [
|
|
101
103
|
"-tiered",
|
|
102
104
|
"-extra-low",
|
|
@@ -163,6 +165,7 @@ function fuzzyContextWindow(normalizedName) {
|
|
|
163
165
|
if (normalizedName.includes("glm-5.3") || normalizedName.includes("glm5.3")) return 105e4;
|
|
164
166
|
if (normalizedName.includes("glm-5.2") || normalizedName.includes("glm5.2")) return GLM_5_2_CONTEXT_WINDOW;
|
|
165
167
|
if (normalizedName.includes("deepseek")) return 1e6;
|
|
168
|
+
if (GPT_6_1_SOL_PATTERN.test(normalizedName)) return GPT_6_1_SOL_CONTEXT_WINDOW;
|
|
166
169
|
if (normalizedName.includes("gpt-5") || normalizedName.includes("gpt-4.1")) return 1047576;
|
|
167
170
|
if (normalizedName.startsWith("cursor-grok-4.5")) return 1e6;
|
|
168
171
|
if (normalizedName.includes("claude-4.6")) return 1e6;
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
import {
|
|
46
46
|
inlineImageUrlsForCustomProvider,
|
|
47
47
|
prepareTools
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-ZH7YLZC5.js";
|
|
49
49
|
import {
|
|
50
50
|
getServerProviderSecret
|
|
51
51
|
} from "./chunk-HS7MLR74.js";
|
|
@@ -63,7 +63,7 @@ import {
|
|
|
63
63
|
rememberMemoryFunctionSchema,
|
|
64
64
|
resolveAgentRequiredPackIds,
|
|
65
65
|
setTodoListFunc
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-IM6ZMFRL.js";
|
|
67
67
|
import {
|
|
68
68
|
deriveCredentialGroup,
|
|
69
69
|
deriveCustomProviderCredentialGroup
|
|
@@ -115,14 +115,14 @@ import {
|
|
|
115
115
|
prepareTokenUsageData,
|
|
116
116
|
resolveBuiltinPlatformAgentConfig,
|
|
117
117
|
runKeyed
|
|
118
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-NFG4GW2E.js";
|
|
119
119
|
import {
|
|
120
120
|
BUILTIN_DIALOG_LLM_CHAT_FALLBACK_MODEL,
|
|
121
121
|
BUILTIN_TITLE_LLM_CONFIG
|
|
122
122
|
} from "./chunk-523DITKR.js";
|
|
123
123
|
import {
|
|
124
124
|
fetchServerSyncedCredential
|
|
125
|
-
} from "./chunk-
|
|
125
|
+
} from "./chunk-TN3SIMJZ.js";
|
|
126
126
|
import {
|
|
127
127
|
FORCED_TOOLS,
|
|
128
128
|
addDefaultLightWebToolsForConfiguredAgents,
|
|
@@ -163,7 +163,7 @@ import {
|
|
|
163
163
|
readDevinUpstreamFailure,
|
|
164
164
|
resolveOpenAiCompatibleProviderConfig,
|
|
165
165
|
resolveSessionKey
|
|
166
|
-
} from "./chunk-
|
|
166
|
+
} from "./chunk-KQQMCLDJ.js";
|
|
167
167
|
import {
|
|
168
168
|
accumulateGeminiChunks,
|
|
169
169
|
buildGeminiGenerateContentRequest,
|
|
@@ -192,7 +192,7 @@ import {
|
|
|
192
192
|
import {
|
|
193
193
|
resolveAgentRuntimeConfigFromRecord,
|
|
194
194
|
resolveHistoricalToolContentCap
|
|
195
|
-
} from "./chunk-
|
|
195
|
+
} from "./chunk-SEB5HAUU.js";
|
|
196
196
|
import {
|
|
197
197
|
isDevinOAuthAgent
|
|
198
198
|
} from "./chunk-5ZUL4CUO.js";
|
|
@@ -219,7 +219,7 @@ import {
|
|
|
219
219
|
} from "./chunk-2MBTWINN.js";
|
|
220
220
|
import {
|
|
221
221
|
normalizeUsage
|
|
222
|
-
} from "./chunk-
|
|
222
|
+
} from "./chunk-LKERWYPX.js";
|
|
223
223
|
import {
|
|
224
224
|
createProviderCallTimingTracker,
|
|
225
225
|
finalizeProviderCallTiming,
|
|
@@ -3240,7 +3240,7 @@ var resolveCliProviderTransport = async (ctx) => {
|
|
|
3240
3240
|
import { createHash } from "node:crypto";
|
|
3241
3241
|
import { randomUUID as randomUUID2 } from "node:crypto";
|
|
3242
3242
|
var CODEX_RESPONSES_URL = "https://chatgpt.com/backend-api/codex/responses";
|
|
3243
|
-
var CODEX_CLIENT_VERSION = "0.
|
|
3243
|
+
var CODEX_CLIENT_VERSION = "0.162.1";
|
|
3244
3244
|
var CODEX_ORIGINATOR = "codex_cli_rs";
|
|
3245
3245
|
var CODEX_OPENAI_BETA = "responses=experimental";
|
|
3246
3246
|
var OPENAI_AUTH_CLAIM = "https://api.openai.com/auth";
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
} from "./chunk-AGGIDPCZ.js";
|
|
15
15
|
import {
|
|
16
16
|
runLlm
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-TN3SIMJZ.js";
|
|
18
18
|
import {
|
|
19
19
|
cleanupCliSessionForDialog
|
|
20
20
|
} from "./chunk-PCF3QU5Q.js";
|
|
@@ -64,7 +64,7 @@ import {
|
|
|
64
64
|
getModelInfo,
|
|
65
65
|
normalizeUsage,
|
|
66
66
|
resolveAutoExecutionProfile
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-LKERWYPX.js";
|
|
68
68
|
import {
|
|
69
69
|
COMPACTION_SUMMARY_SYSTEM_PROMPT,
|
|
70
70
|
buildCompactionMetricsFromPlan,
|
|
@@ -10519,7 +10519,7 @@ var messageSlice = createSliceWithThunks({
|
|
|
10519
10519
|
runtimeOptions: args.runtimeOptions
|
|
10520
10520
|
});
|
|
10521
10521
|
if (agentKeyToUse) {
|
|
10522
|
-
const { streamAgentChatTurn } = await import("./agentSlice-
|
|
10522
|
+
const { streamAgentChatTurn } = await import("./agentSlice-XTZIXRNX.js");
|
|
10523
10523
|
await dispatch(
|
|
10524
10524
|
streamAgentChatTurn({
|
|
10525
10525
|
agentKey: agentKeyToUse,
|
|
@@ -13264,7 +13264,7 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
13264
13264
|
}
|
|
13265
13265
|
if (isCurrentDialog) {
|
|
13266
13266
|
await thunkApi.dispatch(resetMsgs());
|
|
13267
|
-
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-
|
|
13267
|
+
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-B77ICP3A.js");
|
|
13268
13268
|
dispatch(clearPendingAttachments2());
|
|
13269
13269
|
}
|
|
13270
13270
|
return { dialogKey, isCurrentDialog, attachmentPlan };
|
|
@@ -13272,15 +13272,15 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
13272
13272
|
|
|
13273
13273
|
// packages/chat/dialog/dialogSlice.ts
|
|
13274
13274
|
var runCreateDialogAction = async (args, thunkApi) => {
|
|
13275
|
-
const { createDialogAction } = await import("./createDialogAction-
|
|
13275
|
+
const { createDialogAction } = await import("./createDialogAction-DVG2MYBF.js");
|
|
13276
13276
|
return createDialogAction(args, thunkApi);
|
|
13277
13277
|
};
|
|
13278
13278
|
var runCreateAgentAutomationAction = async (args, thunkApi) => {
|
|
13279
|
-
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-
|
|
13279
|
+
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-B2TFWNDC.js");
|
|
13280
13280
|
return createAgentAutomationAction(args, thunkApi);
|
|
13281
13281
|
};
|
|
13282
13282
|
var runUpdateDialogTitleAction = async (args, thunkApi) => {
|
|
13283
|
-
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-
|
|
13283
|
+
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-TFQFP7FE.js");
|
|
13284
13284
|
return updateDialogTitleAction(args, thunkApi);
|
|
13285
13285
|
};
|
|
13286
13286
|
var runAddDialogAgentAction = async (args, thunkApi) => {
|
|
@@ -13304,7 +13304,7 @@ var runSetDialogExtraReferencesAction = async (args, thunkApi) => {
|
|
|
13304
13304
|
return setDialogExtraReferencesAction(args, thunkApi);
|
|
13305
13305
|
};
|
|
13306
13306
|
var runHandleSendMessageAction = async (args, thunkApi) => {
|
|
13307
|
-
const { handleSendMessageAction } = await import("./handleSendMessageAction-
|
|
13307
|
+
const { handleSendMessageAction } = await import("./handleSendMessageAction-4DBKTZDW.js");
|
|
13308
13308
|
return handleSendMessageAction(args, thunkApi);
|
|
13309
13309
|
};
|
|
13310
13310
|
function clearDialogState() {
|
|
@@ -13317,7 +13317,7 @@ var createPageAndAddReference = createAsyncThunk(
|
|
|
13317
13317
|
async (payload, { dispatch, getState, rejectWithValue }) => {
|
|
13318
13318
|
const { slateData, jsonData, title, type, fileId, groupId, dialogKey } = payload;
|
|
13319
13319
|
try {
|
|
13320
|
-
const { createDocState } = await import("./docStore-
|
|
13320
|
+
const { createDocState } = await import("./docStore-NBER5SWJ.js");
|
|
13321
13321
|
const pageKey = await createDocState(
|
|
13322
13322
|
{ slateData, title },
|
|
13323
13323
|
{ dispatch, getState }
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
addContentToSpace
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-JY3XHK42.js";
|
|
4
4
|
import {
|
|
5
5
|
format,
|
|
6
6
|
prepareAndPersistMessage,
|
|
7
7
|
uiAskChoiceFunc,
|
|
8
8
|
uiAskChoiceFunctionSchema
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-NFG4GW2E.js";
|
|
10
10
|
import {
|
|
11
11
|
formatISO
|
|
12
12
|
} from "./chunk-ZRAU6T47.js";
|
|
@@ -306,7 +306,7 @@ var slice = createSliceWithThunks({
|
|
|
306
306
|
const overrides = {};
|
|
307
307
|
if (args.systemPromptOverride !== void 0) overrides.prompt = args.systemPromptOverride;
|
|
308
308
|
if (args.toolsOverride !== void 0) overrides.tools = args.toolsOverride;
|
|
309
|
-
const { _executeModel } = await import("./_executeModel-
|
|
309
|
+
const { _executeModel } = await import("./_executeModel-YEIQBSEM.js");
|
|
310
310
|
return _executeModel(
|
|
311
311
|
{
|
|
312
312
|
isStreaming: args.isStreaming ?? false,
|
|
@@ -327,7 +327,7 @@ var slice = createSliceWithThunks({
|
|
|
327
327
|
* - 循环直到无工具调用或触发其他运行时停止条件
|
|
328
328
|
*/
|
|
329
329
|
runAgent: create.asyncThunk(async (args, thunkApi) => {
|
|
330
|
-
const { runAgentClientLoop } = await import("./runAgentClientLoop-
|
|
330
|
+
const { runAgentClientLoop } = await import("./runAgentClientLoop-BFVCLCBO.js");
|
|
331
331
|
const { content: loopContent, toolCallCount } = await runAgentClientLoop(
|
|
332
332
|
{
|
|
333
333
|
agentKey: args.agentKey,
|
|
@@ -343,7 +343,7 @@ var slice = createSliceWithThunks({
|
|
|
343
343
|
* 聊天轮次流式 Agent 调用
|
|
344
344
|
*/
|
|
345
345
|
streamAgentChatTurn: create.asyncThunk(async (args, thunkApi) => {
|
|
346
|
-
const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-
|
|
346
|
+
const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-M7V35IXY.js");
|
|
347
347
|
return streamAgentChatTurnHandler(args, thunkApi);
|
|
348
348
|
}),
|
|
349
349
|
/**
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createCliLocalRuntimeAdapter,
|
|
3
3
|
summarizeEndpoint
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-M6NBAHCD.js";
|
|
5
5
|
import {
|
|
6
6
|
clipMultilineText
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-IM6ZMFRL.js";
|
|
8
8
|
import {
|
|
9
9
|
runLocalAgentTurn
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-KQQMCLDJ.js";
|
|
11
11
|
import {
|
|
12
12
|
applyToolSurfaceConstraints
|
|
13
13
|
} from "./chunk-4YSOUKUR.js";
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
t,
|
|
29
29
|
toolLabel,
|
|
30
30
|
toolLabelVariants
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-M6NBAHCD.js";
|
|
32
32
|
import {
|
|
33
33
|
clearCredentialAvailability,
|
|
34
34
|
readCredentialEntry,
|
|
@@ -83,7 +83,7 @@ import {
|
|
|
83
83
|
chooseMemoryOwners,
|
|
84
84
|
loadMemoryCandidatesFromDb,
|
|
85
85
|
resolveAgentMemoryPolicy
|
|
86
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-SDUYSRTJ.js";
|
|
87
87
|
import {
|
|
88
88
|
createRunActivityTracker,
|
|
89
89
|
popSingleQueueMessage,
|
|
@@ -113,7 +113,7 @@ import {
|
|
|
113
113
|
import {
|
|
114
114
|
API_REPORTED_COST_MULTIPLIER,
|
|
115
115
|
parseUiAskChoiceContent
|
|
116
|
-
} from "./chunk-
|
|
116
|
+
} from "./chunk-NFG4GW2E.js";
|
|
117
117
|
import {
|
|
118
118
|
isOAuthApiKeyRef
|
|
119
119
|
} from "./chunk-YYLHWIW6.js";
|
|
@@ -128,10 +128,10 @@ import {
|
|
|
128
128
|
LOCAL_AGENT_CONFIG_MISSING_CODE,
|
|
129
129
|
LOCAL_TURN_ABORTED_CODE,
|
|
130
130
|
readActionGate
|
|
131
|
-
} from "./chunk-
|
|
131
|
+
} from "./chunk-KQQMCLDJ.js";
|
|
132
132
|
import {
|
|
133
133
|
resolveAgentRuntimeConfigFromRecord
|
|
134
|
-
} from "./chunk-
|
|
134
|
+
} from "./chunk-SEB5HAUU.js";
|
|
135
135
|
import {
|
|
136
136
|
createThinkParserState,
|
|
137
137
|
flushThinkParser,
|
|
@@ -149,7 +149,7 @@ import {
|
|
|
149
149
|
DEFAULT_CONTEXT_WINDOW,
|
|
150
150
|
getModelContextWindow,
|
|
151
151
|
normalizeUsage
|
|
152
|
-
} from "./chunk-
|
|
152
|
+
} from "./chunk-LKERWYPX.js";
|
|
153
153
|
import {
|
|
154
154
|
clipCompactText
|
|
155
155
|
} from "./chunk-5MMAK75Q.js";
|
|
@@ -10722,7 +10722,7 @@ function findCollapsedPasteSpanAt(buffer, pos, opts = {}) {
|
|
|
10722
10722
|
// packages/cli/client/agentRun.ts
|
|
10723
10723
|
import { ulid as ulid2 } from "ulid";
|
|
10724
10724
|
async function loadRunLocalAgentTurn() {
|
|
10725
|
-
const { runLocalAgentTurn } = await import("./agentRuntimeLocal-
|
|
10725
|
+
const { runLocalAgentTurn } = await import("./agentRuntimeLocal-7TFUAJON.js");
|
|
10726
10726
|
return runLocalAgentTurn;
|
|
10727
10727
|
}
|
|
10728
10728
|
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();
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
clipMultilineText,
|
|
9
9
|
fetchAndSerializeTable
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-IM6ZMFRL.js";
|
|
11
11
|
import {
|
|
12
12
|
isGatewayHttpStatus
|
|
13
13
|
} from "./chunk-NF64D32W.js";
|
|
@@ -29,13 +29,13 @@ import {
|
|
|
29
29
|
} from "./chunk-AGIM7IMJ.js";
|
|
30
30
|
import {
|
|
31
31
|
fetchAndCacheMessages
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-NFG4GW2E.js";
|
|
33
33
|
import {
|
|
34
34
|
shouldUseServerProxy
|
|
35
35
|
} from "./chunk-YYLHWIW6.js";
|
|
36
36
|
import {
|
|
37
37
|
fetchServerSyncedCredential
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-TN3SIMJZ.js";
|
|
39
39
|
import {
|
|
40
40
|
buildSkillGuidancePromptBlock,
|
|
41
41
|
extractRuntimePageCapabilities,
|
|
@@ -50,7 +50,7 @@ import {
|
|
|
50
50
|
detectDispatchIntentFromMessages,
|
|
51
51
|
normalizeChatCompletionsBodyForProvider,
|
|
52
52
|
resolveToolGuidedSections
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-7TKWCTSY.js";
|
|
54
54
|
import {
|
|
55
55
|
convertMessagesToResponsesInput,
|
|
56
56
|
getUsageRequestOptions,
|