@hiai-gg/docsmint 2.0.2 → 2.0.3
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 +2 -2
- package/dist/backend/index.js +1 -1
- package/dist/mcp-cli.js +12 -2
- package/dist/mcp-server.js +12 -2
- package/package.json +1 -1
- package/packages/cli/src/index.ts +1 -1
- package/server.json +2 -2
package/README.md
CHANGED
|
@@ -83,7 +83,7 @@ is a separate listing.
|
|
|
83
83
|
- **Choose how you run it.** Use [managed DocsMint](https://docsmint.com) or
|
|
84
84
|
self-host the application, database, search, queues, and files.
|
|
85
85
|
|
|
86
|
-
## What's new in 2.0.
|
|
86
|
+
## What's new in 2.0.3?
|
|
87
87
|
|
|
88
88
|
Hosted MCP integrations can discover granted workspaces, including empty spaces, with
|
|
89
89
|
`list_workspace_structure(kind="workspaces")` and select one with the optional
|
|
@@ -93,7 +93,7 @@ results and independent pagination. Existing single-scope calls remain compatibl
|
|
|
93
93
|
|
|
94
94
|
The OSS frontend adopts SvelteKit 3; dependency updates resolve the current security
|
|
95
95
|
audit findings. No database migration is required. See the
|
|
96
|
-
[2.0.
|
|
96
|
+
[2.0.3 release notes](docs/release/v2.0.3-notes.md).
|
|
97
97
|
|
|
98
98
|
## Previous release: 1.0.3
|
|
99
99
|
|
package/dist/backend/index.js
CHANGED
|
@@ -239821,7 +239821,7 @@ var swaggerConfig = {
|
|
|
239821
239821
|
},
|
|
239822
239822
|
info: {
|
|
239823
239823
|
title: "DocsMint API",
|
|
239824
|
-
version: "2.0.
|
|
239824
|
+
version: "2.0.3",
|
|
239825
239825
|
description: "Self-hosted AI-native knowledge workspace and installable PWA with hybrid search, GraphRAG, REST, SDK, CLI, and MCP access for people and AI agents.",
|
|
239826
239826
|
contact: { name: "HiAi-gg", url: "https://github.com/HiAi-gg/docsmint" },
|
|
239827
239827
|
license: {
|
package/dist/mcp-cli.js
CHANGED
|
@@ -1043,7 +1043,17 @@ function withClientRoutingSchema(schema) {
|
|
|
1043
1043
|
...standard.jsonSchema,
|
|
1044
1044
|
input: (options) => (() => {
|
|
1045
1045
|
const published = hoistObjectUnionClosure(standard.jsonSchema.input(options));
|
|
1046
|
-
|
|
1046
|
+
const routingProperty = z2.toJSONSchema(selector);
|
|
1047
|
+
return {
|
|
1048
|
+
...published,
|
|
1049
|
+
properties: { ...published.properties, workspaceId: routingProperty },
|
|
1050
|
+
...Array.isArray(published.oneOf) ? {
|
|
1051
|
+
oneOf: published.oneOf.map((branch) => ({
|
|
1052
|
+
...branch,
|
|
1053
|
+
properties: { ...branch.properties, workspaceId: routingProperty }
|
|
1054
|
+
}))
|
|
1055
|
+
} : {}
|
|
1056
|
+
};
|
|
1047
1057
|
})()
|
|
1048
1058
|
}
|
|
1049
1059
|
}
|
|
@@ -1398,7 +1408,7 @@ function registerDocsmintMcpCapabilities(server, client2, workspaceRouting) {
|
|
|
1398
1408
|
registerPromptsAndResources(server, client2);
|
|
1399
1409
|
}
|
|
1400
1410
|
function createDocsmintMcpServer(options = {}) {
|
|
1401
|
-
const server = new McpServer({ name: "docsmint", version: "2.0.
|
|
1411
|
+
const server = new McpServer({ name: "docsmint", version: "2.0.3" });
|
|
1402
1412
|
const client2 = options.docsClient ? createMcpDocsClient(options.docsClient, options.requestContext) : options.client ?? createMcpDocsClient(createDefaultDocsClient(), options.requestContext);
|
|
1403
1413
|
registerDocsmintMcpCapabilities(server, client2, options.workspaceRouting);
|
|
1404
1414
|
return server;
|
package/dist/mcp-server.js
CHANGED
|
@@ -1041,7 +1041,17 @@ function withClientRoutingSchema(schema) {
|
|
|
1041
1041
|
...standard.jsonSchema,
|
|
1042
1042
|
input: (options) => (() => {
|
|
1043
1043
|
const published = hoistObjectUnionClosure(standard.jsonSchema.input(options));
|
|
1044
|
-
|
|
1044
|
+
const routingProperty = z2.toJSONSchema(selector);
|
|
1045
|
+
return {
|
|
1046
|
+
...published,
|
|
1047
|
+
properties: { ...published.properties, workspaceId: routingProperty },
|
|
1048
|
+
...Array.isArray(published.oneOf) ? {
|
|
1049
|
+
oneOf: published.oneOf.map((branch) => ({
|
|
1050
|
+
...branch,
|
|
1051
|
+
properties: { ...branch.properties, workspaceId: routingProperty }
|
|
1052
|
+
}))
|
|
1053
|
+
} : {}
|
|
1054
|
+
};
|
|
1045
1055
|
})()
|
|
1046
1056
|
}
|
|
1047
1057
|
}
|
|
@@ -1430,7 +1440,7 @@ function registerDocsmintMcpCapabilities(server, client2, workspaceRouting) {
|
|
|
1430
1440
|
registerPromptsAndResources(server, client2);
|
|
1431
1441
|
}
|
|
1432
1442
|
function createDocsmintMcpServer(options = {}) {
|
|
1433
|
-
const server = new McpServer({ name: "docsmint", version: "2.0.
|
|
1443
|
+
const server = new McpServer({ name: "docsmint", version: "2.0.3" });
|
|
1434
1444
|
const client2 = options.docsClient ? createMcpDocsClient(options.docsClient, options.requestContext) : options.client ?? createMcpDocsClient(createDefaultDocsClient(), options.requestContext);
|
|
1435
1445
|
registerDocsmintMcpCapabilities(server, client2, options.workspaceRouting);
|
|
1436
1446
|
return server;
|
package/package.json
CHANGED
|
@@ -25,7 +25,7 @@ import { registerSearch } from './commands/search.js';
|
|
|
25
25
|
import { registerSnapshot } from './commands/snapshot.js';
|
|
26
26
|
import { registerUpdate } from './commands/update.js';
|
|
27
27
|
|
|
28
|
-
const VERSION = '2.0.
|
|
28
|
+
const VERSION = '2.0.3';
|
|
29
29
|
|
|
30
30
|
const program = new Command();
|
|
31
31
|
program.name('docsmint').description('CLI for the DocsMint knowledge workspace').version(VERSION);
|
package/server.json
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"id": "1249550690",
|
|
11
11
|
"subfolder": "packages/mcp-server"
|
|
12
12
|
},
|
|
13
|
-
"version": "2.0.
|
|
13
|
+
"version": "2.0.3",
|
|
14
14
|
"icons": [
|
|
15
15
|
{
|
|
16
16
|
"src": "https://raw.githubusercontent.com/HiAi-gg/docsmint/main/frontend/static/logo-dark.png",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"registryType": "npm",
|
|
35
35
|
"registryBaseUrl": "https://registry.npmjs.org",
|
|
36
36
|
"identifier": "@hiai-gg/docsmint",
|
|
37
|
-
"version": "2.0.
|
|
37
|
+
"version": "2.0.3",
|
|
38
38
|
"runtimeHint": "npx",
|
|
39
39
|
"transport": {
|
|
40
40
|
"type": "stdio"
|