nolo-cli 0.224.0-alpha.1 → 0.224.1
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-5NA4USGG.js} +77 -70
- package/{action-CK64LS6S.js → action-X75O3XPH.js} +11 -8
- package/{addContentAction-EQXMFNPR.js → addContentAction-GVC77QSN.js} +14 -13
- package/{addDialogAgentAction-RSDZDASD.js → addDialogAgentAction-KKDVAMW3.js} +15 -14
- package/{agentDeleteCommand-X2VWEKUA.js → agentDeleteCommand-2RFGKFAB.js} +127 -118
- package/{agentEmailCommands-6IE773VW.js → agentEmailCommands-GQCQKKOR.js} +126 -113
- package/{agentFavoriteCommands-2LKGKSUD.js → agentFavoriteCommands-7LOP3HUD.js} +5 -5
- package/{agentGrantCommands-QQV4N4JW.js → agentGrantCommands-L6O2HVJI.js} +5 -5
- package/{agentListCommands-5UNM7CGG.js → agentListCommands-HSGLDPDQ.js} +110 -495
- package/{agentMachineCommands-EVWFKK6Q.js → agentMachineCommands-BISF6PVV.js} +63 -57
- package/{agentProviderCommands-ZCH37KAL.js → agentProviderCommands-O3Q25PKU.js} +6 -6
- package/{agentPullCommand-XN6ZPBUW.js → agentPullCommand-G6U2LHMW.js} +6 -6
- package/agentRecordCommands-AOXPGYAJ.js +189 -0
- package/{agentRunCommand-KGOT2AFB.js → agentRunCommand-AFAIP7U7.js} +129 -113
- package/{agentRunControl-QDFW5P2T.js → agentRunControl-VBL7UFSG.js} +20 -14
- package/{agentRuntimeLocal-SD7U2EGY.js → agentRuntimeLocal-T7BX2WGL.js} +47 -41
- package/{agentSlice-ACZGTZVW.js → agentSlice-XJNKE3PG.js} +18 -17
- package/{appDeleteCommands-NE3NQQJL.js → appDeleteCommands-LURUSPY7.js} +56 -50
- package/{appDeployCommands-2BAHY522.js → appDeployCommands-SMEW4AK2.js} +56 -50
- package/{appDeployStatusCommands-JTW6LZNC.js → appDeployStatusCommands-VYPJTBJK.js} +56 -50
- package/{appGetCommands-WKFEJO6A.js → appGetCommands-N4NI5GGJ.js} +56 -50
- package/{appListCommands-HNAZZLFX.js → appListCommands-5C6ONN3Z.js} +56 -50
- package/{authCommand-4FDPL7WG.js → authCommand-4CVBDADE.js} +29 -24
- package/{authCommands-GAJ3NIXO.js → authCommands-EHU2BHOX.js} +12 -7
- package/{builtinSkillRegistry-PXH7EGQB.js → builtinSkillRegistry-AYWYQVA4.js} +4 -4
- package/{chromeOpsCommands-YKX2QX3A.js → chromeOpsCommands-CSDG2HYN.js} +6 -6
- package/{chunk-OOF7XDZF.js → chunk-2574ANSV.js} +6 -6
- package/chunk-2SXN7LAY.js +15 -0
- package/{chunk-OGHP3CTL.js → chunk-2X7WFDT6.js} +1 -1
- package/{chunk-XI2BWJM5.js → chunk-324FWHUA.js} +20 -3
- package/{chunk-D726I5AZ.js → chunk-3EMIEC27.js} +2 -2
- package/{chunk-S7SB7L2I.js → chunk-3FBAVU2Y.js} +24 -22
- package/{chunk-YL3EFYL3.js → chunk-4D4QD7FT.js} +3 -1
- package/{chunk-5RKUPJYL.js → chunk-4FIO2S7Z.js} +11 -3
- package/{chunk-MKQ2UTTX.js → chunk-4IQVE43Z.js} +63 -32
- package/{chunk-6NKA6RKF.js → chunk-4Q6HQORG.js} +8 -8
- package/{chunk-P2ZLUIW2.js → chunk-4X5AVCM7.js} +94 -4
- package/chunk-4ZCTKB27.js +31 -0
- package/{chunk-JWXITTQB.js → chunk-5HUO7SEX.js} +9 -107
- package/{chunk-4A2JIXR2.js → chunk-5QZSEQSK.js} +1 -1
- package/chunk-5ZUOVCKT.js +32 -0
- package/{chunk-TRWT3EE3.js → chunk-62HXNQVV.js} +1 -1
- package/{chunk-JC5XLWZK.js → chunk-6CKUO32A.js} +27 -15
- package/chunk-6D25V6CB.js +133 -0
- package/chunk-6WOLPIPY.js +379 -0
- package/{chunk-KOXKKHFE.js → chunk-6WZVM33D.js} +9 -4
- package/{chunk-YGMBIXCF.js → chunk-6XRPBZRS.js} +4 -2
- package/{chunk-KO63FPG3.js → chunk-7AJRJGSQ.js} +1049 -2860
- package/chunk-7NIBQ4HY.js +138 -0
- package/{chunk-7Z6EW7AH.js → chunk-7TTMMOKH.js} +13 -6
- package/{chunk-7WPAI5JJ.js → chunk-A3LUWRQK.js} +15 -15
- package/{chunk-C4WTX5TU.js → chunk-A5EVA6HU.js} +2 -2
- package/{chunk-O2CYENYJ.js → chunk-A74QP4FI.js} +2614 -1374
- package/{chunk-N3J4VDGV.js → chunk-AEQMKYZN.js} +15 -15
- package/{chunk-DVQH4BTR.js → chunk-AH5R7BYW.js} +26 -176
- package/{chunk-H7R3365N.js → chunk-ANJRDS6U.js} +8 -5
- package/{chunk-YFLVRVYK.js → chunk-AVJDELEA.js} +1 -1
- package/{chunk-GIABSSWQ.js → chunk-B5SV4H3J.js} +4 -4
- package/{chunk-FVZW66K4.js → chunk-B7DE5XJW.js} +387 -347
- package/chunk-BEM6LPD2.js +734 -0
- package/{chunk-SRL56PI2.js → chunk-BGGAY6OK.js} +46 -8
- package/{chunk-T3O6BLYU.js → chunk-BGGV6B5O.js} +555 -328
- package/{chunk-BGGHA5DV.js → chunk-BIABIPGW.js} +1 -1
- package/chunk-BIDSIRTS.js +307 -0
- package/{chunk-6D7NVU66.js → chunk-BXSMFPTG.js} +17 -14
- package/{chunk-Q6HOUF4O.js → chunk-CBUZ6DKA.js} +3 -3
- package/{chunk-LE6LGAJE.js → chunk-CD3RU7XL.js} +17 -2
- package/{chunk-GVGOEMNV.js → chunk-CKZPMJNU.js} +3 -3
- package/{chunk-3ESU44FG.js → chunk-CVJRVBJL.js} +3 -3
- package/chunk-D374I563.js +62 -0
- package/{chunk-XWGDCWXY.js → chunk-DNZ4JJ7C.js} +9 -9
- package/chunk-DVYAFH2Q.js +103 -0
- package/{chunk-N7HVLYOY.js → chunk-DXW5WDHZ.js} +4 -4
- package/{chunk-KFHREHUQ.js → chunk-DXWGFL2Z.js} +89 -1
- package/{chunk-65XXHYZ5.js → chunk-E5KJOZWY.js} +4 -4
- package/{chunk-GNHMRBYZ.js → chunk-EBKHA63G.js} +106 -14
- package/{chunk-PFJNLBRU.js → chunk-EEOOBRA7.js} +6 -6
- package/{chunk-M3JEW6N6.js → chunk-F26GAEH3.js} +10 -0
- package/{chunk-QLFCTYRH.js → chunk-F3XI6WQP.js} +17 -10
- package/{chunk-AFHOCBSP.js → chunk-F6YWDVIB.js} +1 -1
- package/{chunk-VHPAA6MT.js → chunk-FFYE5ATM.js} +6 -6
- package/{chunk-F3TQURKK.js → chunk-FZKA3XFA.js} +21 -21
- package/{chunk-C4VAR65S.js → chunk-G22P367E.js} +153 -117
- package/{chunk-4NMHE7CX.js → chunk-GDUC4VS2.js} +12 -12
- package/{chunk-2VUZSVAS.js → chunk-GXXY2NL3.js} +22 -20
- package/{chunk-IWH5SOU4.js → chunk-H7ZYKHAZ.js} +38 -18
- package/{chunk-G2EJ7NL4.js → chunk-HBRDSQ3M.js} +2 -2
- package/{chunk-EGXPAWLG.js → chunk-HCNOO374.js} +1 -1
- package/{chunk-DJSTBAOU.js → chunk-HOM6LTEW.js} +4 -4
- package/{chunk-S2NTVGA2.js → chunk-I2OYPD3Y.js} +1 -1
- package/{chunk-QWYFFHCJ.js → chunk-IJTXNLQE.js} +13 -13
- package/{chunk-UYOICCYG.js → chunk-IUMS6F53.js} +59 -88
- package/{chunk-MOMR7NMG.js → chunk-IUTUWIKE.js} +2 -2
- package/{chunk-JVRQ6YVK.js → chunk-JBWXPACD.js} +1 -1
- package/{chunk-SASHAZ67.js → chunk-KZPEGO6D.js} +13 -2
- package/{chunk-HCJFGH6Y.js → chunk-L32W3PRP.js} +46 -16
- package/{chunk-GGKNJ42M.js → chunk-LYDEFPQP.js} +18 -108
- package/{chunk-K5FNYHZC.js → chunk-MECDGHLK.js} +420 -120
- package/{chunk-EOWLBDY6.js → chunk-MM73SP4K.js} +1 -1
- package/{chunk-J6T25AJ6.js → chunk-MYOSN6BT.js} +82 -18
- package/{chunk-Q7WP5RPC.js → chunk-MYPKBJJO.js} +5 -5
- package/{chunk-6RQFZCKH.js → chunk-N2JROHD3.js} +4 -4
- package/{chunk-VREDDN25.js → chunk-O6IPRAVV.js} +14 -9
- package/{chunk-VALBGPM6.js → chunk-OBSEKCVK.js} +17 -20
- package/{chunk-AMEOV5VZ.js → chunk-OOJNQK6V.js} +33 -33
- package/{chunk-PPJYZRSQ.js → chunk-OX6GNNVT.js} +6 -1
- package/{chunk-5R63B62U.js → chunk-P3IZUMIC.js} +8 -8
- package/{chunk-FRSBYNWI.js → chunk-PGKA77TZ.js} +52 -217
- package/{chunk-7UH3DGV6.js → chunk-PRMEU7BT.js} +232 -10
- package/{chunk-2ZKFCIJJ.js → chunk-PROOOQZ3.js} +1 -1
- package/{chunk-EUCFKKDM.js → chunk-PVFYPUIM.js} +40 -10
- package/{chunk-HOCHUZQ7.js → chunk-QJTZ76CP.js} +24 -6
- package/{chunk-MK2Q7ZJD.js → chunk-R7XWZDOH.js} +58 -24
- package/{chunk-5FUN7EG4.js → chunk-RD3QLZQV.js} +83 -47
- package/chunk-RETQOQ4D.js +33394 -0
- package/{chunk-AVHRSJUH.js → chunk-RM4UMFY4.js} +32 -25
- package/{chunk-2OLYKYNY.js → chunk-RTHFJZ6M.js} +8 -8
- package/{chunk-OB6DVWPF.js → chunk-S2MHR4PU.js} +164 -4
- package/{chunk-IWQAOW2X.js → chunk-SRCCSTIM.js} +8 -8
- package/{chunk-PVZY6P3S.js → chunk-T6VROBY7.js} +2 -2
- package/{chunk-2KTUDBG7.js → chunk-TEMLHVGX.js} +1 -1
- package/{chunk-TVFRV3UQ.js → chunk-TRHJ4NJB.js} +673 -1279
- package/{chunk-QVBXJNZ2.js → chunk-TUSTONB3.js} +1 -1
- package/{chunk-UMRI2IRY.js → chunk-TWTJV35S.js} +6 -6
- package/{chunk-5OZC7R7Y.js → chunk-U3G7RRXJ.js} +13 -12
- package/{chunk-CXDPIPZ4.js → chunk-UFC4J7OY.js} +3 -3
- package/{chunk-CKT6QUE2.js → chunk-UHW6SCVK.js} +1 -1
- package/{chunk-AGP3YSEC.js → chunk-ULLHVDTZ.js} +48 -3
- package/{chunk-SYQR7FQS.js → chunk-VM72HKW2.js} +97 -29
- package/{chunk-KEN3N2TN.js → chunk-VMJVAJ6W.js} +13 -10
- package/{chunk-3N4ASIP6.js → chunk-VREG6ANQ.js} +103 -100
- package/{chunk-SOF4OWDM.js → chunk-VS276URX.js} +0 -2
- package/chunk-VSRISJXZ.js +107 -0
- package/chunk-WDWZPASX.js +29 -0
- package/chunk-WFGNWWJI.js +326 -0
- package/{chunk-UJKTI5PG.js → chunk-WRKMXMU7.js} +2 -1
- package/{chunk-FIYSMXHY.js → chunk-WWTSEBDF.js} +1 -1
- package/{chunk-E2BESSAW.js → chunk-X4O7FJF5.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-KAVGK4ES.js → chunk-Y5OWZQMJ.js} +39 -30
- package/{chunk-AK5O76CC.js → chunk-YGCOJNFZ.js} +3 -3
- package/{chunk-L5I543VB.js → chunk-YGDYYFRX.js} +20 -24
- package/{chunk-XFJ4ZPFC.js → chunk-Z2WZAE4P.js} +128 -149
- package/chunk-Z6YTCDU4.js +24 -0
- package/chunk-ZEKUFJLW.js +1438 -0
- package/{chunk-KN3HEZIQ.js → chunk-ZVOL2MAJ.js} +1 -1
- package/{cliAgentConfigHelpers-PO3MVDME.js → cliAgentConfigHelpers-U5OAVAKQ.js} +12 -12
- package/{cliAuthorityBrokerClient-XHH7MH2P.js → cliAuthorityBrokerClient-S42VMGB6.js} +1 -1
- package/{cliEnvHelpers-VPSJ4XWC.js → cliEnvHelpers-CNMP3RDX.js} +1 -1
- package/{cliExecutor-4MAX3PZL.js → cliExecutor-K6FDZTQ2.js} +3 -1
- package/{cliLocalAgentRecordReader-Z7CH4K4R.js → cliLocalAgentRecordReader-HVZAQCUD.js} +49 -44
- package/{commandRegistry-SDSYBKMC.js → commandRegistry-TME7INFU.js} +98 -94
- package/{contentThunks-G3TRPEAU.js → contentThunks-U6OC4R2N.js} +37 -35
- package/{cooldownCommands-X7P5M2V5.js → cooldownCommands-U7XSRVJP.js} +4 -4
- package/{createAgentAutomationAction-KHA4MXUJ.js → createAgentAutomationAction-IP4LFN3W.js} +37 -35
- package/{createDialogAction-KWSBNAPJ.js → createDialogAction-IAGQJ3LH.js} +38 -36
- package/{createPageAction-HXKJ7OFG.js → createPageAction-AZ3UIFKA.js} +38 -36
- package/{db-CS4ZJQKV.js → db-M7FU2GNK.js} +9 -6
- package/{dbSlice-ZJPDIFER.js → dbSlice-DKKMJJYY.js} +13 -12
- package/{deleteFile-Q3YDB4ML.js → deleteFile-TQSONMVU.js} +11 -8
- package/{dialogCommands-6KQEBHSG.js → dialogCommands-PCDRMBWG.js} +60 -55
- package/dialogMessageRecord-OAV77LT7.js +7 -0
- package/{dialogNotifyCommand-WIZFFEY3.js → dialogNotifyCommand-O35MWMOS.js} +13 -13
- package/{dialogSlice-HXPKFGRL.js → dialogSlice-QAKYN4DE.js} +35 -33
- package/{dialogUsageCommand-HTVPR2CX.js → dialogUsageCommand-2SSLTXKO.js} +3 -3
- package/{docCreateCommands-XZOLWBRC.js → docCreateCommands-CFQFZOAD.js} +54 -48
- package/{docDeleteCommands-ZSO4LGWE.js → docDeleteCommands-5CPNTIIS.js} +56 -50
- package/{docReadCommands-TTMXCDER.js → docReadCommands-XQILYSAJ.js} +54 -48
- package/{docStore-A2B3GH33.js → docStore-GIVRT7TQ.js} +15 -14
- package/{docUpdateCommands-PRG6WOXL.js → docUpdateCommands-VETKSUDD.js} +54 -48
- package/fetchMessages-TQEUZD7H.js +1 -1
- package/{getPricing-YH3VMSVU.js → getPricing-LF5C4XSI.js} +5 -5
- package/{handleSendMessageAction-NWYG3Q72.js → handleSendMessageAction-HKIW4ZNO.js} +70 -66
- package/{hostCredentialCreate-WS6D3EHT.js → hostCredentialCreate-6VDJFNDO.js} +118 -104
- package/index.js +56 -18
- package/keys-RWF7UCB4.js +1 -1
- package/{lib-OT5OTXRU.js → lib-62SWPXNF.js} +3 -7
- package/{localDialogRead-SVTPA5GY.js → localDialogRead-AV2VKKPG.js} +1 -1
- package/{localRecall-2J6QPOK2.js → localRecall-BDYKXB46.js} +3 -1
- package/{localRuntimeAdapter-TFYOA6YE.js → localRuntimeAdapter-BQ4F5PZV.js} +120 -107
- package/{localRuntimeAuthority-IBJAT62G.js → localRuntimeAuthority-WCNA4A3G.js} +4 -2
- package/{localRuntimeDb-N7KHDXS2.js → localRuntimeDb-CRNIBOOM.js} +1 -1
- package/{machineCommands-WFWV25IR.js → machineCommands-K6XIGOAD.js} +142 -114
- package/{machineWsRunDispatch-ZGXC3F2R.js → machineWsRunDispatch-4OO7Z6UM.js} +114 -101
- package/mcpLocalAuthorizeCommand-ZP6ESAGE.js +106 -0
- package/{memberThunks-JRYNONYV.js → memberThunks-PBJPZ2JU.js} +22 -17
- package/{memoryCommands-5WC3T66U.js → memoryCommands-BC6REPQB.js} +4 -4
- package/{models-CXINDUJA.js → models-H5NNZRLH.js} +2 -2
- package/{overlay-THLKYIWY.js → overlay-JA3SPVUS.js} +7 -3
- package/package.json +1 -1
- package/{projectArchive-ULJDLUA6.js → projectArchive-G7AOQPRW.js} +43 -41
- package/{providerPresetApply-SHT2SUVB.js → providerPresetApply-OPBCAONX.js} +6 -6
- package/{providerRegistry-TA7EGCVZ.js → providerRegistry-J2HCVTHE.js} +6 -6
- package/{read-Q7GOHGNP.js → read-JEGPITEW.js} +10 -9
- package/{readDocTool-Z5OQ6422.js → readDocTool-TE3XIU4Y.js} +1 -1
- package/{readlineWorkspace-LTCV2BFW.js → readlineWorkspace-SOW5QUGZ.js} +4412 -4277
- package/{removeDialogAgentAction-U3F2MNAY.js → removeDialogAgentAction-CX3OAH4Y.js} +17 -16
- package/{runAgentClientLoop-BVIEQUB3.js → runAgentClientLoop-HQJPDFGQ.js} +95 -69
- package/{runtimeDoctorCommands-I47JN4HS.js → runtimeDoctorCommands-GUH2YGMH.js} +17 -17
- package/{secretCommands-LJXOOYA7.js → secretCommands-NJXFVHZU.js} +4 -4
- package/{setDialogExtraReferencesAction-G3WSJ7EM.js → setDialogExtraReferencesAction-CGM67EEQ.js} +16 -15
- package/{setPrimaryDialogAgentAction-6FHAHZBB.js → setPrimaryDialogAgentAction-3ABWPPXR.js} +17 -16
- package/{settingThunks-AXTBX3Q5.js → settingThunks-AY76OHYX.js} +181 -62
- package/{skillDiscovery-B5V23AXP.js → skillDiscovery-MDDKPTW3.js} +4 -3
- package/{spaceCommands-IB6FKWIC.js → spaceCommands-G63QGYQO.js} +59 -53
- package/{store-JRVN62NM.js → store-Z53ICFL3.js} +3 -1
- package/{streamAgentChatTurn-DNYFHBJM.js → streamAgentChatTurn-E3XH2KFD.js} +160 -154
- package/{switchDialogAgentAction-UOFIAGPL.js → switchDialogAgentAction-G6EZRKCQ.js} +15 -14
- package/{tableCommands-HITDSLHS.js → tableCommands-JI75ZHDI.js} +14 -11
- package/{toolApiClient-OGQEBQVX.js → toolApiClient-62UUPDUA.js} +3 -5
- package/{tools-JVOJ5HC4.js → tools-7RSX22FT.js} +64 -58
- package/tuiRestart-KAAA7TND.js +41 -0
- package/{tuiSummaryLlmCaller-7LWYTHLM.js → tuiSummaryLlmCaller-BVNHMWLR.js} +19 -19
- package/{updateCommands-RJVCRSBP.js → updateCommands-ASK5XYPH.js} +8 -6
- package/{updateDialogTitleAction-Q57BOSXG.js → updateDialogTitleAction-SEWV252V.js} +37 -35
- package/{usageCommand-RVKHEPLU.js → usageCommand-JVT5J3DC.js} +3 -3
- package/{usageRebuildCommand-GRAFOZF2.js → usageRebuildCommand-IZYYUTEW.js} +4 -4
- package/webapi-24RZDIIQ.js +2488 -0
- package/{windowsSelfUpdate-KERHIAB4.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/agentRecordCommands-DX2WE6BH.js +0 -176
- package/chunk-2THCNKE4.js +0 -147
- package/chunk-2WZXXAQD.js +0 -57
- package/chunk-652XYZGP.js +0 -352
- package/chunk-KEPOVMF4.js +0 -91
- package/chunk-OXKUPBAQ.js +0 -776
- 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-YIZ7KLUP.js} +3 -3
|
@@ -5,21 +5,21 @@ import {
|
|
|
5
5
|
ANTIGRAVITY_CLOUD_CODE_BASE_URL,
|
|
6
6
|
isAntigravityCloudCodeBaseUrl,
|
|
7
7
|
isAntigravityOAuthAgent
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-6CKUO32A.js";
|
|
9
9
|
import {
|
|
10
10
|
isOpenAiResponsesModel,
|
|
11
11
|
resolvePlatformChatCompletionsEndpoint,
|
|
12
12
|
resolvePlatformResponsesEndpoint
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-HBRDSQ3M.js";
|
|
14
14
|
import {
|
|
15
15
|
findModelConfig
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import {
|
|
18
|
-
asTrimmedLowercaseString
|
|
19
|
-
} from "./chunk-QSJ3HFEF.js";
|
|
16
|
+
} from "./chunk-CD3RU7XL.js";
|
|
20
17
|
import {
|
|
21
18
|
asOptionalTrimmedString
|
|
22
19
|
} from "./chunk-G3SUCT4W.js";
|
|
20
|
+
import {
|
|
21
|
+
asTrimmedLowercaseString
|
|
22
|
+
} from "./chunk-QSJ3HFEF.js";
|
|
23
23
|
|
|
24
24
|
// packages/agent-runtime/agentCallPlan.ts
|
|
25
25
|
var CODEX_RESPONSES_URL = "https://chatgpt.com/backend-api/codex/responses";
|
|
@@ -1,23 +1,24 @@
|
|
|
1
|
+
import {
|
|
2
|
+
applyPublicAgentCatalogOverride
|
|
3
|
+
} from "./chunk-N2JROHD3.js";
|
|
4
|
+
import {
|
|
5
|
+
applyBuiltinAgentRuntimeOverride,
|
|
6
|
+
resolveBuiltinPlatformAgentConfig
|
|
7
|
+
} from "./chunk-JBWXPACD.js";
|
|
1
8
|
import {
|
|
2
9
|
buildLocalAgentLookupKeys
|
|
3
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-PROOOQZ3.js";
|
|
4
11
|
import {
|
|
5
12
|
LOCAL_CODEX_AGENT_ID,
|
|
6
13
|
LOCAL_CODEX_AGENT_KEY
|
|
7
14
|
} from "./chunk-BR3GT6MR.js";
|
|
8
15
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
applyBuiltinAgentRuntimeOverride,
|
|
13
|
-
resolveBuiltinPlatformAgentConfig
|
|
14
|
-
} from "./chunk-JVRQ6YVK.js";
|
|
15
|
-
import {
|
|
16
|
-
localDialogMessageRecordToRuntimeMessage
|
|
17
|
-
} from "./chunk-TVFRV3UQ.js";
|
|
16
|
+
localDialogMessageRecordToRuntimeMessage,
|
|
17
|
+
orderDialogHistory
|
|
18
|
+
} from "./chunk-TRHJ4NJB.js";
|
|
18
19
|
import {
|
|
19
20
|
resolveAgentRuntimeConfigFromRecord
|
|
20
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-KZPEGO6D.js";
|
|
21
22
|
import {
|
|
22
23
|
dialogMessagePrefix,
|
|
23
24
|
dialogMessageRange
|
|
@@ -86,7 +87,7 @@ async function readDialogMessages(args) {
|
|
|
86
87
|
const message = localDialogMessageRecordToRuntimeMessage(entry.record);
|
|
87
88
|
if (message) messages.push({ ...message, cliMessageId: entry.messageId });
|
|
88
89
|
}
|
|
89
|
-
return messages;
|
|
90
|
+
return orderDialogHistory(messages);
|
|
90
91
|
}
|
|
91
92
|
|
|
92
93
|
export {
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
} from "./chunk-YNIYE47Z.js";
|
|
37
37
|
import {
|
|
38
38
|
getDefaultCliLocalRuntimeDb
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-Y2MF4DCJ.js";
|
|
40
40
|
import {
|
|
41
41
|
createTokenStatsKey
|
|
42
42
|
} from "./chunk-SYTHYBMI.js";
|
|
@@ -11658,7 +11658,7 @@ async function runUsageCommand(args, deps) {
|
|
|
11658
11658
|
const output = deps.output ?? process.stdout;
|
|
11659
11659
|
const errorOutput = deps.errorOutput ?? process.stderr;
|
|
11660
11660
|
if (args[0] === "rebuild") {
|
|
11661
|
-
const { runUsageRebuildCommand } = await import("./usageRebuildCommand-
|
|
11661
|
+
const { runUsageRebuildCommand } = await import("./usageRebuildCommand-IZYYUTEW.js");
|
|
11662
11662
|
return runUsageRebuildCommand(args.slice(1), deps);
|
|
11663
11663
|
}
|
|
11664
11664
|
if (hasFlag(args, "-h") || hasFlag(args, "--help")) {
|
|
@@ -11729,7 +11729,7 @@ async function runUsageCommand(args, deps) {
|
|
|
11729
11729
|
return 0;
|
|
11730
11730
|
}
|
|
11731
11731
|
async function resolveUsageUserId(env) {
|
|
11732
|
-
const { resolveLocalUserId } = await import("./cliAgentConfigHelpers-
|
|
11732
|
+
const { resolveLocalUserId } = await import("./cliAgentConfigHelpers-U5OAVAKQ.js");
|
|
11733
11733
|
return resolveLocalUserId(env);
|
|
11734
11734
|
}
|
|
11735
11735
|
function isLocalDbMissingError(error) {
|
|
@@ -1,12 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
gBase64
|
|
3
|
+
} from "./chunk-X7IA2B7R.js";
|
|
1
4
|
import {
|
|
2
5
|
createClientLogger
|
|
3
6
|
} from "./chunk-QQ56R7KS.js";
|
|
7
|
+
import {
|
|
8
|
+
isAbortError
|
|
9
|
+
} from "./chunk-7DPNBQSV.js";
|
|
4
10
|
import {
|
|
5
11
|
isLevelNotFoundError
|
|
6
12
|
} from "./chunk-OW765XBU.js";
|
|
7
13
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./chunk-
|
|
14
|
+
isPublicBuiltinPlatformAgentKey
|
|
15
|
+
} from "./chunk-WRKMXMU7.js";
|
|
10
16
|
import {
|
|
11
17
|
API_ENDPOINTS,
|
|
12
18
|
NOLO_CLUSTER_SERVERS,
|
|
@@ -18,6 +24,39 @@ import {
|
|
|
18
24
|
normalizeServerOrigin
|
|
19
25
|
} from "./chunk-CF7PE763.js";
|
|
20
26
|
|
|
27
|
+
// packages/core/googleSessionScope.ts
|
|
28
|
+
function isGoogleAuthoritySession(token) {
|
|
29
|
+
if (typeof token !== "string") return false;
|
|
30
|
+
try {
|
|
31
|
+
return JSON.parse(gBase64.decode(token.split(".")[0])).authKind === "google-session-v1";
|
|
32
|
+
} catch {
|
|
33
|
+
return false;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
function googleSessionServer(token, configuredServer) {
|
|
37
|
+
if (!isGoogleAuthoritySession(token)) return void 0;
|
|
38
|
+
const origin = typeof window !== "undefined" ? window.location?.origin : void 0;
|
|
39
|
+
if (typeof origin !== "string" || !/^https?:\/\//.test(origin)) return "";
|
|
40
|
+
return normalizeServerOrigin(origin);
|
|
41
|
+
}
|
|
42
|
+
function scopeGoogleSessionServers(token, configuredServer, servers) {
|
|
43
|
+
const server = googleSessionServer(token, configuredServer);
|
|
44
|
+
return server === void 0 ? servers : server ? [server] : [];
|
|
45
|
+
}
|
|
46
|
+
function googleSessionRequestToken(token, target, allowAnonymousPublic = false) {
|
|
47
|
+
if (!isGoogleAuthoritySession(token)) return token;
|
|
48
|
+
const authority = googleSessionServer(token);
|
|
49
|
+
let origin;
|
|
50
|
+
try {
|
|
51
|
+
origin = new URL(target).origin;
|
|
52
|
+
} catch {
|
|
53
|
+
throw new Error("google_session_origin_blocked");
|
|
54
|
+
}
|
|
55
|
+
if (authority && origin === authority) return token;
|
|
56
|
+
if (allowAnonymousPublic) return void 0;
|
|
57
|
+
throw new Error("google_session_origin_blocked");
|
|
58
|
+
}
|
|
59
|
+
|
|
21
60
|
// packages/app/utils/env.ts
|
|
22
61
|
var processEnv = typeof process !== "undefined" ? process.env : void 0;
|
|
23
62
|
var reactNativeDev = typeof globalThis !== "undefined" && "__DEV__" in globalThis ? globalThis.__DEV__ : void 0;
|
|
@@ -124,6 +163,7 @@ var createReadTimeoutError = (server, dbKey) => {
|
|
|
124
163
|
};
|
|
125
164
|
var isReadTimeoutError = (error) => error instanceof Error && error.name === READ_TIMEOUT_ERROR_NAME;
|
|
126
165
|
var fetchFromServer = async (server, dbKey, token, signal) => {
|
|
166
|
+
const requestToken = googleSessionRequestToken(token, server, isPublicBuiltinPlatformAgentKey(dbKey));
|
|
127
167
|
if (signal?.aborted) {
|
|
128
168
|
throw new DOMException("Aborted", "AbortError");
|
|
129
169
|
}
|
|
@@ -140,9 +180,10 @@ var fetchFromServer = async (server, dbKey, token, signal) => {
|
|
|
140
180
|
`${server}${buildReadUrl(dbKey)}`,
|
|
141
181
|
{
|
|
142
182
|
signal: controller.signal,
|
|
183
|
+
...isGoogleAuthoritySession(token) || !token ? { credentials: "omit", redirect: "error" } : {},
|
|
143
184
|
headers: {
|
|
144
185
|
"Content-Type": "application/json",
|
|
145
|
-
...
|
|
186
|
+
...requestToken && { Authorization: `Bearer ${requestToken}` }
|
|
146
187
|
}
|
|
147
188
|
}
|
|
148
189
|
);
|
|
@@ -173,6 +214,10 @@ var normalizeTimeFields = (data) => ({
|
|
|
173
214
|
});
|
|
174
215
|
|
|
175
216
|
export {
|
|
217
|
+
isGoogleAuthoritySession,
|
|
218
|
+
googleSessionServer,
|
|
219
|
+
scopeGoogleSessionServers,
|
|
220
|
+
googleSessionRequestToken,
|
|
176
221
|
isDevelopment,
|
|
177
222
|
getIsDesktopApp,
|
|
178
223
|
logger,
|
|
@@ -7,24 +7,25 @@ import {
|
|
|
7
7
|
listUserRecordsFromServers,
|
|
8
8
|
readDbRecordFromServers,
|
|
9
9
|
readLiveDbRecordAfterTombstoneMerge
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-F6YWDVIB.js";
|
|
11
11
|
import {
|
|
12
12
|
parsePositiveFiniteNumberOrFallback
|
|
13
13
|
} from "./chunk-Y5GCAMGP.js";
|
|
14
14
|
import {
|
|
15
|
+
buildDialogAttachmentPlan,
|
|
16
|
+
extractFileContentIds,
|
|
15
17
|
fetchWithTransientRetry
|
|
16
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-DXWGFL2Z.js";
|
|
17
19
|
import {
|
|
18
20
|
DRAIN_EXHAUSTED_USER_MESSAGE,
|
|
19
21
|
isDrainExhaustedResponse
|
|
20
22
|
} from "./chunk-3L2WKC3W.js";
|
|
21
23
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./chunk-KEPOVMF4.js";
|
|
24
|
+
createClientLogger
|
|
25
|
+
} from "./chunk-QQ56R7KS.js";
|
|
25
26
|
import {
|
|
26
27
|
getDefaultCliLocalRuntimeDb
|
|
27
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-4X5AVCM7.js";
|
|
28
29
|
import {
|
|
29
30
|
isLevelLockError
|
|
30
31
|
} from "./chunk-ZYKJBRZ3.js";
|
|
@@ -34,13 +35,13 @@ import {
|
|
|
34
35
|
resolveServerDbPath
|
|
35
36
|
} from "./chunk-GLKOYSRU.js";
|
|
36
37
|
import {
|
|
37
|
-
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
resolveRunsDir
|
|
39
|
+
} from "./chunk-MECDGHLK.js";
|
|
39
40
|
import {
|
|
40
41
|
boundSummaryText,
|
|
41
42
|
buildDialogReadEnvelope,
|
|
42
43
|
projectDialogReadForAgent
|
|
43
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-G22P367E.js";
|
|
44
45
|
import {
|
|
45
46
|
asRecordOrEmpty
|
|
46
47
|
} from "./chunk-KX6YBIHG.js";
|
|
@@ -58,11 +59,16 @@ import {
|
|
|
58
59
|
asTrimmedNonEmptyStringArray
|
|
59
60
|
} from "./chunk-I42VC5KR.js";
|
|
60
61
|
import {
|
|
61
|
-
|
|
62
|
-
|
|
62
|
+
parseUserIdFromAuthToken,
|
|
63
|
+
readOption,
|
|
64
|
+
resolveAuthToken,
|
|
65
|
+
resolveDeleteServerCandidates,
|
|
66
|
+
resolveServerCandidates,
|
|
67
|
+
resolveServerUrl
|
|
68
|
+
} from "./chunk-BIDSIRTS.js";
|
|
63
69
|
import {
|
|
64
|
-
|
|
65
|
-
} from "./chunk-
|
|
70
|
+
t
|
|
71
|
+
} from "./chunk-S2MHR4PU.js";
|
|
66
72
|
import {
|
|
67
73
|
toErrorMessage
|
|
68
74
|
} from "./chunk-HNMXYYJR.js";
|
|
@@ -72,14 +78,6 @@ import {
|
|
|
72
78
|
import {
|
|
73
79
|
isRecord
|
|
74
80
|
} from "./chunk-KUG52IAP.js";
|
|
75
|
-
import {
|
|
76
|
-
parseUserIdFromAuthToken,
|
|
77
|
-
readOption,
|
|
78
|
-
resolveAuthToken,
|
|
79
|
-
resolveDeleteServerCandidates,
|
|
80
|
-
resolveServerCandidates,
|
|
81
|
-
resolveServerUrl
|
|
82
|
-
} from "./chunk-2THCNKE4.js";
|
|
83
81
|
import {
|
|
84
82
|
asOptionalTrimmedString
|
|
85
83
|
} from "./chunk-G3SUCT4W.js";
|
|
@@ -87,6 +85,10 @@ import {
|
|
|
87
85
|
DEFAULT_LOCAL_API_ORIGIN
|
|
88
86
|
} from "./chunk-4SN6J65J.js";
|
|
89
87
|
|
|
88
|
+
// packages/cli/dialogCommands.ts
|
|
89
|
+
import { write as writeFd } from "node:fs";
|
|
90
|
+
import { Writable } from "node:stream";
|
|
91
|
+
|
|
90
92
|
// packages/cli/dialogAttachmentCleanup.ts
|
|
91
93
|
function asText(value) {
|
|
92
94
|
return asOptionalTrimmedString(value) ?? null;
|
|
@@ -344,6 +346,73 @@ ${indented}`);
|
|
|
344
346
|
output.write(`${JSON.stringify(value, null, 2)}
|
|
345
347
|
`);
|
|
346
348
|
}
|
|
349
|
+
async function writeDialogReadJson(output, json) {
|
|
350
|
+
const text = `${json}
|
|
351
|
+
`;
|
|
352
|
+
if (output === process.stdout) {
|
|
353
|
+
const bytes = Buffer.from(text, "utf8");
|
|
354
|
+
let offset = 0;
|
|
355
|
+
while (offset < bytes.length) {
|
|
356
|
+
const written = await new Promise((resolve, reject) => {
|
|
357
|
+
const attempt = () => writeFd(1, bytes, offset, Math.min(16384, bytes.length - offset), null, (error, count) => {
|
|
358
|
+
if (error?.code === "EAGAIN" || error?.code === "EWOULDBLOCK") {
|
|
359
|
+
setTimeout(attempt, 1);
|
|
360
|
+
} else if (error) reject(error);
|
|
361
|
+
else resolve(count);
|
|
362
|
+
});
|
|
363
|
+
attempt();
|
|
364
|
+
});
|
|
365
|
+
if (written <= 0) throw new Error("stdout write made no progress");
|
|
366
|
+
offset += written;
|
|
367
|
+
}
|
|
368
|
+
} else if (output instanceof Writable) {
|
|
369
|
+
await new Promise((resolve, reject) => {
|
|
370
|
+
let settled = false;
|
|
371
|
+
let writeStarted = false;
|
|
372
|
+
let stateCheck;
|
|
373
|
+
const cleanup = () => {
|
|
374
|
+
clearInterval(stateCheck);
|
|
375
|
+
output.off("error", onError);
|
|
376
|
+
output.off("close", checkState);
|
|
377
|
+
output.off("finish", checkState);
|
|
378
|
+
};
|
|
379
|
+
const settle = (error) => {
|
|
380
|
+
if (settled) return;
|
|
381
|
+
settled = true;
|
|
382
|
+
if (error) setTimeout(() => {
|
|
383
|
+
cleanup();
|
|
384
|
+
reject(error);
|
|
385
|
+
}, 0);
|
|
386
|
+
else {
|
|
387
|
+
cleanup();
|
|
388
|
+
resolve();
|
|
389
|
+
}
|
|
390
|
+
};
|
|
391
|
+
const onError = (error) => settle(error);
|
|
392
|
+
const checkState = () => {
|
|
393
|
+
if (output.errored) settle(output.errored);
|
|
394
|
+
else if (output.destroyed || output.closed || output.writableFinished || !writeStarted && output.writableEnded) {
|
|
395
|
+
settle(new Error("stdout Writable closed before write completion"));
|
|
396
|
+
}
|
|
397
|
+
};
|
|
398
|
+
output.on("error", onError);
|
|
399
|
+
output.on("close", checkState);
|
|
400
|
+
output.on("finish", checkState);
|
|
401
|
+
checkState();
|
|
402
|
+
if (settled) return;
|
|
403
|
+
stateCheck = setInterval(checkState, 10);
|
|
404
|
+
try {
|
|
405
|
+
writeStarted = true;
|
|
406
|
+
output.write(text, (error) => settle(error));
|
|
407
|
+
checkState();
|
|
408
|
+
} catch (error) {
|
|
409
|
+
settle(error instanceof Error ? error : new Error(String(error)));
|
|
410
|
+
}
|
|
411
|
+
});
|
|
412
|
+
} else {
|
|
413
|
+
output.write(text);
|
|
414
|
+
}
|
|
415
|
+
}
|
|
347
416
|
function writeJsonlStream(output, items) {
|
|
348
417
|
for (const item of items) {
|
|
349
418
|
output.write(`${JSON.stringify(item)}
|
|
@@ -782,7 +851,7 @@ function isExplicitDialogIdMismatch(meta, dialogId) {
|
|
|
782
851
|
return meta && typeof meta === "object" && "id" in meta && meta.id != null && String(meta.id) !== dialogId;
|
|
783
852
|
}
|
|
784
853
|
async function readDialogFromLocalDb(dialogKey, dialogId, limit, readLocalDialog) {
|
|
785
|
-
const reader = readLocalDialog ?? (await import("./localDialogRead-
|
|
854
|
+
const reader = readLocalDialog ?? (await import("./localDialogRead-AV2VKKPG.js")).readDialogFromLocalDb;
|
|
786
855
|
const result = await reader({ dialogKey, dialogId, limit });
|
|
787
856
|
return {
|
|
788
857
|
...result,
|
|
@@ -797,7 +866,7 @@ async function readLocalDialogAtDbPathDefault(args) {
|
|
|
797
866
|
);
|
|
798
867
|
}
|
|
799
868
|
const db = await getDefaultCliLocalRuntimeDb();
|
|
800
|
-
const { readDialogFromLocalDb: reader } = await import("./localDialogRead-
|
|
869
|
+
const { readDialogFromLocalDb: reader } = await import("./localDialogRead-AV2VKKPG.js");
|
|
801
870
|
return reader({ ...args, db });
|
|
802
871
|
}
|
|
803
872
|
async function readDialogFromLocalDbWithFallback(args) {
|
|
@@ -1355,11 +1424,10 @@ async function runDialogReadCommand(args, deps = {}) {
|
|
|
1355
1424
|
},
|
|
1356
1425
|
options: { maxResponseChars: agentMaxResponseChars }
|
|
1357
1426
|
});
|
|
1358
|
-
output
|
|
1359
|
-
output.write("\n");
|
|
1427
|
+
await writeDialogReadJson(output, built.serialized);
|
|
1360
1428
|
return 0;
|
|
1361
1429
|
}
|
|
1362
|
-
output
|
|
1430
|
+
await writeDialogReadJson(output, JSON.stringify({
|
|
1363
1431
|
source: read.source,
|
|
1364
1432
|
base: read.resolvedBase,
|
|
1365
1433
|
triedBases: read.candidateBases,
|
|
@@ -1408,11 +1476,11 @@ async function runDialogReadCommand(args, deps = {}) {
|
|
|
1408
1476
|
lastAssistantMessage,
|
|
1409
1477
|
messages: outputMsgs
|
|
1410
1478
|
}, null, 2));
|
|
1411
|
-
output.write("\n");
|
|
1412
1479
|
return 0;
|
|
1413
1480
|
} catch (error) {
|
|
1414
|
-
|
|
1415
|
-
|
|
1481
|
+
const diagnostic = `${formatDialogReadFailure(error, target.dialogId)}
|
|
1482
|
+
`;
|
|
1483
|
+
(deps.error ?? (output instanceof Writable ? process.stderr : output)).write(diagnostic);
|
|
1416
1484
|
return 1;
|
|
1417
1485
|
}
|
|
1418
1486
|
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
+
import {
|
|
2
|
+
resolveNoloStateDir
|
|
3
|
+
} from "./chunk-6UBGXX2W.js";
|
|
4
|
+
import {
|
|
5
|
+
asOptionalPositiveFiniteNumber
|
|
6
|
+
} from "./chunk-U6VC4MU4.js";
|
|
1
7
|
import {
|
|
2
8
|
toErrorMessage
|
|
3
9
|
} from "./chunk-HNMXYYJR.js";
|
|
4
10
|
import {
|
|
5
11
|
isRecord
|
|
6
12
|
} from "./chunk-KUG52IAP.js";
|
|
7
|
-
import {
|
|
8
|
-
asOptionalPositiveFiniteNumber
|
|
9
|
-
} from "./chunk-U6VC4MU4.js";
|
|
10
13
|
import {
|
|
11
14
|
asOptionalFiniteNumber
|
|
12
15
|
} from "./chunk-WWC7I6TA.js";
|
|
13
16
|
import {
|
|
14
17
|
asOptionalTrimmedString
|
|
15
18
|
} from "./chunk-G3SUCT4W.js";
|
|
16
|
-
import {
|
|
17
|
-
resolveNoloStateDir
|
|
18
|
-
} from "./chunk-6UBGXX2W.js";
|
|
19
19
|
|
|
20
20
|
// packages/agent-runtime/processTask.ts
|
|
21
21
|
var PROCESS_TASK_TERMINAL_STATUSES = [
|
|
@@ -2082,6 +2082,13 @@ ${stderr.trim()}` : "",
|
|
|
2082
2082
|
}
|
|
2083
2083
|
|
|
2084
2084
|
export {
|
|
2085
|
+
countLines,
|
|
2086
|
+
spillToolOutput,
|
|
2087
|
+
formatToolOverflowMarker,
|
|
2088
|
+
TOOL_OUTPUT_SPILL_BYTES,
|
|
2089
|
+
TOOL_OUTPUT_SPILL_LINES,
|
|
2090
|
+
isSpilledToolOutput,
|
|
2091
|
+
spillLargeToolOutput,
|
|
2085
2092
|
resolveExecutableOnPath,
|
|
2086
2093
|
createGlob,
|
|
2087
2094
|
spawnToWebStreams,
|
|
@@ -2089,10 +2096,6 @@ export {
|
|
|
2089
2096
|
reportedTaskStatus,
|
|
2090
2097
|
toProcessTaskView,
|
|
2091
2098
|
getProcessRegistry,
|
|
2092
|
-
spillToolOutput,
|
|
2093
|
-
formatToolOverflowMarker,
|
|
2094
|
-
isSpilledToolOutput,
|
|
2095
|
-
spillLargeToolOutput,
|
|
2096
2099
|
buildProcessTaskResultCapsule,
|
|
2097
2100
|
withShellChildEnvironment,
|
|
2098
2101
|
extractActivity,
|