open-agents-ai 0.187.426 → 0.187.428
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 +17 -14
- package/npm-shrinkwrap.json +5 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -532621,13 +532621,16 @@ var init_status_bar = __esm({
|
|
|
532621
532621
|
return fg2;
|
|
532622
532622
|
};
|
|
532623
532623
|
const decorateMenuButton = (cmd, label) => {
|
|
532624
|
-
const
|
|
532625
|
-
|
|
532626
|
-
|
|
532627
|
-
|
|
532628
|
-
|
|
532629
|
-
|
|
532630
|
-
|
|
532624
|
+
const isBranding = themeMode() === "branding";
|
|
532625
|
+
if (isBranding) {
|
|
532626
|
+
const BRAND_BG = 178;
|
|
532627
|
+
const BRAND_FG = 65;
|
|
532628
|
+
return linkify(cmd, `\x1B[38;5;${BRAND_FG}m\x1B[48;5;${BRAND_BG}m ${label} \x1B[0m${PANEL_BG_SEQ}`);
|
|
532629
|
+
} else {
|
|
532630
|
+
const WHITE_BG = 15;
|
|
532631
|
+
const BLACK_FG = 0;
|
|
532632
|
+
return linkify(cmd, `\x1B[38;5;${BLACK_FG}m\x1B[48;5;${WHITE_BG}m ${label} \x1B[0m${PANEL_BG_SEQ}`);
|
|
532633
|
+
}
|
|
532631
532634
|
};
|
|
532632
532635
|
const renderBtn = (cmd, label) => {
|
|
532633
532636
|
const fg2 = buttonFg(cmd);
|
|
@@ -532636,15 +532639,15 @@ var init_status_bar = __esm({
|
|
|
532636
532639
|
const identity3 = this.buildHeaderIdentityRender();
|
|
532637
532640
|
const menuBtns = [
|
|
532638
532641
|
{ cmd: "help", label: "help", w: "help".length + 2 },
|
|
532639
|
-
// +2 for
|
|
532642
|
+
// +2 for spaces
|
|
532640
532643
|
{ cmd: "voice", label: "voice", w: "voice".length + 2 },
|
|
532641
|
-
// +2 for
|
|
532644
|
+
// +2 for spaces
|
|
532642
532645
|
{ cmd: "model", label: "model", w: "model".length + 2 },
|
|
532643
|
-
// +2 for
|
|
532646
|
+
// +2 for spaces
|
|
532644
532647
|
{ cmd: "endpoint", label: "endpoint", w: "endpoint".length + 2 },
|
|
532645
|
-
// +2 for
|
|
532648
|
+
// +2 for spaces
|
|
532646
532649
|
{ cmd: "sponsor", label: "sponsor", w: "sponsor".length + 2 }
|
|
532647
|
-
// +2 for
|
|
532650
|
+
// +2 for spaces
|
|
532648
532651
|
];
|
|
532649
532652
|
const verW = identity3.width;
|
|
532650
532653
|
let menuPages = [];
|
|
@@ -540937,7 +540940,7 @@ function getMemoryStats(workingDir) {
|
|
|
540937
540940
|
knowledgeGraph: { totalNodes: 0, totalEdges: 0, nodeTypes: {}, edgeTypes: {} },
|
|
540938
540941
|
episodes: { total: 0, avgImportance: 0, oldestTs: null, newestTs: null, modalities: {} }
|
|
540939
540942
|
};
|
|
540940
|
-
const memoryDbPath = path5.join(workingDir, ".oa", "
|
|
540943
|
+
const memoryDbPath = path5.join(workingDir, ".oa", "episodes.db");
|
|
540941
540944
|
if (fs4.existsSync(memoryDbPath)) {
|
|
540942
540945
|
try {
|
|
540943
540946
|
const Database2 = __require("better-sqlite3");
|
|
@@ -540960,7 +540963,7 @@ function getMemoryStats(workingDir) {
|
|
|
540960
540963
|
} catch (e2) {
|
|
540961
540964
|
}
|
|
540962
540965
|
}
|
|
540963
|
-
const kgDbPath = path5.join(workingDir, ".oa", "
|
|
540966
|
+
const kgDbPath = path5.join(workingDir, ".oa", "knowledge.db");
|
|
540964
540967
|
if (fs4.existsSync(kgDbPath)) {
|
|
540965
540968
|
try {
|
|
540966
540969
|
const Database2 = __require("better-sqlite3");
|
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.428",
|
|
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.428",
|
|
10
10
|
"hasInstallScript": true,
|
|
11
11
|
"license": "CC-BY-NC-4.0",
|
|
12
12
|
"dependencies": {
|
|
@@ -2905,9 +2905,9 @@
|
|
|
2905
2905
|
}
|
|
2906
2906
|
},
|
|
2907
2907
|
"node_modules/bare-url": {
|
|
2908
|
-
"version": "2.4.
|
|
2909
|
-
"resolved": "https://registry.npmjs.org/bare-url/-/bare-url-2.4.
|
|
2910
|
-
"integrity": "sha512
|
|
2908
|
+
"version": "2.4.2",
|
|
2909
|
+
"resolved": "https://registry.npmjs.org/bare-url/-/bare-url-2.4.2.tgz",
|
|
2910
|
+
"integrity": "sha512-/9a2j4ac6ckpmAHvod/ob7x439OAHst/drc2Clnq+reRYd/ovddwcF4LfoxHyNk5AuGBnPg+HqFjmE/Zpq6v0A==",
|
|
2911
2911
|
"license": "Apache-2.0",
|
|
2912
2912
|
"optional": true,
|
|
2913
2913
|
"dependencies": {
|
package/package.json
CHANGED