nolo-cli 0.71.0 → 0.73.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-YCKNRHGK.js} +10 -10
- package/{agentEmailCommands-YZQ2VVHY.js → agentEmailCommands-NB4LKSYO.js} +9 -9
- package/{agentMachineCommands-UCYM5RRQ.js → agentMachineCommands-KY64CTJQ.js} +1 -1
- package/{agentRecordCommands-TPBYOPMA.js → agentRecordCommands-QSMNZZJG.js} +9 -9
- package/{agentRunCommand-HBC2EQVU.js → agentRunCommand-J46VK6FV.js} +9 -9
- package/{agentSlice-ZPODGT3P.js → agentSlice-SLXBJ4NO.js} +1 -1
- package/{chatQueueReduxAdapter-Z67OC4WO.js → chatQueueReduxAdapter-QM2VAX2O.js} +2 -2
- package/{chunk-TVDZABBT.js → chunk-26Q7BEUX.js} +3 -3
- package/{chunk-RFMPSCHX.js → chunk-3Q6IRFKW.js} +7 -7
- package/{chunk-VLX45P4L.js → chunk-72I27DY3.js} +2 -2
- package/{chunk-FCCT2LU2.js → chunk-BUWJ35JI.js} +47 -19
- package/{chunk-AAWBX67U.js → chunk-CHF7R74H.js} +5 -5
- package/{chunk-DQAEUZSQ.js → chunk-IZVGS7I4.js} +2 -2
- package/{chunk-ZIUMSKK4.js → chunk-KZNSQBYS.js} +52 -16
- package/{chunk-F657NADX.js → chunk-NO5V2FJH.js} +3 -3
- package/{chunk-BLCUMZNV.js → chunk-O5BQBXPT.js} +1 -1
- package/{chunk-3NVAU4WZ.js → chunk-OVIWUKZU.js} +1 -1
- package/{chunk-YYLLD6H6.js → chunk-RFUMIH4D.js} +2 -2
- package/{chunk-SPQ7GSUX.js → chunk-RZXW3OQR.js} +26 -14
- package/{chunk-PWGW5JTK.js → chunk-TVCEQO7Z.js} +1 -1
- package/{chunk-NUTDASGX.js → chunk-ZFCKTVS5.js} +2 -2
- package/{contentThunks-VGXYTSKU.js → contentThunks-L25U6PGY.js} +3 -3
- package/{createAgentAutomationAction-6YBZFLET.js → createAgentAutomationAction-AVO4SGAB.js} +3 -3
- package/{createDialogAction-N7CTNKB5.js → createDialogAction-CRM7655J.js} +4 -4
- package/{createPageAction-RXOOVKVO.js → createPageAction-MZBXQPMN.js} +3 -3
- package/{dialogSlice-NLSKRXBN.js → dialogSlice-DVUADIHJ.js} +2 -2
- package/{docStore-CIAYE5WP.js → docStore-OREDKMJV.js} +1 -1
- package/{handleSendMessageAction-ENUNMW3Z.js → handleSendMessageAction-4EZCK5L4.js} +2 -2
- package/index.js +15 -15
- package/{machineCommands-APIJY7UA.js → machineCommands-LILMX4Q6.js} +9 -9
- package/{machineWsRunDispatch-42WKRDE7.js → machineWsRunDispatch-CS5WKOMR.js} +9 -9
- package/package.json +1 -1
- package/{readlineWorkspace-MUV7VRD4.js → readlineWorkspace-TNCGQG3G.js} +155 -40
- package/{runAgentClientLoop-A4OXYOCL.js → runAgentClientLoop-DLBWIW7B.js} +8 -8
- package/{streamAgentChatTurn-YHKNJEFR.js → streamAgentChatTurn-PC75F4UN.js} +9 -9
- package/{tools-S5RSWF3R.js → tools-F5DJNXLT.js} +6 -6
- package/{updateDialogTitleAction-BU2VPE5B.js → updateDialogTitleAction-IHI6S2PU.js} +3 -3
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fetchAgentContexts
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-OVIWUKZU.js";
|
|
4
4
|
import {
|
|
5
5
|
filterAndCleanMessages,
|
|
6
6
|
sendOpenAICompletionsRequest
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-CHF7R74H.js";
|
|
8
8
|
import "./chunk-JEXVIMYZ.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-ZFCKTVS5.js";
|
|
10
10
|
import {
|
|
11
11
|
generateRequestBody,
|
|
12
12
|
mergeReferences,
|
|
13
13
|
performFetchRequest,
|
|
14
14
|
sanitizeOutboundBody
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-26Q7BEUX.js";
|
|
16
16
|
import "./chunk-EDKF7RX4.js";
|
|
17
17
|
import "./chunk-HS7MLR74.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-BUWJ35JI.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-IZVGS7I4.js";
|
|
36
|
+
import "./chunk-72I27DY3.js";
|
|
37
|
+
import "./chunk-O5BQBXPT.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-KZNSQBYS.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-NO5V2FJH.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-TVCEQO7Z.js";
|
|
12
|
+
import "./chunk-RZXW3OQR.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-ZFCKTVS5.js";
|
|
33
33
|
import "./chunk-HS7MLR74.js";
|
|
34
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-BUWJ35JI.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-IZVGS7I4.js";
|
|
51
|
+
import "./chunk-72I27DY3.js";
|
|
52
|
+
import "./chunk-O5BQBXPT.js";
|
|
53
53
|
import "./chunk-ZJ7UHBJS.js";
|
|
54
|
-
import "./chunk-
|
|
54
|
+
import "./chunk-KZNSQBYS.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-NO5V2FJH.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-CS5WKOMR.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-TVCEQO7Z.js";
|
|
6
|
+
import "./chunk-RZXW3OQR.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-ZFCKTVS5.js";
|
|
20
20
|
import "./chunk-HS7MLR74.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-BUWJ35JI.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-IZVGS7I4.js";
|
|
38
|
+
import "./chunk-72I27DY3.js";
|
|
39
|
+
import "./chunk-O5BQBXPT.js";
|
|
40
40
|
import "./chunk-ZJ7UHBJS.js";
|
|
41
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-KZNSQBYS.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-NO5V2FJH.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-3Q6IRFKW.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-RZXW3OQR.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-ZFCKTVS5.js";
|
|
33
33
|
import "./chunk-HS7MLR74.js";
|
|
34
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-BUWJ35JI.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-IZVGS7I4.js";
|
|
51
|
+
import "./chunk-72I27DY3.js";
|
|
52
|
+
import "./chunk-O5BQBXPT.js";
|
|
53
53
|
import "./chunk-ZJ7UHBJS.js";
|
|
54
|
-
import "./chunk-
|
|
54
|
+
import "./chunk-KZNSQBYS.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-NO5V2FJH.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-KZNSQBYS.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-NO5V2FJH.js";
|
|
13
13
|
import "./chunk-BJCWNHVU.js";
|
|
14
14
|
import "./chunk-5RGU3J7P.js";
|
|
15
15
|
import {
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
clipMultilineText,
|
|
9
9
|
fetchAndSerializeTable,
|
|
10
10
|
resolveBuiltinSkillPage
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-BUWJ35JI.js";
|
|
12
12
|
import {
|
|
13
13
|
isGatewayHttpStatus
|
|
14
14
|
} from "./chunk-NF64D32W.js";
|
|
@@ -29,13 +29,13 @@ import {
|
|
|
29
29
|
} from "./chunk-MEYIRKDN.js";
|
|
30
30
|
import {
|
|
31
31
|
fetchAndCacheMessages
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-KZNSQBYS.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-NO5V2FJH.js";
|
|
39
39
|
import {
|
|
40
40
|
buildSkillGuidancePromptBlock,
|
|
41
41
|
extractRuntimePageCapabilities,
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
resolveLocalUserId,
|
|
28
28
|
t,
|
|
29
29
|
toolLabel
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-RZXW3OQR.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-BUWJ35JI.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-72I27DY3.js";
|
|
88
88
|
import {
|
|
89
89
|
API_REPORTED_COST_MULTIPLIER,
|
|
90
90
|
parseUiAskChoiceContent
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-KZNSQBYS.js";
|
|
92
92
|
import {
|
|
93
93
|
isOAuthApiKeyRef
|
|
94
94
|
} from "./chunk-YYLHWIW6.js";
|
|
@@ -1479,9 +1479,9 @@ function surfaceBackgroundSequence(env = process.env, brightness = resolveTuiBri
|
|
|
1479
1479
|
function userSurfaceBackgroundSequence(env = process.env, brightness = resolveTuiBrightness(env)) {
|
|
1480
1480
|
if (!supportsTruecolor(env)) return "";
|
|
1481
1481
|
const palette = THEME_PALETTES[activeThemeName] ?? THEME_PALETTES.trail;
|
|
1482
|
-
const
|
|
1483
|
-
const weight = brightness === "dark" ? 0.3 : 0.
|
|
1484
|
-
return hexToBgSgr(blendHex(
|
|
1482
|
+
const surfaceHex = brightness === "light" ? palette.light.chrome.hex : palette.dark.accent.hex;
|
|
1483
|
+
const weight = brightness === "dark" ? 0.3 : 0.08;
|
|
1484
|
+
return hexToBgSgr(blendHex(surfaceHex, resolveTerminalBaseHex(brightness), weight));
|
|
1485
1485
|
}
|
|
1486
1486
|
function themeColorSequence(token, env = process.env, brightness = resolveTuiBrightness(env)) {
|
|
1487
1487
|
const palette = THEME_PALETTES[activeThemeName] ?? THEME_PALETTES.trail;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
addContentToSpace
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-O5BQBXPT.js";
|
|
4
4
|
import {
|
|
5
5
|
prepareAndPersistMessage,
|
|
6
6
|
uiAskChoiceFunc,
|
|
7
7
|
uiAskChoiceFunctionSchema
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-KZNSQBYS.js";
|
|
9
9
|
import {
|
|
10
10
|
require_date_fns
|
|
11
11
|
} from "./chunk-M76ECQRD.js";
|
|
@@ -81,14 +81,14 @@ import {
|
|
|
81
81
|
} from "./chunk-VF4K2QE6.js";
|
|
82
82
|
import {
|
|
83
83
|
createDocState
|
|
84
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-IZVGS7I4.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-72I27DY3.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-O5BQBXPT.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-KZNSQBYS.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-NO5V2FJH.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-DVUADIHJ.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",
|
|
@@ -9981,32 +9985,51 @@ var chromeOpenTabFunctionSchema = baseSchema(
|
|
|
9981
9985
|
},
|
|
9982
9986
|
["url"]
|
|
9983
9987
|
);
|
|
9988
|
+
var chromeCloseTabFunctionSchema = baseSchema(
|
|
9989
|
+
"chrome_close_tab",
|
|
9990
|
+
"Close a Chrome tab through the Nolo desktop Chrome connector. Prefer closing the tabs your own run opened with chrome_open_tab, and ask the user before closing a tab they are using. Pinned tabs are refused (TAB_PINNED); unknown tab ids fail (TAB_NOT_FOUND).",
|
|
9991
|
+
{
|
|
9992
|
+
tabId
|
|
9993
|
+
},
|
|
9994
|
+
["tabId"]
|
|
9995
|
+
);
|
|
9984
9996
|
var chromeReadPageFunctionSchema = baseSchema(
|
|
9985
9997
|
"chrome_read_page",
|
|
9986
|
-
"Read visible text and
|
|
9998
|
+
"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
9999
|
{
|
|
9988
10000
|
tabId,
|
|
9989
|
-
|
|
9990
|
-
|
|
9991
|
-
description: "Optional CSS selector
|
|
10001
|
+
region: {
|
|
10002
|
+
type: "string",
|
|
10003
|
+
description: "Optional CSS selector limiting the read to part of the page."
|
|
10004
|
+
},
|
|
10005
|
+
maxChars: {
|
|
10006
|
+
type: "number",
|
|
10007
|
+
description: "Optional text character budget; the connector clamps it to a hard maximum."
|
|
10008
|
+
},
|
|
10009
|
+
detail: {
|
|
10010
|
+
type: "string",
|
|
10011
|
+
enum: ["compact", "full"],
|
|
10012
|
+
description: "compact (default) returns budgeted text; full raises the budget and adds capped HTML."
|
|
9992
10013
|
}
|
|
9993
10014
|
},
|
|
9994
10015
|
["tabId"]
|
|
9995
10016
|
);
|
|
9996
10017
|
var chromeClickFunctionSchema = baseSchema(
|
|
9997
10018
|
"chrome_click",
|
|
9998
|
-
"Click a visible element in a Chrome tab.
|
|
10019
|
+
"Click a visible element in a Chrome tab by elementRef from chrome_read_page, or by CSS selector. Controls whose name indicates an irreversible external action (payment, send, delete, publish, permission change) are refused with SENSITIVE_ACTION_REQUIRES_CONFIRMATION: this desktop runtime has no approval channel, so name the control and ask the user to activate it themselves.",
|
|
9999
10020
|
{
|
|
10000
10021
|
tabId,
|
|
10022
|
+
elementRef,
|
|
10001
10023
|
selector
|
|
10002
10024
|
},
|
|
10003
|
-
["tabId"
|
|
10025
|
+
["tabId"]
|
|
10004
10026
|
);
|
|
10005
10027
|
var chromeTypeFunctionSchema = baseSchema(
|
|
10006
10028
|
"chrome_type",
|
|
10007
|
-
"Type text into a Chrome page element. Typing
|
|
10029
|
+
"Type text into a Chrome page element identified by elementRef from chrome_read_page or by CSS selector. Typing into a control whose name indicates an irreversible external action is refused with SENSITIVE_ACTION_REQUIRES_CONFIRMATION, same as clicking it.",
|
|
10008
10030
|
{
|
|
10009
10031
|
tabId,
|
|
10032
|
+
elementRef,
|
|
10010
10033
|
selector,
|
|
10011
10034
|
text: {
|
|
10012
10035
|
type: "string",
|
|
@@ -10017,11 +10040,11 @@ var chromeTypeFunctionSchema = baseSchema(
|
|
|
10017
10040
|
description: "Whether to clear the field before typing. Defaults to true."
|
|
10018
10041
|
}
|
|
10019
10042
|
},
|
|
10020
|
-
["tabId", "
|
|
10043
|
+
["tabId", "text"]
|
|
10021
10044
|
);
|
|
10022
10045
|
var chromePressFunctionSchema = baseSchema(
|
|
10023
10046
|
"chrome_press",
|
|
10024
|
-
"Send a keyboard key or shortcut to a Chrome tab.",
|
|
10047
|
+
"Send a keyboard key or shortcut to a Chrome tab. Enter-like keys are refused with SENSITIVE_ACTION_REQUIRES_CONFIRMATION when the focused control is an irreversible action.",
|
|
10025
10048
|
{
|
|
10026
10049
|
tabId,
|
|
10027
10050
|
key: {
|
|
@@ -10073,12 +10096,16 @@ var chromeReadConsoleFunctionSchema = baseSchema(
|
|
|
10073
10096
|
);
|
|
10074
10097
|
var chromeReadNetworkFunctionSchema = baseSchema(
|
|
10075
10098
|
"chrome_read_network",
|
|
10076
|
-
"Read a recent network summary from a Chrome tab using debugger-backed connector state.",
|
|
10099
|
+
"Read a deduplicated recent network summary from a Chrome tab using debugger-backed connector state. Static assets are filtered unless includeAssets is set.",
|
|
10077
10100
|
{
|
|
10078
10101
|
tabId,
|
|
10079
10102
|
limit: {
|
|
10080
10103
|
type: "number",
|
|
10081
10104
|
description: "Maximum number of recent network entries to return."
|
|
10105
|
+
},
|
|
10106
|
+
includeAssets: {
|
|
10107
|
+
type: "boolean",
|
|
10108
|
+
description: "Include images, CSS, fonts and other static assets. Defaults to false."
|
|
10082
10109
|
}
|
|
10083
10110
|
},
|
|
10084
10111
|
["tabId"]
|
|
@@ -10086,6 +10113,7 @@ var chromeReadNetworkFunctionSchema = baseSchema(
|
|
|
10086
10113
|
var chromeConnectorToolSchemas = [
|
|
10087
10114
|
chromeListTabsFunctionSchema,
|
|
10088
10115
|
chromeOpenTabFunctionSchema,
|
|
10116
|
+
chromeCloseTabFunctionSchema,
|
|
10089
10117
|
chromeReadPageFunctionSchema,
|
|
10090
10118
|
chromeClickFunctionSchema,
|
|
10091
10119
|
chromeTypeFunctionSchema,
|
|
@@ -15505,7 +15533,7 @@ var executeToolRun = createAsyncThunk(
|
|
|
15505
15533
|
if (!executionInput) {
|
|
15506
15534
|
throw new Error(`ToolRun ${id} has no input to execute with.`);
|
|
15507
15535
|
}
|
|
15508
|
-
const { findToolExecutor: findToolExecutor2 } = await import("./tools-
|
|
15536
|
+
const { findToolExecutor: findToolExecutor2 } = await import("./tools-F5DJNXLT.js");
|
|
15509
15537
|
const { executor } = findToolExecutor2(run.toolName);
|
|
15510
15538
|
toolRunStarted({
|
|
15511
15539
|
id: run.id,
|
|
@@ -18012,7 +18040,7 @@ async function updateDocFunc(args, thunkApi) {
|
|
|
18012
18040
|
updated_at: (/* @__PURE__ */ new Date()).toISOString()
|
|
18013
18041
|
};
|
|
18014
18042
|
await dispatch(write({ data: updatedPageData, customKey: id })).unwrap();
|
|
18015
|
-
const { getDocState, applyExternalDocUpdate } = await import("./docStore-
|
|
18043
|
+
const { getDocState, applyExternalDocUpdate } = await import("./docStore-OREDKMJV.js");
|
|
18016
18044
|
if (getDocState().pageKey === id) {
|
|
18017
18045
|
applyExternalDocUpdate({
|
|
18018
18046
|
slateData: finalSlateData,
|
|
@@ -5,14 +5,14 @@ import {
|
|
|
5
5
|
inlineImageUrlsForCustomProvider,
|
|
6
6
|
prepareTools,
|
|
7
7
|
shouldInlineImageUrlsForAgent
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ZFCKTVS5.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-26Q7BEUX.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-BUWJ35JI.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-KZNSQBYS.js";
|
|
39
39
|
import {
|
|
40
40
|
streamAgentChatTurn
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-NO5V2FJH.js";
|
|
42
42
|
import {
|
|
43
43
|
addActiveController,
|
|
44
44
|
removeActiveController,
|
|
@@ -326,7 +326,7 @@ async function saveDocState(arg, { dispatch, getState }) {
|
|
|
326
326
|
).unwrap();
|
|
327
327
|
if (dbSpaceId) {
|
|
328
328
|
try {
|
|
329
|
-
const { updateContentTitle } = await import("./contentThunks-
|
|
329
|
+
const { updateContentTitle } = await import("./contentThunks-L25U6PGY.js");
|
|
330
330
|
await dispatch(
|
|
331
331
|
updateContentTitle({
|
|
332
332
|
spaceId: dbSpaceId,
|
|
@@ -365,7 +365,7 @@ async function saveDocState(arg, { dispatch, getState }) {
|
|
|
365
365
|
}
|
|
366
366
|
}
|
|
367
367
|
async function createDocState(args, thunkApi) {
|
|
368
|
-
const { createPageAction } = await import("./createPageAction-
|
|
368
|
+
const { createPageAction } = await import("./createPageAction-MZBXQPMN.js");
|
|
369
369
|
return createPageAction(args, thunkApi);
|
|
370
370
|
}
|
|
371
371
|
function subscribe(listener) {
|