@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/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.8",
4
+ "version": "0.9.2",
5
5
  "type": "module",
6
6
  "browser": {
7
7
  "./dist/backend-launcher.js": false,
@@ -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.8';
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.8.8",
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": ["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.8",
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. Discovery advertises /oauth/authorize, /oauth/token, and active DCR at https://docsmint.com/oauth/register. Metadata supports the code response type, authorization_code grant only, no token-endpoint client authentication, and PKCE S256; CIMD is not part of the contract. Access tokens last one hour, have no refresh token, and are bound by browser consent 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 at https://docsmint.com/mcp/connect?source=mcp_registry. 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 OAuth server.",
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
  },