nolo-cli 0.190.0-alpha.1 → 0.190.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-7GFCTOFY.js → _executeModel-YKU7B22N.js} +25 -25
- package/{action-HQXK4ZT4.js → action-BHWB4MOK.js} +2 -2
- package/{addContentAction-3WAN3OWY.js → addContentAction-BY375D35.js} +3 -3
- package/{addDialogAgentAction-WNQBFR5G.js → addDialogAgentAction-HOZYOCWC.js} +2 -2
- package/{agentDeleteCommand-USWGJZSW.js → agentDeleteCommand-LTM6MGUZ.js} +26 -26
- package/{agentEmailCommands-GAY44EQY.js → agentEmailCommands-U2SU2UKX.js} +27 -27
- package/{agentListCommands-CVLCMMJH.js → agentListCommands-UFRIQ4MP.js} +10 -10
- package/{agentMachineCommands-L36OJZVK.js → agentMachineCommands-E4IRBC3P.js} +8 -8
- package/{agentProviderCommands-XSZUCNIR.js → agentProviderCommands-T6E3JCR6.js} +1 -1
- package/{agentRecordCommands-YYWWC4NK.js → agentRecordCommands-HW6YDY5E.js} +26 -26
- package/{agentRunCommand-R42JIQMC.js → agentRunCommand-KIWEFELP.js} +27 -27
- package/{agentRuntimeLocal-G4KEXO5D.js → agentRuntimeLocal-WRWUTHCL.js} +5 -5
- package/{agentSlice-STUDWJJZ.js → agentSlice-UEXQ3TMJ.js} +3 -3
- package/{appDeleteCommands-C4VXCFO6.js → appDeleteCommands-AAUOZFMM.js} +9 -9
- package/{appDeployCommands-RFSFJY75.js → appDeployCommands-FZYC74TL.js} +9 -9
- package/{appDeployStatusCommands-DBT5WQ3X.js → appDeployStatusCommands-6QHBUEE4.js} +9 -9
- package/{appGetCommands-UPIBNR2W.js → appGetCommands-6FZADSW2.js} +9 -9
- package/{appListCommands-PQA5MSVU.js → appListCommands-G3N4LQRZ.js} +9 -9
- package/{authCommand-PIMMUEN5.js → authCommand-RV5MQDWN.js} +2 -2
- package/{authCommands-RFLKIPBT.js → authCommands-MZUXPRYJ.js} +2 -2
- package/{builtinSkillRegistry-2VN6JG4U.js → builtinSkillRegistry-7MBUY5EY.js} +3 -3
- package/{chromeOpsCommands-C46BXHEE.js → chromeOpsCommands-BA6CS4DI.js} +4 -0
- package/{chunk-3QFOYFJW.js → chunk-26MN245S.js} +4 -4
- package/{chunk-GSX7Z46F.js → chunk-5HAPEKNH.js} +1 -1
- package/{chunk-53RSTB7T.js → chunk-5N5FMA7J.js} +1 -1
- package/{chunk-ZCGA3Q7V.js → chunk-5XLLUQKC.js} +38 -13
- package/{chunk-WBCYL63M.js → chunk-6WZQGT5X.js} +6 -4
- package/{chunk-JOOWHDGM.js → chunk-A5BLRE3G.js} +1 -1
- package/{chunk-Y2ZDNW2H.js → chunk-B2N5GZBU.js} +2 -2
- package/{chunk-7SJG5ZNX.js → chunk-B6EZB6DW.js} +1 -1
- package/{chunk-BHVB3ICG.js → chunk-BV4QRWKY.js} +4 -4
- package/{chunk-MMOISK6N.js → chunk-BX5ZJVA5.js} +4 -4
- package/{chunk-CLGAGPEM.js → chunk-CNMQATUF.js} +1 -1
- package/{chunk-5LVGXDSL.js → chunk-CQPXGRMT.js} +2 -2
- package/{chunk-RBVR7P3M.js → chunk-CZAX2VJQ.js} +18 -18
- package/{chunk-ER4UTWWS.js → chunk-DFF6B7P7.js} +1 -1
- package/{chunk-HVV4B6OL.js → chunk-DUNY6XR5.js} +214 -47
- package/{chunk-WMHWFFTE.js → chunk-ECX3NKRD.js} +46 -0
- package/{chunk-H6FUDBS3.js → chunk-ENBAS3ZV.js} +11 -5
- package/{chunk-KOIGM3KU.js → chunk-FMOZ57LN.js} +1 -1
- package/{chunk-O2MBTX37.js → chunk-I7QLIRQE.js} +4 -4
- package/{chunk-LOQYQUM2.js → chunk-JGJVDP2W.js} +17 -17
- package/{chunk-7N6C3IHF.js → chunk-JY2LGGXS.js} +2 -2
- package/{chunk-RGTPR57U.js → chunk-K45ORH2X.js} +4 -4
- package/{chunk-S4W4GV3B.js → chunk-K6TZSON4.js} +1 -1
- package/{chunk-PUMVJXBA.js → chunk-LIVFUMIL.js} +4 -3
- package/{chunk-R6AJKHEU.js → chunk-M2WRKZDD.js} +3 -3
- package/{chunk-4OTMONZL.js → chunk-N4QQEDCV.js} +9 -9
- package/{chunk-UBLITLAZ.js → chunk-NABJEYPJ.js} +1 -0
- package/{chunk-I3HWJODB.js → chunk-O6OGJTHX.js} +4 -1
- package/{chunk-ZIOYHDYW.js → chunk-RP7UTAUN.js} +2 -2
- package/{chunk-PVZ3GB25.js → chunk-RQJZQ377.js} +5 -5
- package/{chunk-OXOXPREC.js → chunk-SM56M7N7.js} +1 -1
- package/{chunk-PUUH5I4K.js → chunk-TEC5UHQK.js} +1 -1
- package/{chunk-IFN7MHWL.js → chunk-UGCQKKXW.js} +1 -1
- package/{chunk-RANCLEEC.js → chunk-UYZ4AALN.js} +10 -10
- package/{chunk-JAJJUMDC.js → chunk-V3MGT3RF.js} +4 -4
- package/{chunk-YUZIPPER.js → chunk-W5CPGAGO.js} +9 -3
- package/{chunk-RJ3EYB5G.js → chunk-X3RWBJDQ.js} +1 -1
- package/{chunk-6G5V4Y3V.js → chunk-Z6JTIUOG.js} +67 -43
- package/{chunk-XRADC4SK.js → chunk-ZBY4LPKJ.js} +11 -11
- package/{chunk-PCPQWTXJ.js → chunk-ZQ3EAOY3.js} +1 -1
- package/{commandRegistry-3EZUYHCR.js → commandRegistry-CYSQPTJR.js} +54 -54
- package/{contentThunks-E4DHXF3M.js → contentThunks-NNN5RO4H.js} +8 -8
- package/{createAgentAutomationAction-2P2II7B3.js → createAgentAutomationAction-45NA6I55.js} +8 -8
- package/{createDialogAction-MFZGE5EO.js → createDialogAction-PIPWZBHB.js} +10 -10
- package/{createPageAction-SBU2YCNR.js → createPageAction-JHKIBRIW.js} +8 -8
- package/{dbSlice-2O3YBVPP.js → dbSlice-QAUXABCC.js} +2 -2
- package/{dialogCommands-Z35VVKWJ.js → dialogCommands-KCEY4RI3.js} +9 -9
- package/{dialogSlice-GKPCUQWM.js → dialogSlice-BFXMIMDD.js} +7 -7
- package/{dialogUsageCommand-44XMU6DD.js → dialogUsageCommand-QTG6ILEJ.js} +58 -5
- package/{docCreateCommands-I654DRPF.js → docCreateCommands-35H6J2I3.js} +8 -8
- package/{docDeleteCommands-CKHY75KZ.js → docDeleteCommands-IIJMKC4W.js} +9 -9
- package/{docReadCommands-YOWFZ3XC.js → docReadCommands-N6UI6K3Q.js} +8 -8
- package/{docStore-DOZVBVKZ.js → docStore-XPVMFUNP.js} +3 -3
- package/{docUpdateCommands-FMUKYCYX.js → docUpdateCommands-75NLQ4BK.js} +8 -8
- package/{fetchMessages-QLW7INJJ.js → fetchMessages-HWBVATSE.js} +1 -1
- package/{handleSendMessageAction-FY4RBJEA.js → handleSendMessageAction-ZBRKFRQI.js} +15 -15
- package/index.js +3 -3
- package/{keys-N6HQICY5.js → keys-P4ZDOVJW.js} +11 -1
- package/{localDialogRead-55YDVPNU.js → localDialogRead-CT5HGDMC.js} +1 -1
- package/{localRuntimeAdapter-X22B3GW3.js → localRuntimeAdapter-7RGZUO2P.js} +24 -24
- package/{machineCommands-XEJR6HF3.js → machineCommands-6AGBZDIR.js} +25 -25
- package/{machineWsRunDispatch-BYX227T2.js → machineWsRunDispatch-MP5AVWMN.js} +25 -25
- package/{memberThunks-VXT36MZP.js → memberThunks-QWAAGQBS.js} +155 -52
- package/package.json +1 -1
- package/{readlineWorkspace-GXU2KWOK.js → readlineWorkspace-Z7QDLLL3.js} +31 -31
- package/{removeDialogAgentAction-PK24DJ2J.js → removeDialogAgentAction-YEPO5AYI.js} +3 -3
- package/{runAgentClientLoop-CFIM6MXT.js → runAgentClientLoop-3GJFXSSC.js} +23 -23
- package/{setDialogExtraReferencesAction-BN4IBUO6.js → setDialogExtraReferencesAction-EH5GWDAJ.js} +3 -3
- package/{setPrimaryDialogAgentAction-JR5SMLZY.js → setPrimaryDialogAgentAction-PNWRK6IY.js} +3 -3
- package/{settingThunks-RJZQHL7H.js → settingThunks-7VCWB6P7.js} +2 -2
- package/{spaceCommands-BI3TRIAK.js → spaceCommands-YDOM6YMW.js} +8 -8
- package/{streamAgentChatTurn-3BS7IAFR.js → streamAgentChatTurn-REDU63PC.js} +25 -25
- package/{switchDialogAgentAction-TSIXBNRH.js → switchDialogAgentAction-23BFWJMV.js} +2 -2
- package/{tools-PCTUYG54.js → tools-W4PYCFAJ.js} +19 -19
- package/{updateDialogTitleAction-ZHFIMEQL.js → updateDialogTitleAction-4FPPW5NQ.js} +8 -8
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
clipMultilineText,
|
|
3
3
|
fetchAndSerializeTable,
|
|
4
4
|
waitForAbortableDelay
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-I7QLIRQE.js";
|
|
6
6
|
import {
|
|
7
7
|
isGatewayHttpStatus
|
|
8
8
|
} from "./chunk-NF64D32W.js";
|
|
@@ -21,13 +21,13 @@ import {
|
|
|
21
21
|
} from "./chunk-AGIM7IMJ.js";
|
|
22
22
|
import {
|
|
23
23
|
fetchAndCacheMessages
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-CZAX2VJQ.js";
|
|
25
25
|
import {
|
|
26
26
|
createSpaceKey
|
|
27
27
|
} from "./chunk-UAD2WT54.js";
|
|
28
28
|
import {
|
|
29
29
|
read
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-B2N5GZBU.js";
|
|
31
31
|
import {
|
|
32
32
|
getRuntimeServerContext
|
|
33
33
|
} from "./chunk-7UODCAWW.js";
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
extractRuntimePageCapabilities,
|
|
36
36
|
resolveBuiltinSkillPage,
|
|
37
37
|
resolveSkillGraphFromRoots
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-5HAPEKNH.js";
|
|
39
39
|
import {
|
|
40
40
|
isAbortError
|
|
41
41
|
} from "./chunk-7DPNBQSV.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
import {
|
|
20
20
|
OAUTH_PROVIDER_REFS,
|
|
21
21
|
buildLocalAgentLookupKeys
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-X3RWBJDQ.js";
|
|
23
23
|
import {
|
|
24
24
|
LOCAL_CODEX_AGENT_ID,
|
|
25
25
|
LOCAL_CODEX_AGENT_KEY,
|
|
@@ -60,7 +60,7 @@ import {
|
|
|
60
60
|
import {
|
|
61
61
|
inlineImageUrlsForCustomProvider,
|
|
62
62
|
prepareTools
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-RP7UTAUN.js";
|
|
64
64
|
import {
|
|
65
65
|
getServerProviderSecret
|
|
66
66
|
} from "./chunk-HS7MLR74.js";
|
|
@@ -82,7 +82,7 @@ import {
|
|
|
82
82
|
resolveCliLocalRuntimeKeyCapability,
|
|
83
83
|
resolveCliLocalSpawnDispatch,
|
|
84
84
|
resolveStartAgentRunCwd
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-Z6JTIUOG.js";
|
|
86
86
|
import {
|
|
87
87
|
fetchWithTransientRetry,
|
|
88
88
|
isTransientFetchError
|
|
@@ -90,10 +90,10 @@ import {
|
|
|
90
90
|
import {
|
|
91
91
|
deriveCredentialGroup,
|
|
92
92
|
deriveCustomProviderCredentialGroup
|
|
93
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-5N5FMA7J.js";
|
|
94
94
|
import {
|
|
95
95
|
resolveAgentRequiredPackIds
|
|
96
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-I7QLIRQE.js";
|
|
97
97
|
import {
|
|
98
98
|
applyBuiltinAgentRuntimeOverride,
|
|
99
99
|
applyTokenUsageToDayStats,
|
|
@@ -102,14 +102,14 @@ import {
|
|
|
102
102
|
resolveBuiltinPlatformAgentConfig,
|
|
103
103
|
runKeyed,
|
|
104
104
|
validateAskChoiceInput
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-CZAX2VJQ.js";
|
|
106
106
|
import {
|
|
107
107
|
BUILTIN_DIALOG_LLM_CHAT_FALLBACK_MODEL,
|
|
108
108
|
BUILTIN_TITLE_LLM_CONFIG
|
|
109
109
|
} from "./chunk-523DITKR.js";
|
|
110
110
|
import {
|
|
111
111
|
fetchServerSyncedCredential
|
|
112
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-RQJZQ377.js";
|
|
113
113
|
import {
|
|
114
114
|
getDefaultCliLocalRuntimeDb
|
|
115
115
|
} from "./chunk-P64WRQYV.js";
|
|
@@ -125,7 +125,7 @@ import {
|
|
|
125
125
|
applySystemBuiltinSkillFilter,
|
|
126
126
|
expandEnabledPacks,
|
|
127
127
|
resolveEffectiveEnabledPacks
|
|
128
|
-
} from "./chunk-
|
|
128
|
+
} from "./chunk-SM56M7N7.js";
|
|
129
129
|
import {
|
|
130
130
|
DEFAULT_HYBRID_READ_TIMEOUT_MS,
|
|
131
131
|
Duration_exports,
|
|
@@ -169,7 +169,7 @@ import {
|
|
|
169
169
|
runExecShellGates,
|
|
170
170
|
validateConfiguredRootExecutionLease,
|
|
171
171
|
verifyOwnerRouteAck
|
|
172
|
-
} from "./chunk-
|
|
172
|
+
} from "./chunk-DUNY6XR5.js";
|
|
173
173
|
import {
|
|
174
174
|
accumulateGeminiChunks,
|
|
175
175
|
buildGeminiGenerateContentRequest,
|
|
@@ -228,7 +228,7 @@ import {
|
|
|
228
228
|
parseNoloWorkspaceToolArguments,
|
|
229
229
|
resolveRequestToolSurface,
|
|
230
230
|
resolveRuntimeToolSurfaceForAgent
|
|
231
|
-
} from "./chunk-
|
|
231
|
+
} from "./chunk-NABJEYPJ.js";
|
|
232
232
|
import {
|
|
233
233
|
isCapacitySaturatedRateLimit,
|
|
234
234
|
mergeAvailabilityDeadline,
|
|
@@ -242,7 +242,7 @@ import {
|
|
|
242
242
|
} from "./chunk-2MBTWINN.js";
|
|
243
243
|
import {
|
|
244
244
|
normalizeUsage
|
|
245
|
-
} from "./chunk-
|
|
245
|
+
} from "./chunk-K6TZSON4.js";
|
|
246
246
|
import {
|
|
247
247
|
isDevinOAuthAgent
|
|
248
248
|
} from "./chunk-5ZUL4CUO.js";
|
|
@@ -380,10 +380,11 @@ import {
|
|
|
380
380
|
t
|
|
381
381
|
} from "./chunk-UNOILAZP.js";
|
|
382
382
|
import {
|
|
383
|
+
createTokenDialogIndexKey,
|
|
383
384
|
createTokenKey,
|
|
384
385
|
createTokenStatsKey,
|
|
385
386
|
createUserKey
|
|
386
|
-
} from "./chunk-
|
|
387
|
+
} from "./chunk-ECX3NKRD.js";
|
|
387
388
|
import {
|
|
388
389
|
dialogMessageKey,
|
|
389
390
|
dialogMessagePrefix,
|
|
@@ -11817,6 +11818,22 @@ function isRemoteAuthEndpoint(endpoint) {
|
|
|
11817
11818
|
return false;
|
|
11818
11819
|
}
|
|
11819
11820
|
|
|
11821
|
+
// packages/ai/token/tokenDialogIndex.ts
|
|
11822
|
+
function buildTokenDialogIndexOps(args) {
|
|
11823
|
+
const userId = (args.userId ?? "").trim();
|
|
11824
|
+
const dialogId = (args.dialogId ?? "").trim();
|
|
11825
|
+
const callId = (args.callId ?? "").trim();
|
|
11826
|
+
const recordKey = (args.recordKey ?? "").trim();
|
|
11827
|
+
if (!userId || !dialogId || !callId || !recordKey) return [];
|
|
11828
|
+
return [
|
|
11829
|
+
{
|
|
11830
|
+
type: "put",
|
|
11831
|
+
key: createTokenDialogIndexKey(userId, dialogId, callId),
|
|
11832
|
+
value: { userId, dialogId, callId, recordKey }
|
|
11833
|
+
}
|
|
11834
|
+
];
|
|
11835
|
+
}
|
|
11836
|
+
|
|
11820
11837
|
// packages/cli/client/localRuntimeDialog.ts
|
|
11821
11838
|
import { appendFileSync, mkdirSync as mkdirSync3 } from "fs";
|
|
11822
11839
|
import { homedir } from "os";
|
|
@@ -12008,7 +12025,15 @@ async function writeLocalTokenRecord(args) {
|
|
|
12008
12025
|
type: "token",
|
|
12009
12026
|
...prepared.tokenData
|
|
12010
12027
|
};
|
|
12011
|
-
await args.store.
|
|
12028
|
+
await args.store.batch([
|
|
12029
|
+
{ type: "put", key: recordKey, value: tokenRecord },
|
|
12030
|
+
...buildTokenDialogIndexOps({
|
|
12031
|
+
userId: args.userId,
|
|
12032
|
+
dialogId: typeof prepared.tokenData.dialogId === "string" ? prepared.tokenData.dialogId : "",
|
|
12033
|
+
callId,
|
|
12034
|
+
recordKey
|
|
12035
|
+
})
|
|
12036
|
+
]);
|
|
12012
12037
|
ops.push({ type: "put", key: recordKey, value: tokenRecord });
|
|
12013
12038
|
const dateKey = format(timestamp, "yyyy-MM-dd");
|
|
12014
12039
|
const statsKey = createTokenStatsKey(args.userId, dateKey);
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
classifyAgentApiKeyRef,
|
|
4
4
|
formatUnsupportedAgentApiKeyRefMessage,
|
|
5
5
|
shouldReadAgentKeyRemotely
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-X3RWBJDQ.js";
|
|
7
7
|
import {
|
|
8
8
|
resolveCliAgentKeyInput
|
|
9
9
|
} from "./chunk-NBTY7YJF.js";
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
} from "./chunk-Y6ROFCZO.js";
|
|
24
24
|
import {
|
|
25
25
|
createAgentKey
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-ECX3NKRD.js";
|
|
27
27
|
|
|
28
28
|
// packages/cli/agentRecordHelpers.ts
|
|
29
29
|
import { readFileSync } from "node:fs";
|
|
@@ -41,6 +41,8 @@ var PROVIDER_COPY_FIELDS = [
|
|
|
41
41
|
"model",
|
|
42
42
|
"customProviderUrl",
|
|
43
43
|
"apiKey",
|
|
44
|
+
"apiKeyRef",
|
|
45
|
+
"apiKeyHeader",
|
|
44
46
|
"useServerProxy",
|
|
45
47
|
"inputPrice",
|
|
46
48
|
"outputPrice"
|
|
@@ -593,7 +595,7 @@ async function buildCreatedAgentRecord(args) {
|
|
|
593
595
|
throw new Error(`provider source agent not found: ${args.parsed.copyProviderFrom}`);
|
|
594
596
|
}
|
|
595
597
|
for (const field of PROVIDER_COPY_FIELDS) {
|
|
596
|
-
if (field in providerSource.record) {
|
|
598
|
+
if (field in providerSource.record && !(field in args.parsed.updates)) {
|
|
597
599
|
args.parsed.updates[field] = providerSource.record[field];
|
|
598
600
|
}
|
|
599
601
|
}
|
|
@@ -662,7 +664,7 @@ async function buildUpdatedAgentRecord(args) {
|
|
|
662
664
|
throw new Error(`provider source agent not found: ${args.parsed.copyProviderFrom}`);
|
|
663
665
|
}
|
|
664
666
|
for (const field of PROVIDER_COPY_FIELDS) {
|
|
665
|
-
if (field in providerSource.record) {
|
|
667
|
+
if (field in providerSource.record && !(field in args.parsed.updates)) {
|
|
666
668
|
args.parsed.updates[field] = providerSource.record[field];
|
|
667
669
|
}
|
|
668
670
|
}
|
|
@@ -53,7 +53,7 @@ import {
|
|
|
53
53
|
import {
|
|
54
54
|
fileKey,
|
|
55
55
|
getFileIdFromKey
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-ECX3NKRD.js";
|
|
57
57
|
import {
|
|
58
58
|
ulid
|
|
59
59
|
} from "./chunk-XJWWBO34.js";
|
|
@@ -782,7 +782,7 @@ var dbSlice = createSliceWithThunks({
|
|
|
782
782
|
// 这里改成动态 import,运行期才解析,彻底断开这条边。
|
|
783
783
|
share: create.asyncThunk(
|
|
784
784
|
async (config, thunkApi) => {
|
|
785
|
-
const { shareResourceAction } = await import("./action-
|
|
785
|
+
const { shareResourceAction } = await import("./action-BHWB4MOK.js");
|
|
786
786
|
return shareResourceAction(config, thunkApi);
|
|
787
787
|
}
|
|
788
788
|
),
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createCliLocalRuntimeAdapter,
|
|
3
3
|
summarizeEndpoint
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-5XLLUQKC.js";
|
|
5
5
|
import {
|
|
6
6
|
clipMultilineText
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-I7QLIRQE.js";
|
|
8
8
|
import {
|
|
9
9
|
runLocalAgentTurn
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-DUNY6XR5.js";
|
|
11
11
|
import {
|
|
12
12
|
applyToolSurfaceConstraints
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-NABJEYPJ.js";
|
|
14
14
|
import {
|
|
15
15
|
resolveLocalRuntimeEnvFromPolicy
|
|
16
16
|
} from "./chunk-TRZP7JZ7.js";
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
} from "./chunk-HS7MLR74.js";
|
|
4
4
|
import {
|
|
5
5
|
performServerProxyFetchWithRetry
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-26MN245S.js";
|
|
7
7
|
import {
|
|
8
8
|
fetchServerSyncedCredential
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-RQJZQ377.js";
|
|
10
10
|
import {
|
|
11
11
|
buildSkillGuidancePromptBlock
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-5HAPEKNH.js";
|
|
13
13
|
import {
|
|
14
14
|
CREDENTIAL_HYGIENE_RULE,
|
|
15
15
|
DELETE_SAFETY_RED_LINE,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
compileContextLayers,
|
|
24
24
|
detectDispatchIntentFromMessages,
|
|
25
25
|
resolveToolGuidedSections
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-O6OGJTHX.js";
|
|
27
27
|
import {
|
|
28
28
|
convertMessagesToResponsesInput,
|
|
29
29
|
getUsageRequestOptions,
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
} from "./chunk-NBTY7YJF.js";
|
|
6
6
|
import {
|
|
7
7
|
resolveCliLocalRuntimeKeyCapability
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-Z6JTIUOG.js";
|
|
9
9
|
import {
|
|
10
10
|
HIGH_RISK_MUTATION_TOOL_NAMES
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-NABJEYPJ.js";
|
|
12
12
|
import {
|
|
13
13
|
DEFAULT_NOLO_SERVER_URL
|
|
14
14
|
} from "./chunk-OLZBQWZU.js";
|
|
@@ -11,19 +11,19 @@ import {
|
|
|
11
11
|
} from "./chunk-523DITKR.js";
|
|
12
12
|
import {
|
|
13
13
|
runLlm
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-RQJZQ377.js";
|
|
15
15
|
import {
|
|
16
16
|
isMediaToolConfirmation
|
|
17
17
|
} from "./chunk-QYPE3TS3.js";
|
|
18
18
|
import {
|
|
19
19
|
cleanupCliSessionForDialog
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-A5BLRE3G.js";
|
|
21
21
|
import {
|
|
22
22
|
getApproxPricePerImage
|
|
23
23
|
} from "./chunk-4JH2UMJR.js";
|
|
24
24
|
import {
|
|
25
25
|
addContentAction
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-B6EZB6DW.js";
|
|
27
27
|
import {
|
|
28
28
|
getActiveDialogAgentId,
|
|
29
29
|
getDialogAgentIds,
|
|
@@ -61,7 +61,7 @@ import {
|
|
|
61
61
|
selectById,
|
|
62
62
|
upload,
|
|
63
63
|
write
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-B2N5GZBU.js";
|
|
65
65
|
import {
|
|
66
66
|
getRuntimeServerContext,
|
|
67
67
|
parseOwnerUserIdFromDbKey,
|
|
@@ -106,7 +106,7 @@ import {
|
|
|
106
106
|
extractReferenceKeysFromMessage,
|
|
107
107
|
normalizeUsage,
|
|
108
108
|
resolveAutoExecutionProfile
|
|
109
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-K6TZSON4.js";
|
|
110
110
|
import {
|
|
111
111
|
isDevinOAuthAgent
|
|
112
112
|
} from "./chunk-5ZUL4CUO.js";
|
|
@@ -169,7 +169,7 @@ import {
|
|
|
169
169
|
createKey,
|
|
170
170
|
createTokenKey,
|
|
171
171
|
createTokenStatsKey
|
|
172
|
-
} from "./chunk-
|
|
172
|
+
} from "./chunk-ECX3NKRD.js";
|
|
173
173
|
import {
|
|
174
174
|
createDialogMessageKeyAndId,
|
|
175
175
|
dialogMessageKey
|
|
@@ -11073,7 +11073,7 @@ var messageSlice = createSliceWithThunks({
|
|
|
11073
11073
|
runtimeOptions: args.runtimeOptions
|
|
11074
11074
|
});
|
|
11075
11075
|
if (agentKeyToUse) {
|
|
11076
|
-
const { streamAgentChatTurn } = await import("./agentSlice-
|
|
11076
|
+
const { streamAgentChatTurn } = await import("./agentSlice-UEXQ3TMJ.js");
|
|
11077
11077
|
await dispatch(
|
|
11078
11078
|
streamAgentChatTurn({
|
|
11079
11079
|
agentKey: agentKeyToUse,
|
|
@@ -13887,7 +13887,7 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
13887
13887
|
}
|
|
13888
13888
|
if (isCurrentDialog) {
|
|
13889
13889
|
await thunkApi.dispatch(resetMsgs());
|
|
13890
|
-
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-
|
|
13890
|
+
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-BFXMIMDD.js");
|
|
13891
13891
|
dispatch(clearPendingAttachments2());
|
|
13892
13892
|
}
|
|
13893
13893
|
return { dialogKey, isCurrentDialog, attachmentPlan };
|
|
@@ -13895,39 +13895,39 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
13895
13895
|
|
|
13896
13896
|
// packages/chat/dialog/dialogSlice.ts
|
|
13897
13897
|
var runCreateDialogAction = async (args, thunkApi) => {
|
|
13898
|
-
const { createDialogAction } = await import("./createDialogAction-
|
|
13898
|
+
const { createDialogAction } = await import("./createDialogAction-PIPWZBHB.js");
|
|
13899
13899
|
return createDialogAction(args, thunkApi);
|
|
13900
13900
|
};
|
|
13901
13901
|
var runCreateAgentAutomationAction = async (args, thunkApi) => {
|
|
13902
|
-
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-
|
|
13902
|
+
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-45NA6I55.js");
|
|
13903
13903
|
return createAgentAutomationAction(args, thunkApi);
|
|
13904
13904
|
};
|
|
13905
13905
|
var runUpdateDialogTitleAction = async (args, thunkApi) => {
|
|
13906
|
-
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-
|
|
13906
|
+
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-4FPPW5NQ.js");
|
|
13907
13907
|
return updateDialogTitleAction(args, thunkApi);
|
|
13908
13908
|
};
|
|
13909
13909
|
var runAddDialogAgentAction = async (args, thunkApi) => {
|
|
13910
|
-
const { addDialogAgentAction } = await import("./addDialogAgentAction-
|
|
13910
|
+
const { addDialogAgentAction } = await import("./addDialogAgentAction-HOZYOCWC.js");
|
|
13911
13911
|
return addDialogAgentAction(args, thunkApi);
|
|
13912
13912
|
};
|
|
13913
13913
|
var runRemoveDialogAgentAction = async (args, thunkApi) => {
|
|
13914
|
-
const { removeDialogAgentAction } = await import("./removeDialogAgentAction-
|
|
13914
|
+
const { removeDialogAgentAction } = await import("./removeDialogAgentAction-YEPO5AYI.js");
|
|
13915
13915
|
return removeDialogAgentAction(args, thunkApi);
|
|
13916
13916
|
};
|
|
13917
13917
|
var runSetPrimaryDialogAgentAction = async (args, thunkApi) => {
|
|
13918
|
-
const { setPrimaryDialogAgentAction } = await import("./setPrimaryDialogAgentAction-
|
|
13918
|
+
const { setPrimaryDialogAgentAction } = await import("./setPrimaryDialogAgentAction-PNWRK6IY.js");
|
|
13919
13919
|
return setPrimaryDialogAgentAction(args, thunkApi);
|
|
13920
13920
|
};
|
|
13921
13921
|
var runSwitchDialogAgentAction = async (args, thunkApi) => {
|
|
13922
|
-
const { switchDialogAgentAction } = await import("./switchDialogAgentAction-
|
|
13922
|
+
const { switchDialogAgentAction } = await import("./switchDialogAgentAction-23BFWJMV.js");
|
|
13923
13923
|
return switchDialogAgentAction(args, thunkApi);
|
|
13924
13924
|
};
|
|
13925
13925
|
var runSetDialogExtraReferencesAction = async (args, thunkApi) => {
|
|
13926
|
-
const { setDialogExtraReferencesAction } = await import("./setDialogExtraReferencesAction-
|
|
13926
|
+
const { setDialogExtraReferencesAction } = await import("./setDialogExtraReferencesAction-EH5GWDAJ.js");
|
|
13927
13927
|
return setDialogExtraReferencesAction(args, thunkApi);
|
|
13928
13928
|
};
|
|
13929
13929
|
var runHandleSendMessageAction = async (args, thunkApi) => {
|
|
13930
|
-
const { handleSendMessageAction } = await import("./handleSendMessageAction-
|
|
13930
|
+
const { handleSendMessageAction } = await import("./handleSendMessageAction-ZBRKFRQI.js");
|
|
13931
13931
|
return handleSendMessageAction(args, thunkApi);
|
|
13932
13932
|
};
|
|
13933
13933
|
function clearDialogState() {
|
|
@@ -13940,7 +13940,7 @@ var createPageAndAddReference = createAsyncThunk(
|
|
|
13940
13940
|
async (payload, { dispatch, getState, rejectWithValue }) => {
|
|
13941
13941
|
const { slateData, jsonData, title, type, fileId, groupId, dialogKey } = payload;
|
|
13942
13942
|
try {
|
|
13943
|
-
const { createDocState } = await import("./docStore-
|
|
13943
|
+
const { createDocState } = await import("./docStore-XPVMFUNP.js");
|
|
13944
13944
|
const pageKey = await createDocState(
|
|
13945
13945
|
{ slateData, title },
|
|
13946
13946
|
{ dispatch, getState }
|