@agentuity/postgres 3.0.0-alpha.7 → 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/postgres
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
  Resilient PostgreSQL client with automatic reconnection for Agentuity projects.
4
8
 
5
9
  ## Features
package/dist/index.d.ts CHANGED
@@ -1,8 +1,13 @@
1
1
  /**
2
- * @agentuity/postgres - Resilient PostgreSQL client with automatic reconnection
2
+ * @agentuity/postgres - DEPRECATED
3
3
  *
4
- * This package provides a PostgreSQL client that wraps Bun's native SQL driver
5
- * and adds automatic reconnection with exponential backoff.
4
+ * Use drizzle-orm and @neondatabase/serverless directly with your DATABASE_URL.
5
+ * This package is no longer recommended for new projects.
6
+ *
7
+ * ~~Resilient PostgreSQL client with automatic reconnection~~
8
+ *
9
+ * This package provided a PostgreSQL client that wrapped Bun's native SQL driver
10
+ * and added automatic reconnection with exponential backoff.
6
11
  *
7
12
  * @example
8
13
  * ```typescript
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AAGH,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAGlD,OAAO,EACN,cAAc,EACd,oBAAoB,EACpB,cAAc,EACd,KAAK,sBAAsB,GAC3B,MAAM,aAAa,CAAC;AAGrB,OAAO,EAAE,YAAY,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAG3D,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAG9E,OAAO,EAAE,WAAW,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cAAc,EACd,eAAe,EACf,eAAe,EACf,SAAS,EACT,kBAAkB,EAClB,cAAc,EACd,UAAU,EACV,SAAS,EACT,aAAa,GACb,MAAM,YAAY,CAAC;AAGpB,OAAO,EACN,aAAa,EACb,qBAAqB,EACrB,oBAAoB,EACpB,iBAAiB,EACjB,gBAAgB,EAChB,yBAAyB,EACzB,gBAAgB,GAChB,MAAM,aAAa,CAAC;AAGrB,OAAO,EACN,cAAc,EACd,KAAK,EACL,oBAAoB,EACpB,wBAAwB,GACxB,MAAM,gBAAgB,CAAC;AAGxB,OAAO,EACN,WAAW,EACX,cAAc,EACd,UAAU,EACV,gBAAgB,EAChB,KAAK,WAAW,GAChB,MAAM,eAAe,CAAC"}
package/dist/index.js CHANGED
@@ -1,8 +1,13 @@
1
1
  /**
2
- * @agentuity/postgres - Resilient PostgreSQL client with automatic reconnection
2
+ * @agentuity/postgres - DEPRECATED
3
3
  *
4
- * This package provides a PostgreSQL client that wraps Bun's native SQL driver
5
- * and adds automatic reconnection with exponential backoff.
4
+ * Use drizzle-orm and @neondatabase/serverless directly with your DATABASE_URL.
5
+ * This package is no longer recommended for new projects.
6
+ *
7
+ * ~~Resilient PostgreSQL client with automatic reconnection~~
8
+ *
9
+ * This package provided a PostgreSQL client that wrapped Bun's native SQL driver
10
+ * and added automatic reconnection with exponential backoff.
6
11
  *
7
12
  * @example
8
13
  * ```typescript
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,QAAQ,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAElD,kCAAkC;AAClC,OAAO,EACN,cAAc,EACd,oBAAoB,EACpB,cAAc,GAEd,MAAM,aAAa,CAAC;AAErB,2CAA2C;AAC3C,OAAO,EAAE,YAAY,EAAE,IAAI,EAAE,UAAU,EA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EzD,gBAAgB;AAChB,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEzC,6BAA6B;AAC7B,OAAO,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAepD,SAAS;AACT,OAAO,EACN,aAAa,EACb,qBAAqB,EACrB,oBAAoB,EACpB,iBAAiB,EACjB,gBAAgB,EAChB,yBAAyB,EACzB,gBAAgB,GAChB,MAAM,aAAa,CAAC;AAErB,yBAAyB;AACzB,OAAO,EACN,cAAc,EACd,KAAK,EACL,oBAAoB,EACpB,wBAAwB,GACxB,MAAM,gBAAgB,CAAC;AAExB,2CAA2C;AAC3C,OAAO,EACN,WAAW,EACX,cAAc,EACd,UAAU,EACV,gBAAgB,GAEhB,MAAM,eAAe,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "@agentuity/postgres",
3
- "version": "3.0.0-alpha.7",
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",
@@ -31,11 +32,11 @@
31
32
  "prepublishOnly": "bun run clean && bun run build"
32
33
  },
33
34
  "dependencies": {
34
- "@agentuity/core": "3.0.0-alpha.7",
35
+ "@agentuity/core": "3.0.0-beta.0",
35
36
  "pg": "^8.13.1"
36
37
  },
37
38
  "devDependencies": {
38
- "@agentuity/test-utils": "3.0.0-alpha.7",
39
+ "@agentuity/test-utils": "3.0.0-beta.0",
39
40
  "@types/bun": "latest",
40
41
  "@types/pg": "^8.11.14",
41
42
  "bun-types": "latest",
@@ -48,7 +49,7 @@
48
49
  "sideEffects": false,
49
50
  "repository": {
50
51
  "type": "git",
51
- "url": "https://github.com/agentuity/sdk.git",
52
+ "url": "git+https://github.com/agentuity/sdk.git",
52
53
  "directory": "packages/postgres"
53
54
  }
54
55
  }
package/src/index.ts CHANGED
@@ -1,8 +1,13 @@
1
1
  /**
2
- * @agentuity/postgres - Resilient PostgreSQL client with automatic reconnection
2
+ * @agentuity/postgres - DEPRECATED
3
3
  *
4
- * This package provides a PostgreSQL client that wraps Bun's native SQL driver
5
- * and adds automatic reconnection with exponential backoff.
4
+ * Use drizzle-orm and @neondatabase/serverless directly with your DATABASE_URL.
5
+ * This package is no longer recommended for new projects.
6
+ *
7
+ * ~~Resilient PostgreSQL client with automatic reconnection~~
8
+ *
9
+ * This package provided a PostgreSQL client that wrapped Bun's native SQL driver
10
+ * and added automatic reconnection with exponential backoff.
6
11
  *
7
12
  * @example
8
13
  * ```typescript