@hiai-gg/docsmint 0.7.0 → 0.7.3
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 +97 -103
- package/dist/backend/index.js +2 -2
- package/dist/frontend/CategoryDialog-bQKMpVFD.js +631 -0
- package/dist/frontend/ConfirmDialog-DF7kgkyq.js +139 -0
- package/dist/frontend/CreateSnapshotDialog-CojnWChs.js +222 -0
- package/dist/frontend/{DatePicker-DsoepNdb.js → DatePicker-7FAbIOGg.js} +4 -4
- package/dist/frontend/DeleteDialog-BIlqRb1u.js +179 -0
- package/dist/frontend/{FolderNode-CNwi0ySr.js → FolderNode-Cf443LBa.js} +2 -2
- package/dist/frontend/{HiAiEditor-B1EDGsnA.js → HiAiEditor-CMZ-eL8s.js} +961 -955
- package/dist/frontend/SettingsDialog-DatuxOVX.js +980 -0
- package/dist/frontend/{ShareDialog-wGTXuXFE.js → ShareDialog-Bwz2y3Le.js} +2 -2
- package/dist/frontend/Sidebar-C_t5RrOJ.js +2101 -0
- package/dist/frontend/TagCreateDialog-Ch21yuWV.js +266 -0
- package/dist/frontend/app-shell.d.ts +3 -1
- package/dist/frontend/app-shell.js +155 -152
- package/dist/frontend/components/category-dialog.js +1 -1
- package/dist/frontend/components/create-snapshot-dialog.js +1 -1
- package/dist/frontend/components/delete-dialog.js +1 -1
- package/dist/frontend/components/editor/compact-editor.js +1 -1
- package/dist/frontend/components/editor/document-editor.js +1 -1
- package/dist/frontend/components/editor/document-title.js +1 -1
- package/dist/frontend/components/editor/extensions.js +1 -1
- package/dist/frontend/components/editor/markdown-toggle.js +2 -2
- package/dist/frontend/components/editor/markdown.js +1 -1
- package/dist/frontend/components/folder-node.js +1 -1
- package/dist/frontend/components/save-as-dialog.js +232 -227
- package/dist/frontend/components/settings.js +1 -1
- package/dist/frontend/components/share-dialog.js +1 -1
- package/dist/frontend/components/sidebar.js +1 -1
- package/dist/frontend/components/tag-create-dialog.js +1 -1
- package/dist/frontend/components/version-history.js +3 -3
- package/dist/frontend/confirm-dialog-8T6vsWL7.js +265 -0
- package/dist/frontend/dashboard.js +600 -592
- package/dist/frontend/dialog-CiSwD-_v.js +253 -0
- package/dist/frontend/{dropdown-menu-BXIl2E26.js → dropdown-menu-Bi5Iipwf.js} +6 -6
- package/dist/frontend/editor-content-sanitizer-CC_A8aaI.js +112 -0
- package/dist/frontend/{editorExtensions-BmINh76i.js → editorExtensions--HusV819.js} +3356 -3423
- package/dist/frontend/frontend.css +1 -1
- package/dist/frontend/i18n.js +1 -1
- package/dist/frontend/{input-eHFb2qiL.js → input-N9dNSOWF.js} +2 -2
- package/dist/frontend/{label-_I1iiaNU.js → label-CK72_fw8.js} +2 -2
- package/dist/frontend/{markdown-A5xji16P.js → markdown-H6QB53zu.js} +1 -1
- package/dist/frontend/messages-DTRe4U2V.js +1093 -0
- package/dist/frontend/search.js +3 -3
- package/dist/frontend/{select-value-CtMyrvDJ.js → select-value-BD1DToYs.js} +6 -6
- package/dist/frontend/shared-document.js +95 -92
- package/dist/frontend/{textarea-2eslfANY.js → textarea-pl_fDBre.js} +2 -2
- package/dist/frontend/theme.js +1 -1
- package/dist/frontend/theme.svelte-DG3RS7wv.js +101 -0
- package/dist/frontend/{utils-CDBqTgoV.js → utils-CMQRlxbx.js} +1 -1
- package/dist/frontend-ssr/app-shell.js +9 -5
- package/dist/frontend-ssr/assets/CategoryDialog-DsXe54EF.js +608 -0
- package/dist/frontend-ssr/assets/ConfirmDialog-DrH653ua.js +136 -0
- package/dist/frontend-ssr/assets/{CreateSnapshotDialog-BZ45odvJ.js → CreateSnapshotDialog-D3-PjXVr.js} +93 -88
- package/dist/frontend-ssr/assets/{DatePicker-CPtl6W5E.js → DatePicker-C9suIA1S.js} +4 -4
- package/dist/frontend-ssr/assets/DeleteDialog-DxtMrS1O.js +159 -0
- package/dist/frontend-ssr/assets/{FolderNode-D9kgJG9d.js → FolderNode-ChD10Elp.js} +2 -2
- package/dist/frontend-ssr/assets/{HiAiEditor-DOd2MXjD.js → HiAiEditor-2X3Uyg1B.js} +60 -54
- package/dist/frontend-ssr/assets/{SettingsDialog-CIVbMKmf.js → SettingsDialog-DDy0hN8x.js} +373 -361
- package/dist/frontend-ssr/assets/{ShareDialog-D2UNUbF7.js → ShareDialog-BwW_wF4G.js} +2 -2
- package/dist/frontend-ssr/assets/{Sidebar-Bb-k2R-Z.js → Sidebar-Dy-5gXOf.js} +170 -129
- package/dist/frontend-ssr/assets/{TagCreateDialog-6Gk7L3D-.js → TagCreateDialog-BPzgOaX8.js} +94 -89
- package/dist/frontend-ssr/assets/{confirm-dialog-B9MVS_bF.js → confirm-dialog-wYC07DPx.js} +109 -89
- package/dist/frontend-ssr/assets/{dialog-1SB5neow.js → dialog-ClcuF7nD.js} +47 -12
- package/dist/frontend-ssr/assets/{dropdown-menu-DqoOkdqB.js → dropdown-menu-BKMGVNLL.js} +6 -6
- package/dist/frontend-ssr/assets/editor-content-sanitizer-Gjm93iR-.js +145 -0
- package/dist/frontend-ssr/assets/{editorExtensions-BwGeSPuX.js → editorExtensions-qNlZVP98.js} +2 -88
- package/dist/frontend-ssr/assets/{input-Df-QP3Km.js → input-DcDR8L8M.js} +2 -2
- package/dist/frontend-ssr/assets/{label-CbUOUz6L.js → label-Cz0_svJx.js} +2 -2
- package/dist/frontend-ssr/assets/{markdown-CB8DZ-LT.js → markdown-MhPwNWrC.js} +1 -1
- package/dist/frontend-ssr/assets/{messages-BAQzILs4.js → messages-B1TjVIH8.js} +2 -2
- package/dist/frontend-ssr/assets/{select-value-CXEDWrZg.js → select-value-CaDktvDW.js} +6 -6
- package/dist/frontend-ssr/assets/{textarea-CHh8NuSS.js → textarea-BGrjPOgU.js} +2 -2
- package/dist/frontend-ssr/assets/theme.svelte-CN3BUhJG.js +136 -0
- package/dist/frontend-ssr/assets/{utils-DtX0ta7y.js → utils-Cg_R05dR.js} +1 -1
- package/dist/frontend-ssr/components/category-dialog.js +1 -1
- package/dist/frontend-ssr/components/create-snapshot-dialog.js +1 -1
- package/dist/frontend-ssr/components/delete-dialog.js +1 -1
- package/dist/frontend-ssr/components/editor/compact-editor.js +1 -1
- package/dist/frontend-ssr/components/editor/document-editor.js +1 -1
- package/dist/frontend-ssr/components/editor/document-title.js +1 -1
- package/dist/frontend-ssr/components/editor/extensions.js +1 -1
- package/dist/frontend-ssr/components/editor/markdown-toggle.js +2 -2
- package/dist/frontend-ssr/components/editor/markdown.js +1 -1
- package/dist/frontend-ssr/components/folder-node.js +1 -1
- package/dist/frontend-ssr/components/save-as-dialog.js +177 -172
- package/dist/frontend-ssr/components/settings.js +1 -1
- package/dist/frontend-ssr/components/share-dialog.js +1 -1
- package/dist/frontend-ssr/components/sidebar.js +1 -1
- package/dist/frontend-ssr/components/tag-create-dialog.js +1 -1
- package/dist/frontend-ssr/components/version-history.js +3 -3
- package/dist/frontend-ssr/dashboard.js +102 -95
- package/dist/frontend-ssr/i18n.js +1 -1
- package/dist/frontend-ssr/search.js +3 -3
- package/dist/frontend-ssr/shared-document.js +3 -0
- package/dist/frontend-ssr/theme.js +1 -1
- package/dist/mcp-cli.js +1 -1
- package/dist/mcp-server.js +1 -1
- package/package.json +1 -1
- package/packages/cli/src/index.ts +4 -3
- package/server.json +43 -6
- package/dist/frontend/CategoryDialog-C67_TXf0.js +0 -626
- package/dist/frontend/ConfirmDialog-_LlrA--f.js +0 -134
- package/dist/frontend/CreateSnapshotDialog-BmCRpOMv.js +0 -217
- package/dist/frontend/DeleteDialog-L1A3FhMM.js +0 -174
- package/dist/frontend/SettingsDialog-AP42xOGg.js +0 -969
- package/dist/frontend/Sidebar-lKQT3dEf.js +0 -2060
- package/dist/frontend/TagCreateDialog-su8BhLzS.js +0 -261
- package/dist/frontend/confirm-dialog-BG8y2Pum.js +0 -250
- package/dist/frontend/dialog-C2iKObEu.js +0 -213
- package/dist/frontend/messages-DIovIZrK.js +0 -1093
- package/dist/frontend/theme.svelte-DKfCy12k.js +0 -49
- package/dist/frontend-ssr/assets/CategoryDialog-BGuHTb3K.js +0 -603
- package/dist/frontend-ssr/assets/ConfirmDialog-D1BDXXll.js +0 -131
- package/dist/frontend-ssr/assets/DeleteDialog-oHT_p_vG.js +0 -154
- package/dist/frontend-ssr/assets/theme.svelte-Co0-ssaD.js +0 -67
package/README.md
CHANGED
|
@@ -17,13 +17,18 @@ server.
|
|
|
17
17
|
[](https://github.com/hiai-gg/docsmint/stargazers)
|
|
18
18
|
[](https://github.com/hiai-gg/docsmint/actions/workflows/ci.yml)
|
|
19
19
|
[](https://bun.sh)
|
|
20
|
-
[](https://www.typescriptlang.org)
|
|
21
21
|
[](https://svelte.dev)
|
|
22
22
|
[](https://elysiajs.com)
|
|
23
23
|
[](https://tailwindcss.com)
|
|
24
24
|
[](https://orm.drizzle.team)
|
|
25
25
|
[](CONTRIBUTING.md)
|
|
26
|
-
[](https://lobehub.com/mcp/hiai-gg-docsmint)
|
|
27
|
+
|
|
28
|
+
[GitHub](https://github.com/HiAi-gg/docsmint) ·
|
|
29
|
+
[Docker Hub](https://hub.docker.com/r/vgalibov/docsmint) ·
|
|
30
|
+
[npm](https://www.npmjs.com/package/@hiai-gg/docsmint) ·
|
|
31
|
+
[LobeHub MCP](https://lobehub.com/mcp/hiai-gg-docsmint)
|
|
27
32
|
|
|
28
33
|
<img width="1920" height="974" alt="DocsMint installable document workspace" src="https://github.com/user-attachments/assets/94701d01-a361-4ca1-b16d-de2a0c64d684" />
|
|
29
34
|
|
|
@@ -40,112 +45,41 @@ server.
|
|
|
40
45
|
- **Own the full stack**: application data, vectors, graph, queue, and files run
|
|
41
46
|
on infrastructure you control.
|
|
42
47
|
|
|
43
|
-
## What's new in
|
|
48
|
+
## What's new in 0.7.3?
|
|
49
|
+
|
|
50
|
+
- **One public-link share dialog in OSS.** Dashboard, sidebar (including Recent),
|
|
51
|
+
and the editor open the same public token share. Hosts can opt into restricted
|
|
52
|
+
admission from `DocsmintAppShellHost`.
|
|
53
|
+
- **Dialogs stay in their overlays** after hiai-ui 0.1, and nested routes load
|
|
54
|
+
CSS from `/_app` instead of `./_app`.
|
|
55
|
+
- **hiai-ui 0.1.3** for circular theme spread; Inter remains the product UI
|
|
56
|
+
typeface.
|
|
57
|
+
|
|
58
|
+
## What's new in 0.7.2?
|
|
59
|
+
|
|
60
|
+
- **Share view matches the editor.** Twitter/Twemoji SVG emoji images no longer
|
|
61
|
+
expand across the public share column; they render as ordinary glyphs.
|
|
62
|
+
- **Inter in the workspace chrome.** The sidebar uses the same Inter UI typeface
|
|
63
|
+
as docsmint.com instead of the operating-system sans stack.
|
|
64
|
+
- **MCP catalog 0.7.2.** Registry, LobeHub, and runtime metadata ship the dark
|
|
65
|
+
catalog logo and the current product-aligned description.
|
|
66
|
+
|
|
67
|
+
## What's new in 0.7.0?
|
|
44
68
|
|
|
45
69
|
- **Signed workspace assertions.** Trusted server-to-server hosts can restrict
|
|
46
70
|
an assertion to one category with independent `read`, `edit`, and `write`
|
|
47
|
-
permissions
|
|
71
|
+
permissions. An omitted scope remains workspace-wide and role-derived.
|
|
48
72
|
- **Consistent effective-category authorization.** Direct and folder-inherited
|
|
49
73
|
categories are enforced before counts, pagination, indexing, search, and
|
|
50
74
|
GraphRAG retrieval. Index status is read-only; refresh requires write.
|
|
51
75
|
- **Release-safe indexing.** Context-aware embedding generations and recovery
|
|
52
76
|
prevent stale metadata work from becoming active.
|
|
53
77
|
|
|
54
|
-
This OSS release adds no host RBAC, billing, invitations, or product UI.
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
document's workspace into every durable pipeline stage, including RLS reads.
|
|
60
|
-
- **Consistent operator authentication.** Both documented admin key headers
|
|
61
|
-
bypass interactive rate limits during maintenance operations.
|
|
62
|
-
|
|
63
|
-
DocsMint 0.6.8 includes the self-host reliability fixes introduced in 0.6.7:
|
|
64
|
-
|
|
65
|
-
- **Reliable HTTPS sessions.** Every protected SvelteKit route accepts Better
|
|
66
|
-
Auth's secure production cookie as well as the local-development cookie.
|
|
67
|
-
- **Cleaner retrieval.** Deleted documents are excluded before exact, lexical,
|
|
68
|
-
fuzzy, vector, chunk, and graph ranking.
|
|
69
|
-
- **Explicit GraphRAG providers.** Entity extraction requires its own
|
|
70
|
-
chat-completion URL and never sends chat requests to an embedding endpoint.
|
|
71
|
-
- **Safer self-host defaults.** Auth origins are validated configuration, the
|
|
72
|
-
SeaweedFS Filer UI binds to loopback, folder moves refresh knowledge
|
|
73
|
-
metadata, and backups exclude `.env`.
|
|
74
|
-
|
|
75
|
-
DocsMint 0.6.7 includes the safe index recovery introduced in 0.6.6:
|
|
76
|
-
|
|
77
|
-
- **Safe explicit index recovery.** Admin document reindexing keeps the active
|
|
78
|
-
generation searchable until a new generation has passed embedding, graph,
|
|
79
|
-
summary, and finalize stages.
|
|
80
|
-
- **Truthful queue admission.** Maintenance requests force a replacement
|
|
81
|
-
generation and report an error when durable enqueue fails instead of
|
|
82
|
-
returning a false-positive success.
|
|
83
|
-
- **Verified MCP distribution.** The official MCP Registry manifest, npm stdio
|
|
84
|
-
package, hosted Streamable HTTP endpoint, bundled Skill, prompts, resources,
|
|
85
|
-
and 17-tool catalog remain one versioned contract.
|
|
86
|
-
|
|
87
|
-
DocsMint 0.6.6 includes the registry metadata fixes released in 0.6.3-0.6.5
|
|
88
|
-
and the complete MCP foundation introduced in 0.6.2:
|
|
89
|
-
|
|
90
|
-
- **Official MCP identity.** DocsMint now publishes the verified
|
|
91
|
-
`io.github.HiAi-gg/docsmint` registry identity for both the npm stdio server
|
|
92
|
-
and the hosted Streamable HTTP endpoint.
|
|
93
|
-
- **One capability implementation.** The public `@hiai-gg/docsmint/mcp`
|
|
94
|
-
contract lets hosts provide a scoped API client while reusing the same 17
|
|
95
|
-
tools, two prompts, three resources, and bundled document-manager Skill.
|
|
96
|
-
- **Current protocol runtime.** The MCP server uses the stable v2 server
|
|
97
|
-
package and retains compatible stdio negotiation for existing clients.
|
|
98
|
-
|
|
99
|
-
DocsMint 0.6.2 includes the reliable knowledge refresh and scoped automation
|
|
100
|
-
foundation introduced in 0.6.1:
|
|
101
|
-
|
|
102
|
-
- **Reliable knowledge refreshes.** Explicit full reindexing now supersedes
|
|
103
|
-
failed or stuck generations, retries release stale extraction claims, and
|
|
104
|
-
publishes embeddings, summaries, and graph projections only for the current
|
|
105
|
-
document generation.
|
|
106
|
-
- **Safer scoped automation.** Global keys can manage the complete document
|
|
107
|
-
domain, while category keys stay confined to their category, folders,
|
|
108
|
-
documents, tags, graph traversal, and index operations according to explicit
|
|
109
|
-
`read`, `edit`, and `write` permissions.
|
|
110
|
-
- **Portable agent integration.** The MCP package exposes 17 document-manager
|
|
111
|
-
tools, two reusable prompts, three context resources, and a bundled Skill,
|
|
112
|
-
with Bunx, NPX, and local-checkout installation paths.
|
|
113
|
-
- **Compatible frontend packaging.** Published frontend entrypoints resolve the
|
|
114
|
-
canonical hiai-ui exports used by the source build and packed consumers.
|
|
115
|
-
|
|
116
|
-
DocsMint 0.6.1 includes the mobile and PWA foundation introduced in 0.6.0:
|
|
117
|
-
|
|
118
|
-
- **Installable, update-safe PWA.** A versioned service worker, responsive app
|
|
119
|
-
shell, install prompt, and deterministic offline fallback make DocsMint feel
|
|
120
|
-
at home on desktop and mobile browsers.
|
|
121
|
-
- **Private offline reading and explicit drafts.** Identity-partitioned local
|
|
122
|
-
snapshots keep selected documents readable offline. Drafts autosave locally,
|
|
123
|
-
then return through a deliberate review-and-apply flow after reconnecting;
|
|
124
|
-
DocsMint never silently replays offline mutations.
|
|
125
|
-
- **Touch-safe mobile navigation.** Sidebar document actions, Copy controls, and
|
|
126
|
-
overflow menus remain reachable on touch devices without depending on hover,
|
|
127
|
-
with accessible targets and narrow-screen layouts.
|
|
128
|
-
- **A flexible editor contract.** Reactive visual/Markdown mode preferences,
|
|
129
|
-
Minimal toolbar support, and a reusable compact TipTap editor let hosts match
|
|
130
|
-
the writing surface to the task without forking editor internals.
|
|
131
|
-
- **Stable document discovery.** The public API and TypeScript SDK provide
|
|
132
|
-
deterministic cursor pagination and global sorting by title, category,
|
|
133
|
-
folder, or update time, with canonical category and folder metadata.
|
|
134
|
-
- **Safe standalone sharing.** Standalone DocsMint exposes public links with
|
|
135
|
-
expiry, optional passwords, Copy, and revoke controls. Host-managed consumers
|
|
136
|
-
retain their existing restricted invitation workflow.
|
|
137
|
-
- **Knowledge built for agents.** REST, the typed SDK, CLI, and MCP server expose
|
|
138
|
-
scoped document operations, while multilingual hybrid search and GraphRAG
|
|
139
|
-
help people and AI agents retrieve connected knowledge instead of isolated
|
|
140
|
-
keyword matches.
|
|
141
|
-
|
|
142
|
-
DocsMint combines an installable self-hosted PWA knowledge base, mobile document
|
|
143
|
-
workspace, offline reading, local drafts, multilingual semantic search,
|
|
144
|
-
GraphRAG, MCP, a TypeScript SDK, CLI, and composable frontend hosts in one
|
|
145
|
-
open-source system.
|
|
146
|
-
|
|
147
|
-
For self-hosted customization, see [PWA hosting](docs/PWA_HOSTING.md) and
|
|
148
|
-
[extension points](docs/EXTENDING.md).
|
|
78
|
+
This OSS release adds no host RBAC, billing, invitations, or product UI. The
|
|
79
|
+
0.6.x reliability work — workspace-safe reindex, HTTPS sessions, trash-aware
|
|
80
|
+
retrieval, explicit GraphRAG providers, MCP Registry identity, and the
|
|
81
|
+
installable PWA — ships in this line. See the [changelog](CHANGELOG.md) for
|
|
82
|
+
the complete history and the [roadmap](docs/ROADMAP.md) for what comes next.
|
|
149
83
|
|
|
150
84
|
## Fastest installation: give this prompt to your agent
|
|
151
85
|
|
|
@@ -188,6 +122,20 @@ On its first run, the script creates an ignored root `.env`, generates the
|
|
|
188
122
|
database, authentication, and storage secrets, builds the PostgreSQL image,
|
|
189
123
|
applies migrations, and starts the complete application.
|
|
190
124
|
|
|
125
|
+
Published application images are on
|
|
126
|
+
[Docker Hub](https://hub.docker.com/r/vgalibov/docsmint). There is no untagged
|
|
127
|
+
`latest` image; pull the role-specific tags:
|
|
128
|
+
|
|
129
|
+
```bash
|
|
130
|
+
docker pull vgalibov/docsmint:api-latest
|
|
131
|
+
docker pull vgalibov/docsmint:web-latest
|
|
132
|
+
docker pull vgalibov/docsmint:caddy-latest
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
Use versioned tags such as `api-v0.7.3` for reproducible deploys. The
|
|
136
|
+
quickstart still builds the Compose stack from this repository so PostgreSQL,
|
|
137
|
+
Redis, and SeaweedFS start together with the application.
|
|
138
|
+
|
|
191
139
|
For OpenRouter, add one value to `.env` and run the script again:
|
|
192
140
|
|
|
193
141
|
```dotenv
|
|
@@ -257,7 +205,7 @@ bunx --package @hiai-gg/docsmint docsmint search "project architecture"
|
|
|
257
205
|
bunx --package @hiai-gg/docsmint docsmint list
|
|
258
206
|
bunx --package @hiai-gg/docsmint docsmint read <document-id>
|
|
259
207
|
bunx --package @hiai-gg/docsmint docsmint create \
|
|
260
|
-
--title "Release notes" --content "#
|
|
208
|
+
--title "Release notes" --content "# Highlights"
|
|
261
209
|
```
|
|
262
210
|
|
|
263
211
|
Credentials can also be supplied through `HIAI_DOCS_URL` and
|
|
@@ -275,8 +223,8 @@ context resources, and a document-manager skill for agent clients.
|
|
|
275
223
|
{
|
|
276
224
|
"mcpServers": {
|
|
277
225
|
"docsmint": {
|
|
278
|
-
"command": "
|
|
279
|
-
"args": ["
|
|
226
|
+
"command": "npx",
|
|
227
|
+
"args": ["-y", "@hiai-gg/docsmint", "docsmint-mcp"],
|
|
280
228
|
"env": {
|
|
281
229
|
"HIAI_DOCS_URL": "http://localhost:50700",
|
|
282
230
|
"HIAI_DOCS_API_KEY": "your-global-or-category-key"
|
|
@@ -289,14 +237,59 @@ context resources, and a document-manager skill for agent clients.
|
|
|
289
237
|
Run the server directly to verify the installation:
|
|
290
238
|
|
|
291
239
|
```bash
|
|
292
|
-
|
|
240
|
+
npx -y @hiai-gg/docsmint docsmint-mcp
|
|
293
241
|
```
|
|
294
242
|
|
|
243
|
+
`npx` is the install path LobeHub and Node MCP clients validate. Bun checkouts can use
|
|
244
|
+
`bunx --package @hiai-gg/docsmint docsmint-mcp` instead. The process speaks MCP on
|
|
245
|
+
stdio and advertises tools, prompts, and resources without a running DocsMint API.
|
|
246
|
+
|
|
295
247
|
The server uses stdio and works with MCP-capable clients such as Claude
|
|
296
248
|
Desktop, Cursor, and coding agents that accept standard MCP configuration. See
|
|
297
249
|
the [MCP guide](packages/mcp-server/README.md) for its 17 tools, prompts,
|
|
298
250
|
resources, skill, and API routes.
|
|
299
251
|
|
|
252
|
+
## MCP Features
|
|
253
|
+
|
|
254
|
+
### Tools (17)
|
|
255
|
+
|
|
256
|
+
- `search_documents`: Hybrid search (full-text + semantic pgvector).
|
|
257
|
+
- `get_document`: Fetch document content and metadata.
|
|
258
|
+
- `create_document`: Create a document with optional markdown, folder, and category.
|
|
259
|
+
- `update_document`: Update title, content, folder, or category (new version on each save).
|
|
260
|
+
- `list_documents`: Paginated document list, optionally filtered by folder or tag.
|
|
261
|
+
- `list_folders`: List folders, optionally under a parent.
|
|
262
|
+
- `create_folder`: Create a folder, optionally nested.
|
|
263
|
+
- `create_snapshot`: Create a named snapshot of the current document.
|
|
264
|
+
- `get_version_history`: List versions, optionally snapshots only.
|
|
265
|
+
- `export_document`: Export a document as Markdown.
|
|
266
|
+
- `list_categories`: List categories visible to the API key.
|
|
267
|
+
- `create_category`: Create a category (workspace key with write access).
|
|
268
|
+
- `list_tags`: List tags in the workspace or bound category.
|
|
269
|
+
- `get_related_documents`: Traverse the knowledge graph from one authorized document.
|
|
270
|
+
- `search_knowledge_graph`: Search connected knowledge from authorized seed documents.
|
|
271
|
+
- `get_document_index_status`: Read indexing and knowledge-pipeline status.
|
|
272
|
+
- `refresh_document_index`: Request reindexing after a document or metadata change.
|
|
273
|
+
|
|
274
|
+
### Prompts (2)
|
|
275
|
+
|
|
276
|
+
- `organize_workspace`: Plan safe document organization using DocsMint categories and folders.
|
|
277
|
+
- `research_workspace`: Research a question with hybrid search and GraphRAG citing document IDs.
|
|
278
|
+
|
|
279
|
+
### Resources (3)
|
|
280
|
+
|
|
281
|
+
- `docsmint://guide/editor`: Editor usage guide.
|
|
282
|
+
- `docsmint://guide/search`: Search and GraphRAG guide.
|
|
283
|
+
- `docsmint://workspace/catalog`: Live scoped workspace catalog.
|
|
284
|
+
|
|
285
|
+
### Skills (1)
|
|
286
|
+
|
|
287
|
+
- [`docsmint-document-manager`](skills/docsmint-document-manager/SKILL.md):
|
|
288
|
+
create, organize, edit, and research DocsMint documents through the 17 MCP
|
|
289
|
+
tools, including hybrid search, GraphRAG, and index refresh.
|
|
290
|
+
|
|
291
|
+
The same Skill ships in the npm package under `skills/docsmint-document-manager/SKILL.md`.
|
|
292
|
+
|
|
300
293
|
## Agent skills after installation
|
|
301
294
|
|
|
302
295
|
The MCP tools are the recommended portable agent skills. A category-bound agent
|
|
@@ -426,6 +419,7 @@ deployment.
|
|
|
426
419
|
|
|
427
420
|
- [Documentation index](docs/README.md)
|
|
428
421
|
- [Product usage](docs/USAGE.md)
|
|
422
|
+
- [Roadmap](docs/ROADMAP.md)
|
|
429
423
|
- [REST API](docs/API.md) and [OpenAPI JSON](docs/openapi.json)
|
|
430
424
|
- [Architecture](docs/ARCHITECTURE.md)
|
|
431
425
|
- [Deployment and operations](docs/DEPLOYMENT.md)
|
package/dist/backend/index.js
CHANGED
|
@@ -237154,8 +237154,8 @@ var swaggerConfig = {
|
|
|
237154
237154
|
},
|
|
237155
237155
|
info: {
|
|
237156
237156
|
title: "DocsMint API",
|
|
237157
|
-
version: "0.7.
|
|
237158
|
-
description: "Self-hosted AI-
|
|
237157
|
+
version: "0.7.3",
|
|
237158
|
+
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.",
|
|
237159
237159
|
contact: { name: "HiAi-gg", url: "https://github.com/HiAi-gg/docsmint" },
|
|
237160
237160
|
license: {
|
|
237161
237161
|
name: "Apache-2.0",
|