@hiai-gg/docsmint 0.8.1 → 0.8.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 +34 -148
- package/dist/backend/index.js +396 -39
- package/dist/backend-account-runtime-cleanup.js +2 -0
- package/dist/backend-api-key-facade.js +2 -0
- package/dist/backend-pipeline-cancellation.js +2 -0
- package/dist/client.d.ts +2 -1
- package/dist/client.js +3 -0
- package/dist/frontend/{CategoryDialog-D_xFSWGh.js → CategoryDialog-B6zqtwE6.js} +2 -2
- package/dist/frontend/{ConfirmDialog-Cfq3D2Di.js → ConfirmDialog-Dk7wwcj9.js} +1 -1
- package/dist/frontend/{CreateSnapshotDialog-BHODxZWK.js → CreateSnapshotDialog-BPYjO1qN.js} +2 -2
- package/dist/frontend/{DatePicker-CZyCnQ1q.js → DatePicker-SiGLx9yh.js} +46 -46
- package/dist/frontend/{DeleteDialog-DaJOO6SB.js → DeleteDialog-D1jox8h1.js} +2 -2
- package/dist/frontend/{FolderNode-C_91NlEO.js → FolderNode-BG4l6I5C.js} +100 -99
- package/dist/frontend/{HiAiEditor-DtUGbQg6.js → HiAiEditor-BpmzvTCP.js} +977 -1008
- package/dist/frontend/{SettingsDialog-BlIZqk2-.js → SettingsDialog-2d6ZA4Ze.js} +3 -3
- package/dist/frontend/Sidebar-Db_ffhAb.js +2149 -0
- package/dist/frontend/{TagCreateDialog-BlGz4O9Z.js → TagCreateDialog-C5j3H49u.js} +2 -2
- package/dist/frontend/app-shell.js +3 -3
- 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/extensions.js +1 -1
- package/dist/frontend/components/editor/markdown-toggle.js +1 -1
- 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 +2 -2
- package/dist/frontend/components/settings.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/dashboard.js +1034 -1034
- package/dist/frontend/{dialog-tHAH3-9M.js → dialog-DC97Hnxo.js} +1 -1
- package/dist/frontend/dist-BLpDfrDC.js +316 -0
- package/dist/frontend/dist-D7zL6zdU.js +40 -0
- package/dist/frontend/{dist-Cg1BpNS7.js → dist-qd_OnyUC.js} +492 -516
- package/dist/frontend/dropdown-menu-COZwS7c0.js +493 -0
- package/dist/frontend/editorExtensions-Cu__YKW7.js +158 -0
- package/dist/frontend/ellipsis-vertical-CObXWXZW.js +41 -0
- package/dist/frontend/frontend.css +1 -1
- package/dist/frontend/{editorExtensions-B-mKiWqq.js → lib-DYgslUw1.js} +6782 -6935
- package/dist/frontend/loader-circle-DnyUzAmN.js +25 -0
- package/dist/frontend/{markdown-CMij27Gg.js → markdown-Co8ZAKf4.js} +2 -1
- package/dist/frontend/search.js +2 -2
- package/dist/frontend/{confirm-dialog-BFTxjLv-.js → share-context-DooXPYKd.js} +2 -3
- package/dist/frontend/theme.js +1 -1
- package/dist/frontend/{theme.svelte-Bzitjfh9.js → theme.svelte-gLPpG6eU.js} +1 -0
- package/dist/frontend-ssr/app-shell.js +3 -3
- package/dist/frontend-ssr/assets/{FolderNode-CClgk8BL.js → FolderNode-CscMQ9sf.js} +2 -1
- package/dist/frontend-ssr/assets/{HiAiEditor-_-m7MJDd.js → HiAiEditor-DCpulE6N.js} +4 -50
- package/dist/frontend-ssr/assets/{SettingsDialog-BdvHRAxF.js → SettingsDialog-CpPxZahd.js} +1 -1
- package/dist/frontend-ssr/assets/{Sidebar-B3Saqn0O.js → Sidebar-BJ1XZ1DH.js} +7 -5
- package/dist/frontend-ssr/assets/dist-CshZmNmp.js +50 -0
- package/dist/frontend-ssr/assets/dist-DqeAICTy.js +300 -0
- package/dist/frontend-ssr/assets/{dropdown-menu-CdEpn_LT.js → dropdown-menu--acO7nXs.js} +1 -94
- package/dist/frontend-ssr/assets/ellipsis-vertical-BErUuhWg.js +96 -0
- package/dist/frontend-ssr/assets/{markdown-MhPwNWrC.js → markdown-Co31-Tl2.js} +1 -1
- package/dist/frontend-ssr/assets/{confirm-dialog-DeOR0SnQ.js → share-context-BvXQrIIH.js} +0 -1
- package/dist/frontend-ssr/assets/{theme.svelte-shZrSxz8.js → theme.svelte-CGgnJc3k.js} +1 -0
- 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/extensions.js +1 -1
- package/dist/frontend-ssr/components/editor/markdown-toggle.js +1 -1
- 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/settings.js +1 -1
- package/dist/frontend-ssr/components/sidebar.js +1 -1
- package/dist/frontend-ssr/dashboard.js +6 -4
- package/dist/frontend-ssr/search.js +1 -1
- package/dist/frontend-ssr/theme.js +1 -1
- package/dist/lifecycle-runtime.js +2 -0
- package/dist/mcp-cli.js +4 -1
- package/dist/mcp-server.js +4 -1
- package/dist/types.d.ts +12 -0
- package/package.json +1 -1
- package/packages/cli/src/index.ts +1 -1
- package/packages/db/src/schema.ts +2 -0
- package/server.json +2 -2
- package/dist/frontend/Sidebar-BVGm5BRR.js +0 -2147
- package/dist/frontend/dropdown-menu-AJYeFPHu.js +0 -530
- package/dist/frontend-ssr/assets/{DatePicker-TZVeMZ2S.js → DatePicker-CCylVH0q.js} +12 -12
- package/dist/frontend-ssr/assets/{editorExtensions-qNlZVP98.js → editorExtensions-rhletNji.js} +1 -1
|
@@ -1,99 +1,6 @@
|
|
|
1
|
-
import { t as Icon } from "./Icon-Clqe8D8X.js";
|
|
2
1
|
import { t as cn } from "./utils-BK35BJKQ.js";
|
|
3
2
|
import { Q as mergeProps, S as noop, a as getFloatingContentCSSVars, d as MenuRootState, et as boxWith, f as MenuSeparatorState, i as Floating_layer, l as MenuItemState, n as Popper_layer, o as DropdownMenuTriggerState, r as Floating_layer_anchor, s as MenuContentState, t as Popper_layer_force_mount, u as MenuMenuState, x as createId } from "./popper-layer-force-mount-Djnq7l7a.js";
|
|
4
3
|
import * as $ from "svelte/internal/server";
|
|
5
|
-
//#region ../node_modules/.bun/lucide-svelte@1.0.1+7a2629d9b18e82d0/node_modules/lucide-svelte/dist/icons/ellipsis-vertical.svelte
|
|
6
|
-
function Ellipsis_vertical($$renderer, $$props) {
|
|
7
|
-
const $$sanitized_props = $.sanitize_props($$props);
|
|
8
|
-
/**
|
|
9
|
-
* @license lucide-svelte v1.0.1 - ISC
|
|
10
|
-
*
|
|
11
|
-
* ISC License
|
|
12
|
-
*
|
|
13
|
-
* Copyright (c) 2026 Lucide Icons and Contributors
|
|
14
|
-
*
|
|
15
|
-
* Permission to use, copy, modify, and/or distribute this software for any
|
|
16
|
-
* purpose with or without fee is hereby granted, provided that the above
|
|
17
|
-
* copyright notice and this permission notice appear in all copies.
|
|
18
|
-
*
|
|
19
|
-
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
20
|
-
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
21
|
-
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
22
|
-
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
23
|
-
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
24
|
-
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
|
25
|
-
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
26
|
-
*
|
|
27
|
-
* ---
|
|
28
|
-
*
|
|
29
|
-
* The following Lucide icons are derived from the Feather project:
|
|
30
|
-
*
|
|
31
|
-
* airplay, alert-circle, alert-octagon, alert-triangle, aperture, arrow-down-circle, arrow-down-left, arrow-down-right, arrow-down, arrow-left-circle, arrow-left, arrow-right-circle, arrow-right, arrow-up-circle, arrow-up-left, arrow-up-right, arrow-up, at-sign, calendar, cast, check, chevron-down, chevron-left, chevron-right, chevron-up, chevrons-down, chevrons-left, chevrons-right, chevrons-up, circle, clipboard, clock, code, columns, command, compass, corner-down-left, corner-down-right, corner-left-down, corner-left-up, corner-right-down, corner-right-up, corner-up-left, corner-up-right, crosshair, database, divide-circle, divide-square, dollar-sign, download, external-link, feather, frown, hash, headphones, help-circle, info, italic, key, layout, life-buoy, link-2, link, loader, lock, log-in, log-out, maximize, meh, minimize, minimize-2, minus-circle, minus-square, minus, monitor, moon, more-horizontal, more-vertical, move, music, navigation-2, navigation, octagon, pause-circle, percent, plus-circle, plus-square, plus, power, radio, rss, search, server, share, shopping-bag, sidebar, smartphone, smile, square, table-2, tablet, target, terminal, trash-2, trash, triangle, tv, type, upload, x-circle, x-octagon, x-square, x, zoom-in, zoom-out
|
|
32
|
-
*
|
|
33
|
-
* The MIT License (MIT) (for the icons listed above)
|
|
34
|
-
*
|
|
35
|
-
* Copyright (c) 2013-present Cole Bemis
|
|
36
|
-
*
|
|
37
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
38
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
39
|
-
* in the Software without restriction, including without limitation the rights
|
|
40
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
41
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
42
|
-
* furnished to do so, subject to the following conditions:
|
|
43
|
-
*
|
|
44
|
-
* The above copyright notice and this permission notice shall be included in all
|
|
45
|
-
* copies or substantial portions of the Software.
|
|
46
|
-
*
|
|
47
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
48
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
49
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
50
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
51
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
52
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
53
|
-
* SOFTWARE.
|
|
54
|
-
*
|
|
55
|
-
*/
|
|
56
|
-
Icon($$renderer, $.spread_props([
|
|
57
|
-
{ name: "ellipsis-vertical" },
|
|
58
|
-
$$sanitized_props,
|
|
59
|
-
{
|
|
60
|
-
/**
|
|
61
|
-
* @component @name EllipsisVertical
|
|
62
|
-
* @description Lucide SVG icon component, renders SVG Element with children.
|
|
63
|
-
*
|
|
64
|
-
* @preview  - https://lucide.dev/icons/ellipsis-vertical
|
|
65
|
-
* @see https://lucide.dev/guide/packages/lucide-svelte - Documentation
|
|
66
|
-
*
|
|
67
|
-
* @param {Object} props - Lucide icons props and any valid SVG attribute
|
|
68
|
-
* @returns {FunctionalComponent} Svelte component
|
|
69
|
-
*
|
|
70
|
-
*/
|
|
71
|
-
iconNode: [
|
|
72
|
-
["circle", {
|
|
73
|
-
"cx": "12",
|
|
74
|
-
"cy": "12",
|
|
75
|
-
"r": "1"
|
|
76
|
-
}],
|
|
77
|
-
["circle", {
|
|
78
|
-
"cx": "12",
|
|
79
|
-
"cy": "5",
|
|
80
|
-
"r": "1"
|
|
81
|
-
}],
|
|
82
|
-
["circle", {
|
|
83
|
-
"cx": "12",
|
|
84
|
-
"cy": "19",
|
|
85
|
-
"r": "1"
|
|
86
|
-
}]
|
|
87
|
-
],
|
|
88
|
-
children: ($$renderer) => {
|
|
89
|
-
$$renderer.push(`<!--[-->`);
|
|
90
|
-
$.slot($$renderer, $$props, "default", {}, null);
|
|
91
|
-
$$renderer.push(`<!--]-->`);
|
|
92
|
-
},
|
|
93
|
-
$$slots: { default: true }
|
|
94
|
-
}
|
|
95
|
-
]));
|
|
96
|
-
}
|
|
97
4
|
//#endregion
|
|
98
5
|
//#region ../node_modules/.bun/bits-ui@2.19.0+6b8313878b0747a6/node_modules/bits-ui/dist/bits/menu/components/menu-item.svelte
|
|
99
6
|
function Menu_item($$renderer, $$props) {
|
|
@@ -547,4 +454,4 @@ function Dropdown_menu_trigger($$renderer, $$props) {
|
|
|
547
454
|
});
|
|
548
455
|
}
|
|
549
456
|
//#endregion
|
|
550
|
-
export { Dropdown_menu as a, Dropdown_menu_content as i, Dropdown_menu_separator as n,
|
|
457
|
+
export { Dropdown_menu as a, Dropdown_menu_content as i, Dropdown_menu_separator as n, Dropdown_menu_item as r, Dropdown_menu_trigger as t };
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { t as Icon } from "./Icon-Clqe8D8X.js";
|
|
2
|
+
import * as $ from "svelte/internal/server";
|
|
3
|
+
//#region ../node_modules/.bun/lucide-svelte@1.0.1+7a2629d9b18e82d0/node_modules/lucide-svelte/dist/icons/ellipsis-vertical.svelte
|
|
4
|
+
function Ellipsis_vertical($$renderer, $$props) {
|
|
5
|
+
const $$sanitized_props = $.sanitize_props($$props);
|
|
6
|
+
/**
|
|
7
|
+
* @license lucide-svelte v1.0.1 - ISC
|
|
8
|
+
*
|
|
9
|
+
* ISC License
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2026 Lucide Icons and Contributors
|
|
12
|
+
*
|
|
13
|
+
* Permission to use, copy, modify, and/or distribute this software for any
|
|
14
|
+
* purpose with or without fee is hereby granted, provided that the above
|
|
15
|
+
* copyright notice and this permission notice appear in all copies.
|
|
16
|
+
*
|
|
17
|
+
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
18
|
+
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
19
|
+
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
20
|
+
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
21
|
+
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
22
|
+
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
|
23
|
+
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
24
|
+
*
|
|
25
|
+
* ---
|
|
26
|
+
*
|
|
27
|
+
* The following Lucide icons are derived from the Feather project:
|
|
28
|
+
*
|
|
29
|
+
* airplay, alert-circle, alert-octagon, alert-triangle, aperture, arrow-down-circle, arrow-down-left, arrow-down-right, arrow-down, arrow-left-circle, arrow-left, arrow-right-circle, arrow-right, arrow-up-circle, arrow-up-left, arrow-up-right, arrow-up, at-sign, calendar, cast, check, chevron-down, chevron-left, chevron-right, chevron-up, chevrons-down, chevrons-left, chevrons-right, chevrons-up, circle, clipboard, clock, code, columns, command, compass, corner-down-left, corner-down-right, corner-left-down, corner-left-up, corner-right-down, corner-right-up, corner-up-left, corner-up-right, crosshair, database, divide-circle, divide-square, dollar-sign, download, external-link, feather, frown, hash, headphones, help-circle, info, italic, key, layout, life-buoy, link-2, link, loader, lock, log-in, log-out, maximize, meh, minimize, minimize-2, minus-circle, minus-square, minus, monitor, moon, more-horizontal, more-vertical, move, music, navigation-2, navigation, octagon, pause-circle, percent, plus-circle, plus-square, plus, power, radio, rss, search, server, share, shopping-bag, sidebar, smartphone, smile, square, table-2, tablet, target, terminal, trash-2, trash, triangle, tv, type, upload, x-circle, x-octagon, x-square, x, zoom-in, zoom-out
|
|
30
|
+
*
|
|
31
|
+
* The MIT License (MIT) (for the icons listed above)
|
|
32
|
+
*
|
|
33
|
+
* Copyright (c) 2013-present Cole Bemis
|
|
34
|
+
*
|
|
35
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
36
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
37
|
+
* in the Software without restriction, including without limitation the rights
|
|
38
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
39
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
40
|
+
* furnished to do so, subject to the following conditions:
|
|
41
|
+
*
|
|
42
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
43
|
+
* copies or substantial portions of the Software.
|
|
44
|
+
*
|
|
45
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
46
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
47
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
48
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
49
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
50
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
51
|
+
* SOFTWARE.
|
|
52
|
+
*
|
|
53
|
+
*/
|
|
54
|
+
Icon($$renderer, $.spread_props([
|
|
55
|
+
{ name: "ellipsis-vertical" },
|
|
56
|
+
$$sanitized_props,
|
|
57
|
+
{
|
|
58
|
+
/**
|
|
59
|
+
* @component @name EllipsisVertical
|
|
60
|
+
* @description Lucide SVG icon component, renders SVG Element with children.
|
|
61
|
+
*
|
|
62
|
+
* @preview  - https://lucide.dev/icons/ellipsis-vertical
|
|
63
|
+
* @see https://lucide.dev/guide/packages/lucide-svelte - Documentation
|
|
64
|
+
*
|
|
65
|
+
* @param {Object} props - Lucide icons props and any valid SVG attribute
|
|
66
|
+
* @returns {FunctionalComponent} Svelte component
|
|
67
|
+
*
|
|
68
|
+
*/
|
|
69
|
+
iconNode: [
|
|
70
|
+
["circle", {
|
|
71
|
+
"cx": "12",
|
|
72
|
+
"cy": "12",
|
|
73
|
+
"r": "1"
|
|
74
|
+
}],
|
|
75
|
+
["circle", {
|
|
76
|
+
"cx": "12",
|
|
77
|
+
"cy": "5",
|
|
78
|
+
"r": "1"
|
|
79
|
+
}],
|
|
80
|
+
["circle", {
|
|
81
|
+
"cx": "12",
|
|
82
|
+
"cy": "19",
|
|
83
|
+
"r": "1"
|
|
84
|
+
}]
|
|
85
|
+
],
|
|
86
|
+
children: ($$renderer) => {
|
|
87
|
+
$$renderer.push(`<!--[-->`);
|
|
88
|
+
$.slot($$renderer, $$props, "default", {}, null);
|
|
89
|
+
$$renderer.push(`<!--]-->`);
|
|
90
|
+
},
|
|
91
|
+
$$slots: { default: true }
|
|
92
|
+
}
|
|
93
|
+
]));
|
|
94
|
+
}
|
|
95
|
+
//#endregion
|
|
96
|
+
export { Ellipsis_vertical as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as editorExtensions } from "./editorExtensions-
|
|
1
|
+
import { r as editorExtensions } from "./editorExtensions-rhletNji.js";
|
|
2
2
|
import { MarkdownManager } from "@tiptap/markdown";
|
|
3
3
|
//#region src/lib/components/editor/markdown.ts
|
|
4
4
|
var managerSingleton = null;
|
|
@@ -10,7 +10,6 @@ import { n as folders_new, t as folders_rename } from "./folders_rename-DvciOb6K
|
|
|
10
10
|
import { a as Dialog_content, i as Dialog_description, n as Dialog_header, o as Dialog, r as Dialog_footer, s as Button, t as Dialog_title } from "./dialog--tDgDGw9.js";
|
|
11
11
|
import { t as Input } from "./input-BlAj7LzC.js";
|
|
12
12
|
import { t as Label } from "./label-BRToaMg9.js";
|
|
13
|
-
import "./ConfirmDialog-CWO0HBaS.js";
|
|
14
13
|
import * as $ from "svelte/internal/server";
|
|
15
14
|
import { getContext, setContext } from "svelte";
|
|
16
15
|
//#region ../node_modules/.bun/lucide-svelte@1.0.1+7a2629d9b18e82d0/node_modules/lucide-svelte/dist/icons/check.svelte
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as HiAiEditor } from "../../assets/HiAiEditor-
|
|
1
|
+
import { t as HiAiEditor } from "../../assets/HiAiEditor-DCpulE6N.js";
|
|
2
2
|
import "svelte/internal/server";
|
|
3
3
|
//#region src/lib/components/editor/CompactEditor.svelte
|
|
4
4
|
function CompactEditor($$renderer, $$props) {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as HiAiEditor } from "../../assets/HiAiEditor-
|
|
1
|
+
import { t as HiAiEditor } from "../../assets/HiAiEditor-DCpulE6N.js";
|
|
2
2
|
export { HiAiEditor as DocsmintDocumentEditorHost };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as TextAlignParagraph, r as editorExtensions, t as TextAlignHeading } from "../../assets/editorExtensions-
|
|
1
|
+
import { n as TextAlignParagraph, r as editorExtensions, t as TextAlignHeading } from "../../assets/editorExtensions-rhletNji.js";
|
|
2
2
|
export { TextAlignHeading, TextAlignParagraph, editorExtensions };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as Copy } from "../../assets/copy-DRMKiRZ0.js";
|
|
2
2
|
import { n as editor_markdown_label, t as editor_markdown_placeholder } from "../../assets/editor_markdown_placeholder-BpezdkOr.js";
|
|
3
|
-
import "../../assets/markdown-
|
|
3
|
+
import "../../assets/markdown-Co31-Tl2.js";
|
|
4
4
|
import * as $ from "svelte/internal/server";
|
|
5
5
|
//#region src/lib/components/editor/MarkdownToggle.svelte
|
|
6
6
|
function MarkdownToggle($$renderer, $$props) {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as markdownToJson } from "../../assets/markdown-
|
|
1
|
+
import { t as markdownToJson } from "../../assets/markdown-Co31-Tl2.js";
|
|
2
2
|
export { markdownToJson };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as FolderNode } from "../assets/FolderNode-
|
|
1
|
+
import { t as FolderNode } from "../assets/FolderNode-CscMQ9sf.js";
|
|
2
2
|
export { FolderNode };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as SettingsDialog } from "../assets/SettingsDialog-
|
|
1
|
+
import { t as SettingsDialog } from "../assets/SettingsDialog-CpPxZahd.js";
|
|
2
2
|
export { SettingsDialog };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as Sidebar } from "../assets/Sidebar-
|
|
1
|
+
import { t as Sidebar } from "../assets/Sidebar-BJ1XZ1DH.js";
|
|
2
2
|
export { Sidebar };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as Icon } from "./assets/Icon-Clqe8D8X.js";
|
|
2
|
-
import { i as Folder_kanban, n as Badge, r as X, t as DatePicker } from "./assets/DatePicker-
|
|
3
|
-
import { a as File_text, i as Plus, o as Check, r as FolderDialog, t as getDocsmintShareAdapter } from "./assets/
|
|
2
|
+
import { i as Folder_kanban, n as Badge, r as X, t as DatePicker } from "./assets/DatePicker-CCylVH0q.js";
|
|
3
|
+
import { a as File_text, i as Plus, o as Check, r as FolderDialog, t as getDocsmintShareAdapter } from "./assets/share-context-BvXQrIIH.js";
|
|
4
4
|
import { t as Chevron_down } from "./assets/chevron-down-C6BTPJFz.js";
|
|
5
5
|
import { t as Chevron_right } from "./assets/chevron-right-CseGE1qd.js";
|
|
6
6
|
import { t as Copy } from "./assets/copy-DRMKiRZ0.js";
|
|
7
|
-
import {
|
|
7
|
+
import { t as Ellipsis_vertical } from "./assets/ellipsis-vertical-BErUuhWg.js";
|
|
8
8
|
import { n as Folder_open, t as FolderTreeSelector } from "./assets/FolderTreeSelector-DnrKCYtl.js";
|
|
9
9
|
import { t as Folder } from "./assets/folder-DszunwKc.js";
|
|
10
10
|
import { t as Loader_circle } from "./assets/loader-circle-BpRVrMZg.js";
|
|
@@ -27,15 +27,17 @@ import { n as apiFetch } from "./assets/client-rfwQYYHY.js";
|
|
|
27
27
|
import "./assets/categories-C_dxFoHi.js";
|
|
28
28
|
import { t as getFrontendExtensions } from "./assets/context-Bi_mO-NS.js";
|
|
29
29
|
import { t as resolveExtensions } from "./assets/resolve-BqHozBXl.js";
|
|
30
|
+
import "./assets/dist-DqeAICTy.js";
|
|
31
|
+
import { t as ConfirmDialog } from "./assets/ConfirmDialog-CWO0HBaS.js";
|
|
30
32
|
import { X as watch, Z as Context, et as boxWith, w as isBrowser } from "./assets/popper-layer-force-mount-Djnq7l7a.js";
|
|
31
33
|
import { a as Select, i as Select_content, n as Select_trigger, r as Select_item, t as Select_value } from "./assets/select-value-BCWSsoTd.js";
|
|
34
|
+
import { a as Dropdown_menu, i as Dropdown_menu_content, n as Dropdown_menu_separator, r as Dropdown_menu_item, t as Dropdown_menu_trigger } from "./assets/dropdown-menu--acO7nXs.js";
|
|
32
35
|
import { c as updateDocument, i as getDocument } from "./assets/documents-CEuA1V6N.js";
|
|
33
36
|
import { c as updateFolder, i as duplicateDocument } from "./assets/folders-BOXeb9hz.js";
|
|
34
37
|
import { t as ShareDialog } from "./assets/ShareDialog-DHPbSHZg.js";
|
|
35
38
|
import { t as copyToClipboard } from "./assets/clipboard-CXOaoz2W.js";
|
|
36
39
|
import { d as refreshFolders, n as bumpSubfoldersRefresh } from "./assets/subfolders-refresh-store.svelte-CXHxQWKh.js";
|
|
37
40
|
import { n as refreshDocs } from "./assets/tag-store.svelte-QRysvGKe.js";
|
|
38
|
-
import { t as ConfirmDialog } from "./assets/ConfirmDialog-CWO0HBaS.js";
|
|
39
41
|
import * as $ from "svelte/internal/server";
|
|
40
42
|
import { getAllContexts, mount, unmount } from "svelte";
|
|
41
43
|
import { page } from "$app/state";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as Icon } from "./assets/Icon-Clqe8D8X.js";
|
|
2
|
-
import { a as Calendar, i as Folder_kanban, r as X, t as DatePicker } from "./assets/DatePicker-
|
|
2
|
+
import { a as Calendar, i as Folder_kanban, r as X, t as DatePicker } from "./assets/DatePicker-CCylVH0q.js";
|
|
3
3
|
import { t as Chevron_down } from "./assets/chevron-down-C6BTPJFz.js";
|
|
4
4
|
import { t as Folder } from "./assets/folder-DszunwKc.js";
|
|
5
5
|
import { t as Rotate_ccw } from "./assets/rotate-ccw-1GOD_yt_.js";
|
|
@@ -37826,6 +37826,8 @@ var documentPipelineRuns = pgTable("document_pipeline_runs", {
|
|
|
37826
37826
|
completedBatches: integer("completed_batches").notNull().default(0),
|
|
37827
37827
|
failedBatches: integer("failed_batches").notNull().default(0),
|
|
37828
37828
|
errorCode: text("error_code"),
|
|
37829
|
+
graphErrorCode: text("graph_error_code"),
|
|
37830
|
+
summarizeErrorCode: text("summarize_error_code"),
|
|
37829
37831
|
attempts: integer("attempts").notNull().default(0),
|
|
37830
37832
|
requestedAt: timestamp("requested_at").defaultNow().notNull(),
|
|
37831
37833
|
startedAt: timestamp("started_at"),
|
package/dist/mcp-cli.js
CHANGED
|
@@ -140,6 +140,9 @@ class DocsClient {
|
|
|
140
140
|
async getDocumentPipeline(id, context) {
|
|
141
141
|
return this.request("GET", `/api/documents/${encodeURIComponent(id)}/pipeline`, undefined, context);
|
|
142
142
|
}
|
|
143
|
+
async retryDocumentPipelineWarnings(id, context) {
|
|
144
|
+
return this.request("POST", `/api/documents/${encodeURIComponent(id)}/pipeline/retry-warnings`, undefined, context);
|
|
145
|
+
}
|
|
143
146
|
async getDocumentKnowledgeSummary(id, context) {
|
|
144
147
|
return this.request("GET", `/api/documents/${encodeURIComponent(id)}/knowledge-summary`, undefined, context);
|
|
145
148
|
}
|
|
@@ -1046,7 +1049,7 @@ function registerDocsmintMcpCapabilities(server, client2) {
|
|
|
1046
1049
|
registerExtendedCapabilities(server, client2, (handler11) => wrapHandler("extended", handler11));
|
|
1047
1050
|
}
|
|
1048
1051
|
function createDocsmintMcpServer(options = {}) {
|
|
1049
|
-
const server = new McpServer({ name: "docsmint", version: "0.8.
|
|
1052
|
+
const server = new McpServer({ name: "docsmint", version: "0.8.2" });
|
|
1050
1053
|
const client2 = options.docsClient ? createMcpDocsClient(options.docsClient, options.requestContext) : options.client ?? createMcpDocsClient(createDefaultDocsClient(), options.requestContext);
|
|
1051
1054
|
registerDocsmintMcpCapabilities(server, client2);
|
|
1052
1055
|
return server;
|
package/dist/mcp-server.js
CHANGED
|
@@ -136,6 +136,9 @@ class DocsClient {
|
|
|
136
136
|
async getDocumentPipeline(id, context) {
|
|
137
137
|
return this.request("GET", `/api/documents/${encodeURIComponent(id)}/pipeline`, undefined, context);
|
|
138
138
|
}
|
|
139
|
+
async retryDocumentPipelineWarnings(id, context) {
|
|
140
|
+
return this.request("POST", `/api/documents/${encodeURIComponent(id)}/pipeline/retry-warnings`, undefined, context);
|
|
141
|
+
}
|
|
139
142
|
async getDocumentKnowledgeSummary(id, context) {
|
|
140
143
|
return this.request("GET", `/api/documents/${encodeURIComponent(id)}/knowledge-summary`, undefined, context);
|
|
141
144
|
}
|
|
@@ -1042,7 +1045,7 @@ function registerDocsmintMcpCapabilities(server, client2) {
|
|
|
1042
1045
|
registerExtendedCapabilities(server, client2, (handler11) => wrapHandler("extended", handler11));
|
|
1043
1046
|
}
|
|
1044
1047
|
function createDocsmintMcpServer(options = {}) {
|
|
1045
|
-
const server = new McpServer({ name: "docsmint", version: "0.8.
|
|
1048
|
+
const server = new McpServer({ name: "docsmint", version: "0.8.2" });
|
|
1046
1049
|
const client2 = options.docsClient ? createMcpDocsClient(options.docsClient, options.requestContext) : options.client ?? createMcpDocsClient(createDefaultDocsClient(), options.requestContext);
|
|
1047
1050
|
registerDocsmintMcpCapabilities(server, client2);
|
|
1048
1051
|
return server;
|
package/dist/types.d.ts
CHANGED
|
@@ -357,8 +357,20 @@ export interface DocsDocumentPipeline {
|
|
|
357
357
|
completed: number;
|
|
358
358
|
failed: number;
|
|
359
359
|
};
|
|
360
|
+
warnings: DocsPipelineWarning[];
|
|
360
361
|
updatedAt: string;
|
|
361
362
|
}
|
|
363
|
+
export interface DocsPipelineWarning {
|
|
364
|
+
stage: "graph" | "summarize";
|
|
365
|
+
code: string;
|
|
366
|
+
retryable: boolean;
|
|
367
|
+
}
|
|
368
|
+
export interface DocsPipelineWarningRetry {
|
|
369
|
+
documentId: string;
|
|
370
|
+
generationId: string;
|
|
371
|
+
retriedStages: Array<"graph" | "summarize">;
|
|
372
|
+
deduplicated: boolean;
|
|
373
|
+
}
|
|
362
374
|
export interface DocsDocumentKnowledgeSummary {
|
|
363
375
|
documentId: string;
|
|
364
376
|
generationId: string;
|
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.8.
|
|
28
|
+
const VERSION = '0.8.2';
|
|
29
29
|
|
|
30
30
|
const program = new Command();
|
|
31
31
|
program.name('docsmint').description('CLI for the DocsMint knowledge workspace').version(VERSION);
|
|
@@ -296,6 +296,8 @@ export const documentPipelineRuns = pgTable(
|
|
|
296
296
|
completedBatches: integer("completed_batches").notNull().default(0),
|
|
297
297
|
failedBatches: integer("failed_batches").notNull().default(0),
|
|
298
298
|
errorCode: text("error_code"),
|
|
299
|
+
graphErrorCode: text("graph_error_code"),
|
|
300
|
+
summarizeErrorCode: text("summarize_error_code"),
|
|
299
301
|
attempts: integer("attempts").notNull().default(0),
|
|
300
302
|
requestedAt: timestamp("requested_at").defaultNow().notNull(),
|
|
301
303
|
startedAt: timestamp("started_at"),
|
package/server.json
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"id": "1249550690",
|
|
11
11
|
"subfolder": "packages/mcp-server"
|
|
12
12
|
},
|
|
13
|
-
"version": "0.8.
|
|
13
|
+
"version": "0.8.2",
|
|
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.
|
|
33
|
+
"version": "0.8.2",
|
|
34
34
|
"runtimeHint": "npx",
|
|
35
35
|
"transport": {
|
|
36
36
|
"type": "stdio"
|