nolo-cli 0.231.0-alpha.1 → 0.240.0-alpha.3
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-7V3NSK4W.js → _executeModel-5NA4USGG.js} +56 -51
- package/{action-GDZDXPMB.js → action-X75O3XPH.js} +7 -4
- package/{addContentAction-7RO4AMRI.js → addContentAction-GVC77QSN.js} +9 -8
- package/{addDialogAgentAction-EVYBGTXB.js → addDialogAgentAction-KKDVAMW3.js} +12 -11
- package/{agentDeleteCommand-MD76OMLN.js → agentDeleteCommand-2RFGKFAB.js} +77 -69
- package/{agentEmailCommands-T4TW4IBX.js → agentEmailCommands-GQCQKKOR.js} +84 -72
- package/{agentListCommands-4WLG32IW.js → agentListCommands-HSGLDPDQ.js} +40 -47
- package/{agentMachineCommands-LSDGA5WR.js → agentMachineCommands-BISF6PVV.js} +26 -22
- package/{agentProviderCommands-STI3DQ6A.js → agentProviderCommands-O3Q25PKU.js} +2 -2
- package/{agentPullCommand-KHV4EELF.js → agentPullCommand-G6U2LHMW.js} +1 -1
- package/{agentRecordCommands-7TEX2B7Y.js → agentRecordCommands-AOXPGYAJ.js} +79 -67
- package/{agentRunCommand-23SMDVDW.js → agentRunCommand-AFAIP7U7.js} +85 -72
- package/{agentRunControl-MBG4U6SL.js → agentRunControl-VBL7UFSG.js} +1 -1
- package/{agentRuntimeLocal-HOXKWCYO.js → agentRuntimeLocal-T7BX2WGL.js} +24 -19
- package/{agentSlice-AATYVDP6.js → agentSlice-XJNKE3PG.js} +10 -9
- package/{appDeleteCommands-WWCC6WA5.js → appDeleteCommands-LURUSPY7.js} +27 -23
- package/{appDeployCommands-AU4IUN33.js → appDeployCommands-SMEW4AK2.js} +27 -23
- package/{appDeployStatusCommands-STUW7WXL.js → appDeployStatusCommands-VYPJTBJK.js} +27 -23
- package/{appGetCommands-BGTLIQ4K.js → appGetCommands-N4NI5GGJ.js} +27 -23
- package/{appListCommands-CUCPRUXW.js → appListCommands-5C6ONN3Z.js} +27 -23
- package/{authCommand-3SUYUNQV.js → authCommand-4CVBDADE.js} +15 -13
- package/{authCommands-BLE7ETZH.js → authCommands-EHU2BHOX.js} +7 -5
- package/{builtinSkillRegistry-BAE2LDXF.js → builtinSkillRegistry-AYWYQVA4.js} +3 -3
- package/{chromeOpsCommands-WAA45NCS.js → chromeOpsCommands-CSDG2HYN.js} +1 -1
- package/{chunk-HHFGE2WF.js → chunk-2574ANSV.js} +1 -1
- package/chunk-2SXN7LAY.js +15 -0
- package/{chunk-S6FDXXZV.js → chunk-3EMIEC27.js} +1 -1
- package/{chunk-EXNV7CCV.js → chunk-3FBAVU2Y.js} +11 -9
- package/{chunk-ZH3KXFHS.js → chunk-4FIO2S7Z.js} +1 -1
- package/{chunk-U4FF7LRY.js → chunk-4IQVE43Z.js} +30 -26
- package/{chunk-VQ5N5GSV.js → chunk-4Q6HQORG.js} +1 -1
- package/{chunk-P2ZLUIW2.js → chunk-4X5AVCM7.js} +94 -4
- package/chunk-4ZCTKB27.js +31 -0
- package/{chunk-42OKN2LI.js → chunk-5HUO7SEX.js} +9 -107
- package/{chunk-QYB23WUH.js → chunk-5QZSEQSK.js} +1 -1
- package/{chunk-7JGMNKKG.js → chunk-6CKUO32A.js} +8 -0
- package/chunk-6D25V6CB.js +133 -0
- package/{chunk-LHN7NIQZ.js → chunk-6WOLPIPY.js} +93 -90
- package/{chunk-6QHKRARD.js → chunk-6WZVM33D.js} +9 -4
- package/{chunk-NVEYEKN3.js → chunk-7AJRJGSQ.js} +254 -359
- package/chunk-7NIBQ4HY.js +138 -0
- package/{chunk-7Z6EW7AH.js → chunk-7TTMMOKH.js} +13 -6
- package/{chunk-GXZ5LB7H.js → chunk-A3LUWRQK.js} +4 -4
- package/{chunk-4ZGPHFLE.js → chunk-A5EVA6HU.js} +2 -2
- package/{chunk-57TLKTVZ.js → chunk-A74QP4FI.js} +566 -104
- package/{chunk-3ING4D5X.js → chunk-AEQMKYZN.js} +4 -4
- package/{chunk-FFSPUVL5.js → chunk-AH5R7BYW.js} +6 -166
- package/{chunk-7FEP5USX.js → chunk-ANJRDS6U.js} +3 -3
- package/{chunk-YFLVRVYK.js → chunk-AVJDELEA.js} +1 -1
- package/{chunk-HYLRQDEE.js → chunk-B5SV4H3J.js} +6 -6
- package/{chunk-KUOMUZH6.js → chunk-B7DE5XJW.js} +137 -290
- package/chunk-BEM6LPD2.js +734 -0
- package/{chunk-DUUDXSLX.js → chunk-BGGAY6OK.js} +27 -3
- package/{chunk-YCFP57LH.js → chunk-BGGV6B5O.js} +408 -230
- package/{chunk-BP5ZJ6B4.js → chunk-BIABIPGW.js} +1 -1
- package/{chunk-TQEKUOTI.js → chunk-BXSMFPTG.js} +4 -4
- package/{chunk-RG2DGNL6.js → chunk-CKZPMJNU.js} +3 -3
- package/{chunk-WU443D7A.js → chunk-CVJRVBJL.js} +2 -2
- package/{chunk-BIWI5M4E.js → chunk-D374I563.js} +1 -1
- package/{chunk-QRGDJA4B.js → chunk-DNZ4JJ7C.js} +1 -1
- package/chunk-DVYAFH2Q.js +103 -0
- package/{chunk-FTMFO6LI.js → chunk-DXW5WDHZ.js} +4 -4
- package/{chunk-ZTR65O4L.js → chunk-E5KJOZWY.js} +3 -3
- package/{chunk-G7IUT2V3.js → chunk-EBKHA63G.js} +103 -12
- package/{chunk-DGYCDA6W.js → chunk-F3XI6WQP.js} +17 -10
- package/{chunk-M3OZRQNH.js → chunk-F6YWDVIB.js} +1 -1
- package/{chunk-PR2LAQAC.js → chunk-FFYE5ATM.js} +4 -4
- package/{chunk-6NNDUDAZ.js → chunk-FZKA3XFA.js} +11 -11
- package/{chunk-MNEZUL5S.js → chunk-G22P367E.js} +31 -14
- package/{chunk-6OQMSPB7.js → chunk-GDUC4VS2.js} +7 -7
- package/{chunk-R6Z5S5GA.js → chunk-GXXY2NL3.js} +16 -14
- package/{chunk-U2HBB7RS.js → chunk-H7ZYKHAZ.js} +27 -7
- package/{chunk-3U44JB3O.js → chunk-HCNOO374.js} +1 -1
- package/{chunk-HSSBDZLD.js → chunk-HOM6LTEW.js} +1 -1
- package/{chunk-S2NTVGA2.js → chunk-I2OYPD3Y.js} +1 -1
- package/{chunk-TPG2DPN2.js → chunk-IJTXNLQE.js} +9 -9
- package/{chunk-ALAES342.js → chunk-IUMS6F53.js} +2 -2
- package/{chunk-547ENH5T.js → chunk-IUTUWIKE.js} +2 -2
- package/{chunk-S6K5F3KP.js → chunk-JBWXPACD.js} +1 -1
- package/{chunk-XAG3FWBE.js → chunk-KZPEGO6D.js} +1 -1
- package/{chunk-RBPUNSG5.js → chunk-LYDEFPQP.js} +18 -108
- package/{chunk-OWKNSIXL.js → chunk-MECDGHLK.js} +271 -66
- package/{chunk-FJSNBZXR.js → chunk-MM73SP4K.js} +1 -1
- package/{chunk-XSW4EXQV.js → chunk-MYOSN6BT.js} +2 -2
- package/{chunk-ZEVQHCLM.js → chunk-MYPKBJJO.js} +2 -2
- package/{chunk-DBUR22G5.js → chunk-N2JROHD3.js} +4 -4
- package/{chunk-ATEKLSLR.js → chunk-O6IPRAVV.js} +14 -9
- package/{chunk-PPJYZRSQ.js → chunk-OX6GNNVT.js} +6 -1
- package/{chunk-WFVASLQT.js → chunk-P3IZUMIC.js} +1 -1
- package/{chunk-FPBJM2BW.js → chunk-PGKA77TZ.js} +26 -20
- package/{chunk-IONGMVPY.js → chunk-PRMEU7BT.js} +229 -7
- package/{chunk-OJ45MEEI.js → chunk-PROOOQZ3.js} +1 -1
- package/{chunk-4I2MXV5Q.js → chunk-PVFYPUIM.js} +2 -0
- package/{chunk-5FUN7EG4.js → chunk-RD3QLZQV.js} +83 -47
- package/chunk-RETQOQ4D.js +33394 -0
- package/{chunk-CMMI3DAT.js → chunk-RM4UMFY4.js} +33 -26
- package/{chunk-262R3XNN.js → chunk-S2MHR4PU.js} +151 -5
- package/{chunk-DEA37IUY.js → chunk-T6VROBY7.js} +2 -2
- package/{chunk-M4SFKP5L.js → chunk-TEMLHVGX.js} +1 -1
- package/{chunk-3QIYD3VM.js → chunk-TRHJ4NJB.js} +61 -792
- package/{chunk-OBIC6EG7.js → chunk-TWTJV35S.js} +1 -1
- package/{chunk-TCZ2VJZQ.js → chunk-U3G7RRXJ.js} +5 -5
- package/{chunk-F6Z6ZCUV.js → chunk-UFC4J7OY.js} +3 -3
- package/{chunk-5YMA6DDZ.js → chunk-UHW6SCVK.js} +1 -1
- package/{chunk-4N6G2CKP.js → chunk-ULLHVDTZ.js} +46 -1
- package/{chunk-XFXFPUO7.js → chunk-VM72HKW2.js} +7 -7
- package/{chunk-MHHLABT3.js → chunk-VREG6ANQ.js} +102 -99
- package/chunk-VSRISJXZ.js +107 -0
- package/chunk-WDWZPASX.js +29 -0
- package/{chunk-ILHQ2AXT.js → chunk-WRKMXMU7.js} +2 -0
- package/chunk-X7IA2B7R.js +166 -0
- package/{chunk-5ZMIIR23.js → chunk-XBAEM4RI.js} +7 -0
- package/{chunk-4JVNURX4.js → chunk-XS5A3EKX.js} +1 -23
- package/{chunk-N5Z2V73W.js → chunk-Y2MF4DCJ.js} +1 -1
- package/{chunk-KUDCKVYQ.js → chunk-Y5OWZQMJ.js} +28 -19
- package/{chunk-TI2EPRHE.js → chunk-YGCOJNFZ.js} +3 -3
- package/{chunk-JQZRSXS5.js → chunk-YGDYYFRX.js} +9 -13
- package/{chunk-X7QAIY5B.js → chunk-Z2WZAE4P.js} +128 -150
- package/chunk-Z6YTCDU4.js +24 -0
- package/{chunk-RRDRQOEC.js → chunk-ZEKUFJLW.js} +81 -66
- package/{chunk-EVGU5P4U.js → chunk-ZVOL2MAJ.js} +1 -1
- package/{cliAgentConfigHelpers-BTRHMPW2.js → cliAgentConfigHelpers-U5OAVAKQ.js} +2 -2
- package/{cliAuthorityBrokerClient-XHH7MH2P.js → cliAuthorityBrokerClient-S42VMGB6.js} +1 -1
- package/{cliLocalAgentRecordReader-H3HYQRRR.js → cliLocalAgentRecordReader-HVZAQCUD.js} +29 -25
- package/{commandRegistry-35EMLPIZ.js → commandRegistry-TME7INFU.js} +89 -85
- package/{contentThunks-BCNMGA5J.js → contentThunks-U6OC4R2N.js} +23 -22
- package/{cooldownCommands-YB5H5BBK.js → cooldownCommands-U7XSRVJP.js} +1 -1
- package/{createAgentAutomationAction-HEU4KOYF.js → createAgentAutomationAction-IP4LFN3W.js} +23 -22
- package/{createDialogAction-5DSL5ESZ.js → createDialogAction-IAGQJ3LH.js} +24 -23
- package/{createPageAction-BBZ25AFI.js → createPageAction-AZ3UIFKA.js} +24 -23
- package/{dbSlice-XRUZOGSU.js → dbSlice-DKKMJJYY.js} +8 -7
- package/{deleteFile-6URDHYRB.js → deleteFile-TQSONMVU.js} +7 -4
- package/{dialogCommands-6SZD4TYP.js → dialogCommands-PCDRMBWG.js} +30 -26
- package/dialogMessageRecord-OAV77LT7.js +7 -0
- package/{dialogNotifyCommand-SHGPCU22.js → dialogNotifyCommand-O35MWMOS.js} +3 -3
- package/{dialogSlice-QJ5PQOM3.js → dialogSlice-QAKYN4DE.js} +22 -21
- package/{dialogUsageCommand-W2WCSGKF.js → dialogUsageCommand-2SSLTXKO.js} +2 -2
- package/{docCreateCommands-25E6PGN3.js → docCreateCommands-CFQFZOAD.js} +26 -22
- package/{docDeleteCommands-F7ZVGEHW.js → docDeleteCommands-5CPNTIIS.js} +27 -23
- package/{docReadCommands-JY2E5XEN.js → docReadCommands-XQILYSAJ.js} +26 -22
- package/{docStore-XJ4UMU3C.js → docStore-GIVRT7TQ.js} +10 -9
- package/{docUpdateCommands-OZ4CUSIQ.js → docUpdateCommands-VETKSUDD.js} +26 -22
- package/{handleSendMessageAction-YHAOXARI.js → handleSendMessageAction-HKIW4ZNO.js} +48 -45
- package/{hostCredentialCreate-62AWCBQC.js → hostCredentialCreate-6VDJFNDO.js} +81 -68
- package/index.js +8 -8
- package/{lib-OT5OTXRU.js → lib-62SWPXNF.js} +3 -7
- package/{localRuntimeAdapter-KNQNNHUM.js → localRuntimeAdapter-BQ4F5PZV.js} +81 -69
- package/{localRuntimeAuthority-IBJAT62G.js → localRuntimeAuthority-WCNA4A3G.js} +4 -2
- package/{localRuntimeDb-N7KHDXS2.js → localRuntimeDb-CRNIBOOM.js} +1 -1
- package/{machineCommands-X2FMPSV4.js → machineCommands-K6XIGOAD.js} +77 -65
- package/{machineWsRunDispatch-XHTPOYVJ.js → machineWsRunDispatch-4OO7Z6UM.js} +77 -65
- package/mcpLocalAuthorizeCommand-ZP6ESAGE.js +106 -0
- package/{memberThunks-7Y3OYSJQ.js → memberThunks-PBJPZ2JU.js} +15 -10
- package/{overlay-BBQZXGYI.js → overlay-JA3SPVUS.js} +5 -3
- package/package.json +1 -1
- package/{projectArchive-NPQ3YOAV.js → projectArchive-G7AOQPRW.js} +24 -23
- package/{providerPresetApply-WHAMP2D5.js → providerPresetApply-OPBCAONX.js} +1 -1
- package/{providerRegistry-ZI2KORJ7.js → providerRegistry-J2HCVTHE.js} +1 -1
- package/{read-TYMBGEXO.js → read-JEGPITEW.js} +6 -5
- package/{readDocTool-SKQVHBLO.js → readDocTool-TE3XIU4Y.js} +1 -1
- package/{readlineWorkspace-77PILYDH.js → readlineWorkspace-SOW5QUGZ.js} +2935 -2376
- package/{removeDialogAgentAction-F5QE2O2B.js → removeDialogAgentAction-CX3OAH4Y.js} +14 -13
- package/{runAgentClientLoop-XNKAXUKU.js → runAgentClientLoop-HQJPDFGQ.js} +65 -45
- package/{runtimeDoctorCommands-RRKPBGVO.js → runtimeDoctorCommands-GUH2YGMH.js} +3 -3
- package/{secretCommands-KZWBZIYS.js → secretCommands-NJXFVHZU.js} +2 -2
- package/{setDialogExtraReferencesAction-72L27ERM.js → setDialogExtraReferencesAction-CGM67EEQ.js} +11 -10
- package/{setPrimaryDialogAgentAction-GJJDUSGJ.js → setPrimaryDialogAgentAction-3ABWPPXR.js} +14 -13
- package/{settingThunks-ZRGWVGZD.js → settingThunks-AY76OHYX.js} +176 -57
- package/{skillDiscovery-BHHPCUHZ.js → skillDiscovery-MDDKPTW3.js} +4 -3
- package/{spaceCommands-TOGSGCPS.js → spaceCommands-G63QGYQO.js} +25 -21
- package/{streamAgentChatTurn-IARUEZPU.js → streamAgentChatTurn-E3XH2KFD.js} +127 -85
- package/{switchDialogAgentAction-IIJBPND3.js → switchDialogAgentAction-G6EZRKCQ.js} +12 -11
- package/{tableCommands-FTAOCBTX.js → tableCommands-JI75ZHDI.js} +4 -1
- package/{toolApiClient-OGQEBQVX.js → toolApiClient-62UUPDUA.js} +3 -5
- package/{tools-5UWS65PB.js → tools-7RSX22FT.js} +41 -37
- package/{tuiRestart-2IL37YIB.js → tuiRestart-KAAA7TND.js} +2 -2
- package/{tuiSummaryLlmCaller-R4H3ZZ52.js → tuiSummaryLlmCaller-BVNHMWLR.js} +5 -5
- package/{updateCommands-CPATDG6J.js → updateCommands-ASK5XYPH.js} +3 -3
- package/{updateDialogTitleAction-G6C6XVNV.js → updateDialogTitleAction-SEWV252V.js} +23 -22
- package/{usageCommand-2BF74MKF.js → usageCommand-JVT5J3DC.js} +2 -2
- package/{usageRebuildCommand-UHB55BQM.js → usageRebuildCommand-IZYYUTEW.js} +3 -3
- package/webapi-24RZDIIQ.js +2488 -0
- package/{windowsSelfUpdate-ZFD6J5HF.js → windowsSelfUpdate-BSDIS2J5.js} +2 -2
- package/workContext-MM3P5GP5.js +13 -0
- package/workContextAccess-UZHDLBUR.js +11 -0
- package/workContextWriteNotice-YCSSMHN4.js +7 -0
- package/chunk-ZXF6D3I6.js +0 -359
- package/{accountResolver-QETKNC7T.js → accountResolver-EK2S4PWF.js} +3 -3
- package/{localDialogRead-CCOCVGAP.js → localDialogRead-AV2VKKPG.js} +0 -0
- package/{workloadLifecycle-HFJIN5IZ.js → workloadLifecycle-YIZ7KLUP.js} +5 -5
|
@@ -3,18 +3,18 @@ import {
|
|
|
3
3
|
getCurrentSpaceId,
|
|
4
4
|
getCurrentSpaceIdRaw,
|
|
5
5
|
updateCurrentSpaceIfMatch
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-IUTUWIKE.js";
|
|
7
7
|
import {
|
|
8
8
|
deleteDialog,
|
|
9
9
|
runtime_default,
|
|
10
10
|
toast
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-B7DE5XJW.js";
|
|
12
12
|
import {
|
|
13
13
|
require_formatISO
|
|
14
14
|
} from "./chunk-UVLYNWIE.js";
|
|
15
15
|
import {
|
|
16
16
|
require_react
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-RD3QLZQV.js";
|
|
18
18
|
import {
|
|
19
19
|
UNCATEGORIZED_ID,
|
|
20
20
|
addContentAction,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
patchIndividualContentRecord,
|
|
27
27
|
readContentRecordForSpaceSync,
|
|
28
28
|
syncContentRecordSpaceId
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-T6VROBY7.js";
|
|
30
30
|
import {
|
|
31
31
|
createSpaceKey,
|
|
32
32
|
normalizeSpaceId
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
uploadFileAction,
|
|
40
40
|
upsertSSREntity,
|
|
41
41
|
write
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-RM4UMFY4.js";
|
|
43
43
|
import {
|
|
44
44
|
resolveFileCategory
|
|
45
45
|
} from "./chunk-3PVYUPXK.js";
|
|
@@ -50,13 +50,13 @@ import {
|
|
|
50
50
|
resolveReplicationServers,
|
|
51
51
|
scheduleDeleteReplication,
|
|
52
52
|
scheduleWriteReplication
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-GXXY2NL3.js";
|
|
54
54
|
import {
|
|
55
55
|
createAsyncThunk
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-7TTMMOKH.js";
|
|
57
57
|
import {
|
|
58
58
|
getIsDesktopApp
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-ULLHVDTZ.js";
|
|
60
60
|
import {
|
|
61
61
|
selectIdentityUserId
|
|
62
62
|
} from "./chunk-PXYBUFDB.js";
|
|
@@ -74,7 +74,7 @@ import {
|
|
|
74
74
|
} from "./chunk-7DPNBQSV.js";
|
|
75
75
|
import {
|
|
76
76
|
isSystemAdmin
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-ZVOL2MAJ.js";
|
|
78
78
|
import {
|
|
79
79
|
extractUserId
|
|
80
80
|
} from "./chunk-M2EJHDJP.js";
|
|
@@ -1513,11 +1513,11 @@ var ENTITY_DELETE_STRATEGIES = {
|
|
|
1513
1513
|
await dispatch(deleteTable({ dbKey: key })).unwrap();
|
|
1514
1514
|
},
|
|
1515
1515
|
file: async (key, { thunkAPI }) => {
|
|
1516
|
-
const { deleteFileAction } = await import("./deleteFile-
|
|
1516
|
+
const { deleteFileAction } = await import("./deleteFile-TQSONMVU.js");
|
|
1517
1517
|
await deleteFileAction(key, thunkAPI);
|
|
1518
1518
|
},
|
|
1519
1519
|
image: async (key, { thunkAPI }) => {
|
|
1520
|
-
const { deleteFileAction } = await import("./deleteFile-
|
|
1520
|
+
const { deleteFileAction } = await import("./deleteFile-TQSONMVU.js");
|
|
1521
1521
|
await deleteFileAction(key, thunkAPI);
|
|
1522
1522
|
},
|
|
1523
1523
|
agent: async (key, { dispatch, userId, sourceServerOrigin }) => {
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
import {
|
|
2
|
+
MCP_CALL_TOOL_INPUT_SCHEMA,
|
|
3
|
+
MCP_LIST_TOOLS_INPUT_SCHEMA
|
|
4
|
+
} from "./chunk-7NIBQ4HY.js";
|
|
1
5
|
import {
|
|
2
6
|
asRecordOrEmpty
|
|
3
7
|
} from "./chunk-KX6YBIHG.js";
|
|
@@ -585,6 +589,8 @@ var MODEL_TIERS = [
|
|
|
585
589
|
{ tier: "easy", models: ["MiniMax M3.1 Flash", "GPT-6 Luna"], pattern: /^(?:(?:minimax-)?m3[.-]1-flash|gpt-6-luna)(?:$|[-@])/ }
|
|
586
590
|
];
|
|
587
591
|
var MODEL_TIER_GUIDANCE = MODEL_TIERS.map(({ tier, models }) => `${tier}: ${models.join("\u3001")}`).join("\n");
|
|
592
|
+
var DIFFICULTY_GRADING_ORDER = `- **\u5148\u5224\u6863\u518D\u9009\u6A21\u578B**\uFF08\u89C4\u5212\u590D\u6742\u2260\u6267\u884C\u590D\u6742\uFF09\uFF1A\u5148\u5B9A\u5B50\u4EFB\u52A1 difficulty \u518D\u9009\u8BE5\u6863\u80DC\u4EFB\u6A21\u578B\uFF1B\u91CD\u8981\u5EA6\u3001\u6587\u4EF6\u6570\u3001\u8017\u65F6\u3001\u53D1\u5E03\u5B89\u5168\u76EE\u5F55\u4E0D\u5347\u6863\uFF0C\u300C\u66F4\u7A33\u59A5/\u66F4\u5B89\u5168/\u72EC\u7ACB review\u300D\u4E0D\u662F\u5347\u6863\u7406\u7531\uFF0C\u9009\u8DB3\u591F\u80DC\u4EFB\u7684\u6700\u4F4E\u6863\uFF0C\u4E0D\u4E3A\u964D\u6863\u62C6\u788E\u3002`;
|
|
593
|
+
var DIFFICULTY_GRADING_TIERS = ` - \u56DB\u6863\uFF1Aeasy\uFF1D\u6839\u56E0\u4E0E\u505A\u6CD5\u660E\u786E\u3001\u5C40\u90E8\u53EF\u9A8C\uFF1Bnormal\uFF1D\u5C40\u90E8\u5B9A\u4F4D\u3001\u6709\u5951\u7EA6\u3001\u65E0\u8DE8\u6A21\u5757\u53D6\u820D\uFF1Bcomplex\uFF1D\u591A\u6839\u56E0\u6216\u8DE8\u6A21\u5757/\u8DE8\u72B6\u6001\uFF0C\u517C\u987E\u5E76\u53D1\u517C\u5BB9\uFF1Bextreme\uFF1D\u67B6\u6784\u672A\u5B9A\u6216\u5B89\u5168/\u5B8C\u6574\u6027\u91CD\u5927\u53D6\u820D\u3002\u6839\u56E0/\u63A5\u53E3\u5B9A\u4E0B\u540E\u5B9E\u73B0\u4E0E\u590D\u5BA1\u91CD\u65B0\u5224\u6863\uFF0C\u4E0D\u7EE7\u627F\u89C4\u5212\u6863\u3002`;
|
|
588
594
|
function resolveModelTier(model) {
|
|
589
595
|
if (typeof model !== "string") return "unknown";
|
|
590
596
|
const id = model.trim().toLowerCase().split("/").at(-1).replace(/\s+/g, "-");
|
|
@@ -679,9 +685,9 @@ ${AGENT_SELECTION_PRIORITY_GROUPS.map((group, index) => ` (${index + 1})
|
|
|
679
685
|
- reset-aware economics\uFF08\u53EA\u4F5C\u540C\u6863\u3001\u9002\u5408\u3001\u5F53\u524D\u53EF\u7528\u5019\u9009\u4E4B\u95F4\u7684\u7ECF\u6D4E\u504F\u597D\uFF0C\u4E0D\u8986\u76D6\u6536\u85CF\u786C\u95E8\u3001\u80FD\u529B\u5339\u914D\u6216\u53EF\u7528\u6027\uFF09\uFF1AlistAgents \u5DF2\u66B4\u9732 economics\uFF08\u5B98\u65B9\u5CF0\u8C37\u4EF7\u683C/\u914D\u989D\u500D\u7387\uFF09\u548C quota\uFF08\u4E0A\u6E38\u771F\u5B9E remaining/limit/utilization/resetAt \u7A97\u53E3\uFF09\u3002\u5BF9\u4E8E billingSource="user_subscription"\uFF0C\u82E5 quota \u7A97\u53E3\u540C\u65F6\u7ED9\u51FA\u672A\u7528\u989D\u5EA6\u4FE1\u53F7\uFF08remaining/limit \u6216 utilization\uFF09\u4E14 resetAt \u5728\u672A\u6765\uFF0C\u4E14\u8BE5\u7A97\u53E3\u4EE3\u8868\u8BA2\u9605\u989D\u5EA6\u672C\u8EAB\uFF08\u5982 Claude \u8BA2\u9605\u7684 5h/7d \u914D\u989D\u7A97\u53E3\u8FD9\u7C7B\u4E0D\u7528\u5C31\u4F5C\u5E9F\u7684\u5DF2\u4ED8\u989D\u5EA6\uFF09\uFF0C\u800C\u4E0D\u662F\u7EAF\u541E\u5410\u5BB9\u91CF\uFF0C\u5219\u8FD9\u90E8\u5206\u5DF2\u4ED8\u989D\u5EA6\u4F1A\u5728 reset \u540E\u5931\u6548\uFF1B\u5728\u8D28\u91CF/\u80FD\u529B\u90FD\u8DB3\u591F\u65F6\uFF0Creset \u8D8A\u8FD1\u4E14\u672A\u7528\u989D\u5EA6\u8D8A\u591A\uFF0C\u8D8A\u5E94\u4F18\u5148\u6D88\u8017\uFF0C\u907F\u514D\u628A\u5DF2\u4ED8\u6B3E\u989D\u5EA6\u767D\u767D\u8FC7\u671F\u540E\u518D\u53BB\u4EA7\u751F PAYG / platform \u6210\u672C\u3002\u4ECD\u6709\u6548\u4E14\u9002\u7528\u4E8E\u672C\u6B21\u8BF7\u6C42\u7684\u5F53\u524D\u7A97\u53E3\u82E5 utilization \u8FBE 1 \u6216 remaining \u4E3A 0\uFF0C\u6309\u5F53\u6B21\u4E0D\u53EF\u7528\u5904\u7406\u3001\u76F4\u63A5\u8DF3\u8FC7\u8BE5\u5019\u9009\uFF0C\u4E0D\u5FC5\u5148\u649E\u4E00\u6B21 429 \u6362\u53D6\u5931\u8D25\u8BC1\u636E\uFF1B\u7A97\u53E3\u5DF2\u8FC7 resetAt \u6216\u72B6\u6001\u4E0D\u660E\u65F6\u6309\u53EF\u7528\u6027\u672A\u77E5\u5904\u7406\uFF0C\u5148\u5237\u65B0\u518D\u5224\u65AD\uFF0C\u4E0D\u8981\u636E\u8FC7\u671F\u5FEB\u7167\u8DF3\u8FC7\uFF1B\u4E0D\u8981\u56E0\u4E3A\u53EA\u6709 resetAt \u5C31\u63A8\u65AD\u201C\u8FD8\u6709\u53EF\u7528\u989D\u5EA6\u201D\uFF0C\u4E5F\u4E0D\u8981\u628A billingSource="user_api" \u7684 requests/tokens rate-limit reset\u3001nextAvailableAt\uFF08429 \u51B7\u5374\u6062\u590D\uFF09\u8BEF\u5F53\u6210\u201C\u5DF2\u4ED8\u989D\u5EA6\u8FC7\u671F\u201D\uFF1B\u5B83\u4EEC\u662F\u5BB9\u91CF/\u53EF\u7528\u6027\u4FE1\u53F7\uFF0C\u4E0D\u662F\u7ECF\u6D4E\u4F18\u60E0\u3002\u901A\u7528 requests/tokens rate-limit \u5BB9\u91CF\u7A97\u53E3\u5373\u4F7F\u51FA\u73B0\u5728 billingSource="user_subscription" \u901A\u9053\u4E0A\uFF0C\u4E5F\u53EA\u662F\u901F\u7387\u5BB9\u91CF\u800C\u975E\u4F1A\u8FC7\u671F\u7684\u5DF2\u4ED8\u8D44\u4EA7\uFF0C\u4E0D\u5F97\u89E6\u53D1\u8BE5\u504F\u597D\uFF1B\u5206\u4E0D\u6E05\u7A97\u53E3\u8BED\u4E49\u65F6\u6309\u5BB9\u91CF\u5904\u7406\uFF0C\u4E0D\u6309\u7ECF\u6D4E\u8D44\u4EA7\u5904\u7406\u3002owner_subscription \u4E0D\u5360\u5F53\u524D\u7528\u6237\u989D\u5EA6\uFF0C\u4ECD\u6309\u201C\u8C03\u7528\u8005\u4E0E\u5E73\u53F0\u96F6\u65B0\u589E\u6210\u672C\u201D\u7406\u89E3\uFF0C\u4F46\u4E0D\u8981\u628A owner \u7684 quota \u5F53\u6210\u5F53\u524D\u7528\u6237\u9700\u8981\u4E3B\u52A8\u70E7\u5B8C\u7684\u8D44\u4EA7\u3002\u82E5 economics \u663E\u793A\u5373\u5C06\u8DE8 peak/off_peak \u6216 quotaMultiplier/priceMultiplier \u5C06\u53D8\u5316\uFF0C\u628A changesAt \u4E0E\u4EFB\u52A1\u9884\u8BA1\u65F6\u957F\u4E00\u8D77\u8003\u8651\uFF1B\u8BC1\u636E\u4E0D\u8DB3\u65F6\u4FDD\u6301 neutral\uFF0C\u4E0D\u731C\u3002
|
|
680
686
|
- isOwned=true\u3001isOAuth=true \u6216 apiSource="custom" \u4E0D\u8BC1\u660E\u8D39\u7528\u6388\u6743\u3002
|
|
681
687
|
- \u514D\u8BE2\u95EE\u8FB9\u754C\uFF08\u6307\u9488\uFF09\uFF1A\u6392\u5E8F\u540E\u4E0D\u4E3A\u300C\u9009\u8C01\u300D\u518D\u95EE\u7528\u6237\uFF1B\u4EC5\u5728 requiresPaidApproval=false \u7684\u5019\u9009\u95F4\u9759\u9ED8\u6362\u4EE3\uFF08\u4E0D\u5F97\u56E0\u6B64\u9759\u9ED8\u6539\u6D3E platform_credits \u5F52\u5C5E\u4E14\u9700\u786E\u8BA4\u7684\u901A\u9053\uFF09\u3002\u5E73\u53F0\u8D39\u7528\u6388\u6743\u3001429 \u6539\u6D3E\u544A\u77E5\u4E0E\u672A\u77E5\u8D39\u7528\u5148\u95EE\u7167\u65E7\uFF0C\u89C1\u540C\u6CE8\u5165\u5B89\u5168\u95E8\u3002
|
|
682
|
-
- \u89C4\u5212\u5373\u9009\u4EBA\uFF1A\u8DE8\u6863\u5199\u5177\u4F53 selectionReason\uFF08\u7528\u6237\u6307\u5B9A/\u9886\u57DF\u4F18\u52BF/\u771F\u5B9E\u901A\u9053\u5931\u8D25/\u65E0\u5408\u9002\u5019\u9009\u7B49\uFF09\uFF0C\u53EA\u6821\u9A8C\u7406\u7531\u5B58\u5728\u3001\u4E0D\u4F2A\u79F0\u5DF2\u6838\u5B9E\u4E8B\u5B9E\uFF0C\u4E0D\u987B\u5148\u5236\u9020\u4F4E\u6863\u5931\u8D25\
|
|
688
|
+
- \u89C4\u5212\u5373\u9009\u4EBA\uFF1A\u8DE8\u6863\u5199\u5177\u4F53 selectionReason\uFF08\u7528\u6237\u6307\u5B9A/\u9886\u57DF\u4F18\u52BF/\u771F\u5B9E\u901A\u9053\u5931\u8D25/\u65E0\u5408\u9002\u5019\u9009\u7B49\uFF09\uFF0C\u4FDD\u7559\u771F\u5B9E\u96BE\u5EA6\u3001\u4E0D\u6539\u5199 difficulty \u53BB\u8FC1\u5C31\u73B0\u6210\u901A\u9053\uFF1B\u53EA\u6821\u9A8C\u7406\u7531\u5B58\u5728\u3001\u4E0D\u4F2A\u79F0\u5DF2\u6838\u5B9E\u4E8B\u5B9E\uFF0C\u4E0D\u987B\u5148\u5236\u9020\u4F4E\u6863\u5931\u8D25\uFF0C\u4E5F\u4E0D\u4F5C\u4E3A\u963B\u65AD\u6216\u81EA\u52A8\u53D6\u6D88\u6D3E\u53D1\u7684\u6761\u4EF6\u3002
|
|
683
689
|
- \u9009\u4EBA\uFF08\u9886\u57DF\u5339\u914D\u4F18\u5148\u4E8E\u6863\u4F4D\uFF0C\u7528\u6237\u53EF\u8986\u76D6\uFF09\uFF1Adimension \u4E3A general\uFF08\u901A\u7528\uFF09/ design_frontend\uFF08\u8BBE\u8BA1\u524D\u7AEF\uFF09/ writing\uFF08\u5199\u4F5C\uFF09\uFF0C\u4E0D\u540C LLM \u5728\u4E0D\u540C\u9886\u57DF\u5404\u6709\u5F3A\u5F31\uFF0C\u4E0D\u662F\u5355\u7EAF\u5927\u5C0F\u6392\u5E8F\u3002\u5F53\u6B21\u7528\u6237\u70B9\u540D > \u7528\u6237\u8BB0\u5FC6\u4E2D\u7684\u5206\u5DE5/\u7981\u5FCC > \u8FD1\u671F\u540C\u7C7B\u4EFB\u52A1\u5931\u8D25\u8BC1\u636E\uFF1B\u660E\u786E\u4E0D\u9002\u914D\u624D\u6392\u9664\uFF0C\u7F3A\u8BC1\u636E\u4E0D\u7B49\u4E8E\u5F31\u3002
|
|
684
|
-
|
|
690
|
+
\u96BE\u5EA6\u6863\u5B9A\u4E49\u3001\u5224\u6863\u987A\u5E8F\u4E0E\u5347\u6863\u8FB9\u754C\u89C1\u540C\u6CE8\u5165\u7684\u300C\u5148\u5224\u6863\u518D\u9009\u6A21\u578B\u300D\uFF1Bdifficulty \u662F\u4EFB\u52A1\u96BE\u5EA6\uFF0C\u4E0D\u662F\u5019\u9009\u8D44\u683C\u786C\u95E8\u3002
|
|
685
691
|
\u80FD\u529B\u6863\u6620\u5C04\uFF08\u5171\u4EAB\u4EBA\u5DE5\u6620\u5C04\uFF0C\u552F\u4E00\u771F\u6E90 dispatchSelectionPolicy.ts\uFF09\uFF1A
|
|
686
692
|
${MODEL_TIER_GUIDANCE}
|
|
687
693
|
\u56FE\u50CF\u6A21\u578B\u53EA\u7528\u4E8E\u56FE\u50CF\u4EFB\u52A1\uFF0C\u4E0D\u7528\u4E8E\u4EE3\u7801 / \u6587\u672C\u4EFB\u52A1\u3002
|
|
@@ -694,6 +700,9 @@ ${MODEL_TIER_GUIDANCE}
|
|
|
694
700
|
|
|
695
701
|
// packages/agent-runtime/noloWorkspaceTools.ts
|
|
696
702
|
var NOLO_WORKSPACE_TOOL_NAMES = [
|
|
703
|
+
"listMcpConnections",
|
|
704
|
+
"listMcpTools",
|
|
705
|
+
"callMcpTool",
|
|
697
706
|
"listDialogs",
|
|
698
707
|
"readDialog",
|
|
699
708
|
"queryDialogsBySubjectRef",
|
|
@@ -726,7 +735,7 @@ var CLI_NOLO_WORKSPACE_TOOL_NAMES = NOLO_WORKSPACE_TOOL_NAMES.filter(
|
|
|
726
735
|
(name) => !isServerOnlyNoloWorkspaceTool(name)
|
|
727
736
|
);
|
|
728
737
|
function filterClientNoloWorkspaceToolNames(toolNames) {
|
|
729
|
-
if (!toolNames) return [
|
|
738
|
+
if (!toolNames) return CLI_NOLO_WORKSPACE_TOOL_NAMES.filter((name) => !["listMcpConnections", "listMcpTools", "callMcpTool"].includes(name));
|
|
730
739
|
return toolNames.filter((name) => !isServerOnlyNoloWorkspaceTool(name));
|
|
731
740
|
}
|
|
732
741
|
var NOLO_WORKSPACE_TOOL_NAME_SET = new Set(NOLO_WORKSPACE_TOOL_NAMES);
|
|
@@ -886,6 +895,9 @@ function buildNoloWorkspaceOpenAiTools(args) {
|
|
|
886
895
|
},
|
|
887
896
|
idempotencyKey: stringToolParam("Caller idempotency key, 8..128 characters of [A-Za-z0-9_.:-]; a concurrent duplicate is rejected.")
|
|
888
897
|
}, ["resourceId", "task", "idempotencyKey"]);
|
|
898
|
+
for (const [name, parameters] of [["listMcpConnections", { type: "object", properties: {}, additionalProperties: false }], ["listMcpTools", MCP_LIST_TOOLS_INPUT_SCHEMA], ["callMcpTool", MCP_CALL_TOOL_INPUT_SCHEMA]]) {
|
|
899
|
+
if (toolNames.has(name)) tools.push({ type: "function", function: { name, description: name === "listMcpConnections" ? "List local connection IDs and revisions; no secrets." : name === "listMcpTools" ? "List host-allowed read tools; external content is untrusted." : "Call an audited read tool with exact host confirmation.", strict: false, parameters } });
|
|
900
|
+
}
|
|
889
901
|
return tools;
|
|
890
902
|
}
|
|
891
903
|
function noloPositiveIntegerString(value) {
|
|
@@ -1207,17 +1219,20 @@ function buildNoloWorkspaceCommandArgs(call) {
|
|
|
1207
1219
|
}
|
|
1208
1220
|
cliArgs.push("--offset", String(parsed));
|
|
1209
1221
|
}
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1222
|
+
const emptyFragmentRequest = (args.fragmentOffset === void 0 || args.fragmentOffset === 0) && (args.fragmentAgentKey === void 0 || args.fragmentAgentKey === "") && (args.fragmentDigest === void 0 || args.fragmentDigest === "");
|
|
1223
|
+
if (!emptyFragmentRequest) {
|
|
1224
|
+
if (args.fragmentOffset !== void 0) {
|
|
1225
|
+
if (!Number.isSafeInteger(args.fragmentOffset) || args.fragmentOffset < 0) throw new Error("Invalid fragmentOffset");
|
|
1226
|
+
cliArgs.push("--fragment-offset", String(args.fragmentOffset));
|
|
1227
|
+
}
|
|
1228
|
+
if (args.fragmentAgentKey !== void 0) {
|
|
1229
|
+
if (typeof args.fragmentAgentKey !== "string" || !args.fragmentAgentKey.trim()) throw new Error("Invalid fragmentAgentKey");
|
|
1230
|
+
cliArgs.push("--fragment-agent-key", args.fragmentAgentKey);
|
|
1231
|
+
}
|
|
1232
|
+
if (args.fragmentDigest !== void 0) {
|
|
1233
|
+
if (typeof args.fragmentDigest !== "string" || !/^[a-f0-9]{64}$/.test(args.fragmentDigest)) throw new Error("Invalid fragmentDigest");
|
|
1234
|
+
cliArgs.push("--fragment-digest", args.fragmentDigest);
|
|
1235
|
+
}
|
|
1221
1236
|
}
|
|
1222
1237
|
cliArgs.push("--json", "--safe");
|
|
1223
1238
|
return cliArgs;
|
|
@@ -1288,6 +1303,8 @@ var AGENT_THREAD_ACTIVE_STATUSES = ["pending", "running"];
|
|
|
1288
1303
|
var AGENT_THREAD_TERMINAL_STATUSES = ["done", "failed", "cancelled", "orphaned"];
|
|
1289
1304
|
|
|
1290
1305
|
export {
|
|
1306
|
+
DIFFICULTY_GRADING_ORDER,
|
|
1307
|
+
DIFFICULTY_GRADING_TIERS,
|
|
1291
1308
|
resolveModelTier,
|
|
1292
1309
|
assertDispatchSelectionAdmission,
|
|
1293
1310
|
compareAgentSelection,
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
defaultOpenBrowser
|
|
3
|
-
} from "./chunk-FFSPUVL5.js";
|
|
4
1
|
import {
|
|
5
2
|
generateCloudflareEmailRoutingToken,
|
|
6
3
|
parseFlagWithOptionalValue,
|
|
7
4
|
runCloudflareOAuthLogin,
|
|
8
5
|
upsertEnvVariable
|
|
9
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-HCNOO374.js";
|
|
10
7
|
import {
|
|
11
8
|
ANTHROPIC_OAUTH_AUTHORIZE_URL,
|
|
12
9
|
ANTHROPIC_OAUTH_CALLBACK_PORT,
|
|
@@ -50,7 +47,10 @@ import {
|
|
|
50
47
|
startCallbackServer,
|
|
51
48
|
validateXAIEndpoint,
|
|
52
49
|
xaiOAuthDiscovery
|
|
53
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-MYOSN6BT.js";
|
|
51
|
+
import {
|
|
52
|
+
defaultOpenBrowser
|
|
53
|
+
} from "./chunk-AH5R7BYW.js";
|
|
54
54
|
import {
|
|
55
55
|
extractGoogleValidationLink
|
|
56
56
|
} from "./chunk-BMQ2MJUK.js";
|
|
@@ -60,7 +60,7 @@ import {
|
|
|
60
60
|
detectLocalDevinCredentials,
|
|
61
61
|
extractDevinToken,
|
|
62
62
|
fetchAntigravityCloudCodeCompletion
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-H7ZYKHAZ.js";
|
|
64
64
|
import {
|
|
65
65
|
createOAuthTokenStore,
|
|
66
66
|
resolveFreshAccessToken
|
|
@@ -74,7 +74,7 @@ import {
|
|
|
74
74
|
} from "./chunk-R5GO3YZP.js";
|
|
75
75
|
import {
|
|
76
76
|
t
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-S2MHR4PU.js";
|
|
78
78
|
import {
|
|
79
79
|
toErrorMessage
|
|
80
80
|
} from "./chunk-HNMXYYJR.js";
|
|
@@ -8,11 +8,13 @@ import {
|
|
|
8
8
|
noloUploadRequest,
|
|
9
9
|
noloWriteRequest,
|
|
10
10
|
syncWithServers
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-7TTMMOKH.js";
|
|
12
12
|
import {
|
|
13
13
|
getAllServers,
|
|
14
|
-
getIsDesktopApp
|
|
15
|
-
|
|
14
|
+
getIsDesktopApp,
|
|
15
|
+
googleSessionServer,
|
|
16
|
+
scopeGoogleSessionServers
|
|
17
|
+
} from "./chunk-ULLHVDTZ.js";
|
|
16
18
|
import {
|
|
17
19
|
selectIdentityToken,
|
|
18
20
|
selectIdentityUser,
|
|
@@ -88,8 +90,8 @@ var selectRuntimeSnapshot = createSelector(
|
|
|
88
90
|
(currentToken, currentUserId, currentServer, syncServers, localRuntimeOrigin) => ({
|
|
89
91
|
currentToken,
|
|
90
92
|
currentUserId,
|
|
91
|
-
currentServer,
|
|
92
|
-
syncServers,
|
|
93
|
+
currentServer: googleSessionServer(currentToken, currentServer) ?? currentServer,
|
|
94
|
+
syncServers: googleSessionServer(currentToken, currentServer) === void 0 ? syncServers : [],
|
|
93
95
|
localRuntimeOrigin
|
|
94
96
|
})
|
|
95
97
|
);
|
|
@@ -99,7 +101,7 @@ var selectRuntimeCurrentServer = createSelector(
|
|
|
99
101
|
);
|
|
100
102
|
var selectRuntimeRemoteServers = createSelector(
|
|
101
103
|
[selectRuntimeSnapshot],
|
|
102
|
-
(runtime) => getAllServers(runtime.currentServer, runtime.syncServers)
|
|
104
|
+
(runtime) => scopeGoogleSessionServers(runtime.currentToken, runtime.currentServer, getAllServers(runtime.currentServer, runtime.syncServers))
|
|
103
105
|
);
|
|
104
106
|
|
|
105
107
|
// packages/database/runtimeServerContext.ts
|
|
@@ -116,11 +118,11 @@ var getRuntimeServerContext = (state, preferredServerOrigin) => {
|
|
|
116
118
|
currentServer,
|
|
117
119
|
syncServers,
|
|
118
120
|
userAuthorityRegistry: resolveRuntimeUserAuthorityRegistry(state),
|
|
119
|
-
remoteServers: getAllServers(
|
|
121
|
+
remoteServers: scopeGoogleSessionServers(currentToken, currentServer, getAllServers(
|
|
120
122
|
currentServer,
|
|
121
123
|
syncServers,
|
|
122
124
|
preferredServerOrigin
|
|
123
|
-
)
|
|
125
|
+
))
|
|
124
126
|
};
|
|
125
127
|
};
|
|
126
128
|
var resolveRuntimeUserAuthorityRegistry = (state) => {
|
|
@@ -585,11 +587,11 @@ var resolveAuthorityReplicationServers = ({
|
|
|
585
587
|
if (isDeviceLocalOwnerId(authority.ownerUserId) || isDeviceLocalOwnerId(record?.userId) || isDeviceLocalDbKey(dbKey)) {
|
|
586
588
|
return [];
|
|
587
589
|
}
|
|
588
|
-
return planAuthorityReadServers({
|
|
590
|
+
return scopeGoogleSessionServers(selectIdentityToken(state), currentServer, planAuthorityReadServers({
|
|
589
591
|
allServers,
|
|
590
592
|
authorityServer: preferredServerOrigin ?? authority.authorityServer,
|
|
591
593
|
serverOrigin: authority.serverOrigin
|
|
592
|
-
});
|
|
594
|
+
}));
|
|
593
595
|
};
|
|
594
596
|
var scheduleWriteReplication = (servers, request, state) => {
|
|
595
597
|
if (servers.length === 0) return null;
|
|
@@ -680,17 +682,17 @@ var resolveUploadReplicationServers = ({
|
|
|
680
682
|
userAuthorityRegistry: state?.settings?.userAuthorityRegistry ?? selectIdentityUser(state)?.authorityRegistry
|
|
681
683
|
});
|
|
682
684
|
if (authority.ownerUserId || authority.authorityServer) {
|
|
683
|
-
return planAuthorityReadServers({
|
|
685
|
+
return scopeGoogleSessionServers(selectIdentityToken(state), currentServer, planAuthorityReadServers({
|
|
684
686
|
allServers,
|
|
685
687
|
authorityServer: authority.authorityServer,
|
|
686
688
|
serverOrigin: authority.serverOrigin
|
|
687
|
-
});
|
|
689
|
+
}));
|
|
688
690
|
}
|
|
689
|
-
return resolveTenantReplicationServers({
|
|
691
|
+
return scopeGoogleSessionServers(selectIdentityToken(state), currentServer, resolveTenantReplicationServers({
|
|
690
692
|
currentServer,
|
|
691
693
|
syncServers,
|
|
692
694
|
tenantId
|
|
693
|
-
});
|
|
695
|
+
}));
|
|
694
696
|
};
|
|
695
697
|
var scheduleExistingRecordReplication = ({
|
|
696
698
|
currentServer,
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-HNUWUO75.js";
|
|
4
4
|
import {
|
|
5
5
|
resolveToolImagePolicy
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-BGGAY6OK.js";
|
|
7
7
|
import {
|
|
8
8
|
projectOpenAiToolImages
|
|
9
9
|
} from "./chunk-X4O7FJF5.js";
|
|
@@ -11,11 +11,21 @@ import {
|
|
|
11
11
|
getAntigravityUserAgent,
|
|
12
12
|
readAntigravityProjectId,
|
|
13
13
|
resolveAntigravityCloudCodeBaseUrl
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-6CKUO32A.js";
|
|
15
15
|
import {
|
|
16
16
|
asOptionalTrimmedString
|
|
17
17
|
} from "./chunk-G3SUCT4W.js";
|
|
18
18
|
|
|
19
|
+
// packages/agent-runtime/types.ts
|
|
20
|
+
var AGENT_PROMPT_IN_MESSAGES = Symbol("agent-prompt-in-messages");
|
|
21
|
+
function hasAssembledAgentPrompt(messages) {
|
|
22
|
+
return messages.some((raw) => {
|
|
23
|
+
if (!raw || typeof raw !== "object") return false;
|
|
24
|
+
const message = raw;
|
|
25
|
+
return message.role === "system" && message[AGENT_PROMPT_IN_MESSAGES] === true;
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
|
|
19
29
|
// packages/core/chat/upstreamErrorBody.ts
|
|
20
30
|
function parseUpstreamErrorBody(errorText, statusText) {
|
|
21
31
|
if (errorText) {
|
|
@@ -50,6 +60,12 @@ var WIRE_PROFILES = {
|
|
|
50
60
|
"gemini-4-argon-low": { modelEnum: "MODEL_PLACEHOLDER_M419", maxOutputTokens: 65536 },
|
|
51
61
|
"gemini-4-argon-medium": { modelEnum: "MODEL_PLACEHOLDER_M418", maxOutputTokens: 65536 },
|
|
52
62
|
"gemini-4-argon-high": { modelEnum: "MODEL_PLACEHOLDER_M417", maxOutputTokens: 65536 },
|
|
63
|
+
// Discovery (2026-11-17) exposes Carbon effort variants with their own enums and a
|
|
64
|
+
// 262144 output cap (Argon caps at 65536). 裸 gemini-4-carbon 不在 discovery 里,
|
|
65
|
+
// 必须折叠到 effort 变体,否则上游回 404。
|
|
66
|
+
"gemini-4-carbon-low": { modelEnum: "MODEL_PLACEHOLDER_M438", maxOutputTokens: 262144 },
|
|
67
|
+
"gemini-4-carbon-medium": { modelEnum: "MODEL_PLACEHOLDER_M437", maxOutputTokens: 262144 },
|
|
68
|
+
"gemini-4-carbon-high": { modelEnum: "MODEL_PLACEHOLDER_M427", maxOutputTokens: 262144 },
|
|
53
69
|
"gemini-3.6-flash-low": { maxOutputTokens: 65536 },
|
|
54
70
|
"gemini-3.6-flash-medium": { maxOutputTokens: 65536 },
|
|
55
71
|
"gemini-3.6-flash-high": { maxOutputTokens: 65536 },
|
|
@@ -80,11 +96,13 @@ function resolveAntigravityWireModel(logicalModelId, reasoningEffort) {
|
|
|
80
96
|
const wireModelId = "gemini-3.8-flash-tiered";
|
|
81
97
|
return { wireModelId, profile: WIRE_PROFILES[wireModelId] };
|
|
82
98
|
}
|
|
83
|
-
const
|
|
84
|
-
if (
|
|
99
|
+
const gemini4 = /^gemini-4-(argon|carbon)(?:-(low|medium|high))?$/.exec(lower);
|
|
100
|
+
if (gemini4) {
|
|
101
|
+
const family = gemini4[1] ?? "argon";
|
|
102
|
+
const explicitEffort = gemini4[2];
|
|
85
103
|
const effort = reasoningEffort?.trim().toLowerCase();
|
|
86
|
-
const selected =
|
|
87
|
-
const wireModelId = `gemini-4
|
|
104
|
+
const selected = explicitEffort ?? (effort === "low" || effort === "high" ? effort : "medium");
|
|
105
|
+
const wireModelId = `gemini-4-${family}-${selected}`;
|
|
88
106
|
return { wireModelId, profile: WIRE_PROFILES[wireModelId] };
|
|
89
107
|
}
|
|
90
108
|
if (lower === "gemini-3.6-flash") {
|
|
@@ -916,7 +934,7 @@ function buildCloudCodeAssistPayload(args) {
|
|
|
916
934
|
throw new Error("Antigravity Cloud Code Assist request has no user/model contents.");
|
|
917
935
|
}
|
|
918
936
|
const prompt = args.agentConfig.prompt?.trim();
|
|
919
|
-
if (prompt) systemTexts.unshift(prompt);
|
|
937
|
+
if (prompt && !hasAssembledAgentPrompt(rawMessages)) systemTexts.unshift(prompt);
|
|
920
938
|
const request = { contents };
|
|
921
939
|
if (systemTexts.length > 0) {
|
|
922
940
|
request.systemInstruction = {
|
|
@@ -1199,6 +1217,8 @@ function buildDevinOAuthCredential(token, now = Date.now()) {
|
|
|
1199
1217
|
}
|
|
1200
1218
|
|
|
1201
1219
|
export {
|
|
1220
|
+
AGENT_PROMPT_IN_MESSAGES,
|
|
1221
|
+
hasAssembledAgentPrompt,
|
|
1202
1222
|
parseSseDataLineJson,
|
|
1203
1223
|
parseSseDataLineObject,
|
|
1204
1224
|
parseUpstreamErrorBody,
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
upsertSSREntity,
|
|
3
3
|
write
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-RM4UMFY4.js";
|
|
5
5
|
import {
|
|
6
6
|
getRuntimeServerContext,
|
|
7
7
|
resolveRecordAuthority
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-GXXY2NL3.js";
|
|
9
9
|
import {
|
|
10
10
|
TIMEOUT,
|
|
11
11
|
asyncThunkCreator,
|
|
12
12
|
buildCreateSlice,
|
|
13
13
|
noloRequest
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-7TTMMOKH.js";
|
|
15
15
|
import {
|
|
16
16
|
applyAgentSecretMigrationUpdates,
|
|
17
17
|
migrateAgentSecrets,
|
|
18
18
|
normalizeAgentRuntimeToolPolicy
|
|
19
19
|
} from "./chunk-USGHJSGO.js";
|
|
20
|
-
import {
|
|
21
|
-
asRecordOrEmpty
|
|
22
|
-
} from "./chunk-KX6YBIHG.js";
|
|
23
20
|
import {
|
|
24
21
|
createFileCredentialBroker
|
|
25
22
|
} from "./chunk-OQHIVPG4.js";
|
|
23
|
+
import {
|
|
24
|
+
asRecordOrEmpty
|
|
25
|
+
} from "./chunk-KX6YBIHG.js";
|
|
26
26
|
import {
|
|
27
27
|
isLevelNotFoundError
|
|
28
28
|
} from "./chunk-OW765XBU.js";
|
|
@@ -458,7 +458,7 @@ var slice = createSliceWithThunks({
|
|
|
458
458
|
const overrides = {};
|
|
459
459
|
if (args.systemPromptOverride !== void 0) overrides.prompt = args.systemPromptOverride;
|
|
460
460
|
if (args.toolsOverride !== void 0) overrides.tools = args.toolsOverride;
|
|
461
|
-
const { _executeModel } = await import("./_executeModel-
|
|
461
|
+
const { _executeModel } = await import("./_executeModel-5NA4USGG.js");
|
|
462
462
|
return _executeModel(
|
|
463
463
|
{
|
|
464
464
|
isStreaming: args.isStreaming ?? false,
|
|
@@ -479,7 +479,7 @@ var slice = createSliceWithThunks({
|
|
|
479
479
|
* - 循环直到无工具调用或触发其他运行时停止条件
|
|
480
480
|
*/
|
|
481
481
|
runAgent: create.asyncThunk(async (args, thunkApi) => {
|
|
482
|
-
const { runAgentClientLoop } = await import("./runAgentClientLoop-
|
|
482
|
+
const { runAgentClientLoop } = await import("./runAgentClientLoop-HQJPDFGQ.js");
|
|
483
483
|
const { content: loopContent, toolCallCount } = await runAgentClientLoop(
|
|
484
484
|
{
|
|
485
485
|
agentKey: args.agentKey,
|
|
@@ -495,7 +495,7 @@ var slice = createSliceWithThunks({
|
|
|
495
495
|
* 聊天轮次流式 Agent 调用
|
|
496
496
|
*/
|
|
497
497
|
streamAgentChatTurn: create.asyncThunk(async (args, thunkApi) => {
|
|
498
|
-
const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-
|
|
498
|
+
const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-E3XH2KFD.js");
|
|
499
499
|
return streamAgentChatTurnHandler(args, thunkApi);
|
|
500
500
|
}),
|
|
501
501
|
/**
|
|
@@ -12,10 +12,10 @@ import {
|
|
|
12
12
|
} from "./chunk-4O22PGNQ.js";
|
|
13
13
|
import {
|
|
14
14
|
scheduleWindowsSelfUpdate
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-4FIO2S7Z.js";
|
|
16
16
|
import {
|
|
17
17
|
t
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-S2MHR4PU.js";
|
|
19
19
|
import {
|
|
20
20
|
normalizeServerOrigin
|
|
21
21
|
} from "./chunk-CF7PE763.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
require_react
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RD3QLZQV.js";
|
|
4
4
|
import {
|
|
5
5
|
normalizeSpaceId
|
|
6
6
|
} from "./chunk-UAD2WT54.js";
|
|
7
7
|
import {
|
|
8
8
|
toTimestampMs
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-RM4UMFY4.js";
|
|
10
10
|
import {
|
|
11
11
|
__toESM
|
|
12
12
|
} from "./chunk-U67V476Y.js";
|