@hiai-gg/docsmint 0.9.4 → 1.0.1
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 +12 -8
- package/dist/backend/index.js +1 -1
- package/dist/mcp-cli.js +361 -588
- package/dist/mcp-server.js +392 -627
- package/package.json +1 -1
- package/packages/cli/src/index.ts +1 -1
- package/server.json +3 -3
- package/skills/docsmint-document-manager/SKILL.md +9 -8
package/package.json
CHANGED
|
@@ -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.
|
|
28
|
+
const VERSION = '1.0.1';
|
|
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,7 +10,7 @@
|
|
|
10
10
|
"id": "1249550690",
|
|
11
11
|
"subfolder": "packages/mcp-server"
|
|
12
12
|
},
|
|
13
|
-
"version": "0.
|
|
13
|
+
"version": "1.0.1",
|
|
14
14
|
"icons": [
|
|
15
15
|
{
|
|
16
16
|
"src": "https://raw.githubusercontent.com/HiAi-gg/docsmint/main/frontend/static/logo-dark.png",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"registryType": "npm",
|
|
35
35
|
"registryBaseUrl": "https://registry.npmjs.org",
|
|
36
36
|
"identifier": "@hiai-gg/docsmint",
|
|
37
|
-
"version": "0.
|
|
37
|
+
"version": "1.0.1",
|
|
38
38
|
"runtimeHint": "npx",
|
|
39
39
|
"transport": {
|
|
40
40
|
"type": "stdio"
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
"licenseFile": "https://github.com/HiAi-gg/docsmint/blob/main/LICENSE",
|
|
88
88
|
"documentationUrl": "https://docsmint.com/mcp/connect?source=mcp_registry",
|
|
89
89
|
"catalog": {
|
|
90
|
-
"tools":
|
|
90
|
+
"tools": 22,
|
|
91
91
|
"prompts": 2,
|
|
92
92
|
"resources": 3
|
|
93
93
|
}
|
|
@@ -17,17 +17,18 @@ Use this skill when an agent must create, organize, edit, or research documents
|
|
|
17
17
|
|
|
18
18
|
## Retrieval workflow
|
|
19
19
|
|
|
20
|
-
1. Use `
|
|
21
|
-
2. Read
|
|
22
|
-
3. Use `
|
|
20
|
+
1. Use `find_documents(mode=search)` with the user's original language; use `mode=list` for paginated browsing by folder or tag UUID.
|
|
21
|
+
2. Read relevant content with `read_document(view=detail)` or export Markdown with `view=markdown`.
|
|
22
|
+
3. Use `explore_graph(mode=neighbors|search)` only with authorized document IDs returned by `find_documents`.
|
|
23
23
|
4. Cite document IDs and distinguish retrieved facts from inference.
|
|
24
24
|
|
|
25
25
|
## Document management workflow
|
|
26
26
|
|
|
27
|
-
1. Inspect `
|
|
28
|
-
2. Create categories only with a workspace-scoped key.
|
|
29
|
-
3.
|
|
30
|
-
4. After
|
|
31
|
-
5. Use
|
|
27
|
+
1. Inspect `list_workspace_structure(kind=categories|folders|tags)` before organizing content.
|
|
28
|
+
2. Create or update categories with `save_category(action=create|update)` only with a workspace-scoped key.
|
|
29
|
+
3. Use `save_folder`, `save_document`, `save_tag`, and `set_document_tag` with explicit actions and stay in the active scope.
|
|
30
|
+
4. After a document update, inspect `get_document_index_status`; use `refresh_document_index` only when indexing is stale or failed.
|
|
31
|
+
5. Use `create_snapshot` before a substantial rewrite; choose a version through `read_document(view=versions)` before `restore_document_version`.
|
|
32
|
+
6. Treat `delete_document`, `restore_trashed_document`, and `permanently_delete_document` as distinct lifecycle actions. Purge only on an explicit request.
|
|
32
33
|
|
|
33
34
|
DocsMint owns chunking, embeddings, multilingual hybrid retrieval, cross-encoder rerank, entity extraction, and GraphRAG indexing. Agents must use the MCP tools and never write those persistence layers directly.
|