nolo-cli 0.108.0 → 0.108.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-RVAKYU4J.js → _executeModel-DN555NGT.js} +15 -15
- package/{agentDeleteCommand-T5MDAOE7.js → agentDeleteCommand-TC25IKLY.js} +17 -17
- package/{agentEmailCommands-UWBQSKLI.js → agentEmailCommands-J6NLGTCC.js} +18 -18
- package/{agentListCommands-2Q456VYS.js → agentListCommands-FJDETZ3J.js} +8 -8
- package/{agentMachineCommands-FPJJ4DCF.js → agentMachineCommands-2WS2U4YS.js} +5 -5
- package/{agentProviderCommands-7PCGR77I.js → agentProviderCommands-7D34RHJI.js} +1 -1
- package/{agentRecordCommands-3JGDR4NN.js → agentRecordCommands-UESQYDGY.js} +17 -17
- package/{agentRunCommand-3NQOP3SD.js → agentRunCommand-XT7FVYHM.js} +17 -17
- package/{agentRuntimeLocal-SQUDRZWE.js → agentRuntimeLocal-RG5JPSKE.js} +3 -3
- package/{agentSlice-R4W6MCEW.js → agentSlice-QJTIAD62.js} +1 -1
- package/{appDeleteCommands-CLLYGEBC.js → appDeleteCommands-PYN5E24A.js} +6 -6
- package/{appDeployCommands-HY2NBNDQ.js → appDeployCommands-QAVMLQVB.js} +6 -6
- package/{appDeployStatusCommands-SGO5GEXH.js → appDeployStatusCommands-7BP6Y3VT.js} +6 -6
- package/{appGetCommands-ZPYK2N5D.js → appGetCommands-IMH3OHJS.js} +6 -6
- package/{appListCommands-O2BHIMKS.js → appListCommands-QPWDJYYE.js} +6 -6
- package/{authCommand-GUIREPHK.js → authCommand-PRI2KIAU.js} +4 -4
- package/{chunk-5WLADF62.js → chunk-33ZYMRQ7.js} +1 -1
- package/{chunk-WVES4PHL.js → chunk-3VQV2TBL.js} +2 -2
- package/{chunk-IRG4OKY6.js → chunk-4ICASHYB.js} +2 -2
- package/{chunk-A337PRRR.js → chunk-5UIXTKFQ.js} +1 -1
- package/{chunk-SP4WCECG.js → chunk-6GY2BAHO.js} +1 -1
- package/{chunk-7YVPCIEN.js → chunk-7PPMGJ5M.js} +5 -5
- package/{chunk-KN6MKCS5.js → chunk-7UCLWRLV.js} +8 -8
- package/{chunk-26UZ2Y4Z.js → chunk-BDQ7FCHU.js} +2 -2
- package/{chunk-PS6XSDHW.js → chunk-BEJ2SHNE.js} +3 -3
- package/{chunk-OYBAT7RT.js → chunk-C3ULSFIS.js} +1 -1
- package/{chunk-ALKCVCA5.js → chunk-C3WW27ZU.js} +1 -1
- package/{chunk-MW533QT3.js → chunk-CXI5NGTO.js} +1 -1
- package/{chunk-QH2QSBGP.js → chunk-E4K7HUBW.js} +10 -10
- package/{chunk-P6KLYCL3.js → chunk-EEACCNXM.js} +1 -1
- package/{chunk-EXR4XCFE.js → chunk-F3MYSZFL.js} +3 -3
- package/{chunk-LNEKN523.js → chunk-FUVZH6MU.js} +1 -1
- package/{chunk-DGDGNYI5.js → chunk-GP5WLBHW.js} +2 -2
- package/{chunk-W2N3ZC4P.js → chunk-HUR6X5AV.js} +1 -1
- package/{chunk-YSZQSZR2.js → chunk-IIV6JC55.js} +3 -3
- package/{chunk-YZZLKXCQ.js → chunk-JIVT3NXP.js} +9 -9
- package/{chunk-ROXFUKKL.js → chunk-JKKEOHUF.js} +8 -8
- package/{chunk-TSBCYK5F.js → chunk-K2447UCQ.js} +22 -2
- package/{chunk-RRPT5CGT.js → chunk-LEIKDE43.js} +3 -3
- package/{chunk-NLEJWKF5.js → chunk-PU65E4BH.js} +1 -1
- package/{chunk-726TCFLQ.js → chunk-QBZ7CLRZ.js} +1 -1
- package/{chunk-3SK3J3IF.js → chunk-QYIZ4FOQ.js} +1 -1
- package/{chunk-V5DCOM6G.js → chunk-S5XRB2EL.js} +4 -2
- package/{chunk-X2VPXJZC.js → chunk-UAPGMBU6.js} +2 -2
- package/{chunk-UPFOOGHU.js → chunk-VF56U4FW.js} +3 -3
- package/{chunk-IUTHWIZQ.js → chunk-ZM6DE4SR.js} +7 -7
- package/{commandRegistry-C25O2ARU.js → commandRegistry-RM55QNHA.js} +49 -49
- package/{contentThunks-UWODFKX6.js → contentThunks-57GJDHQ4.js} +3 -3
- package/{createAgentAutomationAction-SA4IA4CR.js → createAgentAutomationAction-JXXACUZA.js} +3 -3
- package/{createDialogAction-EDK5IMRG.js → createDialogAction-FSCO2LSU.js} +4 -4
- package/{createPageAction-VYVF5EIZ.js → createPageAction-5EMKLAZU.js} +3 -3
- package/{dialogCommands-K734RXEQ.js → dialogCommands-TUFYSTE3.js} +6 -6
- package/{dialogSlice-EEDP6PJ3.js → dialogSlice-53CHFXFN.js} +2 -2
- package/{docCreateCommands-N3KPGP4A.js → docCreateCommands-KONEIZFY.js} +5 -5
- package/{docDeleteCommands-4CR4TXZ7.js → docDeleteCommands-X57L46NF.js} +6 -6
- package/{docReadCommands-62XK57VS.js → docReadCommands-AVRYWL2H.js} +5 -5
- package/{docStore-RB7YBD4Y.js → docStore-OKM63VKE.js} +1 -1
- package/{docUpdateCommands-DRAAWIDC.js → docUpdateCommands-LC7OTZEL.js} +5 -5
- package/{handleSendMessageAction-TYDPIC6O.js → handleSendMessageAction-EADRULPY.js} +7 -7
- package/index.js +3 -3
- package/{localRuntimeAdapter-VYB2QTU3.js → localRuntimeAdapter-H6544AVH.js} +15 -15
- package/{machineCommands-IQRRLSYP.js → machineCommands-EZ225TOG.js} +16 -16
- package/{machineWsRunDispatch-LIMM5CYE.js → machineWsRunDispatch-3ZIEGUDT.js} +16 -16
- package/package.json +1 -1
- package/{providerPresetApply-HIPK67DU.js → providerPresetApply-ZZ5K3FTR.js} +2 -2
- package/{providerRegistry-AI4U2FNM.js → providerRegistry-65MFXKD7.js} +2 -2
- package/{readlineWorkspace-P3I7ZJUP.js → readlineWorkspace-O4DC6JCV.js} +20 -20
- package/{runAgentClientLoop-AYNL3KMJ.js → runAgentClientLoop-TWCGOVCK.js} +13 -13
- package/{spaceCommands-WZCLRGBO.js → spaceCommands-TMHQNUGB.js} +5 -5
- package/{streamAgentChatTurn-O5T3B4B3.js → streamAgentChatTurn-RDC7I5MH.js} +72 -25
- package/{tools-UMU2DYQX.js → tools-26DI3CXF.js} +10 -10
- package/{updateDialogTitleAction-TIS2SETN.js → updateDialogTitleAction-TUDBFRH5.js} +3 -3
|
@@ -5,12 +5,12 @@ import {
|
|
|
5
5
|
pickDefined,
|
|
6
6
|
printCliError,
|
|
7
7
|
resolveCliContext
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-FUVZH6MU.js";
|
|
9
9
|
import {
|
|
10
10
|
hasFlag,
|
|
11
11
|
hasHelpArg
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-HUR6X5AV.js";
|
|
13
|
+
import "./chunk-5UIXTKFQ.js";
|
|
14
14
|
import {
|
|
15
15
|
t
|
|
16
16
|
} from "./chunk-6CCAXGFK.js";
|
|
@@ -18,8 +18,8 @@ import "./chunk-PHHFVGOJ.js";
|
|
|
18
18
|
import "./chunk-NBTY7YJF.js";
|
|
19
19
|
import "./chunk-VF4K2QE6.js";
|
|
20
20
|
import "./chunk-UAD2WT54.js";
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-PU65E4BH.js";
|
|
22
|
+
import "./chunk-QYIZ4FOQ.js";
|
|
23
23
|
import "./chunk-ZNFJWEN4.js";
|
|
24
24
|
import "./chunk-IFALJPEX.js";
|
|
25
25
|
import "./chunk-GMZLP5DV.js";
|
|
@@ -49,7 +49,7 @@ import "./chunk-M2EJHDJP.js";
|
|
|
49
49
|
import "./chunk-RLRYVSCD.js";
|
|
50
50
|
import "./chunk-I42VC5KR.js";
|
|
51
51
|
import "./chunk-U6VC4MU4.js";
|
|
52
|
-
import "./chunk-
|
|
52
|
+
import "./chunk-K2447UCQ.js";
|
|
53
53
|
import "./chunk-WWC7I6TA.js";
|
|
54
54
|
import "./chunk-PSCNXBYA.js";
|
|
55
55
|
import "./chunk-KY6GPQ7O.js";
|
|
@@ -5,12 +5,12 @@ import {
|
|
|
5
5
|
pickDefined,
|
|
6
6
|
printCliError,
|
|
7
7
|
resolveCliContext
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-FUVZH6MU.js";
|
|
9
9
|
import {
|
|
10
10
|
hasFlag,
|
|
11
11
|
hasHelpArg
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-HUR6X5AV.js";
|
|
13
|
+
import "./chunk-5UIXTKFQ.js";
|
|
14
14
|
import {
|
|
15
15
|
t
|
|
16
16
|
} from "./chunk-6CCAXGFK.js";
|
|
@@ -18,8 +18,8 @@ import "./chunk-PHHFVGOJ.js";
|
|
|
18
18
|
import "./chunk-NBTY7YJF.js";
|
|
19
19
|
import "./chunk-VF4K2QE6.js";
|
|
20
20
|
import "./chunk-UAD2WT54.js";
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-PU65E4BH.js";
|
|
22
|
+
import "./chunk-QYIZ4FOQ.js";
|
|
23
23
|
import "./chunk-ZNFJWEN4.js";
|
|
24
24
|
import "./chunk-IFALJPEX.js";
|
|
25
25
|
import "./chunk-GMZLP5DV.js";
|
|
@@ -49,7 +49,7 @@ import "./chunk-M2EJHDJP.js";
|
|
|
49
49
|
import "./chunk-RLRYVSCD.js";
|
|
50
50
|
import "./chunk-I42VC5KR.js";
|
|
51
51
|
import "./chunk-U6VC4MU4.js";
|
|
52
|
-
import "./chunk-
|
|
52
|
+
import "./chunk-K2447UCQ.js";
|
|
53
53
|
import "./chunk-WWC7I6TA.js";
|
|
54
54
|
import "./chunk-PSCNXBYA.js";
|
|
55
55
|
import "./chunk-KY6GPQ7O.js";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
parseFlagWithOptionalValue,
|
|
4
4
|
runCloudflareOAuthLogin,
|
|
5
5
|
upsertEnvVariable
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-C3WW27ZU.js";
|
|
7
7
|
import {
|
|
8
8
|
defaultOpenBrowser
|
|
9
9
|
} from "./chunk-YVTZMLXZ.js";
|
|
@@ -50,7 +50,7 @@ import {
|
|
|
50
50
|
startCallbackServer,
|
|
51
51
|
validateXAIEndpoint,
|
|
52
52
|
xaiOAuthDiscovery
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-C3ULSFIS.js";
|
|
54
54
|
import {
|
|
55
55
|
t
|
|
56
56
|
} from "./chunk-6CCAXGFK.js";
|
|
@@ -65,13 +65,13 @@ import {
|
|
|
65
65
|
detectLocalDevinCredentials,
|
|
66
66
|
extractDevinToken,
|
|
67
67
|
fetchAntigravityCloudCodeCompletion
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-QYIZ4FOQ.js";
|
|
69
69
|
import "./chunk-GMZLP5DV.js";
|
|
70
70
|
import "./chunk-5ZUL4CUO.js";
|
|
71
71
|
import "./chunk-RLRYVSCD.js";
|
|
72
72
|
import "./chunk-I42VC5KR.js";
|
|
73
73
|
import "./chunk-U6VC4MU4.js";
|
|
74
|
-
import "./chunk-
|
|
74
|
+
import "./chunk-K2447UCQ.js";
|
|
75
75
|
import {
|
|
76
76
|
asOptionalFiniteNumber
|
|
77
77
|
} from "./chunk-WWC7I6TA.js";
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
clipMultilineText,
|
|
3
3
|
fetchAndSerializeTable,
|
|
4
4
|
waitForAbortableDelay
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-GP5WLBHW.js";
|
|
6
6
|
import {
|
|
7
7
|
isGatewayHttpStatus
|
|
8
8
|
} from "./chunk-NF64D32W.js";
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
} from "./chunk-AGIM7IMJ.js";
|
|
22
22
|
import {
|
|
23
23
|
fetchAndCacheMessages
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-JKKEOHUF.js";
|
|
25
25
|
import {
|
|
26
26
|
createSpaceKey
|
|
27
27
|
} from "./chunk-UAD2WT54.js";
|
|
@@ -547,7 +547,7 @@ async function buildCreatedAgentRecord(args) {
|
|
|
547
547
|
const resolvedAgentInput = resolveCliAgentKeyInput(args.parsed.agentInput);
|
|
548
548
|
const agentKey = resolvedAgentInput.startsWith("agent-") ? resolvedAgentInput : createAgentKey.private(userId || "local", resolvedAgentInput);
|
|
549
549
|
if (args.parsed.presetId) {
|
|
550
|
-
const { resolveProviderPresetFields } = await import("./providerPresetApply-
|
|
550
|
+
const { resolveProviderPresetFields } = await import("./providerPresetApply-ZZ5K3FTR.js");
|
|
551
551
|
const fields = resolveProviderPresetFields(args.parsed.presetId);
|
|
552
552
|
if (fields.kind === "manual") {
|
|
553
553
|
throw new Error(
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
mergeReferences,
|
|
8
8
|
resolveReferenceAssets,
|
|
9
9
|
resolveToolsFromKeys
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-4ICASHYB.js";
|
|
11
11
|
import {
|
|
12
12
|
UI_CARD_ENVELOPE_MAX_BYTES,
|
|
13
13
|
getAllToolRuns,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
selectSpaceContextLevel,
|
|
21
21
|
selectUserTonePreset,
|
|
22
22
|
uiCardFallback
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-GP5WLBHW.js";
|
|
24
24
|
import {
|
|
25
25
|
resolveToolBaseUrl
|
|
26
26
|
} from "./chunk-2ECUZDEL.js";
|
|
@@ -32,10 +32,10 @@ import {
|
|
|
32
32
|
} from "./chunk-PFEK4SA2.js";
|
|
33
33
|
import {
|
|
34
34
|
getDocState
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-UAPGMBU6.js";
|
|
36
36
|
import {
|
|
37
37
|
getTableState
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-EEACCNXM.js";
|
|
39
39
|
import {
|
|
40
40
|
getCurrentSpaceIdRaw,
|
|
41
41
|
getViewMode
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
buildPersonalizationDialogPolicyContext,
|
|
46
46
|
extractReferenceKeysFromMessage,
|
|
47
47
|
selectAllMsgs
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-JKKEOHUF.js";
|
|
49
49
|
import {
|
|
50
50
|
selectPendingFiles
|
|
51
51
|
} from "./chunk-VBG7GWWR.js";
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
import {
|
|
31
31
|
readDbRecord,
|
|
32
32
|
resolveAgentRecordFromHybridStore
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-5UIXTKFQ.js";
|
|
34
34
|
import {
|
|
35
35
|
resolveMachineId
|
|
36
36
|
} from "./chunk-ESHYE7WU.js";
|
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
resolveBoundMachineId,
|
|
48
48
|
resolveFileWriteGateEnabled,
|
|
49
49
|
resolveLocalUserId
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-E4K7HUBW.js";
|
|
51
51
|
import {
|
|
52
52
|
clearCredentialAvailability,
|
|
53
53
|
readCredentialEntry,
|
|
@@ -79,7 +79,7 @@ import {
|
|
|
79
79
|
import {
|
|
80
80
|
parseUiCard,
|
|
81
81
|
uiCardFallback
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-GP5WLBHW.js";
|
|
83
83
|
import {
|
|
84
84
|
isGatewayHttpStatus
|
|
85
85
|
} from "./chunk-NF64D32W.js";
|
|
@@ -91,11 +91,11 @@ import {
|
|
|
91
91
|
chooseMemoryOwners,
|
|
92
92
|
loadMemoryCandidatesFromDb,
|
|
93
93
|
resolveAgentMemoryPolicy
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-BDQ7FCHU.js";
|
|
95
95
|
import {
|
|
96
96
|
API_REPORTED_COST_MULTIPLIER,
|
|
97
97
|
parseUiAskChoiceContent
|
|
98
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-JKKEOHUF.js";
|
|
99
99
|
import {
|
|
100
100
|
isOAuthApiKeyRef
|
|
101
101
|
} from "./chunk-UKZX3NHN.js";
|
|
@@ -107,7 +107,7 @@ import {
|
|
|
107
107
|
LOCAL_AGENT_CONFIG_MISSING_CODE,
|
|
108
108
|
LOCAL_TURN_ABORTED_CODE,
|
|
109
109
|
readActionGate
|
|
110
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-PU65E4BH.js";
|
|
111
111
|
import {
|
|
112
112
|
resolveAgentRuntimeConfigFromRecord
|
|
113
113
|
} from "./chunk-G23MQWLJ.js";
|
|
@@ -159,7 +159,7 @@ import {
|
|
|
159
159
|
} from "./chunk-RLRYVSCD.js";
|
|
160
160
|
import {
|
|
161
161
|
isAntigravityOAuthAgent
|
|
162
|
-
} from "./chunk-
|
|
162
|
+
} from "./chunk-K2447UCQ.js";
|
|
163
163
|
import {
|
|
164
164
|
createRunActivityTracker,
|
|
165
165
|
getRunResultHeaderMeta,
|
|
@@ -10972,7 +10972,7 @@ function findCollapsedPasteSpanAt(buffer, pos, opts = {}) {
|
|
|
10972
10972
|
// packages/cli/client/agentRun.ts
|
|
10973
10973
|
import { ulid as ulid2 } from "ulid";
|
|
10974
10974
|
async function loadRunLocalAgentTurn() {
|
|
10975
|
-
const { runLocalAgentTurn } = await import("./agentRuntimeLocal-
|
|
10975
|
+
const { runLocalAgentTurn } = await import("./agentRuntimeLocal-RG5JPSKE.js");
|
|
10976
10976
|
return runLocalAgentTurn;
|
|
10977
10977
|
}
|
|
10978
10978
|
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();
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
addContentToSpace
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-EEACCNXM.js";
|
|
4
4
|
import {
|
|
5
5
|
format,
|
|
6
6
|
prepareAndPersistMessage,
|
|
7
7
|
uiAskChoiceFunc,
|
|
8
8
|
uiAskChoiceFunctionSchema
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-JKKEOHUF.js";
|
|
10
10
|
import {
|
|
11
11
|
formatISO
|
|
12
12
|
} from "./chunk-ZRAU6T47.js";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createCliLocalRuntimeAdapter,
|
|
3
3
|
summarizeEndpoint
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-E4K7HUBW.js";
|
|
5
5
|
import {
|
|
6
6
|
t
|
|
7
7
|
} from "./chunk-6CCAXGFK.js";
|
|
8
8
|
import {
|
|
9
9
|
clipMultilineText
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-GP5WLBHW.js";
|
|
11
11
|
import {
|
|
12
12
|
runLocalAgentTurn
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-PU65E4BH.js";
|
|
14
14
|
import {
|
|
15
15
|
applyToolSurfaceConstraints
|
|
16
16
|
} from "./chunk-QLQ573SU.js";
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
refreshOpenAiCodexToken,
|
|
6
6
|
resolveServerSyncConfig,
|
|
7
7
|
xaiRefresh
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-C3ULSFIS.js";
|
|
9
9
|
import {
|
|
10
10
|
createChromeConnectorClientResolver,
|
|
11
11
|
createVerifiedChromeConnectorClient,
|
|
@@ -50,7 +50,7 @@ import {
|
|
|
50
50
|
import {
|
|
51
51
|
inlineImageUrlsForCustomProvider,
|
|
52
52
|
prepareTools
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-3VQV2TBL.js";
|
|
54
54
|
import {
|
|
55
55
|
getServerProviderSecret
|
|
56
56
|
} from "./chunk-HS7MLR74.js";
|
|
@@ -66,18 +66,18 @@ import {
|
|
|
66
66
|
readXhsProfileFunc,
|
|
67
67
|
readXhsProfileFunctionSchema,
|
|
68
68
|
rememberMemoryFunctionSchema
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-JIVT3NXP.js";
|
|
70
70
|
import {
|
|
71
71
|
deriveCredentialGroup,
|
|
72
72
|
deriveCustomProviderCredentialGroup
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-S5XRB2EL.js";
|
|
74
74
|
import {
|
|
75
75
|
fetchWithTransientRetry,
|
|
76
76
|
isTransientFetchError
|
|
77
77
|
} from "./chunk-APO5TOXO.js";
|
|
78
78
|
import {
|
|
79
79
|
resolveAgentRequiredPackIds
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-GP5WLBHW.js";
|
|
81
81
|
import {
|
|
82
82
|
getModelPricing
|
|
83
83
|
} from "./chunk-PFEK4SA2.js";
|
|
@@ -88,7 +88,7 @@ import {
|
|
|
88
88
|
prepareTokenUsageData,
|
|
89
89
|
resolveBuiltinPlatformAgentConfig,
|
|
90
90
|
runKeyed
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-JKKEOHUF.js";
|
|
92
92
|
import {
|
|
93
93
|
BUILTIN_DIALOG_LLM_CHAT_FALLBACK_MODEL,
|
|
94
94
|
BUILTIN_TITLE_LLM_CONFIG
|
|
@@ -98,7 +98,7 @@ import {
|
|
|
98
98
|
} from "./chunk-UKZX3NHN.js";
|
|
99
99
|
import {
|
|
100
100
|
fetchServerSyncedCredential
|
|
101
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-F3MYSZFL.js";
|
|
102
102
|
import {
|
|
103
103
|
FORCED_TOOLS,
|
|
104
104
|
addDefaultLightWebToolsForConfiguredAgents,
|
|
@@ -146,7 +146,7 @@ import {
|
|
|
146
146
|
resolveOpenAiCompatibleProviderConfig,
|
|
147
147
|
resolveSessionKey,
|
|
148
148
|
verifyOwnerRouteAck
|
|
149
|
-
} from "./chunk-
|
|
149
|
+
} from "./chunk-PU65E4BH.js";
|
|
150
150
|
import {
|
|
151
151
|
accumulateGeminiChunks,
|
|
152
152
|
buildGeminiGenerateContentRequest,
|
|
@@ -157,7 +157,7 @@ import {
|
|
|
157
157
|
parseUpstreamErrorBody,
|
|
158
158
|
resolveAntigravityFinishReason,
|
|
159
159
|
shouldUseGeminiNativeToolRoute
|
|
160
|
-
} from "./chunk-
|
|
160
|
+
} from "./chunk-QYIZ4FOQ.js";
|
|
161
161
|
import {
|
|
162
162
|
PlatformStreamInterruptedError,
|
|
163
163
|
buildPlatformChatCompletionRequest,
|
|
@@ -256,7 +256,7 @@ import {
|
|
|
256
256
|
} from "./chunk-RLRYVSCD.js";
|
|
257
257
|
import {
|
|
258
258
|
isAntigravityOAuthAgent
|
|
259
|
-
} from "./chunk-
|
|
259
|
+
} from "./chunk-K2447UCQ.js";
|
|
260
260
|
import {
|
|
261
261
|
ackRunRecord,
|
|
262
262
|
appendRunQueue,
|
|
@@ -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-DN555NGT.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-TWCGOVCK.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-RDC7I5MH.js");
|
|
347
347
|
return streamAgentChatTurnHandler(args, thunkApi);
|
|
348
348
|
}),
|
|
349
349
|
/**
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
} from "./chunk-5XN3OSCT.js";
|
|
9
9
|
import {
|
|
10
10
|
fetchAndCacheTableRows
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-EEACCNXM.js";
|
|
12
12
|
import {
|
|
13
13
|
require_react
|
|
14
14
|
} from "./chunk-YDH3FDFQ.js";
|
|
@@ -517,7 +517,7 @@ var executeToolRun = createAsyncThunk(
|
|
|
517
517
|
if (!executionInput) {
|
|
518
518
|
throw new Error(`ToolRun ${id} has no input to execute with.`);
|
|
519
519
|
}
|
|
520
|
-
const { findToolExecutor } = await import("./tools-
|
|
520
|
+
const { findToolExecutor } = await import("./tools-26DI3CXF.js");
|
|
521
521
|
const { executor } = findToolExecutor(run.toolName);
|
|
522
522
|
toolRunStarted({
|
|
523
523
|
id: run.id,
|
|
@@ -13,10 +13,10 @@ import {
|
|
|
13
13
|
resolveAgentRecordFromHybridStore,
|
|
14
14
|
sanitizeAgentRecordForCliOutput,
|
|
15
15
|
writeAgentRecord
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-5UIXTKFQ.js";
|
|
17
17
|
import {
|
|
18
18
|
clearCliLocalRuntimePreparedAgentCache
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-E4K7HUBW.js";
|
|
20
20
|
import {
|
|
21
21
|
readCredentialAvailability
|
|
22
22
|
} from "./chunk-6MXDOUMH.js";
|
|
@@ -243,7 +243,7 @@ async function runAgentCreateCommand(args, deps = {}) {
|
|
|
243
243
|
clearCliLocalRuntimePreparedAgentCache();
|
|
244
244
|
let verifyResult;
|
|
245
245
|
if (parsed.verify) {
|
|
246
|
-
const { verifyCustomProvider } = await import("./agentProviderCommands-
|
|
246
|
+
const { verifyCustomProvider } = await import("./agentProviderCommands-7D34RHJI.js");
|
|
247
247
|
const rec = built.nextRecord;
|
|
248
248
|
verifyResult = await verifyCustomProvider({
|
|
249
249
|
providerUrl: rec.customProviderUrl,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
assembleAgentDiscoveryResult,
|
|
3
3
|
resolveDiscoveryScope
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-S5XRB2EL.js";
|
|
5
5
|
import {
|
|
6
6
|
fetchWithTransientRetry
|
|
7
7
|
} from "./chunk-APO5TOXO.js";
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
toolRunUpdated,
|
|
33
33
|
uiCardFallback,
|
|
34
34
|
waitForAbortableDelay
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-GP5WLBHW.js";
|
|
36
36
|
import {
|
|
37
37
|
isGatewayHttpStatus
|
|
38
38
|
} from "./chunk-NF64D32W.js";
|
|
@@ -79,10 +79,10 @@ import {
|
|
|
79
79
|
} from "./chunk-VF4K2QE6.js";
|
|
80
80
|
import {
|
|
81
81
|
createDocState
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-UAPGMBU6.js";
|
|
83
83
|
import {
|
|
84
84
|
createDialogAction
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-BDQ7FCHU.js";
|
|
86
86
|
import {
|
|
87
87
|
shareResourceAction
|
|
88
88
|
} from "./chunk-BFYDNHYW.js";
|
|
@@ -102,7 +102,7 @@ import {
|
|
|
102
102
|
updateContentCategory,
|
|
103
103
|
updateContentTitle,
|
|
104
104
|
writeStoredCollapsedCategories
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-EEACCNXM.js";
|
|
106
106
|
import {
|
|
107
107
|
getCurrentSpaceId,
|
|
108
108
|
getCurrentSpaceIdRaw,
|
|
@@ -125,7 +125,7 @@ import {
|
|
|
125
125
|
selectMsgById,
|
|
126
126
|
uiAskChoiceFunc,
|
|
127
127
|
uiAskChoiceFunctionSchema
|
|
128
|
-
} from "./chunk-
|
|
128
|
+
} from "./chunk-JKKEOHUF.js";
|
|
129
129
|
import {
|
|
130
130
|
buildMediaToolConfirmation,
|
|
131
131
|
normalizeMediaConfirmExecutionRevision
|
|
@@ -136,7 +136,7 @@ import {
|
|
|
136
136
|
runLlm,
|
|
137
137
|
streamAgentChatTurn,
|
|
138
138
|
updateAgent
|
|
139
|
-
} from "./chunk-
|
|
139
|
+
} from "./chunk-F3MYSZFL.js";
|
|
140
140
|
import {
|
|
141
141
|
getActiveDialogKey,
|
|
142
142
|
selectCurrentDialogKey,
|
|
@@ -3881,7 +3881,7 @@ async function deleteDialogsFunc(args, thunkApi) {
|
|
|
3881
3881
|
const deletedDialogIds = [];
|
|
3882
3882
|
const deletedDialogKeys = [];
|
|
3883
3883
|
const failures = [];
|
|
3884
|
-
const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-
|
|
3884
|
+
const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-53CHFXFN.js");
|
|
3885
3885
|
for (const target of targets) {
|
|
3886
3886
|
try {
|
|
3887
3887
|
await thunkApi.dispatch(deleteDialog2(target.dbKey)).unwrap();
|
|
@@ -17836,7 +17836,7 @@ async function updateDocFunc(args, thunkApi) {
|
|
|
17836
17836
|
updated_at: (/* @__PURE__ */ new Date()).toISOString()
|
|
17837
17837
|
};
|
|
17838
17838
|
await dispatch(write({ data: updatedPageData, customKey: id })).unwrap();
|
|
17839
|
-
const { getDocState, applyExternalDocUpdate } = await import("./docStore-
|
|
17839
|
+
const { getDocState, applyExternalDocUpdate } = await import("./docStore-OKM63VKE.js");
|
|
17840
17840
|
if (getDocState().pageKey === id) {
|
|
17841
17841
|
applyExternalDocUpdate({
|
|
17842
17842
|
slateData: finalSlateData,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
} from "./chunk-QYPE3TS3.js";
|
|
15
15
|
import {
|
|
16
16
|
runLlm
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-F3MYSZFL.js";
|
|
18
18
|
import {
|
|
19
19
|
getApproxPricePerImage
|
|
20
20
|
} from "./chunk-AGGIDPCZ.js";
|
|
@@ -10864,7 +10864,7 @@ var messageSlice = createSliceWithThunks({
|
|
|
10864
10864
|
runtimeOptions: args.runtimeOptions
|
|
10865
10865
|
});
|
|
10866
10866
|
if (agentKeyToUse) {
|
|
10867
|
-
const { streamAgentChatTurn } = await import("./agentSlice-
|
|
10867
|
+
const { streamAgentChatTurn } = await import("./agentSlice-QJTIAD62.js");
|
|
10868
10868
|
await dispatch(
|
|
10869
10869
|
streamAgentChatTurn({
|
|
10870
10870
|
agentKey: agentKeyToUse,
|
|
@@ -13658,7 +13658,7 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
13658
13658
|
}
|
|
13659
13659
|
if (isCurrentDialog) {
|
|
13660
13660
|
await thunkApi.dispatch(resetMsgs());
|
|
13661
|
-
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-
|
|
13661
|
+
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-53CHFXFN.js");
|
|
13662
13662
|
dispatch(clearPendingAttachments2());
|
|
13663
13663
|
}
|
|
13664
13664
|
return { dialogKey, isCurrentDialog, attachmentPlan };
|
|
@@ -13666,15 +13666,15 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
13666
13666
|
|
|
13667
13667
|
// packages/chat/dialog/dialogSlice.ts
|
|
13668
13668
|
var runCreateDialogAction = async (args, thunkApi) => {
|
|
13669
|
-
const { createDialogAction } = await import("./createDialogAction-
|
|
13669
|
+
const { createDialogAction } = await import("./createDialogAction-FSCO2LSU.js");
|
|
13670
13670
|
return createDialogAction(args, thunkApi);
|
|
13671
13671
|
};
|
|
13672
13672
|
var runCreateAgentAutomationAction = async (args, thunkApi) => {
|
|
13673
|
-
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-
|
|
13673
|
+
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-JXXACUZA.js");
|
|
13674
13674
|
return createAgentAutomationAction(args, thunkApi);
|
|
13675
13675
|
};
|
|
13676
13676
|
var runUpdateDialogTitleAction = async (args, thunkApi) => {
|
|
13677
|
-
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-
|
|
13677
|
+
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-TUDBFRH5.js");
|
|
13678
13678
|
return updateDialogTitleAction(args, thunkApi);
|
|
13679
13679
|
};
|
|
13680
13680
|
var runAddDialogAgentAction = async (args, thunkApi) => {
|
|
@@ -13698,7 +13698,7 @@ var runSetDialogExtraReferencesAction = async (args, thunkApi) => {
|
|
|
13698
13698
|
return setDialogExtraReferencesAction(args, thunkApi);
|
|
13699
13699
|
};
|
|
13700
13700
|
var runHandleSendMessageAction = async (args, thunkApi) => {
|
|
13701
|
-
const { handleSendMessageAction } = await import("./handleSendMessageAction-
|
|
13701
|
+
const { handleSendMessageAction } = await import("./handleSendMessageAction-EADRULPY.js");
|
|
13702
13702
|
return handleSendMessageAction(args, thunkApi);
|
|
13703
13703
|
};
|
|
13704
13704
|
function clearDialogState() {
|
|
@@ -13711,7 +13711,7 @@ var createPageAndAddReference = createAsyncThunk(
|
|
|
13711
13711
|
async (payload, { dispatch, getState, rejectWithValue }) => {
|
|
13712
13712
|
const { slateData, jsonData, title, type, fileId, groupId, dialogKey } = payload;
|
|
13713
13713
|
try {
|
|
13714
|
-
const { createDocState } = await import("./docStore-
|
|
13714
|
+
const { createDocState } = await import("./docStore-OKM63VKE.js");
|
|
13715
13715
|
const pageKey = await createDocState(
|
|
13716
13716
|
{ slateData, title },
|
|
13717
13717
|
{ dispatch, getState }
|