react-reason-editor 1.0.165 → 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.
@@ -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;