nolo-cli 0.203.0-alpha.1 → 0.204.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{_executeModel-KOODDFV3.js → _executeModel-P6PJZHAX.js} +12 -12
- package/{agentDeleteCommand-HCZZPPAB.js → agentDeleteCommand-X5I5MWOV.js} +9 -9
- package/{agentEmailCommands-5R2ST7IA.js → agentEmailCommands-E5XLDF6C.js} +11 -11
- package/{agentMachineCommands-UZ7I4VL3.js → agentMachineCommands-SKUVXH4H.js} +1 -1
- package/{agentRecordCommands-SSSJLCIP.js → agentRecordCommands-Y4MDCVEW.js} +10 -10
- package/{agentRunCommand-FXGB7HRK.js → agentRunCommand-D3ZNM22C.js} +11 -11
- package/{agentSlice-H47GA3AE.js → agentSlice-PQVS46OF.js} +1 -1
- package/{chunk-G7RADKSA.js → chunk-33OJHC3O.js} +8 -8
- package/{chunk-Y6KUC75Q.js → chunk-4UCFQCD4.js} +2 -2
- package/{chunk-OBOAMKAA.js → chunk-6YY6MOCF.js} +3 -3
- package/{chunk-7KWQ3AWS.js → chunk-7H3DHUWL.js} +6 -6
- package/{chunk-WKJCPU4B.js → chunk-COJ76M7O.js} +2 -2
- package/{chunk-W6L3E75W.js → chunk-EWAQ4DYY.js} +2 -2
- package/{chunk-IT2QLZ7M.js → chunk-FC4MYLAX.js} +2 -2
- package/{chunk-L2F7JJZX.js → chunk-HMQUNXZ7.js} +7 -5
- package/{chunk-DP7YE3D3.js → chunk-IVNI335J.js} +2 -2
- package/{chunk-TEI5QWP3.js → chunk-LV5V3KRZ.js} +1 -1
- package/{chunk-FIFPSUK7.js → chunk-N5E77S4C.js} +7 -7
- package/{chunk-S2ZXDWPU.js → chunk-PHNVUFU5.js} +5 -5
- package/{chunk-4HAB2O5R.js → chunk-QVJ7PDL7.js} +8 -8
- package/{chunk-76QKMZCM.js → chunk-R7FPHYDS.js} +1 -1
- package/{chunk-VF2CQVMR.js → chunk-SQTBTTAE.js} +2 -2
- package/{chunk-LK46VB57.js → chunk-SRDWWDBV.js} +2 -2
- package/{chunk-7BIC2DPF.js → chunk-WAECKLPA.js} +1 -1
- package/{chunk-A46X4DUK.js → chunk-ZZC64BCU.js} +2 -2
- package/{commandRegistry-YYGDQ353.js → commandRegistry-YQ47YCJW.js} +15 -15
- package/{contentThunks-CUBCGUNV.js → contentThunks-UI4LT732.js} +3 -3
- package/{createAgentAutomationAction-QKYRYNB7.js → createAgentAutomationAction-52LH2MRZ.js} +3 -3
- package/{createDialogAction-X6YMBBIP.js → createDialogAction-35JSC2RO.js} +4 -4
- package/{createPageAction-UISPQP64.js → createPageAction-BPVFIHSO.js} +3 -3
- package/{dialogSlice-JPKOEWA7.js → dialogSlice-KHGNTCKG.js} +2 -2
- package/{docStore-YUQJ22PU.js → docStore-6MKEBLHS.js} +1 -1
- package/{handleSendMessageAction-OBYLLUON.js → handleSendMessageAction-24JWFHXL.js} +37 -8
- package/index.js +3 -3
- package/{localRuntimeAdapter-FZ7E66VZ.js → localRuntimeAdapter-RLASCXQ5.js} +9 -9
- package/{machineCommands-3VBUV3VZ.js → machineCommands-CF72WAXL.js} +10 -10
- package/{machineWsRunDispatch-SJMADAGT.js → machineWsRunDispatch-HITLYZOL.js} +10 -10
- package/package.json +1 -1
- package/{readlineWorkspace-SHYYZ7XS.js → readlineWorkspace-K5EIF774.js} +11 -11
- package/{runAgentClientLoop-2FDKWHUB.js → runAgentClientLoop-V7XBFJYH.js} +10 -10
- package/{streamAgentChatTurn-VQGUVTAC.js → streamAgentChatTurn-RKRNK3P5.js} +12 -12
- package/{tools-JMEDZDIA.js → tools-5U5DDFBH.js} +7 -7
- package/{updateDialogTitleAction-QGH4ZL4E.js → updateDialogTitleAction-EK2S55EO.js} +3 -3
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
mergeReferences,
|
|
8
8
|
resolveReferenceAssets,
|
|
9
9
|
resolveToolsFromKeys
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-4UCFQCD4.js";
|
|
11
11
|
import {
|
|
12
12
|
UI_CARD_ENVELOPE_MAX_BYTES,
|
|
13
13
|
getAllToolRuns,
|
|
@@ -18,14 +18,14 @@ import {
|
|
|
18
18
|
selectSpaceContextLevel,
|
|
19
19
|
selectUserTonePreset,
|
|
20
20
|
uiCardFallback
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-SRDWWDBV.js";
|
|
22
22
|
import {
|
|
23
23
|
resolveAgentRecommendedSkillNames,
|
|
24
24
|
resolveAgentRequiredPackIds
|
|
25
25
|
} from "./chunk-I5PBXF7O.js";
|
|
26
26
|
import {
|
|
27
27
|
getDocState
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-SQTBTTAE.js";
|
|
29
29
|
import {
|
|
30
30
|
resolveToolBaseUrl
|
|
31
31
|
} from "./chunk-MYOH447Z.js";
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
} from "./chunk-A2ZMIRLN.js";
|
|
38
38
|
import {
|
|
39
39
|
getTableState
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-WAECKLPA.js";
|
|
41
41
|
import {
|
|
42
42
|
getCurrentSpaceIdRaw,
|
|
43
43
|
getViewMode
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
PERSONALIZATION_DIALOG_CATEGORY,
|
|
47
47
|
buildPersonalizationDialogPolicyContext,
|
|
48
48
|
selectAllMsgs
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-33OJHC3O.js";
|
|
50
50
|
import {
|
|
51
51
|
selectPendingFiles
|
|
52
52
|
} from "./chunk-OWYYDMGJ.js";
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
toolRunUpdated,
|
|
39
39
|
uiCardFallback,
|
|
40
40
|
waitForAbortableDelay
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-SRDWWDBV.js";
|
|
42
42
|
import {
|
|
43
43
|
isGatewayHttpStatus
|
|
44
44
|
} from "./chunk-NF64D32W.js";
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
} from "./chunk-I5PBXF7O.js";
|
|
56
56
|
import {
|
|
57
57
|
createDocState
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-SQTBTTAE.js";
|
|
59
59
|
import {
|
|
60
60
|
ToolApiError,
|
|
61
61
|
buildToolRequestHeaders,
|
|
@@ -79,7 +79,7 @@ import {
|
|
|
79
79
|
} from "./chunk-63W5N6P3.js";
|
|
80
80
|
import {
|
|
81
81
|
createDialogAction
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-COJ76M7O.js";
|
|
83
83
|
import {
|
|
84
84
|
DEFAULT_COLLAPSED_CATEGORIES,
|
|
85
85
|
addContentToSpace,
|
|
@@ -96,7 +96,7 @@ import {
|
|
|
96
96
|
updateContentCategory,
|
|
97
97
|
updateContentTitle,
|
|
98
98
|
writeStoredCollapsedCategories
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-WAECKLPA.js";
|
|
100
100
|
import {
|
|
101
101
|
getCurrentSpaceId,
|
|
102
102
|
getCurrentSpaceIdRaw,
|
|
@@ -119,14 +119,14 @@ import {
|
|
|
119
119
|
selectMsgById,
|
|
120
120
|
uiAskChoiceFunc,
|
|
121
121
|
uiAskChoiceFunctionSchema
|
|
122
|
-
} from "./chunk-
|
|
122
|
+
} from "./chunk-33OJHC3O.js";
|
|
123
123
|
import {
|
|
124
124
|
createAgent,
|
|
125
125
|
deleteServerSyncedCredential,
|
|
126
126
|
runLlm,
|
|
127
127
|
streamAgentChatTurn,
|
|
128
128
|
updateAgent
|
|
129
|
-
} from "./chunk-
|
|
129
|
+
} from "./chunk-6YY6MOCF.js";
|
|
130
130
|
import {
|
|
131
131
|
buildMediaToolConfirmation,
|
|
132
132
|
normalizeMediaConfirmExecutionRevision
|
|
@@ -3882,7 +3882,7 @@ async function deleteDialogsFunc(args, thunkApi) {
|
|
|
3882
3882
|
const deletedDialogIds = [];
|
|
3883
3883
|
const deletedDialogKeys = [];
|
|
3884
3884
|
const failures = [];
|
|
3885
|
-
const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-
|
|
3885
|
+
const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-KHGNTCKG.js");
|
|
3886
3886
|
for (const target of targets) {
|
|
3887
3887
|
try {
|
|
3888
3888
|
await thunkApi.dispatch(deleteDialog2(target.dbKey)).unwrap();
|
|
@@ -18693,7 +18693,7 @@ async function updateDocFunc(args, thunkApi) {
|
|
|
18693
18693
|
updated_at: (/* @__PURE__ */ new Date()).toISOString()
|
|
18694
18694
|
};
|
|
18695
18695
|
await dispatch(write({ data: updatedPageData, customKey: id })).unwrap();
|
|
18696
|
-
const { getDocState, applyExternalDocUpdate } = await import("./docStore-
|
|
18696
|
+
const { getDocState, applyExternalDocUpdate } = await import("./docStore-6MKEBLHS.js");
|
|
18697
18697
|
if (getDocState().pageKey === id) {
|
|
18698
18698
|
applyExternalDocUpdate({
|
|
18699
18699
|
slateData: finalSlateData,
|
|
@@ -333,7 +333,7 @@ async function saveDocState(arg, { dispatch, getState }) {
|
|
|
333
333
|
).unwrap();
|
|
334
334
|
if (dbSpaceId) {
|
|
335
335
|
try {
|
|
336
|
-
const { updateContentTitle } = await import("./contentThunks-
|
|
336
|
+
const { updateContentTitle } = await import("./contentThunks-UI4LT732.js");
|
|
337
337
|
await dispatch(
|
|
338
338
|
updateContentTitle({
|
|
339
339
|
spaceId: dbSpaceId,
|
|
@@ -372,7 +372,7 @@ async function saveDocState(arg, { dispatch, getState }) {
|
|
|
372
372
|
}
|
|
373
373
|
}
|
|
374
374
|
async function createDocState(args, thunkApi) {
|
|
375
|
-
const { createPageAction } = await import("./createPageAction-
|
|
375
|
+
const { createPageAction } = await import("./createPageAction-BPVFIHSO.js");
|
|
376
376
|
return createPageAction(args, thunkApi);
|
|
377
377
|
}
|
|
378
378
|
function subscribe(listener) {
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
} from "./chunk-RXUKDHS5.js";
|
|
17
17
|
import {
|
|
18
18
|
fetchAndCacheTableRows
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-WAECKLPA.js";
|
|
20
20
|
import {
|
|
21
21
|
createSpaceKey
|
|
22
22
|
} from "./chunk-UAD2WT54.js";
|
|
@@ -783,7 +783,7 @@ var executeToolRun = createAsyncThunk(
|
|
|
783
783
|
if (!executionInput) {
|
|
784
784
|
throw new Error(`ToolRun ${id} has no input to execute with.`);
|
|
785
785
|
}
|
|
786
|
-
const { findToolExecutor } = await import("./tools-
|
|
786
|
+
const { findToolExecutor } = await import("./tools-5U5DDFBH.js");
|
|
787
787
|
const { executor } = findToolExecutor(run.toolName);
|
|
788
788
|
toolRunStarted({
|
|
789
789
|
id: run.id,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createCliLocalRuntimeAdapter,
|
|
3
3
|
summarizeEndpoint
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-HMQUNXZ7.js";
|
|
5
5
|
import {
|
|
6
6
|
clipMultilineText
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-SRDWWDBV.js";
|
|
8
8
|
import {
|
|
9
9
|
runLocalAgentTurn
|
|
10
10
|
} from "./chunk-4JBJG7XB.js";
|
|
@@ -112,7 +112,7 @@ function createDaemonShortcutCommand(path, description, command) {
|
|
|
112
112
|
// packages/cli/agentInternalCommandEntries.ts
|
|
113
113
|
function getAgentInternalCommandEntries() {
|
|
114
114
|
const createAgentRunCommand = (path, description) => createContextCommand(path, description, async (args, ctx) => {
|
|
115
|
-
const { runAgentRunCommand } = await import("./agentRunCommand-
|
|
115
|
+
const { runAgentRunCommand } = await import("./agentRunCommand-D3ZNM22C.js");
|
|
116
116
|
return runAgentRunCommand(args, {
|
|
117
117
|
env: ctx.env,
|
|
118
118
|
scriptDir: ctx.scriptDir,
|
|
@@ -128,7 +128,7 @@ function getAgentInternalCommandEntries() {
|
|
|
128
128
|
return runAgentListCommand(args, deps);
|
|
129
129
|
}),
|
|
130
130
|
createEnvCommand(["agent", "create"], "Create a new agent", async (args, deps) => {
|
|
131
|
-
const { runAgentCreateCommand } = await import("./agentRecordCommands-
|
|
131
|
+
const { runAgentCreateCommand } = await import("./agentRecordCommands-Y4MDCVEW.js");
|
|
132
132
|
return runAgentCreateCommand(args, deps);
|
|
133
133
|
}),
|
|
134
134
|
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) => {
|
|
@@ -144,7 +144,7 @@ function getAgentInternalCommandEntries() {
|
|
|
144
144
|
return runAgentPullCommand(args, deps);
|
|
145
145
|
}),
|
|
146
146
|
createEnvCommand(["agent", "read"], "Read a single agent", async (args, deps) => {
|
|
147
|
-
const { runAgentReadCommand } = await import("./agentRecordCommands-
|
|
147
|
+
const { runAgentReadCommand } = await import("./agentRecordCommands-Y4MDCVEW.js");
|
|
148
148
|
return runAgentReadCommand(args, deps);
|
|
149
149
|
}),
|
|
150
150
|
createAgentRunCommand(["agent", "run"], "Run an agent"),
|
|
@@ -173,31 +173,31 @@ function getAgentInternalCommandEntries() {
|
|
|
173
173
|
return runSetupOfflineMarxistsAgentCommand(args, deps);
|
|
174
174
|
}),
|
|
175
175
|
createEnvCommand(["agent", "update"], "Update agent fields", async (args, deps) => {
|
|
176
|
-
const { runAgentUpdateCommand } = await import("./agentRecordCommands-
|
|
176
|
+
const { runAgentUpdateCommand } = await import("./agentRecordCommands-Y4MDCVEW.js");
|
|
177
177
|
return runAgentUpdateCommand(args, deps);
|
|
178
178
|
}),
|
|
179
179
|
createEnvCommand(["agent", "email", "provision"], "Provision a controlled inbox for an agent", async (args, deps) => {
|
|
180
|
-
const { runAgentEmailProvisionCommand } = await import("./agentEmailCommands-
|
|
180
|
+
const { runAgentEmailProvisionCommand } = await import("./agentEmailCommands-E5XLDF6C.js");
|
|
181
181
|
return runAgentEmailProvisionCommand(args, deps);
|
|
182
182
|
}),
|
|
183
183
|
createEnvCommand(["agent", "email", "bind"], "Bind an existing email address to an agent", async (args, deps) => {
|
|
184
|
-
const { runAgentEmailBindCommand } = await import("./agentEmailCommands-
|
|
184
|
+
const { runAgentEmailBindCommand } = await import("./agentEmailCommands-E5XLDF6C.js");
|
|
185
185
|
return runAgentEmailBindCommand(args, deps);
|
|
186
186
|
}),
|
|
187
187
|
createEnvCommand(["agent", "email", "transfer"], "Transfer an email identity from one agent to another (cross-account)", async (args, deps) => {
|
|
188
|
-
const { runAgentEmailTransferCommand } = await import("./agentEmailCommands-
|
|
188
|
+
const { runAgentEmailTransferCommand } = await import("./agentEmailCommands-E5XLDF6C.js");
|
|
189
189
|
return runAgentEmailTransferCommand(args, deps);
|
|
190
190
|
}),
|
|
191
191
|
createEnvCommand(
|
|
192
192
|
["agent", "email", "create-and-provision"],
|
|
193
193
|
"Create an agent and provision its controlled inbox",
|
|
194
194
|
async (args, deps) => {
|
|
195
|
-
const { runAgentEmailCreateAndProvisionCommand } = await import("./agentEmailCommands-
|
|
195
|
+
const { runAgentEmailCreateAndProvisionCommand } = await import("./agentEmailCommands-E5XLDF6C.js");
|
|
196
196
|
return runAgentEmailCreateAndProvisionCommand(args, deps);
|
|
197
197
|
}
|
|
198
198
|
),
|
|
199
199
|
createEnvCommand(["agent", "delete"], "Hard-delete an agent's private and public records", async (args, deps) => {
|
|
200
|
-
const { runAgentDeleteCommand } = await import("./agentDeleteCommand-
|
|
200
|
+
const { runAgentDeleteCommand } = await import("./agentDeleteCommand-X5I5MWOV.js");
|
|
201
201
|
return runAgentDeleteCommand(args, deps);
|
|
202
202
|
}),
|
|
203
203
|
createEnvCommand(["agent", "grant"], "Grant another user access to this agent's owner credentials", async (args, deps) => {
|
|
@@ -217,15 +217,15 @@ function getAgentInternalCommandEntries() {
|
|
|
217
217
|
return runAgentRevokeGrantCommand(args, deps);
|
|
218
218
|
}),
|
|
219
219
|
createEnvCommand(["agent", "bind-current"], "Bind an agent to this machine", async (args, deps) => {
|
|
220
|
-
const { runAgentBindCurrentCommand } = await import("./agentMachineCommands-
|
|
220
|
+
const { runAgentBindCurrentCommand } = await import("./agentMachineCommands-SKUVXH4H.js");
|
|
221
221
|
return runAgentBindCurrentCommand(args, deps);
|
|
222
222
|
}),
|
|
223
223
|
createEnvCommand(["agent", "smoke-current"], "Smoke test a bound agent through this machine", async (args, deps) => {
|
|
224
|
-
const { runAgentSmokeCurrentCommand } = await import("./agentMachineCommands-
|
|
224
|
+
const { runAgentSmokeCurrentCommand } = await import("./agentMachineCommands-SKUVXH4H.js");
|
|
225
225
|
return runAgentSmokeCurrentCommand(args, deps);
|
|
226
226
|
}),
|
|
227
227
|
createEnvCommand(["agent", "runtime-doctor"], "Diagnose current machine runtime compatibility", async (args, deps) => {
|
|
228
|
-
const { runAgentRuntimeDoctorCommand } = await import("./agentMachineCommands-
|
|
228
|
+
const { runAgentRuntimeDoctorCommand } = await import("./agentMachineCommands-SKUVXH4H.js");
|
|
229
229
|
return runAgentRuntimeDoctorCommand(args, deps);
|
|
230
230
|
}),
|
|
231
231
|
createAgentRunCommand(["agent", "chat"], "Chat with an agent")
|
|
@@ -567,15 +567,15 @@ function getSystemInternalCommandEntries(renderHelpText2) {
|
|
|
567
567
|
return runWhoamiCommand({ args, env: ctx.env });
|
|
568
568
|
}),
|
|
569
569
|
createEntrypointEnvCommand(["connect"], "Send machine heartbeats or hold a connector websocket", async (args, deps) => {
|
|
570
|
-
const { runMachineConnectCommand } = await import("./machineCommands-
|
|
570
|
+
const { runMachineConnectCommand } = await import("./machineCommands-CF72WAXL.js");
|
|
571
571
|
return runMachineConnectCommand(args, deps);
|
|
572
572
|
}),
|
|
573
573
|
createDaemonShortcutCommand(["daemon"], "Run the connector daemon shortcut", async (args, deps) => {
|
|
574
|
-
const { runMachineConnectCommand } = await import("./machineCommands-
|
|
574
|
+
const { runMachineConnectCommand } = await import("./machineCommands-CF72WAXL.js");
|
|
575
575
|
return runMachineConnectCommand(args, deps);
|
|
576
576
|
}),
|
|
577
577
|
createEnvCommand(["machine", "status"], "List machines registered to the current profile", async (args, deps) => {
|
|
578
|
-
const { runMachineStatusCommand } = await import("./machineCommands-
|
|
578
|
+
const { runMachineStatusCommand } = await import("./machineCommands-CF72WAXL.js");
|
|
579
579
|
return runMachineStatusCommand(args, deps);
|
|
580
580
|
}),
|
|
581
581
|
createEnvCommand(["doctor", "runtime"], "Diagnose local-first agent runtime selection", async (args, deps) => {
|
|
@@ -8,13 +8,13 @@ import {
|
|
|
8
8
|
updateContentPinned,
|
|
9
9
|
updateContentTitle,
|
|
10
10
|
uploadAndAddFileToSpace
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-WAECKLPA.js";
|
|
12
12
|
import "./chunk-5XBUWM6I.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-33OJHC3O.js";
|
|
14
14
|
import "./chunk-TZXPT53C.js";
|
|
15
15
|
import "./chunk-LEC5ALIN.js";
|
|
16
16
|
import "./chunk-523DITKR.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-6YY6MOCF.js";
|
|
18
18
|
import "./chunk-BYXBJQAS.js";
|
|
19
19
|
import "./chunk-QYPE3TS3.js";
|
|
20
20
|
import "./chunk-T3U2KQF4.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
addContentToSpace
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-WAECKLPA.js";
|
|
4
4
|
import "./chunk-5XBUWM6I.js";
|
|
5
|
-
import "./chunk-
|
|
5
|
+
import "./chunk-33OJHC3O.js";
|
|
6
6
|
import "./chunk-TZXPT53C.js";
|
|
7
7
|
import "./chunk-LEC5ALIN.js";
|
|
8
8
|
import "./chunk-523DITKR.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-6YY6MOCF.js";
|
|
10
10
|
import "./chunk-BYXBJQAS.js";
|
|
11
11
|
import "./chunk-QYPE3TS3.js";
|
|
12
12
|
import "./chunk-T3U2KQF4.js";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createDialogAction,
|
|
3
3
|
isLocalOwnerDialogAgents
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-COJ76M7O.js";
|
|
5
|
+
import "./chunk-WAECKLPA.js";
|
|
6
6
|
import "./chunk-5XBUWM6I.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-33OJHC3O.js";
|
|
8
8
|
import "./chunk-TZXPT53C.js";
|
|
9
9
|
import "./chunk-LEC5ALIN.js";
|
|
10
10
|
import "./chunk-523DITKR.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-6YY6MOCF.js";
|
|
12
12
|
import "./chunk-BYXBJQAS.js";
|
|
13
13
|
import "./chunk-QYPE3TS3.js";
|
|
14
14
|
import "./chunk-T3U2KQF4.js";
|
|
@@ -13,17 +13,17 @@ import {
|
|
|
13
13
|
} from "./chunk-63W5N6P3.js";
|
|
14
14
|
import {
|
|
15
15
|
addContentToSpace
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-WAECKLPA.js";
|
|
17
17
|
import {
|
|
18
18
|
getCurrentSpaceId
|
|
19
19
|
} from "./chunk-5XBUWM6I.js";
|
|
20
20
|
import {
|
|
21
21
|
runtime_default
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-33OJHC3O.js";
|
|
23
23
|
import "./chunk-TZXPT53C.js";
|
|
24
24
|
import "./chunk-LEC5ALIN.js";
|
|
25
25
|
import "./chunk-523DITKR.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-6YY6MOCF.js";
|
|
27
27
|
import "./chunk-BYXBJQAS.js";
|
|
28
28
|
import "./chunk-QYPE3TS3.js";
|
|
29
29
|
import "./chunk-T3U2KQF4.js";
|
|
@@ -20,11 +20,11 @@ import {
|
|
|
20
20
|
switchDialogAgent,
|
|
21
21
|
updateDialogTitle,
|
|
22
22
|
updateTokens
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-33OJHC3O.js";
|
|
24
24
|
import "./chunk-TZXPT53C.js";
|
|
25
25
|
import "./chunk-LEC5ALIN.js";
|
|
26
26
|
import "./chunk-523DITKR.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-6YY6MOCF.js";
|
|
28
28
|
import "./chunk-BYXBJQAS.js";
|
|
29
29
|
import "./chunk-QYPE3TS3.js";
|
|
30
30
|
import "./chunk-T3U2KQF4.js";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
mergeAgentToolsWithRuntime,
|
|
12
12
|
projectDesktopToolUiContent,
|
|
13
13
|
resolveTurnToolContext
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-PHNVUFU5.js";
|
|
15
15
|
import {
|
|
16
16
|
resolveUserSkillRuntime
|
|
17
17
|
} from "./chunk-NEZGPBL7.js";
|
|
@@ -21,26 +21,26 @@ import {
|
|
|
21
21
|
extractErrorDiagnostics,
|
|
22
22
|
isContextOverflowText,
|
|
23
23
|
performServerProxyFetchWithRetry
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-4UCFQCD4.js";
|
|
25
25
|
import {
|
|
26
26
|
createSSEParser,
|
|
27
27
|
loadSkillFunc,
|
|
28
28
|
waitForAbortableDelay
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-SRDWWDBV.js";
|
|
30
30
|
import "./chunk-NF64D32W.js";
|
|
31
31
|
import "./chunk-3L2WKC3W.js";
|
|
32
32
|
import {
|
|
33
33
|
resolveAgentRequiredPackIds
|
|
34
34
|
} from "./chunk-I5PBXF7O.js";
|
|
35
35
|
import "./chunk-VF4K2QE6.js";
|
|
36
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-SQTBTTAE.js";
|
|
37
37
|
import "./chunk-MYOH447Z.js";
|
|
38
38
|
import "./chunk-RXUKDHS5.js";
|
|
39
39
|
import "./chunk-WYKMOZTW.js";
|
|
40
40
|
import "./chunk-AGIM7IMJ.js";
|
|
41
41
|
import "./chunk-A2ZMIRLN.js";
|
|
42
42
|
import "./chunk-VIDPVFP3.js";
|
|
43
|
-
import "./chunk-
|
|
43
|
+
import "./chunk-WAECKLPA.js";
|
|
44
44
|
import "./chunk-5XBUWM6I.js";
|
|
45
45
|
import {
|
|
46
46
|
clearForegroundTurnSettledVisible,
|
|
@@ -58,13 +58,13 @@ import {
|
|
|
58
58
|
setStreamingMessageId,
|
|
59
59
|
toolResultNeedsUserConfirmation,
|
|
60
60
|
updateToolMessage
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-33OJHC3O.js";
|
|
62
62
|
import "./chunk-TZXPT53C.js";
|
|
63
63
|
import "./chunk-LEC5ALIN.js";
|
|
64
64
|
import "./chunk-523DITKR.js";
|
|
65
65
|
import {
|
|
66
66
|
streamAgentChatTurn
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-6YY6MOCF.js";
|
|
68
68
|
import "./chunk-BYXBJQAS.js";
|
|
69
69
|
import "./chunk-QYPE3TS3.js";
|
|
70
70
|
import "./chunk-T3U2KQF4.js";
|
|
@@ -429,6 +429,23 @@ var TOOL_EXECUTION_CONTRACT = Object.freeze({
|
|
|
429
429
|
concurrency: "exclusive",
|
|
430
430
|
durableWebForeground: false
|
|
431
431
|
},
|
|
432
|
+
createHtmlArtifact: {
|
|
433
|
+
replay: "unsafe",
|
|
434
|
+
sideEffects: "mutation",
|
|
435
|
+
locality: "server",
|
|
436
|
+
interaction: "none",
|
|
437
|
+
concurrency: "exclusive",
|
|
438
|
+
durableWebForeground: "mutating"
|
|
439
|
+
},
|
|
440
|
+
readHtmlArtifact: serverPureRead("read-only"),
|
|
441
|
+
updateHtmlArtifact: {
|
|
442
|
+
replay: "unsafe",
|
|
443
|
+
sideEffects: "mutation",
|
|
444
|
+
locality: "server",
|
|
445
|
+
interaction: "none",
|
|
446
|
+
concurrency: "exclusive",
|
|
447
|
+
durableWebForeground: "mutating"
|
|
448
|
+
},
|
|
432
449
|
deleteDialogs: {
|
|
433
450
|
replay: "unsafe",
|
|
434
451
|
sideEffects: "mutation",
|
|
@@ -460,9 +477,11 @@ function collectDurableWebToolNames(durableClass) {
|
|
|
460
477
|
}
|
|
461
478
|
var DURABLE_WEB_FOREGROUND_READ_ONLY_TOOL_NAMES = collectDurableWebToolNames("read-only");
|
|
462
479
|
var DURABLE_WEB_FOREGROUND_INTERACTIVE_TOOL_NAMES = collectDurableWebToolNames("interactive");
|
|
480
|
+
var DURABLE_WEB_FOREGROUND_MUTATING_TOOL_NAMES = collectDurableWebToolNames("mutating");
|
|
463
481
|
var DURABLE_WEB_FOREGROUND_TOOL_NAMES = /* @__PURE__ */ new Set([
|
|
464
482
|
...DURABLE_WEB_FOREGROUND_READ_ONLY_TOOL_NAMES,
|
|
465
|
-
...DURABLE_WEB_FOREGROUND_INTERACTIVE_TOOL_NAMES
|
|
483
|
+
...DURABLE_WEB_FOREGROUND_INTERACTIVE_TOOL_NAMES,
|
|
484
|
+
...DURABLE_WEB_FOREGROUND_MUTATING_TOOL_NAMES
|
|
466
485
|
]);
|
|
467
486
|
var CONFIRMED_HANDOFF_TOOL_NAMES = new Set(
|
|
468
487
|
Object.entries(TOOL_EXECUTION_CONTRACT).filter(([, contract]) => contract.interaction === "handoff").map(([name]) => name)
|
|
@@ -471,6 +490,10 @@ function hasProvenServerReadOnlySemantics(toolName) {
|
|
|
471
490
|
const contract = resolveToolExecutionContract(toolName);
|
|
472
491
|
return contract.durableWebForeground === "read-only" && (contract.replay === "pure" || contract.replay === "idempotent") && (contract.sideEffects === "none" || contract.sideEffects === "observable") && contract.locality === "server" && contract.interaction === "none";
|
|
473
492
|
}
|
|
493
|
+
function hasProvenServerMutatingSemantics(toolName) {
|
|
494
|
+
const contract = resolveToolExecutionContract(toolName);
|
|
495
|
+
return contract.durableWebForeground === "mutating" && (contract.replay === "unsafe" || contract.replay === "deduplicated") && contract.sideEffects === "mutation" && contract.locality === "server" && contract.interaction === "none";
|
|
496
|
+
}
|
|
474
497
|
function hasProvenDurableWebForegroundSemantics(toolName) {
|
|
475
498
|
const contract = resolveToolExecutionContract(toolName);
|
|
476
499
|
if (contract.durableWebForeground === "read-only") {
|
|
@@ -479,6 +502,9 @@ function hasProvenDurableWebForegroundSemantics(toolName) {
|
|
|
479
502
|
if (contract.durableWebForeground === "interactive") {
|
|
480
503
|
return contract.locality === "server" && contract.interaction === "blocking" && contract.sideEffects === "observable";
|
|
481
504
|
}
|
|
505
|
+
if (contract.durableWebForeground === "mutating") {
|
|
506
|
+
return hasProvenServerMutatingSemantics(toolName);
|
|
507
|
+
}
|
|
482
508
|
return false;
|
|
483
509
|
}
|
|
484
510
|
|
|
@@ -489,6 +515,9 @@ var AUDITED_WEB_FOREGROUND_HOST_BASELINE_TOOL_NAMES = /* @__PURE__ */ new Set([
|
|
|
489
515
|
"readFile",
|
|
490
516
|
"createDoc",
|
|
491
517
|
"updateDoc",
|
|
518
|
+
"createHtmlArtifact",
|
|
519
|
+
"readHtmlArtifact",
|
|
520
|
+
"updateHtmlArtifact",
|
|
492
521
|
"search_workspace",
|
|
493
522
|
"updateSelf",
|
|
494
523
|
"ask_user",
|
package/index.js
CHANGED
|
@@ -106,9 +106,9 @@ async function runScript(script, forwardedArgs, env) {
|
|
|
106
106
|
return proc.exited;
|
|
107
107
|
}
|
|
108
108
|
async function launchTuiWorkspace(args2) {
|
|
109
|
-
const { startTuiWorkspace } = await import("./readlineWorkspace-
|
|
109
|
+
const { startTuiWorkspace } = await import("./readlineWorkspace-K5EIF774.js");
|
|
110
110
|
const { createTuiSummaryLlmCaller } = await import("./tuiSummaryLlmCaller-73QO3HAD.js");
|
|
111
|
-
const { setCliAutoCompactionSummaryFallback } = await import("./localRuntimeAdapter-
|
|
111
|
+
const { setCliAutoCompactionSummaryFallback } = await import("./localRuntimeAdapter-RLASCXQ5.js");
|
|
112
112
|
setCliAutoCompactionSummaryFallback(
|
|
113
113
|
createTuiSummaryLlmCaller(args2.env, { timeoutMs: 3e4 })
|
|
114
114
|
);
|
|
@@ -120,7 +120,7 @@ async function launchTuiWorkspace(args2) {
|
|
|
120
120
|
});
|
|
121
121
|
}
|
|
122
122
|
async function main() {
|
|
123
|
-
const { createCliRuntimeContext, looksLikeDaemonShortcut, renderHelpText, resolveCommand, runResolvedCommand } = await import("./commandRegistry-
|
|
123
|
+
const { createCliRuntimeContext, looksLikeDaemonShortcut, renderHelpText, resolveCommand, runResolvedCommand } = await import("./commandRegistry-YQ47YCJW.js");
|
|
124
124
|
const { buildCliRuntimeEnv, loadProfileConfig } = await import("./profileConfig-KN3N2BLF.js");
|
|
125
125
|
const { resolveTuiLaunchMode } = await import("./runtimeModeArgs-2Y7BALTO.js");
|
|
126
126
|
const runtimeEnv = {
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
withRuntimeEnabledPacksAndPrompt,
|
|
47
47
|
writeDialog,
|
|
48
48
|
writeLocalTokenRecord
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-HMQUNXZ7.js";
|
|
50
50
|
import "./chunk-4KPB3KWX.js";
|
|
51
51
|
import {
|
|
52
52
|
defaultLoopbackRequest,
|
|
@@ -65,9 +65,9 @@ import "./chunk-VL5KOY2C.js";
|
|
|
65
65
|
import "./chunk-ZEZC7IIM.js";
|
|
66
66
|
import "./chunk-ATNTHIZI.js";
|
|
67
67
|
import "./chunk-NEZGPBL7.js";
|
|
68
|
-
import "./chunk-
|
|
68
|
+
import "./chunk-IVNI335J.js";
|
|
69
69
|
import "./chunk-HS7MLR74.js";
|
|
70
|
-
import "./chunk-
|
|
70
|
+
import "./chunk-QVJ7PDL7.js";
|
|
71
71
|
import {
|
|
72
72
|
fetchWithTransientRetry
|
|
73
73
|
} from "./chunk-KFHREHUQ.js";
|
|
@@ -75,12 +75,12 @@ import "./chunk-JH7KMNGT.js";
|
|
|
75
75
|
import "./chunk-OXME3PEE.js";
|
|
76
76
|
import "./chunk-KSTEXKL6.js";
|
|
77
77
|
import "./chunk-Z3MQYKRN.js";
|
|
78
|
-
import "./chunk-
|
|
78
|
+
import "./chunk-SRDWWDBV.js";
|
|
79
79
|
import "./chunk-NF64D32W.js";
|
|
80
80
|
import "./chunk-3L2WKC3W.js";
|
|
81
81
|
import "./chunk-I5PBXF7O.js";
|
|
82
82
|
import "./chunk-VF4K2QE6.js";
|
|
83
|
-
import "./chunk-
|
|
83
|
+
import "./chunk-SQTBTTAE.js";
|
|
84
84
|
import "./chunk-MYOH447Z.js";
|
|
85
85
|
import "./chunk-RXUKDHS5.js";
|
|
86
86
|
import "./chunk-WYKMOZTW.js";
|
|
@@ -88,14 +88,14 @@ import "./chunk-AGIM7IMJ.js";
|
|
|
88
88
|
import "./chunk-A2ZMIRLN.js";
|
|
89
89
|
import "./chunk-VIDPVFP3.js";
|
|
90
90
|
import "./chunk-63W5N6P3.js";
|
|
91
|
-
import "./chunk-
|
|
92
|
-
import "./chunk-
|
|
91
|
+
import "./chunk-COJ76M7O.js";
|
|
92
|
+
import "./chunk-WAECKLPA.js";
|
|
93
93
|
import "./chunk-5XBUWM6I.js";
|
|
94
|
-
import "./chunk-
|
|
94
|
+
import "./chunk-33OJHC3O.js";
|
|
95
95
|
import "./chunk-TZXPT53C.js";
|
|
96
96
|
import "./chunk-LEC5ALIN.js";
|
|
97
97
|
import "./chunk-523DITKR.js";
|
|
98
|
-
import "./chunk-
|
|
98
|
+
import "./chunk-6YY6MOCF.js";
|
|
99
99
|
import "./chunk-BYXBJQAS.js";
|
|
100
100
|
import "./chunk-QYPE3TS3.js";
|
|
101
101
|
import "./chunk-T3U2KQF4.js";
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
buildMachinePermissionPromptBlock,
|
|
3
3
|
handleConnectorRunMessage,
|
|
4
4
|
resolveMachineRunPermissionPolicy
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ZZC64BCU.js";
|
|
6
6
|
import {
|
|
7
7
|
MAX_CONNECTOR_TIMER_DELAY_MS,
|
|
8
8
|
clampConnectorTimerDelayMs,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
parsePositiveFiniteNumberOrFallback
|
|
16
16
|
} from "./chunk-Y5GCAMGP.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-HMQUNXZ7.js";
|
|
18
18
|
import "./chunk-4KPB3KWX.js";
|
|
19
19
|
import "./chunk-VP3BINY7.js";
|
|
20
20
|
import "./chunk-HAB2UDLT.js";
|
|
@@ -34,22 +34,22 @@ import "./chunk-VL5KOY2C.js";
|
|
|
34
34
|
import "./chunk-ZEZC7IIM.js";
|
|
35
35
|
import "./chunk-ATNTHIZI.js";
|
|
36
36
|
import "./chunk-NEZGPBL7.js";
|
|
37
|
-
import "./chunk-
|
|
37
|
+
import "./chunk-IVNI335J.js";
|
|
38
38
|
import "./chunk-HS7MLR74.js";
|
|
39
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-QVJ7PDL7.js";
|
|
40
40
|
import "./chunk-KFHREHUQ.js";
|
|
41
41
|
import "./chunk-JH7KMNGT.js";
|
|
42
42
|
import "./chunk-OXME3PEE.js";
|
|
43
43
|
import "./chunk-KSTEXKL6.js";
|
|
44
44
|
import "./chunk-Z3MQYKRN.js";
|
|
45
|
-
import "./chunk-
|
|
45
|
+
import "./chunk-SRDWWDBV.js";
|
|
46
46
|
import "./chunk-NF64D32W.js";
|
|
47
47
|
import {
|
|
48
48
|
CORE_DRAIN_REASON
|
|
49
49
|
} from "./chunk-3L2WKC3W.js";
|
|
50
50
|
import "./chunk-I5PBXF7O.js";
|
|
51
51
|
import "./chunk-VF4K2QE6.js";
|
|
52
|
-
import "./chunk-
|
|
52
|
+
import "./chunk-SQTBTTAE.js";
|
|
53
53
|
import "./chunk-MYOH447Z.js";
|
|
54
54
|
import "./chunk-RXUKDHS5.js";
|
|
55
55
|
import "./chunk-WYKMOZTW.js";
|
|
@@ -57,14 +57,14 @@ import "./chunk-AGIM7IMJ.js";
|
|
|
57
57
|
import "./chunk-A2ZMIRLN.js";
|
|
58
58
|
import "./chunk-VIDPVFP3.js";
|
|
59
59
|
import "./chunk-63W5N6P3.js";
|
|
60
|
-
import "./chunk-
|
|
61
|
-
import "./chunk-
|
|
60
|
+
import "./chunk-COJ76M7O.js";
|
|
61
|
+
import "./chunk-WAECKLPA.js";
|
|
62
62
|
import "./chunk-5XBUWM6I.js";
|
|
63
|
-
import "./chunk-
|
|
63
|
+
import "./chunk-33OJHC3O.js";
|
|
64
64
|
import "./chunk-TZXPT53C.js";
|
|
65
65
|
import "./chunk-LEC5ALIN.js";
|
|
66
66
|
import "./chunk-523DITKR.js";
|
|
67
|
-
import "./chunk-
|
|
67
|
+
import "./chunk-6YY6MOCF.js";
|
|
68
68
|
import "./chunk-BYXBJQAS.js";
|
|
69
69
|
import "./chunk-QYPE3TS3.js";
|
|
70
70
|
import "./chunk-T3U2KQF4.js";
|