nolo-cli 0.231.0-alpha.1 → 0.240.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-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-YTZJCRAL.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-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-57TLKTVZ.js → chunk-E5KY7RAY.js} +565 -103
- 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-FIXBZJHE.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-XMPGXR77.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
|
@@ -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";
|
|
@@ -1,33 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./chunk-
|
|
2
|
+
DEFAULT_USER_PREFERENCE_PROFILE
|
|
3
|
+
} from "./chunk-DVYAFH2Q.js";
|
|
4
4
|
import {
|
|
5
5
|
noloAgentId
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZVOL2MAJ.js";
|
|
7
7
|
import {
|
|
8
8
|
normalizeServerOrigin
|
|
9
9
|
} from "./chunk-CF7PE763.js";
|
|
10
10
|
|
|
11
|
-
// packages/ai/policy/types.ts
|
|
12
|
-
var DEFAULT_AGENT_BASE_POLICY = {
|
|
13
|
-
version: 1,
|
|
14
|
-
tone: {
|
|
15
|
-
preset: "default",
|
|
16
|
-
resolutionMode: "blend"
|
|
17
|
-
},
|
|
18
|
-
knowledgeCaptureMaxLevel: 4,
|
|
19
|
-
spaceContextMaxLevel: 4,
|
|
20
|
-
selfEvolutionMode: "knowledge_only"
|
|
21
|
-
};
|
|
22
|
-
var DEFAULT_USER_PREFERENCE_PROFILE = {
|
|
23
|
-
version: 1,
|
|
24
|
-
tone: {
|
|
25
|
-
preset: "default"
|
|
26
|
-
},
|
|
27
|
-
knowledgeCaptureLevel: 2,
|
|
28
|
-
spaceContextLevel: 3
|
|
29
|
-
};
|
|
30
|
-
|
|
31
11
|
// packages/app/settings/settingTypes.ts
|
|
32
12
|
var SYSTEM_DEFAULT_AGENT_ID = "system-default";
|
|
33
13
|
|
|
@@ -80,86 +60,21 @@ var normalizeSystemBuiltinSkills = (value, defaults) => {
|
|
|
80
60
|
return result;
|
|
81
61
|
};
|
|
82
62
|
|
|
83
|
-
// packages/
|
|
84
|
-
var
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
);
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
}
|
|
92
|
-
const result =
|
|
93
|
-
const
|
|
94
|
-
|
|
95
|
-
if (typeof item !== "string") {
|
|
96
|
-
continue;
|
|
97
|
-
}
|
|
98
|
-
const trimmed = item.trim();
|
|
99
|
-
if (ALLOWED_PROMPT_SKILL_SLUGS.has(trimmed) && !seen.has(trimmed)) {
|
|
100
|
-
seen.add(trimmed);
|
|
101
|
-
result.push(trimmed);
|
|
102
|
-
}
|
|
63
|
+
// packages/app/plugins/uiPlugins.ts
|
|
64
|
+
var UI_PLUGIN_SPECS = Object.freeze([
|
|
65
|
+
{ id: "music", title: "\u97F3\u4E50", path: "/music" },
|
|
66
|
+
{ id: "calendar", title: "\u65E5\u5386", path: "/calendar" }
|
|
67
|
+
]);
|
|
68
|
+
var isRecordLike2 = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
|
|
69
|
+
var toUiPluginState = (value) => value === "enabled" || value === "disabled" || value === "absent" ? value : "absent";
|
|
70
|
+
var normalizeUiPlugins = (value) => {
|
|
71
|
+
const record = isRecordLike2(value) ? value : {};
|
|
72
|
+
const result = {};
|
|
73
|
+
for (const spec of UI_PLUGIN_SPECS) {
|
|
74
|
+
result[spec.id] = toUiPluginState(record[spec.id]);
|
|
103
75
|
}
|
|
104
76
|
return result;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
// packages/ai/skills/userSkills.ts
|
|
108
|
-
var NEW_ACCOUNT_DEFAULT_WORKFLOW_SKILLS = WORKFLOW_GUIDANCE_SKILL_SLUGS;
|
|
109
|
-
function isAccountOnDemandWorkflowSkill(slug) {
|
|
110
|
-
return typeof slug === "string" && NEW_ACCOUNT_DEFAULT_WORKFLOW_SKILLS.some((candidate) => candidate === slug.trim());
|
|
111
|
-
}
|
|
112
|
-
var SUPPORTED_USER_SKILL_SLUGS = [
|
|
113
|
-
"ub-mode",
|
|
114
|
-
"auto-review",
|
|
115
|
-
"code-style",
|
|
116
|
-
"worktree-isolation",
|
|
117
|
-
"systematic-investigation",
|
|
118
|
-
"show-me",
|
|
119
|
-
"caveman",
|
|
120
|
-
"secrets-manager",
|
|
121
|
-
"skill-creator",
|
|
122
|
-
"code-planning",
|
|
123
|
-
"coding",
|
|
124
|
-
"coding-review",
|
|
125
|
-
"android-adb",
|
|
126
|
-
"stock-quotes",
|
|
127
|
-
...NEW_ACCOUNT_DEFAULT_WORKFLOW_SKILLS
|
|
128
|
-
];
|
|
129
|
-
var SUPPORTED_USER_SKILL_SLUG_SET = new Set(
|
|
130
|
-
SUPPORTED_USER_SKILL_SLUGS
|
|
131
|
-
);
|
|
132
|
-
function normalizeEnabledSkills(value) {
|
|
133
|
-
if (!Array.isArray(value)) {
|
|
134
|
-
return [];
|
|
135
|
-
}
|
|
136
|
-
const result = [];
|
|
137
|
-
const seen = /* @__PURE__ */ new Set();
|
|
138
|
-
for (const item of value) {
|
|
139
|
-
if (typeof item !== "string") {
|
|
140
|
-
continue;
|
|
141
|
-
}
|
|
142
|
-
const trimmed = item.trim();
|
|
143
|
-
if (SUPPORTED_USER_SKILL_SLUG_SET.has(trimmed) && !seen.has(trimmed)) {
|
|
144
|
-
seen.add(trimmed);
|
|
145
|
-
result.push(trimmed);
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
return result;
|
|
149
|
-
}
|
|
150
|
-
function resolveUserEnabledSkills(preferences) {
|
|
151
|
-
if (!preferences || typeof preferences !== "object") {
|
|
152
|
-
return [];
|
|
153
|
-
}
|
|
154
|
-
if (Object.prototype.hasOwnProperty.call(preferences, "enabledSkills")) {
|
|
155
|
-
return normalizeEnabledSkills(preferences.enabledSkills);
|
|
156
|
-
}
|
|
157
|
-
if (Object.prototype.hasOwnProperty.call(preferences, "enabledPromptSkills")) {
|
|
158
|
-
const legacy = normalizeEnabledPromptSkills(preferences.enabledPromptSkills);
|
|
159
|
-
return legacy.filter((slug) => SUPPORTED_USER_SKILL_SLUG_SET.has(slug));
|
|
160
|
-
}
|
|
161
|
-
return [];
|
|
162
|
-
}
|
|
77
|
+
};
|
|
163
78
|
|
|
164
79
|
// packages/ai/policy/selfUpdateFields.ts
|
|
165
80
|
var AGENT_UPDATE_FIELD_NAMES = [
|
|
@@ -205,8 +120,7 @@ var normalizeAgentUpdateFieldList = (value, fallback = DEFAULT_AUTO_APPROVED_SEL
|
|
|
205
120
|
};
|
|
206
121
|
|
|
207
122
|
export {
|
|
208
|
-
|
|
209
|
-
DEFAULT_USER_PREFERENCE_PROFILE,
|
|
123
|
+
normalizeUiPlugins,
|
|
210
124
|
AGENT_UPDATE_FIELD_NAMES,
|
|
211
125
|
DEFAULT_AUTO_APPROVED_SELF_UPDATE_FIELDS,
|
|
212
126
|
normalizeAgentUpdateFieldList,
|
|
@@ -218,9 +132,5 @@ export {
|
|
|
218
132
|
normalizePolicyLevelSetting,
|
|
219
133
|
resolveDefaultAgentIdSetting,
|
|
220
134
|
omitKeys,
|
|
221
|
-
normalizeSystemBuiltinSkills
|
|
222
|
-
normalizeEnabledPromptSkills,
|
|
223
|
-
isAccountOnDemandWorkflowSkill,
|
|
224
|
-
normalizeEnabledSkills,
|
|
225
|
-
resolveUserEnabledSkills
|
|
135
|
+
normalizeSystemBuiltinSkills
|
|
226
136
|
};
|