agent-neckbeard 1.1.27 → 1.1.28
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/CHANGELOG.md +11 -0
- package/README.md +53 -461
- package/dist/build.cjs +5560 -0
- package/dist/build.d.cts +80 -0
- package/dist/build.d.ts +80 -0
- package/dist/build.js +17 -0
- package/dist/chunk-JF5YPOBY.js +4339 -0
- package/dist/chunk-KG6SJM74.js +97 -0
- package/dist/chunk-M3FISP7J.js +377 -0
- package/dist/chunk-M7XNBKG4.js +346 -0
- package/dist/cli.cjs +5606 -0
- package/dist/cli.d.cts +1 -0
- package/dist/cli.d.ts +1 -0
- package/dist/cli.js +75 -0
- package/dist/index.cjs +1444 -146
- package/dist/index.d.cts +312 -6
- package/dist/index.d.ts +312 -6
- package/dist/index.js +36 -3397
- package/dist/{invoke-client-YKWOTQWG.js → invoke-client-P2CPBYTF.js} +2 -41
- package/dist/serve-Dan1HQKN.d.cts +89 -0
- package/dist/serve-Dan1HQKN.d.ts +89 -0
- package/dist/serve.cjs +337 -0
- package/dist/serve.d.cts +1 -0
- package/dist/serve.d.ts +1 -0
- package/dist/serve.js +8 -0
- package/docs/AGENT.md +173 -0
- package/docs/DAYTONA.md +56 -0
- package/docs/DOCKER.md +7 -7
- package/docs/E2B.md +11 -0
- package/docs/LEGACY.md +335 -0
- package/docs/MODAL.md +14 -12
- package/docs/SUPERVISOR.md +2 -2
- package/package.json +43 -3
- package/dist/chunk-6GCQOKYI.js +0 -48
|
@@ -0,0 +1,346 @@
|
|
|
1
|
+
import {
|
|
2
|
+
BRAINTRUST_PACKAGE,
|
|
3
|
+
BRAINTRUST_VERSIONS,
|
|
4
|
+
PI_PACKAGE,
|
|
5
|
+
isDefinedAgent,
|
|
6
|
+
isSupportedBraintrustVersion,
|
|
7
|
+
resolveImageTag
|
|
8
|
+
} from "./chunk-JF5YPOBY.js";
|
|
9
|
+
|
|
10
|
+
// src/build.ts
|
|
11
|
+
import { execFile } from "child_process";
|
|
12
|
+
import { randomUUID } from "crypto";
|
|
13
|
+
import { cp, lstat, mkdir, mkdtemp as mkdtemp2, readdir, readFile, readlink, rm as rm2, writeFile } from "fs/promises";
|
|
14
|
+
import { createRequire } from "module";
|
|
15
|
+
import { tmpdir as tmpdir2 } from "os";
|
|
16
|
+
import path2 from "path";
|
|
17
|
+
import { pathToFileURL } from "url";
|
|
18
|
+
import { promisify } from "util";
|
|
19
|
+
|
|
20
|
+
// src/push.ts
|
|
21
|
+
import { spawn } from "child_process";
|
|
22
|
+
import { mkdtemp, rm } from "fs/promises";
|
|
23
|
+
import { tmpdir } from "os";
|
|
24
|
+
import path from "path";
|
|
25
|
+
async function pushAgent(options) {
|
|
26
|
+
const log = options.onLog ?? (() => void 0);
|
|
27
|
+
const packageDir = path.resolve(options.cwd ?? process.cwd());
|
|
28
|
+
const outDir = await mkdtemp(path.join(tmpdir(), "neckbeard-push-"));
|
|
29
|
+
try {
|
|
30
|
+
return await buildAndPush(options, packageDir, outDir, log);
|
|
31
|
+
} finally {
|
|
32
|
+
await rm(outDir, { recursive: true, force: true });
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
async function buildAndPush(options, packageDir, outDir, log) {
|
|
36
|
+
const { agent } = await buildAgent({
|
|
37
|
+
module: options.module,
|
|
38
|
+
...options.exportName ? { exportName: options.exportName } : {},
|
|
39
|
+
cwd: packageDir,
|
|
40
|
+
outDir,
|
|
41
|
+
onLog: log
|
|
42
|
+
});
|
|
43
|
+
const tags = options.tags?.length ? options.tags : [resolveImageTag()];
|
|
44
|
+
const images = agent.definition.image ? [agent.definition.image] : tags.map((tag) => agent.imageRef(tag));
|
|
45
|
+
const dockerfile = path.resolve(packageDir, agent.definition.build?.dockerfile ?? "sandbox/Dockerfile");
|
|
46
|
+
const tagArgs = images.flatMap((image) => ["--tag", image]);
|
|
47
|
+
const platformArgs = ["--platform", "linux/amd64"];
|
|
48
|
+
const command = options.docker ?? "docker";
|
|
49
|
+
if (options.cache) {
|
|
50
|
+
const cacheRef = `${images[0].replace(/:[^:/]+$/u, "")}:buildcache`;
|
|
51
|
+
await docker(command, [
|
|
52
|
+
"buildx",
|
|
53
|
+
"build",
|
|
54
|
+
"--file",
|
|
55
|
+
dockerfile,
|
|
56
|
+
...platformArgs,
|
|
57
|
+
...tagArgs,
|
|
58
|
+
"--cache-from",
|
|
59
|
+
`type=registry,ref=${cacheRef}`,
|
|
60
|
+
...options.dryRun ? [] : ["--cache-to", `type=registry,ref=${cacheRef},mode=max`, "--push"],
|
|
61
|
+
outDir
|
|
62
|
+
]);
|
|
63
|
+
} else {
|
|
64
|
+
await docker(command, ["build", "--file", dockerfile, ...platformArgs, ...tagArgs, outDir]);
|
|
65
|
+
if (!options.dryRun) for (const image of images) await docker(command, ["push", image]);
|
|
66
|
+
}
|
|
67
|
+
if (options.dryRun) return { images, artifacts: [], deleted: [] };
|
|
68
|
+
const clients = images.map((image) => agent.forImage(image));
|
|
69
|
+
for (const client of clients) await client.prepare({ onLog: log, refresh: true });
|
|
70
|
+
const artifacts = clients.map((client) => client.artifactName);
|
|
71
|
+
const deleted = await clients[0].gc({ keep: 3, alsoKeep: artifacts });
|
|
72
|
+
if (clients[0].provider === "modal") {
|
|
73
|
+
for (const image of images.slice(1)) {
|
|
74
|
+
log(`Modal keeps the contents it first pulled for ${image}; Modal hosts should run the first, immutable tag.`);
|
|
75
|
+
}
|
|
76
|
+
return { images, artifacts: [], deleted };
|
|
77
|
+
}
|
|
78
|
+
return { images, artifacts, deleted };
|
|
79
|
+
}
|
|
80
|
+
function docker(command, args) {
|
|
81
|
+
return new Promise((resolve, reject) => {
|
|
82
|
+
const child = spawn(command, args, { stdio: "inherit" });
|
|
83
|
+
child.once("error", (error) => reject(new Error(`neckbeard push: could not run ${command}: ${error.message}`)));
|
|
84
|
+
child.once("exit", (code) => code === 0 ? resolve() : reject(new Error(`neckbeard push: ${command} ${args[0]} exited with ${code}.`)));
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
// src/build.ts
|
|
89
|
+
var SKILLS_CLI_VERSION = "1.8.1";
|
|
90
|
+
var neckbeardRequire = createRequire(typeof __filename === "string" ? __filename : import.meta.url);
|
|
91
|
+
var isMissing = (error) => error.code === "ENOENT";
|
|
92
|
+
var HOST_ONLY_PACKAGES = ["e2b", "@daytona/sdk", "modal", "esbuild", "skills"];
|
|
93
|
+
var REQUIRE_SHIM = "import { createRequire as __createRequire } from 'node:module'; const require = __createRequire(import.meta.url);";
|
|
94
|
+
var BUILD_MARKER = ".neckbeard-build";
|
|
95
|
+
var isWithin = (parent, child) => {
|
|
96
|
+
const relative = path2.relative(parent, child);
|
|
97
|
+
return relative === "" || !relative.startsWith("..") && !path2.isAbsolute(relative);
|
|
98
|
+
};
|
|
99
|
+
async function buildAgent(options) {
|
|
100
|
+
const packageDir = path2.resolve(options.cwd ?? process.cwd());
|
|
101
|
+
const outDir = path2.resolve(packageDir, options.outDir ?? "dist-sandbox");
|
|
102
|
+
const module = path2.resolve(packageDir, options.module);
|
|
103
|
+
const { agent, exportName } = await loadAgent(module, options.exportName);
|
|
104
|
+
await resetOutDir(packageDir, outDir, module);
|
|
105
|
+
const skills = await installSkills(packageDir, path2.join(outDir, ".agents", "skills"), options.onLog);
|
|
106
|
+
const entry = [
|
|
107
|
+
`import * as agentModule from ${JSON.stringify(module)};`,
|
|
108
|
+
`agentModule[${JSON.stringify(exportName)}].serve().catch((error) => {`,
|
|
109
|
+
" console.error(error);",
|
|
110
|
+
" process.exit(1);",
|
|
111
|
+
"});"
|
|
112
|
+
].join("\n");
|
|
113
|
+
const dependencies = await bundle(entry, packageDir, outDir, agent.definition.build?.external ?? [], Boolean(agent.definition.pi));
|
|
114
|
+
await writeFile(
|
|
115
|
+
path2.join(outDir, "package.json"),
|
|
116
|
+
`${JSON.stringify({ name: "agent-sandbox", private: true, type: "module", dependencies }, null, 2)}
|
|
117
|
+
`
|
|
118
|
+
);
|
|
119
|
+
return { agent, outDir, dependencies, skills };
|
|
120
|
+
}
|
|
121
|
+
async function loadAgent(module, exportName) {
|
|
122
|
+
const { build } = await import("esbuild");
|
|
123
|
+
const loader = path2.join(path2.dirname(module), `.neckbeard-load-${randomUUID()}.mjs`);
|
|
124
|
+
try {
|
|
125
|
+
await build({
|
|
126
|
+
entryPoints: [module],
|
|
127
|
+
outfile: loader,
|
|
128
|
+
bundle: true,
|
|
129
|
+
packages: "external",
|
|
130
|
+
platform: "node",
|
|
131
|
+
target: "node22",
|
|
132
|
+
format: "esm",
|
|
133
|
+
banner: { js: REQUIRE_SHIM },
|
|
134
|
+
logLevel: "warning"
|
|
135
|
+
});
|
|
136
|
+
const loaded = await import(pathToFileURL(loader).href);
|
|
137
|
+
const agents = Object.entries(loaded).filter(([, value]) => isDefinedAgent(value));
|
|
138
|
+
const chosen = exportName ?? (agents.some(([name]) => name === "default") ? "default" : agents.length === 1 ? agents[0][0] : void 0);
|
|
139
|
+
const agent = chosen === void 0 ? void 0 : loaded[chosen];
|
|
140
|
+
if (chosen === void 0 || !isDefinedAgent(agent)) {
|
|
141
|
+
const found = agents.map(([name]) => name).join(", ") || "none";
|
|
142
|
+
throw new Error(`neckbeard build: choose the agent ${module} exports with --export (agents: ${found}).`);
|
|
143
|
+
}
|
|
144
|
+
return { agent, exportName: chosen };
|
|
145
|
+
} finally {
|
|
146
|
+
await rm2(loader, { force: true });
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
async function resetOutDir(packageDir, outDir, entry) {
|
|
150
|
+
if (isWithin(outDir, packageDir) || isWithin(outDir, entry)) {
|
|
151
|
+
throw new Error(`neckbeard build: the output directory ${outDir} contains the agent package; use a directory of its own, such as dist-sandbox.`);
|
|
152
|
+
}
|
|
153
|
+
let entries = [];
|
|
154
|
+
try {
|
|
155
|
+
entries = await readdir(outDir);
|
|
156
|
+
} catch (error) {
|
|
157
|
+
if (!isMissing(error)) throw error;
|
|
158
|
+
}
|
|
159
|
+
if (entries.length && !entries.includes(BUILD_MARKER)) {
|
|
160
|
+
const manifest = await readFile(path2.join(outDir, "package.json"), "utf8").then(
|
|
161
|
+
(text) => JSON.parse(text),
|
|
162
|
+
() => void 0
|
|
163
|
+
);
|
|
164
|
+
if (manifest?.name !== "agent-sandbox") {
|
|
165
|
+
throw new Error(`neckbeard build: ${outDir} is not empty and is not an earlier build's output; empty it or choose another directory.`);
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
await rm2(outDir, { recursive: true, force: true });
|
|
169
|
+
await mkdir(outDir, { recursive: true });
|
|
170
|
+
await writeFile(path2.join(outDir, BUILD_MARKER), "");
|
|
171
|
+
}
|
|
172
|
+
async function bundle(entry, packageDir, outDir, external, piSession) {
|
|
173
|
+
const { build } = await import("esbuild");
|
|
174
|
+
const traced = piSession && await dependsOn(packageDir, BRAINTRUST_PACKAGE);
|
|
175
|
+
const externals = traced ? [...external, BRAINTRUST_PACKAGE] : external;
|
|
176
|
+
const isExternal = (specifier) => specifier.startsWith("@earendil-works/") || externals.some((name) => specifier === name || specifier.startsWith(`${name}/`));
|
|
177
|
+
const packageName = (specifier) => specifier.split("/").slice(0, specifier.startsWith("@") ? 2 : 1).join("/");
|
|
178
|
+
const versions = /* @__PURE__ */ new Map();
|
|
179
|
+
await build({
|
|
180
|
+
stdin: { contents: entry, resolveDir: packageDir, sourcefile: "neckbeard-entry.mjs", loader: "js" },
|
|
181
|
+
outfile: path2.join(outDir, "agent.mjs"),
|
|
182
|
+
bundle: true,
|
|
183
|
+
platform: "node",
|
|
184
|
+
target: "node22",
|
|
185
|
+
format: "esm",
|
|
186
|
+
sourcemap: "inline",
|
|
187
|
+
banner: { js: REQUIRE_SHIM },
|
|
188
|
+
logLevel: "warning",
|
|
189
|
+
plugins: [
|
|
190
|
+
{
|
|
191
|
+
name: "neckbeard-external",
|
|
192
|
+
setup(build2) {
|
|
193
|
+
build2.onResolve({ filter: /^[^./]/ }, async (args) => {
|
|
194
|
+
const name = packageName(args.path);
|
|
195
|
+
if (HOST_ONLY_PACKAGES.includes(name)) return { path: args.path, external: true };
|
|
196
|
+
if (!isExternal(args.path)) return void 0;
|
|
197
|
+
const version = await installedVersion(args.resolveDir, name);
|
|
198
|
+
versions.set(name, (versions.get(name) ?? /* @__PURE__ */ new Set()).add(version));
|
|
199
|
+
return { path: args.path, external: true };
|
|
200
|
+
});
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
]
|
|
204
|
+
});
|
|
205
|
+
if (piSession) {
|
|
206
|
+
const pin = (name, version) => versions.set(name, (versions.get(name) ?? /* @__PURE__ */ new Set()).add(version));
|
|
207
|
+
pin(PI_PACKAGE, await installedVersion(packageDir, PI_PACKAGE));
|
|
208
|
+
if (traced) {
|
|
209
|
+
const version = await installedVersion(packageDir, BRAINTRUST_PACKAGE);
|
|
210
|
+
if (!isSupportedBraintrustVersion(version)) {
|
|
211
|
+
throw new Error(`neckbeard build: ${BRAINTRUST_PACKAGE} ${version} can't trace Pi; the agent's package needs ${BRAINTRUST_VERSIONS}.`);
|
|
212
|
+
}
|
|
213
|
+
pin(BRAINTRUST_PACKAGE, version);
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
const dependencies = {};
|
|
217
|
+
for (const [name, found] of [...versions].sort(([left], [right]) => left.localeCompare(right))) {
|
|
218
|
+
if (found.size > 1) {
|
|
219
|
+
throw new Error(`neckbeard build: the bundle imports ${name} at versions ${[...found].join(", ")}, but the image installs one.`);
|
|
220
|
+
}
|
|
221
|
+
dependencies[name] = [...found][0];
|
|
222
|
+
}
|
|
223
|
+
return dependencies;
|
|
224
|
+
}
|
|
225
|
+
async function installedVersion(fromDir, name) {
|
|
226
|
+
for (let dir = fromDir; ; dir = path2.dirname(dir)) {
|
|
227
|
+
try {
|
|
228
|
+
return JSON.parse(await readFile(path2.join(dir, "node_modules", name, "package.json"), "utf8")).version;
|
|
229
|
+
} catch (error) {
|
|
230
|
+
if (!isMissing(error)) throw error;
|
|
231
|
+
if (dir === path2.dirname(dir)) throw new Error(`neckbeard build: ${name} is not installed.`);
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
async function dependsOn(packageDir, name) {
|
|
236
|
+
const manifest = await readFile(path2.join(packageDir, "package.json"), "utf8").then(
|
|
237
|
+
(text) => JSON.parse(text),
|
|
238
|
+
(error) => {
|
|
239
|
+
if (isMissing(error)) return {};
|
|
240
|
+
throw error;
|
|
241
|
+
}
|
|
242
|
+
);
|
|
243
|
+
return Boolean(manifest.dependencies?.[name] || manifest.optionalDependencies?.[name]);
|
|
244
|
+
}
|
|
245
|
+
async function installSkills(packageDir, skillsDir, onLog) {
|
|
246
|
+
await mkdir(skillsDir, { recursive: true });
|
|
247
|
+
const own = await skillDirectories(path2.join(packageDir, "skills"), "skills/");
|
|
248
|
+
for (const name of own) await copySkill(path2.join(packageDir, "skills", name), path2.join(skillsDir, name));
|
|
249
|
+
let lockText;
|
|
250
|
+
try {
|
|
251
|
+
lockText = await readFile(path2.join(packageDir, "skills-lock.json"), "utf8");
|
|
252
|
+
} catch (error) {
|
|
253
|
+
if (isMissing(error)) return { own, locked: [] };
|
|
254
|
+
throw error;
|
|
255
|
+
}
|
|
256
|
+
const lock = JSON.parse(lockText);
|
|
257
|
+
const locked = Object.keys(lock.skills ?? {}).sort();
|
|
258
|
+
for (const [name, entry] of Object.entries(lock.skills ?? {})) {
|
|
259
|
+
if (own.includes(name)) throw new Error(`neckbeard build: skill ${name} is in both skills/ and skills-lock.json.`);
|
|
260
|
+
if (!/^[0-9a-f]{40}$/.test(entry.ref ?? "")) {
|
|
261
|
+
throw new Error(`neckbeard build: skill ${name} in skills-lock.json is not pinned to a full commit SHA (ref ${entry.ref}).`);
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
if (!locked.length) return { own, locked };
|
|
265
|
+
const [major = 0, minor = 0] = process.versions.node.split(".").map(Number);
|
|
266
|
+
if (major < 22 || major === 22 && minor < 20) {
|
|
267
|
+
throw new Error(`neckbeard build: restoring skills-lock.json needs Node.js 22.20 or later for skills@${SKILLS_CLI_VERSION}; this is ${process.versions.node}.`);
|
|
268
|
+
}
|
|
269
|
+
let cliPackage;
|
|
270
|
+
try {
|
|
271
|
+
cliPackage = neckbeardRequire.resolve("skills/package.json");
|
|
272
|
+
} catch {
|
|
273
|
+
throw new Error(`neckbeard build: restoring skills-lock.json needs the optional dependency skills@${SKILLS_CLI_VERSION}, which is not installed.`);
|
|
274
|
+
}
|
|
275
|
+
const workDir = await mkdtemp2(path2.join(tmpdir2(), "neckbeard-skills-"));
|
|
276
|
+
try {
|
|
277
|
+
await writeFile(path2.join(workDir, "skills-lock.json"), lockText);
|
|
278
|
+
const cli = path2.join(path2.dirname(cliPackage), "bin", "cli.mjs");
|
|
279
|
+
try {
|
|
280
|
+
const { stdout, stderr } = await promisify(execFile)(
|
|
281
|
+
process.execPath,
|
|
282
|
+
[cli, "experimental_install", "--frozen-lockfile", "-y"],
|
|
283
|
+
{
|
|
284
|
+
cwd: workDir,
|
|
285
|
+
// Its own HOME keeps it out of the user's global skills and agent config.
|
|
286
|
+
env: { ...process.env, HOME: workDir, DISABLE_TELEMETRY: "1", DO_NOT_TRACK: "1", NO_COLOR: "1" },
|
|
287
|
+
maxBuffer: 16 * 1024 * 1024
|
|
288
|
+
}
|
|
289
|
+
);
|
|
290
|
+
for (const line of `${stdout}${stderr}`.split("\n")) if (line.trim()) onLog?.(line);
|
|
291
|
+
} catch (error) {
|
|
292
|
+
const { stdout = "", stderr = "" } = error;
|
|
293
|
+
throw new Error(`neckbeard build: skills@${SKILLS_CLI_VERSION} could not restore skills-lock.json:
|
|
294
|
+
${stdout}${stderr}`);
|
|
295
|
+
}
|
|
296
|
+
const restoredDir = path2.join(workDir, ".agents", "skills");
|
|
297
|
+
const restored = await skillDirectories(restoredDir, "the restored skills");
|
|
298
|
+
const missing = locked.filter((name) => !restored.includes(name));
|
|
299
|
+
if (missing.length) throw new Error(`neckbeard build: the skills CLI did not restore ${missing.join(", ")}.`);
|
|
300
|
+
for (const name of locked) await copySkill(path2.join(restoredDir, name), path2.join(skillsDir, name));
|
|
301
|
+
} finally {
|
|
302
|
+
await rm2(workDir, { recursive: true, force: true });
|
|
303
|
+
}
|
|
304
|
+
return { own, locked };
|
|
305
|
+
}
|
|
306
|
+
async function copySkill(source, destination) {
|
|
307
|
+
const checkLinks = async (dir) => {
|
|
308
|
+
for (const entry of await readdir(dir, { withFileTypes: true })) {
|
|
309
|
+
const file = path2.join(dir, entry.name);
|
|
310
|
+
if (entry.isDirectory()) await checkLinks(file);
|
|
311
|
+
else if (entry.isSymbolicLink()) {
|
|
312
|
+
const target = await readlink(file);
|
|
313
|
+
if (path2.isAbsolute(target) || !isWithin(source, path2.resolve(dir, target))) {
|
|
314
|
+
throw new Error(`neckbeard build: ${file} links to ${target}, outside its skill.`);
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
};
|
|
319
|
+
await checkLinks(source);
|
|
320
|
+
await cp(source, destination, { recursive: true, verbatimSymlinks: true });
|
|
321
|
+
}
|
|
322
|
+
async function skillDirectories(dir, label) {
|
|
323
|
+
let entries;
|
|
324
|
+
try {
|
|
325
|
+
entries = await readdir(dir, { withFileTypes: true });
|
|
326
|
+
} catch (error) {
|
|
327
|
+
if (isMissing(error)) return [];
|
|
328
|
+
throw error;
|
|
329
|
+
}
|
|
330
|
+
const names = [];
|
|
331
|
+
for (const entry of entries) {
|
|
332
|
+
if (!entry.isDirectory()) throw new Error(`neckbeard build: ${label} has ${entry.name}, which is not a skill directory.`);
|
|
333
|
+
await lstat(path2.join(dir, entry.name, "SKILL.md")).catch(() => {
|
|
334
|
+
throw new Error(`neckbeard build: skill ${entry.name} in ${label} has no SKILL.md.`);
|
|
335
|
+
});
|
|
336
|
+
names.push(entry.name);
|
|
337
|
+
}
|
|
338
|
+
return names.sort();
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
export {
|
|
342
|
+
pushAgent,
|
|
343
|
+
SKILLS_CLI_VERSION,
|
|
344
|
+
buildAgent,
|
|
345
|
+
loadAgent
|
|
346
|
+
};
|