nolo-cli 0.108.0 → 0.108.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-RVAKYU4J.js → _executeModel-T7PIVJIW.js} +13 -13
- package/{agentDeleteCommand-T5MDAOE7.js → agentDeleteCommand-VIDCZAFG.js} +10 -10
- package/{agentEmailCommands-UWBQSKLI.js → agentEmailCommands-PCHDY4ZP.js} +11 -11
- package/{agentListCommands-2Q456VYS.js → agentListCommands-QNUAN3YH.js} +2 -2
- package/{agentMachineCommands-FPJJ4DCF.js → agentMachineCommands-C2TMTQNU.js} +1 -1
- package/{agentRecordCommands-3JGDR4NN.js → agentRecordCommands-T4XAUFF5.js} +11 -11
- package/{agentRunCommand-3NQOP3SD.js → agentRunCommand-T3AW43I6.js} +11 -11
- package/{agentSlice-R4W6MCEW.js → agentSlice-HBGFNXUG.js} +1 -1
- package/{chunk-ROXFUKKL.js → chunk-2DRYS3G3.js} +8 -8
- package/{chunk-YZZLKXCQ.js → chunk-2FY3GHBV.js} +9 -9
- package/{chunk-WVES4PHL.js → chunk-5YJWHTKD.js} +2 -2
- package/{chunk-YSZQSZR2.js → chunk-7B3BVGU3.js} +1 -1
- package/{chunk-7YVPCIEN.js → chunk-AI7XJMMQ.js} +5 -5
- package/{chunk-P6KLYCL3.js → chunk-AWYWIWTU.js} +1 -1
- package/{chunk-SP4WCECG.js → chunk-B77W7P7J.js} +1 -1
- package/{chunk-26UZ2Y4Z.js → chunk-FBLRSLZH.js} +2 -2
- package/{chunk-IRG4OKY6.js → chunk-IN5UVHHP.js} +2 -2
- package/{chunk-RRPT5CGT.js → chunk-JGLKZGGZ.js} +2 -2
- package/{chunk-X2VPXJZC.js → chunk-JKDL7BRF.js} +2 -2
- package/{chunk-DGDGNYI5.js → chunk-JONVI6DK.js} +2 -2
- package/{chunk-QH2QSBGP.js → chunk-KWEDNOZZ.js} +6 -6
- package/{chunk-KN6MKCS5.js → chunk-L5YKEQLD.js} +4 -4
- package/{chunk-EXR4XCFE.js → chunk-MDOZSLDE.js} +3 -3
- package/{chunk-IUTHWIZQ.js → chunk-QRFI5NHO.js} +7 -7
- package/{chunk-UPFOOGHU.js → chunk-UIYVU3S4.js} +1 -1
- package/{chunk-V5DCOM6G.js → chunk-XRXYRHE5.js} +2 -0
- package/{chunk-PS6XSDHW.js → chunk-ZR5RAAVI.js} +2 -2
- package/{commandRegistry-C25O2ARU.js → commandRegistry-3XWUYELA.js} +16 -16
- package/{contentThunks-UWODFKX6.js → contentThunks-ALRPUDRE.js} +3 -3
- package/{createAgentAutomationAction-SA4IA4CR.js → createAgentAutomationAction-XXRXCDFJ.js} +3 -3
- package/{createDialogAction-EDK5IMRG.js → createDialogAction-FVSAW7WZ.js} +4 -4
- package/{createPageAction-VYVF5EIZ.js → createPageAction-RT6DPYP5.js} +3 -3
- package/{dialogSlice-EEDP6PJ3.js → dialogSlice-GFCT74GI.js} +2 -2
- package/{docStore-RB7YBD4Y.js → docStore-Z7KBPFXX.js} +1 -1
- package/{handleSendMessageAction-TYDPIC6O.js → handleSendMessageAction-NRKUSHK2.js} +7 -7
- package/index.js +3 -3
- package/{localRuntimeAdapter-VYB2QTU3.js → localRuntimeAdapter-S6UEEOSA.js} +10 -10
- package/{machineCommands-IQRRLSYP.js → machineCommands-IQYHOOVH.js} +11 -11
- package/{machineWsRunDispatch-LIMM5CYE.js → machineWsRunDispatch-3ZUMZUGP.js} +11 -11
- package/package.json +1 -1
- package/{readlineWorkspace-P3I7ZJUP.js → readlineWorkspace-BCDVMOR5.js} +12 -12
- package/{runAgentClientLoop-AYNL3KMJ.js → runAgentClientLoop-5RBD3DE6.js} +11 -11
- package/{streamAgentChatTurn-O5T3B4B3.js → streamAgentChatTurn-YJTEHUH7.js} +71 -24
- package/{tools-UMU2DYQX.js → tools-ZT4GXXDQ.js} +8 -8
- package/{updateDialogTitleAction-TIS2SETN.js → updateDialogTitleAction-2PQTFUUV.js} +3 -3
|
@@ -50,7 +50,7 @@ import {
|
|
|
50
50
|
import {
|
|
51
51
|
inlineImageUrlsForCustomProvider,
|
|
52
52
|
prepareTools
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-5YJWHTKD.js";
|
|
54
54
|
import {
|
|
55
55
|
getServerProviderSecret
|
|
56
56
|
} from "./chunk-HS7MLR74.js";
|
|
@@ -66,18 +66,18 @@ import {
|
|
|
66
66
|
readXhsProfileFunc,
|
|
67
67
|
readXhsProfileFunctionSchema,
|
|
68
68
|
rememberMemoryFunctionSchema
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-2FY3GHBV.js";
|
|
70
70
|
import {
|
|
71
71
|
deriveCredentialGroup,
|
|
72
72
|
deriveCustomProviderCredentialGroup
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-XRXYRHE5.js";
|
|
74
74
|
import {
|
|
75
75
|
fetchWithTransientRetry,
|
|
76
76
|
isTransientFetchError
|
|
77
77
|
} from "./chunk-APO5TOXO.js";
|
|
78
78
|
import {
|
|
79
79
|
resolveAgentRequiredPackIds
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-JONVI6DK.js";
|
|
81
81
|
import {
|
|
82
82
|
getModelPricing
|
|
83
83
|
} from "./chunk-PFEK4SA2.js";
|
|
@@ -88,7 +88,7 @@ import {
|
|
|
88
88
|
prepareTokenUsageData,
|
|
89
89
|
resolveBuiltinPlatformAgentConfig,
|
|
90
90
|
runKeyed
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-2DRYS3G3.js";
|
|
92
92
|
import {
|
|
93
93
|
BUILTIN_DIALOG_LLM_CHAT_FALLBACK_MODEL,
|
|
94
94
|
BUILTIN_TITLE_LLM_CONFIG
|
|
@@ -98,7 +98,7 @@ import {
|
|
|
98
98
|
} from "./chunk-UKZX3NHN.js";
|
|
99
99
|
import {
|
|
100
100
|
fetchServerSyncedCredential
|
|
101
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-MDOZSLDE.js";
|
|
102
102
|
import {
|
|
103
103
|
FORCED_TOOLS,
|
|
104
104
|
addDefaultLightWebToolsForConfiguredAgents,
|
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
resolveBoundMachineId,
|
|
48
48
|
resolveFileWriteGateEnabled,
|
|
49
49
|
resolveLocalUserId
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-KWEDNOZZ.js";
|
|
51
51
|
import {
|
|
52
52
|
clearCredentialAvailability,
|
|
53
53
|
readCredentialEntry,
|
|
@@ -79,7 +79,7 @@ import {
|
|
|
79
79
|
import {
|
|
80
80
|
parseUiCard,
|
|
81
81
|
uiCardFallback
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-JONVI6DK.js";
|
|
83
83
|
import {
|
|
84
84
|
isGatewayHttpStatus
|
|
85
85
|
} from "./chunk-NF64D32W.js";
|
|
@@ -91,11 +91,11 @@ import {
|
|
|
91
91
|
chooseMemoryOwners,
|
|
92
92
|
loadMemoryCandidatesFromDb,
|
|
93
93
|
resolveAgentMemoryPolicy
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-FBLRSLZH.js";
|
|
95
95
|
import {
|
|
96
96
|
API_REPORTED_COST_MULTIPLIER,
|
|
97
97
|
parseUiAskChoiceContent
|
|
98
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-2DRYS3G3.js";
|
|
99
99
|
import {
|
|
100
100
|
isOAuthApiKeyRef
|
|
101
101
|
} from "./chunk-UKZX3NHN.js";
|
|
@@ -306,7 +306,7 @@ var slice = createSliceWithThunks({
|
|
|
306
306
|
const overrides = {};
|
|
307
307
|
if (args.systemPromptOverride !== void 0) overrides.prompt = args.systemPromptOverride;
|
|
308
308
|
if (args.toolsOverride !== void 0) overrides.tools = args.toolsOverride;
|
|
309
|
-
const { _executeModel } = await import("./_executeModel-
|
|
309
|
+
const { _executeModel } = await import("./_executeModel-T7PIVJIW.js");
|
|
310
310
|
return _executeModel(
|
|
311
311
|
{
|
|
312
312
|
isStreaming: args.isStreaming ?? false,
|
|
@@ -327,7 +327,7 @@ var slice = createSliceWithThunks({
|
|
|
327
327
|
* - 循环直到无工具调用或触发其他运行时停止条件
|
|
328
328
|
*/
|
|
329
329
|
runAgent: create.asyncThunk(async (args, thunkApi) => {
|
|
330
|
-
const { runAgentClientLoop } = await import("./runAgentClientLoop-
|
|
330
|
+
const { runAgentClientLoop } = await import("./runAgentClientLoop-5RBD3DE6.js");
|
|
331
331
|
const { content: loopContent, toolCallCount } = await runAgentClientLoop(
|
|
332
332
|
{
|
|
333
333
|
agentKey: args.agentKey,
|
|
@@ -343,7 +343,7 @@ var slice = createSliceWithThunks({
|
|
|
343
343
|
* 聊天轮次流式 Agent 调用
|
|
344
344
|
*/
|
|
345
345
|
streamAgentChatTurn: create.asyncThunk(async (args, thunkApi) => {
|
|
346
|
-
const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-
|
|
346
|
+
const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-YJTEHUH7.js");
|
|
347
347
|
return streamAgentChatTurnHandler(args, thunkApi);
|
|
348
348
|
}),
|
|
349
349
|
/**
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
inlineImageUrlsForCustomProvider,
|
|
6
6
|
prepareTools,
|
|
7
7
|
shouldInlineImageUrlsForAgent
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-5YJWHTKD.js";
|
|
9
9
|
import {
|
|
10
10
|
CONFIRMATION_INPUT_KEYS,
|
|
11
11
|
INVALID_TOOL_ARGS_REPLACEMENT,
|
|
@@ -14,15 +14,15 @@ import {
|
|
|
14
14
|
performFetchRequest,
|
|
15
15
|
sanitizeOutboundMessages,
|
|
16
16
|
stripModelToolArgs
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-JGLKZGGZ.js";
|
|
18
18
|
import {
|
|
19
19
|
findToolExecutor,
|
|
20
20
|
toolDefinitionsByName
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-2FY3GHBV.js";
|
|
22
22
|
import {
|
|
23
23
|
classifyApiError,
|
|
24
24
|
classifyGenerationError
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-IN5UVHHP.js";
|
|
26
26
|
import {
|
|
27
27
|
createSSEParser,
|
|
28
28
|
createToolRunId,
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
toolRunSetPending,
|
|
32
32
|
toolRunStarted,
|
|
33
33
|
toolRunSucceeded
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-JONVI6DK.js";
|
|
35
35
|
import {
|
|
36
36
|
getPublicImageAgentMode
|
|
37
37
|
} from "./chunk-VIDPVFP3.js";
|
|
@@ -44,10 +44,10 @@ import {
|
|
|
44
44
|
messageStreaming,
|
|
45
45
|
toolResultNeedsUserConfirmation,
|
|
46
46
|
updateToolMessage
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-2DRYS3G3.js";
|
|
48
48
|
import {
|
|
49
49
|
streamAgentChatTurn
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-MDOZSLDE.js";
|
|
51
51
|
import {
|
|
52
52
|
addActiveController,
|
|
53
53
|
removeActiveController,
|
|
@@ -675,9 +675,11 @@ function assembleAgentDiscoveryResult(options) {
|
|
|
675
675
|
}
|
|
676
676
|
|
|
677
677
|
export {
|
|
678
|
+
resolveBillingSource,
|
|
678
679
|
deriveCredentialGroup,
|
|
679
680
|
deriveCustomProviderCredentialGroup,
|
|
680
681
|
summarizeCredentialGroups,
|
|
682
|
+
isOwnedAgentRecord,
|
|
681
683
|
resolveDiscoveryScope,
|
|
682
684
|
matchesAgentQuery,
|
|
683
685
|
buildAgentDiscoveryResult,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createCliLocalRuntimeAdapter,
|
|
3
3
|
summarizeEndpoint
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-KWEDNOZZ.js";
|
|
5
5
|
import {
|
|
6
6
|
t
|
|
7
7
|
} from "./chunk-6CCAXGFK.js";
|
|
8
8
|
import {
|
|
9
9
|
clipMultilineText
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-JONVI6DK.js";
|
|
11
11
|
import {
|
|
12
12
|
runLocalAgentTurn
|
|
13
13
|
} from "./chunk-NLEJWKF5.js";
|
|
@@ -107,7 +107,7 @@ function createDaemonShortcutCommand(path, description, command) {
|
|
|
107
107
|
// packages/cli/agentInternalCommandEntries.ts
|
|
108
108
|
function getAgentInternalCommandEntries() {
|
|
109
109
|
const createAgentRunCommand = (path, description) => createContextCommand(path, description, async (args, ctx) => {
|
|
110
|
-
const { runAgentRunCommand } = await import("./agentRunCommand-
|
|
110
|
+
const { runAgentRunCommand } = await import("./agentRunCommand-T3AW43I6.js");
|
|
111
111
|
return runAgentRunCommand(args, {
|
|
112
112
|
env: ctx.env,
|
|
113
113
|
scriptDir: ctx.scriptDir,
|
|
@@ -119,11 +119,11 @@ function getAgentInternalCommandEntries() {
|
|
|
119
119
|
createAgentRunCommand(["run"], "Run a no-login local agent in this workspace"),
|
|
120
120
|
createAgentRunCommand(["chat"], "Chat with an agent"),
|
|
121
121
|
createEnvCommand(["agent", "list"], "List owned agents", async (args, deps) => {
|
|
122
|
-
const { runAgentListCommand } = await import("./agentListCommands-
|
|
122
|
+
const { runAgentListCommand } = await import("./agentListCommands-QNUAN3YH.js");
|
|
123
123
|
return runAgentListCommand(args, deps);
|
|
124
124
|
}),
|
|
125
125
|
createEnvCommand(["agent", "create"], "Create a new agent", async (args, deps) => {
|
|
126
|
-
const { runAgentCreateCommand } = await import("./agentRecordCommands-
|
|
126
|
+
const { runAgentCreateCommand } = await import("./agentRecordCommands-T4XAUFF5.js");
|
|
127
127
|
return runAgentCreateCommand(args, deps);
|
|
128
128
|
}),
|
|
129
129
|
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) => {
|
|
@@ -139,7 +139,7 @@ function getAgentInternalCommandEntries() {
|
|
|
139
139
|
return runAgentPullCommand(args, deps);
|
|
140
140
|
}),
|
|
141
141
|
createEnvCommand(["agent", "read"], "Read a single agent", async (args, deps) => {
|
|
142
|
-
const { runAgentReadCommand } = await import("./agentRecordCommands-
|
|
142
|
+
const { runAgentReadCommand } = await import("./agentRecordCommands-T4XAUFF5.js");
|
|
143
143
|
return runAgentReadCommand(args, deps);
|
|
144
144
|
}),
|
|
145
145
|
createAgentRunCommand(["agent", "run"], "Run an agent"),
|
|
@@ -168,31 +168,31 @@ function getAgentInternalCommandEntries() {
|
|
|
168
168
|
return runSetupOfflineMarxistsAgentCommand(args, deps);
|
|
169
169
|
}),
|
|
170
170
|
createEnvCommand(["agent", "update"], "Update agent fields", async (args, deps) => {
|
|
171
|
-
const { runAgentUpdateCommand } = await import("./agentRecordCommands-
|
|
171
|
+
const { runAgentUpdateCommand } = await import("./agentRecordCommands-T4XAUFF5.js");
|
|
172
172
|
return runAgentUpdateCommand(args, deps);
|
|
173
173
|
}),
|
|
174
174
|
createEnvCommand(["agent", "email", "provision"], "Provision a controlled inbox for an agent", async (args, deps) => {
|
|
175
|
-
const { runAgentEmailProvisionCommand } = await import("./agentEmailCommands-
|
|
175
|
+
const { runAgentEmailProvisionCommand } = await import("./agentEmailCommands-PCHDY4ZP.js");
|
|
176
176
|
return runAgentEmailProvisionCommand(args, deps);
|
|
177
177
|
}),
|
|
178
178
|
createEnvCommand(["agent", "email", "bind"], "Bind an existing email address to an agent", async (args, deps) => {
|
|
179
|
-
const { runAgentEmailBindCommand } = await import("./agentEmailCommands-
|
|
179
|
+
const { runAgentEmailBindCommand } = await import("./agentEmailCommands-PCHDY4ZP.js");
|
|
180
180
|
return runAgentEmailBindCommand(args, deps);
|
|
181
181
|
}),
|
|
182
182
|
createEnvCommand(["agent", "email", "transfer"], "Transfer an email identity from one agent to another (cross-account)", async (args, deps) => {
|
|
183
|
-
const { runAgentEmailTransferCommand } = await import("./agentEmailCommands-
|
|
183
|
+
const { runAgentEmailTransferCommand } = await import("./agentEmailCommands-PCHDY4ZP.js");
|
|
184
184
|
return runAgentEmailTransferCommand(args, deps);
|
|
185
185
|
}),
|
|
186
186
|
createEnvCommand(
|
|
187
187
|
["agent", "email", "create-and-provision"],
|
|
188
188
|
"Create an agent and provision its controlled inbox",
|
|
189
189
|
async (args, deps) => {
|
|
190
|
-
const { runAgentEmailCreateAndProvisionCommand } = await import("./agentEmailCommands-
|
|
190
|
+
const { runAgentEmailCreateAndProvisionCommand } = await import("./agentEmailCommands-PCHDY4ZP.js");
|
|
191
191
|
return runAgentEmailCreateAndProvisionCommand(args, deps);
|
|
192
192
|
}
|
|
193
193
|
),
|
|
194
194
|
createEnvCommand(["agent", "delete"], "Hard-delete an agent's private and public records", async (args, deps) => {
|
|
195
|
-
const { runAgentDeleteCommand } = await import("./agentDeleteCommand-
|
|
195
|
+
const { runAgentDeleteCommand } = await import("./agentDeleteCommand-VIDCZAFG.js");
|
|
196
196
|
return runAgentDeleteCommand(args, deps);
|
|
197
197
|
}),
|
|
198
198
|
createEnvCommand(["agent", "grant"], "Grant another user access to this agent's owner credentials", async (args, deps) => {
|
|
@@ -208,15 +208,15 @@ function getAgentInternalCommandEntries() {
|
|
|
208
208
|
return runAgentRevokeGrantCommand(args, deps);
|
|
209
209
|
}),
|
|
210
210
|
createEnvCommand(["agent", "bind-current"], "Bind an agent to this machine", async (args, deps) => {
|
|
211
|
-
const { runAgentBindCurrentCommand } = await import("./agentMachineCommands-
|
|
211
|
+
const { runAgentBindCurrentCommand } = await import("./agentMachineCommands-C2TMTQNU.js");
|
|
212
212
|
return runAgentBindCurrentCommand(args, deps);
|
|
213
213
|
}),
|
|
214
214
|
createEnvCommand(["agent", "smoke-current"], "Smoke test a bound agent through this machine", async (args, deps) => {
|
|
215
|
-
const { runAgentSmokeCurrentCommand } = await import("./agentMachineCommands-
|
|
215
|
+
const { runAgentSmokeCurrentCommand } = await import("./agentMachineCommands-C2TMTQNU.js");
|
|
216
216
|
return runAgentSmokeCurrentCommand(args, deps);
|
|
217
217
|
}),
|
|
218
218
|
createEnvCommand(["agent", "runtime-doctor"], "Diagnose current machine runtime compatibility", async (args, deps) => {
|
|
219
|
-
const { runAgentRuntimeDoctorCommand } = await import("./agentMachineCommands-
|
|
219
|
+
const { runAgentRuntimeDoctorCommand } = await import("./agentMachineCommands-C2TMTQNU.js");
|
|
220
220
|
return runAgentRuntimeDoctorCommand(args, deps);
|
|
221
221
|
}),
|
|
222
222
|
createAgentRunCommand(["agent", "chat"], "Chat with an agent")
|
|
@@ -477,15 +477,15 @@ function getSystemInternalCommandEntries(renderHelpText2) {
|
|
|
477
477
|
return runWhoamiCommand({ args, env: ctx.env });
|
|
478
478
|
}),
|
|
479
479
|
createEntrypointEnvCommand(["connect"], "Send machine heartbeats or hold a connector websocket", async (args, deps) => {
|
|
480
|
-
const { runMachineConnectCommand } = await import("./machineCommands-
|
|
480
|
+
const { runMachineConnectCommand } = await import("./machineCommands-IQYHOOVH.js");
|
|
481
481
|
return runMachineConnectCommand(args, deps);
|
|
482
482
|
}),
|
|
483
483
|
createDaemonShortcutCommand(["daemon"], "Run the connector daemon shortcut", async (args, deps) => {
|
|
484
|
-
const { runMachineConnectCommand } = await import("./machineCommands-
|
|
484
|
+
const { runMachineConnectCommand } = await import("./machineCommands-IQYHOOVH.js");
|
|
485
485
|
return runMachineConnectCommand(args, deps);
|
|
486
486
|
}),
|
|
487
487
|
createEnvCommand(["machine", "status"], "List machines registered to the current profile", async (args, deps) => {
|
|
488
|
-
const { runMachineStatusCommand } = await import("./machineCommands-
|
|
488
|
+
const { runMachineStatusCommand } = await import("./machineCommands-IQYHOOVH.js");
|
|
489
489
|
return runMachineStatusCommand(args, deps);
|
|
490
490
|
}),
|
|
491
491
|
createEnvCommand(["doctor", "runtime"], "Diagnose local-first agent runtime selection", async (args, deps) => {
|
|
@@ -8,15 +8,15 @@ import {
|
|
|
8
8
|
updateContentPinned,
|
|
9
9
|
updateContentTitle,
|
|
10
10
|
uploadAndAddFileToSpace
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-AWYWIWTU.js";
|
|
12
12
|
import "./chunk-ZJ7UHBJS.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-2DRYS3G3.js";
|
|
14
14
|
import "./chunk-523DITKR.js";
|
|
15
15
|
import "./chunk-UKZX3NHN.js";
|
|
16
16
|
import "./chunk-F2UJW3EK.js";
|
|
17
17
|
import "./chunk-BYXBJQAS.js";
|
|
18
18
|
import "./chunk-QYPE3TS3.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-MDOZSLDE.js";
|
|
20
20
|
import "./chunk-AGGIDPCZ.js";
|
|
21
21
|
import "./chunk-WW2USJ3C.js";
|
|
22
22
|
import "./chunk-5RGU3J7P.js";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
addContentToSpace
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-AWYWIWTU.js";
|
|
4
4
|
import "./chunk-ZJ7UHBJS.js";
|
|
5
|
-
import "./chunk-
|
|
5
|
+
import "./chunk-2DRYS3G3.js";
|
|
6
6
|
import "./chunk-523DITKR.js";
|
|
7
7
|
import "./chunk-UKZX3NHN.js";
|
|
8
8
|
import "./chunk-F2UJW3EK.js";
|
|
9
9
|
import "./chunk-BYXBJQAS.js";
|
|
10
10
|
import "./chunk-QYPE3TS3.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-MDOZSLDE.js";
|
|
12
12
|
import "./chunk-AGGIDPCZ.js";
|
|
13
13
|
import "./chunk-WW2USJ3C.js";
|
|
14
14
|
import "./chunk-5RGU3J7P.js";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createDialogAction,
|
|
3
3
|
isLocalOwnerDialogAgents
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-FBLRSLZH.js";
|
|
5
|
+
import "./chunk-AWYWIWTU.js";
|
|
6
6
|
import "./chunk-ZJ7UHBJS.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-2DRYS3G3.js";
|
|
8
8
|
import "./chunk-523DITKR.js";
|
|
9
9
|
import "./chunk-UKZX3NHN.js";
|
|
10
10
|
import "./chunk-F2UJW3EK.js";
|
|
11
11
|
import "./chunk-BYXBJQAS.js";
|
|
12
12
|
import "./chunk-QYPE3TS3.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-MDOZSLDE.js";
|
|
14
14
|
import "./chunk-AGGIDPCZ.js";
|
|
15
15
|
import "./chunk-WW2USJ3C.js";
|
|
16
16
|
import "./chunk-5RGU3J7P.js";
|
|
@@ -13,19 +13,19 @@ import {
|
|
|
13
13
|
} from "./chunk-VF4K2QE6.js";
|
|
14
14
|
import {
|
|
15
15
|
addContentToSpace
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-AWYWIWTU.js";
|
|
17
17
|
import {
|
|
18
18
|
getCurrentSpaceId
|
|
19
19
|
} from "./chunk-ZJ7UHBJS.js";
|
|
20
20
|
import {
|
|
21
21
|
runtime_default
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-2DRYS3G3.js";
|
|
23
23
|
import "./chunk-523DITKR.js";
|
|
24
24
|
import "./chunk-UKZX3NHN.js";
|
|
25
25
|
import "./chunk-F2UJW3EK.js";
|
|
26
26
|
import "./chunk-BYXBJQAS.js";
|
|
27
27
|
import "./chunk-QYPE3TS3.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-MDOZSLDE.js";
|
|
29
29
|
import "./chunk-AGGIDPCZ.js";
|
|
30
30
|
import "./chunk-WW2USJ3C.js";
|
|
31
31
|
import "./chunk-5RGU3J7P.js";
|
|
@@ -20,13 +20,13 @@ import {
|
|
|
20
20
|
switchDialogAgent,
|
|
21
21
|
updateDialogTitle,
|
|
22
22
|
updateTokens
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-2DRYS3G3.js";
|
|
24
24
|
import "./chunk-523DITKR.js";
|
|
25
25
|
import "./chunk-UKZX3NHN.js";
|
|
26
26
|
import "./chunk-F2UJW3EK.js";
|
|
27
27
|
import "./chunk-BYXBJQAS.js";
|
|
28
28
|
import "./chunk-QYPE3TS3.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-MDOZSLDE.js";
|
|
30
30
|
import "./chunk-AGGIDPCZ.js";
|
|
31
31
|
import "./chunk-WW2USJ3C.js";
|
|
32
32
|
import {
|
|
@@ -7,19 +7,19 @@ import {
|
|
|
7
7
|
mergeAgentToolsWithRuntime,
|
|
8
8
|
projectDesktopToolUiContent,
|
|
9
9
|
resolveTurnToolContext
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-AI7XJMMQ.js";
|
|
11
11
|
import "./chunk-PBGO5AFD.js";
|
|
12
12
|
import {
|
|
13
13
|
CONTEXT_OVERFLOW_ACTIONS,
|
|
14
14
|
CONTEXT_TOO_LARGE_ACTIONS,
|
|
15
15
|
isContextOverflowText,
|
|
16
16
|
performServerProxyFetchWithRetry
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-IN5UVHHP.js";
|
|
18
18
|
import {
|
|
19
19
|
createSSEParser,
|
|
20
20
|
resolveAgentRequiredPackIds,
|
|
21
21
|
waitForAbortableDelay
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-JONVI6DK.js";
|
|
23
23
|
import "./chunk-NF64D32W.js";
|
|
24
24
|
import "./chunk-XPWGOTBQ.js";
|
|
25
25
|
import "./chunk-5XN3OSCT.js";
|
|
@@ -28,8 +28,8 @@ import "./chunk-6VRWNU5J.js";
|
|
|
28
28
|
import "./chunk-PFEK4SA2.js";
|
|
29
29
|
import "./chunk-VIDPVFP3.js";
|
|
30
30
|
import "./chunk-AGIM7IMJ.js";
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-JKDL7BRF.js";
|
|
32
|
+
import "./chunk-AWYWIWTU.js";
|
|
33
33
|
import "./chunk-ZJ7UHBJS.js";
|
|
34
34
|
import {
|
|
35
35
|
clearForegroundTurnSettledVisible,
|
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
setStreamingMessageId,
|
|
48
48
|
toolResultNeedsUserConfirmation,
|
|
49
49
|
updateToolMessage
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-2DRYS3G3.js";
|
|
51
51
|
import "./chunk-523DITKR.js";
|
|
52
52
|
import "./chunk-UKZX3NHN.js";
|
|
53
53
|
import "./chunk-F2UJW3EK.js";
|
|
@@ -55,7 +55,7 @@ import "./chunk-BYXBJQAS.js";
|
|
|
55
55
|
import "./chunk-QYPE3TS3.js";
|
|
56
56
|
import {
|
|
57
57
|
streamAgentChatTurn
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-MDOZSLDE.js";
|
|
59
59
|
import "./chunk-AGGIDPCZ.js";
|
|
60
60
|
import "./chunk-WW2USJ3C.js";
|
|
61
61
|
import "./chunk-5RGU3J7P.js";
|
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-BCDVMOR5.js");
|
|
75
75
|
const { createTuiSummaryLlmCaller } = await import("./tuiSummaryLlmCaller-ISODIW2O.js");
|
|
76
|
-
const { setCliAutoCompactionSummaryFallback } = await import("./localRuntimeAdapter-
|
|
76
|
+
const { setCliAutoCompactionSummaryFallback } = await import("./localRuntimeAdapter-S6UEEOSA.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-3XWUYELA.js");
|
|
89
89
|
const { buildCliRuntimeEnv, loadProfileConfig } = await import("./profileConfig-ZGOFORWV.js");
|
|
90
90
|
const { resolveTuiLaunchMode } = await import("./runtimeModeArgs-2Y7BALTO.js");
|
|
91
91
|
const runtimeEnv = {
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
withRuntimeEnabledPacksAndPrompt,
|
|
45
45
|
writeDialog,
|
|
46
46
|
writeLocalTokenRecord
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-KWEDNOZZ.js";
|
|
48
48
|
import "./chunk-OYBAT7RT.js";
|
|
49
49
|
import "./chunk-KQ7DAEZ7.js";
|
|
50
50
|
import "./chunk-6MXDOUMH.js";
|
|
@@ -60,16 +60,16 @@ import "./chunk-JBTJAPUF.js";
|
|
|
60
60
|
import "./chunk-VIWDGTDA.js";
|
|
61
61
|
import "./chunk-ATNTHIZI.js";
|
|
62
62
|
import "./chunk-PBGO5AFD.js";
|
|
63
|
-
import "./chunk-
|
|
63
|
+
import "./chunk-5YJWHTKD.js";
|
|
64
64
|
import "./chunk-HS7MLR74.js";
|
|
65
|
-
import "./chunk-
|
|
66
|
-
import "./chunk-
|
|
65
|
+
import "./chunk-2FY3GHBV.js";
|
|
66
|
+
import "./chunk-XRXYRHE5.js";
|
|
67
67
|
import {
|
|
68
68
|
fetchWithTransientRetry
|
|
69
69
|
} from "./chunk-APO5TOXO.js";
|
|
70
70
|
import "./chunk-OXME3PEE.js";
|
|
71
71
|
import "./chunk-WCQNEMXG.js";
|
|
72
|
-
import "./chunk-
|
|
72
|
+
import "./chunk-JONVI6DK.js";
|
|
73
73
|
import "./chunk-NF64D32W.js";
|
|
74
74
|
import "./chunk-XPWGOTBQ.js";
|
|
75
75
|
import "./chunk-5XN3OSCT.js";
|
|
@@ -82,18 +82,18 @@ import "./chunk-NUHHBEJC.js";
|
|
|
82
82
|
import "./chunk-AGIM7IMJ.js";
|
|
83
83
|
import "./chunk-63W5N6P3.js";
|
|
84
84
|
import "./chunk-VF4K2QE6.js";
|
|
85
|
-
import "./chunk-
|
|
86
|
-
import "./chunk-
|
|
85
|
+
import "./chunk-JKDL7BRF.js";
|
|
86
|
+
import "./chunk-FBLRSLZH.js";
|
|
87
87
|
import "./chunk-BFYDNHYW.js";
|
|
88
|
-
import "./chunk-
|
|
88
|
+
import "./chunk-AWYWIWTU.js";
|
|
89
89
|
import "./chunk-ZJ7UHBJS.js";
|
|
90
|
-
import "./chunk-
|
|
90
|
+
import "./chunk-2DRYS3G3.js";
|
|
91
91
|
import "./chunk-523DITKR.js";
|
|
92
92
|
import "./chunk-UKZX3NHN.js";
|
|
93
93
|
import "./chunk-F2UJW3EK.js";
|
|
94
94
|
import "./chunk-BYXBJQAS.js";
|
|
95
95
|
import "./chunk-QYPE3TS3.js";
|
|
96
|
-
import "./chunk-
|
|
96
|
+
import "./chunk-MDOZSLDE.js";
|
|
97
97
|
import "./chunk-AGGIDPCZ.js";
|
|
98
98
|
import "./chunk-WW2USJ3C.js";
|
|
99
99
|
import "./chunk-5RGU3J7P.js";
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
buildMachinePermissionPromptBlock,
|
|
3
3
|
handleConnectorRunMessage,
|
|
4
4
|
resolveMachineRunPermissionPolicy
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ZR5RAAVI.js";
|
|
6
6
|
import {
|
|
7
7
|
MAX_CONNECTOR_TIMER_DELAY_MS,
|
|
8
8
|
clampConnectorTimerDelayMs,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
detectMachineInfo
|
|
16
16
|
} from "./chunk-ESHYE7WU.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-KWEDNOZZ.js";
|
|
18
18
|
import "./chunk-OYBAT7RT.js";
|
|
19
19
|
import "./chunk-KQ7DAEZ7.js";
|
|
20
20
|
import "./chunk-6MXDOUMH.js";
|
|
@@ -27,14 +27,14 @@ import "./chunk-JBTJAPUF.js";
|
|
|
27
27
|
import "./chunk-VIWDGTDA.js";
|
|
28
28
|
import "./chunk-ATNTHIZI.js";
|
|
29
29
|
import "./chunk-PBGO5AFD.js";
|
|
30
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-5YJWHTKD.js";
|
|
31
31
|
import "./chunk-HS7MLR74.js";
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-2FY3GHBV.js";
|
|
33
|
+
import "./chunk-XRXYRHE5.js";
|
|
34
34
|
import "./chunk-APO5TOXO.js";
|
|
35
35
|
import "./chunk-OXME3PEE.js";
|
|
36
36
|
import "./chunk-WCQNEMXG.js";
|
|
37
|
-
import "./chunk-
|
|
37
|
+
import "./chunk-JONVI6DK.js";
|
|
38
38
|
import "./chunk-NF64D32W.js";
|
|
39
39
|
import {
|
|
40
40
|
CORE_DRAIN_REASON,
|
|
@@ -50,18 +50,18 @@ import "./chunk-NUHHBEJC.js";
|
|
|
50
50
|
import "./chunk-AGIM7IMJ.js";
|
|
51
51
|
import "./chunk-63W5N6P3.js";
|
|
52
52
|
import "./chunk-VF4K2QE6.js";
|
|
53
|
-
import "./chunk-
|
|
54
|
-
import "./chunk-
|
|
53
|
+
import "./chunk-JKDL7BRF.js";
|
|
54
|
+
import "./chunk-FBLRSLZH.js";
|
|
55
55
|
import "./chunk-BFYDNHYW.js";
|
|
56
|
-
import "./chunk-
|
|
56
|
+
import "./chunk-AWYWIWTU.js";
|
|
57
57
|
import "./chunk-ZJ7UHBJS.js";
|
|
58
|
-
import "./chunk-
|
|
58
|
+
import "./chunk-2DRYS3G3.js";
|
|
59
59
|
import "./chunk-523DITKR.js";
|
|
60
60
|
import "./chunk-UKZX3NHN.js";
|
|
61
61
|
import "./chunk-F2UJW3EK.js";
|
|
62
62
|
import "./chunk-BYXBJQAS.js";
|
|
63
63
|
import "./chunk-QYPE3TS3.js";
|
|
64
|
-
import "./chunk-
|
|
64
|
+
import "./chunk-MDOZSLDE.js";
|
|
65
65
|
import "./chunk-AGGIDPCZ.js";
|
|
66
66
|
import "./chunk-WW2USJ3C.js";
|
|
67
67
|
import "./chunk-5RGU3J7P.js";
|