@hiai-gg/docsmint 0.5.8 → 0.6.0
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/LICENSE +39 -8
- package/README.md +67 -43
- package/dist/backend/index.js +53 -14
- package/dist/client.d.ts +3 -1
- package/dist/client.js +2 -0
- package/dist/frontend/{CategoryDialog-BYAFjX7E.js → CategoryDialog-CbXBMBZB.js} +3 -3
- package/dist/frontend/HiAiEditor-DSVG3GNd.js +2986 -0
- package/dist/frontend/SettingsDialog-BDNgf5rv.js +969 -0
- package/dist/frontend/ShareDialog-2Mty7hm4.js +258 -0
- package/dist/frontend/{Sidebar-B-zCJT9i.js → Sidebar-DX08utdV.js} +15 -15
- package/dist/frontend/app-shell.js +122 -65
- package/dist/frontend/components/category-dialog.js +1 -1
- package/dist/frontend/components/editor/compact-editor.d.ts +3 -0
- package/dist/frontend/components/editor/compact-editor.js +36 -0
- package/dist/frontend/components/editor/document-editor.js +2 -2986
- package/dist/frontend/components/settings.js +1 -1
- package/dist/frontend/components/share-dialog.d.ts +2 -1
- package/dist/frontend/components/share-dialog.js +1 -1
- package/dist/frontend/components/sidebar.js +1 -1
- package/dist/frontend/dashboard.js +1 -1
- package/dist/frontend/editor-preferences.d.ts +4 -0
- package/dist/frontend/editor-preferences.js +2 -0
- package/dist/frontend/editor-preferences.svelte-Bt_A9k7n.js +61 -0
- package/dist/frontend/frontend.css +1 -1
- package/dist/frontend-ssr/app-shell.js +46 -2
- package/dist/frontend-ssr/assets/{CategoryDialog-BLxVoynx.js → CategoryDialog-QHEv_9N4.js} +4 -4
- package/dist/frontend-ssr/assets/HiAiEditor-CUOJmKzT.js +2358 -0
- package/dist/frontend-ssr/assets/{SettingsDialog-DVp0OxPO.js → SettingsDialog-BjJIiVLc.js} +2 -64
- package/dist/frontend-ssr/assets/{ShareDialog-BZd28sg-.js → ShareDialog-C9C-XTm4.js} +1 -1
- package/dist/frontend-ssr/assets/{Sidebar-CO9LZRPa.js → Sidebar-C2sUfGNk.js} +18 -18
- package/dist/frontend-ssr/assets/editor-preferences.svelte-iI5jJM1x.js +65 -0
- package/dist/frontend-ssr/components/category-dialog.js +1 -1
- package/dist/frontend-ssr/components/editor/compact-editor.js +19 -0
- package/dist/frontend-ssr/components/editor/document-editor.js +1 -2357
- 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/dashboard.js +1 -1
- package/dist/frontend-ssr/editor-preferences.js +2 -0
- package/dist/types.d.ts +5 -0
- package/package.json +16 -2
- package/packages/cli/src/index.ts +1 -1
- package/packages/mcp-server/src/index.ts +1 -1
- package/dist/frontend/SettingsDialog-CyZSOjLE.js +0 -1024
- package/dist/frontend/ShareDialog-BC-Jl6v1.js +0 -257
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as SettingsDialog } from "../assets/SettingsDialog-
|
|
1
|
+
import { t as SettingsDialog } from "../assets/SettingsDialog-BjJIiVLc.js";
|
|
2
2
|
export { SettingsDialog };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as ShareDialog } from "../assets/ShareDialog-
|
|
1
|
+
import { t as ShareDialog } from "../assets/ShareDialog-C9C-XTm4.js";
|
|
2
2
|
export { ShareDialog };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as Sidebar } from "../assets/Sidebar-
|
|
1
|
+
import { t as Sidebar } from "../assets/Sidebar-C2sUfGNk.js";
|
|
2
2
|
export { Sidebar };
|
|
@@ -24,7 +24,7 @@ import { a as Select, i as Select_content, n as Select_trigger, r as Select_item
|
|
|
24
24
|
import { c as updateDocument, i as getDocument } from "./assets/documents-CZ-wQohy.js";
|
|
25
25
|
import { c as updateFolder, i as duplicateDocument } from "./assets/folders-BX30gHv6.js";
|
|
26
26
|
import { t as copyToClipboard } from "./assets/clipboard-CXOaoz2W.js";
|
|
27
|
-
import { t as ShareDialog } from "./assets/ShareDialog-
|
|
27
|
+
import { t as ShareDialog } from "./assets/ShareDialog-C9C-XTm4.js";
|
|
28
28
|
import { d as refreshFolders, n as bumpSubfoldersRefresh } from "./assets/subfolders-refresh-store.svelte-CXHxQWKh.js";
|
|
29
29
|
import { n as refreshDocs } from "./assets/tag-store.svelte-BM1lUI_P.js";
|
|
30
30
|
import { t as ConfirmDialog } from "./assets/ConfirmDialog-BhAelejz.js";
|
package/dist/types.d.ts
CHANGED
|
@@ -55,6 +55,9 @@ export interface DocsDocumentListItem {
|
|
|
55
55
|
title: string;
|
|
56
56
|
content: string;
|
|
57
57
|
folderId: string | null;
|
|
58
|
+
folderName: string | null;
|
|
59
|
+
categoryId: string | null;
|
|
60
|
+
categoryName: string | null;
|
|
58
61
|
createdAt: string;
|
|
59
62
|
updatedAt: string;
|
|
60
63
|
tags: DocsTag[];
|
|
@@ -70,6 +73,8 @@ export interface DocsDocumentCursorPage {
|
|
|
70
73
|
items: DocsDocumentListItem[];
|
|
71
74
|
nextCursor: string | null;
|
|
72
75
|
}
|
|
76
|
+
export type DocsDocumentSortField = "title" | "category" | "folder" | "updated";
|
|
77
|
+
export type DocsSortOrder = "asc" | "desc";
|
|
73
78
|
export interface DocsFolder {
|
|
74
79
|
id: string;
|
|
75
80
|
ownerId: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hiai-gg/docsmint",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"browser": {
|
|
6
6
|
"./dist/backend-launcher.js": false,
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"./dist/backend-account-runtime-cleanup.js": false
|
|
15
15
|
},
|
|
16
16
|
"license": "Apache-2.0",
|
|
17
|
-
"description": "
|
|
17
|
+
"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
18
|
"repository": {
|
|
19
19
|
"type": "git",
|
|
20
20
|
"url": "https://github.com/HiAi-gg/docsmint"
|
|
@@ -25,11 +25,14 @@
|
|
|
25
25
|
},
|
|
26
26
|
"keywords": [
|
|
27
27
|
"knowledge-base",
|
|
28
|
+
"knowledge-management",
|
|
28
29
|
"ai-native",
|
|
30
|
+
"ai-agents",
|
|
29
31
|
"wiki",
|
|
30
32
|
"markdown",
|
|
31
33
|
"ai-embeddings",
|
|
32
34
|
"rag",
|
|
35
|
+
"graphrag",
|
|
33
36
|
"semantic-search",
|
|
34
37
|
"self-hosted",
|
|
35
38
|
"pgvector",
|
|
@@ -37,6 +40,7 @@
|
|
|
37
40
|
"local-llm",
|
|
38
41
|
"pwa",
|
|
39
42
|
"progressive-web-app",
|
|
43
|
+
"mcp",
|
|
40
44
|
"offline-knowledge-base",
|
|
41
45
|
"docsmint",
|
|
42
46
|
"outline-alternative",
|
|
@@ -183,6 +187,16 @@
|
|
|
183
187
|
"import": "./dist/frontend/components/editor/document-editor.js",
|
|
184
188
|
"types": "./dist/frontend/components/editor/document-editor.d.ts"
|
|
185
189
|
},
|
|
190
|
+
"./frontend/components/editor/compact-editor": {
|
|
191
|
+
"node": "./dist/frontend-ssr/components/editor/compact-editor.js",
|
|
192
|
+
"import": "./dist/frontend/components/editor/compact-editor.js",
|
|
193
|
+
"types": "./dist/frontend/components/editor/compact-editor.d.ts"
|
|
194
|
+
},
|
|
195
|
+
"./frontend/editor-preferences": {
|
|
196
|
+
"node": "./dist/frontend-ssr/editor-preferences.js",
|
|
197
|
+
"import": "./dist/frontend/editor-preferences.js",
|
|
198
|
+
"types": "./dist/frontend/editor-preferences.d.ts"
|
|
199
|
+
},
|
|
186
200
|
"./frontend/components/folder-tree-selector": {
|
|
187
201
|
"node": "./dist/frontend-ssr/components/folder-tree-selector.js",
|
|
188
202
|
"import": "./dist/frontend/components/folder-tree-selector.js",
|
|
@@ -24,7 +24,7 @@ import { registerSearch } from "./commands/search.js";
|
|
|
24
24
|
import { registerSnapshot } from "./commands/snapshot.js";
|
|
25
25
|
import { registerUpdate } from "./commands/update.js";
|
|
26
26
|
|
|
27
|
-
const VERSION = "0.
|
|
27
|
+
const VERSION = "0.6.0";
|
|
28
28
|
|
|
29
29
|
const program = new Command();
|
|
30
30
|
program
|