nolo-cli 0.211.0 → 0.212.0-alpha.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-VVQEOY3D.js → _executeModel-KE6MBNUJ.js} +51 -48
- package/{action-U235TV4P.js → action-DF5UYSJF.js} +4 -4
- package/{addContentAction-7C76J7ST.js → addContentAction-N2YC5IL3.js} +8 -8
- package/{addDialogAgentAction-KTYANUEC.js → addDialogAgentAction-3NKVQCEC.js} +15 -12
- package/{agentDeleteCommand-WHRU6VDJ.js → agentDeleteCommand-NWK7VU4N.js} +71 -67
- package/{agentEmailCommands-ALLHXPW3.js → agentEmailCommands-UZ4DHEX2.js} +77 -72
- package/{agentListCommands-POKMEKMS.js → agentListCommands-HE7L2A6L.js} +190 -77
- package/{agentMachineCommands-WJLZLBPI.js → agentMachineCommands-6TE4MBMP.js} +30 -29
- package/{agentProviderCommands-MN3ABDME.js → agentProviderCommands-Q5O33MED.js} +33 -4
- package/{agentRecordCommands-OULZW3KM.js → agentRecordCommands-L3QQ7HZ4.js} +66 -61
- package/{agentRunCommand-ZNG4LGNQ.js → agentRunCommand-2IFGQHCO.js} +68 -64
- package/{agentRunControl-AF7BMR22.js → agentRunControl-OI3LOENH.js} +7 -6
- package/{agentRuntimeLocal-YMUHFV5M.js → agentRuntimeLocal-HL526DNQ.js} +28 -25
- package/{agentSlice-WNGUIMQZ.js → agentSlice-TMYP2UEA.js} +12 -12
- package/{appDeleteCommands-6MXPLAVF.js → appDeleteCommands-ZERW4AXY.js} +30 -29
- package/{appDeployCommands-ERRSVASW.js → appDeployCommands-DUWSMYHL.js} +30 -29
- package/{appDeployStatusCommands-ULICISLI.js → appDeployStatusCommands-N2KIE4BF.js} +30 -29
- package/{appGetCommands-WYYYWROF.js → appGetCommands-YVR4NPVY.js} +30 -29
- package/{appListCommands-DFCUCRCV.js → appListCommands-JS6HOHZS.js} +30 -29
- package/{authCommand-ZJMWXFMA.js → authCommand-FE2C3ZUM.js} +14 -14
- package/{authCommands-WK6E42L2.js → authCommands-HV3EAU3V.js} +2 -2
- package/{builtinSkillRegistry-HH75G5J3.js → builtinSkillRegistry-3YOIGEF6.js} +5 -4
- package/{chunk-JKW6LERJ.js → chunk-22CIEBYO.js} +14 -14
- package/{chunk-6HVBI6TI.js → chunk-25JZEIXN.js} +1 -218
- package/{chunk-TRZP7JZ7.js → chunk-2QHFH3DR.js} +1 -0
- package/{chunk-4LEGTOSR.js → chunk-3AKFVZ2I.js} +1 -1
- package/{chunk-XE4Q46FF.js → chunk-3CGG2PAL.js} +1 -1
- package/{chunk-25M2K6OA.js → chunk-3FOQHGHN.js} +3 -3
- package/{chunk-BSISWVB4.js → chunk-4I7ERB7F.js} +1 -1
- package/{chunk-TCTSYFDM.js → chunk-4KH4J3G5.js} +19 -6
- package/{chunk-NEZGPBL7.js → chunk-5AQR3DGV.js} +2 -2
- package/{chunk-YLTLB5A7.js → chunk-5RYBGBQH.js} +7 -6
- package/{chunk-RIALQUSF.js → chunk-6NSSLV67.js} +5 -5
- package/{chunk-RXCCWVA2.js → chunk-6OQUPIQF.js} +3 -3
- package/chunk-6VLJ6YA7.js +11751 -0
- package/{chunk-27E2CBBY.js → chunk-7OCO4TDT.js} +1 -1
- package/chunk-7RFNTILS.js +2213 -0
- package/{chunk-4WCEC56C.js → chunk-AVTVGMDY.js} +1 -1
- package/{chunk-3J3U3KXB.js → chunk-B7NJ3T4A.js} +4 -4
- package/{chunk-UMEGDH6A.js → chunk-BFM34N54.js} +7 -7
- package/chunk-CJEIOP3E.js +0 -0
- package/{chunk-YXOBCDNW.js → chunk-CJRONOYL.js} +5 -5
- package/{chunk-LT3EAHJY.js → chunk-CQ46IRNN.js} +38 -36
- package/{chunk-NTSRCTUX.js → chunk-CTPXME7U.js} +2 -2
- package/{chunk-M4NTDZG3.js → chunk-D5RCRX4A.js} +134 -141
- package/{chunk-25OB36GU.js → chunk-DM6UMOEL.js} +4 -4
- package/{chunk-TPCDYNJK.js → chunk-EYUBHHFB.js} +1 -1
- package/{chunk-Y6M7KJOA.js → chunk-EZFQ6XRV.js} +2 -2
- package/{chunk-ZOO3WJIE.js → chunk-FHU44LN3.js} +711 -40
- package/chunk-FY7F4Q6X.js +127 -0
- package/chunk-G7MLNNEX.js +84 -0
- package/{chunk-RYWO5AKN.js → chunk-GNDJKC4B.js} +10 -10
- package/{chunk-V3M6IXQI.js → chunk-GPO7FCEZ.js} +187 -36
- package/{chunk-RQ22OZD7.js → chunk-H2TJUNCH.js} +1 -1
- package/{chunk-C2XZM3K4.js → chunk-HIRC32DV.js} +5 -24
- package/{chunk-QQM464AL.js → chunk-HPFCI4SK.js} +3 -3
- package/chunk-HRMJUN5J.js +26 -0
- package/{chunk-HD3WR3TD.js → chunk-IAPCBNEE.js} +1 -1
- package/{chunk-XDMGY5IU.js → chunk-IF45XG7K.js} +220 -9
- package/{chunk-NLT32XBZ.js → chunk-IIQ6JGRI.js} +2 -2
- package/{chunk-OP7PTBAJ.js → chunk-IJXYFTV7.js} +8 -8
- package/{chunk-IIHY4ZAI.js → chunk-INSBKSBB.js} +8 -4
- package/{chunk-PAFTGNWA.js → chunk-JIT6FSXJ.js} +1 -1
- package/{chunk-WTKYP6QO.js → chunk-JTDORD5P.js} +5 -5
- package/{chunk-ECX3NKRD.js → chunk-JY5NGFFH.js} +11 -0
- package/chunk-KC4XDTT3.js +227 -0
- package/{chunk-PLYWH7XM.js → chunk-KIM6CLW5.js} +7 -7
- package/{chunk-SCYQJPGA.js → chunk-M6RL5JCD.js} +147 -20
- package/chunk-MMA3LZ3W.js +105 -0
- package/{chunk-I5PBXF7O.js → chunk-MMNYUVLW.js} +1 -1
- package/{chunk-NHQKWPLP.js → chunk-NJR3WKVP.js} +24 -22
- package/{chunk-W5VC7F7V.js → chunk-NOMIGOST.js} +59 -60
- package/{chunk-WI6OGHXJ.js → chunk-NRFKLKRU.js} +5 -5
- package/{chunk-NXCGNS4N.js → chunk-OHNELDTO.js} +1 -1
- package/{chunk-7IYBN7IA.js → chunk-OOF4UPC5.js} +22 -13
- package/{chunk-UIOEHFF6.js → chunk-OQHIVPG4.js} +1 -0
- package/{chunk-X4F26D5K.js → chunk-P5L7CXOC.js} +58 -33
- package/{chunk-5ORJGHTL.js → chunk-PDGKOTO7.js} +5 -5
- package/{chunk-UCPAVEQB.js → chunk-PYRUW7XN.js} +1 -1
- package/{chunk-SU3QL7YG.js → chunk-QT6PKHYJ.js} +1 -1
- package/{chunk-SN5XE6GQ.js → chunk-RPQXPZZF.js} +4 -4
- package/{chunk-ZN5AH4BY.js → chunk-RU4SD66C.js} +6 -6
- package/{chunk-YKFP6UGT.js → chunk-SOHTHFV2.js} +14 -14
- package/{chunk-CKOO42G5.js → chunk-UHJGXRJ4.js} +4 -4
- package/{chunk-CVCRAO6Q.js → chunk-UTV2AYEG.js} +9 -7
- package/{chunk-DQLB4NQ3.js → chunk-VPAZOH2D.js} +2 -2
- package/{chunk-MBS6CTZB.js → chunk-VZKUKCA6.js} +236 -1993
- package/{chunk-LNYHAKBP.js → chunk-W4S457LU.js} +1 -1
- package/chunk-WPORQFYN.js +74 -0
- package/{chunk-ET2CWLIJ.js → chunk-WXYLV624.js} +3 -3
- package/chunk-XFYFMTOM.js +92 -0
- package/{chunk-NV572QM3.js → chunk-YJMRHHGY.js} +15 -15
- package/{chunk-JBOUVTZX.js → chunk-YOIW77S2.js} +13 -2
- package/{chunk-ADBWFYJD.js → chunk-YPD3VJZW.js} +9 -9
- package/{chunk-DA7CTWT4.js → chunk-YWSEPJ7C.js} +5 -5
- package/{chunk-3V2QMRNN.js → chunk-ZL5RAEEB.js} +3 -3
- package/cliAgentConfigHelpers-WJBZQTLW.js +41 -0
- package/{commandRegistry-FI2IOQ3U.js → commandRegistry-VVMTPFAX.js} +85 -81
- package/{contentThunks-5LKNNDGY.js → contentThunks-N52O67MI.js} +25 -24
- package/{createAgentAutomationAction-TI4QG4CY.js → createAgentAutomationAction-ZC57YRSV.js} +25 -24
- package/{createDialogAction-TJ3JKLO4.js → createDialogAction-VQW5WDYX.js} +27 -26
- package/{createPageAction-GKXT6WEH.js → createPageAction-M5VDA7SC.js} +26 -25
- package/{dbSlice-LPMZ2DGJ.js → dbSlice-HP7G4LX3.js} +7 -7
- package/{deleteFile-EPUQHKPA.js → deleteFile-7VQGLK2V.js} +3 -3
- package/{dialogCommands-IWPXIZ5P.js → dialogCommands-JHMR2N2Y.js} +32 -30
- package/{dialogSlice-ZWNNS7GZ.js → dialogSlice-GRSVGDTF.js} +23 -22
- package/{dialogUsageCommand-ZCPPHPJ5.js → dialogUsageCommand-7KCPYGHG.js} +1 -1
- package/{docCreateCommands-HFSPKJSI.js → docCreateCommands-F2K3UPSQ.js} +28 -27
- package/{docDeleteCommands-CRL62POH.js → docDeleteCommands-XGXB5RFT.js} +29 -28
- package/{docReadCommands-QOTOX3XW.js → docReadCommands-7HWZZV6J.js} +28 -27
- package/{docStore-WYLRB7ED.js → docStore-KNZK6Y2G.js} +10 -10
- package/{docUpdateCommands-7BMH4MCA.js → docUpdateCommands-OZZ7NQII.js} +28 -27
- package/{fetchMessages-YY4SATNR.js → fetchMessages-M3QU7ZCQ.js} +1 -1
- package/{getPricing-OQXBJ6VZ.js → getPricing-2MNMXEVG.js} +3 -3
- package/{handleSendMessageAction-P27YP2DQ.js → handleSendMessageAction-SHIH74GJ.js} +46 -44
- package/hostCredentialCreate-X64WK4JD.js +357 -0
- package/index.js +5 -5
- package/{keys-P4ZDOVJW.js → keys-BEGDOTRL.js} +3 -1
- package/{localDialogRead-5VCMQQZF.js → localDialogRead-XRLAH4CZ.js} +1 -1
- package/{localRuntimeAdapter-GP6ZSSO3.js → localRuntimeAdapter-A7K3ABA6.js} +73 -66
- package/{machineCommands-6Z6H4BFX.js → machineCommands-DE3MR7CJ.js} +65 -60
- package/{machineWsRunDispatch-F2ZIXMYM.js → machineWsRunDispatch-R26P5V36.js} +65 -60
- package/{memberThunks-YSEFJF47.js → memberThunks-7WJAY5V6.js} +8 -8
- package/package.json +1 -1
- package/{projectArchive-PIGEOX3D.js → projectArchive-GGL5HLMD.js} +26 -25
- package/{providerPresetApply-ZYMLQA46.js → providerPresetApply-YXGV6NXB.js} +4 -4
- package/{providerRegistry-E34XWDLJ.js → providerRegistry-S6UL6UNA.js} +4 -4
- package/{read-DIIQBOOO.js → read-4VZQODSN.js} +3 -3
- package/{readDocTool-HXYGOEA7.js → readDocTool-AVD32RUJ.js} +1 -1
- package/{readlineWorkspace-UG25G7KC.js → readlineWorkspace-XKYKNL2I.js} +157 -100
- package/{removeDialogAgentAction-ALJDUJ2E.js → removeDialogAgentAction-FKL4BYMR.js} +17 -14
- package/{runAgentClientLoop-IO5F7TCZ.js → runAgentClientLoop-V7E2WBVM.js} +49 -46
- package/{runtimeDoctorCommands-PGAA47G5.js → runtimeDoctorCommands-QAI3MBKQ.js} +6 -6
- package/{secretCommands-ZCZ4KVET.js → secretCommands-4QS3HCA2.js} +3 -3
- package/{setDialogExtraReferencesAction-O3SVMD5A.js → setDialogExtraReferencesAction-TLIOLWWI.js} +10 -10
- package/{setPrimaryDialogAgentAction-HE7RVFFF.js → setPrimaryDialogAgentAction-2OLWRFYR.js} +18 -15
- package/{settingThunks-BWWJQG4L.js → settingThunks-UGBPCNYF.js} +12 -11
- package/{spaceCommands-UAELIFEI.js → spaceCommands-4KSLKVNF.js} +28 -27
- package/{streamAgentChatTurn-VUKZQYJR.js → streamAgentChatTurn-7FR7X2NU.js} +57 -54
- package/{switchDialogAgentAction-3VZS7SOS.js → switchDialogAgentAction-UZSAG2N5.js} +15 -12
- package/{tools-VRXJAVYI.js → tools-ZLKCC25W.js} +43 -40
- package/{tuiSummaryLlmCaller-TGCHZLSW.js → tuiSummaryLlmCaller-WC54MVGP.js} +10 -10
- package/{updateCommands-Q6CYAEYJ.js → updateCommands-4744PL3P.js} +3 -1
- package/{updateDialogTitleAction-MULWCJCW.js → updateDialogTitleAction-U53ZT7PJ.js} +38 -70
- package/usageCommand-F4IPVMIZ.js +32 -0
- package/usageRebuildCommand-HAW2AD5N.js +626 -0
- package/chunk-4LCOCOR5.js +0 -50
- package/chunk-7AUQ3WCW.js +0 -51
- package/chunk-ZRAU6T47.js +0 -56
- package/{agentFavoriteCommands-GAFEXKKP.js → agentFavoriteCommands-EDK743YA.js} +1 -1
- package/{agentGrantCommands-V5FOQKFD.js → agentGrantCommands-RQWK2TEV.js} +1 -1
- package/{agentPullCommand-2JMJP5BS.js → agentPullCommand-6EM3URVK.js} +1 -1
- package/{chunk-BTYQAODF.js → chunk-CZM5YTZ7.js} +3 -3
- package/{chunk-A2ZMIRLN.js → chunk-INN4LTAJ.js} +5 -5
- package/{chunk-XPHZK3PJ.js → chunk-JNKSDZFS.js} +3 -3
- package/{chunk-PV6JJAUB.js → chunk-TCZHTTUU.js} +8 -8
- package/{chunk-AKE53VMW.js → chunk-ZCWRMUWT.js} +0 -0
- package/{tableCommands-D7WR4QSM.js → tableCommands-MP6VFSVT.js} +3 -3
|
@@ -1,3 +1,19 @@
|
|
|
1
|
+
import {
|
|
2
|
+
defaultLoopbackRequest
|
|
3
|
+
} from "./chunk-VP3BINY7.js";
|
|
4
|
+
import {
|
|
5
|
+
clearCredentialAvailability,
|
|
6
|
+
markCredentialUnavailable,
|
|
7
|
+
readCredentialEntry,
|
|
8
|
+
readEffectiveCredentialEntry,
|
|
9
|
+
recordCredentialProbe
|
|
10
|
+
} from "./chunk-GSQNH63I.js";
|
|
11
|
+
import {
|
|
12
|
+
CREDENTIAL_STORE_SESSION_FALLBACK_WARNING,
|
|
13
|
+
OAUTH_PROVIDER_REFS,
|
|
14
|
+
buildLocalAgentLookupKeys,
|
|
15
|
+
getSharedSessionCredentialBroker
|
|
16
|
+
} from "./chunk-IF45XG7K.js";
|
|
1
17
|
import {
|
|
2
18
|
customNativeAuthHeaders,
|
|
3
19
|
detectDeclaredCustomNativeWire,
|
|
@@ -15,26 +31,16 @@ import {
|
|
|
15
31
|
resolveClaudeCodeVersion,
|
|
16
32
|
resolveServerSyncConfig,
|
|
17
33
|
xaiRefresh
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import {
|
|
20
|
-
defaultLoopbackRequest
|
|
21
|
-
} from "./chunk-VP3BINY7.js";
|
|
34
|
+
} from "./chunk-RPQXPZZF.js";
|
|
22
35
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./chunk-GSQNH63I.js";
|
|
29
|
-
import {
|
|
30
|
-
OAUTH_PROVIDER_REFS,
|
|
31
|
-
buildLocalAgentLookupKeys
|
|
32
|
-
} from "./chunk-7AUQ3WCW.js";
|
|
36
|
+
extractLastUserText,
|
|
37
|
+
localTurnHasSubjectRefs,
|
|
38
|
+
resolveLocalUserId,
|
|
39
|
+
withResolvedRuntimeToolSurface
|
|
40
|
+
} from "./chunk-G7MLNNEX.js";
|
|
33
41
|
import {
|
|
34
42
|
LOCAL_CODEX_AGENT_ID,
|
|
35
|
-
LOCAL_CODEX_AGENT_KEY
|
|
36
|
-
NOLO_DEFAULT_AGENT_ID,
|
|
37
|
-
NOLO_DEFAULT_AGENT_KEY
|
|
43
|
+
LOCAL_CODEX_AGENT_KEY
|
|
38
44
|
} from "./chunk-NBTY7YJF.js";
|
|
39
45
|
import {
|
|
40
46
|
CliProviderQuotaError,
|
|
@@ -60,14 +66,14 @@ import {
|
|
|
60
66
|
} from "./chunk-F7CI2ZC5.js";
|
|
61
67
|
import {
|
|
62
68
|
applyPublicAgentCatalogOverride
|
|
63
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-H2TJUNCH.js";
|
|
64
70
|
import {
|
|
65
71
|
buildCliPrompt
|
|
66
72
|
} from "./chunk-ATNTHIZI.js";
|
|
67
73
|
import {
|
|
68
74
|
inlineImageUrlsForCustomProvider,
|
|
69
75
|
prepareTools
|
|
70
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-3FOQHGHN.js";
|
|
71
77
|
import {
|
|
72
78
|
getServerProviderSecret
|
|
73
79
|
} from "./chunk-HS7MLR74.js";
|
|
@@ -89,7 +95,7 @@ import {
|
|
|
89
95
|
resolveCliLocalRuntimeKeyCapability,
|
|
90
96
|
resolveCliLocalSpawnDispatch,
|
|
91
97
|
resolveStartAgentRunCwd
|
|
92
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-CQ46IRNN.js";
|
|
93
99
|
import {
|
|
94
100
|
fetchWithTransientRetry,
|
|
95
101
|
isTransientFetchError
|
|
@@ -97,31 +103,33 @@ import {
|
|
|
97
103
|
import {
|
|
98
104
|
deriveCredentialGroup,
|
|
99
105
|
deriveCustomProviderCredentialGroup
|
|
100
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-CJRONOYL.js";
|
|
101
107
|
import {
|
|
102
108
|
inferCaptureIntent,
|
|
103
109
|
resolveUserSkillRuntime
|
|
104
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-5AQR3DGV.js";
|
|
105
111
|
import {
|
|
106
112
|
resolveAgentRequiredPackIds,
|
|
107
113
|
resolveUserEnabledSkills
|
|
108
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-MMNYUVLW.js";
|
|
109
115
|
import {
|
|
110
116
|
applyBuiltinAgentRuntimeOverride,
|
|
111
|
-
applyTokenUsageToDayStats,
|
|
112
|
-
format,
|
|
113
117
|
prepareTokenUsageData,
|
|
114
118
|
resolveBuiltinPlatformAgentConfig,
|
|
115
119
|
runKeyed,
|
|
116
120
|
validateAskChoiceInput
|
|
117
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-VZKUKCA6.js";
|
|
122
|
+
import {
|
|
123
|
+
applyTokenUsageToDayStats,
|
|
124
|
+
require_format
|
|
125
|
+
} from "./chunk-7RFNTILS.js";
|
|
118
126
|
import {
|
|
119
127
|
BUILTIN_DIALOG_LLM_CHAT_FALLBACK_MODEL,
|
|
120
128
|
BUILTIN_TITLE_LLM_CONFIG
|
|
121
129
|
} from "./chunk-523DITKR.js";
|
|
122
130
|
import {
|
|
123
131
|
fetchServerSyncedCredential
|
|
124
|
-
} from "./chunk-
|
|
132
|
+
} from "./chunk-YPD3VJZW.js";
|
|
125
133
|
import {
|
|
126
134
|
getDefaultCliLocalRuntimeDb
|
|
127
135
|
} from "./chunk-AZMYUSVF.js";
|
|
@@ -137,7 +145,7 @@ import {
|
|
|
137
145
|
applySystemBuiltinSkillFilter,
|
|
138
146
|
expandEnabledPacks,
|
|
139
147
|
resolveEffectiveEnabledPacks
|
|
140
|
-
} from "./chunk-
|
|
148
|
+
} from "./chunk-EYUBHHFB.js";
|
|
141
149
|
import {
|
|
142
150
|
DEFAULT_HYBRID_READ_TIMEOUT_MS,
|
|
143
151
|
Duration_exports,
|
|
@@ -153,9 +161,11 @@ import {
|
|
|
153
161
|
buildNoloWorkspaceCliToolExecutors,
|
|
154
162
|
codexStreamFailureStatus,
|
|
155
163
|
createDevinProvider,
|
|
164
|
+
createHostCredentialBrokerChain,
|
|
156
165
|
createHybridRecordStore,
|
|
157
166
|
createLocalWorkspaceToolExecutors,
|
|
158
167
|
createResponsesStreamCollector,
|
|
168
|
+
createStrictHostCredentialBroker,
|
|
159
169
|
deriveStableUuid,
|
|
160
170
|
dialogMessageRecordToAgentRuntimeMessage,
|
|
161
171
|
executeLocalToolWithPolicy,
|
|
@@ -181,7 +191,18 @@ import {
|
|
|
181
191
|
runExecShellGates,
|
|
182
192
|
validateConfiguredRootExecutionLease,
|
|
183
193
|
verifyOwnerRouteAck
|
|
184
|
-
} from "./chunk-
|
|
194
|
+
} from "./chunk-FHU44LN3.js";
|
|
195
|
+
import {
|
|
196
|
+
PlatformStreamInterruptedError,
|
|
197
|
+
buildPlatformChatCompletionRequest,
|
|
198
|
+
canUsePlatformChatProvider,
|
|
199
|
+
hasDirectOpenAiCompatibleProvider,
|
|
200
|
+
parsePlatformChatCompletionData,
|
|
201
|
+
parsePlatformChatCompletionResponse,
|
|
202
|
+
readPlatformChatSseCompletion,
|
|
203
|
+
resolvePlatformChatProviderConfig,
|
|
204
|
+
shouldUsePlatformChatProvider
|
|
205
|
+
} from "./chunk-4KH4J3G5.js";
|
|
185
206
|
import {
|
|
186
207
|
accumulateGeminiChunks,
|
|
187
208
|
buildGeminiGenerateContentRequest,
|
|
@@ -193,32 +214,21 @@ import {
|
|
|
193
214
|
resolveAntigravityFinishReason,
|
|
194
215
|
resolveGeminiModelQuirks,
|
|
195
216
|
shouldUseGeminiNativeToolRoute
|
|
196
|
-
} from "./chunk-
|
|
197
|
-
import {
|
|
198
|
-
PlatformStreamInterruptedError,
|
|
199
|
-
buildPlatformChatCompletionRequest,
|
|
200
|
-
canUsePlatformChatProvider,
|
|
201
|
-
hasDirectOpenAiCompatibleProvider,
|
|
202
|
-
parsePlatformChatCompletionData,
|
|
203
|
-
parsePlatformChatCompletionResponse,
|
|
204
|
-
readPlatformChatSseCompletion,
|
|
205
|
-
resolvePlatformChatProviderConfig,
|
|
206
|
-
shouldUsePlatformChatProvider
|
|
207
|
-
} from "./chunk-TCTSYFDM.js";
|
|
217
|
+
} from "./chunk-CTPXME7U.js";
|
|
208
218
|
import {
|
|
209
219
|
readSseDataValues,
|
|
210
220
|
readSseFrames
|
|
211
221
|
} from "./chunk-HNUWUO75.js";
|
|
212
222
|
import {
|
|
213
223
|
resolveAgentRuntimeConfigFromRecord
|
|
214
|
-
} from "./chunk-
|
|
224
|
+
} from "./chunk-W4S457LU.js";
|
|
215
225
|
import {
|
|
216
226
|
collectStablePromptPrefix,
|
|
217
227
|
convertMessagesToResponsesInput,
|
|
218
228
|
findAgentStatePairingIssues,
|
|
219
229
|
stablePromptCacheKey,
|
|
220
230
|
toResponsesTools
|
|
221
|
-
} from "./chunk-
|
|
231
|
+
} from "./chunk-UTV2AYEG.js";
|
|
222
232
|
import {
|
|
223
233
|
EMPTY_TOOL_RESULT_TEXT,
|
|
224
234
|
createToolImageBudget,
|
|
@@ -231,10 +241,8 @@ import {
|
|
|
231
241
|
import {
|
|
232
242
|
buildNoloWorkspaceOpenAiTools,
|
|
233
243
|
filterClientNoloWorkspaceToolNames,
|
|
234
|
-
parseNoloWorkspaceToolArguments
|
|
235
|
-
|
|
236
|
-
resolveRuntimeToolSurfaceForAgent
|
|
237
|
-
} from "./chunk-6HVBI6TI.js";
|
|
244
|
+
parseNoloWorkspaceToolArguments
|
|
245
|
+
} from "./chunk-25JZEIXN.js";
|
|
238
246
|
import {
|
|
239
247
|
isCapacitySaturatedRateLimit,
|
|
240
248
|
mergeAvailabilityDeadline,
|
|
@@ -242,22 +250,22 @@ import {
|
|
|
242
250
|
resolveCooldownGate,
|
|
243
251
|
resolveCredentialKeyWithFallback
|
|
244
252
|
} from "./chunk-YUXQAVRD.js";
|
|
253
|
+
import {
|
|
254
|
+
resolveRequestToolSurface
|
|
255
|
+
} from "./chunk-KC4XDTT3.js";
|
|
245
256
|
import {
|
|
246
257
|
resolveHistoricalToolContentCap
|
|
247
258
|
} from "./chunk-2WZXXAQD.js";
|
|
248
259
|
import {
|
|
249
260
|
resolveToolImagePolicy
|
|
250
|
-
} from "./chunk-
|
|
261
|
+
} from "./chunk-YWSEPJ7C.js";
|
|
251
262
|
import {
|
|
252
263
|
buildDialogFallbackTitleFromUserInput,
|
|
253
264
|
normalizeDialogTitle
|
|
254
265
|
} from "./chunk-2MBTWINN.js";
|
|
255
266
|
import {
|
|
256
267
|
normalizeUsage
|
|
257
|
-
} from "./chunk-
|
|
258
|
-
import {
|
|
259
|
-
isDevinOAuthAgent
|
|
260
|
-
} from "./chunk-5ZUL4CUO.js";
|
|
268
|
+
} from "./chunk-JTDORD5P.js";
|
|
261
269
|
import {
|
|
262
270
|
createProviderCallTimingTracker,
|
|
263
271
|
finalizeProviderCallTiming,
|
|
@@ -265,6 +273,9 @@ import {
|
|
|
265
273
|
observeMeaningfulProviderResponseAt,
|
|
266
274
|
withProviderCallTimingFields
|
|
267
275
|
} from "./chunk-H57T64RA.js";
|
|
276
|
+
import {
|
|
277
|
+
isDevinOAuthAgent
|
|
278
|
+
} from "./chunk-5ZUL4CUO.js";
|
|
268
279
|
import {
|
|
269
280
|
isOAuthApiKeyRef
|
|
270
281
|
} from "./chunk-UKZX3NHN.js";
|
|
@@ -275,35 +286,26 @@ import {
|
|
|
275
286
|
resolveCurrentRunRuntimeToolPolicy,
|
|
276
287
|
resolveLocalWorkspaceExecutorOptionsFromPolicy,
|
|
277
288
|
resolveRequestedRuntimeToolNames
|
|
278
|
-
} from "./chunk-
|
|
289
|
+
} from "./chunk-2QHFH3DR.js";
|
|
279
290
|
import {
|
|
280
291
|
createFileCredentialBroker
|
|
281
|
-
} from "./chunk-
|
|
292
|
+
} from "./chunk-OQHIVPG4.js";
|
|
282
293
|
import {
|
|
283
294
|
asRecordOrEmpty
|
|
284
295
|
} from "./chunk-KX6YBIHG.js";
|
|
285
296
|
import {
|
|
286
297
|
compactWhitespace
|
|
287
298
|
} from "./chunk-DWLEOOGR.js";
|
|
288
|
-
import {
|
|
289
|
-
createOAuthTokenStore,
|
|
290
|
-
isTokenExpired,
|
|
291
|
-
readOAuthCredential,
|
|
292
|
-
resolveFreshAccessToken
|
|
293
|
-
} from "./chunk-G7Y4GXTY.js";
|
|
294
299
|
import {
|
|
295
300
|
canonicalizeToolNames
|
|
296
|
-
} from "./chunk-
|
|
301
|
+
} from "./chunk-ZCWRMUWT.js";
|
|
297
302
|
import {
|
|
298
303
|
CHROME_CONNECTOR_ACCEPTED_TOOL_NAMES,
|
|
299
304
|
canonicalizeChromeConnectorToolNames
|
|
300
305
|
} from "./chunk-ZC3CMUKU.js";
|
|
301
|
-
import {
|
|
302
|
-
isSystemBuiltinTrustedAgentKey
|
|
303
|
-
} from "./chunk-LOEO7LRC.js";
|
|
304
306
|
import {
|
|
305
307
|
isAntigravityOAuthAgent
|
|
306
|
-
} from "./chunk-
|
|
308
|
+
} from "./chunk-KIM6CLW5.js";
|
|
307
309
|
import {
|
|
308
310
|
ackRunRecord,
|
|
309
311
|
appendRunQueue,
|
|
@@ -318,16 +320,18 @@ import {
|
|
|
318
320
|
queryRunRecords,
|
|
319
321
|
readHostMemory,
|
|
320
322
|
releaseRunRecordAck,
|
|
321
|
-
remoteDialogSyncTimeout,
|
|
322
323
|
resolveRunsDir,
|
|
323
|
-
resolveRuntimeAuthToken,
|
|
324
|
-
resolveRuntimeServerUrl,
|
|
325
324
|
serializeQueueEntries,
|
|
326
325
|
spawnLocalBackgroundRun,
|
|
327
326
|
terminateRunProcess,
|
|
328
327
|
transitionRunToTerminal,
|
|
329
328
|
withQueueLock
|
|
330
|
-
} from "./chunk-
|
|
329
|
+
} from "./chunk-HIRC32DV.js";
|
|
330
|
+
import {
|
|
331
|
+
remoteDialogSyncTimeout,
|
|
332
|
+
resolveRuntimeAuthToken,
|
|
333
|
+
resolveRuntimeServerUrl
|
|
334
|
+
} from "./chunk-HRMJUN5J.js";
|
|
331
335
|
import {
|
|
332
336
|
TASK_PREVIEW_MAX,
|
|
333
337
|
formatListRunsCard,
|
|
@@ -347,7 +351,7 @@ import {
|
|
|
347
351
|
import {
|
|
348
352
|
buildProviderSessionHeaders,
|
|
349
353
|
resolvePlatformAuthToken
|
|
350
|
-
} from "./chunk-
|
|
354
|
+
} from "./chunk-TCZHTTUU.js";
|
|
351
355
|
import {
|
|
352
356
|
anthropicOAuthModelMaxOutputTokens,
|
|
353
357
|
findModelConfig,
|
|
@@ -363,6 +367,9 @@ import {
|
|
|
363
367
|
import {
|
|
364
368
|
isRecord
|
|
365
369
|
} from "./chunk-KUG52IAP.js";
|
|
370
|
+
import {
|
|
371
|
+
asTrimmedLowercaseString
|
|
372
|
+
} from "./chunk-QSJ3HFEF.js";
|
|
366
373
|
import {
|
|
367
374
|
getLogger
|
|
368
375
|
} from "./chunk-EYLGAEB4.js";
|
|
@@ -388,12 +395,18 @@ import {
|
|
|
388
395
|
agentRunCardLabels,
|
|
389
396
|
t
|
|
390
397
|
} from "./chunk-3RQVYR4B.js";
|
|
398
|
+
import {
|
|
399
|
+
createOAuthTokenStore,
|
|
400
|
+
isTokenExpired,
|
|
401
|
+
readOAuthCredential,
|
|
402
|
+
resolveFreshAccessToken
|
|
403
|
+
} from "./chunk-G7Y4GXTY.js";
|
|
391
404
|
import {
|
|
392
405
|
createTokenDialogIndexKey,
|
|
393
406
|
createTokenKey,
|
|
394
407
|
createTokenStatsKey,
|
|
395
408
|
createUserKey
|
|
396
|
-
} from "./chunk-
|
|
409
|
+
} from "./chunk-JY5NGFFH.js";
|
|
397
410
|
import {
|
|
398
411
|
dialogMessageKey,
|
|
399
412
|
dialogMessagePrefix,
|
|
@@ -406,8 +419,8 @@ import {
|
|
|
406
419
|
asOptionalTrimmedString
|
|
407
420
|
} from "./chunk-G3SUCT4W.js";
|
|
408
421
|
import {
|
|
409
|
-
|
|
410
|
-
} from "./chunk-
|
|
422
|
+
__toESM
|
|
423
|
+
} from "./chunk-4VNS5WPM.js";
|
|
411
424
|
|
|
412
425
|
// packages/agent-runtime/anthropicMessagesProvider.ts
|
|
413
426
|
import { randomUUID } from "node:crypto";
|
|
@@ -1836,61 +1849,6 @@ function summarizeEndpoint(value) {
|
|
|
1836
1849
|
}
|
|
1837
1850
|
}
|
|
1838
1851
|
|
|
1839
|
-
// packages/cli/client/cliAgentConfigHelpers.ts
|
|
1840
|
-
var BUILTIN_NOLO_AGENT_KEY = NOLO_DEFAULT_AGENT_KEY;
|
|
1841
|
-
var BUILTIN_NOLO_AGENT_ID = NOLO_DEFAULT_AGENT_ID;
|
|
1842
|
-
function resolveLocalUserId(env) {
|
|
1843
|
-
const explicitUserId = env.NOLO_LOCAL_USER_ID || env.NOLO_USER_ID;
|
|
1844
|
-
if (explicitUserId) return explicitUserId;
|
|
1845
|
-
const tokenUserId = parseUserIdFromAuthToken(resolveRuntimeAuthToken(env));
|
|
1846
|
-
return tokenUserId || "local";
|
|
1847
|
-
}
|
|
1848
|
-
function isBuiltinNoloAgentRef(ref) {
|
|
1849
|
-
if (typeof ref !== "string") return false;
|
|
1850
|
-
const normalized = ref.trim();
|
|
1851
|
-
return normalized === BUILTIN_NOLO_AGENT_KEY || normalized === BUILTIN_NOLO_AGENT_ID || normalized.endsWith(`-${BUILTIN_NOLO_AGENT_ID}`);
|
|
1852
|
-
}
|
|
1853
|
-
function isBuiltinNoloAgentConfig(agentConfig) {
|
|
1854
|
-
const key = agentConfig?.key || agentConfig?.rawRecord?.dbKey || agentConfig?.rawRecord?.agentKey;
|
|
1855
|
-
const id = agentConfig?.rawRecord?.id;
|
|
1856
|
-
return isBuiltinNoloAgentRef(key) || isBuiltinNoloAgentRef(id);
|
|
1857
|
-
}
|
|
1858
|
-
function withResolvedRuntimeToolSurface(agentConfig, env) {
|
|
1859
|
-
if (!agentConfig) return agentConfig;
|
|
1860
|
-
const currentUserId = resolveLocalUserId(env);
|
|
1861
|
-
const rawRecord = agentConfig.rawRecord ?? {};
|
|
1862
|
-
const ownerId = asOptionalTrimmedString(rawRecord.userId) ?? null;
|
|
1863
|
-
const agentKey = rawRecord.dbKey ?? agentConfig.key;
|
|
1864
|
-
const toolSurface = resolveRuntimeToolSurfaceForAgent({
|
|
1865
|
-
explicitToolNames: agentConfig.toolNames,
|
|
1866
|
-
currentUserId,
|
|
1867
|
-
agentOwnerId: ownerId,
|
|
1868
|
-
agentKey,
|
|
1869
|
-
isPublic: !isBuiltinNoloAgentConfig(agentConfig) && rawRecord.isPublic === true,
|
|
1870
|
-
sharingLevel: typeof rawRecord.sharingLevel === "string" ? rawRecord.sharingLevel : null,
|
|
1871
|
-
trustedPrivateInvocation: isBuiltinNoloAgentConfig(agentConfig) || isSystemBuiltinTrustedAgentKey(agentKey),
|
|
1872
|
-
runtimeHost: "cli"
|
|
1873
|
-
});
|
|
1874
|
-
return {
|
|
1875
|
-
...agentConfig,
|
|
1876
|
-
toolNames: toolSurface.finalToolNames,
|
|
1877
|
-
toolSurface,
|
|
1878
|
-
prompt: agentConfig.prompt
|
|
1879
|
-
};
|
|
1880
|
-
}
|
|
1881
|
-
function extractLastUserText(messages) {
|
|
1882
|
-
const lastUser = [...messages].reverse().find((m) => m.role === "user");
|
|
1883
|
-
if (!lastUser) return "";
|
|
1884
|
-
if (typeof lastUser.content === "string") return lastUser.content;
|
|
1885
|
-
if (Array.isArray(lastUser.content)) {
|
|
1886
|
-
return lastUser.content.filter((part) => part?.type === "text").map((part) => part.text ?? "").join(" ");
|
|
1887
|
-
}
|
|
1888
|
-
return "";
|
|
1889
|
-
}
|
|
1890
|
-
function localTurnHasSubjectRefs(input) {
|
|
1891
|
-
return Array.isArray(input.runtimeContext?.subjectRefs) && input.runtimeContext.subjectRefs.length > 0;
|
|
1892
|
-
}
|
|
1893
|
-
|
|
1894
1852
|
// packages/cli/client/providerResolution/antigravityTransport.ts
|
|
1895
1853
|
var resolveAntigravityTransport = async (ctx) => {
|
|
1896
1854
|
const {
|
|
@@ -8294,7 +8252,14 @@ function buildLocalToolExecutors(args) {
|
|
|
8294
8252
|
workspaceRoot: args.workspaceRoot,
|
|
8295
8253
|
commandTimeoutMs: args.commandTimeoutMs,
|
|
8296
8254
|
commandOutputLimit: args.commandOutputLimit,
|
|
8297
|
-
...args.confirmDestructiveAction ? {
|
|
8255
|
+
...args.confirmDestructiveAction ? {
|
|
8256
|
+
// 边界换算:文件访问确认只关心「批没批」,宿主代执行(hostResult)
|
|
8257
|
+
// 由 execShell 的 capability 通道消费。类型仍取共享契约,不另写 union。
|
|
8258
|
+
confirmExternalFileAccess: async (request) => {
|
|
8259
|
+
const decision = await args.confirmDestructiveAction(request);
|
|
8260
|
+
return typeof decision === "boolean" ? decision : decision.approved === true;
|
|
8261
|
+
}
|
|
8262
|
+
} : {}
|
|
8298
8263
|
}),
|
|
8299
8264
|
...buildServerPlatformToolExecutors({
|
|
8300
8265
|
env: args.env,
|
|
@@ -11866,6 +11831,7 @@ function buildTokenDialogIndexOps(args) {
|
|
|
11866
11831
|
}
|
|
11867
11832
|
|
|
11868
11833
|
// packages/cli/client/localRuntimeDialog.ts
|
|
11834
|
+
var import_format = __toESM(require_format(), 1);
|
|
11869
11835
|
import { appendFileSync, mkdirSync as mkdirSync3 } from "fs";
|
|
11870
11836
|
import { homedir } from "os";
|
|
11871
11837
|
import { join as join7 } from "path";
|
|
@@ -12066,7 +12032,7 @@ async function writeLocalTokenRecord(args) {
|
|
|
12066
12032
|
})
|
|
12067
12033
|
]);
|
|
12068
12034
|
ops.push({ type: "put", key: recordKey, value: tokenRecord });
|
|
12069
|
-
const dateKey =
|
|
12035
|
+
const dateKey = (0, import_format.default)(timestamp, "yyyy-MM-dd");
|
|
12070
12036
|
const statsKey = createTokenStatsKey(args.userId, dateKey);
|
|
12071
12037
|
await runKeyed(statsKey, async () => {
|
|
12072
12038
|
let existingStats = null;
|
|
@@ -12082,6 +12048,15 @@ async function writeLocalTokenRecord(args) {
|
|
|
12082
12048
|
input_tokens: prepared.usage.input_tokens,
|
|
12083
12049
|
output_tokens: prepared.usage.output_tokens,
|
|
12084
12050
|
cost: prepared.tokenData.cost,
|
|
12051
|
+
// Cache counters are parsed by normalizeUsage already; dropping them
|
|
12052
|
+
// here made every CLI-local day bucket report cacheRead=0 even when the
|
|
12053
|
+
// provider did report hits (the detail records carried the real value).
|
|
12054
|
+
cache_read_input_tokens: prepared.usage.cache_read_input_tokens,
|
|
12055
|
+
cache_creation_input_tokens: prepared.usage.cache_creation_input_tokens,
|
|
12056
|
+
// DayStats.agents exists and every other writer feeds it; the CLI-local
|
|
12057
|
+
// path was the only one leaving every agent bucket empty.
|
|
12058
|
+
agentId: prepared.tokenData.agentId,
|
|
12059
|
+
entry_path: prepared.tokenData.entry_path,
|
|
12085
12060
|
billingCategory: prepared.tokenData.billable ?? false ? "platform" : "subscription"
|
|
12086
12061
|
});
|
|
12087
12062
|
const statsRecord = { ...newStats, id: statsKey, type: "token" };
|
|
@@ -12328,6 +12303,8 @@ function parseTitleUpdatedAtMs(existingDialog) {
|
|
|
12328
12303
|
}
|
|
12329
12304
|
|
|
12330
12305
|
// packages/cli/client/localRuntimeAdapter.ts
|
|
12306
|
+
var legacyHitNotified = /* @__PURE__ */ new Set();
|
|
12307
|
+
var sessionFallbackNotified = false;
|
|
12331
12308
|
var LOCAL_INSTABOX_TOOL_NAMES = [
|
|
12332
12309
|
EXECUTION_SHELL_TOOL,
|
|
12333
12310
|
...INSTABOX_FILE_TOOL_NAMES
|
|
@@ -12695,7 +12672,7 @@ function createCliLocalRuntimeAdapter(deps) {
|
|
|
12695
12672
|
emitRunIsolationNotice(fact, { runId });
|
|
12696
12673
|
try {
|
|
12697
12674
|
const { writeFileSync: writeFileSync4, mkdirSync: mkdirSync4 } = await import("node:fs");
|
|
12698
|
-
const { resolveRunsDir: resolveRunsDir2 } = await import("./agentRunControl-
|
|
12675
|
+
const { resolveRunsDir: resolveRunsDir2 } = await import("./agentRunControl-OI3LOENH.js");
|
|
12699
12676
|
recordLocalRunExecutionIsolation({
|
|
12700
12677
|
runId,
|
|
12701
12678
|
runsDir: resolveRunsDir2(deps.env),
|
|
@@ -12720,7 +12697,7 @@ function createCliLocalRuntimeAdapter(deps) {
|
|
|
12720
12697
|
dockerWorkloadReleased = true;
|
|
12721
12698
|
dockerWorkloadLoad = null;
|
|
12722
12699
|
if (loaded) {
|
|
12723
|
-
const { resolveRunsDir: resolveRunsDir2 } = await import("./agentRunControl-
|
|
12700
|
+
const { resolveRunsDir: resolveRunsDir2 } = await import("./agentRunControl-OI3LOENH.js");
|
|
12724
12701
|
const exportRunDiff = deps.exportDockerRunDiffArtifact ?? exportDockerRunDiffArtifact;
|
|
12725
12702
|
const warn = (message) => process.stderr.write(`[nolo] ${message}
|
|
12726
12703
|
`);
|
|
@@ -12841,8 +12818,31 @@ function createCliLocalRuntimeAdapter(deps) {
|
|
|
12841
12818
|
...runtimeToolExecutionLimits
|
|
12842
12819
|
});
|
|
12843
12820
|
let localToolExecutors = buildCurrentToolExecutors();
|
|
12844
|
-
const credentialBroker =
|
|
12845
|
-
|
|
12821
|
+
const credentialBroker = createHostCredentialBrokerChain({
|
|
12822
|
+
strict: createStrictHostCredentialBroker(),
|
|
12823
|
+
// 会话内存:无钥匙串时贴 key 仍可用(本进程有效,不落盘)。
|
|
12824
|
+
session: getSharedSessionCredentialBroker(),
|
|
12825
|
+
// 读旧只读回退:既有 agent 的凭据还在旧 file broker 里,只读命中即可用,不迁移。
|
|
12826
|
+
legacy: createFileCredentialBroker({
|
|
12827
|
+
migration: { enableLegacyMigration: true }
|
|
12828
|
+
}),
|
|
12829
|
+
notifySessionFallback: () => {
|
|
12830
|
+
if (sessionFallbackNotified) return;
|
|
12831
|
+
sessionFallbackNotified = true;
|
|
12832
|
+
process.stderr.write(
|
|
12833
|
+
`[nolo] Warning: ${CREDENTIAL_STORE_SESSION_FALLBACK_WARNING}
|
|
12834
|
+
`
|
|
12835
|
+
);
|
|
12836
|
+
},
|
|
12837
|
+
notifyLegacyHit: (ref) => {
|
|
12838
|
+
const key = `legacy-hit:${ref}`;
|
|
12839
|
+
if (legacyHitNotified.has(key)) return;
|
|
12840
|
+
legacyHitNotified.add(key);
|
|
12841
|
+
process.stderr.write(
|
|
12842
|
+
`[nolo] Warning: \u51ED\u636E "${ref}" \u6765\u81EA\u9057\u7559\u672C\u5730\u660E\u6587\u5B58\u50A8\uFF08\u53EA\u8BFB\u56DE\u9000\uFF09\u3002\u5EFA\u8BAE\u91CD\u65B0\u5F55\u5165\u8BE5 API key \u4EE5\u8FC1\u5165\u7CFB\u7EDF\u5B89\u5168\u533A\u3002
|
|
12843
|
+
`
|
|
12844
|
+
);
|
|
12845
|
+
}
|
|
12846
12846
|
});
|
|
12847
12847
|
const adapterBase = {
|
|
12848
12848
|
host: "cli",
|
|
@@ -13490,13 +13490,6 @@ export {
|
|
|
13490
13490
|
buildLocalPolicyToolNames,
|
|
13491
13491
|
buildServerPlatformOpenAiTools,
|
|
13492
13492
|
summarizeEndpoint,
|
|
13493
|
-
BUILTIN_NOLO_AGENT_KEY,
|
|
13494
|
-
resolveLocalUserId,
|
|
13495
|
-
isBuiltinNoloAgentRef,
|
|
13496
|
-
isBuiltinNoloAgentConfig,
|
|
13497
|
-
withResolvedRuntimeToolSurface,
|
|
13498
|
-
extractLastUserText,
|
|
13499
|
-
localTurnHasSubjectRefs,
|
|
13500
13493
|
resolveAuthToken2 as resolveAuthToken,
|
|
13501
13494
|
resolveFileWriteGateEnabled,
|
|
13502
13495
|
isMachineBoundLocalhostCustomProvider,
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
readDbRecord,
|
|
3
3
|
writeAgentRecord
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-IF45XG7K.js";
|
|
5
5
|
import {
|
|
6
6
|
buildSkillSummaryMarker
|
|
7
7
|
} from "./chunk-VF4K2QE6.js";
|
|
8
8
|
import {
|
|
9
9
|
createSpaceKey
|
|
10
10
|
} from "./chunk-UAD2WT54.js";
|
|
11
|
+
import {
|
|
12
|
+
asTrimmedLowercaseString
|
|
13
|
+
} from "./chunk-QSJ3HFEF.js";
|
|
11
14
|
import {
|
|
12
15
|
parseUserIdFromAuthToken,
|
|
13
16
|
readOption,
|
|
@@ -23,9 +26,6 @@ import {
|
|
|
23
26
|
import {
|
|
24
27
|
normalizeServerOrigin
|
|
25
28
|
} from "./chunk-CF7PE763.js";
|
|
26
|
-
import {
|
|
27
|
-
asTrimmedLowercaseString
|
|
28
|
-
} from "./chunk-QSJ3HFEF.js";
|
|
29
29
|
|
|
30
30
|
// packages/cli/docSpaceHelpers.ts
|
|
31
31
|
async function ensurePageAttachedToSpace(params) {
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
buildBuiltinObjectSkillDbKey,
|
|
7
7
|
buildBuiltinObjectSkillPageContent,
|
|
8
8
|
buildCodeWorkDiscipline
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-EYUBHHFB.js";
|
|
10
10
|
import {
|
|
11
11
|
buildSkillDocMarkdown,
|
|
12
12
|
resolvePageSkillMetadata
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
} from "./chunk-Y6ORVLSS.js";
|
|
17
17
|
import {
|
|
18
18
|
canonicalizeToolNames
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-ZCWRMUWT.js";
|
|
20
20
|
import {
|
|
21
21
|
asNonEmptyStringArray
|
|
22
22
|
} from "./chunk-I42VC5KR.js";
|