nolo-cli 0.262.0-alpha.1 → 0.263.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-KWURYHY6.js → _executeModel-GZEGNZDC.js} +13 -13
- package/{agentDeleteCommand-2U5Q7SNW.js → agentDeleteCommand-PYQFS2IO.js} +10 -10
- package/{agentEmailCommands-4AWNMWBA.js → agentEmailCommands-MSPYHNQA.js} +11 -11
- package/{agentMachineCommands-EISFUXWT.js → agentMachineCommands-HHH7DR26.js} +1 -1
- package/{agentRecordCommands-HDLFE4ZJ.js → agentRecordCommands-ANOOR7DX.js} +11 -11
- package/{agentRun-EXDLR6OV.js → agentRun-P6GEVWAT.js} +11 -11
- package/{agentRunCommand-5KXVUONI.js → agentRunCommand-SF4QKUF2.js} +12 -12
- package/{agentSlice-ATJWWHSU.js → agentSlice-NWSWCYRW.js} +1 -1
- package/{chunk-LCCDDHAO.js → chunk-5MGXBQ3H.js} +2 -2
- package/{chunk-NLADA5ZM.js → chunk-6KA4XDEI.js} +2 -2
- package/{chunk-6VQIFSWL.js → chunk-6S4VPBSW.js} +3 -3
- package/{chunk-PRVXRSDG.js → chunk-BUO76CEE.js} +2 -2
- package/{chunk-NICEA4IW.js → chunk-CQNGHKSG.js} +2 -2
- package/{chunk-4X6FTGMU.js → chunk-DPFHC2DK.js} +2 -2
- package/{chunk-HT6MY27X.js → chunk-JTRU7WEG.js} +1 -1
- package/{chunk-TXLXASSY.js → chunk-KTK64ZZN.js} +2 -2
- package/{chunk-QUF3LDVD.js → chunk-KUZSTAE3.js} +6 -6
- package/{chunk-G2JNJRTO.js → chunk-L4KZCAIJ.js} +5 -5
- package/{chunk-UAO54ORL.js → chunk-OLJSB44A.js} +5 -5
- package/{chunk-NGGXRK2P.js → chunk-OV47NSYQ.js} +8 -8
- package/{chunk-VLAPKV76.js → chunk-PJVJIDTH.js} +3 -3
- package/{chunk-7T54GD3I.js → chunk-QAUBNGF2.js} +2 -2
- package/{chunk-23X7C23G.js → chunk-QHSF7SPP.js} +1 -1
- package/{chunk-RQKCLVCB.js → chunk-WWE3TYSA.js} +2 -2
- package/{chunk-36RT7KMI.js → chunk-XCPC4RXE.js} +4 -4
- package/{chunk-HCXCKCNT.js → chunk-YSYTCIFN.js} +9 -9
- package/{chunk-4ZM3UL4E.js → chunk-Z7TB2J74.js} +1 -1
- package/{chunk-NFE75Q5M.js → chunk-ZMOKHBV5.js} +2 -2
- package/{chunk-J6Y6ZDS3.js → chunk-ZZOXGB2Z.js} +5 -5
- package/{commandRegistry-I2WAEYSQ.js → commandRegistry-ZEZY7MPW.js} +18 -18
- package/{contentThunks-W4OUEDRF.js → contentThunks-N3DDKRNJ.js} +3 -3
- package/{createAgentAutomationAction-VQBQDCAD.js → createAgentAutomationAction-W3B6KOIW.js} +3 -3
- package/{createDialogAction-YSZU5IE4.js → createDialogAction-V6WA7USR.js} +4 -4
- package/{createPageAction-HLT7DUBR.js → createPageAction-P2HDHBCU.js} +4 -4
- package/{deleteDbKey-ZFWKDNAP.js → deleteDbKey-TDXLWHVF.js} +4 -4
- package/{dialogSlice-EOZLTLFB.js → dialogSlice-TEV6XXOO.js} +2 -2
- package/{docStore-G5NLVWCF.js → docStore-OVBEONC7.js} +1 -1
- package/{handleSendMessageAction-6U3CWHQZ.js → handleSendMessageAction-5GZ44SKK.js} +8 -8
- package/{hostCredentialCreate-7Z7JIE57.js → hostCredentialCreate-WOLFFVCM.js} +11 -11
- package/index.js +3 -3
- package/{localAutomationCommands-P56DPCU7.js → localAutomationCommands-L333FJPR.js} +1 -1
- package/{localAutomationRuntime-KPMMJZAU.js → localAutomationRuntime-CIHGJBSC.js} +1 -1
- package/{localRuntimeAdapter-724CCDG5.js → localRuntimeAdapter-6WNR7IYN.js} +10 -10
- package/{machineCommands-KLZ73HOC.js → machineCommands-CP7NCD6O.js} +12 -12
- package/{machineWsRunDispatch-WFSV66WP.js → machineWsRunDispatch-YIAY2LPK.js} +11 -11
- package/{memberThunks-NSYL7QZA.js → memberThunks-TD76IFGA.js} +189 -6
- package/package.json +1 -1
- package/{projectArchive-63LQ5IOO.js → projectArchive-KJRBIY3O.js} +4 -4
- package/{readlineWorkspace-ECCRLGE5.js → readlineWorkspace-2PLTEZDM.js} +15 -15
- package/{runAgentClientLoop-4644DF32.js → runAgentClientLoop-IBWSCK2D.js} +11 -11
- package/{streamAgentChatTurn-EGRXP3Q6.js → streamAgentChatTurn-JAAROGLD.js} +13 -13
- package/{tools-X25IU3XJ.js → tools-TCOYT5DJ.js} +8 -8
- package/{updateDialogTitleAction-5WP7TUDJ.js → updateDialogTitleAction-O3TRFRIH.js} +3 -3
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./chunk-FGXG6OLW.js";
|
|
13
13
|
import {
|
|
14
14
|
runLlm
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-PJVJIDTH.js";
|
|
16
16
|
import {
|
|
17
17
|
nolotusId
|
|
18
18
|
} from "./chunk-IB5AR52X.js";
|
|
@@ -13664,7 +13664,7 @@ var editUserMessageAndReplay = messageOperation(
|
|
|
13664
13664
|
runtimeOptions: args.runtimeOptions
|
|
13665
13665
|
});
|
|
13666
13666
|
if (agentKeyToUse) {
|
|
13667
|
-
const { streamAgentChatTurn } = await import("./agentSlice-
|
|
13667
|
+
const { streamAgentChatTurn } = await import("./agentSlice-NWSWCYRW.js");
|
|
13668
13668
|
await dispatch(
|
|
13669
13669
|
streamAgentChatTurn({
|
|
13670
13670
|
agentKey: agentKeyToUse,
|
|
@@ -14930,7 +14930,7 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
14930
14930
|
}
|
|
14931
14931
|
if (isCurrentDialog) {
|
|
14932
14932
|
await thunkApi.dispatch(resetMsgs());
|
|
14933
|
-
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-
|
|
14933
|
+
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-TEV6XXOO.js");
|
|
14934
14934
|
dispatch(clearPendingAttachments2());
|
|
14935
14935
|
}
|
|
14936
14936
|
return { dialogKey, isCurrentDialog, attachmentPlan };
|
|
@@ -14938,15 +14938,15 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
14938
14938
|
|
|
14939
14939
|
// packages/chat/dialog/dialogSlice.ts
|
|
14940
14940
|
var runCreateDialogAction = async (args, thunkApi) => {
|
|
14941
|
-
const { createDialogAction } = await import("./createDialogAction-
|
|
14941
|
+
const { createDialogAction } = await import("./createDialogAction-V6WA7USR.js");
|
|
14942
14942
|
return createDialogAction(args, thunkApi);
|
|
14943
14943
|
};
|
|
14944
14944
|
var runCreateAgentAutomationAction = async (args, thunkApi) => {
|
|
14945
|
-
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-
|
|
14945
|
+
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-W3B6KOIW.js");
|
|
14946
14946
|
return createAgentAutomationAction(args, thunkApi);
|
|
14947
14947
|
};
|
|
14948
14948
|
var runUpdateDialogTitleAction = async (args, thunkApi) => {
|
|
14949
|
-
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-
|
|
14949
|
+
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-O3TRFRIH.js");
|
|
14950
14950
|
return updateDialogTitleAction(args, thunkApi);
|
|
14951
14951
|
};
|
|
14952
14952
|
var runAddDialogAgentAction = async (args, thunkApi) => {
|
|
@@ -14970,7 +14970,7 @@ var runSetDialogExtraReferencesAction = async (args, thunkApi) => {
|
|
|
14970
14970
|
return setDialogExtraReferencesAction(args, thunkApi);
|
|
14971
14971
|
};
|
|
14972
14972
|
var runHandleSendMessageAction = async (args, thunkApi) => {
|
|
14973
|
-
const { handleSendMessageAction } = await import("./handleSendMessageAction-
|
|
14973
|
+
const { handleSendMessageAction } = await import("./handleSendMessageAction-5GZ44SKK.js");
|
|
14974
14974
|
return handleSendMessageAction(args, thunkApi);
|
|
14975
14975
|
};
|
|
14976
14976
|
function clearDialogState() {
|
|
@@ -14983,7 +14983,7 @@ var createPageAndAddReference = createActionAsyncThunk(
|
|
|
14983
14983
|
async (payload, { dispatch, getState, rejectWithValue }) => {
|
|
14984
14984
|
const { slateData, jsonData, title, type, fileId, groupId, dialogKey } = payload;
|
|
14985
14985
|
try {
|
|
14986
|
-
const { createDocState } = await import("./docStore-
|
|
14986
|
+
const { createDocState } = await import("./docStore-OVBEONC7.js");
|
|
14987
14987
|
const pageKey = await createDocState(
|
|
14988
14988
|
{ slateData, title },
|
|
14989
14989
|
{ dispatch, getState }
|
|
@@ -538,7 +538,7 @@ var runLlm = agentOperation("runLlm", async (args, thunkApi) => {
|
|
|
538
538
|
const overrides = {};
|
|
539
539
|
if (args.systemPromptOverride !== void 0) overrides.prompt = args.systemPromptOverride;
|
|
540
540
|
if (args.toolsOverride !== void 0) overrides.tools = args.toolsOverride;
|
|
541
|
-
const { _executeModel } = await import("./_executeModel-
|
|
541
|
+
const { _executeModel } = await import("./_executeModel-GZEGNZDC.js");
|
|
542
542
|
return _executeModel(
|
|
543
543
|
{
|
|
544
544
|
isStreaming: args.isStreaming ?? false,
|
|
@@ -551,7 +551,7 @@ var runLlm = agentOperation("runLlm", async (args, thunkApi) => {
|
|
|
551
551
|
);
|
|
552
552
|
});
|
|
553
553
|
var runAgent = agentOperation("runAgent", async (args, thunkApi) => {
|
|
554
|
-
const { runAgentClientLoop } = await import("./runAgentClientLoop-
|
|
554
|
+
const { runAgentClientLoop } = await import("./runAgentClientLoop-IBWSCK2D.js");
|
|
555
555
|
const { content: loopContent, toolCallCount } = await runAgentClientLoop(
|
|
556
556
|
{
|
|
557
557
|
agentKey: args.agentKey,
|
|
@@ -564,7 +564,7 @@ var runAgent = agentOperation("runAgent", async (args, thunkApi) => {
|
|
|
564
564
|
return loopContent;
|
|
565
565
|
});
|
|
566
566
|
var streamAgentChatTurn = agentOperation("streamAgentChatTurn", async (args, thunkApi) => {
|
|
567
|
-
const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-
|
|
567
|
+
const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-JAAROGLD.js");
|
|
568
568
|
return streamAgentChatTurnHandler(args, thunkApi);
|
|
569
569
|
});
|
|
570
570
|
var createAgent = agentOperation(
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
runAgentTurn,
|
|
11
11
|
shouldPrintLocalRunSummary,
|
|
12
12
|
unknownLocalRunAcceptance
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-L4KZCAIJ.js";
|
|
14
14
|
import {
|
|
15
15
|
getReadableCliDb
|
|
16
16
|
} from "./chunk-LRLLWD4P.js";
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
resolveServerUrl,
|
|
29
29
|
validateInstaboxWorkspaceSelection,
|
|
30
30
|
writeUsage
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-ZZOXGB2Z.js";
|
|
32
32
|
import {
|
|
33
33
|
CliProviderQuotaError
|
|
34
34
|
} from "./chunk-JUMQJSQF.js";
|
|
@@ -361,7 +361,7 @@ function createLocalAutomationScheduler(deps) {
|
|
|
361
361
|
}
|
|
362
362
|
|
|
363
363
|
// packages/cli/automation/localAutomationRuntime.ts
|
|
364
|
-
function createLocalAutomationExecutor({ env, scriptDir, output }, runTurn = async (options) => (await import("./agentRun-
|
|
364
|
+
function createLocalAutomationExecutor({ env, scriptDir, output }, runTurn = async (options) => (await import("./agentRun-P6GEVWAT.js")).runAgentTurn(options)) {
|
|
365
365
|
return async (record, signal) => {
|
|
366
366
|
signal.throwIfAborted();
|
|
367
367
|
const result = await runTurn({
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
getOrCreateSharedStore,
|
|
4
4
|
isCliProviderAgentConfig,
|
|
5
5
|
summarizeEndpoint
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZZOXGB2Z.js";
|
|
7
7
|
import {
|
|
8
8
|
attachExecutionStoppedPromise,
|
|
9
9
|
getExecutionStoppedPromise
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
} from "./chunk-VIWDGTDA.js";
|
|
14
14
|
import {
|
|
15
15
|
clipMultilineText
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-XCPC4RXE.js";
|
|
17
17
|
import {
|
|
18
18
|
DialogTurnBusyError,
|
|
19
19
|
acquireLocalDialogTurnLease,
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
} from "./chunk-VF4K2QE6.js";
|
|
7
7
|
import {
|
|
8
8
|
fetchAndCacheTableRows
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-JTRU7WEG.js";
|
|
10
10
|
import {
|
|
11
11
|
resolveDialogRuntimeAgentKey
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-OV47NSYQ.js";
|
|
13
13
|
import {
|
|
14
14
|
createActionAsyncThunk
|
|
15
15
|
} from "./chunk-KZO2MTVM.js";
|
|
@@ -1632,7 +1632,7 @@ var executeToolRun = createActionAsyncThunk(
|
|
|
1632
1632
|
if (!executionInput) {
|
|
1633
1633
|
throw new Error(`ToolRun ${id} has no input to execute with.`);
|
|
1634
1634
|
}
|
|
1635
|
-
const { findToolExecutor } = await import("./tools-
|
|
1635
|
+
const { findToolExecutor } = await import("./tools-TCOYT5DJ.js");
|
|
1636
1636
|
const { executor } = findToolExecutor(run.toolName);
|
|
1637
1637
|
toolRunStarted({
|
|
1638
1638
|
id: run.id,
|
|
@@ -1656,7 +1656,7 @@ var executeToolRun = createActionAsyncThunk(
|
|
|
1656
1656
|
const latestState = thunkApi.getState();
|
|
1657
1657
|
const userId = selectIdentityUserId(latestState);
|
|
1658
1658
|
if (userId) {
|
|
1659
|
-
const { fetchUserSpaceMemberships } = await import("./memberThunks-
|
|
1659
|
+
const { fetchUserSpaceMemberships } = await import("./memberThunks-TD76IFGA.js");
|
|
1660
1660
|
await thunkApi.dispatch(fetchUserSpaceMemberships(userId));
|
|
1661
1661
|
}
|
|
1662
1662
|
}
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
} from "./chunk-MVOZ22RZ.js";
|
|
14
14
|
import {
|
|
15
15
|
deleteDbKey
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-6S4VPBSW.js";
|
|
17
17
|
import {
|
|
18
18
|
formatWorkContextWriteNotice
|
|
19
19
|
} from "./chunk-WDWZPASX.js";
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
toolRunUpdated,
|
|
41
41
|
uiCardFallback,
|
|
42
42
|
waitForAbortableDelay
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-XCPC4RXE.js";
|
|
44
44
|
import {
|
|
45
45
|
isGatewayHttpStatus
|
|
46
46
|
} from "./chunk-NF64D32W.js";
|
|
@@ -51,7 +51,7 @@ import {
|
|
|
51
51
|
} from "./chunk-P62DHV4F.js";
|
|
52
52
|
import {
|
|
53
53
|
createDocState
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-KTK64ZZN.js";
|
|
55
55
|
import {
|
|
56
56
|
applyPageContentMutation,
|
|
57
57
|
readDocFunc,
|
|
@@ -64,7 +64,7 @@ import {
|
|
|
64
64
|
createDialogAction,
|
|
65
65
|
uiAskChoiceFunc,
|
|
66
66
|
uiAskChoiceFunctionSchema
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-BUO76CEE.js";
|
|
68
68
|
import {
|
|
69
69
|
DEFAULT_COLLAPSED_CATEGORIES,
|
|
70
70
|
addContentToSpace,
|
|
@@ -79,7 +79,7 @@ import {
|
|
|
79
79
|
updateContentCategory,
|
|
80
80
|
updateContentTitle,
|
|
81
81
|
writeStoredCollapsedCategories
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-JTRU7WEG.js";
|
|
83
83
|
import {
|
|
84
84
|
addMemberSpace,
|
|
85
85
|
getAllMemberSpaces,
|
|
@@ -105,13 +105,13 @@ import {
|
|
|
105
105
|
selectCurrentDialogConfig,
|
|
106
106
|
selectCurrentDialogId,
|
|
107
107
|
selectMsgById
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-OV47NSYQ.js";
|
|
109
109
|
import {
|
|
110
110
|
createAgent,
|
|
111
111
|
runLlm,
|
|
112
112
|
streamAgentChatTurn,
|
|
113
113
|
updateAgent
|
|
114
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-PJVJIDTH.js";
|
|
115
115
|
import {
|
|
116
116
|
createActionAsyncThunk,
|
|
117
117
|
createPlainAsyncThunk
|
|
@@ -4677,7 +4677,7 @@ async function deleteDialogsFunc(args, thunkApi) {
|
|
|
4677
4677
|
const deletedDialogIds = [];
|
|
4678
4678
|
const deletedDialogKeys = [];
|
|
4679
4679
|
const failures = [];
|
|
4680
|
-
const { deleteDbKey: deleteDbKey2 } = await import("./deleteDbKey-
|
|
4680
|
+
const { deleteDbKey: deleteDbKey2 } = await import("./deleteDbKey-TDXLWHVF.js");
|
|
4681
4681
|
for (const target of targets) {
|
|
4682
4682
|
try {
|
|
4683
4683
|
await thunkApi.dispatch(deleteDbKey2(target.dbKey));
|
|
@@ -19677,7 +19677,7 @@ async function updateDocFunc(args, thunkApi) {
|
|
|
19677
19677
|
allowSkillMetadataWrite: false
|
|
19678
19678
|
});
|
|
19679
19679
|
await dispatch(write({ data: updatedPageData, customKey: id })).unwrap();
|
|
19680
|
-
const { getDocState, applyExternalDocUpdate } = await import("./docStore-
|
|
19680
|
+
const { getDocState, applyExternalDocUpdate } = await import("./docStore-OVBEONC7.js");
|
|
19681
19681
|
if (getDocState().pageKey === id) {
|
|
19682
19682
|
applyExternalDocUpdate({
|
|
19683
19683
|
slateData: finalSlateData,
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
clipMultilineText,
|
|
3
3
|
fetchAndSerializeTable,
|
|
4
4
|
waitForAbortableDelay
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-XCPC4RXE.js";
|
|
6
6
|
import {
|
|
7
7
|
isGatewayHttpStatus
|
|
8
8
|
} from "./chunk-NF64D32W.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./chunk-AGIM7IMJ.js";
|
|
16
16
|
import {
|
|
17
17
|
fetchAndCacheMessages
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-OV47NSYQ.js";
|
|
19
19
|
import {
|
|
20
20
|
createSpaceKey
|
|
21
21
|
} from "./chunk-UAD2WT54.js";
|
|
@@ -71,7 +71,7 @@ import {
|
|
|
71
71
|
import {
|
|
72
72
|
inlineImageUrlsForCustomProvider,
|
|
73
73
|
prepareTools
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-DPFHC2DK.js";
|
|
75
75
|
import {
|
|
76
76
|
getServerProviderSecret
|
|
77
77
|
} from "./chunk-56OAS5RZ.js";
|
|
@@ -94,17 +94,17 @@ import {
|
|
|
94
94
|
resolveCliLocalSpawnDispatch,
|
|
95
95
|
resolveRunContextFacts,
|
|
96
96
|
resolveStartAgentRunCwd
|
|
97
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-YSYTCIFN.js";
|
|
98
98
|
import {
|
|
99
99
|
normalizeEnabledPromptSkills,
|
|
100
100
|
resolveUserEnabledSkills
|
|
101
101
|
} from "./chunk-P62DHV4F.js";
|
|
102
102
|
import {
|
|
103
103
|
validateAskChoiceInput
|
|
104
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-BUO76CEE.js";
|
|
105
105
|
import {
|
|
106
106
|
prepareTokenUsageData
|
|
107
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-OV47NSYQ.js";
|
|
108
108
|
import {
|
|
109
109
|
applyTokenUsageToDayStats
|
|
110
110
|
} from "./chunk-KDDXC2IH.js";
|
|
@@ -114,7 +114,7 @@ import {
|
|
|
114
114
|
} from "./chunk-FGXG6OLW.js";
|
|
115
115
|
import {
|
|
116
116
|
fetchServerSyncedCredential
|
|
117
|
-
} from "./chunk-
|
|
117
|
+
} from "./chunk-PJVJIDTH.js";
|
|
118
118
|
import {
|
|
119
119
|
formatLocalDate
|
|
120
120
|
} from "./chunk-PL5RKESU.js";
|
|
@@ -108,7 +108,7 @@ function createDaemonShortcutCommand(path, description, command) {
|
|
|
108
108
|
// packages/cli/agentInternalCommandEntries.ts
|
|
109
109
|
function getAgentInternalCommandEntries() {
|
|
110
110
|
const createAgentRunCommand = (path, description) => createContextCommand(path, description, async (args, ctx) => {
|
|
111
|
-
const { runAgentRunCommand } = await import("./agentRunCommand-
|
|
111
|
+
const { runAgentRunCommand } = await import("./agentRunCommand-SF4QKUF2.js");
|
|
112
112
|
return runAgentRunCommand(args, {
|
|
113
113
|
env: ctx.env,
|
|
114
114
|
scriptDir: ctx.scriptDir,
|
|
@@ -124,7 +124,7 @@ function getAgentInternalCommandEntries() {
|
|
|
124
124
|
return runAgentListCommand(args, deps);
|
|
125
125
|
}),
|
|
126
126
|
createEnvCommand(["agent", "create"], "Create a new agent", async (args, deps) => {
|
|
127
|
-
const { runAgentCreateCommand } = await import("./agentRecordCommands-
|
|
127
|
+
const { runAgentCreateCommand } = await import("./agentRecordCommands-ANOOR7DX.js");
|
|
128
128
|
return runAgentCreateCommand(args, deps);
|
|
129
129
|
}),
|
|
130
130
|
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) => {
|
|
@@ -140,7 +140,7 @@ function getAgentInternalCommandEntries() {
|
|
|
140
140
|
return runAgentPullCommand(args, deps);
|
|
141
141
|
}),
|
|
142
142
|
createEnvCommand(["agent", "read"], "Read a single agent", async (args, deps) => {
|
|
143
|
-
const { runAgentReadCommand } = await import("./agentRecordCommands-
|
|
143
|
+
const { runAgentReadCommand } = await import("./agentRecordCommands-ANOOR7DX.js");
|
|
144
144
|
return runAgentReadCommand(args, deps);
|
|
145
145
|
}),
|
|
146
146
|
createAgentRunCommand(["agent", "run"], "Run an agent"),
|
|
@@ -185,31 +185,31 @@ function getAgentInternalCommandEntries() {
|
|
|
185
185
|
return runSetupEbookDownloaderAgentCommand(args, deps);
|
|
186
186
|
}),
|
|
187
187
|
createEnvCommand(["agent", "update"], "Update agent fields", async (args, deps) => {
|
|
188
|
-
const { runAgentUpdateCommand } = await import("./agentRecordCommands-
|
|
188
|
+
const { runAgentUpdateCommand } = await import("./agentRecordCommands-ANOOR7DX.js");
|
|
189
189
|
return runAgentUpdateCommand(args, deps);
|
|
190
190
|
}),
|
|
191
191
|
createEnvCommand(["agent", "email", "provision"], "Provision a controlled inbox for an agent", async (args, deps) => {
|
|
192
|
-
const { runAgentEmailProvisionCommand } = await import("./agentEmailCommands-
|
|
192
|
+
const { runAgentEmailProvisionCommand } = await import("./agentEmailCommands-MSPYHNQA.js");
|
|
193
193
|
return runAgentEmailProvisionCommand(args, deps);
|
|
194
194
|
}),
|
|
195
195
|
createEnvCommand(["agent", "email", "bind"], "Bind an existing email address to an agent", async (args, deps) => {
|
|
196
|
-
const { runAgentEmailBindCommand } = await import("./agentEmailCommands-
|
|
196
|
+
const { runAgentEmailBindCommand } = await import("./agentEmailCommands-MSPYHNQA.js");
|
|
197
197
|
return runAgentEmailBindCommand(args, deps);
|
|
198
198
|
}),
|
|
199
199
|
createEnvCommand(["agent", "email", "transfer"], "Transfer an email identity from one agent to another (cross-account)", async (args, deps) => {
|
|
200
|
-
const { runAgentEmailTransferCommand } = await import("./agentEmailCommands-
|
|
200
|
+
const { runAgentEmailTransferCommand } = await import("./agentEmailCommands-MSPYHNQA.js");
|
|
201
201
|
return runAgentEmailTransferCommand(args, deps);
|
|
202
202
|
}),
|
|
203
203
|
createEnvCommand(
|
|
204
204
|
["agent", "email", "create-and-provision"],
|
|
205
205
|
"Create an agent and provision its controlled inbox",
|
|
206
206
|
async (args, deps) => {
|
|
207
|
-
const { runAgentEmailCreateAndProvisionCommand } = await import("./agentEmailCommands-
|
|
207
|
+
const { runAgentEmailCreateAndProvisionCommand } = await import("./agentEmailCommands-MSPYHNQA.js");
|
|
208
208
|
return runAgentEmailCreateAndProvisionCommand(args, deps);
|
|
209
209
|
}
|
|
210
210
|
),
|
|
211
211
|
createEnvCommand(["agent", "delete"], "Hard-delete an agent's private and public records", async (args, deps) => {
|
|
212
|
-
const { runAgentDeleteCommand } = await import("./agentDeleteCommand-
|
|
212
|
+
const { runAgentDeleteCommand } = await import("./agentDeleteCommand-PYQFS2IO.js");
|
|
213
213
|
return runAgentDeleteCommand(args, deps);
|
|
214
214
|
}),
|
|
215
215
|
createEnvCommand(["agent", "grant"], "Grant another user access to this agent's owner credentials", async (args, deps) => {
|
|
@@ -225,15 +225,15 @@ function getAgentInternalCommandEntries() {
|
|
|
225
225
|
return runAgentRevokeGrantCommand(args, deps);
|
|
226
226
|
}),
|
|
227
227
|
createEnvCommand(["agent", "bind-current"], "Bind an agent to this machine", async (args, deps) => {
|
|
228
|
-
const { runAgentBindCurrentCommand } = await import("./agentMachineCommands-
|
|
228
|
+
const { runAgentBindCurrentCommand } = await import("./agentMachineCommands-HHH7DR26.js");
|
|
229
229
|
return runAgentBindCurrentCommand(args, deps);
|
|
230
230
|
}),
|
|
231
231
|
createEnvCommand(["agent", "smoke-current"], "Smoke test a bound agent through this machine", async (args, deps) => {
|
|
232
|
-
const { runAgentSmokeCurrentCommand } = await import("./agentMachineCommands-
|
|
232
|
+
const { runAgentSmokeCurrentCommand } = await import("./agentMachineCommands-HHH7DR26.js");
|
|
233
233
|
return runAgentSmokeCurrentCommand(args, deps);
|
|
234
234
|
}),
|
|
235
235
|
createEnvCommand(["agent", "runtime-doctor"], "Diagnose current machine runtime compatibility", async (args, deps) => {
|
|
236
|
-
const { runAgentRuntimeDoctorCommand } = await import("./agentMachineCommands-
|
|
236
|
+
const { runAgentRuntimeDoctorCommand } = await import("./agentMachineCommands-HHH7DR26.js");
|
|
237
237
|
return runAgentRuntimeDoctorCommand(args, deps);
|
|
238
238
|
}),
|
|
239
239
|
createAgentRunCommand(["agent", "chat"], "Chat with an agent")
|
|
@@ -604,7 +604,7 @@ function getSystemInternalCommandEntries(renderHelpText2) {
|
|
|
604
604
|
"run-now": "Run one local automation immediately",
|
|
605
605
|
tick: "Scan for due local automations once"
|
|
606
606
|
}).map(([action, description]) => createContextCommand(["automation", "local", action], description, async (args, ctx) => {
|
|
607
|
-
const { runLocalAutomationCommand } = await import("./localAutomationCommands-
|
|
607
|
+
const { runLocalAutomationCommand } = await import("./localAutomationCommands-L333FJPR.js");
|
|
608
608
|
return runLocalAutomationCommand(action, args, ctx.env, { scriptDir: ctx.scriptDir });
|
|
609
609
|
})),
|
|
610
610
|
...Object.entries({
|
|
@@ -667,17 +667,17 @@ function getSystemInternalCommandEntries(renderHelpText2) {
|
|
|
667
667
|
return runWhoamiCommand({ args, env: ctx.env });
|
|
668
668
|
}),
|
|
669
669
|
createEntrypointEnvCommand(["connect"], "Hold a connector websocket for this machine", async (args, deps) => {
|
|
670
|
-
const { runMachineConnectCommand } = await import("./machineCommands-
|
|
671
|
-
const { withLocalAutomationShutdown } = await import("./localAutomationRuntime-
|
|
670
|
+
const { runMachineConnectCommand } = await import("./machineCommands-CP7NCD6O.js");
|
|
671
|
+
const { withLocalAutomationShutdown } = await import("./localAutomationRuntime-CIHGJBSC.js");
|
|
672
672
|
return withLocalAutomationShutdown((signal) => runMachineConnectCommand(args, { ...deps, signal }));
|
|
673
673
|
}),
|
|
674
674
|
createDaemonShortcutCommand(["daemon"], "Run the connector daemon shortcut", async (args, deps) => {
|
|
675
|
-
const { runMachineConnectCommand } = await import("./machineCommands-
|
|
676
|
-
const { withLocalAutomationShutdown } = await import("./localAutomationRuntime-
|
|
675
|
+
const { runMachineConnectCommand } = await import("./machineCommands-CP7NCD6O.js");
|
|
676
|
+
const { withLocalAutomationShutdown } = await import("./localAutomationRuntime-CIHGJBSC.js");
|
|
677
677
|
return withLocalAutomationShutdown((signal) => runMachineConnectCommand(args, { ...deps, signal }));
|
|
678
678
|
}),
|
|
679
679
|
createEnvCommand(["machine", "status"], "List machines registered to the current profile", async (args, deps) => {
|
|
680
|
-
const { runMachineStatusCommand } = await import("./machineCommands-
|
|
680
|
+
const { runMachineStatusCommand } = await import("./machineCommands-CP7NCD6O.js");
|
|
681
681
|
return runMachineStatusCommand(args, deps);
|
|
682
682
|
}),
|
|
683
683
|
createEnvCommand(["doctor", "runtime"], "Diagnose local-first agent runtime selection", async (args, deps) => {
|
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
updateContentPinned,
|
|
9
9
|
updateContentTitle,
|
|
10
10
|
uploadAndAddFileToSpace
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-JTRU7WEG.js";
|
|
12
12
|
import "./chunk-EHFDVQF5.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-OV47NSYQ.js";
|
|
14
14
|
import "./chunk-KDDXC2IH.js";
|
|
15
15
|
import "./chunk-TZXPT53C.js";
|
|
16
16
|
import "./chunk-6QDYSCPW.js";
|
|
17
17
|
import "./chunk-FGXG6OLW.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-PJVJIDTH.js";
|
|
19
19
|
import "./chunk-IB5AR52X.js";
|
|
20
20
|
import "./chunk-BYXBJQAS.js";
|
|
21
21
|
import "./chunk-KZO2MTVM.js";
|
|
@@ -3,14 +3,14 @@ import {
|
|
|
3
3
|
} from "./chunk-QKM55LP2.js";
|
|
4
4
|
import {
|
|
5
5
|
addContentToSpace
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-JTRU7WEG.js";
|
|
7
7
|
import "./chunk-EHFDVQF5.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-OV47NSYQ.js";
|
|
9
9
|
import "./chunk-KDDXC2IH.js";
|
|
10
10
|
import "./chunk-TZXPT53C.js";
|
|
11
11
|
import "./chunk-6QDYSCPW.js";
|
|
12
12
|
import "./chunk-FGXG6OLW.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-PJVJIDTH.js";
|
|
14
14
|
import "./chunk-IB5AR52X.js";
|
|
15
15
|
import "./chunk-BYXBJQAS.js";
|
|
16
16
|
import "./chunk-KZO2MTVM.js";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createDialogAction,
|
|
3
3
|
isLocalOwnerDialogAgents
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-BUO76CEE.js";
|
|
5
|
+
import "./chunk-JTRU7WEG.js";
|
|
6
6
|
import "./chunk-EHFDVQF5.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-OV47NSYQ.js";
|
|
8
8
|
import "./chunk-KDDXC2IH.js";
|
|
9
9
|
import "./chunk-TZXPT53C.js";
|
|
10
10
|
import "./chunk-6QDYSCPW.js";
|
|
11
11
|
import "./chunk-FGXG6OLW.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-PJVJIDTH.js";
|
|
13
13
|
import "./chunk-IB5AR52X.js";
|
|
14
14
|
import "./chunk-BYXBJQAS.js";
|
|
15
15
|
import "./chunk-KZO2MTVM.js";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createPageAction
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-CQNGHKSG.js";
|
|
4
4
|
import "./chunk-WX266G2C.js";
|
|
5
5
|
import "./chunk-63W5N6P3.js";
|
|
6
6
|
import "./chunk-AGIM7IMJ.js";
|
|
7
7
|
import "./chunk-VF4K2QE6.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-JTRU7WEG.js";
|
|
9
9
|
import "./chunk-EHFDVQF5.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-OV47NSYQ.js";
|
|
11
11
|
import "./chunk-KDDXC2IH.js";
|
|
12
12
|
import "./chunk-TZXPT53C.js";
|
|
13
13
|
import "./chunk-6QDYSCPW.js";
|
|
14
14
|
import "./chunk-FGXG6OLW.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-PJVJIDTH.js";
|
|
16
16
|
import "./chunk-IB5AR52X.js";
|
|
17
17
|
import "./chunk-BYXBJQAS.js";
|
|
18
18
|
import "./chunk-KZO2MTVM.js";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
deleteDbKey,
|
|
3
3
|
getDeleteErrorMessage
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-6S4VPBSW.js";
|
|
5
|
+
import "./chunk-JTRU7WEG.js";
|
|
6
6
|
import "./chunk-EHFDVQF5.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-OV47NSYQ.js";
|
|
8
8
|
import "./chunk-KDDXC2IH.js";
|
|
9
9
|
import "./chunk-TZXPT53C.js";
|
|
10
10
|
import "./chunk-6QDYSCPW.js";
|
|
11
11
|
import "./chunk-FGXG6OLW.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-PJVJIDTH.js";
|
|
13
13
|
import "./chunk-IB5AR52X.js";
|
|
14
14
|
import "./chunk-BYXBJQAS.js";
|
|
15
15
|
import "./chunk-KZO2MTVM.js";
|
|
@@ -18,12 +18,12 @@ import {
|
|
|
18
18
|
switchDialogAgent,
|
|
19
19
|
updateDialogTitle,
|
|
20
20
|
updateTokens
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-OV47NSYQ.js";
|
|
22
22
|
import "./chunk-KDDXC2IH.js";
|
|
23
23
|
import "./chunk-TZXPT53C.js";
|
|
24
24
|
import "./chunk-6QDYSCPW.js";
|
|
25
25
|
import "./chunk-FGXG6OLW.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-PJVJIDTH.js";
|
|
27
27
|
import "./chunk-IB5AR52X.js";
|
|
28
28
|
import "./chunk-BYXBJQAS.js";
|
|
29
29
|
import "./chunk-KZO2MTVM.js";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
mergeAgentToolsWithRuntime,
|
|
12
12
|
projectDesktopToolUiContent,
|
|
13
13
|
resolveTurnToolContext
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-OLJSB44A.js";
|
|
15
15
|
import {
|
|
16
16
|
resolveUserSkillRuntime
|
|
17
17
|
} from "./chunk-TEFD5E2D.js";
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
} from "./chunk-RGQ4UUWZ.js";
|
|
23
23
|
import {
|
|
24
24
|
performServerProxyFetchWithRetry
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-ZMOKHBV5.js";
|
|
26
26
|
import {
|
|
27
27
|
ZOHO_MAIL_TOOL_NAMES,
|
|
28
28
|
clearGateTurn,
|
|
@@ -32,19 +32,19 @@ import {
|
|
|
32
32
|
pushGate,
|
|
33
33
|
targetForRunKind,
|
|
34
34
|
waitForAbortableDelay
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-XCPC4RXE.js";
|
|
36
36
|
import "./chunk-NF64D32W.js";
|
|
37
37
|
import {
|
|
38
38
|
getUserPreferencesStore
|
|
39
39
|
} from "./chunk-P62DHV4F.js";
|
|
40
|
-
import "./chunk-
|
|
40
|
+
import "./chunk-KTK64ZZN.js";
|
|
41
41
|
import "./chunk-NTUNHTJV.js";
|
|
42
42
|
import "./chunk-RIRFHJTW.js";
|
|
43
43
|
import "./chunk-WX266G2C.js";
|
|
44
44
|
import "./chunk-63W5N6P3.js";
|
|
45
45
|
import "./chunk-AGIM7IMJ.js";
|
|
46
46
|
import "./chunk-VF4K2QE6.js";
|
|
47
|
-
import "./chunk-
|
|
47
|
+
import "./chunk-JTRU7WEG.js";
|
|
48
48
|
import "./chunk-EHFDVQF5.js";
|
|
49
49
|
import {
|
|
50
50
|
admitPendingUserMessages,
|
|
@@ -62,14 +62,14 @@ import {
|
|
|
62
62
|
setMessages,
|
|
63
63
|
toolResultNeedsUserConfirmation,
|
|
64
64
|
updateToolMessage
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-OV47NSYQ.js";
|
|
66
66
|
import "./chunk-KDDXC2IH.js";
|
|
67
67
|
import "./chunk-TZXPT53C.js";
|
|
68
68
|
import "./chunk-6QDYSCPW.js";
|
|
69
69
|
import "./chunk-FGXG6OLW.js";
|
|
70
70
|
import {
|
|
71
71
|
streamAgentChatTurn
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-PJVJIDTH.js";
|
|
73
73
|
import "./chunk-IB5AR52X.js";
|
|
74
74
|
import "./chunk-BYXBJQAS.js";
|
|
75
75
|
import "./chunk-KZO2MTVM.js";
|
|
@@ -1884,7 +1884,7 @@ var handleSendMessageAction = async (args, thunkApi) => {
|
|
|
1884
1884
|
const dialogKey = dialogConfig.dbKey;
|
|
1885
1885
|
const projectId = isDesktopContext && dialogKey ? readDialogProjectId(window.localStorage, dialogKey) : null;
|
|
1886
1886
|
if (projectId) {
|
|
1887
|
-
const { ensureProjectArchive } = await import("./projectArchive-
|
|
1887
|
+
const { ensureProjectArchive } = await import("./projectArchive-KJRBIY3O.js");
|
|
1888
1888
|
const { DESKTOP_FOLDER_PROJECTS_KEY: DESKTOP_FOLDER_PROJECTS_KEY2, readDesktopFolderProjects: readDesktopFolderProjects2 } = await import("./desktopFolderProjects-4POAMVJN.js");
|
|
1889
1889
|
const project = readDesktopFolderProjects2(window.localStorage.getItem(DESKTOP_FOLDER_PROJECTS_KEY2)).find((entry) => entry.id === projectId);
|
|
1890
1890
|
if (!project) throw new Error("\u9879\u76EE\u5DF2\u4E0D\u5B58\u5728\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9\u9879\u76EE");
|