graphjin 3.19.0 → 3.19.1
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 +4 -8
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -271,7 +271,7 @@ graphjin mcp add claude http://localhost:8080
|
|
|
271
271
|
|
|
272
272
|
1. **Connects to database** - Reads your schema automatically
|
|
273
273
|
2. **Discovers relationships** - Foreign keys become navigable joins
|
|
274
|
-
3. **Exposes metadata** - `gj_*` tables make discovered databases, tables, columns, relationships, functions, and indexes queryable when
|
|
274
|
+
3. **Exposes metadata** - Built-in `gj_*` tables make discovered databases, tables, columns, relationships, functions, and indexes queryable when their feature capabilities are enabled
|
|
275
275
|
4. **Indexes source code** - CodeSQL turns tree-sitter syntax trees and database references into a managed SQLite database
|
|
276
276
|
5. **Exposes MCP tools** - Teach any LLM the query syntax
|
|
277
277
|
6. **Runs JS workflows** - Chain multiple GraphJin MCP tools in one reusable workflow
|
|
@@ -286,20 +286,16 @@ CodeSQL is a managed source kind for source trees. Configure a source folder and
|
|
|
286
286
|
```yaml
|
|
287
287
|
sources:
|
|
288
288
|
- name: app
|
|
289
|
-
kind:
|
|
289
|
+
kind: database
|
|
290
290
|
type: postgres
|
|
291
291
|
connection_string: postgres://app:secret@db/app
|
|
292
292
|
default: true
|
|
293
293
|
|
|
294
294
|
- name: code
|
|
295
|
-
kind:
|
|
295
|
+
kind: code
|
|
296
296
|
path: /srv/app
|
|
297
297
|
infer_db_refs: true
|
|
298
298
|
|
|
299
|
-
- name: graphjin
|
|
300
|
-
kind: graphjin
|
|
301
|
-
metadata: true
|
|
302
|
-
|
|
303
299
|
tables:
|
|
304
300
|
- name: users
|
|
305
301
|
source: app
|
|
@@ -324,7 +320,7 @@ query {
|
|
|
324
320
|
}
|
|
325
321
|
```
|
|
326
322
|
|
|
327
|
-
|
|
323
|
+
GraphJin's built-in catalog creates `gj_catalog` according to the deployment-mode defaults; no source entry is required. Schema, catalog, entrypoint, capability, workflow, and system metadata are catalog items; table and column metadata are selected by `kind`. When one CodeSQL source is active, GraphJin links catalog items to code references automatically:
|
|
328
324
|
|
|
329
325
|
```graphql
|
|
330
326
|
query {
|