nolo-cli 0.225.0-alpha.1 → 0.226.0-alpha.2
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-L5VHAXSU.js → _executeModel-IKZGZZXW.js} +13 -13
- package/{agentDeleteCommand-4WC7INCX.js → agentDeleteCommand-IZY3VF5F.js} +12 -12
- package/{agentEmailCommands-3XFR6WY7.js → agentEmailCommands-YWL567CL.js} +13 -13
- package/{agentListCommands-BBCP5XYW.js → agentListCommands-YBNOQ5T3.js} +2 -2
- package/{agentMachineCommands-YZDCOLQL.js → agentMachineCommands-AXJ4A772.js} +1 -1
- package/{agentRecordCommands-KLYKI4Z7.js → agentRecordCommands-WUUC2CX7.js} +13 -13
- package/{agentRunCommand-NHYBV4G5.js → agentRunCommand-W6MDKVLJ.js} +13 -13
- package/{agentRunControl-7A2FOXIJ.js → agentRunControl-DFEEOFC7.js} +2 -2
- package/{agentSlice-O6IGTM3Y.js → agentSlice-5F5U5X2U.js} +1 -1
- package/{chunk-XQBIZRGW.js → chunk-2COEG5ZV.js} +2 -2
- package/{chunk-IUD7YR3B.js → chunk-4AMQZTE7.js} +1 -1
- package/{chunk-YI5CDUJD.js → chunk-6O5YP6FX.js} +2 -2
- package/{chunk-KDAGMRDA.js → chunk-AZQZ5XPM.js} +1 -1
- package/{chunk-K44HIUBX.js → chunk-BLSNUIZD.js} +3 -3
- package/{chunk-F3YK7KIU.js → chunk-BYH3HMUP.js} +2 -2
- package/{chunk-XZGQ6ZCV.js → chunk-E5EIYI34.js} +2 -2
- package/{chunk-LS2MGTUS.js → chunk-EFX3Q5SM.js} +2 -2
- package/{chunk-HOK3ILHA.js → chunk-EJU6WCDH.js} +9 -9
- package/{chunk-WQEMD4Z4.js → chunk-F7DU25CE.js} +1 -1
- package/{chunk-TZEP5J4A.js → chunk-GBUDWITV.js} +382 -8
- package/{chunk-Z6USB65D.js → chunk-HHL7WG65.js} +2 -2
- package/{chunk-YXMBJ7UH.js → chunk-JHRQXQ4A.js} +1 -1
- package/{chunk-WG2LFJYB.js → chunk-L4NFXFFF.js} +2 -2
- package/{chunk-P25E3CKY.js → chunk-NEKH3XDV.js} +2 -2
- package/{chunk-652XYZGP.js → chunk-OLMJR6UM.js} +5 -0
- package/{chunk-JCK3EFZS.js → chunk-QTMIHVLE.js} +6 -6
- package/{chunk-7XS4W5KP.js → chunk-RRVQ446B.js} +6 -6
- package/{chunk-EOJZGQAE.js → chunk-T3T57NVP.js} +2 -2
- package/{chunk-AMEOV5VZ.js → chunk-VQUWV3YR.js} +32 -32
- package/{chunk-FNDSBM4J.js → chunk-W772FYAQ.js} +10 -10
- package/{chunk-ZRAARRA3.js → chunk-WSJMT3FA.js} +16 -16
- package/{commandRegistry-HJDPQSQ4.js → commandRegistry-6EQXVODF.js} +28 -28
- package/{contentThunks-I6OR5ENG.js → contentThunks-ANUP57QV.js} +3 -3
- package/{createAgentAutomationAction-7BCCTWO5.js → createAgentAutomationAction-XMUWUDKQ.js} +3 -3
- package/{createDialogAction-CU27KSCJ.js → createDialogAction-43QJIQDH.js} +4 -4
- package/{createPageAction-CWRTEYVA.js → createPageAction-SJO7UC3J.js} +4 -4
- package/{dialogCommands-OPTRZWTE.js → dialogCommands-V5IYEOQP.js} +3 -3
- package/{dialogSlice-XODSLDHY.js → dialogSlice-FQ6WOKWJ.js} +2 -2
- package/{docStore-TVN4SNVE.js → docStore-BZ2O7WLF.js} +1 -1
- package/{handleSendMessageAction-NSEMVHWX.js → handleSendMessageAction-I5J7QR7K.js} +9 -9
- package/{hostCredentialCreate-WBZY7DZB.js → hostCredentialCreate-AVPMK7EQ.js} +13 -13
- package/index.js +3 -3
- package/{localRuntimeAdapter-OAIWERFA.js → localRuntimeAdapter-S56R76HN.js} +12 -12
- package/{machineCommands-OI37ZUQ4.js → machineCommands-77NFB2AE.js} +13 -13
- package/{machineWsRunDispatch-73HKPV6D.js → machineWsRunDispatch-5XWFUJ53.js} +13 -13
- package/package.json +1 -1
- package/{projectArchive-GVEARCOG.js → projectArchive-GNOSYH6F.js} +4 -4
- package/{readlineWorkspace-5DWUGNSU.js → readlineWorkspace-2PONGBUP.js} +3426 -3440
- package/{runAgentClientLoop-RDXIPF34.js → runAgentClientLoop-WEXFFHVS.js} +11 -11
- package/{streamAgentChatTurn-XEYQZPDJ.js → streamAgentChatTurn-D2WFS5MF.js} +14 -14
- package/{tools-6DFTHCFX.js → tools-YKE6PQHT.js} +8 -8
- package/{updateDialogTitleAction-AMSBV2H7.js → updateDialogTitleAction-D5NCA4FC.js} +3 -3
|
@@ -2,33 +2,6 @@ import {
|
|
|
2
2
|
estimateTokenCount
|
|
3
3
|
} from "./chunk-PSCNXBYA.js";
|
|
4
4
|
|
|
5
|
-
// packages/ai/tools/agent/agentRunName.ts
|
|
6
|
-
async function resolveAgentRunName(agentKey, candidates, readAgent) {
|
|
7
|
-
for (const candidate of candidates) {
|
|
8
|
-
if (typeof candidate === "string" && candidate.trim()) return candidate.trim();
|
|
9
|
-
}
|
|
10
|
-
try {
|
|
11
|
-
const record = await readAgent?.(agentKey);
|
|
12
|
-
if (!record?.deletedAt && !record?.deleted && !record?.isDeleted && typeof record?.name === "string" && record.name.trim()) {
|
|
13
|
-
return record.name.trim();
|
|
14
|
-
}
|
|
15
|
-
} catch {
|
|
16
|
-
}
|
|
17
|
-
return shortAgentKey(agentKey);
|
|
18
|
-
}
|
|
19
|
-
function shortAgentKey(agentKey) {
|
|
20
|
-
return agentKey.trim().slice(-24) || "unknown-agent";
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
// packages/ai/tools/agent/runTitle.ts
|
|
24
|
-
var RUN_TITLE_MAX = 60;
|
|
25
|
-
function normalizeRunTitle(value) {
|
|
26
|
-
if (typeof value !== "string") return void 0;
|
|
27
|
-
const cleaned = value.replace(/[\u0000-\u001f\u007f-\u009f]+/g, " ").replace(/\s+/g, " ").trim();
|
|
28
|
-
if (!cleaned) return void 0;
|
|
29
|
-
return cleaned.length > RUN_TITLE_MAX ? `${cleaned.slice(0, RUN_TITLE_MAX - 1)}\u2026` : cleaned;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
5
|
// packages/ai/tools/agent/agentRunDisplayHelpers.ts
|
|
33
6
|
function buildDelegatedTaskContent(task, input) {
|
|
34
7
|
if (input === void 0 || input === null) {
|
|
@@ -403,11 +376,34 @@ function formatLocalClockUntil(atMs, now) {
|
|
|
403
376
|
return sameDay ? time : `${pad(at.getMonth() + 1)}-${pad(at.getDate())} ${time}`;
|
|
404
377
|
}
|
|
405
378
|
|
|
379
|
+
// packages/ai/tools/agent/agentRunName.ts
|
|
380
|
+
async function resolveAgentRunName(agentKey, candidates, readAgent) {
|
|
381
|
+
for (const candidate of candidates) {
|
|
382
|
+
if (typeof candidate === "string" && candidate.trim()) return candidate.trim();
|
|
383
|
+
}
|
|
384
|
+
try {
|
|
385
|
+
const record = await readAgent?.(agentKey);
|
|
386
|
+
if (!record?.deletedAt && !record?.deleted && !record?.isDeleted && typeof record?.name === "string" && record.name.trim()) {
|
|
387
|
+
return record.name.trim();
|
|
388
|
+
}
|
|
389
|
+
} catch {
|
|
390
|
+
}
|
|
391
|
+
return shortAgentKey(agentKey);
|
|
392
|
+
}
|
|
393
|
+
function shortAgentKey(agentKey) {
|
|
394
|
+
return agentKey.trim().slice(-24) || "unknown-agent";
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
// packages/ai/tools/agent/runTitle.ts
|
|
398
|
+
var RUN_TITLE_MAX = 60;
|
|
399
|
+
function normalizeRunTitle(value) {
|
|
400
|
+
if (typeof value !== "string") return void 0;
|
|
401
|
+
const cleaned = value.replace(/[\u0000-\u001f\u007f-\u009f]+/g, " ").replace(/\s+/g, " ").trim();
|
|
402
|
+
if (!cleaned) return void 0;
|
|
403
|
+
return cleaned.length > RUN_TITLE_MAX ? `${cleaned.slice(0, RUN_TITLE_MAX - 1)}\u2026` : cleaned;
|
|
404
|
+
}
|
|
405
|
+
|
|
406
406
|
export {
|
|
407
|
-
resolveAgentRunName,
|
|
408
|
-
shortAgentKey,
|
|
409
|
-
RUN_TITLE_MAX,
|
|
410
|
-
normalizeRunTitle,
|
|
411
407
|
buildDelegatedTaskContent,
|
|
412
408
|
calculateDelegatedPayloadMetrics,
|
|
413
409
|
getAgentRunStatusIcon,
|
|
@@ -427,5 +423,9 @@ export {
|
|
|
427
423
|
formatListRunsCard,
|
|
428
424
|
formatNotFoundRunCard,
|
|
429
425
|
isAgentRunTerminalStatus,
|
|
430
|
-
formatAgentListCard
|
|
426
|
+
formatAgentListCard,
|
|
427
|
+
resolveAgentRunName,
|
|
428
|
+
shortAgentKey,
|
|
429
|
+
RUN_TITLE_MAX,
|
|
430
|
+
normalizeRunTitle
|
|
431
431
|
};
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
} from "./chunk-523DITKR.js";
|
|
15
15
|
import {
|
|
16
16
|
runLlm
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-BLSNUIZD.js";
|
|
18
18
|
import {
|
|
19
19
|
isMediaToolConfirmation
|
|
20
20
|
} from "./chunk-QYPE3TS3.js";
|
|
@@ -14426,7 +14426,7 @@ var messageSlice = createSliceWithThunks({
|
|
|
14426
14426
|
runtimeOptions: args.runtimeOptions
|
|
14427
14427
|
});
|
|
14428
14428
|
if (agentKeyToUse) {
|
|
14429
|
-
const { streamAgentChatTurn } = await import("./agentSlice-
|
|
14429
|
+
const { streamAgentChatTurn } = await import("./agentSlice-5F5U5X2U.js");
|
|
14430
14430
|
await dispatch(
|
|
14431
14431
|
streamAgentChatTurn({
|
|
14432
14432
|
agentKey: agentKeyToUse,
|
|
@@ -15559,7 +15559,7 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
15559
15559
|
}
|
|
15560
15560
|
if (isCurrentDialog) {
|
|
15561
15561
|
await thunkApi.dispatch(resetMsgs());
|
|
15562
|
-
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-
|
|
15562
|
+
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-FQ6WOKWJ.js");
|
|
15563
15563
|
dispatch(clearPendingAttachments2());
|
|
15564
15564
|
}
|
|
15565
15565
|
return { dialogKey, isCurrentDialog, attachmentPlan };
|
|
@@ -15567,15 +15567,15 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
15567
15567
|
|
|
15568
15568
|
// packages/chat/dialog/dialogSlice.ts
|
|
15569
15569
|
var runCreateDialogAction = async (args, thunkApi) => {
|
|
15570
|
-
const { createDialogAction } = await import("./createDialogAction-
|
|
15570
|
+
const { createDialogAction } = await import("./createDialogAction-43QJIQDH.js");
|
|
15571
15571
|
return createDialogAction(args, thunkApi);
|
|
15572
15572
|
};
|
|
15573
15573
|
var runCreateAgentAutomationAction = async (args, thunkApi) => {
|
|
15574
|
-
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-
|
|
15574
|
+
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-XMUWUDKQ.js");
|
|
15575
15575
|
return createAgentAutomationAction(args, thunkApi);
|
|
15576
15576
|
};
|
|
15577
15577
|
var runUpdateDialogTitleAction = async (args, thunkApi) => {
|
|
15578
|
-
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-
|
|
15578
|
+
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-D5NCA4FC.js");
|
|
15579
15579
|
return updateDialogTitleAction(args, thunkApi);
|
|
15580
15580
|
};
|
|
15581
15581
|
var runAddDialogAgentAction = async (args, thunkApi) => {
|
|
@@ -15599,7 +15599,7 @@ var runSetDialogExtraReferencesAction = async (args, thunkApi) => {
|
|
|
15599
15599
|
return setDialogExtraReferencesAction(args, thunkApi);
|
|
15600
15600
|
};
|
|
15601
15601
|
var runHandleSendMessageAction = async (args, thunkApi) => {
|
|
15602
|
-
const { handleSendMessageAction } = await import("./handleSendMessageAction-
|
|
15602
|
+
const { handleSendMessageAction } = await import("./handleSendMessageAction-I5J7QR7K.js");
|
|
15603
15603
|
return handleSendMessageAction(args, thunkApi);
|
|
15604
15604
|
};
|
|
15605
15605
|
function clearDialogState() {
|
|
@@ -15612,7 +15612,7 @@ var createPageAndAddReference = createAsyncThunk(
|
|
|
15612
15612
|
async (payload, { dispatch, getState, rejectWithValue }) => {
|
|
15613
15613
|
const { slateData, jsonData, title, type, fileId, groupId, dialogKey } = payload;
|
|
15614
15614
|
try {
|
|
15615
|
-
const { createDocState } = await import("./docStore-
|
|
15615
|
+
const { createDocState } = await import("./docStore-BZ2O7WLF.js");
|
|
15616
15616
|
const pageKey = await createDocState(
|
|
15617
15617
|
{ slateData, title },
|
|
15618
15618
|
{ dispatch, getState }
|
|
@@ -15777,8 +15777,6 @@ var selectCurrentDialogTokens = createSelector(
|
|
|
15777
15777
|
var selectTotalDialogTokens = selectCurrentDialogTokens;
|
|
15778
15778
|
|
|
15779
15779
|
export {
|
|
15780
|
-
normalizeRunCompletionShape,
|
|
15781
|
-
createTurnRequest,
|
|
15782
15780
|
isAgentRunStatusNormal,
|
|
15783
15781
|
isAgentRunStartFailureStatus,
|
|
15784
15782
|
uiAskChoiceFunctionSchema,
|
|
@@ -15791,6 +15789,8 @@ export {
|
|
|
15791
15789
|
resolveOccupancy,
|
|
15792
15790
|
resolveOccupancyWindow,
|
|
15793
15791
|
resolveAgentContextWindow,
|
|
15792
|
+
normalizeRunCompletionShape,
|
|
15793
|
+
createTurnRequest,
|
|
15794
15794
|
runtime_default,
|
|
15795
15795
|
snapshotUserBatchInput,
|
|
15796
15796
|
createUserBatchExecution,
|
|
@@ -79,11 +79,11 @@ import {
|
|
|
79
79
|
import {
|
|
80
80
|
inferCaptureIntent,
|
|
81
81
|
resolveUserSkillRuntime
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-OLMJR6UM.js";
|
|
83
83
|
import {
|
|
84
84
|
inlineImageUrlsForCustomProvider,
|
|
85
85
|
prepareTools
|
|
86
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-2COEG5ZV.js";
|
|
87
87
|
import {
|
|
88
88
|
getServerProviderSecret
|
|
89
89
|
} from "./chunk-HS7MLR74.js";
|
|
@@ -106,7 +106,7 @@ import {
|
|
|
106
106
|
resolveCliLocalSpawnDispatch,
|
|
107
107
|
resolveRunContextFacts,
|
|
108
108
|
resolveStartAgentRunCwd
|
|
109
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-EJU6WCDH.js";
|
|
110
110
|
import {
|
|
111
111
|
fetchWithTransientRetry,
|
|
112
112
|
isTransientFetchError
|
|
@@ -123,7 +123,7 @@ import {
|
|
|
123
123
|
prepareTokenUsageData,
|
|
124
124
|
runKeyed,
|
|
125
125
|
validateAskChoiceInput
|
|
126
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-W772FYAQ.js";
|
|
127
127
|
import {
|
|
128
128
|
applyTokenUsageToDayStats,
|
|
129
129
|
require_format
|
|
@@ -134,7 +134,7 @@ import {
|
|
|
134
134
|
} from "./chunk-523DITKR.js";
|
|
135
135
|
import {
|
|
136
136
|
fetchServerSyncedCredential
|
|
137
|
-
} from "./chunk-
|
|
137
|
+
} from "./chunk-BLSNUIZD.js";
|
|
138
138
|
import {
|
|
139
139
|
getDefaultCliLocalRuntimeDb
|
|
140
140
|
} from "./chunk-N5Z2V73W.js";
|
|
@@ -393,7 +393,7 @@ import {
|
|
|
393
393
|
transitionRunToTerminal,
|
|
394
394
|
withQueueLock,
|
|
395
395
|
writeRunRecord
|
|
396
|
-
} from "./chunk-
|
|
396
|
+
} from "./chunk-F7DU25CE.js";
|
|
397
397
|
import {
|
|
398
398
|
remoteDialogSyncTimeout,
|
|
399
399
|
resolveRuntimeAuthToken,
|
|
@@ -415,7 +415,7 @@ import {
|
|
|
415
415
|
resolveAgentRunName,
|
|
416
416
|
resolveRunLabel,
|
|
417
417
|
shortRunId
|
|
418
|
-
} from "./chunk-
|
|
418
|
+
} from "./chunk-VQUWV3YR.js";
|
|
419
419
|
import {
|
|
420
420
|
withShellChildEnvironment
|
|
421
421
|
} from "./chunk-KEN3N2TN.js";
|
|
@@ -16739,7 +16739,7 @@ function createCliLocalRuntimeAdapter(deps) {
|
|
|
16739
16739
|
emitRunIsolationNotice(fact, { runId });
|
|
16740
16740
|
try {
|
|
16741
16741
|
const { writeFileSync: writeFileSync9, mkdirSync: mkdirSync9 } = await import("node:fs");
|
|
16742
|
-
const { resolveRunsDir: resolveRunsDir2 } = await import("./agentRunControl-
|
|
16742
|
+
const { resolveRunsDir: resolveRunsDir2 } = await import("./agentRunControl-DFEEOFC7.js");
|
|
16743
16743
|
recordLocalRunExecutionIsolation({
|
|
16744
16744
|
runId,
|
|
16745
16745
|
runsDir: resolveRunsDir2(deps.env),
|
|
@@ -16764,7 +16764,7 @@ function createCliLocalRuntimeAdapter(deps) {
|
|
|
16764
16764
|
dockerWorkloadReleased = true;
|
|
16765
16765
|
dockerWorkloadLoad = null;
|
|
16766
16766
|
if (loaded) {
|
|
16767
|
-
const { resolveRunsDir: resolveRunsDir2 } = await import("./agentRunControl-
|
|
16767
|
+
const { resolveRunsDir: resolveRunsDir2 } = await import("./agentRunControl-DFEEOFC7.js");
|
|
16768
16768
|
const exportRunDiff = deps.exportDockerRunDiffArtifact ?? exportDockerRunDiffArtifact;
|
|
16769
16769
|
const warn = (message) => process.stderr.write(`[nolo] ${message}
|
|
16770
16770
|
`);
|
|
@@ -17673,6 +17673,13 @@ export {
|
|
|
17673
17673
|
readTimestamp,
|
|
17674
17674
|
parseAgentRunEvent,
|
|
17675
17675
|
isLiveAgentRunObservation,
|
|
17676
|
+
redactSecrets,
|
|
17677
|
+
withholdIfSecretLike,
|
|
17678
|
+
safeAskText,
|
|
17679
|
+
safeApprovalMultilineText,
|
|
17680
|
+
formatApprovalRemaining,
|
|
17681
|
+
createHostApprovalCardQueue,
|
|
17682
|
+
registerHostApprovalRenderer,
|
|
17676
17683
|
matchContextualFragment,
|
|
17677
17684
|
renderNoticeElements,
|
|
17678
17685
|
renderCliNotice,
|
|
@@ -17681,13 +17688,6 @@ export {
|
|
|
17681
17688
|
buildNoticeTasksFromRuns,
|
|
17682
17689
|
setTurnNoticeMeta,
|
|
17683
17690
|
mergeNoticeGroup,
|
|
17684
|
-
redactSecrets,
|
|
17685
|
-
withholdIfSecretLike,
|
|
17686
|
-
safeAskText,
|
|
17687
|
-
safeApprovalMultilineText,
|
|
17688
|
-
formatApprovalRemaining,
|
|
17689
|
-
createHostApprovalCardQueue,
|
|
17690
|
-
registerHostApprovalRenderer,
|
|
17691
17691
|
isSubtaskRun,
|
|
17692
17692
|
RUN_WAKE_CHANNEL_ENV,
|
|
17693
17693
|
createOriginShellGrant,
|
|
@@ -112,7 +112,7 @@ function createDaemonShortcutCommand(path, description, command) {
|
|
|
112
112
|
// packages/cli/agentInternalCommandEntries.ts
|
|
113
113
|
function getAgentInternalCommandEntries() {
|
|
114
114
|
const createAgentRunCommand = (path, description) => createContextCommand(path, description, async (args, ctx) => {
|
|
115
|
-
const { runAgentRunCommand } = await import("./agentRunCommand-
|
|
115
|
+
const { runAgentRunCommand } = await import("./agentRunCommand-W6MDKVLJ.js");
|
|
116
116
|
return runAgentRunCommand(args, {
|
|
117
117
|
env: ctx.env,
|
|
118
118
|
scriptDir: ctx.scriptDir,
|
|
@@ -124,11 +124,11 @@ function getAgentInternalCommandEntries() {
|
|
|
124
124
|
createAgentRunCommand(["run"], "Run a no-login local agent in this workspace"),
|
|
125
125
|
createAgentRunCommand(["chat"], "Chat with an agent"),
|
|
126
126
|
createEnvCommand(["agent", "list"], "List owned agents", async (args, deps) => {
|
|
127
|
-
const { runAgentListCommand } = await import("./agentListCommands-
|
|
127
|
+
const { runAgentListCommand } = await import("./agentListCommands-YBNOQ5T3.js");
|
|
128
128
|
return runAgentListCommand(args, deps);
|
|
129
129
|
}),
|
|
130
130
|
createEnvCommand(["agent", "create"], "Create a new agent", async (args, deps) => {
|
|
131
|
-
const { runAgentCreateCommand } = await import("./agentRecordCommands-
|
|
131
|
+
const { runAgentCreateCommand } = await import("./agentRecordCommands-WUUC2CX7.js");
|
|
132
132
|
return runAgentCreateCommand(args, deps);
|
|
133
133
|
}),
|
|
134
134
|
createEnvCommand(["agent", "models"], "List models: --preset <id> (server discovery, exit 1 on static fallback) or --url <base> --api-key <key> (OpenAI-compatible /models)", async (args, deps) => {
|
|
@@ -144,32 +144,32 @@ function getAgentInternalCommandEntries() {
|
|
|
144
144
|
return runAgentPullCommand(args, deps);
|
|
145
145
|
}),
|
|
146
146
|
createEnvCommand(["agent", "read"], "Read a single agent", async (args, deps) => {
|
|
147
|
-
const { runAgentReadCommand } = await import("./agentRecordCommands-
|
|
147
|
+
const { runAgentReadCommand } = await import("./agentRecordCommands-WUUC2CX7.js");
|
|
148
148
|
return runAgentReadCommand(args, deps);
|
|
149
149
|
}),
|
|
150
150
|
createAgentRunCommand(["agent", "run"], "Run an agent"),
|
|
151
151
|
createEnvCommand(["agent", "recover-prepared-writer"], "Revoke an exact fenced-launch-v1 prepared writer attempt (--attempt-id required; no force)", async (args, deps) => {
|
|
152
|
-
const { runAgentRecoverPreparedWriterCommand } = await import("./agentRunControl-
|
|
152
|
+
const { runAgentRecoverPreparedWriterCommand } = await import("./agentRunControl-DFEEOFC7.js");
|
|
153
153
|
return runAgentRecoverPreparedWriterCommand(args, { ...deps, output: process.stdout });
|
|
154
154
|
}),
|
|
155
155
|
createEnvCommand(["agent", "ps"], "List active and recent local agent runs (--json for machine-readable output)", async (_args, deps) => {
|
|
156
|
-
const { runAgentPsCommand } = await import("./agentRunControl-
|
|
156
|
+
const { runAgentPsCommand } = await import("./agentRunControl-DFEEOFC7.js");
|
|
157
157
|
return runAgentPsCommand(_args, { ...deps, output: process.stdout });
|
|
158
158
|
}),
|
|
159
159
|
createEnvCommand(["agent", "status"], "Show status of a local agent run (--json, --include-checkpoint, --watch, --interval-ms N)", async (args, deps) => {
|
|
160
|
-
const { runAgentStatusCommand } = await import("./agentRunControl-
|
|
160
|
+
const { runAgentStatusCommand } = await import("./agentRunControl-DFEEOFC7.js");
|
|
161
161
|
return runAgentStatusCommand(args, { ...deps, output: process.stdout });
|
|
162
162
|
}),
|
|
163
163
|
createEnvCommand(["agent", "logs"], "Show logs of a local agent run", async (args, deps) => {
|
|
164
|
-
const { runAgentLogsCommand } = await import("./agentRunControl-
|
|
164
|
+
const { runAgentLogsCommand } = await import("./agentRunControl-DFEEOFC7.js");
|
|
165
165
|
return runAgentLogsCommand(args, { ...deps, output: process.stdout });
|
|
166
166
|
}),
|
|
167
167
|
createEnvCommand(["agent", "stop"], "Stop a local agent run", async (args, deps) => {
|
|
168
|
-
const { runAgentStopCommand } = await import("./agentRunControl-
|
|
168
|
+
const { runAgentStopCommand } = await import("./agentRunControl-DFEEOFC7.js");
|
|
169
169
|
return runAgentStopCommand(args, { ...deps, output: process.stdout });
|
|
170
170
|
}),
|
|
171
171
|
createEnvCommand(["agent", "kill"], "Kill a local agent run", async (args, deps) => {
|
|
172
|
-
const { runAgentKillCommand } = await import("./agentRunControl-
|
|
172
|
+
const { runAgentKillCommand } = await import("./agentRunControl-DFEEOFC7.js");
|
|
173
173
|
return runAgentKillCommand(args, { ...deps, output: process.stdout });
|
|
174
174
|
}),
|
|
175
175
|
createEnvCommand(["agent", "setup-offline-marxists"], "Create or update the Marxists.org offline book agent", async (args, deps) => {
|
|
@@ -177,31 +177,31 @@ function getAgentInternalCommandEntries() {
|
|
|
177
177
|
return runSetupOfflineMarxistsAgentCommand(args, deps);
|
|
178
178
|
}),
|
|
179
179
|
createEnvCommand(["agent", "update"], "Update agent fields", async (args, deps) => {
|
|
180
|
-
const { runAgentUpdateCommand } = await import("./agentRecordCommands-
|
|
180
|
+
const { runAgentUpdateCommand } = await import("./agentRecordCommands-WUUC2CX7.js");
|
|
181
181
|
return runAgentUpdateCommand(args, deps);
|
|
182
182
|
}),
|
|
183
183
|
createEnvCommand(["agent", "email", "provision"], "Provision a controlled inbox for an agent", async (args, deps) => {
|
|
184
|
-
const { runAgentEmailProvisionCommand } = await import("./agentEmailCommands-
|
|
184
|
+
const { runAgentEmailProvisionCommand } = await import("./agentEmailCommands-YWL567CL.js");
|
|
185
185
|
return runAgentEmailProvisionCommand(args, deps);
|
|
186
186
|
}),
|
|
187
187
|
createEnvCommand(["agent", "email", "bind"], "Bind an existing email address to an agent", async (args, deps) => {
|
|
188
|
-
const { runAgentEmailBindCommand } = await import("./agentEmailCommands-
|
|
188
|
+
const { runAgentEmailBindCommand } = await import("./agentEmailCommands-YWL567CL.js");
|
|
189
189
|
return runAgentEmailBindCommand(args, deps);
|
|
190
190
|
}),
|
|
191
191
|
createEnvCommand(["agent", "email", "transfer"], "Transfer an email identity from one agent to another (cross-account)", async (args, deps) => {
|
|
192
|
-
const { runAgentEmailTransferCommand } = await import("./agentEmailCommands-
|
|
192
|
+
const { runAgentEmailTransferCommand } = await import("./agentEmailCommands-YWL567CL.js");
|
|
193
193
|
return runAgentEmailTransferCommand(args, deps);
|
|
194
194
|
}),
|
|
195
195
|
createEnvCommand(
|
|
196
196
|
["agent", "email", "create-and-provision"],
|
|
197
197
|
"Create an agent and provision its controlled inbox",
|
|
198
198
|
async (args, deps) => {
|
|
199
|
-
const { runAgentEmailCreateAndProvisionCommand } = await import("./agentEmailCommands-
|
|
199
|
+
const { runAgentEmailCreateAndProvisionCommand } = await import("./agentEmailCommands-YWL567CL.js");
|
|
200
200
|
return runAgentEmailCreateAndProvisionCommand(args, deps);
|
|
201
201
|
}
|
|
202
202
|
),
|
|
203
203
|
createEnvCommand(["agent", "delete"], "Hard-delete an agent's private and public records", async (args, deps) => {
|
|
204
|
-
const { runAgentDeleteCommand } = await import("./agentDeleteCommand-
|
|
204
|
+
const { runAgentDeleteCommand } = await import("./agentDeleteCommand-IZY3VF5F.js");
|
|
205
205
|
return runAgentDeleteCommand(args, deps);
|
|
206
206
|
}),
|
|
207
207
|
createEnvCommand(["agent", "grant"], "Grant another user access to this agent's owner credentials", async (args, deps) => {
|
|
@@ -221,15 +221,15 @@ function getAgentInternalCommandEntries() {
|
|
|
221
221
|
return runAgentRevokeGrantCommand(args, deps);
|
|
222
222
|
}),
|
|
223
223
|
createEnvCommand(["agent", "bind-current"], "Bind an agent to this machine", async (args, deps) => {
|
|
224
|
-
const { runAgentBindCurrentCommand } = await import("./agentMachineCommands-
|
|
224
|
+
const { runAgentBindCurrentCommand } = await import("./agentMachineCommands-AXJ4A772.js");
|
|
225
225
|
return runAgentBindCurrentCommand(args, deps);
|
|
226
226
|
}),
|
|
227
227
|
createEnvCommand(["agent", "smoke-current"], "Smoke test a bound agent through this machine", async (args, deps) => {
|
|
228
|
-
const { runAgentSmokeCurrentCommand } = await import("./agentMachineCommands-
|
|
228
|
+
const { runAgentSmokeCurrentCommand } = await import("./agentMachineCommands-AXJ4A772.js");
|
|
229
229
|
return runAgentSmokeCurrentCommand(args, deps);
|
|
230
230
|
}),
|
|
231
231
|
createEnvCommand(["agent", "runtime-doctor"], "Diagnose current machine runtime compatibility", async (args, deps) => {
|
|
232
|
-
const { runAgentRuntimeDoctorCommand } = await import("./agentMachineCommands-
|
|
232
|
+
const { runAgentRuntimeDoctorCommand } = await import("./agentMachineCommands-AXJ4A772.js");
|
|
233
233
|
return runAgentRuntimeDoctorCommand(args, deps);
|
|
234
234
|
}),
|
|
235
235
|
createAgentRunCommand(["agent", "chat"], "Chat with an agent")
|
|
@@ -411,23 +411,23 @@ function getCiInternalCommandEntries() {
|
|
|
411
411
|
function getDialogInternalCommandEntries() {
|
|
412
412
|
return [
|
|
413
413
|
createEnvCommand(["dialog", "search"], "Search dialog messages across dialogs", async (args, deps) => {
|
|
414
|
-
const { runDialogSearchCommand } = await import("./dialogCommands-
|
|
414
|
+
const { runDialogSearchCommand } = await import("./dialogCommands-V5IYEOQP.js");
|
|
415
415
|
return runDialogSearchCommand(args, deps);
|
|
416
416
|
}),
|
|
417
417
|
createEnvCommand(["dialog", "list"], "List dialogs (default --limit 50; --all/--limit 0 full; --jsonl streams)", async (args, deps) => {
|
|
418
|
-
const { runDialogListCommand } = await import("./dialogCommands-
|
|
418
|
+
const { runDialogListCommand } = await import("./dialogCommands-V5IYEOQP.js");
|
|
419
419
|
return runDialogListCommand(args, deps);
|
|
420
420
|
}),
|
|
421
421
|
createEnvCommand(["dialog", "delete"], "Delete one or more dialogs", async (args, deps) => {
|
|
422
|
-
const { runDialogDeleteCommand } = await import("./dialogCommands-
|
|
422
|
+
const { runDialogDeleteCommand } = await import("./dialogCommands-V5IYEOQP.js");
|
|
423
423
|
return runDialogDeleteCommand(args, deps);
|
|
424
424
|
}),
|
|
425
425
|
createEnvCommand(["dialog", "query"], "Query dialogs by subject refs (default --limit 50; --all full; --jsonl streams)", async (args, deps) => {
|
|
426
|
-
const { runDialogQueryCommand } = await import("./dialogCommands-
|
|
426
|
+
const { runDialogQueryCommand } = await import("./dialogCommands-V5IYEOQP.js");
|
|
427
427
|
return runDialogQueryCommand(args, deps);
|
|
428
428
|
}),
|
|
429
429
|
createEnvCommand(["dialog", "read"], "Read a dialog", async (args, deps) => {
|
|
430
|
-
const { runDialogReadCommand } = await import("./dialogCommands-
|
|
430
|
+
const { runDialogReadCommand } = await import("./dialogCommands-V5IYEOQP.js");
|
|
431
431
|
return runDialogReadCommand(args, deps);
|
|
432
432
|
}),
|
|
433
433
|
createEnvCommand(["dialog", "notify"], "Deliver a notification into a live CLI dialog's existing queue (--message/--file, --idempotency-key; --status for the receipt)", async (args, deps) => {
|
|
@@ -435,7 +435,7 @@ function getDialogInternalCommandEntries() {
|
|
|
435
435
|
return runDialogNotifyCommand(args, deps);
|
|
436
436
|
}),
|
|
437
437
|
createEnvCommand(["dialog", "status"], "Read compact dialog status", async (args, deps) => {
|
|
438
|
-
const { runDialogStatusCommand } = await import("./dialogCommands-
|
|
438
|
+
const { runDialogStatusCommand } = await import("./dialogCommands-V5IYEOQP.js");
|
|
439
439
|
return runDialogStatusCommand(args, deps);
|
|
440
440
|
})
|
|
441
441
|
];
|
|
@@ -579,15 +579,15 @@ function getSystemInternalCommandEntries(renderHelpText2) {
|
|
|
579
579
|
return runWhoamiCommand({ args, env: ctx.env });
|
|
580
580
|
}),
|
|
581
581
|
createEntrypointEnvCommand(["connect"], "Send machine heartbeats or hold a connector websocket", async (args, deps) => {
|
|
582
|
-
const { runMachineConnectCommand } = await import("./machineCommands-
|
|
582
|
+
const { runMachineConnectCommand } = await import("./machineCommands-77NFB2AE.js");
|
|
583
583
|
return runMachineConnectCommand(args, deps);
|
|
584
584
|
}),
|
|
585
585
|
createDaemonShortcutCommand(["daemon"], "Run the connector daemon shortcut", async (args, deps) => {
|
|
586
|
-
const { runMachineConnectCommand } = await import("./machineCommands-
|
|
586
|
+
const { runMachineConnectCommand } = await import("./machineCommands-77NFB2AE.js");
|
|
587
587
|
return runMachineConnectCommand(args, deps);
|
|
588
588
|
}),
|
|
589
589
|
createEnvCommand(["machine", "status"], "List machines registered to the current profile", async (args, deps) => {
|
|
590
|
-
const { runMachineStatusCommand } = await import("./machineCommands-
|
|
590
|
+
const { runMachineStatusCommand } = await import("./machineCommands-77NFB2AE.js");
|
|
591
591
|
return runMachineStatusCommand(args, deps);
|
|
592
592
|
}),
|
|
593
593
|
createEnvCommand(["doctor", "runtime"], "Diagnose local-first agent runtime selection", async (args, deps) => {
|
|
@@ -9,13 +9,13 @@ import {
|
|
|
9
9
|
updateContentPinned,
|
|
10
10
|
updateContentTitle,
|
|
11
11
|
uploadAndAddFileToSpace
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-JHRQXQ4A.js";
|
|
13
|
+
import "./chunk-W772FYAQ.js";
|
|
14
14
|
import "./chunk-TZXPT53C.js";
|
|
15
15
|
import "./chunk-BUDVRYES.js";
|
|
16
16
|
import "./chunk-KEPOVMF4.js";
|
|
17
17
|
import "./chunk-523DITKR.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-BLSNUIZD.js";
|
|
19
19
|
import "./chunk-MOMR7NMG.js";
|
|
20
20
|
import "./chunk-BYXBJQAS.js";
|
|
21
21
|
import "./chunk-QYPE3TS3.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
addContentToSpace
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-JHRQXQ4A.js";
|
|
4
|
+
import "./chunk-W772FYAQ.js";
|
|
5
5
|
import "./chunk-TZXPT53C.js";
|
|
6
6
|
import "./chunk-BUDVRYES.js";
|
|
7
7
|
import "./chunk-KEPOVMF4.js";
|
|
8
8
|
import "./chunk-523DITKR.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-BLSNUIZD.js";
|
|
10
10
|
import "./chunk-MOMR7NMG.js";
|
|
11
11
|
import "./chunk-BYXBJQAS.js";
|
|
12
12
|
import "./chunk-QYPE3TS3.js";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createDialogAction,
|
|
3
3
|
isLocalOwnerDialogAgents
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-HHL7WG65.js";
|
|
5
5
|
import "./chunk-BJF2MHJ3.js";
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-JHRQXQ4A.js";
|
|
7
|
+
import "./chunk-W772FYAQ.js";
|
|
8
8
|
import "./chunk-TZXPT53C.js";
|
|
9
9
|
import "./chunk-BUDVRYES.js";
|
|
10
10
|
import "./chunk-KEPOVMF4.js";
|
|
11
11
|
import "./chunk-523DITKR.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-BLSNUIZD.js";
|
|
13
13
|
import "./chunk-MOMR7NMG.js";
|
|
14
14
|
import "./chunk-BYXBJQAS.js";
|
|
15
15
|
import "./chunk-QYPE3TS3.js";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createPageAction
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-6O5YP6FX.js";
|
|
4
4
|
import "./chunk-FJ23FZXF.js";
|
|
5
5
|
import "./chunk-AGIM7IMJ.js";
|
|
6
6
|
import "./chunk-63W5N6P3.js";
|
|
7
7
|
import "./chunk-VF4K2QE6.js";
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-JHRQXQ4A.js";
|
|
9
|
+
import "./chunk-W772FYAQ.js";
|
|
10
10
|
import "./chunk-TZXPT53C.js";
|
|
11
11
|
import "./chunk-BUDVRYES.js";
|
|
12
12
|
import "./chunk-KEPOVMF4.js";
|
|
13
13
|
import "./chunk-523DITKR.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-BLSNUIZD.js";
|
|
15
15
|
import "./chunk-MOMR7NMG.js";
|
|
16
16
|
import "./chunk-BYXBJQAS.js";
|
|
17
17
|
import "./chunk-QYPE3TS3.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
runDialogSearchCommand,
|
|
16
16
|
runDialogStatusCommand,
|
|
17
17
|
sortDialogs
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-AZQZ5XPM.js";
|
|
19
19
|
import "./chunk-ID4G2MAR.js";
|
|
20
20
|
import "./chunk-FTQWYWUI.js";
|
|
21
21
|
import "./chunk-Y5GCAMGP.js";
|
|
@@ -88,9 +88,9 @@ import "./chunk-L5I543VB.js";
|
|
|
88
88
|
import "./chunk-KHCLMKZZ.js";
|
|
89
89
|
import "./chunk-4O22PGNQ.js";
|
|
90
90
|
import "./chunk-OB6DVWPF.js";
|
|
91
|
-
import "./chunk-
|
|
91
|
+
import "./chunk-F7DU25CE.js";
|
|
92
92
|
import "./chunk-SBVTHMEG.js";
|
|
93
|
-
import "./chunk-
|
|
93
|
+
import "./chunk-VQUWV3YR.js";
|
|
94
94
|
import "./chunk-KEN3N2TN.js";
|
|
95
95
|
import "./chunk-EWQ3HGNZ.js";
|
|
96
96
|
import "./chunk-PSCNXBYA.js";
|
|
@@ -20,12 +20,12 @@ import {
|
|
|
20
20
|
switchDialogAgent,
|
|
21
21
|
updateDialogTitle,
|
|
22
22
|
updateTokens
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-W772FYAQ.js";
|
|
24
24
|
import "./chunk-TZXPT53C.js";
|
|
25
25
|
import "./chunk-BUDVRYES.js";
|
|
26
26
|
import "./chunk-KEPOVMF4.js";
|
|
27
27
|
import "./chunk-523DITKR.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-BLSNUIZD.js";
|
|
29
29
|
import "./chunk-BYXBJQAS.js";
|
|
30
30
|
import "./chunk-QYPE3TS3.js";
|
|
31
31
|
import "./chunk-GVGOEMNV.js";
|
|
@@ -12,24 +12,24 @@ import {
|
|
|
12
12
|
projectDesktopToolUiContent,
|
|
13
13
|
pushGate,
|
|
14
14
|
resolveTurnToolContext
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-RRVQ446B.js";
|
|
16
16
|
import {
|
|
17
17
|
resolveUserSkillRuntime
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-OLMJR6UM.js";
|
|
19
19
|
import {
|
|
20
20
|
performServerProxyFetchWithRetry
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-L4NFXFFF.js";
|
|
22
22
|
import {
|
|
23
23
|
createSSEParser,
|
|
24
24
|
loadSkillFunc,
|
|
25
25
|
waitForAbortableDelay
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-T3T57NVP.js";
|
|
27
27
|
import "./chunk-NF64D32W.js";
|
|
28
28
|
import "./chunk-3L2WKC3W.js";
|
|
29
29
|
import "./chunk-GGKNJ42M.js";
|
|
30
30
|
import "./chunk-AGIM7IMJ.js";
|
|
31
31
|
import "./chunk-VF4K2QE6.js";
|
|
32
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-BYH3HMUP.js";
|
|
33
33
|
import "./chunk-4JVNURX4.js";
|
|
34
34
|
import {
|
|
35
35
|
DESKTOP_FOLDER_PROJECTS_KEY,
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
} from "./chunk-RGQ4UUWZ.js";
|
|
39
39
|
import "./chunk-GIABSSWQ.js";
|
|
40
40
|
import "./chunk-BGGHA5DV.js";
|
|
41
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-JHRQXQ4A.js";
|
|
42
42
|
import {
|
|
43
43
|
admitPendingUserMessages,
|
|
44
44
|
clearForegroundTurnSettledVisible,
|
|
@@ -57,14 +57,14 @@ import {
|
|
|
57
57
|
setStreamingMessageId,
|
|
58
58
|
toolResultNeedsUserConfirmation,
|
|
59
59
|
updateToolMessage
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-W772FYAQ.js";
|
|
61
61
|
import "./chunk-TZXPT53C.js";
|
|
62
62
|
import "./chunk-BUDVRYES.js";
|
|
63
63
|
import "./chunk-KEPOVMF4.js";
|
|
64
64
|
import "./chunk-523DITKR.js";
|
|
65
65
|
import {
|
|
66
66
|
streamAgentChatTurn
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-BLSNUIZD.js";
|
|
68
68
|
import "./chunk-MOMR7NMG.js";
|
|
69
69
|
import "./chunk-BYXBJQAS.js";
|
|
70
70
|
import "./chunk-QYPE3TS3.js";
|
|
@@ -1706,7 +1706,7 @@ var handleSendMessageAction = async (args, thunkApi) => {
|
|
|
1706
1706
|
const dialogKey = dialogConfig.dbKey;
|
|
1707
1707
|
const projectId = isDesktopContext && dialogKey ? readDialogProjectId(window.localStorage, dialogKey) : null;
|
|
1708
1708
|
if (projectId) {
|
|
1709
|
-
const { ensureProjectArchive } = await import("./projectArchive-
|
|
1709
|
+
const { ensureProjectArchive } = await import("./projectArchive-GNOSYH6F.js");
|
|
1710
1710
|
const { DESKTOP_FOLDER_PROJECTS_KEY: DESKTOP_FOLDER_PROJECTS_KEY2, readDesktopFolderProjects: readDesktopFolderProjects2 } = await import("./desktopFolderProjects-4POAMVJN.js");
|
|
1711
1711
|
const project = readDesktopFolderProjects2(window.localStorage.getItem(DESKTOP_FOLDER_PROJECTS_KEY2)).find((entry) => entry.id === projectId);
|
|
1712
1712
|
if (!project) throw new Error("\u9879\u76EE\u5DF2\u4E0D\u5B58\u5728\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9\u9879\u76EE");
|