@dudousxd/nestjs-agent-store-drizzle 0.25.0 → 0.26.0
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/README.md +38 -29
- package/dist/index.cjs +2 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/package.json +7 -6
package/dist/index.d.cts
CHANGED
|
@@ -5770,8 +5770,8 @@ declare function agentSchemaDdl(dialect: AgentDialect): string[];
|
|
|
5770
5770
|
|
|
5771
5771
|
/**
|
|
5772
5772
|
* {@link AgentStore} backed by Drizzle ORM — a second adapter alongside the MikroORM one, proving
|
|
5773
|
-
* the store SPI is ORM-portable. A POJO receiving a Drizzle
|
|
5774
|
-
* owns the connection). Behaviour mirrors {@link import('@dudousxd/nestjs-agent-store-mikro-orm')}
|
|
5773
|
+
* the store SPI is ORM-portable. A POJO receiving a Drizzle database handle — SQLite, Postgres or
|
|
5774
|
+
* MySQL (the host app owns the connection). Behaviour mirrors {@link import('@dudousxd/nestjs-agent-store-mikro-orm')}
|
|
5775
5775
|
* exactly (fork/truncate/quota/active-stream/soft-delete semantics) so the two are interchangeable.
|
|
5776
5776
|
*/
|
|
5777
5777
|
declare class DrizzleAgentStore implements AgentStore, ThreadTurnReader, ChatQueueStore, ActionProposalStore, ActionProposalWorkerStore, ActionProposalDiscoveryIndexStore, ActionProposalOutcomeStore {
|
package/dist/index.d.ts
CHANGED
|
@@ -5770,8 +5770,8 @@ declare function agentSchemaDdl(dialect: AgentDialect): string[];
|
|
|
5770
5770
|
|
|
5771
5771
|
/**
|
|
5772
5772
|
* {@link AgentStore} backed by Drizzle ORM — a second adapter alongside the MikroORM one, proving
|
|
5773
|
-
* the store SPI is ORM-portable. A POJO receiving a Drizzle
|
|
5774
|
-
* owns the connection). Behaviour mirrors {@link import('@dudousxd/nestjs-agent-store-mikro-orm')}
|
|
5773
|
+
* the store SPI is ORM-portable. A POJO receiving a Drizzle database handle — SQLite, Postgres or
|
|
5774
|
+
* MySQL (the host app owns the connection). Behaviour mirrors {@link import('@dudousxd/nestjs-agent-store-mikro-orm')}
|
|
5775
5775
|
* exactly (fork/truncate/quota/active-stream/soft-delete semantics) so the two are interchangeable.
|
|
5776
5776
|
*/
|
|
5777
5777
|
declare class DrizzleAgentStore implements AgentStore, ThreadTurnReader, ChatQueueStore, ActionProposalStore, ActionProposalWorkerStore, ActionProposalDiscoveryIndexStore, ActionProposalOutcomeStore {
|
package/dist/index.js
CHANGED
|
@@ -1149,6 +1149,8 @@ function actionProposalTransactionMode(kind) {
|
|
|
1149
1149
|
if (kind !== void 0 && [
|
|
1150
1150
|
"NodePgDatabase",
|
|
1151
1151
|
"NodePgTransaction",
|
|
1152
|
+
"PostgresJsDatabase",
|
|
1153
|
+
"PostgresJsTransaction",
|
|
1152
1154
|
"MySql2Database",
|
|
1153
1155
|
"MySql2Transaction",
|
|
1154
1156
|
"LibSQLDatabase",
|