nolo-cli 0.95.0-alpha.2 → 0.95.0-alpha.4
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/{agentDeleteCommand-OODHSL4K.js → agentDeleteCommand-QT7KPGJC.js} +1 -1
- package/{agentEmailCommands-3R73WSCD.js → agentEmailCommands-X5GP2RNR.js} +3 -3
- package/{agentListCommands-TBTEXV2E.js → agentListCommands-PBY5LTDT.js} +1 -1
- package/{agentMachineCommands-3GKE6ZHG.js → agentMachineCommands-HGCZYIWR.js} +2 -2
- package/{agentRecordCommands-3664GLRE.js → agentRecordCommands-AM4YSO32.js} +3 -3
- package/{agentRunCommand-YNSEOBTR.js → agentRunCommand-SVOSMV2Q.js} +3 -3
- package/{agentRuntimeLocal-5BX6PI4X.js → agentRuntimeLocal-TT57XSVO.js} +1 -1
- package/{appDeleteCommands-UNTBD55Y.js → appDeleteCommands-XMJJB6UT.js} +1 -1
- package/{appDeployCommands-LOF4JNBZ.js → appDeployCommands-DORRXKWU.js} +1 -1
- package/{appDeployStatusCommands-MMLE6BDW.js → appDeployStatusCommands-BWEE72UH.js} +1 -1
- package/{appGetCommands-WFJAJK6B.js → appGetCommands-WN6KKQHQ.js} +1 -1
- package/{appListCommands-NC265RGX.js → appListCommands-W2WE5TD5.js} +1 -1
- package/{chunk-35EWBHJO.js → chunk-3M5X4UJR.js} +2 -2
- package/{chunk-MWAO7TZZ.js → chunk-4MY4GLIW.js} +26 -3
- package/{chunk-MPV6E6WR.js → chunk-A3JG6ALR.js} +15 -3
- package/{chunk-FLLFOP5L.js → chunk-KHKIMXS5.js} +1 -1
- package/{chunk-TRCMIJA7.js → chunk-YLALY5NG.js} +29 -15
- package/{dialogCommands-X4OB6SC6.js → dialogCommands-IIBAS4I2.js} +1 -1
- package/{docCreateCommands-DFST4PFR.js → docCreateCommands-RJBSWEY4.js} +1 -1
- package/{docDeleteCommands-V37JZOSP.js → docDeleteCommands-QSDETKEQ.js} +1 -1
- package/{docReadCommands-Z64VDPDQ.js → docReadCommands-AJG2EFHB.js} +1 -1
- package/{docUpdateCommands-I6FB6ENK.js → docUpdateCommands-KWG533GS.js} +1 -1
- package/index.js +41 -41
- package/{machineCommands-PV5XA7UF.js → machineCommands-TIOYSD74.js} +3 -3
- package/{machineWsRunDispatch-W2DPC7TZ.js → machineWsRunDispatch-I5P3FBX6.js} +3 -3
- package/package.json +1 -1
- package/{readlineWorkspace-PHZXJKJM.js → readlineWorkspace-HGWW2JCK.js} +3 -3
- package/{spaceCommands-3QH2QFNW.js → spaceCommands-WIJTLELT.js} +1 -1
|
@@ -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-KHKIMXS5.js";
|
|
12
|
+
import "./chunk-A3JG6ALR.js";
|
|
13
13
|
import "./chunk-53HEEOTT.js";
|
|
14
14
|
import "./chunk-EADNWBAZ.js";
|
|
15
15
|
import "./chunk-SH43IESU.js";
|
|
@@ -71,7 +71,7 @@ import "./chunk-JRQFUXY7.js";
|
|
|
71
71
|
import "./chunk-DHDMC6FO.js";
|
|
72
72
|
import "./chunk-Q554LLSI.js";
|
|
73
73
|
import "./chunk-KHCLMKZZ.js";
|
|
74
|
-
import "./chunk-
|
|
74
|
+
import "./chunk-4MY4GLIW.js";
|
|
75
75
|
import "./chunk-OF7AQZUG.js";
|
|
76
76
|
import "./chunk-Q5FJJ6XI.js";
|
|
77
77
|
import "./chunk-ZNFJWEN4.js";
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
} from "./chunk-IAO6JBYW.js";
|
|
40
40
|
import "./chunk-KQHGZWSV.js";
|
|
41
41
|
import "./chunk-YYLHWIW6.js";
|
|
42
|
-
import "./chunk-
|
|
42
|
+
import "./chunk-4MY4GLIW.js";
|
|
43
43
|
import "./chunk-OF7AQZUG.js";
|
|
44
44
|
import "./chunk-Q5FJJ6XI.js";
|
|
45
45
|
import "./chunk-ZNFJWEN4.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./chunk-SV5IJK6K.js";
|
|
16
16
|
import "./chunk-NF64D32W.js";
|
|
17
17
|
import "./chunk-3L2WKC3W.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-4MY4GLIW.js";
|
|
19
19
|
import "./chunk-OF7AQZUG.js";
|
|
20
20
|
import "./chunk-Q5FJJ6XI.js";
|
|
21
21
|
import "./chunk-ZNFJWEN4.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-I5P3FBX6.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-KHKIMXS5.js";
|
|
6
|
+
import "./chunk-A3JG6ALR.js";
|
|
7
7
|
import "./chunk-53HEEOTT.js";
|
|
8
8
|
import "./chunk-EADNWBAZ.js";
|
|
9
9
|
import "./chunk-SH43IESU.js";
|
|
@@ -58,7 +58,7 @@ import "./chunk-JRQFUXY7.js";
|
|
|
58
58
|
import "./chunk-DHDMC6FO.js";
|
|
59
59
|
import "./chunk-Q554LLSI.js";
|
|
60
60
|
import "./chunk-KHCLMKZZ.js";
|
|
61
|
-
import "./chunk-
|
|
61
|
+
import "./chunk-4MY4GLIW.js";
|
|
62
62
|
import "./chunk-OF7AQZUG.js";
|
|
63
63
|
import "./chunk-Q5FJJ6XI.js";
|
|
64
64
|
import "./chunk-ZNFJWEN4.js";
|
|
@@ -8,12 +8,12 @@ import {
|
|
|
8
8
|
resolveRunSettlementNote,
|
|
9
9
|
resolveWorkflowReference,
|
|
10
10
|
runAgentRunCommand
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-YLALY5NG.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-A3JG6ALR.js";
|
|
17
17
|
import "./chunk-53HEEOTT.js";
|
|
18
18
|
import "./chunk-EADNWBAZ.js";
|
|
19
19
|
import "./chunk-SH43IESU.js";
|
|
@@ -73,7 +73,7 @@ import "./chunk-JRQFUXY7.js";
|
|
|
73
73
|
import "./chunk-DHDMC6FO.js";
|
|
74
74
|
import "./chunk-Q554LLSI.js";
|
|
75
75
|
import "./chunk-KHCLMKZZ.js";
|
|
76
|
-
import "./chunk-
|
|
76
|
+
import "./chunk-4MY4GLIW.js";
|
|
77
77
|
import "./chunk-OF7AQZUG.js";
|
|
78
78
|
import "./chunk-Q5FJJ6XI.js";
|
|
79
79
|
import "./chunk-ZNFJWEN4.js";
|
|
@@ -13,7 +13,7 @@ import "./chunk-76WEAXJB.js";
|
|
|
13
13
|
import "./chunk-Z77CRGTW.js";
|
|
14
14
|
import "./chunk-SV5IJK6K.js";
|
|
15
15
|
import "./chunk-VF4K2QE6.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-4MY4GLIW.js";
|
|
17
17
|
import "./chunk-OF7AQZUG.js";
|
|
18
18
|
import "./chunk-Q5FJJ6XI.js";
|
|
19
19
|
import "./chunk-ZNFJWEN4.js";
|
|
@@ -14,7 +14,7 @@ import "./chunk-76WEAXJB.js";
|
|
|
14
14
|
import "./chunk-Z77CRGTW.js";
|
|
15
15
|
import "./chunk-SV5IJK6K.js";
|
|
16
16
|
import "./chunk-VF4K2QE6.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-4MY4GLIW.js";
|
|
18
18
|
import "./chunk-OF7AQZUG.js";
|
|
19
19
|
import "./chunk-Q5FJJ6XI.js";
|
|
20
20
|
import "./chunk-ZNFJWEN4.js";
|
|
@@ -13,7 +13,7 @@ import "./chunk-76WEAXJB.js";
|
|
|
13
13
|
import "./chunk-Z77CRGTW.js";
|
|
14
14
|
import "./chunk-SV5IJK6K.js";
|
|
15
15
|
import "./chunk-VF4K2QE6.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-4MY4GLIW.js";
|
|
17
17
|
import "./chunk-OF7AQZUG.js";
|
|
18
18
|
import "./chunk-Q5FJJ6XI.js";
|
|
19
19
|
import "./chunk-ZNFJWEN4.js";
|
|
@@ -14,7 +14,7 @@ import "./chunk-76WEAXJB.js";
|
|
|
14
14
|
import "./chunk-Z77CRGTW.js";
|
|
15
15
|
import "./chunk-SV5IJK6K.js";
|
|
16
16
|
import "./chunk-VF4K2QE6.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-4MY4GLIW.js";
|
|
18
18
|
import "./chunk-OF7AQZUG.js";
|
|
19
19
|
import "./chunk-Q5FJJ6XI.js";
|
|
20
20
|
import "./chunk-ZNFJWEN4.js";
|
|
@@ -14,7 +14,7 @@ import "./chunk-76WEAXJB.js";
|
|
|
14
14
|
import "./chunk-Z77CRGTW.js";
|
|
15
15
|
import "./chunk-SV5IJK6K.js";
|
|
16
16
|
import "./chunk-VF4K2QE6.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-4MY4GLIW.js";
|
|
18
18
|
import "./chunk-OF7AQZUG.js";
|
|
19
19
|
import "./chunk-Q5FJJ6XI.js";
|
|
20
20
|
import "./chunk-ZNFJWEN4.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createCliLocalRuntimeAdapter,
|
|
3
3
|
summarizeEndpoint
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-A3JG6ALR.js";
|
|
5
5
|
import {
|
|
6
6
|
clipMultilineText
|
|
7
7
|
} from "./chunk-4OZYL5FG.js";
|
|
8
8
|
import {
|
|
9
9
|
runLocalAgentTurn
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-4MY4GLIW.js";
|
|
11
11
|
import {
|
|
12
12
|
applyToolSurfaceConstraints
|
|
13
13
|
} from "./chunk-IIVGDG4I.js";
|
|
@@ -20408,6 +20408,21 @@ function parseDevinMetadataUsage(metaBytes) {
|
|
|
20408
20408
|
}
|
|
20409
20409
|
return sawAny ? { prompt, completion, cacheRead, cacheWrite } : null;
|
|
20410
20410
|
}
|
|
20411
|
+
function attachDevinUpstreamFailure(error, failure) {
|
|
20412
|
+
if (failure) {
|
|
20413
|
+
error.devinUpstreamFailure = failure;
|
|
20414
|
+
}
|
|
20415
|
+
return error;
|
|
20416
|
+
}
|
|
20417
|
+
function readDevinUpstreamFailure(error) {
|
|
20418
|
+
if (!error || typeof error !== "object") return void 0;
|
|
20419
|
+
const failure = error.devinUpstreamFailure;
|
|
20420
|
+
if (!failure || typeof failure !== "object") return void 0;
|
|
20421
|
+
if (typeof failure.status !== "number" || !Number.isFinite(failure.status)) {
|
|
20422
|
+
return void 0;
|
|
20423
|
+
}
|
|
20424
|
+
return failure;
|
|
20425
|
+
}
|
|
20411
20426
|
function parseDevinConnectTrailer(payload) {
|
|
20412
20427
|
const text = payload.toString("utf8").trim();
|
|
20413
20428
|
if (!text || text === "{}") return null;
|
|
@@ -20418,7 +20433,11 @@ function parseDevinConnectTrailer(payload) {
|
|
|
20418
20433
|
}
|
|
20419
20434
|
const code = typeof parsed.error.code === "string" ? parsed.error.code : "unknown";
|
|
20420
20435
|
const message = typeof parsed.error.message === "string" ? parsed.error.message : "Unknown error";
|
|
20421
|
-
return
|
|
20436
|
+
return attachDevinUpstreamFailure(
|
|
20437
|
+
new Error(`Devin Connect upstream error ${code}: ${message}`),
|
|
20438
|
+
// Connect/gRPC 的 resource_exhausted 与 HTTP 429 同义(限流/配额耗尽)。
|
|
20439
|
+
code === "resource_exhausted" ? { status: 429, body: parsed.error } : void 0
|
|
20440
|
+
);
|
|
20422
20441
|
} catch {
|
|
20423
20442
|
return new Error(`Devin Connect invalid terminal trailer: ${text}`);
|
|
20424
20443
|
}
|
|
@@ -20545,8 +20564,11 @@ function createDevinProvider(options) {
|
|
|
20545
20564
|
});
|
|
20546
20565
|
if (!response.ok) {
|
|
20547
20566
|
const errText = await response.text().catch(() => "");
|
|
20548
|
-
throw
|
|
20549
|
-
|
|
20567
|
+
throw attachDevinUpstreamFailure(
|
|
20568
|
+
new Error(
|
|
20569
|
+
`Devin Connect upstream returned error ${response.status}: ${errText}`
|
|
20570
|
+
),
|
|
20571
|
+
{ status: response.status, body: errText }
|
|
20550
20572
|
);
|
|
20551
20573
|
}
|
|
20552
20574
|
if (!response.body) {
|
|
@@ -20715,5 +20737,6 @@ export {
|
|
|
20715
20737
|
buildGeminiGenerateContentRequest,
|
|
20716
20738
|
resolveAntigravityFinishReason,
|
|
20717
20739
|
fetchAntigravityCloudCodeCompletion,
|
|
20740
|
+
readDevinUpstreamFailure,
|
|
20718
20741
|
createDevinProvider
|
|
20719
20742
|
};
|
|
@@ -160,11 +160,12 @@ import {
|
|
|
160
160
|
parseSseDataLineObject,
|
|
161
161
|
parseSyncServersEnv,
|
|
162
162
|
parseUpstreamErrorBody,
|
|
163
|
+
readDevinUpstreamFailure,
|
|
163
164
|
resolveAntigravityFinishReason,
|
|
164
165
|
resolveOpenAiCompatibleProviderConfig,
|
|
165
166
|
shouldUseGeminiNativeToolRoute,
|
|
166
167
|
summarizeToolArguments
|
|
167
|
-
} from "./chunk-
|
|
168
|
+
} from "./chunk-4MY4GLIW.js";
|
|
168
169
|
import {
|
|
169
170
|
PlatformStreamInterruptedError,
|
|
170
171
|
buildPlatformChatCompletionRequest,
|
|
@@ -9352,7 +9353,8 @@ var resolveDevinTransport = async (ctx) => {
|
|
|
9352
9353
|
apiKeyRefResolver,
|
|
9353
9354
|
deps,
|
|
9354
9355
|
buildProviderOpenAiTools,
|
|
9355
|
-
additionalToolNames
|
|
9356
|
+
additionalToolNames,
|
|
9357
|
+
recordLocalAvailability
|
|
9356
9358
|
} = ctx;
|
|
9357
9359
|
if (isDevinOAuthAgent(agentConfig)) {
|
|
9358
9360
|
const accessToken = await apiKeyRefResolver("devin");
|
|
@@ -9391,7 +9393,17 @@ var resolveDevinTransport = async (ctx) => {
|
|
|
9391
9393
|
return {
|
|
9392
9394
|
model,
|
|
9393
9395
|
complete: async (messages, options) => {
|
|
9394
|
-
|
|
9396
|
+
try {
|
|
9397
|
+
const result = await devinProvider.complete(messages, options);
|
|
9398
|
+
await recordLocalAvailability(200);
|
|
9399
|
+
return result;
|
|
9400
|
+
} catch (error) {
|
|
9401
|
+
const failure = readDevinUpstreamFailure(error);
|
|
9402
|
+
if (failure) {
|
|
9403
|
+
await recordLocalAvailability(failure.status, failure.body);
|
|
9404
|
+
}
|
|
9405
|
+
throw error;
|
|
9406
|
+
}
|
|
9395
9407
|
}
|
|
9396
9408
|
};
|
|
9397
9409
|
}
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
resolveLocalUserId,
|
|
28
28
|
t,
|
|
29
29
|
toolLabel
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-A3JG6ALR.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
|
|
@@ -111,7 +112,7 @@ import {
|
|
|
111
112
|
LOCAL_AGENT_CONFIG_MISSING_CODE,
|
|
112
113
|
LOCAL_TURN_ABORTED_CODE,
|
|
113
114
|
readActionGate
|
|
114
|
-
} from "./chunk-
|
|
115
|
+
} from "./chunk-4MY4GLIW.js";
|
|
115
116
|
import {
|
|
116
117
|
resolveAgentRuntimeConfigFromRecord
|
|
117
118
|
} from "./chunk-3IIEFNGY.js";
|
|
@@ -10418,7 +10419,7 @@ function findCollapsedPasteSpanAt(buffer, pos, opts = {}) {
|
|
|
10418
10419
|
// packages/cli/client/agentRun.ts
|
|
10419
10420
|
import { ulid as ulid2 } from "ulid";
|
|
10420
10421
|
async function loadRunLocalAgentTurn() {
|
|
10421
|
-
const { runLocalAgentTurn } = await import("./agentRuntimeLocal-
|
|
10422
|
+
const { runLocalAgentTurn } = await import("./agentRuntimeLocal-TT57XSVO.js");
|
|
10422
10423
|
return runLocalAgentTurn;
|
|
10423
10424
|
}
|
|
10424
10425
|
var stripDebugNoise = (s) => s.replace(/\s*raw="[\s\S]*"/g, "").replace(/\s*raw=\S+/g, "").replace(/\s*headers=\[[^\]]*\]/g, "").replace(/\s*headers=\S+/g, "").trim();
|
|
@@ -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
|
);
|
|
@@ -24,7 +24,7 @@ import "./chunk-KQHGZWSV.js";
|
|
|
24
24
|
import "./chunk-3BMYXEUW.js";
|
|
25
25
|
import "./chunk-URMS4XY2.js";
|
|
26
26
|
import "./chunk-GLKOYSRU.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-4MY4GLIW.js";
|
|
28
28
|
import "./chunk-OF7AQZUG.js";
|
|
29
29
|
import "./chunk-Q5FJJ6XI.js";
|
|
30
30
|
import "./chunk-ZNFJWEN4.js";
|
|
@@ -28,7 +28,7 @@ import "./chunk-SV5IJK6K.js";
|
|
|
28
28
|
import "./chunk-VF4K2QE6.js";
|
|
29
29
|
import "./chunk-Q554LLSI.js";
|
|
30
30
|
import "./chunk-KHCLMKZZ.js";
|
|
31
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-4MY4GLIW.js";
|
|
32
32
|
import "./chunk-OF7AQZUG.js";
|
|
33
33
|
import "./chunk-Q5FJJ6XI.js";
|
|
34
34
|
import "./chunk-ZNFJWEN4.js";
|
|
@@ -21,7 +21,7 @@ import "./chunk-KQHGZWSV.js";
|
|
|
21
21
|
import "./chunk-VF4K2QE6.js";
|
|
22
22
|
import "./chunk-Q554LLSI.js";
|
|
23
23
|
import "./chunk-KHCLMKZZ.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-4MY4GLIW.js";
|
|
25
25
|
import "./chunk-OF7AQZUG.js";
|
|
26
26
|
import "./chunk-Q5FJJ6XI.js";
|
|
27
27
|
import "./chunk-ZNFJWEN4.js";
|
|
@@ -16,7 +16,7 @@ import "./chunk-SV5IJK6K.js";
|
|
|
16
16
|
import "./chunk-VF4K2QE6.js";
|
|
17
17
|
import "./chunk-Q554LLSI.js";
|
|
18
18
|
import "./chunk-KHCLMKZZ.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-4MY4GLIW.js";
|
|
20
20
|
import "./chunk-OF7AQZUG.js";
|
|
21
21
|
import "./chunk-Q5FJJ6XI.js";
|
|
22
22
|
import "./chunk-ZNFJWEN4.js";
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
resolvePageSkillMetadata
|
|
31
31
|
} from "./chunk-Q554LLSI.js";
|
|
32
32
|
import "./chunk-KHCLMKZZ.js";
|
|
33
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-4MY4GLIW.js";
|
|
34
34
|
import "./chunk-OF7AQZUG.js";
|
|
35
35
|
import "./chunk-Q5FJJ6XI.js";
|
|
36
36
|
import "./chunk-ZNFJWEN4.js";
|
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-SVOSMV2Q.js");
|
|
131
131
|
return runAgentRunCommand(args2, {
|
|
132
132
|
env: ctx.env,
|
|
133
133
|
scriptDir: ctx.scriptDir,
|
|
@@ -139,11 +139,11 @@ function getAgentInternalCommandEntries() {
|
|
|
139
139
|
createAgentRunCommand(["run"], "Run a no-login local agent in this workspace"),
|
|
140
140
|
createAgentRunCommand(["chat"], "Chat with an agent"),
|
|
141
141
|
createEnvCommand(["agent", "list"], "List owned agents", async (args2, deps) => {
|
|
142
|
-
const { runAgentListCommand } = await import("./agentListCommands-
|
|
142
|
+
const { runAgentListCommand } = await import("./agentListCommands-PBY5LTDT.js");
|
|
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-AM4YSO32.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-AM4YSO32.js");
|
|
163
163
|
return runAgentReadCommand(args2, deps);
|
|
164
164
|
}),
|
|
165
165
|
createAgentRunCommand(["agent", "run"], "Run an agent"),
|
|
@@ -188,31 +188,31 @@ 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-AM4YSO32.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-X5GP2RNR.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-X5GP2RNR.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-X5GP2RNR.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-X5GP2RNR.js");
|
|
211
211
|
return runAgentEmailCreateAndProvisionCommand(args2, deps);
|
|
212
212
|
}
|
|
213
213
|
),
|
|
214
214
|
createEnvCommand(["agent", "delete"], "Hard-delete an agent's private and public records", async (args2, deps) => {
|
|
215
|
-
const { runAgentDeleteCommand } = await import("./agentDeleteCommand-
|
|
215
|
+
const { runAgentDeleteCommand } = await import("./agentDeleteCommand-QT7KPGJC.js");
|
|
216
216
|
return runAgentDeleteCommand(args2, deps);
|
|
217
217
|
}),
|
|
218
218
|
createEnvCommand(["agent", "grant"], "Grant another user access to this agent's owner credentials", async (args2, deps) => {
|
|
@@ -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-HGCZYIWR.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-HGCZYIWR.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-HGCZYIWR.js");
|
|
240
240
|
return runAgentRuntimeDoctorCommand(args2, deps);
|
|
241
241
|
}),
|
|
242
242
|
createAgentRunCommand(["agent", "chat"], "Chat with an agent")
|
|
@@ -247,23 +247,23 @@ function getAgentInternalCommandEntries() {
|
|
|
247
247
|
function getAppInternalCommandEntries() {
|
|
248
248
|
return [
|
|
249
249
|
createEnvCommand(["app", "list"], "List your apps", async (args2, deps) => {
|
|
250
|
-
const { runAppListCommand } = await import("./appListCommands-
|
|
250
|
+
const { runAppListCommand } = await import("./appListCommands-W2WE5TD5.js");
|
|
251
251
|
return runAppListCommand(args2, deps);
|
|
252
252
|
}),
|
|
253
253
|
createEnvCommand(["app", "get"], "Get app details", async (args2, deps) => {
|
|
254
|
-
const { runAppGetCommand } = await import("./appGetCommands-
|
|
254
|
+
const { runAppGetCommand } = await import("./appGetCommands-WN6KKQHQ.js");
|
|
255
255
|
return runAppGetCommand(args2, deps);
|
|
256
256
|
}),
|
|
257
257
|
createEnvCommand(["app", "deploy"], "Deploy an app", async (args2, deps) => {
|
|
258
|
-
const { runAppDeployCommand } = await import("./appDeployCommands-
|
|
258
|
+
const { runAppDeployCommand } = await import("./appDeployCommands-DORRXKWU.js");
|
|
259
259
|
return runAppDeployCommand(args2, deps);
|
|
260
260
|
}),
|
|
261
261
|
createEnvCommand(["app", "deploy", "status"], "Check app deploy status", async (args2, deps) => {
|
|
262
|
-
const { runAppDeployStatusCommand } = await import("./appDeployStatusCommands-
|
|
262
|
+
const { runAppDeployStatusCommand } = await import("./appDeployStatusCommands-BWEE72UH.js");
|
|
263
263
|
return runAppDeployStatusCommand(args2, deps);
|
|
264
264
|
}),
|
|
265
265
|
createEnvCommand(["app", "delete"], "Delete an app", async (args2, deps) => {
|
|
266
|
-
const { runAppDeleteCommand } = await import("./appDeleteCommands-
|
|
266
|
+
const { runAppDeleteCommand } = await import("./appDeleteCommands-XMJJB6UT.js");
|
|
267
267
|
return runAppDeleteCommand(args2, deps);
|
|
268
268
|
})
|
|
269
269
|
];
|
|
@@ -332,27 +332,27 @@ function getChromeInternalCommandEntries() {
|
|
|
332
332
|
function getDialogInternalCommandEntries() {
|
|
333
333
|
return [
|
|
334
334
|
createEnvCommand(["dialog", "search"], "Search dialog messages across dialogs", async (args2, deps) => {
|
|
335
|
-
const { runDialogSearchCommand } = await import("./dialogCommands-
|
|
335
|
+
const { runDialogSearchCommand } = await import("./dialogCommands-IIBAS4I2.js");
|
|
336
336
|
return runDialogSearchCommand(args2, deps);
|
|
337
337
|
}),
|
|
338
338
|
createEnvCommand(["dialog", "list"], "List dialogs (default --limit 50; --all/--limit 0 full; --jsonl streams)", async (args2, deps) => {
|
|
339
|
-
const { runDialogListCommand } = await import("./dialogCommands-
|
|
339
|
+
const { runDialogListCommand } = await import("./dialogCommands-IIBAS4I2.js");
|
|
340
340
|
return runDialogListCommand(args2, deps);
|
|
341
341
|
}),
|
|
342
342
|
createEnvCommand(["dialog", "delete"], "Delete one or more dialogs", async (args2, deps) => {
|
|
343
|
-
const { runDialogDeleteCommand } = await import("./dialogCommands-
|
|
343
|
+
const { runDialogDeleteCommand } = await import("./dialogCommands-IIBAS4I2.js");
|
|
344
344
|
return runDialogDeleteCommand(args2, deps);
|
|
345
345
|
}),
|
|
346
346
|
createEnvCommand(["dialog", "query"], "Query dialogs by subject refs (default --limit 50; --all full; --jsonl streams)", async (args2, deps) => {
|
|
347
|
-
const { runDialogQueryCommand } = await import("./dialogCommands-
|
|
347
|
+
const { runDialogQueryCommand } = await import("./dialogCommands-IIBAS4I2.js");
|
|
348
348
|
return runDialogQueryCommand(args2, deps);
|
|
349
349
|
}),
|
|
350
350
|
createEnvCommand(["dialog", "read"], "Read a dialog", async (args2, deps) => {
|
|
351
|
-
const { runDialogReadCommand } = await import("./dialogCommands-
|
|
351
|
+
const { runDialogReadCommand } = await import("./dialogCommands-IIBAS4I2.js");
|
|
352
352
|
return runDialogReadCommand(args2, deps);
|
|
353
353
|
}),
|
|
354
354
|
createEnvCommand(["dialog", "status"], "Read compact dialog status", async (args2, deps) => {
|
|
355
|
-
const { runDialogStatusCommand } = await import("./dialogCommands-
|
|
355
|
+
const { runDialogStatusCommand } = await import("./dialogCommands-IIBAS4I2.js");
|
|
356
356
|
return runDialogStatusCommand(args2, deps);
|
|
357
357
|
})
|
|
358
358
|
];
|
|
@@ -362,39 +362,39 @@ function getDialogInternalCommandEntries() {
|
|
|
362
362
|
function getDocInternalCommandEntries() {
|
|
363
363
|
return [
|
|
364
364
|
createEnvCommand(["doc", "create"], "Create a normal doc", async (args2, deps) => {
|
|
365
|
-
const { runDocCreateCommand } = await import("./docCreateCommands-
|
|
365
|
+
const { runDocCreateCommand } = await import("./docCreateCommands-RJBSWEY4.js");
|
|
366
366
|
return runDocCreateCommand(args2, deps);
|
|
367
367
|
}),
|
|
368
368
|
createEnvCommand(["doc", "read"], "Read a normal doc", async (args2, deps) => {
|
|
369
|
-
const { runDocReadCommand } = await import("./docReadCommands-
|
|
369
|
+
const { runDocReadCommand } = await import("./docReadCommands-AJG2EFHB.js");
|
|
370
370
|
return runDocReadCommand(args2, deps);
|
|
371
371
|
}),
|
|
372
372
|
createEnvCommand(["doc", "update"], "Update a normal doc", async (args2, deps) => {
|
|
373
|
-
const { runDocUpdateCommand } = await import("./docUpdateCommands-
|
|
373
|
+
const { runDocUpdateCommand } = await import("./docUpdateCommands-KWG533GS.js");
|
|
374
374
|
return runDocUpdateCommand(args2, deps);
|
|
375
375
|
}),
|
|
376
376
|
createEnvCommand(["doc", "delete"], "Delete a normal doc", async (args2, deps) => {
|
|
377
|
-
const { runDocDeleteCommand } = await import("./docDeleteCommands-
|
|
377
|
+
const { runDocDeleteCommand } = await import("./docDeleteCommands-QSDETKEQ.js");
|
|
378
378
|
return runDocDeleteCommand(args2, deps);
|
|
379
379
|
}),
|
|
380
380
|
createEnvCommand(["skill-doc", "create"], "Create a skill-backed doc", async (args2, deps) => {
|
|
381
|
-
const { runSkillDocCreateCommand } = await import("./docCreateCommands-
|
|
381
|
+
const { runSkillDocCreateCommand } = await import("./docCreateCommands-RJBSWEY4.js");
|
|
382
382
|
return runSkillDocCreateCommand(args2, deps);
|
|
383
383
|
}),
|
|
384
384
|
createEnvCommand(["skill", "create-doc"], "Create a skill-backed doc", async (args2, deps) => {
|
|
385
|
-
const { runSkillDocCreateCommand } = await import("./docCreateCommands-
|
|
385
|
+
const { runSkillDocCreateCommand } = await import("./docCreateCommands-RJBSWEY4.js");
|
|
386
386
|
return runSkillDocCreateCommand(args2, deps);
|
|
387
387
|
}),
|
|
388
388
|
createEnvCommand(["skill-doc", "read"], "Read a skill doc", async (args2, deps) => {
|
|
389
|
-
const { runSkillDocReadCommand } = await import("./docReadCommands-
|
|
389
|
+
const { runSkillDocReadCommand } = await import("./docReadCommands-AJG2EFHB.js");
|
|
390
390
|
return runSkillDocReadCommand(args2, deps);
|
|
391
391
|
}),
|
|
392
392
|
createEnvCommand(["skill-doc", "update"], "Update a skill doc", async (args2, deps) => {
|
|
393
|
-
const { runSkillDocUpdateCommand } = await import("./docUpdateCommands-
|
|
393
|
+
const { runSkillDocUpdateCommand } = await import("./docUpdateCommands-KWG533GS.js");
|
|
394
394
|
return runSkillDocUpdateCommand(args2, deps);
|
|
395
395
|
}),
|
|
396
396
|
createEnvCommand(["skill-doc", "delete"], "Delete a skill doc", async (args2, deps) => {
|
|
397
|
-
const { runSkillDocDeleteCommand } = await import("./docDeleteCommands-
|
|
397
|
+
const { runSkillDocDeleteCommand } = await import("./docDeleteCommands-QSDETKEQ.js");
|
|
398
398
|
return runSkillDocDeleteCommand(args2, deps);
|
|
399
399
|
})
|
|
400
400
|
];
|
|
@@ -422,19 +422,19 @@ function getMemoryInternalCommandEntries() {
|
|
|
422
422
|
function getSpaceInternalCommandEntries() {
|
|
423
423
|
return [
|
|
424
424
|
createEnvCommand(["space", "create"], "Create a space", async (args2, deps) => {
|
|
425
|
-
const { runSpaceCreateCommand } = await import("./spaceCommands-
|
|
425
|
+
const { runSpaceCreateCommand } = await import("./spaceCommands-WIJTLELT.js");
|
|
426
426
|
return runSpaceCreateCommand(args2, deps);
|
|
427
427
|
}),
|
|
428
428
|
createEnvCommand(["space", "invite"], "Invite an existing user to a space", async (args2, deps) => {
|
|
429
|
-
const { runSpaceInviteCommand } = await import("./spaceCommands-
|
|
429
|
+
const { runSpaceInviteCommand } = await import("./spaceCommands-WIJTLELT.js");
|
|
430
430
|
return runSpaceInviteCommand(args2, deps);
|
|
431
431
|
}),
|
|
432
432
|
createEnvCommand(["space", "accept-invite"], "Accept a space invite", async (args2, deps) => {
|
|
433
|
-
const { runSpaceAcceptInviteCommand } = await import("./spaceCommands-
|
|
433
|
+
const { runSpaceAcceptInviteCommand } = await import("./spaceCommands-WIJTLELT.js");
|
|
434
434
|
return runSpaceAcceptInviteCommand(args2, deps);
|
|
435
435
|
}),
|
|
436
436
|
createEnvCommand(["space", "upload"], "Upload a file to a space", async (args2, deps) => {
|
|
437
|
-
const { runSpaceUploadCommand } = await import("./spaceCommands-
|
|
437
|
+
const { runSpaceUploadCommand } = await import("./spaceCommands-WIJTLELT.js");
|
|
438
438
|
return runSpaceUploadCommand(args2, deps);
|
|
439
439
|
})
|
|
440
440
|
];
|
|
@@ -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-TIOYSD74.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-TIOYSD74.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-TIOYSD74.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-HGWW2JCK.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-3M5X4UJR.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-A3JG6ALR.js";
|
|
12
12
|
import "./chunk-53HEEOTT.js";
|
|
13
13
|
import "./chunk-EADNWBAZ.js";
|
|
14
14
|
import "./chunk-SH43IESU.js";
|
|
@@ -69,7 +69,7 @@ import "./chunk-KHCLMKZZ.js";
|
|
|
69
69
|
import {
|
|
70
70
|
PATH_FIELD_ALIASES,
|
|
71
71
|
createLocalWorkspaceToolExecutors
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-4MY4GLIW.js";
|
|
73
73
|
import "./chunk-OF7AQZUG.js";
|
|
74
74
|
import "./chunk-Q5FJJ6XI.js";
|
|
75
75
|
import "./chunk-ZNFJWEN4.js";
|
|
@@ -11,8 +11,8 @@ import {
|
|
|
11
11
|
runtimeWorkspacePermissionPolicy,
|
|
12
12
|
scopePermissionPolicyToRuntimeWorkspace,
|
|
13
13
|
summarizeAgentConfigForLogs
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-3M5X4UJR.js";
|
|
15
|
+
import "./chunk-A3JG6ALR.js";
|
|
16
16
|
import "./chunk-53HEEOTT.js";
|
|
17
17
|
import "./chunk-EADNWBAZ.js";
|
|
18
18
|
import "./chunk-SH43IESU.js";
|
|
@@ -65,7 +65,7 @@ import "./chunk-JRQFUXY7.js";
|
|
|
65
65
|
import "./chunk-DHDMC6FO.js";
|
|
66
66
|
import "./chunk-Q554LLSI.js";
|
|
67
67
|
import "./chunk-KHCLMKZZ.js";
|
|
68
|
-
import "./chunk-
|
|
68
|
+
import "./chunk-4MY4GLIW.js";
|
|
69
69
|
import "./chunk-OF7AQZUG.js";
|
|
70
70
|
import "./chunk-Q5FJJ6XI.js";
|
|
71
71
|
import "./chunk-ZNFJWEN4.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-YLALY5NG.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-A3JG6ALR.js";
|
|
100
100
|
import "./chunk-53HEEOTT.js";
|
|
101
101
|
import "./chunk-EADNWBAZ.js";
|
|
102
102
|
import "./chunk-SH43IESU.js";
|
|
@@ -205,7 +205,7 @@ import {
|
|
|
205
205
|
formatToolOverflowMarker,
|
|
206
206
|
getProcessRegistry,
|
|
207
207
|
readCommandActionGatePayload
|
|
208
|
-
} from "./chunk-
|
|
208
|
+
} from "./chunk-4MY4GLIW.js";
|
|
209
209
|
import "./chunk-OF7AQZUG.js";
|
|
210
210
|
import "./chunk-Q5FJJ6XI.js";
|
|
211
211
|
import "./chunk-ZNFJWEN4.js";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
import "./chunk-Z77CRGTW.js";
|
|
12
12
|
import "./chunk-SV5IJK6K.js";
|
|
13
13
|
import "./chunk-KQHGZWSV.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-4MY4GLIW.js";
|
|
15
15
|
import "./chunk-OF7AQZUG.js";
|
|
16
16
|
import "./chunk-Q5FJJ6XI.js";
|
|
17
17
|
import "./chunk-ZNFJWEN4.js";
|