nolo-cli 0.70.0-alpha.2 → 0.71.0-alpha.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-GOV2OHC7.js → _executeModel-2U22Y4CK.js} +10 -10
- package/{agentEmailCommands-YZQ2VVHY.js → agentEmailCommands-XY4P4ZT7.js} +9 -9
- package/{agentMachineCommands-UCYM5RRQ.js → agentMachineCommands-S2YSXV6Y.js} +1 -1
- package/{agentRecordCommands-TPBYOPMA.js → agentRecordCommands-JYKV3ZMU.js} +9 -9
- package/{agentRunCommand-XUMZAHKJ.js → agentRunCommand-2F7CHVL7.js} +9 -9
- package/{agentSlice-ZPODGT3P.js → agentSlice-QSZMNIII.js} +1 -1
- package/{chatQueueReduxAdapter-Z67OC4WO.js → chatQueueReduxAdapter-7MZUEBWA.js} +2 -2
- package/{chunk-FCCT2LU2.js → chunk-2PS2AR7L.js} +37 -18
- package/{chunk-F657NADX.js → chunk-AGM65FOG.js} +3 -3
- package/{chunk-AAWBX67U.js → chunk-CCWIBXO2.js} +5 -5
- package/{chunk-ZIUMSKK4.js → chunk-CME2Y2B5.js} +8 -8
- package/{chunk-BLCUMZNV.js → chunk-DT7P2EFC.js} +1 -1
- package/{chunk-BVHTMYTM.js → chunk-JYKNLVLH.js} +4 -4
- package/{chunk-SPQ7GSUX.js → chunk-ODYQBAKC.js} +26 -14
- package/{chunk-TVDZABBT.js → chunk-OEZGYEEU.js} +3 -3
- package/{chunk-3NVAU4WZ.js → chunk-RIPTVWQV.js} +1 -1
- package/{chunk-VLX45P4L.js → chunk-ROMO632F.js} +2 -2
- package/{chunk-DQAEUZSQ.js → chunk-SASHA6KO.js} +2 -2
- package/{chunk-YYLLD6H6.js → chunk-SIV74MEG.js} +2 -2
- package/{chunk-PWGW5JTK.js → chunk-VNBOAZHE.js} +1 -1
- package/{chunk-NUTDASGX.js → chunk-XZJLVAC5.js} +2 -2
- package/{contentThunks-VGXYTSKU.js → contentThunks-XG6FQXLX.js} +3 -3
- package/{createAgentAutomationAction-6YBZFLET.js → createAgentAutomationAction-K42OMFRL.js} +3 -3
- package/{createDialogAction-N7CTNKB5.js → createDialogAction-KPQENDVZ.js} +4 -4
- package/{createPageAction-RXOOVKVO.js → createPageAction-PBQEM53T.js} +3 -3
- package/{dialogSlice-NLSKRXBN.js → dialogSlice-X37YSBCE.js} +2 -2
- package/{docStore-CIAYE5WP.js → docStore-YCMK3TDZ.js} +1 -1
- package/{handleSendMessageAction-ENUNMW3Z.js → handleSendMessageAction-IYXYBDXA.js} +2 -2
- package/index.js +15 -15
- package/{machineCommands-APIJY7UA.js → machineCommands-TCHFLQQX.js} +9 -9
- package/{machineWsRunDispatch-42WKRDE7.js → machineWsRunDispatch-VJHFS6FY.js} +9 -9
- package/package.json +1 -1
- package/{readlineWorkspace-5HKD2RQP.js → readlineWorkspace-VBDFNMFW.js} +155 -40
- package/{runAgentClientLoop-A4OXYOCL.js → runAgentClientLoop-JZPQLKD3.js} +8 -8
- package/{streamAgentChatTurn-YHKNJEFR.js → streamAgentChatTurn-BMLM6G2H.js} +9 -9
- package/{tools-S5RSWF3R.js → tools-QD3SBHA3.js} +6 -6
- package/{updateDialogTitleAction-BU2VPE5B.js → updateDialogTitleAction-PVZ2NUKN.js} +3 -3
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fetchAgentContexts
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RIPTVWQV.js";
|
|
4
4
|
import {
|
|
5
5
|
filterAndCleanMessages,
|
|
6
6
|
sendOpenAICompletionsRequest
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-CCWIBXO2.js";
|
|
8
8
|
import "./chunk-JEXVIMYZ.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-XZJLVAC5.js";
|
|
10
10
|
import {
|
|
11
11
|
generateRequestBody,
|
|
12
12
|
mergeReferences,
|
|
13
13
|
performFetchRequest,
|
|
14
14
|
sanitizeOutboundBody
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-OEZGYEEU.js";
|
|
16
16
|
import "./chunk-EDKF7RX4.js";
|
|
17
17
|
import "./chunk-HS7MLR74.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-2PS2AR7L.js";
|
|
19
19
|
import "./chunk-5XTOKQLW.js";
|
|
20
20
|
import "./chunk-NF64D32W.js";
|
|
21
21
|
import "./chunk-3L2WKC3W.js";
|
|
@@ -32,20 +32,20 @@ import "./chunk-FZGV4FGK.js";
|
|
|
32
32
|
import "./chunk-MEYIRKDN.js";
|
|
33
33
|
import "./chunk-63W5N6P3.js";
|
|
34
34
|
import "./chunk-VF4K2QE6.js";
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-SASHA6KO.js";
|
|
36
|
+
import "./chunk-ROMO632F.js";
|
|
37
|
+
import "./chunk-DT7P2EFC.js";
|
|
38
38
|
import "./chunk-ZJ7UHBJS.js";
|
|
39
39
|
import {
|
|
40
40
|
selectAllMsgs,
|
|
41
41
|
selectCurrentDialogConfig,
|
|
42
42
|
updateTokensAction
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-CME2Y2B5.js";
|
|
44
44
|
import "./chunk-EVBFYPDC.js";
|
|
45
45
|
import "./chunk-HQUORJTM.js";
|
|
46
46
|
import "./chunk-YYLHWIW6.js";
|
|
47
47
|
import "./chunk-AGGIDPCZ.js";
|
|
48
|
-
import "./chunk-
|
|
48
|
+
import "./chunk-AGM65FOG.js";
|
|
49
49
|
import "./chunk-BJCWNHVU.js";
|
|
50
50
|
import "./chunk-5RGU3J7P.js";
|
|
51
51
|
import "./chunk-6YTOJY35.js";
|
|
@@ -8,8 +8,8 @@ import {
|
|
|
8
8
|
} from "./chunk-JYYZCK2Z.js";
|
|
9
9
|
import {
|
|
10
10
|
runAgentCreateCommand
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-VNBOAZHE.js";
|
|
12
|
+
import "./chunk-ODYQBAKC.js";
|
|
13
13
|
import "./chunk-GBPZKFYK.js";
|
|
14
14
|
import "./chunk-EADNWBAZ.js";
|
|
15
15
|
import "./chunk-HH65VA5U.js";
|
|
@@ -29,9 +29,9 @@ import "./chunk-MP64VFGD.js";
|
|
|
29
29
|
import "./chunk-JBTJAPUF.js";
|
|
30
30
|
import "./chunk-3QPYFHAH.js";
|
|
31
31
|
import "./chunk-ATNTHIZI.js";
|
|
32
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-XZJLVAC5.js";
|
|
33
33
|
import "./chunk-HS7MLR74.js";
|
|
34
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-2PS2AR7L.js";
|
|
35
35
|
import "./chunk-5XTOKQLW.js";
|
|
36
36
|
import "./chunk-NF64D32W.js";
|
|
37
37
|
import "./chunk-3L2WKC3W.js";
|
|
@@ -47,16 +47,16 @@ import "./chunk-FZGV4FGK.js";
|
|
|
47
47
|
import "./chunk-MEYIRKDN.js";
|
|
48
48
|
import "./chunk-63W5N6P3.js";
|
|
49
49
|
import "./chunk-VF4K2QE6.js";
|
|
50
|
-
import "./chunk-
|
|
51
|
-
import "./chunk-
|
|
52
|
-
import "./chunk-
|
|
50
|
+
import "./chunk-SASHA6KO.js";
|
|
51
|
+
import "./chunk-ROMO632F.js";
|
|
52
|
+
import "./chunk-DT7P2EFC.js";
|
|
53
53
|
import "./chunk-ZJ7UHBJS.js";
|
|
54
|
-
import "./chunk-
|
|
54
|
+
import "./chunk-CME2Y2B5.js";
|
|
55
55
|
import "./chunk-EVBFYPDC.js";
|
|
56
56
|
import "./chunk-HQUORJTM.js";
|
|
57
57
|
import "./chunk-YYLHWIW6.js";
|
|
58
58
|
import "./chunk-AGGIDPCZ.js";
|
|
59
|
-
import "./chunk-
|
|
59
|
+
import "./chunk-AGM65FOG.js";
|
|
60
60
|
import "./chunk-BJCWNHVU.js";
|
|
61
61
|
import "./chunk-5RGU3J7P.js";
|
|
62
62
|
import "./chunk-6YTOJY35.js";
|
|
@@ -89,7 +89,7 @@ async function defaultExecuteCli(provider, prompt, options) {
|
|
|
89
89
|
return executeCli(provider, prompt, options);
|
|
90
90
|
}
|
|
91
91
|
async function forwardConnectorRunMessage(machine, message, pushMessage, executeCli, env, fetchImpl) {
|
|
92
|
-
const { handleConnectorRunMessage } = await import("./machineWsRunDispatch-
|
|
92
|
+
const { handleConnectorRunMessage } = await import("./machineWsRunDispatch-VJHFS6FY.js");
|
|
93
93
|
return handleConnectorRunMessage(message, pushMessage, executeCli, env, fetchImpl);
|
|
94
94
|
}
|
|
95
95
|
async function detectLaunchableMachineInfo() {
|
|
@@ -2,8 +2,8 @@ import {
|
|
|
2
2
|
runAgentCreateCommand,
|
|
3
3
|
runAgentReadCommand,
|
|
4
4
|
runAgentUpdateCommand
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-VNBOAZHE.js";
|
|
6
|
+
import "./chunk-ODYQBAKC.js";
|
|
7
7
|
import "./chunk-GBPZKFYK.js";
|
|
8
8
|
import "./chunk-EADNWBAZ.js";
|
|
9
9
|
import "./chunk-HH65VA5U.js";
|
|
@@ -16,9 +16,9 @@ import "./chunk-MP64VFGD.js";
|
|
|
16
16
|
import "./chunk-JBTJAPUF.js";
|
|
17
17
|
import "./chunk-3QPYFHAH.js";
|
|
18
18
|
import "./chunk-ATNTHIZI.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-XZJLVAC5.js";
|
|
20
20
|
import "./chunk-HS7MLR74.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-2PS2AR7L.js";
|
|
22
22
|
import "./chunk-5XTOKQLW.js";
|
|
23
23
|
import "./chunk-NF64D32W.js";
|
|
24
24
|
import "./chunk-3L2WKC3W.js";
|
|
@@ -34,16 +34,16 @@ import "./chunk-FZGV4FGK.js";
|
|
|
34
34
|
import "./chunk-MEYIRKDN.js";
|
|
35
35
|
import "./chunk-63W5N6P3.js";
|
|
36
36
|
import "./chunk-VF4K2QE6.js";
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
37
|
+
import "./chunk-SASHA6KO.js";
|
|
38
|
+
import "./chunk-ROMO632F.js";
|
|
39
|
+
import "./chunk-DT7P2EFC.js";
|
|
40
40
|
import "./chunk-ZJ7UHBJS.js";
|
|
41
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-CME2Y2B5.js";
|
|
42
42
|
import "./chunk-EVBFYPDC.js";
|
|
43
43
|
import "./chunk-HQUORJTM.js";
|
|
44
44
|
import "./chunk-YYLHWIW6.js";
|
|
45
45
|
import "./chunk-AGGIDPCZ.js";
|
|
46
|
-
import "./chunk-
|
|
46
|
+
import "./chunk-AGM65FOG.js";
|
|
47
47
|
import "./chunk-BJCWNHVU.js";
|
|
48
48
|
import "./chunk-5RGU3J7P.js";
|
|
49
49
|
import "./chunk-6YTOJY35.js";
|
|
@@ -8,12 +8,12 @@ import {
|
|
|
8
8
|
resolveRunSettlementNote,
|
|
9
9
|
resolveWorkflowReference,
|
|
10
10
|
runAgentRunCommand
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-JYKNLVLH.js";
|
|
12
12
|
import "./chunk-S7Z2HMCN.js";
|
|
13
13
|
import {
|
|
14
14
|
parseAgentRunArgs
|
|
15
15
|
} from "./chunk-JYYZCK2Z.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-ODYQBAKC.js";
|
|
17
17
|
import "./chunk-GBPZKFYK.js";
|
|
18
18
|
import "./chunk-EADNWBAZ.js";
|
|
19
19
|
import "./chunk-HH65VA5U.js";
|
|
@@ -29,9 +29,9 @@ import "./chunk-LTRXGFMS.js";
|
|
|
29
29
|
import "./chunk-3QPYFHAH.js";
|
|
30
30
|
import "./chunk-ATNTHIZI.js";
|
|
31
31
|
import "./chunk-JEXVIMYZ.js";
|
|
32
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-XZJLVAC5.js";
|
|
33
33
|
import "./chunk-HS7MLR74.js";
|
|
34
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-2PS2AR7L.js";
|
|
35
35
|
import "./chunk-5XTOKQLW.js";
|
|
36
36
|
import "./chunk-NF64D32W.js";
|
|
37
37
|
import "./chunk-3L2WKC3W.js";
|
|
@@ -47,16 +47,16 @@ import "./chunk-FZGV4FGK.js";
|
|
|
47
47
|
import "./chunk-MEYIRKDN.js";
|
|
48
48
|
import "./chunk-63W5N6P3.js";
|
|
49
49
|
import "./chunk-VF4K2QE6.js";
|
|
50
|
-
import "./chunk-
|
|
51
|
-
import "./chunk-
|
|
52
|
-
import "./chunk-
|
|
50
|
+
import "./chunk-SASHA6KO.js";
|
|
51
|
+
import "./chunk-ROMO632F.js";
|
|
52
|
+
import "./chunk-DT7P2EFC.js";
|
|
53
53
|
import "./chunk-ZJ7UHBJS.js";
|
|
54
|
-
import "./chunk-
|
|
54
|
+
import "./chunk-CME2Y2B5.js";
|
|
55
55
|
import "./chunk-EVBFYPDC.js";
|
|
56
56
|
import "./chunk-HQUORJTM.js";
|
|
57
57
|
import "./chunk-YYLHWIW6.js";
|
|
58
58
|
import "./chunk-AGGIDPCZ.js";
|
|
59
|
-
import "./chunk-
|
|
59
|
+
import "./chunk-AGM65FOG.js";
|
|
60
60
|
import "./chunk-BJCWNHVU.js";
|
|
61
61
|
import "./chunk-5RGU3J7P.js";
|
|
62
62
|
import "./chunk-6YTOJY35.js";
|
|
@@ -4,12 +4,12 @@ import {
|
|
|
4
4
|
} from "./chunk-YPREESF4.js";
|
|
5
5
|
import {
|
|
6
6
|
handleSendMessage
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-CME2Y2B5.js";
|
|
8
8
|
import "./chunk-EVBFYPDC.js";
|
|
9
9
|
import "./chunk-HQUORJTM.js";
|
|
10
10
|
import "./chunk-YYLHWIW6.js";
|
|
11
11
|
import "./chunk-AGGIDPCZ.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-AGM65FOG.js";
|
|
13
13
|
import "./chunk-BJCWNHVU.js";
|
|
14
14
|
import "./chunk-5RGU3J7P.js";
|
|
15
15
|
import {
|
|
@@ -81,14 +81,14 @@ import {
|
|
|
81
81
|
} from "./chunk-VF4K2QE6.js";
|
|
82
82
|
import {
|
|
83
83
|
createDocState
|
|
84
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-SASHA6KO.js";
|
|
85
85
|
import {
|
|
86
86
|
BUILTIN_OBJECT_SKILL_IDS,
|
|
87
87
|
buildBuiltinObjectSkillConfig,
|
|
88
88
|
buildBuiltinObjectSkillDbKey,
|
|
89
89
|
buildBuiltinObjectSkillPageContent,
|
|
90
90
|
createDialogAction
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-ROMO632F.js";
|
|
92
92
|
import {
|
|
93
93
|
DEFAULT_COLLAPSED_CATEGORIES,
|
|
94
94
|
addContentToSpace,
|
|
@@ -106,7 +106,7 @@ import {
|
|
|
106
106
|
updateContentCategory,
|
|
107
107
|
updateContentTitle,
|
|
108
108
|
writeStoredCollapsedCategories
|
|
109
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-DT7P2EFC.js";
|
|
110
110
|
import {
|
|
111
111
|
getCurrentSpaceId,
|
|
112
112
|
getCurrentSpaceIdRaw,
|
|
@@ -128,14 +128,14 @@ import {
|
|
|
128
128
|
selectMsgById,
|
|
129
129
|
uiAskChoiceFunc,
|
|
130
130
|
uiAskChoiceFunctionSchema
|
|
131
|
-
} from "./chunk-
|
|
131
|
+
} from "./chunk-CME2Y2B5.js";
|
|
132
132
|
import {
|
|
133
133
|
createAgent,
|
|
134
134
|
deleteServerSyncedCredential,
|
|
135
135
|
runLlm,
|
|
136
136
|
streamAgentChatTurn,
|
|
137
137
|
updateAgent
|
|
138
|
-
} from "./chunk-
|
|
138
|
+
} from "./chunk-AGM65FOG.js";
|
|
139
139
|
import {
|
|
140
140
|
getActiveDialogKey,
|
|
141
141
|
selectCurrentDialogKey,
|
|
@@ -4672,7 +4672,7 @@ async function deleteDialogsFunc(args, thunkApi) {
|
|
|
4672
4672
|
const deletedDialogIds = [];
|
|
4673
4673
|
const deletedDialogKeys = [];
|
|
4674
4674
|
const failures = [];
|
|
4675
|
-
const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-
|
|
4675
|
+
const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-X37YSBCE.js");
|
|
4676
4676
|
for (const target of targets) {
|
|
4677
4677
|
try {
|
|
4678
4678
|
await thunkApi.dispatch(deleteDialog2(target.dbKey)).unwrap();
|
|
@@ -9957,9 +9957,13 @@ var tabId = {
|
|
|
9957
9957
|
type: "string",
|
|
9958
9958
|
description: "Chrome tab id returned by chrome_list_tabs or chrome_open_tab."
|
|
9959
9959
|
};
|
|
9960
|
+
var elementRef = {
|
|
9961
|
+
type: "string",
|
|
9962
|
+
description: "Revision-scoped ref like 1a2b3c4d-e2, copied verbatim from chrome_read_page; preferred over selector when available."
|
|
9963
|
+
};
|
|
9960
9964
|
var selector = {
|
|
9961
9965
|
type: "string",
|
|
9962
|
-
description: "CSS selector for the visible page element to operate on."
|
|
9966
|
+
description: "CSS selector for the visible page element to operate on; fallback when no elementRef is available."
|
|
9963
9967
|
};
|
|
9964
9968
|
var chromeListTabsFunctionSchema = baseSchema(
|
|
9965
9969
|
"chrome_list_tabs",
|
|
@@ -9983,30 +9987,41 @@ var chromeOpenTabFunctionSchema = baseSchema(
|
|
|
9983
9987
|
);
|
|
9984
9988
|
var chromeReadPageFunctionSchema = baseSchema(
|
|
9985
9989
|
"chrome_read_page",
|
|
9986
|
-
"Read visible text and
|
|
9990
|
+
"Read a compact view of a Chrome tab: visible text (hard cap 6000 chars) plus short-lived elementRefs (hard cap 35) and a pageRevision. Reuse those refs for chrome_click and chrome_type instead of guessing selectors; use region to focus a big page. Does not read cookies or profile databases.",
|
|
9987
9991
|
{
|
|
9988
9992
|
tabId,
|
|
9989
|
-
|
|
9990
|
-
|
|
9991
|
-
description: "Optional CSS selector
|
|
9993
|
+
region: {
|
|
9994
|
+
type: "string",
|
|
9995
|
+
description: "Optional CSS selector limiting the read to part of the page."
|
|
9996
|
+
},
|
|
9997
|
+
maxChars: {
|
|
9998
|
+
type: "number",
|
|
9999
|
+
description: "Optional text character budget; the connector clamps it to a hard maximum."
|
|
10000
|
+
},
|
|
10001
|
+
detail: {
|
|
10002
|
+
type: "string",
|
|
10003
|
+
enum: ["compact", "full"],
|
|
10004
|
+
description: "compact (default) returns budgeted text; full raises the budget and adds capped HTML."
|
|
9992
10005
|
}
|
|
9993
10006
|
},
|
|
9994
10007
|
["tabId"]
|
|
9995
10008
|
);
|
|
9996
10009
|
var chromeClickFunctionSchema = baseSchema(
|
|
9997
10010
|
"chrome_click",
|
|
9998
|
-
"Click a visible element in a Chrome tab. Do not use this for final submit/delete/payment/permission actions without action-time user confirmation.",
|
|
10011
|
+
"Click a visible element in a Chrome tab by elementRef from chrome_read_page, or by CSS selector. Do not use this for final submit/delete/payment/permission actions without action-time user confirmation.",
|
|
9999
10012
|
{
|
|
10000
10013
|
tabId,
|
|
10014
|
+
elementRef,
|
|
10001
10015
|
selector
|
|
10002
10016
|
},
|
|
10003
|
-
["tabId"
|
|
10017
|
+
["tabId"]
|
|
10004
10018
|
);
|
|
10005
10019
|
var chromeTypeFunctionSchema = baseSchema(
|
|
10006
10020
|
"chrome_type",
|
|
10007
|
-
"Type text into a Chrome page element. Typing sensitive data into a third-party site counts as data transmission.",
|
|
10021
|
+
"Type text into a Chrome page element identified by elementRef from chrome_read_page or by CSS selector. Typing sensitive data into a third-party site counts as data transmission.",
|
|
10008
10022
|
{
|
|
10009
10023
|
tabId,
|
|
10024
|
+
elementRef,
|
|
10010
10025
|
selector,
|
|
10011
10026
|
text: {
|
|
10012
10027
|
type: "string",
|
|
@@ -10017,7 +10032,7 @@ var chromeTypeFunctionSchema = baseSchema(
|
|
|
10017
10032
|
description: "Whether to clear the field before typing. Defaults to true."
|
|
10018
10033
|
}
|
|
10019
10034
|
},
|
|
10020
|
-
["tabId", "
|
|
10035
|
+
["tabId", "text"]
|
|
10021
10036
|
);
|
|
10022
10037
|
var chromePressFunctionSchema = baseSchema(
|
|
10023
10038
|
"chrome_press",
|
|
@@ -10073,12 +10088,16 @@ var chromeReadConsoleFunctionSchema = baseSchema(
|
|
|
10073
10088
|
);
|
|
10074
10089
|
var chromeReadNetworkFunctionSchema = baseSchema(
|
|
10075
10090
|
"chrome_read_network",
|
|
10076
|
-
"Read a recent network summary from a Chrome tab using debugger-backed connector state.",
|
|
10091
|
+
"Read a deduplicated recent network summary from a Chrome tab using debugger-backed connector state. Static assets are filtered unless includeAssets is set.",
|
|
10077
10092
|
{
|
|
10078
10093
|
tabId,
|
|
10079
10094
|
limit: {
|
|
10080
10095
|
type: "number",
|
|
10081
10096
|
description: "Maximum number of recent network entries to return."
|
|
10097
|
+
},
|
|
10098
|
+
includeAssets: {
|
|
10099
|
+
type: "boolean",
|
|
10100
|
+
description: "Include images, CSS, fonts and other static assets. Defaults to false."
|
|
10082
10101
|
}
|
|
10083
10102
|
},
|
|
10084
10103
|
["tabId"]
|
|
@@ -15505,7 +15524,7 @@ var executeToolRun = createAsyncThunk(
|
|
|
15505
15524
|
if (!executionInput) {
|
|
15506
15525
|
throw new Error(`ToolRun ${id} has no input to execute with.`);
|
|
15507
15526
|
}
|
|
15508
|
-
const { findToolExecutor: findToolExecutor2 } = await import("./tools-
|
|
15527
|
+
const { findToolExecutor: findToolExecutor2 } = await import("./tools-QD3SBHA3.js");
|
|
15509
15528
|
const { executor } = findToolExecutor2(run.toolName);
|
|
15510
15529
|
toolRunStarted({
|
|
15511
15530
|
id: run.id,
|
|
@@ -18012,7 +18031,7 @@ async function updateDocFunc(args, thunkApi) {
|
|
|
18012
18031
|
updated_at: (/* @__PURE__ */ new Date()).toISOString()
|
|
18013
18032
|
};
|
|
18014
18033
|
await dispatch(write({ data: updatedPageData, customKey: id })).unwrap();
|
|
18015
|
-
const { getDocState, applyExternalDocUpdate } = await import("./docStore-
|
|
18034
|
+
const { getDocState, applyExternalDocUpdate } = await import("./docStore-YCMK3TDZ.js");
|
|
18016
18035
|
if (getDocState().pageKey === id) {
|
|
18017
18036
|
applyExternalDocUpdate({
|
|
18018
18037
|
slateData: finalSlateData,
|
|
@@ -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-2U22Y4CK.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-JZPQLKD3.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-BMLM6G2H.js");
|
|
345
345
|
return streamAgentChatTurnHandler(args, thunkApi);
|
|
346
346
|
}),
|
|
347
347
|
/**
|
|
@@ -5,14 +5,14 @@ import {
|
|
|
5
5
|
inlineImageUrlsForCustomProvider,
|
|
6
6
|
prepareTools,
|
|
7
7
|
shouldInlineImageUrlsForAgent
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-XZJLVAC5.js";
|
|
9
9
|
import {
|
|
10
10
|
INVALID_TOOL_ARGS_REPLACEMENT,
|
|
11
11
|
buildInvalidToolCallSelfHealResult,
|
|
12
12
|
parseToolCallArguments,
|
|
13
13
|
performFetchRequest,
|
|
14
14
|
sanitizeOutboundMessages
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-OEZGYEEU.js";
|
|
16
16
|
import {
|
|
17
17
|
createSSEParser,
|
|
18
18
|
createToolRunId,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
toolRunSetPending,
|
|
24
24
|
toolRunStarted,
|
|
25
25
|
toolRunSucceeded
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-2PS2AR7L.js";
|
|
27
27
|
import {
|
|
28
28
|
getPublicImageAgentMode
|
|
29
29
|
} from "./chunk-VIDPVFP3.js";
|
|
@@ -35,10 +35,10 @@ import {
|
|
|
35
35
|
messageStreamEnd,
|
|
36
36
|
messageStreaming,
|
|
37
37
|
updateToolMessage
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-CME2Y2B5.js";
|
|
39
39
|
import {
|
|
40
40
|
streamAgentChatTurn
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-AGM65FOG.js";
|
|
42
42
|
import {
|
|
43
43
|
addActiveController,
|
|
44
44
|
removeActiveController,
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
} from "./chunk-AGGIDPCZ.js";
|
|
14
14
|
import {
|
|
15
15
|
runLlm
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-AGM65FOG.js";
|
|
17
17
|
import {
|
|
18
18
|
cleanupCliSessionForDialog
|
|
19
19
|
} from "./chunk-BJCWNHVU.js";
|
|
@@ -17086,7 +17086,7 @@ var messageSlice = createSliceWithThunks({
|
|
|
17086
17086
|
runtimeOptions: args.runtimeOptions
|
|
17087
17087
|
});
|
|
17088
17088
|
if (agentKeyToUse) {
|
|
17089
|
-
const { streamAgentChatTurn } = await import("./agentSlice-
|
|
17089
|
+
const { streamAgentChatTurn } = await import("./agentSlice-QSZMNIII.js");
|
|
17090
17090
|
await dispatch(
|
|
17091
17091
|
streamAgentChatTurn({
|
|
17092
17092
|
agentKey: agentKeyToUse,
|
|
@@ -18219,7 +18219,7 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
18219
18219
|
}
|
|
18220
18220
|
if (isCurrentDialog) {
|
|
18221
18221
|
await thunkApi.dispatch(resetMsgs());
|
|
18222
|
-
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-
|
|
18222
|
+
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-X37YSBCE.js");
|
|
18223
18223
|
dispatch(clearPendingAttachments2());
|
|
18224
18224
|
}
|
|
18225
18225
|
return { dialogKey, isCurrentDialog, attachmentPlan };
|
|
@@ -18227,15 +18227,15 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
18227
18227
|
|
|
18228
18228
|
// packages/chat/dialog/dialogSlice.ts
|
|
18229
18229
|
var runCreateDialogAction = async (args, thunkApi) => {
|
|
18230
|
-
const { createDialogAction } = await import("./createDialogAction-
|
|
18230
|
+
const { createDialogAction } = await import("./createDialogAction-KPQENDVZ.js");
|
|
18231
18231
|
return createDialogAction(args, thunkApi);
|
|
18232
18232
|
};
|
|
18233
18233
|
var runCreateAgentAutomationAction = async (args, thunkApi) => {
|
|
18234
|
-
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-
|
|
18234
|
+
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-K42OMFRL.js");
|
|
18235
18235
|
return createAgentAutomationAction(args, thunkApi);
|
|
18236
18236
|
};
|
|
18237
18237
|
var runUpdateDialogTitleAction = async (args, thunkApi) => {
|
|
18238
|
-
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-
|
|
18238
|
+
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-PVZ2NUKN.js");
|
|
18239
18239
|
return updateDialogTitleAction(args, thunkApi);
|
|
18240
18240
|
};
|
|
18241
18241
|
var runAddDialogAgentAction = async (args, thunkApi) => {
|
|
@@ -18259,7 +18259,7 @@ var runSetDialogExtraReferencesAction = async (args, thunkApi) => {
|
|
|
18259
18259
|
return setDialogExtraReferencesAction(args, thunkApi);
|
|
18260
18260
|
};
|
|
18261
18261
|
var runHandleSendMessageAction = async (args, thunkApi) => {
|
|
18262
|
-
const { handleSendMessageAction } = await import("./handleSendMessageAction-
|
|
18262
|
+
const { handleSendMessageAction } = await import("./handleSendMessageAction-IYXYBDXA.js");
|
|
18263
18263
|
return handleSendMessageAction(args, thunkApi);
|
|
18264
18264
|
};
|
|
18265
18265
|
function clearDialogState() {
|
|
@@ -18272,7 +18272,7 @@ var createPageAndAddReference = createAsyncThunk(
|
|
|
18272
18272
|
async (payload, { dispatch, getState, rejectWithValue }) => {
|
|
18273
18273
|
const { slateData, jsonData, title, type, fileId, groupId, dialogKey } = payload;
|
|
18274
18274
|
try {
|
|
18275
|
-
const { createDocState } = await import("./docStore-
|
|
18275
|
+
const { createDocState } = await import("./docStore-YCMK3TDZ.js");
|
|
18276
18276
|
const pageKey = await createDocState(
|
|
18277
18277
|
{ slateData, title },
|
|
18278
18278
|
{ dispatch, getState }
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
resolveLocalUserId,
|
|
28
28
|
t,
|
|
29
29
|
toolLabel
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-ODYQBAKC.js";
|
|
31
31
|
import {
|
|
32
32
|
createRunActivityTracker,
|
|
33
33
|
popSingleQueueMessage,
|
|
@@ -63,7 +63,7 @@ import {
|
|
|
63
63
|
} from "./chunk-LTRXGFMS.js";
|
|
64
64
|
import {
|
|
65
65
|
formatAgentListCard
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-2PS2AR7L.js";
|
|
67
67
|
import {
|
|
68
68
|
isTransientFetchError
|
|
69
69
|
} from "./chunk-5XTOKQLW.js";
|
|
@@ -84,11 +84,11 @@ import {
|
|
|
84
84
|
chooseMemoryOwners,
|
|
85
85
|
loadMemoryCandidatesFromDb,
|
|
86
86
|
resolveAgentMemoryPolicy
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-ROMO632F.js";
|
|
88
88
|
import {
|
|
89
89
|
API_REPORTED_COST_MULTIPLIER,
|
|
90
90
|
parseUiAskChoiceContent
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-CME2Y2B5.js";
|
|
92
92
|
import {
|
|
93
93
|
isOAuthApiKeyRef
|
|
94
94
|
} from "./chunk-YYLHWIW6.js";
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
import {
|
|
56
56
|
inlineImageUrlsForCustomProvider,
|
|
57
57
|
prepareTools
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-XZJLVAC5.js";
|
|
59
59
|
import {
|
|
60
60
|
getServerProviderSecret
|
|
61
61
|
} from "./chunk-HS7MLR74.js";
|
|
@@ -72,7 +72,7 @@ import {
|
|
|
72
72
|
rememberMemoryFunctionSchema,
|
|
73
73
|
resolveAgentRequiredPackIds,
|
|
74
74
|
setTodoListFunc
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-2PS2AR7L.js";
|
|
76
76
|
import {
|
|
77
77
|
fetchWithTransientRetry,
|
|
78
78
|
isTransientFetchError
|
|
@@ -95,13 +95,13 @@ import {
|
|
|
95
95
|
prepareTokenUsageData,
|
|
96
96
|
resolveBuiltinPlatformAgentConfig,
|
|
97
97
|
runKeyed
|
|
98
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-CME2Y2B5.js";
|
|
99
99
|
import {
|
|
100
100
|
BUILTIN_TITLE_LLM_CONFIG
|
|
101
101
|
} from "./chunk-EVBFYPDC.js";
|
|
102
102
|
import {
|
|
103
103
|
fetchServerSyncedCredential
|
|
104
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-AGM65FOG.js";
|
|
105
105
|
import {
|
|
106
106
|
require_date_fns
|
|
107
107
|
} from "./chunk-M76ECQRD.js";
|
|
@@ -799,28 +799,40 @@ var STRINGS = {
|
|
|
799
799
|
zh: "\u63D0\u4EA4 \u2193"
|
|
800
800
|
},
|
|
801
801
|
askChoiceSubmitRow: {
|
|
802
|
-
en: "
|
|
803
|
-
zh: "\
|
|
802
|
+
en: "Done",
|
|
803
|
+
zh: "\u5B8C\u6210"
|
|
804
|
+
},
|
|
805
|
+
askChoiceSkipRow: {
|
|
806
|
+
en: "Skip",
|
|
807
|
+
zh: "\u8DF3\u8FC7"
|
|
804
808
|
},
|
|
805
809
|
askChoiceOtherLabel: {
|
|
806
810
|
en: "Other",
|
|
807
811
|
zh: "\u5176\u4ED6"
|
|
808
812
|
},
|
|
809
813
|
askChoiceHintSingle: {
|
|
810
|
-
en: "Enter/Space picks \xB7
|
|
811
|
-
zh: "Enter/\u7A7A\u683C \u9009\u62E9
|
|
814
|
+
en: "Enter/Space picks \xB7 single question sends \xB7 multi-question jumps to the next unanswered \xB7 Enter in Other confirms and continues",
|
|
815
|
+
zh: "Enter/\u7A7A\u683C \u9009\u62E9\uFF1A\u5355\u9898\u76F4\u63A5\u53D1\u9001\u3001\u591A\u9898\u8DF3\u5230\u4E0B\u4E00\u672A\u7B54\u9898 \xB7 \u5176\u4ED6\u8F93\u5165\u540E Enter \u786E\u8BA4\u5E76\u7EE7\u7EED"
|
|
816
|
+
},
|
|
817
|
+
askChoiceHintOptional: {
|
|
818
|
+
en: "Optional question \u2014 Enter/Space picks (one step) \xB7 skip if you don't want to answer",
|
|
819
|
+
zh: "\u53EF\u9009\u9898 \u2014 Enter/\u7A7A\u683C \u9009\u62E9\u5373\u5B8C\u6210 \xB7 \u4E0D\u60F3\u56DE\u7B54\u53EF\u8DF3\u8FC7"
|
|
812
820
|
},
|
|
813
821
|
askChoiceHintMulti: {
|
|
814
|
-
en: "Enter/Space toggles \xB7 \u2193 to
|
|
815
|
-
zh: "Enter/\u7A7A\u683C \u5207\u6362\u9009\u4E2D \xB7 \u2193 \u5230\
|
|
822
|
+
en: "Enter/Space toggles \xB7 \u2193 to Done row, Enter sends",
|
|
823
|
+
zh: "Enter/\u7A7A\u683C \u5207\u6362\u9009\u4E2D \xB7 \u2193 \u5230\u5B8C\u6210\u884C Enter \u53D1\u9001"
|
|
816
824
|
},
|
|
817
825
|
askChoiceFooterSingle: {
|
|
818
|
-
en: "\u21B5
|
|
819
|
-
zh: "\u21B5 \u9009\u62E9
|
|
826
|
+
en: "\u21B5 pick/send \xB7 tab switch \xB7 esc cancel",
|
|
827
|
+
zh: "\u21B5 \u9009\u62E9/\u53D1\u9001 \xB7 tab \u5207\u6362 \xB7 esc \u53D6\u6D88"
|
|
828
|
+
},
|
|
829
|
+
askChoiceFooterSkip: {
|
|
830
|
+
en: "\u21B5 pick/send \xB7 \u2193 skip row \u21B5 skip \xB7 tab switch \xB7 esc cancel",
|
|
831
|
+
zh: "\u21B5 \u9009\u62E9/\u53D1\u9001 \xB7 \u2193 \u8DF3\u8FC7\u884C \u21B5 \u8DF3\u8FC7 \xB7 tab \u5207\u6362 \xB7 esc \u53D6\u6D88"
|
|
820
832
|
},
|
|
821
833
|
askChoiceFooterMulti: {
|
|
822
|
-
en: "\u21B5 toggle \xB7 \u2193
|
|
823
|
-
zh: "\u21B5 \u5207\u6362 \xB7 \u2193 \
|
|
834
|
+
en: "\u21B5 toggle \xB7 \u2193 done row \u21B5 send \xB7 ctrl+s send \xB7 tab switch \xB7 esc cancel",
|
|
835
|
+
zh: "\u21B5 \u5207\u6362 \xB7 \u2193 \u5B8C\u6210\u884C \u21B5 \u53D1\u9001 \xB7 ctrl+s \u53D1\u9001 \xB7 tab \u5207\u6362 \xB7 esc \u53D6\u6D88"
|
|
824
836
|
},
|
|
825
837
|
askChoiceValidationRequired: {
|
|
826
838
|
en: "Required questions are unanswered \u2014 jumped to the first one.",
|