nolo-cli 0.158.0-alpha.1 → 0.159.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-6BMU3URY.js → _executeModel-JISIM4PS.js} +22 -22
- package/{agentDeleteCommand-Q2XWGBC2.js → agentDeleteCommand-2NMZDFL5.js} +30 -30
- package/{agentEmailCommands-XFBE2A3F.js → agentEmailCommands-VQ2QGKL4.js} +32 -32
- package/{agentListCommands-OROMT4P3.js → agentListCommands-3CJ4GF6C.js} +18 -18
- package/{agentMachineCommands-ULK5YKKJ.js → agentMachineCommands-BMOEPV5C.js} +15 -15
- package/{agentProviderCommands-MKG2OOEY.js → agentProviderCommands-CUBOAVPB.js} +2 -2
- package/{agentRecordCommands-3VHBLS6P.js → agentRecordCommands-XRB7BLWV.js} +30 -30
- package/{agentRunCommand-LCIMEAQY.js → agentRunCommand-VKCTAW55.js} +31 -31
- package/{agentRunControl-2C5GM3BW.js → agentRunControl-PPYWJRIJ.js} +4 -4
- package/{agentRuntimeLocal-NPJS2QDP.js → agentRuntimeLocal-7JDS3OAL.js} +13 -13
- package/{agentSlice-VRAPG6CH.js → agentSlice-ST6QQ5FD.js} +1 -1
- package/{appDeleteCommands-AZ3KS4HK.js → appDeleteCommands-UVWHW4TJ.js} +16 -16
- package/{appDeployCommands-BTV22ICJ.js → appDeployCommands-67JPR4JU.js} +16 -16
- package/{appDeployStatusCommands-JSW3HPIW.js → appDeployStatusCommands-UTC6IR5V.js} +16 -16
- package/{appGetCommands-5KTTFIMV.js → appGetCommands-KLLIGWNC.js} +16 -16
- package/{appListCommands-3BJPAE2U.js → appListCommands-AZKNWJUR.js} +16 -16
- package/{authCommand-NIV3DKPF.js → authCommand-MSINEFHH.js} +7 -7
- package/{chunk-MM3662RS.js → chunk-42W7LKBM.js} +1 -1
- package/{chunk-AJ4V34SG.js → chunk-4CYTNZG3.js} +10 -10
- package/{chunk-L6EQV5OC.js → chunk-4JOZECCA.js} +3 -3
- package/{chunk-UFYBYB26.js → chunk-5MPS5OOY.js} +1 -1
- package/{chunk-TRW43TSC.js → chunk-6EQD4AQL.js} +41 -1
- package/{chunk-O4ZERG3M.js → chunk-B5MSFO6R.js} +3 -3
- package/{chunk-C3OK72G3.js → chunk-C3WXTFRP.js} +1 -1
- package/{chunk-4UOEOHY3.js → chunk-DD7BZWJ6.js} +3 -3
- package/{chunk-G2WP7VPD.js → chunk-DFWLD7WU.js} +1 -1
- package/{chunk-HB4XPBC7.js → chunk-EWO77ZGF.js} +9 -11
- package/{chunk-GAVUTXM5.js → chunk-FUNTOSV3.js} +8 -8
- package/{chunk-NKPAHRMA.js → chunk-FVZVJA54.js} +3 -3
- package/{chunk-C6FY7HWI.js → chunk-GB552UJS.js} +1 -1
- package/{chunk-S72LMV7T.js → chunk-GJNYJH7O.js} +22 -22
- package/{chunk-WXFZ4P6O.js → chunk-HXSN43Y5.js} +11 -11
- package/{chunk-KKKHAF3P.js → chunk-IE7G4BF5.js} +3 -3
- package/{chunk-3TBHZPNG.js → chunk-IULXURBL.js} +9 -9
- package/{chunk-BYQOCH75.js → chunk-J4S44CSW.js} +2 -2
- package/{chunk-2SOS7OSQ.js → chunk-JKXXZUO4.js} +1 -1
- package/{chunk-K43ZF2C3.js → chunk-JPPQ3GUO.js} +1 -1
- package/{chunk-CDWHHLK5.js → chunk-JPSTJHGJ.js} +2 -2
- package/{chunk-3C2QLERX.js → chunk-KMDDG73K.js} +1 -1
- package/{chunk-IPAW7XLD.js → chunk-MFVOJ6KF.js} +2 -2
- package/{chunk-2MTE2PEH.js → chunk-MGSNS22D.js} +1 -1
- package/{chunk-UCLSOLX4.js → chunk-MJKKEGF5.js} +2 -2
- package/{chunk-WTFRBJT5.js → chunk-MNRZCEYU.js} +11 -11
- package/{chunk-VDEVDGEM.js → chunk-NJTXRGCJ.js} +1 -1
- package/{chunk-QPY264HO.js → chunk-NUE735UT.js} +1 -1
- package/{chunk-ZEY4NJRE.js → chunk-O4KVUI4W.js} +1 -1
- package/{chunk-G476FQ7Q.js → chunk-OVQFMCVI.js} +2 -2
- package/{chunk-SUKSWFLP.js → chunk-PIG2IUVZ.js} +1 -1
- package/{chunk-EQGFFDNA.js → chunk-PIYYH2LE.js} +2 -2
- package/{chunk-ICRRXBRN.js → chunk-PKC7D6SX.js} +3 -3
- package/{chunk-LV4LV2B4.js → chunk-QI2WVWXV.js} +1 -1
- package/{chunk-IYBIRCQV.js → chunk-QOYJE6NX.js} +1 -1
- package/{chunk-YTXQ2U2X.js → chunk-R6ABE4UC.js} +11 -11
- package/{chunk-KLA62VVE.js → chunk-RE5I35J7.js} +2 -2
- package/{chunk-2BKUVRC5.js → chunk-RGYDJ352.js} +2 -2
- package/{chunk-JGRPBIZZ.js → chunk-SQX235S2.js} +1 -1
- package/{chunk-6TF64IF2.js → chunk-U6TTTB6V.js} +16 -2
- package/{chunk-I2RMFLLH.js → chunk-V7PCFWX3.js} +1 -1
- package/{chunk-ZBXIKCZ4.js → chunk-XEF4HW56.js} +15 -15
- package/{chunk-IE5PXKVU.js → chunk-YNCJYU4X.js} +1 -1
- package/{chunk-JPJGMOIM.js → chunk-ZIGIN5IX.js} +1 -1
- package/{chunk-YANF2RR4.js → chunk-ZPKUJROL.js} +1 -1
- package/{commandRegistry-D6JTVYKG.js → commandRegistry-ROBNQFWA.js} +55 -55
- package/{contentThunks-DYQO4CTI.js → contentThunks-EWOJGG2I.js} +7 -7
- package/{createAgentAutomationAction-LW26KIBP.js → createAgentAutomationAction-I43ICGXU.js} +7 -7
- package/{createDialogAction-VLLBRD52.js → createDialogAction-IIAHRXND.js} +8 -8
- package/{createPageAction-PDACOLI6.js → createPageAction-OVK7PG4L.js} +7 -7
- package/{dialogCommands-F3Y4KCPZ.js → dialogCommands-K4OVKDYD.js} +17 -17
- package/{dialogSlice-ERMZYMS6.js → dialogSlice-U22CFPRN.js} +6 -6
- package/{docCreateCommands-YMWZLW64.js → docCreateCommands-GI377ZFI.js} +15 -15
- package/{docDeleteCommands-6KJ3ESK4.js → docDeleteCommands-NBQNTVHB.js} +16 -16
- package/{docReadCommands-YQGFVLWI.js → docReadCommands-6SKEW6AO.js} +15 -15
- package/{docStore-HXKI6W5D.js → docStore-SS2QUBG6.js} +1 -1
- package/{docUpdateCommands-QLSGXUEX.js → docUpdateCommands-NJ7JD6VA.js} +15 -15
- package/{getPricing-TX35D7PI.js → getPricing-XQ3N3RBP.js} +2 -2
- package/{handleSendMessageAction-2XCOZPXY.js → handleSendMessageAction-YVPRHPQR.js} +13 -13
- package/index.js +4 -4
- package/{localRuntimeAdapter-VOFUPXNF.js → localRuntimeAdapter-CC7ZPJRV.js} +28 -28
- package/{machineCommands-IN5O7CIO.js → machineCommands-XEWIUHTY.js} +29 -29
- package/{machineWsRunDispatch-TH3GMSR3.js → machineWsRunDispatch-JYEWCXGP.js} +29 -29
- package/package.json +1 -1
- package/{providerPresetApply-GSJI4JBJ.js → providerPresetApply-PKUOHQJT.js} +5 -5
- package/{providerRegistry-TSSTPGWF.js → providerRegistry-HNQLIFN2.js} +5 -5
- package/{readlineWorkspace-EIEQUTEZ.js → readlineWorkspace-7MZPTN5U.js} +35 -35
- package/{runAgentClientLoop-3KHKKBZI.js → runAgentClientLoop-MLEVVWUH.js} +20 -20
- package/{runtimeDoctorCommands-56NWKNON.js → runtimeDoctorCommands-HEN5IPIH.js} +4 -4
- package/{spaceCommands-T5Z4U7HP.js → spaceCommands-UM3ZQKJU.js} +15 -15
- package/{streamAgentChatTurn-DMXXSEVX.js → streamAgentChatTurn-J7HYND6V.js} +26 -26
- package/{tools-RMT7NAMC.js → tools-3CEH74XY.js} +15 -15
- package/{tuiSummaryLlmCaller-KLK6K3Q3.js → tuiSummaryLlmCaller-VSNIIH63.js} +6 -6
- package/{updateDialogTitleAction-Z4WNUH6Y.js → updateDialogTitleAction-C557RTYG.js} +7 -7
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
inlineImageUrlsForCustomProvider,
|
|
6
6
|
prepareTools,
|
|
7
7
|
shouldInlineImageUrlsForAgent
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-J4S44CSW.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-FUNTOSV3.js";
|
|
18
18
|
import {
|
|
19
19
|
findToolExecutor,
|
|
20
20
|
toolDefinitionsByName
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-R6ABE4UC.js";
|
|
22
22
|
import {
|
|
23
23
|
classifyApiError,
|
|
24
24
|
classifyGenerationError,
|
|
25
25
|
extractErrorDiagnostics
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-RGYDJ352.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-JPSTJHGJ.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-MNRZCEYU.js";
|
|
46
46
|
import {
|
|
47
47
|
streamAgentChatTurn
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-DD7BZWJ6.js";
|
|
49
49
|
import {
|
|
50
50
|
getCurrentSpaceId
|
|
51
51
|
} from "./chunk-ZJ7UHBJS.js";
|
|
@@ -85,13 +85,13 @@ import {
|
|
|
85
85
|
} from "./chunk-56GBUMO5.js";
|
|
86
86
|
import {
|
|
87
87
|
normalizeChatCompletionsBodyForProvider
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-U6TTTB6V.js";
|
|
89
89
|
import {
|
|
90
90
|
EMPTY_ASSISTANT_REPAIR_PROMPT
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-GB552UJS.js";
|
|
92
92
|
import {
|
|
93
93
|
getModelInfo
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-MGSNS22D.js";
|
|
95
95
|
import {
|
|
96
96
|
isAbortError
|
|
97
97
|
} from "./chunk-7DPNBQSV.js";
|
|
@@ -105,7 +105,7 @@ import {
|
|
|
105
105
|
} from "./chunk-5EMSBTQ6.js";
|
|
106
106
|
import {
|
|
107
107
|
getApiEndpoint
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-6EQD4AQL.js";
|
|
109
109
|
import {
|
|
110
110
|
isRecord
|
|
111
111
|
} from "./chunk-KUG52IAP.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fetchReferenceContents,
|
|
3
3
|
resolveReferenceAssets
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-RGYDJ352.js";
|
|
5
5
|
import {
|
|
6
6
|
updateTokensAction
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-MNRZCEYU.js";
|
|
8
8
|
import {
|
|
9
9
|
applyUpdateTokensFulfilled
|
|
10
10
|
} from "./chunk-OWYYDMGJ.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
extractReasoningFromResponseOutput,
|
|
13
13
|
extractTextFromResponseOutput,
|
|
14
14
|
extractToolCallsFromResponseOutput
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-U6TTTB6V.js";
|
|
16
16
|
import {
|
|
17
17
|
isRecord
|
|
18
18
|
} from "./chunk-KUG52IAP.js";
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
DEVIN_CONNECT_URL,
|
|
3
3
|
parseSseDataLineJson,
|
|
4
4
|
parseSseDataLineObject
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-KMDDG73K.js";
|
|
6
6
|
import {
|
|
7
7
|
applyChatCompletionDelta,
|
|
8
8
|
applyResponsesToolEvent,
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
flushChatCompletionStream,
|
|
12
12
|
providerHttpFailure,
|
|
13
13
|
throwIfChatCompletionStreamFailed
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-4JOZECCA.js";
|
|
15
15
|
import {
|
|
16
16
|
readSseFrames
|
|
17
17
|
} from "./chunk-HNUWUO75.js";
|
|
@@ -25,13 +25,13 @@ import {
|
|
|
25
25
|
import {
|
|
26
26
|
hasImageInRuntimeMessages,
|
|
27
27
|
stripImagePartsFromMessages
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-DFWLD7WU.js";
|
|
29
29
|
import {
|
|
30
30
|
clipToolText,
|
|
31
31
|
resolveAgentImageInputSupport,
|
|
32
32
|
resolveHistoricalToolContentCap,
|
|
33
33
|
resolveToolOutputProfile
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-QOYJE6NX.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-QI2WVWXV.js";
|
|
70
70
|
import {
|
|
71
71
|
classifyUnparsableToolArgs,
|
|
72
72
|
collectStablePromptPrefix,
|
|
@@ -90,7 +90,7 @@ import {
|
|
|
90
90
|
toOpenAiCompatibleMessages,
|
|
91
91
|
toResponsesTools,
|
|
92
92
|
transferDowngradedToolTurnOrigin
|
|
93
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-U6TTTB6V.js";
|
|
94
94
|
import {
|
|
95
95
|
BRIDGE_STREAM_MAX_CHARS,
|
|
96
96
|
DEFAULT_READ_DIALOG_MAX_RESPONSE_CHARS,
|
|
@@ -120,7 +120,7 @@ import {
|
|
|
120
120
|
resolveEmptyAssistantFallbackMessage,
|
|
121
121
|
resolveEmptyAssistantOutcome,
|
|
122
122
|
resolveTruncatedReasoningTailLog
|
|
123
|
-
} from "./chunk-
|
|
123
|
+
} from "./chunk-GB552UJS.js";
|
|
124
124
|
import {
|
|
125
125
|
COMPACTION_SUMMARY_SCHEMA_VERSION,
|
|
126
126
|
COMPACTION_SUMMARY_SYSTEM_PROMPT,
|
|
@@ -143,7 +143,7 @@ import {
|
|
|
143
143
|
sha256Hex,
|
|
144
144
|
truncateToolOutputForContext,
|
|
145
145
|
withProviderCallTimingFields
|
|
146
|
-
} from "./chunk-
|
|
146
|
+
} from "./chunk-MGSNS22D.js";
|
|
147
147
|
import {
|
|
148
148
|
clipCompactText
|
|
149
149
|
} from "./chunk-5MMAK75Q.js";
|
|
@@ -176,7 +176,7 @@ import {
|
|
|
176
176
|
import {
|
|
177
177
|
buildProviderAuthHeaders,
|
|
178
178
|
buildProviderExecutionPlan
|
|
179
|
-
} from "./chunk-
|
|
179
|
+
} from "./chunk-PIG2IUVZ.js";
|
|
180
180
|
import {
|
|
181
181
|
isRecord
|
|
182
182
|
} from "./chunk-KUG52IAP.js";
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
} from "./chunk-VYNMQ6HW.js";
|
|
9
9
|
import {
|
|
10
10
|
fetchAndCacheTableRows
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-NJTXRGCJ.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-3CEH74XY.js");
|
|
525
525
|
const { executor } = findToolExecutor(run.toolName);
|
|
526
526
|
toolRunStarted({
|
|
527
527
|
id: run.id,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getModelPricing
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZPKUJROL.js";
|
|
4
4
|
import {
|
|
5
5
|
PUBLIC_DEEPSEEK_V4_FLASH_AGENT_ID,
|
|
6
6
|
PUBLIC_DEEPSEEK_V4_PRO_AGENT_ID,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
} from "./chunk-M2EJHDJP.js";
|
|
24
24
|
import {
|
|
25
25
|
getModelConfig
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-6EQD4AQL.js";
|
|
27
27
|
import {
|
|
28
28
|
isRecord
|
|
29
29
|
} from "./chunk-KUG52IAP.js";
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
listUserRecordsFromServers,
|
|
8
8
|
readDbRecordFromServers,
|
|
9
9
|
readLiveDbRecordAfterTombstoneMerge
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-NUE735UT.js";
|
|
11
11
|
import {
|
|
12
12
|
parsePositiveFiniteNumberOrFallback
|
|
13
13
|
} from "./chunk-Y5GCAMGP.js";
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
} from "./chunk-I42VC5KR.js";
|
|
43
43
|
import {
|
|
44
44
|
resolveRunsDir
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-42W7LKBM.js";
|
|
46
46
|
import {
|
|
47
47
|
isRecord
|
|
48
48
|
} from "./chunk-KUG52IAP.js";
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
} from "./chunk-QYPE3TS3.js";
|
|
15
15
|
import {
|
|
16
16
|
runLlm
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-DD7BZWJ6.js";
|
|
18
18
|
import {
|
|
19
19
|
getApproxPricePerImage
|
|
20
20
|
} from "./chunk-4JH2UMJR.js";
|
|
@@ -106,7 +106,7 @@ import {
|
|
|
106
106
|
extractReferenceKeysFromMessage,
|
|
107
107
|
normalizeUsage,
|
|
108
108
|
resolveAutoExecutionProfile
|
|
109
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-GB552UJS.js";
|
|
110
110
|
import {
|
|
111
111
|
isDevinOAuthAgent
|
|
112
112
|
} from "./chunk-5ZUL4CUO.js";
|
|
@@ -123,7 +123,7 @@ import {
|
|
|
123
123
|
getModelInfo,
|
|
124
124
|
planCompression,
|
|
125
125
|
serializeMessageContent
|
|
126
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-MGSNS22D.js";
|
|
127
127
|
import {
|
|
128
128
|
asRecordOrEmpty
|
|
129
129
|
} from "./chunk-KX6YBIHG.js";
|
|
@@ -159,7 +159,7 @@ import {
|
|
|
159
159
|
import {
|
|
160
160
|
findModelConfig,
|
|
161
161
|
getModelConfig
|
|
162
|
-
} from "./chunk-
|
|
162
|
+
} from "./chunk-6EQD4AQL.js";
|
|
163
163
|
import {
|
|
164
164
|
isRecord
|
|
165
165
|
} from "./chunk-KUG52IAP.js";
|
|
@@ -11064,7 +11064,7 @@ var messageSlice = createSliceWithThunks({
|
|
|
11064
11064
|
runtimeOptions: args.runtimeOptions
|
|
11065
11065
|
});
|
|
11066
11066
|
if (agentKeyToUse) {
|
|
11067
|
-
const { streamAgentChatTurn } = await import("./agentSlice-
|
|
11067
|
+
const { streamAgentChatTurn } = await import("./agentSlice-ST6QQ5FD.js");
|
|
11068
11068
|
await dispatch(
|
|
11069
11069
|
streamAgentChatTurn({
|
|
11070
11070
|
agentKey: agentKeyToUse,
|
|
@@ -13881,7 +13881,7 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
13881
13881
|
}
|
|
13882
13882
|
if (isCurrentDialog) {
|
|
13883
13883
|
await thunkApi.dispatch(resetMsgs());
|
|
13884
|
-
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-
|
|
13884
|
+
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-U22CFPRN.js");
|
|
13885
13885
|
dispatch(clearPendingAttachments2());
|
|
13886
13886
|
}
|
|
13887
13887
|
return { dialogKey, isCurrentDialog, attachmentPlan };
|
|
@@ -13889,15 +13889,15 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
13889
13889
|
|
|
13890
13890
|
// packages/chat/dialog/dialogSlice.ts
|
|
13891
13891
|
var runCreateDialogAction = async (args, thunkApi) => {
|
|
13892
|
-
const { createDialogAction } = await import("./createDialogAction-
|
|
13892
|
+
const { createDialogAction } = await import("./createDialogAction-IIAHRXND.js");
|
|
13893
13893
|
return createDialogAction(args, thunkApi);
|
|
13894
13894
|
};
|
|
13895
13895
|
var runCreateAgentAutomationAction = async (args, thunkApi) => {
|
|
13896
|
-
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-
|
|
13896
|
+
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-I43ICGXU.js");
|
|
13897
13897
|
return createAgentAutomationAction(args, thunkApi);
|
|
13898
13898
|
};
|
|
13899
13899
|
var runUpdateDialogTitleAction = async (args, thunkApi) => {
|
|
13900
|
-
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-
|
|
13900
|
+
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-C557RTYG.js");
|
|
13901
13901
|
return updateDialogTitleAction(args, thunkApi);
|
|
13902
13902
|
};
|
|
13903
13903
|
var runAddDialogAgentAction = async (args, thunkApi) => {
|
|
@@ -13921,7 +13921,7 @@ var runSetDialogExtraReferencesAction = async (args, thunkApi) => {
|
|
|
13921
13921
|
return setDialogExtraReferencesAction(args, thunkApi);
|
|
13922
13922
|
};
|
|
13923
13923
|
var runHandleSendMessageAction = async (args, thunkApi) => {
|
|
13924
|
-
const { handleSendMessageAction } = await import("./handleSendMessageAction-
|
|
13924
|
+
const { handleSendMessageAction } = await import("./handleSendMessageAction-YVPRHPQR.js");
|
|
13925
13925
|
return handleSendMessageAction(args, thunkApi);
|
|
13926
13926
|
};
|
|
13927
13927
|
function clearDialogState() {
|
|
@@ -13934,7 +13934,7 @@ var createPageAndAddReference = createAsyncThunk(
|
|
|
13934
13934
|
async (payload, { dispatch, getState, rejectWithValue }) => {
|
|
13935
13935
|
const { slateData, jsonData, title, type, fileId, groupId, dialogKey } = payload;
|
|
13936
13936
|
try {
|
|
13937
|
-
const { createDocState } = await import("./docStore-
|
|
13937
|
+
const { createDocState } = await import("./docStore-SS2QUBG6.js");
|
|
13938
13938
|
const pageKey = await createDocState(
|
|
13939
13939
|
{ slateData, title },
|
|
13940
13940
|
{ dispatch, getState }
|
|
@@ -556,7 +556,7 @@ async function buildCreatedAgentRecord(args) {
|
|
|
556
556
|
const resolvedAgentInput = resolveCliAgentKeyInput(args.parsed.agentInput);
|
|
557
557
|
const agentKey = resolvedAgentInput.startsWith("agent-") ? resolvedAgentInput : createAgentKey.private(userId || "local", resolvedAgentInput);
|
|
558
558
|
if (args.parsed.presetId) {
|
|
559
|
-
const { resolveProviderPresetFields } = await import("./providerPresetApply-
|
|
559
|
+
const { resolveProviderPresetFields } = await import("./providerPresetApply-PKUOHQJT.js");
|
|
560
560
|
const fields = resolveProviderPresetFields(args.parsed.presetId);
|
|
561
561
|
if (fields.kind === "manual") {
|
|
562
562
|
throw new Error(
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
addContentToSpace
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-NJTXRGCJ.js";
|
|
4
4
|
import {
|
|
5
5
|
format,
|
|
6
6
|
prepareAndPersistMessage,
|
|
7
7
|
uiAskChoiceFunc,
|
|
8
8
|
uiAskChoiceFunctionSchema
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-MNRZCEYU.js";
|
|
10
10
|
import {
|
|
11
11
|
formatISO
|
|
12
12
|
} from "./chunk-ZRAU6T47.js";
|
|
@@ -333,7 +333,7 @@ async function saveDocState(arg, { dispatch, getState }) {
|
|
|
333
333
|
).unwrap();
|
|
334
334
|
if (dbSpaceId) {
|
|
335
335
|
try {
|
|
336
|
-
const { updateContentTitle } = await import("./contentThunks-
|
|
336
|
+
const { updateContentTitle } = await import("./contentThunks-EWOJGG2I.js");
|
|
337
337
|
await dispatch(
|
|
338
338
|
updateContentTitle({
|
|
339
339
|
spaceId: dbSpaceId,
|
|
@@ -372,7 +372,7 @@ async function saveDocState(arg, { dispatch, getState }) {
|
|
|
372
372
|
}
|
|
373
373
|
}
|
|
374
374
|
async function createDocState(args, thunkApi) {
|
|
375
|
-
const { createPageAction } = await import("./createPageAction-
|
|
375
|
+
const { createPageAction } = await import("./createPageAction-OVK7PG4L.js");
|
|
376
376
|
return createPageAction(args, thunkApi);
|
|
377
377
|
}
|
|
378
378
|
function subscribe(listener) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
listUserRecordsFromServers,
|
|
3
3
|
readLiveDbRecordAfterTombstoneMerge
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-NUE735UT.js";
|
|
5
5
|
import {
|
|
6
6
|
agentRecordHasConfiguredCredential
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-O4KVUI4W.js";
|
|
8
8
|
import {
|
|
9
9
|
deriveCredentialGroup
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-RE5I35J7.js";
|
|
11
11
|
import {
|
|
12
12
|
isTombstoneRecord
|
|
13
13
|
} from "./chunk-D2MDMY2M.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
assembleAgentDiscoveryResult,
|
|
3
3
|
resolveDiscoveryScope
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-RE5I35J7.js";
|
|
5
5
|
import {
|
|
6
6
|
fetchWithTransientRetry
|
|
7
7
|
} from "./chunk-KFHREHUQ.js";
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
toolRunUpdated,
|
|
21
21
|
uiCardFallback,
|
|
22
22
|
waitForAbortableDelay
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-JPSTJHGJ.js";
|
|
24
24
|
import {
|
|
25
25
|
isGatewayHttpStatus
|
|
26
26
|
} from "./chunk-NF64D32W.js";
|
|
@@ -64,7 +64,7 @@ import {
|
|
|
64
64
|
} from "./chunk-VF4K2QE6.js";
|
|
65
65
|
import {
|
|
66
66
|
createDocState
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-PIYYH2LE.js";
|
|
68
68
|
import {
|
|
69
69
|
addMemberSpace,
|
|
70
70
|
fetchAuthoritativeRemoteSpace,
|
|
@@ -79,7 +79,7 @@ import {
|
|
|
79
79
|
} from "./chunk-J2ATF74A.js";
|
|
80
80
|
import {
|
|
81
81
|
createDialogAction
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-OVQFMCVI.js";
|
|
83
83
|
import {
|
|
84
84
|
setDialogExtraReferencesAction
|
|
85
85
|
} from "./chunk-CON6SI7N.js";
|
|
@@ -102,7 +102,7 @@ import {
|
|
|
102
102
|
updateContentCategory,
|
|
103
103
|
updateContentTitle,
|
|
104
104
|
writeStoredCollapsedCategories
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-NJTXRGCJ.js";
|
|
106
106
|
import {
|
|
107
107
|
buildDatabaseFileContentUrl,
|
|
108
108
|
deleteDialog,
|
|
@@ -115,7 +115,7 @@ import {
|
|
|
115
115
|
selectMsgById,
|
|
116
116
|
uiAskChoiceFunc,
|
|
117
117
|
uiAskChoiceFunctionSchema
|
|
118
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-MNRZCEYU.js";
|
|
119
119
|
import {
|
|
120
120
|
buildMediaToolConfirmation,
|
|
121
121
|
normalizeMediaConfirmExecutionRevision
|
|
@@ -126,7 +126,7 @@ import {
|
|
|
126
126
|
runLlm,
|
|
127
127
|
streamAgentChatTurn,
|
|
128
128
|
updateAgent
|
|
129
|
-
} from "./chunk-
|
|
129
|
+
} from "./chunk-DD7BZWJ6.js";
|
|
130
130
|
import {
|
|
131
131
|
getCurrentSpaceId,
|
|
132
132
|
getCurrentSpaceIdRaw,
|
|
@@ -302,7 +302,7 @@ import {
|
|
|
302
302
|
DEFAULT_MODEL,
|
|
303
303
|
clampReasoningEffort,
|
|
304
304
|
resolveModelReasoningCapabilityWithCache
|
|
305
|
-
} from "./chunk-
|
|
305
|
+
} from "./chunk-6EQD4AQL.js";
|
|
306
306
|
import {
|
|
307
307
|
isRecord
|
|
308
308
|
} from "./chunk-KUG52IAP.js";
|
|
@@ -1264,7 +1264,7 @@ var buildPlatformFormDataFromArgs = async (args) => {
|
|
|
1264
1264
|
const trimmedModel = toTrimmedString(model);
|
|
1265
1265
|
const trimmedProvider = toTrimmedString(provider);
|
|
1266
1266
|
const modelConfig = await findModelConfig(trimmedModel, trimmedProvider);
|
|
1267
|
-
const { getModelPricing } = await import("./getPricing-
|
|
1267
|
+
const { getModelPricing } = await import("./getPricing-XQ3N3RBP.js");
|
|
1268
1268
|
const normalizedTools = tools ?? [];
|
|
1269
1269
|
const resolvedRuntimeToolPolicy = runtimeToolPolicy ?? (normalizedTools.includes("execShell") ? HOSTED_EXEC_RUNTIME_TOOL_POLICY : void 0);
|
|
1270
1270
|
const formData = {
|
|
@@ -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-U22CFPRN.js");
|
|
3885
3885
|
for (const target of targets) {
|
|
3886
3886
|
try {
|
|
3887
3887
|
await thunkApi.dispatch(deleteDialog2(target.dbKey)).unwrap();
|
|
@@ -18463,7 +18463,7 @@ async function updateDocFunc(args, thunkApi) {
|
|
|
18463
18463
|
updated_at: (/* @__PURE__ */ new Date()).toISOString()
|
|
18464
18464
|
};
|
|
18465
18465
|
await dispatch(write({ data: updatedPageData, customKey: id })).unwrap();
|
|
18466
|
-
const { getDocState, applyExternalDocUpdate } = await import("./docStore-
|
|
18466
|
+
const { getDocState, applyExternalDocUpdate } = await import("./docStore-SS2QUBG6.js");
|
|
18467
18467
|
if (getDocState().pageKey === id) {
|
|
18468
18468
|
applyExternalDocUpdate({
|
|
18469
18469
|
slateData: finalSlateData,
|
|
@@ -18,10 +18,10 @@ import {
|
|
|
18
18
|
import {
|
|
19
19
|
isSubscriptionEndpoint,
|
|
20
20
|
isSubscriptionOAuthCredential
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-EWO77ZGF.js";
|
|
22
22
|
import {
|
|
23
23
|
isAntigravityOAuthAgent
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-SQX235S2.js";
|
|
25
25
|
import {
|
|
26
26
|
getModelAbility
|
|
27
27
|
} from "./chunk-FYYSDHVQ.js";
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
clipMultilineText,
|
|
3
3
|
fetchAndSerializeTable,
|
|
4
4
|
waitForAbortableDelay
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-JPSTJHGJ.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-MNRZCEYU.js";
|
|
25
25
|
import {
|
|
26
26
|
createSpaceKey
|
|
27
27
|
} from "./chunk-UAD2WT54.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getModelContextWindow
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-MGSNS22D.js";
|
|
4
4
|
import {
|
|
5
5
|
isRecord
|
|
6
6
|
} from "./chunk-KUG52IAP.js";
|
|
@@ -854,6 +854,8 @@ var STREAM_USAGE_PROVIDERS = /* @__PURE__ */ new Set([
|
|
|
854
854
|
// kimi-code CLI also sends include_usage). Custom agents pointing at the
|
|
855
855
|
// same endpoint are covered by the endpoint check below, not here.
|
|
856
856
|
"kimi-code",
|
|
857
|
+
// MiniMax 官方 API(api.minimaxi.com):OpenAI 兼容流式端点,支持 stream_options.include_usage。
|
|
858
|
+
"minimax",
|
|
857
859
|
// OpenDesign (open-design.ai) and OpenCode Go (opencode.ai): OpenAI-compatible
|
|
858
860
|
// aggregation / subscription endpoints. Verified to emit terminal usage with
|
|
859
861
|
// prompt_tokens_details.cached_tokens.
|
|
@@ -862,10 +864,22 @@ var STREAM_USAGE_PROVIDERS = /* @__PURE__ */ new Set([
|
|
|
862
864
|
"opencode-go"
|
|
863
865
|
]);
|
|
864
866
|
var KIMI_CODE_ENDPOINT_MARKER = "api.kimi.com";
|
|
867
|
+
function extractHostname(endpoint) {
|
|
868
|
+
try {
|
|
869
|
+
const raw = endpoint.includes("://") ? endpoint : `https://${endpoint}`;
|
|
870
|
+
return new URL(raw).hostname.toLowerCase();
|
|
871
|
+
} catch {
|
|
872
|
+
return null;
|
|
873
|
+
}
|
|
874
|
+
}
|
|
875
|
+
var isMiniMaxEndpoint = (endpoint) => {
|
|
876
|
+
const host = extractHostname(endpoint);
|
|
877
|
+
return host === "api.minimaxi.com" || host === "api.minimax.chat";
|
|
878
|
+
};
|
|
865
879
|
var isSupportedCustomEndpoint = (endpoint) => {
|
|
866
880
|
if (typeof endpoint !== "string") return false;
|
|
867
881
|
const ep = endpoint.toLowerCase();
|
|
868
|
-
return ep.includes(KIMI_CODE_ENDPOINT_MARKER) || ep.includes("open-design.ai") || ep.includes("opencode.ai") || isOllamaEndpoint(endpoint);
|
|
882
|
+
return isMiniMaxEndpoint(endpoint) || ep.includes(KIMI_CODE_ENDPOINT_MARKER) || ep.includes("open-design.ai") || ep.includes("opencode.ai") || isOllamaEndpoint(endpoint);
|
|
869
883
|
};
|
|
870
884
|
var EXTRA_USAGE_FIELD_PROVIDERS = /* @__PURE__ */ new Set(["openrouter"]);
|
|
871
885
|
var normalizeProviderName = (providerName) => asTrimmedLowercaseString(providerName);
|