@exulu/backend 0.1.7 → 0.1.8
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.cjs +7 -0
- package/dist/index.js +7 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -113,6 +113,12 @@ var import_knex3 = require("pgvector/knex");
|
|
|
113
113
|
var db = {};
|
|
114
114
|
async function postgresClient() {
|
|
115
115
|
if (!db["exulu"]) {
|
|
116
|
+
console.log("[EXULU] Initializing exulu database.");
|
|
117
|
+
console.log(process.env.POSTGRES_DB_HOST);
|
|
118
|
+
console.log(process.env.POSTGRES_DB_PORT);
|
|
119
|
+
console.log(process.env.POSTGRES_DB_USER);
|
|
120
|
+
console.log(process.env.POSTGRES_DB_PASSWORD);
|
|
121
|
+
console.log(process.env.POSTGRES_DB_SSL);
|
|
116
122
|
const knex = (0, import_knex.default)({
|
|
117
123
|
client: "pg",
|
|
118
124
|
connection: {
|
|
@@ -733,6 +739,7 @@ var ExuluAgent = class {
|
|
|
733
739
|
this.capabilities = capabilities;
|
|
734
740
|
this.slug = `/agents/${generateSlug(this.name)}/run`;
|
|
735
741
|
if (config?.memory) {
|
|
742
|
+
console.log("[EXULU] Initializing memory for agent " + this.name);
|
|
736
743
|
const connectionString = `postgresql://${process.env.POSTGRES_DB_USER}:${process.env.POSTGRES_DB_PASSWORD}@${process.env.POSTGRES_DB_HOST}:${process.env.POSTGRES_DB_PORT}/exulu`;
|
|
737
744
|
this.memory = new import_memory.Memory({
|
|
738
745
|
storage: new import_pg.PostgresStore({
|
package/dist/index.js
CHANGED
|
@@ -72,6 +72,12 @@ import "pgvector/knex";
|
|
|
72
72
|
var db = {};
|
|
73
73
|
async function postgresClient() {
|
|
74
74
|
if (!db["exulu"]) {
|
|
75
|
+
console.log("[EXULU] Initializing exulu database.");
|
|
76
|
+
console.log(process.env.POSTGRES_DB_HOST);
|
|
77
|
+
console.log(process.env.POSTGRES_DB_PORT);
|
|
78
|
+
console.log(process.env.POSTGRES_DB_USER);
|
|
79
|
+
console.log(process.env.POSTGRES_DB_PASSWORD);
|
|
80
|
+
console.log(process.env.POSTGRES_DB_SSL);
|
|
75
81
|
const knex = Knex({
|
|
76
82
|
client: "pg",
|
|
77
83
|
connection: {
|
|
@@ -692,6 +698,7 @@ var ExuluAgent = class {
|
|
|
692
698
|
this.capabilities = capabilities;
|
|
693
699
|
this.slug = `/agents/${generateSlug(this.name)}/run`;
|
|
694
700
|
if (config?.memory) {
|
|
701
|
+
console.log("[EXULU] Initializing memory for agent " + this.name);
|
|
695
702
|
const connectionString = `postgresql://${process.env.POSTGRES_DB_USER}:${process.env.POSTGRES_DB_PASSWORD}@${process.env.POSTGRES_DB_HOST}:${process.env.POSTGRES_DB_PORT}/exulu`;
|
|
696
703
|
this.memory = new Memory({
|
|
697
704
|
storage: new PostgresStore({
|