nolo-cli 0.219.0 → 0.220.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{_executeModel-WW57SJN4.js → _executeModel-BNEMFCAO.js} +74 -74
- package/{action-CK64LS6S.js → action-GDZDXPMB.js} +7 -7
- package/{addContentAction-EQXMFNPR.js → addContentAction-7RO4AMRI.js} +12 -12
- package/{addDialogAgentAction-RSDZDASD.js → addDialogAgentAction-EVYBGTXB.js} +14 -14
- package/{agentDeleteCommand-X2VWEKUA.js → agentDeleteCommand-7QTQNFCO.js} +114 -115
- package/{agentEmailCommands-6IE773VW.js → agentEmailCommands-I7SHOSD6.js} +115 -116
- package/{agentFavoriteCommands-2LKGKSUD.js → agentFavoriteCommands-7LOP3HUD.js} +5 -5
- package/{agentGrantCommands-QQV4N4JW.js → agentGrantCommands-L6O2HVJI.js} +5 -5
- package/{agentListCommands-5UNM7CGG.js → agentListCommands-GUGMORTK.js} +84 -70
- package/{agentMachineCommands-EVWFKK6Q.js → agentMachineCommands-UMDKILU3.js} +56 -55
- package/{agentProviderCommands-ZCH37KAL.js → agentProviderCommands-STI3DQ6A.js} +6 -6
- package/{agentPullCommand-XN6ZPBUW.js → agentPullCommand-KHV4EELF.js} +5 -5
- package/{agentRecordCommands-DX2WE6BH.js → agentRecordCommands-YTAMTHOY.js} +102 -103
- package/{agentRunCommand-KGOT2AFB.js → agentRunCommand-DBM6YNO6.js} +113 -112
- package/{agentRunControl-QDFW5P2T.js → agentRunControl-MBG4U6SL.js} +20 -14
- package/{agentRuntimeLocal-SD7U2EGY.js → agentRuntimeLocal-TU4LA353.js} +39 -39
- package/{agentSlice-ACZGTZVW.js → agentSlice-DPG7Q7IA.js} +16 -16
- package/{appDeleteCommands-NE3NQQJL.js → appDeleteCommands-JWP3XPUA.js} +50 -49
- package/{appDeployCommands-2BAHY522.js → appDeployCommands-6E4TQCWI.js} +50 -49
- package/{appDeployStatusCommands-JTW6LZNC.js → appDeployStatusCommands-ALU4SADG.js} +50 -49
- package/{appGetCommands-WKFEJO6A.js → appGetCommands-JEY4L6L4.js} +50 -49
- package/{appListCommands-HNAZZLFX.js → appListCommands-PCAVHU7M.js} +50 -49
- package/{authCommand-4FDPL7WG.js → authCommand-CGRIIOOV.js} +26 -23
- package/{authCommands-GAJ3NIXO.js → authCommands-55OGQGCR.js} +9 -6
- package/{builtinSkillRegistry-PXH7EGQB.js → builtinSkillRegistry-BAE2LDXF.js} +4 -4
- package/{chromeOpsCommands-YKX2QX3A.js → chromeOpsCommands-WAA45NCS.js} +6 -6
- package/{chunk-OB6DVWPF.js → chunk-262R3XNN.js} +16 -2
- package/{chunk-5OZC7R7Y.js → chunk-2MCB7CD7.js} +13 -12
- package/{chunk-IWH5SOU4.js → chunk-2NPD3FTX.js} +3 -3
- package/{chunk-OGHP3CTL.js → chunk-2X7WFDT6.js} +1 -1
- package/{chunk-XI2BWJM5.js → chunk-324FWHUA.js} +20 -3
- package/{chunk-QWYFFHCJ.js → chunk-3NNXR7EH.js} +10 -10
- package/{chunk-JWXITTQB.js → chunk-3P54D2E4.js} +1 -1
- package/{chunk-EGXPAWLG.js → chunk-3U44JB3O.js} +1 -1
- package/{chunk-KAVGK4ES.js → chunk-44J7Z5AQ.js} +18 -18
- package/{chunk-YL3EFYL3.js → chunk-4D4QD7FT.js} +3 -1
- package/{chunk-EUCFKKDM.js → chunk-4I2MXV5Q.js} +38 -10
- package/{chunk-C4WTX5TU.js → chunk-4ZGPHFLE.js} +2 -2
- package/{chunk-FVZW66K4.js → chunk-53MFERZ3.js} +177 -94
- package/{chunk-MOMR7NMG.js → chunk-547ENH5T.js} +1 -1
- package/{chunk-N7HVLYOY.js → chunk-5WKDR7HS.js} +3 -3
- package/chunk-5ZUOVCKT.js +32 -0
- package/{chunk-TRWT3EE3.js → chunk-62HXNQVV.js} +1 -1
- package/{chunk-KOXKKHFE.js → chunk-6QHKRARD.js} +2 -2
- package/{chunk-N3J4VDGV.js → chunk-6RDBLXVQ.js} +15 -15
- package/{chunk-YGMBIXCF.js → chunk-6XRPBZRS.js} +4 -2
- package/{chunk-JC5XLWZK.js → chunk-7JGMNKKG.js} +19 -15
- package/{chunk-FRSBYNWI.js → chunk-AGYPUBFW.js} +31 -205
- package/{chunk-UYOICCYG.js → chunk-ALAES342.js} +59 -88
- package/{chunk-VREDDN25.js → chunk-ATEKLSLR.js} +1 -1
- package/{chunk-6NKA6RKF.js → chunk-AUAJTAFM.js} +8 -8
- package/{chunk-7UH3DGV6.js → chunk-AWIL6EHN.js} +7 -7
- package/chunk-BIDSIRTS.js +307 -0
- package/chunk-BIWI5M4E.js +62 -0
- package/{chunk-L5I543VB.js → chunk-BNMPUQW6.js} +1 -1
- package/{chunk-BGGHA5DV.js → chunk-BP5ZJ6B4.js} +1 -1
- package/{chunk-Q6HOUF4O.js → chunk-CBUZ6DKA.js} +3 -3
- package/{chunk-LE6LGAJE.js → chunk-CD3RU7XL.js} +17 -2
- package/{chunk-AVHRSJUH.js → chunk-CMMI3DAT.js} +13 -13
- package/{chunk-H7R3365N.js → chunk-CYWNWA77.js} +5 -5
- package/{chunk-6D7NVU66.js → chunk-D6YNCNM6.js} +17 -14
- package/{chunk-6RQFZCKH.js → chunk-DBUR22G5.js} +6 -6
- package/{chunk-PVZY6P3S.js → chunk-DEA37IUY.js} +2 -2
- package/{chunk-QLFCTYRH.js → chunk-DGYCDA6W.js} +3 -3
- package/{chunk-SRL56PI2.js → chunk-DUUDXSLX.js} +21 -7
- package/{chunk-KFHREHUQ.js → chunk-DXWGFL2Z.js} +89 -1
- package/{chunk-PFJNLBRU.js → chunk-EEOOBRA7.js} +6 -6
- package/{chunk-KN3HEZIQ.js → chunk-EVGU5P4U.js} +1 -1
- package/{chunk-CXDPIPZ4.js → chunk-F6Z6ZCUV.js} +2 -2
- package/{chunk-EOWLBDY6.js → chunk-FJSNBZXR.js} +1 -1
- package/{chunk-GNHMRBYZ.js → chunk-G7IUT2V3.js} +4 -3
- package/{chunk-4NMHE7CX.js → chunk-GPOV42YM.js} +14 -14
- package/{chunk-SASHAZ67.js → chunk-GUXZK7SE.js} +2 -2
- package/{chunk-65XXHYZ5.js → chunk-GV6PRJBU.js} +3 -3
- package/{chunk-G2EJ7NL4.js → chunk-HBRDSQ3M.js} +2 -2
- package/{chunk-OOF7XDZF.js → chunk-HHFGE2WF.js} +6 -6
- package/{chunk-DJSTBAOU.js → chunk-HSSBDZLD.js} +4 -4
- package/{chunk-GIABSSWQ.js → chunk-HYLRQDEE.js} +4 -4
- package/{chunk-UJKTI5PG.js → chunk-ILHQ2AXT.js} +0 -1
- package/{chunk-S7SB7L2I.js → chunk-JJMR2EA3.js} +19 -19
- package/{chunk-3ESU44FG.js → chunk-JLAMNSBC.js} +3 -3
- package/{chunk-TVFRV3UQ.js → chunk-JUSHVFNF.js} +238 -185
- package/{chunk-MKQ2UTTX.js → chunk-KHVFJSVE.js} +22 -19
- package/{chunk-7WPAI5JJ.js → chunk-KRI6N5QZ.js} +14 -14
- package/{chunk-HCJFGH6Y.js → chunk-L32W3PRP.js} +46 -16
- package/{chunk-3N4ASIP6.js → chunk-LMRRCEDE.js} +11 -11
- package/{chunk-2KTUDBG7.js → chunk-M4SFKP5L.js} +1 -1
- package/{chunk-VHPAA6MT.js → chunk-MSMHU36U.js} +6 -6
- package/{chunk-F3TQURKK.js → chunk-MXKWTPUM.js} +19 -19
- package/{chunk-XFJ4ZPFC.js → chunk-MXRUXMZ3.js} +25 -25
- package/{chunk-OXKUPBAQ.js → chunk-NHY322ZU.js} +151 -10
- package/{chunk-UMRI2IRY.js → chunk-OBIC6EG7.js} +6 -6
- package/{chunk-VALBGPM6.js → chunk-OBSEKCVK.js} +17 -20
- package/{chunk-SYQR7FQS.js → chunk-OG6MQOQG.js} +96 -28
- package/{chunk-AMEOV5VZ.js → chunk-OOJNQK6V.js} +33 -33
- package/{chunk-K5FNYHZC.js → chunk-OWKNSIXL.js} +149 -54
- package/{chunk-CKT6QUE2.js → chunk-Q3IVPFVO.js} +1 -1
- package/{chunk-AFHOCBSP.js → chunk-QBZCGP34.js} +1 -1
- package/{chunk-2ZKFCIJJ.js → chunk-QCB42576.js} +1 -1
- package/{chunk-HOCHUZQ7.js → chunk-QJTZ76CP.js} +24 -6
- package/{chunk-XWGDCWXY.js → chunk-QRGDJA4B.js} +9 -9
- package/{chunk-4A2JIXR2.js → chunk-QYB23WUH.js} +1 -1
- package/{chunk-652XYZGP.js → chunk-R44TU3MZ.js} +8 -3
- package/{chunk-2VUZSVAS.js → chunk-R6Z5S5GA.js} +7 -7
- package/{chunk-MK2Q7ZJD.js → chunk-R7XWZDOH.js} +58 -24
- package/{chunk-GGKNJ42M.js → chunk-RBPUNSG5.js} +2 -2
- package/{chunk-GVGOEMNV.js → chunk-RG2DGNL6.js} +3 -3
- package/{chunk-2OLYKYNY.js → chunk-RTHFJZ6M.js} +8 -8
- package/{chunk-C4VAR65S.js → chunk-RYOLWYBK.js} +120 -116
- package/{chunk-T3O6BLYU.js → chunk-S5NA3C52.js} +147 -115
- package/{chunk-D726I5AZ.js → chunk-S6FDXXZV.js} +2 -2
- package/{chunk-JVRQ6YVK.js → chunk-S6K5F3KP.js} +1 -1
- package/{chunk-IWQAOW2X.js → chunk-SRCCSTIM.js} +8 -8
- package/{chunk-KO63FPG3.js → chunk-SZVMASJ2.js} +750 -2523
- package/{chunk-Q7WP5RPC.js → chunk-TGNIKIHR.js} +5 -5
- package/{chunk-AK5O76CC.js → chunk-TI2EPRHE.js} +2 -2
- package/{chunk-5R63B62U.js → chunk-TSPMLCWI.js} +7 -7
- package/{chunk-QVBXJNZ2.js → chunk-TUSTONB3.js} +1 -1
- package/{chunk-KEN3N2TN.js → chunk-VMJVAJ6W.js} +13 -10
- package/{chunk-SOF4OWDM.js → chunk-VS276URX.js} +0 -2
- package/{chunk-FIYSMXHY.js → chunk-WWTSEBDF.js} +1 -1
- package/{chunk-E2BESSAW.js → chunk-X4O7FJF5.js} +2 -0
- package/{chunk-J6T25AJ6.js → chunk-XSW4EXQV.js} +82 -18
- package/{chunk-O2CYENYJ.js → chunk-XTETTSKN.js} +2107 -1092
- package/{chunk-DVQH4BTR.js → chunk-YKY4OVOX.js} +14 -10
- package/{chunk-5RKUPJYL.js → chunk-ZH3KXFHS.js} +11 -3
- package/chunk-ZOHO6MOF.js +376 -0
- package/{cliAgentConfigHelpers-PO3MVDME.js → cliAgentConfigHelpers-BTRHMPW2.js} +12 -12
- package/{cliEnvHelpers-VPSJ4XWC.js → cliEnvHelpers-CNMP3RDX.js} +1 -1
- package/{cliExecutor-4MAX3PZL.js → cliExecutor-K6FDZTQ2.js} +3 -1
- package/{cliLocalAgentRecordReader-Z7CH4K4R.js → cliLocalAgentRecordReader-M3F76NIP.js} +45 -45
- package/{commandRegistry-SDSYBKMC.js → commandRegistry-T3UBK6OA.js} +93 -93
- package/{contentThunks-G3TRPEAU.js → contentThunks-YEPZAHXU.js} +36 -35
- package/{cooldownCommands-X7P5M2V5.js → cooldownCommands-YB5H5BBK.js} +4 -4
- package/{createAgentAutomationAction-KHA4MXUJ.js → createAgentAutomationAction-TBIIO5WT.js} +36 -35
- package/{createDialogAction-KWSBNAPJ.js → createDialogAction-KBKMYFTQ.js} +37 -36
- package/{createPageAction-HXKJ7OFG.js → createPageAction-3FGAPLJO.js} +37 -36
- package/{db-CS4ZJQKV.js → db-M7FU2GNK.js} +9 -6
- package/{dbSlice-ZJPDIFER.js → dbSlice-XRUZOGSU.js} +11 -11
- package/{deleteFile-Q3YDB4ML.js → deleteFile-6URDHYRB.js} +7 -7
- package/{dialogCommands-6KQEBHSG.js → dialogCommands-NRLCOPJR.js} +52 -52
- package/{dialogNotifyCommand-WIZFFEY3.js → dialogNotifyCommand-SHGPCU22.js} +13 -13
- package/{dialogSlice-HXPKFGRL.js → dialogSlice-DP2WTMNO.js} +34 -33
- package/{dialogUsageCommand-HTVPR2CX.js → dialogUsageCommand-W2WCSGKF.js} +1 -1
- package/{docCreateCommands-XZOLWBRC.js → docCreateCommands-YJRDA3RX.js} +48 -47
- package/{docDeleteCommands-ZSO4LGWE.js → docDeleteCommands-A5QIHZNF.js} +50 -49
- package/{docReadCommands-TTMXCDER.js → docReadCommands-CF2LTMYH.js} +48 -47
- package/{docStore-A2B3GH33.js → docStore-NDY3K3PK.js} +12 -12
- package/{docUpdateCommands-PRG6WOXL.js → docUpdateCommands-QRKV4ZXE.js} +48 -47
- package/fetchMessages-TQEUZD7H.js +1 -1
- package/{getPricing-YH3VMSVU.js → getPricing-LF5C4XSI.js} +5 -5
- package/{handleSendMessageAction-NWYG3Q72.js → handleSendMessageAction-IUGVVJ43.js} +65 -65
- package/{hostCredentialCreate-WS6D3EHT.js → hostCredentialCreate-X2ZFRXDR.js} +102 -103
- package/index.js +56 -18
- package/keys-RWF7UCB4.js +1 -1
- package/{localDialogRead-SVTPA5GY.js → localDialogRead-CCOCVGAP.js} +1 -1
- package/{localRecall-2J6QPOK2.js → localRecall-BDYKXB46.js} +3 -1
- package/{localRuntimeAdapter-TFYOA6YE.js → localRuntimeAdapter-KAG3T4LF.js} +109 -110
- package/{machineCommands-WFWV25IR.js → machineCommands-6NIQJE2A.js} +111 -112
- package/{machineWsRunDispatch-ZGXC3F2R.js → machineWsRunDispatch-RA5NOSGG.js} +100 -101
- package/{memberThunks-JRYNONYV.js → memberThunks-7Y3OYSJQ.js} +15 -15
- package/{memoryCommands-5WC3T66U.js → memoryCommands-BC6REPQB.js} +4 -4
- package/{models-CXINDUJA.js → models-H5NNZRLH.js} +2 -2
- package/{overlay-THLKYIWY.js → overlay-BBQZXGYI.js} +5 -3
- package/package.json +1 -1
- package/{projectArchive-ULJDLUA6.js → projectArchive-OIUP63MV.js} +42 -41
- package/{providerPresetApply-SHT2SUVB.js → providerPresetApply-WHAMP2D5.js} +6 -6
- package/{providerRegistry-TA7EGCVZ.js → providerRegistry-ZI2KORJ7.js} +6 -6
- package/{read-Q7GOHGNP.js → read-TYMBGEXO.js} +8 -8
- package/{readDocTool-Z5OQ6422.js → readDocTool-SKQVHBLO.js} +1 -1
- package/{readlineWorkspace-LTCV2BFW.js → readlineWorkspace-ZGC4KSXG.js} +3946 -4393
- package/{removeDialogAgentAction-U3F2MNAY.js → removeDialogAgentAction-F5QE2O2B.js} +16 -16
- package/{runAgentClientLoop-BVIEQUB3.js → runAgentClientLoop-NKUW2DSJ.js} +71 -67
- package/{runtimeDoctorCommands-I47JN4HS.js → runtimeDoctorCommands-RRKPBGVO.js} +14 -14
- package/{secretCommands-LJXOOYA7.js → secretCommands-KZWBZIYS.js} +4 -4
- package/{setDialogExtraReferencesAction-G3WSJ7EM.js → setDialogExtraReferencesAction-72L27ERM.js} +13 -13
- package/{setPrimaryDialogAgentAction-6FHAHZBB.js → setPrimaryDialogAgentAction-GJJDUSGJ.js} +16 -16
- package/{settingThunks-AXTBX3Q5.js → settingThunks-ZRGWVGZD.js} +15 -15
- package/{skillDiscovery-B5V23AXP.js → skillDiscovery-I37M5KJC.js} +3 -3
- package/{spaceCommands-IB6FKWIC.js → spaceCommands-MEH3HJBC.js} +53 -52
- package/{store-JRVN62NM.js → store-Z53ICFL3.js} +3 -1
- package/{streamAgentChatTurn-DNYFHBJM.js → streamAgentChatTurn-FJTUUXHJ.js} +89 -128
- package/{switchDialogAgentAction-UOFIAGPL.js → switchDialogAgentAction-IIJBPND3.js} +14 -14
- package/{tableCommands-HITDSLHS.js → tableCommands-FTAOCBTX.js} +11 -11
- package/{tools-JVOJ5HC4.js → tools-ZXHIAOSP.js} +58 -58
- package/tuiRestart-2IL37YIB.js +41 -0
- package/{tuiSummaryLlmCaller-7LWYTHLM.js → tuiSummaryLlmCaller-W2QN4VAC.js} +18 -18
- package/{updateCommands-RJVCRSBP.js → updateCommands-CPATDG6J.js} +8 -6
- package/{updateDialogTitleAction-Q57BOSXG.js → updateDialogTitleAction-JMKLKL4P.js} +36 -35
- package/{usageCommand-RVKHEPLU.js → usageCommand-2BF74MKF.js} +2 -2
- package/{usageRebuildCommand-GRAFOZF2.js → usageRebuildCommand-UHB55BQM.js} +3 -3
- package/{windowsSelfUpdate-KERHIAB4.js → windowsSelfUpdate-ZFD6J5HF.js} +2 -2
- package/chunk-2THCNKE4.js +0 -147
- package/chunk-KEPOVMF4.js +0 -91
- package/{accountResolver-EK2S4PWF.js → accountResolver-QETKNC7T.js} +3 -3
- package/{chunk-AGP3YSEC.js → chunk-4N6G2CKP.js} +3 -3
- package/{chunk-BLVSFYQ3.js → chunk-LISC7BD4.js} +3 -3
- package/{chunk-SNBZZPYH.js → chunk-OQHIVPG4.js} +3 -3
- package/{chunk-47ITIXO7.js → chunk-USGHJSGO.js} +3 -3
- package/{offlineMarxistsAgentCommand-4IC3Y4C6.js → offlineMarxistsAgentCommand-XVXUE6G5.js} +3 -3
- package/{workloadLifecycle-O2I3NZ2Q.js → workloadLifecycle-HFJIN5IZ.js} +8 -8
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
requireTokenUser
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import {
|
|
5
|
-
t
|
|
6
|
-
} from "./chunk-OB6DVWPF.js";
|
|
3
|
+
} from "./chunk-AUAJTAFM.js";
|
|
7
4
|
import {
|
|
8
5
|
resolveServerUrl
|
|
9
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-BIDSIRTS.js";
|
|
7
|
+
import {
|
|
8
|
+
t
|
|
9
|
+
} from "./chunk-262R3XNN.js";
|
|
10
10
|
|
|
11
11
|
// packages/cli/cliApiClient.ts
|
|
12
12
|
var CliApiError = class extends Error {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
selectCurrentServer,
|
|
3
3
|
selectRemoteServers
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ATEKLSLR.js";
|
|
5
5
|
import {
|
|
6
6
|
noloDeleteRequest,
|
|
7
7
|
noloWriteRequest
|
|
8
8
|
} from "./chunk-7Z6EW7AH.js";
|
|
9
9
|
import {
|
|
10
10
|
normalizeTimeFields
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-4N6G2CKP.js";
|
|
12
12
|
import {
|
|
13
13
|
selectIdentityUser,
|
|
14
14
|
selectIdentityUserId
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
canUsePlatformChatProvider,
|
|
11
11
|
parsePlatformChatCompletionResponse,
|
|
12
12
|
resolvePlatformChatProviderConfig
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-HSSBDZLD.js";
|
|
14
14
|
import {
|
|
15
15
|
COMPACTION_SUMMARY_SYSTEM_PROMPT,
|
|
16
16
|
classifySummaryError,
|
|
@@ -18,20 +18,20 @@ import {
|
|
|
18
18
|
isTruncatedCompletion,
|
|
19
19
|
selectSummaryRoute,
|
|
20
20
|
summaryCompletionTokens
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-L32W3PRP.js";
|
|
22
22
|
import {
|
|
23
23
|
isAbortError
|
|
24
24
|
} from "./chunk-7DPNBQSV.js";
|
|
25
|
+
import {
|
|
26
|
+
parseUserIdFromAuthToken
|
|
27
|
+
} from "./chunk-BIDSIRTS.js";
|
|
25
28
|
import {
|
|
26
29
|
resolvePlatformAuthToken,
|
|
27
30
|
resolvePlatformServerUrl
|
|
28
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-RTHFJZ6M.js";
|
|
29
32
|
import {
|
|
30
33
|
PLATFORM_HOSTED_DEEPSEEK_FLASH_MODEL
|
|
31
|
-
} from "./chunk-
|
|
32
|
-
import {
|
|
33
|
-
parseUserIdFromAuthToken
|
|
34
|
-
} from "./chunk-2THCNKE4.js";
|
|
34
|
+
} from "./chunk-OBSEKCVK.js";
|
|
35
35
|
|
|
36
36
|
// packages/core/accountSession/fetchAccountProfile.ts
|
|
37
37
|
async function fetchAccountProfile(input) {
|
|
@@ -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,
|
|
@@ -67,8 +67,6 @@ var HIGH_RISK_MUTATION_TOOL_NAMES = [
|
|
|
67
67
|
// 编排副作用:startAgentRun 会另起一次 run(子 run 的只读与否由调用方参数决定),
|
|
68
68
|
// controlAgentRun 能追加指令/停止它;只读 run 不应拿到这两个(review A-1)。
|
|
69
69
|
"startAgentRun",
|
|
70
|
-
"requestTaskReview",
|
|
71
|
-
"recordTaskReviewDecision",
|
|
72
70
|
"controlAgentRun",
|
|
73
71
|
// 受控云端执行:在用户拥有的云资源上跑任意命令,不可重放、副作用在云端。
|
|
74
72
|
// 硬边界:它永不进 DEFAULT_PRIVATE_NOLO_WORKSPACE_TOOLS(见该清单注释),
|
|
@@ -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-262R3XNN.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-7JGMNKKG.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";
|
|
@@ -767,6 +767,25 @@ function wrapTranscriptLineWithLayout(line, columns, hangingIndent = "", lineSou
|
|
|
767
767
|
break;
|
|
768
768
|
}
|
|
769
769
|
}
|
|
770
|
+
const CJK_CLOSING_OR_SEP_REGEX = /^[,。!?;:、)》】」』]$/;
|
|
771
|
+
let listMarkerEndToken = 0;
|
|
772
|
+
{
|
|
773
|
+
let plainPrefix = "";
|
|
774
|
+
let probe = 0;
|
|
775
|
+
while (probe < tokens.length && plainPrefix.length < 24) {
|
|
776
|
+
const tok = tokens[probe];
|
|
777
|
+
if (tok.kind === "char") {
|
|
778
|
+
plainPrefix += tok.value;
|
|
779
|
+
if (plainPrefix.length >= 2 && !/^(?:◈ ?)?\s*(?:\d*[.)]?|[•*+-])?\s*$/.test(plainPrefix)) {
|
|
780
|
+
break;
|
|
781
|
+
}
|
|
782
|
+
if (/^(?:◈\s+)?\s*(?:\d+[.)]|[•*+-])\s+$/.test(plainPrefix)) {
|
|
783
|
+
listMarkerEndToken = probe + 1;
|
|
784
|
+
}
|
|
785
|
+
}
|
|
786
|
+
probe += 1;
|
|
787
|
+
}
|
|
788
|
+
}
|
|
770
789
|
let plainCharIndexAtStart = 0;
|
|
771
790
|
let start = 0;
|
|
772
791
|
while (start < tokens.length) {
|
|
@@ -776,6 +795,10 @@ function wrapTranscriptLineWithLayout(line, columns, hangingIndent = "", lineSou
|
|
|
776
795
|
const currentPrefixWidth = isContinuation ? visibleWidth(hangingIndent) : prefixWidth;
|
|
777
796
|
const indentWidth = isContinuation ? visibleWidth(hangingIndent) : 0;
|
|
778
797
|
const maxSegmentWidth = Math.max(1, columns - indentWidth);
|
|
798
|
+
const nextContent = (from) => {
|
|
799
|
+
while (from < tokens.length && tokens[from].kind === "sgr") from += 1;
|
|
800
|
+
return tokens[from];
|
|
801
|
+
};
|
|
779
802
|
let width = 0;
|
|
780
803
|
let end = start;
|
|
781
804
|
let lastBreak = -1;
|
|
@@ -788,17 +811,40 @@ function wrapTranscriptLineWithLayout(line, columns, hangingIndent = "", lineSou
|
|
|
788
811
|
if (width + token.width > maxSegmentWidth && width > 0) break;
|
|
789
812
|
width += token.width;
|
|
790
813
|
end += 1;
|
|
791
|
-
if (
|
|
792
|
-
|
|
814
|
+
if (token.charIndex >= prefixCharCount && (isContinuation || end > listMarkerEndToken)) {
|
|
815
|
+
if (token.value === " " || token.value === " " || CJK_CLOSING_OR_SEP_REGEX.test(token.value) || token.value === "/") {
|
|
816
|
+
lastBreak = end;
|
|
817
|
+
}
|
|
793
818
|
}
|
|
794
819
|
}
|
|
795
820
|
let segmentEnd = end;
|
|
796
821
|
if (end < tokens.length && lastBreak > start) {
|
|
797
822
|
const overflowToken = tokens[end];
|
|
798
|
-
if (overflowToken.kind === "char" && overflowToken.value !== " " && overflowToken.width === 1) {
|
|
823
|
+
if (overflowToken.kind === "char" && overflowToken.value !== " " && (overflowToken.width === 1 || CJK_CLOSING_OR_SEP_REGEX.test(overflowToken.value)) && nextContent(lastBreak) !== overflowToken) {
|
|
799
824
|
segmentEnd = lastBreak;
|
|
800
825
|
}
|
|
801
826
|
}
|
|
827
|
+
const next = nextContent(segmentEnd);
|
|
828
|
+
if (next?.kind === "char" && CJK_CLOSING_OR_SEP_REGEX.test(next.value)) {
|
|
829
|
+
const minBacktrack = isContinuation ? start : Math.max(start, listMarkerEndToken);
|
|
830
|
+
let previous = segmentEnd - 1;
|
|
831
|
+
while (previous > minBacktrack) {
|
|
832
|
+
const tok = tokens[previous];
|
|
833
|
+
if (tok.kind === "sgr") {
|
|
834
|
+
previous -= 1;
|
|
835
|
+
continue;
|
|
836
|
+
}
|
|
837
|
+
if (CJK_CLOSING_OR_SEP_REGEX.test(tok.value)) {
|
|
838
|
+
previous -= 1;
|
|
839
|
+
continue;
|
|
840
|
+
}
|
|
841
|
+
break;
|
|
842
|
+
}
|
|
843
|
+
const preceding = tokens[previous];
|
|
844
|
+
if (previous > minBacktrack && preceding?.kind === "char" && preceding.value !== " " && preceding.value !== " ") {
|
|
845
|
+
segmentEnd = previous;
|
|
846
|
+
}
|
|
847
|
+
}
|
|
802
848
|
if (segmentEnd === start) segmentEnd = start + 1;
|
|
803
849
|
let segment = "";
|
|
804
850
|
let sawStyle = openingStyles.length > 0;
|
|
@@ -879,7 +925,7 @@ function wrapTranscriptLine(line, columns, hangingIndent = "") {
|
|
|
879
925
|
return wrapTranscriptLineWithLayout(line, columns, hangingIndent).map((r) => r.rendered);
|
|
880
926
|
}
|
|
881
927
|
function buildWindowTitle(title) {
|
|
882
|
-
const plain = stripAnsi2(title).replace(/[\x00-\x1f\x7f]+/g, " ");
|
|
928
|
+
const plain = stripAnsi2(title).replace(/[\x00-\x1f\x7f-\x9f]+/g, " ");
|
|
883
929
|
let truncated = "";
|
|
884
930
|
let width = 0;
|
|
885
931
|
const maxCols = 80;
|
|
@@ -1026,6 +1072,23 @@ async function startCallbackServer(options) {
|
|
|
1026
1072
|
var TIER_LEGACY = "legacy-tier";
|
|
1027
1073
|
var PROJECT_ONBOARD_MAX_ATTEMPTS = 5;
|
|
1028
1074
|
var PROJECT_ONBOARD_INTERVAL_MS = 2e3;
|
|
1075
|
+
async function fetchAntigravityAvailableModels(fetchImpl, accessToken) {
|
|
1076
|
+
const response = await fetchImpl(`${ANTIGRAVITY_CLOUD_CODE_BASE_URL}/v1internal:fetchAvailableModels`, {
|
|
1077
|
+
method: "POST",
|
|
1078
|
+
headers: {
|
|
1079
|
+
Authorization: `Bearer ${accessToken}`,
|
|
1080
|
+
"Content-Type": "application/json",
|
|
1081
|
+
"User-Agent": getAntigravityUserAgent()
|
|
1082
|
+
},
|
|
1083
|
+
body: "{}"
|
|
1084
|
+
});
|
|
1085
|
+
if (!response.ok) {
|
|
1086
|
+
const body = await response.text();
|
|
1087
|
+
throw new Error(`fetchAvailableModels failed: ${response.status} ${response.statusText}: ${body}`);
|
|
1088
|
+
}
|
|
1089
|
+
const payload = await response.json();
|
|
1090
|
+
return payload.models && typeof payload.models === "object" && !Array.isArray(payload.models) ? payload.models : {};
|
|
1091
|
+
}
|
|
1029
1092
|
var ANTIGRAVITY_LOAD_CODE_ASSIST_METADATA = Object.freeze({
|
|
1030
1093
|
ideType: "ANTIGRAVITY",
|
|
1031
1094
|
platform: "PLATFORM_UNSPECIFIED",
|
|
@@ -2363,12 +2426,13 @@ export {
|
|
|
2363
2426
|
wrapTranscriptLine,
|
|
2364
2427
|
buildWindowTitle,
|
|
2365
2428
|
wrapTextToLines,
|
|
2366
|
-
resolveClaudeCodeVersion,
|
|
2367
|
-
getClaudeCodeUserAgent,
|
|
2368
|
-
adoptRequiredClaudeCodeVersion,
|
|
2369
2429
|
startCallbackServer,
|
|
2430
|
+
fetchAntigravityAvailableModels,
|
|
2370
2431
|
runAntigravityOAuthLogin,
|
|
2371
2432
|
refreshAntigravityOAuthToken,
|
|
2433
|
+
resolveClaudeCodeVersion,
|
|
2434
|
+
getClaudeCodeUserAgent,
|
|
2435
|
+
adoptRequiredClaudeCodeVersion,
|
|
2372
2436
|
renderDeviceCodeDisplay,
|
|
2373
2437
|
generatePkcePair,
|
|
2374
2438
|
runOpenAiCodexDeviceCode,
|