@rynx-ai/server 0.1.11-beta.23 → 0.1.11-beta.25

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.
@@ -736,12 +736,15 @@ export function createControlRouter(opts) {
736
736
  const body = await readRuntimeBody(ctx);
737
737
  if (!body)
738
738
  return;
739
- if (!acceptRuntimeBodyKeys(ctx, body, ["model", "reasoningEffort"]))
739
+ if (!acceptRuntimeBodyKeys(ctx, body, ["model", "reasoningEffort", "collaborationMode"]))
740
740
  return;
741
741
  const outcome = await runtimeCall(ctx, "session.execution.update", {
742
742
  sessionId: ctx.params.id,
743
743
  model: body.model,
744
744
  reasoningEffort: body.reasoningEffort,
745
+ ...(body.collaborationMode === undefined
746
+ ? {}
747
+ : { collaborationMode: body.collaborationMode }),
745
748
  });
746
749
  if (outcome.ok)
747
750
  ctx.body = outcome.result;
@@ -1 +1 @@
1
- import{R as x,L as d,A as f}from"./mermaid-GHXKKRXX-DPZO2Q9W.js";import{r,j as p}from"./index-D-5t2eCT.js";var R=({code:i,language:e,raw:a,className:u,startLine:m,lineNumbers:n,...g})=>{let{shikiTheme:l}=r.useContext(x),s=d(),[h,t]=r.useState(a);return r.useEffect(()=>{if(!s){t(a);return}let o=s.highlight({code:i,language:e,themes:l},c=>{t(c)});o&&t(o)},[i,e,l,s,a]),p.jsx(f,{className:u,language:e,lineNumbers:n,result:h,startLine:m,...g})};export{R as HighlightedCodeBlockBody};
1
+ import{R as x,L as d,A as f}from"./mermaid-GHXKKRXX-BkqCCgCk.js";import{r,j as p}from"./index-C1ODT189.js";var R=({code:i,language:e,raw:a,className:u,startLine:m,lineNumbers:n,...g})=>{let{shikiTheme:l}=r.useContext(x),s=d(),[h,t]=r.useState(a);return r.useEffect(()=>{if(!s){t(a);return}let o=s.highlight({code:i,language:e,themes:l},c=>{t(c)});o&&t(o)},[i,e,l,s,a]),p.jsx(f,{className:u,language:e,lineNumbers:n,result:h,startLine:m,...g})};export{R as HighlightedCodeBlockBody};