nolo-cli 0.152.0-alpha.1 → 0.153.0
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-4KHFMQT4.js → _executeModel-YAHIA3TR.js} +44 -45
- package/{accountResolver-7RYB4D2P.js → accountResolver-55EDKEIK.js} +1 -1
- package/{action-SXJD5N5R.js → action-GPPJC5TI.js} +4 -4
- package/{addContentAction-ZV774PHH.js → addContentAction-BI6RDRTQ.js} +8 -8
- package/{addDialogAgentAction-A6SMKAGH.js → addDialogAgentAction-4RJYUSIK.js} +7 -7
- package/{agentDeleteCommand-EKFV5FC7.js → agentDeleteCommand-6W2VQADC.js} +57 -57
- package/{agentEmailCommands-MNV3MUH5.js → agentEmailCommands-ZTS5JSP5.js} +59 -59
- package/{agentListCommands-E6FYKXC3.js → agentListCommands-MM5OLPBY.js} +23 -23
- package/{agentMachineCommands-2GFUU7GF.js → agentMachineCommands-WPFV4TSD.js} +22 -21
- package/{agentProviderCommands-HL6MBLCL.js → agentProviderCommands-MKG2OOEY.js} +2 -2
- package/{agentRecordCommands-LPHHTEPM.js → agentRecordCommands-YW7XO5CX.js} +57 -57
- package/{agentRunCommand-JSPW7W32.js → agentRunCommand-R2JTIRPZ.js} +59 -58
- package/{agentRunControl-IFM7IGMG.js → agentRunControl-2C5GM3BW.js} +5 -5
- package/{agentRuntimeLocal-ARS4TV77.js → agentRuntimeLocal-RJKTDWNN.js} +16 -16
- package/{agentSlice-IP4DZNNV.js → agentSlice-7FNTOPHE.js} +8 -8
- package/{appDeleteCommands-JHTLKQSX.js → appDeleteCommands-7EOM274T.js} +21 -21
- package/{appDeployCommands-5V26M2KA.js → appDeployCommands-2I3QYJ5G.js} +21 -21
- package/{appDeployStatusCommands-SBSPS627.js → appDeployStatusCommands-LEML7FPR.js} +21 -21
- package/{appGetCommands-NKPD2L45.js → appGetCommands-ZQSVHGQM.js} +21 -21
- package/{appListCommands-ZOGRZFYY.js → appListCommands-BVA7XKQO.js} +21 -21
- package/{authCommand-QYN47CQD.js → authCommand-NIV3DKPF.js} +13 -293
- package/{authCommands-77CHYBGF.js → authCommands-AMNIAKEG.js} +2 -2
- package/{builtinSkillRegistry-TDQ6JB2E.js → builtinSkillRegistry-H3AY27TR.js} +3 -3
- package/{chromeCommands-OBBNJCLS.js → chromeCommands-IY4NVSXZ.js} +17 -10
- package/{chunk-SW4S4XYB.js → chunk-2AB2HA4M.js} +84 -34
- package/{chunk-VNP54NZL.js → chunk-2EROINJB.js} +14 -14
- package/{chunk-4PXHOOFA.js → chunk-2MTE2PEH.js} +3 -3
- package/{chunk-4YRTZIVN.js → chunk-2SGAI64X.js} +2 -2
- package/{chunk-QFEW2ULV.js → chunk-32ZKZET7.js} +1 -1
- package/{chunk-GQV5KHJU.js → chunk-3C2QLERX.js} +1 -1
- package/{chunk-XPWGOTBQ.js → chunk-3L2WKC3W.js} +1 -8
- package/{chunk-WD4XYDYC.js → chunk-3WIXU4XO.js} +224 -1
- package/{chunk-MZHOLWW5.js → chunk-4J4RVSHE.js} +3 -3
- package/{chunk-YBNHPX4S.js → chunk-4RJJDA57.js} +1 -1
- package/{chunk-OFVFQYIE.js → chunk-6COBMDV4.js} +19 -13
- package/{chunk-HL3O3PCQ.js → chunk-6TF64IF2.js} +2 -2
- package/{chunk-BNDETALN.js → chunk-7NSQJKGA.js} +45 -13
- package/{chunk-UUPR3TD7.js → chunk-7RF4O6AT.js} +1 -3
- package/{chunk-LC23WBCU.js → chunk-ACTR4SH2.js} +6 -6
- package/{chunk-HSJPKBLC.js → chunk-ANJTRG52.js} +2 -2
- package/{chunk-2GGXHQIW.js → chunk-BLVSFYQ3.js} +4 -2
- package/{chunk-ISQL4V7C.js → chunk-C3OK72G3.js} +1 -1
- package/{chunk-CHCS6XPJ.js → chunk-CGFNDIKK.js} +65 -0
- package/{chunk-F32Z66T4.js → chunk-CON6SI7N.js} +1 -1
- package/{chunk-HIQ4GF53.js → chunk-DC3SZCRR.js} +7 -3
- package/{chunk-RQ6E3G5L.js → chunk-DRPDGHQB.js} +18 -2
- package/{chunk-RVWMAFIT.js → chunk-FYYSDHVQ.js} +1 -1
- package/{chunk-XTWDF6RU.js → chunk-GLUL4C5S.js} +21 -17
- package/{chunk-TYYRSFBG.js → chunk-HB4XPBC7.js} +3 -35
- package/{chunk-6MJNEXUU.js → chunk-HGDKT2D6.js} +4 -0
- package/{chunk-UBUH2TCC.js → chunk-I2RMFLLH.js} +2 -2
- package/{chunk-VJXHL6MH.js → chunk-ICRRXBRN.js} +3 -3
- package/{chunk-XS47QOFV.js → chunk-IE5PXKVU.js} +2 -264
- package/{chunk-KMM2X7LP.js → chunk-ILVOUUMR.js} +3 -3
- package/{chunk-KFHQQ3NO.js → chunk-INFHX73M.js} +1 -1
- package/{chunk-XRUSXPCQ.js → chunk-IPAW7XLD.js} +57 -4
- package/{chunk-PLSVXHSA.js → chunk-IRTOYSA2.js} +3 -3
- package/{chunk-GCKHQECX.js → chunk-IYBIRCQV.js} +1 -1
- package/{chunk-ILU2NPWY.js → chunk-J2ATF74A.js} +2 -2
- package/{chunk-XZNCX52W.js → chunk-JGRPBIZZ.js} +1 -1
- package/{chunk-E2AKSW7L.js → chunk-JPJGMOIM.js} +2 -2
- package/{chunk-6LIKQYG4.js → chunk-JZYIISJB.js} +21 -23
- package/{chunk-44WXLHFI.js → chunk-K43ZF2C3.js} +1 -1
- package/{chunk-I2ZMGXXF.js → chunk-KFHREHUQ.js} +1 -1
- package/{chunk-JKMLSTZK.js → chunk-KLA62VVE.js} +3 -3
- package/{chunk-AHYBQP3M.js → chunk-L57R6PFF.js} +3 -3
- package/{chunk-DYYMIUN4.js → chunk-L6EQV5OC.js} +4 -4
- package/{chunk-EZVK3N5L.js → chunk-LOEO7LRC.js} +56 -0
- package/{chunk-EDX5XSJM.js → chunk-M2P3OGXZ.js} +3 -3
- package/{chunk-YVLQXTUB.js → chunk-MM3662RS.js} +1 -1
- package/{chunk-CBHGZRCE.js → chunk-MYOH447Z.js} +1 -1
- package/{chunk-A4MW3YZL.js → chunk-NDZOXXIM.js} +18 -4
- package/{chunk-EHFS4XZO.js → chunk-NKBMD4TC.js} +12 -8
- package/{chunk-64PFYIAY.js → chunk-OJ2PQXBV.js} +674 -637
- package/{chunk-36OMEXXR.js → chunk-OON4OBWI.js} +1 -1
- package/{chunk-SEJ5OS6F.js → chunk-PXYBUFDB.js} +4 -0
- package/{chunk-XCA6HQGS.js → chunk-QEONMOV7.js} +5 -5
- package/{chunk-USHQX6VT.js → chunk-QPY264HO.js} +1 -1
- package/{chunk-PFBIXTFB.js → chunk-QSKN3E7Q.js} +52 -26
- package/{chunk-TNIX77YM.js → chunk-R5GO3YZP.js} +34 -1
- package/{chunk-I5V3V2H4.js → chunk-RL2OOQUM.js} +37 -25
- package/{chunk-AIZE5TDM.js → chunk-SPKLALBU.js} +2 -2
- package/{chunk-K2AER7RX.js → chunk-SUKSWFLP.js} +2 -2
- package/{chunk-I4SN4NUQ.js → chunk-TRW43TSC.js} +1 -1
- package/{chunk-D2QN6CTI.js → chunk-UCLSOLX4.js} +8 -6
- package/{chunk-TYJ5XFEA.js → chunk-UFYBYB26.js} +1 -1
- package/{chunk-SCMHQUMK.js → chunk-US6MKPE7.js} +1 -1
- package/{chunk-ZIWPQEFU.js → chunk-VYNMQ6HW.js} +1 -28
- package/{chunk-PPU323UE.js → chunk-W2NNEHHW.js} +183 -66
- package/{chunk-IJERIUXS.js → chunk-WRCZXJ4N.js} +6 -3
- package/chunk-Y5GCAMGP.js +9 -0
- package/{chunk-GKXCHNTE.js → chunk-Y6ORVLSS.js} +1 -1
- package/{chunk-RSHPU4PD.js → chunk-YANF2RR4.js} +2 -2
- package/{chunk-EYWJT7A2.js → chunk-YPG7TUQD.js} +3 -3
- package/{chunk-PMYAE4OZ.js → chunk-YPY2S3DV.js} +3 -3
- package/{chunk-ZF6526IQ.js → chunk-ZEY4NJRE.js} +2 -2
- package/{chunk-JWTSWUPS.js → chunk-ZGG7BBVE.js} +7 -6
- package/{chunk-T5BHHWA5.js → chunk-ZGSW3HWM.js} +7 -7
- package/{chunk-74RAWNQN.js → chunk-ZVQHBIWV.js} +6 -6
- package/{chunk-DTODXBHK.js → chunk-ZWG3C7VI.js} +2 -2
- package/{commandRegistry-VBALU4Q4.js → commandRegistry-ZPK4AUWM.js} +79 -87
- package/{contentThunks-HPY2QNWZ.js → contentThunks-SXEQLAFP.js} +20 -20
- package/{createAgentAutomationAction-6ADGPGY6.js → createAgentAutomationAction-INVACTI3.js} +20 -20
- package/{createDialogAction-6ABMSEW2.js → createDialogAction-FDO3DYW4.js} +21 -21
- package/{createPageAction-OC4NNRPC.js → createPageAction-Q5CQPEQH.js} +20 -20
- package/{dbSlice-J37OGIXH.js → dbSlice-DC2J53RC.js} +7 -7
- package/{deleteFile-6JWDDRVP.js → deleteFile-KYWEMNFX.js} +4 -4
- package/{dialogCommands-EIGBRSQP.js → dialogCommands-MUFYPVMP.js} +24 -23
- package/{dialogSlice-SI45KJOH.js → dialogSlice-DS22VO6X.js} +19 -19
- package/{docCreateCommands-3JDBBMU5.js → docCreateCommands-OPWOKG62.js} +19 -19
- package/{docDeleteCommands-5M6C7UUB.js → docDeleteCommands-IBV3WMKI.js} +20 -20
- package/{docReadCommands-DUB57F6V.js → docReadCommands-LVALHMLZ.js} +19 -19
- package/{docStore-L43MDEK4.js → docStore-UFEWRQ5W.js} +8 -8
- package/{docUpdateCommands-WF7MAMPK.js → docUpdateCommands-Z5OUEAK7.js} +19 -19
- package/{getPricing-FKK3F5EJ.js → getPricing-TX35D7PI.js} +3 -3
- package/{handleSendMessageAction-BSMU7SVS.js → handleSendMessageAction-AOPC2RYQ.js} +33 -33
- package/index.js +7 -7
- package/{localRuntimeAdapter-N5PDR26F.js → localRuntimeAdapter-OK722XHN.js} +57 -55
- package/{machineCommands-TMXJKZCE.js → machineCommands-NW3KT5RE.js} +61 -59
- package/{machineWsRunDispatch-25H63KEH.js → machineWsRunDispatch-EWQDI6TL.js} +56 -56
- package/{memberThunks-66DH6ABQ.js → memberThunks-2DWKLE6W.js} +8 -8
- package/{models-LAS4B2B5.js → models-PZQC7VV4.js} +2 -2
- package/package.json +1 -1
- package/{profileConfig-ZGOFORWV.js → profileConfig-KN3N2BLF.js} +7 -1
- package/{providerPresetApply-MY66I6NT.js → providerPresetApply-GSJI4JBJ.js} +6 -6
- package/{providerRegistry-QOE2FT57.js → providerRegistry-TSSTPGWF.js} +6 -6
- package/{read-DC4NUGN6.js → read-L7QEJETH.js} +5 -5
- package/{readDocTool-NCJ5NT25.js → readDocTool-QELXV2GW.js} +1 -1
- package/{readlineWorkspace-BS7WVCL2.js → readlineWorkspace-ZTNEFMTX.js} +330 -118
- package/{removeDialogAgentAction-E2H3OZU6.js → removeDialogAgentAction-376XSUP2.js} +9 -9
- package/{runAgentClientLoop-BVKRI4SY.js → runAgentClientLoop-PQTFXXFA.js} +48 -44
- package/{runtimeDoctorCommands-GIOGC5SC.js → runtimeDoctorCommands-56NWKNON.js} +5 -5
- package/{secretCommands-ZXZRLR3R.js → secretCommands-DNY56NSU.js} +11 -1
- package/{setDialogExtraReferencesAction-SITRPMYU.js → setDialogExtraReferencesAction-QBDSH63D.js} +8 -8
- package/{setPrimaryDialogAgentAction-U7N45TGC.js → setPrimaryDialogAgentAction-537QFGW3.js} +9 -9
- package/settingThunks-4Z43ZSAT.js +923 -0
- package/{spaceCommands-5EWREUWS.js → spaceCommands-AWIIP7J5.js} +19 -19
- package/{streamAgentChatTurn-B4VFUV52.js → streamAgentChatTurn-I4M3CUBF.js} +53 -103
- package/{switchDialogAgentAction-OMGBD3N2.js → switchDialogAgentAction-CSO6AKRL.js} +7 -7
- package/{tableCommands-U3QDY4L6.js → tableCommands-LBH3QPPO.js} +1 -1
- package/{toolApiClient-7WSJJJBV.js → toolApiClient-HGNO53TC.js} +2 -2
- package/{tools-5WYAUKMK.js → tools-TOSN72UD.js} +37 -37
- package/{tuiSummaryLlmCaller-PPU7YDBG.js → tuiSummaryLlmCaller-KLK6K3Q3.js} +8 -8
- package/{updateCommands-NQXAGFM7.js → updateCommands-LXZLG44Y.js} +2 -2
- package/{updateDialogTitleAction-YJHDKHFX.js → updateDialogTitleAction-TJWFUJX4.js} +20 -20
- package/{workloadLifecycle-36DXRZKU.js → workloadLifecycle-6O6PMISX.js} +2 -2
- package/chunk-W4S6OTSC.js +0 -35
- package/settingThunks-Y7SVJOMZ.js +0 -1371
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fetchReferenceContents,
|
|
3
3
|
resolveReferenceAssets
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ZGSW3HWM.js";
|
|
5
5
|
import {
|
|
6
6
|
updateTokensAction
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-QSKN3E7Q.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-6TF64IF2.js";
|
|
16
16
|
import {
|
|
17
17
|
isRecord
|
|
18
18
|
} from "./chunk-KUG52IAP.js";
|
|
@@ -27,11 +27,11 @@ import {
|
|
|
27
27
|
stablePromptCacheKey,
|
|
28
28
|
toOpenAiCompatibleMessages,
|
|
29
29
|
toResponsesTools
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-6TF64IF2.js";
|
|
31
31
|
import {
|
|
32
32
|
isMeaningfulChatCompletionOutput,
|
|
33
33
|
isMeaningfulResponsesOutput
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-2MTE2PEH.js";
|
|
35
35
|
import {
|
|
36
36
|
clipCompactText
|
|
37
37
|
} from "./chunk-5MMAK75Q.js";
|
|
@@ -44,14 +44,14 @@ import {
|
|
|
44
44
|
resolvePlatformAuthToken,
|
|
45
45
|
resolvePlatformServerUrl,
|
|
46
46
|
resolveProviderTransportDecision
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-SUKSWFLP.js";
|
|
48
48
|
import {
|
|
49
49
|
isRecord
|
|
50
50
|
} from "./chunk-KUG52IAP.js";
|
|
51
51
|
import {
|
|
52
52
|
NOLO_CLIENT_VERSION_HEADER,
|
|
53
53
|
isPlatformMimoProviderModel
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-CGFNDIKK.js";
|
|
55
55
|
|
|
56
56
|
// packages/ai/token/sseUsageExtract.ts
|
|
57
57
|
var TOKEN_FIELDS = [
|
|
@@ -222,6 +222,52 @@ var BUILTIN_AGENT_CATALOG = [
|
|
|
222
222
|
// platformHostedRoutingTable.ts「2026-09-28 发布,替换上一代 Sonnet 5 上架」。
|
|
223
223
|
releasedAtMs: releasedAt("2026-09-28")
|
|
224
224
|
},
|
|
225
|
+
// ── 顾问档(2026-10-20 求助模式 escalation-help-mode 上架)──
|
|
226
|
+
// 这三个模型此前只在平台模型目录里(可计价、可路由),但 catalog 无条目 →
|
|
227
|
+
// 没有可派发的 agentKey,求助模式无法用 `startAgentRun` 派顾问子 run。
|
|
228
|
+
// 三个 ID 都由 deterministicId 派生(种子串见 publicAgentSeeds 的对应 DEF),
|
|
229
|
+
// builtinAgents.identity.test 做 1:1 交叉断言,禁止手抄漂移。
|
|
230
|
+
{
|
|
231
|
+
// deterministicId("01GPT6ASTRAP", "shared-space-nolo-gpt-6-astra")
|
|
232
|
+
id: "01GPT6ASTRAP00000001H1J4UG",
|
|
233
|
+
group: "public",
|
|
234
|
+
lifecycle: "active",
|
|
235
|
+
name: "GPT-6 Astra",
|
|
236
|
+
provider: "nolo",
|
|
237
|
+
model: "gpt-6-astra",
|
|
238
|
+
// 出处:无官方发布日的代码出处(platformHosted 目录对 gpt-6-astra 未填
|
|
239
|
+
// releasedAtMs)。填本次广场上架日(2026-10-20)——即该商品在本目录里的
|
|
240
|
+
// 上架时间真值,不猜官方发布日期。
|
|
241
|
+
releasedAtMs: releasedAt("2026-10-20")
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
// deterministicId("01GPT61SOLPB", "shared-space-nolo-gpt-6-1-sol")
|
|
245
|
+
id: "01GPT61SOLPB00000001DADDP0",
|
|
246
|
+
group: "public",
|
|
247
|
+
lifecycle: "active",
|
|
248
|
+
name: "GPT-6.1 Sol",
|
|
249
|
+
provider: "nolo",
|
|
250
|
+
model: "gpt-6.1-sol",
|
|
251
|
+
// 注意:model 用 gpt-6.1-sol 而不是 gpt-5.6-sol——后者自 2026-10-13 起是
|
|
252
|
+
// 前一者的兼容别名(PLATFORM_MODEL_ALIASES),上面 retired 的
|
|
253
|
+
// 「GPT-5.6 Sol(兼容)」条目按原样保留,只服务存量记录的路由兼容。
|
|
254
|
+
// 出处:platformHosted.ts 的 PLATFORM_HOSTED_GPT_6_1_SOL_PRICE 注释
|
|
255
|
+
// 「GPT-6.1 Sol(2026-10-13 收进广场)」= 平台上架日。
|
|
256
|
+
releasedAtMs: releasedAt("2026-10-13")
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
// deterministicId("01KIMIK3PLAZ", "shared-space-nolo-kimi-k3")
|
|
260
|
+
id: "01KIMIK3PLAZ00000000CBJU3S",
|
|
261
|
+
group: "public",
|
|
262
|
+
lifecycle: "active",
|
|
263
|
+
name: "Kimi K3",
|
|
264
|
+
provider: "nolo",
|
|
265
|
+
model: "kimi-k3",
|
|
266
|
+
// 出处:无官方发布日的代码出处(platformHosted 目录对 kimi-k3 未填
|
|
267
|
+
// releasedAtMs;价格注释里的 2026-09-15 是 Baseten 页面核价日,不是发布日)。
|
|
268
|
+
// 填本次广场上架日(2026-10-20),不猜官方日期。
|
|
269
|
+
releasedAtMs: releasedAt("2026-10-20")
|
|
270
|
+
},
|
|
225
271
|
{
|
|
226
272
|
id: "01GEM37FLPB00000000FJCRNC",
|
|
227
273
|
group: "public",
|
|
@@ -350,6 +396,12 @@ var PUBLIC_DEEPSEEK_V4_PRO_AGENT_ID = entry("01DSV4PRONPB00000001VIR3EK").id;
|
|
|
350
396
|
var PUBLIC_DEEPSEEK_V4_PRO_AGENT_KEY = publicAgentKey(PUBLIC_DEEPSEEK_V4_PRO_AGENT_ID);
|
|
351
397
|
var PUBLIC_GLM_53_FLASH_AGENT_ID = entry("01GLMFLASHPB00000000BT20BC").id;
|
|
352
398
|
var PUBLIC_GLM_53_FLASH_AGENT_KEY = publicAgentKey(PUBLIC_GLM_53_FLASH_AGENT_ID);
|
|
399
|
+
var PUBLIC_GPT_6_ASTRA_AGENT_ID = entry("01GPT6ASTRAP00000001H1J4UG").id;
|
|
400
|
+
var PUBLIC_GPT_6_ASTRA_AGENT_KEY = publicAgentKey(PUBLIC_GPT_6_ASTRA_AGENT_ID);
|
|
401
|
+
var PUBLIC_GPT_61_SOL_AGENT_ID = entry("01GPT61SOLPB00000001DADDP0").id;
|
|
402
|
+
var PUBLIC_GPT_61_SOL_AGENT_KEY = publicAgentKey(PUBLIC_GPT_61_SOL_AGENT_ID);
|
|
403
|
+
var PUBLIC_KIMI_K3_AGENT_ID = entry("01KIMIK3PLAZ00000000CBJU3S").id;
|
|
404
|
+
var PUBLIC_KIMI_K3_AGENT_KEY = publicAgentKey(PUBLIC_KIMI_K3_AGENT_ID);
|
|
353
405
|
var PUBLIC_KIMI_K26_IMAGE_AGENT_ID = entry("01KIMIK26OLLAMA0000000001").id;
|
|
354
406
|
var PUBLIC_KIMI_K26_IMAGE_AGENT_KEY = publicAgentKey(PUBLIC_KIMI_K26_IMAGE_AGENT_ID);
|
|
355
407
|
var PUBLIC_GPT_IMAGE_2_GENERATOR_AGENT_ID = entry("01GPTIMG2GEN00000000SSEBOS").id;
|
|
@@ -372,6 +424,7 @@ var isSystemBuiltinTrustedAgentKey = (key) => typeof key === "string" && SYSTEM_
|
|
|
372
424
|
var isBuiltinPlatformAgentKey = (key) => parseBuiltinPlatformAgentId(key) !== null;
|
|
373
425
|
|
|
374
426
|
export {
|
|
427
|
+
BUILTIN_AGENT_CATALOG,
|
|
375
428
|
builtinAgentCatalogEntryById,
|
|
376
429
|
catalogReleasedAtMs,
|
|
377
430
|
builtinRuntimeFallbackEntries,
|
|
@@ -383,6 +436,9 @@ export {
|
|
|
383
436
|
PUBLIC_DEEPSEEK_V4_FLASH_AGENT_ID,
|
|
384
437
|
PUBLIC_DEEPSEEK_V4_PRO_AGENT_ID,
|
|
385
438
|
PUBLIC_GLM_53_FLASH_AGENT_ID,
|
|
439
|
+
PUBLIC_GPT_6_ASTRA_AGENT_ID,
|
|
440
|
+
PUBLIC_GPT_61_SOL_AGENT_ID,
|
|
441
|
+
PUBLIC_KIMI_K3_AGENT_ID,
|
|
386
442
|
PUBLIC_GPT_IMAGE_2_GENERATOR_AGENT_ID,
|
|
387
443
|
PUBLIC_GPT_IMAGE_2_EDITOR_AGENT_ID,
|
|
388
444
|
PUBLIC_GPT_IMAGE_2_CONTINUOUS_AGENT_ID,
|
|
@@ -4,14 +4,14 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
patch,
|
|
6
6
|
read
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ZVQHBIWV.js";
|
|
8
8
|
import {
|
|
9
9
|
DEVICE_LOCAL_OWNER_ID,
|
|
10
10
|
isDeviceLocalSpaceBody
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-2SGAI64X.js";
|
|
12
12
|
import {
|
|
13
13
|
selectIdentityUserId
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-PXYBUFDB.js";
|
|
15
15
|
|
|
16
16
|
// packages/create/space/utils/permissions.ts
|
|
17
17
|
var checkSpaceMembership = (spaceData, userId) => {
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
scheduleExistingRecordReplication,
|
|
8
8
|
shouldReplaceLocalWithRemoteRecord,
|
|
9
9
|
shouldReplicateLocalRecord
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-2SGAI64X.js";
|
|
11
11
|
import {
|
|
12
12
|
fetchFromClientDb,
|
|
13
13
|
fetchFromServer,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
} from "./chunk-7DPNBQSV.js";
|
|
23
23
|
import {
|
|
24
24
|
isBuiltinPlatformAgentKey
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-LOEO7LRC.js";
|
|
26
26
|
import {
|
|
27
27
|
NOLO_CLUSTER_SERVERS,
|
|
28
28
|
normalizeKnownServerOrigin
|
|
@@ -270,7 +270,7 @@ var readAction = async (payload, thunkApi) => {
|
|
|
270
270
|
authorityServer: preferredServerOrigin ?? authority.authorityServer,
|
|
271
271
|
serverOrigin: authority.serverOrigin
|
|
272
272
|
});
|
|
273
|
-
|
|
273
|
+
let { preferredServer, fallbackServers, orderedServersForLocalHit } = partitionReadServers({
|
|
274
274
|
allServers: authorityPlannedServers,
|
|
275
275
|
preferredServerOrigin: preferredServerOrigin ?? authority.authorityServer
|
|
276
276
|
});
|
|
@@ -290,7 +290,17 @@ var readAction = async (payload, thunkApi) => {
|
|
|
290
290
|
);
|
|
291
291
|
}
|
|
292
292
|
}
|
|
293
|
-
|
|
293
|
+
let authoritativeServerOrigin = null;
|
|
294
|
+
if (typeof payload.authoritativeServerOrigin === "string") {
|
|
295
|
+
try {
|
|
296
|
+
const origin = new URL(payload.authoritativeServerOrigin.trim());
|
|
297
|
+
if ((origin.protocol === "https:" || origin.protocol === "http:") && origin.pathname === "/" && !origin.search && !origin.hash && !origin.username && !origin.password) {
|
|
298
|
+
authoritativeServerOrigin = origin.origin;
|
|
299
|
+
}
|
|
300
|
+
} catch {
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
if (authorityPlannedServers.length === 0 && (localData || !authoritativeServerOrigin)) {
|
|
294
304
|
if (localData) {
|
|
295
305
|
if (isDialogKey) {
|
|
296
306
|
console.info("[readAction-perf] dialog offline-local-hit", {
|
|
@@ -342,6 +352,10 @@ var readAction = async (payload, thunkApi) => {
|
|
|
342
352
|
}
|
|
343
353
|
return normalizeReadRecord(dbKey, localData);
|
|
344
354
|
}
|
|
355
|
+
if (authoritativeServerOrigin) {
|
|
356
|
+
preferredServer = authoritativeServerOrigin;
|
|
357
|
+
fallbackServers = [];
|
|
358
|
+
}
|
|
345
359
|
if (preferredServer) {
|
|
346
360
|
try {
|
|
347
361
|
const preferredRemoteData = await fetchFromServer(
|
|
@@ -5,24 +5,24 @@ import {
|
|
|
5
5
|
normalizePolicyLevelSetting,
|
|
6
6
|
normalizeSystemBuiltinSkills,
|
|
7
7
|
normalizeTonePresetSetting
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-VYNMQ6HW.js";
|
|
9
9
|
import {
|
|
10
10
|
fetchAndCacheTableRows
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-6COBMDV4.js";
|
|
12
12
|
import {
|
|
13
13
|
require_react
|
|
14
14
|
} from "./chunk-YDH3FDFQ.js";
|
|
15
15
|
import {
|
|
16
16
|
createAsyncThunk,
|
|
17
17
|
createSelector
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-WRCZXJ4N.js";
|
|
19
19
|
import {
|
|
20
20
|
selectIdentityUserId
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-PXYBUFDB.js";
|
|
22
22
|
import {
|
|
23
23
|
resolveBuiltinCapability,
|
|
24
24
|
resolveBuiltinSkillEntry
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-DC3SZCRR.js";
|
|
26
26
|
import {
|
|
27
27
|
DEFAULT_SYSTEM_AGENT_CAPABILITIES
|
|
28
28
|
} from "./chunk-EUGTFFO6.js";
|
|
@@ -287,7 +287,11 @@ var MODES = [
|
|
|
287
287
|
var DEFAULT_RECOMMENDED_SKILL_SLUGS = [
|
|
288
288
|
"worktree-isolation",
|
|
289
289
|
"systematic-investigation",
|
|
290
|
-
"show-me"
|
|
290
|
+
"show-me",
|
|
291
|
+
// 凭据管理:仓库已有 nolo secret(set/list/run/bind),但技能发现只扫
|
|
292
|
+
// `.agents/skills`,内置的 secrets-manager 不会出现在"可用技能"里。放进默认
|
|
293
|
+
// 提示名单让它至少以一行提示出现(不授工具、不放宽权限)。
|
|
294
|
+
"secrets-manager"
|
|
291
295
|
];
|
|
292
296
|
var asMode = (value) => typeof value === "string" && MODES.includes(value) ? value : null;
|
|
293
297
|
var resolveAgentSkillConfig = (source) => {
|
|
@@ -517,7 +521,7 @@ var executeToolRun = createAsyncThunk(
|
|
|
517
521
|
if (!executionInput) {
|
|
518
522
|
throw new Error(`ToolRun ${id} has no input to execute with.`);
|
|
519
523
|
}
|
|
520
|
-
const { findToolExecutor } = await import("./tools-
|
|
524
|
+
const { findToolExecutor } = await import("./tools-TOSN72UD.js");
|
|
521
525
|
const { executor } = findToolExecutor(run.toolName);
|
|
522
526
|
toolRunStarted({
|
|
523
527
|
id: run.id,
|
|
@@ -541,7 +545,7 @@ var executeToolRun = createAsyncThunk(
|
|
|
541
545
|
const latestState = thunkApi.getState();
|
|
542
546
|
const userId = selectIdentityUserId(latestState);
|
|
543
547
|
if (userId) {
|
|
544
|
-
const { fetchUserSpaceMemberships } = await import("./memberThunks-
|
|
548
|
+
const { fetchUserSpaceMemberships } = await import("./memberThunks-2DWKLE6W.js");
|
|
545
549
|
await thunkApi.dispatch(fetchUserSpaceMemberships(userId));
|
|
546
550
|
}
|
|
547
551
|
}
|