nolo-cli 0.225.0-alpha.1 → 0.225.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{_executeModel-L5VHAXSU.js → _executeModel-UCWDB72C.js} +79 -73
- package/{action-CK64LS6S.js → action-24MZYW2B.js} +11 -8
- package/{addContentAction-EQXMFNPR.js → addContentAction-HEMCSSHT.js} +14 -13
- package/{addDialogAgentAction-RSDZDASD.js → addDialogAgentAction-SQYDOXHA.js} +15 -14
- package/{agentDeleteCommand-4WC7INCX.js → agentDeleteCommand-P7O3ACNJ.js} +131 -124
- package/{agentEmailCommands-3XFR6WY7.js → agentEmailCommands-A5BRSYWK.js} +134 -123
- package/{agentFavoriteCommands-2LKGKSUD.js → agentFavoriteCommands-7LOP3HUD.js} +5 -5
- package/{agentGrantCommands-QQV4N4JW.js → agentGrantCommands-L6O2HVJI.js} +5 -5
- package/{agentListCommands-BBCP5XYW.js → agentListCommands-LDRCOOMO.js} +112 -496
- package/{agentMachineCommands-YZDCOLQL.js → agentMachineCommands-AYL53KJV.js} +65 -58
- package/{agentProviderCommands-7BSJH7TO.js → agentProviderCommands-N5EA3ED2.js} +6 -6
- package/{agentPullCommand-XN6ZPBUW.js → agentPullCommand-QQQZSC6S.js} +6 -6
- package/agentRecordCommands-FICBZ57C.js +188 -0
- package/{agentRunCommand-NHYBV4G5.js → agentRunCommand-CTXQGDUM.js} +135 -120
- package/{agentRunControl-7A2FOXIJ.js → agentRunControl-CO6BASZF.js} +20 -14
- package/{agentRuntimeLocal-GSTYFEX4.js → agentRuntimeLocal-5YN4D5WT.js} +48 -41
- package/{agentSlice-O6IGTM3Y.js → agentSlice-DJ5D4DU4.js} +18 -17
- package/{appDeleteCommands-L7HL4AWF.js → appDeleteCommands-B4E7N7M2.js} +58 -51
- package/{appDeployCommands-SGSUNFZR.js → appDeployCommands-E4DTXRRM.js} +58 -51
- package/{appDeployStatusCommands-AAA3XD54.js → appDeployStatusCommands-FCNHYHZM.js} +58 -51
- package/{appGetCommands-LN72GAOA.js → appGetCommands-4DXSQHUZ.js} +58 -51
- package/{appListCommands-IJQQ3VND.js → appListCommands-2NN5E4F6.js} +58 -51
- package/{authCommand-7JXW54U4.js → authCommand-47DR6GZT.js} +33 -28
- package/{authCommands-YDNAIDEY.js → authCommands-ZZ3L5IFM.js} +16 -11
- package/{builtinSkillRegistry-PXH7EGQB.js → builtinSkillRegistry-AYWYQVA4.js} +5 -5
- package/{chromeOpsCommands-YKX2QX3A.js → chromeOpsCommands-VZWAY2KR.js} +6 -6
- package/{chunk-YDBMZ7FV.js → chunk-24GVXSWK.js} +3 -3
- package/{chunk-JCK3EFZS.js → chunk-25OCZXSX.js} +63 -32
- package/{chunk-P2ZLUIW2.js → chunk-2BSLGODA.js} +350 -25
- package/chunk-2SXN7LAY.js +15 -0
- package/{chunk-N5PQJKCY.js → chunk-2XMKW2OY.js} +13 -12
- package/{chunk-XI2BWJM5.js → chunk-324FWHUA.js} +20 -3
- package/{chunk-UKS7D2NL.js → chunk-3NFWMSTA.js} +111 -26
- package/{chunk-TZEP5J4A.js → chunk-3V6JT6WN.js} +2935 -1412
- package/{chunk-SBVTHMEG.js → chunk-4FE3IWRE.js} +1 -1
- package/{chunk-4JVNURX4.js → chunk-4YFC3DWW.js} +68 -16
- package/chunk-4ZCTKB27.js +31 -0
- package/chunk-53W5BXLN.js +340 -0
- package/{chunk-JWXITTQB.js → chunk-5HUO7SEX.js} +9 -107
- package/{chunk-VFBVA3U2.js → chunk-5TJE4QCL.js} +131 -40
- package/{chunk-YXMBJ7UH.js → chunk-6BGJHJRN.js} +21 -21
- package/chunk-6D25V6CB.js +133 -0
- package/chunk-6RSNVJGO.js +279 -0
- package/{chunk-IZIN2UNJ.js → chunk-6X3CS6NJ.js} +203 -24
- package/{chunk-XZGQ6ZCV.js → chunk-6XBOPKUH.js} +27 -90
- package/{chunk-YGMBIXCF.js → chunk-6XRPBZRS.js} +4 -2
- package/{chunk-62HXNQVV.js → chunk-776CXKMX.js} +1 -1
- package/chunk-7NIBQ4HY.js +138 -0
- package/{chunk-7Z6EW7AH.js → chunk-7OTNBI77.js} +13 -6
- package/{chunk-HOK3ILHA.js → chunk-7Q7MKJZN.js} +590 -330
- package/{chunk-KZU52OJ5.js → chunk-7U2TFUWW.js} +6 -6
- package/{chunk-IUD7YR3B.js → chunk-B72AFRR2.js} +15 -15
- package/{chunk-4HFTBHBF.js → chunk-BDERPCJW.js} +8 -8
- package/chunk-BEM6LPD2.js +734 -0
- package/chunk-BIDSIRTS.js +307 -0
- package/{chunk-6J4TTPS2.js → chunk-BIJTI5SX.js} +5 -5
- package/chunk-BWW6WRX6.js +1438 -0
- package/{chunk-AGP3YSEC.js → chunk-C3GOEQJF.js} +46 -1
- package/chunk-C5A54QS7.js +108 -0
- package/{chunk-MOMR7NMG.js → chunk-C646JEUV.js} +2 -2
- package/{chunk-YI5CDUJD.js → chunk-CT6GT2BG.js} +9 -9
- package/{chunk-PVZY6P3S.js → chunk-CZLSTOVM.js} +2 -2
- package/{chunk-LJSNEV7M.js → chunk-DGUUOHBF.js} +8 -8
- package/{chunk-C4WTX5TU.js → chunk-DIBQXNGW.js} +2 -2
- package/{chunk-YFLVRVYK.js → chunk-DLT2DN4M.js} +1 -1
- package/{chunk-K44HIUBX.js → chunk-DLTMAXLF.js} +13 -13
- package/chunk-DVYAFH2Q.js +103 -0
- package/{chunk-SOG7OEXX.js → chunk-DWWUVRB5.js} +1 -1
- package/{chunk-KFHREHUQ.js → chunk-DXWGFL2Z.js} +89 -1
- package/{chunk-GNHMRBYZ.js → chunk-EBKHA63G.js} +106 -14
- package/{chunk-KC4SCKXO.js → chunk-EIFSCI4C.js} +990 -1370
- package/{chunk-F3YK7KIU.js → chunk-EW37CXCQ.js} +4 -4
- package/{chunk-M3JEW6N6.js → chunk-F26GAEH3.js} +10 -0
- package/{chunk-2VUZSVAS.js → chunk-F3FQPVHE.js} +57 -20
- package/{chunk-ZRAARRA3.js → chunk-FCAMGBLY.js} +1399 -2978
- package/{chunk-AK5O76CC.js → chunk-FPMPWNVQ.js} +3 -3
- package/{chunk-WQEMD4Z4.js → chunk-FSIEHQNH.js} +420 -120
- package/{chunk-FNDSBM4J.js → chunk-FXX6VFMV.js} +571 -348
- package/{chunk-7XS4W5KP.js → chunk-G6OPRPXH.js} +128 -149
- package/{chunk-PMDVQBGA.js → chunk-GAHJLSDO.js} +14 -7
- package/{chunk-2TIQO6TC.js → chunk-GCVFX6ZL.js} +206 -308
- package/{chunk-P25E3CKY.js → chunk-H6CHPU6M.js} +4 -4
- package/chunk-HNWZJI4N.js +33394 -0
- package/{chunk-S2NTVGA2.js → chunk-I2OYPD3Y.js} +1 -1
- package/{chunk-KNIIRXHF.js → chunk-IPRPYKBP.js} +46 -8
- package/{chunk-C4VAR65S.js → chunk-IUXBKS5L.js} +200 -120
- package/{chunk-JVRQ6YVK.js → chunk-JBWXPACD.js} +1 -1
- package/{chunk-Z6USB65D.js → chunk-KGIIZXPL.js} +347 -14
- package/chunk-KK3FCYZM.js +647 -0
- package/{chunk-GBZ4YKEO.js → chunk-KOIDLCAQ.js} +8 -8
- package/{chunk-2ZKFCIJJ.js → chunk-LCQJH7KN.js} +1 -1
- package/{chunk-N5Z2V73W.js → chunk-LELADM5Q.js} +1 -1
- package/{chunk-4NA3YTBC.js → chunk-LMFMV5UC.js} +8 -8
- package/{chunk-XN23AUVU.js → chunk-LMZRXDWG.js} +8 -5
- package/{chunk-EWPDMS4N.js → chunk-LN4ZVSO7.js} +30 -15
- package/{chunk-GOAPXKQU.js → chunk-LT3DMEIB.js} +4 -4
- package/{chunk-GGKNJ42M.js → chunk-LYDEFPQP.js} +18 -108
- package/{chunk-FTQWYWUI.js → chunk-MDVP5TLI.js} +1 -1
- package/{chunk-EOWLBDY6.js → chunk-MM73SP4K.js} +1 -1
- package/chunk-MVOZ22RZ.js +26 -0
- package/{chunk-3QFLXA24.js → chunk-N6EN3HK3.js} +3 -3
- package/{chunk-D726I5AZ.js → chunk-NBB2EBQD.js} +2 -2
- package/{chunk-DISQCYPE.js → chunk-NL7J2J5Z.js} +6 -6
- package/{chunk-JM5C4EUA.js → chunk-NQQL2DKF.js} +6 -6
- package/{chunk-LS2MGTUS.js → chunk-NWWQY2J5.js} +15 -15
- package/{chunk-TXGQ4O5S.js → chunk-OATIWAKN.js} +20 -174
- package/{chunk-KYH7XW3K.js → chunk-OJRTTERA.js} +77 -2
- package/{chunk-VV7TXWOC.js → chunk-OYHJ4TW7.js} +6 -6
- package/{chunk-EUCFKKDM.js → chunk-PVFYPUIM.js} +40 -10
- package/{chunk-2VA6TU4I.js → chunk-QES2NCVM.js} +17 -14
- package/{chunk-WG2LFJYB.js → chunk-QGMIUVBT.js} +39 -30
- 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-AMEOV5VZ.js → chunk-S25VJYXV.js} +41 -35
- package/chunk-SR4FE5VD.js +9 -0
- package/{chunk-4WVJLODK.js → chunk-T23G6PXQ.js} +8 -3
- package/{chunk-GVGOEMNV.js → chunk-T444ENEC.js} +3 -3
- package/{chunk-67BE44IS.js → chunk-TE2XH4KH.js} +1 -1
- package/{chunk-5RKUPJYL.js → chunk-TFGGNRT6.js} +11 -3
- package/{chunk-ZH6MUQEO.js → chunk-TTEBPPUV.js} +1 -1
- package/{chunk-QVBXJNZ2.js → chunk-TUSTONB3.js} +1 -1
- package/{chunk-AVHRSJUH.js → chunk-TXFYIWAW.js} +32 -25
- package/{chunk-KOXKKHFE.js → chunk-TXQVH72L.js} +9 -4
- package/{chunk-OBSEKCVK.js → chunk-U4VSBDO5.js} +88 -0
- package/{chunk-PPJYZRSQ.js → chunk-U5LOKQ2R.js} +30 -14
- package/{chunk-KDAGMRDA.js → chunk-UAHUJ4HH.js} +100 -32
- package/{chunk-BGGHA5DV.js → chunk-UAOFSUG7.js} +1 -1
- package/{chunk-CKT6QUE2.js → chunk-UHW6SCVK.js} +1 -1
- package/chunk-UKSKCDBG.js +62 -0
- package/{chunk-KEN3N2TN.js → chunk-VMJVAJ6W.js} +13 -10
- package/{chunk-SOF4OWDM.js → chunk-VS276URX.js} +0 -2
- package/chunk-WDWZPASX.js +29 -0
- package/chunk-WFGNWWJI.js +326 -0
- package/{chunk-UYOICCYG.js → chunk-WHO3LYDW.js} +64 -89
- package/{chunk-UJKTI5PG.js → chunk-WRKMXMU7.js} +2 -1
- package/{chunk-FIYSMXHY.js → chunk-WWTSEBDF.js} +1 -1
- package/{chunk-QLFCTYRH.js → chunk-X37RQEA3.js} +17 -10
- package/{chunk-E2BESSAW.js → chunk-X4O7FJF5.js} +2 -0
- package/chunk-X7IA2B7R.js +166 -0
- package/{chunk-GIABSSWQ.js → chunk-XAFOLWLU.js} +4 -4
- package/{chunk-45LZIYXB.js → chunk-XNEDFWT4.js} +2 -2
- package/{chunk-EOJZGQAE.js → chunk-Y5RN44VH.js} +103 -100
- package/{chunk-OB6DVWPF.js → chunk-YFRJAE3R.js} +319 -95
- package/{chunk-L5I543VB.js → chunk-YGDYYFRX.js} +20 -24
- package/{chunk-3KNEE64G.js → chunk-YMCSR7PA.js} +14 -14
- package/chunk-YUZ2DAIH.js +34 -0
- package/chunk-Z6YTCDU4.js +24 -0
- package/{chunk-XQBIZRGW.js → chunk-ZBQ5UGYY.js} +3 -3
- package/{chunk-VREDDN25.js → chunk-ZQUCJBS4.js} +14 -9
- package/{chunk-UEKXWO7A.js → chunk-ZT3DYK5T.js} +15 -4
- package/{chunk-LM2PS3YS.js → chunk-ZTLTDUV6.js} +24 -11
- package/{chunk-KN3HEZIQ.js → chunk-ZVOL2MAJ.js} +1 -1
- package/{cliAgentConfigHelpers-KICKKNYQ.js → cliAgentConfigHelpers-RFR7ZCSK.js} +12 -12
- package/{cliAuthorityBrokerClient-XHH7MH2P.js → cliAuthorityBrokerClient-SFPC3WVK.js} +1 -1
- package/{cliEnvHelpers-VPSJ4XWC.js → cliEnvHelpers-CNMP3RDX.js} +1 -1
- package/{cliExecutor-4MAX3PZL.js → cliExecutor-K6FDZTQ2.js} +3 -1
- package/{cliLocalAgentRecordReader-6FXGFBI3.js → cliLocalAgentRecordReader-AJ4UKHKT.js} +51 -45
- package/{commandRegistry-HJDPQSQ4.js → commandRegistry-IHWZVV4G.js} +98 -94
- package/{contentThunks-I6OR5ENG.js → contentThunks-YQRCBDKF.js} +38 -35
- package/{cooldownCommands-X7P5M2V5.js → cooldownCommands-W67DE765.js} +4 -4
- package/{createAgentAutomationAction-7BCCTWO5.js → createAgentAutomationAction-ERSDNR4R.js} +38 -35
- package/{createDialogAction-CU27KSCJ.js → createDialogAction-QXC7JZPE.js} +39 -37
- package/{createPageAction-CWRTEYVA.js → createPageAction-RLZ7776F.js} +40 -37
- package/{db-CS4ZJQKV.js → db-6NRZLEW2.js} +10 -7
- package/{dbSlice-ZJPDIFER.js → dbSlice-7M2ESEUO.js} +13 -12
- package/{deleteFile-Q3YDB4ML.js → deleteFile-WO6WSSNK.js} +10 -7
- package/{dialogCommands-OPTRZWTE.js → dialogCommands-UIRO4QNN.js} +62 -56
- package/dialogMessageRecord-OAV77LT7.js +7 -0
- package/{dialogNotifyCommand-77B57PL6.js → dialogNotifyCommand-VDUFYBZV.js} +14 -14
- package/{dialogSlice-XODSLDHY.js → dialogSlice-A4U3C76D.js} +36 -33
- package/{dialogUsageCommand-HTVPR2CX.js → dialogUsageCommand-SEC6UZWM.js} +3 -3
- package/{docCreateCommands-36WS33BK.js → docCreateCommands-MHPYTJWR.js} +56 -49
- package/{docDeleteCommands-C4CS4XLF.js → docDeleteCommands-VYULMBAQ.js} +58 -51
- package/{docReadCommands-QZMSFMPN.js → docReadCommands-FV3GGZ7V.js} +56 -49
- package/{docStore-TVN4SNVE.js → docStore-AWWI72FA.js} +15 -14
- package/{docUpdateCommands-BYI64HVV.js → docUpdateCommands-JNS3HX7F.js} +56 -49
- package/fetchMessages-TQEUZD7H.js +2 -2
- package/{getPricing-VNGFM4PN.js → getPricing-U5AR7ZHS.js} +5 -5
- package/{handleSendMessageAction-NSEMVHWX.js → handleSendMessageAction-WDJOUDNV.js} +68 -63
- package/{hostCredentialCreate-WBZY7DZB.js → hostCredentialCreate-H3FF2SAO.js} +123 -111
- package/index.js +56 -18
- package/keys-RWF7UCB4.js +2 -2
- package/{lib-OT5OTXRU.js → lib-62SWPXNF.js} +3 -7
- package/{localDialogRead-SVTPA5GY.js → localDialogRead-3T2KMCRC.js} +1 -1
- package/{localRuntimeAdapter-OAIWERFA.js → localRuntimeAdapter-JAQQXZJP.js} +126 -113
- package/{localRuntimeAuthority-IBJAT62G.js → localRuntimeAuthority-7DKIT7UH.js} +4 -2
- package/{localRuntimeDb-N7KHDXS2.js → localRuntimeDb-5WZ4RJJO.js} +1 -1
- package/{machineCommands-OI37ZUQ4.js → machineCommands-WYOFNB5I.js} +146 -120
- package/{machineWsRunDispatch-73HKPV6D.js → machineWsRunDispatch-Y7UIAZNM.js} +118 -107
- package/markdownToSlate-KIYM7B3P.js +8 -0
- package/mcpLocalAuthorizeCommand-SCYEFLRK.js +106 -0
- package/{memberThunks-JRYNONYV.js → memberThunks-DIITWU4M.js} +22 -17
- package/{memoryCommands-5WC3T66U.js → memoryCommands-BC6REPQB.js} +4 -4
- package/{models-H5NNZRLH.js → models-CINY5UZR.js} +2 -2
- package/{overlay-THLKYIWY.js → overlay-JA3SPVUS.js} +7 -3
- package/package.json +1 -1
- package/{projectArchive-GVEARCOG.js → projectArchive-IZJXBW5N.js} +43 -40
- package/{providerPresetApply-J3WMRPD2.js → providerPresetApply-2QWXPJXZ.js} +6 -6
- package/{providerRegistry-KJGB5XWS.js → providerRegistry-W4LCKK6V.js} +6 -6
- package/{read-Q7GOHGNP.js → read-OBLJNMA2.js} +9 -8
- package/{readDocTool-Z5OQ6422.js → readDocTool-QQZ4DAER.js} +1 -1
- package/{readlineWorkspace-5DWUGNSU.js → readlineWorkspace-WF3SWZGR.js} +7055 -5248
- package/rememberExplicit-CPAPONSI.js +15 -0
- package/{removeDialogAgentAction-U3F2MNAY.js → removeDialogAgentAction-HC3SOY3G.js} +17 -16
- package/{runAgentClientLoop-RDXIPF34.js → runAgentClientLoop-Z7V6TA3O.js} +97 -72
- package/{runtimeDoctorCommands-UXKXYBW6.js → runtimeDoctorCommands-KX6YLPWV.js} +17 -17
- package/{secretCommands-LJXOOYA7.js → secretCommands-STRAX275.js} +4 -4
- package/{setDialogExtraReferencesAction-G3WSJ7EM.js → setDialogExtraReferencesAction-DDZUQPY6.js} +16 -15
- package/{setPrimaryDialogAgentAction-6FHAHZBB.js → setPrimaryDialogAgentAction-EB67OMAJ.js} +17 -16
- package/{settingThunks-AXTBX3Q5.js → settingThunks-TN6GFASU.js} +181 -62
- package/{skillDiscovery-B5V23AXP.js → skillDiscovery-MDDKPTW3.js} +4 -3
- package/{spaceCommands-GUKMDRWN.js → spaceCommands-HBYQUVJI.js} +61 -54
- package/{store-JRVN62NM.js → store-Z53ICFL3.js} +3 -1
- package/{streamAgentChatTurn-XEYQZPDJ.js → streamAgentChatTurn-CM7QQXOS.js} +178 -173
- package/{switchDialogAgentAction-UOFIAGPL.js → switchDialogAgentAction-XY5TKQQE.js} +15 -14
- package/{tableCommands-HITDSLHS.js → tableCommands-MXFL3JIT.js} +13 -10
- package/{toolApiClient-OGQEBQVX.js → toolApiClient-53YMJ2G6.js} +8 -6
- package/{tools-6DFTHCFX.js → tools-AT6H73LD.js} +66 -62
- package/tuiRestart-272SAYSK.js +41 -0
- package/{tuiSummaryLlmCaller-7WLUKNP2.js → tuiSummaryLlmCaller-K2OVRVHG.js} +20 -19
- package/{updateCommands-RJVCRSBP.js → updateCommands-O3BOVVVN.js} +8 -6
- package/{updateDialogTitleAction-AMSBV2H7.js → updateDialogTitleAction-PGY4UPLH.js} +38 -35
- package/{usageCommand-YPJ2ZI2F.js → usageCommand-SCF3ROV2.js} +4 -4
- package/{usageRebuildCommand-FERQO74C.js → usageRebuildCommand-K5WPIBA5.js} +5 -5
- package/webapi-24RZDIIQ.js +2488 -0
- package/{windowsSelfUpdate-KERHIAB4.js → windowsSelfUpdate-WJDUZLEO.js} +2 -2
- package/workContext-Y3ADAPZU.js +14 -0
- package/workContextAccess-UZHDLBUR.js +11 -0
- package/workContextWriteNotice-YCSSMHN4.js +7 -0
- package/agentRecordCommands-KLYKI4Z7.js +0 -177
- package/chunk-2THCNKE4.js +0 -147
- package/chunk-2WZXXAQD.js +0 -57
- package/chunk-5ZMIIR23.js +0 -265
- package/chunk-652XYZGP.js +0 -352
- package/chunk-BJF2MHJ3.js +0 -118
- package/chunk-KEPOVMF4.js +0 -91
- package/chunk-QZI44GWV.js +0 -776
- package/{accountResolver-EK2S4PWF.js → accountResolver-QETKNC7T.js} +3 -3
- package/{chunk-BLVSFYQ3.js → chunk-LISC7BD4.js} +3 -3
- package/{chunk-SNBZZPYH.js → chunk-OQHIVPG4.js} +3 -3
- package/{chunk-47ITIXO7.js → chunk-USGHJSGO.js} +3 -3
- package/{chunk-FJ23FZXF.js → chunk-VIYVRPMJ.js} +0 -0
- package/{offlineMarxistsAgentCommand-4IC3Y4C6.js → offlineMarxistsAgentCommand-XVXUE6G5.js} +3 -3
- package/{workloadLifecycle-O2I3NZ2Q.js → workloadLifecycle-HFJIN5IZ.js} +8 -8
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
import {
|
|
2
|
+
writeOAuthCredential
|
|
3
|
+
} from "./chunk-G7Y4GXTY.js";
|
|
4
|
+
import {
|
|
5
|
+
buildEnvFromProfile,
|
|
6
|
+
loadProfileConfig
|
|
7
|
+
} from "./chunk-R5GO3YZP.js";
|
|
8
|
+
import {
|
|
9
|
+
getCliLocale
|
|
10
|
+
} from "./chunk-YFRJAE3R.js";
|
|
1
11
|
import {
|
|
2
12
|
ANTIGRAVITY_AUTH_URL,
|
|
3
13
|
ANTIGRAVITY_CALLBACK_PATH,
|
|
@@ -11,14 +21,7 @@ import {
|
|
|
11
21
|
getAntigravityUserAgent,
|
|
12
22
|
normalizeAntigravityTokenPayload,
|
|
13
23
|
refreshAntigravityToken
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import {
|
|
16
|
-
buildEnvFromProfile,
|
|
17
|
-
loadProfileConfig
|
|
18
|
-
} from "./chunk-R5GO3YZP.js";
|
|
19
|
-
import {
|
|
20
|
-
getCliLocale
|
|
21
|
-
} from "./chunk-OB6DVWPF.js";
|
|
24
|
+
} from "./chunk-LN4ZVSO7.js";
|
|
22
25
|
import {
|
|
23
26
|
toErrorMessage
|
|
24
27
|
} from "./chunk-HNMXYYJR.js";
|
|
@@ -31,9 +34,6 @@ import {
|
|
|
31
34
|
import {
|
|
32
35
|
asOptionalFiniteNumber
|
|
33
36
|
} from "./chunk-WWC7I6TA.js";
|
|
34
|
-
import {
|
|
35
|
-
writeOAuthCredential
|
|
36
|
-
} from "./chunk-G7Y4GXTY.js";
|
|
37
37
|
|
|
38
38
|
// packages/cli/tui/wtAmbiguousWidth.ts
|
|
39
39
|
import fs from "node:fs";
|
|
@@ -680,6 +680,7 @@ function buildSourceMapping(rawLine, styledLine, prefixCharCount) {
|
|
|
680
680
|
while (contentStart < rawLine.length && rawLine[contentStart] === " ") contentStart++;
|
|
681
681
|
lineToParse = rawLine.slice(contentStart);
|
|
682
682
|
}
|
|
683
|
+
const visibleBody = stripAnsi2(styledLine.slice(prefixCharCount));
|
|
683
684
|
const INLINE_RE = /(\[([^\]]+)\]\(([^)\s]+)\)|`([^`]+)`|\*\*(.+?)\*\*|(?<!\*)\*([^*]+?)\*(?!\*)|~~([^~]+?)~~)/g;
|
|
684
685
|
const mapping = [];
|
|
685
686
|
let lastIdx = 0;
|
|
@@ -693,18 +694,37 @@ function buildSourceMapping(rawLine, styledLine, prefixCharCount) {
|
|
|
693
694
|
if (match[2] !== void 0 && match[3] !== void 0) {
|
|
694
695
|
const linkText = match[2];
|
|
695
696
|
const linkUrl = match[3];
|
|
697
|
+
const cleanText = linkText.replace(/[\u0000-\u001f\u007f]/g, "");
|
|
698
|
+
const cleanUrl = linkUrl.replace(/[\u0000-\u001f\u007f]/g, "");
|
|
699
|
+
const cursor = mapping.length;
|
|
696
700
|
const textOffset = contentStart + match.index + 1;
|
|
697
|
-
for (let c = 0; c <
|
|
701
|
+
for (let c = 0; c < cleanText.length; c++) {
|
|
698
702
|
mapping.push(textOffset + c);
|
|
699
703
|
}
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
704
|
+
if (visibleBody.startsWith(`${cleanText} \u2197`, cursor)) {
|
|
705
|
+
const closeParenOffset = contentStart + match.index + fullMatch.length - 1;
|
|
706
|
+
mapping.push(closeParenOffset);
|
|
707
|
+
mapping.push(closeParenOffset);
|
|
708
|
+
} else if (visibleBody.startsWith(`${cleanText} (${cleanUrl})`, cursor)) {
|
|
709
|
+
const parenOffset = textOffset + linkText.length;
|
|
710
|
+
mapping.push(parenOffset);
|
|
711
|
+
mapping.push(parenOffset + 1);
|
|
712
|
+
const urlOffset = parenOffset + 2;
|
|
713
|
+
for (let c = 0; c < cleanUrl.length; c++) {
|
|
714
|
+
mapping.push(urlOffset + c);
|
|
715
|
+
}
|
|
716
|
+
mapping.push(urlOffset + linkUrl.length);
|
|
717
|
+
} else if (visibleBody.startsWith(cleanText, cursor) && cleanText.trim() === cleanUrl.trim()) {
|
|
718
|
+
} else if (linkText.trim() !== linkUrl.trim()) {
|
|
719
|
+
const parenOffset = textOffset + linkText.length;
|
|
720
|
+
mapping.push(parenOffset);
|
|
721
|
+
mapping.push(parenOffset + 1);
|
|
722
|
+
const urlOffset = parenOffset + 2;
|
|
723
|
+
for (let c = 0; c < linkUrl.length; c++) {
|
|
724
|
+
mapping.push(urlOffset + c);
|
|
725
|
+
}
|
|
726
|
+
mapping.push(urlOffset + linkUrl.length);
|
|
706
727
|
}
|
|
707
|
-
mapping.push(urlOffset + linkUrl.length);
|
|
708
728
|
} else if (match[4] !== void 0) {
|
|
709
729
|
const codeText = match[4];
|
|
710
730
|
const codeOffset = contentStart + match.index + 1;
|
|
@@ -767,6 +787,25 @@ function wrapTranscriptLineWithLayout(line, columns, hangingIndent = "", lineSou
|
|
|
767
787
|
break;
|
|
768
788
|
}
|
|
769
789
|
}
|
|
790
|
+
const CJK_CLOSING_OR_SEP_REGEX = /^[,。!?;:、)》】」』]$/;
|
|
791
|
+
let listMarkerEndToken = 0;
|
|
792
|
+
{
|
|
793
|
+
let plainPrefix = "";
|
|
794
|
+
let probe = 0;
|
|
795
|
+
while (probe < tokens.length && plainPrefix.length < 24) {
|
|
796
|
+
const tok = tokens[probe];
|
|
797
|
+
if (tok.kind === "char") {
|
|
798
|
+
plainPrefix += tok.value;
|
|
799
|
+
if (plainPrefix.length >= 2 && !/^(?:◈ ?)?\s*(?:\d*[.)]?|[•*+-])?\s*$/.test(plainPrefix)) {
|
|
800
|
+
break;
|
|
801
|
+
}
|
|
802
|
+
if (/^(?:◈\s+)?\s*(?:\d+[.)]|[•*+-])\s+$/.test(plainPrefix)) {
|
|
803
|
+
listMarkerEndToken = probe + 1;
|
|
804
|
+
}
|
|
805
|
+
}
|
|
806
|
+
probe += 1;
|
|
807
|
+
}
|
|
808
|
+
}
|
|
770
809
|
let plainCharIndexAtStart = 0;
|
|
771
810
|
let start = 0;
|
|
772
811
|
while (start < tokens.length) {
|
|
@@ -776,6 +815,10 @@ function wrapTranscriptLineWithLayout(line, columns, hangingIndent = "", lineSou
|
|
|
776
815
|
const currentPrefixWidth = isContinuation ? visibleWidth(hangingIndent) : prefixWidth;
|
|
777
816
|
const indentWidth = isContinuation ? visibleWidth(hangingIndent) : 0;
|
|
778
817
|
const maxSegmentWidth = Math.max(1, columns - indentWidth);
|
|
818
|
+
const nextContent = (from) => {
|
|
819
|
+
while (from < tokens.length && tokens[from].kind === "sgr") from += 1;
|
|
820
|
+
return tokens[from];
|
|
821
|
+
};
|
|
779
822
|
let width = 0;
|
|
780
823
|
let end = start;
|
|
781
824
|
let lastBreak = -1;
|
|
@@ -788,17 +831,40 @@ function wrapTranscriptLineWithLayout(line, columns, hangingIndent = "", lineSou
|
|
|
788
831
|
if (width + token.width > maxSegmentWidth && width > 0) break;
|
|
789
832
|
width += token.width;
|
|
790
833
|
end += 1;
|
|
791
|
-
if (
|
|
792
|
-
|
|
834
|
+
if (token.charIndex >= prefixCharCount && (isContinuation || end > listMarkerEndToken)) {
|
|
835
|
+
if (token.value === " " || token.value === " " || CJK_CLOSING_OR_SEP_REGEX.test(token.value) || token.value === "/") {
|
|
836
|
+
lastBreak = end;
|
|
837
|
+
}
|
|
793
838
|
}
|
|
794
839
|
}
|
|
795
840
|
let segmentEnd = end;
|
|
796
841
|
if (end < tokens.length && lastBreak > start) {
|
|
797
842
|
const overflowToken = tokens[end];
|
|
798
|
-
if (overflowToken.kind === "char" && overflowToken.value !== " " && overflowToken.width === 1) {
|
|
843
|
+
if (overflowToken.kind === "char" && overflowToken.value !== " " && (overflowToken.width === 1 || CJK_CLOSING_OR_SEP_REGEX.test(overflowToken.value)) && nextContent(lastBreak) !== overflowToken) {
|
|
799
844
|
segmentEnd = lastBreak;
|
|
800
845
|
}
|
|
801
846
|
}
|
|
847
|
+
const next = nextContent(segmentEnd);
|
|
848
|
+
if (next?.kind === "char" && CJK_CLOSING_OR_SEP_REGEX.test(next.value)) {
|
|
849
|
+
const minBacktrack = isContinuation ? start : Math.max(start, listMarkerEndToken);
|
|
850
|
+
let previous = segmentEnd - 1;
|
|
851
|
+
while (previous > minBacktrack) {
|
|
852
|
+
const tok = tokens[previous];
|
|
853
|
+
if (tok.kind === "sgr") {
|
|
854
|
+
previous -= 1;
|
|
855
|
+
continue;
|
|
856
|
+
}
|
|
857
|
+
if (CJK_CLOSING_OR_SEP_REGEX.test(tok.value)) {
|
|
858
|
+
previous -= 1;
|
|
859
|
+
continue;
|
|
860
|
+
}
|
|
861
|
+
break;
|
|
862
|
+
}
|
|
863
|
+
const preceding = tokens[previous];
|
|
864
|
+
if (previous > minBacktrack && preceding?.kind === "char" && preceding.value !== " " && preceding.value !== " ") {
|
|
865
|
+
segmentEnd = previous;
|
|
866
|
+
}
|
|
867
|
+
}
|
|
802
868
|
if (segmentEnd === start) segmentEnd = start + 1;
|
|
803
869
|
let segment = "";
|
|
804
870
|
let sawStyle = openingStyles.length > 0;
|
|
@@ -879,7 +945,7 @@ function wrapTranscriptLine(line, columns, hangingIndent = "") {
|
|
|
879
945
|
return wrapTranscriptLineWithLayout(line, columns, hangingIndent).map((r) => r.rendered);
|
|
880
946
|
}
|
|
881
947
|
function buildWindowTitle(title) {
|
|
882
|
-
const plain = stripAnsi2(title).replace(/[\x00-\x1f\x7f]+/g, " ");
|
|
948
|
+
const plain = stripAnsi2(title).replace(/[\x00-\x1f\x7f-\x9f]+/g, " ");
|
|
883
949
|
let truncated = "";
|
|
884
950
|
let width = 0;
|
|
885
951
|
const maxCols = 80;
|
|
@@ -1026,6 +1092,23 @@ async function startCallbackServer(options) {
|
|
|
1026
1092
|
var TIER_LEGACY = "legacy-tier";
|
|
1027
1093
|
var PROJECT_ONBOARD_MAX_ATTEMPTS = 5;
|
|
1028
1094
|
var PROJECT_ONBOARD_INTERVAL_MS = 2e3;
|
|
1095
|
+
async function fetchAntigravityAvailableModels(fetchImpl, accessToken) {
|
|
1096
|
+
const response = await fetchImpl(`${ANTIGRAVITY_CLOUD_CODE_BASE_URL}/v1internal:fetchAvailableModels`, {
|
|
1097
|
+
method: "POST",
|
|
1098
|
+
headers: {
|
|
1099
|
+
Authorization: `Bearer ${accessToken}`,
|
|
1100
|
+
"Content-Type": "application/json",
|
|
1101
|
+
"User-Agent": getAntigravityUserAgent()
|
|
1102
|
+
},
|
|
1103
|
+
body: "{}"
|
|
1104
|
+
});
|
|
1105
|
+
if (!response.ok) {
|
|
1106
|
+
const body = await response.text();
|
|
1107
|
+
throw new Error(`fetchAvailableModels failed: ${response.status} ${response.statusText}: ${body}`);
|
|
1108
|
+
}
|
|
1109
|
+
const payload = await response.json();
|
|
1110
|
+
return payload.models && typeof payload.models === "object" && !Array.isArray(payload.models) ? payload.models : {};
|
|
1111
|
+
}
|
|
1029
1112
|
var ANTIGRAVITY_LOAD_CODE_ASSIST_METADATA = Object.freeze({
|
|
1030
1113
|
ideType: "ANTIGRAVITY",
|
|
1031
1114
|
platform: "PLATFORM_UNSPECIFIED",
|
|
@@ -2348,6 +2431,7 @@ export {
|
|
|
2348
2431
|
ANSI_ESCAPE_REGEX,
|
|
2349
2432
|
stripAnsi2 as stripAnsi,
|
|
2350
2433
|
applyTerminalOutputToText,
|
|
2434
|
+
resolveAmbiguousWidth,
|
|
2351
2435
|
resolveBoxCharset,
|
|
2352
2436
|
boxGlyphs,
|
|
2353
2437
|
displayWidth,
|
|
@@ -2363,12 +2447,13 @@ export {
|
|
|
2363
2447
|
wrapTranscriptLine,
|
|
2364
2448
|
buildWindowTitle,
|
|
2365
2449
|
wrapTextToLines,
|
|
2366
|
-
resolveClaudeCodeVersion,
|
|
2367
|
-
getClaudeCodeUserAgent,
|
|
2368
|
-
adoptRequiredClaudeCodeVersion,
|
|
2369
2450
|
startCallbackServer,
|
|
2451
|
+
fetchAntigravityAvailableModels,
|
|
2370
2452
|
runAntigravityOAuthLogin,
|
|
2371
2453
|
refreshAntigravityOAuthToken,
|
|
2454
|
+
resolveClaudeCodeVersion,
|
|
2455
|
+
getClaudeCodeUserAgent,
|
|
2456
|
+
adoptRequiredClaudeCodeVersion,
|
|
2372
2457
|
renderDeviceCodeDisplay,
|
|
2373
2458
|
generatePkcePair,
|
|
2374
2459
|
runOpenAiCodexDeviceCode,
|