@hiai-gg/docsmint 0.8.8 → 0.9.2
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 +16 -20
- package/dist/backend/index.js +155 -120
- package/dist/client.d.ts +2 -2
- package/dist/mcp-cli.js +421 -114
- package/dist/mcp-server.d.ts +12 -4
- package/dist/mcp-server.js +453 -114
- package/dist/types.d.ts +5 -0
- package/package.json +1 -1
- package/packages/cli/src/index.ts +1 -1
- package/server.json +9 -5
package/dist/types.d.ts
CHANGED
|
@@ -114,6 +114,11 @@ export interface DocsCategory {
|
|
|
114
114
|
documentCount?: number;
|
|
115
115
|
folderCount?: number;
|
|
116
116
|
}
|
|
117
|
+
/**
|
|
118
|
+
* Category records returned by GET /api/categories. API-key principals receive
|
|
119
|
+
* the public category fields without the workspace API-access configuration.
|
|
120
|
+
*/
|
|
121
|
+
export type DocsCategoryListItem = DocsCategory | Omit<DocsCategory, "apiMode" | "apiPermissionRead" | "apiPermissionEdit" | "apiPermissionWrite">;
|
|
117
122
|
export interface DocsCategoryInput {
|
|
118
123
|
name: string;
|
|
119
124
|
apiMode?: DocsCategoryApiMode;
|
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 = '0.
|
|
28
|
+
const VERSION = '0.9.2';
|
|
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,18 +10,22 @@
|
|
|
10
10
|
"id": "1249550690",
|
|
11
11
|
"subfolder": "packages/mcp-server"
|
|
12
12
|
},
|
|
13
|
-
"version": "0.
|
|
13
|
+
"version": "0.9.2",
|
|
14
14
|
"icons": [
|
|
15
15
|
{
|
|
16
16
|
"src": "https://raw.githubusercontent.com/HiAi-gg/docsmint/main/frontend/static/logo-dark.png",
|
|
17
17
|
"mimeType": "image/png",
|
|
18
|
-
"sizes": [
|
|
18
|
+
"sizes": [
|
|
19
|
+
"256x256"
|
|
20
|
+
],
|
|
19
21
|
"theme": "light"
|
|
20
22
|
},
|
|
21
23
|
{
|
|
22
24
|
"src": "https://raw.githubusercontent.com/HiAi-gg/docsmint/main/frontend/static/logo.png",
|
|
23
25
|
"mimeType": "image/png",
|
|
24
|
-
"sizes": [
|
|
26
|
+
"sizes": [
|
|
27
|
+
"256x256"
|
|
28
|
+
],
|
|
25
29
|
"theme": "dark"
|
|
26
30
|
}
|
|
27
31
|
],
|
|
@@ -30,7 +34,7 @@
|
|
|
30
34
|
"registryType": "npm",
|
|
31
35
|
"registryBaseUrl": "https://registry.npmjs.org",
|
|
32
36
|
"identifier": "@hiai-gg/docsmint",
|
|
33
|
-
"version": "0.
|
|
37
|
+
"version": "0.9.2",
|
|
34
38
|
"runtimeHint": "npx",
|
|
35
39
|
"transport": {
|
|
36
40
|
"type": "stdio"
|
|
@@ -63,7 +67,7 @@
|
|
|
63
67
|
"headers": [
|
|
64
68
|
{
|
|
65
69
|
"name": "Authorization",
|
|
66
|
-
"description": "DocsMint Cloud remote at https://docsmint.com/mcp; no self-hosted server is required.
|
|
70
|
+
"description": "DocsMint Cloud remote at https://docsmint.com/mcp; no self-hosted server is required. Follow https://docsmint.com/mcp/connect?source=mcp_registry for the currently supported OAuth discovery and client-connection methods. Browser consent binds access tokens to a workspace, optional category, and requested scopes. API-key clients can use Authorization: Bearer <key> with a workspace-bound or category-scoped credential created in the authenticated browser UI. Credential management requires a browser session. For self-hosting, use the stdio package with your own API and API key; it does not install the Cloud authorization server.",
|
|
67
71
|
"isRequired": true,
|
|
68
72
|
"isSecret": true
|
|
69
73
|
},
|