nolo-cli 0.30.0-alpha.12 → 0.30.0-alpha.15
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-5ARVVUIK.js → _executeModel-RPVEFWZE.js} +18 -18
- package/{agentDeleteCommand-5Q6TDCJU.js → agentDeleteCommand-ALMEJQSN.js} +15 -15
- package/{agentEmailCommands-DSX4BJ2I.js → agentEmailCommands-SKPDD2H5.js} +23 -23
- package/{agentListCommands-S66HL5RO.js → agentListCommands-J5KXCTG7.js} +17 -17
- package/{agentMachineCommands-ULCQ5ZNN.js → agentMachineCommands-5EO36JQP.js} +15 -15
- package/{agentRecordCommands-2AA3GEGO.js → agentRecordCommands-SHDXGMCT.js} +22 -22
- package/{agentRunCommand-3KOT77XY.js → agentRunCommand-EHBIBRYS.js} +22 -22
- package/{agentRuntimeLocal-7TMDJD4S.js → agentRuntimeLocal-33HIW2B5.js} +12 -12
- package/{agentSlice-6IQRQZX3.js → agentSlice-Z67XJAEB.js} +1 -1
- package/{appDeleteCommands-UUDIWLNE.js → appDeleteCommands-D4DKOPEO.js} +16 -16
- package/{appDeployCommands-CO6SZ7YP.js → appDeployCommands-KBMBOWDJ.js} +16 -16
- package/{appDeployStatusCommands-QEVKVECJ.js → appDeployStatusCommands-LPNXC35V.js} +16 -16
- package/{appGetCommands-3YSCCLK4.js → appGetCommands-J5BV36OP.js} +16 -16
- package/{appListCommands-FBJAFZKK.js → appListCommands-TBPOEBGL.js} +16 -16
- package/{authCommand-3ADNCFKD.js → authCommand-3GQR43KB.js} +5 -5
- package/chunk-2K4NDPT5.js +1524 -0
- package/{chunk-XORE26Z4.js → chunk-65677FXQ.js} +1 -1
- package/{chunk-4F77PJBR.js → chunk-6CABEXHO.js} +3 -3
- package/{chunk-YLC42PIE.js → chunk-6XASEZZC.js} +2 -2
- package/{chunk-2CYGIPJH.js → chunk-APH6YKRU.js} +2 -2
- package/{chunk-OIW2RJ74.js → chunk-C5LUFXRU.js} +2 -2
- package/{chunk-S2BMRBR2.js → chunk-CCBEUTI3.js} +3 -3
- package/{chunk-R5Y4XELF.js → chunk-CGRGHTRM.js} +8 -8
- package/{chunk-PIC6Z7VI.js → chunk-DFIDPY57.js} +1 -1
- package/{chunk-VQ4QPCKE.js → chunk-DYSVCA3I.js} +7 -7
- package/{chunk-PACNSC37.js → chunk-E3APEOIM.js} +1 -1
- package/{chunk-CYRMUTGB.js → chunk-FBXHGRKK.js} +3 -3
- package/{chunk-Q243PXRU.js → chunk-FKSFP7XK.js} +13 -13
- package/{chunk-T4X4GCYT.js → chunk-FRHQTJSE.js} +2 -2
- package/{chunk-N2IX3ZYK.js → chunk-ISCO75E2.js} +1 -1
- package/{chunk-2SOQY5L6.js → chunk-JPPZ7KOT.js} +10 -10
- package/{chunk-TXVSNFHC.js → chunk-JSQBUSDX.js} +2 -2
- package/{chunk-BIPRFBC2.js → chunk-JVKITFNK.js} +2 -2
- package/{chunk-GVPMJPCT.js → chunk-L7YEJWTK.js} +1 -1
- package/{chunk-ARPAHODF.js → chunk-M4TQ5FES.js} +4 -4
- package/{chunk-GKXS4F2I.js → chunk-MTJ3QIP7.js} +5 -5
- package/{chunk-2HQ4OG6N.js → chunk-MXHPQ4ZP.js} +1 -1
- package/{chunk-IPSPETAL.js → chunk-O6PR7OEC.js} +15 -11
- package/{chunk-RWJPDKPB.js → chunk-OYWWNU4S.js} +1 -1
- package/{chunk-EDWM6D6L.js → chunk-PTHDLIRB.js} +1 -1
- package/{chunk-QBOW6RZN.js → chunk-QDVKSUVS.js} +1 -1
- package/{chunk-EBNSAABL.js → chunk-SFWZUTCI.js} +1 -1
- package/{chunk-WTPC3XD4.js → chunk-UDA3ZYLW.js} +1 -1
- package/{chunk-LEVCXTDN.js → chunk-XCCPWF3M.js} +9 -9
- package/{chunk-W3UDJJMA.js → chunk-Y37L6ZJJ.js} +9 -9
- package/{chunk-J3LHGBNO.js → chunk-YHGHADBQ.js} +1 -1
- package/{chunk-6JH2DF7J.js → chunk-ZFMBGISW.js} +2 -2
- package/{chunk-NZBH7FTB.js → chunk-ZLJWBBPK.js} +1 -1
- package/{createAgentAutomationAction-EYNYY2LB.js → createAgentAutomationAction-FC5JXI7R.js} +4 -4
- package/{createDialogAction-OUIRWYZP.js → createDialogAction-L56Q2KGL.js} +5 -5
- package/{createPageAction-2I5PHJFF.js → createPageAction-23K4MGBC.js} +4 -4
- package/{dialogCommands-5CL4QYQ7.js → dialogCommands-IXX4KIO4.js} +16 -16
- package/{dialogSlice-EKKVFKBJ.js → dialogSlice-4L4UXF7H.js} +3 -3
- package/{docCreateCommands-QHCLYGNW.js → docCreateCommands-CD4V2W3D.js} +15 -15
- package/{docDeleteCommands-DS6KOU6N.js → docDeleteCommands-PORKB6MK.js} +16 -16
- package/{docReadCommands-FRI5DAKH.js → docReadCommands-4Y3FIOON.js} +15 -15
- package/{docStore-V7EJS4PX.js → docStore-Y6CJ4EMN.js} +5 -5
- package/{docUpdateCommands-RQO5ZTXT.js → docUpdateCommands-OTQZYIDN.js} +15 -15
- package/{getPricing-67TQVKFV.js → getPricing-QO5TYNCK.js} +2 -2
- package/{handleSendMessageAction-KCF7KII4.js → handleSendMessageAction-R775ABXT.js} +3 -3
- package/index.js +47 -47
- package/{machineCommands-IAGAKTHV.js → machineCommands-WK6KQ4OF.js} +21 -21
- package/{machineWsRunDispatch-JGKC2HEK.js → machineWsRunDispatch-H22DDQUD.js} +21 -21
- package/package.json +1 -1
- package/{readlineWorkspace-5AQHHIBK.js → readlineWorkspace-H4RG3P2X.js} +25 -25
- package/{runAgentClientLoop-6OGPS6SI.js → runAgentClientLoop-X62DJXWK.js} +14 -14
- package/{spaceCommands-VTDNKTSF.js → spaceCommands-UENBIIAG.js} +15 -15
- package/{spaceSlice-LGUZMB7Y.js → spaceSlice-RSRIBG3I.js} +4 -4
- package/{streamAgentChatTurn-TIGCZUNZ.js → streamAgentChatTurn-5SFVRLJX.js} +17 -17
- package/{tools-BQAOPYMR.js → tools-XZTXW7W4.js} +9 -9
- package/{tuiSummaryLlmCaller-YQBN5IMG.js → tuiSummaryLlmCaller-LBL5NS77.js} +3 -3
- package/{updateDialogTitleAction-E6HMEDPH.js → updateDialogTitleAction-6NV52GCP.js} +4 -4
- package/chunk-EIQDGAAE.js +0 -5083
|
@@ -583,7 +583,7 @@ var slice = createSliceWithThunks({
|
|
|
583
583
|
const overrides = {};
|
|
584
584
|
if (args.systemPromptOverride !== void 0) overrides.prompt = args.systemPromptOverride;
|
|
585
585
|
if (args.toolsOverride !== void 0) overrides.tools = args.toolsOverride;
|
|
586
|
-
const { _executeModel } = await import("./_executeModel-
|
|
586
|
+
const { _executeModel } = await import("./_executeModel-RPVEFWZE.js");
|
|
587
587
|
return _executeModel(
|
|
588
588
|
{
|
|
589
589
|
isStreaming: args.isStreaming ?? false,
|
|
@@ -604,7 +604,7 @@ var slice = createSliceWithThunks({
|
|
|
604
604
|
* - 循环直到无工具调用或触发其他运行时停止条件
|
|
605
605
|
*/
|
|
606
606
|
runAgent: create.asyncThunk(async (args, thunkApi) => {
|
|
607
|
-
const { runAgentClientLoop } = await import("./runAgentClientLoop-
|
|
607
|
+
const { runAgentClientLoop } = await import("./runAgentClientLoop-X62DJXWK.js");
|
|
608
608
|
const { content: loopContent, toolCallCount } = await runAgentClientLoop(
|
|
609
609
|
{
|
|
610
610
|
agentKey: args.agentKey,
|
|
@@ -620,7 +620,7 @@ var slice = createSliceWithThunks({
|
|
|
620
620
|
* 聊天轮次流式 Agent 调用
|
|
621
621
|
*/
|
|
622
622
|
streamAgentChatTurn: create.asyncThunk(async (args, thunkApi) => {
|
|
623
|
-
const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-
|
|
623
|
+
const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-5SFVRLJX.js");
|
|
624
624
|
return streamAgentChatTurnHandler(args, thunkApi);
|
|
625
625
|
}),
|
|
626
626
|
/**
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
deleteDialog,
|
|
3
3
|
toast
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-XCCPWF3M.js";
|
|
5
5
|
import {
|
|
6
6
|
createFileCredentialBroker,
|
|
7
7
|
deleteServerSyncedCredential
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-6CABEXHO.js";
|
|
9
9
|
import {
|
|
10
10
|
require_date_fns
|
|
11
11
|
} from "./chunk-M76ECQRD.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearCliLocalRuntimePreparedAgentCache
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-FKSFP7XK.js";
|
|
4
4
|
import {
|
|
5
5
|
getReadableCliDb
|
|
6
6
|
} from "./chunk-WFHXMLHZ.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
resolveAgentRecordFromHybridStore,
|
|
13
13
|
sanitizeAgentRecordForCliOutput,
|
|
14
14
|
writeAgentRecord
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-DFIDPY57.js";
|
|
16
16
|
import {
|
|
17
17
|
resolveCliAgentKeyInput
|
|
18
18
|
} from "./chunk-K6QEHQZ3.js";
|
|
@@ -7,14 +7,14 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
clipMultilineText,
|
|
9
9
|
fetchAndSerializeTable
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-FBXHGRKK.js";
|
|
11
11
|
import {
|
|
12
12
|
slateToSimplifiedMarkdown
|
|
13
13
|
} from "./chunk-SWYMCHM7.js";
|
|
14
14
|
import {
|
|
15
15
|
estimateTokenCount,
|
|
16
16
|
fetchAndCacheMessages
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-XCCPWF3M.js";
|
|
18
18
|
import {
|
|
19
19
|
createSpaceKey
|
|
20
20
|
} from "./chunk-V54H24CQ.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
listUserRecordsFromServers,
|
|
3
3
|
readLiveDbRecordAfterTombstoneMerge
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-OYWWNU4S.js";
|
|
5
5
|
import {
|
|
6
6
|
agentRecordHasConfiguredCredential
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-DFIDPY57.js";
|
|
8
8
|
import {
|
|
9
9
|
toSafeAgentSummary
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-MXHPQ4ZP.js";
|
|
11
11
|
import {
|
|
12
12
|
PUBLIC_AGENT_KEY_PREFIX,
|
|
13
13
|
isOwnedAgentKey,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ANTIGRAVITY_CLOUD_CODE_BASE_URL,
|
|
3
3
|
isAntigravityOAuthAgent
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-YHGHADBQ.js";
|
|
5
5
|
import {
|
|
6
6
|
buildCurrentTimeBlock,
|
|
7
7
|
buildIdentityBlock,
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
requiresBareImageUrl,
|
|
10
10
|
resolveToolGuidedSections,
|
|
11
11
|
toBareImageUrlMessages
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-C5LUFXRU.js";
|
|
13
13
|
import {
|
|
14
14
|
convertMessagesToResponsesInput,
|
|
15
15
|
preserveAgentStateFields
|
|
@@ -19,14 +19,14 @@ import {
|
|
|
19
19
|
isOpenAiResponsesModel,
|
|
20
20
|
resolvePlatformChatCompletionsEndpoint,
|
|
21
21
|
resolvePlatformResponsesEndpoint
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-UDA3ZYLW.js";
|
|
23
23
|
import {
|
|
24
24
|
MEMORY_USE_GUIDANCE,
|
|
25
25
|
wrapHistoricalSummaryWithReplayGuard
|
|
26
26
|
} from "./chunk-4PWB7JRR.js";
|
|
27
27
|
import {
|
|
28
28
|
waitForAbortableDelay
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-O6PR7OEC.js";
|
|
30
30
|
import {
|
|
31
31
|
createDrainExhaustedResponse,
|
|
32
32
|
isCoreDrainingBody,
|
|
@@ -36,15 +36,15 @@ import {
|
|
|
36
36
|
} from "./chunk-Z5MXSEOJ.js";
|
|
37
37
|
import {
|
|
38
38
|
resolveBuiltinSkillPage
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-FBXHGRKK.js";
|
|
40
40
|
import {
|
|
41
41
|
estimateTokenCount,
|
|
42
42
|
shouldUseServerProxy
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-XCCPWF3M.js";
|
|
44
44
|
import {
|
|
45
45
|
createFileCredentialBroker,
|
|
46
46
|
fetchServerSyncedCredential
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-6CABEXHO.js";
|
|
48
48
|
import {
|
|
49
49
|
toErrorMessage
|
|
50
50
|
} from "./chunk-HNMXYYJR.js";
|
|
@@ -52,7 +52,7 @@ import {
|
|
|
52
52
|
clampReasoningEffort,
|
|
53
53
|
getModelConfig,
|
|
54
54
|
isModelSupportReasoningEffort
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-2K4NDPT5.js";
|
|
56
56
|
import {
|
|
57
57
|
isDeepInfraKimiModel,
|
|
58
58
|
isFireworksKimiModel,
|
|
@@ -9,15 +9,15 @@ import {
|
|
|
9
9
|
buildRuntimeGuidanceBlocks,
|
|
10
10
|
fetchReferenceContents,
|
|
11
11
|
resolveToolGuidedSections
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-C5LUFXRU.js";
|
|
13
13
|
import {
|
|
14
14
|
getAllToolRuns,
|
|
15
15
|
resolveAgentRecommendedSkillNames,
|
|
16
16
|
resolveAgentRequiredPackIds
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-FBXHGRKK.js";
|
|
18
18
|
import {
|
|
19
19
|
getDocState
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-ZFMBGISW.js";
|
|
21
21
|
import {
|
|
22
22
|
resolveToolBaseUrl
|
|
23
23
|
} from "./chunk-44HACRCK.js";
|
|
@@ -26,12 +26,12 @@ import {
|
|
|
26
26
|
getModelPricing,
|
|
27
27
|
getPrices,
|
|
28
28
|
hasExplicitAgentPricing
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-E3APEOIM.js";
|
|
30
30
|
import {
|
|
31
31
|
selectCurrentTable,
|
|
32
32
|
selectTableRows,
|
|
33
33
|
selectViewMode
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-6XASEZZC.js";
|
|
35
35
|
import {
|
|
36
36
|
PERSONALIZATION_DIALOG_CATEGORY,
|
|
37
37
|
buildPersonalizationDialogPolicyContext,
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
resolveBuiltinPlatformAgentConfig,
|
|
44
44
|
selectAllMsgs,
|
|
45
45
|
serializeMessageContent
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-XCCPWF3M.js";
|
|
47
47
|
import {
|
|
48
48
|
clipCompactText
|
|
49
49
|
} from "./chunk-OB6FBSH3.js";
|
|
@@ -57,7 +57,7 @@ import {
|
|
|
57
57
|
findModelConfig,
|
|
58
58
|
getModelConfig,
|
|
59
59
|
getProviderByModelName
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-2K4NDPT5.js";
|
|
61
61
|
import {
|
|
62
62
|
PLATFORM_HOSTED_QWEN_37_FLASH_MODEL
|
|
63
63
|
} from "./chunk-CAENRKNJ.js";
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-DCDL3GC4.js";
|
|
7
7
|
import {
|
|
8
8
|
fetchAndCacheTableRows
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-6XASEZZC.js";
|
|
10
10
|
import {
|
|
11
11
|
toErrorMessage
|
|
12
12
|
} from "./chunk-HNMXYYJR.js";
|
|
@@ -1621,7 +1621,7 @@ var executeToolRun = createAsyncThunk(
|
|
|
1621
1621
|
if (!executionInput) {
|
|
1622
1622
|
throw new Error(`ToolRun ${id} has no input to execute with.`);
|
|
1623
1623
|
}
|
|
1624
|
-
const { findToolExecutor } = await import("./tools-
|
|
1624
|
+
const { findToolExecutor } = await import("./tools-XZTXW7W4.js");
|
|
1625
1625
|
const { executor } = findToolExecutor(run.toolName);
|
|
1626
1626
|
toolRunStarted({
|
|
1627
1627
|
id: run.id,
|
|
@@ -1645,7 +1645,7 @@ var executeToolRun = createAsyncThunk(
|
|
|
1645
1645
|
const latestState = thunkApi.getState();
|
|
1646
1646
|
const userId = latestState.auth?.currentUser?.userId;
|
|
1647
1647
|
if (userId) {
|
|
1648
|
-
const { fetchUserSpaceMemberships } = await import("./spaceSlice-
|
|
1648
|
+
const { fetchUserSpaceMemberships } = await import("./spaceSlice-RSRIBG3I.js");
|
|
1649
1649
|
await thunkApi.dispatch(fetchUserSpaceMemberships(userId));
|
|
1650
1650
|
}
|
|
1651
1651
|
}
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
refreshAntigravityOAuthToken,
|
|
5
5
|
refreshOpenAiCodexToken,
|
|
6
6
|
xaiRefresh
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-SFWZUTCI.js";
|
|
8
8
|
import {
|
|
9
9
|
ackRunRecord,
|
|
10
10
|
checkStaleRun,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
} from "./chunk-WJRJDX2W.js";
|
|
27
27
|
import {
|
|
28
28
|
buildLocalAgentLookupKeys
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-L7YEJWTK.js";
|
|
30
30
|
import {
|
|
31
31
|
LOCAL_CODEX_AGENT_ID,
|
|
32
32
|
LOCAL_CODEX_AGENT_KEY,
|
|
@@ -53,7 +53,7 @@ import {
|
|
|
53
53
|
readOpenAiCompatibleSseCompletion,
|
|
54
54
|
resolveAgentNextAvailableAt,
|
|
55
55
|
resolveOpenAiCompatibleProviderConfig
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-MTJ3QIP7.js";
|
|
57
57
|
import {
|
|
58
58
|
buildPlatformChatCompletionRequest,
|
|
59
59
|
canUsePlatformChatProvider,
|
|
@@ -63,7 +63,7 @@ import {
|
|
|
63
63
|
readSseDataValues,
|
|
64
64
|
resolvePlatformChatProviderConfig,
|
|
65
65
|
shouldUsePlatformChatProvider
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-65677FXQ.js";
|
|
67
67
|
import {
|
|
68
68
|
buildCliPrompt
|
|
69
69
|
} from "./chunk-ATNTHIZI.js";
|
|
@@ -73,25 +73,25 @@ import {
|
|
|
73
73
|
import {
|
|
74
74
|
inlineImageUrlsForCustomProvider,
|
|
75
75
|
prepareTools
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-ZLJWBBPK.js";
|
|
77
77
|
import {
|
|
78
78
|
inferCaptureIntent,
|
|
79
79
|
resolveHistoricalToolContentCap,
|
|
80
80
|
summarizeToolArguments
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-DYSVCA3I.js";
|
|
82
82
|
import {
|
|
83
83
|
getAntigravityUserAgent,
|
|
84
84
|
isAntigravityOAuthAgent,
|
|
85
85
|
readAntigravityProjectId,
|
|
86
86
|
resolveAntigravityCloudCodeBaseUrl
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-YHGHADBQ.js";
|
|
88
88
|
import {
|
|
89
89
|
convertMessagesToResponsesInput,
|
|
90
90
|
toResponsesTools
|
|
91
91
|
} from "./chunk-D34RI6NI.js";
|
|
92
92
|
import {
|
|
93
93
|
resolvePlatformAuthToken
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-UDA3ZYLW.js";
|
|
95
95
|
import {
|
|
96
96
|
buildDialogFallbackTitleFromUserInput,
|
|
97
97
|
normalizeDialogTitle
|
|
@@ -103,7 +103,7 @@ import {
|
|
|
103
103
|
readXhsProfileFunctionSchema,
|
|
104
104
|
rememberMemoryFunctionSchema,
|
|
105
105
|
setTodoListFunc
|
|
106
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-O6PR7OEC.js";
|
|
107
107
|
import {
|
|
108
108
|
createDrainExhaustedResponse,
|
|
109
109
|
isCoreDrainingBody,
|
|
@@ -127,13 +127,13 @@ import {
|
|
|
127
127
|
parseNoloWorkspaceToolArguments,
|
|
128
128
|
resolveAgentRequiredPackIds,
|
|
129
129
|
resolveRuntimeToolSurfaceForAgent
|
|
130
|
-
} from "./chunk-
|
|
130
|
+
} from "./chunk-FBXHGRKK.js";
|
|
131
131
|
import {
|
|
132
132
|
applyTokenUsageToDayStats,
|
|
133
133
|
prepareTokenUsageData,
|
|
134
134
|
resolveBuiltinPlatformAgentConfig,
|
|
135
135
|
runKeyed
|
|
136
|
-
} from "./chunk-
|
|
136
|
+
} from "./chunk-XCCPWF3M.js";
|
|
137
137
|
import {
|
|
138
138
|
BUILTIN_TITLE_LLM_CONFIG,
|
|
139
139
|
clipCompactText
|
|
@@ -144,7 +144,7 @@ import {
|
|
|
144
144
|
resolveCurrentRunRuntimeToolPolicy,
|
|
145
145
|
resolveLocalWorkspaceExecutorOptionsFromPolicy,
|
|
146
146
|
resolveRequestedRuntimeToolNames
|
|
147
|
-
} from "./chunk-
|
|
147
|
+
} from "./chunk-6CABEXHO.js";
|
|
148
148
|
import {
|
|
149
149
|
createOAuthTokenStore,
|
|
150
150
|
isTokenExpired,
|
|
@@ -162,7 +162,7 @@ import {
|
|
|
162
162
|
} from "./chunk-DWLEOOGR.js";
|
|
163
163
|
import {
|
|
164
164
|
isAdaptiveThinkingModelId
|
|
165
|
-
} from "./chunk-
|
|
165
|
+
} from "./chunk-2K4NDPT5.js";
|
|
166
166
|
import {
|
|
167
167
|
isCompiledBinary,
|
|
168
168
|
parseUserIdFromAuthToken
|
|
@@ -3,12 +3,12 @@ import {
|
|
|
3
3
|
} from "./chunk-DCDL3GC4.js";
|
|
4
4
|
import {
|
|
5
5
|
addContentToSpace
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-6XASEZZC.js";
|
|
7
7
|
import {
|
|
8
8
|
prepareAndPersistMessage,
|
|
9
9
|
uiAskChoiceFunc,
|
|
10
10
|
uiAskChoiceFunctionSchema
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-XCCPWF3M.js";
|
|
12
12
|
import {
|
|
13
13
|
require_date_fns
|
|
14
14
|
} from "./chunk-M76ECQRD.js";
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
inlineImageUrlsForCustomProvider,
|
|
6
6
|
prepareTools,
|
|
7
7
|
shouldInlineImageUrlsForAgent
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ZLJWBBPK.js";
|
|
9
9
|
import {
|
|
10
10
|
EMPTY_ASSISTANT_REPAIR_PROMPT
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-DYSVCA3I.js";
|
|
12
12
|
import {
|
|
13
13
|
accumulateToolCallDelta,
|
|
14
14
|
createThinkParserState,
|
|
@@ -20,12 +20,12 @@ import {
|
|
|
20
20
|
} from "./chunk-N7J63Q6C.js";
|
|
21
21
|
import {
|
|
22
22
|
performFetchRequest
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-CGRGHTRM.js";
|
|
24
24
|
import {
|
|
25
25
|
createSSEParser,
|
|
26
26
|
findToolExecutor,
|
|
27
27
|
toolDefinitionsByName
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-O6PR7OEC.js";
|
|
29
29
|
import {
|
|
30
30
|
createToolRunId,
|
|
31
31
|
getToolResultErrorData,
|
|
@@ -33,23 +33,23 @@ import {
|
|
|
33
33
|
toolRunSetPending,
|
|
34
34
|
toolRunStarted,
|
|
35
35
|
toolRunSucceeded
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-FBXHGRKK.js";
|
|
37
37
|
import {
|
|
38
38
|
getPublicImageAgentMode
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-E3APEOIM.js";
|
|
40
40
|
import {
|
|
41
41
|
selectCurrentSpaceId
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-6XASEZZC.js";
|
|
43
43
|
import {
|
|
44
44
|
addToolMessage,
|
|
45
45
|
getModelInfo,
|
|
46
46
|
messageStreamEnd,
|
|
47
47
|
messageStreaming,
|
|
48
48
|
updateToolMessage
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-XCCPWF3M.js";
|
|
50
50
|
import {
|
|
51
51
|
streamAgentChatTurn
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-6CABEXHO.js";
|
|
53
53
|
import {
|
|
54
54
|
toErrorMessage
|
|
55
55
|
} from "./chunk-HNMXYYJR.js";
|
|
@@ -60,7 +60,7 @@ import {
|
|
|
60
60
|
} from "./chunk-3ASDTTEI.js";
|
|
61
61
|
import {
|
|
62
62
|
getApiEndpoint
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-2K4NDPT5.js";
|
|
64
64
|
import {
|
|
65
65
|
selectCurrentServer
|
|
66
66
|
} from "./chunk-G5GVZAXF.js";
|
|
@@ -7,11 +7,11 @@ import {
|
|
|
7
7
|
listUserRecordsFromServers,
|
|
8
8
|
readDbRecordFromServers,
|
|
9
9
|
readLiveDbRecordAfterTombstoneMerge
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-OYWWNU4S.js";
|
|
11
11
|
import {
|
|
12
12
|
buildDialogAttachmentPlan,
|
|
13
13
|
extractFileContentIds
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-XCCPWF3M.js";
|
|
15
15
|
import {
|
|
16
16
|
toErrorMessage
|
|
17
17
|
} from "./chunk-HNMXYYJR.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveReferenceAssets
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-CGRGHTRM.js";
|
|
4
4
|
import {
|
|
5
5
|
fetchReferenceContents
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-C5LUFXRU.js";
|
|
7
7
|
|
|
8
8
|
// packages/ai/agent/fetchAgentContexts.ts
|
|
9
9
|
async function fetchAgentContexts(references, dispatch) {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createCliLocalRuntimeAdapter,
|
|
3
3
|
summarizeEndpoint
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-FKSFP7XK.js";
|
|
5
5
|
import {
|
|
6
6
|
runLocalAgentTurn
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-DYSVCA3I.js";
|
|
8
8
|
import {
|
|
9
9
|
clipMultilineText
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-FBXHGRKK.js";
|
|
11
11
|
import {
|
|
12
12
|
resolveLocalRuntimeEnvFromPolicy
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-6CABEXHO.js";
|
|
14
14
|
import {
|
|
15
15
|
toErrorMessage
|
|
16
16
|
} from "./chunk-HNMXYYJR.js";
|
|
@@ -4,14 +4,14 @@ import {
|
|
|
4
4
|
providerHttpFailure,
|
|
5
5
|
readSseFrames,
|
|
6
6
|
throwIfChatCompletionStreamFailed
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-65677FXQ.js";
|
|
8
8
|
import {
|
|
9
9
|
sanitizeForOutbound
|
|
10
10
|
} from "./chunk-T27IEBNQ.js";
|
|
11
11
|
import {
|
|
12
12
|
parseToolArgumentsJson,
|
|
13
13
|
resolveHistoricalToolContentCap
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-DYSVCA3I.js";
|
|
15
15
|
import {
|
|
16
16
|
createThinkParserState,
|
|
17
17
|
createToolCallAccumulator,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
import {
|
|
23
23
|
requiresBareImageUrl,
|
|
24
24
|
toBareImageUrlMessages
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-C5LUFXRU.js";
|
|
26
26
|
import {
|
|
27
27
|
shouldStripReasoningContentForOutbound,
|
|
28
28
|
toOpenAiCompatibleMessages
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
import {
|
|
31
31
|
buildProviderAuthHeaders,
|
|
32
32
|
buildProviderExecutionPlan
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-UDA3ZYLW.js";
|
|
34
34
|
import {
|
|
35
35
|
buildDialogFallbackTitleFromUserInput
|
|
36
36
|
} from "./chunk-2MBTWINN.js";
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
buildNoloWorkspaceCommandArgs,
|
|
40
40
|
noloStringArg,
|
|
41
41
|
parseNoloWorkspaceToolArguments
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-FBXHGRKK.js";
|
|
43
43
|
import {
|
|
44
44
|
toErrorMessage
|
|
45
45
|
} from "./chunk-HNMXYYJR.js";
|