nolo-cli 0.188.0-alpha.1 → 0.188.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-DIRZ5OVD.js → _executeModel-WQ7BV3G7.js} +53 -52
- package/{accountResolver-NQJ57BVU.js → accountResolver-42BYPMVY.js} +5 -5
- package/{action-GPPJC5TI.js → action-BHWB4MOK.js} +6 -5
- package/{addContentAction-XJQEJ4XW.js → addContentAction-BY375D35.js} +11 -10
- package/{addDialogAgentAction-5WZX5CAY.js → addDialogAgentAction-HOZYOCWC.js} +13 -12
- package/{agentDeleteCommand-YBR3WPMA.js → agentDeleteCommand-4DK6X4S4.js} +91 -90
- package/{agentEmailCommands-HCAJUPVT.js → agentEmailCommands-CYPIYPOK.js} +81 -80
- package/agentFavoriteCommands-GAFEXKKP.js +187 -0
- package/{agentListCommands-6N32GUGS.js → agentListCommands-MAG736RU.js} +53 -52
- package/{agentMachineCommands-ICARPI2D.js → agentMachineCommands-7VTOWHHD.js} +36 -35
- package/{agentProviderCommands-FXEMNSZ2.js → agentProviderCommands-XSZUCNIR.js} +5 -5
- package/{agentPullCommand-7LHBOEYH.js → agentPullCommand-LGASFNH7.js} +5 -5
- package/{agentRecordCommands-SCC37ID4.js → agentRecordCommands-VK3NEK5G.js} +74 -73
- package/{agentRunCommand-LIEO5YKT.js → agentRunCommand-7MFVUHWX.js} +79 -78
- package/{agentRunControl-SBHIICUQ.js → agentRunControl-6HHESKDB.js} +6 -6
- package/{agentRuntimeLocal-KMJAV6JL.js → agentRuntimeLocal-NAAYNHCW.js} +25 -24
- package/{agentSlice-XZODTFTF.js → agentSlice-TZRLTBEJ.js} +12 -11
- package/{appDeleteCommands-KDKRH2S2.js → appDeleteCommands-VDHCDVBF.js} +34 -33
- package/{appDeployCommands-YNZIYHDK.js → appDeployCommands-V6UTKVXR.js} +34 -33
- package/{appDeployStatusCommands-CPGP7ELY.js → appDeployStatusCommands-4UIFSEPC.js} +34 -33
- package/{appGetCommands-VXKSPF54.js → appGetCommands-XKDXLC3C.js} +34 -33
- package/{appListCommands-3QHVAMFI.js → appListCommands-BELRVX2Y.js} +34 -33
- package/{authCommand-NR6NELQ7.js → authCommand-RV5MQDWN.js} +27 -26
- package/{authCommands-PIUTADO5.js → authCommands-MZUXPRYJ.js} +9 -8
- package/{builtinSkillRegistry-RR35BY57.js → builtinSkillRegistry-7MBUY5EY.js} +4 -3
- package/{chromeCommands-EXJZ5HH5.js → chromeCommands-IVYZCGFL.js} +2 -2
- package/{chromeOpsCommands-ITBZEFBX.js → chromeOpsCommands-C46BXHEE.js} +8 -8
- package/{chunk-GCOCWLIE.js → chunk-2NAE7IVE.js} +2 -2
- package/{chunk-YBTP3PUM.js → chunk-4CEAZRZ4.js} +4 -4
- package/{chunk-SJGHZTLV.js → chunk-4MYCKDSI.js} +2 -2
- package/{chunk-KHMJI7GE.js → chunk-53RSTB7T.js} +5 -5
- package/{chunk-IBZ2HGY7.js → chunk-5DIFZFYF.js} +9 -9
- package/{chunk-K3TVMCV3.js → chunk-5DPVRMSY.js} +1 -1
- package/{chunk-ZZE2IJ5U.js → chunk-5HAPEKNH.js} +1 -1
- package/{chunk-EXAJ6DCR.js → chunk-5ZMIIR23.js} +3 -0
- package/{chunk-77IXQ7PZ.js → chunk-63JHZKGZ.js} +56 -54
- package/{chunk-62TBKWTV.js → chunk-7DQSP7JU.js} +1 -1
- package/{chunk-ESMZW5PE.js → chunk-A5BLRE3G.js} +1 -1
- package/{chunk-OKKTPAKC.js → chunk-ABMBNULR.js} +12 -12
- package/{chunk-PO4IRXQ7.js → chunk-ADTJJVDJ.js} +239 -72
- package/{chunk-CDLP56BS.js → chunk-B2N5GZBU.js} +17 -15
- package/{chunk-JWEXJ573.js → chunk-B6EZB6DW.js} +2 -2
- package/{chunk-MAYW6V3E.js → chunk-BA2FHPS4.js} +1 -1
- package/{chunk-CI5DVWU7.js → chunk-BTBT2566.js} +3 -3
- package/{chunk-ZKYRYOPF.js → chunk-CGKSIL4D.js} +12 -10
- package/{chunk-YPG7TUQD.js → chunk-CNMQATUF.js} +1 -1
- package/{chunk-NMFV26UG.js → chunk-CVMMWN6P.js} +6 -0
- package/{chunk-IF7V3CBU.js → chunk-DFF6B7P7.js} +4 -4
- package/{chunk-D2J22QSE.js → chunk-DYQXB46J.js} +10 -10
- package/{chunk-5EMSBTQ6.js → chunk-ECX3NKRD.js} +526 -224
- package/{chunk-4NCLVO4U.js → chunk-EVF6F3QU.js} +3 -3
- package/{chunk-V7QTD5MP.js → chunk-EXSR7DXT.js} +3 -3
- package/{chunk-W6E5IXIP.js → chunk-GTP6VNWH.js} +1 -1
- package/{chunk-IHQ7RMRS.js → chunk-GYVLAHA4.js} +6 -6
- package/{chunk-AA5GKA2X.js → chunk-HTLIKE5U.js} +5 -5
- package/{chunk-LHRW5KFN.js → chunk-I3HWJODB.js} +1 -1
- package/{chunk-KMSMIOOL.js → chunk-IIX6VWLW.js} +2 -2
- package/{chunk-GFHDRA4C.js → chunk-IOIPWEL4.js} +22 -22
- package/{chunk-UKDHLQHS.js → chunk-JG6IWEAW.js} +21 -19
- package/{chunk-BAWAKW7X.js → chunk-JGJVDP2W.js} +19 -19
- package/{chunk-NSASNKVD.js → chunk-K6TZSON4.js} +8 -6
- package/{chunk-U7BOZFAD.js → chunk-KDBKEYUW.js} +108 -81
- package/{chunk-NHEWV5FD.js → chunk-LBXUNNDS.js} +1 -1
- package/{chunk-OFFL4DCR.js → chunk-LEC5ALIN.js} +1 -1
- package/{chunk-GAGGEA7D.js → chunk-LEJSZV6V.js} +9 -9
- package/{chunk-APB44JID.js → chunk-MJWUBTK7.js} +1 -1
- package/{chunk-CR5WXQX7.js → chunk-N7E3LQ4A.js} +4 -4
- package/{chunk-SQOLMMXQ.js → chunk-NMDAOZRN.js} +57 -55
- package/{chunk-QNLRCES2.js → chunk-NVOYW6H4.js} +3 -3
- package/{chunk-HEYJFOL6.js → chunk-OHRDHS4N.js} +1 -1
- package/{chunk-D6222KXV.js → chunk-OUSUFO5W.js} +2 -2
- package/{chunk-FDLDMJTM.js → chunk-P64WRQYV.js} +1 -1
- package/{chunk-FSIJK37C.js → chunk-PD2YRFAI.js} +1 -1
- package/{chunk-P2BGRAW7.js → chunk-PVD7CRYV.js} +2 -2
- package/{chunk-JOUFPRE4.js → chunk-QU3TLYBR.js} +5 -5
- package/{chunk-YYKHIX4X.js → chunk-RJ3EYB5G.js} +1 -1
- package/{chunk-7XISFN2T.js → chunk-SM56M7N7.js} +1 -1
- package/{chunk-KVUMIWLL.js → chunk-TFSMPRAY.js} +28 -28
- package/{chunk-QSJLGX7K.js → chunk-TZLPJRNO.js} +15 -15
- package/{chunk-6JCZZDET.js → chunk-UC5RISH3.js} +135 -109
- package/{chunk-XLQ646HU.js → chunk-UGCQKKXW.js} +13 -13
- package/{chunk-YO3O7H2X.js → chunk-UNOILAZP.js} +14 -0
- package/{chunk-DEO4FC7J.js → chunk-UVWBGWBO.js} +9 -3
- package/{chunk-GUGCJ3DT.js → chunk-V62MBA65.js} +14 -14
- package/{chunk-IIGDVODZ.js → chunk-WAZ6BTSC.js} +1 -1
- package/{chunk-XAFCJN32.js → chunk-WFUIXNKC.js} +1 -1
- package/{chunk-H5EQ2VTC.js → chunk-WVGVGT44.js} +7 -7
- package/chunk-XJWWBO34.js +69 -0
- package/{chunk-MILA23IG.js → chunk-YARN6MCX.js} +20 -18
- package/{chunk-TDBNIGUJ.js → chunk-YHNZZIAH.js} +10 -10
- package/{chunk-3L5MSPWX.js → chunk-YIRADHSY.js} +1 -1
- package/{chunk-XI7DGLUK.js → chunk-ZSO5B6SW.js} +3 -3
- package/cliAuthorityBrokerClient-PM3U6Q6J.js +21 -0
- package/cliAuthorityStoreDriver-TKLXNNTG.js +20 -0
- package/{commandRegistry-I6CNP54W.js → commandRegistry-RM2Z2DVF.js} +95 -91
- package/{contentThunks-U5ZQJBCJ.js → contentThunks-RP4BYNUC.js} +27 -26
- package/{cooldownCommands-IUU3ZH3L.js → cooldownCommands-4XKJFEBW.js} +1 -1
- package/{createAgentAutomationAction-O5MAEWFH.js → createAgentAutomationAction-AYFAMQ5D.js} +30 -29
- package/{createDialogAction-6FEVBVYE.js → createDialogAction-NV5TEAIN.js} +29 -28
- package/{createPageAction-QJJX3V2F.js → createPageAction-FJGDX55N.js} +32 -31
- package/cursorProvider-YGGNMVWX.js +1 -1
- package/{dbSlice-6PVPY44C.js → dbSlice-QAUXABCC.js} +10 -9
- package/{deleteFile-YM6NDPAR.js → deleteFile-R5OBP7OM.js} +5 -5
- package/{dialogCommands-EDFRNBDA.js → dialogCommands-4BGV6DPD.js} +41 -40
- package/{dialogSlice-4J2R6S63.js → dialogSlice-ZUYNLTF6.js} +25 -24
- package/dialogUsageCommand-QTG6ILEJ.js +299 -0
- package/{docCreateCommands-J6RRFAAL.js → docCreateCommands-3CW75UF2.js} +33 -32
- package/{docDeleteCommands-4KIMCR5H.js → docDeleteCommands-NL4ZYMN5.js} +34 -33
- package/{docReadCommands-2UZQOOA7.js → docReadCommands-HXCNVDPQ.js} +33 -32
- package/{docStore-CMJSEKU5.js → docStore-EPAZ4HLD.js} +12 -11
- package/{docUpdateCommands-OLZENBFB.js → docUpdateCommands-RMVBAMDE.js} +33 -32
- package/{fetchMessages-IIJWQ3HR.js → fetchMessages-HWBVATSE.js} +4 -3
- package/{getPricing-2UPNNW3Y.js → getPricing-E2PLNWCR.js} +3 -3
- package/{handleSendMessageAction-ON2OCZ2O.js → handleSendMessageAction-5UH3DA6V.js} +46 -45
- package/index.js +9 -9
- package/keys-P4ZDOVJW.js +180 -0
- package/{localDialogRead-FSOMOPDZ.js → localDialogRead-CT5HGDMC.js} +1 -1
- package/{localRuntimeAdapter-KYWEHSY3.js → localRuntimeAdapter-LVPGHOJK.js} +71 -70
- package/{localRuntimeAuthority-BPN5OAQG.js → localRuntimeAuthority-NEGF3LRQ.js} +3 -3
- package/{localRuntimeDb-QIVAXMUL.js → localRuntimeDb-SDYFAEKA.js} +1 -1
- package/{machineCommands-PZYWWGXH.js → machineCommands-O6RDJGLV.js} +79 -78
- package/{machineWsRunDispatch-H7OSNRUO.js → machineWsRunDispatch-GVDQO742.js} +72 -71
- package/{memberThunks-AZINUM4S.js → memberThunks-QWAAGQBS.js} +167 -63
- package/package.json +1 -1
- package/{providerPresetApply-MBMGCNKZ.js → providerPresetApply-JGNMO2KX.js} +5 -5
- package/{providerRegistry-P4KYS6SE.js → providerRegistry-33J3ZYFJ.js} +5 -5
- package/{read-7JPIWRBQ.js → read-D6NEWSGG.js} +5 -5
- package/{readDocTool-AAQTB2Y3.js → readDocTool-NTAXO7SX.js} +1 -1
- package/{readlineWorkspace-DTAJBA43.js → readlineWorkspace-I5XZFI2E.js} +169 -122
- package/{removeDialogAgentAction-RMVRILLK.js → removeDialogAgentAction-YEPO5AYI.js} +15 -14
- package/{runAgentClientLoop-KW7EFI6H.js → runAgentClientLoop-LV2HYQPH.js} +49 -48
- package/{runtimeDoctorCommands-DXJH5HIB.js → runtimeDoctorCommands-NYBOTA6D.js} +20 -20
- package/{secretCommands-UZV7CPJY.js → secretCommands-N6CMCJDZ.js} +1 -1
- package/{setDialogExtraReferencesAction-L3V7JTMG.js → setDialogExtraReferencesAction-EH5GWDAJ.js} +12 -11
- package/{setPrimaryDialogAgentAction-X52JQGTJ.js → setPrimaryDialogAgentAction-PNWRK6IY.js} +15 -14
- package/{settingThunks-N6XFWPOU.js → settingThunks-7VCWB6P7.js} +12 -10
- package/{spaceCommands-AUZVTCVH.js → spaceCommands-ZUI4CTSO.js} +32 -31
- package/{streamAgentChatTurn-TGC24NGV.js → streamAgentChatTurn-ZCHIQR35.js} +67 -66
- package/{switchDialogAgentAction-ZJ5CGU7J.js → switchDialogAgentAction-23BFWJMV.js} +13 -12
- package/{tools-N77X52PL.js → tools-2DZDJWHZ.js} +43 -42
- package/{tuiSummaryLlmCaller-5D3XCH2C.js → tuiSummaryLlmCaller-FSOADMXK.js} +12 -12
- package/{updateCommands-MZCY6FXK.js → updateCommands-KE6LP3QX.js} +5 -5
- package/{updateDialogTitleAction-EH3LIVRX.js → updateDialogTitleAction-QZWVKVVW.js} +32 -31
- package/{windowsSelfUpdate-XV2MMQAC.js → windowsSelfUpdate-26TSFXEZ.js} +2 -2
- package/dialogUsageCommand-ZPESQB6W.js +0 -136
- package/{agentGrantCommands-LPVAJ6KR.js → agentGrantCommands-V5FOQKFD.js} +3 -3
- package/{chunk-I2QHI2XM.js → chunk-4YMD7B4Y.js} +3 -3
- package/{chunk-ZJ7UHBJS.js → chunk-5XBUWM6I.js} +3 -3
- package/{chunk-YXTMZQGX.js → chunk-7JWW65DU.js} +3 -3
- package/{chunk-43OFVLWJ.js → chunk-7UODCAWW.js} +8 -8
- package/{chunk-CSINZLH7.js → chunk-JIFYXQRD.js} +3 -3
- package/{chunk-LIQJTQRN.js → chunk-TRZP7JZ7.js} +3 -3
- package/{chunk-FKOCI2WR.js → chunk-UBLITLAZ.js} +3 -3
- package/{chunk-TDNAAXUQ.js → chunk-ZBCBFOWC.js} +3 -3
- package/{memoryCommands-YLT3ADGQ.js → memoryCommands-ASCE5STX.js} +3 -3
- package/{offlineMarxistsAgentCommand-3GLX4QQY.js → offlineMarxistsAgentCommand-2QTHJCHV.js} +3 -3
- package/{tableCommands-IVC5S7Y3.js → tableCommands-QYB64L5I.js} +7 -7
- package/{workloadLifecycle-2F5YKFGW.js → workloadLifecycle-JA75D6JR.js} +3 -3
|
@@ -9,10 +9,17 @@ import {
|
|
|
9
9
|
resolveRawAgentInput,
|
|
10
10
|
resolveServerUrl,
|
|
11
11
|
writeUsage
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-2NAE7IVE.js";
|
|
13
|
+
import {
|
|
14
|
+
parsePositiveFiniteNumberOrFallback
|
|
15
|
+
} from "./chunk-Y5GCAMGP.js";
|
|
13
16
|
import {
|
|
14
17
|
getReadableCliDb
|
|
15
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-7DQSP7JU.js";
|
|
19
|
+
import {
|
|
20
|
+
readDbRecord,
|
|
21
|
+
resolveAgentRecordFromHybridStore
|
|
22
|
+
} from "./chunk-GYVLAHA4.js";
|
|
16
23
|
import {
|
|
17
24
|
INSTABOX_RUN_CONFIG_ENV,
|
|
18
25
|
createCliLocalRuntimeAdapter,
|
|
@@ -31,12 +38,15 @@ import {
|
|
|
31
38
|
resolveFileWriteGateEnabled,
|
|
32
39
|
resolveLocalUserId,
|
|
33
40
|
validateInstaboxWorkspaceSelection
|
|
34
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-KDBKEYUW.js";
|
|
35
42
|
import {
|
|
36
43
|
clearCredentialAvailability,
|
|
37
44
|
readEffectiveCredentialEntry,
|
|
38
45
|
recordCredentialProbe
|
|
39
46
|
} from "./chunk-R4BMKAR5.js";
|
|
47
|
+
import {
|
|
48
|
+
isLocalCliAgentKey
|
|
49
|
+
} from "./chunk-NBTY7YJF.js";
|
|
40
50
|
import {
|
|
41
51
|
_appendEntityBatch,
|
|
42
52
|
_appendEvidenceBatch,
|
|
@@ -52,34 +62,24 @@ import {
|
|
|
52
62
|
putMemoryEvidenceVNext
|
|
53
63
|
} from "./chunk-TY3TIUJK.js";
|
|
54
64
|
import {
|
|
55
|
-
|
|
56
|
-
} from "./chunk-
|
|
57
|
-
import {
|
|
58
|
-
readDbRecord,
|
|
59
|
-
resolveAgentRecordFromHybridStore
|
|
60
|
-
} from "./chunk-IHQ7RMRS.js";
|
|
61
|
-
import {
|
|
62
|
-
isLocalCliAgentKey
|
|
63
|
-
} from "./chunk-NBTY7YJF.js";
|
|
65
|
+
resolveMachineId
|
|
66
|
+
} from "./chunk-S73EPYNC.js";
|
|
64
67
|
import {
|
|
65
68
|
CliProviderQuotaError
|
|
66
69
|
} from "./chunk-VL5KOY2C.js";
|
|
67
|
-
import {
|
|
68
|
-
resolveMachineId
|
|
69
|
-
} from "./chunk-S73EPYNC.js";
|
|
70
70
|
import {
|
|
71
71
|
extractGoogleValidationLink
|
|
72
72
|
} from "./chunk-BMQ2MJUK.js";
|
|
73
73
|
import {
|
|
74
74
|
resolveCliLocalRuntimeKeyCapability
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-UC5RISH3.js";
|
|
76
76
|
import {
|
|
77
77
|
isTransientFetchError
|
|
78
78
|
} from "./chunk-KFHREHUQ.js";
|
|
79
79
|
import {
|
|
80
80
|
parseUiCard,
|
|
81
81
|
uiCardFallback
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-WVGVGT44.js";
|
|
83
83
|
import {
|
|
84
84
|
isGatewayHttpStatus
|
|
85
85
|
} from "./chunk-NF64D32W.js";
|
|
@@ -88,10 +88,7 @@ import {
|
|
|
88
88
|
chooseMemoryOwners,
|
|
89
89
|
loadMemoryCandidatesFromDb,
|
|
90
90
|
resolveAgentMemoryPolicy
|
|
91
|
-
} from "./chunk-
|
|
92
|
-
import {
|
|
93
|
-
getDefaultCliLocalRuntimeDb
|
|
94
|
-
} from "./chunk-FDLDMJTM.js";
|
|
91
|
+
} from "./chunk-CGKSIL4D.js";
|
|
95
92
|
import {
|
|
96
93
|
API_REPORTED_COST_MULTIPLIER,
|
|
97
94
|
estimateMessagesTokens,
|
|
@@ -99,7 +96,15 @@ import {
|
|
|
99
96
|
resolveAgentContextWindow,
|
|
100
97
|
resolveOccupancy,
|
|
101
98
|
resolveOccupancyWindow
|
|
102
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-63JHZKGZ.js";
|
|
100
|
+
import {
|
|
101
|
+
isCliAuthorityBrokerProtocolError,
|
|
102
|
+
isCliAuthorityBrokerTimeoutError,
|
|
103
|
+
isCliAuthorityBrokerUnavailableError
|
|
104
|
+
} from "./chunk-5ZMIIR23.js";
|
|
105
|
+
import {
|
|
106
|
+
getDefaultCliLocalRuntimeDb
|
|
107
|
+
} from "./chunk-P64WRQYV.js";
|
|
103
108
|
import {
|
|
104
109
|
buildSkillDiscoveryContextLayer
|
|
105
110
|
} from "./chunk-7KWPNGVJ.js";
|
|
@@ -111,21 +116,15 @@ import {
|
|
|
111
116
|
LOCAL_AGENT_CONFIG_MISSING_CODE,
|
|
112
117
|
LOCAL_TURN_ABORTED_CODE,
|
|
113
118
|
readActionGate
|
|
114
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-ADTJJVDJ.js";
|
|
115
120
|
import {
|
|
116
121
|
resolveAgentRuntimeConfigFromRecord
|
|
117
|
-
} from "./chunk-
|
|
122
|
+
} from "./chunk-N7E3LQ4A.js";
|
|
118
123
|
import {
|
|
119
124
|
createThinkParserState,
|
|
120
125
|
flushThinkParser,
|
|
121
126
|
processThinkChunk
|
|
122
127
|
} from "./chunk-56GBUMO5.js";
|
|
123
|
-
import {
|
|
124
|
-
ATTACHMENT_PART_TYPE,
|
|
125
|
-
ATTACHMENT_PART_VERSION,
|
|
126
|
-
describeAttachmentForModel,
|
|
127
|
-
normalizeAttachmentPart
|
|
128
|
-
} from "./chunk-WJZOQR2J.js";
|
|
129
128
|
import {
|
|
130
129
|
PROBE_INTERVAL_MS,
|
|
131
130
|
QUOTA_ERROR_PATTERNS,
|
|
@@ -137,22 +136,28 @@ import {
|
|
|
137
136
|
resolveCooldownGate,
|
|
138
137
|
resolveCredentialKeyWithFallback
|
|
139
138
|
} from "./chunk-JLR5NWP2.js";
|
|
139
|
+
import {
|
|
140
|
+
ATTACHMENT_PART_TYPE,
|
|
141
|
+
ATTACHMENT_PART_VERSION,
|
|
142
|
+
describeAttachmentForModel,
|
|
143
|
+
normalizeAttachmentPart
|
|
144
|
+
} from "./chunk-WJZOQR2J.js";
|
|
140
145
|
import {
|
|
141
146
|
normalizeUsage
|
|
142
|
-
} from "./chunk-
|
|
147
|
+
} from "./chunk-K6TZSON4.js";
|
|
143
148
|
import {
|
|
144
149
|
isOAuthApiKeyRef
|
|
145
150
|
} from "./chunk-UKZX3NHN.js";
|
|
146
151
|
import {
|
|
147
152
|
clipCompactText
|
|
148
153
|
} from "./chunk-5MMAK75Q.js";
|
|
149
|
-
import {
|
|
150
|
-
compactWhitespace
|
|
151
|
-
} from "./chunk-DWLEOOGR.js";
|
|
152
154
|
import {
|
|
153
155
|
normalizeRuntimeToolPolicyOverride,
|
|
154
156
|
resolveEffectiveRuntimeToolPolicy
|
|
155
|
-
} from "./chunk-
|
|
157
|
+
} from "./chunk-TRZP7JZ7.js";
|
|
158
|
+
import {
|
|
159
|
+
compactWhitespace
|
|
160
|
+
} from "./chunk-DWLEOOGR.js";
|
|
156
161
|
import {
|
|
157
162
|
buildAgentsMdLayer,
|
|
158
163
|
buildMemoryOverlayLayer,
|
|
@@ -170,9 +175,11 @@ import {
|
|
|
170
175
|
parsePublicAgentId
|
|
171
176
|
} from "./chunk-M2EJHDJP.js";
|
|
172
177
|
import {
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
178
|
+
isAntigravityOAuthAgent
|
|
179
|
+
} from "./chunk-QU3TLYBR.js";
|
|
180
|
+
import {
|
|
181
|
+
toErrorMessage
|
|
182
|
+
} from "./chunk-HNMXYYJR.js";
|
|
176
183
|
import {
|
|
177
184
|
createRunActivityTracker,
|
|
178
185
|
createShellApprovalChild,
|
|
@@ -187,7 +194,7 @@ import {
|
|
|
187
194
|
serverOriginForDialog,
|
|
188
195
|
settleRunTerminalAuthoritatively,
|
|
189
196
|
spawnLocalBackgroundRun
|
|
190
|
-
} from "./chunk-
|
|
197
|
+
} from "./chunk-BTBT2566.js";
|
|
191
198
|
import {
|
|
192
199
|
formatAgentListCard,
|
|
193
200
|
formatFinishedRunCard,
|
|
@@ -199,10 +206,11 @@ import {
|
|
|
199
206
|
isAgentRunTerminalStatus
|
|
200
207
|
} from "./chunk-PJNFNEJE.js";
|
|
201
208
|
import {
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
209
|
+
resolveClientVersion
|
|
210
|
+
} from "./chunk-4YMD7B4Y.js";
|
|
211
|
+
import {
|
|
212
|
+
findModelConfig
|
|
213
|
+
} from "./chunk-GC64WGMD.js";
|
|
206
214
|
import {
|
|
207
215
|
getLogger,
|
|
208
216
|
normalizeError
|
|
@@ -220,22 +228,16 @@ import {
|
|
|
220
228
|
t,
|
|
221
229
|
toolLabel,
|
|
222
230
|
toolLabelVariants
|
|
223
|
-
} from "./chunk-
|
|
231
|
+
} from "./chunk-UNOILAZP.js";
|
|
224
232
|
import {
|
|
225
|
-
|
|
226
|
-
} from "./chunk-
|
|
233
|
+
createMemoryKey
|
|
234
|
+
} from "./chunk-ECX3NKRD.js";
|
|
227
235
|
import {
|
|
228
|
-
|
|
229
|
-
} from "./chunk-
|
|
230
|
-
import {
|
|
231
|
-
findModelConfig
|
|
232
|
-
} from "./chunk-GC64WGMD.js";
|
|
236
|
+
ulid
|
|
237
|
+
} from "./chunk-XJWWBO34.js";
|
|
233
238
|
import {
|
|
234
239
|
asTrimmedString
|
|
235
240
|
} from "./chunk-3EUW3WEO.js";
|
|
236
|
-
import {
|
|
237
|
-
toErrorMessage
|
|
238
|
-
} from "./chunk-HNMXYYJR.js";
|
|
239
241
|
import {
|
|
240
242
|
asOptionalTrimmedString
|
|
241
243
|
} from "./chunk-G3SUCT4W.js";
|
|
@@ -11376,7 +11378,7 @@ function isBalanceExhaustedError(error) {
|
|
|
11376
11378
|
|
|
11377
11379
|
// packages/cli/client/agentRun.ts
|
|
11378
11380
|
async function loadRunLocalAgentTurn() {
|
|
11379
|
-
const { runLocalAgentTurn } = await import("./agentRuntimeLocal-
|
|
11381
|
+
const { runLocalAgentTurn } = await import("./agentRuntimeLocal-NAAYNHCW.js");
|
|
11380
11382
|
return runLocalAgentTurn;
|
|
11381
11383
|
}
|
|
11382
11384
|
var stripDebugNoise = (s) => s.replace(/\s*raw="[\s\S]*"/g, "").replace(/\s*raw=\S+/g, "").replace(/\s*headers=\[[^\]]*\]/g, "").replace(/\s*headers=\S+/g, "").trim();
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-HNUWUO75.js";
|
|
4
4
|
import {
|
|
5
5
|
resolveToolImagePolicy
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-PVD7CRYV.js";
|
|
7
7
|
import {
|
|
8
8
|
accumulateToolCallDelta,
|
|
9
9
|
createThinkParserState,
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
stablePromptCacheKey,
|
|
31
31
|
toOpenAiCompatibleMessages,
|
|
32
32
|
toResponsesTools
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-OHRDHS4N.js";
|
|
34
34
|
import {
|
|
35
35
|
isMeaningfulChatCompletionOutput,
|
|
36
36
|
isMeaningfulResponsesOutput
|
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
resolvePlatformAuthToken,
|
|
48
48
|
resolvePlatformServerUrl,
|
|
49
49
|
resolveProviderTransportDecision
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-4YMD7B4Y.js";
|
|
51
51
|
import {
|
|
52
52
|
isRecord
|
|
53
53
|
} from "./chunk-KUG52IAP.js";
|
|
@@ -14,7 +14,7 @@ function buildCliLocalRuntimeDbEnv(env = process.env) {
|
|
|
14
14
|
};
|
|
15
15
|
}
|
|
16
16
|
async function getDefaultCliLocalRuntimeDb(options = {}) {
|
|
17
|
-
const { getDefaultCliLocalRuntimeDb: getAuthorityBackedDb } = await import("./localRuntimeAuthority-
|
|
17
|
+
const { getDefaultCliLocalRuntimeDb: getAuthorityBackedDb } = await import("./localRuntimeAuthority-NEGF3LRQ.js");
|
|
18
18
|
return getAuthorityBackedDb(options);
|
|
19
19
|
}
|
|
20
20
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./chunk-
|
|
2
|
+
toErrorMessage
|
|
3
|
+
} from "./chunk-HNMXYYJR.js";
|
|
4
4
|
import {
|
|
5
5
|
trimTrailingSlash
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-4YMD7B4Y.js";
|
|
7
7
|
import {
|
|
8
8
|
commandCodeModels,
|
|
9
9
|
kimiCodeModels,
|
|
@@ -16,8 +16,8 @@ import {
|
|
|
16
16
|
stepfunStepPlanModels
|
|
17
17
|
} from "./chunk-GC64WGMD.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./chunk-
|
|
19
|
+
asOptionalFiniteNumber
|
|
20
|
+
} from "./chunk-WWC7I6TA.js";
|
|
21
21
|
import {
|
|
22
22
|
asOptionalTrimmedString
|
|
23
23
|
} from "./chunk-G3SUCT4W.js";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
} from "./chunk-ZC3CMUKU.js";
|
|
11
11
|
import {
|
|
12
12
|
createKey
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-ECX3NKRD.js";
|
|
14
14
|
|
|
15
15
|
// packages/ai/tools/codeWorkDiscipline.ts
|
|
16
16
|
var CODE_WORK_DISCIPLINE_BODY = `## \u6548\u7387\u4F18\u5148\uFF08\u7701 token\uFF09
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
listUserRecordsFromServers,
|
|
8
8
|
readDbRecordFromServers,
|
|
9
9
|
readLiveDbRecordAfterTombstoneMerge
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-5DPVRMSY.js";
|
|
11
11
|
import {
|
|
12
12
|
parsePositiveFiniteNumberOrFallback
|
|
13
13
|
} from "./chunk-Y5GCAMGP.js";
|
|
@@ -21,7 +21,18 @@ import {
|
|
|
21
21
|
import {
|
|
22
22
|
buildDialogAttachmentPlan,
|
|
23
23
|
extractFileContentIds
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-LEC5ALIN.js";
|
|
25
|
+
import {
|
|
26
|
+
getDefaultCliLocalRuntimeDb
|
|
27
|
+
} from "./chunk-LEJSZV6V.js";
|
|
28
|
+
import {
|
|
29
|
+
isLevelLockError
|
|
30
|
+
} from "./chunk-AWVFQMOV.js";
|
|
31
|
+
import {
|
|
32
|
+
resolveLocalDialogDbCandidates,
|
|
33
|
+
resolveNoloHome,
|
|
34
|
+
resolveServerDbPath
|
|
35
|
+
} from "./chunk-GLKOYSRU.js";
|
|
25
36
|
import {
|
|
26
37
|
createClientLogger
|
|
27
38
|
} from "./chunk-QQ56R7KS.js";
|
|
@@ -32,28 +43,19 @@ import {
|
|
|
32
43
|
boundSummaryText,
|
|
33
44
|
buildDialogReadEnvelope,
|
|
34
45
|
projectDialogReadForAgent
|
|
35
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-UBLITLAZ.js";
|
|
36
47
|
import {
|
|
37
48
|
asRecordOrEmpty
|
|
38
49
|
} from "./chunk-KX6YBIHG.js";
|
|
39
50
|
import {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
} from "./chunk-I42VC5KR.js";
|
|
51
|
+
toErrorMessage
|
|
52
|
+
} from "./chunk-HNMXYYJR.js";
|
|
43
53
|
import {
|
|
44
54
|
resolveRunsDir
|
|
45
|
-
} from "./chunk-
|
|
46
|
-
import {
|
|
47
|
-
getDefaultCliLocalRuntimeDb
|
|
48
|
-
} from "./chunk-GAGGEA7D.js";
|
|
49
|
-
import {
|
|
50
|
-
isLevelLockError
|
|
51
|
-
} from "./chunk-AWVFQMOV.js";
|
|
55
|
+
} from "./chunk-BTBT2566.js";
|
|
52
56
|
import {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
resolveServerDbPath
|
|
56
|
-
} from "./chunk-GLKOYSRU.js";
|
|
57
|
+
isRecord
|
|
58
|
+
} from "./chunk-KUG52IAP.js";
|
|
57
59
|
import {
|
|
58
60
|
parseUserIdFromAuthToken,
|
|
59
61
|
readOption,
|
|
@@ -62,21 +64,19 @@ import {
|
|
|
62
64
|
resolveServerCandidates,
|
|
63
65
|
resolveServerUrl
|
|
64
66
|
} from "./chunk-WACI5I6V.js";
|
|
67
|
+
import {
|
|
68
|
+
DEFAULT_LOCAL_API_ORIGIN
|
|
69
|
+
} from "./chunk-4SN6J65J.js";
|
|
65
70
|
import {
|
|
66
71
|
t
|
|
67
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-UNOILAZP.js";
|
|
68
73
|
import {
|
|
69
|
-
|
|
70
|
-
|
|
74
|
+
asNonEmptyStringArray,
|
|
75
|
+
asTrimmedNonEmptyStringArray
|
|
76
|
+
} from "./chunk-I42VC5KR.js";
|
|
71
77
|
import {
|
|
72
78
|
asTrimmedString
|
|
73
79
|
} from "./chunk-3EUW3WEO.js";
|
|
74
|
-
import {
|
|
75
|
-
toErrorMessage
|
|
76
|
-
} from "./chunk-HNMXYYJR.js";
|
|
77
|
-
import {
|
|
78
|
-
DEFAULT_LOCAL_API_ORIGIN
|
|
79
|
-
} from "./chunk-4SN6J65J.js";
|
|
80
80
|
import {
|
|
81
81
|
asOptionalTrimmedString
|
|
82
82
|
} from "./chunk-G3SUCT4W.js";
|
|
@@ -780,7 +780,7 @@ function isExplicitDialogIdMismatch(meta, dialogId) {
|
|
|
780
780
|
return meta && typeof meta === "object" && "id" in meta && meta.id != null && String(meta.id) !== dialogId;
|
|
781
781
|
}
|
|
782
782
|
async function readDialogFromLocalDb(dialogKey, dialogId, limit, readLocalDialog) {
|
|
783
|
-
const reader = readLocalDialog ?? (await import("./localDialogRead-
|
|
783
|
+
const reader = readLocalDialog ?? (await import("./localDialogRead-CT5HGDMC.js")).readDialogFromLocalDb;
|
|
784
784
|
const result = await reader({ dialogKey, dialogId, limit });
|
|
785
785
|
return {
|
|
786
786
|
...result,
|
|
@@ -795,7 +795,7 @@ async function readLocalDialogAtDbPathDefault(args) {
|
|
|
795
795
|
);
|
|
796
796
|
}
|
|
797
797
|
const db = await getDefaultCliLocalRuntimeDb();
|
|
798
|
-
const { readDialogFromLocalDb: reader } = await import("./localDialogRead-
|
|
798
|
+
const { readDialogFromLocalDb: reader } = await import("./localDialogRead-CT5HGDMC.js");
|
|
799
799
|
return reader({ ...args, db });
|
|
800
800
|
}
|
|
801
801
|
async function readDialogFromLocalDbWithFallback(args) {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createCliLocalRuntimeAdapter,
|
|
3
3
|
summarizeEndpoint
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-KDBKEYUW.js";
|
|
5
5
|
import {
|
|
6
6
|
clipMultilineText
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-WVGVGT44.js";
|
|
8
8
|
import {
|
|
9
9
|
runLocalAgentTurn
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ADTJJVDJ.js";
|
|
11
11
|
import {
|
|
12
12
|
applyToolSurfaceConstraints
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-UBLITLAZ.js";
|
|
14
14
|
import {
|
|
15
15
|
resolveLocalRuntimeEnvFromPolicy
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-TRZP7JZ7.js";
|
|
17
17
|
import {
|
|
18
18
|
asRecordOrEmpty
|
|
19
19
|
} from "./chunk-KX6YBIHG.js";
|
|
@@ -21,11 +21,11 @@ import {
|
|
|
21
21
|
ownedAgentKey
|
|
22
22
|
} from "./chunk-M2EJHDJP.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./chunk-
|
|
24
|
+
toErrorMessage
|
|
25
|
+
} from "./chunk-HNMXYYJR.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./chunk-
|
|
27
|
+
isRecord
|
|
28
|
+
} from "./chunk-KUG52IAP.js";
|
|
29
29
|
import {
|
|
30
30
|
parseUserIdFromAuthToken
|
|
31
31
|
} from "./chunk-WACI5I6V.js";
|
|
@@ -38,16 +38,16 @@ import {
|
|
|
38
38
|
} from "./chunk-Y6ROFCZO.js";
|
|
39
39
|
import {
|
|
40
40
|
t
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-UNOILAZP.js";
|
|
42
42
|
import {
|
|
43
|
-
|
|
44
|
-
} from "./chunk-
|
|
43
|
+
asTrimmedNonEmptyStringArray
|
|
44
|
+
} from "./chunk-I42VC5KR.js";
|
|
45
|
+
import {
|
|
46
|
+
asOptionalPositiveFiniteNumber
|
|
47
|
+
} from "./chunk-U6VC4MU4.js";
|
|
45
48
|
import {
|
|
46
49
|
asTrimmedString
|
|
47
50
|
} from "./chunk-3EUW3WEO.js";
|
|
48
|
-
import {
|
|
49
|
-
toErrorMessage
|
|
50
|
-
} from "./chunk-HNMXYYJR.js";
|
|
51
51
|
import {
|
|
52
52
|
asOptionalTrimmedString
|
|
53
53
|
} from "./chunk-G3SUCT4W.js";
|