graphile-llm 1.19.0 → 1.20.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
|
|
16
|
+
import { 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:
|
|
34
|
+
export declare function getAgentDiscovery(pool: Pool, databaseId: string): Promise<AgentDiscovery | null>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "graphile-llm",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.20.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",
|
|
@@ -29,10 +29,10 @@
|
|
|
29
29
|
"url": "https://github.com/constructive-io/constructive/issues"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@agentic-kit/ollama": "2.
|
|
33
|
-
"@constructive-io/express-context": "^0.
|
|
34
|
-
"@constructive-io/llm-env": "^0.
|
|
35
|
-
"graphile-cache": "^4.
|
|
32
|
+
"@agentic-kit/ollama": "2.16.0",
|
|
33
|
+
"@constructive-io/express-context": "^0.35.0",
|
|
34
|
+
"@constructive-io/llm-env": "^0.16.0",
|
|
35
|
+
"graphile-cache": "^4.16.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.
|
|
60
|
-
"graphile-search": "^2.
|
|
61
|
-
"graphile-test": "^5.
|
|
59
|
+
"graphile-connection-filter": "^2.18.0",
|
|
60
|
+
"graphile-search": "^2.18.0",
|
|
61
|
+
"graphile-test": "^5.18.0",
|
|
62
62
|
"makage": "^0.8.0",
|
|
63
|
-
"pgsql-test": "^5.
|
|
63
|
+
"pgsql-test": "^5.18.0"
|
|
64
64
|
},
|
|
65
65
|
"keywords": [
|
|
66
66
|
"postgraphile",
|
|
@@ -75,5 +75,5 @@
|
|
|
75
75
|
"ollama",
|
|
76
76
|
"openai"
|
|
77
77
|
],
|
|
78
|
-
"gitHead": "
|
|
78
|
+
"gitHead": "487c4ec9ee997d7da80584a3d41d7120d4354c54"
|
|
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
|
|
16
|
+
import { 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:
|
|
34
|
+
export declare function getAgentDiscovery(pool: Pool, databaseId: string): Promise<AgentDiscovery | null>;
|