open-agents-ai 0.184.66 → 0.184.67
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 +33 -19
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -11893,8 +11893,8 @@ async function loadTranscribeCli() {
|
|
|
11893
11893
|
}).trim();
|
|
11894
11894
|
const tcPath = join19(globalRoot, "transcribe-cli");
|
|
11895
11895
|
if (existsSync16(join19(tcPath, "dist", "index.js"))) {
|
|
11896
|
-
const { createRequire:
|
|
11897
|
-
const req =
|
|
11896
|
+
const { createRequire: createRequire6 } = await import("node:module");
|
|
11897
|
+
const req = createRequire6(import.meta.url);
|
|
11898
11898
|
_tcModule = req(join19(tcPath, "dist", "index.js"));
|
|
11899
11899
|
return _tcModule;
|
|
11900
11900
|
}
|
|
@@ -11907,8 +11907,8 @@ async function loadTranscribeCli() {
|
|
|
11907
11907
|
for (const ver of readdirSync23(nvmBase)) {
|
|
11908
11908
|
const tcPath = join19(nvmBase, ver, "lib", "node_modules", "transcribe-cli");
|
|
11909
11909
|
if (existsSync16(join19(tcPath, "dist", "index.js"))) {
|
|
11910
|
-
const { createRequire:
|
|
11911
|
-
const req =
|
|
11910
|
+
const { createRequire: createRequire6 } = await import("node:module");
|
|
11911
|
+
const req = createRequire6(import.meta.url);
|
|
11912
11912
|
_tcModule = req(join19(tcPath, "dist", "index.js"));
|
|
11913
11913
|
return _tcModule;
|
|
11914
11914
|
}
|
|
@@ -30101,8 +30101,8 @@ var init_listen = __esm({
|
|
|
30101
30101
|
/** Load transcribe-cli — bundled as a dependency of open-agents-ai. */
|
|
30102
30102
|
async loadTranscribeCli() {
|
|
30103
30103
|
try {
|
|
30104
|
-
const { createRequire:
|
|
30105
|
-
const req =
|
|
30104
|
+
const { createRequire: createRequire6 } = await import("node:module");
|
|
30105
|
+
const req = createRequire6(import.meta.url);
|
|
30106
30106
|
return req("transcribe-cli");
|
|
30107
30107
|
} catch {
|
|
30108
30108
|
}
|
|
@@ -30114,8 +30114,8 @@ var init_listen = __esm({
|
|
|
30114
30114
|
}).trim();
|
|
30115
30115
|
const tcPath = join48(globalRoot, "transcribe-cli");
|
|
30116
30116
|
if (existsSync32(join48(tcPath, "dist", "index.js"))) {
|
|
30117
|
-
const { createRequire:
|
|
30118
|
-
const req =
|
|
30117
|
+
const { createRequire: createRequire6 } = await import("node:module");
|
|
30118
|
+
const req = createRequire6(import.meta.url);
|
|
30119
30119
|
return req(join48(tcPath, "dist", "index.js"));
|
|
30120
30120
|
}
|
|
30121
30121
|
} catch {
|
|
@@ -30127,8 +30127,8 @@ var init_listen = __esm({
|
|
|
30127
30127
|
for (const ver of readdirSync23(nvmBase)) {
|
|
30128
30128
|
const tcPath = join48(nvmBase, ver, "lib", "node_modules", "transcribe-cli");
|
|
30129
30129
|
if (existsSync32(join48(tcPath, "dist", "index.js"))) {
|
|
30130
|
-
const { createRequire:
|
|
30131
|
-
const req =
|
|
30130
|
+
const { createRequire: createRequire6 } = await import("node:module");
|
|
30131
|
+
const req = createRequire6(import.meta.url);
|
|
30132
30132
|
return req(join48(tcPath, "dist", "index.js"));
|
|
30133
30133
|
}
|
|
30134
30134
|
}
|
|
@@ -50633,11 +50633,11 @@ async function handleUpdate(subcommand, ctx) {
|
|
|
50633
50633
|
}
|
|
50634
50634
|
let currentVersion = "0.0.0";
|
|
50635
50635
|
try {
|
|
50636
|
-
const { createRequire:
|
|
50636
|
+
const { createRequire: createRequire6 } = await import("node:module");
|
|
50637
50637
|
const { fileURLToPath: fileURLToPath15 } = await import("node:url");
|
|
50638
50638
|
const { dirname: dirname23, join: join76 } = await import("node:path");
|
|
50639
50639
|
const { existsSync: existsSync56 } = await import("node:fs");
|
|
50640
|
-
const req =
|
|
50640
|
+
const req = createRequire6(import.meta.url);
|
|
50641
50641
|
const thisDir = dirname23(fileURLToPath15(import.meta.url));
|
|
50642
50642
|
const candidates = [
|
|
50643
50643
|
join76(thisDir, "..", "package.json"),
|
|
@@ -51817,8 +51817,20 @@ var init_project_context = __esm({
|
|
|
51817
51817
|
});
|
|
51818
51818
|
|
|
51819
51819
|
// packages/memory/dist/db.js
|
|
51820
|
-
import
|
|
51820
|
+
import { createRequire as createRequire2 } from "node:module";
|
|
51821
|
+
function getDatabase() {
|
|
51822
|
+
if (_Database !== null)
|
|
51823
|
+
return _Database;
|
|
51824
|
+
try {
|
|
51825
|
+
const req = createRequire2(import.meta.url);
|
|
51826
|
+
_Database = req("better-sqlite3");
|
|
51827
|
+
} catch {
|
|
51828
|
+
throw new Error("better-sqlite3 is not available (native module build may have failed).\nTry: npm rebuild better-sqlite3\nMemory features (SQLite) are disabled until this is resolved.");
|
|
51829
|
+
}
|
|
51830
|
+
return _Database;
|
|
51831
|
+
}
|
|
51821
51832
|
function initDb(dbPath) {
|
|
51833
|
+
const Database = getDatabase();
|
|
51822
51834
|
const db = new Database(dbPath);
|
|
51823
51835
|
db.pragma("journal_mode = WAL");
|
|
51824
51836
|
db.pragma("foreign_keys = ON");
|
|
@@ -52040,9 +52052,11 @@ function runMigrations(db) {
|
|
|
52040
52052
|
ON memory_link (target_id);
|
|
52041
52053
|
`);
|
|
52042
52054
|
}
|
|
52055
|
+
var _Database;
|
|
52043
52056
|
var init_db = __esm({
|
|
52044
52057
|
"packages/memory/dist/db.js"() {
|
|
52045
52058
|
"use strict";
|
|
52059
|
+
_Database = null;
|
|
52046
52060
|
}
|
|
52047
52061
|
});
|
|
52048
52062
|
|
|
@@ -62102,7 +62116,7 @@ __export(serve_exports, {
|
|
|
62102
62116
|
});
|
|
62103
62117
|
import * as http from "node:http";
|
|
62104
62118
|
import * as https from "node:https";
|
|
62105
|
-
import { createRequire as
|
|
62119
|
+
import { createRequire as createRequire3 } from "node:module";
|
|
62106
62120
|
import { fileURLToPath as fileURLToPath12 } from "node:url";
|
|
62107
62121
|
import { dirname as dirname20, join as join69, resolve as resolve31 } from "node:path";
|
|
62108
62122
|
import { spawn as spawn20 } from "node:child_process";
|
|
@@ -62110,7 +62124,7 @@ import { mkdirSync as mkdirSync26, writeFileSync as writeFileSync25, readFileSyn
|
|
|
62110
62124
|
import { randomBytes as randomBytes16 } from "node:crypto";
|
|
62111
62125
|
function getVersion3() {
|
|
62112
62126
|
try {
|
|
62113
|
-
const require2 =
|
|
62127
|
+
const require2 = createRequire3(import.meta.url);
|
|
62114
62128
|
const thisDir = dirname20(fileURLToPath12(import.meta.url));
|
|
62115
62129
|
const candidates = [
|
|
62116
62130
|
join69(thisDir, "..", "package.json"),
|
|
@@ -63530,7 +63544,7 @@ import * as readline2 from "node:readline";
|
|
|
63530
63544
|
import { Writable } from "node:stream";
|
|
63531
63545
|
import { cwd } from "node:process";
|
|
63532
63546
|
import { resolve as resolve32, join as join70, dirname as dirname21, extname as extname11 } from "node:path";
|
|
63533
|
-
import { createRequire as
|
|
63547
|
+
import { createRequire as createRequire4 } from "node:module";
|
|
63534
63548
|
import { fileURLToPath as fileURLToPath13 } from "node:url";
|
|
63535
63549
|
import { readFileSync as readFileSync42, writeFileSync as writeFileSync26, appendFileSync as appendFileSync4, rmSync as rmSync3, readdirSync as readdirSync21, mkdirSync as mkdirSync27 } from "node:fs";
|
|
63536
63550
|
import { existsSync as existsSync53 } from "node:fs";
|
|
@@ -63551,7 +63565,7 @@ function formatTimeAgo(date) {
|
|
|
63551
63565
|
}
|
|
63552
63566
|
function getVersion4() {
|
|
63553
63567
|
try {
|
|
63554
|
-
const require2 =
|
|
63568
|
+
const require2 = createRequire4(import.meta.url);
|
|
63555
63569
|
const thisDir = dirname21(fileURLToPath13(import.meta.url));
|
|
63556
63570
|
const candidates = [
|
|
63557
63571
|
join70(thisDir, "..", "package.json"),
|
|
@@ -69314,7 +69328,7 @@ init_config();
|
|
|
69314
69328
|
init_output();
|
|
69315
69329
|
init_updater();
|
|
69316
69330
|
import { parseArgs as nodeParseArgs2 } from "node:util";
|
|
69317
|
-
import { createRequire as
|
|
69331
|
+
import { createRequire as createRequire5 } from "node:module";
|
|
69318
69332
|
import { fileURLToPath as fileURLToPath14 } from "node:url";
|
|
69319
69333
|
import { dirname as dirname22, join as join75 } from "node:path";
|
|
69320
69334
|
|
|
@@ -69422,7 +69436,7 @@ init_spinner();
|
|
|
69422
69436
|
init_output();
|
|
69423
69437
|
function getVersion5() {
|
|
69424
69438
|
try {
|
|
69425
|
-
const require2 =
|
|
69439
|
+
const require2 = createRequire5(import.meta.url);
|
|
69426
69440
|
const pkgPath = join75(dirname22(fileURLToPath14(import.meta.url)), "..", "package.json");
|
|
69427
69441
|
const pkg = require2(pkgPath);
|
|
69428
69442
|
return pkg.version;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "open-agents-ai",
|
|
3
|
-
"version": "0.184.
|
|
3
|
+
"version": "0.184.67",
|
|
4
4
|
"description": "AI coding agent powered by open-source models (Ollama/vLLM) — interactive TUI with agentic tool-calling loop",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -76,7 +76,6 @@
|
|
|
76
76
|
},
|
|
77
77
|
"dependencies": {
|
|
78
78
|
"aiwg": "^2026.3.2",
|
|
79
|
-
"better-sqlite3": "^11.7.0",
|
|
80
79
|
"glob": "^11.0.0",
|
|
81
80
|
"ignore": "^6.0.2",
|
|
82
81
|
"nats.ws": "^1.30.3",
|
|
@@ -84,6 +83,7 @@
|
|
|
84
83
|
"zod": "^3.24.1"
|
|
85
84
|
},
|
|
86
85
|
"optionalDependencies": {
|
|
86
|
+
"better-sqlite3": "^11.7.0",
|
|
87
87
|
"moondream": "^0.2.0",
|
|
88
88
|
"neovim": "^5.3.0",
|
|
89
89
|
"node-pty": "^1.0.0",
|