nolo-cli 0.159.0-alpha.3 → 0.159.0-alpha.4
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-SHA5BWRT.js → _executeModel-3HHZYHHB.js} +38 -37
- package/accountResolver-55EDKEIK.js +1 -1
- package/action-GPPJC5TI.js +1 -1
- package/{addContentAction-BI6RDRTQ.js → addContentAction-XJQEJ4XW.js} +6 -6
- package/{addDialogAgentAction-4RJYUSIK.js → addDialogAgentAction-5WZX5CAY.js} +5 -5
- package/{agentDeleteCommand-VU3BA264.js → agentDeleteCommand-VXWLHIUC.js} +55 -55
- package/{agentEmailCommands-WUANEGTM.js → agentEmailCommands-2TQN6UIZ.js} +55 -55
- package/{agentListCommands-3YNO6UP4.js → agentListCommands-44UDONIY.js} +30 -30
- package/{agentMachineCommands-ONGZXXQW.js → agentMachineCommands-KH7OSRWP.js} +25 -23
- package/{agentPullCommand-FA43RBRU.js → agentPullCommand-GXXEDOSA.js} +4 -4
- package/{agentRecordCommands-DXXA2RET.js → agentRecordCommands-6BNH5KK2.js} +49 -49
- package/{agentRunCommand-WY77TJ72.js → agentRunCommand-7MFXU4GK.js} +52 -52
- package/{agentRunControl-PPYWJRIJ.js → agentRunControl-USFIAK7X.js} +4 -4
- package/{agentRuntimeLocal-NHC5DQPJ.js → agentRuntimeLocal-BAQON6BB.js} +13 -11
- package/{agentSlice-MIOEV36T.js → agentSlice-YT3VCCEW.js} +6 -6
- package/{appDeleteCommands-VQYCXZRF.js → appDeleteCommands-R73W7UJM.js} +22 -20
- package/{appDeployCommands-OKSJDVEY.js → appDeployCommands-F65F6N63.js} +22 -20
- package/{appDeployStatusCommands-UFGNZS6G.js → appDeployStatusCommands-CTRCXJJX.js} +22 -20
- package/{appGetCommands-3HNO5WLF.js → appGetCommands-VTQERXLK.js} +22 -20
- package/{appListCommands-H33BIZHJ.js → appListCommands-MY3WFDYA.js} +22 -20
- package/{authCommand-MSINEFHH.js → authCommand-3Z52KJID.js} +14 -14
- package/{authCommands-AMNIAKEG.js → authCommands-QOCKVPX3.js} +5 -5
- package/{builtinSkillRegistry-H3AY27TR.js → builtinSkillRegistry-LJV7FHNI.js} +4 -4
- package/{chunk-GCLZBOB6.js → chunk-2ZYCNT2O.js} +29 -29
- package/{chunk-XBLZ5IFE.js → chunk-3GTVM7NJ.js} +17 -17
- package/{chunk-US6MKPE7.js → chunk-3L5MSPWX.js} +1 -1
- package/{chunk-QYAYO5JA.js → chunk-4L4K6YR7.js} +1 -1
- package/{chunk-P5QACQDK.js → chunk-62TBKWTV.js} +1 -1
- package/{chunk-YLMMECCH.js → chunk-6XIE5ZGI.js} +1 -1
- package/{chunk-NT3LMOSE.js → chunk-B5JIGIKM.js} +27 -22
- package/{chunk-J2ATF74A.js → chunk-BAWAKW7X.js} +1 -1
- package/{chunk-ZVQHBIWV.js → chunk-CDLP56BS.js} +7 -7
- package/{chunk-ZIGIN5IX.js → chunk-DD2EOI6S.js} +1 -1
- package/{chunk-OON4OBWI.js → chunk-DLV3H464.js} +7 -7
- package/{chunk-DWBY333O.js → chunk-DT7EWFTY.js} +5 -5
- package/{chunk-IRTOYSA2.js → chunk-ESMZW5PE.js} +1 -1
- package/{chunk-ZJG7YU3I.js → chunk-F3SOW2EU.js} +46 -1
- package/{chunk-FZYTJOAQ.js → chunk-F5WASHQA.js} +27 -29
- package/{chunk-BFI6JGF6.js → chunk-FB5WLEOD.js} +11 -11
- package/{chunk-FBSDWUOJ.js → chunk-FCUKCVKN.js} +4 -4
- package/{chunk-FY4SDK2E.js → chunk-FDLDMJTM.js} +1 -1
- package/{chunk-PKC7D6SX.js → chunk-FFHV45HO.js} +3 -3
- package/{chunk-TMYAT2MD.js → chunk-FZYKQFBQ.js} +3 -3
- package/{chunk-MJKKEGF5.js → chunk-HBW2XA3L.js} +12 -12
- package/{chunk-CSCSMGQI.js → chunk-HW7EBEC5.js} +15 -191
- package/{chunk-5MPS5OOY.js → chunk-I7S63QUU.js} +1 -1
- package/{chunk-CON6SI7N.js → chunk-IF7V3CBU.js} +1 -1
- package/{chunk-GSKVOMBU.js → chunk-JDKSYQQN.js} +4 -4
- package/{chunk-M2P3OGXZ.js → chunk-JWEXJ573.js} +2 -2
- package/{chunk-SPKLALBU.js → chunk-MAYW6V3E.js} +1 -1
- package/{chunk-NDZOXXIM.js → chunk-NHEWV5FD.js} +1 -1
- package/{chunk-2NROMJBM.js → chunk-NWKPVIHL.js} +7 -7
- package/{chunk-NUE735UT.js → chunk-O2IWR23M.js} +1 -1
- package/{chunk-NNE5NIW2.js → chunk-OLVOR45M.js} +2 -2
- package/{chunk-CVSKYIXX.js → chunk-QXZH5UDF.js} +2 -2
- package/{chunk-QO436IJ5.js → chunk-QZIOZDM6.js} +9 -9
- package/{chunk-V4AK4IVZ.js → chunk-R2KWTENX.js} +3 -3
- package/{chunk-C3WXTFRP.js → chunk-RIHQGFFA.js} +1 -1
- package/{chunk-ZAB4R7LU.js → chunk-SCQT4CRF.js} +40 -42
- package/{chunk-DC3SZCRR.js → chunk-SH3XD4E2.js} +2 -2
- package/{chunk-RJBHRIEL.js → chunk-TK2AX7M6.js} +43 -45
- package/chunk-TT644UJD.js +188 -0
- package/{chunk-QOYJE6NX.js → chunk-U34KT53V.js} +28 -10
- package/{chunk-DFWLD7WU.js → chunk-ULQAD7ZY.js} +18 -6
- package/{chunk-RE5I35J7.js → chunk-VXS4YYJ2.js} +6 -6
- package/{chunk-JZX2XLKC.js → chunk-YCRROBDY.js} +1 -1
- package/{chunk-E46SJRWA.js → chunk-YNOXGQ7X.js} +13 -13
- package/{chunk-6MH6PWVJ.js → chunk-YR47Y7CN.js} +6 -6
- package/{chunk-C47WM5SD.js → chunk-ZAV4YVEA.js} +1 -1
- package/{commandRegistry-DAM7RV6E.js → commandRegistry-3JCFSTBQ.js} +83 -83
- package/{contentThunks-WLKR5KQ6.js → contentThunks-QBL5NK2W.js} +14 -15
- package/{createAgentAutomationAction-AI2HZHLE.js → createAgentAutomationAction-5UWBLR2N.js} +14 -15
- package/{createDialogAction-AU4IWDR3.js → createDialogAction-NJ2LE7KC.js} +18 -19
- package/{createPageAction-CAXS6ZUJ.js → createPageAction-7T3RINS2.js} +16 -17
- package/{dbSlice-DC2J53RC.js → dbSlice-6PVPY44C.js} +5 -5
- package/{deleteFile-KYWEMNFX.js → deleteFile-YM6NDPAR.js} +3 -3
- package/{dialogCommands-2QMR63AY.js → dialogCommands-FDQPV6GO.js} +27 -25
- package/{dialogSlice-QEP5EUON.js → dialogSlice-GQMTD4HR.js} +13 -14
- package/{docCreateCommands-EG3KFJGO.js → docCreateCommands-Z5KKWS2C.js} +24 -22
- package/{docDeleteCommands-MAM2BLCP.js → docDeleteCommands-YTGMEQ4I.js} +25 -23
- package/{docReadCommands-XVX2VLVM.js → docReadCommands-SK2CLD2S.js} +24 -22
- package/{docStore-WTXUKAQB.js → docStore-PM5PYKPZ.js} +6 -6
- package/{docUpdateCommands-JURMHPS5.js → docUpdateCommands-SI4PL2L3.js} +24 -22
- package/{handleSendMessageAction-7MAFLFOD.js → handleSendMessageAction-EQ3U6K5N.js} +31 -28
- package/index.js +7 -7
- package/{localRuntimeAdapter-DSO3Y5ZS.js → localRuntimeAdapter-TVIGJ3PU.js} +46 -46
- package/{localRuntimeAuthority-JDAD7CB6.js → localRuntimeAuthority-BPN5OAQG.js} +2 -2
- package/{localRuntimeDb-CVC62PM5.js → localRuntimeDb-QIVAXMUL.js} +1 -1
- package/{machineCommands-DWILXGTZ.js → machineCommands-EYP73LBU.js} +51 -51
- package/{machineWsRunDispatch-NJJZ34JJ.js → machineWsRunDispatch-6QWYWIHP.js} +47 -47
- package/{memberThunks-2DWKLE6W.js → memberThunks-AZINUM4S.js} +8 -8
- package/package.json +1 -1
- package/{read-L7QEJETH.js → read-7JPIWRBQ.js} +3 -3
- package/{readDocTool-QELXV2GW.js → readDocTool-AAQTB2Y3.js} +1 -1
- package/{readlineWorkspace-STK57SSQ.js → readlineWorkspace-QBN246OU.js} +80 -80
- package/{removeDialogAgentAction-376XSUP2.js → removeDialogAgentAction-RMVRILLK.js} +6 -6
- package/{runAgentClientLoop-6OD2CTYG.js → runAgentClientLoop-EXIQDX7G.js} +36 -35
- package/{runtimeDoctorCommands-HEN5IPIH.js → runtimeDoctorCommands-MMCP4B4U.js} +11 -11
- package/{setDialogExtraReferencesAction-QBDSH63D.js → setDialogExtraReferencesAction-L3V7JTMG.js} +6 -6
- package/{setPrimaryDialogAgentAction-537QFGW3.js → setPrimaryDialogAgentAction-X52JQGTJ.js} +6 -6
- package/{settingThunks-4Z43ZSAT.js → settingThunks-N6XFWPOU.js} +5 -5
- package/{spaceCommands-WPCHZKEY.js → spaceCommands-5WANPZMM.js} +24 -22
- package/{streamAgentChatTurn-BOATI5H3.js → streamAgentChatTurn-DI2334G3.js} +132 -72
- package/{switchDialogAgentAction-CSO6AKRL.js → switchDialogAgentAction-ZJ5CGU7J.js} +5 -5
- package/{tools-FPKQX2J6.js → tools-23VQGJOX.js} +27 -28
- package/{tuiSummaryLlmCaller-PEYFTAVL.js → tuiSummaryLlmCaller-FESHBDTT.js} +4 -4
- package/{updateCommands-LXZLG44Y.js → updateCommands-KALLBWJE.js} +3 -3
- package/{updateDialogTitleAction-WAH5KADA.js → updateDialogTitleAction-AGAYHWS7.js} +14 -15
- package/chunk-UKZX3NHN.js +0 -48
- package/{agentGrantCommands-HOJ3JBBQ.js → agentGrantCommands-5DPHYEKP.js} +3 -3
- package/{agentProviderCommands-CUBOAVPB.js → agentProviderCommands-CXBHNONN.js} +3 -3
- package/{chromeOpsCommands-3Z34RKSE.js → chromeOpsCommands-GZVVK7HU.js} +4 -4
- package/{chunk-2SGAI64X.js → chunk-43OFVLWJ.js} +4 -4
- package/{chunk-XETG4RIX.js → chunk-AETZ7AD6.js} +4 -4
- package/{chunk-YNCJYU4X.js → chunk-G3VYRPTV.js} +4 -4
- package/{chunk-2IXDJNZI.js → chunk-GAGGEA7D.js} +3 -3
- package/{chunk-O4KVUI4W.js → chunk-KABQ74UQ.js} +3 -3
- package/{chunk-TCQPBZUL.js → chunk-QA2C5NKI.js} +3 -3
- package/{chunk-42W7LKBM.js → chunk-QV3VGSX6.js} +3 -3
- package/{chunk-4RJJDA57.js → chunk-WR37DI7R.js} +3 -3
- package/{memoryCommands-CUNBFRVS.js → memoryCommands-ZS3VQJAL.js} +3 -3
- package/{offlineMarxistsAgentCommand-2QTHJCHV.js → offlineMarxistsAgentCommand-3GLX4QQY.js} +3 -3
- package/{tableCommands-LBH3QPPO.js → tableCommands-IVC5S7Y3.js} +11 -11
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
getModelContextWindow,
|
|
6
6
|
normalizeTimingMs
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-QA2C5NKI.js";
|
|
8
8
|
import {
|
|
9
9
|
BUILTIN_NOLO_AGENT_KEY
|
|
10
10
|
} from "./chunk-LOEO7LRC.js";
|
|
@@ -28,6 +28,49 @@ import {
|
|
|
28
28
|
import {
|
|
29
29
|
asOptionalTrimmedString
|
|
30
30
|
} from "./chunk-G3SUCT4W.js";
|
|
31
|
+
import {
|
|
32
|
+
asTrimmedLowercaseString
|
|
33
|
+
} from "./chunk-QSJ3HFEF.js";
|
|
34
|
+
|
|
35
|
+
// packages/agent-runtime/serverProxyPolicy.ts
|
|
36
|
+
var OAUTH_APIKEY_REFS = /* @__PURE__ */ new Set([
|
|
37
|
+
"antigravity",
|
|
38
|
+
"xai",
|
|
39
|
+
"chatgpt",
|
|
40
|
+
"claude",
|
|
41
|
+
"cursor"
|
|
42
|
+
]);
|
|
43
|
+
function isGoogleFamilyProvider(provider) {
|
|
44
|
+
const normalized = asTrimmedLowercaseString(provider);
|
|
45
|
+
return normalized === "google" || normalized.startsWith("google-");
|
|
46
|
+
}
|
|
47
|
+
function isOAuthApiKeyRef(value) {
|
|
48
|
+
const ref = asTrimmedLowercaseString(value);
|
|
49
|
+
return ref.length > 0 && OAUTH_APIKEY_REFS.has(ref);
|
|
50
|
+
}
|
|
51
|
+
function shouldUseServerProxy(agentConfig, requestProvider) {
|
|
52
|
+
const effectiveProvider = (requestProvider || agentConfig.provider || "").toLowerCase();
|
|
53
|
+
if (isGoogleFamilyProvider(effectiveProvider)) {
|
|
54
|
+
return true;
|
|
55
|
+
}
|
|
56
|
+
if (isOAuthApiKeyRef(agentConfig.apiKeyRef)) {
|
|
57
|
+
return true;
|
|
58
|
+
}
|
|
59
|
+
if (agentConfig.apiSource === "custom" && isRemoteCustomEndpoint(agentConfig.customProviderUrl)) {
|
|
60
|
+
return true;
|
|
61
|
+
}
|
|
62
|
+
return !!agentConfig.useServerProxy;
|
|
63
|
+
}
|
|
64
|
+
var LOCAL_HOSTS = /* @__PURE__ */ new Set(["127.0.0.1", "localhost", "::1", "0.0.0.0"]);
|
|
65
|
+
function isRemoteCustomEndpoint(url) {
|
|
66
|
+
if (typeof url !== "string") return false;
|
|
67
|
+
try {
|
|
68
|
+
const host = new URL(url).hostname.toLowerCase().replace(/^\[|\]$/g, "");
|
|
69
|
+
return !LOCAL_HOSTS.has(host);
|
|
70
|
+
} catch {
|
|
71
|
+
return false;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
31
74
|
|
|
32
75
|
// packages/agent-runtime/devin/devinChannelWindows.ts
|
|
33
76
|
var DEVIN_CHANNEL_CONTEXT_WINDOWS = {
|
|
@@ -377,6 +420,8 @@ var extractReferenceKeysFromMessage = (msg) => {
|
|
|
377
420
|
export {
|
|
378
421
|
DEFAULT_AUTO_EXECUTION_PROFILE,
|
|
379
422
|
resolveAutoExecutionProfile,
|
|
423
|
+
isOAuthApiKeyRef,
|
|
424
|
+
shouldUseServerProxy,
|
|
380
425
|
readCacheReadInputTokens,
|
|
381
426
|
readCacheCreationInputTokens,
|
|
382
427
|
devinChannelContextWindow,
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
isOAuthApiKeyRef
|
|
3
|
-
} from "./chunk-UKZX3NHN.js";
|
|
4
1
|
import {
|
|
5
2
|
buildDialogAttachmentPlan,
|
|
6
3
|
extractFileContentIds
|
|
@@ -14,13 +11,13 @@ import {
|
|
|
14
11
|
} from "./chunk-QYPE3TS3.js";
|
|
15
12
|
import {
|
|
16
13
|
runLlm
|
|
17
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-DT7EWFTY.js";
|
|
18
15
|
import {
|
|
19
16
|
getApproxPricePerImage
|
|
20
17
|
} from "./chunk-4JH2UMJR.js";
|
|
21
18
|
import {
|
|
22
19
|
cleanupCliSessionForDialog
|
|
23
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-ESMZW5PE.js";
|
|
24
21
|
import {
|
|
25
22
|
getActiveDialogAgentId,
|
|
26
23
|
getDialogAgentIds,
|
|
@@ -56,7 +53,7 @@ import {
|
|
|
56
53
|
} from "./chunk-XI7DGLUK.js";
|
|
57
54
|
import {
|
|
58
55
|
addContentAction
|
|
59
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-JWEXJ573.js";
|
|
60
57
|
import {
|
|
61
58
|
patch,
|
|
62
59
|
read,
|
|
@@ -64,12 +61,12 @@ import {
|
|
|
64
61
|
selectById,
|
|
65
62
|
upload,
|
|
66
63
|
write
|
|
67
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-CDLP56BS.js";
|
|
68
65
|
import {
|
|
69
66
|
getRuntimeServerContext,
|
|
70
67
|
parseOwnerUserIdFromDbKey,
|
|
71
68
|
scheduleDeleteReplication
|
|
72
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-43OFVLWJ.js";
|
|
73
70
|
import {
|
|
74
71
|
asyncThunkCreator,
|
|
75
72
|
buildCreateSlice,
|
|
@@ -104,9 +101,10 @@ import {
|
|
|
104
101
|
asOptionalJsonRecord,
|
|
105
102
|
devinChannelContextWindow,
|
|
106
103
|
extractReferenceKeysFromMessage,
|
|
104
|
+
isOAuthApiKeyRef,
|
|
107
105
|
normalizeUsage,
|
|
108
106
|
resolveAutoExecutionProfile
|
|
109
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-F3SOW2EU.js";
|
|
110
108
|
import {
|
|
111
109
|
isDevinOAuthAgent
|
|
112
110
|
} from "./chunk-5ZUL4CUO.js";
|
|
@@ -123,7 +121,7 @@ import {
|
|
|
123
121
|
getModelInfo,
|
|
124
122
|
planCompression,
|
|
125
123
|
serializeMessageContent
|
|
126
|
-
} from "./chunk-
|
|
124
|
+
} from "./chunk-QA2C5NKI.js";
|
|
127
125
|
import {
|
|
128
126
|
asRecordOrEmpty
|
|
129
127
|
} from "./chunk-KX6YBIHG.js";
|
|
@@ -150,12 +148,15 @@ import {
|
|
|
150
148
|
createTokenStatsKey,
|
|
151
149
|
dialogMessageKey
|
|
152
150
|
} from "./chunk-5EMSBTQ6.js";
|
|
153
|
-
import {
|
|
154
|
-
asOptionalFiniteNumber
|
|
155
|
-
} from "./chunk-WWC7I6TA.js";
|
|
156
151
|
import {
|
|
157
152
|
estimateTokenCount
|
|
158
153
|
} from "./chunk-PSCNXBYA.js";
|
|
154
|
+
import {
|
|
155
|
+
API_ENDPOINTS
|
|
156
|
+
} from "./chunk-LCBAMY2M.js";
|
|
157
|
+
import {
|
|
158
|
+
asOptionalFiniteNumber
|
|
159
|
+
} from "./chunk-WWC7I6TA.js";
|
|
159
160
|
import {
|
|
160
161
|
findModelConfig,
|
|
161
162
|
getModelConfig
|
|
@@ -169,9 +170,6 @@ import {
|
|
|
169
170
|
import {
|
|
170
171
|
toErrorMessage
|
|
171
172
|
} from "./chunk-HNMXYYJR.js";
|
|
172
|
-
import {
|
|
173
|
-
API_ENDPOINTS
|
|
174
|
-
} from "./chunk-LCBAMY2M.js";
|
|
175
173
|
import {
|
|
176
174
|
normalizeServerOrigin
|
|
177
175
|
} from "./chunk-CF7PE763.js";
|
|
@@ -11064,7 +11062,7 @@ var messageSlice = createSliceWithThunks({
|
|
|
11064
11062
|
runtimeOptions: args.runtimeOptions
|
|
11065
11063
|
});
|
|
11066
11064
|
if (agentKeyToUse) {
|
|
11067
|
-
const { streamAgentChatTurn } = await import("./agentSlice-
|
|
11065
|
+
const { streamAgentChatTurn } = await import("./agentSlice-YT3VCCEW.js");
|
|
11068
11066
|
await dispatch(
|
|
11069
11067
|
streamAgentChatTurn({
|
|
11070
11068
|
agentKey: agentKeyToUse,
|
|
@@ -13819,7 +13817,7 @@ var deleteOwnedDialogAttachments = async (args) => {
|
|
|
13819
13817
|
metadataReadFailures
|
|
13820
13818
|
});
|
|
13821
13819
|
if (!plan.deleteCandidates.length) return plan;
|
|
13822
|
-
const { deleteFileAction } = await import("./deleteFile-
|
|
13820
|
+
const { deleteFileAction } = await import("./deleteFile-YM6NDPAR.js");
|
|
13823
13821
|
for (const candidate of plan.deleteCandidates) {
|
|
13824
13822
|
if (candidate.fileDbKey) {
|
|
13825
13823
|
await deleteFileAction(candidate.fileDbKey, args.thunkApi);
|
|
@@ -13881,7 +13879,7 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
13881
13879
|
}
|
|
13882
13880
|
if (isCurrentDialog) {
|
|
13883
13881
|
await thunkApi.dispatch(resetMsgs());
|
|
13884
|
-
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-
|
|
13882
|
+
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-GQMTD4HR.js");
|
|
13885
13883
|
dispatch(clearPendingAttachments2());
|
|
13886
13884
|
}
|
|
13887
13885
|
return { dialogKey, isCurrentDialog, attachmentPlan };
|
|
@@ -13889,39 +13887,39 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
13889
13887
|
|
|
13890
13888
|
// packages/chat/dialog/dialogSlice.ts
|
|
13891
13889
|
var runCreateDialogAction = async (args, thunkApi) => {
|
|
13892
|
-
const { createDialogAction } = await import("./createDialogAction-
|
|
13890
|
+
const { createDialogAction } = await import("./createDialogAction-NJ2LE7KC.js");
|
|
13893
13891
|
return createDialogAction(args, thunkApi);
|
|
13894
13892
|
};
|
|
13895
13893
|
var runCreateAgentAutomationAction = async (args, thunkApi) => {
|
|
13896
|
-
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-
|
|
13894
|
+
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-5UWBLR2N.js");
|
|
13897
13895
|
return createAgentAutomationAction(args, thunkApi);
|
|
13898
13896
|
};
|
|
13899
13897
|
var runUpdateDialogTitleAction = async (args, thunkApi) => {
|
|
13900
|
-
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-
|
|
13898
|
+
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-AGAYHWS7.js");
|
|
13901
13899
|
return updateDialogTitleAction(args, thunkApi);
|
|
13902
13900
|
};
|
|
13903
13901
|
var runAddDialogAgentAction = async (args, thunkApi) => {
|
|
13904
|
-
const { addDialogAgentAction } = await import("./addDialogAgentAction-
|
|
13902
|
+
const { addDialogAgentAction } = await import("./addDialogAgentAction-5WZX5CAY.js");
|
|
13905
13903
|
return addDialogAgentAction(args, thunkApi);
|
|
13906
13904
|
};
|
|
13907
13905
|
var runRemoveDialogAgentAction = async (args, thunkApi) => {
|
|
13908
|
-
const { removeDialogAgentAction } = await import("./removeDialogAgentAction-
|
|
13906
|
+
const { removeDialogAgentAction } = await import("./removeDialogAgentAction-RMVRILLK.js");
|
|
13909
13907
|
return removeDialogAgentAction(args, thunkApi);
|
|
13910
13908
|
};
|
|
13911
13909
|
var runSetPrimaryDialogAgentAction = async (args, thunkApi) => {
|
|
13912
|
-
const { setPrimaryDialogAgentAction } = await import("./setPrimaryDialogAgentAction-
|
|
13910
|
+
const { setPrimaryDialogAgentAction } = await import("./setPrimaryDialogAgentAction-X52JQGTJ.js");
|
|
13913
13911
|
return setPrimaryDialogAgentAction(args, thunkApi);
|
|
13914
13912
|
};
|
|
13915
13913
|
var runSwitchDialogAgentAction = async (args, thunkApi) => {
|
|
13916
|
-
const { switchDialogAgentAction } = await import("./switchDialogAgentAction-
|
|
13914
|
+
const { switchDialogAgentAction } = await import("./switchDialogAgentAction-ZJ5CGU7J.js");
|
|
13917
13915
|
return switchDialogAgentAction(args, thunkApi);
|
|
13918
13916
|
};
|
|
13919
13917
|
var runSetDialogExtraReferencesAction = async (args, thunkApi) => {
|
|
13920
|
-
const { setDialogExtraReferencesAction } = await import("./setDialogExtraReferencesAction-
|
|
13918
|
+
const { setDialogExtraReferencesAction } = await import("./setDialogExtraReferencesAction-L3V7JTMG.js");
|
|
13921
13919
|
return setDialogExtraReferencesAction(args, thunkApi);
|
|
13922
13920
|
};
|
|
13923
13921
|
var runHandleSendMessageAction = async (args, thunkApi) => {
|
|
13924
|
-
const { handleSendMessageAction } = await import("./handleSendMessageAction-
|
|
13922
|
+
const { handleSendMessageAction } = await import("./handleSendMessageAction-EQ3U6K5N.js");
|
|
13925
13923
|
return handleSendMessageAction(args, thunkApi);
|
|
13926
13924
|
};
|
|
13927
13925
|
function clearDialogState() {
|
|
@@ -13934,7 +13932,7 @@ var createPageAndAddReference = createAsyncThunk(
|
|
|
13934
13932
|
async (payload, { dispatch, getState, rejectWithValue }) => {
|
|
13935
13933
|
const { slateData, jsonData, title, type, fileId, groupId, dialogKey } = payload;
|
|
13936
13934
|
try {
|
|
13937
|
-
const { createDocState } = await import("./docStore-
|
|
13935
|
+
const { createDocState } = await import("./docStore-PM5PYKPZ.js");
|
|
13938
13936
|
const pageKey = await createDocState(
|
|
13939
13937
|
{ slateData, title },
|
|
13940
13938
|
{ dispatch, getState }
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
inlineImageUrlsForCustomProvider,
|
|
6
6
|
prepareTools,
|
|
7
7
|
shouldInlineImageUrlsForAgent
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-OLVOR45M.js";
|
|
9
9
|
import {
|
|
10
10
|
CONFIRMATION_INPUT_KEYS,
|
|
11
11
|
INVALID_TOOL_ARGS_REPLACEMENT,
|
|
@@ -14,16 +14,16 @@ import {
|
|
|
14
14
|
performFetchRequest,
|
|
15
15
|
sanitizeOutboundMessages,
|
|
16
16
|
stripModelToolArgs
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-HW7EBEC5.js";
|
|
18
18
|
import {
|
|
19
19
|
findToolExecutor,
|
|
20
20
|
toolDefinitionsByName
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-2ZYCNT2O.js";
|
|
22
22
|
import {
|
|
23
23
|
classifyApiError,
|
|
24
24
|
classifyGenerationError,
|
|
25
25
|
extractErrorDiagnostics
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-QZIOZDM6.js";
|
|
27
27
|
import {
|
|
28
28
|
createSSEParser,
|
|
29
29
|
createToolRunId,
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
toolRunSetPending,
|
|
33
33
|
toolRunStarted,
|
|
34
34
|
toolRunSucceeded
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-FCUKCVKN.js";
|
|
36
36
|
import {
|
|
37
37
|
getPublicImageAgentMode
|
|
38
38
|
} from "./chunk-VIDPVFP3.js";
|
|
@@ -42,10 +42,10 @@ import {
|
|
|
42
42
|
messageStreaming,
|
|
43
43
|
toolResultNeedsUserConfirmation,
|
|
44
44
|
updateToolMessage
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-F5WASHQA.js";
|
|
46
46
|
import {
|
|
47
47
|
streamAgentChatTurn
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-DT7EWFTY.js";
|
|
49
49
|
import {
|
|
50
50
|
getCurrentSpaceId
|
|
51
51
|
} from "./chunk-ZJ7UHBJS.js";
|
|
@@ -59,7 +59,7 @@ import {
|
|
|
59
59
|
} from "./chunk-32ZKZET7.js";
|
|
60
60
|
import {
|
|
61
61
|
write
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-CDLP56BS.js";
|
|
63
63
|
import {
|
|
64
64
|
createAsyncThunk
|
|
65
65
|
} from "./chunk-WRCZXJ4N.js";
|
|
@@ -85,13 +85,13 @@ import {
|
|
|
85
85
|
} from "./chunk-56GBUMO5.js";
|
|
86
86
|
import {
|
|
87
87
|
normalizeChatCompletionsBodyForProvider
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-4L4K6YR7.js";
|
|
89
89
|
import {
|
|
90
90
|
EMPTY_ASSISTANT_REPAIR_PROMPT
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-F3SOW2EU.js";
|
|
92
92
|
import {
|
|
93
93
|
getModelInfo
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-QA2C5NKI.js";
|
|
95
95
|
import {
|
|
96
96
|
isAbortError
|
|
97
97
|
} from "./chunk-7DPNBQSV.js";
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
} from "./chunk-VYNMQ6HW.js";
|
|
9
9
|
import {
|
|
10
10
|
fetchAndCacheTableRows
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-YR47Y7CN.js";
|
|
12
12
|
import {
|
|
13
13
|
require_react
|
|
14
14
|
} from "./chunk-YDH3FDFQ.js";
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
import {
|
|
23
23
|
resolveBuiltinCapability,
|
|
24
24
|
resolveBuiltinSkillEntry
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-SH3XD4E2.js";
|
|
26
26
|
import {
|
|
27
27
|
DEFAULT_SYSTEM_AGENT_CAPABILITIES
|
|
28
28
|
} from "./chunk-EUGTFFO6.js";
|
|
@@ -521,7 +521,7 @@ var executeToolRun = createAsyncThunk(
|
|
|
521
521
|
if (!executionInput) {
|
|
522
522
|
throw new Error(`ToolRun ${id} has no input to execute with.`);
|
|
523
523
|
}
|
|
524
|
-
const { findToolExecutor } = await import("./tools-
|
|
524
|
+
const { findToolExecutor } = await import("./tools-23VQGJOX.js");
|
|
525
525
|
const { executor } = findToolExecutor(run.toolName);
|
|
526
526
|
toolRunStarted({
|
|
527
527
|
id: run.id,
|
|
@@ -545,7 +545,7 @@ var executeToolRun = createAsyncThunk(
|
|
|
545
545
|
const latestState = thunkApi.getState();
|
|
546
546
|
const userId = selectIdentityUserId(latestState);
|
|
547
547
|
if (userId) {
|
|
548
|
-
const { fetchUserSpaceMemberships } = await import("./memberThunks-
|
|
548
|
+
const { fetchUserSpaceMemberships } = await import("./memberThunks-AZINUM4S.js");
|
|
549
549
|
await thunkApi.dispatch(fetchUserSpaceMemberships(userId));
|
|
550
550
|
}
|
|
551
551
|
}
|
|
@@ -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-BPN5OAQG.js");
|
|
18
18
|
return getAuthorityBackedDb(options);
|
|
19
19
|
}
|
|
20
20
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
listUserRecordsFromServers,
|
|
3
3
|
readLiveDbRecordAfterTombstoneMerge
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-O2IWR23M.js";
|
|
5
5
|
import {
|
|
6
6
|
agentRecordHasConfiguredCredential
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-KABQ74UQ.js";
|
|
8
8
|
import {
|
|
9
9
|
deriveCredentialGroup
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-VXS4YYJ2.js";
|
|
11
11
|
import {
|
|
12
12
|
isTombstoneRecord
|
|
13
13
|
} from "./chunk-D2MDMY2M.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fetchReferenceContents,
|
|
3
3
|
resolveReferenceAssets
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-QZIOZDM6.js";
|
|
5
5
|
import {
|
|
6
6
|
updateTokensAction
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-F5WASHQA.js";
|
|
8
8
|
import {
|
|
9
9
|
applyUpdateTokensFulfilled
|
|
10
10
|
} from "./chunk-OWYYDMGJ.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
extractReasoningFromResponseOutput,
|
|
13
13
|
extractTextFromResponseOutput,
|
|
14
14
|
extractToolCallsFromResponseOutput
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-4L4K6YR7.js";
|
|
16
16
|
import {
|
|
17
17
|
isRecord
|
|
18
18
|
} from "./chunk-KUG52IAP.js";
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
listUserRecordsFromServers,
|
|
8
8
|
readDbRecordFromServers,
|
|
9
9
|
readLiveDbRecordAfterTombstoneMerge
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-O2IWR23M.js";
|
|
11
11
|
import {
|
|
12
12
|
parsePositiveFiniteNumberOrFallback
|
|
13
13
|
} from "./chunk-Y5GCAMGP.js";
|
|
@@ -42,22 +42,13 @@ import {
|
|
|
42
42
|
} from "./chunk-I42VC5KR.js";
|
|
43
43
|
import {
|
|
44
44
|
resolveRunsDir
|
|
45
|
-
} from "./chunk-
|
|
46
|
-
import {
|
|
47
|
-
isRecord
|
|
48
|
-
} from "./chunk-KUG52IAP.js";
|
|
49
|
-
import {
|
|
50
|
-
asTrimmedString
|
|
51
|
-
} from "./chunk-3EUW3WEO.js";
|
|
45
|
+
} from "./chunk-QV3VGSX6.js";
|
|
52
46
|
import {
|
|
53
47
|
getDefaultCliLocalRuntimeDb
|
|
54
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-GAGGEA7D.js";
|
|
55
49
|
import {
|
|
56
50
|
isLevelLockError
|
|
57
51
|
} from "./chunk-AWVFQMOV.js";
|
|
58
|
-
import {
|
|
59
|
-
toErrorMessage
|
|
60
|
-
} from "./chunk-HNMXYYJR.js";
|
|
61
52
|
import {
|
|
62
53
|
resolveLocalDialogDbCandidates,
|
|
63
54
|
resolveNoloHome,
|
|
@@ -71,6 +62,15 @@ import {
|
|
|
71
62
|
resolveServerCandidates,
|
|
72
63
|
resolveServerUrl
|
|
73
64
|
} from "./chunk-A7GB5UGH.js";
|
|
65
|
+
import {
|
|
66
|
+
isRecord
|
|
67
|
+
} from "./chunk-KUG52IAP.js";
|
|
68
|
+
import {
|
|
69
|
+
asTrimmedString
|
|
70
|
+
} from "./chunk-3EUW3WEO.js";
|
|
71
|
+
import {
|
|
72
|
+
toErrorMessage
|
|
73
|
+
} from "./chunk-HNMXYYJR.js";
|
|
74
74
|
import {
|
|
75
75
|
DEFAULT_LOCAL_API_ORIGIN
|
|
76
76
|
} from "./chunk-4SN6J65J.js";
|