graphile-llm 1.18.8 → 1.19.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.
@@ -13,7 +13,7 @@
13
13
  * not fail — it resolves a neighbouring tenant's agent tables, and the cache
14
14
  * then serves that for its whole TTL.
15
15
  */
16
- import { Pool } from 'pg';
16
+ import type { Pool } from 'pg';
17
17
  export interface AgentTableInfo {
18
18
  /** The PostgreSQL schema name (e.g. 'agent_public') */
19
19
  schemaName: string;
@@ -31,4 +31,4 @@ export declare function clearAgentDiscoveryCache(): void;
31
31
  * Look up agent table info for a database, querying the module config table.
32
32
  * Results are cached per database id with a 60s TTL.
33
33
  */
34
- export declare function getAgentDiscovery(pool: Pool, databaseId: string): Promise<AgentDiscovery | null>;
34
+ export declare function getAgentDiscovery(pool: Pick<Pool, 'query'>, databaseId: string): Promise<AgentDiscovery | null>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphile-llm",
3
- "version": "1.18.8",
3
+ "version": "1.19.0",
4
4
  "description": "LLM integration plugin for PostGraphile v5 — server-side text-to-vector embedding and text companion fields for pgvector columns",
5
5
  "author": "Constructive <developers@constructive.io>",
6
6
  "homepage": "https://github.com/constructive-io/constructive",
@@ -30,9 +30,9 @@
30
30
  },
31
31
  "dependencies": {
32
32
  "@agentic-kit/ollama": "2.15.0",
33
- "@constructive-io/express-context": "^0.33.7",
33
+ "@constructive-io/express-context": "^0.34.0",
34
34
  "@constructive-io/llm-env": "^0.15.0",
35
- "graphile-cache": "^4.14.7"
35
+ "graphile-cache": "^4.15.0"
36
36
  },
37
37
  "peerDependencies": {
38
38
  "@dataplan/pg": "^1.1.1",
@@ -56,11 +56,11 @@
56
56
  },
57
57
  "devDependencies": {
58
58
  "@types/node": "^22.19.11",
59
- "graphile-connection-filter": "^2.17.8",
60
- "graphile-search": "^2.17.8",
61
- "graphile-test": "^5.17.8",
59
+ "graphile-connection-filter": "^2.17.10",
60
+ "graphile-search": "^2.17.10",
61
+ "graphile-test": "^5.17.10",
62
62
  "makage": "^0.8.0",
63
- "pgsql-test": "^5.17.5"
63
+ "pgsql-test": "^5.17.6"
64
64
  },
65
65
  "keywords": [
66
66
  "postgraphile",
@@ -75,5 +75,5 @@
75
75
  "ollama",
76
76
  "openai"
77
77
  ],
78
- "gitHead": "1f3501d518e175803a1a3372cf9249922d82bfe5"
78
+ "gitHead": "2f506a4a4062b4bd92979c02249e0fee14af4043"
79
79
  }
@@ -13,7 +13,7 @@
13
13
  * not fail — it resolves a neighbouring tenant's agent tables, and the cache
14
14
  * then serves that for its whole TTL.
15
15
  */
16
- import { Pool } from 'pg';
16
+ import type { Pool } from 'pg';
17
17
  export interface AgentTableInfo {
18
18
  /** The PostgreSQL schema name (e.g. 'agent_public') */
19
19
  schemaName: string;
@@ -31,4 +31,4 @@ export declare function clearAgentDiscoveryCache(): void;
31
31
  * Look up agent table info for a database, querying the module config table.
32
32
  * Results are cached per database id with a 60s TTL.
33
33
  */
34
- export declare function getAgentDiscovery(pool: Pool, databaseId: string): Promise<AgentDiscovery | null>;
34
+ export declare function getAgentDiscovery(pool: Pick<Pool, 'query'>, databaseId: string): Promise<AgentDiscovery | null>;