react-reason-editor 1.0.166 → 1.0.167
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/dist/{BubbleMenus-FfgNfh6Y.cjs → BubbleMenus-DqztkDbh.cjs} +1 -1
- package/dist/{ReasonDocs-CMhTDLC-.cjs → ReasonDocs-r0pgprAw.cjs} +1 -1
- package/dist/{ReasonDocs-BclN3QWd.js → ReasonDocs-ttDK1H2U.js} +1 -1
- package/dist/{RichTextProvider-BPoiX8UM.cjs → RichTextProvider-5tJ58Jd3.cjs} +1 -1
- package/dist/{RichTextProvider-C0vjZBR9.js → RichTextProvider-B9V-6yCh.js} +1 -1
- package/dist/docs-agent/plate/ui/slash-node.d.ts +22 -1
- package/dist/docs-agent.cjs +1 -1
- package/dist/docs-agent.js +1 -1
- package/dist/editor-kit.cjs +1 -1
- package/dist/editor-kit.js +1 -1
- package/dist/editorConfig-CDQ1cqBk.js +18 -0
- package/dist/editorConfig-Nlnbb5zI.cjs +1 -0
- package/dist/extensions/Ai/lib/rewriteEndpoint.d.ts +5 -0
- package/dist/{html-to-docx.esm-BXXvDBHn-CEg-rexN.cjs → html-to-docx.esm-BXXvDBHn-Ck2Lm2Rn.cjs} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/reason-docs.cjs +1 -1
- package/dist/reason-docs.js +1 -1
- package/dist/{reason-toolbar-skin-Mg45z27J.js → reason-toolbar-skin-B62eL3ng.js} +246 -246
- package/dist/reason-toolbar-skin-CBgQqHPn.cjs +1 -0
- package/package.json +2 -2
- package/dist/editorConfig-BJeXCimT.cjs +0 -1
- package/dist/editorConfig-bKWvUr1h.js +0 -18
- package/dist/reason-toolbar-skin-CGqwfyDi.cjs +0 -1
|
@@ -13,5 +13,10 @@ export declare const DEFAULT_AI_ENDPOINT = "/api/agent/rewrite";
|
|
|
13
13
|
* whole instruction as one prompt, so a plain rewrite route needs no changes to
|
|
14
14
|
* serve every command in the menu. An empty `endpoint` returns the offline demo
|
|
15
15
|
* transform, which is what keeps the menu usable with no backend at all.
|
|
16
|
+
*
|
|
17
|
+
* `stream: true` asks for a token stream, which is what fills the review panel
|
|
18
|
+
* in as the model writes. It is a hint, not a requirement: a route that ignores
|
|
19
|
+
* it answers with its usual JSON body and `createStreamingCompletion` reports
|
|
20
|
+
* that as a single chunk, so the panel still works — it just arrives at once.
|
|
16
21
|
*/
|
|
17
22
|
export declare function createRewriteCompletion(endpoint: string): AiCompletionFn;
|