@theoremjs/studio 0.3.5-next.930.gfb5cd40 → 0.3.5-next.931.ge6a1c43

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.
Files changed (44) hide show
  1. package/README.md +1 -0
  2. package/package.json +4 -4
  3. package/page/assets/{BottomSheet-CrGbcw5t.js → BottomSheet-DX51jbK_.js} +1 -1
  4. package/page/assets/{ConsoleFrame-C9vLj5eB.js → ConsoleFrame-CksAf5uY.js} +1 -1
  5. package/page/assets/{ContextMenu-BJQMSTYY.js → ContextMenu-C3kBB916.js} +2 -2
  6. package/page/assets/{DateInput-Sz7oqzQb.js → DateInput-BliKispj.js} +1 -1
  7. package/page/assets/{DropdownMenu-DM3n-ljP.js → DropdownMenu-fHC7mvyh.js} +2 -2
  8. package/page/assets/{Link-zONuodRM.js → Link-Dm5qVs_y.js} +1 -1
  9. package/page/assets/{MenuBottomSheet-DM9GndS5.js → MenuBottomSheet-CCSIWNwi.js} +1 -1
  10. package/page/assets/{PowerSearchBottomSheet-Bd2ezwgn.js → PowerSearchBottomSheet-D_iImJU3.js} +1 -1
  11. package/page/assets/{RankedBars-4rQFTyqI.js → RankedBars-CwbEE0iU.js} +1 -1
  12. package/page/assets/{SchemaFields-C5FZQTdP.js → SchemaFields-DGdW1UcM.js} +1 -1
  13. package/page/assets/{ShapedData-CpMHbM8c.js → ShapedData-D7wX0ySy.js} +1 -1
  14. package/page/assets/{TokenizerBottomSheet-CJrW8r1A.js → TokenizerBottomSheet-D9OZyUlv.js} +1 -1
  15. package/page/assets/{ToolResultCharts-BqdVnGQV.js → ToolResultCharts-C7wKo10j.js} +1 -1
  16. package/page/assets/{Toolbar-DHizbkaR.js → Toolbar-DqS1Mzs2.js} +1 -1
  17. package/page/assets/{TraceInspector-CIOWqyOz.js → TraceInspector-Dvpic9yi.js} +2 -2
  18. package/page/assets/{TraceOverview-B4dvW8HG.js → TraceOverview-a2gWG7y7.js} +1 -1
  19. package/page/assets/{_virtual_studio-type-sources-SBxHCBY0.js → _virtual_studio-type-sources-7WzMKLnf.js} +10 -0
  20. package/page/assets/{browser-engine-BmfxNeGl.js → browser-engine-Ckgjoo0_.js} +1 -1
  21. package/page/assets/{browser-transport-tLtFQ838.js → browser-transport-rXzv24jk.js} +2 -2
  22. package/page/assets/{export-agent-CAvsPlIK.js → export-agent-cO8alfHk.js} +1 -1
  23. package/page/assets/{getRadiusAndStrokeWidthFromDot-D4gx0gdA.js → getRadiusAndStrokeWidthFromDot-CvuQ3ZMc.js} +1 -1
  24. package/page/assets/{guardrail-health-BhxPlWFo.js → guardrail-health-1OTv1IwJ.js} +1 -1
  25. package/page/assets/{guardrail-tester-CxgGWynq.js → guardrail-tester-Cu-zDCsn.js} +1 -1
  26. package/page/assets/{index-Dq_PTxBo.js → index-DOX6btUK.js} +8 -8
  27. package/page/assets/{json-code-BdrisVGa.js → json-code-0u_QWB_f.js} +1 -1
  28. package/page/assets/{prompt-row-CA-2NGir.js → prompt-row-Cz3Oovkg.js} +1 -1
  29. package/page/assets/{studio-code-pane-BZIfqYXQ.js → studio-code-pane-dvcTLP5T.js} +3 -3
  30. package/page/assets/{studio-console-ja1f9wXj.js → studio-console-BJFiCVzQ.js} +1 -1
  31. package/page/assets/{studio-decision-CLDqcbSg.js → studio-decision-CF0tFg3Z.js} +1 -1
  32. package/page/assets/{studio-embedding-D1C9e2H5.js → studio-embedding-BzEQZfzE.js} +1 -1
  33. package/page/assets/{studio-host-console-B6pz-V0D.js → studio-host-console-eUVz8yex.js} +2 -2
  34. package/page/assets/{studio-live-BUgf59u8.js → studio-live-gUppKaJm.js} +1 -1
  35. package/page/assets/{studio-map-BrTSEV64.js → studio-map-brIIiiOE.js} +1 -1
  36. package/page/assets/{studio-media-BFUbyq1M.js → studio-media-GYW1CYYL.js} +1 -1
  37. package/page/assets/{studio-trace-replay-Alpu7YPY.js → studio-trace-replay-DQmFVQaG.js} +1 -1
  38. package/page/assets/{studio-type-checker-nkLybI4M.js → studio-type-checker-DfN9uuAD.js} +1 -1
  39. package/page/assets/{use-one-call-CcCvBzTQ.js → use-one-call-b_7HGuRt.js} +1 -1
  40. package/page/assets/{useDismissSearchOnTouchDrag-BpqxL5lU.js → useDismissSearchOnTouchDrag-BGSrQ3gc.js} +1 -1
  41. package/page/index.html +7 -7
  42. package/server/handler.d.ts +2 -0
  43. package/server/handler.js +1 -0
  44. package/server/project.js +1 -0
@@ -86,6 +86,8 @@ export type StudioHandlerOptions = {
86
86
  provider?: ProviderHostOptions;
87
87
  /** The application's own turn, from the one a chat builds: its entry's `theorem.prepare`. */
88
88
  prepare?: TurnWiring['prepare'];
89
+ /** Whether a chat's wake may run: its entry's `theorem.authorizeWake`, given the acted-as `host`. */
90
+ authorizeWake?: TurnWiring['authorizeWake'];
89
91
  /** What each decision profile asks, by the profile's id: the questions the application passes when it decides. */
90
92
  questions?: ProjectQuestions;
91
93
  /** The pictures each decision profile sends, by the profile's id: the images the application passes when it decides. */
package/server/handler.js CHANGED
@@ -533,6 +533,7 @@ function profileHandlers(options, problems) {
533
533
  profile: tracedToPage(profile),
534
534
  provider: options.provider ?? {},
535
535
  ...(options.prepare ? { prepare: options.prepare } : {}),
536
+ ...(options.authorizeWake ? { authorizeWake: options.authorizeWake } : {}),
536
537
  ...(isStateless ? {} : { conversationStore: chatStore() }),
537
538
  ...sessionsOf(profile.id),
538
539
  // The studio's page is the builder's own: its picks choose the prompt lines.
package/server/project.js CHANGED
@@ -43,6 +43,7 @@ if (import.meta.main) {
43
43
  ...(setup.people !== undefined ? { people: setup.people } : {}),
44
44
  ...(theorem.provider ? { provider: theorem.provider } : {}),
45
45
  ...(theorem.prepare ? { prepare: theorem.prepare } : {}),
46
+ ...(theorem.authorizeWake ? { authorizeWake: theorem.authorizeWake } : {}),
46
47
  ...(questions ? { questions } : {}),
47
48
  ...(images ? { images } : {}),
48
49
  upgrade: (request) => Deno.upgradeWebSocket(request),