nolo-cli 0.147.0-alpha.2 → 0.148.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-3OCR5R5P.js → _executeModel-NFJAMAGJ.js} +29 -28
- package/{action-3ZOODRBC.js → action-GI44T4DR.js} +6 -6
- package/{addContentAction-IJHG2ZV7.js → addContentAction-B2DRF7P6.js} +5 -5
- package/{addDialogAgentAction-RLPSTAQ2.js → addDialogAgentAction-2P2FLTLD.js} +4 -4
- package/{agentDeleteCommand-6OGADD24.js → agentDeleteCommand-7IDWF6E3.js} +14 -13
- package/{agentEmailCommands-OAPYGNYC.js → agentEmailCommands-4KW33JII.js} +31 -30
- package/{agentListCommands-FRJZOOEG.js → agentListCommands-IW3GQVUP.js} +16 -15
- package/{agentMachineCommands-OWLOV5WO.js → agentMachineCommands-CMQR4RQ4.js} +14 -13
- package/{agentProviderCommands-TWB6E5WD.js → agentProviderCommands-YK2BIIXZ.js} +1 -1
- package/{agentRecordCommands-BW7HM6VH.js → agentRecordCommands-4YBSYPIY.js} +31 -30
- package/{agentRunCommand-O2F3NU2H.js → agentRunCommand-5MU5X5OT.js} +31 -30
- package/{agentRuntimeLocal-QQCDFR7B.js → agentRuntimeLocal-AK2QVJHY.js} +12 -11
- package/{agentSlice-ZOCKW66S.js → agentSlice-OZ33K224.js} +5 -5
- package/{appDeleteCommands-OGKQC2AM.js → appDeleteCommands-N3XEVVYC.js} +15 -14
- package/{appDeployCommands-Y2FV4JML.js → appDeployCommands-AWFIXYVW.js} +15 -14
- package/{appDeployStatusCommands-FNML5SUV.js → appDeployStatusCommands-CZRON2FO.js} +15 -14
- package/{appGetCommands-4FOY7W5E.js → appGetCommands-XQIUY4TD.js} +15 -14
- package/{appListCommands-E5SF6SIY.js → appListCommands-NNG4H36Y.js} +15 -14
- package/{chatQueueReduxAdapter-DFZ6QB4K.js → chatQueueReduxAdapter-HVHA2HPM.js} +11 -11
- package/{chunk-OXGHM2WW.js → chunk-2JMMBU6V.js} +27 -257
- package/{chunk-T76D3OYX.js → chunk-3SV7RM24.js} +1 -1
- package/{chunk-PZ3HKBET.js → chunk-42Z3EMC4.js} +19 -19
- package/{chunk-O7WXJIUI.js → chunk-4H22P2JV.js} +11 -9
- package/{chunk-BCJPO6SE.js → chunk-523WHFSL.js} +10 -10
- package/{chunk-M2YBIBBS.js → chunk-5TEEECZM.js} +1 -1
- package/{chunk-Z7IZQF56.js → chunk-6FGTMQCL.js} +1 -1
- package/{chunk-ETZWFV6M.js → chunk-7CHC4W22.js} +1 -1
- package/{chunk-ZSPC3ZTC.js → chunk-AKG5W4LG.js} +1 -1
- package/{chunk-CCOXTK3I.js → chunk-ALFH24P3.js} +26 -0
- package/{chunk-7NANRWL4.js → chunk-ALGORS6Y.js} +1 -1
- package/chunk-BKWMNZ2X.js +411 -0
- package/{chunk-HNRASX3X.js → chunk-CPUFH46E.js} +1 -1
- package/{chunk-GMVELWJG.js → chunk-CU3QB4HW.js} +2 -2
- package/{chunk-KRC6GI2Q.js → chunk-DCFPQW22.js} +2 -2
- package/{chunk-LQ6P2MFG.js → chunk-DIXLJWCD.js} +14 -14
- package/{chunk-2EE5UD3N.js → chunk-DY7ANLKG.js} +1 -1
- package/{chunk-36HTQWBD.js → chunk-FWQEKRTD.js} +3 -3
- package/{chunk-I44MDY73.js → chunk-GOH6RW6F.js} +3 -3
- package/chunk-HUFPWXFW.js +1716 -0
- package/{chunk-QALRKMHF.js → chunk-HYZIYH2H.js} +5 -5
- package/{chunk-EFZKILX6.js → chunk-IAESIMK7.js} +1 -1
- package/{chunk-JQ4LUB5I.js → chunk-IAG4FHOJ.js} +1 -1
- package/{chunk-HLUYTEBY.js → chunk-K2CSUCHJ.js} +1 -1
- package/{chunk-UC3Q7X3J.js → chunk-LPVCRQMM.js} +5 -5
- package/{chunk-QJLEMM2V.js → chunk-O2OWEFII.js} +1 -1
- package/{chunk-724HIKHT.js → chunk-OHOVNO7I.js} +4 -127
- package/{chunk-NU4DCNMR.js → chunk-P4BX6FFU.js} +4 -571
- package/{chunk-P4CRULYJ.js → chunk-PCVVZ2MH.js} +3 -3
- package/chunk-PQWU42UQ.js +132 -0
- package/{chunk-27VHPPII.js → chunk-QU5A4LYX.js} +6 -6
- package/{chunk-QIH323EV.js → chunk-QXGPFY6J.js} +1 -1
- package/{chunk-B7ANJQWZ.js → chunk-RSEEDUMS.js} +2 -2
- package/{chunk-ELYEQNUI.js → chunk-RYZINGPM.js} +3 -3
- package/{chunk-AATZZAZE.js → chunk-SLLGJZDT.js} +1 -1
- package/{chunk-3IYMTWYZ.js → chunk-SONWNI3L.js} +2 -2
- package/chunk-T767MPHB.js +681 -0
- package/{chunk-2B74TU77.js → chunk-T7F46O36.js} +3 -3
- package/{chunk-BJUDYFV5.js → chunk-UQNS32WZ.js} +1 -1
- package/{chunk-AUXHZ2M5.js → chunk-WIWM4FE3.js} +1 -1
- package/{chunk-BFLSOVHN.js → chunk-WRMKCKZ3.js} +16 -14
- package/{chunk-YU2THNST.js → chunk-XISEYOGH.js} +1 -1
- package/{chunk-JORF7I7F.js → chunk-YUWMM4US.js} +3 -3
- package/{chunk-D76D3RTR.js → chunk-Z4CSIXYP.js} +2 -2
- package/{commandRegistry-OPVCVVOQ.js → commandRegistry-YOEQUA7T.js} +42 -42
- package/{contentThunks-IWXWFN6P.js → contentThunks-AK2F3KNC.js} +12 -12
- package/{createAgentAutomationAction-ROWX5ZPK.js → createAgentAutomationAction-5EJL6ROU.js} +12 -12
- package/{createDialogAction-WLVAITHA.js → createDialogAction-F5WEWA47.js} +13 -13
- package/{createPageAction-DAJL6GES.js → createPageAction-75ELC64R.js} +12 -12
- package/{dbSlice-HFPIJT5P.js → dbSlice-DQ32LYTJ.js} +4 -4
- package/{deleteFile-UEAD5A5Z.js → deleteFile-NX6QHCWZ.js} +2 -2
- package/{dialogCommands-KSPH6QOU.js → dialogCommands-G7YBVAMC.js} +15 -14
- package/{dialogSlice-WW75BKLO.js → dialogSlice-KSXPGJB2.js} +11 -11
- package/{docCreateCommands-B64BLZVJ.js → docCreateCommands-ZSLGVBZT.js} +14 -13
- package/{docDeleteCommands-UX2GXKUT.js → docDeleteCommands-5N4GVZBG.js} +15 -14
- package/{docReadCommands-5A6GF3XL.js → docReadCommands-YJSAA7AV.js} +14 -13
- package/{docStore-2SADZYLX.js → docStore-AROBVRCR.js} +5 -5
- package/{docUpdateCommands-UTBGZPSR.js → docUpdateCommands-WEMLSW6W.js} +14 -13
- package/{handleSendMessageAction-2M57WHLO.js → handleSendMessageAction-EGNWHAUB.js} +229 -45
- package/index.js +3 -3
- package/{machineCommands-7JUTOZP2.js → machineCommands-ARZYKGGE.js} +30 -29
- package/{machineWsRunDispatch-6EETR3RV.js → machineWsRunDispatch-I7F4L532.js} +30 -29
- package/{memberThunks-SKFZ37VS.js → memberThunks-5ZXPR63F.js} +5 -5
- package/package.json +1 -1
- package/{providerPresetApply-XTEXOH7X.js → providerPresetApply-DD6NGWW6.js} +1 -1
- package/{providerRegistry-ADYDSLKR.js → providerRegistry-XDRLMYGJ.js} +1 -1
- package/{read-IEJLLUXY.js → read-EPTJRAEF.js} +2 -2
- package/{readDocTool-4SPYCP2Y.js → readDocTool-W4NDXNEX.js} +1 -1
- package/{readlineWorkspace-LBLAGNGM.js → readlineWorkspace-3XOFVARF.js} +34 -33
- package/{removeDialogAgentAction-R4RTGM2S.js → removeDialogAgentAction-OSYNZRX7.js} +6 -6
- package/{runAgentClientLoop-RPEULJFS.js → runAgentClientLoop-UMF7VZYZ.js} +30 -28
- package/{setDialogExtraReferencesAction-NU2VZ7JZ.js → setDialogExtraReferencesAction-M32UYNCG.js} +5 -5
- package/{setPrimaryDialogAgentAction-VUY2FRVL.js → setPrimaryDialogAgentAction-WZ7KI3YA.js} +6 -6
- package/{settingSlice-CNE75ISY.js → settingSlice-Q6EKL7EQ.js} +5 -5
- package/{spaceCommands-HZUAGZXH.js → spaceCommands-UJOVU4XI.js} +14 -13
- package/{streamAgentChatTurn-D5POCPVX.js → streamAgentChatTurn-GYGMYOSM.js} +71 -1268
- package/{switchDialogAgentAction-JC27CP72.js → switchDialogAgentAction-GMR7WN3P.js} +4 -4
- package/{tools-I6D2B2G6.js → tools-DU4JXVAV.js} +21 -21
- package/{tuiSummaryLlmCaller-RVW6CJSK.js → tuiSummaryLlmCaller-3YFNHCTW.js} +7 -7
- package/{updateDialogTitleAction-7YZ7FNAK.js → updateDialogTitleAction-4U5W4AMH.js} +12 -12
- package/chunk-BJ3KD73I.js +0 -155
- package/chunk-JK5XW3NO.js +0 -108
- package/chunk-YYKMFBK7.js +0 -306
|
@@ -11,10 +11,10 @@ import {
|
|
|
11
11
|
} from "./chunk-6O4IK4V2.js";
|
|
12
12
|
import {
|
|
13
13
|
runLlm
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-LPVCRQMM.js";
|
|
15
15
|
import {
|
|
16
16
|
cleanupCliSessionForDialog
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-Z4CSIXYP.js";
|
|
18
18
|
import {
|
|
19
19
|
getActiveDialogAgentId,
|
|
20
20
|
getDialogAgentIds,
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
getModelInfo,
|
|
59
59
|
normalizeUsage,
|
|
60
60
|
resolveAutoExecutionProfile
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-AKG5W4LG.js";
|
|
62
62
|
import {
|
|
63
63
|
COMPACTION_SUMMARY_SYSTEM_PROMPT,
|
|
64
64
|
buildCompactionMetricsFromPlan,
|
|
@@ -69,7 +69,7 @@ import {
|
|
|
69
69
|
normalizeAssistantContentBuffer,
|
|
70
70
|
planCompression,
|
|
71
71
|
serializeMessageContent
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-RYZINGPM.js";
|
|
73
73
|
import {
|
|
74
74
|
toErrorMessage
|
|
75
75
|
} from "./chunk-HNMXYYJR.js";
|
|
@@ -98,7 +98,7 @@ import {
|
|
|
98
98
|
remove,
|
|
99
99
|
selectById,
|
|
100
100
|
write
|
|
101
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-HYZIYH2H.js";
|
|
102
102
|
import {
|
|
103
103
|
buildDialogAgentListIndexDeleteOps,
|
|
104
104
|
createDialogMessageKeyAndId,
|
|
@@ -125,7 +125,7 @@ import {
|
|
|
125
125
|
getRuntimeServerContext,
|
|
126
126
|
parseOwnerUserIdFromDbKey,
|
|
127
127
|
scheduleDeleteReplication
|
|
128
|
-
} from "./chunk-
|
|
128
|
+
} from "./chunk-WIWM4FE3.js";
|
|
129
129
|
import {
|
|
130
130
|
createClientLogger,
|
|
131
131
|
isAbortError
|
|
@@ -23949,7 +23949,7 @@ var messageSlice = createSliceWithThunks({
|
|
|
23949
23949
|
runtimeOptions: args.runtimeOptions
|
|
23950
23950
|
});
|
|
23951
23951
|
if (agentKeyToUse) {
|
|
23952
|
-
const { streamAgentChatTurn } = await import("./agentSlice-
|
|
23952
|
+
const { streamAgentChatTurn } = await import("./agentSlice-OZ33K224.js");
|
|
23953
23953
|
await dispatch(
|
|
23954
23954
|
streamAgentChatTurn({
|
|
23955
23955
|
agentKey: agentKeyToUse,
|
|
@@ -25023,7 +25023,7 @@ var deleteOwnedDialogAttachments = async (args) => {
|
|
|
25023
25023
|
metadataReadFailures
|
|
25024
25024
|
});
|
|
25025
25025
|
if (!plan.deleteCandidates.length) return plan;
|
|
25026
|
-
const { deleteFileAction } = await import("./deleteFile-
|
|
25026
|
+
const { deleteFileAction } = await import("./deleteFile-NX6QHCWZ.js");
|
|
25027
25027
|
for (const candidate of plan.deleteCandidates) {
|
|
25028
25028
|
if (candidate.fileDbKey) {
|
|
25029
25029
|
await deleteFileAction(candidate.fileDbKey, args.thunkApi);
|
|
@@ -25085,7 +25085,7 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
25085
25085
|
}
|
|
25086
25086
|
if (isCurrentDialog) {
|
|
25087
25087
|
await thunkApi.dispatch(resetMsgs());
|
|
25088
|
-
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-
|
|
25088
|
+
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-KSXPGJB2.js");
|
|
25089
25089
|
dispatch(clearPendingAttachments2());
|
|
25090
25090
|
}
|
|
25091
25091
|
return { dialogKey, isCurrentDialog, attachmentPlan };
|
|
@@ -25093,39 +25093,39 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
25093
25093
|
|
|
25094
25094
|
// packages/chat/dialog/dialogSlice.ts
|
|
25095
25095
|
var runCreateDialogAction = async (args, thunkApi) => {
|
|
25096
|
-
const { createDialogAction } = await import("./createDialogAction-
|
|
25096
|
+
const { createDialogAction } = await import("./createDialogAction-F5WEWA47.js");
|
|
25097
25097
|
return createDialogAction(args, thunkApi);
|
|
25098
25098
|
};
|
|
25099
25099
|
var runCreateAgentAutomationAction = async (args, thunkApi) => {
|
|
25100
|
-
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-
|
|
25100
|
+
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-5EJL6ROU.js");
|
|
25101
25101
|
return createAgentAutomationAction(args, thunkApi);
|
|
25102
25102
|
};
|
|
25103
25103
|
var runUpdateDialogTitleAction = async (args, thunkApi) => {
|
|
25104
|
-
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-
|
|
25104
|
+
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-4U5W4AMH.js");
|
|
25105
25105
|
return updateDialogTitleAction(args, thunkApi);
|
|
25106
25106
|
};
|
|
25107
25107
|
var runAddDialogAgentAction = async (args, thunkApi) => {
|
|
25108
|
-
const { addDialogAgentAction } = await import("./addDialogAgentAction-
|
|
25108
|
+
const { addDialogAgentAction } = await import("./addDialogAgentAction-2P2FLTLD.js");
|
|
25109
25109
|
return addDialogAgentAction(args, thunkApi);
|
|
25110
25110
|
};
|
|
25111
25111
|
var runRemoveDialogAgentAction = async (args, thunkApi) => {
|
|
25112
|
-
const { removeDialogAgentAction } = await import("./removeDialogAgentAction-
|
|
25112
|
+
const { removeDialogAgentAction } = await import("./removeDialogAgentAction-OSYNZRX7.js");
|
|
25113
25113
|
return removeDialogAgentAction(args, thunkApi);
|
|
25114
25114
|
};
|
|
25115
25115
|
var runSetPrimaryDialogAgentAction = async (args, thunkApi) => {
|
|
25116
|
-
const { setPrimaryDialogAgentAction } = await import("./setPrimaryDialogAgentAction-
|
|
25116
|
+
const { setPrimaryDialogAgentAction } = await import("./setPrimaryDialogAgentAction-WZ7KI3YA.js");
|
|
25117
25117
|
return setPrimaryDialogAgentAction(args, thunkApi);
|
|
25118
25118
|
};
|
|
25119
25119
|
var runSwitchDialogAgentAction = async (args, thunkApi) => {
|
|
25120
|
-
const { switchDialogAgentAction } = await import("./switchDialogAgentAction-
|
|
25120
|
+
const { switchDialogAgentAction } = await import("./switchDialogAgentAction-GMR7WN3P.js");
|
|
25121
25121
|
return switchDialogAgentAction(args, thunkApi);
|
|
25122
25122
|
};
|
|
25123
25123
|
var runSetDialogExtraReferencesAction = async (args, thunkApi) => {
|
|
25124
|
-
const { setDialogExtraReferencesAction } = await import("./setDialogExtraReferencesAction-
|
|
25124
|
+
const { setDialogExtraReferencesAction } = await import("./setDialogExtraReferencesAction-M32UYNCG.js");
|
|
25125
25125
|
return setDialogExtraReferencesAction(args, thunkApi);
|
|
25126
25126
|
};
|
|
25127
25127
|
var runHandleSendMessageAction = async (args, thunkApi) => {
|
|
25128
|
-
const { handleSendMessageAction } = await import("./handleSendMessageAction-
|
|
25128
|
+
const { handleSendMessageAction } = await import("./handleSendMessageAction-EGNWHAUB.js");
|
|
25129
25129
|
return handleSendMessageAction(args, thunkApi);
|
|
25130
25130
|
};
|
|
25131
25131
|
function clearDialogState() {
|
|
@@ -25138,7 +25138,7 @@ var createPageAndAddReference = createAsyncThunk(
|
|
|
25138
25138
|
async (payload, { dispatch, getState, rejectWithValue }) => {
|
|
25139
25139
|
const { slateData, jsonData, title, type, fileId, groupId, dialogKey } = payload;
|
|
25140
25140
|
try {
|
|
25141
|
-
const { createDocState } = await import("./docStore-
|
|
25141
|
+
const { createDocState } = await import("./docStore-AROBVRCR.js");
|
|
25142
25142
|
const pageKey = await createDocState(
|
|
25143
25143
|
{ slateData, title },
|
|
25144
25144
|
{ dispatch, getState }
|
|
@@ -11,25 +11,27 @@ import {
|
|
|
11
11
|
flushChatCompletionStream,
|
|
12
12
|
providerHttpFailure,
|
|
13
13
|
throwIfChatCompletionStreamFailed
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-QXGPFY6J.js";
|
|
15
15
|
import {
|
|
16
16
|
readSseFrames
|
|
17
17
|
} from "./chunk-GMZLP5DV.js";
|
|
18
18
|
import {
|
|
19
|
-
clipToolText,
|
|
20
19
|
hasImageInRuntimeMessages,
|
|
21
20
|
resolveAgentContextWindow,
|
|
22
|
-
resolveAgentImageInputSupport,
|
|
23
|
-
resolveHistoricalToolContentCap,
|
|
24
|
-
resolveToolOutputProfile,
|
|
25
21
|
stripImagePartsFromMessages
|
|
26
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-OHOVNO7I.js";
|
|
27
23
|
import {
|
|
28
24
|
downgradeUnparsableToolCalls,
|
|
29
25
|
hasParsableObjectArguments,
|
|
30
26
|
repairTruncatedToolArguments,
|
|
31
27
|
sanitizeForOutbound
|
|
32
28
|
} from "./chunk-CQ3WA2NE.js";
|
|
29
|
+
import {
|
|
30
|
+
clipToolText,
|
|
31
|
+
resolveAgentImageInputSupport,
|
|
32
|
+
resolveHistoricalToolContentCap,
|
|
33
|
+
resolveToolOutputProfile
|
|
34
|
+
} from "./chunk-PQWU42UQ.js";
|
|
33
35
|
import {
|
|
34
36
|
buildDialogFallbackTitleFromUserInput
|
|
35
37
|
} from "./chunk-2MBTWINN.js";
|
|
@@ -53,7 +55,7 @@ import {
|
|
|
53
55
|
requiresBareImageUrl,
|
|
54
56
|
resolveToolGuidedSections,
|
|
55
57
|
toBareImageUrlMessages
|
|
56
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-K2CSUCHJ.js";
|
|
57
59
|
import {
|
|
58
60
|
convertMessagesToResponsesInput,
|
|
59
61
|
extractReasoningFromResponseOutput,
|
|
@@ -93,7 +95,7 @@ import {
|
|
|
93
95
|
resolveEmptyAssistantFallbackMessage,
|
|
94
96
|
resolveEmptyAssistantOutcome,
|
|
95
97
|
resolveTruncatedReasoningTailLog
|
|
96
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-AKG5W4LG.js";
|
|
97
99
|
import {
|
|
98
100
|
COMPACTION_SUMMARY_SCHEMA_VERSION,
|
|
99
101
|
COMPACTION_SUMMARY_SYSTEM_PROMPT,
|
|
@@ -112,7 +114,7 @@ import {
|
|
|
112
114
|
resolveCompressionTriggerRatio,
|
|
113
115
|
truncateToolOutputForContext,
|
|
114
116
|
withProviderCallTimingFields
|
|
115
|
-
} from "./chunk-
|
|
117
|
+
} from "./chunk-RYZINGPM.js";
|
|
116
118
|
import {
|
|
117
119
|
estimateTokenCount
|
|
118
120
|
} from "./chunk-PSCNXBYA.js";
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
t,
|
|
29
29
|
toolLabel,
|
|
30
30
|
toolLabelVariants
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-WRMKCKZ3.js";
|
|
32
32
|
import {
|
|
33
33
|
clearCredentialAvailability,
|
|
34
34
|
readCredentialEntry,
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
import {
|
|
44
44
|
readDbRecord,
|
|
45
45
|
resolveAgentRecordFromHybridStore
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-ALGORS6Y.js";
|
|
47
47
|
import {
|
|
48
48
|
isLocalCliAgentKey
|
|
49
49
|
} from "./chunk-SV5IJK6K.js";
|
|
@@ -75,7 +75,7 @@ import {
|
|
|
75
75
|
} from "./chunk-LTRXGFMS.js";
|
|
76
76
|
import {
|
|
77
77
|
formatAgentListCard
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-2JMMBU6V.js";
|
|
79
79
|
import {
|
|
80
80
|
isTransientFetchError
|
|
81
81
|
} from "./chunk-5UTFL4QJ.js";
|
|
@@ -96,11 +96,11 @@ import {
|
|
|
96
96
|
chooseMemoryOwners,
|
|
97
97
|
loadMemoryCandidatesFromDb,
|
|
98
98
|
resolveAgentMemoryPolicy
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-PCVVZ2MH.js";
|
|
100
100
|
import {
|
|
101
101
|
API_REPORTED_COST_MULTIPLIER,
|
|
102
102
|
parseUiAskChoiceContent
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-42Z3EMC4.js";
|
|
104
104
|
import {
|
|
105
105
|
isOAuthApiKeyRef
|
|
106
106
|
} from "./chunk-YYLHWIW6.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-4H22P2JV.js";
|
|
119
119
|
import {
|
|
120
120
|
resolveAgentRuntimeConfigFromRecord
|
|
121
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-OHOVNO7I.js";
|
|
122
122
|
import {
|
|
123
123
|
createThinkParserState,
|
|
124
124
|
flushThinkParser,
|
|
@@ -142,10 +142,10 @@ import {
|
|
|
142
142
|
DEFAULT_CONTEXT_WINDOW,
|
|
143
143
|
getModelContextWindow,
|
|
144
144
|
normalizeUsage
|
|
145
|
-
} from "./chunk-
|
|
145
|
+
} from "./chunk-AKG5W4LG.js";
|
|
146
146
|
import {
|
|
147
147
|
clipCompactText
|
|
148
|
-
} from "./chunk-
|
|
148
|
+
} from "./chunk-RYZINGPM.js";
|
|
149
149
|
import {
|
|
150
150
|
compactWhitespace
|
|
151
151
|
} from "./chunk-DWLEOOGR.js";
|
|
@@ -10739,7 +10739,7 @@ function findCollapsedPasteSpanAt(buffer, pos, opts = {}) {
|
|
|
10739
10739
|
// packages/cli/client/agentRun.ts
|
|
10740
10740
|
import { ulid as ulid2 } from "ulid";
|
|
10741
10741
|
async function loadRunLocalAgentTurn() {
|
|
10742
|
-
const { runLocalAgentTurn } = await import("./agentRuntimeLocal-
|
|
10742
|
+
const { runLocalAgentTurn } = await import("./agentRuntimeLocal-AK2QVJHY.js");
|
|
10743
10743
|
return runLocalAgentTurn;
|
|
10744
10744
|
}
|
|
10745
10745
|
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();
|
|
@@ -267,6 +267,17 @@ var STEPFUN_STEP_PLAN_MODEL_OPTIONS = stepfunStepPlanModels.map((m, i) => ({
|
|
|
267
267
|
hasVision: m.hasVision,
|
|
268
268
|
...i === 0 ? { recommended: true } : {}
|
|
269
269
|
}));
|
|
270
|
+
var TOGETHER_MODEL_OPTIONS = [
|
|
271
|
+
{
|
|
272
|
+
id: "meta-llama/Llama-3.3-70B-Instruct-Turbo",
|
|
273
|
+
label: "Llama 3.3 70B Instruct Turbo",
|
|
274
|
+
recommended: true
|
|
275
|
+
},
|
|
276
|
+
{ id: "deepseek-ai/DeepSeek-V4-Pro-0813", label: "DeepSeek V4 Pro" },
|
|
277
|
+
{ id: "Qwen/Qwen3.6-Plus", label: "Qwen3.6 Plus" },
|
|
278
|
+
{ id: "zai-org/GLM-5.2", label: "GLM-5.2" },
|
|
279
|
+
{ id: "openai/gpt-oss-120b", label: "GPT-OSS 120B" }
|
|
280
|
+
];
|
|
270
281
|
var SUBSCRIPTION_OAUTH_PROVIDERS = [
|
|
271
282
|
{
|
|
272
283
|
kind: "oauth",
|
|
@@ -672,6 +683,21 @@ var CUSTOM_API_KEY_TEMPLATES = [
|
|
|
672
683
|
defaultModel: "MiniMax-Text-01",
|
|
673
684
|
commercialKind: "api",
|
|
674
685
|
accessVariant: "metered_key"
|
|
686
|
+
},
|
|
687
|
+
// Together AI 平台:用户自带 Key 的 metered 通道(复用 OpenAI-compatible 通道,
|
|
688
|
+
// apiSource:"custom",不扣平台积分)。模型 ID 为 namespaced 全 ID,直传不 remap;
|
|
689
|
+
// OpenAI 兼容 base_url = https://api.together.ai/v1(官方兼容文档在案)。
|
|
690
|
+
{
|
|
691
|
+
kind: "api_key_template",
|
|
692
|
+
id: "together-api",
|
|
693
|
+
label: "Together AI API \u7528\u91CF\u8BA1\u8D39",
|
|
694
|
+
description: "Together AI\uFF08OpenAI \u517C\u5BB9\uFF0C\u6309\u91CF\u8BA1\u8D39\uFF09",
|
|
695
|
+
provider: "together",
|
|
696
|
+
baseUrl: "https://api.together.ai/v1",
|
|
697
|
+
defaultModel: "meta-llama/Llama-3.3-70B-Instruct-Turbo",
|
|
698
|
+
modelOptions: TOGETHER_MODEL_OPTIONS,
|
|
699
|
+
commercialKind: "api",
|
|
700
|
+
accessVariant: "metered_key"
|
|
675
701
|
}
|
|
676
702
|
];
|
|
677
703
|
var ALL_PROVIDER_REGISTRY = [
|
|
@@ -523,7 +523,7 @@ async function buildCreatedAgentRecord(args) {
|
|
|
523
523
|
const resolvedAgentInput = resolveCliAgentKeyInput(args.parsed.agentInput);
|
|
524
524
|
const agentKey = resolvedAgentInput.startsWith("agent-") ? resolvedAgentInput : createAgentKey.private(userId || "local", resolvedAgentInput);
|
|
525
525
|
if (args.parsed.presetId) {
|
|
526
|
-
const { resolveProviderPresetFields } = await import("./providerPresetApply-
|
|
526
|
+
const { resolveProviderPresetFields } = await import("./providerPresetApply-DD6NGWW6.js");
|
|
527
527
|
const fields = resolveProviderPresetFields(args.parsed.presetId);
|
|
528
528
|
if (fields.kind === "manual") {
|
|
529
529
|
throw new Error(
|