@elizaos/plugin-sql 1.6.0-alpha.0 → 1.6.0-alpha.4
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/browser/index.browser.js +3254 -0
- package/dist/browser/index.browser.js.map +36 -0
- package/dist/browser/index.d.ts +2 -0
- package/dist/browser/tsconfig.build.tsbuildinfo +1 -0
- package/dist/index.d.ts +2 -33
- package/dist/node/index.d.ts +2 -0
- package/dist/{index.js → node/index.node.js} +55 -4791
- package/dist/node/index.node.js.map +123 -0
- package/dist/node/tsconfig.build.node.tsbuildinfo +1 -0
- package/package.json +38 -13
- package/types/index.d.ts +19 -0
- package/dist/base.d.ts +0 -894
- package/dist/base.d.ts.map +0 -1
- package/dist/custom-migrator.d.ts +0 -75
- package/dist/custom-migrator.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -164
- package/dist/migration-service.d.ts +0 -12
- package/dist/migration-service.d.ts.map +0 -1
- package/dist/pg/adapter.d.ts +0 -76
- package/dist/pg/adapter.d.ts.map +0 -1
- package/dist/pg/manager.d.ts +0 -18
- package/dist/pg/manager.d.ts.map +0 -1
- package/dist/pglite/adapter.d.ts +0 -75
- package/dist/pglite/adapter.d.ts.map +0 -1
- package/dist/pglite/manager.d.ts +0 -22
- package/dist/pglite/manager.d.ts.map +0 -1
- package/dist/schema/agent.d.ts +0 -328
- package/dist/schema/agent.d.ts.map +0 -1
- package/dist/schema/cache.d.ts +0 -98
- package/dist/schema/cache.d.ts.map +0 -1
- package/dist/schema/channel.d.ts +0 -178
- package/dist/schema/channel.d.ts.map +0 -1
- package/dist/schema/channelParticipant.d.ts +0 -42
- package/dist/schema/channelParticipant.d.ts.map +0 -1
- package/dist/schema/component.d.ts +0 -164
- package/dist/schema/component.d.ts.map +0 -1
- package/dist/schema/embedding.d.ts +0 -194
- package/dist/schema/embedding.d.ts.map +0 -1
- package/dist/schema/entity.d.ts +0 -123
- package/dist/schema/entity.d.ts.map +0 -1
- package/dist/schema/factory.d.ts +0 -60
- package/dist/schema/factory.d.ts.map +0 -1
- package/dist/schema/index.d.ts +0 -18
- package/dist/schema/index.d.ts.map +0 -1
- package/dist/schema/log.d.ts +0 -115
- package/dist/schema/log.d.ts.map +0 -1
- package/dist/schema/memory.d.ts +0 -189
- package/dist/schema/memory.d.ts.map +0 -1
- package/dist/schema/message.d.ts +0 -2
- package/dist/schema/message.d.ts.map +0 -1
- package/dist/schema/messageServer.d.ts +0 -127
- package/dist/schema/messageServer.d.ts.map +0 -1
- package/dist/schema/participant.d.ts +0 -115
- package/dist/schema/participant.d.ts.map +0 -1
- package/dist/schema/relationship.d.ts +0 -157
- package/dist/schema/relationship.d.ts.map +0 -1
- package/dist/schema/room.d.ts +0 -193
- package/dist/schema/room.d.ts.map +0 -1
- package/dist/schema/serverAgent.d.ts +0 -42
- package/dist/schema/serverAgent.d.ts.map +0 -1
- package/dist/schema/tasks.d.ts +0 -226
- package/dist/schema/tasks.d.ts.map +0 -1
- package/dist/schema/types.d.ts +0 -69
- package/dist/schema/types.d.ts.map +0 -1
- package/dist/schema/world.d.ts +0 -115
- package/dist/schema/world.d.ts.map +0 -1
- package/dist/types.d.ts +0 -16
- package/dist/types.d.ts.map +0 -1
- package/dist/utils.d.ts +0 -33
- package/dist/utils.d.ts.map +0 -1
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { type Plugin } from '@elizaos/core';
|
|
2
|
-
import type { DrizzleDatabase } from './types';
|
|
3
|
-
export declare class DatabaseMigrationService {
|
|
4
|
-
private db;
|
|
5
|
-
private registeredSchemas;
|
|
6
|
-
constructor();
|
|
7
|
-
initializeWithDatabase(db: DrizzleDatabase): Promise<void>;
|
|
8
|
-
discoverAndRegisterPluginSchemas(plugins: Plugin[]): void;
|
|
9
|
-
registerSchema(pluginName: string, schema: any): void;
|
|
10
|
-
runAllPluginMigrations(): Promise<void>;
|
|
11
|
-
}
|
|
12
|
-
//# sourceMappingURL=migration-service.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"migration-service.d.ts","sourceRoot":"","sources":["../src/migration-service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,KAAK,MAAM,EAAE,MAAM,eAAe,CAAC;AAEpD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE/C,qBAAa,wBAAwB;IACnC,OAAO,CAAC,EAAE,CAAgC;IAC1C,OAAO,CAAC,iBAAiB,CAA0B;;IAM7C,sBAAsB,CAAC,EAAE,EAAE,eAAe,GAAG,OAAO,CAAC,IAAI,CAAC;IAKhE,gCAAgC,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,IAAI;IAYzD,cAAc,CAAC,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,GAAG,IAAI;IAK/C,sBAAsB,IAAI,OAAO,CAAC,IAAI,CAAC;CAmB9C"}
|
package/dist/pg/adapter.d.ts
DELETED
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import { type UUID, Agent, Entity, Memory, Component } from '@elizaos/core';
|
|
2
|
-
import { BaseDrizzleAdapter } from '../base';
|
|
3
|
-
import { type EmbeddingDimensionColumn } from '../schema/embedding';
|
|
4
|
-
import type { PostgresConnectionManager } from './manager';
|
|
5
|
-
/**
|
|
6
|
-
* Adapter class for interacting with a PostgreSQL database.
|
|
7
|
-
* Extends BaseDrizzleAdapter.
|
|
8
|
-
*/
|
|
9
|
-
export declare class PgDatabaseAdapter extends BaseDrizzleAdapter {
|
|
10
|
-
protected embeddingDimension: EmbeddingDimensionColumn;
|
|
11
|
-
private manager;
|
|
12
|
-
constructor(agentId: UUID, manager: PostgresConnectionManager, _schema?: any);
|
|
13
|
-
getEntityByIds(entityIds: UUID[]): Promise<Entity[] | null>;
|
|
14
|
-
getMemoriesByServerId(_params: {
|
|
15
|
-
serverId: UUID;
|
|
16
|
-
count?: number;
|
|
17
|
-
}): Promise<Memory[]>;
|
|
18
|
-
ensureAgentExists(agent: Partial<Agent>): Promise<Agent>;
|
|
19
|
-
/**
|
|
20
|
-
* Runs database migrations. For PostgreSQL, migrations should be handled
|
|
21
|
-
* externally or during deployment, so this is a no-op.
|
|
22
|
-
* @returns {Promise<void>}
|
|
23
|
-
*/
|
|
24
|
-
runMigrations(): Promise<void>;
|
|
25
|
-
/**
|
|
26
|
-
* Executes the provided operation with a database connection.
|
|
27
|
-
*
|
|
28
|
-
* @template T
|
|
29
|
-
* @param {() => Promise<T>} operation - The operation to be executed with the database connection.
|
|
30
|
-
* @returns {Promise<T>} A promise that resolves with the result of the operation.
|
|
31
|
-
*/
|
|
32
|
-
protected withDatabase<T>(operation: () => Promise<T>): Promise<T>;
|
|
33
|
-
/**
|
|
34
|
-
* Asynchronously initializes the PgDatabaseAdapter by running migrations using the manager.
|
|
35
|
-
* Logs a success message if initialization is successful, otherwise logs an error message.
|
|
36
|
-
*
|
|
37
|
-
* @returns {Promise<void>} A promise that resolves when initialization is complete.
|
|
38
|
-
*/
|
|
39
|
-
init(): Promise<void>;
|
|
40
|
-
/**
|
|
41
|
-
* Checks if the database connection is ready and active.
|
|
42
|
-
* @returns {Promise<boolean>} A Promise that resolves to true if the connection is healthy.
|
|
43
|
-
*/
|
|
44
|
-
isReady(): Promise<boolean>;
|
|
45
|
-
/**
|
|
46
|
-
* Asynchronously closes the manager associated with this instance.
|
|
47
|
-
*
|
|
48
|
-
* @returns A Promise that resolves once the manager is closed.
|
|
49
|
-
*/
|
|
50
|
-
close(): Promise<void>;
|
|
51
|
-
/**
|
|
52
|
-
* Asynchronously retrieves the connection from the manager.
|
|
53
|
-
*
|
|
54
|
-
* @returns {Promise<Pool>} A Promise that resolves with the connection.
|
|
55
|
-
*/
|
|
56
|
-
getConnection(): Promise<import("pg").Pool>;
|
|
57
|
-
createAgent(agent: Agent): Promise<boolean>;
|
|
58
|
-
getAgent(agentId: UUID): Promise<Agent | null>;
|
|
59
|
-
updateAgent(agentId: UUID, agent: Partial<Agent>): Promise<boolean>;
|
|
60
|
-
deleteAgent(agentId: UUID): Promise<boolean>;
|
|
61
|
-
createEntities(entities: Entity[]): Promise<boolean>;
|
|
62
|
-
getEntitiesByIds(entityIds: UUID[]): Promise<Entity[]>;
|
|
63
|
-
updateEntity(entity: Entity): Promise<void>;
|
|
64
|
-
createMemory(memory: Memory, tableName: string): Promise<UUID>;
|
|
65
|
-
getMemoryById(memoryId: UUID): Promise<Memory | null>;
|
|
66
|
-
searchMemories(params: any): Promise<any[]>;
|
|
67
|
-
updateMemory(memory: Partial<Memory> & {
|
|
68
|
-
id: UUID;
|
|
69
|
-
}): Promise<boolean>;
|
|
70
|
-
deleteMemory(memoryId: UUID): Promise<void>;
|
|
71
|
-
createComponent(component: Component): Promise<boolean>;
|
|
72
|
-
getComponent(entityId: UUID, type: string, worldId?: UUID, sourceEntityId?: UUID): Promise<Component | null>;
|
|
73
|
-
updateComponent(component: Component): Promise<void>;
|
|
74
|
-
deleteComponent(componentId: UUID): Promise<void>;
|
|
75
|
-
}
|
|
76
|
-
//# sourceMappingURL=adapter.d.ts.map
|
package/dist/pg/adapter.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"adapter.d.ts","sourceRoot":"","sources":["../../src/pg/adapter.ts"],"names":[],"mappings":"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"}
|
package/dist/pg/manager.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { type NodePgDatabase } from 'drizzle-orm/node-postgres';
|
|
2
|
-
import { Pool, type PoolClient } from 'pg';
|
|
3
|
-
export declare class PostgresConnectionManager {
|
|
4
|
-
private pool;
|
|
5
|
-
private db;
|
|
6
|
-
constructor(connectionString: string);
|
|
7
|
-
getDatabase(): NodePgDatabase;
|
|
8
|
-
getConnection(): Pool;
|
|
9
|
-
getClient(): Promise<PoolClient>;
|
|
10
|
-
testConnection(): Promise<boolean>;
|
|
11
|
-
/**
|
|
12
|
-
* Closes the connection pool.
|
|
13
|
-
* @returns {Promise<void>}
|
|
14
|
-
* @memberof PostgresConnectionManager
|
|
15
|
-
*/
|
|
16
|
-
close(): Promise<void>;
|
|
17
|
-
}
|
|
18
|
-
//# sourceMappingURL=manager.d.ts.map
|
package/dist/pg/manager.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"manager.d.ts","sourceRoot":"","sources":["../../src/pg/manager.ts"],"names":[],"mappings":"AAAA,OAAO,EAAW,KAAK,cAAc,EAAE,MAAM,2BAA2B,CAAC;AACzE,OAAO,EAAE,IAAI,EAAE,KAAK,UAAU,EAAE,MAAM,IAAI,CAAC;AAG3C,qBAAa,yBAAyB;IACpC,OAAO,CAAC,IAAI,CAAO;IACnB,OAAO,CAAC,EAAE,CAAiB;gBAEf,gBAAgB,EAAE,MAAM;IAK7B,WAAW,IAAI,cAAc;IAI7B,aAAa,IAAI,IAAI;IAIf,SAAS,IAAI,OAAO,CAAC,UAAU,CAAC;IAIhC,cAAc,IAAI,OAAO,CAAC,OAAO,CAAC;IAkB/C;;;;OAIG;IACU,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;CAGpC"}
|
package/dist/pglite/adapter.d.ts
DELETED
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import { type UUID, type Agent, type Entity, type Memory } from '@elizaos/core';
|
|
2
|
-
import { BaseDrizzleAdapter } from '../base';
|
|
3
|
-
import { type EmbeddingDimensionColumn } from '../schema/embedding';
|
|
4
|
-
import type { PGliteClientManager } from './manager';
|
|
5
|
-
/**
|
|
6
|
-
* PgliteDatabaseAdapter class represents an adapter for interacting with a PgliteDatabase.
|
|
7
|
-
* Extends BaseDrizzleAdapter.
|
|
8
|
-
*
|
|
9
|
-
* @constructor
|
|
10
|
-
* @param {UUID} agentId - The ID of the agent.
|
|
11
|
-
* @param {PGliteClientManager} manager - The manager for the Pglite client.
|
|
12
|
-
*
|
|
13
|
-
* @method withDatabase
|
|
14
|
-
* @param {() => Promise<T>} operation - The operation to perform on the database.
|
|
15
|
-
* @return {Promise<T>} - The result of the operation.
|
|
16
|
-
*
|
|
17
|
-
* @method init
|
|
18
|
-
* @return {Promise<void>} - A Promise that resolves when the initialization is complete.
|
|
19
|
-
*
|
|
20
|
-
* @method close
|
|
21
|
-
* @return {void} - A Promise that resolves when the database is closed.
|
|
22
|
-
*/
|
|
23
|
-
export declare class PgliteDatabaseAdapter extends BaseDrizzleAdapter {
|
|
24
|
-
private manager;
|
|
25
|
-
protected embeddingDimension: EmbeddingDimensionColumn;
|
|
26
|
-
/**
|
|
27
|
-
* Constructor for creating an instance of a class.
|
|
28
|
-
* @param {UUID} agentId - The unique identifier for the agent.
|
|
29
|
-
* @param {PGliteClientManager} manager - The manager for the Pglite client.
|
|
30
|
-
*/
|
|
31
|
-
constructor(agentId: UUID, manager: PGliteClientManager);
|
|
32
|
-
getEntityByIds(entityIds: UUID[]): Promise<Entity[] | null>;
|
|
33
|
-
getMemoriesByServerId(_params: {
|
|
34
|
-
serverId: UUID;
|
|
35
|
-
count?: number;
|
|
36
|
-
}): Promise<Memory[]>;
|
|
37
|
-
ensureAgentExists(agent: Partial<Agent>): Promise<Agent>;
|
|
38
|
-
/**
|
|
39
|
-
* Runs database migrations. For PGLite, migrations are handled by the
|
|
40
|
-
* migration service, not the adapter itself.
|
|
41
|
-
* @returns {Promise<void>}
|
|
42
|
-
*/
|
|
43
|
-
runMigrations(): Promise<void>;
|
|
44
|
-
/**
|
|
45
|
-
* Asynchronously runs the provided database operation while checking if the database is currently shutting down.
|
|
46
|
-
* If the database is shutting down, a warning is logged and null is returned.
|
|
47
|
-
*
|
|
48
|
-
* @param {Function} operation - The database operation to be performed.
|
|
49
|
-
* @returns {Promise<T>} A promise that resolves with the result of the database operation.
|
|
50
|
-
*/
|
|
51
|
-
protected withDatabase<T>(operation: () => Promise<T>): Promise<T>;
|
|
52
|
-
/**
|
|
53
|
-
* Asynchronously initializes the database by running migrations.
|
|
54
|
-
*
|
|
55
|
-
* @returns {Promise<void>} A Promise that resolves when the database initialization is complete.
|
|
56
|
-
*/
|
|
57
|
-
init(): Promise<void>;
|
|
58
|
-
/**
|
|
59
|
-
* Checks if the database connection is ready and active.
|
|
60
|
-
* For PGLite, this checks if the client is not in a shutting down state.
|
|
61
|
-
* @returns {Promise<boolean>} A Promise that resolves to true if the connection is healthy.
|
|
62
|
-
*/
|
|
63
|
-
isReady(): Promise<boolean>;
|
|
64
|
-
/**
|
|
65
|
-
* Asynchronously closes the database.
|
|
66
|
-
*/
|
|
67
|
-
close(): Promise<void>;
|
|
68
|
-
/**
|
|
69
|
-
* Asynchronously retrieves the connection from the client.
|
|
70
|
-
*
|
|
71
|
-
* @returns {Promise<PGlite>} A Promise that resolves with the connection.
|
|
72
|
-
*/
|
|
73
|
-
getConnection(): Promise<import("@electric-sql/pglite").PGlite>;
|
|
74
|
-
}
|
|
75
|
-
//# sourceMappingURL=adapter.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"adapter.d.ts","sourceRoot":"","sources":["../../src/pglite/adapter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,IAAI,EAAU,KAAK,KAAK,EAAE,KAAK,MAAM,EAAE,KAAK,MAAM,EAAE,MAAM,eAAe,CAAC;AAExF,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAC7C,OAAO,EAAiB,KAAK,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AACnF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAErD;;;;;;;;;;;;;;;;;GAiBG;AACH,qBAAa,qBAAsB,SAAQ,kBAAkB;IAC3D,OAAO,CAAC,OAAO,CAAsB;IACrC,SAAS,CAAC,kBAAkB,EAAE,wBAAwB,CAAsB;IAE5E;;;;OAIG;gBACS,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,mBAAmB;IAOjD,cAAc,CAAC,SAAS,EAAE,IAAI,EAAE,GAAG,OAAO,CAAC,MAAM,EAAE,GAAG,IAAI,CAAC;IAK3D,qBAAqB,CAAC,OAAO,EAAE;QAAE,QAAQ,EAAE,IAAI,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC;IAOrF,iBAAiB,CAAC,KAAK,EAAE,OAAO,CAAC,KAAK,CAAC,GAAG,OAAO,CAAC,KAAK,CAAC;IAyB9D;;;;OAIG;IACG,aAAa,IAAI,OAAO,CAAC,IAAI,CAAC;IAKpC;;;;;;OAMG;cACa,YAAY,CAAC,CAAC,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC;IAQxE;;;;OAIG;IACG,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;IAI3B;;;;OAIG;IACG,OAAO,IAAI,OAAO,CAAC,OAAO,CAAC;IAIjC;;OAEG;IACG,KAAK;IAIX;;;;OAIG;IACG,aAAa;CAGpB"}
|
package/dist/pglite/manager.d.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { PGlite, type PGliteOptions } from '@electric-sql/pglite';
|
|
2
|
-
import type { IDatabaseClientManager } from '../types';
|
|
3
|
-
/**
|
|
4
|
-
* Class representing a database client manager for PGlite.
|
|
5
|
-
* @implements { IDatabaseClientManager }
|
|
6
|
-
*/
|
|
7
|
-
export declare class PGliteClientManager implements IDatabaseClientManager<PGlite> {
|
|
8
|
-
private client;
|
|
9
|
-
private shuttingDown;
|
|
10
|
-
/**
|
|
11
|
-
* Constructor for creating a new instance of PGlite with the provided options.
|
|
12
|
-
* Initializes the PGlite client with additional extensions.
|
|
13
|
-
* @param {PGliteOptions} options - The options to configure the PGlite client.
|
|
14
|
-
*/
|
|
15
|
-
constructor(options: PGliteOptions);
|
|
16
|
-
getConnection(): PGlite;
|
|
17
|
-
isShuttingDown(): boolean;
|
|
18
|
-
initialize(): Promise<void>;
|
|
19
|
-
close(): Promise<void>;
|
|
20
|
-
private setupShutdownHandlers;
|
|
21
|
-
}
|
|
22
|
-
//# sourceMappingURL=manager.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"manager.d.ts","sourceRoot":"","sources":["../../src/pglite/manager.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAGlE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAC;AAEvD;;;GAGG;AACH,qBAAa,mBAAoB,YAAW,sBAAsB,CAAC,MAAM,CAAC;IACxE,OAAO,CAAC,MAAM,CAAS;IACvB,OAAO,CAAC,YAAY,CAAS;IAE7B;;;;OAIG;gBACS,OAAO,EAAE,aAAa;IAW3B,aAAa,IAAI,MAAM;IAIvB,cAAc,IAAI,OAAO;IAInB,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC;IAI3B,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IAInC,OAAO,CAAC,qBAAqB;CAG9B"}
|
package/dist/schema/agent.d.ts
DELETED
|
@@ -1,328 +0,0 @@
|
|
|
1
|
-
import type { MessageExample } from '@elizaos/core';
|
|
2
|
-
/**
|
|
3
|
-
* Represents a table for storing agent data.
|
|
4
|
-
*
|
|
5
|
-
* @type {Table}
|
|
6
|
-
*/
|
|
7
|
-
export declare const agentTable: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
8
|
-
name: "agents";
|
|
9
|
-
schema: undefined;
|
|
10
|
-
columns: {
|
|
11
|
-
id: import("drizzle-orm/pg-core").PgColumn<{
|
|
12
|
-
name: "id";
|
|
13
|
-
tableName: "agents";
|
|
14
|
-
dataType: "string";
|
|
15
|
-
columnType: "PgUUID";
|
|
16
|
-
data: string;
|
|
17
|
-
driverParam: string;
|
|
18
|
-
notNull: true;
|
|
19
|
-
hasDefault: true;
|
|
20
|
-
isPrimaryKey: true;
|
|
21
|
-
isAutoincrement: false;
|
|
22
|
-
hasRuntimeDefault: false;
|
|
23
|
-
enumValues: undefined;
|
|
24
|
-
baseColumn: never;
|
|
25
|
-
identity: undefined;
|
|
26
|
-
generated: undefined;
|
|
27
|
-
}, {}, {}>;
|
|
28
|
-
enabled: import("drizzle-orm/pg-core").PgColumn<{
|
|
29
|
-
name: "enabled";
|
|
30
|
-
tableName: "agents";
|
|
31
|
-
dataType: "boolean";
|
|
32
|
-
columnType: "PgBoolean";
|
|
33
|
-
data: boolean;
|
|
34
|
-
driverParam: boolean;
|
|
35
|
-
notNull: true;
|
|
36
|
-
hasDefault: true;
|
|
37
|
-
isPrimaryKey: false;
|
|
38
|
-
isAutoincrement: false;
|
|
39
|
-
hasRuntimeDefault: false;
|
|
40
|
-
enumValues: undefined;
|
|
41
|
-
baseColumn: never;
|
|
42
|
-
identity: undefined;
|
|
43
|
-
generated: undefined;
|
|
44
|
-
}, {}, {}>;
|
|
45
|
-
createdAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
46
|
-
name: "created_at";
|
|
47
|
-
tableName: "agents";
|
|
48
|
-
dataType: "date";
|
|
49
|
-
columnType: "PgTimestamp";
|
|
50
|
-
data: Date;
|
|
51
|
-
driverParam: string;
|
|
52
|
-
notNull: true;
|
|
53
|
-
hasDefault: true;
|
|
54
|
-
isPrimaryKey: false;
|
|
55
|
-
isAutoincrement: false;
|
|
56
|
-
hasRuntimeDefault: false;
|
|
57
|
-
enumValues: undefined;
|
|
58
|
-
baseColumn: never;
|
|
59
|
-
identity: undefined;
|
|
60
|
-
generated: undefined;
|
|
61
|
-
}, {}, {}>;
|
|
62
|
-
updatedAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
63
|
-
name: "updated_at";
|
|
64
|
-
tableName: "agents";
|
|
65
|
-
dataType: "date";
|
|
66
|
-
columnType: "PgTimestamp";
|
|
67
|
-
data: Date;
|
|
68
|
-
driverParam: string;
|
|
69
|
-
notNull: true;
|
|
70
|
-
hasDefault: true;
|
|
71
|
-
isPrimaryKey: false;
|
|
72
|
-
isAutoincrement: false;
|
|
73
|
-
hasRuntimeDefault: false;
|
|
74
|
-
enumValues: undefined;
|
|
75
|
-
baseColumn: never;
|
|
76
|
-
identity: undefined;
|
|
77
|
-
generated: undefined;
|
|
78
|
-
}, {}, {}>;
|
|
79
|
-
name: import("drizzle-orm/pg-core").PgColumn<{
|
|
80
|
-
name: "name";
|
|
81
|
-
tableName: "agents";
|
|
82
|
-
dataType: "string";
|
|
83
|
-
columnType: "PgText";
|
|
84
|
-
data: string;
|
|
85
|
-
driverParam: string;
|
|
86
|
-
notNull: true;
|
|
87
|
-
hasDefault: false;
|
|
88
|
-
isPrimaryKey: false;
|
|
89
|
-
isAutoincrement: false;
|
|
90
|
-
hasRuntimeDefault: false;
|
|
91
|
-
enumValues: [string, ...string[]];
|
|
92
|
-
baseColumn: never;
|
|
93
|
-
identity: undefined;
|
|
94
|
-
generated: undefined;
|
|
95
|
-
}, {}, {}>;
|
|
96
|
-
username: import("drizzle-orm/pg-core").PgColumn<{
|
|
97
|
-
name: "username";
|
|
98
|
-
tableName: "agents";
|
|
99
|
-
dataType: "string";
|
|
100
|
-
columnType: "PgText";
|
|
101
|
-
data: string;
|
|
102
|
-
driverParam: string;
|
|
103
|
-
notNull: false;
|
|
104
|
-
hasDefault: false;
|
|
105
|
-
isPrimaryKey: false;
|
|
106
|
-
isAutoincrement: false;
|
|
107
|
-
hasRuntimeDefault: false;
|
|
108
|
-
enumValues: [string, ...string[]];
|
|
109
|
-
baseColumn: never;
|
|
110
|
-
identity: undefined;
|
|
111
|
-
generated: undefined;
|
|
112
|
-
}, {}, {}>;
|
|
113
|
-
system: import("drizzle-orm/pg-core").PgColumn<{
|
|
114
|
-
name: "system";
|
|
115
|
-
tableName: "agents";
|
|
116
|
-
dataType: "string";
|
|
117
|
-
columnType: "PgText";
|
|
118
|
-
data: string;
|
|
119
|
-
driverParam: string;
|
|
120
|
-
notNull: false;
|
|
121
|
-
hasDefault: true;
|
|
122
|
-
isPrimaryKey: false;
|
|
123
|
-
isAutoincrement: false;
|
|
124
|
-
hasRuntimeDefault: false;
|
|
125
|
-
enumValues: [string, ...string[]];
|
|
126
|
-
baseColumn: never;
|
|
127
|
-
identity: undefined;
|
|
128
|
-
generated: undefined;
|
|
129
|
-
}, {}, {}>;
|
|
130
|
-
bio: import("drizzle-orm/pg-core").PgColumn<{
|
|
131
|
-
name: "bio";
|
|
132
|
-
tableName: "agents";
|
|
133
|
-
dataType: "json";
|
|
134
|
-
columnType: "PgJsonb";
|
|
135
|
-
data: string | string[];
|
|
136
|
-
driverParam: unknown;
|
|
137
|
-
notNull: false;
|
|
138
|
-
hasDefault: true;
|
|
139
|
-
isPrimaryKey: false;
|
|
140
|
-
isAutoincrement: false;
|
|
141
|
-
hasRuntimeDefault: false;
|
|
142
|
-
enumValues: undefined;
|
|
143
|
-
baseColumn: never;
|
|
144
|
-
identity: undefined;
|
|
145
|
-
generated: undefined;
|
|
146
|
-
}, {}, {
|
|
147
|
-
$type: string | string[];
|
|
148
|
-
}>;
|
|
149
|
-
messageExamples: import("drizzle-orm/pg-core").PgColumn<{
|
|
150
|
-
name: "message_examples";
|
|
151
|
-
tableName: "agents";
|
|
152
|
-
dataType: "json";
|
|
153
|
-
columnType: "PgJsonb";
|
|
154
|
-
data: MessageExample[][];
|
|
155
|
-
driverParam: unknown;
|
|
156
|
-
notNull: true;
|
|
157
|
-
hasDefault: true;
|
|
158
|
-
isPrimaryKey: false;
|
|
159
|
-
isAutoincrement: false;
|
|
160
|
-
hasRuntimeDefault: false;
|
|
161
|
-
enumValues: undefined;
|
|
162
|
-
baseColumn: never;
|
|
163
|
-
identity: undefined;
|
|
164
|
-
generated: undefined;
|
|
165
|
-
}, {}, {
|
|
166
|
-
$type: MessageExample[][];
|
|
167
|
-
}>;
|
|
168
|
-
postExamples: import("drizzle-orm/pg-core").PgColumn<{
|
|
169
|
-
name: "post_examples";
|
|
170
|
-
tableName: "agents";
|
|
171
|
-
dataType: "json";
|
|
172
|
-
columnType: "PgJsonb";
|
|
173
|
-
data: string[];
|
|
174
|
-
driverParam: unknown;
|
|
175
|
-
notNull: true;
|
|
176
|
-
hasDefault: true;
|
|
177
|
-
isPrimaryKey: false;
|
|
178
|
-
isAutoincrement: false;
|
|
179
|
-
hasRuntimeDefault: false;
|
|
180
|
-
enumValues: undefined;
|
|
181
|
-
baseColumn: never;
|
|
182
|
-
identity: undefined;
|
|
183
|
-
generated: undefined;
|
|
184
|
-
}, {}, {
|
|
185
|
-
$type: string[];
|
|
186
|
-
}>;
|
|
187
|
-
topics: import("drizzle-orm/pg-core").PgColumn<{
|
|
188
|
-
name: "topics";
|
|
189
|
-
tableName: "agents";
|
|
190
|
-
dataType: "json";
|
|
191
|
-
columnType: "PgJsonb";
|
|
192
|
-
data: string[];
|
|
193
|
-
driverParam: unknown;
|
|
194
|
-
notNull: true;
|
|
195
|
-
hasDefault: true;
|
|
196
|
-
isPrimaryKey: false;
|
|
197
|
-
isAutoincrement: false;
|
|
198
|
-
hasRuntimeDefault: false;
|
|
199
|
-
enumValues: undefined;
|
|
200
|
-
baseColumn: never;
|
|
201
|
-
identity: undefined;
|
|
202
|
-
generated: undefined;
|
|
203
|
-
}, {}, {
|
|
204
|
-
$type: string[];
|
|
205
|
-
}>;
|
|
206
|
-
adjectives: import("drizzle-orm/pg-core").PgColumn<{
|
|
207
|
-
name: "adjectives";
|
|
208
|
-
tableName: "agents";
|
|
209
|
-
dataType: "json";
|
|
210
|
-
columnType: "PgJsonb";
|
|
211
|
-
data: string[];
|
|
212
|
-
driverParam: unknown;
|
|
213
|
-
notNull: true;
|
|
214
|
-
hasDefault: true;
|
|
215
|
-
isPrimaryKey: false;
|
|
216
|
-
isAutoincrement: false;
|
|
217
|
-
hasRuntimeDefault: false;
|
|
218
|
-
enumValues: undefined;
|
|
219
|
-
baseColumn: never;
|
|
220
|
-
identity: undefined;
|
|
221
|
-
generated: undefined;
|
|
222
|
-
}, {}, {
|
|
223
|
-
$type: string[];
|
|
224
|
-
}>;
|
|
225
|
-
knowledge: import("drizzle-orm/pg-core").PgColumn<{
|
|
226
|
-
name: "knowledge";
|
|
227
|
-
tableName: "agents";
|
|
228
|
-
dataType: "json";
|
|
229
|
-
columnType: "PgJsonb";
|
|
230
|
-
data: (string | {
|
|
231
|
-
path: string;
|
|
232
|
-
shared?: boolean;
|
|
233
|
-
})[];
|
|
234
|
-
driverParam: unknown;
|
|
235
|
-
notNull: true;
|
|
236
|
-
hasDefault: true;
|
|
237
|
-
isPrimaryKey: false;
|
|
238
|
-
isAutoincrement: false;
|
|
239
|
-
hasRuntimeDefault: false;
|
|
240
|
-
enumValues: undefined;
|
|
241
|
-
baseColumn: never;
|
|
242
|
-
identity: undefined;
|
|
243
|
-
generated: undefined;
|
|
244
|
-
}, {}, {
|
|
245
|
-
$type: (string | {
|
|
246
|
-
path: string;
|
|
247
|
-
shared?: boolean;
|
|
248
|
-
})[];
|
|
249
|
-
}>;
|
|
250
|
-
plugins: import("drizzle-orm/pg-core").PgColumn<{
|
|
251
|
-
name: "plugins";
|
|
252
|
-
tableName: "agents";
|
|
253
|
-
dataType: "json";
|
|
254
|
-
columnType: "PgJsonb";
|
|
255
|
-
data: string[];
|
|
256
|
-
driverParam: unknown;
|
|
257
|
-
notNull: true;
|
|
258
|
-
hasDefault: true;
|
|
259
|
-
isPrimaryKey: false;
|
|
260
|
-
isAutoincrement: false;
|
|
261
|
-
hasRuntimeDefault: false;
|
|
262
|
-
enumValues: undefined;
|
|
263
|
-
baseColumn: never;
|
|
264
|
-
identity: undefined;
|
|
265
|
-
generated: undefined;
|
|
266
|
-
}, {}, {
|
|
267
|
-
$type: string[];
|
|
268
|
-
}>;
|
|
269
|
-
settings: import("drizzle-orm/pg-core").PgColumn<{
|
|
270
|
-
name: "settings";
|
|
271
|
-
tableName: "agents";
|
|
272
|
-
dataType: "json";
|
|
273
|
-
columnType: "PgJsonb";
|
|
274
|
-
data: {
|
|
275
|
-
[key: string]: unknown;
|
|
276
|
-
secrets?: {
|
|
277
|
-
[key: string]: string | boolean | number;
|
|
278
|
-
};
|
|
279
|
-
};
|
|
280
|
-
driverParam: unknown;
|
|
281
|
-
notNull: true;
|
|
282
|
-
hasDefault: true;
|
|
283
|
-
isPrimaryKey: false;
|
|
284
|
-
isAutoincrement: false;
|
|
285
|
-
hasRuntimeDefault: false;
|
|
286
|
-
enumValues: undefined;
|
|
287
|
-
baseColumn: never;
|
|
288
|
-
identity: undefined;
|
|
289
|
-
generated: undefined;
|
|
290
|
-
}, {}, {
|
|
291
|
-
$type: {
|
|
292
|
-
[key: string]: unknown;
|
|
293
|
-
secrets?: {
|
|
294
|
-
[key: string]: string | boolean | number;
|
|
295
|
-
};
|
|
296
|
-
};
|
|
297
|
-
}>;
|
|
298
|
-
style: import("drizzle-orm/pg-core").PgColumn<{
|
|
299
|
-
name: "style";
|
|
300
|
-
tableName: "agents";
|
|
301
|
-
dataType: "json";
|
|
302
|
-
columnType: "PgJsonb";
|
|
303
|
-
data: {
|
|
304
|
-
all?: string[];
|
|
305
|
-
chat?: string[];
|
|
306
|
-
post?: string[];
|
|
307
|
-
};
|
|
308
|
-
driverParam: unknown;
|
|
309
|
-
notNull: true;
|
|
310
|
-
hasDefault: true;
|
|
311
|
-
isPrimaryKey: false;
|
|
312
|
-
isAutoincrement: false;
|
|
313
|
-
hasRuntimeDefault: false;
|
|
314
|
-
enumValues: undefined;
|
|
315
|
-
baseColumn: never;
|
|
316
|
-
identity: undefined;
|
|
317
|
-
generated: undefined;
|
|
318
|
-
}, {}, {
|
|
319
|
-
$type: {
|
|
320
|
-
all?: string[];
|
|
321
|
-
chat?: string[];
|
|
322
|
-
post?: string[];
|
|
323
|
-
};
|
|
324
|
-
}>;
|
|
325
|
-
};
|
|
326
|
-
dialect: "pg";
|
|
327
|
-
}>;
|
|
328
|
-
//# sourceMappingURL=agent.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"agent.d.ts","sourceRoot":"","sources":["../../src/schema/agent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAIpD;;;;GAIG;AACH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAqCQ,MAAM;yBAAW,OAAO;;;;;;;;;;;;;;sBAAxB,MAAM;yBAAW,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0BASrC;oBAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,CAAA;iBAAE;;;;;;;;;;;;;;;0BAA5C;oBAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,CAAA;iBAAE;;;;;;;;;sBAOhD,MAAM,EAAE;uBACP,MAAM,EAAE;uBACR,MAAM,EAAE;;;;;;;;;;;;;;sBAFT,MAAM,EAAE;uBACP,MAAM,EAAE;uBACR,MAAM,EAAE;;;;;EAUtB,CAAC"}
|
package/dist/schema/cache.d.ts
DELETED
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Represents a PostgreSQL table for caching data.
|
|
3
|
-
*
|
|
4
|
-
* @type {pgTable}
|
|
5
|
-
*/
|
|
6
|
-
export declare const cacheTable: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
7
|
-
name: "cache";
|
|
8
|
-
schema: undefined;
|
|
9
|
-
columns: {
|
|
10
|
-
key: import("drizzle-orm/pg-core").PgColumn<{
|
|
11
|
-
name: "key";
|
|
12
|
-
tableName: "cache";
|
|
13
|
-
dataType: "string";
|
|
14
|
-
columnType: "PgText";
|
|
15
|
-
data: string;
|
|
16
|
-
driverParam: string;
|
|
17
|
-
notNull: true;
|
|
18
|
-
hasDefault: false;
|
|
19
|
-
isPrimaryKey: false;
|
|
20
|
-
isAutoincrement: false;
|
|
21
|
-
hasRuntimeDefault: false;
|
|
22
|
-
enumValues: [string, ...string[]];
|
|
23
|
-
baseColumn: never;
|
|
24
|
-
identity: undefined;
|
|
25
|
-
generated: undefined;
|
|
26
|
-
}, {}, {}>;
|
|
27
|
-
agentId: import("drizzle-orm/pg-core").PgColumn<{
|
|
28
|
-
name: "agent_id";
|
|
29
|
-
tableName: "cache";
|
|
30
|
-
dataType: "string";
|
|
31
|
-
columnType: "PgUUID";
|
|
32
|
-
data: string;
|
|
33
|
-
driverParam: string;
|
|
34
|
-
notNull: true;
|
|
35
|
-
hasDefault: false;
|
|
36
|
-
isPrimaryKey: false;
|
|
37
|
-
isAutoincrement: false;
|
|
38
|
-
hasRuntimeDefault: false;
|
|
39
|
-
enumValues: undefined;
|
|
40
|
-
baseColumn: never;
|
|
41
|
-
identity: undefined;
|
|
42
|
-
generated: undefined;
|
|
43
|
-
}, {}, {}>;
|
|
44
|
-
value: import("drizzle-orm/pg-core").PgColumn<{
|
|
45
|
-
name: "value";
|
|
46
|
-
tableName: "cache";
|
|
47
|
-
dataType: "json";
|
|
48
|
-
columnType: "PgJsonb";
|
|
49
|
-
data: unknown;
|
|
50
|
-
driverParam: unknown;
|
|
51
|
-
notNull: true;
|
|
52
|
-
hasDefault: false;
|
|
53
|
-
isPrimaryKey: false;
|
|
54
|
-
isAutoincrement: false;
|
|
55
|
-
hasRuntimeDefault: false;
|
|
56
|
-
enumValues: undefined;
|
|
57
|
-
baseColumn: never;
|
|
58
|
-
identity: undefined;
|
|
59
|
-
generated: undefined;
|
|
60
|
-
}, {}, {}>;
|
|
61
|
-
createdAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
62
|
-
name: "created_at";
|
|
63
|
-
tableName: "cache";
|
|
64
|
-
dataType: "date";
|
|
65
|
-
columnType: "PgTimestamp";
|
|
66
|
-
data: Date;
|
|
67
|
-
driverParam: string;
|
|
68
|
-
notNull: true;
|
|
69
|
-
hasDefault: true;
|
|
70
|
-
isPrimaryKey: false;
|
|
71
|
-
isAutoincrement: false;
|
|
72
|
-
hasRuntimeDefault: false;
|
|
73
|
-
enumValues: undefined;
|
|
74
|
-
baseColumn: never;
|
|
75
|
-
identity: undefined;
|
|
76
|
-
generated: undefined;
|
|
77
|
-
}, {}, {}>;
|
|
78
|
-
expiresAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
79
|
-
name: "expires_at";
|
|
80
|
-
tableName: "cache";
|
|
81
|
-
dataType: "date";
|
|
82
|
-
columnType: "PgTimestamp";
|
|
83
|
-
data: Date;
|
|
84
|
-
driverParam: string;
|
|
85
|
-
notNull: false;
|
|
86
|
-
hasDefault: false;
|
|
87
|
-
isPrimaryKey: false;
|
|
88
|
-
isAutoincrement: false;
|
|
89
|
-
hasRuntimeDefault: false;
|
|
90
|
-
enumValues: undefined;
|
|
91
|
-
baseColumn: never;
|
|
92
|
-
identity: undefined;
|
|
93
|
-
generated: undefined;
|
|
94
|
-
}, {}, {}>;
|
|
95
|
-
};
|
|
96
|
-
dialect: "pg";
|
|
97
|
-
}>;
|
|
98
|
-
//# sourceMappingURL=cache.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cache.d.ts","sourceRoot":"","sources":["../../src/schema/cache.ts"],"names":[],"mappings":"AAIA;;;;GAIG;AACH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgBtB,CAAC"}
|