nolo-cli 0.264.0-alpha.1 → 0.265.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-YQNZNR2Y.js → _executeModel-B3ENLKM4.js} +14 -14
- package/{agentDeleteCommand-MJF6BWP5.js → agentDeleteCommand-R4LKLXQR.js} +12 -12
- package/{agentEmailCommands-KX3OQQAW.js → agentEmailCommands-SUEXVAY4.js} +13 -13
- package/{agentMachineCommands-X5ZLRVTF.js → agentMachineCommands-AXPZRHUY.js} +2 -2
- package/{agentRecordCommands-KETL6CLV.js → agentRecordCommands-NE4OPX5K.js} +13 -13
- package/{agentRun-DSQD2VC5.js → agentRun-NSNLIOM7.js} +13 -13
- package/{agentRunCommand-COJOJSNF.js → agentRunCommand-T6QTKMCJ.js} +14 -14
- package/{agentSlice-HHNKNNYM.js → agentSlice-FZJZONCT.js} +1 -1
- package/{chunk-LYPJYBE5.js → chunk-2QKIWEZS.js} +2 -2
- package/{chunk-7E6YXSFZ.js → chunk-4TDUT2LC.js} +2 -2
- package/{chunk-CWOZIF6Z.js → chunk-6A6CTCMC.js} +1 -1
- package/{chunk-DBEOW57U.js → chunk-APOIIIB4.js} +2 -2
- package/{chunk-MALPQFGT.js → chunk-B7CTVEUV.js} +5 -5
- package/{chunk-7422ZLGL.js → chunk-BY2CHBIZ.js} +6 -6
- package/{chunk-ZSZBHRLP.js → chunk-CYS6HOJ2.js} +4 -4
- package/{chunk-JUMQJSQF.js → chunk-DALXH7BG.js} +211 -177
- package/{chunk-DBCWXGOC.js → chunk-DKEOYC4L.js} +8 -8
- package/{chunk-EN6WNK2M.js → chunk-DXDCL3Z6.js} +6 -6
- package/{chunk-WLRDY5OG.js → chunk-DZJWSGCV.js} +1 -1
- package/{chunk-TGVVE5BA.js → chunk-FRFFUKGH.js} +1 -1
- package/{chunk-4RUQ2PFX.js → chunk-G5KDYBTG.js} +3 -3
- package/chunk-GBXRKW26.js +613 -0
- package/{chunk-QG2ALEDQ.js → chunk-IHU2ZFCQ.js} +3 -3
- package/{chunk-R5PN5DE2.js → chunk-JGUHOA42.js} +3 -3
- package/{chunk-TKLBBR7P.js → chunk-L2DHCG6C.js} +3 -3
- package/{chunk-HXEO5DNV.js → chunk-LBPW6OCD.js} +2 -2
- package/{chunk-PDSXYHNI.js → chunk-NACE7NWO.js} +2 -2
- package/{chunk-U7OULUMF.js → chunk-S52BPZ7A.js} +2 -2
- package/{chunk-EBH4RFJ6.js → chunk-SCEPD46O.js} +20 -14
- package/{chunk-6K4V4R2I.js → chunk-XGYQCBWS.js} +5 -5
- package/{chunk-EODBQPRM.js → chunk-Z6LVL5MC.js} +2 -2
- package/{cliExecutor-Z62UBJ5S.js → cliExecutor-N3445G2Z.js} +1 -1
- package/{commandRegistry-WOKBQU6B.js → commandRegistry-XPLM5SWC.js} +18 -18
- package/{contentThunks-ERA42OXW.js → contentThunks-RK6MJWBY.js} +3 -3
- package/{createAgentAutomationAction-DMD2VDPI.js → createAgentAutomationAction-KN7XLCU2.js} +3 -3
- package/{createDialogAction-3SPOJQAK.js → createDialogAction-KAG6DBVM.js} +4 -4
- package/{createPageAction-AVXUMZVT.js → createPageAction-7XNPH76L.js} +4 -4
- package/{deleteDbKey-KV6MYBAI.js → deleteDbKey-MUCJP6DK.js} +4 -4
- package/{dialogSlice-Q7H2YVNO.js → dialogSlice-BD6WOOD3.js} +2 -2
- package/{docStore-GWPFDV6Y.js → docStore-RK4CD4QN.js} +1 -1
- package/{handleSendMessageAction-FHGUFT2X.js → handleSendMessageAction-VQP5HT5I.js} +8 -8
- package/{hostCredentialCreate-T6SOV4FN.js → hostCredentialCreate-CPIWBALC.js} +13 -13
- package/index.js +3 -3
- package/{localAutomationCommands-TJCH7ZSF.js → localAutomationCommands-WPYIYTDP.js} +1 -1
- package/{localAutomationRuntime-RBAKV5LR.js → localAutomationRuntime-M7WWU6WY.js} +1 -1
- package/{localRuntimeAdapter-KH6UHNAO.js → localRuntimeAdapter-SNE2NUDN.js} +12 -12
- package/{machineCommands-F2Z4PV5E.js → machineCommands-LHJMILRA.js} +15 -15
- package/{machineWsRunDispatch-YY2FJP2O.js → machineWsRunDispatch-VHEIHXWY.js} +13 -13
- package/{memberThunks-NEZRAW5K.js → memberThunks-IPS3SLOF.js} +1 -1
- package/package.json +1 -1
- package/{projectArchive-WE3VVPZ2.js → projectArchive-HUET56SH.js} +4 -4
- package/{readlineWorkspace-CJ5M7SU6.js → readlineWorkspace-5EASNOQ4.js} +17 -17
- package/{runAgentClientLoop-2SFASHDS.js → runAgentClientLoop-ELTV5MSJ.js} +12 -12
- package/{streamAgentChatTurn-KOUWITHH.js → streamAgentChatTurn-BL3ESUEN.js} +14 -14
- package/{tools-WN4AVSNS.js → tools-KB6CJ2KT.js} +9 -9
- package/{updateDialogTitleAction-XOSLNRT3.js → updateDialogTitleAction-OPAZF5VC.js} +3 -3
- package/chunk-ZCMAKAZM.js +0 -184
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./chunk-56OAS5RZ.js";
|
|
4
4
|
import {
|
|
5
5
|
performServerProxyFetchWithRetry
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-2QKIWEZS.js";
|
|
7
7
|
import {
|
|
8
8
|
fetchServerSyncedCredential
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-L2DHCG6C.js";
|
|
10
10
|
import {
|
|
11
11
|
getRuntimeServerSnapshot,
|
|
12
12
|
getSessionSnapshotForState,
|
|
@@ -14,13 +14,13 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
addContentToSpace,
|
|
16
16
|
resolveCreationSpaceId
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-FRFFUKGH.js";
|
|
18
18
|
import {
|
|
19
19
|
getCurrentSpaceId
|
|
20
20
|
} from "./chunk-JDMWYVUF.js";
|
|
21
21
|
import {
|
|
22
22
|
runtime_default
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-DKEOYC4L.js";
|
|
24
24
|
import {
|
|
25
25
|
write
|
|
26
26
|
} from "./chunk-6NYQHXMV.js";
|
|
@@ -13,15 +13,16 @@ import {
|
|
|
13
13
|
} from "./chunk-MVOZ22RZ.js";
|
|
14
14
|
import {
|
|
15
15
|
deleteDbKey
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-G5KDYBTG.js";
|
|
17
17
|
import {
|
|
18
18
|
formatWorkContextWriteNotice
|
|
19
19
|
} from "./chunk-WDWZPASX.js";
|
|
20
20
|
import {
|
|
21
21
|
applyFetchSpaceFulfilled,
|
|
22
|
-
|
|
23
|
-
selectSpaceRemoteAuth
|
|
24
|
-
|
|
22
|
+
fetchAuthoritativeSpaceDirectory,
|
|
23
|
+
selectSpaceRemoteAuth,
|
|
24
|
+
spaceListsUser
|
|
25
|
+
} from "./chunk-GBXRKW26.js";
|
|
25
26
|
import {
|
|
26
27
|
ToolResultError,
|
|
27
28
|
ZOHO_MAIL_TOOL_NAMES,
|
|
@@ -40,7 +41,7 @@ import {
|
|
|
40
41
|
toolRunUpdated,
|
|
41
42
|
uiCardFallback,
|
|
42
43
|
waitForAbortableDelay
|
|
43
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-CYS6HOJ2.js";
|
|
44
45
|
import {
|
|
45
46
|
isGatewayHttpStatus
|
|
46
47
|
} from "./chunk-NF64D32W.js";
|
|
@@ -51,7 +52,7 @@ import {
|
|
|
51
52
|
} from "./chunk-P62DHV4F.js";
|
|
52
53
|
import {
|
|
53
54
|
createDocState
|
|
54
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-4TDUT2LC.js";
|
|
55
56
|
import {
|
|
56
57
|
applyPageContentMutation,
|
|
57
58
|
readDocFunc,
|
|
@@ -64,7 +65,7 @@ import {
|
|
|
64
65
|
createDialogAction,
|
|
65
66
|
uiAskChoiceFunc,
|
|
66
67
|
uiAskChoiceFunctionSchema
|
|
67
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-LBPW6OCD.js";
|
|
68
69
|
import {
|
|
69
70
|
DEFAULT_COLLAPSED_CATEGORIES,
|
|
70
71
|
addContentToSpace,
|
|
@@ -79,7 +80,7 @@ import {
|
|
|
79
80
|
updateContentCategory,
|
|
80
81
|
updateContentTitle,
|
|
81
82
|
writeStoredCollapsedCategories
|
|
82
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-FRFFUKGH.js";
|
|
83
84
|
import {
|
|
84
85
|
MAX_DB_MUTATE_OPS,
|
|
85
86
|
addMemberSpace,
|
|
@@ -111,13 +112,13 @@ import {
|
|
|
111
112
|
selectCurrentDialogConfig,
|
|
112
113
|
selectCurrentDialogId,
|
|
113
114
|
selectMsgById
|
|
114
|
-
} from "./chunk-
|
|
115
|
+
} from "./chunk-DKEOYC4L.js";
|
|
115
116
|
import {
|
|
116
117
|
createAgent,
|
|
117
118
|
runLlm,
|
|
118
119
|
streamAgentChatTurn,
|
|
119
120
|
updateAgent
|
|
120
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-L2DHCG6C.js";
|
|
121
122
|
import {
|
|
122
123
|
createActionAsyncThunk,
|
|
123
124
|
createPlainAsyncThunk
|
|
@@ -4821,7 +4822,7 @@ async function deleteDialogsFunc(args, thunkApi) {
|
|
|
4821
4822
|
const deletedDialogIds = [];
|
|
4822
4823
|
const deletedDialogKeys = [];
|
|
4823
4824
|
const failures = [];
|
|
4824
|
-
const { deleteDbKey: deleteDbKey2 } = await import("./deleteDbKey-
|
|
4825
|
+
const { deleteDbKey: deleteDbKey2 } = await import("./deleteDbKey-MUCJP6DK.js");
|
|
4825
4826
|
for (const target of targets) {
|
|
4826
4827
|
try {
|
|
4827
4828
|
await thunkApi.dispatch(deleteDbKey2(target.dbKey));
|
|
@@ -5800,13 +5801,18 @@ var fetchSpaceAction = async (input, thunkAPI) => {
|
|
|
5800
5801
|
}
|
|
5801
5802
|
const { token, userId, servers } = selectSpaceRemoteAuth(thunkAPI.getState());
|
|
5802
5803
|
if (token && userId && servers.length > 0) {
|
|
5803
|
-
const remoteSpace = await
|
|
5804
|
+
const remoteSpace = await fetchAuthoritativeSpaceDirectory({
|
|
5804
5805
|
servers,
|
|
5805
5806
|
token,
|
|
5806
5807
|
userId,
|
|
5807
5808
|
spaceId
|
|
5808
5809
|
});
|
|
5809
|
-
if (remoteSpace)
|
|
5810
|
+
if (remoteSpace) {
|
|
5811
|
+
if (!spaceListsUser(remoteSpace, userId)) {
|
|
5812
|
+
throw new Error(`Current user is not a member of space: ${spaceId}`);
|
|
5813
|
+
}
|
|
5814
|
+
return { spaceId, spaceData: remoteSpace };
|
|
5815
|
+
}
|
|
5810
5816
|
throw new Error(`Space not found: ${spaceId}`);
|
|
5811
5817
|
}
|
|
5812
5818
|
if (localBody) {
|
|
@@ -19860,7 +19866,7 @@ async function updateDocFunc(args, thunkApi) {
|
|
|
19860
19866
|
allowSkillMetadataWrite: false
|
|
19861
19867
|
});
|
|
19862
19868
|
await dispatch(write({ data: updatedPageData, customKey: id })).unwrap();
|
|
19863
|
-
const { getDocState, applyExternalDocUpdate } = await import("./docStore-
|
|
19869
|
+
const { getDocState, applyExternalDocUpdate } = await import("./docStore-RK4CD4QN.js");
|
|
19864
19870
|
if (getDocState().pageKey === id) {
|
|
19865
19871
|
applyExternalDocUpdate({
|
|
19866
19872
|
slateData: finalSlateData,
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
resolveAuthToken as resolveAuthToken2,
|
|
37
37
|
resolveBoundMachineId,
|
|
38
38
|
resolveFileWriteGateEnabled
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-DXDCL3Z6.js";
|
|
40
40
|
import {
|
|
41
41
|
clearCredentialAvailability,
|
|
42
42
|
readEffectiveCredentialEntry
|
|
@@ -79,14 +79,14 @@ import {
|
|
|
79
79
|
} from "./chunk-BMQ2MJUK.js";
|
|
80
80
|
import {
|
|
81
81
|
resolveCliLocalRuntimeKeyCapability
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-SCEPD46O.js";
|
|
83
83
|
import {
|
|
84
84
|
isCallerAtFreePoolTop
|
|
85
85
|
} from "./chunk-ZJACPM5O.js";
|
|
86
86
|
import {
|
|
87
87
|
parseUiCard,
|
|
88
88
|
uiCardFallback
|
|
89
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-CYS6HOJ2.js";
|
|
90
90
|
import {
|
|
91
91
|
isGatewayHttpStatus
|
|
92
92
|
} from "./chunk-NF64D32W.js";
|
|
@@ -97,7 +97,7 @@ import {
|
|
|
97
97
|
loadOwnerItemsFromDb,
|
|
98
98
|
parseUiAskChoiceContent,
|
|
99
99
|
resolveAgentMemoryPolicy
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-LBPW6OCD.js";
|
|
101
101
|
import {
|
|
102
102
|
API_REPORTED_COST_MULTIPLIER,
|
|
103
103
|
estimateMessagesTokens,
|
|
@@ -108,7 +108,7 @@ import {
|
|
|
108
108
|
resolveOccupancy,
|
|
109
109
|
resolveOccupancyWindow,
|
|
110
110
|
withholdIfSecretLike
|
|
111
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-DKEOYC4L.js";
|
|
112
112
|
import {
|
|
113
113
|
readLiveDbRecordAfterTombstoneMerge
|
|
114
114
|
} from "./chunk-37DGW762.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fetchReferenceContents,
|
|
3
3
|
resolveReferenceAssets
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-2QKIWEZS.js";
|
|
5
5
|
import {
|
|
6
6
|
updateTokensAction
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-DKEOYC4L.js";
|
|
8
8
|
import {
|
|
9
9
|
applyUpdateTokensFulfilled
|
|
10
10
|
} from "./chunk-SVKWZ3EG.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-T6QTKMCJ.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-NE4OPX5K.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-NE4OPX5K.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-NE4OPX5K.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-SUEXVAY4.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-SUEXVAY4.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-SUEXVAY4.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-SUEXVAY4.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-R4LKLXQR.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-AXPZRHUY.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-AXPZRHUY.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-AXPZRHUY.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-WPYIYTDP.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-LHJMILRA.js");
|
|
671
|
+
const { withLocalAutomationShutdown } = await import("./localAutomationRuntime-M7WWU6WY.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-LHJMILRA.js");
|
|
676
|
+
const { withLocalAutomationShutdown } = await import("./localAutomationRuntime-M7WWU6WY.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-LHJMILRA.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-FRFFUKGH.js";
|
|
12
12
|
import "./chunk-JDMWYVUF.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-DKEOYC4L.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-L2DHCG6C.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-FRFFUKGH.js";
|
|
7
7
|
import "./chunk-JDMWYVUF.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-DKEOYC4L.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-L2DHCG6C.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-LBPW6OCD.js";
|
|
5
|
+
import "./chunk-FRFFUKGH.js";
|
|
6
6
|
import "./chunk-JDMWYVUF.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-DKEOYC4L.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-L2DHCG6C.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-S52BPZ7A.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-FRFFUKGH.js";
|
|
9
9
|
import "./chunk-JDMWYVUF.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-DKEOYC4L.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-L2DHCG6C.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-G5KDYBTG.js";
|
|
5
|
+
import "./chunk-FRFFUKGH.js";
|
|
6
6
|
import "./chunk-JDMWYVUF.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-DKEOYC4L.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-L2DHCG6C.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-DKEOYC4L.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-L2DHCG6C.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-B7CTVEUV.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-2QKIWEZS.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-CYS6HOJ2.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-4TDUT2LC.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-FRFFUKGH.js";
|
|
48
48
|
import "./chunk-JDMWYVUF.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-DKEOYC4L.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-L2DHCG6C.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-HUET56SH.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");
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runAgentCreateCommand
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-6A6CTCMC.js";
|
|
4
4
|
import {
|
|
5
5
|
BIGMODEL_PROVIDER_TARGET,
|
|
6
6
|
normalizeOrigin
|
|
7
7
|
} from "./chunk-XFYFMTOM.js";
|
|
8
8
|
import "./chunk-5YI447UL.js";
|
|
9
9
|
import "./chunk-LRLLWD4P.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-DXDCL3Z6.js";
|
|
11
11
|
import "./chunk-2O72G3U2.js";
|
|
12
12
|
import "./chunk-XT6C2QZW.js";
|
|
13
13
|
import "./chunk-R72QWIFO.js";
|
|
@@ -19,38 +19,38 @@ import "./chunk-BPB3T5EU.js";
|
|
|
19
19
|
import "./chunk-YQJEXXDK.js";
|
|
20
20
|
import "./chunk-VI4SWTUO.js";
|
|
21
21
|
import "./chunk-KSV6T4AH.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-DALXH7BG.js";
|
|
23
23
|
import "./chunk-VIWDGTDA.js";
|
|
24
24
|
import "./chunk-ATNTHIZI.js";
|
|
25
25
|
import "./chunk-TEFD5E2D.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-APOIIIB4.js";
|
|
27
27
|
import "./chunk-56OAS5RZ.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-SCEPD46O.js";
|
|
29
29
|
import "./chunk-ZJACPM5O.js";
|
|
30
30
|
import "./chunk-NHLLXINQ.js";
|
|
31
31
|
import "./chunk-MVOZ22RZ.js";
|
|
32
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-G5KDYBTG.js";
|
|
33
33
|
import "./chunk-WDWZPASX.js";
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-GBXRKW26.js";
|
|
35
|
+
import "./chunk-CYS6HOJ2.js";
|
|
36
36
|
import "./chunk-NF64D32W.js";
|
|
37
37
|
import "./chunk-P62DHV4F.js";
|
|
38
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-4TDUT2LC.js";
|
|
39
39
|
import "./chunk-NTUNHTJV.js";
|
|
40
40
|
import "./chunk-RIRFHJTW.js";
|
|
41
41
|
import "./chunk-WX266G2C.js";
|
|
42
42
|
import "./chunk-63W5N6P3.js";
|
|
43
43
|
import "./chunk-AGIM7IMJ.js";
|
|
44
44
|
import "./chunk-VF4K2QE6.js";
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
45
|
+
import "./chunk-LBPW6OCD.js";
|
|
46
|
+
import "./chunk-FRFFUKGH.js";
|
|
47
47
|
import "./chunk-JDMWYVUF.js";
|
|
48
|
-
import "./chunk-
|
|
48
|
+
import "./chunk-DKEOYC4L.js";
|
|
49
49
|
import "./chunk-KDDXC2IH.js";
|
|
50
50
|
import "./chunk-TZXPT53C.js";
|
|
51
51
|
import "./chunk-6QDYSCPW.js";
|
|
52
52
|
import "./chunk-FGXG6OLW.js";
|
|
53
|
-
import "./chunk-
|
|
53
|
+
import "./chunk-L2DHCG6C.js";
|
|
54
54
|
import "./chunk-IB5AR52X.js";
|
|
55
55
|
import "./chunk-BYXBJQAS.js";
|
|
56
56
|
import "./chunk-KZO2MTVM.js";
|
package/index.js
CHANGED
|
@@ -138,9 +138,9 @@ async function runStandardCliEntrypoint() {
|
|
|
138
138
|
return proc.exited;
|
|
139
139
|
}
|
|
140
140
|
async function launchTuiWorkspace(args2) {
|
|
141
|
-
const { startTuiWorkspace } = await import("./readlineWorkspace-
|
|
141
|
+
const { startTuiWorkspace } = await import("./readlineWorkspace-5EASNOQ4.js");
|
|
142
142
|
const { createTuiSummaryLlmCaller } = await import("./tuiSummaryLlmCaller-Z2ZVBIGN.js");
|
|
143
|
-
const { setCliAutoCompactionSummaryFallback } = await import("./localRuntimeAdapter-
|
|
143
|
+
const { setCliAutoCompactionSummaryFallback } = await import("./localRuntimeAdapter-SNE2NUDN.js");
|
|
144
144
|
setCliAutoCompactionSummaryFallback(
|
|
145
145
|
createTuiSummaryLlmCaller(args2.env, { platformPrimary: true })
|
|
146
146
|
);
|
|
@@ -174,7 +174,7 @@ async function runStandardCliEntrypoint() {
|
|
|
174
174
|
renderHelpText,
|
|
175
175
|
resolveCommand,
|
|
176
176
|
runResolvedCommand
|
|
177
|
-
} = await import("./commandRegistry-
|
|
177
|
+
} = await import("./commandRegistry-XPLM5SWC.js");
|
|
178
178
|
const { buildCliRuntimeEnv, loadProfileConfig } = await import("./profileConfig-KOWK4HOG.js");
|
|
179
179
|
const { resolveTuiLaunchMode } = await import("./runtimeModeArgs-X7DL7PUN.js");
|
|
180
180
|
const runtimeEnv = {
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
createConnectorLocalAutomationScheduler,
|
|
3
3
|
createLocalAutomationExecutor,
|
|
4
4
|
withLocalAutomationShutdown
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-DZJWSGCV.js";
|
|
6
6
|
import "./chunk-XT6C2QZW.js";
|
|
7
7
|
import "./chunk-QKM55LP2.js";
|
|
8
8
|
import "./chunk-J44TXB4J.js";
|