@hiai-gg/docsmint 0.4.0 → 0.4.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.
@@ -214237,7 +214237,7 @@ var swaggerConfig = {
214237
214237
  documentation: {
214238
214238
  info: {
214239
214239
  title: "DocsMint API",
214240
- version: "0.4.0",
214240
+ version: "0.4.1",
214241
214241
  description: "Self-hosted AI-first documentation platform. Full-text + semantic search, version history, sharing, and folder organization.",
214242
214242
  contact: { name: "HiAi-gg", url: "https://github.com/HiAi-gg/docsmint" },
214243
214243
  license: {
@@ -1,8 +1,16 @@
1
1
  import type { Component, Snippet } from "svelte";
2
+ export interface DocsmintNavigationOptions {
3
+ replaceState?: boolean;
4
+ noScroll?: boolean;
5
+ keepFocus?: boolean;
6
+ invalidateAll?: boolean;
7
+ state?: App.PageState;
8
+ }
2
9
  export interface DocsmintRouteAdapter {
3
10
  pathname: string;
4
11
  resolve(path: string): string;
5
- navigate?(path: string): void | Promise<void>;
12
+ navigate?(path: string, options?: DocsmintNavigationOptions): void | Promise<void>;
6
13
  }
7
- export interface DocsmintAppShellHostProps { route: DocsmintRouteAdapter; extensions?: Record<string, unknown>; children: Snippet; }
14
+ export interface DocsmintRequestAdapter { fetch: typeof fetch; }
15
+ export interface DocsmintAppShellHostProps { route: DocsmintRouteAdapter; request?: DocsmintRequestAdapter; extensions?: Record<string, unknown>; children: Snippet; }
8
16
  export declare const DocsmintAppShellHost: Component<DocsmintAppShellHostProps>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hiai-gg/docsmint",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "type": "module",
5
5
  "browser": {
6
6
  "./dist/backend-launcher.js": false,
@@ -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.4.0";
27
+ const VERSION = "0.4.1";
28
28
 
29
29
  const program = new Command();
30
30
  program
@@ -35,7 +35,7 @@ interface McpToolResult {
35
35
 
36
36
  const server = new McpServer({
37
37
  name: "hiai-docs",
38
- version: "0.4.0",
38
+ version: "0.4.1",
39
39
  });
40
40
 
41
41
  /**