@skaile/forge-editor 6.0.0 → 6.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/CHANGELOG.md +12 -0
- package/dist/code/CodeSurface.vue.d.ts +2 -2
- package/dist/document/DocumentSurface.vue.d.ts +2 -2
- package/dist/features/ai/protocol/generate.d.ts +1 -1
- package/dist/markdown/MarkdownSurface.vue.d.ts +8 -8
- package/dist/nuxt/module.d.ts +11 -2013
- package/dist/nuxt/module.js +26 -22
- package/dist/nuxt/module.js.map +1 -1
- package/dist/server/handlers/ai.d.ts +1 -1
- package/dist/tree/tree-host.js +1 -1
- package/dist/vue/AdvancedEditor.vue.d.ts +6 -6
- package/dist/vue/SimpleEditor.vue.d.ts +6 -6
- package/dist/vue/components/EditorSurface.vue.d.ts +6 -6
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 6.1.0 - 2026-10-28
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
|
|
7
|
+
- Nuxt module option `server` (default `true`). With `tiptapEditor: { server: false }` the module adds only the build wiring (stylesheets, transpile, Tailwind `@source`, public AI configuration): no `/api/editor/*` or `/api/ai/*` routes, no websocket, no server config and no client context plugin. For a client-only editor host or a host that serves its own `/api/editor/*`; the host installs the editor context itself.
|
|
8
|
+
|
|
9
|
+
## 6.0.1 - 2026-10-28
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
|
|
13
|
+
- The optional `@skaile/forge-app-actions` peer accepts `^0.4.0`, so a host on forge-app-actions 0.4 (for example through `@skaile/forge-app`) installs the editor without an ERESOLVE override. Tested against 0.4.0.
|
|
14
|
+
|
|
3
15
|
## 6.0.0 - 2026-10-28
|
|
4
16
|
|
|
5
17
|
### Changed (breaking)
|
|
@@ -11,13 +11,13 @@ type __VLS_Props = {
|
|
|
11
11
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
|
|
12
12
|
view: import("vue").ShallowRef<EditorView | undefined, EditorView | undefined>;
|
|
13
13
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
|
+
ready: (view: EditorView) => any;
|
|
14
15
|
"update:modelValue": (text: string) => any;
|
|
15
16
|
save: (text: string) => any;
|
|
16
|
-
ready: (view: EditorView) => any;
|
|
17
17
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
18
|
+
onReady?: ((view: EditorView) => any) | undefined;
|
|
18
19
|
"onUpdate:modelValue"?: ((text: string) => any) | undefined;
|
|
19
20
|
onSave?: ((text: string) => any) | undefined;
|
|
20
|
-
onReady?: ((view: EditorView) => any) | undefined;
|
|
21
21
|
}>, {
|
|
22
22
|
modelValue: string;
|
|
23
23
|
editable: boolean;
|
|
@@ -32,13 +32,13 @@ type __VLS_Slots = {} & { [K in NonNullable<typeof __VLS_13>]?: (props: typeof _
|
|
|
32
32
|
binary?: (props: typeof __VLS_26) => any;
|
|
33
33
|
};
|
|
34
34
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
35
|
+
ready: (target: DocumentSurfaceTarget) => any;
|
|
35
36
|
"update:modelValue": (text: string) => any;
|
|
36
37
|
save: (text: string) => any;
|
|
37
|
-
ready: (target: DocumentSurfaceTarget) => any;
|
|
38
38
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
39
|
+
onReady?: ((target: DocumentSurfaceTarget) => any) | undefined;
|
|
39
40
|
"onUpdate:modelValue"?: ((text: string) => any) | undefined;
|
|
40
41
|
onSave?: ((text: string) => any) | undefined;
|
|
41
|
-
onReady?: ((target: DocumentSurfaceTarget) => any) | undefined;
|
|
42
42
|
}>, {
|
|
43
43
|
modelValue: string;
|
|
44
44
|
editable: boolean;
|
|
@@ -17,8 +17,8 @@ export type ChatStream = (messages: ChatMessage[], signal: AbortSignal) => Async
|
|
|
17
17
|
export declare const generateBodySchema: z.ZodObject<{
|
|
18
18
|
task: z.ZodEnum<{
|
|
19
19
|
custom: "custom";
|
|
20
|
-
generate: "generate";
|
|
21
20
|
continue: "continue";
|
|
21
|
+
generate: "generate";
|
|
22
22
|
reformulate: "reformulate";
|
|
23
23
|
"transcript-summary": "transcript-summary";
|
|
24
24
|
"transcript-minutes": "transcript-minutes";
|
|
@@ -41,24 +41,24 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
|
41
41
|
settingsOpen: import("vue").WritableComputedRef<boolean, boolean>;
|
|
42
42
|
settingsTab: import("vue").WritableComputedRef<string | undefined, string | undefined>;
|
|
43
43
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
44
|
-
"update:modelValue": (markdown: string) => any;
|
|
45
|
-
ready: (editor: Editor) => any;
|
|
46
|
-
settingsOpen: (tab?: string | undefined) => any;
|
|
47
44
|
"update:sidebarOpen": (value: boolean) => any;
|
|
48
45
|
"update:commentsOpen": (value: boolean) => any;
|
|
49
|
-
|
|
46
|
+
ready: (editor: Editor) => any;
|
|
47
|
+
"update:modelValue": (markdown: string) => any;
|
|
50
48
|
metadataCreate: (list: string, item: MetadataItem) => any;
|
|
51
49
|
contentError: (error: Error) => any;
|
|
50
|
+
settingsOpen: (tab?: string | undefined) => any;
|
|
51
|
+
frontmatter: (frontmatter: string | null) => any;
|
|
52
52
|
diagnostics: (diagnostics: MarkdownDiagnostic[]) => any;
|
|
53
53
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
54
|
-
"onUpdate:modelValue"?: ((markdown: string) => any) | undefined;
|
|
55
|
-
onReady?: ((editor: Editor) => any) | undefined;
|
|
56
|
-
onSettingsOpen?: ((tab?: string | undefined) => any) | undefined;
|
|
57
54
|
"onUpdate:sidebarOpen"?: ((value: boolean) => any) | undefined;
|
|
58
55
|
"onUpdate:commentsOpen"?: ((value: boolean) => any) | undefined;
|
|
59
|
-
|
|
56
|
+
onReady?: ((editor: Editor) => any) | undefined;
|
|
57
|
+
"onUpdate:modelValue"?: ((markdown: string) => any) | undefined;
|
|
60
58
|
onMetadataCreate?: ((list: string, item: MetadataItem) => any) | undefined;
|
|
61
59
|
onContentError?: ((error: Error) => any) | undefined;
|
|
60
|
+
onSettingsOpen?: ((tab?: string | undefined) => any) | undefined;
|
|
61
|
+
onFrontmatter?: ((frontmatter: string | null) => any) | undefined;
|
|
62
62
|
onDiagnostics?: ((diagnostics: MarkdownDiagnostic[]) => any) | undefined;
|
|
63
63
|
}>, {
|
|
64
64
|
modelValue: string;
|