@hiai-gg/docsmint 2.0.4 → 2.1.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/README.md +67 -2
- package/dist/backend/index.js +22540 -2807
- package/dist/backend-account-runtime-cleanup.js +2 -1
- package/dist/backend-api-key-facade.js +2 -1
- package/dist/backend-pipeline-cancellation.js +2 -1
- package/dist/client.d.ts +33 -7
- package/dist/client.js +55 -1
- package/dist/frontend/{HiAiEditor-DDpfdQEg.js → HiAiEditor-D6ad_auS.js} +2 -2
- package/dist/frontend/{SettingsDialog-DzlYW50I.js → SettingsDialog-B8Oswuqb.js} +4 -4
- package/dist/frontend/{Sidebar-rFiVen96.js → Sidebar-BV0IDqTS.js} +1 -1
- package/dist/frontend/api/settings.js +1 -1
- package/dist/frontend/app-shell.js +2 -2
- package/dist/frontend/{auth-client-CXR-7mIO.js → auth-client-C5EyWdAF.js} +416 -349
- package/dist/frontend/components/editor/compact-editor.js +1 -1
- package/dist/frontend/components/editor/document-editor.js +1 -1
- package/dist/frontend/components/settings.js +1 -1
- package/dist/frontend/components/sidebar.js +1 -1
- package/dist/frontend/{db-Dya0HRhS.js → db-CgTtukT4.js} +1 -1
- package/dist/frontend/{identity-BOA7Jejv.js → identity-CNhtuCJV.js} +1 -1
- package/dist/frontend/offline/identity.js +1 -1
- package/dist/frontend/{settings-BRcYFQa_.js → settings-CHx4wBwb.js} +1 -1
- package/dist/frontend-ssr/api/settings.js +1 -1
- package/dist/frontend-ssr/app-shell.js +2 -2
- package/dist/frontend-ssr/assets/{HiAiEditor-Bj6tiE97.js → HiAiEditor-Cj3B2Dt6.js} +2 -2
- package/dist/frontend-ssr/assets/{SettingsDialog-h4SFwpUa.js → SettingsDialog-DAT-Zxu0.js} +4 -4
- package/dist/frontend-ssr/assets/{Sidebar-BFBpsd3L.js → Sidebar-B_Ey6QNL.js} +1 -1
- package/dist/frontend-ssr/assets/{auth-client-BC4hSFKF.js → auth-client-CITU3xkE.js} +308 -227
- package/dist/frontend-ssr/assets/{db-C3rFdTZa.js → db-DxRzq-kx.js} +1 -1
- package/dist/frontend-ssr/assets/{identity-DNIo1bgc.js → identity-B7ngLQzZ.js} +1 -1
- package/dist/frontend-ssr/assets/{settings-DWCpfCPj.js → settings-BRxvn30Y.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/settings.js +1 -1
- package/dist/frontend-ssr/components/sidebar.js +1 -1
- package/dist/frontend-ssr/offline/identity.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/lifecycle-runtime.js +4 -1
- package/dist/mcp-cli.js +301 -22
- package/dist/mcp-server.d.ts +92 -23
- package/dist/mcp-server.js +469 -22
- package/dist/types.d.ts +68 -1
- package/package.json +2 -2
- package/packages/cli/src/index.ts +1 -1
- package/packages/db/src/schema.ts +3 -1
- package/server.json +2 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../HiAiEditor-
|
|
1
|
+
import { t as e } from "../../HiAiEditor-D6ad_auS.js";
|
|
2
2
|
export { e as DocsmintDocumentEditorHost };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../SettingsDialog-
|
|
1
|
+
import { t as e } from "../SettingsDialog-B8Oswuqb.js";
|
|
2
2
|
export { e as SettingsDialog };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../Sidebar-
|
|
1
|
+
import { t as e } from "../Sidebar-BV0IDqTS.js";
|
|
2
2
|
export { e as Sidebar };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as e, t } from "./rolldown-runtime-DArdT4gl.js";
|
|
2
|
-
import { i as n } from "./identity-
|
|
2
|
+
import { i as n } from "./identity-CNhtuCJV.js";
|
|
3
3
|
//#endregion
|
|
4
4
|
//#region ../node_modules/.bun/dexie@4.4.5/node_modules/dexie/import-wrapper-prod.mjs
|
|
5
5
|
var r = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as e } from "./auth-client-
|
|
1
|
+
import { n as e } from "./auth-client-C5EyWdAF.js";
|
|
2
2
|
//#region src/lib/offline/identity.ts
|
|
3
3
|
var t = "hiai-docs:offline-owner-id", n = "hiai-docs:offline-binding", r = "hiai-docs:offline-access-enabled", i = 6048e5;
|
|
4
4
|
function a() {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, i as t, n, o as r, r as i, t as a } from "../identity-
|
|
1
|
+
import { a as e, i as t, n, o as r, r as i, t as a } from "../identity-CNhtuCJV.js";
|
|
2
2
|
export { a as disableOfflineAccess, n as enableOfflineAccess, i as offlineAccessEnabled, t as offlineDbName, e as resolveOfflineIdentity, r as resolveOfflineIdentityResolution };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as updateProfile, i as updateEmbeddingConfig, n as getEmbeddingConfig, r as getProfile, t as deleteAccount } from "../assets/settings-
|
|
1
|
+
import { a as updateProfile, i as updateEmbeddingConfig, n as getEmbeddingConfig, r as getProfile, t as deleteAccount } from "../assets/settings-BRxvn30Y.js";
|
|
2
2
|
export { deleteAccount, getEmbeddingConfig, getProfile, updateEmbeddingConfig, updateProfile };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as Icon } from "./assets/Icon-DE_3EnuF.js";
|
|
2
2
|
import { n as provideDocsmintShareAdapter, t as getDocsmintShareAdapter } from "./assets/share-context-B4UpvTSw.js";
|
|
3
|
-
import { n as searchPreferences } from "./assets/SettingsDialog-
|
|
4
|
-
import { t as Sidebar } from "./assets/Sidebar-
|
|
3
|
+
import { n as searchPreferences } from "./assets/SettingsDialog-DAT-Zxu0.js";
|
|
4
|
+
import { t as Sidebar } from "./assets/Sidebar-B_Ey6QNL.js";
|
|
5
5
|
import { t as scroll_to_top_aria } from "./assets/scroll_to_top_aria-BN4ZfOnM.js";
|
|
6
6
|
import { o as provideDocsmintRequestAdapter, r as provideDocsmintRouteAdapter } from "./assets/route-context-BPRerEtZ.js";
|
|
7
7
|
import { t as editorPreferences } from "./assets/editor-preferences.svelte-iI5jJM1x.js";
|
|
@@ -9,8 +9,8 @@ import { t as version_create_snapshot } from "./version_create_snapshot-COHzwjle
|
|
|
9
9
|
import { a as getDocsmintRequestAdapter } from "./route-context-BPRerEtZ.js";
|
|
10
10
|
import { a as Dialog_content, n as Dialog_header, o as Dialog, r as Dialog_footer, s as Button, t as Dialog_title } from "./dialog-SqCnTT43.js";
|
|
11
11
|
import { t as Input } from "./input-DVrBVPgs.js";
|
|
12
|
-
import { a as resolveOfflineIdentity } from "./identity-
|
|
13
|
-
import { n as getOfflineDB } from "./db-
|
|
12
|
+
import { a as resolveOfflineIdentity } from "./identity-B7ngLQzZ.js";
|
|
13
|
+
import { n as getOfflineDB } from "./db-DxRzq-kx.js";
|
|
14
14
|
import { n as createEditor, t as EditorContent } from "./dist-CqxHwOlp.js";
|
|
15
15
|
import { h as unregisterShortcut, u as registerShortcut } from "./keyboard.svelte-BgF47N3L.js";
|
|
16
16
|
import { i as sanitizeEditorContent, r as removeUnavailableAttachmentImages } from "./editor-content-sanitizer-Gjm93iR-.js";
|
|
@@ -6,14 +6,14 @@ import { t as cn } from "./utils-D3X7I8nz.js";
|
|
|
6
6
|
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-SqCnTT43.js";
|
|
7
7
|
import { t as Input } from "./input-DVrBVPgs.js";
|
|
8
8
|
import { t as Label } from "./label-vtCK3pTp.js";
|
|
9
|
-
import { r as signOut } from "./auth-client-
|
|
10
|
-
import { r as getProfile } from "./settings-
|
|
9
|
+
import { r as signOut } from "./auth-client-CITU3xkE.js";
|
|
10
|
+
import { r as getProfile } from "./settings-BRxvn30Y.js";
|
|
11
11
|
import { a as listApiKeys, i as createGlobalApiKey, n as categoryIdFromScopes, o as revealCategoryApiKey, s as revokeApiKey, t as apiKeyClipboardValue } from "./api-keys-CHOrbU-Q.js";
|
|
12
12
|
import { i as listCategories } from "./categories-C_dxFoHi.js";
|
|
13
13
|
import { t as getFrontendExtensions } from "./context-Bi_mO-NS.js";
|
|
14
14
|
import { t as resolveExtensions } from "./resolve-BqHozBXl.js";
|
|
15
|
-
import { a as resolveOfflineIdentity, t as disableOfflineAccess } from "./identity-
|
|
16
|
-
import { n as getOfflineDB, t as deleteOfflineDB } from "./db-
|
|
15
|
+
import { a as resolveOfflineIdentity, t as disableOfflineAccess } from "./identity-B7ngLQzZ.js";
|
|
16
|
+
import { n as getOfflineDB, t as deleteOfflineDB } from "./db-DxRzq-kx.js";
|
|
17
17
|
import { t as editorPreferences } from "./editor-preferences.svelte-iI5jJM1x.js";
|
|
18
18
|
import { t as themeStore } from "./theme.svelte-D6bbaJ9m.js";
|
|
19
19
|
import * as $ from "svelte/internal/server";
|
|
@@ -7,7 +7,7 @@ import { t as Copy } from "./copy-BYqYnBIQ.js";
|
|
|
7
7
|
import { t as Ellipsis_vertical } from "./ellipsis-vertical-Cg1MrZsl.js";
|
|
8
8
|
import { t as Folder } from "./folder-DHB-CEcQ.js";
|
|
9
9
|
import { t as Loader_circle } from "./loader-circle-D3NWhCif.js";
|
|
10
|
-
import { t as SettingsDialog } from "./SettingsDialog-
|
|
10
|
+
import { t as SettingsDialog } from "./SettingsDialog-DAT-Zxu0.js";
|
|
11
11
|
import { n as Search, t as Tag } from "./tag-Cqv0fWVG.js";
|
|
12
12
|
import { t as action_cancel } from "./action_cancel-OVgQDP5Q.js";
|
|
13
13
|
import { a as action_copy_content, i as dashboard_title, n as folders_delete_title, t as sidebar_uncategorized } from "./sidebar_uncategorized-Dx-LTd5w.js";
|