nolo-cli 0.8.0 → 0.9.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-UD44KGZ4.js +203 -0
- package/action-ZJWE3Y5S.js +28 -0
- package/addContentAction-TVDBNJM5.js +26 -0
- package/addDialogAgentAction-EKH774VT.js +68 -0
- package/agentDeleteCommand-TCPEFJTF.js +327 -0
- package/agentEmailCommands-CZ3UILZ4.js +626 -0
- package/agentListCommands-SJKO2FFB.js +223 -0
- package/agentMachineCommands-PSNABISZ.js +425 -0
- package/agentPullCommand-O2MTUAFR.js +122 -0
- package/agentRecordCommands-MH2JKFHS.js +94 -0
- package/agentRunCommand-4KH6MIZR.js +110 -0
- package/agentRunControl-K4VKNEHF.js +57 -0
- package/agentRuntimeLocal-SKHJUWSS.js +104 -0
- package/agentSlice-3WXXN4VK.js +42 -0
- package/authCommand-PXFX6JDT.js +581 -0
- package/authCommands-356AYWEK.js +35 -0
- package/chunk-2EISRLRC.js +238 -0
- package/chunk-2FTTDCD4.js +675 -0
- package/chunk-2K2ECKSG.js +222 -0
- package/chunk-2PUGVR6E.js +19 -0
- package/chunk-3ASDTTEI.js +1774 -0
- package/chunk-3EUW3WEO.js +8 -0
- package/chunk-3LY4F7SV.js +9293 -0
- package/chunk-3TZDXYSF.js +71 -0
- package/chunk-3WYQEUBI.js +34 -0
- package/chunk-4CQLVGRV.js +50 -0
- package/chunk-4IJYA27C.js +342 -0
- package/chunk-4K2KKCSD.js +577 -0
- package/chunk-4SN6J65J.js +38 -0
- package/chunk-4VNS5WPM.js +42 -0
- package/chunk-4ZDM73SD.js +34 -0
- package/chunk-5CS33IBL.js +301 -0
- package/chunk-5KLGBAAR.js +386 -0
- package/chunk-5MIDPSSK.js +206 -0
- package/chunk-5MMAK75Q.js +15 -0
- package/chunk-5PJ3VWCS.js +360 -0
- package/chunk-63SLEOLK.js +175 -0
- package/chunk-63W5N6P3.js +150 -0
- package/chunk-6GANEXVO.js +231 -0
- package/chunk-6HYVJV7B.js +102 -0
- package/chunk-6WD3OOJS.js +20 -0
- package/chunk-7OOXPE3N.js +628 -0
- package/chunk-7QRKCBOP.js +1078 -0
- package/chunk-ATNTHIZI.js +13 -0
- package/chunk-AUQ747NZ.js +902 -0
- package/chunk-AVMKZHBC.js +85 -0
- package/chunk-AZPCASRE.js +36 -0
- package/chunk-BBYVOSU2.js +792 -0
- package/chunk-C3RUNRHT.js +51 -0
- package/chunk-CF2WZF4N.js +134 -0
- package/chunk-CF7PE763.js +10 -0
- package/chunk-CKOJQDKR.js +198 -0
- package/chunk-COMXDWNM.js +807 -0
- package/chunk-CPB2YM4D.js +171 -0
- package/chunk-CWMSB67P.js +34 -0
- package/chunk-DCOA4QSN.js +105 -0
- package/chunk-DFFIZ25G.js +30 -0
- package/chunk-DWLEOOGR.js +8 -0
- package/chunk-DZ3XJVET.js +231 -0
- package/chunk-EHLHSX7R.js +1433 -0
- package/chunk-ELRRLDWI.js +478 -0
- package/chunk-EXTIQUCI.js +482 -0
- package/chunk-EYEEHCU4.js +3066 -0
- package/chunk-G3SUCT4W.js +8 -0
- package/chunk-G43KEVSC.js +1447 -0
- package/chunk-GAKEBQD6.js +30 -0
- package/chunk-GBRG75BQ.js +86 -0
- package/chunk-GG4AJPSR.js +191 -0
- package/chunk-H33743XH.js +25 -0
- package/chunk-HNMXYYJR.js +12 -0
- package/chunk-I42VC5KR.js +15 -0
- package/chunk-IDZTNRP2.js +85 -0
- package/chunk-ISNCLGUZ.js +146 -0
- package/chunk-IWX4UW2E.js +548 -0
- package/chunk-JBTJAPUF.js +35 -0
- package/chunk-JEXVIMYZ.js +55 -0
- package/chunk-JRKKFRAV.js +537 -0
- package/chunk-JZPBVBIY.js +94 -0
- package/chunk-KKY4B2Q2.js +21 -0
- package/chunk-KOCA5FCS.js +4750 -0
- package/chunk-KQHGZWSV.js +63 -0
- package/chunk-KTVVPRJS.js +138 -0
- package/chunk-KUG52IAP.js +8 -0
- package/chunk-KX6YBIHG.js +8 -0
- package/chunk-LARL2V6G.js +9017 -0
- package/chunk-LCBAMY2M.js +60 -0
- package/chunk-LM6IYQ3F.js +16 -0
- package/chunk-M76ECQRD.js +13658 -0
- package/chunk-MGOJ5R6J.js +113 -0
- package/chunk-MKMWT7SA.js +27196 -0
- package/chunk-MRC4Q34M.js +188 -0
- package/chunk-OLZBQWZU.js +6 -0
- package/chunk-OPZYGHUC.js +89 -0
- package/chunk-OWOHNGCN.js +50 -0
- package/chunk-PAKN26FP.js +239 -0
- package/chunk-PCWC3JTN.js +91 -0
- package/chunk-PG5PNA7Y.js +939 -0
- package/chunk-Q2YZULBH.js +104 -0
- package/chunk-QSJ3HFEF.js +8 -0
- package/chunk-QYXLLLGL.js +4519 -0
- package/chunk-ROWQEJRP.js +139 -0
- package/chunk-S7Z2HMCN.js +25 -0
- package/chunk-SBR32ZZS.js +1901 -0
- package/chunk-SH2CFQOH.js +3391 -0
- package/chunk-SL35K7AH.js +226 -0
- package/chunk-TILFE6LV.js +381 -0
- package/chunk-TSS3XJY4.js +2052 -0
- package/chunk-U4TRT5V4.js +246 -0
- package/chunk-U6VC4MU4.js +8 -0
- package/chunk-UAD2WT54.js +64 -0
- package/chunk-UUJDGGAK.js +421 -0
- package/chunk-VF4K2QE6.js +21 -0
- package/chunk-VHBWHNVT.js +59 -0
- package/chunk-VIDPVFP3.js +20 -0
- package/chunk-VP4WJWKW.js +8882 -0
- package/chunk-W4NVOSFF.js +37 -0
- package/chunk-WKM6FH35.js +190 -0
- package/chunk-WWC7I6TA.js +8 -0
- package/chunk-X7W4TNB4.js +1550 -0
- package/chunk-XE635NI4.js +1948 -0
- package/chunk-XKIMRZO2.js +221 -0
- package/chunk-XS466O7S.js +933 -0
- package/chunk-Y5GCAMGP.js +9 -0
- package/chunk-YBWOP46I.js +3272 -0
- package/chunk-YPRZSPF3.js +148 -0
- package/chunk-YYUCRDOK.js +69 -0
- package/chunk-Z4NR32XR.js +50 -0
- package/chunk-ZIG5LJ7X.js +24765 -0
- package/chunk-ZNFJWEN4.js +56 -0
- package/chunk-ZQ2UM4KG.js +2878 -0
- package/cliExecutor-DNE7TCC4.js +36 -0
- package/clipboardy-BVE3LVEH.js +12001 -0
- package/createAgentAutomationAction-63OIP6X5.js +866 -0
- package/createDialogAction-ZLYZDYBB.js +54 -0
- package/createPageAction-AL5FSDCK.js +171 -0
- package/db-HCJ5PRB5.js +271 -0
- package/dbSlice-PR44QPXY.js +60 -0
- package/deleteFile-4SKGPHOZ.js +41 -0
- package/dialogCommands-F6YI5742.js +63 -0
- package/dialogSlice-JSBNZRLR.js +148 -0
- package/docCreateCommands-4CTO7ERT.js +219 -0
- package/docDeleteCommands-VBWERDRG.js +180 -0
- package/docReadCommands-KNP4MFYB.js +133 -0
- package/docStore-ADP5VYY4.js +98 -0
- package/docUpdateCommands-4BCBJQHA.js +317 -0
- package/fetchMessages-U6ZHN56A.js +17 -0
- package/getPricing-3E6UNPKL.js +30 -0
- package/handleSendMessageAction-IJDQ6ARA.js +185 -0
- package/index.js +188 -112943
- package/lib-FYYBQIXS.js +19839 -0
- package/localDialogRead-Z5UTAJPU.js +26 -0
- package/localFirstLog-DHNOY2NA.js +19 -0
- package/localRuntimeAuthority-TEGCOWX4.js +471 -0
- package/localRuntimeDb-LGDF6FQP.js +12 -0
- package/machineCommands-EA3M4XTN.js +779 -0
- package/machineInfo-M6KB6HZN.js +10 -0
- package/machineWsRunDispatch-NAPKE5ZA.js +110 -0
- package/memoryCommands-O4MIPIWQ.js +476 -0
- package/models-4OPOOLFS.js +9 -0
- package/offlineMarxistsAgentCommand-BCPJITJL.js +242 -0
- package/package.json +3 -25
- package/read-RIJCIVKX.js +17 -0
- package/readDocTool-GZD2N3LO.js +16 -0
- package/readlineWorkspace-KMWT4T4S.js +5509 -0
- package/removeDialogAgentAction-GJQJNDW6.js +73 -0
- package/runAgentClientLoop-U5Q6NDTJ.js +291 -0
- package/runtimeDoctorCommands-LRHLPDRC.js +289 -0
- package/setDialogExtraReferencesAction-M7OQG54N.js +60 -0
- package/setPrimaryDialogAgentAction-46UNFJDL.js +80 -0
- package/settingSlice-FVUUH4JA.js +199 -0
- package/skillSummaryMarker-42HKSXYY.js +9 -0
- package/slateToRenderMarkdown-Y5IYN73U.js +7 -0
- package/slateUtils-2M7MUTWX.js +19 -0
- package/spaceCommands-E2CFRPZJ.js +454 -0
- package/spaceSlice-L3R6IMXE.js +147 -0
- package/streamAgentChatTurn-UBDAOQWE.js +4528 -0
- package/tableCommands-GOFP7QKA.js +1286 -0
- package/toolApiClient-QI3YBNWB.js +26 -0
- package/tools-TMJXZTCA.js +85 -0
- package/tuiSummaryLlmCaller-RV3THLZF.js +78 -0
- package/understanding-GQKNDDWM.js +271 -0
- package/updateCommands-VOSPKXFF.js +31 -0
- package/updateDialogTitleAction-ZTWRDXI2.js +188 -0
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import {
|
|
2
|
+
resolveCliAgentKeyInput
|
|
3
|
+
} from "./chunk-VHBWHNVT.js";
|
|
4
|
+
import {
|
|
5
|
+
resolveAuthToken,
|
|
6
|
+
resolveServerUrl
|
|
7
|
+
} from "./chunk-ISNCLGUZ.js";
|
|
8
|
+
import "./chunk-OLZBQWZU.js";
|
|
9
|
+
import {
|
|
10
|
+
toErrorMessage
|
|
11
|
+
} from "./chunk-HNMXYYJR.js";
|
|
12
|
+
import {
|
|
13
|
+
getDefaultCliLocalRuntimeDb
|
|
14
|
+
} from "./chunk-H33743XH.js";
|
|
15
|
+
import "./chunk-LM6IYQ3F.js";
|
|
16
|
+
import "./chunk-QSJ3HFEF.js";
|
|
17
|
+
import "./chunk-4SN6J65J.js";
|
|
18
|
+
import "./chunk-LCBAMY2M.js";
|
|
19
|
+
import "./chunk-CF7PE763.js";
|
|
20
|
+
import "./chunk-G3SUCT4W.js";
|
|
21
|
+
import "./chunk-4VNS5WPM.js";
|
|
22
|
+
|
|
23
|
+
// packages/cli/agentPullCommand.ts
|
|
24
|
+
function readFlagValue(args, flag) {
|
|
25
|
+
const index = args.indexOf(flag);
|
|
26
|
+
return index >= 0 ? args[index + 1] : void 0;
|
|
27
|
+
}
|
|
28
|
+
function positionalArgs(args) {
|
|
29
|
+
const values = [];
|
|
30
|
+
for (let index = 0; index < args.length; index += 1) {
|
|
31
|
+
const arg = args[index];
|
|
32
|
+
if (arg.startsWith("--")) {
|
|
33
|
+
index += 1;
|
|
34
|
+
continue;
|
|
35
|
+
}
|
|
36
|
+
values.push(arg);
|
|
37
|
+
}
|
|
38
|
+
return values;
|
|
39
|
+
}
|
|
40
|
+
function parseAgentPullArgs(args) {
|
|
41
|
+
const agentKey = readFlagValue(args, "--agent") ?? positionalArgs(args)[0];
|
|
42
|
+
if (!agentKey?.trim()) return null;
|
|
43
|
+
return { agentKey: resolveCliAgentKeyInput(agentKey) };
|
|
44
|
+
}
|
|
45
|
+
function extractToolNames(record) {
|
|
46
|
+
if (Array.isArray(record?.toolNames)) return record.toolNames.filter((tool) => typeof tool === "string");
|
|
47
|
+
if (!Array.isArray(record?.tools)) return [];
|
|
48
|
+
return record.tools.map((tool) => typeof tool === "string" ? tool : tool?.name || tool?.function?.name).filter((tool) => typeof tool === "string" && tool.length > 0);
|
|
49
|
+
}
|
|
50
|
+
function normalizeAgentRecord(agentKey, record) {
|
|
51
|
+
return {
|
|
52
|
+
...record,
|
|
53
|
+
dbKey: record?.dbKey || record?.key || agentKey,
|
|
54
|
+
key: record?.key || record?.dbKey || agentKey,
|
|
55
|
+
...typeof record?.provider === "string" ? { provider: record.provider } : typeof record?.apiSource === "string" ? { provider: record.apiSource } : {},
|
|
56
|
+
toolNames: extractToolNames(record),
|
|
57
|
+
cachedBy: "nolo-cli",
|
|
58
|
+
cachedAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
async function readRemoteAgent(args) {
|
|
62
|
+
const res = await args.fetchImpl(
|
|
63
|
+
`${args.serverUrl}/api/v1/db/read/${encodeURIComponent(args.agentKey)}`,
|
|
64
|
+
{
|
|
65
|
+
headers: {
|
|
66
|
+
...args.authToken ? { Authorization: `Bearer ${args.authToken}` } : {}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
);
|
|
70
|
+
const data = await res.json().catch(() => ({}));
|
|
71
|
+
if (!res.ok) {
|
|
72
|
+
throw new Error(`HTTP ${res.status} ${JSON.stringify(data)}`);
|
|
73
|
+
}
|
|
74
|
+
return data?.data ?? data;
|
|
75
|
+
}
|
|
76
|
+
function writeUsage(output) {
|
|
77
|
+
output.write(
|
|
78
|
+
"Usage: nolo agent pull <agent>\n nolo agent pull --agent <agent>\n"
|
|
79
|
+
);
|
|
80
|
+
}
|
|
81
|
+
async function runAgentPullCommand(args, deps = {}) {
|
|
82
|
+
const output = deps.output ?? process.stdout;
|
|
83
|
+
const env = deps.env ?? process.env;
|
|
84
|
+
const parsed = parseAgentPullArgs(args);
|
|
85
|
+
if (!parsed) {
|
|
86
|
+
writeUsage(output);
|
|
87
|
+
return 1;
|
|
88
|
+
}
|
|
89
|
+
const serverUrl = resolveServerUrl(args, env);
|
|
90
|
+
const authToken = readFlagValue(args, "--token") || readFlagValue(args, "--machine-key") || resolveAuthToken(env, ["BENCHMARK_AUTH_TOKEN"]);
|
|
91
|
+
const fetchImpl = deps.fetchImpl ?? fetch;
|
|
92
|
+
const db = deps.db ?? await getDefaultCliLocalRuntimeDb();
|
|
93
|
+
let record;
|
|
94
|
+
try {
|
|
95
|
+
record = await readRemoteAgent({
|
|
96
|
+
agentKey: parsed.agentKey,
|
|
97
|
+
serverUrl,
|
|
98
|
+
authToken,
|
|
99
|
+
fetchImpl
|
|
100
|
+
});
|
|
101
|
+
} catch (error) {
|
|
102
|
+
output.write(
|
|
103
|
+
`[nolo] Failed to pull ${parsed.agentKey} from ${serverUrl}: ${toErrorMessage(error)}
|
|
104
|
+
`
|
|
105
|
+
);
|
|
106
|
+
return 1;
|
|
107
|
+
}
|
|
108
|
+
if (!record || typeof record !== "object") {
|
|
109
|
+
output.write(`[nolo] Server returned an empty agent record for ${parsed.agentKey}.
|
|
110
|
+
`);
|
|
111
|
+
return 1;
|
|
112
|
+
}
|
|
113
|
+
const localRecord = normalizeAgentRecord(parsed.agentKey, record);
|
|
114
|
+
await db.put(parsed.agentKey, localRecord);
|
|
115
|
+
output.write(`[nolo] cached ${parsed.agentKey} in local LevelDB
|
|
116
|
+
`);
|
|
117
|
+
return 0;
|
|
118
|
+
}
|
|
119
|
+
export {
|
|
120
|
+
parseAgentPullArgs,
|
|
121
|
+
runAgentPullCommand
|
|
122
|
+
};
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import {
|
|
2
|
+
runAgentCreateCommand,
|
|
3
|
+
runAgentReadCommand,
|
|
4
|
+
runAgentUpdateCommand
|
|
5
|
+
} from "./chunk-2K2ECKSG.js";
|
|
6
|
+
import "./chunk-LARL2V6G.js";
|
|
7
|
+
import "./chunk-EHLHSX7R.js";
|
|
8
|
+
import "./chunk-W4NVOSFF.js";
|
|
9
|
+
import "./chunk-7OOXPE3N.js";
|
|
10
|
+
import "./chunk-2PUGVR6E.js";
|
|
11
|
+
import "./chunk-VHBWHNVT.js";
|
|
12
|
+
import "./chunk-6GANEXVO.js";
|
|
13
|
+
import "./chunk-X7W4TNB4.js";
|
|
14
|
+
import "./chunk-ATNTHIZI.js";
|
|
15
|
+
import "./chunk-JBTJAPUF.js";
|
|
16
|
+
import "./chunk-CPB2YM4D.js";
|
|
17
|
+
import "./chunk-C3RUNRHT.js";
|
|
18
|
+
import "./chunk-MKMWT7SA.js";
|
|
19
|
+
import "./chunk-GAKEBQD6.js";
|
|
20
|
+
import "./chunk-KQHGZWSV.js";
|
|
21
|
+
import "./chunk-XKIMRZO2.js";
|
|
22
|
+
import "./chunk-3LY4F7SV.js";
|
|
23
|
+
import "./chunk-VP4WJWKW.js";
|
|
24
|
+
import "./chunk-63W5N6P3.js";
|
|
25
|
+
import "./chunk-UUJDGGAK.js";
|
|
26
|
+
import "./chunk-PG5PNA7Y.js";
|
|
27
|
+
import "./chunk-ZQ2UM4KG.js";
|
|
28
|
+
import "./chunk-OWOHNGCN.js";
|
|
29
|
+
import "./chunk-Q2YZULBH.js";
|
|
30
|
+
import "./chunk-ZIG5LJ7X.js";
|
|
31
|
+
import "./chunk-4ZDM73SD.js";
|
|
32
|
+
import "./chunk-MRC4Q34M.js";
|
|
33
|
+
import "./chunk-PCWC3JTN.js";
|
|
34
|
+
import "./chunk-CWMSB67P.js";
|
|
35
|
+
import "./chunk-4K2KKCSD.js";
|
|
36
|
+
import "./chunk-KTVVPRJS.js";
|
|
37
|
+
import "./chunk-Z4NR32XR.js";
|
|
38
|
+
import "./chunk-M76ECQRD.js";
|
|
39
|
+
import "./chunk-YYUCRDOK.js";
|
|
40
|
+
import "./chunk-MGOJ5R6J.js";
|
|
41
|
+
import "./chunk-UAD2WT54.js";
|
|
42
|
+
import "./chunk-DCOA4QSN.js";
|
|
43
|
+
import "./chunk-IDZTNRP2.js";
|
|
44
|
+
import "./chunk-ISNCLGUZ.js";
|
|
45
|
+
import "./chunk-OLZBQWZU.js";
|
|
46
|
+
import "./chunk-YBWOP46I.js";
|
|
47
|
+
import "./chunk-5KLGBAAR.js";
|
|
48
|
+
import "./chunk-ZNFJWEN4.js";
|
|
49
|
+
import "./chunk-TILFE6LV.js";
|
|
50
|
+
import "./chunk-XS466O7S.js";
|
|
51
|
+
import "./chunk-OPZYGHUC.js";
|
|
52
|
+
import "./chunk-PAKN26FP.js";
|
|
53
|
+
import "./chunk-JRKKFRAV.js";
|
|
54
|
+
import "./chunk-AUQ747NZ.js";
|
|
55
|
+
import "./chunk-5MMAK75Q.js";
|
|
56
|
+
import "./chunk-BBYVOSU2.js";
|
|
57
|
+
import "./chunk-5CS33IBL.js";
|
|
58
|
+
import "./chunk-JZPBVBIY.js";
|
|
59
|
+
import "./chunk-IWX4UW2E.js";
|
|
60
|
+
import "./chunk-5MIDPSSK.js";
|
|
61
|
+
import "./chunk-DFFIZ25G.js";
|
|
62
|
+
import "./chunk-3ASDTTEI.js";
|
|
63
|
+
import "./chunk-DWLEOOGR.js";
|
|
64
|
+
import "./chunk-HNMXYYJR.js";
|
|
65
|
+
import "./chunk-H33743XH.js";
|
|
66
|
+
import "./chunk-LM6IYQ3F.js";
|
|
67
|
+
import "./chunk-63SLEOLK.js";
|
|
68
|
+
import "./chunk-TSS3XJY4.js";
|
|
69
|
+
import "./chunk-Y5GCAMGP.js";
|
|
70
|
+
import "./chunk-COMXDWNM.js";
|
|
71
|
+
import "./chunk-AZPCASRE.js";
|
|
72
|
+
import "./chunk-2EISRLRC.js";
|
|
73
|
+
import "./chunk-KX6YBIHG.js";
|
|
74
|
+
import "./chunk-SH2CFQOH.js";
|
|
75
|
+
import "./chunk-I42VC5KR.js";
|
|
76
|
+
import "./chunk-WWC7I6TA.js";
|
|
77
|
+
import "./chunk-QSJ3HFEF.js";
|
|
78
|
+
import "./chunk-ELRRLDWI.js";
|
|
79
|
+
import "./chunk-EYEEHCU4.js";
|
|
80
|
+
import "./chunk-QYXLLLGL.js";
|
|
81
|
+
import "./chunk-GBRG75BQ.js";
|
|
82
|
+
import "./chunk-4SN6J65J.js";
|
|
83
|
+
import "./chunk-LCBAMY2M.js";
|
|
84
|
+
import "./chunk-3EUW3WEO.js";
|
|
85
|
+
import "./chunk-U6VC4MU4.js";
|
|
86
|
+
import "./chunk-CF7PE763.js";
|
|
87
|
+
import "./chunk-G3SUCT4W.js";
|
|
88
|
+
import "./chunk-KUG52IAP.js";
|
|
89
|
+
import "./chunk-4VNS5WPM.js";
|
|
90
|
+
export {
|
|
91
|
+
runAgentCreateCommand,
|
|
92
|
+
runAgentReadCommand,
|
|
93
|
+
runAgentUpdateCommand
|
|
94
|
+
};
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import {
|
|
2
|
+
inspectLocalRunWorkspace,
|
|
3
|
+
isQuotaExhaustedError,
|
|
4
|
+
normalizeCliImageInput,
|
|
5
|
+
prependSubjectDialogMarker,
|
|
6
|
+
resolveWorkflowReference,
|
|
7
|
+
runAgentRunCommand
|
|
8
|
+
} from "./chunk-KOCA5FCS.js";
|
|
9
|
+
import "./chunk-2FTTDCD4.js";
|
|
10
|
+
import {
|
|
11
|
+
parseAgentRunArgs
|
|
12
|
+
} from "./chunk-DZ3XJVET.js";
|
|
13
|
+
import "./chunk-LARL2V6G.js";
|
|
14
|
+
import "./chunk-EHLHSX7R.js";
|
|
15
|
+
import "./chunk-W4NVOSFF.js";
|
|
16
|
+
import "./chunk-7OOXPE3N.js";
|
|
17
|
+
import "./chunk-2PUGVR6E.js";
|
|
18
|
+
import "./chunk-VHBWHNVT.js";
|
|
19
|
+
import "./chunk-SL35K7AH.js";
|
|
20
|
+
import "./chunk-6GANEXVO.js";
|
|
21
|
+
import "./chunk-X7W4TNB4.js";
|
|
22
|
+
import "./chunk-ATNTHIZI.js";
|
|
23
|
+
import "./chunk-6HYVJV7B.js";
|
|
24
|
+
import "./chunk-JBTJAPUF.js";
|
|
25
|
+
import "./chunk-JEXVIMYZ.js";
|
|
26
|
+
import "./chunk-CPB2YM4D.js";
|
|
27
|
+
import "./chunk-KKY4B2Q2.js";
|
|
28
|
+
import "./chunk-C3RUNRHT.js";
|
|
29
|
+
import "./chunk-MKMWT7SA.js";
|
|
30
|
+
import "./chunk-GAKEBQD6.js";
|
|
31
|
+
import "./chunk-KQHGZWSV.js";
|
|
32
|
+
import "./chunk-XKIMRZO2.js";
|
|
33
|
+
import "./chunk-3LY4F7SV.js";
|
|
34
|
+
import "./chunk-VP4WJWKW.js";
|
|
35
|
+
import "./chunk-63W5N6P3.js";
|
|
36
|
+
import "./chunk-UUJDGGAK.js";
|
|
37
|
+
import "./chunk-PG5PNA7Y.js";
|
|
38
|
+
import "./chunk-ZQ2UM4KG.js";
|
|
39
|
+
import "./chunk-OWOHNGCN.js";
|
|
40
|
+
import "./chunk-3TZDXYSF.js";
|
|
41
|
+
import "./chunk-Q2YZULBH.js";
|
|
42
|
+
import "./chunk-ZIG5LJ7X.js";
|
|
43
|
+
import "./chunk-4ZDM73SD.js";
|
|
44
|
+
import "./chunk-MRC4Q34M.js";
|
|
45
|
+
import "./chunk-PCWC3JTN.js";
|
|
46
|
+
import "./chunk-CWMSB67P.js";
|
|
47
|
+
import "./chunk-4K2KKCSD.js";
|
|
48
|
+
import "./chunk-KTVVPRJS.js";
|
|
49
|
+
import "./chunk-Z4NR32XR.js";
|
|
50
|
+
import "./chunk-M76ECQRD.js";
|
|
51
|
+
import "./chunk-YYUCRDOK.js";
|
|
52
|
+
import "./chunk-MGOJ5R6J.js";
|
|
53
|
+
import "./chunk-UAD2WT54.js";
|
|
54
|
+
import "./chunk-DCOA4QSN.js";
|
|
55
|
+
import "./chunk-IDZTNRP2.js";
|
|
56
|
+
import "./chunk-ISNCLGUZ.js";
|
|
57
|
+
import "./chunk-OLZBQWZU.js";
|
|
58
|
+
import "./chunk-YBWOP46I.js";
|
|
59
|
+
import "./chunk-5KLGBAAR.js";
|
|
60
|
+
import "./chunk-ZNFJWEN4.js";
|
|
61
|
+
import "./chunk-TILFE6LV.js";
|
|
62
|
+
import "./chunk-XS466O7S.js";
|
|
63
|
+
import "./chunk-OPZYGHUC.js";
|
|
64
|
+
import "./chunk-PAKN26FP.js";
|
|
65
|
+
import "./chunk-JRKKFRAV.js";
|
|
66
|
+
import "./chunk-AUQ747NZ.js";
|
|
67
|
+
import "./chunk-5MMAK75Q.js";
|
|
68
|
+
import "./chunk-BBYVOSU2.js";
|
|
69
|
+
import "./chunk-5CS33IBL.js";
|
|
70
|
+
import "./chunk-JZPBVBIY.js";
|
|
71
|
+
import "./chunk-IWX4UW2E.js";
|
|
72
|
+
import "./chunk-5MIDPSSK.js";
|
|
73
|
+
import "./chunk-DFFIZ25G.js";
|
|
74
|
+
import "./chunk-3ASDTTEI.js";
|
|
75
|
+
import "./chunk-DWLEOOGR.js";
|
|
76
|
+
import "./chunk-HNMXYYJR.js";
|
|
77
|
+
import "./chunk-H33743XH.js";
|
|
78
|
+
import "./chunk-LM6IYQ3F.js";
|
|
79
|
+
import "./chunk-63SLEOLK.js";
|
|
80
|
+
import "./chunk-TSS3XJY4.js";
|
|
81
|
+
import "./chunk-Y5GCAMGP.js";
|
|
82
|
+
import "./chunk-COMXDWNM.js";
|
|
83
|
+
import "./chunk-AZPCASRE.js";
|
|
84
|
+
import "./chunk-2EISRLRC.js";
|
|
85
|
+
import "./chunk-KX6YBIHG.js";
|
|
86
|
+
import "./chunk-SH2CFQOH.js";
|
|
87
|
+
import "./chunk-I42VC5KR.js";
|
|
88
|
+
import "./chunk-WWC7I6TA.js";
|
|
89
|
+
import "./chunk-QSJ3HFEF.js";
|
|
90
|
+
import "./chunk-ELRRLDWI.js";
|
|
91
|
+
import "./chunk-EYEEHCU4.js";
|
|
92
|
+
import "./chunk-QYXLLLGL.js";
|
|
93
|
+
import "./chunk-GBRG75BQ.js";
|
|
94
|
+
import "./chunk-4SN6J65J.js";
|
|
95
|
+
import "./chunk-LCBAMY2M.js";
|
|
96
|
+
import "./chunk-3EUW3WEO.js";
|
|
97
|
+
import "./chunk-U6VC4MU4.js";
|
|
98
|
+
import "./chunk-CF7PE763.js";
|
|
99
|
+
import "./chunk-G3SUCT4W.js";
|
|
100
|
+
import "./chunk-KUG52IAP.js";
|
|
101
|
+
import "./chunk-4VNS5WPM.js";
|
|
102
|
+
export {
|
|
103
|
+
inspectLocalRunWorkspace,
|
|
104
|
+
isQuotaExhaustedError,
|
|
105
|
+
normalizeCliImageInput,
|
|
106
|
+
parseAgentRunArgs,
|
|
107
|
+
prependSubjectDialogMarker,
|
|
108
|
+
resolveWorkflowReference,
|
|
109
|
+
runAgentRunCommand
|
|
110
|
+
};
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import {
|
|
2
|
+
absolutizeSkillArgs,
|
|
3
|
+
checkStaleRun,
|
|
4
|
+
createRunActivityTracker,
|
|
5
|
+
defaultGenerateRunId,
|
|
6
|
+
finalizeRunRecord,
|
|
7
|
+
findRunRecord,
|
|
8
|
+
findRunRecordByPid,
|
|
9
|
+
isPidGone,
|
|
10
|
+
listRunRecords,
|
|
11
|
+
readRunRecord,
|
|
12
|
+
resolveNoloHome,
|
|
13
|
+
resolveRunLogPath,
|
|
14
|
+
resolveRunRecordPath,
|
|
15
|
+
resolveRunsDir,
|
|
16
|
+
rewriteMsgFileArg,
|
|
17
|
+
runAgentKillCommand,
|
|
18
|
+
runAgentLogsCommand,
|
|
19
|
+
runAgentPsCommand,
|
|
20
|
+
runAgentStatusCommand,
|
|
21
|
+
runAgentStopCommand,
|
|
22
|
+
spawnLocalBackgroundRun,
|
|
23
|
+
stripBackgroundFlag,
|
|
24
|
+
writeRunRecord
|
|
25
|
+
} from "./chunk-2FTTDCD4.js";
|
|
26
|
+
import "./chunk-ISNCLGUZ.js";
|
|
27
|
+
import "./chunk-OLZBQWZU.js";
|
|
28
|
+
import "./chunk-4SN6J65J.js";
|
|
29
|
+
import "./chunk-LCBAMY2M.js";
|
|
30
|
+
import "./chunk-CF7PE763.js";
|
|
31
|
+
import "./chunk-G3SUCT4W.js";
|
|
32
|
+
import "./chunk-4VNS5WPM.js";
|
|
33
|
+
export {
|
|
34
|
+
absolutizeSkillArgs,
|
|
35
|
+
checkStaleRun,
|
|
36
|
+
createRunActivityTracker,
|
|
37
|
+
defaultGenerateRunId,
|
|
38
|
+
finalizeRunRecord,
|
|
39
|
+
findRunRecord,
|
|
40
|
+
findRunRecordByPid,
|
|
41
|
+
isPidGone,
|
|
42
|
+
listRunRecords,
|
|
43
|
+
readRunRecord,
|
|
44
|
+
resolveNoloHome,
|
|
45
|
+
resolveRunLogPath,
|
|
46
|
+
resolveRunRecordPath,
|
|
47
|
+
resolveRunsDir,
|
|
48
|
+
rewriteMsgFileArg,
|
|
49
|
+
runAgentKillCommand,
|
|
50
|
+
runAgentLogsCommand,
|
|
51
|
+
runAgentPsCommand,
|
|
52
|
+
runAgentStatusCommand,
|
|
53
|
+
runAgentStopCommand,
|
|
54
|
+
spawnLocalBackgroundRun,
|
|
55
|
+
stripBackgroundFlag,
|
|
56
|
+
writeRunRecord
|
|
57
|
+
};
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import {
|
|
2
|
+
buildAgentRuntimeAgentLookupKeys,
|
|
3
|
+
buildAgentRuntimeDialogWritePlan,
|
|
4
|
+
buildLocalWorkspaceOpenAiTools,
|
|
5
|
+
buildLocalWorkspacePolicyToolNames,
|
|
6
|
+
buildLocalWorkspaceToolset,
|
|
7
|
+
buildOpenAiCompatibleChatCompletionRequest,
|
|
8
|
+
createHybridRecordStore,
|
|
9
|
+
createLocalWorkspaceToolExecutors,
|
|
10
|
+
dialogMessageRecordToAgentRuntimeMessage,
|
|
11
|
+
evaluateShellCommandPolicy,
|
|
12
|
+
executeLocalToolWithPolicy,
|
|
13
|
+
executeOpenAiCompatibleChatCompletion,
|
|
14
|
+
isDestructiveShellCommand,
|
|
15
|
+
parseOpenAiCompatibleChatCompletionResponse,
|
|
16
|
+
readOpenAiCompatibleSseCompletion,
|
|
17
|
+
resolveLocalToolPolicy,
|
|
18
|
+
resolveOpenAiCompatibleProviderConfig,
|
|
19
|
+
shouldCacheHybridRemoteRecord,
|
|
20
|
+
shouldFetchAgentRuntimeRecordRemotely
|
|
21
|
+
} from "./chunk-YBWOP46I.js";
|
|
22
|
+
import {
|
|
23
|
+
buildPlatformChatCompletionRequest,
|
|
24
|
+
canUsePlatformChatProvider,
|
|
25
|
+
hasDirectOpenAiCompatibleProvider,
|
|
26
|
+
parsePlatformChatCompletionData,
|
|
27
|
+
parsePlatformChatCompletionResponse,
|
|
28
|
+
resolvePlatformChatProviderConfig,
|
|
29
|
+
shouldUsePlatformChatProvider
|
|
30
|
+
} from "./chunk-5KLGBAAR.js";
|
|
31
|
+
import "./chunk-ZNFJWEN4.js";
|
|
32
|
+
import {
|
|
33
|
+
resolveAgentRuntimeConfigFromRecord
|
|
34
|
+
} from "./chunk-TILFE6LV.js";
|
|
35
|
+
import {
|
|
36
|
+
runLocalAgentTurn
|
|
37
|
+
} from "./chunk-XS466O7S.js";
|
|
38
|
+
import "./chunk-OPZYGHUC.js";
|
|
39
|
+
import "./chunk-PAKN26FP.js";
|
|
40
|
+
import {
|
|
41
|
+
pickAgentRuntimeInferenceOptions
|
|
42
|
+
} from "./chunk-JRKKFRAV.js";
|
|
43
|
+
import {
|
|
44
|
+
resolveRuntimeToolSurfaceForAgent
|
|
45
|
+
} from "./chunk-AUQ747NZ.js";
|
|
46
|
+
import "./chunk-5MMAK75Q.js";
|
|
47
|
+
import "./chunk-BBYVOSU2.js";
|
|
48
|
+
import {
|
|
49
|
+
resolveCurrentRunRuntimeToolPolicy,
|
|
50
|
+
resolveLocalRuntimeEnvFromPolicy,
|
|
51
|
+
resolveLocalWorkspaceExecutorOptionsFromPolicy,
|
|
52
|
+
resolveRequestedRuntimeToolNames
|
|
53
|
+
} from "./chunk-5CS33IBL.js";
|
|
54
|
+
import "./chunk-JZPBVBIY.js";
|
|
55
|
+
import "./chunk-IWX4UW2E.js";
|
|
56
|
+
import "./chunk-DWLEOOGR.js";
|
|
57
|
+
import "./chunk-HNMXYYJR.js";
|
|
58
|
+
import "./chunk-KX6YBIHG.js";
|
|
59
|
+
import "./chunk-SH2CFQOH.js";
|
|
60
|
+
import "./chunk-I42VC5KR.js";
|
|
61
|
+
import "./chunk-WWC7I6TA.js";
|
|
62
|
+
import "./chunk-QSJ3HFEF.js";
|
|
63
|
+
import "./chunk-3EUW3WEO.js";
|
|
64
|
+
import "./chunk-U6VC4MU4.js";
|
|
65
|
+
import "./chunk-CF7PE763.js";
|
|
66
|
+
import "./chunk-G3SUCT4W.js";
|
|
67
|
+
import "./chunk-KUG52IAP.js";
|
|
68
|
+
import "./chunk-4VNS5WPM.js";
|
|
69
|
+
export {
|
|
70
|
+
buildAgentRuntimeAgentLookupKeys,
|
|
71
|
+
buildAgentRuntimeDialogWritePlan,
|
|
72
|
+
buildLocalWorkspaceOpenAiTools,
|
|
73
|
+
buildLocalWorkspacePolicyToolNames,
|
|
74
|
+
buildLocalWorkspaceToolset,
|
|
75
|
+
buildOpenAiCompatibleChatCompletionRequest,
|
|
76
|
+
buildPlatformChatCompletionRequest,
|
|
77
|
+
canUsePlatformChatProvider,
|
|
78
|
+
createHybridRecordStore,
|
|
79
|
+
createLocalWorkspaceToolExecutors,
|
|
80
|
+
dialogMessageRecordToAgentRuntimeMessage,
|
|
81
|
+
evaluateShellCommandPolicy,
|
|
82
|
+
executeLocalToolWithPolicy,
|
|
83
|
+
executeOpenAiCompatibleChatCompletion,
|
|
84
|
+
hasDirectOpenAiCompatibleProvider,
|
|
85
|
+
isDestructiveShellCommand,
|
|
86
|
+
parseOpenAiCompatibleChatCompletionResponse,
|
|
87
|
+
parsePlatformChatCompletionData,
|
|
88
|
+
parsePlatformChatCompletionResponse,
|
|
89
|
+
pickAgentRuntimeInferenceOptions,
|
|
90
|
+
readOpenAiCompatibleSseCompletion,
|
|
91
|
+
resolveAgentRuntimeConfigFromRecord,
|
|
92
|
+
resolveCurrentRunRuntimeToolPolicy,
|
|
93
|
+
resolveLocalRuntimeEnvFromPolicy,
|
|
94
|
+
resolveLocalToolPolicy,
|
|
95
|
+
resolveLocalWorkspaceExecutorOptionsFromPolicy,
|
|
96
|
+
resolveOpenAiCompatibleProviderConfig,
|
|
97
|
+
resolvePlatformChatProviderConfig,
|
|
98
|
+
resolveRequestedRuntimeToolNames,
|
|
99
|
+
resolveRuntimeToolSurfaceForAgent,
|
|
100
|
+
runLocalAgentTurn,
|
|
101
|
+
shouldCacheHybridRemoteRecord,
|
|
102
|
+
shouldFetchAgentRuntimeRecordRemotely,
|
|
103
|
+
shouldUsePlatformChatProvider
|
|
104
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import {
|
|
2
|
+
agentSlice_default,
|
|
3
|
+
createAgent,
|
|
4
|
+
runAgent,
|
|
5
|
+
runLlm,
|
|
6
|
+
setAgentCredentialBrokerFactoryForTests,
|
|
7
|
+
slice,
|
|
8
|
+
streamAgentChatTurn,
|
|
9
|
+
updateAgent
|
|
10
|
+
} from "./chunk-4K2KKCSD.js";
|
|
11
|
+
import "./chunk-5CS33IBL.js";
|
|
12
|
+
import "./chunk-JZPBVBIY.js";
|
|
13
|
+
import "./chunk-COMXDWNM.js";
|
|
14
|
+
import "./chunk-AZPCASRE.js";
|
|
15
|
+
import "./chunk-2EISRLRC.js";
|
|
16
|
+
import "./chunk-KX6YBIHG.js";
|
|
17
|
+
import "./chunk-SH2CFQOH.js";
|
|
18
|
+
import "./chunk-I42VC5KR.js";
|
|
19
|
+
import "./chunk-WWC7I6TA.js";
|
|
20
|
+
import "./chunk-QSJ3HFEF.js";
|
|
21
|
+
import "./chunk-ELRRLDWI.js";
|
|
22
|
+
import "./chunk-EYEEHCU4.js";
|
|
23
|
+
import "./chunk-QYXLLLGL.js";
|
|
24
|
+
import "./chunk-GBRG75BQ.js";
|
|
25
|
+
import "./chunk-4SN6J65J.js";
|
|
26
|
+
import "./chunk-LCBAMY2M.js";
|
|
27
|
+
import "./chunk-3EUW3WEO.js";
|
|
28
|
+
import "./chunk-U6VC4MU4.js";
|
|
29
|
+
import "./chunk-CF7PE763.js";
|
|
30
|
+
import "./chunk-G3SUCT4W.js";
|
|
31
|
+
import "./chunk-KUG52IAP.js";
|
|
32
|
+
import "./chunk-4VNS5WPM.js";
|
|
33
|
+
export {
|
|
34
|
+
createAgent,
|
|
35
|
+
agentSlice_default as default,
|
|
36
|
+
runAgent,
|
|
37
|
+
runLlm,
|
|
38
|
+
setAgentCredentialBrokerFactoryForTests,
|
|
39
|
+
slice,
|
|
40
|
+
streamAgentChatTurn,
|
|
41
|
+
updateAgent
|
|
42
|
+
};
|