@hiai-gg/docsmint 0.8.3 → 0.8.5

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 CHANGED
@@ -6,24 +6,14 @@ Write and organize notes, guides, and project documentation in one workspace.
6
6
  Find answers with search that understands related concepts, then give your
7
7
  agents access to the same documents through MCP, REST, the SDK, or CLI.
8
8
 
9
- **[Try managed DocsMint](https://docsmint.com)** to get started without
9
+ **[Connect DocsMint Cloud](https://docsmint.com/mcp/connect?source=github_mcp)** to get started without
10
10
  operating the stack, or **[self-host with Docker](#quickstart)** to run the
11
11
  Apache-2.0 application on your own infrastructure.
12
12
 
13
- [![Apache-2.0 License](https://img.shields.io/badge/License-Apache--2.0-green.svg)](LICENSE)
13
+ [![Apache-2.0 License](https://img.shields.io/badge/License-Apache--2.0-green.svg)](https://github.com/HiAi-gg/docsmint/blob/main/LICENSE)
14
14
  [![Release](https://img.shields.io/github/v/release/hiai-gg/docsmint?sort=semver)](https://github.com/hiai-gg/docsmint/releases)
15
15
  [![npm](https://img.shields.io/npm/v/@hiai-gg/docsmint?logo=npm)](https://www.npmjs.com/package/@hiai-gg/docsmint)
16
- [![Docker Pulls](https://img.shields.io/docker/pulls/vgalibov/docsmint?logo=docker)](https://hub.docker.com/r/vgalibov/docsmint)
17
- [![Stars](https://img.shields.io/github/stars/hiai-gg/docsmint)](https://github.com/hiai-gg/docsmint/stargazers)
18
16
  [![CI](https://github.com/hiai-gg/docsmint/actions/workflows/ci.yml/badge.svg)](https://github.com/hiai-gg/docsmint/actions/workflows/ci.yml)
19
- [![Bun](https://img.shields.io/badge/Runtime-Bun_1.4-black?logo=bun&logoColor=white)](https://bun.sh)
20
- [![TypeScript](https://img.shields.io/badge/TypeScript-6.x-3178C6?logo=typescript&logoColor=white)](https://www.typescriptlang.org)
21
- [![Svelte](https://img.shields.io/badge/Svelte-5.x-FF3E00?logo=svelte&logoColor=white)](https://svelte.dev)
22
- [![Elysia](https://img.shields.io/badge/Elysia-1.4-lightgrey?logo=elysia&logoColor=white)](https://elysiajs.com)
23
- [![Tailwind_CSS](https://img.shields.io/badge/Tailwind_CSS-v4-06B6D4?logo=tailwindcss&logoColor=white)](https://tailwindcss.com)
24
- [![Drizzle_ORM](https://img.shields.io/badge/Drizzle_ORM-0.45-C5F74F?logo=drizzle&logoColor=black)](https://orm.drizzle.team)
25
- [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](CONTRIBUTING.md)
26
- [![MCP Badge](https://lobehub.com/badge/mcp/hiai-gg-docsmint)](https://lobehub.com/mcp/hiai-gg-docsmint)
27
17
 
28
18
  [GitHub](https://github.com/HiAi-gg/docsmint) ·
29
19
  [Docker Hub](https://hub.docker.com/r/vgalibov/docsmint) ·
@@ -32,6 +22,32 @@ Apache-2.0 application on your own infrastructure.
32
22
 
33
23
  <img width="1920" height="974" alt="DocsMint installable document workspace" src="https://github.com/user-attachments/assets/94701d01-a361-4ca1-b16d-de2a0c64d684" />
34
24
 
25
+ ## Connect your AI agent
26
+
27
+ Connect DocsMint Cloud instantly or use your own self-hosted deployment. Search,
28
+ read, create, organize and update persistent knowledge through MCP with hybrid
29
+ retrieval, reranking and GraphRAG.
30
+
31
+ **Recommended: [DocsMint Cloud setup](https://docsmint.com/mcp/connect?source=github_mcp).**
32
+ No server installation is required. Sign up or log in, choose your workspace,
33
+ create an MCP/API credential in the authenticated browser UI, follow your client's
34
+ instructions, and verify the connection. Hosted MCP follows your plan and
35
+ workspace permissions. Prefer workspace-bound or category-scoped credentials.
36
+
37
+ The Cloud endpoint is `https://docsmint.com/mcp` (Streamable HTTP). OAuth-capable
38
+ clients discover authorization and open DocsMint login and consent in the browser.
39
+ Choose your workspace and explicit scopes; the authorization code uses PKCE S256.
40
+ Access tokens expire after one hour; reconnect through browser authorization when
41
+ they expire (no refresh tokens). API-key clients
42
+ send `Authorization: Bearer <key>`. Credentials cannot create or elevate other
43
+ credentials; lifecycle management belongs to the signed-in browser session.
44
+
45
+ **Self-hosted alternative:** run [DocsMint with Docker](#quickstart), create an API
46
+ key in its browser UI, and configure `HIAI_DOCS_URL` and `HIAI_DOCS_API_KEY` for
47
+ `npx --yes --package @hiai-gg/docsmint docsmint-mcp`. The npm package is a stdio
48
+ bridge to your running deployment, not a server installer. See the
49
+ [MCP guide](https://github.com/HiAi-gg/docsmint/blob/main/packages/mcp-server/README.md) for client configuration.
50
+
35
51
  ## Why DocsMint?
36
52
 
37
53
  - **Keep knowledge easy to edit.** Use a rich visual editor or Markdown;
@@ -47,29 +63,18 @@ Apache-2.0 application on your own infrastructure.
47
63
  - **Choose how you run it.** Use [managed DocsMint](https://docsmint.com) or
48
64
  self-host the application, database, search, queues, and files.
49
65
 
50
- ## What's new in 0.8.3?
51
-
52
- This maintenance release focuses on reliable saves and integrations:
66
+ ## What's new in 0.8.5?
53
67
 
54
- - Pending editor saves stay attached to the document being edited, even when
55
- you switch documents.
56
- - Navigation waits for pending content saves; overlapping saves are serialized
57
- so an older request cannot overwrite a newer edit.
58
- - SDK document creation retries reuse an idempotency key to prevent duplicates
59
- after a lost response.
60
- - Workspace-wide tag management requires full write access; read-only and
61
- category-scoped credentials can no longer mutate the entire tag collection.
62
- - Partial category API-setting updates preserve omitted permissions.
63
- - Public workspace share links retain their workspace context when loading
64
- folders and documents.
68
+ This release makes DocsMint easier to discover, install, and evaluate:
65
69
 
66
- No schema migration is added. Existing public request and response shapes
67
- remain supported; the tag authorization fix intentionally rejects operations
68
- that exceeded the caller's permissions.
70
+ - Clearer guides for choosing DocsMint Cloud or a self-hosted workspace.
71
+ - One public package, `@hiai-gg/docsmint`, for the SDK, CLI, and MCP bridge.
72
+ - A Docker image guide that distinguishes the API, web application, and Caddy proxy.
73
+ - Consistent release notes and package documentation, with links that also work on npm.
69
74
 
70
- Read the complete release history in the [changelog](CHANGELOG.md) or
71
- [GitHub Releases](https://github.com/HiAi-gg/docsmint/releases). See the
72
- [roadmap](docs/ROADMAP.md) for what comes next.
75
+ No database migration or public API change is required. Read the
76
+ [release notes](https://github.com/HiAi-gg/docsmint/releases/tag/v0.8.5),
77
+ [changelog](https://github.com/HiAi-gg/docsmint/blob/main/CHANGELOG.md), or [roadmap](https://github.com/HiAi-gg/docsmint/blob/main/docs/ROADMAP.md).
73
78
 
74
79
  ## Install with an AI agent
75
80
 
@@ -121,8 +126,9 @@ docker pull vgalibov/docsmint:web-latest
121
126
  docker pull vgalibov/docsmint:caddy-latest
122
127
  ```
123
128
 
124
- Use versioned tags `api-v0.8.3`, `web-v0.8.3`, and `caddy-v0.8.3` for
125
- reproducible deploys. The quickstart still builds the Compose stack from this repository so PostgreSQL,
129
+ Use versioned tags `api-v0.8.5`, `web-v0.8.5`, and `caddy-v0.8.5` for
130
+ reproducible deploys. Caddy is the supporting reverse proxy with rate limiting;
131
+ it is separate from the API and web application. The quickstart still builds the Compose stack from this repository so PostgreSQL,
126
132
  Redis, and SeaweedFS start together with the application.
127
133
 
128
134
  For OpenRouter, add one value to `.env` and run the script again:
@@ -170,7 +176,7 @@ The canonical local ports are:
170
176
  | SeaweedFS S3 gateway | `50702` |
171
177
  | SeaweedFS filer UI | `50703` |
172
178
 
173
- See [Deployment](docs/DEPLOYMENT.md) for domains, TLS, provider tuning,
179
+ See [Deployment](https://github.com/HiAi-gg/docsmint/blob/main/docs/DEPLOYMENT.md) for domains, TLS, provider tuning,
174
180
  backups, and production operation.
175
181
 
176
182
  Embedding provider URLs, models, and credentials are deployment configuration.
@@ -178,8 +184,9 @@ They are never stored in browser settings or local storage.
178
184
 
179
185
  ## Use DocsMint from the terminal
180
186
 
181
- The published package includes the CLI. It connects to an already running
182
- DocsMint server; installing it does not deploy the server.
187
+ One public package, **`@hiai-gg/docsmint`**, includes the TypeScript SDK,
188
+ `docsmint` CLI, and `docsmint-mcp` bridge. These clients connect to a running
189
+ DocsMint deployment; use the Docker quickstart to install the self-hosted server.
183
190
 
184
191
  ```bash
185
192
  bun add @hiai-gg/docsmint
@@ -198,7 +205,7 @@ bunx --package @hiai-gg/docsmint docsmint create \
198
205
  ```
199
206
 
200
207
  Credentials can also be supplied through `HIAI_DOCS_URL` and
201
- `HIAI_DOCS_API_KEY`. See the [CLI guide](packages/cli/README.md) for every
208
+ `HIAI_DOCS_API_KEY`. See the [CLI guide](https://github.com/HiAi-gg/docsmint/blob/main/packages/cli/README.md) for every
202
209
  command and configuration precedence.
203
210
 
204
211
  ## Connect an MCP client
@@ -227,7 +234,7 @@ Run the published stdio bridge against your own DocsMint API:
227
234
  "mcpServers": {
228
235
  "docsmint": {
229
236
  "command": "npx",
230
- "args": ["-y", "@hiai-gg/docsmint", "docsmint-mcp"],
237
+ "args": ["--yes", "--package", "@hiai-gg/docsmint", "docsmint-mcp"],
231
238
  "env": {
232
239
  "HIAI_DOCS_URL": "http://localhost:50700",
233
240
  "HIAI_DOCS_API_KEY": "your-global-or-category-key"
@@ -239,7 +246,7 @@ Run the published stdio bridge against your own DocsMint API:
239
246
 
240
247
  Category keys let you expose only the documents and operations an agent needs.
241
248
  Use a global key only for trusted owner-wide automation. See the
242
- [complete MCP reference](packages/mcp-server/README.md) for Bun, npm, local
249
+ [complete MCP reference](https://github.com/HiAi-gg/docsmint/blob/main/packages/mcp-server/README.md) for Bun, npm, local
243
250
  checkout, all tools, prompts, resources, permissions, and REST mappings.
244
251
 
245
252
  ## TypeScript SDK
@@ -267,7 +274,7 @@ console.log(created.id, results.items);
267
274
 
268
275
  The SDK is a typed `fetch` client with retries for transient failures and
269
276
  idempotent document creation retries. See the
270
- [SDK reference](packages/sdk/README.md) and [REST API](docs/API.md).
277
+ [SDK reference](https://github.com/HiAi-gg/docsmint/blob/main/packages/sdk/README.md) and [REST API](https://github.com/HiAi-gg/docsmint/blob/main/docs/API.md).
271
278
 
272
279
  ## API keys and integrations
273
280
 
@@ -337,8 +344,8 @@ extracts entities after embeddings are ready and finds related documents beyond
337
344
  direct keyword or vector similarity. It degrades gracefully when an external
338
345
  model is unavailable.
339
346
 
340
- For pipeline internals and tuning, see [Architecture](docs/ARCHITECTURE.md) and
341
- [Deployment](docs/DEPLOYMENT.md).
347
+ For pipeline internals and tuning, see [Architecture](https://github.com/HiAi-gg/docsmint/blob/main/docs/ARCHITECTURE.md) and
348
+ [Deployment](https://github.com/HiAi-gg/docsmint/blob/main/docs/DEPLOYMENT.md).
342
349
 
343
350
  ## Stack
344
351
 
@@ -352,16 +359,16 @@ For pipeline internals and tuning, see [Architecture](docs/ARCHITECTURE.md) and
352
359
 
353
360
  ## Documentation
354
361
 
355
- - [Documentation index](docs/README.md)
356
- - [Product usage](docs/USAGE.md)
357
- - [Roadmap](docs/ROADMAP.md)
358
- - [REST API](docs/API.md) and [OpenAPI JSON](docs/openapi.json)
359
- - [Architecture](docs/ARCHITECTURE.md)
360
- - [Deployment and operations](docs/DEPLOYMENT.md)
361
- - [Extension points](docs/EXTENDING.md)
362
- - [Maintainer release flow](docs/RELEASING.md)
363
- - [Security policy](SECURITY.md)
364
- - [Changelog](CHANGELOG.md)
362
+ - [Documentation index](https://github.com/HiAi-gg/docsmint/blob/main/docs/README.md)
363
+ - [Product usage](https://github.com/HiAi-gg/docsmint/blob/main/docs/USAGE.md)
364
+ - [Roadmap](https://github.com/HiAi-gg/docsmint/blob/main/docs/ROADMAP.md)
365
+ - [REST API](https://github.com/HiAi-gg/docsmint/blob/main/docs/API.md) and [OpenAPI JSON](https://github.com/HiAi-gg/docsmint/blob/main/docs/openapi.json)
366
+ - [Architecture](https://github.com/HiAi-gg/docsmint/blob/main/docs/ARCHITECTURE.md)
367
+ - [Deployment and operations](https://github.com/HiAi-gg/docsmint/blob/main/docs/DEPLOYMENT.md)
368
+ - [Extension points](https://github.com/HiAi-gg/docsmint/blob/main/docs/EXTENDING.md)
369
+ - [Maintainer release flow](https://github.com/HiAi-gg/docsmint/blob/main/docs/RELEASING.md)
370
+ - [Security policy](https://github.com/HiAi-gg/docsmint/blob/main/SECURITY.md)
371
+ - [Changelog](https://github.com/HiAi-gg/docsmint/blob/main/CHANGELOG.md)
365
372
 
366
373
  ## Development
367
374
 
@@ -375,12 +382,12 @@ bun run test
375
382
  bun run build
376
383
  ```
377
384
 
378
- Read [CONTRIBUTING.md](CONTRIBUTING.md) before opening a pull request. Please
379
- report vulnerabilities through [SECURITY.md](SECURITY.md), not a public issue.
385
+ Read [CONTRIBUTING.md](https://github.com/HiAi-gg/docsmint/blob/main/CONTRIBUTING.md) before opening a pull request. Please
386
+ report vulnerabilities through [SECURITY.md](https://github.com/HiAi-gg/docsmint/blob/main/SECURITY.md), not a public issue.
380
387
 
381
388
  ## License
382
389
 
383
- DocsMint is released under the [Apache License 2.0](LICENSE).
390
+ DocsMint is released under the [Apache License 2.0](https://github.com/HiAi-gg/docsmint/blob/main/LICENSE).
384
391
 
385
392
  Built as an independent open-source project in the
386
393
  [HiAi](https://github.com/HiAi-gg) ecosystem.
@@ -197081,6 +197081,9 @@ function canAccessContent(access, action) {
197081
197081
  function canManageCategories(access) {
197082
197082
  return !access.restricted && canAccessContent(access, "write");
197083
197083
  }
197084
+ function canManageWorkspaceTags(access) {
197085
+ return canManageCategories(access);
197086
+ }
197084
197087
  function isAuthorizedCategory(access, categoryId) {
197085
197088
  if (access.externalRole && !access.restricted)
197086
197089
  return true;
@@ -200601,26 +200604,8 @@ var authRoutes = new Elysia({ prefix: "/api/auth" }).all("/*", async ({ request,
200601
200604
  init_schema2();
200602
200605
  init_drizzle_orm();
200603
200606
  init_zod();
200604
- init_logger3();
200605
- var createCategorySchema = exports_external2.object({
200606
- name: exports_external2.string().trim().min(1).max(255),
200607
- apiMode: exports_external2.enum(["unavailable", "global", "category"]).optional(),
200608
- apiPermissionRead: exports_external2.boolean().optional(),
200609
- apiPermissionEdit: exports_external2.boolean().optional(),
200610
- apiPermissionWrite: exports_external2.boolean().optional()
200611
- });
200612
- var updateCategorySchema = exports_external2.object({
200613
- name: exports_external2.string().trim().min(1).max(255).optional(),
200614
- order: exports_external2.number().int().nonnegative().optional(),
200615
- apiMode: exports_external2.enum(["unavailable", "global", "category"]).optional(),
200616
- apiPermissionRead: exports_external2.boolean().optional(),
200617
- apiPermissionEdit: exports_external2.boolean().optional(),
200618
- apiPermissionWrite: exports_external2.boolean().optional()
200619
- });
200620
- var listQuerySchema = exports_external2.object({
200621
- page: exports_external2.coerce.number().int().min(1).default(1),
200622
- limit: exports_external2.coerce.number().int().min(1).max(100).default(20)
200623
- });
200607
+
200608
+ // ../../backend/src/lib/category-api-access.ts
200624
200609
  function normalizeApiMode(apiMode) {
200625
200610
  if (apiMode === "category")
200626
200611
  return "category";
@@ -200654,6 +200639,28 @@ function buildApiAccessValues(input) {
200654
200639
  apiPermissionWrite
200655
200640
  };
200656
200641
  }
200642
+
200643
+ // ../../backend/src/api/routes/categories.ts
200644
+ init_logger3();
200645
+ var createCategorySchema = exports_external2.object({
200646
+ name: exports_external2.string().trim().min(1).max(255),
200647
+ apiMode: exports_external2.enum(["unavailable", "global", "category"]).optional(),
200648
+ apiPermissionRead: exports_external2.boolean().optional(),
200649
+ apiPermissionEdit: exports_external2.boolean().optional(),
200650
+ apiPermissionWrite: exports_external2.boolean().optional()
200651
+ });
200652
+ var updateCategorySchema = exports_external2.object({
200653
+ name: exports_external2.string().trim().min(1).max(255).optional(),
200654
+ order: exports_external2.number().int().nonnegative().optional(),
200655
+ apiMode: exports_external2.enum(["unavailable", "global", "category"]).optional(),
200656
+ apiPermissionRead: exports_external2.boolean().optional(),
200657
+ apiPermissionEdit: exports_external2.boolean().optional(),
200658
+ apiPermissionWrite: exports_external2.boolean().optional()
200659
+ });
200660
+ var listQuerySchema = exports_external2.object({
200661
+ page: exports_external2.coerce.number().int().min(1).default(1),
200662
+ limit: exports_external2.coerce.number().int().min(1).max(100).default(20)
200663
+ });
200657
200664
  var categoryRoutes = new Elysia({ prefix: "/api" }).get("/categories", async ({ set: set2, request }) => {
200658
200665
  const access = await resolveContentAccess(request);
200659
200666
  const ctx = access.ctx;
@@ -235042,7 +235049,7 @@ var tagRoutes = new Elysia({ prefix: "/api" }).get("/tags", async ({ set: set2,
235042
235049
  set2.status = 401;
235043
235050
  return { error: "Unauthorized" };
235044
235051
  }
235045
- if (access.restricted || !canAccessContent(access, "write")) {
235052
+ if (!canManageWorkspaceTags(access)) {
235046
235053
  set2.status = 403;
235047
235054
  return { error: "Full workspace write access required" };
235048
235055
  }
@@ -235092,7 +235099,7 @@ var tagRoutes = new Elysia({ prefix: "/api" }).get("/tags", async ({ set: set2,
235092
235099
  set2.status = 401;
235093
235100
  return { error: "Unauthorized" };
235094
235101
  }
235095
- if (access.restricted || !canAccessContent(access, "write")) {
235102
+ if (!canManageWorkspaceTags(access)) {
235096
235103
  set2.status = 403;
235097
235104
  return { error: "Full workspace write access required" };
235098
235105
  }
@@ -235142,7 +235149,7 @@ var tagRoutes = new Elysia({ prefix: "/api" }).get("/tags", async ({ set: set2,
235142
235149
  set2.status = 401;
235143
235150
  return { error: "Unauthorized" };
235144
235151
  }
235145
- if (access.restricted || !canAccessContent(access, "write")) {
235152
+ if (!canManageWorkspaceTags(access)) {
235146
235153
  set2.status = 403;
235147
235154
  return { error: "Full workspace write access required" };
235148
235155
  }
@@ -238391,7 +238398,7 @@ var swaggerConfig = {
238391
238398
  },
238392
238399
  info: {
238393
238400
  title: "DocsMint API",
238394
- version: "0.8.3",
238401
+ version: "0.8.5",
238395
238402
  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.",
238396
238403
  contact: { name: "HiAi-gg", url: "https://github.com/HiAi-gg/docsmint" },
238397
238404
  license: {
package/dist/mcp-cli.js CHANGED
@@ -1052,7 +1052,7 @@ function registerDocsmintMcpCapabilities(server, client2) {
1052
1052
  registerExtendedCapabilities(server, client2, (handler11) => wrapHandler("extended", handler11));
1053
1053
  }
1054
1054
  function createDocsmintMcpServer(options = {}) {
1055
- const server = new McpServer({ name: "docsmint", version: "0.8.3" });
1055
+ const server = new McpServer({ name: "docsmint", version: "0.8.5" });
1056
1056
  const client2 = options.docsClient ? createMcpDocsClient(options.docsClient, options.requestContext) : options.client ?? createMcpDocsClient(createDefaultDocsClient(), options.requestContext);
1057
1057
  registerDocsmintMcpCapabilities(server, client2);
1058
1058
  return server;
@@ -1048,7 +1048,7 @@ function registerDocsmintMcpCapabilities(server, client2) {
1048
1048
  registerExtendedCapabilities(server, client2, (handler11) => wrapHandler("extended", handler11));
1049
1049
  }
1050
1050
  function createDocsmintMcpServer(options = {}) {
1051
- const server = new McpServer({ name: "docsmint", version: "0.8.3" });
1051
+ const server = new McpServer({ name: "docsmint", version: "0.8.5" });
1052
1052
  const client2 = options.docsClient ? createMcpDocsClient(options.docsClient, options.requestContext) : options.client ?? createMcpDocsClient(createDefaultDocsClient(), options.requestContext);
1053
1053
  registerDocsmintMcpCapabilities(server, client2);
1054
1054
  return server;
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.3",
4
+ "version": "0.8.5",
5
5
  "type": "module",
6
6
  "browser": {
7
7
  "./dist/backend-launcher.js": false,
@@ -15,12 +15,12 @@
15
15
  "./dist/backend-account-runtime-cleanup.js": false
16
16
  },
17
17
  "license": "Apache-2.0",
18
- "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.",
18
+ "description": "Managed or self-hosted knowledge workspace for AI agents with hybrid search, reranking, GraphRAG, and scoped document tools.",
19
19
  "repository": {
20
20
  "type": "git",
21
21
  "url": "https://github.com/HiAi-gg/docsmint"
22
22
  },
23
- "homepage": "https://github.com/hiai-gg/docsmint#readme",
23
+ "homepage": "https://docsmint.com/mcp/connect?source=npm_mcp",
24
24
  "bugs": {
25
25
  "url": "https://github.com/hiai-gg/docsmint/issues"
26
26
  },
@@ -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.3';
28
+ const VERSION = '0.8.5';
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
@@ -2,15 +2,15 @@
2
2
  "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
3
3
  "name": "io.github.HiAi-gg/docsmint",
4
4
  "title": "DocsMint",
5
- "description": "Self-hosted AI-native knowledge workspace with hybrid search, GraphRAG, and MCP.",
6
- "websiteUrl": "https://docsmint.com/docs/mcp",
5
+ "description": "Cloud or self-hosted knowledge for AI agents: hybrid search, reranking, GraphRAG, scoped MCP tools.",
6
+ "websiteUrl": "https://docsmint.com/mcp/connect?source=mcp_registry",
7
7
  "repository": {
8
8
  "url": "https://github.com/HiAi-gg/docsmint",
9
9
  "source": "github",
10
10
  "id": "1249550690",
11
11
  "subfolder": "packages/mcp-server"
12
12
  },
13
- "version": "0.8.3",
13
+ "version": "0.8.5",
14
14
  "icons": [
15
15
  {
16
16
  "src": "https://raw.githubusercontent.com/HiAi-gg/docsmint/main/frontend/static/logo-dark.png",
@@ -30,7 +30,7 @@
30
30
  "registryType": "npm",
31
31
  "registryBaseUrl": "https://registry.npmjs.org",
32
32
  "identifier": "@hiai-gg/docsmint",
33
- "version": "0.8.3",
33
+ "version": "0.8.5",
34
34
  "runtimeHint": "npx",
35
35
  "transport": {
36
36
  "type": "stdio"
@@ -44,12 +44,12 @@
44
44
  "environmentVariables": [
45
45
  {
46
46
  "name": "HIAI_DOCS_URL",
47
- "description": "Base URL of the DocsMint API.",
47
+ "description": "Base URL of your running self-hosted DocsMint API. For managed Cloud use https://docsmint.com/mcp.",
48
48
  "default": "http://localhost:50700"
49
49
  },
50
50
  {
51
51
  "name": "HIAI_DOCS_API_KEY",
52
- "description": "Workspace or category scoped DocsMint API key.",
52
+ "description": "Create an API key in your self-hosted DocsMint browser UI. Prefer workspace-bound or category-scoped credentials.",
53
53
  "isRequired": true,
54
54
  "isSecret": true
55
55
  }
@@ -63,7 +63,7 @@
63
63
  "headers": [
64
64
  {
65
65
  "name": "Authorization",
66
- "description": "Bearer DocsMint API key.",
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.",
67
67
  "isRequired": true,
68
68
  "isSecret": true
69
69
  },
@@ -81,7 +81,7 @@
81
81
  "license": "Apache-2.0",
82
82
  "licenseUrl": "https://www.apache.org/licenses/LICENSE-2.0",
83
83
  "licenseFile": "https://github.com/HiAi-gg/docsmint/blob/main/LICENSE",
84
- "documentationUrl": "https://docsmint.com/docs/mcp",
84
+ "documentationUrl": "https://docsmint.com/mcp/connect?source=mcp_registry",
85
85
  "catalog": {
86
86
  "tools": 17,
87
87
  "prompts": 2,