nolo-cli 0.242.0-alpha.1 → 0.243.0-alpha.2
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-IZ2MCXHO.js → _executeModel-OO3WNJZJ.js} +50 -50
- package/{action-VDEW6WLI.js → action-4V2UISXC.js} +5 -5
- package/{addContentAction-7YVXHIPQ.js → addContentAction-5MZDMGI6.js} +8 -8
- package/{addDialogAgentAction-BX7B47HF.js → addDialogAgentAction-ONVFHUOL.js} +8 -8
- package/{agentDeleteCommand-N7ELXPLD.js → agentDeleteCommand-XLYICAHH.js} +67 -67
- package/{agentEmailCommands-OFS477PV.js → agentEmailCommands-Q4LFOXQC.js} +68 -68
- package/{agentListCommands-IQQHJSXP.js → agentListCommands-B2GNRH2Z.js} +31 -31
- package/{agentMachineCommands-NS65BEW7.js → agentMachineCommands-7QQM6RU6.js} +28 -28
- package/{agentProviderCommands-SS6M6VGY.js → agentProviderCommands-BQP2IK4C.js} +2 -2
- package/{agentRecordCommands-4VE7CNLC.js → agentRecordCommands-FXP672SS.js} +67 -67
- package/{agentRunCommand-2MUXHKNW.js → agentRunCommand-FGEYVKIG.js} +67 -67
- package/{agentRunControl-55GL6Q3M.js → agentRunControl-CVCHDDDC.js} +6 -6
- package/{agentRuntimeLocal-5DB2P4MU.js → agentRuntimeLocal-AMQJ3DDY.js} +25 -25
- package/{agentSlice-5VTAFG43.js → agentSlice-R6BN2FOL.js} +9 -9
- package/{appDeleteCommands-EDKUPHJM.js → appDeleteCommands-YNA5MDFB.js} +29 -29
- package/{appDeployCommands-JO74GW4L.js → appDeployCommands-G4AZK4SE.js} +29 -29
- package/{appDeployStatusCommands-U77ZUHX7.js → appDeployStatusCommands-EGXAYHGY.js} +29 -29
- package/{appGetCommands-QCMHBYPX.js → appGetCommands-IU2EM4WN.js} +29 -29
- package/{appListCommands-ZQJYEXI6.js → appListCommands-2T366VJ2.js} +29 -29
- package/{authCommand-W4KXRZLI.js → authCommand-KVLFWXDS.js} +11 -11
- package/{builtinSkillRegistry-GHE3RD3V.js → builtinSkillRegistry-LRVAQCPW.js} +3 -3
- package/{chunk-XLN2GD6Z.js → chunk-2HZWYJ4G.js} +1 -1
- package/{chunk-3UNAGTBW.js → chunk-37NO3AYF.js} +10 -10
- package/{chunk-IZJFTY4R.js → chunk-3IQ5GP5Y.js} +3 -3
- package/chunk-4JFSDWTN.js +21 -0
- package/{chunk-VNALJT32.js → chunk-53AEDFBL.js} +1 -1
- package/{chunk-BH7CEVOH.js → chunk-5PASH2MB.js} +1 -1
- package/{chunk-HSWEFHFS.js → chunk-6PXFEPHL.js} +1 -1
- package/{chunk-C4KX626C.js → chunk-7AI3MC6I.js} +3 -3
- package/{chunk-7HUHOCIY.js → chunk-7DVJO4J5.js} +14 -14
- package/{chunk-GES5GIAU.js → chunk-7N4O3VUH.js} +4 -4
- package/{chunk-ONFFUQYM.js → chunk-A4RK66EV.js} +1 -1
- package/{chunk-SBRSXY67.js → chunk-AERVJIZ2.js} +1 -1
- package/{chunk-QYNABNNQ.js → chunk-AGQ6WAB2.js} +7 -7
- package/{chunk-2T5BHLID.js → chunk-AUBXID4I.js} +20 -20
- package/{chunk-6326DRQY.js → chunk-B5U64NZU.js} +1 -1
- package/{chunk-T3WSFTBS.js → chunk-BEJ243X3.js} +1 -1
- package/{chunk-EKXPHL7M.js → chunk-BH6FBRQE.js} +3 -3
- package/{chunk-KMW5CRRM.js → chunk-BRZFJQTW.js} +39 -39
- package/{chunk-6MX6S6TE.js → chunk-BZLF2LAP.js} +1 -1
- package/{chunk-ZVOL2MAJ.js → chunk-CO6E7YK6.js} +1 -1
- package/{chunk-F4MCAOWN.js → chunk-CQG24S2Q.js} +13 -6
- package/{chunk-UWOCASVL.js → chunk-DEOPZE4S.js} +3 -3
- package/{chunk-OQHIVPG4.js → chunk-E6A5NHDH.js} +4 -1
- package/{chunk-4F7SWSWO.js → chunk-FBVN3B5T.js} +2 -2
- package/{chunk-LMFMV5UC.js → chunk-FQFSLPNJ.js} +2 -2
- package/{chunk-5GRWWUB4.js → chunk-FUG2L353.js} +4 -4
- package/{chunk-CJTB3OYB.js → chunk-G3SJCNHX.js} +2 -2
- package/{chunk-CHYYSFFM.js → chunk-G3Y56RZA.js} +3 -3
- package/{chunk-LZOOUQAZ.js → chunk-GEKRDIMM.js} +2 -2
- package/{chunk-4UK6UBXF.js → chunk-GEY2UH2I.js} +17 -13
- package/{chunk-6XLWUNZB.js → chunk-GKZGOSZE.js} +10 -10
- package/{chunk-J2XZZXIH.js → chunk-GKZHJD7O.js} +3 -3
- package/{chunk-SBRJOYND.js → chunk-GRVQJNSR.js} +129 -38
- package/{chunk-M5EA44QU.js → chunk-HBO6UW3O.js} +4 -4
- package/{chunk-2N4UBHUU.js → chunk-HKT7KOIX.js} +4 -4
- package/{chunk-KF2DWSAH.js → chunk-HTENYMO3.js} +1 -1
- package/{chunk-WVOZ35E4.js → chunk-HZN5VE32.js} +11 -8
- package/{chunk-OJRTTERA.js → chunk-IBQHHCQE.js} +2 -1
- package/{chunk-7AWKDRXG.js → chunk-IUK5NHLN.js} +1 -1
- package/{chunk-Y22P6ASC.js → chunk-JFGKVVLB.js} +3 -3
- package/{chunk-JBWXPACD.js → chunk-JP2BH4NC.js} +1 -1
- package/{chunk-DOK7GDRU.js → chunk-JV5FHHF7.js} +1 -1
- package/{chunk-TOK555CQ.js → chunk-KMIDT4SW.js} +1 -1
- package/{chunk-P244EH4W.js → chunk-KOTJT7CY.js} +3 -3
- package/{chunk-4YFC3DWW.js → chunk-KQHEGELM.js} +1 -1
- package/{chunk-3OQFXODL.js → chunk-KV5FDJOD.js} +2 -2
- package/{chunk-WRKMXMU7.js → chunk-KZAT2M2V.js} +12 -8
- package/{chunk-VMWY7TUA.js → chunk-LADIVKVA.js} +1 -1
- package/{chunk-UR7555FE.js → chunk-LCPP65AH.js} +4 -4
- package/{chunk-BEM6LPD2.js → chunk-LHCGKAFO.js} +18 -13
- package/{chunk-Y3DOUQQQ.js → chunk-LNFCR5IA.js} +2 -2
- package/{chunk-MFXJY44K.js → chunk-NJJK3PDA.js} +3 -3
- package/{chunk-U4VSBDO5.js → chunk-O5MEXHJW.js} +65 -46
- package/{chunk-ODGSLWLO.js → chunk-ONXCCILE.js} +44 -31
- package/{chunk-6S6CZUXK.js → chunk-OPZBKP4X.js} +6 -6
- package/{chunk-YUZ2DAIH.js → chunk-OXFJWWOT.js} +1 -1
- package/{chunk-QUJKDFZW.js → chunk-QE6U2BKG.js} +3 -3
- package/{chunk-XNEDFWT4.js → chunk-RRYDDDV7.js} +2 -2
- package/{chunk-PK7VT4ZU.js → chunk-RXCP7AIJ.js} +2 -2
- package/{chunk-3ORFJP2Z.js → chunk-SEDJEJBH.js} +1 -1
- package/{chunk-UDT4SI37.js → chunk-SF4GMDZO.js} +2 -2
- package/{chunk-YTEY27GN.js → chunk-SGI2FIGK.js} +2 -2
- package/{chunk-IIG3TT73.js → chunk-SMYUQDYW.js} +1 -1
- package/{chunk-DPAIQLAL.js → chunk-SSTQPNS5.js} +10 -10
- package/{chunk-RGUWOMXU.js → chunk-SYWYGUPT.js} +16 -16
- package/{chunk-247AAJRK.js → chunk-T3CUXNV4.js} +1 -1
- package/{chunk-KLD7K5FD.js → chunk-TCY22W2Y.js} +4 -4
- package/{chunk-RIMFTQMC.js → chunk-TKE4OJ4B.js} +1 -1
- package/{chunk-UQXOORR3.js → chunk-TRN54YTP.js} +3 -3
- package/{chunk-I2OYPD3Y.js → chunk-U35UUM5K.js} +1 -0
- package/{chunk-HQVNO7FH.js → chunk-U3PDJ6EI.js} +16 -16
- package/{chunk-ZCZLTJEW.js → chunk-UEMUDUHP.js} +2 -2
- package/{chunk-RH44TIHX.js → chunk-V2COUWMQ.js} +3 -3
- package/{chunk-JVJ53XCH.js → chunk-VEVLLBFK.js} +1 -1
- package/{chunk-6MQWGA5F.js → chunk-VTB6V4UF.js} +8 -8
- package/{chunk-7GTXPS3D.js → chunk-VVNP722P.js} +3 -3
- package/{chunk-N6EN3HK3.js → chunk-W4EAF272.js} +1 -1
- package/{chunk-Y5EBOURK.js → chunk-WIRH2ZLI.js} +2 -2
- package/{chunk-ZCVBIIUE.js → chunk-WXZZQRAH.js} +1 -1
- package/{chunk-J25ESVUW.js → chunk-XMSAOVF3.js} +5 -5
- package/{chunk-4FE3IWRE.js → chunk-XRFUYUS7.js} +1 -1
- package/{chunk-XDNXKFWF.js → chunk-YDTLGWBU.js} +2 -2
- package/{chunk-ER3P6MBT.js → chunk-YFDLRLW7.js} +1 -1
- package/{chunk-V2V5Q6DU.js → chunk-YO4DCVD2.js} +2 -2
- package/{chunk-ENYTIRIO.js → chunk-YTYVSOY4.js} +3 -3
- package/{chunk-OKPC4QNX.js → chunk-ZGHHY2PV.js} +2 -2
- package/{cliAgentConfigHelpers-6OFDHJFT.js → cliAgentConfigHelpers-H3VR6JID.js} +7 -7
- package/{cliLocalAgentRecordReader-FHIMCBUK.js → cliLocalAgentRecordReader-V6CTIXXV.js} +29 -29
- package/{commandRegistry-OKIWAJIS.js → commandRegistry-GBAVYSJE.js} +71 -71
- package/{contentThunks-VF2DCU46.js → contentThunks-IRJERA32.js} +24 -24
- package/{createAgentAutomationAction-BGET7Q6K.js → createAgentAutomationAction-EKJMTIUX.js} +24 -24
- package/{createDialogAction-XYDQZETK.js → createDialogAction-SI5EKEF6.js} +25 -25
- package/{createPageAction-74S5RO7U.js → createPageAction-OAQ2Z73C.js} +25 -25
- package/{dbSlice-FI7VNDR5.js → dbSlice-JBLCCYKC.js} +7 -7
- package/{deleteFile-GD62MPZW.js → deleteFile-KV5VTKAT.js} +5 -5
- package/{dialogCommands-Y6DHZUAM.js → dialogCommands-BL4F6CUD.js} +31 -31
- package/{dialogNotifyCommand-MKXL4NGL.js → dialogNotifyCommand-KOKWBD5H.js} +8 -8
- package/{dialogSlice-XAUKSWZ4.js → dialogSlice-PRXHSZKA.js} +22 -22
- package/{docCreateCommands-PHDFOQBM.js → docCreateCommands-V7WKJK6O.js} +28 -28
- package/{docDeleteCommands-OSHJM67Y.js → docDeleteCommands-2OQMG3A2.js} +29 -29
- package/{docReadCommands-E6QYCFMS.js → docReadCommands-FVABF2BU.js} +28 -28
- package/{docStore-ZZT2BEBU.js → docStore-ISD6RJ4Q.js} +8 -8
- package/{docUpdateCommands-DHIOPK2C.js → docUpdateCommands-H2AZNG2G.js} +28 -28
- package/{getPricing-RNRITFOP.js → getPricing-XZXEWFPY.js} +3 -3
- package/{handleSendMessageAction-ARUU6CNF.js → handleSendMessageAction-53ZRMHZI.js} +42 -42
- package/{hostCredentialCreate-SNQT73H4.js → hostCredentialCreate-CE7VH3QY.js} +67 -67
- package/index.js +5 -5
- package/{localRuntimeAdapter-MHI6Y2IZ.js → localRuntimeAdapter-HFSSPXSN.js} +66 -66
- package/{machineCommands-3O6Y27R4.js → machineCommands-RD3VAUXS.js} +67 -67
- package/{machineWsRunDispatch-5PFLR5XC.js → machineWsRunDispatch-4F57JVF5.js} +67 -67
- package/{mcpLocalAuthorizeCommand-BQCQ2KRJ.js → mcpLocalAuthorizeCommand-BDSRBFJB.js} +10 -10
- package/{memberThunks-TU6A6OBV.js → memberThunks-TWB77UHJ.js} +9 -9
- package/{models-CINY5UZR.js → models-RIKQRH6B.js} +2 -2
- package/package.json +1 -1
- package/{projectArchive-X2EVXU3N.js → projectArchive-NSWHU25G.js} +25 -25
- package/{providerPresetApply-HUWNV2NI.js → providerPresetApply-JBCXP3JP.js} +5 -5
- package/{providerRegistry-7FWKDKZJ.js → providerRegistry-AMR7WUWQ.js} +5 -5
- package/{read-QAHEQID5.js → read-CO6HMH5W.js} +5 -5
- package/{readDocTool-KG5DP6EM.js → readDocTool-P4MDVRNW.js} +1 -1
- package/{readlineWorkspace-SO3APHVP.js → readlineWorkspace-5DBAVNUP.js} +107 -87
- package/{removeDialogAgentAction-QZCCVK2G.js → removeDialogAgentAction-D3R3QNPD.js} +10 -10
- package/{runAgentClientLoop-FLHHCOVH.js → runAgentClientLoop-RJ7KEUWO.js} +47 -47
- package/{runtimeDoctorCommands-DN3I52C6.js → runtimeDoctorCommands-EQS62LQV.js} +5 -5
- package/{secretCommands-36BCE3UE.js → secretCommands-LH7QTJO2.js} +2 -2
- package/{setDialogExtraReferencesAction-PDPTYSEW.js → setDialogExtraReferencesAction-VORDLM57.js} +9 -9
- package/{setPrimaryDialogAgentAction-DOUIPR66.js → setPrimaryDialogAgentAction-P5A65M32.js} +10 -10
- package/{settingThunks-MHGGP6UE.js → settingThunks-JGBSDOC6.js} +12 -12
- package/{spaceCommands-JH7UYE3K.js → spaceCommands-GFDX7H5J.js} +28 -28
- package/{streamAgentChatTurn-VDDA2TX6.js → streamAgentChatTurn-FRPZ7DE2.js} +98 -83
- package/{switchDialogAgentAction-7USK3DAP.js → switchDialogAgentAction-DMMWH5FG.js} +8 -8
- package/{tableCommands-UONBFC7L.js → tableCommands-UHEA5QNL.js} +2 -2
- package/{toolApiClient-53YMJ2G6.js → toolApiClient-N5PYW2R3.js} +2 -2
- package/{tools-MIOCXKMG.js → tools-7JMKOJPW.js} +41 -41
- package/{tuiRestart-ET3QISZ5.js → tuiRestart-RATR636G.js} +7 -7
- package/{tuiSummaryLlmCaller-MSINBP3M.js → tuiSummaryLlmCaller-J5HB4XVS.js} +12 -12
- package/{updateDialogTitleAction-2L4CC4YO.js → updateDialogTitleAction-BQH24I5O.js} +24 -24
- package/{usageCommand-JTKDAG6I.js → usageCommand-WW22APZ6.js} +1 -1
- package/{usageRebuildCommand-4TFZCKXM.js → usageRebuildCommand-B3S67JXH.js} +2 -2
- package/chunk-776CXKMX.js +0 -134
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
toolRegistry
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-GRVQJNSR.js";
|
|
4
4
|
import {
|
|
5
5
|
runtime_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ONXCCILE.js";
|
|
7
7
|
import {
|
|
8
8
|
canonicalizeToolNames
|
|
9
9
|
} from "./chunk-YLAHYLDQ.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./chunk-KUG52IAP.js";
|
|
13
13
|
import {
|
|
14
14
|
isNoloHostedProvider
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-O5MEXHJW.js";
|
|
16
16
|
import {
|
|
17
17
|
asTrimmedLowercaseString
|
|
18
18
|
} from "./chunk-QSJ3HFEF.js";
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
resolveDiscoveryScope,
|
|
7
7
|
resolvePaginationArgs,
|
|
8
8
|
toDiscoverySafeAgentSummary
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-HZN5VE32.js";
|
|
10
10
|
import {
|
|
11
11
|
normalizeTopicKey
|
|
12
12
|
} from "./chunk-MVOZ22RZ.js";
|
|
@@ -19,12 +19,12 @@ import {
|
|
|
19
19
|
normalizeAgentUpdateFieldList,
|
|
20
20
|
normalizeSystemBuiltinSkills,
|
|
21
21
|
normalizeUiPlugins
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-SF4GMDZO.js";
|
|
23
23
|
import {
|
|
24
24
|
applyFetchSpaceFulfilled,
|
|
25
25
|
fetchAuthoritativeRemoteSpace,
|
|
26
26
|
selectSpaceRemoteAuth
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-WIRH2ZLI.js";
|
|
28
28
|
import {
|
|
29
29
|
ToolResultError,
|
|
30
30
|
clipMultilineText,
|
|
@@ -38,28 +38,28 @@ import {
|
|
|
38
38
|
toolRunUpdated,
|
|
39
39
|
uiCardFallback,
|
|
40
40
|
waitForAbortableDelay
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-SSTQPNS5.js";
|
|
42
42
|
import {
|
|
43
43
|
isGatewayHttpStatus
|
|
44
44
|
} from "./chunk-NF64D32W.js";
|
|
45
45
|
import {
|
|
46
46
|
resolveUserEnabledSkills
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-6PXFEPHL.js";
|
|
48
48
|
import {
|
|
49
49
|
createDocState
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-G3Y56RZA.js";
|
|
51
51
|
import {
|
|
52
52
|
readDocFunc,
|
|
53
53
|
readDocFunctionSchema,
|
|
54
54
|
readPageFunc,
|
|
55
55
|
readPageFunctionSchema,
|
|
56
56
|
resolvePageReadMarkdown
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-SEDJEJBH.js";
|
|
58
58
|
import {
|
|
59
59
|
createDialogAction,
|
|
60
60
|
uiAskChoiceFunc,
|
|
61
61
|
uiAskChoiceFunctionSchema
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-TCY22W2Y.js";
|
|
63
63
|
import {
|
|
64
64
|
DEFAULT_COLLAPSED_CATEGORIES,
|
|
65
65
|
addContentToSpace,
|
|
@@ -76,7 +76,7 @@ import {
|
|
|
76
76
|
updateContentCategory,
|
|
77
77
|
updateContentTitle,
|
|
78
78
|
writeStoredCollapsedCategories
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-GKZGOSZE.js";
|
|
80
80
|
import {
|
|
81
81
|
buildDatabaseFileContentUrl,
|
|
82
82
|
deleteDialog,
|
|
@@ -85,14 +85,14 @@ import {
|
|
|
85
85
|
selectCurrentDialogConfig,
|
|
86
86
|
selectCurrentDialogId,
|
|
87
87
|
selectMsgById
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-ONXCCILE.js";
|
|
89
89
|
import {
|
|
90
90
|
createAgent,
|
|
91
91
|
deleteServerSyncedCredential,
|
|
92
92
|
runLlm,
|
|
93
93
|
streamAgentChatTurn,
|
|
94
94
|
updateAgent
|
|
95
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-AGQ6WAB2.js";
|
|
96
96
|
import {
|
|
97
97
|
addMemberSpace,
|
|
98
98
|
getAllMemberSpaces,
|
|
@@ -109,12 +109,12 @@ import {
|
|
|
109
109
|
setViewMode,
|
|
110
110
|
updateCurrentSpaceIfMatch,
|
|
111
111
|
updateMemberSpaceName
|
|
112
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-WXZZQRAH.js";
|
|
113
113
|
import {
|
|
114
114
|
UNCATEGORIZED_ID,
|
|
115
115
|
addContentAction,
|
|
116
116
|
checkSpaceMembership
|
|
117
|
-
} from "./chunk-
|
|
117
|
+
} from "./chunk-SGI2FIGK.js";
|
|
118
118
|
import {
|
|
119
119
|
createSpaceKey,
|
|
120
120
|
normalizeSpaceId
|
|
@@ -130,10 +130,10 @@ import {
|
|
|
130
130
|
selectEntities,
|
|
131
131
|
toTimestampMs,
|
|
132
132
|
write
|
|
133
|
-
} from "./chunk-
|
|
133
|
+
} from "./chunk-VTB6V4UF.js";
|
|
134
134
|
import {
|
|
135
135
|
resolveDefaultReasoningEffort
|
|
136
|
-
} from "./chunk-
|
|
136
|
+
} from "./chunk-OXFJWWOT.js";
|
|
137
137
|
import {
|
|
138
138
|
fetchWithTransientRetry
|
|
139
139
|
} from "./chunk-DXWGFL2Z.js";
|
|
@@ -166,20 +166,20 @@ import {
|
|
|
166
166
|
getRequestConfig,
|
|
167
167
|
getToolBaseUrl,
|
|
168
168
|
getToolRequestContext
|
|
169
|
-
} from "./chunk-
|
|
169
|
+
} from "./chunk-KQHEGELM.js";
|
|
170
170
|
import {
|
|
171
171
|
buildMediaToolConfirmation,
|
|
172
172
|
normalizeMediaConfirmExecutionRevision
|
|
173
173
|
} from "./chunk-QYPE3TS3.js";
|
|
174
174
|
import {
|
|
175
175
|
selectPendingRawDataByPageKey
|
|
176
|
-
} from "./chunk-
|
|
176
|
+
} from "./chunk-U35UUM5K.js";
|
|
177
177
|
import {
|
|
178
178
|
require_react
|
|
179
179
|
} from "./chunk-RD3QLZQV.js";
|
|
180
180
|
import {
|
|
181
181
|
readAction
|
|
182
|
-
} from "./chunk-
|
|
182
|
+
} from "./chunk-DEOPZE4S.js";
|
|
183
183
|
import {
|
|
184
184
|
DEVICE_LOCAL_OWNER_ID,
|
|
185
185
|
getRuntimeServerContext,
|
|
@@ -189,19 +189,23 @@ import {
|
|
|
189
189
|
resolveEffectiveSpaceActorId,
|
|
190
190
|
resolveRecordOwnerUserId,
|
|
191
191
|
selectRuntimeSnapshot
|
|
192
|
-
} from "./chunk-
|
|
192
|
+
} from "./chunk-ZGHHY2PV.js";
|
|
193
193
|
import {
|
|
194
194
|
shareResourceAction
|
|
195
|
-
} from "./chunk-
|
|
195
|
+
} from "./chunk-3IQ5GP5Y.js";
|
|
196
196
|
import {
|
|
197
197
|
selectCurrentServer,
|
|
198
198
|
selectSyncServers
|
|
199
|
-
} from "./chunk-
|
|
199
|
+
} from "./chunk-G3SJCNHX.js";
|
|
200
200
|
import {
|
|
201
201
|
createAsyncThunk,
|
|
202
202
|
createSelector,
|
|
203
203
|
noloWriteRequest
|
|
204
|
-
} from "./chunk-
|
|
204
|
+
} from "./chunk-T3CUXNV4.js";
|
|
205
|
+
import {
|
|
206
|
+
googleSessionRequestToken,
|
|
207
|
+
isGoogleAuthoritySession
|
|
208
|
+
} from "./chunk-5PASH2MB.js";
|
|
205
209
|
import {
|
|
206
210
|
getSessionSnapshotForState,
|
|
207
211
|
selectIdentityToken,
|
|
@@ -245,7 +249,7 @@ import {
|
|
|
245
249
|
} from "./chunk-5MMAK75Q.js";
|
|
246
250
|
import {
|
|
247
251
|
createFileCredentialBroker
|
|
248
|
-
} from "./chunk-
|
|
252
|
+
} from "./chunk-E6A5NHDH.js";
|
|
249
253
|
import {
|
|
250
254
|
asRecordOrEmpty
|
|
251
255
|
} from "./chunk-KX6YBIHG.js";
|
|
@@ -266,7 +270,7 @@ import {
|
|
|
266
270
|
PLUGIN_MANAGEMENT_TOOL_NAMES,
|
|
267
271
|
managementFailure,
|
|
268
272
|
parsePluginManagementInput
|
|
269
|
-
} from "./chunk-
|
|
273
|
+
} from "./chunk-TKE4OJ4B.js";
|
|
270
274
|
import {
|
|
271
275
|
buildSkillDocMarkdown,
|
|
272
276
|
normalizeSkillModalities,
|
|
@@ -336,7 +340,7 @@ import {
|
|
|
336
340
|
DEFAULT_MODEL,
|
|
337
341
|
clampReasoningEffort,
|
|
338
342
|
resolveModelReasoningCapabilityWithCache
|
|
339
|
-
} from "./chunk-
|
|
343
|
+
} from "./chunk-IBQHHCQE.js";
|
|
340
344
|
import {
|
|
341
345
|
isRecord
|
|
342
346
|
} from "./chunk-KUG52IAP.js";
|
|
@@ -1089,7 +1093,7 @@ var HOSTED_EXEC_RUNTIME_TOOL_POLICY = {
|
|
|
1089
1093
|
workspace: { mode: "lease" }
|
|
1090
1094
|
};
|
|
1091
1095
|
var findModelConfig = async (modelName, provider) => {
|
|
1092
|
-
const { ALL_MODELS } = await import("./models-
|
|
1096
|
+
const { ALL_MODELS } = await import("./models-RIKQRH6B.js");
|
|
1093
1097
|
const name = toTrimmedString(modelName);
|
|
1094
1098
|
const prov = toTrimmedString(provider ?? "");
|
|
1095
1099
|
if (!name) return null;
|
|
@@ -1334,7 +1338,7 @@ var buildPlatformFormDataFromArgs = async (args) => {
|
|
|
1334
1338
|
const trimmedModel = toTrimmedString(model);
|
|
1335
1339
|
const trimmedProvider = toTrimmedString(provider);
|
|
1336
1340
|
const modelConfig = await findModelConfig(trimmedModel, trimmedProvider);
|
|
1337
|
-
const { getModelPricing } = await import("./getPricing-
|
|
1341
|
+
const { getModelPricing } = await import("./getPricing-XZXEWFPY.js");
|
|
1338
1342
|
const normalizedTools = tools ?? [];
|
|
1339
1343
|
const resolvedRuntimeToolPolicy = runtimeToolPolicy ?? (normalizedTools.includes("execShell") ? HOSTED_EXEC_RUNTIME_TOOL_POLICY : void 0);
|
|
1340
1344
|
const formData = {
|
|
@@ -4008,7 +4012,7 @@ async function deleteDialogsFunc(args, thunkApi) {
|
|
|
4008
4012
|
const deletedDialogIds = [];
|
|
4009
4013
|
const deletedDialogKeys = [];
|
|
4010
4014
|
const failures = [];
|
|
4011
|
-
const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-
|
|
4015
|
+
const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-PRXHSZKA.js");
|
|
4012
4016
|
for (const target of targets) {
|
|
4013
4017
|
try {
|
|
4014
4018
|
await thunkApi.dispatch(deleteDialog2(target.dbKey)).unwrap();
|
|
@@ -4090,8 +4094,8 @@ var listAgentsFunctionSchema = {
|
|
|
4090
4094
|
type: "string",
|
|
4091
4095
|
description: "Optional case-insensitive search substring matching agent name, model, provider, handle, or agentKey. Use to locate specific candidates like 'opus', 'devin', or 'claude'."
|
|
4092
4096
|
},
|
|
4093
|
-
verbose: { type: "boolean", description: "Return the full safe-summary field set (prices, introduction,
|
|
4094
|
-
compact: { type: "boolean", description: "Explicit compact projection mode. Responses have hasMore and nextOffset when more locally fetched candidates remain; repeat with offset=nextOffset and the same filters. truncated separately indicates an incomplete upstream pool. Oversized individual candidates return an error. Retains essential agent-selection and admission evidence (agentKey, name, model, tier, billingSource, availabilityStatus, credentialGroup, tools, apiSource, credentialed, quota, economics) while omitting non-admission verbose text like introduction and
|
|
4097
|
+
verbose: { type: "boolean", description: "Return the full safe-summary field set (prices, introduction, timestamps) for troubleshooting. Default false returns the compact agent-selection projection." },
|
|
4098
|
+
compact: { type: "boolean", description: "Explicit compact projection mode. Responses have hasMore and nextOffset when more locally fetched candidates remain; repeat with offset=nextOffset and the same filters. truncated separately indicates an incomplete upstream pool. Oversized individual candidates return an error. Retains essential agent-selection and admission evidence (agentKey, name, model, tier, billingSource, availabilityStatus, credentialGroup, tools, apiSource, credentialed, quota, economics) while omitting non-admission verbose text like introduction and greeting." },
|
|
4095
4099
|
offset: { type: "integer", description: "Optional pagination offset for agent candidates. Default 0." },
|
|
4096
4100
|
fragmentOffset: { type: "integer", description: "Recover an oversized candidate as JSON fragments; start at 0, then use nextFragmentOffset with the same offset, filters, fragmentAgentKey and returned fragmentDigest." },
|
|
4097
4101
|
fragmentAgentKey: { type: "string", description: "Exact agentKey from the oversized-candidate response." },
|
|
@@ -4446,7 +4450,7 @@ var readSkillDocFunctionSchema = {
|
|
|
4446
4450
|
}
|
|
4447
4451
|
};
|
|
4448
4452
|
async function readSkillDocFunc(args, thunkApi) {
|
|
4449
|
-
const { buildReadDocResult } = await import("./readDocTool-
|
|
4453
|
+
const { buildReadDocResult } = await import("./readDocTool-P4MDVRNW.js");
|
|
4450
4454
|
const id = args?.id ?? args?.doc ?? args?.docKey ?? args?.pageKey;
|
|
4451
4455
|
if (typeof id !== "string" || !id.trim()) {
|
|
4452
4456
|
throw new Error("readSkillDoc requires id or doc.");
|
|
@@ -4722,6 +4726,71 @@ function resolveDeleteOwnershipGuard(input) {
|
|
|
4722
4726
|
return "unknown";
|
|
4723
4727
|
}
|
|
4724
4728
|
|
|
4729
|
+
// packages/app/hooks/deleteRemoteRecordPresence.ts
|
|
4730
|
+
var DEFAULT_TIMEOUT_MS = 5e3;
|
|
4731
|
+
var trimOrigin = (server) => server.trim().replace(/\/+$/, "");
|
|
4732
|
+
var buildReadUrl = (server, dbKey) => `${trimOrigin(server)}${API_ENDPOINTS.DATABASE}/read/${encodeURIComponent(dbKey)}`;
|
|
4733
|
+
async function probeServer(input) {
|
|
4734
|
+
const { server, dbKey, token, timeoutMs, fetchImpl } = input;
|
|
4735
|
+
if (!trimOrigin(server)) return { result: "unknown" };
|
|
4736
|
+
const controller = new AbortController();
|
|
4737
|
+
const timeoutId = setTimeout(() => controller.abort(), timeoutMs);
|
|
4738
|
+
try {
|
|
4739
|
+
const requestToken = googleSessionRequestToken(token ?? void 0, server, false);
|
|
4740
|
+
const headers = { "Content-Type": "application/json" };
|
|
4741
|
+
if (requestToken) headers.Authorization = `Bearer ${requestToken}`;
|
|
4742
|
+
const res = await fetchImpl(buildReadUrl(server, dbKey), {
|
|
4743
|
+
method: "GET",
|
|
4744
|
+
headers,
|
|
4745
|
+
signal: controller.signal,
|
|
4746
|
+
// 权威探测必须拒绝重定向:登录跳转/维护页/代理路由的 302 会落到一个与数据库
|
|
4747
|
+
// 端点无关的页面,那个页面的 404 不代表记录不存在。与 read.ts 的
|
|
4748
|
+
// `redirect: "error"` 策略保持一致,任何重定向都按未核实处理。
|
|
4749
|
+
redirect: "error",
|
|
4750
|
+
...isGoogleAuthoritySession(token) ? { credentials: "omit" } : {}
|
|
4751
|
+
});
|
|
4752
|
+
if (res.status === 404 || res.status === 410 || res.status === 204) {
|
|
4753
|
+
return { result: "absent" };
|
|
4754
|
+
}
|
|
4755
|
+
if (res.status !== 200) return { result: "unknown" };
|
|
4756
|
+
const body = await res.json().catch(() => null);
|
|
4757
|
+
if (body && typeof body === "object" && Object.keys(body).length > 0) {
|
|
4758
|
+
return { result: "present", record: body };
|
|
4759
|
+
}
|
|
4760
|
+
return { result: "unknown" };
|
|
4761
|
+
} catch {
|
|
4762
|
+
return { result: "unknown" };
|
|
4763
|
+
} finally {
|
|
4764
|
+
clearTimeout(timeoutId);
|
|
4765
|
+
}
|
|
4766
|
+
}
|
|
4767
|
+
async function probeRemoteRecordPresence(input) {
|
|
4768
|
+
const dbKey = typeof input.dbKey === "string" ? input.dbKey.trim() : "";
|
|
4769
|
+
if (!dbKey) return { status: "unknown", reason: "empty dbKey" };
|
|
4770
|
+
const servers = [];
|
|
4771
|
+
for (const candidate of input.servers ?? []) {
|
|
4772
|
+
const origin = trimOrigin(candidate ?? "");
|
|
4773
|
+
if (!origin || servers.includes(origin)) continue;
|
|
4774
|
+
servers.push(origin);
|
|
4775
|
+
}
|
|
4776
|
+
if (servers.length === 0) {
|
|
4777
|
+
return { status: "unknown", reason: "no server to probe" };
|
|
4778
|
+
}
|
|
4779
|
+
const timeoutMs = typeof input.timeoutMs === "number" && input.timeoutMs > 0 ? input.timeoutMs : DEFAULT_TIMEOUT_MS;
|
|
4780
|
+
const fetchImpl = input.fetchImpl ?? fetch;
|
|
4781
|
+
const probes = await Promise.all(
|
|
4782
|
+
servers.map(
|
|
4783
|
+
(server) => probeServer({ server, dbKey, token: input.token, timeoutMs, fetchImpl }).then((value) => ({ server, ...value })).catch(() => ({ server, result: "unknown" }))
|
|
4784
|
+
)
|
|
4785
|
+
);
|
|
4786
|
+
const present = probes.find((probe) => probe.result === "present");
|
|
4787
|
+
if (present) return { status: "present", record: present.record };
|
|
4788
|
+
if (probes.some((probe) => probe.result !== "absent")) {
|
|
4789
|
+
return { status: "unknown", reason: "probe inconclusive" };
|
|
4790
|
+
}
|
|
4791
|
+
return { status: "absent" };
|
|
4792
|
+
}
|
|
4793
|
+
|
|
4725
4794
|
// packages/app/favorite/favoriteStore.ts
|
|
4726
4795
|
var import_react = __toESM(require_react());
|
|
4727
4796
|
var createInitialState = () => ({
|
|
@@ -4996,11 +5065,33 @@ var deleteDbKey = (input, spaceId, options) => async (dispatch, getState) => {
|
|
|
4996
5065
|
ownedRecord = null;
|
|
4997
5066
|
}
|
|
4998
5067
|
}
|
|
4999
|
-
const
|
|
5068
|
+
const actorUserId = selectIdentityUserId(state2);
|
|
5069
|
+
let verdict = resolveDeleteOwnershipGuard({
|
|
5000
5070
|
ownerId: ownedRecord?.userId ?? ownedRecord?.ownerId,
|
|
5001
|
-
actorUserId
|
|
5071
|
+
actorUserId,
|
|
5002
5072
|
recordLoaded: Boolean(ownedRecord)
|
|
5003
5073
|
});
|
|
5074
|
+
if (verdict === "unknown" && actorUserId) {
|
|
5075
|
+
const { remoteServers, currentToken } = getRuntimeServerContext(
|
|
5076
|
+
state2,
|
|
5077
|
+
preferredServerOrigin
|
|
5078
|
+
);
|
|
5079
|
+
const presence = await probeRemoteRecordPresence({
|
|
5080
|
+
dbKey: contentKey,
|
|
5081
|
+
servers: remoteServers,
|
|
5082
|
+
token: currentToken
|
|
5083
|
+
});
|
|
5084
|
+
if (presence.status === "present") {
|
|
5085
|
+
const remoteRecord = presence.record;
|
|
5086
|
+
verdict = resolveDeleteOwnershipGuard({
|
|
5087
|
+
ownerId: remoteRecord?.userId ?? remoteRecord?.ownerId,
|
|
5088
|
+
actorUserId,
|
|
5089
|
+
recordLoaded: true
|
|
5090
|
+
});
|
|
5091
|
+
} else if (presence.status === "absent") {
|
|
5092
|
+
verdict = "allow";
|
|
5093
|
+
}
|
|
5094
|
+
}
|
|
5004
5095
|
if (verdict === "deny") {
|
|
5005
5096
|
throw new Error("\u65E0\u6743\u5220\u9664\u4ED6\u4EBA\u5185\u5BB9");
|
|
5006
5097
|
}
|
|
@@ -5298,7 +5389,7 @@ var fetchSpaceAction = async (input, thunkAPI) => {
|
|
|
5298
5389
|
const spaceKey = createSpaceKey.space(spaceId);
|
|
5299
5390
|
const readSpace = async (dbKey) => {
|
|
5300
5391
|
try {
|
|
5301
|
-
const { read: read2, readAndWait: readAndWait2 } = await import("./dbSlice-
|
|
5392
|
+
const { read: read2, readAndWait: readAndWait2 } = await import("./dbSlice-JBLCCYKC.js");
|
|
5302
5393
|
const readPromise = fresh ? dispatch(readAndWait2(dbKey)).unwrap() : dispatch(read2({ dbKey })).unwrap();
|
|
5303
5394
|
return await withTimeout(readPromise);
|
|
5304
5395
|
} catch {
|
|
@@ -11211,7 +11302,7 @@ var cloudflareCrawlStatusFunctionSchema = {
|
|
|
11211
11302
|
async function cloudflareCrawlStatusFunc(args, thunkApi) {
|
|
11212
11303
|
const { jobId, limit, status, cursor } = args;
|
|
11213
11304
|
if (!jobId) throw new Error("\u5FC5\u987B\u63D0\u4F9B jobId");
|
|
11214
|
-
const { getToolRequestContext: getToolRequestContext2 } = await import("./toolApiClient-
|
|
11305
|
+
const { getToolRequestContext: getToolRequestContext2 } = await import("./toolApiClient-N5PYW2R3.js");
|
|
11215
11306
|
const { baseUrl, token } = getToolRequestContext2(thunkApi);
|
|
11216
11307
|
const params = new URLSearchParams();
|
|
11217
11308
|
if (limit !== void 0) params.set("limit", String(limit));
|
|
@@ -11987,7 +12078,7 @@ var selectUserIdFromState = (state2) => {
|
|
|
11987
12078
|
var selectCurrentServerFromState = (state2) => typeof state2?.settings?.currentServer === "string" ? state2.settings.currentServer : null;
|
|
11988
12079
|
async function addImageContentToSpace(input) {
|
|
11989
12080
|
const injectedAddContentAction = input.thunkApi?.extra?.addContentAction;
|
|
11990
|
-
const addContentAction2 = typeof injectedAddContentAction === "function" ? injectedAddContentAction : (await import("./addContentAction-
|
|
12081
|
+
const addContentAction2 = typeof injectedAddContentAction === "function" ? injectedAddContentAction : (await import("./addContentAction-5MZDMGI6.js")).addContentAction;
|
|
11991
12082
|
await addContentAction2(
|
|
11992
12083
|
{
|
|
11993
12084
|
spaceId: input.spaceId,
|
|
@@ -19298,7 +19389,7 @@ async function updateDocFunc(args, thunkApi) {
|
|
|
19298
19389
|
updated_at: (/* @__PURE__ */ new Date()).toISOString()
|
|
19299
19390
|
};
|
|
19300
19391
|
await dispatch(write({ data: updatedPageData, customKey: id })).unwrap();
|
|
19301
|
-
const { getDocState, applyExternalDocUpdate } = await import("./docStore-
|
|
19392
|
+
const { getDocState, applyExternalDocUpdate } = await import("./docStore-ISD6RJ4Q.js");
|
|
19302
19393
|
if (getDocState().pageKey === id) {
|
|
19303
19394
|
applyExternalDocUpdate({
|
|
19304
19395
|
slateData: finalSlateData,
|
|
@@ -19323,7 +19414,7 @@ async function updateDocFunc(args, thunkApi) {
|
|
|
19323
19414
|
// packages/ai/tools/updateUserPreferenceProfileTool.ts
|
|
19324
19415
|
async function dispatchSetSettings(thunkApi, changes) {
|
|
19325
19416
|
const injectedSetSettings = thunkApi?.extra?.setSettings;
|
|
19326
|
-
const setSettings = typeof injectedSetSettings === "function" ? injectedSetSettings : (await import("./settingThunks-
|
|
19417
|
+
const setSettings = typeof injectedSetSettings === "function" ? injectedSetSettings : (await import("./settingThunks-JGBSDOC6.js")).setSettings;
|
|
19327
19418
|
await thunkApi.dispatch(setSettings(changes)).unwrap();
|
|
19328
19419
|
}
|
|
19329
19420
|
var updateUserPreferenceProfileFunctionSchema = {
|
|
@@ -28,10 +28,10 @@ import {
|
|
|
28
28
|
stablePromptCacheKey,
|
|
29
29
|
toOpenAiCompatibleMessages,
|
|
30
30
|
toResponsesTools
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-CQG24S2Q.js";
|
|
32
32
|
import {
|
|
33
33
|
resolveToolImagePolicy
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-KOTJT7CY.js";
|
|
35
35
|
import {
|
|
36
36
|
isMeaningfulChatCompletionOutput,
|
|
37
37
|
isMeaningfulResponsesOutput
|
|
@@ -51,14 +51,14 @@ import {
|
|
|
51
51
|
resolvePlatformAuthToken,
|
|
52
52
|
resolvePlatformServerUrl,
|
|
53
53
|
resolveProviderTransportDecision
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-FQFSLPNJ.js";
|
|
55
55
|
import {
|
|
56
56
|
isRecord
|
|
57
57
|
} from "./chunk-KUG52IAP.js";
|
|
58
58
|
import {
|
|
59
59
|
NOLO_CLIENT_VERSION_HEADER,
|
|
60
60
|
isPlatformMimoProviderModel
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-O5MEXHJW.js";
|
|
62
62
|
|
|
63
63
|
// packages/ai/token/sseUsageExtract.ts
|
|
64
64
|
var TOKEN_FIELDS = [
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
canUsePlatformChatProvider,
|
|
11
11
|
parsePlatformChatCompletionResponse,
|
|
12
12
|
resolvePlatformChatProviderConfig
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-HBO6UW3O.js";
|
|
14
14
|
import {
|
|
15
15
|
COMPACTION_SUMMARY_SYSTEM_PROMPT,
|
|
16
16
|
classifySummaryError,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
isTruncatedCompletion,
|
|
19
19
|
selectSummaryRoute,
|
|
20
20
|
summaryCompletionTokens
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-V2COUWMQ.js";
|
|
22
22
|
import {
|
|
23
23
|
isAbortError
|
|
24
24
|
} from "./chunk-7DPNBQSV.js";
|
|
@@ -28,10 +28,10 @@ import {
|
|
|
28
28
|
import {
|
|
29
29
|
resolvePlatformAuthToken,
|
|
30
30
|
resolvePlatformServerUrl
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-FQFSLPNJ.js";
|
|
32
32
|
import {
|
|
33
33
|
PLATFORM_HOSTED_DEEPSEEK_FLASH_MODEL
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-O5MEXHJW.js";
|
|
35
35
|
|
|
36
36
|
// packages/core/accountSession/fetchAccountProfile.ts
|
|
37
37
|
async function fetchAccountProfile(input) {
|
|
@@ -30,14 +30,11 @@ import {
|
|
|
30
30
|
ownedAgentKey,
|
|
31
31
|
publicAgentKey
|
|
32
32
|
} from "./chunk-M2EJHDJP.js";
|
|
33
|
-
import {
|
|
34
|
-
getModelAbility
|
|
35
|
-
} from "./chunk-776CXKMX.js";
|
|
36
33
|
import {
|
|
37
34
|
isAntigravityOAuthAgent,
|
|
38
35
|
isSubscriptionEndpoint,
|
|
39
36
|
isSubscriptionOAuthCredential
|
|
40
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-JFGKVVLB.js";
|
|
41
38
|
import {
|
|
42
39
|
asTrimmedLowercaseString
|
|
43
40
|
} from "./chunk-QSJ3HFEF.js";
|
|
@@ -55,7 +52,15 @@ var GPT_SOL_RE = /^(?:openai\/)?gpt-\d+(?:\.\d+)*-sol(?:-[a-z0-9]+(?:[.-][a-z0-9
|
|
|
55
52
|
var GPT_ASTRA_RE = /^(?:openai\/)?gpt-\d+(?:\.\d+)*-astra(?:-[a-z0-9]+(?:[.-][a-z0-9]+)*)?$/i;
|
|
56
53
|
var KIMI_K3_MODELS = /* @__PURE__ */ new Set([
|
|
57
54
|
"kimi-k3",
|
|
58
|
-
"moonshotai/kimi-k3"
|
|
55
|
+
"moonshotai/kimi-k3",
|
|
56
|
+
// 2026-11-18:K3 由 K3.1 Pro 接替(目录换成 kimi-k3.1-pro),旗舰档门槛保持一致 —
|
|
57
|
+
// 不因换代把 199 档位约束漏掉。
|
|
58
|
+
"kimi-k3.1-pro",
|
|
59
|
+
"moonshotai/kimi-k3.1-pro",
|
|
60
|
+
// 旧 K2.6 经 PLATFORM_MODEL_ALIASES 执行同一 K3.1 Pro 上游与计费:档位判定按
|
|
61
|
+
// 请求 id 直查,不带这一条就会出现「换个旧 id 绕过 premium 门槛」。
|
|
62
|
+
"kimi-k2.6",
|
|
63
|
+
"moonshotai/kimi-k2.6"
|
|
59
64
|
]);
|
|
60
65
|
function classifyPremiumModel(model) {
|
|
61
66
|
const normalizedModel = asTrimmedLowercaseString(model);
|
|
@@ -85,7 +90,7 @@ function isGptProModel(provider, model) {
|
|
|
85
90
|
}
|
|
86
91
|
return classifyPremiumModel(model) !== void 0;
|
|
87
92
|
}
|
|
88
|
-
var GPT_PRO_BLOCKED_MESSAGE = `GPT Pro / Kimi K3 \u7B49\u9AD8\u7EA7\u6A21\u578B\u9700\u8981\u5148\u5F00\u901A ${GPT_PRO_REQUIRED_RECHARGE_AMOUNT} \u79EF\u5206\u6863\u4F4D\u3002`;
|
|
93
|
+
var GPT_PRO_BLOCKED_MESSAGE = `GPT Pro / Kimi K3.1 Pro \u7B49\u9AD8\u7EA7\u6A21\u578B\u9700\u8981\u5148\u5F00\u901A ${GPT_PRO_REQUIRED_RECHARGE_AMOUNT} \u79EF\u5206\u6863\u4F4D\u3002`;
|
|
89
94
|
function shouldBlockForGptPro(input) {
|
|
90
95
|
if (input?.premium !== true || input?.platformPaid !== true) {
|
|
91
96
|
return { blocked: false };
|
|
@@ -450,7 +455,6 @@ function toSafeAgentSummary(record2, options) {
|
|
|
450
455
|
const tools = Array.isArray(record2?.tools) ? record2.tools.filter((t) => typeof t === "string") : [];
|
|
451
456
|
const inputPrice = typeof record2?.inputPrice === "number" && Number.isFinite(record2.inputPrice) ? record2.inputPrice : null;
|
|
452
457
|
const outputPrice = typeof record2?.outputPrice === "number" && Number.isFinite(record2.outputPrice) ? record2.outputPrice : null;
|
|
453
|
-
const modelAbility = model ? getModelAbility(model) ?? null : null;
|
|
454
458
|
const favStatus = resolveFavoriteStatus(record2, options);
|
|
455
459
|
const isPublic = record2?.isPublic === true || record2?.isPublicFlag === true || record2?.publicRecordExists === true;
|
|
456
460
|
const updatedAt = safeTimestamp(record2?.updatedAt ?? record2?.createdAt ?? record2?.created);
|
|
@@ -516,7 +520,6 @@ function toSafeAgentSummary(record2, options) {
|
|
|
516
520
|
tools,
|
|
517
521
|
inputPrice,
|
|
518
522
|
outputPrice,
|
|
519
|
-
modelAbility,
|
|
520
523
|
isFavorite: favStatus.isFavorite,
|
|
521
524
|
favoritedAt: favStatus.favoritedAt,
|
|
522
525
|
isPublic,
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
resolvePlatformEffectiveModel,
|
|
11
11
|
toCnyCredits,
|
|
12
12
|
zaiModels
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-O5MEXHJW.js";
|
|
14
14
|
|
|
15
15
|
// packages/integrations/qwen/models.ts
|
|
16
16
|
var qwenModels = [
|
|
@@ -3320,6 +3320,7 @@ var REASONING_MODEL_NAMES = /* @__PURE__ */ new Set([
|
|
|
3320
3320
|
"glm-5.3",
|
|
3321
3321
|
"glm-5.2",
|
|
3322
3322
|
"kimi-k3",
|
|
3323
|
+
"kimi-k3.1-pro",
|
|
3323
3324
|
// Legacy OpenAI catalog ids — still support reasoning UI for agents that
|
|
3324
3325
|
// were never re-seeded after GPT-5.4 / GPT-5 were retired from the picker.
|
|
3325
3326
|
"gpt-5.4",
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-HNMXYYJR.js";
|
|
4
4
|
import {
|
|
5
5
|
trimTrailingSlash
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-FQFSLPNJ.js";
|
|
7
7
|
import {
|
|
8
8
|
asOptionalFiniteNumber
|
|
9
9
|
} from "./chunk-WWC7I6TA.js";
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
qwenTokenPlanModels,
|
|
18
18
|
stepfunModels,
|
|
19
19
|
stepfunStepPlanModels
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-IBQHHCQE.js";
|
|
21
21
|
import {
|
|
22
22
|
asOptionalTrimmedString
|
|
23
23
|
} from "./chunk-G3SUCT4W.js";
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
PLATFORM_HOSTED_DEEPSEEK_FLASH_PEAK_PRICE,
|
|
27
27
|
PLATFORM_HOSTED_DEEPSEEK_PRO_OFF_PEAK_PRICE,
|
|
28
28
|
PLATFORM_HOSTED_DEEPSEEK_PRO_PEAK_PRICE
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-O5MEXHJW.js";
|
|
30
30
|
import {
|
|
31
31
|
asTrimmedLowercaseString
|
|
32
32
|
} from "./chunk-QSJ3HFEF.js";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveAgentCallPlan
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-YTYVSOY4.js";
|
|
4
4
|
import {
|
|
5
5
|
CUSTOM_API_KEY_TEMPLATES,
|
|
6
6
|
SUBSCRIPTION_OAUTH_PROVIDERS
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-JFGKVVLB.js";
|
|
8
8
|
import {
|
|
9
9
|
findModelConfig,
|
|
10
10
|
getProviderByModelName
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-IBQHHCQE.js";
|
|
12
12
|
import {
|
|
13
13
|
asOptionalTrimmedString
|
|
14
14
|
} from "./chunk-G3SUCT4W.js";
|
|
@@ -6,12 +6,12 @@ import {
|
|
|
6
6
|
} from "./chunk-X4O7FJF5.js";
|
|
7
7
|
import {
|
|
8
8
|
resolveToolImagePolicy
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-KOTJT7CY.js";
|
|
10
10
|
import {
|
|
11
11
|
getAntigravityUserAgent,
|
|
12
12
|
readAntigravityProjectId,
|
|
13
13
|
resolveAntigravityCloudCodeBaseUrl
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-JFGKVVLB.js";
|
|
15
15
|
import {
|
|
16
16
|
asOptionalTrimmedString
|
|
17
17
|
} from "./chunk-G3SUCT4W.js";
|