nolo-cli 0.190.0-alpha.2 → 0.191.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-SWF5L2QJ.js → _executeModel-WQ2D4ZRH.js} +12 -12
- package/{agentDeleteCommand-RZBGWFD7.js → agentDeleteCommand-ADZNLZSO.js} +9 -9
- package/{agentEmailCommands-WLI22RW4.js → agentEmailCommands-NGE5AV5C.js} +11 -11
- package/{agentListCommands-RL5BMN2E.js → agentListCommands-WYKQI4GX.js} +1 -1
- package/{agentMachineCommands-F3NUJ2L6.js → agentMachineCommands-CQGT2YP2.js} +1 -1
- package/{agentRecordCommands-P56UX5EH.js → agentRecordCommands-M4IFKR35.js} +10 -10
- package/{agentRunCommand-75PMX2RJ.js → agentRunCommand-FQTQFUF7.js} +11 -11
- package/{agentSlice-YGT6LLK6.js → agentSlice-UJPIKKKP.js} +1 -1
- package/{chunk-23QZ43OQ.js → chunk-2E5M3JVS.js} +2 -2
- package/{chunk-XECMQMCS.js → chunk-2KBNF477.js} +5 -5
- package/{chunk-RKUSD72B.js → chunk-3NPXGNSK.js} +2 -2
- package/{chunk-4YS6SAUO.js → chunk-5EFNSNAV.js} +1 -1
- package/{chunk-ZLBQ55HI.js → chunk-CTPFBJAF.js} +3 -3
- package/{chunk-FSOJN3F7.js → chunk-DS5DAOIY.js} +2 -2
- package/{chunk-P277FU5Z.js → chunk-EEXYC45V.js} +6 -6
- package/{chunk-FLOZJJZO.js → chunk-EHB4CKUI.js} +2 -2
- package/{chunk-LMHU2NXQ.js → chunk-FEDJHD5X.js} +2 -2
- package/{chunk-4KH2J6P7.js → chunk-HAGQR66F.js} +1 -1
- package/{chunk-6PV7VEEE.js → chunk-KGP7UTNN.js} +7 -7
- package/{chunk-EWY63OTN.js → chunk-LCSAJ5TJ.js} +2 -2
- package/{chunk-XY6RHOUI.js → chunk-LHOR5MC2.js} +15 -10
- package/{chunk-JCDNXY6M.js → chunk-R5LJWMZE.js} +2 -2
- package/{chunk-SIZY5XFD.js → chunk-SKFMP4PX.js} +5 -5
- package/{chunk-2CYD3OWD.js → chunk-U5ZHUOLT.js} +1 -1
- package/{chunk-NHUH5CDA.js → chunk-UVWBGWBO.js} +6 -0
- package/{chunk-DNHR4SIB.js → chunk-YCQ5WURS.js} +2 -2
- package/{chunk-ZRATZ7OH.js → chunk-YE6A72XL.js} +8 -8
- package/{commandRegistry-IG7CJFTP.js → commandRegistry-O2RBWYPW.js} +16 -16
- package/{contentThunks-UOENCNOK.js → contentThunks-HQBAAXNW.js} +3 -3
- package/{createAgentAutomationAction-4STTL3XS.js → createAgentAutomationAction-KELPOVMP.js} +3 -3
- package/{createDialogAction-2L47HM5V.js → createDialogAction-Z3SASMTM.js} +4 -4
- package/{createPageAction-6QX7NS6V.js → createPageAction-PNHOIG44.js} +3 -3
- package/{dialogSlice-5M2W5QZZ.js → dialogSlice-QHV6I3OQ.js} +2 -2
- package/{docStore-FOMW62P6.js → docStore-LVMUSECS.js} +1 -1
- package/{handleSendMessageAction-6PA7PBAE.js → handleSendMessageAction-7TONIXHY.js} +7 -7
- package/index.js +3 -3
- package/{localRuntimeAdapter-UZVDGE24.js → localRuntimeAdapter-4ROHWWBE.js} +9 -9
- package/{machineCommands-JMHZ2BFI.js → machineCommands-YRYIFT7E.js} +10 -10
- package/{machineWsRunDispatch-5CYUKV3K.js → machineWsRunDispatch-2P52PRIL.js} +10 -10
- package/package.json +1 -1
- package/{readlineWorkspace-G5EZWTPW.js → readlineWorkspace-LNFLMKKG.js} +12 -12
- package/{runAgentClientLoop-5P42KTXW.js → runAgentClientLoop-DCV4BD2W.js} +10 -10
- package/{streamAgentChatTurn-LK4RYXJ6.js → streamAgentChatTurn-NKFKMFQ2.js} +12 -12
- package/{tools-RGZRKCCX.js → tools-626VXEY7.js} +7 -7
- package/{updateDialogTitleAction-HEON2XAV.js → updateDialogTitleAction-RNNQAMXG.js} +3 -3
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
toolRunUpdated,
|
|
39
39
|
uiCardFallback,
|
|
40
40
|
waitForAbortableDelay
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-3NPXGNSK.js";
|
|
42
42
|
import {
|
|
43
43
|
isGatewayHttpStatus
|
|
44
44
|
} from "./chunk-NF64D32W.js";
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
} from "./chunk-VYNMQ6HW.js";
|
|
56
56
|
import {
|
|
57
57
|
createDocState
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-DS5DAOIY.js";
|
|
59
59
|
import {
|
|
60
60
|
ToolApiError,
|
|
61
61
|
buildToolRequestHeaders,
|
|
@@ -82,7 +82,7 @@ import {
|
|
|
82
82
|
} from "./chunk-63W5N6P3.js";
|
|
83
83
|
import {
|
|
84
84
|
createDialogAction
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-2E5M3JVS.js";
|
|
86
86
|
import {
|
|
87
87
|
DEFAULT_COLLAPSED_CATEGORIES,
|
|
88
88
|
addContentToSpace,
|
|
@@ -99,7 +99,7 @@ import {
|
|
|
99
99
|
updateContentCategory,
|
|
100
100
|
updateContentTitle,
|
|
101
101
|
writeStoredCollapsedCategories
|
|
102
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-5EFNSNAV.js";
|
|
103
103
|
import {
|
|
104
104
|
getCurrentSpaceId,
|
|
105
105
|
getCurrentSpaceIdRaw,
|
|
@@ -122,14 +122,14 @@ import {
|
|
|
122
122
|
selectMsgById,
|
|
123
123
|
uiAskChoiceFunc,
|
|
124
124
|
uiAskChoiceFunctionSchema
|
|
125
|
-
} from "./chunk-
|
|
125
|
+
} from "./chunk-YE6A72XL.js";
|
|
126
126
|
import {
|
|
127
127
|
createAgent,
|
|
128
128
|
deleteServerSyncedCredential,
|
|
129
129
|
runLlm,
|
|
130
130
|
streamAgentChatTurn,
|
|
131
131
|
updateAgent
|
|
132
|
-
} from "./chunk-
|
|
132
|
+
} from "./chunk-CTPFBJAF.js";
|
|
133
133
|
import {
|
|
134
134
|
buildMediaToolConfirmation,
|
|
135
135
|
normalizeMediaConfirmExecutionRevision
|
|
@@ -3884,7 +3884,7 @@ async function deleteDialogsFunc(args, thunkApi) {
|
|
|
3884
3884
|
const deletedDialogIds = [];
|
|
3885
3885
|
const deletedDialogKeys = [];
|
|
3886
3886
|
const failures = [];
|
|
3887
|
-
const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-
|
|
3887
|
+
const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-QHV6I3OQ.js");
|
|
3888
3888
|
for (const target of targets) {
|
|
3889
3889
|
try {
|
|
3890
3890
|
await thunkApi.dispatch(deleteDialog2(target.dbKey)).unwrap();
|
|
@@ -4468,6 +4468,7 @@ var createInitialState = () => ({
|
|
|
4468
4468
|
agentIds: [],
|
|
4469
4469
|
contentIds: [],
|
|
4470
4470
|
favoritedAtById: {},
|
|
4471
|
+
displaySummaryById: {},
|
|
4471
4472
|
initialized: false,
|
|
4472
4473
|
loading: false,
|
|
4473
4474
|
snapshotComplete: false,
|
|
@@ -4491,9 +4492,11 @@ function removeFavoriteLocally(payload) {
|
|
|
4491
4492
|
state = {
|
|
4492
4493
|
...state,
|
|
4493
4494
|
agentIds: state.agentIds.filter((item) => item !== id),
|
|
4494
|
-
favoritedAtById: { ...state.favoritedAtById }
|
|
4495
|
+
favoritedAtById: { ...state.favoritedAtById },
|
|
4496
|
+
displaySummaryById: { ...state.displaySummaryById }
|
|
4495
4497
|
};
|
|
4496
4498
|
delete state.favoritedAtById[id];
|
|
4499
|
+
delete state.displaySummaryById[id];
|
|
4497
4500
|
notify();
|
|
4498
4501
|
return;
|
|
4499
4502
|
}
|
|
@@ -4501,9 +4504,11 @@ function removeFavoriteLocally(payload) {
|
|
|
4501
4504
|
state = {
|
|
4502
4505
|
...state,
|
|
4503
4506
|
contentIds: state.contentIds.filter((item) => item !== id),
|
|
4504
|
-
favoritedAtById: { ...state.favoritedAtById }
|
|
4507
|
+
favoritedAtById: { ...state.favoritedAtById },
|
|
4508
|
+
displaySummaryById: { ...state.displaySummaryById }
|
|
4505
4509
|
};
|
|
4506
4510
|
delete state.favoritedAtById[id];
|
|
4511
|
+
delete state.displaySummaryById[id];
|
|
4507
4512
|
notify();
|
|
4508
4513
|
}
|
|
4509
4514
|
}
|
|
@@ -18566,7 +18571,7 @@ async function updateDocFunc(args, thunkApi) {
|
|
|
18566
18571
|
updated_at: (/* @__PURE__ */ new Date()).toISOString()
|
|
18567
18572
|
};
|
|
18568
18573
|
await dispatch(write({ data: updatedPageData, customKey: id })).unwrap();
|
|
18569
|
-
const { getDocState, applyExternalDocUpdate } = await import("./docStore-
|
|
18574
|
+
const { getDocState, applyExternalDocUpdate } = await import("./docStore-LVMUSECS.js");
|
|
18570
18575
|
if (getDocState().pageKey === id) {
|
|
18571
18576
|
applyExternalDocUpdate({
|
|
18572
18577
|
slateData: finalSlateData,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fetchReferenceContents,
|
|
3
3
|
resolveReferenceAssets
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-FEDJHD5X.js";
|
|
5
5
|
import {
|
|
6
6
|
updateTokensAction
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-YE6A72XL.js";
|
|
8
8
|
import {
|
|
9
9
|
applyUpdateTokensFulfilled
|
|
10
10
|
} from "./chunk-OWYYDMGJ.js";
|
|
@@ -60,7 +60,7 @@ import {
|
|
|
60
60
|
import {
|
|
61
61
|
inlineImageUrlsForCustomProvider,
|
|
62
62
|
prepareTools
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-LCSAJ5TJ.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-LHOR5MC2.js";
|
|
86
86
|
import {
|
|
87
87
|
fetchWithTransientRetry,
|
|
88
88
|
isTransientFetchError
|
|
@@ -93,7 +93,7 @@ import {
|
|
|
93
93
|
} from "./chunk-53RSTB7T.js";
|
|
94
94
|
import {
|
|
95
95
|
resolveAgentRequiredPackIds
|
|
96
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-3NPXGNSK.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-YE6A72XL.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-CTPFBJAF.js";
|
|
113
113
|
import {
|
|
114
114
|
getDefaultCliLocalRuntimeDb
|
|
115
115
|
} from "./chunk-P64WRQYV.js";
|
|
@@ -212,6 +212,12 @@ async function listFavoriteAgentIdsAcrossServers(args) {
|
|
|
212
212
|
favoritedAtByKey[id] ?? 0,
|
|
213
213
|
at || Date.now()
|
|
214
214
|
);
|
|
215
|
+
if (args.summariesByKey && (item?.displayTitle !== void 0 || item?.displayAvatarFileId !== void 0)) {
|
|
216
|
+
args.summariesByKey[id] = {
|
|
217
|
+
...typeof item?.displayTitle === "string" ? { displayTitle: item.displayTitle } : {},
|
|
218
|
+
...item?.displayAvatarFileId !== void 0 ? { displayAvatarFileId: item.displayAvatarFileId } : {}
|
|
219
|
+
};
|
|
220
|
+
}
|
|
215
221
|
}
|
|
216
222
|
const ids = Array.isArray(data?.ids) ? data.ids : [];
|
|
217
223
|
for (const id of ids) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createCliLocalRuntimeAdapter,
|
|
3
3
|
summarizeEndpoint
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-SKFMP4PX.js";
|
|
5
5
|
import {
|
|
6
6
|
clipMultilineText
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-3NPXGNSK.js";
|
|
8
8
|
import {
|
|
9
9
|
runLocalAgentTurn
|
|
10
10
|
} from "./chunk-W622GBH3.js";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "./chunk-523DITKR.js";
|
|
12
12
|
import {
|
|
13
13
|
runLlm
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-CTPFBJAF.js";
|
|
15
15
|
import {
|
|
16
16
|
isMediaToolConfirmation
|
|
17
17
|
} from "./chunk-QYPE3TS3.js";
|
|
@@ -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-UJPIKKKP.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-QHV6I3OQ.js");
|
|
13891
13891
|
dispatch(clearPendingAttachments2());
|
|
13892
13892
|
}
|
|
13893
13893
|
return { dialogKey, isCurrentDialog, attachmentPlan };
|
|
@@ -13895,15 +13895,15 @@ 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-Z3SASMTM.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-KELPOVMP.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-RNNQAMXG.js");
|
|
13907
13907
|
return updateDialogTitleAction(args, thunkApi);
|
|
13908
13908
|
};
|
|
13909
13909
|
var runAddDialogAgentAction = async (args, thunkApi) => {
|
|
@@ -13927,7 +13927,7 @@ var runSetDialogExtraReferencesAction = async (args, thunkApi) => {
|
|
|
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-7TONIXHY.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-LVMUSECS.js");
|
|
13944
13944
|
const pageKey = await createDocState(
|
|
13945
13945
|
{ slateData, title },
|
|
13946
13946
|
{ dispatch, getState }
|
|
@@ -111,7 +111,7 @@ function createDaemonShortcutCommand(path, description, command) {
|
|
|
111
111
|
// packages/cli/agentInternalCommandEntries.ts
|
|
112
112
|
function getAgentInternalCommandEntries() {
|
|
113
113
|
const createAgentRunCommand = (path, description) => createContextCommand(path, description, async (args, ctx) => {
|
|
114
|
-
const { runAgentRunCommand } = await import("./agentRunCommand-
|
|
114
|
+
const { runAgentRunCommand } = await import("./agentRunCommand-FQTQFUF7.js");
|
|
115
115
|
return runAgentRunCommand(args, {
|
|
116
116
|
env: ctx.env,
|
|
117
117
|
scriptDir: ctx.scriptDir,
|
|
@@ -123,11 +123,11 @@ function getAgentInternalCommandEntries() {
|
|
|
123
123
|
createAgentRunCommand(["run"], "Run a no-login local agent in this workspace"),
|
|
124
124
|
createAgentRunCommand(["chat"], "Chat with an agent"),
|
|
125
125
|
createEnvCommand(["agent", "list"], "List owned agents", async (args, deps) => {
|
|
126
|
-
const { runAgentListCommand } = await import("./agentListCommands-
|
|
126
|
+
const { runAgentListCommand } = await import("./agentListCommands-WYKQI4GX.js");
|
|
127
127
|
return runAgentListCommand(args, deps);
|
|
128
128
|
}),
|
|
129
129
|
createEnvCommand(["agent", "create"], "Create a new agent", async (args, deps) => {
|
|
130
|
-
const { runAgentCreateCommand } = await import("./agentRecordCommands-
|
|
130
|
+
const { runAgentCreateCommand } = await import("./agentRecordCommands-M4IFKR35.js");
|
|
131
131
|
return runAgentCreateCommand(args, deps);
|
|
132
132
|
}),
|
|
133
133
|
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) => {
|
|
@@ -143,7 +143,7 @@ function getAgentInternalCommandEntries() {
|
|
|
143
143
|
return runAgentPullCommand(args, deps);
|
|
144
144
|
}),
|
|
145
145
|
createEnvCommand(["agent", "read"], "Read a single agent", async (args, deps) => {
|
|
146
|
-
const { runAgentReadCommand } = await import("./agentRecordCommands-
|
|
146
|
+
const { runAgentReadCommand } = await import("./agentRecordCommands-M4IFKR35.js");
|
|
147
147
|
return runAgentReadCommand(args, deps);
|
|
148
148
|
}),
|
|
149
149
|
createAgentRunCommand(["agent", "run"], "Run an agent"),
|
|
@@ -172,31 +172,31 @@ function getAgentInternalCommandEntries() {
|
|
|
172
172
|
return runSetupOfflineMarxistsAgentCommand(args, deps);
|
|
173
173
|
}),
|
|
174
174
|
createEnvCommand(["agent", "update"], "Update agent fields", async (args, deps) => {
|
|
175
|
-
const { runAgentUpdateCommand } = await import("./agentRecordCommands-
|
|
175
|
+
const { runAgentUpdateCommand } = await import("./agentRecordCommands-M4IFKR35.js");
|
|
176
176
|
return runAgentUpdateCommand(args, deps);
|
|
177
177
|
}),
|
|
178
178
|
createEnvCommand(["agent", "email", "provision"], "Provision a controlled inbox for an agent", async (args, deps) => {
|
|
179
|
-
const { runAgentEmailProvisionCommand } = await import("./agentEmailCommands-
|
|
179
|
+
const { runAgentEmailProvisionCommand } = await import("./agentEmailCommands-NGE5AV5C.js");
|
|
180
180
|
return runAgentEmailProvisionCommand(args, deps);
|
|
181
181
|
}),
|
|
182
182
|
createEnvCommand(["agent", "email", "bind"], "Bind an existing email address to an agent", async (args, deps) => {
|
|
183
|
-
const { runAgentEmailBindCommand } = await import("./agentEmailCommands-
|
|
183
|
+
const { runAgentEmailBindCommand } = await import("./agentEmailCommands-NGE5AV5C.js");
|
|
184
184
|
return runAgentEmailBindCommand(args, deps);
|
|
185
185
|
}),
|
|
186
186
|
createEnvCommand(["agent", "email", "transfer"], "Transfer an email identity from one agent to another (cross-account)", async (args, deps) => {
|
|
187
|
-
const { runAgentEmailTransferCommand } = await import("./agentEmailCommands-
|
|
187
|
+
const { runAgentEmailTransferCommand } = await import("./agentEmailCommands-NGE5AV5C.js");
|
|
188
188
|
return runAgentEmailTransferCommand(args, deps);
|
|
189
189
|
}),
|
|
190
190
|
createEnvCommand(
|
|
191
191
|
["agent", "email", "create-and-provision"],
|
|
192
192
|
"Create an agent and provision its controlled inbox",
|
|
193
193
|
async (args, deps) => {
|
|
194
|
-
const { runAgentEmailCreateAndProvisionCommand } = await import("./agentEmailCommands-
|
|
194
|
+
const { runAgentEmailCreateAndProvisionCommand } = await import("./agentEmailCommands-NGE5AV5C.js");
|
|
195
195
|
return runAgentEmailCreateAndProvisionCommand(args, deps);
|
|
196
196
|
}
|
|
197
197
|
),
|
|
198
198
|
createEnvCommand(["agent", "delete"], "Hard-delete an agent's private and public records", async (args, deps) => {
|
|
199
|
-
const { runAgentDeleteCommand } = await import("./agentDeleteCommand-
|
|
199
|
+
const { runAgentDeleteCommand } = await import("./agentDeleteCommand-ADZNLZSO.js");
|
|
200
200
|
return runAgentDeleteCommand(args, deps);
|
|
201
201
|
}),
|
|
202
202
|
createEnvCommand(["agent", "grant"], "Grant another user access to this agent's owner credentials", async (args, deps) => {
|
|
@@ -216,15 +216,15 @@ function getAgentInternalCommandEntries() {
|
|
|
216
216
|
return runAgentRevokeGrantCommand(args, deps);
|
|
217
217
|
}),
|
|
218
218
|
createEnvCommand(["agent", "bind-current"], "Bind an agent to this machine", async (args, deps) => {
|
|
219
|
-
const { runAgentBindCurrentCommand } = await import("./agentMachineCommands-
|
|
219
|
+
const { runAgentBindCurrentCommand } = await import("./agentMachineCommands-CQGT2YP2.js");
|
|
220
220
|
return runAgentBindCurrentCommand(args, deps);
|
|
221
221
|
}),
|
|
222
222
|
createEnvCommand(["agent", "smoke-current"], "Smoke test a bound agent through this machine", async (args, deps) => {
|
|
223
|
-
const { runAgentSmokeCurrentCommand } = await import("./agentMachineCommands-
|
|
223
|
+
const { runAgentSmokeCurrentCommand } = await import("./agentMachineCommands-CQGT2YP2.js");
|
|
224
224
|
return runAgentSmokeCurrentCommand(args, deps);
|
|
225
225
|
}),
|
|
226
226
|
createEnvCommand(["agent", "runtime-doctor"], "Diagnose current machine runtime compatibility", async (args, deps) => {
|
|
227
|
-
const { runAgentRuntimeDoctorCommand } = await import("./agentMachineCommands-
|
|
227
|
+
const { runAgentRuntimeDoctorCommand } = await import("./agentMachineCommands-CQGT2YP2.js");
|
|
228
228
|
return runAgentRuntimeDoctorCommand(args, deps);
|
|
229
229
|
}),
|
|
230
230
|
createAgentRunCommand(["agent", "chat"], "Chat with an agent")
|
|
@@ -547,15 +547,15 @@ function getSystemInternalCommandEntries(renderHelpText2) {
|
|
|
547
547
|
return runWhoamiCommand({ args, env: ctx.env });
|
|
548
548
|
}),
|
|
549
549
|
createEntrypointEnvCommand(["connect"], "Send machine heartbeats or hold a connector websocket", async (args, deps) => {
|
|
550
|
-
const { runMachineConnectCommand } = await import("./machineCommands-
|
|
550
|
+
const { runMachineConnectCommand } = await import("./machineCommands-YRYIFT7E.js");
|
|
551
551
|
return runMachineConnectCommand(args, deps);
|
|
552
552
|
}),
|
|
553
553
|
createDaemonShortcutCommand(["daemon"], "Run the connector daemon shortcut", async (args, deps) => {
|
|
554
|
-
const { runMachineConnectCommand } = await import("./machineCommands-
|
|
554
|
+
const { runMachineConnectCommand } = await import("./machineCommands-YRYIFT7E.js");
|
|
555
555
|
return runMachineConnectCommand(args, deps);
|
|
556
556
|
}),
|
|
557
557
|
createEnvCommand(["machine", "status"], "List machines registered to the current profile", async (args, deps) => {
|
|
558
|
-
const { runMachineStatusCommand } = await import("./machineCommands-
|
|
558
|
+
const { runMachineStatusCommand } = await import("./machineCommands-YRYIFT7E.js");
|
|
559
559
|
return runMachineStatusCommand(args, deps);
|
|
560
560
|
}),
|
|
561
561
|
createEnvCommand(["doctor", "runtime"], "Diagnose local-first agent runtime selection", async (args, deps) => {
|
|
@@ -8,13 +8,13 @@ import {
|
|
|
8
8
|
updateContentPinned,
|
|
9
9
|
updateContentTitle,
|
|
10
10
|
uploadAndAddFileToSpace
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-5EFNSNAV.js";
|
|
12
12
|
import "./chunk-5XBUWM6I.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-YE6A72XL.js";
|
|
14
14
|
import "./chunk-TZXPT53C.js";
|
|
15
15
|
import "./chunk-LEC5ALIN.js";
|
|
16
16
|
import "./chunk-523DITKR.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-CTPFBJAF.js";
|
|
18
18
|
import "./chunk-BYXBJQAS.js";
|
|
19
19
|
import "./chunk-QYPE3TS3.js";
|
|
20
20
|
import "./chunk-A5BLRE3G.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
addContentToSpace
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-5EFNSNAV.js";
|
|
4
4
|
import "./chunk-5XBUWM6I.js";
|
|
5
|
-
import "./chunk-
|
|
5
|
+
import "./chunk-YE6A72XL.js";
|
|
6
6
|
import "./chunk-TZXPT53C.js";
|
|
7
7
|
import "./chunk-LEC5ALIN.js";
|
|
8
8
|
import "./chunk-523DITKR.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-CTPFBJAF.js";
|
|
10
10
|
import "./chunk-BYXBJQAS.js";
|
|
11
11
|
import "./chunk-QYPE3TS3.js";
|
|
12
12
|
import "./chunk-A5BLRE3G.js";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createDialogAction,
|
|
3
3
|
isLocalOwnerDialogAgents
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-2E5M3JVS.js";
|
|
5
|
+
import "./chunk-5EFNSNAV.js";
|
|
6
6
|
import "./chunk-5XBUWM6I.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-YE6A72XL.js";
|
|
8
8
|
import "./chunk-TZXPT53C.js";
|
|
9
9
|
import "./chunk-LEC5ALIN.js";
|
|
10
10
|
import "./chunk-523DITKR.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-CTPFBJAF.js";
|
|
12
12
|
import "./chunk-BYXBJQAS.js";
|
|
13
13
|
import "./chunk-QYPE3TS3.js";
|
|
14
14
|
import "./chunk-A5BLRE3G.js";
|
|
@@ -13,17 +13,17 @@ import {
|
|
|
13
13
|
} from "./chunk-63W5N6P3.js";
|
|
14
14
|
import {
|
|
15
15
|
addContentToSpace
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-5EFNSNAV.js";
|
|
17
17
|
import {
|
|
18
18
|
getCurrentSpaceId
|
|
19
19
|
} from "./chunk-5XBUWM6I.js";
|
|
20
20
|
import {
|
|
21
21
|
runtime_default
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-YE6A72XL.js";
|
|
23
23
|
import "./chunk-TZXPT53C.js";
|
|
24
24
|
import "./chunk-LEC5ALIN.js";
|
|
25
25
|
import "./chunk-523DITKR.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-CTPFBJAF.js";
|
|
27
27
|
import "./chunk-BYXBJQAS.js";
|
|
28
28
|
import "./chunk-QYPE3TS3.js";
|
|
29
29
|
import "./chunk-A5BLRE3G.js";
|
|
@@ -20,11 +20,11 @@ import {
|
|
|
20
20
|
switchDialogAgent,
|
|
21
21
|
updateDialogTitle,
|
|
22
22
|
updateTokens
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-YE6A72XL.js";
|
|
24
24
|
import "./chunk-TZXPT53C.js";
|
|
25
25
|
import "./chunk-LEC5ALIN.js";
|
|
26
26
|
import "./chunk-523DITKR.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-CTPFBJAF.js";
|
|
28
28
|
import "./chunk-BYXBJQAS.js";
|
|
29
29
|
import "./chunk-QYPE3TS3.js";
|
|
30
30
|
import "./chunk-A5BLRE3G.js";
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
mergeAgentToolsWithRuntime,
|
|
8
8
|
projectDesktopToolUiContent,
|
|
9
9
|
resolveTurnToolContext
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-2KBNF477.js";
|
|
11
11
|
import "./chunk-INFHX73M.js";
|
|
12
12
|
import {
|
|
13
13
|
CONTEXT_OVERFLOW_ACTIONS,
|
|
@@ -15,22 +15,22 @@ import {
|
|
|
15
15
|
extractErrorDiagnostics,
|
|
16
16
|
isContextOverflowText,
|
|
17
17
|
performServerProxyFetchWithRetry
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-FEDJHD5X.js";
|
|
19
19
|
import {
|
|
20
20
|
createSSEParser,
|
|
21
21
|
resolveAgentRequiredPackIds,
|
|
22
22
|
waitForAbortableDelay
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-3NPXGNSK.js";
|
|
24
24
|
import "./chunk-NF64D32W.js";
|
|
25
25
|
import "./chunk-3L2WKC3W.js";
|
|
26
26
|
import "./chunk-VYNMQ6HW.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-DS5DAOIY.js";
|
|
28
28
|
import "./chunk-MYOH447Z.js";
|
|
29
29
|
import "./chunk-YIRADHSY.js";
|
|
30
30
|
import "./chunk-AGIM7IMJ.js";
|
|
31
31
|
import "./chunk-ZBCBFOWC.js";
|
|
32
32
|
import "./chunk-VIDPVFP3.js";
|
|
33
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-5EFNSNAV.js";
|
|
34
34
|
import "./chunk-5XBUWM6I.js";
|
|
35
35
|
import {
|
|
36
36
|
clearForegroundTurnSettledVisible,
|
|
@@ -48,13 +48,13 @@ import {
|
|
|
48
48
|
setStreamingMessageId,
|
|
49
49
|
toolResultNeedsUserConfirmation,
|
|
50
50
|
updateToolMessage
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-YE6A72XL.js";
|
|
52
52
|
import "./chunk-TZXPT53C.js";
|
|
53
53
|
import "./chunk-LEC5ALIN.js";
|
|
54
54
|
import "./chunk-523DITKR.js";
|
|
55
55
|
import {
|
|
56
56
|
streamAgentChatTurn
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-CTPFBJAF.js";
|
|
58
58
|
import "./chunk-BYXBJQAS.js";
|
|
59
59
|
import "./chunk-QYPE3TS3.js";
|
|
60
60
|
import "./chunk-A5BLRE3G.js";
|
package/index.js
CHANGED
|
@@ -106,9 +106,9 @@ async function runScript(script, forwardedArgs, env) {
|
|
|
106
106
|
return proc.exited;
|
|
107
107
|
}
|
|
108
108
|
async function launchTuiWorkspace(args2) {
|
|
109
|
-
const { startTuiWorkspace } = await import("./readlineWorkspace-
|
|
109
|
+
const { startTuiWorkspace } = await import("./readlineWorkspace-LNFLMKKG.js");
|
|
110
110
|
const { createTuiSummaryLlmCaller } = await import("./tuiSummaryLlmCaller-FSOADMXK.js");
|
|
111
|
-
const { setCliAutoCompactionSummaryFallback } = await import("./localRuntimeAdapter-
|
|
111
|
+
const { setCliAutoCompactionSummaryFallback } = await import("./localRuntimeAdapter-4ROHWWBE.js");
|
|
112
112
|
setCliAutoCompactionSummaryFallback(
|
|
113
113
|
createTuiSummaryLlmCaller(args2.env, { timeoutMs: 3e4 })
|
|
114
114
|
);
|
|
@@ -120,7 +120,7 @@ async function launchTuiWorkspace(args2) {
|
|
|
120
120
|
});
|
|
121
121
|
}
|
|
122
122
|
async function main() {
|
|
123
|
-
const { createCliRuntimeContext, looksLikeDaemonShortcut, renderHelpText, resolveCommand, runResolvedCommand } = await import("./commandRegistry-
|
|
123
|
+
const { createCliRuntimeContext, looksLikeDaemonShortcut, renderHelpText, resolveCommand, runResolvedCommand } = await import("./commandRegistry-O2RBWYPW.js");
|
|
124
124
|
const { buildCliRuntimeEnv, loadProfileConfig } = await import("./profileConfig-KN3N2BLF.js");
|
|
125
125
|
const { resolveTuiLaunchMode } = await import("./runtimeModeArgs-2Y7BALTO.js");
|
|
126
126
|
const runtimeEnv = {
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
withRuntimeEnabledPacksAndPrompt,
|
|
47
47
|
writeDialog,
|
|
48
48
|
writeLocalTokenRecord
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-SKFMP4PX.js";
|
|
50
50
|
import "./chunk-DYQXB46J.js";
|
|
51
51
|
import {
|
|
52
52
|
defaultLoopbackRequest,
|
|
@@ -64,9 +64,9 @@ import "./chunk-VL5KOY2C.js";
|
|
|
64
64
|
import "./chunk-ZEZC7IIM.js";
|
|
65
65
|
import "./chunk-ATNTHIZI.js";
|
|
66
66
|
import "./chunk-INFHX73M.js";
|
|
67
|
-
import "./chunk-
|
|
67
|
+
import "./chunk-LCSAJ5TJ.js";
|
|
68
68
|
import "./chunk-HS7MLR74.js";
|
|
69
|
-
import "./chunk-
|
|
69
|
+
import "./chunk-LHOR5MC2.js";
|
|
70
70
|
import {
|
|
71
71
|
fetchWithTransientRetry
|
|
72
72
|
} from "./chunk-KFHREHUQ.js";
|
|
@@ -75,11 +75,11 @@ import "./chunk-OXME3PEE.js";
|
|
|
75
75
|
import "./chunk-KSTEXKL6.js";
|
|
76
76
|
import "./chunk-VF4K2QE6.js";
|
|
77
77
|
import "./chunk-53PBXLID.js";
|
|
78
|
-
import "./chunk-
|
|
78
|
+
import "./chunk-3NPXGNSK.js";
|
|
79
79
|
import "./chunk-NF64D32W.js";
|
|
80
80
|
import "./chunk-3L2WKC3W.js";
|
|
81
81
|
import "./chunk-VYNMQ6HW.js";
|
|
82
|
-
import "./chunk-
|
|
82
|
+
import "./chunk-DS5DAOIY.js";
|
|
83
83
|
import "./chunk-MYOH447Z.js";
|
|
84
84
|
import "./chunk-DFF6B7P7.js";
|
|
85
85
|
import "./chunk-YIRADHSY.js";
|
|
@@ -87,14 +87,14 @@ import "./chunk-AGIM7IMJ.js";
|
|
|
87
87
|
import "./chunk-ZBCBFOWC.js";
|
|
88
88
|
import "./chunk-VIDPVFP3.js";
|
|
89
89
|
import "./chunk-63W5N6P3.js";
|
|
90
|
-
import "./chunk-
|
|
91
|
-
import "./chunk-
|
|
90
|
+
import "./chunk-2E5M3JVS.js";
|
|
91
|
+
import "./chunk-5EFNSNAV.js";
|
|
92
92
|
import "./chunk-5XBUWM6I.js";
|
|
93
|
-
import "./chunk-
|
|
93
|
+
import "./chunk-YE6A72XL.js";
|
|
94
94
|
import "./chunk-TZXPT53C.js";
|
|
95
95
|
import "./chunk-LEC5ALIN.js";
|
|
96
96
|
import "./chunk-523DITKR.js";
|
|
97
|
-
import "./chunk-
|
|
97
|
+
import "./chunk-CTPFBJAF.js";
|
|
98
98
|
import "./chunk-BYXBJQAS.js";
|
|
99
99
|
import "./chunk-QYPE3TS3.js";
|
|
100
100
|
import "./chunk-A5BLRE3G.js";
|