nolo-cli 0.220.0 → 0.221.0
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-BNEMFCAO.js → _executeModel-WZKT6XEU.js} +12 -12
- package/{agentDeleteCommand-7QTQNFCO.js → agentDeleteCommand-PZWRHNXY.js} +10 -10
- package/{agentEmailCommands-I7SHOSD6.js → agentEmailCommands-QTKMEICX.js} +11 -11
- package/{agentMachineCommands-UMDKILU3.js → agentMachineCommands-7QGICJLM.js} +1 -1
- package/{agentRecordCommands-YTAMTHOY.js → agentRecordCommands-SLLADS5C.js} +11 -11
- package/{agentRunCommand-DBM6YNO6.js → agentRunCommand-OFQLOF5Y.js} +11 -11
- package/{agentSlice-DPG7Q7IA.js → agentSlice-L4SBGWTB.js} +1 -1
- package/{chunk-KHVFJSVE.js → chunk-DDC6P6EH.js} +6 -6
- package/{chunk-XTETTSKN.js → chunk-EXJK7TQO.js} +23 -15
- package/{chunk-KRI6N5QZ.js → chunk-GACR7H6T.js} +1 -1
- package/{chunk-GV6PRJBU.js → chunk-GOCSSER3.js} +2 -2
- package/{chunk-MXKWTPUM.js → chunk-GYS5FUYR.js} +1 -1
- package/{chunk-MSMHU36U.js → chunk-H6L2NFHY.js} +2 -2
- package/{chunk-6RDBLXVQ.js → chunk-IAAIUH64.js} +2 -2
- package/{chunk-S5NA3C52.js → chunk-IXG6YXQM.js} +8 -8
- package/{chunk-3NNXR7EH.js → chunk-K67C2JUC.js} +3 -3
- package/{chunk-44J7Z5AQ.js → chunk-MDZWUD3R.js} +2 -2
- package/{chunk-MXRUXMZ3.js → chunk-OYU2MA5S.js} +6 -6
- package/{chunk-53MFERZ3.js → chunk-R3NEQZ53.js} +119 -9
- package/{chunk-AWIL6EHN.js → chunk-SMJEXX2S.js} +2 -2
- package/{chunk-SZVMASJ2.js → chunk-STJ6LSQE.js} +5 -5
- package/{chunk-JLAMNSBC.js → chunk-UE2EVEYS.js} +2 -2
- package/{chunk-JJMR2EA3.js → chunk-UWAIJOF2.js} +2 -2
- package/{chunk-5WKDR7HS.js → chunk-VSYTM22R.js} +2 -2
- package/{chunk-LMRRCEDE.js → chunk-XJPLSAPJ.js} +2 -2
- package/{chunk-R44TU3MZ.js → chunk-ZXF6D3I6.js} +6 -4
- package/{commandRegistry-T3UBK6OA.js → commandRegistry-ZLWHQVAI.js} +15 -15
- package/{contentThunks-YEPZAHXU.js → contentThunks-4ZX2TO7C.js} +3 -3
- package/{createAgentAutomationAction-TBIIO5WT.js → createAgentAutomationAction-L4CYUZJG.js} +3 -3
- package/{createDialogAction-KBKMYFTQ.js → createDialogAction-QTU2R2Q3.js} +4 -4
- package/{createPageAction-3FGAPLJO.js → createPageAction-F3GJTHW2.js} +4 -4
- package/{dialogSlice-DP2WTMNO.js → dialogSlice-P2S4LXQD.js} +2 -2
- package/{docStore-NDY3K3PK.js → docStore-6O7NYL6A.js} +1 -1
- package/{handleSendMessageAction-IUGVVJ43.js → handleSendMessageAction-7IHLR37A.js} +9 -9
- package/{hostCredentialCreate-X2ZFRXDR.js → hostCredentialCreate-VNCQUAFT.js} +11 -11
- package/index.js +3 -3
- package/{localRuntimeAdapter-KAG3T4LF.js → localRuntimeAdapter-FOWVNMIK.js} +10 -10
- package/{machineCommands-6NIQJE2A.js → machineCommands-ZGC3J4JB.js} +11 -11
- package/{machineWsRunDispatch-RA5NOSGG.js → machineWsRunDispatch-KK5U4M3G.js} +11 -11
- package/package.json +1 -1
- package/{projectArchive-OIUP63MV.js → projectArchive-7ZDYBXAX.js} +4 -4
- package/{readlineWorkspace-ZGC4KSXG.js → readlineWorkspace-YHT4SX2C.js} +14 -14
- package/{runAgentClientLoop-NKUW2DSJ.js → runAgentClientLoop-H4ED5V3K.js} +10 -10
- package/{streamAgentChatTurn-FJTUUXHJ.js → streamAgentChatTurn-ZXPOXU33.js} +13 -13
- package/{tools-ZXHIAOSP.js → tools-2MRWA2PP.js} +7 -7
- package/{updateDialogTitleAction-JMKLKL4P.js → updateDialogTitleAction-RZ3KZSGQ.js} +3 -3
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
} from "./chunk-523DITKR.js";
|
|
11
11
|
import {
|
|
12
12
|
runLlm
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-K67C2JUC.js";
|
|
14
14
|
import {
|
|
15
15
|
isMediaToolConfirmation
|
|
16
16
|
} from "./chunk-QYPE3TS3.js";
|
|
@@ -6558,6 +6558,15 @@ var chat_locale_default = {
|
|
|
6558
6558
|
ask_user: "Ask",
|
|
6559
6559
|
runStreamingAgent: "Handoff"
|
|
6560
6560
|
},
|
|
6561
|
+
toolActivity: {
|
|
6562
|
+
unknown: "Unknown",
|
|
6563
|
+
attention: {
|
|
6564
|
+
failure: "Failed",
|
|
6565
|
+
blocked: "Blocked",
|
|
6566
|
+
permission: "Requires authorization",
|
|
6567
|
+
"delete-confirmation": "Awaiting delete confirmation"
|
|
6568
|
+
}
|
|
6569
|
+
},
|
|
6561
6570
|
controlActions: {
|
|
6562
6571
|
status: "Status check",
|
|
6563
6572
|
stop: "Stop task",
|
|
@@ -7102,6 +7111,15 @@ var chat_locale_default = {
|
|
|
7102
7111
|
ask_user: "\u63D0\u95EE",
|
|
7103
7112
|
runStreamingAgent: "\u8F6C\u4EA4"
|
|
7104
7113
|
},
|
|
7114
|
+
toolActivity: {
|
|
7115
|
+
unknown: "\u72B6\u6001\u672A\u77E5",
|
|
7116
|
+
attention: {
|
|
7117
|
+
failure: "\u5931\u8D25",
|
|
7118
|
+
blocked: "\u5DF2\u963B\u585E",
|
|
7119
|
+
permission: "\u9700\u8981\u6388\u6743",
|
|
7120
|
+
"delete-confirmation": "\u7B49\u5F85\u5220\u9664\u786E\u8BA4"
|
|
7121
|
+
}
|
|
7122
|
+
},
|
|
7105
7123
|
controlActions: {
|
|
7106
7124
|
status: "\u72B6\u6001\u8BCA\u65AD",
|
|
7107
7125
|
stop: "\u505C\u6B62\u4EFB\u52A1",
|
|
@@ -7646,6 +7664,15 @@ var chat_locale_default = {
|
|
|
7646
7664
|
ask_user: "\u63D0\u554F",
|
|
7647
7665
|
runStreamingAgent: "\u8F49\u4EA4"
|
|
7648
7666
|
},
|
|
7667
|
+
toolActivity: {
|
|
7668
|
+
unknown: "\u72C0\u614B\u672A\u77E5",
|
|
7669
|
+
attention: {
|
|
7670
|
+
failure: "\u5931\u6557",
|
|
7671
|
+
blocked: "\u5DF2\u963B\u585E",
|
|
7672
|
+
permission: "\u9700\u8981\u6388\u6B0A",
|
|
7673
|
+
"delete-confirmation": "\u7B49\u5F85\u522A\u9664\u78BA\u8A8D"
|
|
7674
|
+
}
|
|
7675
|
+
},
|
|
7649
7676
|
controlActions: {
|
|
7650
7677
|
status: "\u72C0\u614B\u8A3A\u65B7",
|
|
7651
7678
|
stop: "\u505C\u6B62\u4EFB\u52D9",
|
|
@@ -8196,6 +8223,15 @@ var chat_locale_default = {
|
|
|
8196
8223
|
ask_user: "\u8CEA\u554F",
|
|
8197
8224
|
runStreamingAgent: "\u5F15\u304D\u7D99\u304E"
|
|
8198
8225
|
},
|
|
8226
|
+
toolActivity: {
|
|
8227
|
+
unknown: "\u72B6\u614B\u4E0D\u660E",
|
|
8228
|
+
attention: {
|
|
8229
|
+
failure: "\u5931\u6557",
|
|
8230
|
+
blocked: "\u30D6\u30ED\u30C3\u30AF\u4E2D",
|
|
8231
|
+
permission: "\u6A29\u9650\u304C\u5FC5\u8981",
|
|
8232
|
+
"delete-confirmation": "\u524A\u9664\u78BA\u8A8D\u5F85\u3061"
|
|
8233
|
+
}
|
|
8234
|
+
},
|
|
8199
8235
|
controlActions: {
|
|
8200
8236
|
status: "\u30B9\u30C6\u30FC\u30BF\u30B9\u78BA\u8A8D",
|
|
8201
8237
|
stop: "\u30BF\u30B9\u30AF\u505C\u6B62",
|
|
@@ -8747,6 +8783,15 @@ var chat_locale_default = {
|
|
|
8747
8783
|
ask_user: "Fragen",
|
|
8748
8784
|
runStreamingAgent: "\xDCbergeben"
|
|
8749
8785
|
},
|
|
8786
|
+
toolActivity: {
|
|
8787
|
+
unknown: "Unbekannt",
|
|
8788
|
+
attention: {
|
|
8789
|
+
failure: "Fehlgeschlagen",
|
|
8790
|
+
blocked: "Blockiert",
|
|
8791
|
+
permission: "Autorisierung erforderlich",
|
|
8792
|
+
"delete-confirmation": "Wartet auf L\xF6schbest\xE4tigung"
|
|
8793
|
+
}
|
|
8794
|
+
},
|
|
8750
8795
|
controlActions: {
|
|
8751
8796
|
status: "Statuspr\xFCfung",
|
|
8752
8797
|
stop: "Aufgabe anhalten",
|
|
@@ -9298,6 +9343,15 @@ var chat_locale_default = {
|
|
|
9298
9343
|
ask_user: "Preguntar",
|
|
9299
9344
|
runStreamingAgent: "Transferir"
|
|
9300
9345
|
},
|
|
9346
|
+
toolActivity: {
|
|
9347
|
+
unknown: "Desconocido",
|
|
9348
|
+
attention: {
|
|
9349
|
+
failure: "Fallido",
|
|
9350
|
+
blocked: "Bloqueado",
|
|
9351
|
+
permission: "Requiere autorizaci\xF3n",
|
|
9352
|
+
"delete-confirmation": "Esperando confirmaci\xF3n de eliminaci\xF3n"
|
|
9353
|
+
}
|
|
9354
|
+
},
|
|
9301
9355
|
controlActions: {
|
|
9302
9356
|
status: "Diagn\xF3stico de estado",
|
|
9303
9357
|
stop: "Detener tarea",
|
|
@@ -12503,6 +12557,60 @@ function resolveStreamEndBillingUsages(input) {
|
|
|
12503
12557
|
}
|
|
12504
12558
|
|
|
12505
12559
|
// packages/chat/messages/web/toolDisplayName.ts
|
|
12560
|
+
var TOOL_DISPLAY_NAME_DEFAULTS = {
|
|
12561
|
+
tool: "\u5DE5\u5177",
|
|
12562
|
+
globFiles: "\u67E5\u627E\u6587\u4EF6",
|
|
12563
|
+
glob_files: "\u67E5\u627E\u6587\u4EF6",
|
|
12564
|
+
codeSearch: "\u4EE3\u7801\u641C\u7D22",
|
|
12565
|
+
code_search: "\u4EE3\u7801\u641C\u7D22",
|
|
12566
|
+
readFile: "\u8BFB\u53D6\u6587\u4EF6",
|
|
12567
|
+
read_file: "\u8BFB\u53D6\u6587\u4EF6",
|
|
12568
|
+
writeFile: "\u5199\u5165\u6587\u4EF6",
|
|
12569
|
+
write_file: "\u5199\u5165\u6587\u4EF6",
|
|
12570
|
+
editFile: "\u4FEE\u6539\u6587\u4EF6",
|
|
12571
|
+
edit_file: "\u4FEE\u6539\u6587\u4EF6",
|
|
12572
|
+
execShell: "\u8FD0\u884C\u547D\u4EE4",
|
|
12573
|
+
exec_shell: "\u8FD0\u884C\u547D\u4EE4",
|
|
12574
|
+
shell: "\u8FD0\u884C\u547D\u4EE4",
|
|
12575
|
+
searchWorkspace: "\u641C\u7D22\u5DE5\u4F5C\u533A",
|
|
12576
|
+
readWorkspaceFile: "\u8BFB\u53D6\u6587\u4EF6",
|
|
12577
|
+
writeWorkspaceFile: "\u5199\u5165\u6587\u4EF6",
|
|
12578
|
+
replaceWorkspaceText: "\u66FF\u6362\u6587\u672C",
|
|
12579
|
+
listAgents: "\u5217\u51FA\u52A9\u624B",
|
|
12580
|
+
readAgent: "\u8BFB\u53D6\u52A9\u624B",
|
|
12581
|
+
startAgentRun: "\u542F\u52A8\u5B50\u4EFB\u52A1",
|
|
12582
|
+
controlAgentRun: "\u63A7\u5236\u5B50\u4EFB\u52A1",
|
|
12583
|
+
createAgent: "\u521B\u5EFA\u52A9\u624B",
|
|
12584
|
+
updateAgent: "\u66F4\u65B0\u52A9\u624B",
|
|
12585
|
+
prepareAgentDraft: "\u6574\u7406\u52A9\u624B\u8349\u7A3F",
|
|
12586
|
+
createSkillAgent: "\u521B\u5EFA\u6280\u80FD\u52A9\u624B",
|
|
12587
|
+
queryDialogsBySubjectRef: "\u68C0\u7D22\u5BF9\u8BDD\u8BB0\u5F55",
|
|
12588
|
+
deleteDialogs: "\u5220\u9664\u5BF9\u8BDD\u8BB0\u5F55",
|
|
12589
|
+
readDialog: "\u8BFB\u53D6\u5BF9\u8BDD",
|
|
12590
|
+
listDialogs: "\u5217\u51FA\u5BF9\u8BDD",
|
|
12591
|
+
exa_search: "\u641C\u7D22",
|
|
12592
|
+
firecrawl_scrape: "\u7F51\u9875\u6293\u53D6",
|
|
12593
|
+
firecrawl_search: "\u7F51\u9875\u641C\u7D22",
|
|
12594
|
+
startPreview: "\u542F\u52A8\u9884\u89C8",
|
|
12595
|
+
getPreviewStatus: "\u9884\u89C8\u72B6\u6001",
|
|
12596
|
+
stopPreview: "\u505C\u6B62\u9884\u89C8",
|
|
12597
|
+
releasePreview: "\u91CA\u653E\u9884\u89C8",
|
|
12598
|
+
captureVisualState: "\u622A\u56FE\u68C0\u67E5",
|
|
12599
|
+
fetchWebpage: "\u6293\u53D6\u7F51\u9875",
|
|
12600
|
+
fetch_webpage: "\u6293\u53D6\u7F51\u9875",
|
|
12601
|
+
loadSkill: "\u52A0\u8F7D\u6280\u80FD"
|
|
12602
|
+
};
|
|
12603
|
+
function normalizeToolNameKey(toolName) {
|
|
12604
|
+
let normalized = asTrimmedString(toolName);
|
|
12605
|
+
if (!normalized) return "";
|
|
12606
|
+
normalized = normalized.replace(/^functions\./, "").replace(/^tools\./, "");
|
|
12607
|
+
if (TOOL_DISPLAY_NAME_DEFAULTS[normalized]) return normalized;
|
|
12608
|
+
if (normalized.includes("_")) {
|
|
12609
|
+
const camel = normalized.replace(/_([a-z])/g, (_, c) => c.toUpperCase());
|
|
12610
|
+
if (TOOL_DISPLAY_NAME_DEFAULTS[camel]) return camel;
|
|
12611
|
+
}
|
|
12612
|
+
return normalized;
|
|
12613
|
+
}
|
|
12506
12614
|
var LEGACY_VERSION_ACTIVITY_TITLES = {
|
|
12507
12615
|
\u7528\u7248\u672C\u7BA1\u7406\u68C0\u67E5\u6539\u52A8: "\u68C0\u67E5\u6539\u52A8",
|
|
12508
12616
|
\u7528\u7248\u672C\u7BA1\u7406\u67E5\u770B\u6539\u52A8: "\u67E5\u770B\u6539\u52A8",
|
|
@@ -12832,7 +12940,9 @@ function formatActivityAction(activity) {
|
|
|
12832
12940
|
}
|
|
12833
12941
|
function getMessageStatus(msg) {
|
|
12834
12942
|
const rawData = typeof msg?.content === "string" ? asOptionalJsonRecord(msg.content) : msg?.content;
|
|
12835
|
-
const
|
|
12943
|
+
const name = normalizeToolNameKey(msg?.toolName);
|
|
12944
|
+
const isReadFile = ["readFile", "read_file", "readWorkspaceFile"].includes(name);
|
|
12945
|
+
const isError = msg?.toolPayload?.status === "failed" || !!msg?.toolPayload?.error || !!msg?.metadata?.error || !isReadFile && (!!rawData?.error || rawData?.ok === false);
|
|
12836
12946
|
if (msg?.isStreaming || msg?.toolPayload?.status === "running") return "running";
|
|
12837
12947
|
if (isError) return "failed";
|
|
12838
12948
|
if (msg?.toolPayload?.status === "pending") return "pending";
|
|
@@ -14509,7 +14619,7 @@ var messageSlice = createSliceWithThunks({
|
|
|
14509
14619
|
runtimeOptions: args.runtimeOptions
|
|
14510
14620
|
});
|
|
14511
14621
|
if (agentKeyToUse) {
|
|
14512
|
-
const { streamAgentChatTurn } = await import("./agentSlice-
|
|
14622
|
+
const { streamAgentChatTurn } = await import("./agentSlice-L4SBGWTB.js");
|
|
14513
14623
|
await dispatch(
|
|
14514
14624
|
streamAgentChatTurn({
|
|
14515
14625
|
agentKey: agentKeyToUse,
|
|
@@ -15642,7 +15752,7 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
15642
15752
|
}
|
|
15643
15753
|
if (isCurrentDialog) {
|
|
15644
15754
|
await thunkApi.dispatch(resetMsgs());
|
|
15645
|
-
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-
|
|
15755
|
+
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-P2S4LXQD.js");
|
|
15646
15756
|
dispatch(clearPendingAttachments2());
|
|
15647
15757
|
}
|
|
15648
15758
|
return { dialogKey, isCurrentDialog, attachmentPlan };
|
|
@@ -15650,15 +15760,15 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
15650
15760
|
|
|
15651
15761
|
// packages/chat/dialog/dialogSlice.ts
|
|
15652
15762
|
var runCreateDialogAction = async (args, thunkApi) => {
|
|
15653
|
-
const { createDialogAction } = await import("./createDialogAction-
|
|
15763
|
+
const { createDialogAction } = await import("./createDialogAction-QTU2R2Q3.js");
|
|
15654
15764
|
return createDialogAction(args, thunkApi);
|
|
15655
15765
|
};
|
|
15656
15766
|
var runCreateAgentAutomationAction = async (args, thunkApi) => {
|
|
15657
|
-
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-
|
|
15767
|
+
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-L4CYUZJG.js");
|
|
15658
15768
|
return createAgentAutomationAction(args, thunkApi);
|
|
15659
15769
|
};
|
|
15660
15770
|
var runUpdateDialogTitleAction = async (args, thunkApi) => {
|
|
15661
|
-
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-
|
|
15771
|
+
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-RZ3KZSGQ.js");
|
|
15662
15772
|
return updateDialogTitleAction(args, thunkApi);
|
|
15663
15773
|
};
|
|
15664
15774
|
var runAddDialogAgentAction = async (args, thunkApi) => {
|
|
@@ -15682,7 +15792,7 @@ var runSetDialogExtraReferencesAction = async (args, thunkApi) => {
|
|
|
15682
15792
|
return setDialogExtraReferencesAction(args, thunkApi);
|
|
15683
15793
|
};
|
|
15684
15794
|
var runHandleSendMessageAction = async (args, thunkApi) => {
|
|
15685
|
-
const { handleSendMessageAction } = await import("./handleSendMessageAction-
|
|
15795
|
+
const { handleSendMessageAction } = await import("./handleSendMessageAction-7IHLR37A.js");
|
|
15686
15796
|
return handleSendMessageAction(args, thunkApi);
|
|
15687
15797
|
};
|
|
15688
15798
|
function clearDialogState() {
|
|
@@ -15695,7 +15805,7 @@ var createPageAndAddReference = createAsyncThunk(
|
|
|
15695
15805
|
async (payload, { dispatch, getState, rejectWithValue }) => {
|
|
15696
15806
|
const { slateData, jsonData, title, type, fileId, groupId, dialogKey } = payload;
|
|
15697
15807
|
try {
|
|
15698
|
-
const { createDocState } = await import("./docStore-
|
|
15808
|
+
const { createDocState } = await import("./docStore-6O7NYL6A.js");
|
|
15699
15809
|
const pageKey = await createDocState(
|
|
15700
15810
|
{ slateData, title },
|
|
15701
15811
|
{ dispatch, getState }
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
addContentToSpace
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-GYS5FUYR.js";
|
|
4
4
|
import {
|
|
5
5
|
prepareAndPersistMessage,
|
|
6
6
|
uiAskChoiceFunc,
|
|
7
7
|
uiAskChoiceFunctionSchema
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-R3NEQZ53.js";
|
|
9
9
|
import {
|
|
10
10
|
require_format
|
|
11
11
|
} from "./chunk-BUDVRYES.js";
|
|
@@ -68,11 +68,11 @@ import {
|
|
|
68
68
|
import {
|
|
69
69
|
inferCaptureIntent,
|
|
70
70
|
resolveUserSkillRuntime
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-ZXF6D3I6.js";
|
|
72
72
|
import {
|
|
73
73
|
inlineImageUrlsForCustomProvider,
|
|
74
74
|
prepareTools
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-UE2EVEYS.js";
|
|
76
76
|
import {
|
|
77
77
|
getServerProviderSecret
|
|
78
78
|
} from "./chunk-HS7MLR74.js";
|
|
@@ -95,7 +95,7 @@ import {
|
|
|
95
95
|
resolveCliLocalSpawnDispatch,
|
|
96
96
|
resolveRunContextFacts,
|
|
97
97
|
resolveStartAgentRunCwd
|
|
98
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-IXG6YXQM.js";
|
|
99
99
|
import {
|
|
100
100
|
deriveCredentialGroup,
|
|
101
101
|
deriveCustomProviderCredentialGroup
|
|
@@ -108,7 +108,7 @@ import {
|
|
|
108
108
|
prepareTokenUsageData,
|
|
109
109
|
runKeyed,
|
|
110
110
|
validateAskChoiceInput
|
|
111
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-R3NEQZ53.js";
|
|
112
112
|
import {
|
|
113
113
|
applyTokenUsageToDayStats,
|
|
114
114
|
require_format
|
|
@@ -119,7 +119,7 @@ import {
|
|
|
119
119
|
} from "./chunk-523DITKR.js";
|
|
120
120
|
import {
|
|
121
121
|
fetchServerSyncedCredential
|
|
122
|
-
} from "./chunk-
|
|
122
|
+
} from "./chunk-K67C2JUC.js";
|
|
123
123
|
import {
|
|
124
124
|
defaultLoopbackRequest
|
|
125
125
|
} from "./chunk-VP3BINY7.js";
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./chunk-HS7MLR74.js";
|
|
4
4
|
import {
|
|
5
5
|
performServerProxyFetchWithRetry
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-MDZWUD3R.js";
|
|
7
7
|
import {
|
|
8
8
|
fetchServerSyncedCredential
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-K67C2JUC.js";
|
|
10
10
|
import {
|
|
11
11
|
CREDENTIAL_HYGIENE_RULE,
|
|
12
12
|
DELETE_SAFETY_RED_LINE,
|
|
@@ -335,7 +335,7 @@ async function saveDocState(arg, { dispatch, getState }) {
|
|
|
335
335
|
).unwrap();
|
|
336
336
|
if (dbSpaceId) {
|
|
337
337
|
try {
|
|
338
|
-
const { updateContentTitle } = await import("./contentThunks-
|
|
338
|
+
const { updateContentTitle } = await import("./contentThunks-4ZX2TO7C.js");
|
|
339
339
|
await dispatch(
|
|
340
340
|
updateContentTitle({
|
|
341
341
|
spaceId: dbSpaceId,
|
|
@@ -378,7 +378,7 @@ async function saveDocState(arg, { dispatch, getState }) {
|
|
|
378
378
|
}
|
|
379
379
|
}
|
|
380
380
|
async function createDocState(args, thunkApi) {
|
|
381
|
-
const { createPageAction } = await import("./createPageAction-
|
|
381
|
+
const { createPageAction } = await import("./createPageAction-F3GJTHW2.js");
|
|
382
382
|
return createPageAction(args, thunkApi);
|
|
383
383
|
}
|
|
384
384
|
function subscribe(listener) {
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./chunk-VF4K2QE6.js";
|
|
16
16
|
import {
|
|
17
17
|
fetchAndCacheTableRows
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-GYS5FUYR.js";
|
|
19
19
|
import {
|
|
20
20
|
getActiveDialogKey
|
|
21
21
|
} from "./chunk-S2NTVGA2.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-2MRWA2PP.js");
|
|
787
787
|
const { executor } = findToolExecutor(run.toolName);
|
|
788
788
|
toolRunStarted({
|
|
789
789
|
id: run.id,
|
|
@@ -61,18 +61,20 @@ var buildAgentSkillPreferenceDiagnostic = (input) => {
|
|
|
61
61
|
};
|
|
62
62
|
var DIAGNOSTIC_PREFIX = "[nolo.skill.diagnostics] ";
|
|
63
63
|
var seenSignatures = /* @__PURE__ */ new Set();
|
|
64
|
-
function skillDiagnosticsEnabled(env = process.env) {
|
|
64
|
+
function skillDiagnosticsEnabled(env = typeof process === "undefined" ? {} : process.env ?? {}) {
|
|
65
65
|
const flag = env.NOLO_SKILL_DIAGNOSTICS?.trim();
|
|
66
66
|
return flag === "1" || flag === "true";
|
|
67
67
|
}
|
|
68
68
|
var reportAgentSkillPreferenceDiagnostic = (diagnostic, sink) => {
|
|
69
69
|
if (!sink && !skillDiagnosticsEnabled()) return false;
|
|
70
|
+
const stderr = typeof process === "undefined" ? void 0 : process.stderr;
|
|
71
|
+
const write = sink ?? (typeof stderr?.write === "function" ? (line) => {
|
|
72
|
+
stderr.write(line);
|
|
73
|
+
} : void 0);
|
|
74
|
+
if (!write) return false;
|
|
70
75
|
const signature = JSON.stringify(diagnostic);
|
|
71
76
|
if (seenSignatures.has(signature)) return false;
|
|
72
77
|
seenSignatures.add(signature);
|
|
73
|
-
const write = sink ?? ((line) => {
|
|
74
|
-
process.stderr.write(line);
|
|
75
|
-
});
|
|
76
78
|
write(`${DIAGNOSTIC_PREFIX}${signature}
|
|
77
79
|
`);
|
|
78
80
|
return true;
|
|
@@ -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-OFQLOF5Y.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-SLLADS5C.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-SLLADS5C.js");
|
|
148
148
|
return runAgentReadCommand(args, deps);
|
|
149
149
|
}),
|
|
150
150
|
createAgentRunCommand(["agent", "run"], "Run an agent"),
|
|
@@ -177,31 +177,31 @@ function getAgentInternalCommandEntries() {
|
|
|
177
177
|
return runSetupOfflineMarxistsAgentCommand(args, deps);
|
|
178
178
|
}),
|
|
179
179
|
createEnvCommand(["agent", "update"], "Update agent fields", async (args, deps) => {
|
|
180
|
-
const { runAgentUpdateCommand } = await import("./agentRecordCommands-
|
|
180
|
+
const { runAgentUpdateCommand } = await import("./agentRecordCommands-SLLADS5C.js");
|
|
181
181
|
return runAgentUpdateCommand(args, deps);
|
|
182
182
|
}),
|
|
183
183
|
createEnvCommand(["agent", "email", "provision"], "Provision a controlled inbox for an agent", async (args, deps) => {
|
|
184
|
-
const { runAgentEmailProvisionCommand } = await import("./agentEmailCommands-
|
|
184
|
+
const { runAgentEmailProvisionCommand } = await import("./agentEmailCommands-QTKMEICX.js");
|
|
185
185
|
return runAgentEmailProvisionCommand(args, deps);
|
|
186
186
|
}),
|
|
187
187
|
createEnvCommand(["agent", "email", "bind"], "Bind an existing email address to an agent", async (args, deps) => {
|
|
188
|
-
const { runAgentEmailBindCommand } = await import("./agentEmailCommands-
|
|
188
|
+
const { runAgentEmailBindCommand } = await import("./agentEmailCommands-QTKMEICX.js");
|
|
189
189
|
return runAgentEmailBindCommand(args, deps);
|
|
190
190
|
}),
|
|
191
191
|
createEnvCommand(["agent", "email", "transfer"], "Transfer an email identity from one agent to another (cross-account)", async (args, deps) => {
|
|
192
|
-
const { runAgentEmailTransferCommand } = await import("./agentEmailCommands-
|
|
192
|
+
const { runAgentEmailTransferCommand } = await import("./agentEmailCommands-QTKMEICX.js");
|
|
193
193
|
return runAgentEmailTransferCommand(args, deps);
|
|
194
194
|
}),
|
|
195
195
|
createEnvCommand(
|
|
196
196
|
["agent", "email", "create-and-provision"],
|
|
197
197
|
"Create an agent and provision its controlled inbox",
|
|
198
198
|
async (args, deps) => {
|
|
199
|
-
const { runAgentEmailCreateAndProvisionCommand } = await import("./agentEmailCommands-
|
|
199
|
+
const { runAgentEmailCreateAndProvisionCommand } = await import("./agentEmailCommands-QTKMEICX.js");
|
|
200
200
|
return runAgentEmailCreateAndProvisionCommand(args, deps);
|
|
201
201
|
}
|
|
202
202
|
),
|
|
203
203
|
createEnvCommand(["agent", "delete"], "Hard-delete an agent's private and public records", async (args, deps) => {
|
|
204
|
-
const { runAgentDeleteCommand } = await import("./agentDeleteCommand-
|
|
204
|
+
const { runAgentDeleteCommand } = await import("./agentDeleteCommand-PZWRHNXY.js");
|
|
205
205
|
return runAgentDeleteCommand(args, deps);
|
|
206
206
|
}),
|
|
207
207
|
createEnvCommand(["agent", "grant"], "Grant another user access to this agent's owner credentials", async (args, deps) => {
|
|
@@ -221,15 +221,15 @@ function getAgentInternalCommandEntries() {
|
|
|
221
221
|
return runAgentRevokeGrantCommand(args, deps);
|
|
222
222
|
}),
|
|
223
223
|
createEnvCommand(["agent", "bind-current"], "Bind an agent to this machine", async (args, deps) => {
|
|
224
|
-
const { runAgentBindCurrentCommand } = await import("./agentMachineCommands-
|
|
224
|
+
const { runAgentBindCurrentCommand } = await import("./agentMachineCommands-7QGICJLM.js");
|
|
225
225
|
return runAgentBindCurrentCommand(args, deps);
|
|
226
226
|
}),
|
|
227
227
|
createEnvCommand(["agent", "smoke-current"], "Smoke test a bound agent through this machine", async (args, deps) => {
|
|
228
|
-
const { runAgentSmokeCurrentCommand } = await import("./agentMachineCommands-
|
|
228
|
+
const { runAgentSmokeCurrentCommand } = await import("./agentMachineCommands-7QGICJLM.js");
|
|
229
229
|
return runAgentSmokeCurrentCommand(args, deps);
|
|
230
230
|
}),
|
|
231
231
|
createEnvCommand(["agent", "runtime-doctor"], "Diagnose current machine runtime compatibility", async (args, deps) => {
|
|
232
|
-
const { runAgentRuntimeDoctorCommand } = await import("./agentMachineCommands-
|
|
232
|
+
const { runAgentRuntimeDoctorCommand } = await import("./agentMachineCommands-7QGICJLM.js");
|
|
233
233
|
return runAgentRuntimeDoctorCommand(args, deps);
|
|
234
234
|
}),
|
|
235
235
|
createAgentRunCommand(["agent", "chat"], "Chat with an agent")
|
|
@@ -579,15 +579,15 @@ function getSystemInternalCommandEntries(renderHelpText2) {
|
|
|
579
579
|
return runWhoamiCommand({ args, env: ctx.env });
|
|
580
580
|
}),
|
|
581
581
|
createEntrypointEnvCommand(["connect"], "Send machine heartbeats or hold a connector websocket", async (args, deps) => {
|
|
582
|
-
const { runMachineConnectCommand } = await import("./machineCommands-
|
|
582
|
+
const { runMachineConnectCommand } = await import("./machineCommands-ZGC3J4JB.js");
|
|
583
583
|
return runMachineConnectCommand(args, deps);
|
|
584
584
|
}),
|
|
585
585
|
createDaemonShortcutCommand(["daemon"], "Run the connector daemon shortcut", async (args, deps) => {
|
|
586
|
-
const { runMachineConnectCommand } = await import("./machineCommands-
|
|
586
|
+
const { runMachineConnectCommand } = await import("./machineCommands-ZGC3J4JB.js");
|
|
587
587
|
return runMachineConnectCommand(args, deps);
|
|
588
588
|
}),
|
|
589
589
|
createEnvCommand(["machine", "status"], "List machines registered to the current profile", async (args, deps) => {
|
|
590
|
-
const { runMachineStatusCommand } = await import("./machineCommands-
|
|
590
|
+
const { runMachineStatusCommand } = await import("./machineCommands-ZGC3J4JB.js");
|
|
591
591
|
return runMachineStatusCommand(args, deps);
|
|
592
592
|
}),
|
|
593
593
|
createEnvCommand(["doctor", "runtime"], "Diagnose local-first agent runtime selection", async (args, deps) => {
|
|
@@ -9,13 +9,13 @@ import {
|
|
|
9
9
|
updateContentPinned,
|
|
10
10
|
updateContentTitle,
|
|
11
11
|
uploadAndAddFileToSpace
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-GYS5FUYR.js";
|
|
13
13
|
import "./chunk-547ENH5T.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-R3NEQZ53.js";
|
|
15
15
|
import "./chunk-TZXPT53C.js";
|
|
16
16
|
import "./chunk-BUDVRYES.js";
|
|
17
17
|
import "./chunk-523DITKR.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-K67C2JUC.js";
|
|
19
19
|
import "./chunk-BYXBJQAS.js";
|
|
20
20
|
import "./chunk-QYPE3TS3.js";
|
|
21
21
|
import "./chunk-RG2DGNL6.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
addContentToSpace
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-GYS5FUYR.js";
|
|
4
4
|
import "./chunk-547ENH5T.js";
|
|
5
|
-
import "./chunk-
|
|
5
|
+
import "./chunk-R3NEQZ53.js";
|
|
6
6
|
import "./chunk-TZXPT53C.js";
|
|
7
7
|
import "./chunk-BUDVRYES.js";
|
|
8
8
|
import "./chunk-523DITKR.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-K67C2JUC.js";
|
|
10
10
|
import "./chunk-BYXBJQAS.js";
|
|
11
11
|
import "./chunk-QYPE3TS3.js";
|
|
12
12
|
import "./chunk-RG2DGNL6.js";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createDialogAction,
|
|
3
3
|
isLocalOwnerDialogAgents
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-SMJEXX2S.js";
|
|
5
|
+
import "./chunk-GYS5FUYR.js";
|
|
6
6
|
import "./chunk-547ENH5T.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-R3NEQZ53.js";
|
|
8
8
|
import "./chunk-TZXPT53C.js";
|
|
9
9
|
import "./chunk-BUDVRYES.js";
|
|
10
10
|
import "./chunk-523DITKR.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-K67C2JUC.js";
|
|
12
12
|
import "./chunk-BYXBJQAS.js";
|
|
13
13
|
import "./chunk-QYPE3TS3.js";
|
|
14
14
|
import "./chunk-RG2DGNL6.js";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createPageAction
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-H6L2NFHY.js";
|
|
4
4
|
import "./chunk-FJ23FZXF.js";
|
|
5
5
|
import "./chunk-AGIM7IMJ.js";
|
|
6
6
|
import "./chunk-63W5N6P3.js";
|
|
7
7
|
import "./chunk-VF4K2QE6.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-GYS5FUYR.js";
|
|
9
9
|
import "./chunk-547ENH5T.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-R3NEQZ53.js";
|
|
11
11
|
import "./chunk-TZXPT53C.js";
|
|
12
12
|
import "./chunk-BUDVRYES.js";
|
|
13
13
|
import "./chunk-523DITKR.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-K67C2JUC.js";
|
|
15
15
|
import "./chunk-BYXBJQAS.js";
|
|
16
16
|
import "./chunk-QYPE3TS3.js";
|
|
17
17
|
import "./chunk-RG2DGNL6.js";
|
|
@@ -20,11 +20,11 @@ import {
|
|
|
20
20
|
switchDialogAgent,
|
|
21
21
|
updateDialogTitle,
|
|
22
22
|
updateTokens
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-R3NEQZ53.js";
|
|
24
24
|
import "./chunk-TZXPT53C.js";
|
|
25
25
|
import "./chunk-BUDVRYES.js";
|
|
26
26
|
import "./chunk-523DITKR.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-K67C2JUC.js";
|
|
28
28
|
import "./chunk-BYXBJQAS.js";
|
|
29
29
|
import "./chunk-QYPE3TS3.js";
|
|
30
30
|
import "./chunk-RG2DGNL6.js";
|
|
@@ -12,10 +12,10 @@ import {
|
|
|
12
12
|
projectDesktopToolUiContent,
|
|
13
13
|
pushGate,
|
|
14
14
|
resolveTurnToolContext
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-OYU2MA5S.js";
|
|
16
16
|
import {
|
|
17
17
|
resolveUserSkillRuntime
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-ZXF6D3I6.js";
|
|
19
19
|
import {
|
|
20
20
|
DESKTOP_FOLDER_PROJECTS_KEY,
|
|
21
21
|
readDesktopFolderProjects,
|
|
@@ -23,12 +23,12 @@ import {
|
|
|
23
23
|
} from "./chunk-RGQ4UUWZ.js";
|
|
24
24
|
import {
|
|
25
25
|
performServerProxyFetchWithRetry
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-MDZWUD3R.js";
|
|
27
27
|
import {
|
|
28
28
|
createSSEParser,
|
|
29
29
|
loadSkillFunc,
|
|
30
30
|
waitForAbortableDelay
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-XJPLSAPJ.js";
|
|
32
32
|
import "./chunk-NF64D32W.js";
|
|
33
33
|
import "./chunk-RBPUNSG5.js";
|
|
34
34
|
import "./chunk-4JVNURX4.js";
|
|
@@ -36,8 +36,8 @@ import "./chunk-HYLRQDEE.js";
|
|
|
36
36
|
import "./chunk-BP5ZJ6B4.js";
|
|
37
37
|
import "./chunk-AGIM7IMJ.js";
|
|
38
38
|
import "./chunk-VF4K2QE6.js";
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-VSYTM22R.js";
|
|
40
|
+
import "./chunk-GYS5FUYR.js";
|
|
41
41
|
import "./chunk-547ENH5T.js";
|
|
42
42
|
import {
|
|
43
43
|
admitPendingUserMessages,
|
|
@@ -57,13 +57,13 @@ import {
|
|
|
57
57
|
setStreamingMessageId,
|
|
58
58
|
toolResultNeedsUserConfirmation,
|
|
59
59
|
updateToolMessage
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-R3NEQZ53.js";
|
|
61
61
|
import "./chunk-TZXPT53C.js";
|
|
62
62
|
import "./chunk-BUDVRYES.js";
|
|
63
63
|
import "./chunk-523DITKR.js";
|
|
64
64
|
import {
|
|
65
65
|
streamAgentChatTurn
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-K67C2JUC.js";
|
|
67
67
|
import "./chunk-BYXBJQAS.js";
|
|
68
68
|
import "./chunk-QYPE3TS3.js";
|
|
69
69
|
import "./chunk-RG2DGNL6.js";
|
|
@@ -1706,7 +1706,7 @@ var handleSendMessageAction = async (args, thunkApi) => {
|
|
|
1706
1706
|
const dialogKey = dialogConfig.dbKey;
|
|
1707
1707
|
const projectId = isDesktopContext && dialogKey ? readDialogProjectId(window.localStorage, dialogKey) : null;
|
|
1708
1708
|
if (projectId) {
|
|
1709
|
-
const { ensureProjectArchive } = await import("./projectArchive-
|
|
1709
|
+
const { ensureProjectArchive } = await import("./projectArchive-7ZDYBXAX.js");
|
|
1710
1710
|
const { DESKTOP_FOLDER_PROJECTS_KEY: DESKTOP_FOLDER_PROJECTS_KEY2, readDesktopFolderProjects: readDesktopFolderProjects2 } = await import("./desktopFolderProjects-4POAMVJN.js");
|
|
1711
1711
|
const project = readDesktopFolderProjects2(window.localStorage.getItem(DESKTOP_FOLDER_PROJECTS_KEY2)).find((entry) => entry.id === projectId);
|
|
1712
1712
|
if (!project) throw new Error("\u9879\u76EE\u5DF2\u4E0D\u5B58\u5728\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9\u9879\u76EE");
|