@hiai-gg/docsmint 0.6.0 → 0.6.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 +36 -4
- package/dist/backend/index.js +753 -125
- package/dist/backend-account-runtime-cleanup.js +17 -0
- package/dist/backend-api-key-facade.js +17 -0
- package/dist/backend-pipeline-cancellation.js +17 -0
- package/dist/client.d.ts +4 -1
- package/dist/client.js +9 -0
- package/dist/lifecycle-runtime.js +16 -0
- package/dist/types.d.ts +26 -0
- package/package.json +12 -2
- package/packages/cli/src/index.ts +1 -1
- package/packages/db/src/index.ts +16 -7
- package/packages/db/src/schema.ts +34 -0
- package/packages/mcp-server/src/capabilities.ts +189 -0
- package/packages/mcp-server/src/client.ts +191 -138
- package/packages/mcp-server/src/index.ts +4 -105
- package/packages/mcp-server/src/server.ts +87 -0
- package/packages/mcp-server/src/tools/create-document.ts +19 -17
- package/packages/mcp-server/src/tools/create-folder.ts +18 -11
- package/packages/mcp-server/src/tools/create-snapshot.ts +15 -18
- package/packages/mcp-server/src/tools/export-document.ts +12 -12
- package/packages/mcp-server/src/tools/get-document.ts +12 -10
- package/packages/mcp-server/src/tools/list-documents.ts +15 -23
- package/packages/mcp-server/src/tools/list-folders.ts +12 -11
- package/packages/mcp-server/src/tools/search.ts +20 -23
- package/packages/mcp-server/src/tools/update-document.ts +22 -14
- package/packages/mcp-server/src/tools/version-history.ts +13 -18
- package/server.json +55 -0
- package/skills/docsmint-document-manager/SKILL.md +33 -0
package/README.md
CHANGED
|
@@ -23,6 +23,7 @@ server.
|
|
|
23
23
|
[](https://tailwindcss.com)
|
|
24
24
|
[](https://orm.drizzle.team)
|
|
25
25
|
[](CONTRIBUTING.md)
|
|
26
|
+
[](https://lobehub.com/mcp/hiai-gg-docsmint)
|
|
26
27
|
|
|
27
28
|
<img width="1920" height="974" alt="DocsMint installable document workspace" src="https://github.com/user-attachments/assets/94701d01-a361-4ca1-b16d-de2a0c64d684" />
|
|
28
29
|
|
|
@@ -39,7 +40,35 @@ server.
|
|
|
39
40
|
- **Own the full stack**: application data, vectors, graph, queue, and files run
|
|
40
41
|
on infrastructure you control.
|
|
41
42
|
|
|
42
|
-
## What's new in DocsMint 0.6.
|
|
43
|
+
## What's new in DocsMint 0.6.2?
|
|
44
|
+
|
|
45
|
+
- **Official MCP identity.** DocsMint now publishes the verified
|
|
46
|
+
`io.github.hiai-gg/docsmint` registry identity for both the npm stdio server
|
|
47
|
+
and the hosted Streamable HTTP endpoint.
|
|
48
|
+
- **One capability implementation.** The public `@hiai-gg/docsmint/mcp`
|
|
49
|
+
contract lets hosts provide a scoped API client while reusing the same 17
|
|
50
|
+
tools, two prompts, three resources, and bundled document-manager Skill.
|
|
51
|
+
- **Current protocol runtime.** The MCP server uses the stable v2 server
|
|
52
|
+
package and retains compatible stdio negotiation for existing clients.
|
|
53
|
+
|
|
54
|
+
DocsMint 0.6.2 includes the reliable knowledge refresh and scoped automation
|
|
55
|
+
foundation introduced in 0.6.1:
|
|
56
|
+
|
|
57
|
+
- **Reliable knowledge refreshes.** Explicit full reindexing now supersedes
|
|
58
|
+
failed or stuck generations, retries release stale extraction claims, and
|
|
59
|
+
publishes embeddings, summaries, and graph projections only for the current
|
|
60
|
+
document generation.
|
|
61
|
+
- **Safer scoped automation.** Global keys can manage the complete document
|
|
62
|
+
domain, while category keys stay confined to their category, folders,
|
|
63
|
+
documents, tags, graph traversal, and index operations according to explicit
|
|
64
|
+
`read`, `edit`, and `write` permissions.
|
|
65
|
+
- **Portable agent integration.** The MCP package exposes 17 document-manager
|
|
66
|
+
tools, two reusable prompts, three context resources, and a bundled Skill,
|
|
67
|
+
with Bunx, NPX, and local-checkout installation paths.
|
|
68
|
+
- **Compatible frontend packaging.** Published frontend entrypoints resolve the
|
|
69
|
+
canonical hiai-ui exports used by the source build and packed consumers.
|
|
70
|
+
|
|
71
|
+
DocsMint 0.6.1 includes the mobile and PWA foundation introduced in 0.6.0:
|
|
43
72
|
|
|
44
73
|
- **Installable, update-safe PWA.** A versioned service worker, responsive app
|
|
45
74
|
shell, install prompt, and deterministic offline fallback make DocsMint feel
|
|
@@ -189,8 +218,10 @@ command and configuration precedence.
|
|
|
189
218
|
|
|
190
219
|
## Connect an MCP client
|
|
191
220
|
|
|
192
|
-
DocsMint exposes document search, reading, creation, updates,
|
|
193
|
-
|
|
221
|
+
DocsMint exposes document search, reading, creation, updates, categories,
|
|
222
|
+
folders, tags, GraphRAG traversal, index status and refresh, snapshots,
|
|
223
|
+
history, and export as MCP tools. It also publishes reusable prompts,
|
|
224
|
+
context resources, and a document-manager skill for agent clients.
|
|
194
225
|
|
|
195
226
|
```json
|
|
196
227
|
{
|
|
@@ -215,7 +246,8 @@ bunx --package @hiai-gg/docsmint docsmint-mcp
|
|
|
215
246
|
|
|
216
247
|
The server uses stdio and works with MCP-capable clients such as Claude
|
|
217
248
|
Desktop, Cursor, and coding agents that accept standard MCP configuration. See
|
|
218
|
-
the [MCP guide](packages/mcp-server/README.md) for its
|
|
249
|
+
the [MCP guide](packages/mcp-server/README.md) for its 17 tools, prompts,
|
|
250
|
+
resources, skill, and API routes.
|
|
219
251
|
|
|
220
252
|
## Agent skills after installation
|
|
221
253
|
|