nolo-cli 0.16.0-alpha.4 → 0.16.0-alpha.6
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-TZUDMB24.js → _executeModel-XF7VJZ6O.js} +28 -28
- package/{action-GUOZYYGN.js → action-F5JACQBG.js} +4 -4
- package/{addContentAction-QDGHGUBH.js → addContentAction-AQXEYRBE.js} +3 -3
- package/{addDialogAgentAction-Z4YCYZIV.js → addDialogAgentAction-EJHHJZWW.js} +2 -2
- package/{agentDeleteCommand-EMXLYNAH.js → agentDeleteCommand-X35VSSVM.js} +17 -17
- package/{agentEmailCommands-A4U3WMMS.js → agentEmailCommands-LGMEEMQP.js} +34 -34
- package/{agentListCommands-HQZNTYEG.js → agentListCommands-LLQHUE4O.js} +19 -19
- package/{agentMachineCommands-VFFEYHWZ.js → agentMachineCommands-4Q5PFIKF.js} +17 -17
- package/{agentRecordCommands-MV6SFG6W.js → agentRecordCommands-XUYVG7BS.js} +33 -33
- package/{agentRunCommand-5M2V6PJT.js → agentRunCommand-NORLSA7L.js} +33 -33
- package/{agentRuntimeLocal-WGVEZMXW.js → agentRuntimeLocal-N56G2ZJK.js} +14 -14
- package/{agentSlice-ILWKFTS5.js → agentSlice-JE5BREZQ.js} +3 -3
- package/{appDeleteCommands-N5AHOOHG.js → appDeleteCommands-WHRYDQLZ.js} +18 -18
- package/{appDeployCommands-GDD4CHRI.js → appDeployCommands-USRWBT6T.js} +18 -18
- package/{appDeployStatusCommands-3ZQH2E2A.js → appDeployStatusCommands-R632IBVL.js} +18 -18
- package/{appGetCommands-U4BGN2SW.js → appGetCommands-PKGC2JWH.js} +18 -18
- package/{appListCommands-S5BF2T4A.js → appListCommands-OMRAEOAL.js} +18 -18
- package/{authCommand-WKMPIXR6.js → authCommand-P22WCVOP.js} +7 -7
- package/{chunk-WFFFQD6S.js → chunk-2B3BNWPC.js} +2 -2
- package/{chunk-SFXYKGK2.js → chunk-3S2VOMIF.js} +3 -3
- package/{chunk-MEZVPVXM.js → chunk-3STYIYRD.js} +2 -2
- package/{chunk-4QQFLN5C.js → chunk-4IF3B7WC.js} +4 -4
- package/{chunk-WIZX3ACC.js → chunk-4XR5OJ7J.js} +1 -1
- package/{chunk-OGGHETUE.js → chunk-5BP2BROQ.js} +18 -16
- package/{chunk-OLNFFJVY.js → chunk-6EFJQCL6.js} +560 -113
- package/{chunk-U7LEGLEB.js → chunk-6N4KODMN.js} +1 -1
- package/{chunk-3GSNWWY3.js → chunk-AKYTMRBP.js} +1 -1
- package/{chunk-2L6OCZ6Z.js → chunk-ASZ2C44S.js} +1 -1
- package/{chunk-VD24AND2.js → chunk-AWGYJBWX.js} +10 -10
- package/{chunk-CT3XKUX4.js → chunk-BH4AZ7S6.js} +24 -24
- package/{chunk-I4NUTIXT.js → chunk-BOPYCNN3.js} +1 -1
- package/{chunk-AO2YB7PG.js → chunk-BS5STUTA.js} +3 -3
- package/{chunk-7LFS3UL6.js → chunk-C2BYYSAO.js} +18 -6
- package/{chunk-W3574B3G.js → chunk-CI2G2Z2L.js} +1 -1
- package/{chunk-36GPBUJ2.js → chunk-CTZLNWT3.js} +3 -3
- package/{chunk-TTGAVETO.js → chunk-EABWT43X.js} +2 -2
- package/{chunk-NY6KTTLA.js → chunk-EFNMO3YF.js} +1 -1
- package/{chunk-WNUSEMPU.js → chunk-FJHD7FHN.js} +1 -1
- package/{chunk-XVP3C2KY.js → chunk-IWLUTMYX.js} +1 -1
- package/{chunk-3SCCWSA3.js → chunk-J2DR42U3.js} +13 -13
- package/{chunk-XXUNUXCS.js → chunk-J4VLNDI7.js} +1 -1
- package/{chunk-4MSDMVUW.js → chunk-KFEVY3ST.js} +10 -2
- package/{chunk-WNLPAOIT.js → chunk-KFHN5NGJ.js} +1 -1
- package/{chunk-ZODEA6YR.js → chunk-KOW2R4MZ.js} +17 -12
- package/{chunk-27DJM3CW.js → chunk-LJIJWXIT.js} +5 -5
- package/{chunk-524BDL33.js → chunk-LPWS7HMQ.js} +1 -15
- package/{chunk-NCMP6Q3I.js → chunk-NY5FDXZL.js} +3 -3
- package/{chunk-OOIN7HSO.js → chunk-OIX36K6R.js} +1 -1
- package/{chunk-ONELX7AM.js → chunk-QSWWWYGA.js} +1 -1
- package/{chunk-JS33TCQ3.js → chunk-RPDGJO4D.js} +2 -2
- package/{chunk-IKXL2HZ3.js → chunk-UALQTIWY.js} +1 -1
- package/{chunk-463YM7CS.js → chunk-XBOY5KZG.js} +21 -21
- package/{chunk-V2J635L5.js → chunk-XOIF2TNF.js} +2 -2
- package/{chunk-VPTJB4HM.js → chunk-XPC5C7BK.js} +0 -3
- package/{chunk-TY27RYCD.js → chunk-XQW4K7D3.js} +3 -3
- package/{chunk-N5424GSW.js → chunk-YJKXGHJ6.js} +1 -1
- package/{chunk-4CANFLI7.js → chunk-YLVJ7NB4.js} +2 -2
- package/{chunk-JKWWVF2I.js → chunk-YQMTILRW.js} +1 -1
- package/{chunk-2ZDQ5PN5.js → chunk-YXQA6X6I.js} +16 -16
- package/chunk-ZHXJ6M7T.js +27 -0
- package/{chunk-LTZL7WC3.js → chunk-ZRDWHLMQ.js} +1 -1
- package/{chunk-MRDODOWX.js → chunk-ZTRZ2O5B.js} +3 -3
- package/{chunk-VOVNQ4YU.js → chunk-ZVBKL6NS.js} +4 -4
- package/{createAgentAutomationAction-QHGTCNTZ.js → createAgentAutomationAction-MEYL7OTC.js} +13 -13
- package/{createDialogAction-BEO3QLUA.js → createDialogAction-OUK5YIH4.js} +14 -14
- package/{createPageAction-35EGISA5.js → createPageAction-NEBMC6AB.js} +13 -13
- package/{dbSlice-OP6UPXKA.js → dbSlice-7KQH6GOU.js} +2 -2
- package/{dialogCommands-V7UHKTXT.js → dialogCommands-L4LMXQAI.js} +18 -18
- package/{dialogSlice-PWTRW5CX.js → dialogSlice-BKRE6NDW.js} +13 -13
- package/{docCreateCommands-TNC5RGE6.js → docCreateCommands-C4HJCM47.js} +17 -17
- package/{docDeleteCommands-PDMKS5KK.js → docDeleteCommands-Y6W6A3W6.js} +18 -18
- package/{docReadCommands-GGAFPAUO.js → docReadCommands-2WUIDAR6.js} +17 -17
- package/{docStore-BIJALNX5.js → docStore-XIPSSX7U.js} +14 -14
- package/{docUpdateCommands-NCZK5UPH.js → docUpdateCommands-XVL2CBKE.js} +17 -17
- package/{getPricing-UGDJHI7M.js → getPricing-HXWUZAEN.js} +4 -4
- package/{handleSendMessageAction-EN7ZJLBM.js → handleSendMessageAction-NTDBIOMZ.js} +13 -13
- package/index.js +47 -47
- package/{machineCommands-WF2VFJD2.js → machineCommands-SXOARUBD.js} +32 -32
- package/{machineWsRunDispatch-7675PUSK.js → machineWsRunDispatch-OZQ4WNCE.js} +32 -32
- package/{models-LSCRJJ6P.js → models-DQUMNIGQ.js} +2 -2
- package/package.json +1 -1
- package/{read-HXHAZBKH.js → read-CN3TNXIP.js} +1 -1
- package/{readDocTool-VPBDTO4G.js → readDocTool-WF3675ED.js} +1 -1
- package/{readlineWorkspace-4VTHXHUB.js → readlineWorkspace-AM2FA7HS.js} +36 -36
- package/{removeDialogAgentAction-HUFVN35S.js → removeDialogAgentAction-YDHBFEGI.js} +5 -5
- package/{runAgentClientLoop-ZAZSFAAO.js → runAgentClientLoop-ISTTN5QO.js} +25 -25
- package/{setDialogExtraReferencesAction-2VLGWQKG.js → setDialogExtraReferencesAction-LR6MSIXO.js} +2 -2
- package/{setPrimaryDialogAgentAction-VB4UV2CC.js → setPrimaryDialogAgentAction-IIVDCY5C.js} +5 -5
- package/{settingSlice-7JYPQNAC.js → settingSlice-O23YDK2O.js} +3 -3
- package/{spaceCommands-IASX6FPL.js → spaceCommands-PYFLKEAW.js} +17 -17
- package/{spaceSlice-HGDO7QJK.js → spaceSlice-QER2OEYB.js} +13 -13
- package/{streamAgentChatTurn-KTDBTZUL.js → streamAgentChatTurn-VBXKG5JA.js} +29 -29
- package/{tools-IUKU5H6C.js → tools-XMFFOQXS.js} +19 -19
- package/{tuiSummaryLlmCaller-RV6ZXCLV.js → tuiSummaryLlmCaller-ENLQTJUV.js} +7 -7
- package/{updateDialogTitleAction-6R62F4XS.js → updateDialogTitleAction-QJEJGVZD.js} +13 -13
- package/chunk-BYXBJQAS.js +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MODEL_LOOKUP_MAP
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-5BP2BROQ.js";
|
|
4
4
|
import {
|
|
5
5
|
ALL_MODELS
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-UALQTIWY.js";
|
|
7
7
|
import {
|
|
8
8
|
addContentAction
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-IWLUTMYX.js";
|
|
10
10
|
import {
|
|
11
11
|
upload
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-3S2VOMIF.js";
|
|
13
13
|
import {
|
|
14
14
|
getRuntimeServerContext
|
|
15
15
|
} from "./chunk-DVRHHFEA.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
platformHostedModels,
|
|
16
16
|
xaiModels,
|
|
17
17
|
zaiModels
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-LPWS7HMQ.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
21
|
} from "./chunk-4VNS5WPM.js";
|
|
@@ -402,21 +402,6 @@ var moonshotModels = [
|
|
|
402
402
|
price: { input: 0.6 * 7, output: 2.4 * 7 },
|
|
403
403
|
provider: "moonshot",
|
|
404
404
|
description: "Moonshot \u9AD8\u6027\u80FD\u901A\u7528\u6A21\u578B\u3002"
|
|
405
|
-
},
|
|
406
|
-
// ── 编程 ──
|
|
407
|
-
{
|
|
408
|
-
name: "kimi-k2.7-code",
|
|
409
|
-
displayName: "Kimi K2.7 Code",
|
|
410
|
-
hasVision: false,
|
|
411
|
-
contextWindow: 262144,
|
|
412
|
-
maxOutputTokens: 262144,
|
|
413
|
-
jsonOutput: true,
|
|
414
|
-
fnCall: true,
|
|
415
|
-
supportsTool: true,
|
|
416
|
-
supportsReasoningEffort: true,
|
|
417
|
-
price: { input: 1.2 * 7, output: 4.8 * 7 },
|
|
418
|
-
provider: "moonshot",
|
|
419
|
-
description: "Moonshot \u7F16\u7A0B\u4F18\u5316\u6A21\u578B\uFF0C\u9002\u5408\u4EE3\u7801\u751F\u6210\u4E0E Agent \u7F16\u7A0B\u3002"
|
|
420
405
|
}
|
|
421
406
|
];
|
|
422
407
|
var kimiCodeModels = [
|
|
@@ -4545,6 +4530,9 @@ var NEVER = INVALID;
|
|
|
4545
4530
|
var PROVIDER_REASONING_EFFORT_VALUES = {
|
|
4546
4531
|
openai: ["none", "minimal", "low", "medium", "high", "xhigh", "max"],
|
|
4547
4532
|
deepseek: ["low", "high", "max"],
|
|
4533
|
+
// nolo (Ollama Cloud) 支持 DeepSeek/Kimi/GLM 等 thinking 模型,
|
|
4534
|
+
// reasoning_effort 通过 OpenAI 兼容端点透传到 Ollama Cloud。
|
|
4535
|
+
nolo: ["low", "high", "max"],
|
|
4548
4536
|
xai: ["low", "medium", "high"],
|
|
4549
4537
|
grok: ["low", "medium", "high"],
|
|
4550
4538
|
// none:关闭思考;必须保留,否则上游 clamp 会把 none 抬成 low,
|
|
@@ -4861,10 +4849,24 @@ function getApiEndpoint(agent) {
|
|
|
4861
4849
|
}
|
|
4862
4850
|
return url;
|
|
4863
4851
|
}
|
|
4852
|
+
const OAUTH_API_KEY_REFS = /* @__PURE__ */ new Set([
|
|
4853
|
+
"chatgpt",
|
|
4854
|
+
"xai",
|
|
4855
|
+
"antigravity",
|
|
4856
|
+
"claude",
|
|
4857
|
+
"cursor"
|
|
4858
|
+
]);
|
|
4864
4859
|
if (!effectiveProvider || effectiveProvider.toLowerCase() === "custom" || agent.apiSource === "custom") {
|
|
4865
4860
|
if (agent.useServerProxy) {
|
|
4866
4861
|
return "";
|
|
4867
4862
|
}
|
|
4863
|
+
const apiKeyRef = agent.apiKeyRef;
|
|
4864
|
+
if (apiKeyRef && OAUTH_API_KEY_REFS.has(apiKeyRef)) {
|
|
4865
|
+
return "";
|
|
4866
|
+
}
|
|
4867
|
+
if (effectiveProvider && API_ENDPOINTS[effectiveProvider]) {
|
|
4868
|
+
return "";
|
|
4869
|
+
}
|
|
4868
4870
|
throw new Error(
|
|
4869
4871
|
"Custom provider URL is required when apiSource is 'custom'."
|
|
4870
4872
|
);
|