nolo-cli 0.6.1 → 0.8.0-alpha.10
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-CPDNUUQV.js +198 -0
- package/action-PAXRPJJF.js +27 -0
- package/addContentAction-CZVWF3QZ.js +25 -0
- package/addDialogAgentAction-CCIDTPHC.js +67 -0
- package/agentDeleteCommand-OSUMJMZM.js +323 -0
- package/agentEmailCommands-OQTJIPQU.js +621 -0
- package/agentListCommands-FATQEUYT.js +219 -0
- package/agentMachineCommands-6LZWF4GL.js +421 -0
- package/agentPullCommand-O2MTUAFR.js +122 -0
- package/agentRecordCommands-TIHFU65Z.js +89 -0
- package/agentRunCommand-R64Y3HCH.js +102 -0
- package/agentRunControl-K4VKNEHF.js +57 -0
- package/agentRuntimeLocal-6PIWAHLQ.js +99 -0
- package/agentSlice-TP4VARJF.js +41 -0
- package/authCommand-WXMD3IPR.js +574 -0
- package/authCommands-X74AFDTC.js +26 -0
- package/chunk-2EISRLRC.js +238 -0
- package/chunk-2FTTDCD4.js +675 -0
- package/chunk-2MALU52L.js +51 -0
- package/chunk-2TPUKEU7.js +1078 -0
- package/chunk-3ASDTTEI.js +1774 -0
- package/chunk-3EUW3WEO.js +8 -0
- package/chunk-3LY4F7SV.js +9293 -0
- package/chunk-4CQLVGRV.js +50 -0
- package/chunk-4IJYA27C.js +342 -0
- package/chunk-4SN6J65J.js +38 -0
- package/chunk-4VNS5WPM.js +42 -0
- package/chunk-572EKYLF.js +792 -0
- package/chunk-5MIDPSSK.js +206 -0
- package/chunk-5MMAK75Q.js +15 -0
- package/chunk-5VV37AT4.js +222 -0
- package/chunk-63W5N6P3.js +150 -0
- package/chunk-6A5EF6IR.js +929 -0
- package/chunk-6HYVJV7B.js +102 -0
- package/chunk-6P2WX5IA.js +3631 -0
- package/chunk-6WD3OOJS.js +20 -0
- package/chunk-ATNTHIZI.js +13 -0
- package/chunk-AUGHVUFE.js +69 -0
- package/chunk-AVMKZHBC.js +85 -0
- package/chunk-AZPCASRE.js +36 -0
- package/chunk-BNMT7YY5.js +34 -0
- package/chunk-BR2WP3DF.js +548 -0
- package/chunk-BSTNFPHD.js +231 -0
- package/chunk-BU4OPIXC.js +171 -0
- package/chunk-CF2WZF4N.js +134 -0
- package/chunk-CF7PE763.js +10 -0
- package/chunk-CKOJQDKR.js +198 -0
- package/chunk-CM54RSSA.js +206 -0
- package/chunk-CWMSB67P.js +34 -0
- package/chunk-DA2OEKS6.js +27 -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-EYEEHCU4.js +3066 -0
- package/chunk-FQZWM5YX.js +628 -0
- package/chunk-G3SUCT4W.js +8 -0
- package/chunk-G5H7RNFL.js +807 -0
- package/chunk-GAKEBQD6.js +30 -0
- package/chunk-GBRG75BQ.js +86 -0
- package/chunk-H2RMRZJE.js +113 -0
- package/chunk-H33743XH.js +25 -0
- package/chunk-HD63YREL.js +19 -0
- package/chunk-HEIIIZBX.js +104 -0
- package/chunk-HNMXYYJR.js +12 -0
- package/chunk-HOMYP7GZ.js +2152 -0
- package/chunk-HZFOMJRA.js +4300 -0
- package/chunk-IAXBCTTE.js +175 -0
- package/chunk-IDZTNRP2.js +85 -0
- package/chunk-IHHA5Y2S.js +9013 -0
- package/chunk-ISNCLGUZ.js +146 -0
- package/chunk-IYQV26RA.js +138 -0
- package/chunk-J4576WMJ.js +91 -0
- package/chunk-JBTJAPUF.js +35 -0
- package/chunk-JZPBVBIY.js +94 -0
- package/chunk-KQHGZWSV.js +63 -0
- package/chunk-KUG52IAP.js +8 -0
- package/chunk-KX6YBIHG.js +8 -0
- package/chunk-LCBAMY2M.js +60 -0
- package/chunk-LM25IZBJ.js +902 -0
- package/chunk-LM6IYQ3F.js +16 -0
- package/chunk-M76ECQRD.js +13658 -0
- package/chunk-MRC4Q34M.js +188 -0
- package/chunk-NEMRK4EK.js +944 -0
- package/chunk-NXZGF7F7.js +2878 -0
- package/chunk-OF5H3QWS.js +300 -0
- package/chunk-OLZBQWZU.js +6 -0
- package/chunk-OOYVBFM7.js +191 -0
- package/chunk-OWOHNGCN.js +50 -0
- package/chunk-PN7AFLOK.js +3401 -0
- package/chunk-POCFIDGQ.js +562 -0
- package/chunk-Q6WACBKB.js +1949 -0
- package/chunk-QFV2OAIM.js +421 -0
- package/chunk-QJ6V2NIN.js +1447 -0
- package/chunk-QSJ3HFEF.js +8 -0
- package/chunk-QUWDTOUP.js +190 -0
- package/chunk-QYXLLLGL.js +4519 -0
- package/chunk-ROWQEJRP.js +139 -0
- package/chunk-S7Z2HMCN.js +25 -0
- package/chunk-TDIQFT2F.js +301 -0
- package/chunk-TILFE6LV.js +381 -0
- package/chunk-TKOUBWBO.js +24674 -0
- package/chunk-TYH5JE6N.js +27158 -0
- package/chunk-U4TRT5V4.js +246 -0
- package/chunk-U6VC4MU4.js +8 -0
- package/chunk-UAD2WT54.js +64 -0
- package/chunk-USZMK5UT.js +105 -0
- package/chunk-VEJLAVTC.js +2052 -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-VQ2AJRGD.js +148 -0
- package/chunk-W4NVOSFF.js +37 -0
- package/chunk-WWC7I6TA.js +8 -0
- package/chunk-X7W4TNB4.js +1550 -0
- package/chunk-XDVAYP26.js +537 -0
- package/chunk-XKIMRZO2.js +221 -0
- package/chunk-Y5GCAMGP.js +9 -0
- package/chunk-YWPXYBY7.js +360 -0
- package/chunk-Z4NR32XR.js +50 -0
- package/chunk-ZNFJWEN4.js +56 -0
- package/cliExecutor-DNE7TCC4.js +36 -0
- package/clipboardy-BVE3LVEH.js +12001 -0
- package/createAgentAutomationAction-KLKS2HGU.js +864 -0
- package/createDialogAction-Z33JMBF5.js +52 -0
- package/createPageAction-AQVNOAAI.js +169 -0
- package/db-HCJ5PRB5.js +271 -0
- package/dbSlice-C4UJLRZP.js +59 -0
- package/deleteFile-4SKGPHOZ.js +41 -0
- package/dialogCommands-W5PD6MZU.js +59 -0
- package/dialogSlice-RBJYVSAR.js +146 -0
- package/docCreateCommands-MM34S4Z3.js +215 -0
- package/docDeleteCommands-JJTU722V.js +176 -0
- package/docReadCommands-GLYDMCTU.js +129 -0
- package/docStore-5TYME4DO.js +96 -0
- package/docUpdateCommands-ZCGQ7URR.js +313 -0
- package/fetchMessages-JOCYIFKL.js +16 -0
- package/getPricing-PWPJ6MNV.js +30 -0
- package/handleSendMessageAction-KA2MRW6E.js +183 -0
- package/index.js +184 -112254
- package/lib-FYYBQIXS.js +19839 -0
- package/localDialogRead-D3BELSTF.js +26 -0
- package/localFirstLog-DHNOY2NA.js +19 -0
- package/localRuntimeAuthority-TEGCOWX4.js +471 -0
- package/localRuntimeDb-LGDF6FQP.js +12 -0
- package/machineCommands-ZB5WUSPF.js +774 -0
- package/machineInfo-M6KB6HZN.js +10 -0
- package/machineWsRunDispatch-GWCAPPCM.js +105 -0
- package/memoryCommands-O4MIPIWQ.js +476 -0
- package/models-XLEOET3E.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-FEDY44AA.js +5357 -0
- package/removeDialogAgentAction-CXLST3N6.js +72 -0
- package/runAgentClientLoop-W4NKE64V.js +288 -0
- package/runtimeDoctorCommands-LRHLPDRC.js +289 -0
- package/setDialogExtraReferencesAction-LP6VYGU7.js +59 -0
- package/setPrimaryDialogAgentAction-D3GGH23T.js +79 -0
- package/settingSlice-J4I3Z5H7.js +198 -0
- package/skillSummaryMarker-42HKSXYY.js +9 -0
- package/slateToRenderMarkdown-Y5IYN73U.js +7 -0
- package/slateUtils-2M7MUTWX.js +19 -0
- package/spaceCommands-LC4FDAKE.js +450 -0
- package/spaceSlice-32XOGBEF.js +145 -0
- package/streamAgentChatTurn-YQW32AQH.js +4503 -0
- package/tableCommands-GOFP7QKA.js +1286 -0
- package/toolApiClient-QI3YBNWB.js +26 -0
- package/tools-XGTFRYD7.js +83 -0
- package/understanding-HCSFPE7R.js +318 -0
- package/updateCommands-VOSPKXFF.js +31 -0
- package/updateDialogTitleAction-4LHQDNHQ.js +185 -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,89 @@
|
|
|
1
|
+
import {
|
|
2
|
+
runAgentCreateCommand,
|
|
3
|
+
runAgentReadCommand,
|
|
4
|
+
runAgentUpdateCommand
|
|
5
|
+
} from "./chunk-5VV37AT4.js";
|
|
6
|
+
import "./chunk-IHHA5Y2S.js";
|
|
7
|
+
import "./chunk-EHLHSX7R.js";
|
|
8
|
+
import "./chunk-W4NVOSFF.js";
|
|
9
|
+
import "./chunk-FQZWM5YX.js";
|
|
10
|
+
import "./chunk-HD63YREL.js";
|
|
11
|
+
import "./chunk-VHBWHNVT.js";
|
|
12
|
+
import "./chunk-BSTNFPHD.js";
|
|
13
|
+
import "./chunk-X7W4TNB4.js";
|
|
14
|
+
import "./chunk-ATNTHIZI.js";
|
|
15
|
+
import "./chunk-JBTJAPUF.js";
|
|
16
|
+
import "./chunk-BU4OPIXC.js";
|
|
17
|
+
import "./chunk-2MALU52L.js";
|
|
18
|
+
import "./chunk-TYH5JE6N.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-QFV2OAIM.js";
|
|
26
|
+
import "./chunk-6A5EF6IR.js";
|
|
27
|
+
import "./chunk-NXZGF7F7.js";
|
|
28
|
+
import "./chunk-OWOHNGCN.js";
|
|
29
|
+
import "./chunk-HEIIIZBX.js";
|
|
30
|
+
import "./chunk-TKOUBWBO.js";
|
|
31
|
+
import "./chunk-MRC4Q34M.js";
|
|
32
|
+
import "./chunk-J4576WMJ.js";
|
|
33
|
+
import "./chunk-CWMSB67P.js";
|
|
34
|
+
import "./chunk-POCFIDGQ.js";
|
|
35
|
+
import "./chunk-IYQV26RA.js";
|
|
36
|
+
import "./chunk-Z4NR32XR.js";
|
|
37
|
+
import "./chunk-M76ECQRD.js";
|
|
38
|
+
import "./chunk-AUGHVUFE.js";
|
|
39
|
+
import "./chunk-H2RMRZJE.js";
|
|
40
|
+
import "./chunk-UAD2WT54.js";
|
|
41
|
+
import "./chunk-USZMK5UT.js";
|
|
42
|
+
import "./chunk-IDZTNRP2.js";
|
|
43
|
+
import "./chunk-ISNCLGUZ.js";
|
|
44
|
+
import "./chunk-OLZBQWZU.js";
|
|
45
|
+
import "./chunk-6P2WX5IA.js";
|
|
46
|
+
import "./chunk-ZNFJWEN4.js";
|
|
47
|
+
import "./chunk-TILFE6LV.js";
|
|
48
|
+
import "./chunk-NEMRK4EK.js";
|
|
49
|
+
import "./chunk-XDVAYP26.js";
|
|
50
|
+
import "./chunk-LM25IZBJ.js";
|
|
51
|
+
import "./chunk-5MMAK75Q.js";
|
|
52
|
+
import "./chunk-572EKYLF.js";
|
|
53
|
+
import "./chunk-TDIQFT2F.js";
|
|
54
|
+
import "./chunk-JZPBVBIY.js";
|
|
55
|
+
import "./chunk-BR2WP3DF.js";
|
|
56
|
+
import "./chunk-5MIDPSSK.js";
|
|
57
|
+
import "./chunk-DFFIZ25G.js";
|
|
58
|
+
import "./chunk-3ASDTTEI.js";
|
|
59
|
+
import "./chunk-DWLEOOGR.js";
|
|
60
|
+
import "./chunk-HNMXYYJR.js";
|
|
61
|
+
import "./chunk-H33743XH.js";
|
|
62
|
+
import "./chunk-LM6IYQ3F.js";
|
|
63
|
+
import "./chunk-IAXBCTTE.js";
|
|
64
|
+
import "./chunk-VEJLAVTC.js";
|
|
65
|
+
import "./chunk-Y5GCAMGP.js";
|
|
66
|
+
import "./chunk-G5H7RNFL.js";
|
|
67
|
+
import "./chunk-AZPCASRE.js";
|
|
68
|
+
import "./chunk-2EISRLRC.js";
|
|
69
|
+
import "./chunk-KX6YBIHG.js";
|
|
70
|
+
import "./chunk-PN7AFLOK.js";
|
|
71
|
+
import "./chunk-WWC7I6TA.js";
|
|
72
|
+
import "./chunk-QSJ3HFEF.js";
|
|
73
|
+
import "./chunk-ELRRLDWI.js";
|
|
74
|
+
import "./chunk-EYEEHCU4.js";
|
|
75
|
+
import "./chunk-QYXLLLGL.js";
|
|
76
|
+
import "./chunk-GBRG75BQ.js";
|
|
77
|
+
import "./chunk-4SN6J65J.js";
|
|
78
|
+
import "./chunk-LCBAMY2M.js";
|
|
79
|
+
import "./chunk-3EUW3WEO.js";
|
|
80
|
+
import "./chunk-U6VC4MU4.js";
|
|
81
|
+
import "./chunk-CF7PE763.js";
|
|
82
|
+
import "./chunk-G3SUCT4W.js";
|
|
83
|
+
import "./chunk-KUG52IAP.js";
|
|
84
|
+
import "./chunk-4VNS5WPM.js";
|
|
85
|
+
export {
|
|
86
|
+
runAgentCreateCommand,
|
|
87
|
+
runAgentReadCommand,
|
|
88
|
+
runAgentUpdateCommand
|
|
89
|
+
};
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import {
|
|
2
|
+
inspectLocalRunWorkspace,
|
|
3
|
+
isQuotaExhaustedError,
|
|
4
|
+
normalizeCliImageInput,
|
|
5
|
+
prependSubjectDialogMarker,
|
|
6
|
+
resolveWorkflowReference,
|
|
7
|
+
runAgentRunCommand
|
|
8
|
+
} from "./chunk-HZFOMJRA.js";
|
|
9
|
+
import "./chunk-2FTTDCD4.js";
|
|
10
|
+
import {
|
|
11
|
+
parseAgentRunArgs
|
|
12
|
+
} from "./chunk-DZ3XJVET.js";
|
|
13
|
+
import "./chunk-IHHA5Y2S.js";
|
|
14
|
+
import "./chunk-EHLHSX7R.js";
|
|
15
|
+
import "./chunk-W4NVOSFF.js";
|
|
16
|
+
import "./chunk-FQZWM5YX.js";
|
|
17
|
+
import "./chunk-HD63YREL.js";
|
|
18
|
+
import "./chunk-VHBWHNVT.js";
|
|
19
|
+
import "./chunk-CM54RSSA.js";
|
|
20
|
+
import "./chunk-BSTNFPHD.js";
|
|
21
|
+
import "./chunk-X7W4TNB4.js";
|
|
22
|
+
import "./chunk-ATNTHIZI.js";
|
|
23
|
+
import "./chunk-JBTJAPUF.js";
|
|
24
|
+
import "./chunk-BU4OPIXC.js";
|
|
25
|
+
import "./chunk-DA2OEKS6.js";
|
|
26
|
+
import "./chunk-2MALU52L.js";
|
|
27
|
+
import "./chunk-TYH5JE6N.js";
|
|
28
|
+
import "./chunk-GAKEBQD6.js";
|
|
29
|
+
import "./chunk-KQHGZWSV.js";
|
|
30
|
+
import "./chunk-XKIMRZO2.js";
|
|
31
|
+
import "./chunk-3LY4F7SV.js";
|
|
32
|
+
import "./chunk-VP4WJWKW.js";
|
|
33
|
+
import "./chunk-63W5N6P3.js";
|
|
34
|
+
import "./chunk-QFV2OAIM.js";
|
|
35
|
+
import "./chunk-6A5EF6IR.js";
|
|
36
|
+
import "./chunk-NXZGF7F7.js";
|
|
37
|
+
import "./chunk-OWOHNGCN.js";
|
|
38
|
+
import "./chunk-HEIIIZBX.js";
|
|
39
|
+
import "./chunk-TKOUBWBO.js";
|
|
40
|
+
import "./chunk-MRC4Q34M.js";
|
|
41
|
+
import "./chunk-J4576WMJ.js";
|
|
42
|
+
import "./chunk-CWMSB67P.js";
|
|
43
|
+
import "./chunk-POCFIDGQ.js";
|
|
44
|
+
import "./chunk-IYQV26RA.js";
|
|
45
|
+
import "./chunk-Z4NR32XR.js";
|
|
46
|
+
import "./chunk-M76ECQRD.js";
|
|
47
|
+
import "./chunk-AUGHVUFE.js";
|
|
48
|
+
import "./chunk-H2RMRZJE.js";
|
|
49
|
+
import "./chunk-UAD2WT54.js";
|
|
50
|
+
import "./chunk-USZMK5UT.js";
|
|
51
|
+
import "./chunk-IDZTNRP2.js";
|
|
52
|
+
import "./chunk-ISNCLGUZ.js";
|
|
53
|
+
import "./chunk-OLZBQWZU.js";
|
|
54
|
+
import "./chunk-6P2WX5IA.js";
|
|
55
|
+
import "./chunk-ZNFJWEN4.js";
|
|
56
|
+
import "./chunk-TILFE6LV.js";
|
|
57
|
+
import "./chunk-NEMRK4EK.js";
|
|
58
|
+
import "./chunk-XDVAYP26.js";
|
|
59
|
+
import "./chunk-LM25IZBJ.js";
|
|
60
|
+
import "./chunk-5MMAK75Q.js";
|
|
61
|
+
import "./chunk-572EKYLF.js";
|
|
62
|
+
import "./chunk-TDIQFT2F.js";
|
|
63
|
+
import "./chunk-JZPBVBIY.js";
|
|
64
|
+
import "./chunk-BR2WP3DF.js";
|
|
65
|
+
import "./chunk-5MIDPSSK.js";
|
|
66
|
+
import "./chunk-DFFIZ25G.js";
|
|
67
|
+
import "./chunk-3ASDTTEI.js";
|
|
68
|
+
import "./chunk-DWLEOOGR.js";
|
|
69
|
+
import "./chunk-HNMXYYJR.js";
|
|
70
|
+
import "./chunk-H33743XH.js";
|
|
71
|
+
import "./chunk-LM6IYQ3F.js";
|
|
72
|
+
import "./chunk-IAXBCTTE.js";
|
|
73
|
+
import "./chunk-VEJLAVTC.js";
|
|
74
|
+
import "./chunk-Y5GCAMGP.js";
|
|
75
|
+
import "./chunk-G5H7RNFL.js";
|
|
76
|
+
import "./chunk-AZPCASRE.js";
|
|
77
|
+
import "./chunk-2EISRLRC.js";
|
|
78
|
+
import "./chunk-KX6YBIHG.js";
|
|
79
|
+
import "./chunk-PN7AFLOK.js";
|
|
80
|
+
import "./chunk-WWC7I6TA.js";
|
|
81
|
+
import "./chunk-QSJ3HFEF.js";
|
|
82
|
+
import "./chunk-ELRRLDWI.js";
|
|
83
|
+
import "./chunk-EYEEHCU4.js";
|
|
84
|
+
import "./chunk-QYXLLLGL.js";
|
|
85
|
+
import "./chunk-GBRG75BQ.js";
|
|
86
|
+
import "./chunk-4SN6J65J.js";
|
|
87
|
+
import "./chunk-LCBAMY2M.js";
|
|
88
|
+
import "./chunk-3EUW3WEO.js";
|
|
89
|
+
import "./chunk-U6VC4MU4.js";
|
|
90
|
+
import "./chunk-CF7PE763.js";
|
|
91
|
+
import "./chunk-G3SUCT4W.js";
|
|
92
|
+
import "./chunk-KUG52IAP.js";
|
|
93
|
+
import "./chunk-4VNS5WPM.js";
|
|
94
|
+
export {
|
|
95
|
+
inspectLocalRunWorkspace,
|
|
96
|
+
isQuotaExhaustedError,
|
|
97
|
+
normalizeCliImageInput,
|
|
98
|
+
parseAgentRunArgs,
|
|
99
|
+
prependSubjectDialogMarker,
|
|
100
|
+
resolveWorkflowReference,
|
|
101
|
+
runAgentRunCommand
|
|
102
|
+
};
|
|
@@ -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,99 @@
|
|
|
1
|
+
import {
|
|
2
|
+
buildAgentRuntimeAgentLookupKeys,
|
|
3
|
+
buildAgentRuntimeDialogWritePlan,
|
|
4
|
+
buildLocalWorkspaceOpenAiTools,
|
|
5
|
+
buildLocalWorkspacePolicyToolNames,
|
|
6
|
+
buildLocalWorkspaceToolset,
|
|
7
|
+
buildOpenAiCompatibleChatCompletionRequest,
|
|
8
|
+
buildPlatformChatCompletionRequest,
|
|
9
|
+
canUsePlatformChatProvider,
|
|
10
|
+
createHybridRecordStore,
|
|
11
|
+
createLocalWorkspaceToolExecutors,
|
|
12
|
+
dialogMessageRecordToAgentRuntimeMessage,
|
|
13
|
+
evaluateShellCommandPolicy,
|
|
14
|
+
executeLocalToolWithPolicy,
|
|
15
|
+
executeOpenAiCompatibleChatCompletion,
|
|
16
|
+
hasDirectOpenAiCompatibleProvider,
|
|
17
|
+
isDestructiveShellCommand,
|
|
18
|
+
parseOpenAiCompatibleChatCompletionResponse,
|
|
19
|
+
parsePlatformChatCompletionData,
|
|
20
|
+
parsePlatformChatCompletionResponse,
|
|
21
|
+
readOpenAiCompatibleSseCompletion,
|
|
22
|
+
resolveLocalToolPolicy,
|
|
23
|
+
resolveOpenAiCompatibleProviderConfig,
|
|
24
|
+
resolvePlatformChatProviderConfig,
|
|
25
|
+
shouldCacheHybridRemoteRecord,
|
|
26
|
+
shouldFetchAgentRuntimeRecordRemotely,
|
|
27
|
+
shouldUsePlatformChatProvider
|
|
28
|
+
} from "./chunk-6P2WX5IA.js";
|
|
29
|
+
import "./chunk-ZNFJWEN4.js";
|
|
30
|
+
import {
|
|
31
|
+
resolveAgentRuntimeConfigFromRecord
|
|
32
|
+
} from "./chunk-TILFE6LV.js";
|
|
33
|
+
import {
|
|
34
|
+
runLocalAgentTurn
|
|
35
|
+
} from "./chunk-NEMRK4EK.js";
|
|
36
|
+
import {
|
|
37
|
+
pickAgentRuntimeInferenceOptions
|
|
38
|
+
} from "./chunk-XDVAYP26.js";
|
|
39
|
+
import {
|
|
40
|
+
resolveRuntimeToolSurfaceForAgent
|
|
41
|
+
} from "./chunk-LM25IZBJ.js";
|
|
42
|
+
import "./chunk-5MMAK75Q.js";
|
|
43
|
+
import "./chunk-572EKYLF.js";
|
|
44
|
+
import {
|
|
45
|
+
resolveCurrentRunRuntimeToolPolicy,
|
|
46
|
+
resolveLocalRuntimeEnvFromPolicy,
|
|
47
|
+
resolveLocalWorkspaceExecutorOptionsFromPolicy,
|
|
48
|
+
resolveRequestedRuntimeToolNames
|
|
49
|
+
} from "./chunk-TDIQFT2F.js";
|
|
50
|
+
import "./chunk-JZPBVBIY.js";
|
|
51
|
+
import "./chunk-BR2WP3DF.js";
|
|
52
|
+
import "./chunk-DWLEOOGR.js";
|
|
53
|
+
import "./chunk-HNMXYYJR.js";
|
|
54
|
+
import "./chunk-KX6YBIHG.js";
|
|
55
|
+
import "./chunk-PN7AFLOK.js";
|
|
56
|
+
import "./chunk-WWC7I6TA.js";
|
|
57
|
+
import "./chunk-QSJ3HFEF.js";
|
|
58
|
+
import "./chunk-3EUW3WEO.js";
|
|
59
|
+
import "./chunk-U6VC4MU4.js";
|
|
60
|
+
import "./chunk-CF7PE763.js";
|
|
61
|
+
import "./chunk-G3SUCT4W.js";
|
|
62
|
+
import "./chunk-KUG52IAP.js";
|
|
63
|
+
import "./chunk-4VNS5WPM.js";
|
|
64
|
+
export {
|
|
65
|
+
buildAgentRuntimeAgentLookupKeys,
|
|
66
|
+
buildAgentRuntimeDialogWritePlan,
|
|
67
|
+
buildLocalWorkspaceOpenAiTools,
|
|
68
|
+
buildLocalWorkspacePolicyToolNames,
|
|
69
|
+
buildLocalWorkspaceToolset,
|
|
70
|
+
buildOpenAiCompatibleChatCompletionRequest,
|
|
71
|
+
buildPlatformChatCompletionRequest,
|
|
72
|
+
canUsePlatformChatProvider,
|
|
73
|
+
createHybridRecordStore,
|
|
74
|
+
createLocalWorkspaceToolExecutors,
|
|
75
|
+
dialogMessageRecordToAgentRuntimeMessage,
|
|
76
|
+
evaluateShellCommandPolicy,
|
|
77
|
+
executeLocalToolWithPolicy,
|
|
78
|
+
executeOpenAiCompatibleChatCompletion,
|
|
79
|
+
hasDirectOpenAiCompatibleProvider,
|
|
80
|
+
isDestructiveShellCommand,
|
|
81
|
+
parseOpenAiCompatibleChatCompletionResponse,
|
|
82
|
+
parsePlatformChatCompletionData,
|
|
83
|
+
parsePlatformChatCompletionResponse,
|
|
84
|
+
pickAgentRuntimeInferenceOptions,
|
|
85
|
+
readOpenAiCompatibleSseCompletion,
|
|
86
|
+
resolveAgentRuntimeConfigFromRecord,
|
|
87
|
+
resolveCurrentRunRuntimeToolPolicy,
|
|
88
|
+
resolveLocalRuntimeEnvFromPolicy,
|
|
89
|
+
resolveLocalToolPolicy,
|
|
90
|
+
resolveLocalWorkspaceExecutorOptionsFromPolicy,
|
|
91
|
+
resolveOpenAiCompatibleProviderConfig,
|
|
92
|
+
resolvePlatformChatProviderConfig,
|
|
93
|
+
resolveRequestedRuntimeToolNames,
|
|
94
|
+
resolveRuntimeToolSurfaceForAgent,
|
|
95
|
+
runLocalAgentTurn,
|
|
96
|
+
shouldCacheHybridRemoteRecord,
|
|
97
|
+
shouldFetchAgentRuntimeRecordRemotely,
|
|
98
|
+
shouldUsePlatformChatProvider
|
|
99
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import {
|
|
2
|
+
agentSlice_default,
|
|
3
|
+
createAgent,
|
|
4
|
+
runAgent,
|
|
5
|
+
runLlm,
|
|
6
|
+
setAgentCredentialBrokerFactoryForTests,
|
|
7
|
+
slice,
|
|
8
|
+
streamAgentChatTurn,
|
|
9
|
+
updateAgent
|
|
10
|
+
} from "./chunk-POCFIDGQ.js";
|
|
11
|
+
import "./chunk-TDIQFT2F.js";
|
|
12
|
+
import "./chunk-JZPBVBIY.js";
|
|
13
|
+
import "./chunk-G5H7RNFL.js";
|
|
14
|
+
import "./chunk-AZPCASRE.js";
|
|
15
|
+
import "./chunk-2EISRLRC.js";
|
|
16
|
+
import "./chunk-KX6YBIHG.js";
|
|
17
|
+
import "./chunk-PN7AFLOK.js";
|
|
18
|
+
import "./chunk-WWC7I6TA.js";
|
|
19
|
+
import "./chunk-QSJ3HFEF.js";
|
|
20
|
+
import "./chunk-ELRRLDWI.js";
|
|
21
|
+
import "./chunk-EYEEHCU4.js";
|
|
22
|
+
import "./chunk-QYXLLLGL.js";
|
|
23
|
+
import "./chunk-GBRG75BQ.js";
|
|
24
|
+
import "./chunk-4SN6J65J.js";
|
|
25
|
+
import "./chunk-LCBAMY2M.js";
|
|
26
|
+
import "./chunk-3EUW3WEO.js";
|
|
27
|
+
import "./chunk-U6VC4MU4.js";
|
|
28
|
+
import "./chunk-CF7PE763.js";
|
|
29
|
+
import "./chunk-G3SUCT4W.js";
|
|
30
|
+
import "./chunk-KUG52IAP.js";
|
|
31
|
+
import "./chunk-4VNS5WPM.js";
|
|
32
|
+
export {
|
|
33
|
+
createAgent,
|
|
34
|
+
agentSlice_default as default,
|
|
35
|
+
runAgent,
|
|
36
|
+
runLlm,
|
|
37
|
+
setAgentCredentialBrokerFactoryForTests,
|
|
38
|
+
slice,
|
|
39
|
+
streamAgentChatTurn,
|
|
40
|
+
updateAgent
|
|
41
|
+
};
|