nolo-cli 0.138.0-alpha.1 → 0.140.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-JWLH2Z7S.js → _executeModel-GJGGE6JX.js} +14 -13
- package/{agentDeleteCommand-UZGJZS5J.js → agentDeleteCommand-DAM4LEEO.js} +1 -1
- package/{agentEmailCommands-2SVG6LS3.js → agentEmailCommands-BTUG55AL.js} +13 -13
- package/{agentListCommands-GADYFX2S.js → agentListCommands-T3V5EL27.js} +1 -1
- package/{agentMachineCommands-JALXFO3Y.js → agentMachineCommands-5NBFFTBT.js} +2 -2
- package/{agentRecordCommands-INRNLAFR.js → agentRecordCommands-GFA7RVTG.js} +13 -13
- package/{agentRunCommand-TKHBLWSI.js → agentRunCommand-NXT7TWBS.js} +13 -13
- package/{agentRuntimeLocal-F44W2XTL.js → agentRuntimeLocal-DKFAWMRZ.js} +1 -1
- package/{agentSlice-T53NW4SS.js → agentSlice-WQVGFRLD.js} +1 -1
- package/{appDeleteCommands-GEVEUPWJ.js → appDeleteCommands-PBCGWJZQ.js} +1 -1
- package/{appDeployCommands-FMAHPMA2.js → appDeployCommands-E7KRDPZ5.js} +1 -1
- package/{appDeployStatusCommands-7DRR4X7F.js → appDeployStatusCommands-TZ64EREZ.js} +1 -1
- package/{appGetCommands-EOULTSHM.js → appGetCommands-3M2OIBJ3.js} +1 -1
- package/{appListCommands-ARJVCFDJ.js → appListCommands-D7H6I62Y.js} +1 -1
- package/{chatQueueReduxAdapter-GSD7C24T.js → chatQueueReduxAdapter-FUXS7NRR.js} +2 -2
- package/{chunk-TNYKI3LI.js → chunk-44YE37DR.js} +5 -5
- package/chunk-6OTOA5MH.js +108 -0
- package/{chunk-ZTQANKS2.js → chunk-AA2TX625.js} +2 -2
- package/{chunk-ZWJ6WQBO.js → chunk-AR7XM7CQ.js} +1 -1
- package/{chunk-MLXQO7X4.js → chunk-C6EZXUCB.js} +3 -3
- package/{chunk-DXXCZYEZ.js → chunk-CZNXUKLA.js} +9 -9
- package/{chunk-2LFG5CGH.js → chunk-ENU52AJZ.js} +1 -1
- package/chunk-GOMR6S5Z.js +83 -0
- package/{chunk-FSEVS4U3.js → chunk-KFMLZ3B5.js} +16 -8
- package/{chunk-3SPFKUP5.js → chunk-LJVUX3LF.js} +1 -1
- package/{chunk-27YNIIBN.js → chunk-NRXXVGOQ.js} +2 -2
- package/chunk-PWOXYPE6.js +194 -0
- package/{chunk-PA2BRUNR.js → chunk-QFDNAM7T.js} +3 -3
- package/{chunk-KQW2EHWB.js → chunk-RY3FI23Y.js} +19 -78
- package/{chunk-VIOF5352.js → chunk-TJUQIJQR.js} +8 -6
- package/{chunk-J2RGIFX5.js → chunk-UOCZAVYF.js} +2 -2
- package/{chunk-IEEGKL6X.js → chunk-YBUA6LCU.js} +2068 -1700
- package/{chunk-TTMVLXU5.js → chunk-ZOOAFELH.js} +6 -108
- package/{commandRegistry-DMS5KFOK.js → commandRegistry-XMFDAEN3.js} +40 -40
- package/{contentThunks-SDVFY3MX.js → contentThunks-CDGRYZSO.js} +3 -3
- package/{createAgentAutomationAction-CD6QYRC2.js → createAgentAutomationAction-HJZH45UP.js} +3 -3
- package/{createDialogAction-MB6BOVJJ.js → createDialogAction-W2U3KOFN.js} +4 -4
- package/{createPageAction-Y2A5MARX.js → createPageAction-4VGPW4AZ.js} +3 -3
- package/{dialogCommands-G7ZTYMIA.js → dialogCommands-FBSQ4KJR.js} +2 -2
- package/{dialogSlice-5C3POHWD.js → dialogSlice-MGEPXTGX.js} +2 -2
- package/{docCreateCommands-AEZC5UXB.js → docCreateCommands-N2TPCEZ7.js} +1 -1
- package/{docDeleteCommands-DXXYWOXH.js → docDeleteCommands-FJA7Q6CI.js} +1 -1
- package/{docReadCommands-G6PL2543.js → docReadCommands-2UZB5OR7.js} +1 -1
- package/{docStore-ZX7AIY5W.js → docStore-P6JMWIVK.js} +1 -1
- package/{docUpdateCommands-TWKJOXYT.js → docUpdateCommands-BID4C3QP.js} +1 -1
- package/{handleSendMessageAction-2AF42N6F.js → handleSendMessageAction-HAVG5ANU.js} +397 -6
- package/index.js +2 -2
- package/{machineCommands-ZY5BB4O3.js → machineCommands-WDAQIYYL.js} +13 -13
- package/{machineWsRunDispatch-5XE37H4C.js → machineWsRunDispatch-Y3MHLPCI.js} +13 -13
- package/package.json +1 -1
- package/{readlineWorkspace-HDAVBAL5.js → readlineWorkspace-AGIDALGO.js} +13 -13
- package/{runAgentClientLoop-TVA5UASR.js → runAgentClientLoop-7RNZVACU.js} +12 -11
- package/{spaceCommands-G2UBKO4F.js → spaceCommands-TKFZFVCA.js} +1 -1
- package/{streamAgentChatTurn-B6H35UWR.js → streamAgentChatTurn-T3WC62NT.js} +30 -210
- package/{tools-EEAEICHM.js → tools-UHCAPZ22.js} +9 -9
- package/{updateDialogTitleAction-UPPVYQ7R.js → updateDialogTitleAction-WBIR5A4A.js} +3 -3
- package/chunk-N4G4PKQ6.js +0 -23
|
@@ -4,22 +4,13 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
getLocalProviderSecret
|
|
6
6
|
} from "./chunk-HS7MLR74.js";
|
|
7
|
+
import {
|
|
8
|
+
performServerProxyFetchWithRetry
|
|
9
|
+
} from "./chunk-6OTOA5MH.js";
|
|
7
10
|
import {
|
|
8
11
|
clipMultilineText,
|
|
9
12
|
fetchAndSerializeTable
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import {
|
|
12
|
-
isGatewayHttpStatus
|
|
13
|
-
} from "./chunk-NF64D32W.js";
|
|
14
|
-
import {
|
|
15
|
-
createDrainExhaustedResponse,
|
|
16
|
-
isCoreDrainingBody,
|
|
17
|
-
normalizeNonNegativeMs,
|
|
18
|
-
parseRetryAfterHeaderMs
|
|
19
|
-
} from "./chunk-3L2WKC3W.js";
|
|
20
|
-
import {
|
|
21
|
-
waitForAbortableDelay
|
|
22
|
-
} from "./chunk-N4G4PKQ6.js";
|
|
13
|
+
} from "./chunk-RY3FI23Y.js";
|
|
23
14
|
import {
|
|
24
15
|
resolvePageReadMarkdown,
|
|
25
16
|
slateToSimplifiedMarkdown
|
|
@@ -29,13 +20,13 @@ import {
|
|
|
29
20
|
} from "./chunk-MEYIRKDN.js";
|
|
30
21
|
import {
|
|
31
22
|
fetchAndCacheMessages
|
|
32
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-KFMLZ3B5.js";
|
|
33
24
|
import {
|
|
34
25
|
shouldUseServerProxy
|
|
35
26
|
} from "./chunk-YYLHWIW6.js";
|
|
36
27
|
import {
|
|
37
28
|
fetchServerSyncedCredential
|
|
38
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-QFDNAM7T.js";
|
|
39
30
|
import {
|
|
40
31
|
buildSkillGuidancePromptBlock,
|
|
41
32
|
extractRuntimePageCapabilities,
|
|
@@ -109,9 +100,6 @@ import {
|
|
|
109
100
|
import {
|
|
110
101
|
getRuntimeServerContext
|
|
111
102
|
} from "./chunk-AUXHZ2M5.js";
|
|
112
|
-
import {
|
|
113
|
-
isAbortError
|
|
114
|
-
} from "./chunk-QOKAKDPE.js";
|
|
115
103
|
import {
|
|
116
104
|
isRecord
|
|
117
105
|
} from "./chunk-KUG52IAP.js";
|
|
@@ -1073,95 +1061,6 @@ var generateRequestBody = ({
|
|
|
1073
1061
|
return applyImageConfigIfNeeded(baseBody, agentConfigForRequest, provider);
|
|
1074
1062
|
};
|
|
1075
1063
|
|
|
1076
|
-
// packages/ai/chat/serverProxyRetry.ts
|
|
1077
|
-
var DEFAULT_SERVER_PROXY_RETRY_AFTER_MS = 1500;
|
|
1078
|
-
var MAX_SERVER_PROXY_RETRIES = 2;
|
|
1079
|
-
var MAX_STATUS_RETRIES = 3;
|
|
1080
|
-
var MAX_SERVER_DRAIN_STATUS_RETRIES = 30;
|
|
1081
|
-
var readRetryableResponseBody = async (response) => {
|
|
1082
|
-
try {
|
|
1083
|
-
return await response.clone().json();
|
|
1084
|
-
} catch {
|
|
1085
|
-
return null;
|
|
1086
|
-
}
|
|
1087
|
-
};
|
|
1088
|
-
var resolveServerProxyRetryAfterMs = (response, body) => parseRetryAfterHeaderMs(response.headers.get("Retry-After")) ?? normalizeNonNegativeMs(
|
|
1089
|
-
body?.retryAfterMs,
|
|
1090
|
-
DEFAULT_SERVER_PROXY_RETRY_AFTER_MS
|
|
1091
|
-
);
|
|
1092
|
-
var isRetryableServerProxyFetchError = (error) => {
|
|
1093
|
-
if (!error || isAbortError(error)) return false;
|
|
1094
|
-
const message = typeof error?.message === "string" ? error.message : String(error);
|
|
1095
|
-
return /ECONNREFUSED|ECONNRESET|EPIPE|socket hang up|network error|failed to fetch|fetch failed|connection closed|load failed|502|503|504/i.test(
|
|
1096
|
-
message
|
|
1097
|
-
);
|
|
1098
|
-
};
|
|
1099
|
-
var waitForServerProxyRetry = async (retryAfterMs, signal) => {
|
|
1100
|
-
const delayMs = normalizeNonNegativeMs(
|
|
1101
|
-
retryAfterMs,
|
|
1102
|
-
DEFAULT_SERVER_PROXY_RETRY_AFTER_MS
|
|
1103
|
-
);
|
|
1104
|
-
if (delayMs <= 0) return;
|
|
1105
|
-
await waitForAbortableDelay(delayMs, signal);
|
|
1106
|
-
};
|
|
1107
|
-
var performServerProxyFetchWithRetry = async ({
|
|
1108
|
-
execute,
|
|
1109
|
-
signal,
|
|
1110
|
-
logPrefix = "[fetchWithServerProxy]",
|
|
1111
|
-
onRetry,
|
|
1112
|
-
retryNetworkErrors = true
|
|
1113
|
-
}) => {
|
|
1114
|
-
let networkRetries = 0;
|
|
1115
|
-
let statusRetries = 0;
|
|
1116
|
-
while (true) {
|
|
1117
|
-
try {
|
|
1118
|
-
const response = await execute();
|
|
1119
|
-
const responseBody = response.status === 503 ? await readRetryableResponseBody(response) : null;
|
|
1120
|
-
const isCoreDraining = response.status === 503 && isCoreDrainingBody(responseBody);
|
|
1121
|
-
const maxStatusRetries = isCoreDraining ? MAX_SERVER_DRAIN_STATUS_RETRIES : MAX_STATUS_RETRIES;
|
|
1122
|
-
if (statusRetries < maxStatusRetries && isGatewayHttpStatus(response.status)) {
|
|
1123
|
-
statusRetries += 1;
|
|
1124
|
-
const retryAfterMs = resolveServerProxyRetryAfterMs(
|
|
1125
|
-
response,
|
|
1126
|
-
responseBody
|
|
1127
|
-
);
|
|
1128
|
-
console.warn(
|
|
1129
|
-
`${logPrefix} \u68C0\u6D4B\u5230${response.status}\u72B6\u6001\uFF0C${retryAfterMs}ms\u540E\u91CD\u8BD5...`
|
|
1130
|
-
);
|
|
1131
|
-
onRetry?.({
|
|
1132
|
-
attempt: statusRetries,
|
|
1133
|
-
maxAttempts: maxStatusRetries,
|
|
1134
|
-
delayMs: retryAfterMs
|
|
1135
|
-
});
|
|
1136
|
-
await waitForServerProxyRetry(retryAfterMs, signal);
|
|
1137
|
-
continue;
|
|
1138
|
-
}
|
|
1139
|
-
if (isCoreDraining) {
|
|
1140
|
-
console.warn(`${logPrefix} core_draining \u91CD\u8BD5\u8017\u5C3D\uFF0C\u8FD4\u56DE\u53CB\u597D\u63D0\u793A`);
|
|
1141
|
-
return createDrainExhaustedResponse(response);
|
|
1142
|
-
}
|
|
1143
|
-
return response;
|
|
1144
|
-
} catch (error) {
|
|
1145
|
-
if (retryNetworkErrors && networkRetries < MAX_SERVER_PROXY_RETRIES && isRetryableServerProxyFetchError(error)) {
|
|
1146
|
-
networkRetries += 1;
|
|
1147
|
-
const retryDelay = networkRetries * 1e3;
|
|
1148
|
-
console.warn(
|
|
1149
|
-
`${logPrefix} \u68C0\u6D4B\u5230\u7F51\u7EDC\u77AC\u65AD\uFF0C${retryDelay}ms\u540E\u91CD\u8BD5(\u7B2C${networkRetries}\u6B21)...`,
|
|
1150
|
-
error
|
|
1151
|
-
);
|
|
1152
|
-
onRetry?.({
|
|
1153
|
-
attempt: networkRetries,
|
|
1154
|
-
maxAttempts: MAX_SERVER_PROXY_RETRIES,
|
|
1155
|
-
delayMs: retryDelay
|
|
1156
|
-
});
|
|
1157
|
-
await waitForServerProxyRetry(retryDelay, signal);
|
|
1158
|
-
continue;
|
|
1159
|
-
}
|
|
1160
|
-
throw error;
|
|
1161
|
-
}
|
|
1162
|
-
}
|
|
1163
|
-
};
|
|
1164
|
-
|
|
1165
1064
|
// packages/ai/chat/resolveDirectRequestApiKey.ts
|
|
1166
1065
|
var DIRECT_API_KEY_UNAVAILABLE_MESSAGE = "\u65E0\u6CD5\u52A0\u8F7D\u672C\u5730 API \u5BC6\u94A5\u3002\u8BF7\u5728 Agent \u8BBE\u7F6E\u4E2D\u91CD\u65B0\u586B\u5199\u5BC6\u94A5\uFF0C\u6216\u786E\u8BA4\u672C\u673A\u51ED\u636E\u53EF\u7528\u3002";
|
|
1167
1066
|
var DirectApiKeyResolutionError = class extends Error {
|
|
@@ -1904,7 +1803,6 @@ export {
|
|
|
1904
1803
|
resolveClientWire,
|
|
1905
1804
|
resolveAgentCallPlan,
|
|
1906
1805
|
generateRequestBody,
|
|
1907
|
-
performServerProxyFetchWithRetry,
|
|
1908
1806
|
performFetchRequest,
|
|
1909
1807
|
INVALID_TOOL_ARGS_REPLACEMENT,
|
|
1910
1808
|
parseToolCallArguments,
|
|
@@ -103,7 +103,7 @@ function createDaemonShortcutCommand(path, description, command) {
|
|
|
103
103
|
// packages/cli/agentInternalCommandEntries.ts
|
|
104
104
|
function getAgentInternalCommandEntries() {
|
|
105
105
|
const createAgentRunCommand = (path, description) => createContextCommand(path, description, async (args, ctx) => {
|
|
106
|
-
const { runAgentRunCommand } = await import("./agentRunCommand-
|
|
106
|
+
const { runAgentRunCommand } = await import("./agentRunCommand-NXT7TWBS.js");
|
|
107
107
|
return runAgentRunCommand(args, {
|
|
108
108
|
env: ctx.env,
|
|
109
109
|
scriptDir: ctx.scriptDir,
|
|
@@ -115,11 +115,11 @@ function getAgentInternalCommandEntries() {
|
|
|
115
115
|
createAgentRunCommand(["run"], "Run a no-login local agent in this workspace"),
|
|
116
116
|
createAgentRunCommand(["chat"], "Chat with an agent"),
|
|
117
117
|
createEnvCommand(["agent", "list"], "List owned agents", async (args, deps) => {
|
|
118
|
-
const { runAgentListCommand } = await import("./agentListCommands-
|
|
118
|
+
const { runAgentListCommand } = await import("./agentListCommands-T3V5EL27.js");
|
|
119
119
|
return runAgentListCommand(args, deps);
|
|
120
120
|
}),
|
|
121
121
|
createEnvCommand(["agent", "create"], "Create a new agent", async (args, deps) => {
|
|
122
|
-
const { runAgentCreateCommand } = await import("./agentRecordCommands-
|
|
122
|
+
const { runAgentCreateCommand } = await import("./agentRecordCommands-GFA7RVTG.js");
|
|
123
123
|
return runAgentCreateCommand(args, deps);
|
|
124
124
|
}),
|
|
125
125
|
createEnvCommand(["agent", "models"], "List models available on an OpenAI-compatible provider", async (args, deps) => {
|
|
@@ -135,7 +135,7 @@ function getAgentInternalCommandEntries() {
|
|
|
135
135
|
return runAgentPullCommand(args, deps);
|
|
136
136
|
}),
|
|
137
137
|
createEnvCommand(["agent", "read"], "Read a single agent", async (args, deps) => {
|
|
138
|
-
const { runAgentReadCommand } = await import("./agentRecordCommands-
|
|
138
|
+
const { runAgentReadCommand } = await import("./agentRecordCommands-GFA7RVTG.js");
|
|
139
139
|
return runAgentReadCommand(args, deps);
|
|
140
140
|
}),
|
|
141
141
|
createAgentRunCommand(["agent", "run"], "Run an agent"),
|
|
@@ -164,31 +164,31 @@ function getAgentInternalCommandEntries() {
|
|
|
164
164
|
return runSetupOfflineMarxistsAgentCommand(args, deps);
|
|
165
165
|
}),
|
|
166
166
|
createEnvCommand(["agent", "update"], "Update agent fields", async (args, deps) => {
|
|
167
|
-
const { runAgentUpdateCommand } = await import("./agentRecordCommands-
|
|
167
|
+
const { runAgentUpdateCommand } = await import("./agentRecordCommands-GFA7RVTG.js");
|
|
168
168
|
return runAgentUpdateCommand(args, deps);
|
|
169
169
|
}),
|
|
170
170
|
createEnvCommand(["agent", "email", "provision"], "Provision a controlled inbox for an agent", async (args, deps) => {
|
|
171
|
-
const { runAgentEmailProvisionCommand } = await import("./agentEmailCommands-
|
|
171
|
+
const { runAgentEmailProvisionCommand } = await import("./agentEmailCommands-BTUG55AL.js");
|
|
172
172
|
return runAgentEmailProvisionCommand(args, deps);
|
|
173
173
|
}),
|
|
174
174
|
createEnvCommand(["agent", "email", "bind"], "Bind an existing email address to an agent", async (args, deps) => {
|
|
175
|
-
const { runAgentEmailBindCommand } = await import("./agentEmailCommands-
|
|
175
|
+
const { runAgentEmailBindCommand } = await import("./agentEmailCommands-BTUG55AL.js");
|
|
176
176
|
return runAgentEmailBindCommand(args, deps);
|
|
177
177
|
}),
|
|
178
178
|
createEnvCommand(["agent", "email", "transfer"], "Transfer an email identity from one agent to another (cross-account)", async (args, deps) => {
|
|
179
|
-
const { runAgentEmailTransferCommand } = await import("./agentEmailCommands-
|
|
179
|
+
const { runAgentEmailTransferCommand } = await import("./agentEmailCommands-BTUG55AL.js");
|
|
180
180
|
return runAgentEmailTransferCommand(args, deps);
|
|
181
181
|
}),
|
|
182
182
|
createEnvCommand(
|
|
183
183
|
["agent", "email", "create-and-provision"],
|
|
184
184
|
"Create an agent and provision its controlled inbox",
|
|
185
185
|
async (args, deps) => {
|
|
186
|
-
const { runAgentEmailCreateAndProvisionCommand } = await import("./agentEmailCommands-
|
|
186
|
+
const { runAgentEmailCreateAndProvisionCommand } = await import("./agentEmailCommands-BTUG55AL.js");
|
|
187
187
|
return runAgentEmailCreateAndProvisionCommand(args, deps);
|
|
188
188
|
}
|
|
189
189
|
),
|
|
190
190
|
createEnvCommand(["agent", "delete"], "Hard-delete an agent's private and public records", async (args, deps) => {
|
|
191
|
-
const { runAgentDeleteCommand } = await import("./agentDeleteCommand-
|
|
191
|
+
const { runAgentDeleteCommand } = await import("./agentDeleteCommand-DAM4LEEO.js");
|
|
192
192
|
return runAgentDeleteCommand(args, deps);
|
|
193
193
|
}),
|
|
194
194
|
createEnvCommand(["agent", "grant"], "Grant another user access to this agent's owner credentials", async (args, deps) => {
|
|
@@ -204,15 +204,15 @@ function getAgentInternalCommandEntries() {
|
|
|
204
204
|
return runAgentRevokeGrantCommand(args, deps);
|
|
205
205
|
}),
|
|
206
206
|
createEnvCommand(["agent", "bind-current"], "Bind an agent to this machine", async (args, deps) => {
|
|
207
|
-
const { runAgentBindCurrentCommand } = await import("./agentMachineCommands-
|
|
207
|
+
const { runAgentBindCurrentCommand } = await import("./agentMachineCommands-5NBFFTBT.js");
|
|
208
208
|
return runAgentBindCurrentCommand(args, deps);
|
|
209
209
|
}),
|
|
210
210
|
createEnvCommand(["agent", "smoke-current"], "Smoke test a bound agent through this machine", async (args, deps) => {
|
|
211
|
-
const { runAgentSmokeCurrentCommand } = await import("./agentMachineCommands-
|
|
211
|
+
const { runAgentSmokeCurrentCommand } = await import("./agentMachineCommands-5NBFFTBT.js");
|
|
212
212
|
return runAgentSmokeCurrentCommand(args, deps);
|
|
213
213
|
}),
|
|
214
214
|
createEnvCommand(["agent", "runtime-doctor"], "Diagnose current machine runtime compatibility", async (args, deps) => {
|
|
215
|
-
const { runAgentRuntimeDoctorCommand } = await import("./agentMachineCommands-
|
|
215
|
+
const { runAgentRuntimeDoctorCommand } = await import("./agentMachineCommands-5NBFFTBT.js");
|
|
216
216
|
return runAgentRuntimeDoctorCommand(args, deps);
|
|
217
217
|
}),
|
|
218
218
|
createAgentRunCommand(["agent", "chat"], "Chat with an agent")
|
|
@@ -223,23 +223,23 @@ function getAgentInternalCommandEntries() {
|
|
|
223
223
|
function getAppInternalCommandEntries() {
|
|
224
224
|
return [
|
|
225
225
|
createEnvCommand(["app", "list"], "List your apps", async (args, deps) => {
|
|
226
|
-
const { runAppListCommand } = await import("./appListCommands-
|
|
226
|
+
const { runAppListCommand } = await import("./appListCommands-D7H6I62Y.js");
|
|
227
227
|
return runAppListCommand(args, deps);
|
|
228
228
|
}),
|
|
229
229
|
createEnvCommand(["app", "get"], "Get app details", async (args, deps) => {
|
|
230
|
-
const { runAppGetCommand } = await import("./appGetCommands-
|
|
230
|
+
const { runAppGetCommand } = await import("./appGetCommands-3M2OIBJ3.js");
|
|
231
231
|
return runAppGetCommand(args, deps);
|
|
232
232
|
}),
|
|
233
233
|
createEnvCommand(["app", "deploy"], "Deploy an app", async (args, deps) => {
|
|
234
|
-
const { runAppDeployCommand } = await import("./appDeployCommands-
|
|
234
|
+
const { runAppDeployCommand } = await import("./appDeployCommands-E7KRDPZ5.js");
|
|
235
235
|
return runAppDeployCommand(args, deps);
|
|
236
236
|
}),
|
|
237
237
|
createEnvCommand(["app", "deploy", "status"], "Check app deploy status", async (args, deps) => {
|
|
238
|
-
const { runAppDeployStatusCommand } = await import("./appDeployStatusCommands-
|
|
238
|
+
const { runAppDeployStatusCommand } = await import("./appDeployStatusCommands-TZ64EREZ.js");
|
|
239
239
|
return runAppDeployStatusCommand(args, deps);
|
|
240
240
|
}),
|
|
241
241
|
createEnvCommand(["app", "delete"], "Delete an app", async (args, deps) => {
|
|
242
|
-
const { runAppDeleteCommand } = await import("./appDeleteCommands-
|
|
242
|
+
const { runAppDeleteCommand } = await import("./appDeleteCommands-PBCGWJZQ.js");
|
|
243
243
|
return runAppDeleteCommand(args, deps);
|
|
244
244
|
})
|
|
245
245
|
];
|
|
@@ -308,27 +308,27 @@ function getChromeInternalCommandEntries() {
|
|
|
308
308
|
function getDialogInternalCommandEntries() {
|
|
309
309
|
return [
|
|
310
310
|
createEnvCommand(["dialog", "search"], "Search dialog messages across dialogs", async (args, deps) => {
|
|
311
|
-
const { runDialogSearchCommand } = await import("./dialogCommands-
|
|
311
|
+
const { runDialogSearchCommand } = await import("./dialogCommands-FBSQ4KJR.js");
|
|
312
312
|
return runDialogSearchCommand(args, deps);
|
|
313
313
|
}),
|
|
314
314
|
createEnvCommand(["dialog", "list"], "List dialogs (default --limit 50; --all/--limit 0 full; --jsonl streams)", async (args, deps) => {
|
|
315
|
-
const { runDialogListCommand } = await import("./dialogCommands-
|
|
315
|
+
const { runDialogListCommand } = await import("./dialogCommands-FBSQ4KJR.js");
|
|
316
316
|
return runDialogListCommand(args, deps);
|
|
317
317
|
}),
|
|
318
318
|
createEnvCommand(["dialog", "delete"], "Delete one or more dialogs", async (args, deps) => {
|
|
319
|
-
const { runDialogDeleteCommand } = await import("./dialogCommands-
|
|
319
|
+
const { runDialogDeleteCommand } = await import("./dialogCommands-FBSQ4KJR.js");
|
|
320
320
|
return runDialogDeleteCommand(args, deps);
|
|
321
321
|
}),
|
|
322
322
|
createEnvCommand(["dialog", "query"], "Query dialogs by subject refs (default --limit 50; --all full; --jsonl streams)", async (args, deps) => {
|
|
323
|
-
const { runDialogQueryCommand } = await import("./dialogCommands-
|
|
323
|
+
const { runDialogQueryCommand } = await import("./dialogCommands-FBSQ4KJR.js");
|
|
324
324
|
return runDialogQueryCommand(args, deps);
|
|
325
325
|
}),
|
|
326
326
|
createEnvCommand(["dialog", "read"], "Read a dialog", async (args, deps) => {
|
|
327
|
-
const { runDialogReadCommand } = await import("./dialogCommands-
|
|
327
|
+
const { runDialogReadCommand } = await import("./dialogCommands-FBSQ4KJR.js");
|
|
328
328
|
return runDialogReadCommand(args, deps);
|
|
329
329
|
}),
|
|
330
330
|
createEnvCommand(["dialog", "status"], "Read compact dialog status", async (args, deps) => {
|
|
331
|
-
const { runDialogStatusCommand } = await import("./dialogCommands-
|
|
331
|
+
const { runDialogStatusCommand } = await import("./dialogCommands-FBSQ4KJR.js");
|
|
332
332
|
return runDialogStatusCommand(args, deps);
|
|
333
333
|
})
|
|
334
334
|
];
|
|
@@ -338,39 +338,39 @@ function getDialogInternalCommandEntries() {
|
|
|
338
338
|
function getDocInternalCommandEntries() {
|
|
339
339
|
return [
|
|
340
340
|
createEnvCommand(["doc", "create"], "Create a normal doc", async (args, deps) => {
|
|
341
|
-
const { runDocCreateCommand } = await import("./docCreateCommands-
|
|
341
|
+
const { runDocCreateCommand } = await import("./docCreateCommands-N2TPCEZ7.js");
|
|
342
342
|
return runDocCreateCommand(args, deps);
|
|
343
343
|
}),
|
|
344
344
|
createEnvCommand(["doc", "read"], "Read a normal doc", async (args, deps) => {
|
|
345
|
-
const { runDocReadCommand } = await import("./docReadCommands-
|
|
345
|
+
const { runDocReadCommand } = await import("./docReadCommands-2UZB5OR7.js");
|
|
346
346
|
return runDocReadCommand(args, deps);
|
|
347
347
|
}),
|
|
348
348
|
createEnvCommand(["doc", "update"], "Update a normal doc", async (args, deps) => {
|
|
349
|
-
const { runDocUpdateCommand } = await import("./docUpdateCommands-
|
|
349
|
+
const { runDocUpdateCommand } = await import("./docUpdateCommands-BID4C3QP.js");
|
|
350
350
|
return runDocUpdateCommand(args, deps);
|
|
351
351
|
}),
|
|
352
352
|
createEnvCommand(["doc", "delete"], "Delete a normal doc", async (args, deps) => {
|
|
353
|
-
const { runDocDeleteCommand } = await import("./docDeleteCommands-
|
|
353
|
+
const { runDocDeleteCommand } = await import("./docDeleteCommands-FJA7Q6CI.js");
|
|
354
354
|
return runDocDeleteCommand(args, deps);
|
|
355
355
|
}),
|
|
356
356
|
createEnvCommand(["skill-doc", "create"], "Create a skill-backed doc", async (args, deps) => {
|
|
357
|
-
const { runSkillDocCreateCommand } = await import("./docCreateCommands-
|
|
357
|
+
const { runSkillDocCreateCommand } = await import("./docCreateCommands-N2TPCEZ7.js");
|
|
358
358
|
return runSkillDocCreateCommand(args, deps);
|
|
359
359
|
}),
|
|
360
360
|
createEnvCommand(["skill", "create-doc"], "Create a skill-backed doc", async (args, deps) => {
|
|
361
|
-
const { runSkillDocCreateCommand } = await import("./docCreateCommands-
|
|
361
|
+
const { runSkillDocCreateCommand } = await import("./docCreateCommands-N2TPCEZ7.js");
|
|
362
362
|
return runSkillDocCreateCommand(args, deps);
|
|
363
363
|
}),
|
|
364
364
|
createEnvCommand(["skill-doc", "read"], "Read a skill doc", async (args, deps) => {
|
|
365
|
-
const { runSkillDocReadCommand } = await import("./docReadCommands-
|
|
365
|
+
const { runSkillDocReadCommand } = await import("./docReadCommands-2UZB5OR7.js");
|
|
366
366
|
return runSkillDocReadCommand(args, deps);
|
|
367
367
|
}),
|
|
368
368
|
createEnvCommand(["skill-doc", "update"], "Update a skill doc", async (args, deps) => {
|
|
369
|
-
const { runSkillDocUpdateCommand } = await import("./docUpdateCommands-
|
|
369
|
+
const { runSkillDocUpdateCommand } = await import("./docUpdateCommands-BID4C3QP.js");
|
|
370
370
|
return runSkillDocUpdateCommand(args, deps);
|
|
371
371
|
}),
|
|
372
372
|
createEnvCommand(["skill-doc", "delete"], "Delete a skill doc", async (args, deps) => {
|
|
373
|
-
const { runSkillDocDeleteCommand } = await import("./docDeleteCommands-
|
|
373
|
+
const { runSkillDocDeleteCommand } = await import("./docDeleteCommands-FJA7Q6CI.js");
|
|
374
374
|
return runSkillDocDeleteCommand(args, deps);
|
|
375
375
|
})
|
|
376
376
|
];
|
|
@@ -398,19 +398,19 @@ function getMemoryInternalCommandEntries() {
|
|
|
398
398
|
function getSpaceInternalCommandEntries() {
|
|
399
399
|
return [
|
|
400
400
|
createEnvCommand(["space", "create"], "Create a space", async (args, deps) => {
|
|
401
|
-
const { runSpaceCreateCommand } = await import("./spaceCommands-
|
|
401
|
+
const { runSpaceCreateCommand } = await import("./spaceCommands-TKFZFVCA.js");
|
|
402
402
|
return runSpaceCreateCommand(args, deps);
|
|
403
403
|
}),
|
|
404
404
|
createEnvCommand(["space", "invite"], "Invite an existing user to a space", async (args, deps) => {
|
|
405
|
-
const { runSpaceInviteCommand } = await import("./spaceCommands-
|
|
405
|
+
const { runSpaceInviteCommand } = await import("./spaceCommands-TKFZFVCA.js");
|
|
406
406
|
return runSpaceInviteCommand(args, deps);
|
|
407
407
|
}),
|
|
408
408
|
createEnvCommand(["space", "accept-invite"], "Accept a space invite", async (args, deps) => {
|
|
409
|
-
const { runSpaceAcceptInviteCommand } = await import("./spaceCommands-
|
|
409
|
+
const { runSpaceAcceptInviteCommand } = await import("./spaceCommands-TKFZFVCA.js");
|
|
410
410
|
return runSpaceAcceptInviteCommand(args, deps);
|
|
411
411
|
}),
|
|
412
412
|
createEnvCommand(["space", "upload"], "Upload a file to a space", async (args, deps) => {
|
|
413
|
-
const { runSpaceUploadCommand } = await import("./spaceCommands-
|
|
413
|
+
const { runSpaceUploadCommand } = await import("./spaceCommands-TKFZFVCA.js");
|
|
414
414
|
return runSpaceUploadCommand(args, deps);
|
|
415
415
|
})
|
|
416
416
|
];
|
|
@@ -464,15 +464,15 @@ function getSystemInternalCommandEntries(renderHelpText2) {
|
|
|
464
464
|
return runWhoamiCommand({ args, env: ctx.env });
|
|
465
465
|
}),
|
|
466
466
|
createEntrypointEnvCommand(["connect"], "Send machine heartbeats or hold a connector websocket", async (args, deps) => {
|
|
467
|
-
const { runMachineConnectCommand } = await import("./machineCommands-
|
|
467
|
+
const { runMachineConnectCommand } = await import("./machineCommands-WDAQIYYL.js");
|
|
468
468
|
return runMachineConnectCommand(args, deps);
|
|
469
469
|
}),
|
|
470
470
|
createDaemonShortcutCommand(["daemon"], "Run the connector daemon shortcut", async (args, deps) => {
|
|
471
|
-
const { runMachineConnectCommand } = await import("./machineCommands-
|
|
471
|
+
const { runMachineConnectCommand } = await import("./machineCommands-WDAQIYYL.js");
|
|
472
472
|
return runMachineConnectCommand(args, deps);
|
|
473
473
|
}),
|
|
474
474
|
createEnvCommand(["machine", "status"], "List machines registered to the current profile", async (args, deps) => {
|
|
475
|
-
const { runMachineStatusCommand } = await import("./machineCommands-
|
|
475
|
+
const { runMachineStatusCommand } = await import("./machineCommands-WDAQIYYL.js");
|
|
476
476
|
return runMachineStatusCommand(args, deps);
|
|
477
477
|
}),
|
|
478
478
|
createEnvCommand(["doctor", "runtime"], "Diagnose local-first agent runtime selection", async (args, deps) => {
|
|
@@ -7,13 +7,13 @@ import {
|
|
|
7
7
|
updateContentPinned,
|
|
8
8
|
updateContentTitle,
|
|
9
9
|
uploadAndAddFileToSpace
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-AR7XM7CQ.js";
|
|
11
11
|
import "./chunk-ZJ7UHBJS.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-KFMLZ3B5.js";
|
|
13
13
|
import "./chunk-MC4XLIJ7.js";
|
|
14
14
|
import "./chunk-YYLHWIW6.js";
|
|
15
15
|
import "./chunk-6O4IK4V2.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-QFDNAM7T.js";
|
|
17
17
|
import "./chunk-D76D3RTR.js";
|
|
18
18
|
import "./chunk-5RGU3J7P.js";
|
|
19
19
|
import "./chunk-M76ECQRD.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
addContentToSpace
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-AR7XM7CQ.js";
|
|
4
4
|
import "./chunk-ZJ7UHBJS.js";
|
|
5
|
-
import "./chunk-
|
|
5
|
+
import "./chunk-KFMLZ3B5.js";
|
|
6
6
|
import "./chunk-MC4XLIJ7.js";
|
|
7
7
|
import "./chunk-YYLHWIW6.js";
|
|
8
8
|
import "./chunk-6O4IK4V2.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-QFDNAM7T.js";
|
|
10
10
|
import "./chunk-D76D3RTR.js";
|
|
11
11
|
import "./chunk-5RGU3J7P.js";
|
|
12
12
|
import "./chunk-M76ECQRD.js";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createDialogAction,
|
|
3
3
|
isLocalOwnerDialogAgents
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-NRXXVGOQ.js";
|
|
5
|
+
import "./chunk-AR7XM7CQ.js";
|
|
6
6
|
import "./chunk-ZJ7UHBJS.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-KFMLZ3B5.js";
|
|
8
8
|
import "./chunk-MC4XLIJ7.js";
|
|
9
9
|
import "./chunk-YYLHWIW6.js";
|
|
10
10
|
import "./chunk-6O4IK4V2.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-QFDNAM7T.js";
|
|
12
12
|
import "./chunk-D76D3RTR.js";
|
|
13
13
|
import "./chunk-5RGU3J7P.js";
|
|
14
14
|
import "./chunk-M76ECQRD.js";
|
|
@@ -14,15 +14,15 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
addContentToSpace,
|
|
16
16
|
client_default
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-AR7XM7CQ.js";
|
|
18
18
|
import {
|
|
19
19
|
getCurrentSpaceId
|
|
20
20
|
} from "./chunk-ZJ7UHBJS.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-KFMLZ3B5.js";
|
|
22
22
|
import "./chunk-MC4XLIJ7.js";
|
|
23
23
|
import "./chunk-YYLHWIW6.js";
|
|
24
24
|
import "./chunk-6O4IK4V2.js";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-QFDNAM7T.js";
|
|
26
26
|
import "./chunk-D76D3RTR.js";
|
|
27
27
|
import "./chunk-5RGU3J7P.js";
|
|
28
28
|
import "./chunk-M76ECQRD.js";
|
|
@@ -21,10 +21,10 @@ import "./chunk-SV5IJK6K.js";
|
|
|
21
21
|
import "./chunk-URMS4XY2.js";
|
|
22
22
|
import "./chunk-GLKOYSRU.js";
|
|
23
23
|
import "./chunk-5UTFL4QJ.js";
|
|
24
|
-
import "./chunk-3L2WKC3W.js";
|
|
25
24
|
import "./chunk-KQHGZWSV.js";
|
|
25
|
+
import "./chunk-3L2WKC3W.js";
|
|
26
26
|
import "./chunk-6O4IK4V2.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-YBUA6LCU.js";
|
|
28
28
|
import "./chunk-VG72WLGI.js";
|
|
29
29
|
import "./chunk-ZNFJWEN4.js";
|
|
30
30
|
import "./chunk-6JPUN447.js";
|
|
@@ -20,11 +20,11 @@ import {
|
|
|
20
20
|
switchDialogAgent,
|
|
21
21
|
updateDialogTitle,
|
|
22
22
|
updateTokens
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-KFMLZ3B5.js";
|
|
24
24
|
import "./chunk-MC4XLIJ7.js";
|
|
25
25
|
import "./chunk-YYLHWIW6.js";
|
|
26
26
|
import "./chunk-6O4IK4V2.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-QFDNAM7T.js";
|
|
28
28
|
import "./chunk-D76D3RTR.js";
|
|
29
29
|
import {
|
|
30
30
|
getActiveDialogAgentId
|
|
@@ -28,7 +28,7 @@ import "./chunk-SV5IJK6K.js";
|
|
|
28
28
|
import "./chunk-VF4K2QE6.js";
|
|
29
29
|
import "./chunk-AUDNYVRC.js";
|
|
30
30
|
import "./chunk-KHCLMKZZ.js";
|
|
31
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-YBUA6LCU.js";
|
|
32
32
|
import "./chunk-VG72WLGI.js";
|
|
33
33
|
import "./chunk-ZNFJWEN4.js";
|
|
34
34
|
import "./chunk-6JPUN447.js";
|
|
@@ -21,7 +21,7 @@ import "./chunk-KQHGZWSV.js";
|
|
|
21
21
|
import "./chunk-VF4K2QE6.js";
|
|
22
22
|
import "./chunk-AUDNYVRC.js";
|
|
23
23
|
import "./chunk-KHCLMKZZ.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-YBUA6LCU.js";
|
|
25
25
|
import "./chunk-VG72WLGI.js";
|
|
26
26
|
import "./chunk-ZNFJWEN4.js";
|
|
27
27
|
import "./chunk-6JPUN447.js";
|
|
@@ -16,7 +16,7 @@ import "./chunk-SV5IJK6K.js";
|
|
|
16
16
|
import "./chunk-VF4K2QE6.js";
|
|
17
17
|
import "./chunk-AUDNYVRC.js";
|
|
18
18
|
import "./chunk-KHCLMKZZ.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-YBUA6LCU.js";
|
|
20
20
|
import "./chunk-VG72WLGI.js";
|
|
21
21
|
import "./chunk-ZNFJWEN4.js";
|
|
22
22
|
import "./chunk-6JPUN447.js";
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
resolvePageSkillMetadata
|
|
31
31
|
} from "./chunk-AUDNYVRC.js";
|
|
32
32
|
import "./chunk-KHCLMKZZ.js";
|
|
33
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-YBUA6LCU.js";
|
|
34
34
|
import "./chunk-VG72WLGI.js";
|
|
35
35
|
import "./chunk-ZNFJWEN4.js";
|
|
36
36
|
import "./chunk-6JPUN447.js";
|