nolo-cli 0.165.0-alpha.1 → 0.167.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-CNWZMBTW.js → _executeModel-T47HIEQM.js} +15 -15
- package/{agentDeleteCommand-XSMZJNQ6.js → agentDeleteCommand-CLLVKKHZ.js} +18 -18
- package/{agentEmailCommands-TCLCOLOI.js → agentEmailCommands-7PQYIOZI.js} +19 -19
- package/{agentListCommands-4I4FZVVV.js → agentListCommands-TLM2Z5YA.js} +10 -10
- package/{agentMachineCommands-CAU6REHD.js → agentMachineCommands-VILAJZ5K.js} +8 -8
- package/{agentRecordCommands-NDSOSZES.js → agentRecordCommands-ZF5BM5TA.js} +18 -18
- package/{agentRunCommand-E7OCABMM.js → agentRunCommand-TUSGMV7V.js} +19 -19
- package/{agentRuntimeLocal-BCZRYS5T.js → agentRuntimeLocal-YDRO43VQ.js} +5 -5
- package/{agentSlice-2WTAYXEB.js → agentSlice-T5F2V2BG.js} +1 -1
- package/{appDeleteCommands-CTBLT5TG.js → appDeleteCommands-UKXZ4AW6.js} +9 -9
- package/{appDeployCommands-IORMXV5D.js → appDeployCommands-X5TKB23X.js} +9 -9
- package/{appDeployStatusCommands-PWMDFYJ6.js → appDeployStatusCommands-N4RRXIOF.js} +9 -9
- package/{appGetCommands-VG3LGNBO.js → appGetCommands-RTXNFQNZ.js} +9 -9
- package/{appListCommands-GLIOZCTD.js → appListCommands-FX2YMHZU.js} +9 -9
- package/{chunk-NERECMOR.js → chunk-2SCCV3BI.js} +7 -7
- package/{chunk-6LYCXISC.js → chunk-4TIZP7PG.js} +3 -3
- package/{chunk-6HAE54KH.js → chunk-5DJOZ3FN.js} +2 -2
- package/{chunk-SLAZGVZN.js → chunk-6J227QXV.js} +4 -4
- package/{chunk-IQ37RGA5.js → chunk-7NZ62VB6.js} +4 -4
- package/{chunk-6BNW7WC4.js → chunk-BSKTDOGA.js} +5 -1
- package/{chunk-U7LNNRZJ.js → chunk-BWUCKKGP.js} +8 -8
- package/{chunk-RVHXF55T.js → chunk-C2HZSGLS.js} +2 -2
- package/{chunk-BYGWUVRX.js → chunk-C3WFROHD.js} +1 -1
- package/{chunk-YKTAUOS7.js → chunk-CEXJ6Y3C.js} +1 -1
- package/{chunk-I72LPLCP.js → chunk-CR2YHS2G.js} +1 -1
- package/{chunk-JGQTUD55.js → chunk-FESUR764.js} +10 -10
- package/{chunk-PV3HYKQX.js → chunk-GU2FVJI4.js} +6 -6
- package/{chunk-3FDRNFCZ.js → chunk-IAZBXOZM.js} +2 -2
- package/{chunk-5N23SKBR.js → chunk-JICBK5VC.js} +4 -4
- package/{chunk-QG7BPUGN.js → chunk-KOPLOEAA.js} +3 -3
- package/{chunk-K3NJW7LY.js → chunk-KYFGIHVF.js} +1 -1
- package/{chunk-ANI67WCB.js → chunk-LCRM22WN.js} +2 -2
- package/{chunk-MCGCC5BA.js → chunk-N6EMFRPR.js} +1 -1
- package/{chunk-Z2LMCNOD.js → chunk-PBCVKRGH.js} +1 -1
- package/{chunk-H7GI62DA.js → chunk-PFKZXU7K.js} +3 -3
- package/{chunk-YL26TH2V.js → chunk-PJVGNB4L.js} +1 -1
- package/{chunk-QKZV2CVE.js → chunk-QRWNEH5Z.js} +2 -2
- package/{chunk-WYU4H7EV.js → chunk-QT4AL4MI.js} +11 -11
- package/{chunk-NPTROADE.js → chunk-VAIFA3JM.js} +10 -10
- package/{chunk-XI677N45.js → chunk-WE62ACBD.js} +2 -2
- package/{chunk-BAAJVNIW.js → chunk-WEEMG3AJ.js} +2 -2
- package/{chunk-XKVWXU6D.js → chunk-XITIONPS.js} +1 -1
- package/{chunk-D2RSMFM5.js → chunk-XIUQ4ZTD.js} +2 -2
- package/{chunk-TQGP2LAX.js → chunk-YOKJE6RU.js} +1 -1
- package/{chunk-VPHDNJWW.js → chunk-ZPJ7WOH4.js} +2 -2
- package/{commandRegistry-BJDH4622.js → commandRegistry-657B2UW6.js} +40 -40
- package/{contentThunks-BV5O7L2Y.js → contentThunks-THZ5DIZK.js} +3 -3
- package/{createAgentAutomationAction-TBWN2KX2.js → createAgentAutomationAction-POKSQB3R.js} +3 -3
- package/{createDialogAction-WPVWZ3VX.js → createDialogAction-3RFPF7YH.js} +4 -4
- package/{createPageAction-ZFEXCZLK.js → createPageAction-FXBE4V2V.js} +3 -3
- package/{dialogCommands-M4H4OOEW.js → dialogCommands-T6E3ZC6W.js} +9 -9
- package/{dialogSlice-KGVUUVND.js → dialogSlice-O6FH2UYJ.js} +2 -2
- package/{docCreateCommands-7A2RHGYU.js → docCreateCommands-PB5O2AHR.js} +8 -8
- package/{docDeleteCommands-SWNITY6F.js → docDeleteCommands-RPW7WC2I.js} +9 -9
- package/{docReadCommands-J3PXXPPB.js → docReadCommands-IXHQDBDY.js} +8 -8
- package/{docStore-YS6GP4CJ.js → docStore-3IEX7ISB.js} +1 -1
- package/{docUpdateCommands-2PFIC67Z.js → docUpdateCommands-FFY6APSV.js} +8 -8
- package/{handleSendMessageAction-NCHW43LP.js → handleSendMessageAction-DPBAH4BZ.js} +8 -8
- package/index.js +3 -3
- package/{localRuntimeAdapter-4EQNCW4N.js → localRuntimeAdapter-LV6OU3WC.js} +16 -16
- package/{machineCommands-AFXYNIRI.js → machineCommands-ZL3PUBIT.js} +17 -17
- package/{machineWsRunDispatch-2VR24KZ2.js → machineWsRunDispatch-FEYHFNAG.js} +17 -17
- package/package.json +1 -1
- package/{readlineWorkspace-5J2JEAGZ.js → readlineWorkspace-J7FOCOYF.js} +22 -22
- package/{runAgentClientLoop-ISO62FYI.js → runAgentClientLoop-K72OUMOS.js} +13 -13
- package/{spaceCommands-3GWTIOI2.js → spaceCommands-X5ITNKLC.js} +8 -8
- package/{streamAgentChatTurn-MPMB3V3Q.js → streamAgentChatTurn-73BOLXKS.js} +17 -17
- package/{tools-G6OMRLGU.js → tools-SEFY3PZG.js} +9 -9
- package/{updateDialogTitleAction-WDG2WGZJ.js → updateDialogTitleAction-DSCEPHVJ.js} +3 -3
|
@@ -5,34 +5,34 @@ import {
|
|
|
5
5
|
pickDefined,
|
|
6
6
|
printCliError,
|
|
7
7
|
resolveCliContext
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-PBCVKRGH.js";
|
|
9
9
|
import {
|
|
10
10
|
hasFlag,
|
|
11
11
|
hasHelpArg
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-YOKJE6RU.js";
|
|
13
13
|
import {
|
|
14
14
|
t
|
|
15
15
|
} from "./chunk-TDX2L4W2.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-N6EMFRPR.js";
|
|
17
|
+
import "./chunk-PJVGNB4L.js";
|
|
18
18
|
import "./chunk-NBTY7YJF.js";
|
|
19
19
|
import "./chunk-VF4K2QE6.js";
|
|
20
20
|
import "./chunk-UAD2WT54.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-JICBK5VC.js";
|
|
22
22
|
import "./chunk-KMDDG73K.js";
|
|
23
23
|
import "./chunk-ZNFJWEN4.js";
|
|
24
24
|
import "./chunk-7NKZA46B.js";
|
|
25
25
|
import "./chunk-HNUWUO75.js";
|
|
26
26
|
import "./chunk-CHOZJMJS.js";
|
|
27
27
|
import "./chunk-PWTNI4N7.js";
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-CEXJ6Y3C.js";
|
|
29
|
+
import "./chunk-BSKTDOGA.js";
|
|
30
30
|
import "./chunk-G6OOUQWJ.js";
|
|
31
31
|
import "./chunk-56GBUMO5.js";
|
|
32
32
|
import "./chunk-WJZOQR2J.js";
|
|
33
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-KYFGIHVF.js";
|
|
34
34
|
import "./chunk-DI7ZFGDQ.js";
|
|
35
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-6J227QXV.js";
|
|
36
36
|
import "./chunk-JLR5NWP2.js";
|
|
37
37
|
import "./chunk-SAZSXMTR.js";
|
|
38
38
|
import "./chunk-2MBTWINN.js";
|
|
@@ -4,34 +4,34 @@ import {
|
|
|
4
4
|
outputResult,
|
|
5
5
|
printCliError,
|
|
6
6
|
resolveCliContext
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-PBCVKRGH.js";
|
|
8
8
|
import {
|
|
9
9
|
hasFlag,
|
|
10
10
|
hasHelpArg
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-YOKJE6RU.js";
|
|
12
12
|
import {
|
|
13
13
|
t
|
|
14
14
|
} from "./chunk-TDX2L4W2.js";
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-N6EMFRPR.js";
|
|
16
|
+
import "./chunk-PJVGNB4L.js";
|
|
17
17
|
import "./chunk-NBTY7YJF.js";
|
|
18
18
|
import "./chunk-VF4K2QE6.js";
|
|
19
19
|
import "./chunk-UAD2WT54.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-JICBK5VC.js";
|
|
21
21
|
import "./chunk-KMDDG73K.js";
|
|
22
22
|
import "./chunk-ZNFJWEN4.js";
|
|
23
23
|
import "./chunk-7NKZA46B.js";
|
|
24
24
|
import "./chunk-HNUWUO75.js";
|
|
25
25
|
import "./chunk-CHOZJMJS.js";
|
|
26
26
|
import "./chunk-PWTNI4N7.js";
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-CEXJ6Y3C.js";
|
|
28
|
+
import "./chunk-BSKTDOGA.js";
|
|
29
29
|
import "./chunk-G6OOUQWJ.js";
|
|
30
30
|
import "./chunk-56GBUMO5.js";
|
|
31
31
|
import "./chunk-WJZOQR2J.js";
|
|
32
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-KYFGIHVF.js";
|
|
33
33
|
import "./chunk-DI7ZFGDQ.js";
|
|
34
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-6J227QXV.js";
|
|
35
35
|
import "./chunk-JLR5NWP2.js";
|
|
36
36
|
import "./chunk-SAZSXMTR.js";
|
|
37
37
|
import "./chunk-2MBTWINN.js";
|
|
@@ -5,34 +5,34 @@ import {
|
|
|
5
5
|
pickDefined,
|
|
6
6
|
printCliError,
|
|
7
7
|
resolveCliContext
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-PBCVKRGH.js";
|
|
9
9
|
import {
|
|
10
10
|
hasFlag,
|
|
11
11
|
hasHelpArg
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-YOKJE6RU.js";
|
|
13
13
|
import {
|
|
14
14
|
t
|
|
15
15
|
} from "./chunk-TDX2L4W2.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-N6EMFRPR.js";
|
|
17
|
+
import "./chunk-PJVGNB4L.js";
|
|
18
18
|
import "./chunk-NBTY7YJF.js";
|
|
19
19
|
import "./chunk-VF4K2QE6.js";
|
|
20
20
|
import "./chunk-UAD2WT54.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-JICBK5VC.js";
|
|
22
22
|
import "./chunk-KMDDG73K.js";
|
|
23
23
|
import "./chunk-ZNFJWEN4.js";
|
|
24
24
|
import "./chunk-7NKZA46B.js";
|
|
25
25
|
import "./chunk-HNUWUO75.js";
|
|
26
26
|
import "./chunk-CHOZJMJS.js";
|
|
27
27
|
import "./chunk-PWTNI4N7.js";
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-CEXJ6Y3C.js";
|
|
29
|
+
import "./chunk-BSKTDOGA.js";
|
|
30
30
|
import "./chunk-G6OOUQWJ.js";
|
|
31
31
|
import "./chunk-56GBUMO5.js";
|
|
32
32
|
import "./chunk-WJZOQR2J.js";
|
|
33
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-KYFGIHVF.js";
|
|
34
34
|
import "./chunk-DI7ZFGDQ.js";
|
|
35
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-6J227QXV.js";
|
|
36
36
|
import "./chunk-JLR5NWP2.js";
|
|
37
37
|
import "./chunk-SAZSXMTR.js";
|
|
38
38
|
import "./chunk-2MBTWINN.js";
|
|
@@ -5,34 +5,34 @@ import {
|
|
|
5
5
|
pickDefined,
|
|
6
6
|
printCliError,
|
|
7
7
|
resolveCliContext
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-PBCVKRGH.js";
|
|
9
9
|
import {
|
|
10
10
|
hasFlag,
|
|
11
11
|
hasHelpArg
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-YOKJE6RU.js";
|
|
13
13
|
import {
|
|
14
14
|
t
|
|
15
15
|
} from "./chunk-TDX2L4W2.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-N6EMFRPR.js";
|
|
17
|
+
import "./chunk-PJVGNB4L.js";
|
|
18
18
|
import "./chunk-NBTY7YJF.js";
|
|
19
19
|
import "./chunk-VF4K2QE6.js";
|
|
20
20
|
import "./chunk-UAD2WT54.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-JICBK5VC.js";
|
|
22
22
|
import "./chunk-KMDDG73K.js";
|
|
23
23
|
import "./chunk-ZNFJWEN4.js";
|
|
24
24
|
import "./chunk-7NKZA46B.js";
|
|
25
25
|
import "./chunk-HNUWUO75.js";
|
|
26
26
|
import "./chunk-CHOZJMJS.js";
|
|
27
27
|
import "./chunk-PWTNI4N7.js";
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-CEXJ6Y3C.js";
|
|
29
|
+
import "./chunk-BSKTDOGA.js";
|
|
30
30
|
import "./chunk-G6OOUQWJ.js";
|
|
31
31
|
import "./chunk-56GBUMO5.js";
|
|
32
32
|
import "./chunk-WJZOQR2J.js";
|
|
33
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-KYFGIHVF.js";
|
|
34
34
|
import "./chunk-DI7ZFGDQ.js";
|
|
35
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-6J227QXV.js";
|
|
36
36
|
import "./chunk-JLR5NWP2.js";
|
|
37
37
|
import "./chunk-SAZSXMTR.js";
|
|
38
38
|
import "./chunk-2MBTWINN.js";
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
inlineImageUrlsForCustomProvider,
|
|
6
6
|
prepareTools,
|
|
7
7
|
shouldInlineImageUrlsForAgent
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-WEEMG3AJ.js";
|
|
9
9
|
import {
|
|
10
10
|
CONFIRMATION_INPUT_KEYS,
|
|
11
11
|
INVALID_TOOL_ARGS_REPLACEMENT,
|
|
@@ -14,16 +14,16 @@ import {
|
|
|
14
14
|
performFetchRequest,
|
|
15
15
|
sanitizeOutboundMessages,
|
|
16
16
|
stripModelToolArgs
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-PFKZXU7K.js";
|
|
18
18
|
import {
|
|
19
19
|
findToolExecutor,
|
|
20
20
|
toolDefinitionsByName
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-VAIFA3JM.js";
|
|
22
22
|
import {
|
|
23
23
|
classifyApiError,
|
|
24
24
|
classifyGenerationError,
|
|
25
25
|
extractErrorDiagnostics
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-ZPJ7WOH4.js";
|
|
27
27
|
import {
|
|
28
28
|
createSSEParser,
|
|
29
29
|
createToolRunId,
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
toolRunSetPending,
|
|
33
33
|
toolRunStarted,
|
|
34
34
|
toolRunSucceeded
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-C2HZSGLS.js";
|
|
36
36
|
import {
|
|
37
37
|
getPublicImageAgentMode
|
|
38
38
|
} from "./chunk-VIDPVFP3.js";
|
|
@@ -42,10 +42,10 @@ import {
|
|
|
42
42
|
messageStreaming,
|
|
43
43
|
toolResultNeedsUserConfirmation,
|
|
44
44
|
updateToolMessage
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-BWUCKKGP.js";
|
|
46
46
|
import {
|
|
47
47
|
streamAgentChatTurn
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-KOPLOEAA.js";
|
|
49
49
|
import {
|
|
50
50
|
getCurrentSpaceId
|
|
51
51
|
} from "./chunk-ZJ7UHBJS.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
listUserRecordsFromServers,
|
|
3
3
|
readLiveDbRecordAfterTombstoneMerge
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-CR2YHS2G.js";
|
|
5
5
|
import {
|
|
6
6
|
agentRecordHasConfiguredCredential
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-N6EMFRPR.js";
|
|
8
8
|
import {
|
|
9
9
|
deriveCredentialGroup
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-XITIONPS.js";
|
|
11
11
|
import {
|
|
12
12
|
isTombstoneRecord
|
|
13
13
|
} from "./chunk-D2MDMY2M.js";
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
listUserRecordsFromServers,
|
|
8
8
|
readDbRecordFromServers,
|
|
9
9
|
readLiveDbRecordAfterTombstoneMerge
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-CR2YHS2G.js";
|
|
11
11
|
import {
|
|
12
12
|
parsePositiveFiniteNumberOrFallback
|
|
13
13
|
} from "./chunk-Y5GCAMGP.js";
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
boundSummaryText,
|
|
33
33
|
buildDialogReadEnvelope,
|
|
34
34
|
projectDialogReadForAgent
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-6J227QXV.js";
|
|
36
36
|
import {
|
|
37
37
|
asRecordOrEmpty
|
|
38
38
|
} from "./chunk-KX6YBIHG.js";
|
|
@@ -908,13 +908,13 @@ function buildNoloWorkspaceOpenAiTools(args) {
|
|
|
908
908
|
}, ["table"]);
|
|
909
909
|
add("cliWhoami", "Show the current Nolo CLI login state.", {});
|
|
910
910
|
add("cliDoctor", "Show Nolo CLI doctor diagnostics.", {});
|
|
911
|
-
add("list_cloud_resources", "List
|
|
911
|
+
add("list_cloud_resources", "List cloud resources you may use (your own connections plus any shared with you). Never outputs credentials.", {
|
|
912
912
|
ownerKind: {
|
|
913
913
|
type: "string",
|
|
914
|
-
enum: ["user", "
|
|
915
|
-
description: "
|
|
914
|
+
enum: ["user", "space"],
|
|
915
|
+
description: "Scope selector. user (default) = everything you may use; space = only connections in one Space you belong to."
|
|
916
916
|
},
|
|
917
|
-
|
|
917
|
+
spaceId: stringToolParam("Required when ownerKind is space."),
|
|
918
918
|
platformId: stringToolParam("Optional cloud platform filter (e.g. docker, cloudflare, gcp).")
|
|
919
919
|
});
|
|
920
920
|
add("cloud_probe", "Probe read-only connectivity and readiness of a cloud resource. Never accepts credential parameters.", {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createCliLocalRuntimeAdapter,
|
|
3
3
|
summarizeEndpoint
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-QT4AL4MI.js";
|
|
5
5
|
import {
|
|
6
6
|
t
|
|
7
7
|
} from "./chunk-TDX2L4W2.js";
|
|
8
8
|
import {
|
|
9
9
|
clipMultilineText
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-C2HZSGLS.js";
|
|
11
11
|
import {
|
|
12
12
|
runLocalAgentTurn
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-JICBK5VC.js";
|
|
14
14
|
import {
|
|
15
15
|
applyToolSurfaceConstraints
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-6J227QXV.js";
|
|
17
17
|
import {
|
|
18
18
|
resolveLocalRuntimeEnvFromPolicy
|
|
19
19
|
} from "./chunk-LIQJTQRN.js";
|
|
@@ -31,7 +31,11 @@ var TOOL_OUTPUT_PROFILES = {
|
|
|
31
31
|
launchProcess: { maxChars: 2800, headRatio: 0.35 },
|
|
32
32
|
editFile: { maxChars: 1200, headRatio: 0.62 },
|
|
33
33
|
writeFile: { maxChars: 1e3, headRatio: 0.62 },
|
|
34
|
-
readPastedText: { maxChars: 4800, headRatio: 0.5, historicalMaxChars: 4800 }
|
|
34
|
+
readPastedText: { maxChars: 4800, headRatio: 0.5, historicalMaxChars: 4800 },
|
|
35
|
+
// loadSkill 内联的是文档正文(SKILL.md 全文),与 readFile 同类,不该因为工具名未登记就退回
|
|
36
|
+
// DEFAULT 的 4000。历史事故(nolo-plan omitted middle)正是 headRatio 0.5 掐掉中段,把
|
|
37
|
+
// 「MUST / 禁止」所在的中段静默省略。取 4800(与 readFile 同级),不激进放大;headRatio 同 DEFAULT。
|
|
38
|
+
loadSkill: { maxChars: 4800, headRatio: 0.5 }
|
|
35
39
|
};
|
|
36
40
|
function resolveToolOutputProfile(toolName) {
|
|
37
41
|
return (toolName ? TOOL_OUTPUT_PROFILES[toolName] : void 0) ?? DEFAULT_TOOL_OUTPUT_PROFILE;
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "./chunk-QYPE3TS3.js";
|
|
12
12
|
import {
|
|
13
13
|
runLlm
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-KOPLOEAA.js";
|
|
15
15
|
import {
|
|
16
16
|
getApproxPricePerImage
|
|
17
17
|
} from "./chunk-4JH2UMJR.js";
|
|
@@ -11062,7 +11062,7 @@ var messageSlice = createSliceWithThunks({
|
|
|
11062
11062
|
runtimeOptions: args.runtimeOptions
|
|
11063
11063
|
});
|
|
11064
11064
|
if (agentKeyToUse) {
|
|
11065
|
-
const { streamAgentChatTurn } = await import("./agentSlice-
|
|
11065
|
+
const { streamAgentChatTurn } = await import("./agentSlice-T5F2V2BG.js");
|
|
11066
11066
|
await dispatch(
|
|
11067
11067
|
streamAgentChatTurn({
|
|
11068
11068
|
agentKey: agentKeyToUse,
|
|
@@ -13879,7 +13879,7 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
13879
13879
|
}
|
|
13880
13880
|
if (isCurrentDialog) {
|
|
13881
13881
|
await thunkApi.dispatch(resetMsgs());
|
|
13882
|
-
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-
|
|
13882
|
+
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-O6FH2UYJ.js");
|
|
13883
13883
|
dispatch(clearPendingAttachments2());
|
|
13884
13884
|
}
|
|
13885
13885
|
return { dialogKey, isCurrentDialog, attachmentPlan };
|
|
@@ -13887,15 +13887,15 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
13887
13887
|
|
|
13888
13888
|
// packages/chat/dialog/dialogSlice.ts
|
|
13889
13889
|
var runCreateDialogAction = async (args, thunkApi) => {
|
|
13890
|
-
const { createDialogAction } = await import("./createDialogAction-
|
|
13890
|
+
const { createDialogAction } = await import("./createDialogAction-3RFPF7YH.js");
|
|
13891
13891
|
return createDialogAction(args, thunkApi);
|
|
13892
13892
|
};
|
|
13893
13893
|
var runCreateAgentAutomationAction = async (args, thunkApi) => {
|
|
13894
|
-
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-
|
|
13894
|
+
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-POKSQB3R.js");
|
|
13895
13895
|
return createAgentAutomationAction(args, thunkApi);
|
|
13896
13896
|
};
|
|
13897
13897
|
var runUpdateDialogTitleAction = async (args, thunkApi) => {
|
|
13898
|
-
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-
|
|
13898
|
+
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-DSCEPHVJ.js");
|
|
13899
13899
|
return updateDialogTitleAction(args, thunkApi);
|
|
13900
13900
|
};
|
|
13901
13901
|
var runAddDialogAgentAction = async (args, thunkApi) => {
|
|
@@ -13919,7 +13919,7 @@ var runSetDialogExtraReferencesAction = async (args, thunkApi) => {
|
|
|
13919
13919
|
return setDialogExtraReferencesAction(args, thunkApi);
|
|
13920
13920
|
};
|
|
13921
13921
|
var runHandleSendMessageAction = async (args, thunkApi) => {
|
|
13922
|
-
const { handleSendMessageAction } = await import("./handleSendMessageAction-
|
|
13922
|
+
const { handleSendMessageAction } = await import("./handleSendMessageAction-DPBAH4BZ.js");
|
|
13923
13923
|
return handleSendMessageAction(args, thunkApi);
|
|
13924
13924
|
};
|
|
13925
13925
|
function clearDialogState() {
|
|
@@ -13932,7 +13932,7 @@ var createPageAndAddReference = createAsyncThunk(
|
|
|
13932
13932
|
async (payload, { dispatch, getState, rejectWithValue }) => {
|
|
13933
13933
|
const { slateData, jsonData, title, type, fileId, groupId, dialogKey } = payload;
|
|
13934
13934
|
try {
|
|
13935
|
-
const { createDocState } = await import("./docStore-
|
|
13935
|
+
const { createDocState } = await import("./docStore-3IEX7ISB.js");
|
|
13936
13936
|
const pageKey = await createDocState(
|
|
13937
13937
|
{ slateData, title },
|
|
13938
13938
|
{ dispatch, getState }
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
} from "./chunk-VYNMQ6HW.js";
|
|
9
9
|
import {
|
|
10
10
|
fetchAndCacheTableRows
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-C3WFROHD.js";
|
|
12
12
|
import {
|
|
13
13
|
require_react
|
|
14
14
|
} from "./chunk-YDH3FDFQ.js";
|
|
@@ -521,7 +521,7 @@ var executeToolRun = createAsyncThunk(
|
|
|
521
521
|
if (!executionInput) {
|
|
522
522
|
throw new Error(`ToolRun ${id} has no input to execute with.`);
|
|
523
523
|
}
|
|
524
|
-
const { findToolExecutor } = await import("./tools-
|
|
524
|
+
const { findToolExecutor } = await import("./tools-SEFY3PZG.js");
|
|
525
525
|
const { executor } = findToolExecutor(run.toolName);
|
|
526
526
|
toolRunStarted({
|
|
527
527
|
id: run.id,
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
resolveRawAgentInput,
|
|
10
10
|
resolveServerUrl,
|
|
11
11
|
writeUsage
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-WE62ACBD.js";
|
|
13
13
|
import {
|
|
14
14
|
getReadableCliDb
|
|
15
15
|
} from "./chunk-62TBKWTV.js";
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
resolveFileWriteGateEnabled,
|
|
32
32
|
resolveLocalUserId,
|
|
33
33
|
validateInstaboxWorkspaceSelection
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-QT4AL4MI.js";
|
|
35
35
|
import {
|
|
36
36
|
clearCredentialAvailability,
|
|
37
37
|
readEffectiveCredentialEntry,
|
|
@@ -64,7 +64,7 @@ import {
|
|
|
64
64
|
import {
|
|
65
65
|
readDbRecord,
|
|
66
66
|
resolveAgentRecordFromHybridStore
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-N6EMFRPR.js";
|
|
68
68
|
import {
|
|
69
69
|
isLocalCliAgentKey
|
|
70
70
|
} from "./chunk-NBTY7YJF.js";
|
|
@@ -79,14 +79,14 @@ import {
|
|
|
79
79
|
} from "./chunk-BMQ2MJUK.js";
|
|
80
80
|
import {
|
|
81
81
|
resolveCliLocalRuntimeKeyCapability
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-VAIFA3JM.js";
|
|
83
83
|
import {
|
|
84
84
|
isTransientFetchError
|
|
85
85
|
} from "./chunk-KFHREHUQ.js";
|
|
86
86
|
import {
|
|
87
87
|
parseUiCard,
|
|
88
88
|
uiCardFallback
|
|
89
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-C2HZSGLS.js";
|
|
90
90
|
import {
|
|
91
91
|
isGatewayHttpStatus
|
|
92
92
|
} from "./chunk-NF64D32W.js";
|
|
@@ -95,7 +95,7 @@ import {
|
|
|
95
95
|
chooseMemoryOwners,
|
|
96
96
|
loadMemoryCandidatesFromDb,
|
|
97
97
|
resolveAgentMemoryPolicy
|
|
98
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-LCRM22WN.js";
|
|
99
99
|
import {
|
|
100
100
|
API_REPORTED_COST_MULTIPLIER,
|
|
101
101
|
estimateMessagesTokens,
|
|
@@ -103,7 +103,7 @@ import {
|
|
|
103
103
|
resolveAgentContextWindow,
|
|
104
104
|
resolveOccupancy,
|
|
105
105
|
resolveOccupancyWindow
|
|
106
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-BWUCKKGP.js";
|
|
107
107
|
import {
|
|
108
108
|
buildSkillDiscoveryContextLayer
|
|
109
109
|
} from "./chunk-AU7AXHUL.js";
|
|
@@ -115,10 +115,10 @@ import {
|
|
|
115
115
|
LOCAL_AGENT_CONFIG_MISSING_CODE,
|
|
116
116
|
LOCAL_TURN_ABORTED_CODE,
|
|
117
117
|
readActionGate
|
|
118
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-JICBK5VC.js";
|
|
119
119
|
import {
|
|
120
120
|
resolveAgentRuntimeConfigFromRecord
|
|
121
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-CEXJ6Y3C.js";
|
|
122
122
|
import {
|
|
123
123
|
createThinkParserState,
|
|
124
124
|
flushThinkParser,
|
|
@@ -11373,7 +11373,7 @@ function isBalanceExhaustedError(error) {
|
|
|
11373
11373
|
|
|
11374
11374
|
// packages/cli/client/agentRun.ts
|
|
11375
11375
|
async function loadRunLocalAgentTurn() {
|
|
11376
|
-
const { runLocalAgentTurn } = await import("./agentRuntimeLocal-
|
|
11376
|
+
const { runLocalAgentTurn } = await import("./agentRuntimeLocal-YDRO43VQ.js");
|
|
11377
11377
|
return runLocalAgentTurn;
|
|
11378
11378
|
}
|
|
11379
11379
|
var stripDebugNoise = (s) => s.replace(/\s*raw="[\s\S]*"/g, "").replace(/\s*raw=\S+/g, "").replace(/\s*headers=\[[^\]]*\]/g, "").replace(/\s*headers=\S+/g, "").trim();
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
mergeReferences,
|
|
8
8
|
resolveReferenceAssets,
|
|
9
9
|
resolveToolsFromKeys
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ZPJ7WOH4.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-C2HZSGLS.js";
|
|
24
24
|
import {
|
|
25
25
|
resolveToolBaseUrl
|
|
26
26
|
} from "./chunk-MYOH447Z.js";
|
|
@@ -32,15 +32,15 @@ import {
|
|
|
32
32
|
} from "./chunk-ZPKUJROL.js";
|
|
33
33
|
import {
|
|
34
34
|
getDocState
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-QRWNEH5Z.js";
|
|
36
36
|
import {
|
|
37
37
|
getTableState
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-C3WFROHD.js";
|
|
39
39
|
import {
|
|
40
40
|
PERSONALIZATION_DIALOG_CATEGORY,
|
|
41
41
|
buildPersonalizationDialogPolicyContext,
|
|
42
42
|
selectAllMsgs
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-BWUCKKGP.js";
|
|
44
44
|
import {
|
|
45
45
|
getCurrentSpaceIdRaw,
|
|
46
46
|
getViewMode
|
|
@@ -69,7 +69,7 @@ import {
|
|
|
69
69
|
} from "./chunk-YCRROBDY.js";
|
|
70
70
|
import {
|
|
71
71
|
projectToolMessageContent
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-BSKTDOGA.js";
|
|
73
73
|
import {
|
|
74
74
|
attachmentKind,
|
|
75
75
|
normalizeAttachmentPart
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fetchReferenceContents,
|
|
3
3
|
resolveReferenceAssets
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ZPJ7WOH4.js";
|
|
5
5
|
import {
|
|
6
6
|
updateTokensAction
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-BWUCKKGP.js";
|
|
8
8
|
import {
|
|
9
9
|
applyUpdateTokensFulfilled
|
|
10
10
|
} from "./chunk-OWYYDMGJ.js";
|
|
@@ -25,13 +25,13 @@ import {
|
|
|
25
25
|
import {
|
|
26
26
|
hasImageInRuntimeMessages,
|
|
27
27
|
stripImagePartsFromMessages
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-CEXJ6Y3C.js";
|
|
29
29
|
import {
|
|
30
30
|
clipToolText,
|
|
31
31
|
resolveAgentImageInputSupport,
|
|
32
32
|
resolveHistoricalToolContentCap,
|
|
33
33
|
resolveToolOutputProfile
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-BSKTDOGA.js";
|
|
35
35
|
import {
|
|
36
36
|
applyShapingCounts,
|
|
37
37
|
attachProjectionFacts,
|
|
@@ -66,7 +66,7 @@ import {
|
|
|
66
66
|
hashStablePrefixContent,
|
|
67
67
|
resolveResponseGuidelines,
|
|
68
68
|
resolveToolGuidedSections
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-KYFGIHVF.js";
|
|
70
70
|
import {
|
|
71
71
|
classifyUnparsableToolArgs,
|
|
72
72
|
collectStablePromptPrefix,
|
|
@@ -110,7 +110,7 @@ import {
|
|
|
110
110
|
parseNoloWorkspaceToolArguments,
|
|
111
111
|
readTextStreamUpToChars,
|
|
112
112
|
resolveNoloDialogInput
|
|
113
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-6J227QXV.js";
|
|
114
114
|
import {
|
|
115
115
|
buildDialogFallbackTitleFromUserInput
|
|
116
116
|
} from "./chunk-2MBTWINN.js";
|
|
@@ -308,7 +308,7 @@ var slice = createSliceWithThunks({
|
|
|
308
308
|
const overrides = {};
|
|
309
309
|
if (args.systemPromptOverride !== void 0) overrides.prompt = args.systemPromptOverride;
|
|
310
310
|
if (args.toolsOverride !== void 0) overrides.tools = args.toolsOverride;
|
|
311
|
-
const { _executeModel } = await import("./_executeModel-
|
|
311
|
+
const { _executeModel } = await import("./_executeModel-T47HIEQM.js");
|
|
312
312
|
return _executeModel(
|
|
313
313
|
{
|
|
314
314
|
isStreaming: args.isStreaming ?? false,
|
|
@@ -329,7 +329,7 @@ var slice = createSliceWithThunks({
|
|
|
329
329
|
* - 循环直到无工具调用或触发其他运行时停止条件
|
|
330
330
|
*/
|
|
331
331
|
runAgent: create.asyncThunk(async (args, thunkApi) => {
|
|
332
|
-
const { runAgentClientLoop } = await import("./runAgentClientLoop-
|
|
332
|
+
const { runAgentClientLoop } = await import("./runAgentClientLoop-K72OUMOS.js");
|
|
333
333
|
const { content: loopContent, toolCallCount } = await runAgentClientLoop(
|
|
334
334
|
{
|
|
335
335
|
agentKey: args.agentKey,
|
|
@@ -345,7 +345,7 @@ var slice = createSliceWithThunks({
|
|
|
345
345
|
* 聊天轮次流式 Agent 调用
|
|
346
346
|
*/
|
|
347
347
|
streamAgentChatTurn: create.asyncThunk(async (args, thunkApi) => {
|
|
348
|
-
const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-
|
|
348
|
+
const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-73BOLXKS.js");
|
|
349
349
|
return streamAgentChatTurnHandler(args, thunkApi);
|
|
350
350
|
}),
|
|
351
351
|
/**
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
addContentToSpace
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-C3WFROHD.js";
|
|
4
4
|
import {
|
|
5
5
|
format,
|
|
6
6
|
prepareAndPersistMessage,
|
|
7
7
|
uiAskChoiceFunc,
|
|
8
8
|
uiAskChoiceFunctionSchema
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-BWUCKKGP.js";
|
|
10
10
|
import {
|
|
11
11
|
formatISO
|
|
12
12
|
} from "./chunk-ZRAU6T47.js";
|