nolo-cli 0.219.0 → 0.220.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-WW57SJN4.js → _executeModel-BNEMFCAO.js} +74 -74
- package/{action-CK64LS6S.js → action-GDZDXPMB.js} +7 -7
- package/{addContentAction-EQXMFNPR.js → addContentAction-7RO4AMRI.js} +12 -12
- package/{addDialogAgentAction-RSDZDASD.js → addDialogAgentAction-EVYBGTXB.js} +14 -14
- package/{agentDeleteCommand-X2VWEKUA.js → agentDeleteCommand-7QTQNFCO.js} +114 -115
- package/{agentEmailCommands-6IE773VW.js → agentEmailCommands-I7SHOSD6.js} +115 -116
- package/{agentFavoriteCommands-2LKGKSUD.js → agentFavoriteCommands-7LOP3HUD.js} +5 -5
- package/{agentGrantCommands-QQV4N4JW.js → agentGrantCommands-L6O2HVJI.js} +5 -5
- package/{agentListCommands-5UNM7CGG.js → agentListCommands-GUGMORTK.js} +84 -70
- package/{agentMachineCommands-EVWFKK6Q.js → agentMachineCommands-UMDKILU3.js} +56 -55
- package/{agentProviderCommands-ZCH37KAL.js → agentProviderCommands-STI3DQ6A.js} +6 -6
- package/{agentPullCommand-XN6ZPBUW.js → agentPullCommand-KHV4EELF.js} +5 -5
- package/{agentRecordCommands-DX2WE6BH.js → agentRecordCommands-YTAMTHOY.js} +102 -103
- package/{agentRunCommand-KGOT2AFB.js → agentRunCommand-DBM6YNO6.js} +113 -112
- package/{agentRunControl-QDFW5P2T.js → agentRunControl-MBG4U6SL.js} +20 -14
- package/{agentRuntimeLocal-SD7U2EGY.js → agentRuntimeLocal-TU4LA353.js} +39 -39
- package/{agentSlice-ACZGTZVW.js → agentSlice-DPG7Q7IA.js} +16 -16
- package/{appDeleteCommands-NE3NQQJL.js → appDeleteCommands-JWP3XPUA.js} +50 -49
- package/{appDeployCommands-2BAHY522.js → appDeployCommands-6E4TQCWI.js} +50 -49
- package/{appDeployStatusCommands-JTW6LZNC.js → appDeployStatusCommands-ALU4SADG.js} +50 -49
- package/{appGetCommands-WKFEJO6A.js → appGetCommands-JEY4L6L4.js} +50 -49
- package/{appListCommands-HNAZZLFX.js → appListCommands-PCAVHU7M.js} +50 -49
- package/{authCommand-4FDPL7WG.js → authCommand-CGRIIOOV.js} +26 -23
- package/{authCommands-GAJ3NIXO.js → authCommands-55OGQGCR.js} +9 -6
- package/{builtinSkillRegistry-PXH7EGQB.js → builtinSkillRegistry-BAE2LDXF.js} +4 -4
- package/{chromeOpsCommands-YKX2QX3A.js → chromeOpsCommands-WAA45NCS.js} +6 -6
- package/{chunk-OB6DVWPF.js → chunk-262R3XNN.js} +16 -2
- package/{chunk-5OZC7R7Y.js → chunk-2MCB7CD7.js} +13 -12
- package/{chunk-IWH5SOU4.js → chunk-2NPD3FTX.js} +3 -3
- package/{chunk-OGHP3CTL.js → chunk-2X7WFDT6.js} +1 -1
- package/{chunk-XI2BWJM5.js → chunk-324FWHUA.js} +20 -3
- package/{chunk-QWYFFHCJ.js → chunk-3NNXR7EH.js} +10 -10
- package/{chunk-JWXITTQB.js → chunk-3P54D2E4.js} +1 -1
- package/{chunk-EGXPAWLG.js → chunk-3U44JB3O.js} +1 -1
- package/{chunk-KAVGK4ES.js → chunk-44J7Z5AQ.js} +18 -18
- package/{chunk-YL3EFYL3.js → chunk-4D4QD7FT.js} +3 -1
- package/{chunk-EUCFKKDM.js → chunk-4I2MXV5Q.js} +38 -10
- package/{chunk-C4WTX5TU.js → chunk-4ZGPHFLE.js} +2 -2
- package/{chunk-FVZW66K4.js → chunk-53MFERZ3.js} +177 -94
- package/{chunk-MOMR7NMG.js → chunk-547ENH5T.js} +1 -1
- package/{chunk-N7HVLYOY.js → chunk-5WKDR7HS.js} +3 -3
- package/chunk-5ZUOVCKT.js +32 -0
- package/{chunk-TRWT3EE3.js → chunk-62HXNQVV.js} +1 -1
- package/{chunk-KOXKKHFE.js → chunk-6QHKRARD.js} +2 -2
- package/{chunk-N3J4VDGV.js → chunk-6RDBLXVQ.js} +15 -15
- package/{chunk-YGMBIXCF.js → chunk-6XRPBZRS.js} +4 -2
- package/{chunk-JC5XLWZK.js → chunk-7JGMNKKG.js} +19 -15
- package/{chunk-FRSBYNWI.js → chunk-AGYPUBFW.js} +31 -205
- package/{chunk-UYOICCYG.js → chunk-ALAES342.js} +59 -88
- package/{chunk-VREDDN25.js → chunk-ATEKLSLR.js} +1 -1
- package/{chunk-6NKA6RKF.js → chunk-AUAJTAFM.js} +8 -8
- package/{chunk-7UH3DGV6.js → chunk-AWIL6EHN.js} +7 -7
- package/chunk-BIDSIRTS.js +307 -0
- package/chunk-BIWI5M4E.js +62 -0
- package/{chunk-L5I543VB.js → chunk-BNMPUQW6.js} +1 -1
- package/{chunk-BGGHA5DV.js → chunk-BP5ZJ6B4.js} +1 -1
- package/{chunk-Q6HOUF4O.js → chunk-CBUZ6DKA.js} +3 -3
- package/{chunk-LE6LGAJE.js → chunk-CD3RU7XL.js} +17 -2
- package/{chunk-AVHRSJUH.js → chunk-CMMI3DAT.js} +13 -13
- package/{chunk-H7R3365N.js → chunk-CYWNWA77.js} +5 -5
- package/{chunk-6D7NVU66.js → chunk-D6YNCNM6.js} +17 -14
- package/{chunk-6RQFZCKH.js → chunk-DBUR22G5.js} +6 -6
- package/{chunk-PVZY6P3S.js → chunk-DEA37IUY.js} +2 -2
- package/{chunk-QLFCTYRH.js → chunk-DGYCDA6W.js} +3 -3
- package/{chunk-SRL56PI2.js → chunk-DUUDXSLX.js} +21 -7
- package/{chunk-KFHREHUQ.js → chunk-DXWGFL2Z.js} +89 -1
- package/{chunk-PFJNLBRU.js → chunk-EEOOBRA7.js} +6 -6
- package/{chunk-KN3HEZIQ.js → chunk-EVGU5P4U.js} +1 -1
- package/{chunk-CXDPIPZ4.js → chunk-F6Z6ZCUV.js} +2 -2
- package/{chunk-EOWLBDY6.js → chunk-FJSNBZXR.js} +1 -1
- package/{chunk-GNHMRBYZ.js → chunk-G7IUT2V3.js} +4 -3
- package/{chunk-4NMHE7CX.js → chunk-GPOV42YM.js} +14 -14
- package/{chunk-SASHAZ67.js → chunk-GUXZK7SE.js} +2 -2
- package/{chunk-65XXHYZ5.js → chunk-GV6PRJBU.js} +3 -3
- package/{chunk-G2EJ7NL4.js → chunk-HBRDSQ3M.js} +2 -2
- package/{chunk-OOF7XDZF.js → chunk-HHFGE2WF.js} +6 -6
- package/{chunk-DJSTBAOU.js → chunk-HSSBDZLD.js} +4 -4
- package/{chunk-GIABSSWQ.js → chunk-HYLRQDEE.js} +4 -4
- package/{chunk-UJKTI5PG.js → chunk-ILHQ2AXT.js} +0 -1
- package/{chunk-S7SB7L2I.js → chunk-JJMR2EA3.js} +19 -19
- package/{chunk-3ESU44FG.js → chunk-JLAMNSBC.js} +3 -3
- package/{chunk-TVFRV3UQ.js → chunk-JUSHVFNF.js} +238 -185
- package/{chunk-MKQ2UTTX.js → chunk-KHVFJSVE.js} +22 -19
- package/{chunk-7WPAI5JJ.js → chunk-KRI6N5QZ.js} +14 -14
- package/{chunk-HCJFGH6Y.js → chunk-L32W3PRP.js} +46 -16
- package/{chunk-3N4ASIP6.js → chunk-LMRRCEDE.js} +11 -11
- package/{chunk-2KTUDBG7.js → chunk-M4SFKP5L.js} +1 -1
- package/{chunk-VHPAA6MT.js → chunk-MSMHU36U.js} +6 -6
- package/{chunk-F3TQURKK.js → chunk-MXKWTPUM.js} +19 -19
- package/{chunk-XFJ4ZPFC.js → chunk-MXRUXMZ3.js} +25 -25
- package/{chunk-OXKUPBAQ.js → chunk-NHY322ZU.js} +151 -10
- package/{chunk-UMRI2IRY.js → chunk-OBIC6EG7.js} +6 -6
- package/{chunk-VALBGPM6.js → chunk-OBSEKCVK.js} +17 -20
- package/{chunk-SYQR7FQS.js → chunk-OG6MQOQG.js} +96 -28
- package/{chunk-AMEOV5VZ.js → chunk-OOJNQK6V.js} +33 -33
- package/{chunk-K5FNYHZC.js → chunk-OWKNSIXL.js} +149 -54
- package/{chunk-CKT6QUE2.js → chunk-Q3IVPFVO.js} +1 -1
- package/{chunk-AFHOCBSP.js → chunk-QBZCGP34.js} +1 -1
- package/{chunk-2ZKFCIJJ.js → chunk-QCB42576.js} +1 -1
- package/{chunk-HOCHUZQ7.js → chunk-QJTZ76CP.js} +24 -6
- package/{chunk-XWGDCWXY.js → chunk-QRGDJA4B.js} +9 -9
- package/{chunk-4A2JIXR2.js → chunk-QYB23WUH.js} +1 -1
- package/{chunk-652XYZGP.js → chunk-R44TU3MZ.js} +8 -3
- package/{chunk-2VUZSVAS.js → chunk-R6Z5S5GA.js} +7 -7
- package/{chunk-MK2Q7ZJD.js → chunk-R7XWZDOH.js} +58 -24
- package/{chunk-GGKNJ42M.js → chunk-RBPUNSG5.js} +2 -2
- package/{chunk-GVGOEMNV.js → chunk-RG2DGNL6.js} +3 -3
- package/{chunk-2OLYKYNY.js → chunk-RTHFJZ6M.js} +8 -8
- package/{chunk-C4VAR65S.js → chunk-RYOLWYBK.js} +120 -116
- package/{chunk-T3O6BLYU.js → chunk-S5NA3C52.js} +147 -115
- package/{chunk-D726I5AZ.js → chunk-S6FDXXZV.js} +2 -2
- package/{chunk-JVRQ6YVK.js → chunk-S6K5F3KP.js} +1 -1
- package/{chunk-IWQAOW2X.js → chunk-SRCCSTIM.js} +8 -8
- package/{chunk-KO63FPG3.js → chunk-SZVMASJ2.js} +750 -2523
- package/{chunk-Q7WP5RPC.js → chunk-TGNIKIHR.js} +5 -5
- package/{chunk-AK5O76CC.js → chunk-TI2EPRHE.js} +2 -2
- package/{chunk-5R63B62U.js → chunk-TSPMLCWI.js} +7 -7
- package/{chunk-QVBXJNZ2.js → chunk-TUSTONB3.js} +1 -1
- package/{chunk-KEN3N2TN.js → chunk-VMJVAJ6W.js} +13 -10
- package/{chunk-SOF4OWDM.js → chunk-VS276URX.js} +0 -2
- package/{chunk-FIYSMXHY.js → chunk-WWTSEBDF.js} +1 -1
- package/{chunk-E2BESSAW.js → chunk-X4O7FJF5.js} +2 -0
- package/{chunk-J6T25AJ6.js → chunk-XSW4EXQV.js} +82 -18
- package/{chunk-O2CYENYJ.js → chunk-XTETTSKN.js} +2107 -1092
- package/{chunk-DVQH4BTR.js → chunk-YKY4OVOX.js} +14 -10
- package/{chunk-5RKUPJYL.js → chunk-ZH3KXFHS.js} +11 -3
- package/chunk-ZOHO6MOF.js +376 -0
- package/{cliAgentConfigHelpers-PO3MVDME.js → cliAgentConfigHelpers-BTRHMPW2.js} +12 -12
- package/{cliEnvHelpers-VPSJ4XWC.js → cliEnvHelpers-CNMP3RDX.js} +1 -1
- package/{cliExecutor-4MAX3PZL.js → cliExecutor-K6FDZTQ2.js} +3 -1
- package/{cliLocalAgentRecordReader-Z7CH4K4R.js → cliLocalAgentRecordReader-M3F76NIP.js} +45 -45
- package/{commandRegistry-SDSYBKMC.js → commandRegistry-T3UBK6OA.js} +93 -93
- package/{contentThunks-G3TRPEAU.js → contentThunks-YEPZAHXU.js} +36 -35
- package/{cooldownCommands-X7P5M2V5.js → cooldownCommands-YB5H5BBK.js} +4 -4
- package/{createAgentAutomationAction-KHA4MXUJ.js → createAgentAutomationAction-TBIIO5WT.js} +36 -35
- package/{createDialogAction-KWSBNAPJ.js → createDialogAction-KBKMYFTQ.js} +37 -36
- package/{createPageAction-HXKJ7OFG.js → createPageAction-3FGAPLJO.js} +37 -36
- package/{db-CS4ZJQKV.js → db-M7FU2GNK.js} +9 -6
- package/{dbSlice-ZJPDIFER.js → dbSlice-XRUZOGSU.js} +11 -11
- package/{deleteFile-Q3YDB4ML.js → deleteFile-6URDHYRB.js} +7 -7
- package/{dialogCommands-6KQEBHSG.js → dialogCommands-NRLCOPJR.js} +52 -52
- package/{dialogNotifyCommand-WIZFFEY3.js → dialogNotifyCommand-SHGPCU22.js} +13 -13
- package/{dialogSlice-HXPKFGRL.js → dialogSlice-DP2WTMNO.js} +34 -33
- package/{dialogUsageCommand-HTVPR2CX.js → dialogUsageCommand-W2WCSGKF.js} +1 -1
- package/{docCreateCommands-XZOLWBRC.js → docCreateCommands-YJRDA3RX.js} +48 -47
- package/{docDeleteCommands-ZSO4LGWE.js → docDeleteCommands-A5QIHZNF.js} +50 -49
- package/{docReadCommands-TTMXCDER.js → docReadCommands-CF2LTMYH.js} +48 -47
- package/{docStore-A2B3GH33.js → docStore-NDY3K3PK.js} +12 -12
- package/{docUpdateCommands-PRG6WOXL.js → docUpdateCommands-QRKV4ZXE.js} +48 -47
- package/fetchMessages-TQEUZD7H.js +1 -1
- package/{getPricing-YH3VMSVU.js → getPricing-LF5C4XSI.js} +5 -5
- package/{handleSendMessageAction-NWYG3Q72.js → handleSendMessageAction-IUGVVJ43.js} +65 -65
- package/{hostCredentialCreate-WS6D3EHT.js → hostCredentialCreate-X2ZFRXDR.js} +102 -103
- package/index.js +56 -18
- package/keys-RWF7UCB4.js +1 -1
- package/{localDialogRead-SVTPA5GY.js → localDialogRead-CCOCVGAP.js} +1 -1
- package/{localRecall-2J6QPOK2.js → localRecall-BDYKXB46.js} +3 -1
- package/{localRuntimeAdapter-TFYOA6YE.js → localRuntimeAdapter-KAG3T4LF.js} +109 -110
- package/{machineCommands-WFWV25IR.js → machineCommands-6NIQJE2A.js} +111 -112
- package/{machineWsRunDispatch-ZGXC3F2R.js → machineWsRunDispatch-RA5NOSGG.js} +100 -101
- package/{memberThunks-JRYNONYV.js → memberThunks-7Y3OYSJQ.js} +15 -15
- package/{memoryCommands-5WC3T66U.js → memoryCommands-BC6REPQB.js} +4 -4
- package/{models-CXINDUJA.js → models-H5NNZRLH.js} +2 -2
- package/{overlay-THLKYIWY.js → overlay-BBQZXGYI.js} +5 -3
- package/package.json +1 -1
- package/{projectArchive-ULJDLUA6.js → projectArchive-OIUP63MV.js} +42 -41
- package/{providerPresetApply-SHT2SUVB.js → providerPresetApply-WHAMP2D5.js} +6 -6
- package/{providerRegistry-TA7EGCVZ.js → providerRegistry-ZI2KORJ7.js} +6 -6
- package/{read-Q7GOHGNP.js → read-TYMBGEXO.js} +8 -8
- package/{readDocTool-Z5OQ6422.js → readDocTool-SKQVHBLO.js} +1 -1
- package/{readlineWorkspace-LTCV2BFW.js → readlineWorkspace-ZGC4KSXG.js} +3946 -4393
- package/{removeDialogAgentAction-U3F2MNAY.js → removeDialogAgentAction-F5QE2O2B.js} +16 -16
- package/{runAgentClientLoop-BVIEQUB3.js → runAgentClientLoop-NKUW2DSJ.js} +71 -67
- package/{runtimeDoctorCommands-I47JN4HS.js → runtimeDoctorCommands-RRKPBGVO.js} +14 -14
- package/{secretCommands-LJXOOYA7.js → secretCommands-KZWBZIYS.js} +4 -4
- package/{setDialogExtraReferencesAction-G3WSJ7EM.js → setDialogExtraReferencesAction-72L27ERM.js} +13 -13
- package/{setPrimaryDialogAgentAction-6FHAHZBB.js → setPrimaryDialogAgentAction-GJJDUSGJ.js} +16 -16
- package/{settingThunks-AXTBX3Q5.js → settingThunks-ZRGWVGZD.js} +15 -15
- package/{skillDiscovery-B5V23AXP.js → skillDiscovery-I37M5KJC.js} +3 -3
- package/{spaceCommands-IB6FKWIC.js → spaceCommands-MEH3HJBC.js} +53 -52
- package/{store-JRVN62NM.js → store-Z53ICFL3.js} +3 -1
- package/{streamAgentChatTurn-DNYFHBJM.js → streamAgentChatTurn-FJTUUXHJ.js} +89 -128
- package/{switchDialogAgentAction-UOFIAGPL.js → switchDialogAgentAction-IIJBPND3.js} +14 -14
- package/{tableCommands-HITDSLHS.js → tableCommands-FTAOCBTX.js} +11 -11
- package/{tools-JVOJ5HC4.js → tools-ZXHIAOSP.js} +58 -58
- package/tuiRestart-2IL37YIB.js +41 -0
- package/{tuiSummaryLlmCaller-7LWYTHLM.js → tuiSummaryLlmCaller-W2QN4VAC.js} +18 -18
- package/{updateCommands-RJVCRSBP.js → updateCommands-CPATDG6J.js} +8 -6
- package/{updateDialogTitleAction-Q57BOSXG.js → updateDialogTitleAction-JMKLKL4P.js} +36 -35
- package/{usageCommand-RVKHEPLU.js → usageCommand-2BF74MKF.js} +2 -2
- package/{usageRebuildCommand-GRAFOZF2.js → usageRebuildCommand-UHB55BQM.js} +3 -3
- package/{windowsSelfUpdate-KERHIAB4.js → windowsSelfUpdate-ZFD6J5HF.js} +2 -2
- package/chunk-2THCNKE4.js +0 -147
- package/chunk-KEPOVMF4.js +0 -91
- package/{accountResolver-EK2S4PWF.js → accountResolver-QETKNC7T.js} +3 -3
- package/{chunk-AGP3YSEC.js → chunk-4N6G2CKP.js} +3 -3
- package/{chunk-BLVSFYQ3.js → chunk-LISC7BD4.js} +3 -3
- package/{chunk-SNBZZPYH.js → chunk-OQHIVPG4.js} +3 -3
- package/{chunk-47ITIXO7.js → chunk-USGHJSGO.js} +3 -3
- package/{offlineMarxistsAgentCommand-4IC3Y4C6.js → offlineMarxistsAgentCommand-XVXUE6G5.js} +3 -3
- package/{workloadLifecycle-O2I3NZ2Q.js → workloadLifecycle-HFJIN5IZ.js} +8 -8
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
fetchWithTransientRetry
|
|
3
|
-
} from "./chunk-KFHREHUQ.js";
|
|
4
1
|
import {
|
|
5
2
|
buildAgentDiscoveryResult,
|
|
6
3
|
deriveCredentialGroup,
|
|
7
4
|
resolveDiscoveryScope,
|
|
8
5
|
resolvePaginationArgs,
|
|
9
6
|
toDiscoverySafeAgentSummary
|
|
10
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-NHY322ZU.js";
|
|
8
|
+
import {
|
|
9
|
+
applyFetchSpaceFulfilled,
|
|
10
|
+
fetchAuthoritativeRemoteSpace,
|
|
11
|
+
selectSpaceRemoteAuth
|
|
12
|
+
} from "./chunk-6QHKRARD.js";
|
|
11
13
|
import {
|
|
12
14
|
ToolResultError,
|
|
13
15
|
clipMultilineText,
|
|
@@ -20,38 +22,14 @@ import {
|
|
|
20
22
|
toolRunUpdated,
|
|
21
23
|
uiCardFallback,
|
|
22
24
|
waitForAbortableDelay
|
|
23
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-LMRRCEDE.js";
|
|
24
26
|
import {
|
|
25
27
|
isGatewayHttpStatus
|
|
26
28
|
} from "./chunk-NF64D32W.js";
|
|
27
|
-
import {
|
|
28
|
-
CORE_DRAIN_REASON,
|
|
29
|
-
DRAIN_EXHAUSTED_USER_MESSAGE,
|
|
30
|
-
isDrainExhaustedResponse,
|
|
31
|
-
normalizeNonNegativeMs,
|
|
32
|
-
parseRetryAfterHeaderMs
|
|
33
|
-
} from "./chunk-3L2WKC3W.js";
|
|
34
29
|
import {
|
|
35
30
|
AGENT_UPDATE_FIELD_NAMES,
|
|
36
31
|
normalizeAgentUpdateFieldList
|
|
37
|
-
} from "./chunk-
|
|
38
|
-
import {
|
|
39
|
-
markdownToSlate
|
|
40
|
-
} from "./chunk-FJ23FZXF.js";
|
|
41
|
-
import {
|
|
42
|
-
extractMentionsFromSlate
|
|
43
|
-
} from "./chunk-AGIM7IMJ.js";
|
|
44
|
-
import {
|
|
45
|
-
slateToRenderMarkdown
|
|
46
|
-
} from "./chunk-63W5N6P3.js";
|
|
47
|
-
import {
|
|
48
|
-
createDocState
|
|
49
|
-
} from "./chunk-N7HVLYOY.js";
|
|
50
|
-
import {
|
|
51
|
-
applyFetchSpaceFulfilled,
|
|
52
|
-
fetchAuthoritativeRemoteSpace,
|
|
53
|
-
selectSpaceRemoteAuth
|
|
54
|
-
} from "./chunk-KOXKKHFE.js";
|
|
32
|
+
} from "./chunk-RBPUNSG5.js";
|
|
55
33
|
import {
|
|
56
34
|
ToolApiError,
|
|
57
35
|
buildToolRequestHeaders,
|
|
@@ -66,13 +44,22 @@ import {
|
|
|
66
44
|
readPageFunc,
|
|
67
45
|
readPageFunctionSchema,
|
|
68
46
|
resolvePageReadMarkdown
|
|
69
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-BP5ZJ6B4.js";
|
|
70
48
|
import {
|
|
71
|
-
|
|
72
|
-
} from "./chunk-
|
|
49
|
+
markdownToSlate
|
|
50
|
+
} from "./chunk-FJ23FZXF.js";
|
|
51
|
+
import {
|
|
52
|
+
extractMentionsFromSlate
|
|
53
|
+
} from "./chunk-AGIM7IMJ.js";
|
|
54
|
+
import {
|
|
55
|
+
slateToRenderMarkdown
|
|
56
|
+
} from "./chunk-63W5N6P3.js";
|
|
57
|
+
import {
|
|
58
|
+
createDocState
|
|
59
|
+
} from "./chunk-5WKDR7HS.js";
|
|
73
60
|
import {
|
|
74
61
|
createDialogAction
|
|
75
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-AWIL6EHN.js";
|
|
76
63
|
import {
|
|
77
64
|
DEFAULT_COLLAPSED_CATEGORIES,
|
|
78
65
|
addContentToSpace,
|
|
@@ -89,7 +76,24 @@ import {
|
|
|
89
76
|
updateContentCategory,
|
|
90
77
|
updateContentTitle,
|
|
91
78
|
writeStoredCollapsedCategories
|
|
92
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-MXKWTPUM.js";
|
|
80
|
+
import {
|
|
81
|
+
addMemberSpace,
|
|
82
|
+
getAllMemberSpaces,
|
|
83
|
+
getCurrentSpaceId,
|
|
84
|
+
getCurrentSpaceIdRaw,
|
|
85
|
+
getCurrentSpaceRaw,
|
|
86
|
+
getViewMode,
|
|
87
|
+
removeMemberSpace,
|
|
88
|
+
setCurrentSpace,
|
|
89
|
+
setCurrentSpaceBoth,
|
|
90
|
+
setMembershipLoaded,
|
|
91
|
+
setMembershipLoading,
|
|
92
|
+
setMembershipRejected,
|
|
93
|
+
setViewMode,
|
|
94
|
+
updateCurrentSpaceIfMatch,
|
|
95
|
+
updateMemberSpaceName
|
|
96
|
+
} from "./chunk-547ENH5T.js";
|
|
93
97
|
import {
|
|
94
98
|
buildDatabaseFileContentUrl,
|
|
95
99
|
deleteDialog,
|
|
@@ -102,31 +106,14 @@ import {
|
|
|
102
106
|
selectMsgById,
|
|
103
107
|
uiAskChoiceFunc,
|
|
104
108
|
uiAskChoiceFunctionSchema
|
|
105
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-53MFERZ3.js";
|
|
106
110
|
import {
|
|
107
111
|
createAgent,
|
|
108
112
|
deleteServerSyncedCredential,
|
|
109
113
|
runLlm,
|
|
110
114
|
streamAgentChatTurn,
|
|
111
115
|
updateAgent
|
|
112
|
-
} from "./chunk-
|
|
113
|
-
import {
|
|
114
|
-
addMemberSpace,
|
|
115
|
-
getAllMemberSpaces,
|
|
116
|
-
getCurrentSpaceId,
|
|
117
|
-
getCurrentSpaceIdRaw,
|
|
118
|
-
getCurrentSpaceRaw,
|
|
119
|
-
getViewMode,
|
|
120
|
-
removeMemberSpace,
|
|
121
|
-
setCurrentSpace,
|
|
122
|
-
setCurrentSpaceBoth,
|
|
123
|
-
setMembershipLoaded,
|
|
124
|
-
setMembershipLoading,
|
|
125
|
-
setMembershipRejected,
|
|
126
|
-
setViewMode,
|
|
127
|
-
updateCurrentSpaceIfMatch,
|
|
128
|
-
updateMemberSpaceName
|
|
129
|
-
} from "./chunk-MOMR7NMG.js";
|
|
116
|
+
} from "./chunk-3NNXR7EH.js";
|
|
130
117
|
import {
|
|
131
118
|
buildMediaToolConfirmation,
|
|
132
119
|
normalizeMediaConfirmExecutionRevision
|
|
@@ -139,15 +126,31 @@ import {
|
|
|
139
126
|
import {
|
|
140
127
|
require_react
|
|
141
128
|
} from "./chunk-5FUN7EG4.js";
|
|
129
|
+
import {
|
|
130
|
+
resolveDefaultReasoningEffort
|
|
131
|
+
} from "./chunk-5ZUOVCKT.js";
|
|
132
|
+
import {
|
|
133
|
+
fetchWithTransientRetry
|
|
134
|
+
} from "./chunk-DXWGFL2Z.js";
|
|
135
|
+
import {
|
|
136
|
+
CORE_DRAIN_REASON,
|
|
137
|
+
DRAIN_EXHAUSTED_USER_MESSAGE,
|
|
138
|
+
isDrainExhaustedResponse,
|
|
139
|
+
normalizeNonNegativeMs,
|
|
140
|
+
parseRetryAfterHeaderMs
|
|
141
|
+
} from "./chunk-3L2WKC3W.js";
|
|
142
|
+
import {
|
|
143
|
+
shareResourceAction
|
|
144
|
+
} from "./chunk-TI2EPRHE.js";
|
|
142
145
|
import {
|
|
143
146
|
selectCurrentServer,
|
|
144
147
|
selectSyncServers
|
|
145
|
-
} from "./chunk-
|
|
148
|
+
} from "./chunk-ATEKLSLR.js";
|
|
146
149
|
import {
|
|
147
150
|
UNCATEGORIZED_ID,
|
|
148
151
|
addContentAction,
|
|
149
152
|
checkSpaceMembership
|
|
150
|
-
} from "./chunk-
|
|
153
|
+
} from "./chunk-DEA37IUY.js";
|
|
151
154
|
import {
|
|
152
155
|
createSpaceKey,
|
|
153
156
|
normalizeSpaceId
|
|
@@ -163,14 +166,10 @@ import {
|
|
|
163
166
|
selectEntities,
|
|
164
167
|
toTimestampMs,
|
|
165
168
|
write
|
|
166
|
-
} from "./chunk-
|
|
167
|
-
import {
|
|
168
|
-
getUserDataItemTimestamp,
|
|
169
|
-
mergeAndDedupUserData
|
|
170
|
-
} from "./chunk-GBWGPTA7.js";
|
|
169
|
+
} from "./chunk-CMMI3DAT.js";
|
|
171
170
|
import {
|
|
172
171
|
readAction
|
|
173
|
-
} from "./chunk-
|
|
172
|
+
} from "./chunk-DGYCDA6W.js";
|
|
174
173
|
import {
|
|
175
174
|
DEVICE_LOCAL_OWNER_ID,
|
|
176
175
|
getRuntimeServerContext,
|
|
@@ -180,7 +179,7 @@ import {
|
|
|
180
179
|
resolveEffectiveSpaceActorId,
|
|
181
180
|
resolveRecordOwnerUserId,
|
|
182
181
|
selectRuntimeSnapshot
|
|
183
|
-
} from "./chunk-
|
|
182
|
+
} from "./chunk-R6Z5S5GA.js";
|
|
184
183
|
import {
|
|
185
184
|
createAsyncThunk,
|
|
186
185
|
noloWriteRequest
|
|
@@ -190,6 +189,25 @@ import {
|
|
|
190
189
|
selectIdentityUserBalance,
|
|
191
190
|
selectIdentityUserId
|
|
192
191
|
} from "./chunk-PXYBUFDB.js";
|
|
192
|
+
import {
|
|
193
|
+
getUserDataItemTimestamp,
|
|
194
|
+
mergeAndDedupUserData
|
|
195
|
+
} from "./chunk-GBWGPTA7.js";
|
|
196
|
+
import {
|
|
197
|
+
RUN_TITLE_MAX,
|
|
198
|
+
TASK_PREVIEW_MAX,
|
|
199
|
+
buildDelegatedTaskContent,
|
|
200
|
+
calculateDelegatedPayloadMetrics,
|
|
201
|
+
formatAgentListCard,
|
|
202
|
+
formatListRunsCard,
|
|
203
|
+
formatNotFoundRunCard,
|
|
204
|
+
formatStartRunCard,
|
|
205
|
+
formatStatusRunCard,
|
|
206
|
+
formatStopRunCard,
|
|
207
|
+
normalizeRunTitle,
|
|
208
|
+
resolveAgentRunName,
|
|
209
|
+
resolveRunLabel
|
|
210
|
+
} from "./chunk-OOJNQK6V.js";
|
|
193
211
|
import {
|
|
194
212
|
buildTombstoneRecord,
|
|
195
213
|
isTombstoneRecord
|
|
@@ -212,15 +230,15 @@ import {
|
|
|
212
230
|
normalizeNoloSpaceInput,
|
|
213
231
|
resolveNoloDialogInput,
|
|
214
232
|
verifyNoloDialogSubjectRefQuery
|
|
215
|
-
} from "./chunk-
|
|
233
|
+
} from "./chunk-RYOLWYBK.js";
|
|
216
234
|
import {
|
|
217
235
|
mergeAvailabilityDeadline,
|
|
218
236
|
resolveCredentialKeyWithFallback
|
|
219
|
-
} from "./chunk-
|
|
237
|
+
} from "./chunk-QJTZ76CP.js";
|
|
220
238
|
import {
|
|
221
239
|
redactAgentRecordForWorkspaceTool,
|
|
222
240
|
resolveReadOnlyToolConstraints
|
|
223
|
-
} from "./chunk-
|
|
241
|
+
} from "./chunk-VS276URX.js";
|
|
224
242
|
import {
|
|
225
243
|
clipCompactText
|
|
226
244
|
} from "./chunk-5MMAK75Q.js";
|
|
@@ -229,7 +247,7 @@ import {
|
|
|
229
247
|
} from "./chunk-KX6YBIHG.js";
|
|
230
248
|
import {
|
|
231
249
|
createFileCredentialBroker
|
|
232
|
-
} from "./chunk-
|
|
250
|
+
} from "./chunk-OQHIVPG4.js";
|
|
233
251
|
import {
|
|
234
252
|
compactWhitespace
|
|
235
253
|
} from "./chunk-DWLEOOGR.js";
|
|
@@ -238,7 +256,7 @@ import {
|
|
|
238
256
|
} from "./chunk-7DPNBQSV.js";
|
|
239
257
|
import {
|
|
240
258
|
CAPABILITY_PACKS
|
|
241
|
-
} from "./chunk-
|
|
259
|
+
} from "./chunk-G7IUT2V3.js";
|
|
242
260
|
import {
|
|
243
261
|
CHROME_CONNECTOR_ACCEPTED_TOOL_NAMES,
|
|
244
262
|
canonicalizeToolName,
|
|
@@ -285,20 +303,8 @@ import {
|
|
|
285
303
|
asTrimmedNonEmptyStringArray
|
|
286
304
|
} from "./chunk-I42VC5KR.js";
|
|
287
305
|
import {
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
buildDelegatedTaskContent,
|
|
291
|
-
calculateDelegatedPayloadMetrics,
|
|
292
|
-
formatAgentListCard,
|
|
293
|
-
formatListRunsCard,
|
|
294
|
-
formatNotFoundRunCard,
|
|
295
|
-
formatStartRunCard,
|
|
296
|
-
formatStatusRunCard,
|
|
297
|
-
formatStopRunCard,
|
|
298
|
-
normalizeRunTitle,
|
|
299
|
-
resolveAgentRunName,
|
|
300
|
-
resolveRunLabel
|
|
301
|
-
} from "./chunk-AMEOV5VZ.js";
|
|
306
|
+
API_ENDPOINTS
|
|
307
|
+
} from "./chunk-LCBAMY2M.js";
|
|
302
308
|
import {
|
|
303
309
|
toErrorMessage
|
|
304
310
|
} from "./chunk-HNMXYYJR.js";
|
|
@@ -309,19 +315,13 @@ import {
|
|
|
309
315
|
DEFAULT_MODEL,
|
|
310
316
|
clampReasoningEffort,
|
|
311
317
|
resolveModelReasoningCapabilityWithCache
|
|
312
|
-
} from "./chunk-
|
|
318
|
+
} from "./chunk-CD3RU7XL.js";
|
|
313
319
|
import {
|
|
314
320
|
isRecord
|
|
315
321
|
} from "./chunk-KUG52IAP.js";
|
|
316
|
-
import {
|
|
317
|
-
asTrimmedLowercaseString
|
|
318
|
-
} from "./chunk-QSJ3HFEF.js";
|
|
319
322
|
import {
|
|
320
323
|
asOptionalFiniteNumber
|
|
321
324
|
} from "./chunk-WWC7I6TA.js";
|
|
322
|
-
import {
|
|
323
|
-
API_ENDPOINTS
|
|
324
|
-
} from "./chunk-LCBAMY2M.js";
|
|
325
325
|
import {
|
|
326
326
|
asOptionalTrimmedString
|
|
327
327
|
} from "./chunk-G3SUCT4W.js";
|
|
@@ -331,6 +331,9 @@ import {
|
|
|
331
331
|
import {
|
|
332
332
|
normalizeServerOrigin
|
|
333
333
|
} from "./chunk-CF7PE763.js";
|
|
334
|
+
import {
|
|
335
|
+
asTrimmedLowercaseString
|
|
336
|
+
} from "./chunk-QSJ3HFEF.js";
|
|
334
337
|
import {
|
|
335
338
|
__toESM
|
|
336
339
|
} from "./chunk-U67V476Y.js";
|
|
@@ -1023,7 +1026,7 @@ var HOSTED_EXEC_RUNTIME_TOOL_POLICY = {
|
|
|
1023
1026
|
workspace: { mode: "lease" }
|
|
1024
1027
|
};
|
|
1025
1028
|
var findModelConfig = async (modelName, provider) => {
|
|
1026
|
-
const { ALL_MODELS } = await import("./models-
|
|
1029
|
+
const { ALL_MODELS } = await import("./models-H5NNZRLH.js");
|
|
1027
1030
|
const name = toTrimmedString(modelName);
|
|
1028
1031
|
const prov = toTrimmedString(provider ?? "");
|
|
1029
1032
|
if (!name) return null;
|
|
@@ -1268,7 +1271,7 @@ var buildPlatformFormDataFromArgs = async (args) => {
|
|
|
1268
1271
|
const trimmedModel = toTrimmedString(model);
|
|
1269
1272
|
const trimmedProvider = toTrimmedString(provider);
|
|
1270
1273
|
const modelConfig = await findModelConfig(trimmedModel, trimmedProvider);
|
|
1271
|
-
const { getModelPricing } = await import("./getPricing-
|
|
1274
|
+
const { getModelPricing } = await import("./getPricing-LF5C4XSI.js");
|
|
1272
1275
|
const normalizedTools = tools ?? [];
|
|
1273
1276
|
const resolvedRuntimeToolPolicy = runtimeToolPolicy ?? (normalizedTools.includes("execShell") ? HOSTED_EXEC_RUNTIME_TOOL_POLICY : void 0);
|
|
1274
1277
|
const formData = {
|
|
@@ -1310,7 +1313,7 @@ var buildPlatformFormDataFromArgs = async (args) => {
|
|
|
1310
1313
|
frequency_penalty,
|
|
1311
1314
|
presence_penalty,
|
|
1312
1315
|
max_tokens,
|
|
1313
|
-
reasoning_effort: reasoning_effort ?? "medium",
|
|
1316
|
+
reasoning_effort: reasoning_effort ?? resolveDefaultReasoningEffort({ provider: trimmedProvider, model: trimmedModel, fallback: "medium" }),
|
|
1314
1317
|
whitelist: []
|
|
1315
1318
|
};
|
|
1316
1319
|
return formData;
|
|
@@ -3904,7 +3907,7 @@ async function deleteDialogsFunc(args, thunkApi) {
|
|
|
3904
3907
|
const deletedDialogIds = [];
|
|
3905
3908
|
const deletedDialogKeys = [];
|
|
3906
3909
|
const failures = [];
|
|
3907
|
-
const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-
|
|
3910
|
+
const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-DP2WTMNO.js");
|
|
3908
3911
|
for (const target of targets) {
|
|
3909
3912
|
try {
|
|
3910
3913
|
await thunkApi.dispatch(deleteDialog2(target.dbKey)).unwrap();
|
|
@@ -3970,7 +3973,7 @@ async function fetchUserFavoriteAgentMap(thunkApi) {
|
|
|
3970
3973
|
}
|
|
3971
3974
|
var listAgentsFunctionSchema = {
|
|
3972
3975
|
name: "listAgents",
|
|
3973
|
-
description: "List Nolo agents available for delegation as safe summaries. By default (scope='all') returns the deduplicated union of the user's own/favorite agents and public/shared agents. scope='public' returns only public/shared agents. Public agents may consume platform credits - check each agent's billingSource before dispatching. The payload returns `credentialGroups` summarizing independent credential capacities (credentialGroup, credentialKind, agentCount, and availableAt recovery timestamps). Orchestration discipline: Never fan out parallel runs on one credential; fan out only across distinct credentialGroups. A channel verdict is valid for the current dispatch attempt only; always re-read availability before dispatching, and never reuse a failure verdict from an earlier attempt. On config_unresolved-class errors, retry once before degrading. Reserve the strongest private channels for review; execution should use cheap channels. The `agents` array carries a compact agent-selection projection per agent: runnable `agentKey` (agent-<userId>-<id> owned, agent-pub-<id> public), name, model, provider, apiSource, billingSource ('user_subscription' | 'owner_subscription' | 'user_api' | 'platform_credits' | 'local'), tools, isFavorite, isOAuth, isOwned, isPublic, credentialGroup, credentialKind. Copy `agentKey` verbatim into startAgentRun. All agents are listed, including rate-limited (429) ones: cooldown agents carry `availabilityStatus` / `availabilityReason` / `nextAvailableAt` as reference info, not a dispatch gate (quota is informational; requests are still sent and upstream results are reported as-is). `unavailableCount` reports how many agents are currently rate-limited. `showUnavailable` is deprecated and has no effect (kept for compatibility). Set `verbose: true` for full safe summary details.",
|
|
3976
|
+
description: "List Nolo agents available for delegation as safe summaries. Returns planningRecommendation: conditional advice only when planning is needed and the candidate is suitable; simple questions need no extra planning call. action self/delegate, reason, currentTier, optional agentKey/recommendedTier, poolComplete, requiresPaidApproval. Caller identity/model/runKind are host-owned, not tool arguments. Unknown tiers are not ranked; incomplete pools cannot establish a highest candidate. Bounded subtasks do not delegate planning. Recommendation is not authorization and never starts a run; paid channels require separate approval. By default (scope='all') returns the deduplicated union of the user's own/favorite agents and public/shared agents. scope='public' returns only public/shared agents. Public agents may consume platform credits - check each agent's billingSource before dispatching. The payload returns `credentialGroups` summarizing independent credential capacities (credentialGroup, credentialKind, agentCount, and availableAt recovery timestamps). Orchestration discipline: Never fan out parallel runs on one credential; fan out only across distinct credentialGroups. A channel verdict is valid for the current dispatch attempt only; always re-read availability before dispatching, and never reuse a failure verdict from an earlier attempt. On config_unresolved-class errors, retry once before degrading. Reserve the strongest private channels for review; execution should use cheap channels. The `agents` array carries a compact agent-selection projection per agent: runnable `agentKey` (agent-<userId>-<id> owned, agent-pub-<id> public), name, model, provider, apiSource, billingSource ('user_subscription' | 'owner_subscription' | 'user_api' | 'platform_credits' | 'local'), tools, isFavorite, isOAuth, isOwned, isPublic, credentialGroup, credentialKind. Copy `agentKey` verbatim into startAgentRun. All agents are listed, including rate-limited (429) ones: cooldown agents carry `availabilityStatus` / `availabilityReason` / `nextAvailableAt` as reference info, not a dispatch gate (quota is informational; requests are still sent and upstream results are reported as-is). `unavailableCount` reports how many agents are currently rate-limited. `showUnavailable` is deprecated and has no effect (kept for compatibility). Set `verbose: true` for full safe summary details.",
|
|
3974
3977
|
parameters: {
|
|
3975
3978
|
type: "object",
|
|
3976
3979
|
properties: {
|
|
@@ -3992,16 +3995,21 @@ var listAgentsFunctionSchema = {
|
|
|
3992
3995
|
}
|
|
3993
3996
|
}
|
|
3994
3997
|
};
|
|
3995
|
-
async function listAgentsFunc(args, thunkApi) {
|
|
3998
|
+
async function listAgentsFunc(args, thunkApi, context2) {
|
|
3996
3999
|
const runtime = getRuntime(thunkApi);
|
|
3997
4000
|
if (!runtime?.currentUserId || !runtime?.currentToken) {
|
|
3998
4001
|
return {
|
|
3999
4002
|
rawData: {
|
|
4000
4003
|
success: true,
|
|
4001
|
-
|
|
4002
|
-
|
|
4003
|
-
|
|
4004
|
-
|
|
4004
|
+
...buildAgentDiscoveryResult({
|
|
4005
|
+
agents: [],
|
|
4006
|
+
upstreamTruncated: true,
|
|
4007
|
+
caller: {
|
|
4008
|
+
agentKey: context2?.agentKey,
|
|
4009
|
+
effectiveModel: context2?.effectiveModel,
|
|
4010
|
+
runKind: context2?.runKind ?? (context2?.origin === "agent" ? "subtask" : "interactive")
|
|
4011
|
+
}
|
|
4012
|
+
})
|
|
4005
4013
|
},
|
|
4006
4014
|
displayData: formatAgentListCard([])
|
|
4007
4015
|
};
|
|
@@ -4017,7 +4025,7 @@ async function listAgentsFunc(args, thunkApi) {
|
|
|
4017
4025
|
const favoritesMap = await fetchUserFavoriteAgentMap(thunkApi);
|
|
4018
4026
|
const scope = resolveDiscoveryScope({ scope: args?.scope, publicOnly: args?.publicOnly });
|
|
4019
4027
|
let publicRecords = [];
|
|
4020
|
-
let upstreamTruncated =
|
|
4028
|
+
let upstreamTruncated = userRecords.length >= (Number.isFinite(upstreamFetchLimit) ? upstreamFetchLimit : 500);
|
|
4021
4029
|
let upstreamTotal;
|
|
4022
4030
|
if (scope !== "preferred") {
|
|
4023
4031
|
const discoveryRes = await fetchPublicAgentsForDiscovery({
|
|
@@ -4026,7 +4034,7 @@ async function listAgentsFunc(args, thunkApi) {
|
|
|
4026
4034
|
limit: upstreamFetchLimit
|
|
4027
4035
|
});
|
|
4028
4036
|
publicRecords = discoveryRes.agents;
|
|
4029
|
-
upstreamTruncated = discoveryRes.truncated;
|
|
4037
|
+
upstreamTruncated = upstreamTruncated || discoveryRes.truncated;
|
|
4030
4038
|
upstreamTotal = discoveryRes.total;
|
|
4031
4039
|
}
|
|
4032
4040
|
const recordsMap = /* @__PURE__ */ new Map();
|
|
@@ -4075,7 +4083,7 @@ async function listAgentsFunc(args, thunkApi) {
|
|
|
4075
4083
|
localDeadline = mergeAvailabilityDeadline(localDeadline, at);
|
|
4076
4084
|
}
|
|
4077
4085
|
}
|
|
4078
|
-
for (const ref of [record?.apiKeyRef, record?.credentialRef]) {
|
|
4086
|
+
for (const ref of credKey?.includes("|quota:") ? [] : [record?.apiKeyRef, record?.credentialRef]) {
|
|
4079
4087
|
if (typeof ref === "string" && ref.trim()) {
|
|
4080
4088
|
const at = localCooldowns[ref.trim()];
|
|
4081
4089
|
if (typeof at === "number" && at > now) {
|
|
@@ -4083,7 +4091,7 @@ async function listAgentsFunc(args, thunkApi) {
|
|
|
4083
4091
|
}
|
|
4084
4092
|
}
|
|
4085
4093
|
}
|
|
4086
|
-
if (summary.credentialGroup && summary.isOwned !== false) {
|
|
4094
|
+
if (summary.credentialGroup && summary.isOwned !== false && !credKey?.includes("|quota:")) {
|
|
4087
4095
|
const at = localCooldowns[summary.credentialGroup];
|
|
4088
4096
|
if (typeof at === "number" && at > now) {
|
|
4089
4097
|
localDeadline = mergeAvailabilityDeadline(localDeadline, at);
|
|
@@ -4100,6 +4108,12 @@ async function listAgentsFunc(args, thunkApi) {
|
|
|
4100
4108
|
});
|
|
4101
4109
|
const discovery = buildAgentDiscoveryResult({
|
|
4102
4110
|
agents,
|
|
4111
|
+
poolRestricted: Boolean(args?.space),
|
|
4112
|
+
caller: {
|
|
4113
|
+
agentKey: context2?.agentKey,
|
|
4114
|
+
effectiveModel: context2?.effectiveModel,
|
|
4115
|
+
runKind: context2?.runKind ?? (context2?.origin === "agent" ? "subtask" : "interactive")
|
|
4116
|
+
},
|
|
4103
4117
|
scope: args?.scope,
|
|
4104
4118
|
query: args?.query,
|
|
4105
4119
|
publicOnly: args?.publicOnly,
|
|
@@ -4116,6 +4130,7 @@ async function listAgentsFunc(args, thunkApi) {
|
|
|
4116
4130
|
return {
|
|
4117
4131
|
rawData: {
|
|
4118
4132
|
success: true,
|
|
4133
|
+
planningRecommendation: discovery.planningRecommendation,
|
|
4119
4134
|
total: discovery.total,
|
|
4120
4135
|
...typeof discovery.offset === "number" ? { offset: discovery.offset } : {},
|
|
4121
4136
|
...typeof discovery.limit === "number" ? { limit: discovery.limit } : {},
|
|
@@ -4297,7 +4312,7 @@ var readSkillDocFunctionSchema = {
|
|
|
4297
4312
|
}
|
|
4298
4313
|
};
|
|
4299
4314
|
async function readSkillDocFunc(args, thunkApi) {
|
|
4300
|
-
const { buildReadDocResult } = await import("./readDocTool-
|
|
4315
|
+
const { buildReadDocResult } = await import("./readDocTool-SKQVHBLO.js");
|
|
4301
4316
|
const id = args?.id ?? args?.doc ?? args?.docKey ?? args?.pageKey;
|
|
4302
4317
|
if (typeof id !== "string" || !id.trim()) {
|
|
4303
4318
|
throw new Error("readSkillDoc requires id or doc.");
|
|
@@ -4675,7 +4690,8 @@ var performDirectDelete = async (dispatch, getState, contentKey, preferredServer
|
|
|
4675
4690
|
return;
|
|
4676
4691
|
}
|
|
4677
4692
|
if (isTableMetaKey(contentKey)) {
|
|
4678
|
-
await dispatch(deleteTable({ dbKey: contentKey }))
|
|
4693
|
+
const result = await dispatch(deleteTable({ dbKey: contentKey }));
|
|
4694
|
+
await result.unwrap();
|
|
4679
4695
|
return;
|
|
4680
4696
|
}
|
|
4681
4697
|
if (isAgentKey(contentKey)) {
|
|
@@ -5148,7 +5164,7 @@ var fetchSpaceAction = async (input, thunkAPI) => {
|
|
|
5148
5164
|
const spaceKey = createSpaceKey.space(spaceId);
|
|
5149
5165
|
const readSpace = async (dbKey) => {
|
|
5150
5166
|
try {
|
|
5151
|
-
const { read: read2, readAndWait: readAndWait2 } = await import("./dbSlice-
|
|
5167
|
+
const { read: read2, readAndWait: readAndWait2 } = await import("./dbSlice-XRUZOGSU.js");
|
|
5152
5168
|
const readPromise = fresh ? dispatch(readAndWait2(dbKey)).unwrap() : dispatch(read2({ dbKey })).unwrap();
|
|
5153
5169
|
return await withTimeout(readPromise);
|
|
5154
5170
|
} catch {
|
|
@@ -11796,7 +11812,7 @@ var selectUserIdFromState = (state2) => {
|
|
|
11796
11812
|
var selectCurrentServerFromState = (state2) => typeof state2?.settings?.currentServer === "string" ? state2.settings.currentServer : null;
|
|
11797
11813
|
async function addImageContentToSpace(input) {
|
|
11798
11814
|
const injectedAddContentAction = input.thunkApi?.extra?.addContentAction;
|
|
11799
|
-
const addContentAction2 = typeof injectedAddContentAction === "function" ? injectedAddContentAction : (await import("./addContentAction-
|
|
11815
|
+
const addContentAction2 = typeof injectedAddContentAction === "function" ? injectedAddContentAction : (await import("./addContentAction-7RO4AMRI.js")).addContentAction;
|
|
11800
11816
|
await addContentAction2(
|
|
11801
11817
|
{
|
|
11802
11818
|
spaceId: input.spaceId,
|
|
@@ -12537,7 +12553,7 @@ var rememberMemoryFunctionSchema = {
|
|
|
12537
12553
|
"\u628A\u503C\u5F97\u957F\u671F\u8BB0\u4F4F\u7684\u7528\u6237\u504F\u597D\u3001\u7EA0\u6B63\u3001\u51B3\u7B56\u4E60\u60EF\u6216\u5F53\u524D Space \u5171\u8BC6\u5199\u6210\u4E00\u6761 memory\u3002",
|
|
12538
12554
|
"\u9ED8\u8BA4\u503E\u5411\u4E8E\u8BB0\uFF1A\u7528\u6237\u8BF4\u51FA\u300C\u8BB0\u4F4F/\u8BB0\u5F97/\u522B\u5FD8\u4E86/\u4EE5\u540E\u90FD/\u522B\u518D/\u6211\u559C\u6B22/\u6211\u4E0D\u559C\u6B22/\u4E0B\u6B21\u300D\u8FD9\u7C7B\u8BDD\u65F6\uFF0C\u9ED8\u8BA4\u5C31\u8C03\u7528\u672C\u5DE5\u5177\uFF0C\u4E0D\u8981\u53CD\u590D\u81EA\u95EE\u662F\u5426\u591F\u683C\u3002",
|
|
12539
12555
|
"\u4ECD\u7136\u4E0D\u8981\u8BB0\uFF1A\u4E00\u6B21\u6027\u4EFB\u52A1\u7EC6\u8282\u3001\u5F53\u524D\u4EFB\u52A1\u8FDB\u5EA6\u3001\u5F88\u5FEB\u8FC7\u671F\u7684\u4E8B\u5B9E\u3002",
|
|
12540
|
-
"\u3010\u6F14\u8FDB\
|
|
12556
|
+
"\u3010\u7248\u672C\u4E0E\u6F14\u8FDB\u8BF4\u660E\u3011\u8C03\u7528\u672C\u5DE5\u5177\u662F\u5199\u5165\u65B0\u8BB0\u5F55\uFF0C\u5E95\u5C42\u4E0D\u4FDD\u8BC1\u81EA\u52A8\u8BC6\u522B\u3001\u5408\u5E76\u6216\u66FF\u4EE3\u540C\u4E00\u4E8B\u5B9E\u7684\u65E7\u8BB0\u5F55\uFF1B\u5199\u5165\u65F6\u8BF7\u7528\u5F53\u524D\u6700\u65B0\u7684\u5B8C\u6574\u8868\u8FF0\u8BF4\u6E05\uFF0C\u4F46\u4E0D\u8981\u5047\u8BBE\u65E7\u8BB0\u5F55\u5DF2\u88AB\u81EA\u52A8\u8986\u76D6\u3002\u4E25\u7981\u6A21\u578B\u81EA\u884C\u8C03\u7528 deleteMemory \u7EF4\u62A4\u7248\u672C\u6216\u6E05\u7406\u65E7\u6761\u3002",
|
|
12541
12557
|
"\u3010\u65F6\u6548\u72B6\u6001\u7981\u5165\u3011\u914D\u989D\u4F59\u91CF\u3001\u9650\u6D41\u51B7\u5374\u671F\u9650\u3001\u90E8\u7F72\u5F53\u524D\u72B6\u6001\u7B49\u5F88\u5FEB\u8FC7\u671F\u7684\u5FEB\u7167\u4E0D\u8FDB\u957F\u671F\u8BB0\u5FC6\uFF1B\u8FD9\u7C7B\u4FE1\u606F\u7528\u5B9E\u65F6\u67E5\u8BE2\uFF08\u5982 listAgents\u3001\u90E8\u7F72\u65E5\u5FD7\uFF09\u83B7\u53D6\u5F53\u4E0B\u771F\u503C\uFF0C\u4E0D\u8981\u843D\u8FDB\u8BB0\u5FC6\u3002",
|
|
12542
12558
|
"\u3010procedural \u786C\u95E8\u3011kind=procedural \u5FC5\u987B\u540C\u65F6\u4F20 recurrenceEvidence\uFF08\u8BF4\u660E\u540C\u4E00\u95EE\u9898\u6B64\u524D\u5728\u4EC0\u4E48\u65F6\u5019\u9047\u5230\u8FC7\uFF09\uFF1B",
|
|
12543
12559
|
"\u7ED9\u4E0D\u51FA\u590D\u73B0\u8BC1\u636E\u7684\u4E00\u5F8B\u6309 episodic \u5B58\u50A8\uFF08\u4E0D\u62A5\u9519\uFF0C\u4F46\u4F60\u4F1A\u5728\u8FD4\u56DE\u503C\u91CC\u770B\u5230\u964D\u7EA7\u63D0\u793A\uFF09\u3002",
|
|
@@ -12550,8 +12566,7 @@ var rememberMemoryFunctionSchema = {
|
|
|
12550
12566
|
" - \u5F53\u524D\u4EFB\u52A1\u7684\u4E34\u65F6\u8FDB\u5EA6 \u2192 \u4E0D\u8981\u8C03\u7528\uFF0C\u8D70\u5BF9\u8BDD\u4E0A\u4E0B\u6587",
|
|
12551
12567
|
"\u5199\u6210\u4E00\u53E5\u7B80\u6D01\u3001\u672A\u6765\u4ECD\u53EF\u7406\u89E3\u7684\u8BDD\u3002\u9ED8\u8BA4\u9759\u9ED8\u6267\u884C\uFF0C\u4E0D\u7528\u5411\u7528\u6237\u6C47\u62A5\u5DF2\u8BB0\u4F4F\u3002",
|
|
12552
12568
|
"",
|
|
12553
|
-
"\u3010\
|
|
12554
|
-
"\u3010\u5F3A\u5236\u5220\u9664\u4F8B\u5916\u3011\u4EC5\u5728\u7528\u6237\u660E\u786E/\u5F3A\u5236\u8981\u6C42\u5220\u9664\u4E14\u5728\u7528\u6237\u81EA\u8EAB\u6743\u9650\u8303\u56F4\u5185\u65F6\uFF0C\u624D\u5141\u8BB8\u6267\u884C\u7269\u7406\u5220\u9664\uFF08\u8C03\u7528 deleteMemory\uFF0C\u4E25\u683C\u9650\u5236\u4E8E\u5F53\u524D\u7528\u6237\u62E5\u6709\u7684\u8BB0\u5FC6\uFF09\u3002",
|
|
12569
|
+
"\u3010\u5220\u9664\u6743\u9650\u5B89\u5168\u8FB9\u754C\u3011\u7269\u7406\u5220\u9664\uFF08deleteMemory\uFF09\u4E25\u683C\u53D7\u9650\uFF1A\u4EC5\u5728\u7528\u6237\u660E\u786E\u8981\u6C42\u5220\u9664\u4E14\u5728\u5F53\u524D\u7528\u6237\u81EA\u8EAB\u6743\u9650\u8303\u56F4\u5185\u65F6\u5141\u8BB8\u6267\u884C\uFF1B\u4E25\u7981\u6A21\u578B\u81EA\u884C\u8C03\u7528 deleteMemory \u7EF4\u62A4\u7248\u672C\u6216\u5F52\u6863\u65E7\u6761\u3002\u51B2\u7A81\u6216\u504F\u597D\u6F14\u8FDB\u65F6\u4F18\u5148\u4F9D\u9760\u5F53\u524D\u8F93\u5165\u8986\u76D6\uFF0C\u4E0D\u901A\u8FC7\u64C5\u81EA\u5220\u9664\u6765\u89E3\u51B3\u3002",
|
|
12555
12570
|
"",
|
|
12556
12571
|
"\u3010\u7F6E\u4FE1\u5EA6\u6765\u6E90\u3011\u6BCF\u6761\u8BB0\u5FC6\u5FC5\u987B\u6807\u6CE8\u6765\u6E90\uFF08\u4F9B\u53EC\u56DE\u65F6\u5224\u65AD\u53EF\u4FE1\u5EA6\uFF09\uFF1A",
|
|
12557
12572
|
" - verified\uFF1A\u5DE5\u5177/\u547D\u4EE4\u5B9E\u6D4B\u9A8C\u8BC1\u8FC7\uFF08\u9AD8\u7F6E\u4FE1\u5EA6\uFF09",
|
|
@@ -12752,6 +12767,13 @@ var queryMemoryFunctionSchema = {
|
|
|
12752
12767
|
parameters: {
|
|
12753
12768
|
type: "object",
|
|
12754
12769
|
properties: {
|
|
12770
|
+
source: {
|
|
12771
|
+
type: "string",
|
|
12772
|
+
enum: ["archive"],
|
|
12773
|
+
description: "\u663E\u5F0F\u67E5\u65E7\u7248\u5386\u53F2\u65F6\u4F20 archive\uFF08\u7EAF\u53EA\u8BFB\uFF0C\u4E0D\u4EE3\u8868\u5F53\u524D\u7ED3\u8BBA\uFF09\uFF1B\u7701\u7565\u4FDD\u6301\u9ED8\u8BA4\u67E5\u8BE2\u3002\u4EC5\u5F53\u524D\u7528\u6237 archive\uFF0C\u4E0D\u652F\u6301 Space\u3002"
|
|
12774
|
+
},
|
|
12775
|
+
limit: { type: "integer", minimum: 1, maximum: 100, description: "archive \u6BCF\u9875\u6700\u591A\u8FD4\u56DE\u6761\u6570\uFF0C\u9ED8\u8BA420\uFF1B\u6BCF\u9875\u6700\u591A\u626B\u63CF100\u6761\u7D22\u5F15\u3002" },
|
|
12776
|
+
cursor: { type: "string", description: "archive \u4E0A\u4E00\u9875\u8FD4\u56DE\u7684 cursor\uFF1B\u4FDD\u6301 query \u4E0D\u53D8\u3002\u7A7A\u7ED3\u679C\u4E5F\u53EF\u80FD truncated\uFF0C\u7EE7\u7EED\u7FFB\u9875\u3002\u4E0D\u63D0\u4F9B\u5FEB\u7167\u4E00\u81F4\u6027\u3002" },
|
|
12755
12777
|
query: {
|
|
12756
12778
|
type: "string",
|
|
12757
12779
|
description: "\u8981\u4ECE\u957F\u671F\u8BB0\u5FC6\u4E2D\u68C0\u7D22\u7684\u81EA\u7136\u8BED\u8A00\u95EE\u9898\u6216\u5173\u952E\u8BCD\u3002"
|
|
@@ -12765,6 +12787,8 @@ var queryMemoryFunctionSchema = {
|
|
|
12765
12787
|
async function queryMemoryFunc(args, thunkApi) {
|
|
12766
12788
|
const query = String(args.query ?? "").trim();
|
|
12767
12789
|
if (!query) throw new Error("queryMemory \u9700\u8981\u975E\u7A7A query\u3002");
|
|
12790
|
+
if (args.source !== void 0 && args.source !== "archive") throw new Error("Invalid memory source");
|
|
12791
|
+
if (args.source === void 0 && (args.limit !== void 0 || args.cursor !== void 0)) throw new Error("Pagination requires source archive");
|
|
12768
12792
|
const state2 = thunkApi.getState();
|
|
12769
12793
|
const dialogKey = getActiveDialogKey();
|
|
12770
12794
|
const dialog = dialogKey ? selectById(state2, dialogKey) : null;
|
|
@@ -12774,13 +12798,19 @@ async function queryMemoryFunc(args, thunkApi) {
|
|
|
12774
12798
|
{
|
|
12775
12799
|
agentKey: resolveDialogRuntimeAgentKey(dialog),
|
|
12776
12800
|
userInput: query,
|
|
12777
|
-
...
|
|
12801
|
+
...args.source === "archive" ? {
|
|
12802
|
+
source: args.source,
|
|
12803
|
+
...args.limit !== void 0 ? { limit: args.limit } : {},
|
|
12804
|
+
...args.cursor !== void 0 ? { cursor: args.cursor } : {}
|
|
12805
|
+
} : {},
|
|
12806
|
+
...args.source !== "archive" && getCurrentSpaceId() ? { spaceId: getCurrentSpaceId() } : {}
|
|
12778
12807
|
},
|
|
12779
12808
|
{ withAuth: true }
|
|
12780
12809
|
);
|
|
12781
12810
|
const selectedItems = Array.isArray(result?.selectedItems) ? result.selectedItems : [];
|
|
12782
12811
|
const displayData = selectedItems.length ? selectedItems.map((item) => String(item?.content ?? "").trim()).filter(Boolean).join("\n") : "\u6CA1\u6709\u627E\u5230\u76F8\u5173\u957F\u671F\u8BB0\u5FC6\u3002";
|
|
12783
|
-
return { rawData: result, displayData
|
|
12812
|
+
return { rawData: result, displayData: args.source === "archive" ? `\u5386\u53F2 archive\uFF08\u4E0D\u4EE3\u8868\u5F53\u524D\u7ED3\u8BBA\uFF09\uFF1A
|
|
12813
|
+
${JSON.stringify(result)}` : displayData };
|
|
12784
12814
|
}
|
|
12785
12815
|
|
|
12786
12816
|
// packages/ai/tools/execShellTool.ts
|
|
@@ -13346,7 +13376,7 @@ var buildCreateSkillAgentArgs = (args) => {
|
|
|
13346
13376
|
references: args.references ?? [],
|
|
13347
13377
|
linkedSpaces: args.linkedSpaces ?? [],
|
|
13348
13378
|
temperature: 0.3,
|
|
13349
|
-
reasoning_effort: "medium"
|
|
13379
|
+
reasoning_effort: resolveDefaultReasoningEffort({ provider: (args.provider ?? "").trim() || DEFAULT_PROVIDER, model: (args.model ?? "").trim() || DEFAULT_MODEL2, fallback: "medium" })
|
|
13350
13380
|
};
|
|
13351
13381
|
};
|
|
13352
13382
|
|
|
@@ -14402,6 +14432,7 @@ function buildStartAgentRunFunctionSchema(opts) {
|
|
|
14402
14432
|
type: "string",
|
|
14403
14433
|
description: "\u53EF\u9009\u3002\u7236\u5BF9\u8BDD id\uFF0C\u7528\u4E8E\u5EFA\u7ACB\u7236\u5B50\u5BF9\u8BDD\u5F52\u5C5E\u5173\u7CFB\u3002\u9ED8\u8BA4\u4ECE\u8FD0\u884C\u65F6\u5F53\u524D\u6FC0\u6D3B\u5BF9\u8BDD\u83B7\u53D6\u3002"
|
|
14404
14434
|
},
|
|
14435
|
+
imagePaths: { type: "array", items: { type: "string" }, minItems: 1, maxItems: 4, description: "\u672C\u673A PNG/JPEG/WebP/GIF \u56FE\u7247\u7EDD\u5BF9\u8DEF\u5F84\uFF0C1\u20134 \u5F20\u3002\u4EC5 CLI host-local \u6267\u884C\u5668\u652F\u6301\uFF1B\u5FC5\u987B runtimeKey=local\u3001allowHostWrites=true\u3002\u56FE\u7247\u4F5C\u4E3A\u5B50 run \u9996\u8F6E\u89C6\u89C9\u8F93\u5165\uFF0C\u4E0D\u662F\u8DEF\u5F84\u6587\u672C\uFF1B\u4E0D\u652F\u6301\u8DE8\u673A\u5668\u81EA\u52A8\u4E0A\u4F20\uFF0C\u4E0D\u4F20 URL/base64\u3002\u5355\u56FE\u7F16\u7801\u4E0A\u9650 2MiB\uFF0C\u603B\u8BA1 8MiB\uFF0C\u6309\u65E2\u6709 read_image \u89C4\u5219\u7F29\u653E\u3002" },
|
|
14405
14436
|
runtimeKey: {
|
|
14406
14437
|
type: "string",
|
|
14407
14438
|
description: "\u53EF\u9009\u3002\u8FD9\u6B21 run \u7684\u6267\u884C\u4F4D\u7F6E\uFF1AlistRuntimes \u8FD4\u56DE\u7684\u7A33\u5B9A key\uFF08local | server | machine:<machineId> | docker:<runtimeId> | instabox | gcp\uFF09\u3002\u4E91\u540E\u7AEF\u6309 run \u8BA1\u8D39\uFF08instabox \u514D\u8D39\u989D\u5EA6\u3001gcp \u6309\u79D2\uFF09\uFF0C\u70B9\u540D\u5373\u8868\u793A\u540C\u610F\u5728\u8BE5\u540E\u7AEF\u6267\u884C\u3002\u586B\u4E86\u5C31\u53EA\u5728\u90A3\u4E2A\u4F4D\u7F6E\u6267\u884C\uFF1Bkey \u975E\u6CD5 / \u8FD0\u884C\u65F6\u672A\u914D\u7F6E / \u673A\u5668\u79BB\u7EBF\u6216\u975E\u672C\u4EBA\u6240\u6709\u65F6\u4F1A\u663E\u5F0F\u62A5\u9519\uFF0C\u4E0D\u4F1A\u6084\u6084\u6539\u5728\u672C\u673A\u6216\u670D\u52A1\u7AEF\u6267\u884C\u3002\u4E0D\u586B = \u6CBF\u7528\u5F53\u524D\u5BBF\u4E3B\u9ED8\u8BA4\u4F4D\u7F6E\u3002"
|
|
@@ -14459,6 +14490,7 @@ async function startAgentRunFunc(args, thunkApi, _context) {
|
|
|
14459
14490
|
throw new Error("startAgentRun: instabox workspace \u5408\u540C\u76EE\u524D\u4EC5\u7531\u672C\u673A CLI \u6267\u884C\u5668\u5151\u73B0\uFF1B\u672C\u670D\u52A1\u7AEF\u6D3E\u53D1\u901A\u9053\u4E0D\u652F\u6301\uFF0C\u5DF2\u62D2\u7EDD\uFF08\u4E0D\u4F1A\u56DE\u843D\u5BBF\u4E3B\uFF09\u3002\u8BF7\u4F7F\u7528 nolo CLI \u672C\u673A\u6D3E\u53D1\u3002");
|
|
14460
14491
|
}
|
|
14461
14492
|
const resultMode = args.resultMode ?? "full";
|
|
14493
|
+
if (args.imagePaths !== void 0) throw new Error("image_backend_unsupported: imagePaths currently requires the CLI host-local executor");
|
|
14462
14494
|
const { dispatch } = thunkApi;
|
|
14463
14495
|
const explicitBatchId = typeof batchId === "string" && batchId.trim() ? batchId.trim() : void 0;
|
|
14464
14496
|
const effectiveBatchId = explicitBatchId ?? `batch-${(/* @__PURE__ */ new Date()).toISOString().replace(/[:.]/g, "-")}-${Math.random().toString(36).slice(2, 8)}`;
|
|
@@ -18934,7 +18966,7 @@ async function updateDocFunc(args, thunkApi) {
|
|
|
18934
18966
|
updated_at: (/* @__PURE__ */ new Date()).toISOString()
|
|
18935
18967
|
};
|
|
18936
18968
|
await dispatch(write({ data: updatedPageData, customKey: id })).unwrap();
|
|
18937
|
-
const { getDocState, applyExternalDocUpdate } = await import("./docStore-
|
|
18969
|
+
const { getDocState, applyExternalDocUpdate } = await import("./docStore-NDY3K3PK.js");
|
|
18938
18970
|
if (getDocState().pageKey === id) {
|
|
18939
18971
|
applyExternalDocUpdate({
|
|
18940
18972
|
slateData: finalSlateData,
|
|
@@ -18959,7 +18991,7 @@ async function updateDocFunc(args, thunkApi) {
|
|
|
18959
18991
|
// packages/ai/tools/updateUserPreferenceProfileTool.ts
|
|
18960
18992
|
async function dispatchSetSettings(thunkApi, changes) {
|
|
18961
18993
|
const injectedSetSettings = thunkApi?.extra?.setSettings;
|
|
18962
|
-
const setSettings = typeof injectedSetSettings === "function" ? injectedSetSettings : (await import("./settingThunks-
|
|
18994
|
+
const setSettings = typeof injectedSetSettings === "function" ? injectedSetSettings : (await import("./settingThunks-ZRGWVGZD.js")).setSettings;
|
|
18963
18995
|
await thunkApi.dispatch(setSettings(changes)).unwrap();
|
|
18964
18996
|
}
|
|
18965
18997
|
var updateUserPreferenceProfileFunctionSchema = {
|
|
@@ -4,20 +4,20 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
getApproxPricePerImage
|
|
6
6
|
} from "./chunk-4JH2UMJR.js";
|
|
7
|
-
import {
|
|
8
|
-
getModelConfig
|
|
9
|
-
} from "./chunk-LE6LGAJE.js";
|
|
10
|
-
import {
|
|
11
|
-
isPlatformHostedImageModel,
|
|
12
|
-
isPlatformManagedProvider,
|
|
13
|
-
resolvePlatformEffectiveModel
|
|
14
|
-
} from "./chunk-VALBGPM6.js";
|
|
15
7
|
import {
|
|
16
8
|
asOptionalPositiveFiniteNumber
|
|
17
9
|
} from "./chunk-U6VC4MU4.js";
|
|
10
|
+
import {
|
|
11
|
+
getModelConfig
|
|
12
|
+
} from "./chunk-CD3RU7XL.js";
|
|
18
13
|
import {
|
|
19
14
|
asOptionalFiniteNumber
|
|
20
15
|
} from "./chunk-WWC7I6TA.js";
|
|
16
|
+
import {
|
|
17
|
+
isPlatformHostedImageModel,
|
|
18
|
+
isPlatformManagedProvider,
|
|
19
|
+
resolvePlatformEffectiveModel
|
|
20
|
+
} from "./chunk-OBSEKCVK.js";
|
|
21
21
|
|
|
22
22
|
// packages/ai/llm/getPricing.ts
|
|
23
23
|
var MAX_OUTPUT_TOKENS = 8192;
|