@osdlc/corpus-query 0.0.1-stage → 0.1.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/CHANGELOG.md +7 -0
- package/dist/version.generated.d.ts +1 -1
- package/dist/version.generated.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# @osdlc/corpus-query
|
|
2
|
+
|
|
3
|
+
## 0.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 94d8b23: First release. Query one corpus-schema corpus through four surfaces that share one core: a TypeScript API (`findRecords`, `countFacets`, `readRecord`, `getReferences`, `getBacklinks`, `traverse`, `describeCorpus`, `listTypes`, `describeType`, and `corpusQuery` to bind them to a corpus), the `corpus-query` command, a read-only REST server (`serveRest`, and `createRestHandler` as a fetch-style handler) and an MCP server (`createMcpServer`, `serveMcpStdio`, `createMcpHandler`). A query is plain JSON: type, corpus, filters, full-text search, sort, limit, offset and field projection. Filters also have a short string form, such as `status=done kind~claim confidence>=0.7`. Queries span referenced corpora, and an unknown type or field is an error that lists what exists. The core reads the data `loadCorpus` of `@osdlc/corpus-schema` returns and loads no `node:` module. Every export is experimental.
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** This package's version, from its package.json when it was built. */
|
|
2
|
-
export declare const VERSION = "0.0
|
|
2
|
+
export declare const VERSION = "0.1.0";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@osdlc/corpus-query",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"description": "Query one corpus-schema corpus: describe its types, find records by filter and full-text search, read a record with its references and backlinks, walk references and count field values. One core behind a TypeScript API, a corpus-query command, a REST server and an MCP server.",
|
|
5
5
|
"license": "MIT OR Apache-2.0",
|
|
6
6
|
"author": "sksizer",
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"@modelcontextprotocol/sdk": "^1.32.2",
|
|
70
70
|
"zod": "^4.6.6",
|
|
71
71
|
"@osdlc/cli-tool": "^0.18.2",
|
|
72
|
-
"@osdlc/corpus-schema": "^0.
|
|
72
|
+
"@osdlc/corpus-schema": "^0.5.0"
|
|
73
73
|
},
|
|
74
74
|
"devDependencies": {
|
|
75
75
|
"@types/node": "^26.1.0",
|