@hiai-gg/docsmint 0.8.7 → 0.9.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/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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hiai-gg/docsmint",
3
3
  "mcpName": "io.github.HiAi-gg/docsmint",
4
- "version": "0.8.7",
4
+ "version": "0.9.0",
5
5
  "type": "module",
6
6
  "browser": {
7
7
  "./dist/backend-launcher.js": false,
@@ -15,7 +15,7 @@
15
15
  "./dist/backend-account-runtime-cleanup.js": false
16
16
  },
17
17
  "license": "Apache-2.0",
18
- "description": "Managed or self-hosted knowledge workspace for AI agents with hybrid search, reranking, GraphRAG, and scoped document tools.",
18
+ "description": "DocsMint SDK and CLI plus a self-hosted MCP stdio bridge that uses your API key. For DocsMint Cloud MCP, connect to https://docsmint.com/mcp.",
19
19
  "repository": {
20
20
  "type": "git",
21
21
  "url": "https://github.com/HiAi-gg/docsmint"
@@ -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.8.7';
28
+ const VERSION = '0.9.0';
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.8.7",
13
+ "version": "0.9.0",
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": ["256x256"],
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": ["256x256"],
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.8.7",
37
+ "version": "0.9.0",
34
38
  "runtimeHint": "npx",
35
39
  "transport": {
36
40
  "type": "stdio"
@@ -44,12 +48,12 @@
44
48
  "environmentVariables": [
45
49
  {
46
50
  "name": "HIAI_DOCS_URL",
47
- "description": "Base URL of your running self-hosted DocsMint API. For managed Cloud use https://docsmint.com/mcp.",
51
+ "description": "Base URL of your running self-hosted DocsMint REST API, for example http://localhost:50700. For Cloud MCP, use the Streamable HTTP remote below.",
48
52
  "default": "http://localhost:50700"
49
53
  },
50
54
  {
51
55
  "name": "HIAI_DOCS_API_KEY",
52
- "description": "Create an API key in your self-hosted DocsMint browser UI. Prefer workspace-bound or category-scoped credentials.",
56
+ "description": "Create an API key in your self-hosted DocsMint browser UI. The stdio bridge uses it only with your own API; it does not install the Cloud OAuth server. Prefer workspace-bound or category-scoped credentials.",
53
57
  "isRequired": true,
54
58
  "isSecret": true
55
59
  }
@@ -63,7 +67,7 @@
63
67
  "headers": [
64
68
  {
65
69
  "name": "Authorization",
66
- "description": "DocsMint Cloud: no self-hosting required. OAuth-capable clients use browser authorization discovered at the hosted endpoint. API-key clients: sign up or log in at https://docsmint.com/mcp/connect?source=mcp_registry and create a workspace-bound or category-scoped MCP/API credential in the authenticated browser UI. Enter Bearer <key>. Credential management requires a browser session; MCP cannot create or elevate credentials. Self-hosted users should use the stdio package.",
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
  },
@@ -83,7 +87,7 @@
83
87
  "licenseFile": "https://github.com/HiAi-gg/docsmint/blob/main/LICENSE",
84
88
  "documentationUrl": "https://docsmint.com/mcp/connect?source=mcp_registry",
85
89
  "catalog": {
86
- "tools": 17,
90
+ "tools": 21,
87
91
  "prompts": 2,
88
92
  "resources": 3
89
93
  }