@agentuity/drizzle 3.0.0-alpha.6 → 3.0.0-beta.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 CHANGED
@@ -1,5 +1,9 @@
1
1
  # @agentuity/drizzle
2
2
 
3
+ > **⚠️ DEPRECATED** — Use `drizzle-orm` and `@neondatabase/serverless` directly with your `DATABASE_URL`.
4
+ >
5
+ > This package is no longer recommended for new projects.
6
+
3
7
  Drizzle ORM integration with resilient PostgreSQL connections for Agentuity projects.
4
8
 
5
9
  ## Installation
package/dist/index.d.ts CHANGED
@@ -1,7 +1,12 @@
1
1
  /**
2
- * @agentuity/drizzle - Drizzle ORM integration with resilient PostgreSQL connections
2
+ * @agentuity/drizzle - DEPRECATED
3
3
  *
4
- * This package provides a seamless integration between Drizzle ORM and
4
+ * Use drizzle-orm and @neondatabase/serverless directly with your DATABASE_URL.
5
+ * This package is no longer recommended for new projects.
6
+ *
7
+ * ~~Drizzle ORM integration with resilient PostgreSQL connections~~
8
+ *
9
+ * This package provided a seamless integration between Drizzle ORM and
5
10
  * @agentuity/postgres, combining type-safe database queries with automatic
6
11
  * reconnection capabilities.
7
12
  *
@@ -36,5 +41,4 @@ export { postgres, PostgresClient, type CallablePostgresClient, type PostgresCon
36
41
  export { sql, eq, and, or, not, desc, asc, gt, gte, lt, lte, ne, isNull, isNotNull, inArray, notInArray, between, like, ilike, relations, } from 'drizzle-orm';
37
42
  export type { BunSQLDatabase, BunSQLPreparedQuery, BunSQLSession, BunSQLTransaction, } from 'drizzle-orm/bun-sql';
38
43
  export { pgTable, pgSchema, pgEnum, pgView, bigint, bigserial, boolean, vector, char, cidr, customType, date, doublePrecision, inet, integer, interval, json, jsonb, macaddr, macaddr8, numeric, real, serial, smallint, smallserial, text, time, timestamp, uuid, varchar, primaryKey, foreignKey, unique, uniqueIndex, index, check, } from 'drizzle-orm/pg-core';
39
- export { drizzleAdapter } from 'better-auth/adapters/drizzle';
40
44
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AAGH,OAAO,EAAE,qBAAqB,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAG/D,YAAY,EAAE,qBAAqB,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAG5F,OAAO,EACN,QAAQ,EACR,cAAc,EACd,KAAK,sBAAsB,EAC3B,KAAK,cAAc,EACnB,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,SAAS,EACd,KAAK,kBAAkB,EACvB,KAAK,cAAc,GACnB,MAAM,qBAAqB,CAAC;AAG7B,OAAO,EACN,GAAG,EACH,EAAE,EACF,GAAG,EACH,EAAE,EACF,GAAG,EACH,IAAI,EACJ,GAAG,EACH,EAAE,EACF,GAAG,EACH,EAAE,EACF,GAAG,EACH,EAAE,EACF,MAAM,EACN,SAAS,EACT,OAAO,EACP,UAAU,EACV,OAAO,EACP,IAAI,EACJ,KAAK,EACL,SAAS,GACT,MAAM,aAAa,CAAC;AAGrB,YAAY,EACX,cAAc,EACd,mBAAmB,EACnB,aAAa,EACb,iBAAiB,GACjB,MAAM,qBAAqB,CAAC;AAG7B,OAAO,EACN,OAAO,EACP,QAAQ,EACR,MAAM,EACN,MAAM,EAEN,MAAM,EACN,SAAS,EACT,OAAO,EACP,MAAM,EACN,IAAI,EACJ,IAAI,EACJ,UAAU,EACV,IAAI,EACJ,eAAe,EACf,IAAI,EACJ,OAAO,EACP,QAAQ,EACR,IAAI,EACJ,KAAK,EACL,OAAO,EACP,QAAQ,EACR,OAAO,EACP,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,WAAW,EACX,IAAI,EACJ,IAAI,EACJ,SAAS,EACT,IAAI,EACJ,OAAO,EAEP,UAAU,EACV,UAAU,EACV,MAAM,EACN,WAAW,EAC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,IAAI,EACJ,OAAO,EAEP,UAAU,EACV,UAAU,EACV,MAAM,EACN,WAAW,EACX,KAAK,EACL,KAAK,GACL,MAAM,qBAAqB,CAAC"}
package/dist/index.js CHANGED
@@ -1,7 +1,12 @@
1
1
  /**
2
- * @agentuity/drizzle - Drizzle ORM integration with resilient PostgreSQL connections
2
+ * @agentuity/drizzle - DEPRECATED
3
3
  *
4
- * This package provides a seamless integration between Drizzle ORM and
4
+ * Use drizzle-orm and @neondatabase/serverless directly with your DATABASE_URL.
5
+ * This package is no longer recommended for new projects.
6
+ *
7
+ * ~~Drizzle ORM integration with resilient PostgreSQL connections~~
8
+ *
9
+ * This package provided a seamless integration between Drizzle ORM and
5
10
  * @agentuity/postgres, combining type-safe database queries with automatic
6
11
  * reconnection capabilities.
7
12
  *
@@ -42,6 +47,4 @@ export { pgTable, pgSchema, pgEnum, pgView,
42
47
  bigint, bigserial, boolean, vector, char, cidr, customType, date, doublePrecision, inet, integer, interval, json, jsonb, macaddr, macaddr8, numeric, real, serial, smallint, smallserial, text, time, timestamp, uuid, varchar,
43
48
  // Constraints and indexes
44
49
  primaryKey, foreignKey, unique, uniqueIndex, index, check, } from 'drizzle-orm/pg-core';
45
- // Re-export better-auth drizzle adapter for use with @agentuity/auth
46
- export { drizzleAdapter } from 'better-auth/adapters/drizzle';
47
50
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AAEH,wBAAwB;AACxB,OAAO,EAAE,qBAAqB,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAK/D,qDAAqD;AACrD,OAAO,EACN,QAAQ,EACR,cAAc,GAQd,MAAM,qBAAqB,CAAC;AAE7B,qDAAqD;AACrD,OAAO,EACN,GAAG,EACH,EAAE,EACF,GAAG,EACH,EAAE,EACF,GAAG,EACH,IAAI,EACJ,GAAG,EACH,EAAE,EACF,GAAG,EACH,EAAE,EACF,GAAG,EACH,EAAE,EACF,MAAM,EACN,SAAS,EACT,OAAO,EACP,UAAU,EACV,OAAO,EACP,IAAI,EACJ,KAAK,EACL,SAAS,GACT,MAAM,aAAa,CAAC;AAUrB,iDAAiD;AACjD,OAAO,EACN,OAAO,EACP,QAAQ,EACR,MAAM,EACN,MAAM;AACN,eAAe;AACf,MAAM,EACN,SAAS,EACT,OAAO,EACP,MAAM,EACN,IAAI,EACJ,IAAI,EACJ,UAAU,EACV,IAAI,EACJ,eAAe,EACf,IAAI,EACJ,OAAO,EACP,QAAQ,EACR,IAAI,EACJ,KAAK,EACL,OAAO,EACP,QAAQ,EACR,OAAO,EACP,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,WAAW,EACX,IAAI,EACJ,IAAI,EACJ,SAAS,EACT,IAAI,EACJ,OAAO;AACP,0BAA0B;AAC1B,UAAU,EACV,UAAU,EACV,MAAM,EACN,WAAW,EACX,KAAK,EACL,KAAK,GACL,MAAM,qBAAqB,CAAC;AAE7B,qEAAqE;AACrE,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AAEH,wBAAwB;AACxB,OAAO,EAAE,qBAAqB,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAK/D,qDAAqD;AACrD,OAAO,EACN,QAAQ,EACR,cAAc,GAQd,MAAM,qBAAqB,CAAC;AAE7B,qDAAqD;AACrD,OAAO,EACN,GAAG,EACH,EAAE,EACF,GAAG,EACH,EAAE,EACF,GAAG,EACH,IAAI,EACJ,GAAG,EACH,EAAE,EACF,GAAG,EACH,EAAE,EACF,GAAG,EACH,EAAE,EACF,MAAM,EACN,SAAS,EACT,OAAO,EACP,UAAU,EACV,OAAO,EACP,IAAI,EACJ,KAAK,EACL,SAAS,GACT,MAAM,aAAa,CAAC;AAUrB,iDAAiD;AACjD,OAAO,EACN,OAAO,EACP,QAAQ,EACR,MAAM,EACN,MAAM;AACN,eAAe;AACf,MAAM,EACN,SAAS,EACT,OAAO,EACP,MAAM,EACN,IAAI,EACJ,IAAI,EACJ,UAAU,EACV,IAAI,EACJ,eAAe,EACf,IAAI,EACJ,OAAO,EACP,QAAQ,EACR,IAAI,EACJ,KAAK,EACL,OAAO,EACP,QAAQ,EACR,OAAO,EACP,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,WAAW,EACX,IAAI,EACJ,IAAI,EACJ,SAAS,EACT,IAAI,EACJ,OAAO;AACP,0BAA0B;AAC1B,UAAU,EACV,UAAU,EACV,MAAM,EACN,WAAW,EACX,KAAK,EACL,KAAK,GACL,MAAM,qBAAqB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "@agentuity/drizzle",
3
- "version": "3.0.0-alpha.6",
3
+ "deprecated": "Use drizzle-orm and @neondatabase/serverless directly with your DATABASE_URL.",
4
+ "version": "3.0.0-beta.0",
4
5
  "license": "Apache-2.0",
5
6
  "author": "Agentuity employees and contributors",
6
7
  "type": "module",
@@ -41,13 +42,12 @@
41
42
  "prepublishOnly": "bun run clean && bun run build"
42
43
  },
43
44
  "dependencies": {
44
- "@agentuity/core": "3.0.0-alpha.6",
45
- "@agentuity/postgres": "3.0.0-alpha.6",
46
- "drizzle-orm": "^0.45.0",
47
- "better-auth": "1.5.2"
45
+ "@agentuity/core": "3.0.0-beta.0",
46
+ "@agentuity/postgres": "3.0.0-beta.0",
47
+ "drizzle-orm": "^0.45.0"
48
48
  },
49
49
  "devDependencies": {
50
- "@agentuity/test-utils": "3.0.0-alpha.6",
50
+ "@agentuity/test-utils": "3.0.0-beta.0",
51
51
  "@types/bun": "latest",
52
52
  "bun-types": "latest",
53
53
  "typescript": "^5.9.0"
@@ -58,7 +58,7 @@
58
58
  "sideEffects": false,
59
59
  "repository": {
60
60
  "type": "git",
61
- "url": "https://github.com/agentuity/sdk.git",
61
+ "url": "git+https://github.com/agentuity/sdk.git",
62
62
  "directory": "packages/drizzle"
63
63
  }
64
64
  }
package/src/index.ts CHANGED
@@ -1,7 +1,12 @@
1
1
  /**
2
- * @agentuity/drizzle - Drizzle ORM integration with resilient PostgreSQL connections
2
+ * @agentuity/drizzle - DEPRECATED
3
3
  *
4
- * This package provides a seamless integration between Drizzle ORM and
4
+ * Use drizzle-orm and @neondatabase/serverless directly with your DATABASE_URL.
5
+ * This package is no longer recommended for new projects.
6
+ *
7
+ * ~~Drizzle ORM integration with resilient PostgreSQL connections~~
8
+ *
9
+ * This package provided a seamless integration between Drizzle ORM and
5
10
  * @agentuity/postgres, combining type-safe database queries with automatic
6
11
  * reconnection capabilities.
7
12
  *
@@ -123,6 +128,3 @@ export {
123
128
  index,
124
129
  check,
125
130
  } from 'drizzle-orm/pg-core';
126
-
127
- // Re-export better-auth drizzle adapter for use with @agentuity/auth
128
- export { drizzleAdapter } from 'better-auth/adapters/drizzle';