nolo-cli 0.95.0-alpha.3 → 0.95.0-alpha.5
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/{agentEmailCommands-X5GP2RNR.js → agentEmailCommands-EGD3UOFY.js} +2 -2
- package/{agentMachineCommands-HGCZYIWR.js → agentMachineCommands-WCCBD7CE.js} +1 -1
- package/{agentRecordCommands-AM4YSO32.js → agentRecordCommands-YQQKDLIA.js} +2 -2
- package/{agentRunCommand-MTR5X2MP.js → agentRunCommand-UQBDIINO.js} +2 -2
- package/{chunk-CKBWCDW5.js → chunk-2POGRYTM.js} +27 -13
- package/{chunk-3M5X4UJR.js → chunk-3ZFOWBZF.js} +1 -1
- package/{chunk-A3JG6ALR.js → chunk-4LNCCQOB.js} +56 -19
- package/{chunk-KHKIMXS5.js → chunk-LGCTKGQ3.js} +1 -1
- package/index.js +15 -15
- package/{machineCommands-TIOYSD74.js → machineCommands-QZDDCLIW.js} +2 -2
- package/{machineWsRunDispatch-I5P3FBX6.js → machineWsRunDispatch-NYMX3H4L.js} +2 -2
- package/package.json +1 -1
- package/{readlineWorkspace-7IFXYFGX.js → readlineWorkspace-VETAJAPP.js} +2 -2
|
@@ -8,8 +8,8 @@ import {
|
|
|
8
8
|
} from "./chunk-V7E4PXQD.js";
|
|
9
9
|
import {
|
|
10
10
|
runAgentCreateCommand
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-LGCTKGQ3.js";
|
|
12
|
+
import "./chunk-4LNCCQOB.js";
|
|
13
13
|
import "./chunk-53HEEOTT.js";
|
|
14
14
|
import "./chunk-EADNWBAZ.js";
|
|
15
15
|
import "./chunk-SH43IESU.js";
|
|
@@ -91,7 +91,7 @@ async function defaultExecuteCli(provider, prompt, options) {
|
|
|
91
91
|
return executeCli(provider, prompt, options);
|
|
92
92
|
}
|
|
93
93
|
async function forwardConnectorRunMessage(machine, message, pushMessage, executeCli, env, fetchImpl) {
|
|
94
|
-
const { handleConnectorRunMessage } = await import("./machineWsRunDispatch-
|
|
94
|
+
const { handleConnectorRunMessage } = await import("./machineWsRunDispatch-NYMX3H4L.js");
|
|
95
95
|
return handleConnectorRunMessage(message, pushMessage, executeCli, env, fetchImpl);
|
|
96
96
|
}
|
|
97
97
|
async function detectLaunchableMachineInfo() {
|
|
@@ -2,8 +2,8 @@ import {
|
|
|
2
2
|
runAgentCreateCommand,
|
|
3
3
|
runAgentReadCommand,
|
|
4
4
|
runAgentUpdateCommand
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-LGCTKGQ3.js";
|
|
6
|
+
import "./chunk-4LNCCQOB.js";
|
|
7
7
|
import "./chunk-53HEEOTT.js";
|
|
8
8
|
import "./chunk-EADNWBAZ.js";
|
|
9
9
|
import "./chunk-SH43IESU.js";
|
|
@@ -8,12 +8,12 @@ import {
|
|
|
8
8
|
resolveRunSettlementNote,
|
|
9
9
|
resolveWorkflowReference,
|
|
10
10
|
runAgentRunCommand
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-2POGRYTM.js";
|
|
12
12
|
import "./chunk-S7Z2HMCN.js";
|
|
13
13
|
import {
|
|
14
14
|
parseAgentRunArgs
|
|
15
15
|
} from "./chunk-V7E4PXQD.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-4LNCCQOB.js";
|
|
17
17
|
import "./chunk-53HEEOTT.js";
|
|
18
18
|
import "./chunk-EADNWBAZ.js";
|
|
19
19
|
import "./chunk-SH43IESU.js";
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
resolveLocalUserId,
|
|
28
28
|
t,
|
|
29
29
|
toolLabel
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-4LNCCQOB.js";
|
|
31
31
|
import {
|
|
32
32
|
createRunActivityTracker,
|
|
33
33
|
popSingleQueueMessage,
|
|
@@ -37,6 +37,7 @@ import {
|
|
|
37
37
|
spawnLocalBackgroundRun
|
|
38
38
|
} from "./chunk-CPH3W5A7.js";
|
|
39
39
|
import {
|
|
40
|
+
clearCredentialAvailability,
|
|
40
41
|
readCredentialEntry,
|
|
41
42
|
recordCredentialProbe,
|
|
42
43
|
resolveCredentialKeyWithFallback
|
|
@@ -11290,22 +11291,24 @@ async function checkLocalAvailabilityBeforeHttpDispatch(options) {
|
|
|
11290
11291
|
}
|
|
11291
11292
|
const agentLevelAt = baseRecord.nextAvailableAt;
|
|
11292
11293
|
const agentLevelNextAvailableAt = typeof agentLevelAt === "number" && Number.isFinite(agentLevelAt) ? agentLevelAt : void 0;
|
|
11293
|
-
if (!credentialKey && agentLevelNextAvailableAt === void 0)
|
|
11294
|
+
if (!credentialKey && agentLevelNextAvailableAt === void 0) {
|
|
11295
|
+
return { credentialKey };
|
|
11296
|
+
}
|
|
11294
11297
|
const env = options.env;
|
|
11295
11298
|
const now = Date.now();
|
|
11296
11299
|
const entry = credentialKey ? await readCredentialEntry(credentialKey, env, now).catch(() => void 0) : void 0;
|
|
11297
11300
|
const entryAt = entry?.nextAvailableAt;
|
|
11298
11301
|
const effectiveNextAvailableAt = typeof entryAt === "number" ? mergeAvailabilityDeadline(agentLevelNextAvailableAt, entryAt) : agentLevelNextAvailableAt;
|
|
11299
|
-
if (typeof effectiveNextAvailableAt !== "number") return
|
|
11302
|
+
if (typeof effectiveNextAvailableAt !== "number") return { credentialKey };
|
|
11300
11303
|
const gateDecision = resolveCooldownGate(
|
|
11301
11304
|
{ nextAvailableAt: effectiveNextAvailableAt, lastProbeAt: entry?.lastProbeAt },
|
|
11302
11305
|
now
|
|
11303
11306
|
);
|
|
11304
11307
|
if (gateDecision === "probe" && credentialKey) {
|
|
11305
11308
|
await recordCredentialProbe(credentialKey, env, now).catch(() => void 0);
|
|
11306
|
-
return
|
|
11309
|
+
return { credentialKey };
|
|
11307
11310
|
}
|
|
11308
|
-
if (gateDecision !== "blocked") return
|
|
11311
|
+
if (gateDecision !== "blocked") return { credentialKey };
|
|
11309
11312
|
options.output.write(
|
|
11310
11313
|
`[nolo] Agent ${options.agentName || options.agentKey} is temporarily unavailable (429 cooldown) until ${new Date(Number(effectiveNextAvailableAt)).toISOString()}.
|
|
11311
11314
|
Dispatch aborted before reaching the server. Pick another agent via listAgents, or retry after the cooldown.
|
|
@@ -11388,11 +11391,18 @@ async function runAgentTurn(options) {
|
|
|
11388
11391
|
);
|
|
11389
11392
|
return { exitCode: 1 };
|
|
11390
11393
|
}
|
|
11391
|
-
const
|
|
11392
|
-
if (
|
|
11393
|
-
return { exitCode:
|
|
11394
|
+
const localAvailability = await checkLocalAvailabilityBeforeHttpDispatch(options);
|
|
11395
|
+
if (localAvailability?.exitCode) {
|
|
11396
|
+
return { exitCode: localAvailability.exitCode };
|
|
11397
|
+
}
|
|
11398
|
+
const httpResult = await runHttpAgentTurn(options, authToken);
|
|
11399
|
+
if (httpResult.exitCode === 0 && localAvailability?.credentialKey) {
|
|
11400
|
+
await clearCredentialAvailability(
|
|
11401
|
+
localAvailability.credentialKey,
|
|
11402
|
+
options.env
|
|
11403
|
+
).catch(() => void 0);
|
|
11394
11404
|
}
|
|
11395
|
-
return
|
|
11405
|
+
return httpResult;
|
|
11396
11406
|
}
|
|
11397
11407
|
|
|
11398
11408
|
// packages/cli/agentRunCommand.ts
|
|
@@ -12394,10 +12404,14 @@ var withTimeout = async (promise, timeoutMs, label) => {
|
|
|
12394
12404
|
};
|
|
12395
12405
|
var runMemoryVNextShadowRead = async (input) => {
|
|
12396
12406
|
const now = input.ctx.now ?? (() => performance.now());
|
|
12397
|
-
const
|
|
12398
|
-
|
|
12399
|
-
|
|
12400
|
-
|
|
12407
|
+
const defaultEmit = (observation2) => {
|
|
12408
|
+
const payload = {
|
|
12409
|
+
event: "memory_vnext_shadow_read",
|
|
12410
|
+
...observation2
|
|
12411
|
+
};
|
|
12412
|
+
console.info("[memory] vnext shadow read", payload);
|
|
12413
|
+
};
|
|
12414
|
+
const emit = input.emit ?? defaultEmit;
|
|
12401
12415
|
const legacyKeys = new Set(
|
|
12402
12416
|
input.legacyItems.flatMap((item) => legacyItemKeys(item))
|
|
12403
12417
|
);
|
|
@@ -8080,6 +8080,37 @@ function processCursorServerMessage(msg, state, onTextDelta, onReasoningDelta) {
|
|
|
8080
8080
|
state.outputTokens += tokens;
|
|
8081
8081
|
}
|
|
8082
8082
|
}
|
|
8083
|
+
function attachCursorUpstreamFailure(error, failure) {
|
|
8084
|
+
if (failure) {
|
|
8085
|
+
error.cursorUpstreamFailure = failure;
|
|
8086
|
+
}
|
|
8087
|
+
return error;
|
|
8088
|
+
}
|
|
8089
|
+
function readCursorUpstreamFailure(error) {
|
|
8090
|
+
if (!error || typeof error !== "object") return void 0;
|
|
8091
|
+
const failure = error.cursorUpstreamFailure;
|
|
8092
|
+
if (!failure || typeof failure !== "object") return void 0;
|
|
8093
|
+
if (typeof failure.status !== "number" || !Number.isFinite(failure.status)) {
|
|
8094
|
+
return void 0;
|
|
8095
|
+
}
|
|
8096
|
+
return failure;
|
|
8097
|
+
}
|
|
8098
|
+
function buildCursorGrpcTrailerError(trailers) {
|
|
8099
|
+
const status = trailers["grpc-status"];
|
|
8100
|
+
if (!status || String(status) === "0") return null;
|
|
8101
|
+
const rawMessage = String(trailers["grpc-message"] || "");
|
|
8102
|
+
let message;
|
|
8103
|
+
try {
|
|
8104
|
+
message = decodeURIComponent(rawMessage);
|
|
8105
|
+
} catch {
|
|
8106
|
+
message = rawMessage;
|
|
8107
|
+
}
|
|
8108
|
+
const statusText = String(status);
|
|
8109
|
+
return attachCursorUpstreamFailure(
|
|
8110
|
+
new Error(`Cursor gRPC error ${statusText}: ${message}`),
|
|
8111
|
+
statusText === "8" || statusText.toLowerCase() === "resource_exhausted" ? { status: 429, body: { code: "resource_exhausted", message } } : void 0
|
|
8112
|
+
);
|
|
8113
|
+
}
|
|
8083
8114
|
async function streamCursorChat(messages, options) {
|
|
8084
8115
|
const baseUrl = options.baseUrl || CURSOR_API_URL;
|
|
8085
8116
|
const clientVersion = options.clientVersion || CURSOR_CLIENT_VERSION;
|
|
@@ -8177,14 +8208,9 @@ async function streamCursorChat(messages, options) {
|
|
|
8177
8208
|
}
|
|
8178
8209
|
});
|
|
8179
8210
|
h2Request.on("trailers", (trailers) => {
|
|
8180
|
-
const
|
|
8181
|
-
|
|
8182
|
-
|
|
8183
|
-
h2Completion.reject(
|
|
8184
|
-
new Error(
|
|
8185
|
-
`Cursor gRPC error ${status}: ${decodeURIComponent(String(msg || ""))}`
|
|
8186
|
-
)
|
|
8187
|
-
);
|
|
8211
|
+
const error = buildCursorGrpcTrailerError(trailers);
|
|
8212
|
+
if (error) {
|
|
8213
|
+
h2Completion.reject(error);
|
|
8188
8214
|
}
|
|
8189
8215
|
});
|
|
8190
8216
|
h2Request.on("end", () => {
|
|
@@ -9255,7 +9281,7 @@ function assertWithinLocalToolBudget(args) {
|
|
|
9255
9281
|
|
|
9256
9282
|
// packages/cli/client/providerResolution/cursorTransport.ts
|
|
9257
9283
|
var resolveCursorTransport = async (ctx) => {
|
|
9258
|
-
const { agentConfig, deps, workspaceRoot, additionalToolNames, buildProviderOpenAiTools, apiKeyRefResolver, activeAgentToolNames, localToolExecutors } = ctx;
|
|
9284
|
+
const { agentConfig, deps, workspaceRoot, additionalToolNames, buildProviderOpenAiTools, apiKeyRefResolver, activeAgentToolNames, localToolExecutors, recordLocalAvailability } = ctx;
|
|
9259
9285
|
if (isCursorOAuthAgent(agentConfig)) {
|
|
9260
9286
|
const accessToken = await apiKeyRefResolver("cursor");
|
|
9261
9287
|
if (!accessToken) {
|
|
@@ -9331,15 +9357,24 @@ var resolveCursorTransport = async (ctx) => {
|
|
|
9331
9357
|
toolCount: tools.length,
|
|
9332
9358
|
requestedToolNames
|
|
9333
9359
|
});
|
|
9334
|
-
|
|
9335
|
-
|
|
9336
|
-
|
|
9337
|
-
|
|
9338
|
-
|
|
9339
|
-
|
|
9340
|
-
|
|
9341
|
-
|
|
9342
|
-
|
|
9360
|
+
try {
|
|
9361
|
+
const result = await cursorProvider.complete(messages, options);
|
|
9362
|
+
await recordLocalAvailability(200);
|
|
9363
|
+
logLocalRuntimeDiagnostic("provider.request.result", {
|
|
9364
|
+
agentKey: agentConfig.key,
|
|
9365
|
+
transport: "cursor-connect",
|
|
9366
|
+
ok: true,
|
|
9367
|
+
contentChars: (result.content ?? "").length,
|
|
9368
|
+
toolCallCount: result.tool_calls?.length ?? 0
|
|
9369
|
+
});
|
|
9370
|
+
return result;
|
|
9371
|
+
} catch (error) {
|
|
9372
|
+
const failure = readCursorUpstreamFailure(error);
|
|
9373
|
+
if (failure) {
|
|
9374
|
+
await recordLocalAvailability(failure.status, failure.body);
|
|
9375
|
+
}
|
|
9376
|
+
throw error;
|
|
9377
|
+
}
|
|
9343
9378
|
}
|
|
9344
9379
|
};
|
|
9345
9380
|
}
|
|
@@ -9510,7 +9545,7 @@ var resolveDirectOpenAiCompatibleTransport = async (ctx) => {
|
|
|
9510
9545
|
|
|
9511
9546
|
// packages/cli/client/providerResolution/geminiNativeToolTransport.ts
|
|
9512
9547
|
var resolveGeminiNativeToolTransport = async (ctx) => {
|
|
9513
|
-
const { agentConfig, deps, fetchImpl, additionalToolNames, buildProviderOpenAiTools, apiKeyRefResolver, credentialBroker, syncFetcher } = ctx;
|
|
9548
|
+
const { agentConfig, deps, fetchImpl, additionalToolNames, buildProviderOpenAiTools, apiKeyRefResolver, credentialBroker, syncFetcher, recordLocalAvailability } = ctx;
|
|
9514
9549
|
if (shouldUsePlatformChatProvider(deps.env, agentConfig) && isGemini3Model(agentConfig.model ?? "") && agentConfig.provider === "google") {
|
|
9515
9550
|
const providerConfig = await resolvePlatformChatProviderConfig({
|
|
9516
9551
|
agentConfig,
|
|
@@ -9577,6 +9612,7 @@ var resolveGeminiNativeToolTransport = async (ctx) => {
|
|
|
9577
9612
|
status: res.status,
|
|
9578
9613
|
error: errText.slice(0, 200)
|
|
9579
9614
|
});
|
|
9615
|
+
await recordLocalAvailability(res.status, errText);
|
|
9580
9616
|
throw new Error(
|
|
9581
9617
|
`gemini native tool provider failed: HTTP ${res.status} ${errText.slice(0, 500)}`
|
|
9582
9618
|
);
|
|
@@ -9602,6 +9638,7 @@ var resolveGeminiNativeToolTransport = async (ctx) => {
|
|
|
9602
9638
|
contentChars: text.length,
|
|
9603
9639
|
toolCallCount: toolCalls.length
|
|
9604
9640
|
});
|
|
9641
|
+
await recordLocalAvailability(200);
|
|
9605
9642
|
return result;
|
|
9606
9643
|
}
|
|
9607
9644
|
};
|
package/index.js
CHANGED
|
@@ -127,7 +127,7 @@ function createDaemonShortcutCommand(path, description, command2) {
|
|
|
127
127
|
// packages/cli/agentInternalCommandEntries.ts
|
|
128
128
|
function getAgentInternalCommandEntries() {
|
|
129
129
|
const createAgentRunCommand = (path, description) => createContextCommand(path, description, async (args2, ctx) => {
|
|
130
|
-
const { runAgentRunCommand } = await import("./agentRunCommand-
|
|
130
|
+
const { runAgentRunCommand } = await import("./agentRunCommand-UQBDIINO.js");
|
|
131
131
|
return runAgentRunCommand(args2, {
|
|
132
132
|
env: ctx.env,
|
|
133
133
|
scriptDir: ctx.scriptDir,
|
|
@@ -143,7 +143,7 @@ function getAgentInternalCommandEntries() {
|
|
|
143
143
|
return runAgentListCommand(args2, deps);
|
|
144
144
|
}),
|
|
145
145
|
createEnvCommand(["agent", "create"], "Create a new agent", async (args2, deps) => {
|
|
146
|
-
const { runAgentCreateCommand } = await import("./agentRecordCommands-
|
|
146
|
+
const { runAgentCreateCommand } = await import("./agentRecordCommands-YQQKDLIA.js");
|
|
147
147
|
return runAgentCreateCommand(args2, deps);
|
|
148
148
|
}),
|
|
149
149
|
createEnvCommand(["agent", "models"], "List models available on an OpenAI-compatible provider", async (args2, deps) => {
|
|
@@ -159,7 +159,7 @@ function getAgentInternalCommandEntries() {
|
|
|
159
159
|
return runAgentPullCommand(args2, deps);
|
|
160
160
|
}),
|
|
161
161
|
createEnvCommand(["agent", "read"], "Read a single agent", async (args2, deps) => {
|
|
162
|
-
const { runAgentReadCommand } = await import("./agentRecordCommands-
|
|
162
|
+
const { runAgentReadCommand } = await import("./agentRecordCommands-YQQKDLIA.js");
|
|
163
163
|
return runAgentReadCommand(args2, deps);
|
|
164
164
|
}),
|
|
165
165
|
createAgentRunCommand(["agent", "run"], "Run an agent"),
|
|
@@ -188,26 +188,26 @@ function getAgentInternalCommandEntries() {
|
|
|
188
188
|
return runSetupOfflineMarxistsAgentCommand(args2, deps);
|
|
189
189
|
}),
|
|
190
190
|
createEnvCommand(["agent", "update"], "Update agent fields", async (args2, deps) => {
|
|
191
|
-
const { runAgentUpdateCommand } = await import("./agentRecordCommands-
|
|
191
|
+
const { runAgentUpdateCommand } = await import("./agentRecordCommands-YQQKDLIA.js");
|
|
192
192
|
return runAgentUpdateCommand(args2, deps);
|
|
193
193
|
}),
|
|
194
194
|
createEnvCommand(["agent", "email", "provision"], "Provision a controlled inbox for an agent", async (args2, deps) => {
|
|
195
|
-
const { runAgentEmailProvisionCommand } = await import("./agentEmailCommands-
|
|
195
|
+
const { runAgentEmailProvisionCommand } = await import("./agentEmailCommands-EGD3UOFY.js");
|
|
196
196
|
return runAgentEmailProvisionCommand(args2, deps);
|
|
197
197
|
}),
|
|
198
198
|
createEnvCommand(["agent", "email", "bind"], "Bind an existing email address to an agent", async (args2, deps) => {
|
|
199
|
-
const { runAgentEmailBindCommand } = await import("./agentEmailCommands-
|
|
199
|
+
const { runAgentEmailBindCommand } = await import("./agentEmailCommands-EGD3UOFY.js");
|
|
200
200
|
return runAgentEmailBindCommand(args2, deps);
|
|
201
201
|
}),
|
|
202
202
|
createEnvCommand(["agent", "email", "transfer"], "Transfer an email identity from one agent to another (cross-account)", async (args2, deps) => {
|
|
203
|
-
const { runAgentEmailTransferCommand } = await import("./agentEmailCommands-
|
|
203
|
+
const { runAgentEmailTransferCommand } = await import("./agentEmailCommands-EGD3UOFY.js");
|
|
204
204
|
return runAgentEmailTransferCommand(args2, deps);
|
|
205
205
|
}),
|
|
206
206
|
createEnvCommand(
|
|
207
207
|
["agent", "email", "create-and-provision"],
|
|
208
208
|
"Create an agent and provision its controlled inbox",
|
|
209
209
|
async (args2, deps) => {
|
|
210
|
-
const { runAgentEmailCreateAndProvisionCommand } = await import("./agentEmailCommands-
|
|
210
|
+
const { runAgentEmailCreateAndProvisionCommand } = await import("./agentEmailCommands-EGD3UOFY.js");
|
|
211
211
|
return runAgentEmailCreateAndProvisionCommand(args2, deps);
|
|
212
212
|
}
|
|
213
213
|
),
|
|
@@ -228,15 +228,15 @@ function getAgentInternalCommandEntries() {
|
|
|
228
228
|
return runAgentRevokeGrantCommand(args2, deps);
|
|
229
229
|
}),
|
|
230
230
|
createEnvCommand(["agent", "bind-current"], "Bind an agent to this machine", async (args2, deps) => {
|
|
231
|
-
const { runAgentBindCurrentCommand } = await import("./agentMachineCommands-
|
|
231
|
+
const { runAgentBindCurrentCommand } = await import("./agentMachineCommands-WCCBD7CE.js");
|
|
232
232
|
return runAgentBindCurrentCommand(args2, deps);
|
|
233
233
|
}),
|
|
234
234
|
createEnvCommand(["agent", "smoke-current"], "Smoke test a bound agent through this machine", async (args2, deps) => {
|
|
235
|
-
const { runAgentSmokeCurrentCommand } = await import("./agentMachineCommands-
|
|
235
|
+
const { runAgentSmokeCurrentCommand } = await import("./agentMachineCommands-WCCBD7CE.js");
|
|
236
236
|
return runAgentSmokeCurrentCommand(args2, deps);
|
|
237
237
|
}),
|
|
238
238
|
createEnvCommand(["agent", "runtime-doctor"], "Diagnose current machine runtime compatibility", async (args2, deps) => {
|
|
239
|
-
const { runAgentRuntimeDoctorCommand } = await import("./agentMachineCommands-
|
|
239
|
+
const { runAgentRuntimeDoctorCommand } = await import("./agentMachineCommands-WCCBD7CE.js");
|
|
240
240
|
return runAgentRuntimeDoctorCommand(args2, deps);
|
|
241
241
|
}),
|
|
242
242
|
createAgentRunCommand(["agent", "chat"], "Chat with an agent")
|
|
@@ -488,15 +488,15 @@ function getSystemInternalCommandEntries(renderHelpText2) {
|
|
|
488
488
|
return runWhoamiCommand({ args: args2, env: ctx.env });
|
|
489
489
|
}),
|
|
490
490
|
createEntrypointEnvCommand(["connect"], "Send machine heartbeats or hold a connector websocket", async (args2, deps) => {
|
|
491
|
-
const { runMachineConnectCommand } = await import("./machineCommands-
|
|
491
|
+
const { runMachineConnectCommand } = await import("./machineCommands-QZDDCLIW.js");
|
|
492
492
|
return runMachineConnectCommand(args2, deps);
|
|
493
493
|
}),
|
|
494
494
|
createDaemonShortcutCommand(["daemon"], "Run the connector daemon shortcut", async (args2, deps) => {
|
|
495
|
-
const { runMachineConnectCommand } = await import("./machineCommands-
|
|
495
|
+
const { runMachineConnectCommand } = await import("./machineCommands-QZDDCLIW.js");
|
|
496
496
|
return runMachineConnectCommand(args2, deps);
|
|
497
497
|
}),
|
|
498
498
|
createEnvCommand(["machine", "status"], "List machines registered to the current profile", async (args2, deps) => {
|
|
499
|
-
const { runMachineStatusCommand } = await import("./machineCommands-
|
|
499
|
+
const { runMachineStatusCommand } = await import("./machineCommands-QZDDCLIW.js");
|
|
500
500
|
return runMachineStatusCommand(args2, deps);
|
|
501
501
|
}),
|
|
502
502
|
createEnvCommand(["doctor", "runtime"], "Diagnose local-first agent runtime selection", async (args2, deps) => {
|
|
@@ -892,7 +892,7 @@ async function runScript(script, forwardedArgs, env) {
|
|
|
892
892
|
return proc.exited;
|
|
893
893
|
}
|
|
894
894
|
async function launchTuiWorkspace(args2) {
|
|
895
|
-
const { startTuiWorkspace } = await import("./readlineWorkspace-
|
|
895
|
+
const { startTuiWorkspace } = await import("./readlineWorkspace-VETAJAPP.js");
|
|
896
896
|
const { createTuiSummaryLlmCaller } = await import("./tuiSummaryLlmCaller-T2SHYMDZ.js");
|
|
897
897
|
return startTuiWorkspace({
|
|
898
898
|
...args2,
|
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
buildMachinePermissionPromptBlock,
|
|
3
3
|
handleConnectorRunMessage,
|
|
4
4
|
resolveMachineRunPermissionPolicy
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-3ZFOWBZF.js";
|
|
6
6
|
import {
|
|
7
7
|
isConnectorWebSocketAuthError,
|
|
8
8
|
isConnectorWebSocketRetryableError,
|
|
9
9
|
resolveConnectorWebSocketTarget
|
|
10
10
|
} from "./chunk-ALXHV7NK.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-4LNCCQOB.js";
|
|
12
12
|
import "./chunk-53HEEOTT.js";
|
|
13
13
|
import "./chunk-EADNWBAZ.js";
|
|
14
14
|
import "./chunk-SH43IESU.js";
|
|
@@ -11,8 +11,8 @@ import {
|
|
|
11
11
|
runtimeWorkspacePermissionPolicy,
|
|
12
12
|
scopePermissionPolicyToRuntimeWorkspace,
|
|
13
13
|
summarizeAgentConfigForLogs
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-3ZFOWBZF.js";
|
|
15
|
+
import "./chunk-4LNCCQOB.js";
|
|
16
16
|
import "./chunk-53HEEOTT.js";
|
|
17
17
|
import "./chunk-EADNWBAZ.js";
|
|
18
18
|
import "./chunk-SH43IESU.js";
|
package/package.json
CHANGED
|
@@ -72,7 +72,7 @@ import {
|
|
|
72
72
|
wrapTextToLines,
|
|
73
73
|
wrapTranscriptLine,
|
|
74
74
|
wrapTranscriptLineWithLayout
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-2POGRYTM.js";
|
|
76
76
|
import "./chunk-S7Z2HMCN.js";
|
|
77
77
|
import "./chunk-V7E4PXQD.js";
|
|
78
78
|
import {
|
|
@@ -96,7 +96,7 @@ import {
|
|
|
96
96
|
readTimestamp,
|
|
97
97
|
setCliLocale,
|
|
98
98
|
t
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-4LNCCQOB.js";
|
|
100
100
|
import "./chunk-53HEEOTT.js";
|
|
101
101
|
import "./chunk-EADNWBAZ.js";
|
|
102
102
|
import "./chunk-SH43IESU.js";
|