open-agents-ai 0.187.457 → 0.187.459
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/dist/index.js +49 -50
- package/npm-shrinkwrap.json +11 -11
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -13007,8 +13007,8 @@ function deleteCustomToolDefinition(name10, scope, repoRoot) {
|
|
|
13007
13007
|
const dir = scope === "project" && repoRoot ? projectToolsDir(repoRoot) : globalToolsDir();
|
|
13008
13008
|
const filePath = join18(dir, `${name10}.json`);
|
|
13009
13009
|
if (existsSync13(filePath)) {
|
|
13010
|
-
const { unlinkSync:
|
|
13011
|
-
|
|
13010
|
+
const { unlinkSync: unlinkSync25 } = __require("node:fs");
|
|
13011
|
+
unlinkSync25(filePath);
|
|
13012
13012
|
return true;
|
|
13013
13013
|
}
|
|
13014
13014
|
return false;
|
|
@@ -250314,8 +250314,8 @@ var init_browser_action = __esm({
|
|
|
250314
250314
|
const afterDom = await apiCall("/dom", "GET");
|
|
250315
250315
|
const afterTitle = (afterDom.dom || "").match(/<title[^>]*>([^<]*)<\/title>/i)?.[1] || "";
|
|
250316
250316
|
try {
|
|
250317
|
-
const { unlinkSync:
|
|
250318
|
-
|
|
250317
|
+
const { unlinkSync: unlinkSync25 } = await import("node:fs");
|
|
250318
|
+
unlinkSync25(imagePath);
|
|
250319
250319
|
} catch {
|
|
250320
250320
|
}
|
|
250321
250321
|
return {
|
|
@@ -523527,7 +523527,7 @@ ${result}`
|
|
|
523527
523527
|
let resizedBase64 = null;
|
|
523528
523528
|
try {
|
|
523529
523529
|
const { execSync: execSync57 } = await import("node:child_process");
|
|
523530
|
-
const { writeFileSync: writeFileSync56, readFileSync: readFileSync77, unlinkSync:
|
|
523530
|
+
const { writeFileSync: writeFileSync56, readFileSync: readFileSync77, unlinkSync: unlinkSync25 } = await import("node:fs");
|
|
523531
523531
|
const { join: join115 } = await import("node:path");
|
|
523532
523532
|
const { tmpdir: tmpdir22 } = await import("node:os");
|
|
523533
523533
|
const tmpIn = join115(tmpdir22(), `oa_img_in_${Date.now()}.png`);
|
|
@@ -523540,11 +523540,11 @@ ${result}`
|
|
|
523540
523540
|
const resizedBuf = readFileSync77(tmpOut);
|
|
523541
523541
|
resizedBase64 = `data:image/jpeg;base64,${resizedBuf.toString("base64")}`;
|
|
523542
523542
|
try {
|
|
523543
|
-
|
|
523543
|
+
unlinkSync25(tmpIn);
|
|
523544
523544
|
} catch {
|
|
523545
523545
|
}
|
|
523546
523546
|
try {
|
|
523547
|
-
|
|
523547
|
+
unlinkSync25(tmpOut);
|
|
523548
523548
|
} catch {
|
|
523549
523549
|
}
|
|
523550
523550
|
} catch {
|
|
@@ -583174,12 +583174,11 @@ import { fileURLToPath as fileURLToPath17 } from "node:url";
|
|
|
583174
583174
|
import { dirname as dirname33, join as join109, resolve as resolve37 } from "node:path";
|
|
583175
583175
|
import { homedir as homedir40 } from "node:os";
|
|
583176
583176
|
import { spawn as spawn25, execSync as execSync55 } from "node:child_process";
|
|
583177
|
-
import { mkdirSync as mkdirSync59, writeFileSync as writeFileSync52, readFileSync as readFileSync74, readdirSync as readdirSync30, existsSync as existsSync92, watch as fsWatch3 } from "node:fs";
|
|
583177
|
+
import { mkdirSync as mkdirSync59, writeFileSync as writeFileSync52, readFileSync as readFileSync74, readdirSync as readdirSync30, existsSync as existsSync92, watch as fsWatch3, renameSync as renameSync8, unlinkSync as unlinkSync24 } from "node:fs";
|
|
583178
583178
|
import { randomBytes as randomBytes21, randomUUID as randomUUID14 } from "node:crypto";
|
|
583179
583179
|
import { createHash as createHash14 } from "node:crypto";
|
|
583180
583180
|
function getVersion3() {
|
|
583181
583181
|
try {
|
|
583182
|
-
const require3 = createRequire4(import.meta.url);
|
|
583183
583182
|
const thisDir = dirname33(fileURLToPath17(import.meta.url));
|
|
583184
583183
|
const candidates = [
|
|
583185
583184
|
join109(thisDir, "..", "package.json"),
|
|
@@ -583895,19 +583894,18 @@ function autoSeedTodosFromPrompt(prompt) {
|
|
|
583895
583894
|
return [];
|
|
583896
583895
|
}
|
|
583897
583896
|
function atomicJobWrite(dir, id, job) {
|
|
583898
|
-
const fs7 = __require("node:fs");
|
|
583899
583897
|
const finalPath = join109(dir, `${id}.json`);
|
|
583900
583898
|
const tmpPath = `${finalPath}.tmp.${process.pid}.${Date.now()}`;
|
|
583901
583899
|
try {
|
|
583902
|
-
|
|
583903
|
-
|
|
583900
|
+
writeFileSync52(tmpPath, JSON.stringify(job, null, 2), "utf-8");
|
|
583901
|
+
renameSync8(tmpPath, finalPath);
|
|
583904
583902
|
} catch {
|
|
583905
583903
|
try {
|
|
583906
|
-
|
|
583904
|
+
writeFileSync52(finalPath, JSON.stringify(job, null, 2), "utf-8");
|
|
583907
583905
|
} catch {
|
|
583908
583906
|
}
|
|
583909
583907
|
try {
|
|
583910
|
-
|
|
583908
|
+
unlinkSync24(tmpPath);
|
|
583911
583909
|
} catch {
|
|
583912
583910
|
}
|
|
583913
583911
|
}
|
|
@@ -584989,12 +584987,11 @@ function readUpdateState() {
|
|
|
584989
584987
|
function writeUpdateState(state) {
|
|
584990
584988
|
try {
|
|
584991
584989
|
const dir = join109(homedir40(), ".open-agents");
|
|
584992
|
-
|
|
584993
|
-
fs7.mkdirSync(dir, { recursive: true });
|
|
584990
|
+
mkdirSync59(dir, { recursive: true });
|
|
584994
584991
|
const finalPath = updateStateFile();
|
|
584995
584992
|
const tmpPath = `${finalPath}.tmp.${process.pid}`;
|
|
584996
|
-
|
|
584997
|
-
|
|
584993
|
+
writeFileSync52(tmpPath, JSON.stringify(state, null, 2), "utf-8");
|
|
584994
|
+
renameSync8(tmpPath, finalPath);
|
|
584998
584995
|
} catch {
|
|
584999
584996
|
}
|
|
585000
584997
|
}
|
|
@@ -585031,10 +585028,10 @@ async function handleV1Update(req2, res, requestId) {
|
|
|
585031
585028
|
from: currentVersion,
|
|
585032
585029
|
to: targetVersion
|
|
585033
585030
|
}, { subject: req2._authUser ?? "anonymous" });
|
|
585034
|
-
const fs7 =
|
|
585031
|
+
const fs7 = require3("node:fs");
|
|
585035
585032
|
const nodeBin = process.execPath;
|
|
585036
585033
|
const nodeDir = dirname33(nodeBin);
|
|
585037
|
-
const { execSync: es } =
|
|
585034
|
+
const { execSync: es } = require3("node:child_process");
|
|
585038
585035
|
const isWin2 = process.platform === "win32";
|
|
585039
585036
|
let npmBin = "";
|
|
585040
585037
|
for (const candidate of isWin2 ? [join109(nodeDir, "npm.cmd"), join109(nodeDir, "npm")] : [join109(nodeDir, "npm"), "/usr/local/bin/npm", "/usr/bin/npm"]) {
|
|
@@ -585438,6 +585435,7 @@ async function handleV1Run(req2, res) {
|
|
|
585438
585435
|
const TAIL_BUDGET = 1048576;
|
|
585439
585436
|
const outputWriter = new DiskTaskOutput(join109(dir, `${id}.output`));
|
|
585440
585437
|
job.outputFile = outputWriter.path;
|
|
585438
|
+
atomicJobWrite(dir, id, job);
|
|
585441
585439
|
child.stdout?.on("data", (chunk) => {
|
|
585442
585440
|
outputWriter.append(chunk);
|
|
585443
585441
|
const text = chunk.toString("utf-8");
|
|
@@ -586100,9 +586098,9 @@ async function handleRequest(req2, res, ollamaUrl, verbose) {
|
|
|
586100
586098
|
return;
|
|
586101
586099
|
}
|
|
586102
586100
|
if (pathname === "/v1/system" && method === "GET") {
|
|
586103
|
-
const os8 =
|
|
586101
|
+
const os8 = require3("node:os");
|
|
586104
586102
|
const version4 = getVersion3();
|
|
586105
|
-
const { execSync: es } =
|
|
586103
|
+
const { execSync: es } = require3("node:child_process");
|
|
586106
586104
|
let gpus = [];
|
|
586107
586105
|
try {
|
|
586108
586106
|
const nv = es("nvidia-smi --query-gpu=name,memory.total --format=csv,noheader,nounits", { encoding: "utf8", timeout: 5e3, stdio: "pipe" });
|
|
@@ -586326,7 +586324,7 @@ async function handleRequest(req2, res, ollamaUrl, verbose) {
|
|
|
586326
586324
|
return;
|
|
586327
586325
|
}
|
|
586328
586326
|
const { tmpdir: tmpdir22 } = await import("node:os");
|
|
586329
|
-
const { writeFileSync: writeFileSync56, unlinkSync:
|
|
586327
|
+
const { writeFileSync: writeFileSync56, unlinkSync: unlinkSync25 } = await import("node:fs");
|
|
586330
586328
|
const { join: pjoin } = await import("node:path");
|
|
586331
586329
|
const tmpPath = pjoin(tmpdir22(), `oa-clone-upload-${Date.now()}-${safeName}`);
|
|
586332
586330
|
writeFileSync56(tmpPath, buf);
|
|
@@ -586341,7 +586339,7 @@ async function handleRequest(req2, res, ollamaUrl, verbose) {
|
|
|
586341
586339
|
});
|
|
586342
586340
|
} finally {
|
|
586343
586341
|
try {
|
|
586344
|
-
|
|
586342
|
+
unlinkSync25(tmpPath);
|
|
586345
586343
|
} catch {
|
|
586346
586344
|
}
|
|
586347
586345
|
}
|
|
@@ -586983,8 +586981,8 @@ data: ${JSON.stringify(data)}
|
|
|
586983
586981
|
} catch {
|
|
586984
586982
|
}
|
|
586985
586983
|
try {
|
|
586986
|
-
const { execSync: es, spawnSync: ss } =
|
|
586987
|
-
const home = process.env.HOME ||
|
|
586984
|
+
const { execSync: es, spawnSync: ss } = require3("node:child_process");
|
|
586985
|
+
const home = process.env.HOME || require3("node:os").homedir();
|
|
586988
586986
|
const userDir = `${home}/.config/systemd/user`;
|
|
586989
586987
|
for (const suffix of [".timer", ".service"]) {
|
|
586990
586988
|
try {
|
|
@@ -587983,7 +587981,7 @@ function listScheduledTasks() {
|
|
|
587983
587981
|
function listOaUserTimers() {
|
|
587984
587982
|
const out = [];
|
|
587985
587983
|
try {
|
|
587986
|
-
const { execSync: es } =
|
|
587984
|
+
const { execSync: es } = require3("node:child_process");
|
|
587987
587985
|
const files = es("systemctl --user list-unit-files --type=timer --no-legend", { encoding: "utf8", stdio: "pipe" }).trim().split("\n");
|
|
587988
587986
|
const enabledMap = /* @__PURE__ */ new Map();
|
|
587989
587987
|
for (const line of files) {
|
|
@@ -588081,7 +588079,7 @@ function deleteScheduledById(id) {
|
|
|
588081
588079
|
if (id) candidates.push(id);
|
|
588082
588080
|
if (typeof entry?.id === "string" && entry.id && !candidates.includes(entry.id)) candidates.push(entry.id);
|
|
588083
588081
|
try {
|
|
588084
|
-
const { createHash: createHash15 } =
|
|
588082
|
+
const { createHash: createHash15 } = require3("node:crypto");
|
|
588085
588083
|
const fallback = createHash15("sha1").update(`${target.file}#${target.index}`).digest("hex").slice(0, 16);
|
|
588086
588084
|
if (!candidates.includes(fallback)) candidates.push(fallback);
|
|
588087
588085
|
} catch {
|
|
@@ -588130,7 +588128,7 @@ function removeCronByDirectory(dir) {
|
|
|
588130
588128
|
function killProcessGroups(pids, pattern) {
|
|
588131
588129
|
const killed = [];
|
|
588132
588130
|
try {
|
|
588133
|
-
const { execSync: es } =
|
|
588131
|
+
const { execSync: es } = require3("node:child_process");
|
|
588134
588132
|
const targets = /* @__PURE__ */ new Map();
|
|
588135
588133
|
if (pids && pids.length > 0) {
|
|
588136
588134
|
for (const pid of pids) {
|
|
@@ -588191,8 +588189,8 @@ function killProcessGroups(pids, pattern) {
|
|
|
588191
588189
|
function disableAllOaTimers() {
|
|
588192
588190
|
let disabled = 0;
|
|
588193
588191
|
try {
|
|
588194
|
-
const { execSync: es } =
|
|
588195
|
-
const home = process.env.HOME ||
|
|
588192
|
+
const { execSync: es } = require3("node:child_process");
|
|
588193
|
+
const home = process.env.HOME || require3("node:os").homedir();
|
|
588196
588194
|
const userDir = `${home}/.config/systemd/user`;
|
|
588197
588195
|
const timers = listOaUserTimers();
|
|
588198
588196
|
for (const t2 of timers) {
|
|
@@ -588243,7 +588241,7 @@ function removeAllOaCrons() {
|
|
|
588243
588241
|
function listMatchingProcesses(pattern) {
|
|
588244
588242
|
const list = [];
|
|
588245
588243
|
try {
|
|
588246
|
-
const { execSync: es } =
|
|
588244
|
+
const { execSync: es } = require3("node:child_process");
|
|
588247
588245
|
const re = new RegExp(pattern, "i");
|
|
588248
588246
|
const ps = es("ps -eo pid,etimes,pcpu,pmem,command", { encoding: "utf8", stdio: "pipe" });
|
|
588249
588247
|
for (const line of ps.split("\n")) {
|
|
@@ -588263,7 +588261,7 @@ function listMatchingProcesses(pattern) {
|
|
|
588263
588261
|
}
|
|
588264
588262
|
function sampleGpuUtil() {
|
|
588265
588263
|
try {
|
|
588266
|
-
const { execSync: es } =
|
|
588264
|
+
const { execSync: es } = require3("node:child_process");
|
|
588267
588265
|
const out = es("nvidia-smi --query-gpu=utilization.gpu,memory.used,memory.total --format=csv,noheader,nounits", { encoding: "utf8", timeout: 3e3, stdio: "pipe" });
|
|
588268
588266
|
const arr = [];
|
|
588269
588267
|
for (const line of out.trim().split("\n")) {
|
|
@@ -588280,7 +588278,7 @@ function sampleGpuUtil() {
|
|
|
588280
588278
|
}
|
|
588281
588279
|
function getCurrentCrontabLines() {
|
|
588282
588280
|
try {
|
|
588283
|
-
const { execSync: es } =
|
|
588281
|
+
const { execSync: es } = require3("node:child_process");
|
|
588284
588282
|
return es("crontab -l 2>/dev/null", { encoding: "utf8", stdio: "pipe" }).split("\n");
|
|
588285
588283
|
} catch {
|
|
588286
588284
|
return [];
|
|
@@ -588363,7 +588361,7 @@ function reconcileScheduledTasks(apply) {
|
|
|
588363
588361
|
}
|
|
588364
588362
|
function findOaBinary4() {
|
|
588365
588363
|
try {
|
|
588366
|
-
const { execSync: es } =
|
|
588364
|
+
const { execSync: es } = require3("node:child_process");
|
|
588367
588365
|
for (const cmd of ["oa", "open-agents"]) {
|
|
588368
588366
|
try {
|
|
588369
588367
|
const p2 = es(`which ${cmd} 2>/dev/null`, { encoding: "utf8", stdio: "pipe" }).trim();
|
|
@@ -588380,7 +588378,7 @@ function getCrontabLines() {
|
|
|
588380
588378
|
}
|
|
588381
588379
|
function writeCrontabLines(lines) {
|
|
588382
588380
|
try {
|
|
588383
|
-
const { spawnSync: spawnSync6 } =
|
|
588381
|
+
const { spawnSync: spawnSync6 } = require3("node:child_process");
|
|
588384
588382
|
const result = spawnSync6("crontab", ["-"], { input: lines.join("\n") + "\n", encoding: "utf8", stdio: ["pipe", "pipe", "pipe"] });
|
|
588385
588383
|
if (result.status !== 0) throw new Error(`crontab exited ${result.status}: ${String(result.stderr || "").trim()}`);
|
|
588386
588384
|
} catch (e2) {
|
|
@@ -588482,7 +588480,7 @@ WantedBy=timers.target
|
|
|
588482
588480
|
writeFileSync52(svc, svcText);
|
|
588483
588481
|
writeFileSync52(tim, timText);
|
|
588484
588482
|
try {
|
|
588485
|
-
const { execSync: es } =
|
|
588483
|
+
const { execSync: es } = require3("node:child_process");
|
|
588486
588484
|
es("systemctl --user daemon-reload", { stdio: "pipe" });
|
|
588487
588485
|
es(`systemctl --user enable --now ${unitBase}.timer`, { stdio: "pipe" });
|
|
588488
588486
|
} catch {
|
|
@@ -588509,7 +588507,7 @@ WantedBy=timers.target
|
|
|
588509
588507
|
function listUserServices(pattern) {
|
|
588510
588508
|
const out = [];
|
|
588511
588509
|
try {
|
|
588512
|
-
const { execSync: es } =
|
|
588510
|
+
const { execSync: es } = require3("node:child_process");
|
|
588513
588511
|
const files = es("systemctl --user list-unit-files --type=service --no-legend", { encoding: "utf8", stdio: "pipe" }).trim().split("\n");
|
|
588514
588512
|
const enabledMap = /* @__PURE__ */ new Map();
|
|
588515
588513
|
for (const line of files) {
|
|
@@ -588535,7 +588533,7 @@ function listUserServices(pattern) {
|
|
|
588535
588533
|
}
|
|
588536
588534
|
function userServiceAction(unit, action) {
|
|
588537
588535
|
try {
|
|
588538
|
-
const { execSync: es } =
|
|
588536
|
+
const { execSync: es } = require3("node:child_process");
|
|
588539
588537
|
if (action === "stop") {
|
|
588540
588538
|
es(`systemctl --user stop ${unit}`, { stdio: "pipe" });
|
|
588541
588539
|
return true;
|
|
@@ -588703,8 +588701,8 @@ function startApiServer(options2 = {}) {
|
|
|
588703
588701
|
const job = JSON.parse(readFileSync74(jobPath, "utf-8"));
|
|
588704
588702
|
const jobTime = new Date(job.startedAt ?? job.completedAt ?? 0).getTime();
|
|
588705
588703
|
if (jobTime > 0 && jobTime < cutoff && job.status !== "running") {
|
|
588706
|
-
const { unlinkSync:
|
|
588707
|
-
|
|
588704
|
+
const { unlinkSync: unlinkSync25 } = require3("node:fs");
|
|
588705
|
+
unlinkSync25(jobPath);
|
|
588708
588706
|
}
|
|
588709
588707
|
} catch {
|
|
588710
588708
|
}
|
|
@@ -589025,7 +589023,7 @@ function startApiServer(options2 = {}) {
|
|
|
589025
589023
|
log22(` Port ${port} in use — reclaiming...
|
|
589026
589024
|
`);
|
|
589027
589025
|
try {
|
|
589028
|
-
const { execSync: es } =
|
|
589026
|
+
const { execSync: es } = require3("node:child_process");
|
|
589029
589027
|
const pids = es(`lsof -ti :${port} 2>/dev/null || fuser ${port}/tcp 2>/dev/null || true`, { encoding: "utf8" }).trim().split(/[\n\s]+/).filter(Boolean);
|
|
589030
589028
|
for (const pid of pids) {
|
|
589031
589029
|
const numPid = parseInt(pid, 10);
|
|
@@ -589322,8 +589320,8 @@ function removeCronByMarker(id) {
|
|
|
589322
589320
|
}
|
|
589323
589321
|
function disableUserTimerById(id) {
|
|
589324
589322
|
try {
|
|
589325
|
-
const { execSync: es } =
|
|
589326
|
-
const home = process.env.HOME ||
|
|
589323
|
+
const { execSync: es } = require3("node:child_process");
|
|
589324
|
+
const home = process.env.HOME || require3("node:os").homedir();
|
|
589327
589325
|
const userDir = `${home}/.config/systemd/user`;
|
|
589328
589326
|
const names = [`oa-${id}`, `oa-sched-${id}`, id];
|
|
589329
589327
|
for (const n2 of names) {
|
|
@@ -589352,7 +589350,7 @@ function disableUserTimerById(id) {
|
|
|
589352
589350
|
function setTimerEnabled(name10, enabled2) {
|
|
589353
589351
|
try {
|
|
589354
589352
|
const unit = `${name10}.timer`;
|
|
589355
|
-
const { execSync: es } =
|
|
589353
|
+
const { execSync: es } = require3("node:child_process");
|
|
589356
589354
|
if (enabled2) es(`systemctl --user enable --now ${unit}`, { stdio: "pipe" });
|
|
589357
589355
|
else es(`systemctl --user disable --now ${unit}`, { stdio: "pipe" });
|
|
589358
589356
|
return true;
|
|
@@ -589360,7 +589358,7 @@ function setTimerEnabled(name10, enabled2) {
|
|
|
589360
589358
|
return false;
|
|
589361
589359
|
}
|
|
589362
589360
|
}
|
|
589363
|
-
var endpointRegistry, modelRouteMap, endpointUsage, metrics, startedAt, runningProcesses, perKeyUsage, CRON_MARKER2;
|
|
589361
|
+
var require3, endpointRegistry, modelRouteMap, endpointUsage, metrics, startedAt, runningProcesses, perKeyUsage, CRON_MARKER2;
|
|
589364
589362
|
var init_serve = __esm({
|
|
589365
589363
|
"packages/cli/src/api/serve.ts"() {
|
|
589366
589364
|
"use strict";
|
|
@@ -589388,6 +589386,7 @@ var init_serve = __esm({
|
|
|
589388
589386
|
init_profiles();
|
|
589389
589387
|
init_docker();
|
|
589390
589388
|
init_typed_node_events();
|
|
589389
|
+
require3 = createRequire4(import.meta.url);
|
|
589391
589390
|
endpointRegistry = [];
|
|
589392
589391
|
modelRouteMap = /* @__PURE__ */ new Map();
|
|
589393
589392
|
endpointUsage = /* @__PURE__ */ new Map();
|
|
@@ -589425,7 +589424,7 @@ function formatTimeAgo2(date) {
|
|
|
589425
589424
|
}
|
|
589426
589425
|
function getVersion4() {
|
|
589427
589426
|
try {
|
|
589428
|
-
const
|
|
589427
|
+
const require4 = createRequire5(import.meta.url);
|
|
589429
589428
|
const thisDir = dirname34(fileURLToPath18(import.meta.url));
|
|
589430
589429
|
const candidates = [
|
|
589431
589430
|
join110(thisDir, "..", "package.json"),
|
|
@@ -589434,7 +589433,7 @@ function getVersion4() {
|
|
|
589434
589433
|
];
|
|
589435
589434
|
for (const pkgPath of candidates) {
|
|
589436
589435
|
if (existsSync93(pkgPath)) {
|
|
589437
|
-
const pkg =
|
|
589436
|
+
const pkg = require4(pkgPath);
|
|
589438
589437
|
if (pkg.name === "open-agents-ai" || pkg.name === "@open-agents/cli" || pkg.name === "@open-agents/monorepo") {
|
|
589439
589438
|
return pkg.version ?? "0.0.0";
|
|
589440
589439
|
}
|
|
@@ -597167,9 +597166,9 @@ init_spinner();
|
|
|
597167
597166
|
init_output();
|
|
597168
597167
|
function getVersion5() {
|
|
597169
597168
|
try {
|
|
597170
|
-
const
|
|
597169
|
+
const require4 = createRequire6(import.meta.url);
|
|
597171
597170
|
const pkgPath = join114(dirname35(fileURLToPath19(import.meta.url)), "..", "package.json");
|
|
597172
|
-
const pkg =
|
|
597171
|
+
const pkg = require4(pkgPath);
|
|
597173
597172
|
return pkg.version;
|
|
597174
597173
|
} catch {
|
|
597175
597174
|
return "0.1.0";
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "open-agents-ai",
|
|
3
|
-
"version": "0.187.
|
|
3
|
+
"version": "0.187.459",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "open-agents-ai",
|
|
9
|
-
"version": "0.187.
|
|
9
|
+
"version": "0.187.459",
|
|
10
10
|
"hasInstallScript": true,
|
|
11
11
|
"license": "CC-BY-NC-4.0",
|
|
12
12
|
"dependencies": {
|
|
@@ -1520,19 +1520,19 @@
|
|
|
1520
1520
|
}
|
|
1521
1521
|
},
|
|
1522
1522
|
"node_modules/@libp2p/webrtc": {
|
|
1523
|
-
"version": "6.0.
|
|
1524
|
-
"resolved": "https://registry.npmjs.org/@libp2p/webrtc/-/webrtc-6.0.
|
|
1525
|
-
"integrity": "sha512-
|
|
1523
|
+
"version": "6.0.20",
|
|
1524
|
+
"resolved": "https://registry.npmjs.org/@libp2p/webrtc/-/webrtc-6.0.20.tgz",
|
|
1525
|
+
"integrity": "sha512-hdSgAgXaL0+dbOTNbf5+OQdZHGNQQGVHlursquM3HHsKtkIOVWEWre2Wo8UhAT/LcLtZDVkcx+xsBQmF6ASPyQ==",
|
|
1526
1526
|
"license": "Apache-2.0 OR MIT",
|
|
1527
1527
|
"dependencies": {
|
|
1528
1528
|
"@chainsafe/is-ip": "^2.1.0",
|
|
1529
1529
|
"@chainsafe/libp2p-noise": "^17.0.0",
|
|
1530
1530
|
"@libp2p/crypto": "^5.1.17",
|
|
1531
1531
|
"@libp2p/interface": "^3.2.2",
|
|
1532
|
-
"@libp2p/interface-internal": "^3.1.
|
|
1533
|
-
"@libp2p/keychain": "^6.0
|
|
1532
|
+
"@libp2p/interface-internal": "^3.1.3",
|
|
1533
|
+
"@libp2p/keychain": "^6.1.0",
|
|
1534
1534
|
"@libp2p/peer-id": "^6.0.8",
|
|
1535
|
-
"@libp2p/utils": "^7.0
|
|
1535
|
+
"@libp2p/utils": "^7.1.0",
|
|
1536
1536
|
"@multiformats/multiaddr": "^13.0.1",
|
|
1537
1537
|
"@multiformats/multiaddr-matcher": "^3.0.1",
|
|
1538
1538
|
"@peculiar/webcrypto": "^1.5.0",
|
|
@@ -2943,9 +2943,9 @@
|
|
|
2943
2943
|
"license": "MIT"
|
|
2944
2944
|
},
|
|
2945
2945
|
"node_modules/baseline-browser-mapping": {
|
|
2946
|
-
"version": "2.10.
|
|
2947
|
-
"resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.10.
|
|
2948
|
-
"integrity": "sha512-
|
|
2946
|
+
"version": "2.10.22",
|
|
2947
|
+
"resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.10.22.tgz",
|
|
2948
|
+
"integrity": "sha512-6qruVrb5rse6WylFkU0FhBKKGuecWseqdpQfhkawn6ztyk2QlfwSRjsDxMCLJrkfmfN21qvhl9ABgaMeRkuwww==",
|
|
2949
2949
|
"license": "Apache-2.0",
|
|
2950
2950
|
"peer": true,
|
|
2951
2951
|
"bin": {
|
package/package.json
CHANGED