nolo-cli 0.160.0-alpha.4 → 0.160.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/{agentDeleteCommand-ON2KVSJ5.js → agentDeleteCommand-74EL5T7G.js} +1 -1
- package/{agentEmailCommands-2QPD5VP3.js → agentEmailCommands-ST7HL3E7.js} +2 -2
- package/{agentMachineCommands-V44DPSED.js → agentMachineCommands-JSQPNSS5.js} +1 -1
- package/{agentRecordCommands-CKILCNQZ.js → agentRecordCommands-JWW5NQQ7.js} +2 -2
- package/{agentRunCommand-6IN7NK7H.js → agentRunCommand-UTBBUSHP.js} +2 -2
- package/{chunk-ZSLIYVIQ.js → chunk-BMCPKNL2.js} +1 -1
- package/{chunk-UY73HNIN.js → chunk-BO3ARJRK.js} +121 -25
- package/{chunk-JSB2OPQT.js → chunk-CXCMXNME.js} +1 -1
- package/{chunk-EVPKKBSI.js → chunk-OWCHFPWR.js} +1 -1
- package/{commandRegistry-76FLRKYQ.js → commandRegistry-HPL2KOVB.js} +15 -15
- package/index.js +3 -3
- package/{localRuntimeAdapter-MO64KEOS.js → localRuntimeAdapter-74L7FLMW.js} +1 -1
- package/{machineCommands-7MBJJY4K.js → machineCommands-BUZTMLYD.js} +2 -2
- package/{machineWsRunDispatch-T4LFRJL3.js → machineWsRunDispatch-CCDVG5AO.js} +2 -2
- package/package.json +1 -1
- package/{readlineWorkspace-WRV322AB.js → readlineWorkspace-MS2ZIQ2P.js} +2 -2
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-I7S63QUU.js";
|
|
5
5
|
import {
|
|
6
6
|
runAgentCreateCommand
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-BMCPKNL2.js";
|
|
8
8
|
import "./chunk-U4STABYN.js";
|
|
9
9
|
import {
|
|
10
10
|
positionalArgs,
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
getReadableCliDb
|
|
15
15
|
} from "./chunk-62TBKWTV.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-BO3ARJRK.js";
|
|
17
17
|
import "./chunk-G3VYRPTV.js";
|
|
18
18
|
import "./chunk-6MXDOUMH.js";
|
|
19
19
|
import "./chunk-2AB2HA4M.js";
|
|
@@ -93,7 +93,7 @@ async function defaultExecuteCli(provider, prompt, options) {
|
|
|
93
93
|
return executeCli(provider, prompt, options);
|
|
94
94
|
}
|
|
95
95
|
async function forwardConnectorRunMessage(machine, message, pushMessage, executeCli, env, fetchImpl) {
|
|
96
|
-
const { handleConnectorRunMessage } = await import("./machineWsRunDispatch-
|
|
96
|
+
const { handleConnectorRunMessage } = await import("./machineWsRunDispatch-CCDVG5AO.js");
|
|
97
97
|
return handleConnectorRunMessage(message, pushMessage, executeCli, env, fetchImpl);
|
|
98
98
|
}
|
|
99
99
|
async function detectLaunchableMachineInfo() {
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
runAgentCreateCommand,
|
|
3
3
|
runAgentReadCommand,
|
|
4
4
|
runAgentUpdateCommand
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-BMCPKNL2.js";
|
|
6
6
|
import "./chunk-U4STABYN.js";
|
|
7
7
|
import "./chunk-62TBKWTV.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-BO3ARJRK.js";
|
|
9
9
|
import "./chunk-G3VYRPTV.js";
|
|
10
10
|
import "./chunk-6MXDOUMH.js";
|
|
11
11
|
import "./chunk-2AB2HA4M.js";
|
|
@@ -9,13 +9,13 @@ import {
|
|
|
9
9
|
resolveRunSettlementNote,
|
|
10
10
|
resolveWorkflowReference,
|
|
11
11
|
runAgentRunCommand
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-CXCMXNME.js";
|
|
13
13
|
import "./chunk-6QDYSCPW.js";
|
|
14
14
|
import {
|
|
15
15
|
parseAgentRunArgs
|
|
16
16
|
} from "./chunk-ZAV4YVEA.js";
|
|
17
17
|
import "./chunk-62TBKWTV.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-BO3ARJRK.js";
|
|
19
19
|
import "./chunk-G3VYRPTV.js";
|
|
20
20
|
import "./chunk-6MXDOUMH.js";
|
|
21
21
|
import "./chunk-2AB2HA4M.js";
|
|
@@ -3532,6 +3532,77 @@ var OWNER_PROXY_BODY_FORBIDDEN_KEYS = [
|
|
|
3532
3532
|
"agentHydratedKey",
|
|
3533
3533
|
"credentialPolicy"
|
|
3534
3534
|
];
|
|
3535
|
+
var OWNER_PROXY_RETRYABLE_STATUSES = /* @__PURE__ */ new Set([429, 503]);
|
|
3536
|
+
var OWNER_PROXY_TOTAL_MAX_ATTEMPTS = 30;
|
|
3537
|
+
var OWNER_PROXY_GENERIC_MAX_ATTEMPTS = 3;
|
|
3538
|
+
var OWNER_PROXY_CORE_DRAINING_MAX_ATTEMPTS = 30;
|
|
3539
|
+
async function readStructuredErrorCode(response) {
|
|
3540
|
+
try {
|
|
3541
|
+
const body = await response.clone().json();
|
|
3542
|
+
const nested = body?.error?.code;
|
|
3543
|
+
if (typeof nested === "string") return nested;
|
|
3544
|
+
return typeof body?.code === "string" ? body.code : null;
|
|
3545
|
+
} catch {
|
|
3546
|
+
return null;
|
|
3547
|
+
}
|
|
3548
|
+
}
|
|
3549
|
+
async function shouldRetryOwnerProxyResponse(response) {
|
|
3550
|
+
if (response.status === 503) {
|
|
3551
|
+
try {
|
|
3552
|
+
const body = await response.clone().json();
|
|
3553
|
+
return body?.reason === "core_draining" || body?.retryable === true;
|
|
3554
|
+
} catch {
|
|
3555
|
+
return false;
|
|
3556
|
+
}
|
|
3557
|
+
}
|
|
3558
|
+
return false;
|
|
3559
|
+
}
|
|
3560
|
+
var OWNER_ORIGIN_MISMATCH_RETRY_BUDGET = {
|
|
3561
|
+
/** 额外尝试次数上限(不含首次请求)。 */
|
|
3562
|
+
maxExtraAttempts: 2,
|
|
3563
|
+
/** 每次额外尝试前的等待时长(ms),按序使用。 */
|
|
3564
|
+
delaysMs: [5e3, 15e3]
|
|
3565
|
+
};
|
|
3566
|
+
function waitWithAbort(ms, signal) {
|
|
3567
|
+
if (signal?.aborted) {
|
|
3568
|
+
return Promise.reject(signal.reason ?? new Error("owner-required proxy aborted"));
|
|
3569
|
+
}
|
|
3570
|
+
return new Promise((resolve4, reject) => {
|
|
3571
|
+
let timer;
|
|
3572
|
+
const cleanup = () => {
|
|
3573
|
+
if (timer !== void 0) clearTimeout(timer);
|
|
3574
|
+
signal?.removeEventListener("abort", onAbort);
|
|
3575
|
+
};
|
|
3576
|
+
const onAbort = () => {
|
|
3577
|
+
cleanup();
|
|
3578
|
+
reject(signal?.reason ?? new Error("owner-required proxy aborted"));
|
|
3579
|
+
};
|
|
3580
|
+
timer = setTimeout(() => {
|
|
3581
|
+
cleanup();
|
|
3582
|
+
resolve4();
|
|
3583
|
+
}, ms);
|
|
3584
|
+
signal?.addEventListener("abort", onAbort, { once: true });
|
|
3585
|
+
});
|
|
3586
|
+
}
|
|
3587
|
+
async function sendWithOwnerOriginMismatchRetry(send, signal, onRetry) {
|
|
3588
|
+
let attempt = await send();
|
|
3589
|
+
for (let extra = 0; extra < OWNER_ORIGIN_MISMATCH_RETRY_BUDGET.maxExtraAttempts; extra += 1) {
|
|
3590
|
+
const response = attempt.response;
|
|
3591
|
+
if (response.status !== 403) return response;
|
|
3592
|
+
const code = await readStructuredErrorCode(response);
|
|
3593
|
+
if (code !== "owner_origin_mismatch") return response;
|
|
3594
|
+
if (attempt.innerRetried) return response;
|
|
3595
|
+
const delayMs = OWNER_ORIGIN_MISMATCH_RETRY_BUDGET.delaysMs[extra] ?? 0;
|
|
3596
|
+
onRetry?.({
|
|
3597
|
+
attempt: extra + 1,
|
|
3598
|
+
maxAttempts: OWNER_ORIGIN_MISMATCH_RETRY_BUDGET.maxExtraAttempts,
|
|
3599
|
+
delayMs
|
|
3600
|
+
});
|
|
3601
|
+
await waitWithAbort(delayMs, signal);
|
|
3602
|
+
attempt = await send();
|
|
3603
|
+
}
|
|
3604
|
+
return attempt.response;
|
|
3605
|
+
}
|
|
3535
3606
|
var resolveOwnerOAuthProxyTransport = async (ctx) => {
|
|
3536
3607
|
const {
|
|
3537
3608
|
agentConfig,
|
|
@@ -3610,32 +3681,57 @@ var resolveOwnerOAuthProxyTransport = async (ctx) => {
|
|
|
3610
3681
|
originSessionId: ownerOriginExecution.origin.sessionId
|
|
3611
3682
|
});
|
|
3612
3683
|
try {
|
|
3613
|
-
|
|
3614
|
-
|
|
3615
|
-
|
|
3616
|
-
|
|
3617
|
-
|
|
3618
|
-
|
|
3619
|
-
|
|
3620
|
-
|
|
3621
|
-
|
|
3622
|
-
|
|
3623
|
-
|
|
3624
|
-
|
|
3625
|
-
|
|
3626
|
-
|
|
3627
|
-
|
|
3628
|
-
|
|
3629
|
-
|
|
3684
|
+
let usedAttempts = 0;
|
|
3685
|
+
const send = async () => {
|
|
3686
|
+
const remaining = Math.max(
|
|
3687
|
+
1,
|
|
3688
|
+
OWNER_PROXY_TOTAL_MAX_ATTEMPTS - usedAttempts
|
|
3689
|
+
);
|
|
3690
|
+
let innerRetries = 0;
|
|
3691
|
+
const response = await fetchWithTransientRetry(
|
|
3692
|
+
fetchImpl,
|
|
3693
|
+
request.url,
|
|
3694
|
+
init,
|
|
3695
|
+
{
|
|
3696
|
+
sleep: deps.sleep,
|
|
3697
|
+
loopbackRequest,
|
|
3698
|
+
// 与 platform-proxy 同口径:网络错误不重放(服务端可能已受理,重放会
|
|
3699
|
+
// 产生重复扣费/重复 tool_calls)。
|
|
3700
|
+
retryableStatuses: OWNER_PROXY_RETRYABLE_STATUSES,
|
|
3701
|
+
shouldRetryResponse: shouldRetryOwnerProxyResponse,
|
|
3702
|
+
retryNetworkErrors: false,
|
|
3703
|
+
// 内层预算按「剩余总额度」裁剪:普通可重试状态码 ≤ 3 次、503
|
|
3704
|
+
// core_draining 排空窗口 ≤ 30 次,且都不超过剩余总额度。
|
|
3705
|
+
maxAttempts: Math.min(
|
|
3706
|
+
OWNER_PROXY_GENERIC_MAX_ATTEMPTS,
|
|
3707
|
+
remaining
|
|
3708
|
+
),
|
|
3709
|
+
coreDrainingMaxAttempts: Math.min(
|
|
3710
|
+
OWNER_PROXY_CORE_DRAINING_MAX_ATTEMPTS,
|
|
3711
|
+
remaining
|
|
3712
|
+
),
|
|
3713
|
+
// 注意:计数必须**无条件**挂在 onRetry 上——若只在有 activityReporter
|
|
3714
|
+
// 时才挂,innerRetries / usedAttempts 会漏计,重试预算就形同虚设。
|
|
3715
|
+
onRetry: ({ attempt, maxAttempts, delayMs }) => {
|
|
3716
|
+
innerRetries += 1;
|
|
3717
|
+
usedAttempts += 1;
|
|
3718
|
+
deps.activityReporter?.(
|
|
3719
|
+
`\u81EA\u52A8\u91CD\u8BD5 ${attempt}/${maxAttempts} \xB7 ${Math.ceil(delayMs / 1e3)}s`
|
|
3720
|
+
);
|
|
3630
3721
|
}
|
|
3631
|
-
}
|
|
3632
|
-
|
|
3633
|
-
|
|
3634
|
-
|
|
3635
|
-
|
|
3636
|
-
|
|
3637
|
-
|
|
3638
|
-
|
|
3722
|
+
}
|
|
3723
|
+
);
|
|
3724
|
+
usedAttempts += 1;
|
|
3725
|
+
return { response, innerRetried: innerRetries > 0 };
|
|
3726
|
+
};
|
|
3727
|
+
const res = await sendWithOwnerOriginMismatchRetry(
|
|
3728
|
+
send,
|
|
3729
|
+
init.signal ?? void 0,
|
|
3730
|
+
deps.activityReporter ? ({ attempt, maxAttempts, delayMs }) => {
|
|
3731
|
+
deps.activityReporter(
|
|
3732
|
+
`\u81EA\u52A8\u91CD\u8BD5 ${attempt}/${maxAttempts} \xB7 ${Math.ceil(delayMs / 1e3)}s`
|
|
3733
|
+
);
|
|
3734
|
+
} : void 0
|
|
3639
3735
|
);
|
|
3640
3736
|
if (!res.ok) {
|
|
3641
3737
|
const raw2 = await res.text().catch(() => "");
|
|
@@ -110,7 +110,7 @@ function createDaemonShortcutCommand(path, description, command) {
|
|
|
110
110
|
// packages/cli/agentInternalCommandEntries.ts
|
|
111
111
|
function getAgentInternalCommandEntries() {
|
|
112
112
|
const createAgentRunCommand = (path, description) => createContextCommand(path, description, async (args, ctx) => {
|
|
113
|
-
const { runAgentRunCommand } = await import("./agentRunCommand-
|
|
113
|
+
const { runAgentRunCommand } = await import("./agentRunCommand-UTBBUSHP.js");
|
|
114
114
|
return runAgentRunCommand(args, {
|
|
115
115
|
env: ctx.env,
|
|
116
116
|
scriptDir: ctx.scriptDir,
|
|
@@ -126,7 +126,7 @@ function getAgentInternalCommandEntries() {
|
|
|
126
126
|
return runAgentListCommand(args, deps);
|
|
127
127
|
}),
|
|
128
128
|
createEnvCommand(["agent", "create"], "Create a new agent", async (args, deps) => {
|
|
129
|
-
const { runAgentCreateCommand } = await import("./agentRecordCommands-
|
|
129
|
+
const { runAgentCreateCommand } = await import("./agentRecordCommands-JWW5NQQ7.js");
|
|
130
130
|
return runAgentCreateCommand(args, deps);
|
|
131
131
|
}),
|
|
132
132
|
createEnvCommand(["agent", "models"], "List models: --preset <id> (server discovery, exit 1 on static fallback) or --url <base> --api-key <key> (OpenAI-compatible /models)", async (args, deps) => {
|
|
@@ -142,7 +142,7 @@ function getAgentInternalCommandEntries() {
|
|
|
142
142
|
return runAgentPullCommand(args, deps);
|
|
143
143
|
}),
|
|
144
144
|
createEnvCommand(["agent", "read"], "Read a single agent", async (args, deps) => {
|
|
145
|
-
const { runAgentReadCommand } = await import("./agentRecordCommands-
|
|
145
|
+
const { runAgentReadCommand } = await import("./agentRecordCommands-JWW5NQQ7.js");
|
|
146
146
|
return runAgentReadCommand(args, deps);
|
|
147
147
|
}),
|
|
148
148
|
createAgentRunCommand(["agent", "run"], "Run an agent"),
|
|
@@ -171,31 +171,31 @@ function getAgentInternalCommandEntries() {
|
|
|
171
171
|
return runSetupOfflineMarxistsAgentCommand(args, deps);
|
|
172
172
|
}),
|
|
173
173
|
createEnvCommand(["agent", "update"], "Update agent fields", async (args, deps) => {
|
|
174
|
-
const { runAgentUpdateCommand } = await import("./agentRecordCommands-
|
|
174
|
+
const { runAgentUpdateCommand } = await import("./agentRecordCommands-JWW5NQQ7.js");
|
|
175
175
|
return runAgentUpdateCommand(args, deps);
|
|
176
176
|
}),
|
|
177
177
|
createEnvCommand(["agent", "email", "provision"], "Provision a controlled inbox for an agent", async (args, deps) => {
|
|
178
|
-
const { runAgentEmailProvisionCommand } = await import("./agentEmailCommands-
|
|
178
|
+
const { runAgentEmailProvisionCommand } = await import("./agentEmailCommands-ST7HL3E7.js");
|
|
179
179
|
return runAgentEmailProvisionCommand(args, deps);
|
|
180
180
|
}),
|
|
181
181
|
createEnvCommand(["agent", "email", "bind"], "Bind an existing email address to an agent", async (args, deps) => {
|
|
182
|
-
const { runAgentEmailBindCommand } = await import("./agentEmailCommands-
|
|
182
|
+
const { runAgentEmailBindCommand } = await import("./agentEmailCommands-ST7HL3E7.js");
|
|
183
183
|
return runAgentEmailBindCommand(args, deps);
|
|
184
184
|
}),
|
|
185
185
|
createEnvCommand(["agent", "email", "transfer"], "Transfer an email identity from one agent to another (cross-account)", async (args, deps) => {
|
|
186
|
-
const { runAgentEmailTransferCommand } = await import("./agentEmailCommands-
|
|
186
|
+
const { runAgentEmailTransferCommand } = await import("./agentEmailCommands-ST7HL3E7.js");
|
|
187
187
|
return runAgentEmailTransferCommand(args, deps);
|
|
188
188
|
}),
|
|
189
189
|
createEnvCommand(
|
|
190
190
|
["agent", "email", "create-and-provision"],
|
|
191
191
|
"Create an agent and provision its controlled inbox",
|
|
192
192
|
async (args, deps) => {
|
|
193
|
-
const { runAgentEmailCreateAndProvisionCommand } = await import("./agentEmailCommands-
|
|
193
|
+
const { runAgentEmailCreateAndProvisionCommand } = await import("./agentEmailCommands-ST7HL3E7.js");
|
|
194
194
|
return runAgentEmailCreateAndProvisionCommand(args, deps);
|
|
195
195
|
}
|
|
196
196
|
),
|
|
197
197
|
createEnvCommand(["agent", "delete"], "Hard-delete an agent's private and public records", async (args, deps) => {
|
|
198
|
-
const { runAgentDeleteCommand } = await import("./agentDeleteCommand-
|
|
198
|
+
const { runAgentDeleteCommand } = await import("./agentDeleteCommand-74EL5T7G.js");
|
|
199
199
|
return runAgentDeleteCommand(args, deps);
|
|
200
200
|
}),
|
|
201
201
|
createEnvCommand(["agent", "grant"], "Grant another user access to this agent's owner credentials", async (args, deps) => {
|
|
@@ -211,15 +211,15 @@ function getAgentInternalCommandEntries() {
|
|
|
211
211
|
return runAgentRevokeGrantCommand(args, deps);
|
|
212
212
|
}),
|
|
213
213
|
createEnvCommand(["agent", "bind-current"], "Bind an agent to this machine", async (args, deps) => {
|
|
214
|
-
const { runAgentBindCurrentCommand } = await import("./agentMachineCommands-
|
|
214
|
+
const { runAgentBindCurrentCommand } = await import("./agentMachineCommands-JSQPNSS5.js");
|
|
215
215
|
return runAgentBindCurrentCommand(args, deps);
|
|
216
216
|
}),
|
|
217
217
|
createEnvCommand(["agent", "smoke-current"], "Smoke test a bound agent through this machine", async (args, deps) => {
|
|
218
|
-
const { runAgentSmokeCurrentCommand } = await import("./agentMachineCommands-
|
|
218
|
+
const { runAgentSmokeCurrentCommand } = await import("./agentMachineCommands-JSQPNSS5.js");
|
|
219
219
|
return runAgentSmokeCurrentCommand(args, deps);
|
|
220
220
|
}),
|
|
221
221
|
createEnvCommand(["agent", "runtime-doctor"], "Diagnose current machine runtime compatibility", async (args, deps) => {
|
|
222
|
-
const { runAgentRuntimeDoctorCommand } = await import("./agentMachineCommands-
|
|
222
|
+
const { runAgentRuntimeDoctorCommand } = await import("./agentMachineCommands-JSQPNSS5.js");
|
|
223
223
|
return runAgentRuntimeDoctorCommand(args, deps);
|
|
224
224
|
}),
|
|
225
225
|
createAgentRunCommand(["agent", "chat"], "Chat with an agent")
|
|
@@ -530,15 +530,15 @@ function getSystemInternalCommandEntries(renderHelpText2) {
|
|
|
530
530
|
return runWhoamiCommand({ args, env: ctx.env });
|
|
531
531
|
}),
|
|
532
532
|
createEntrypointEnvCommand(["connect"], "Send machine heartbeats or hold a connector websocket", async (args, deps) => {
|
|
533
|
-
const { runMachineConnectCommand } = await import("./machineCommands-
|
|
533
|
+
const { runMachineConnectCommand } = await import("./machineCommands-BUZTMLYD.js");
|
|
534
534
|
return runMachineConnectCommand(args, deps);
|
|
535
535
|
}),
|
|
536
536
|
createDaemonShortcutCommand(["daemon"], "Run the connector daemon shortcut", async (args, deps) => {
|
|
537
|
-
const { runMachineConnectCommand } = await import("./machineCommands-
|
|
537
|
+
const { runMachineConnectCommand } = await import("./machineCommands-BUZTMLYD.js");
|
|
538
538
|
return runMachineConnectCommand(args, deps);
|
|
539
539
|
}),
|
|
540
540
|
createEnvCommand(["machine", "status"], "List machines registered to the current profile", async (args, deps) => {
|
|
541
|
-
const { runMachineStatusCommand } = await import("./machineCommands-
|
|
541
|
+
const { runMachineStatusCommand } = await import("./machineCommands-BUZTMLYD.js");
|
|
542
542
|
return runMachineStatusCommand(args, deps);
|
|
543
543
|
}),
|
|
544
544
|
createEnvCommand(["doctor", "runtime"], "Diagnose local-first agent runtime selection", async (args, deps) => {
|
package/index.js
CHANGED
|
@@ -71,9 +71,9 @@ async function runScript(script, forwardedArgs, env) {
|
|
|
71
71
|
return proc.exited;
|
|
72
72
|
}
|
|
73
73
|
async function launchTuiWorkspace(args2) {
|
|
74
|
-
const { startTuiWorkspace } = await import("./readlineWorkspace-
|
|
74
|
+
const { startTuiWorkspace } = await import("./readlineWorkspace-MS2ZIQ2P.js");
|
|
75
75
|
const { createTuiSummaryLlmCaller } = await import("./tuiSummaryLlmCaller-FESHBDTT.js");
|
|
76
|
-
const { setCliAutoCompactionSummaryFallback } = await import("./localRuntimeAdapter-
|
|
76
|
+
const { setCliAutoCompactionSummaryFallback } = await import("./localRuntimeAdapter-74L7FLMW.js");
|
|
77
77
|
setCliAutoCompactionSummaryFallback(
|
|
78
78
|
createTuiSummaryLlmCaller(args2.env, { timeoutMs: 3e4 })
|
|
79
79
|
);
|
|
@@ -85,7 +85,7 @@ async function launchTuiWorkspace(args2) {
|
|
|
85
85
|
});
|
|
86
86
|
}
|
|
87
87
|
async function main() {
|
|
88
|
-
const { createCliRuntimeContext, looksLikeDaemonShortcut, renderHelpText, resolveCommand, runResolvedCommand } = await import("./commandRegistry-
|
|
88
|
+
const { createCliRuntimeContext, looksLikeDaemonShortcut, renderHelpText, resolveCommand, runResolvedCommand } = await import("./commandRegistry-HPL2KOVB.js");
|
|
89
89
|
const { buildCliRuntimeEnv, loadProfileConfig } = await import("./profileConfig-KN3N2BLF.js");
|
|
90
90
|
const { resolveTuiLaunchMode } = await import("./runtimeModeArgs-2Y7BALTO.js");
|
|
91
91
|
const runtimeEnv = {
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
buildMachinePermissionPromptBlock,
|
|
3
3
|
handleConnectorRunMessage,
|
|
4
4
|
resolveMachineRunPermissionPolicy
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-OWCHFPWR.js";
|
|
6
6
|
import {
|
|
7
7
|
MAX_CONNECTOR_TIMER_DELAY_MS,
|
|
8
8
|
clampConnectorTimerDelayMs,
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
resolveConnectorProbeTimeoutMs,
|
|
12
12
|
resolveConnectorWebSocketTarget
|
|
13
13
|
} from "./chunk-BLVSFYQ3.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-BO3ARJRK.js";
|
|
15
15
|
import "./chunk-G3VYRPTV.js";
|
|
16
16
|
import "./chunk-6MXDOUMH.js";
|
|
17
17
|
import "./chunk-2AB2HA4M.js";
|
|
@@ -11,8 +11,8 @@ import {
|
|
|
11
11
|
runtimeWorkspacePermissionPolicy,
|
|
12
12
|
scopePermissionPolicyToRuntimeWorkspace,
|
|
13
13
|
summarizeAgentConfigForLogs
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-OWCHFPWR.js";
|
|
15
|
+
import "./chunk-BO3ARJRK.js";
|
|
16
16
|
import "./chunk-G3VYRPTV.js";
|
|
17
17
|
import "./chunk-6MXDOUMH.js";
|
|
18
18
|
import "./chunk-2AB2HA4M.js";
|
package/package.json
CHANGED
|
@@ -90,7 +90,7 @@ import {
|
|
|
90
90
|
wrapTextToLines,
|
|
91
91
|
wrapTranscriptLine,
|
|
92
92
|
wrapTranscriptLineWithLayout
|
|
93
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-CXCMXNME.js";
|
|
94
94
|
import "./chunk-6QDYSCPW.js";
|
|
95
95
|
import "./chunk-ZAV4YVEA.js";
|
|
96
96
|
import {
|
|
@@ -102,7 +102,7 @@ import {
|
|
|
102
102
|
createCliLocalRuntimeAdapter,
|
|
103
103
|
createOriginShellGrant,
|
|
104
104
|
readTimestamp
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-BO3ARJRK.js";
|
|
106
106
|
import "./chunk-G3VYRPTV.js";
|
|
107
107
|
import "./chunk-6MXDOUMH.js";
|
|
108
108
|
import {
|