nolo-cli 0.89.0-alpha.1 → 0.90.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/README.md +2 -2
- package/{_executeModel-I3XRMAJ2.js → _executeModel-W26HVI75.js} +38 -38
- package/{action-7GHFPDSQ.js → action-6DXQGJMX.js} +7 -7
- package/{addContentAction-ZNVB2NOV.js → addContentAction-I7VX5SAC.js} +5 -5
- package/{addDialogAgentAction-CIDFWATM.js → addDialogAgentAction-OJSFV7DZ.js} +4 -4
- package/{agentDeleteCommand-DCTG26JW.js → agentDeleteCommand-XNFWCKBH.js} +24 -23
- package/{agentEmailCommands-MRRHBLDQ.js → agentEmailCommands-W3X3EJ3V.js} +50 -49
- package/{agentGrantCommands-R3VQEZJR.js → agentGrantCommands-YW6PQAQ2.js} +2 -2
- package/{agentListCommands-CUE46CSP.js → agentListCommands-DFWFU6XO.js} +32 -25
- package/{agentMachineCommands-FYDEKBIO.js → agentMachineCommands-LMFOAEL4.js} +24 -23
- package/{agentProviderCommands-X3FA6BUM.js → agentProviderCommands-ZBYHGTGY.js} +1 -1
- package/{agentPullCommand-U73W5IBM.js → agentPullCommand-GLOOXJ2E.js} +2 -2
- package/{agentRecordCommands-P2MSNP7R.js → agentRecordCommands-FVVVCQFM.js} +48 -47
- package/{agentRunCommand-QJGP7JEN.js → agentRunCommand-HTBVIBGV.js} +49 -48
- package/{agentRunControl-T44MESII.js → agentRunControl-XLGD3UZ5.js} +1 -1
- package/{agentRuntimeLocal-T43UNWAY.js → agentRuntimeLocal-2JFG4HDU.js} +20 -19
- package/{agentSlice-7GDS5Q2S.js → agentSlice-ZNLGFUB5.js} +5 -5
- package/{appDeleteCommands-YBKY3VEI.js → appDeleteCommands-2UN4N2NR.js} +25 -24
- package/{appDeployCommands-EBC76HO4.js → appDeployCommands-37D74KRR.js} +25 -24
- package/{appDeployStatusCommands-WXRC5KEK.js → appDeployStatusCommands-QBLWL2IA.js} +25 -24
- package/{appGetCommands-VZZQEDOV.js → appGetCommands-6KXIDF2T.js} +25 -24
- package/{appListCommands-HYSPVQ77.js → appListCommands-G2WFGEWQ.js} +25 -24
- package/{authCommand-E4GDVKMW.js → authCommand-V2DJ7DB7.js} +84 -18
- package/{authCommands-VOTT6XWX.js → authCommands-RGOGCPP6.js} +2 -2
- package/{builtinSkillRegistry-5SYVTS6Z.js → builtinSkillRegistry-WBGYKIAZ.js} +5 -5
- package/{chatQueueReduxAdapter-CXEWIDFZ.js → chatQueueReduxAdapter-XCJHIY3R.js} +17 -17
- package/{chunk-P3AS5IPM.js → chunk-2ADBVBEM.js} +3 -2
- package/{chunk-GRJTR4PU.js → chunk-2AYMFHUG.js} +4 -4
- package/{chunk-UO66QKGI.js → chunk-2F4VYGFW.js} +2 -2
- package/{chunk-LEYH5NOH.js → chunk-3CMTBX3X.js} +4 -4
- package/{chunk-GXWEF4IZ.js → chunk-3CR2LC6X.js} +1 -1
- package/{chunk-ZKGIAM7I.js → chunk-3R5PH4IP.js} +1 -1
- package/{chunk-VW3YGKWR.js → chunk-4BYPU626.js} +294 -203
- package/{chunk-PHDKTASK.js → chunk-4DRWWIOL.js} +1 -1
- package/{chunk-BNMZ7QUV.js → chunk-576IMUGH.js} +1 -1
- package/{chunk-AYT2OKNM.js → chunk-5DFFKASO.js} +3 -3
- package/{chunk-Q246OUG5.js → chunk-5NMZNPTN.js} +5 -5
- package/{chunk-5XTOKQLW.js → chunk-5UTFL4QJ.js} +6 -2
- package/{chunk-6RCZYDDC.js → chunk-5V4NJHRM.js} +6 -6
- package/chunk-5ZUL4CUO.js +10 -0
- package/{chunk-US463UAD.js → chunk-6BEA566T.js} +2 -2
- package/{chunk-UINEAQ2R.js → chunk-6D6VBVEW.js} +1 -1
- package/{chunk-JC2WQS66.js → chunk-7MYYE7WX.js} +20 -16
- package/{chunk-3T4PRBHV.js → chunk-A2C4AKKM.js} +1 -1
- package/{chunk-6ZC5KPXV.js → chunk-AQZRTHDZ.js} +903 -40
- package/{chunk-UWMQ6FPM.js → chunk-ASGDO77C.js} +118 -1
- package/{chunk-2KDR4CWE.js → chunk-BYMV6QZG.js} +24 -1
- package/{chunk-XCSSFPTB.js → chunk-CLI4LFSM.js} +1 -1
- package/{chunk-HH65VA5U.js → chunk-CPH3W5A7.js} +15 -3
- package/{chunk-TGRQUFLU.js → chunk-DNQPPRHY.js} +1 -1
- package/{chunk-2XEVK4BT.js → chunk-DPQ2WVBY.js} +1 -1
- package/{chunk-OCL2YCAU.js → chunk-F2CGG72C.js} +40 -40
- package/{chunk-S6STPUMG.js → chunk-FQYMLZ6C.js} +5 -5
- package/{chunk-BJIRLHJR.js → chunk-GII32WZW.js} +1 -0
- package/{chunk-VARZWSKW.js → chunk-GRYGRGPS.js} +3 -3
- package/{chunk-L2VNQQ7M.js → chunk-HMEMJ7GH.js} +364 -24
- package/{chunk-OZX2IPKM.js → chunk-HQCSU3DI.js} +1 -1
- package/{chunk-VQD6BTML.js → chunk-HYZHJ5GW.js} +3 -3
- package/{chunk-OAJRZ35U.js → chunk-IIKPWSPX.js} +1 -1
- package/{chunk-W7PGACND.js → chunk-JBBZ5KUM.js} +10 -10
- package/{chunk-KC5FAHVS.js → chunk-JEDZAO7L.js} +1 -1
- package/{chunk-LSV2BOJL.js → chunk-JTK3TJYV.js} +1 -1
- package/{chunk-X77EN2BJ.js → chunk-K7M3MWCE.js} +2 -2
- package/{chunk-OHUU52T3.js → chunk-L2ICPOAL.js} +1 -1
- package/{chunk-EVBFYPDC.js → chunk-MC4XLIJ7.js} +6 -2
- package/{chunk-DS3SQTDT.js → chunk-MJHQ3NRV.js} +1 -1
- package/{chunk-Q4KVAB6L.js → chunk-N3OAPEZE.js} +28 -9
- package/{chunk-T4F2EQGN.js → chunk-ND2J3NRB.js} +2 -2
- package/{chunk-IMDA4FW4.js → chunk-NFMHIUY3.js} +61 -46
- package/{chunk-JITSBA52.js → chunk-PH5J5VUY.js} +2 -2
- package/{chunk-FMODTASJ.js → chunk-Q5FJJ6XI.js} +1 -7
- package/{chunk-JYYZCK2Z.js → chunk-QFMFJZLO.js} +1 -1
- package/{chunk-WSOMSDQB.js → chunk-QHETQ3KI.js} +35 -1
- package/{chunk-IZAWJCG7.js → chunk-RZANZZL2.js} +1 -1
- package/{chunk-SPAQ4PVV.js → chunk-SAFZABH7.js} +1 -1
- package/{chunk-EXWOCYCR.js → chunk-SMZSWB44.js} +10 -5
- package/{chunk-HJKGQPYF.js → chunk-TL6L5XUT.js} +1 -1
- package/{chunk-4FRNB4ZG.js → chunk-TVNI5FLG.js} +4 -4
- package/{chunk-5EJZGJS2.js → chunk-UA5S3LQQ.js} +3 -3
- package/{chunk-Y2IFJ7VM.js → chunk-UTCCPWB2.js} +3 -3
- package/{chunk-KT6LENVP.js → chunk-VHJLQHPQ.js} +2 -2
- package/{chunk-6H7GN3JL.js → chunk-VRLI2WNW.js} +10 -1
- package/{chunk-23RQKXP6.js → chunk-WS22FPWT.js} +1 -1
- package/{chunk-NVHJWYUO.js → chunk-WXPVOQD7.js} +35 -33
- package/{chunk-MFW4BGJS.js → chunk-XKQJJK4F.js} +1 -1
- package/{chunk-GIG262ZG.js → chunk-XMGHGEN6.js} +1 -1
- package/{chunk-IO7DYRPW.js → chunk-XTUY5EL4.js} +16 -12
- package/{chunk-OKCTLCKS.js → chunk-YOXYA2GU.js} +1 -1
- package/{chunk-ZIHJVHFH.js → chunk-Z33ARZCP.js} +1 -1
- package/{chunk-ZSG2AQU4.js → chunk-ZAB3A45K.js} +62 -11
- package/{chunk-YZHP76TR.js → chunk-ZBT3WNBK.js} +1 -1
- package/{contentThunks-Y2ACIFDB.js → contentThunks-VURN3DFW.js} +18 -18
- package/{createAgentAutomationAction-TNE3QMJR.js → createAgentAutomationAction-QZAAY77R.js} +18 -18
- package/{createDialogAction-BMGHBTQB.js → createDialogAction-CHGXVTAC.js} +20 -20
- package/{createPageAction-FFNIZPIS.js → createPageAction-IOGAFIN7.js} +18 -18
- package/{dbSlice-4CUQE35F.js → dbSlice-YXQ6RYIH.js} +4 -4
- package/{dialogCommands-3JC3BIXC.js → dialogCommands-XREAP6WQ.js} +26 -25
- package/{dialogSlice-3E7Z7HZV.js → dialogSlice-DOPGWGS4.js} +17 -17
- package/{docCreateCommands-6LNQLCTA.js → docCreateCommands-3PYZGSCL.js} +24 -23
- package/{docDeleteCommands-ZJOAPWZS.js → docDeleteCommands-3Y6MU44Q.js} +25 -24
- package/{docReadCommands-LJTRSBG6.js → docReadCommands-UBANMAFR.js} +24 -23
- package/{docStore-R47ABXBB.js → docStore-SYYFBENY.js} +5 -5
- package/{docUpdateCommands-7P3QF3N2.js → docUpdateCommands-4GK2X6BN.js} +24 -23
- package/{getPricing-TV6ZB7ES.js → getPricing-F2C65RIX.js} +3 -3
- package/{handleSendMessageAction-FFYOGXAO.js → handleSendMessageAction-NPVTY2GE.js} +17 -17
- package/index.js +81 -81
- package/{machineCommands-FN5GGQV3.js → machineCommands-I66X2XB7.js} +47 -46
- package/{machineWsRunDispatch-H47IA7ZT.js → machineWsRunDispatch-W4FVBOUM.js} +47 -46
- package/{memberThunks-N35XAOC6.js → memberThunks-5T4J6KXQ.js} +5 -5
- package/{models-CMXFDBQH.js → models-WW7VFNXB.js} +2 -2
- package/{offlineMarxistsAgentCommand-GEH6SNNA.js → offlineMarxistsAgentCommand-JEWCIAWM.js} +1 -1
- package/package.json +1 -1
- package/{providerPresetApply-D2GGHPI7.js → providerPresetApply-OCWWKBSD.js} +6 -6
- package/{providerRegistry-MU6C4ABD.js → providerRegistry-ZJQU7AJ7.js} +6 -6
- package/{read-2PV4PN2E.js → read-M2Q6WEKB.js} +3 -3
- package/{readDocTool-FGK5XGAW.js → readDocTool-T37P3YPB.js} +1 -1
- package/{readlineWorkspace-NXKHYZEU.js → readlineWorkspace-VY5AMOGR.js} +123 -91
- package/{removeDialogAgentAction-O2POGBOE.js → removeDialogAgentAction-HB3JBVAI.js} +7 -7
- package/{runAgentClientLoop-CEBV5UPD.js → runAgentClientLoop-3NDADLVE.js} +36 -36
- package/{setDialogExtraReferencesAction-KPSVVY3C.js → setDialogExtraReferencesAction-4XLHRV37.js} +5 -5
- package/{setPrimaryDialogAgentAction-RMJETONI.js → setPrimaryDialogAgentAction-C3JOFC4W.js} +7 -7
- package/{settingSlice-I6MTTNDX.js → settingSlice-CZRURSTH.js} +6 -6
- package/{spaceCommands-JHT4ALCQ.js → spaceCommands-ENYCUUZH.js} +24 -23
- package/{streamAgentChatTurn-SFCZP4GY.js → streamAgentChatTurn-634OFUSR.js} +44 -42
- package/{switchDialogAgentAction-OQSGWVQQ.js → switchDialogAgentAction-C6KVUKJP.js} +4 -4
- package/{tableCommands-SUNTHAYX.js → tableCommands-O6NWHFKV.js} +1 -1
- package/{toolApiClient-VGYUB4P5.js → toolApiClient-7PSIFQPJ.js} +2 -2
- package/{tools-K3YOTESV.js → tools-ILBLCF7D.js} +33 -33
- package/tuiSummaryLlmCaller-LFUBZKXK.js +127 -0
- package/{updateCommands-Y363MC3L.js → updateCommands-2M74UL7P.js} +2 -2
- package/{updateDialogTitleAction-CSPKYQRO.js → updateDialogTitleAction-RKFET73N.js} +38 -21
- package/tuiSummaryLlmCaller-T2OA5ZVB.js +0 -116
|
@@ -1,7 +1,13 @@
|
|
|
1
|
+
import {
|
|
2
|
+
isDevinOAuthAgent
|
|
3
|
+
} from "./chunk-5ZUL4CUO.js";
|
|
4
|
+
import {
|
|
5
|
+
getModelContextWindow
|
|
6
|
+
} from "./chunk-F2CGG72C.js";
|
|
1
7
|
import {
|
|
2
8
|
findModelConfig,
|
|
3
9
|
getProviderByModelName
|
|
4
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-VRLI2WNW.js";
|
|
5
11
|
import {
|
|
6
12
|
asOptionalFiniteNumber
|
|
7
13
|
} from "./chunk-WWC7I6TA.js";
|
|
@@ -120,6 +126,33 @@ async function stripImagePartsForTextOnlyAgent(messages, agentConfig) {
|
|
|
120
126
|
return { messages: !supportsVision && hasImages ? stripImagePartsFromMessages(messages) : messages };
|
|
121
127
|
}
|
|
122
128
|
|
|
129
|
+
// packages/agent-runtime/devin/devinChannelWindows.ts
|
|
130
|
+
var DEVIN_CHANNEL_CONTEXT_WINDOWS = {
|
|
131
|
+
// SWE-2 家族(catalog 无裸 swe-2 selector;旧点号/裸写法如 swe-2、
|
|
132
|
+
// swe-1.7 实测均 permission_denied,已不是可用 selector)。
|
|
133
|
+
"swe-2-max": 262e3,
|
|
134
|
+
"swe-2-high": 262e3,
|
|
135
|
+
"swe-2-medium": 262e3,
|
|
136
|
+
// SWE-1.7 家族。
|
|
137
|
+
"swe-1-7": 262e3,
|
|
138
|
+
"swe-1-7-medium": 262e3,
|
|
139
|
+
"swe-1-7-lightning": 202752,
|
|
140
|
+
// SWE-1.6 家族(免费档默认)。
|
|
141
|
+
"swe-1-6": 2e5,
|
|
142
|
+
"swe-1-6-fast": 2e5,
|
|
143
|
+
// 经 devin 通道转售、且与厂商原生窗口不同的模型(catalog 枚举型 selector)。
|
|
144
|
+
"MODEL_GPT_5_2_LOW": 384e3,
|
|
145
|
+
"MODEL_GPT_5_2_MEDIUM": 384e3,
|
|
146
|
+
"MODEL_GPT_5_2_HIGH": 384e3,
|
|
147
|
+
"MODEL_GPT_5_2_XHIGH": 384e3
|
|
148
|
+
};
|
|
149
|
+
var devinChannelContextWindow = (model) => {
|
|
150
|
+
const raw = model?.trim();
|
|
151
|
+
if (!raw) return void 0;
|
|
152
|
+
return DEVIN_CHANNEL_CONTEXT_WINDOWS[raw];
|
|
153
|
+
};
|
|
154
|
+
var resolveAgentContextWindow = (agent) => (isDevinOAuthAgent(agent) ? devinChannelContextWindow(agent.model) : void 0) ?? getModelContextWindow(agent.model ?? "");
|
|
155
|
+
|
|
123
156
|
// packages/agent-runtime/agentRecordConfig.ts
|
|
124
157
|
function stringField(record, key) {
|
|
125
158
|
const value = record[key];
|
|
@@ -540,6 +573,7 @@ export {
|
|
|
540
573
|
resolveHistoricalToolContentCap,
|
|
541
574
|
projectToolMessageContent,
|
|
542
575
|
clipToolText,
|
|
576
|
+
resolveAgentContextWindow,
|
|
543
577
|
resolveAgentRuntimeConfigFromRecord,
|
|
544
578
|
buildDesktopAgentRuntimeAgentConfigSnapshot,
|
|
545
579
|
buildDesktopAgentRuntimeDialogHistorySnapshot,
|
|
@@ -35,15 +35,16 @@ import {
|
|
|
35
35
|
resolvePlatformAuthToken,
|
|
36
36
|
resolvePlatformServerUrl,
|
|
37
37
|
resolveProviderTransportDecision
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-K7M3MWCE.js";
|
|
39
39
|
import {
|
|
40
40
|
clipCompactText,
|
|
41
41
|
isMeaningfulChatCompletionOutput,
|
|
42
42
|
isMeaningfulResponsesOutput
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-VHJLQHPQ.js";
|
|
44
44
|
import {
|
|
45
|
-
NOLO_CLIENT_VERSION_HEADER
|
|
46
|
-
|
|
45
|
+
NOLO_CLIENT_VERSION_HEADER,
|
|
46
|
+
isPlatformMimoProviderModel
|
|
47
|
+
} from "./chunk-ASGDO77C.js";
|
|
47
48
|
import {
|
|
48
49
|
isRecord
|
|
49
50
|
} from "./chunk-KUG52IAP.js";
|
|
@@ -465,7 +466,11 @@ function isAbortOrTimeoutError(error) {
|
|
|
465
466
|
}
|
|
466
467
|
var CHAT_PROXY_PATH = "/api/v1/chat";
|
|
467
468
|
function shouldDisableThinking(providerConfig) {
|
|
468
|
-
return providerConfig.provider.toLowerCase() === "mimo" || /xiaomimimo\.com/i.test(providerConfig.endpoint)
|
|
469
|
+
return providerConfig.provider.toLowerCase() === "mimo" || /xiaomimimo\.com/i.test(providerConfig.endpoint) || // 平台托管 MiMo(provider=nolo + mimo-v2.6-*):endpoint 通常已解析成
|
|
470
|
+
// api.xiaomimimo.com/...(上面的正则已命中),但 transport=direct 时
|
|
471
|
+
// endpoint 是 nolo 服务器地址——模型 id 判据保证两跳都关掉 thinking
|
|
472
|
+
// (上游 thinking 默认 enabled)。
|
|
473
|
+
isPlatformMimoProviderModel(providerConfig.provider, providerConfig.model);
|
|
469
474
|
}
|
|
470
475
|
function isResponsesEndpoint(endpoint) {
|
|
471
476
|
return /\/responses$/i.test(endpoint.trim());
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
patch,
|
|
12
12
|
remove,
|
|
13
13
|
write
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-UA5S3LQQ.js";
|
|
15
15
|
import {
|
|
16
16
|
createAgentKey,
|
|
17
17
|
toTrimmedString
|
|
@@ -304,7 +304,7 @@ var slice = createSliceWithThunks({
|
|
|
304
304
|
const overrides = {};
|
|
305
305
|
if (args.systemPromptOverride !== void 0) overrides.prompt = args.systemPromptOverride;
|
|
306
306
|
if (args.toolsOverride !== void 0) overrides.tools = args.toolsOverride;
|
|
307
|
-
const { _executeModel } = await import("./_executeModel-
|
|
307
|
+
const { _executeModel } = await import("./_executeModel-W26HVI75.js");
|
|
308
308
|
return _executeModel(
|
|
309
309
|
{
|
|
310
310
|
isStreaming: args.isStreaming ?? false,
|
|
@@ -325,7 +325,7 @@ var slice = createSliceWithThunks({
|
|
|
325
325
|
* - 循环直到无工具调用或触发其他运行时停止条件
|
|
326
326
|
*/
|
|
327
327
|
runAgent: create.asyncThunk(async (args, thunkApi) => {
|
|
328
|
-
const { runAgentClientLoop } = await import("./runAgentClientLoop-
|
|
328
|
+
const { runAgentClientLoop } = await import("./runAgentClientLoop-3NDADLVE.js");
|
|
329
329
|
const { content: loopContent, toolCallCount } = await runAgentClientLoop(
|
|
330
330
|
{
|
|
331
331
|
agentKey: args.agentKey,
|
|
@@ -341,7 +341,7 @@ var slice = createSliceWithThunks({
|
|
|
341
341
|
* 聊天轮次流式 Agent 调用
|
|
342
342
|
*/
|
|
343
343
|
streamAgentChatTurn: create.asyncThunk(async (args, thunkApi) => {
|
|
344
|
-
const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-
|
|
344
|
+
const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-634OFUSR.js");
|
|
345
345
|
return streamAgentChatTurnHandler(args, thunkApi);
|
|
346
346
|
}),
|
|
347
347
|
/**
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
readAction,
|
|
13
13
|
readRequestManager,
|
|
14
14
|
resolveAgentReadServers
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-L2ICPOAL.js";
|
|
16
16
|
import {
|
|
17
17
|
asyncThunkCreator,
|
|
18
18
|
buildCreateSlice,
|
|
@@ -712,7 +712,7 @@ var dbSlice = createSliceWithThunks({
|
|
|
712
712
|
// 动态 import 在调用期解析,避开 TDZ/求值顺序问题(同下方 share)。
|
|
713
713
|
read: create.asyncThunk(
|
|
714
714
|
async (payload, thunkApi) => {
|
|
715
|
-
const { readAction: readAction2 } = await import("./read-
|
|
715
|
+
const { readAction: readAction2 } = await import("./read-M2Q6WEKB.js");
|
|
716
716
|
return readAction2(payload, thunkApi);
|
|
717
717
|
},
|
|
718
718
|
{
|
|
@@ -786,7 +786,7 @@ var dbSlice = createSliceWithThunks({
|
|
|
786
786
|
// 这里改成动态 import,运行期才解析,彻底断开这条边。
|
|
787
787
|
share: create.asyncThunk(
|
|
788
788
|
async (config, thunkApi) => {
|
|
789
|
-
const { shareResourceAction } = await import("./action-
|
|
789
|
+
const { shareResourceAction } = await import("./action-6DXQGJMX.js");
|
|
790
790
|
return shareResourceAction(config, thunkApi);
|
|
791
791
|
}
|
|
792
792
|
),
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buildLocalAgentLookupKeys,
|
|
3
3
|
shouldReadAgentKeyRemotely
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-IIKPWSPX.js";
|
|
5
5
|
import {
|
|
6
6
|
resolveCliAgentKeyInput
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-SAFZABH7.js";
|
|
8
8
|
import {
|
|
9
9
|
toErrorMessage
|
|
10
10
|
} from "./chunk-HNMXYYJR.js";
|
|
@@ -507,7 +507,7 @@ async function buildCreatedAgentRecord(args) {
|
|
|
507
507
|
const resolvedAgentInput = resolveCliAgentKeyInput(args.parsed.agentInput);
|
|
508
508
|
const agentKey = resolvedAgentInput.startsWith("agent-") ? resolvedAgentInput : createAgentKey.private(userId || "local", resolvedAgentInput);
|
|
509
509
|
if (args.parsed.presetId) {
|
|
510
|
-
const { resolveProviderPresetFields } = await import("./providerPresetApply-
|
|
510
|
+
const { resolveProviderPresetFields } = await import("./providerPresetApply-OCWWKBSD.js");
|
|
511
511
|
const fields = resolveProviderPresetFields(args.parsed.presetId);
|
|
512
512
|
if (fields.kind === "manual") {
|
|
513
513
|
throw new Error(
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
} from "./chunk-DWLEOOGR.js";
|
|
7
7
|
import {
|
|
8
8
|
addContentAction
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-4DRWWIOL.js";
|
|
10
10
|
import {
|
|
11
11
|
upload
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-UA5S3LQQ.js";
|
|
13
13
|
import {
|
|
14
14
|
getRuntimeServerContext
|
|
15
15
|
} from "./chunk-UKWGR5SS.js";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
platformHostedModels,
|
|
10
10
|
toCnyCredits,
|
|
11
11
|
zaiModels
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-ASGDO77C.js";
|
|
13
13
|
|
|
14
14
|
// packages/integrations/qwen/models.ts
|
|
15
15
|
var qwenModels = [
|
|
@@ -1965,6 +1965,14 @@ function clampReasoningEffort(effort, provider) {
|
|
|
1965
1965
|
var stepfunAllModels = [...stepfunModels, ...stepfunStepPlanModels];
|
|
1966
1966
|
var moonshotAllModels = [...moonshotModels, ...kimiCodeModels];
|
|
1967
1967
|
var qwenAllModels = [...qwenModels, ...qwenTokenPlanModels];
|
|
1968
|
+
var devinModels = [
|
|
1969
|
+
{ name: "swe-2-max", displayName: "SWE-2 Max", hasVision: true, contextWindow: 262e3, price: { input: 0, output: 0 } },
|
|
1970
|
+
{ name: "swe-2-high", displayName: "SWE-2 High", hasVision: true, contextWindow: 262e3, price: { input: 0, output: 0 } },
|
|
1971
|
+
{ name: "swe-2-medium", displayName: "SWE-2 Medium", hasVision: true, contextWindow: 262e3, price: { input: 0, output: 0 } },
|
|
1972
|
+
{ name: "swe-1-7", displayName: "SWE-1.7 Max", hasVision: true, contextWindow: 262e3, price: { input: 0, output: 0 } },
|
|
1973
|
+
{ name: "swe-1-7-lightning", displayName: "SWE-1.7 Lightning Max", hasVision: true, contextWindow: 202752, price: { input: 0, output: 0 } },
|
|
1974
|
+
{ name: "swe-1-6-fast", displayName: "SWE-1.6 Fast", hasVision: true, contextWindow: 2e5, price: { input: 0, output: 0 } }
|
|
1975
|
+
];
|
|
1968
1976
|
var MODEL_MAP = {
|
|
1969
1977
|
// anthropic: anthropicModels,
|
|
1970
1978
|
google: googleModels,
|
|
@@ -1984,6 +1992,7 @@ var MODEL_MAP = {
|
|
|
1984
1992
|
};
|
|
1985
1993
|
var MODEL_LOOKUP_MAP = {
|
|
1986
1994
|
anthropic: [...anthropicModels, ...anthropicOAuthModels],
|
|
1995
|
+
devin: devinModels,
|
|
1987
1996
|
xai: xaiModels,
|
|
1988
1997
|
"opencode-go": opencodeGoModels,
|
|
1989
1998
|
opencode: opencodeGoModels,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fetchWithTransientRetry
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-5UTFL4QJ.js";
|
|
4
4
|
import {
|
|
5
5
|
isGatewayHttpStatus
|
|
6
6
|
} from "./chunk-NF64D32W.js";
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
toCompactAgentSummary,
|
|
30
30
|
toSafeAgentSummary,
|
|
31
31
|
toUnavailableAgentSummary
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-2AYMFHUG.js";
|
|
33
33
|
import {
|
|
34
34
|
getUserDataItemTimestamp,
|
|
35
35
|
mergeAndDedupUserData
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
readPageFunc,
|
|
41
41
|
readPageFunctionSchema,
|
|
42
42
|
slateToSimplifiedMarkdown
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-ZBT3WNBK.js";
|
|
44
44
|
import {
|
|
45
45
|
addMemberSpace,
|
|
46
46
|
fetchAuthoritativeRemoteSpace,
|
|
@@ -52,7 +52,7 @@ import {
|
|
|
52
52
|
setMembershipRejected,
|
|
53
53
|
setSpaceInitialized,
|
|
54
54
|
updateMemberSpaceName
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-3CR2LC6X.js";
|
|
56
56
|
import {
|
|
57
57
|
ToolApiError,
|
|
58
58
|
buildToolRequestHeaders,
|
|
@@ -60,10 +60,10 @@ import {
|
|
|
60
60
|
getRequestConfig,
|
|
61
61
|
getToolBaseUrl,
|
|
62
62
|
getToolRequestContext
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-HQCSU3DI.js";
|
|
64
64
|
import {
|
|
65
65
|
setDialogExtraReferencesAction
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-JTK3TJYV.js";
|
|
67
67
|
import {
|
|
68
68
|
waitForAbortableDelay
|
|
69
69
|
} from "./chunk-N4G4PKQ6.js";
|
|
@@ -81,10 +81,10 @@ import {
|
|
|
81
81
|
} from "./chunk-VF4K2QE6.js";
|
|
82
82
|
import {
|
|
83
83
|
createDocState
|
|
84
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-5DFFKASO.js";
|
|
85
85
|
import {
|
|
86
86
|
createDialogAction
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-5V4NJHRM.js";
|
|
88
88
|
import {
|
|
89
89
|
DEFAULT_COLLAPSED_CATEGORIES,
|
|
90
90
|
addContentToSpace,
|
|
@@ -102,7 +102,7 @@ import {
|
|
|
102
102
|
updateContentCategory,
|
|
103
103
|
updateContentTitle,
|
|
104
104
|
writeStoredCollapsedCategories
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-FQYMLZ6C.js";
|
|
106
106
|
import {
|
|
107
107
|
getCurrentSpaceId,
|
|
108
108
|
getCurrentSpaceIdRaw,
|
|
@@ -124,14 +124,14 @@ import {
|
|
|
124
124
|
selectMsgById,
|
|
125
125
|
uiAskChoiceFunc,
|
|
126
126
|
uiAskChoiceFunctionSchema
|
|
127
|
-
} from "./chunk-
|
|
127
|
+
} from "./chunk-HMEMJ7GH.js";
|
|
128
128
|
import {
|
|
129
129
|
createAgent,
|
|
130
130
|
deleteServerSyncedCredential,
|
|
131
131
|
runLlm,
|
|
132
132
|
streamAgentChatTurn,
|
|
133
133
|
updateAgent
|
|
134
|
-
} from "./chunk-
|
|
134
|
+
} from "./chunk-TVNI5FLG.js";
|
|
135
135
|
import {
|
|
136
136
|
getActiveDialogKey,
|
|
137
137
|
selectCurrentDialogKey,
|
|
@@ -145,10 +145,10 @@ import {
|
|
|
145
145
|
resolveBuiltinCapability,
|
|
146
146
|
resolveBuiltinSkillByName,
|
|
147
147
|
resolveBuiltinSkillEntry
|
|
148
|
-
} from "./chunk-
|
|
148
|
+
} from "./chunk-2ADBVBEM.js";
|
|
149
149
|
import {
|
|
150
150
|
CAPABILITY_PACKS
|
|
151
|
-
} from "./chunk-
|
|
151
|
+
} from "./chunk-CLI4LFSM.js";
|
|
152
152
|
import {
|
|
153
153
|
buildSkillDocMarkdown,
|
|
154
154
|
normalizeSkillModalities,
|
|
@@ -173,16 +173,16 @@ import {
|
|
|
173
173
|
redactAgentRecordForWorkspaceTool,
|
|
174
174
|
resolveNoloDialogInput,
|
|
175
175
|
verifyNoloDialogSubjectRefQuery
|
|
176
|
-
} from "./chunk-
|
|
176
|
+
} from "./chunk-YOXYA2GU.js";
|
|
177
177
|
import {
|
|
178
178
|
isAgentUnavailableNow
|
|
179
179
|
} from "./chunk-CJCJF5XB.js";
|
|
180
180
|
import {
|
|
181
181
|
buildDatabaseFileContentUrl
|
|
182
|
-
} from "./chunk-
|
|
182
|
+
} from "./chunk-VHJLQHPQ.js";
|
|
183
183
|
import {
|
|
184
184
|
DEFAULT_MODEL
|
|
185
|
-
} from "./chunk-
|
|
185
|
+
} from "./chunk-VRLI2WNW.js";
|
|
186
186
|
import {
|
|
187
187
|
compactWhitespace
|
|
188
188
|
} from "./chunk-DWLEOOGR.js";
|
|
@@ -198,14 +198,14 @@ import {
|
|
|
198
198
|
} from "./chunk-O6OSWFZQ.js";
|
|
199
199
|
import {
|
|
200
200
|
shareResourceAction
|
|
201
|
-
} from "./chunk-
|
|
201
|
+
} from "./chunk-XMGHGEN6.js";
|
|
202
202
|
import {
|
|
203
203
|
AGENT_UPDATE_FIELD_NAMES,
|
|
204
204
|
normalizeAgentUpdateFieldList,
|
|
205
205
|
selectAutoApproveSelfUpdateFields,
|
|
206
206
|
selectCurrentServer,
|
|
207
207
|
selectSyncServers
|
|
208
|
-
} from "./chunk-
|
|
208
|
+
} from "./chunk-PH5J5VUY.js";
|
|
209
209
|
import {
|
|
210
210
|
asRecordOrEmpty
|
|
211
211
|
} from "./chunk-KX6YBIHG.js";
|
|
@@ -213,7 +213,7 @@ import {
|
|
|
213
213
|
UNCATEGORIZED_ID,
|
|
214
214
|
addContentAction,
|
|
215
215
|
checkSpaceMembership
|
|
216
|
-
} from "./chunk-
|
|
216
|
+
} from "./chunk-4DRWWIOL.js";
|
|
217
217
|
import {
|
|
218
218
|
createSpaceKey,
|
|
219
219
|
normalizeSpaceId
|
|
@@ -228,7 +228,7 @@ import {
|
|
|
228
228
|
selectEntities,
|
|
229
229
|
toTimestampMs,
|
|
230
230
|
write
|
|
231
|
-
} from "./chunk-
|
|
231
|
+
} from "./chunk-UA5S3LQQ.js";
|
|
232
232
|
import {
|
|
233
233
|
SEPARATOR,
|
|
234
234
|
TYPE_STORAGE_PREFIXES,
|
|
@@ -258,10 +258,10 @@ import {
|
|
|
258
258
|
} from "./chunk-QSJ3HFEF.js";
|
|
259
259
|
import {
|
|
260
260
|
readAction
|
|
261
|
-
} from "./chunk-
|
|
261
|
+
} from "./chunk-L2ICPOAL.js";
|
|
262
262
|
import {
|
|
263
263
|
extractCustomId
|
|
264
|
-
} from "./chunk-
|
|
264
|
+
} from "./chunk-GII32WZW.js";
|
|
265
265
|
import {
|
|
266
266
|
DEVICE_LOCAL_OWNER_ID,
|
|
267
267
|
createAsyncThunk,
|
|
@@ -911,7 +911,7 @@ var HOSTED_EXEC_RUNTIME_TOOL_POLICY = {
|
|
|
911
911
|
workspace: { mode: "lease" }
|
|
912
912
|
};
|
|
913
913
|
var findModelConfig = async (modelName, provider) => {
|
|
914
|
-
const { ALL_MODELS } = await import("./models-
|
|
914
|
+
const { ALL_MODELS } = await import("./models-WW7VFNXB.js");
|
|
915
915
|
const name = toTrimmedString(modelName);
|
|
916
916
|
const prov = toTrimmedString(provider ?? "");
|
|
917
917
|
if (!name) return null;
|
|
@@ -1156,7 +1156,7 @@ var buildPlatformFormDataFromArgs = async (args) => {
|
|
|
1156
1156
|
const trimmedModel = toTrimmedString(model);
|
|
1157
1157
|
const trimmedProvider = toTrimmedString(provider);
|
|
1158
1158
|
const modelConfig = await findModelConfig(trimmedModel, trimmedProvider);
|
|
1159
|
-
const { getModelPricing } = await import("./getPricing-
|
|
1159
|
+
const { getModelPricing } = await import("./getPricing-F2C65RIX.js");
|
|
1160
1160
|
const normalizedTools = tools ?? [];
|
|
1161
1161
|
const resolvedRuntimeToolPolicy = runtimeToolPolicy ?? (normalizedTools.includes("execShell") ? HOSTED_EXEC_RUNTIME_TOOL_POLICY : void 0);
|
|
1162
1162
|
const formData = {
|
|
@@ -3945,7 +3945,7 @@ async function deleteDialogsFunc(args, thunkApi) {
|
|
|
3945
3945
|
const deletedDialogIds = [];
|
|
3946
3946
|
const deletedDialogKeys = [];
|
|
3947
3947
|
const failures = [];
|
|
3948
|
-
const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-
|
|
3948
|
+
const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-DOPGWGS4.js");
|
|
3949
3949
|
for (const target of targets) {
|
|
3950
3950
|
try {
|
|
3951
3951
|
await thunkApi.dispatch(deleteDialog2(target.dbKey)).unwrap();
|
|
@@ -4074,6 +4074,8 @@ async function listAgentsFunc(args, thunkApi) {
|
|
|
4074
4074
|
if (favKey.startsWith("agent-pub-")) {
|
|
4075
4075
|
favRecord.publicRecordExists = true;
|
|
4076
4076
|
favRecord.publicKey = favKey;
|
|
4077
|
+
} else {
|
|
4078
|
+
favRecord.verifiedAgentKey = favKey;
|
|
4077
4079
|
}
|
|
4078
4080
|
const key = favRecord?.dbKey || favRecord?.id || favKey;
|
|
4079
4081
|
recordsMap.set(key, favRecord);
|
|
@@ -4252,7 +4254,7 @@ var readSkillDocFunctionSchema = {
|
|
|
4252
4254
|
}
|
|
4253
4255
|
};
|
|
4254
4256
|
async function readSkillDocFunc(args, thunkApi) {
|
|
4255
|
-
const { buildReadDocResult } = await import("./readDocTool-
|
|
4257
|
+
const { buildReadDocResult } = await import("./readDocTool-T37P3YPB.js");
|
|
4256
4258
|
const id = args?.id ?? args?.doc ?? args?.docKey ?? args?.pageKey;
|
|
4257
4259
|
if (typeof id !== "string" || !id.trim()) {
|
|
4258
4260
|
throw new Error("readSkillDoc requires id or doc.");
|
|
@@ -5055,7 +5057,7 @@ var fetchSpaceAction = async (input, thunkAPI) => {
|
|
|
5055
5057
|
const spaceKey = createSpaceKey.space(spaceId);
|
|
5056
5058
|
const readSpace = async (dbKey) => {
|
|
5057
5059
|
try {
|
|
5058
|
-
const { read: read2, readAndWait: readAndWait2 } = await import("./dbSlice-
|
|
5060
|
+
const { read: read2, readAndWait: readAndWait2 } = await import("./dbSlice-YXQ6RYIH.js");
|
|
5059
5061
|
if (fresh) {
|
|
5060
5062
|
return await dispatch(readAndWait2(dbKey)).unwrap();
|
|
5061
5063
|
}
|
|
@@ -10120,7 +10122,7 @@ var cloudflareCrawlStatusFunctionSchema = {
|
|
|
10120
10122
|
async function cloudflareCrawlStatusFunc(args, thunkApi) {
|
|
10121
10123
|
const { jobId, limit, status, cursor } = args;
|
|
10122
10124
|
if (!jobId) throw new Error("\u5FC5\u987B\u63D0\u4F9B jobId");
|
|
10123
|
-
const { getToolRequestContext: getToolRequestContext2 } = await import("./toolApiClient-
|
|
10125
|
+
const { getToolRequestContext: getToolRequestContext2 } = await import("./toolApiClient-7PSIFQPJ.js");
|
|
10124
10126
|
const { baseUrl, token } = getToolRequestContext2(thunkApi);
|
|
10125
10127
|
const params = new URLSearchParams();
|
|
10126
10128
|
if (limit !== void 0) params.set("limit", String(limit));
|
|
@@ -10898,7 +10900,7 @@ var selectUserIdFromState = (state2) => {
|
|
|
10898
10900
|
var selectCurrentServerFromState = (state2) => typeof state2?.settings?.currentServer === "string" ? state2.settings.currentServer : null;
|
|
10899
10901
|
async function addImageContentToSpace(input) {
|
|
10900
10902
|
const injectedAddContentAction = input.thunkApi?.extra?.addContentAction;
|
|
10901
|
-
const addContentAction2 = typeof injectedAddContentAction === "function" ? injectedAddContentAction : (await import("./addContentAction-
|
|
10903
|
+
const addContentAction2 = typeof injectedAddContentAction === "function" ? injectedAddContentAction : (await import("./addContentAction-I7VX5SAC.js")).addContentAction;
|
|
10902
10904
|
await addContentAction2(
|
|
10903
10905
|
{
|
|
10904
10906
|
spaceId: input.spaceId,
|
|
@@ -14819,7 +14821,7 @@ var executeToolRun = createAsyncThunk(
|
|
|
14819
14821
|
if (!executionInput) {
|
|
14820
14822
|
throw new Error(`ToolRun ${id} has no input to execute with.`);
|
|
14821
14823
|
}
|
|
14822
|
-
const { findToolExecutor: findToolExecutor2 } = await import("./tools-
|
|
14824
|
+
const { findToolExecutor: findToolExecutor2 } = await import("./tools-ILBLCF7D.js");
|
|
14823
14825
|
const { executor } = findToolExecutor2(run.toolName);
|
|
14824
14826
|
toolRunStarted({
|
|
14825
14827
|
id: run.id,
|
|
@@ -14843,7 +14845,7 @@ var executeToolRun = createAsyncThunk(
|
|
|
14843
14845
|
const latestState = thunkApi.getState();
|
|
14844
14846
|
const userId = selectIdentityUserId(latestState);
|
|
14845
14847
|
if (userId) {
|
|
14846
|
-
const { fetchUserSpaceMemberships } = await import("./memberThunks-
|
|
14848
|
+
const { fetchUserSpaceMemberships } = await import("./memberThunks-5T4J6KXQ.js");
|
|
14847
14849
|
await thunkApi.dispatch(fetchUserSpaceMemberships(userId));
|
|
14848
14850
|
}
|
|
14849
14851
|
}
|
|
@@ -17326,7 +17328,7 @@ async function updateDocFunc(args, thunkApi) {
|
|
|
17326
17328
|
updated_at: (/* @__PURE__ */ new Date()).toISOString()
|
|
17327
17329
|
};
|
|
17328
17330
|
await dispatch(write({ data: updatedPageData, customKey: id })).unwrap();
|
|
17329
|
-
const { getDocState, applyExternalDocUpdate } = await import("./docStore-
|
|
17331
|
+
const { getDocState, applyExternalDocUpdate } = await import("./docStore-SYYFBENY.js");
|
|
17330
17332
|
if (getDocState().pageKey === id) {
|
|
17331
17333
|
applyExternalDocUpdate({
|
|
17332
17334
|
slateData: finalSlateData,
|
|
@@ -17351,7 +17353,7 @@ async function updateDocFunc(args, thunkApi) {
|
|
|
17351
17353
|
// packages/ai/tools/updateUserPreferenceProfileTool.ts
|
|
17352
17354
|
async function dispatchSetSettings(thunkApi, changes) {
|
|
17353
17355
|
const injectedSetSettings = thunkApi?.extra?.setSettings;
|
|
17354
|
-
const setSettings = typeof injectedSetSettings === "function" ? injectedSetSettings : (await import("./settingSlice-
|
|
17356
|
+
const setSettings = typeof injectedSetSettings === "function" ? injectedSetSettings : (await import("./settingSlice-CZRURSTH.js")).setSettings;
|
|
17355
17357
|
await thunkApi.dispatch(setSettings(changes)).unwrap();
|
|
17356
17358
|
}
|
|
17357
17359
|
var updateUserPreferenceProfileFunctionSchema = {
|
|
@@ -1,21 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
listUserRecordsFromServers,
|
|
3
3
|
readLiveDbRecordAfterTombstoneMerge
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-A2C4AKKM.js";
|
|
5
5
|
import {
|
|
6
6
|
agentRecordHasConfiguredCredential
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-UTCCPWB2.js";
|
|
8
8
|
import {
|
|
9
9
|
deriveCredentialGroup,
|
|
10
10
|
toSafeAgentSummary
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-2AYMFHUG.js";
|
|
12
12
|
import {
|
|
13
13
|
PUBLIC_AGENT_KEY_PREFIX,
|
|
14
14
|
isOwnedAgentKey,
|
|
15
15
|
ownedAgentKey,
|
|
16
|
+
ownedAgentKeyPrefix,
|
|
16
17
|
parseOwnedAgentId,
|
|
17
18
|
publicAgentKey
|
|
18
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-GII32WZW.js";
|
|
19
20
|
|
|
20
21
|
// packages/cli/agentListHelpers.ts
|
|
21
22
|
function parseAgentRecordId(privateKey, explicitId) {
|
|
@@ -105,14 +106,17 @@ function parseAgentListArgs(args) {
|
|
|
105
106
|
async function listLocalCachedAgents(args) {
|
|
106
107
|
const privateRecords = /* @__PURE__ */ new Map();
|
|
107
108
|
const publicKeys = /* @__PURE__ */ new Set();
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
109
|
+
const ownedPrefix = ownedAgentKeyPrefix(args.userId);
|
|
110
|
+
for (const prefix of [ownedPrefix, PUBLIC_AGENT_KEY_PREFIX]) {
|
|
111
|
+
for await (const [key, value] of args.db.iterator({ gte: prefix, lte: `${prefix}\uFFFF` })) {
|
|
112
|
+
if (typeof key !== "string" || !value || typeof value !== "object") continue;
|
|
113
|
+
if (isOwnedAgentKey(key, args.userId)) {
|
|
114
|
+
privateRecords.set(key, { ...value, dbKey: key });
|
|
115
|
+
continue;
|
|
116
|
+
}
|
|
117
|
+
if (key.startsWith(PUBLIC_AGENT_KEY_PREFIX)) {
|
|
118
|
+
publicKeys.add(key);
|
|
119
|
+
}
|
|
116
120
|
}
|
|
117
121
|
}
|
|
118
122
|
const agents = sortListedAgents(
|