@datalayer/agent-runtimes 1.5.52 → 1.5.53

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 (463) hide show
  1. package/dist-embed/chunks/{ChatView-Dy-IgGFL.js → ChatView-CRp8Mt57.js} +4 -4
  2. package/dist-embed/datalayer-app-main.js +86 -86
  3. package/lib/api/runtimes/environments.d.ts +2 -2
  4. package/lib/api/runtimes/environments.js +5 -5
  5. package/lib/api/runtimes/runtimes.d.ts +7 -7
  6. package/lib/api/runtimes/runtimes.js +5 -5
  7. package/lib/apps/__tests__/fixtures/sceneCheckCases.json +1 -1
  8. package/lib/apps/apps/AppBrowserSandbox.js +1 -1
  9. package/lib/apps/apps/AppComposer.d.ts +3 -3
  10. package/lib/apps/apps/AppComposer.js +3 -3
  11. package/lib/apps/apps/AppFeedback.d.ts +1 -1
  12. package/lib/apps/apps/AppKept.d.ts +1 -1
  13. package/lib/apps/apps/AppKept.js +1 -1
  14. package/lib/apps/apps/AppRenderer.d.ts +14 -14
  15. package/lib/apps/apps/AppRenderer.js +18 -20
  16. package/lib/apps/apps/AppRuntimePlugins.js +2 -3
  17. package/lib/apps/apps/agent.js +1 -1
  18. package/lib/apps/apps/appspec.d.ts +10 -10
  19. package/lib/apps/apps/appspec.js +35 -35
  20. package/lib/apps/apps/browserSandbox.d.ts +1 -1
  21. package/lib/apps/apps/checks.d.ts +16 -7
  22. package/lib/apps/apps/checks.js +65 -21
  23. package/lib/apps/apps/composer.d.ts +2 -2
  24. package/lib/apps/apps/composer.js +1 -1
  25. package/lib/apps/apps/computer.d.ts +3 -3
  26. package/lib/apps/apps/computer.js +1 -1
  27. package/lib/apps/apps/customComponents.d.ts +2 -2
  28. package/lib/apps/apps/customComponents.js +3 -3
  29. package/lib/apps/apps/feedback.d.ts +2 -2
  30. package/lib/apps/apps/hostTools.d.ts +3 -3
  31. package/lib/apps/apps/hostTools.js +2 -2
  32. package/lib/apps/apps/kept.d.ts +1 -1
  33. package/lib/apps/apps/language.d.ts +1 -1
  34. package/lib/apps/apps/pluginPair.d.ts +1 -1
  35. package/lib/apps/apps/records.js +1 -1
  36. package/lib/apps/apps/rules.d.ts +2 -2
  37. package/lib/apps/apps/rules.js +2 -2
  38. package/lib/apps/apps/saved.d.ts +1 -1
  39. package/lib/apps/apps/saved.js +1 -1
  40. package/lib/apps/apps/sceneChecks.js +3 -3
  41. package/lib/apps/apps/sceneYaml.js +1 -1
  42. package/lib/apps/apps/sessionRules.d.ts +7 -8
  43. package/lib/apps/apps/sessionRules.js +6 -7
  44. package/lib/apps/apps/settingsInputs.d.ts +1 -1
  45. package/lib/apps/apps/settingsInputs.js +1 -1
  46. package/lib/apps/apps/threads.d.ts +2 -2
  47. package/lib/apps/apps/threads.js +1 -1
  48. package/lib/apps/apps/uploads.d.ts +1 -1
  49. package/lib/apps/apps/visitorToken.d.ts +1 -1
  50. package/lib/apps/apps/visitorToken.js +2 -2
  51. package/lib/apps/core/a2uiComponents.js +1 -2
  52. package/lib/apps/core/appFiles.js +1 -1
  53. package/lib/apps/core/canvasBlocks.d.ts +1 -1
  54. package/lib/apps/core/canvasBlocks.js +1 -1
  55. package/lib/apps/core/canvasParts.d.ts +3 -3
  56. package/lib/apps/core/canvasParts.js +1 -1
  57. package/lib/apps/core/index.d.ts +12 -13
  58. package/lib/apps/core/index.js +5 -6
  59. package/lib/apps/embed/AppEmbed.d.ts +9 -9
  60. package/lib/apps/embed/AppEmbed.js +9 -10
  61. package/lib/apps/embed/LoopEmbed.d.ts +2 -3
  62. package/lib/apps/embed/datalayer-app.js +1 -1
  63. package/lib/apps/embed/element.js +11 -11
  64. package/lib/apps/embed/embedConfig.d.ts +8 -10
  65. package/lib/apps/embed/embedConfig.js +6 -7
  66. package/lib/apps/embed/embedSession.d.ts +3 -3
  67. package/lib/apps/embed/embedSession.js +2 -2
  68. package/lib/apps/embed/embeddedSecrets.d.ts +1 -1
  69. package/lib/apps/embed/embeddedSecrets.js +1 -1
  70. package/lib/apps/embed/hostBridge.d.ts +14 -14
  71. package/lib/apps/embed/hostBridge.js +9 -9
  72. package/lib/apps/embed/loader.js +2 -2
  73. package/lib/apps/embed/visitorApp.d.ts +1 -1
  74. package/lib/apps/index.d.ts +1 -1
  75. package/lib/apps/index.js +3 -3
  76. package/lib/apps/plugins/a2ui/A2uiView.js +1 -1
  77. package/lib/apps/plugins/a2ui-surface/AnswerShows.d.ts +2 -2
  78. package/lib/apps/plugins/a2ui-surface/AnswerShows.js +1 -1
  79. package/lib/apps/plugins/a2ui-surface/InlineSurface.d.ts +1 -1
  80. package/lib/apps/plugins/a2ui-surface/SurfaceToolResult.js +2 -2
  81. package/lib/apps/plugins/a2ui-surface/index.js +1 -1
  82. package/lib/apps/plugins/a2ui-surface/ownComponents.js +1 -1
  83. package/lib/apps/plugins/a2ui-surface/toolResult.d.ts +2 -2
  84. package/lib/apps/plugins/a2ui-surface/toolResult.js +2 -2
  85. package/lib/apps/plugins/agent-capacity/index.d.ts +2 -2
  86. package/lib/apps/plugins/agents/DatalayerAgentBridge.js +4 -4
  87. package/lib/apps/plugins/agents/appLaunch.d.ts +1 -1
  88. package/lib/apps/plugins/agents/plugin.d.ts +4 -4
  89. package/lib/apps/plugins/agents/switchable.js +1 -1
  90. package/lib/apps/plugins/app-activity/AppActivity.d.ts +1 -1
  91. package/lib/apps/plugins/app-components/index.d.ts +1 -2
  92. package/lib/apps/plugins/app-components/index.js +1 -2
  93. package/lib/apps/plugins/app-computer/AppComputer.d.ts +1 -1
  94. package/lib/apps/plugins/app-computer/AppComputer.js +2 -2
  95. package/lib/apps/plugins/app-elements/AppElements.d.ts +1 -2
  96. package/lib/apps/plugins/app-elements/AppElements.js +1 -1
  97. package/lib/apps/plugins/app-elements/QuestionView.d.ts +1 -2
  98. package/lib/apps/plugins/app-elements/QuestionView.js +1 -1
  99. package/lib/apps/plugins/app-elements/index.d.ts +2 -2
  100. package/lib/apps/plugins/app-elements/index.js +2 -2
  101. package/lib/apps/plugins/app-page/AppPage.d.ts +3 -3
  102. package/lib/apps/plugins/app-page/appPageModel.d.ts +5 -5
  103. package/lib/apps/plugins/app-page/appPageModel.js +1 -1
  104. package/lib/apps/plugins/app-page/index.d.ts +3 -3
  105. package/lib/apps/plugins/app-page/index.js +1 -1
  106. package/lib/apps/plugins/app-page/pageRun.d.ts +2 -2
  107. package/lib/apps/plugins/app-page/pageRun.js +2 -2
  108. package/lib/apps/plugins/app-rules/AppRulesCard.d.ts +5 -5
  109. package/lib/apps/plugins/app-rules/AppRulesCard.js +4 -4
  110. package/lib/apps/plugins/assistant/index.d.ts +2 -2
  111. package/lib/apps/plugins/assistant-characters/index.d.ts +2 -2
  112. package/lib/apps/plugins/assistant-characters/index.js +2 -2
  113. package/lib/apps/plugins/canvas-blocks/index.d.ts +1 -1
  114. package/lib/apps/plugins/canvas-blocks/index.js +1 -1
  115. package/lib/apps/plugins/canvas-parts/index.d.ts +5 -5
  116. package/lib/apps/plugins/canvas-parts/index.js +5 -5
  117. package/lib/apps/plugins/chat/ChatView.js +36 -34
  118. package/lib/apps/plugins/chat/index.d.ts +8 -8
  119. package/lib/apps/plugins/document/DocumentView.js +2 -2
  120. package/lib/apps/plugins/notebook/NotebookView.js +1 -1
  121. package/lib/apps/plugins/page-layout/SplitLayout.d.ts +1 -1
  122. package/lib/apps/plugins/pap-sign-in/PapSignInCard.d.ts +1 -1
  123. package/lib/apps/plugins/pap-sign-in/PapSignInCard.js +1 -1
  124. package/lib/apps/plugins/pap-sign-in/index.js +1 -1
  125. package/lib/apps/plugins/pap-sign-in/signIn.d.ts +1 -1
  126. package/lib/apps/plugins/pap-sign-in/signIn.js +1 -1
  127. package/lib/apps/plugins/plugins-panel/index.d.ts +1 -1
  128. package/lib/apps/plugins/plugins-panel/index.js +1 -1
  129. package/lib/apps/plugins/shield-displays/DiffCard.d.ts +2 -2
  130. package/lib/apps/plugins/shield-displays/TerminalCard.d.ts +1 -1
  131. package/lib/apps/plugins/shield-displays/index.js +3 -3
  132. package/lib/apps/presets.d.ts +9 -9
  133. package/lib/apps/presets.js +3 -3
  134. package/lib/apps/shell/LoopWorkspace.d.ts +1 -1
  135. package/lib/apps/shell/LoopWorkspace.js +1 -1
  136. package/lib/apps/shell/PluginToggles.d.ts +1 -1
  137. package/lib/apps/shell/SidebarRail.d.ts +1 -1
  138. package/lib/apps/shell/paneMotion.d.ts +1 -1
  139. package/lib/apps/shell/paneMotion.js +1 -1
  140. package/lib/chat/ChatFloating.d.ts +8 -9
  141. package/lib/chat/ChatFloating.js +4 -4
  142. package/lib/chat/ChatInline.js +1 -1
  143. package/lib/chat/ChatLanguage.d.ts +1 -1
  144. package/lib/chat/ChatLanguage.js +1 -1
  145. package/lib/chat/assistant/AssistantContextMenu.d.ts +1 -1
  146. package/lib/chat/assistant/AssistantStage.d.ts +4 -4
  147. package/lib/chat/assistant/AssistantStage.js +1 -1
  148. package/lib/chat/assistant/BalloonParts.d.ts +1 -1
  149. package/lib/chat/assistant/BalloonVisual.d.ts +1 -1
  150. package/lib/chat/assistant/SpeechBalloon.d.ts +2 -2
  151. package/lib/chat/assistant/SpriteCharacter.d.ts +1 -1
  152. package/lib/chat/assistant/characters.d.ts +2 -2
  153. package/lib/chat/assistant/formats/acf.js +1 -1
  154. package/lib/chat/assistant/formats/files.js +1 -1
  155. package/lib/chat/assistant/formats/index.d.ts +1 -1
  156. package/lib/chat/assistant/formats/index.js +1 -1
  157. package/lib/chat/assistant/formats/types.d.ts +1 -1
  158. package/lib/chat/assistant/state.d.ts +2 -2
  159. package/lib/chat/assistant/toolLine.js +1 -1
  160. package/lib/chat/base/ChatBase.js +28 -20
  161. package/lib/chat/base/conversationItems.d.ts +3 -3
  162. package/lib/chat/base/loopElement.d.ts +2 -2
  163. package/lib/chat/base/loopStep.d.ts +3 -3
  164. package/lib/chat/base/loopStep.js +1 -1
  165. package/lib/chat/base/loopWindow.d.ts +3 -3
  166. package/lib/chat/base/loopWindow.js +3 -3
  167. package/lib/chat/base/uiFiles.d.ts +1 -1
  168. package/lib/chat/base/uiFiles.js +1 -1
  169. package/lib/chat/base/uiOps.d.ts +1 -1
  170. package/lib/chat/base/uiOps.js +1 -1
  171. package/lib/chat/index.js +1 -1
  172. package/lib/chat/indicators/McpStatusIndicator.js +1 -1
  173. package/lib/chat/indicators/SkillsStatusIndicator.js +1 -1
  174. package/lib/chat/messages/ChatMessageList.d.ts +3 -4
  175. package/lib/chat/messages/ChatMessageList.js +2 -2
  176. package/lib/chat/messages/markdownWithoutHtml.d.ts +1 -1
  177. package/lib/chat/messages/markdownWithoutHtml.js +1 -1
  178. package/lib/chat/presence/Presence.d.ts +2 -2
  179. package/lib/chat/presence/Presence.js +1 -1
  180. package/lib/chat/presence/presenceStatus.d.ts +2 -2
  181. package/lib/chat/presence/presenceStatus.js +2 -2
  182. package/lib/chat/prompt/InputPrompt.d.ts +3 -3
  183. package/lib/chat/prompt/InputPromptBase.d.ts +1 -1
  184. package/lib/chat/prompt/InputPromptBase.js +1 -1
  185. package/lib/chat/prompt/InputPromptLexical.d.ts +1 -1
  186. package/lib/chat/styles/streamdownStyles.js +1 -1
  187. package/lib/chat/useViewportDrag.d.ts +1 -1
  188. package/lib/chat/viewModes.d.ts +1 -1
  189. package/lib/chat/viewModes.js +2 -2
  190. package/lib/chat/words.js +1 -1
  191. package/lib/client/mixins/RuntimesMixin.d.ts +3 -3
  192. package/lib/client/mixins/RuntimesMixin.js +3 -3
  193. package/lib/components/a2ui/custom/index.d.ts +3 -3
  194. package/lib/components/a2ui/custom/index.js +1 -1
  195. package/lib/components/a2ui/custom/sandbox.d.ts +2 -2
  196. package/lib/components/a2ui/custom/sandbox.js +2 -2
  197. package/lib/components/a2ui/datalayer/Chart.js +2 -2
  198. package/lib/components/a2ui/datalayer/Chat.js +1 -1
  199. package/lib/components/a2ui/datalayer/Download.js +1 -1
  200. package/lib/components/a2ui/datalayer/Evidence.js +1 -1
  201. package/lib/components/a2ui/datalayer/FileUpload.d.ts +1 -1
  202. package/lib/components/a2ui/datalayer/FileUpload.js +2 -2
  203. package/lib/components/a2ui/datalayer/Form.js +2 -2
  204. package/lib/components/a2ui/datalayer/SchemaForm.d.ts +1 -1
  205. package/lib/components/a2ui/datalayer/Table.js +1 -1
  206. package/lib/components/a2ui/datalayer/drawn.d.ts +1 -1
  207. package/lib/components/a2ui/datalayer/drawn.js +1 -1
  208. package/lib/components/a2ui/datalayer/formWidgets.js +1 -1
  209. package/lib/components/a2ui/datalayer/index.d.ts +1 -1
  210. package/lib/components/a2ui/datalayer/schema.d.ts +2 -2
  211. package/lib/components/a2ui/datalayer/schema.js +2 -2
  212. package/lib/components/a2ui/styles.js +1 -1
  213. package/lib/components/a2ui/visibleWhen.d.ts +3 -3
  214. package/lib/components/a2ui/visibleWhen.js +3 -3
  215. package/lib/components/code-sandboxes/CodeSandboxEnvironmentSelect.d.ts +1 -1
  216. package/lib/components/code-sandboxes/CodeSandboxLauncher.js +1 -1
  217. package/lib/components/code-sandboxes/CodeSandboxUtils.d.ts +1 -1
  218. package/lib/components/code-sandboxes/codeSandboxEnvironments.d.ts +2 -2
  219. package/lib/components/inspector/a2aSpans.d.ts +1 -1
  220. package/lib/components/inspector/a2aSpans.js +1 -1
  221. package/lib/components/teams/A2ATeamGraph.d.ts +3 -3
  222. package/lib/components/teams/A2ATeamGraph.js +1 -3
  223. package/lib/components/teams/AnswerSurfaces.d.ts +1 -1
  224. package/lib/components/teams/NotebookPreview.d.ts +1 -1
  225. package/lib/components/teams/SceneTranscript.d.ts +1 -1
  226. package/lib/components/teams/SceneView.d.ts +1 -1
  227. package/lib/components/teams/a2aTeamFlow.d.ts +1 -1
  228. package/lib/components/teams/a2aTeamFlow.js +1 -1
  229. package/lib/components/teams/sceneStage.d.ts +1 -1
  230. package/lib/components/teams/sceneTranscript.d.ts +1 -1
  231. package/lib/components/teams/useA2ATeam.d.ts +5 -5
  232. package/lib/components/teams/useA2ATeam.js +3 -3
  233. package/lib/config/AgentConfiguration.d.ts +1 -1
  234. package/lib/examples/AssistantExample.d.ts +1 -1
  235. package/lib/examples/AssistantExample.js +1 -1
  236. package/lib/examples/AssistantGalleryExample.d.ts +1 -1
  237. package/lib/examples/AssistantGalleryExample.js +1 -1
  238. package/lib/examples/LoopAppComputerExample.d.ts +1 -1
  239. package/lib/examples/LoopAppComputerExample.js +1 -1
  240. package/lib/examples/ProtocolSignedRequestsExample.d.ts +1 -1
  241. package/lib/examples/ProtocolSignedRequestsExample.js +1 -1
  242. package/lib/examples/ProtocolUcpCheckoutExample.d.ts +1 -1
  243. package/lib/examples/ProtocolUcpCheckoutExample.js +1 -1
  244. package/lib/examples/ScenesExample.d.ts +1 -1
  245. package/lib/examples/ScenesExample.js +1 -1
  246. package/lib/examples/ShieldHarnessExample.d.ts +1 -1
  247. package/lib/examples/ShieldHarnessExample.js +1 -1
  248. package/lib/examples/ShieldPolicyExample.d.ts +1 -1
  249. package/lib/examples/ShieldPolicyExample.js +1 -1
  250. package/lib/examples/VoiceChatExample.d.ts +1 -1
  251. package/lib/examples/VoiceChatExample.js +1 -1
  252. package/lib/examples/example-selector.js +3 -3
  253. package/lib/examples/exampleGroups.js +3 -3
  254. package/lib/examples/pap/PapSignInDisplayView.d.ts +1 -1
  255. package/lib/examples/pap/PapSignInDisplayView.js +1 -1
  256. package/lib/examples/pap/papSignInCases.js +1 -1
  257. package/lib/examples/protocols/signedRequestsDemo.d.ts +1 -1
  258. package/lib/examples/protocols/signedRequestsDemo.js +1 -1
  259. package/lib/examples/protocols/ucpCheckoutDemo.d.ts +1 -1
  260. package/lib/examples/protocols/ucpCheckoutDemo.js +1 -1
  261. package/lib/examples/shield/shieldHarness.d.ts +1 -1
  262. package/lib/examples/shield/shieldPolicyDemo.d.ts +2 -2
  263. package/lib/examples/shield/shieldPolicyDemo.js +1 -1
  264. package/lib/examples/utils/assistantGallery.d.ts +1 -1
  265. package/lib/examples/utils/clippyJsCharacters.js +2 -2
  266. package/lib/examples/utils/testSpriteCharacter.js +2 -2
  267. package/lib/hooks/ownRoutes.d.ts +1 -1
  268. package/lib/hooks/useAgentRuntimes.d.ts +1 -1
  269. package/lib/hooks/useChat.js +1 -1
  270. package/lib/index.js +1 -1
  271. package/lib/loop-example-main.js +1 -1
  272. package/lib/models/Environment.d.ts +11 -11
  273. package/lib/models/Environment.js +1 -1
  274. package/lib/models/RuntimeDTO.d.ts +1 -1
  275. package/lib/portable/activity.d.ts +2 -2
  276. package/lib/portable/activity.js +3 -3
  277. package/lib/portable/adapterEvents.d.ts +1 -1
  278. package/lib/portable/agUiRefusal.d.ts +1 -1
  279. package/lib/portable/agUiRefusal.js +1 -1
  280. package/lib/portable/agui.d.ts +2 -2
  281. package/lib/portable/agui.js +2 -2
  282. package/lib/portable/approvalCard.d.ts +1 -1
  283. package/lib/portable/approvalCard.js +1 -1
  284. package/lib/portable/approvals.d.ts +2 -2
  285. package/lib/portable/approvals.js +1 -1
  286. package/lib/portable/conversation.d.ts +2 -2
  287. package/lib/portable/conversation.js +1 -1
  288. package/lib/portable/direct.d.ts +2 -2
  289. package/lib/portable/displays.d.ts +2 -2
  290. package/lib/portable/displays.js +3 -3
  291. package/lib/portable/fixtures.d.ts +4 -5
  292. package/lib/portable/fixtures.js +4 -5
  293. package/lib/portable/hosts/agentClient.d.ts +5 -6
  294. package/lib/portable/hosts/agentClient.js +7 -7
  295. package/lib/portable/hosts/approvalRenderers.d.ts +6 -7
  296. package/lib/portable/hosts/approvalRenderers.js +2 -3
  297. package/lib/portable/hosts/client.d.ts +9 -6
  298. package/lib/portable/hosts/client.js +9 -8
  299. package/lib/portable/hosts/contracts.d.ts +2 -4
  300. package/lib/portable/hosts/contracts.js +2 -4
  301. package/lib/portable/hosts/contracts.json +2 -2
  302. package/lib/portable/hosts/deadLetters.js +2 -2
  303. package/lib/portable/hosts/deliveries.d.ts +2 -3
  304. package/lib/portable/hosts/forbiddenGraph.d.ts +4 -4
  305. package/lib/portable/hosts/forbiddenGraph.js +4 -4
  306. package/lib/portable/hosts/health.d.ts +3 -4
  307. package/lib/portable/hosts/health.js +3 -4
  308. package/lib/portable/hosts/index.d.ts +1 -1
  309. package/lib/portable/hosts/index.js +1 -1
  310. package/lib/portable/hosts/observability.d.ts +1 -1
  311. package/lib/portable/hosts/observability.js +3 -4
  312. package/lib/portable/hosts/postgresQueue.d.ts +2 -2
  313. package/lib/portable/hosts/postgresQueue.js +3 -3
  314. package/lib/portable/hosts/queue.d.ts +1 -1
  315. package/lib/portable/hosts/quotas.d.ts +2 -2
  316. package/lib/portable/hosts/quotas.js +2 -2
  317. package/lib/portable/hosts/rateLimit.d.ts +1 -1
  318. package/lib/portable/hosts/resolution.d.ts +2 -2
  319. package/lib/portable/hosts/schema.d.ts +1 -1
  320. package/lib/portable/hosts/schema.js +1 -1
  321. package/lib/portable/hosts/secretCipher.d.ts +2 -2
  322. package/lib/portable/hosts/sessionUid.js +1 -2
  323. package/lib/portable/hosts/turnState.d.ts +1 -1
  324. package/lib/portable/index.js +12 -12
  325. package/lib/portable/lifecycle.d.ts +3 -3
  326. package/lib/portable/presence.d.ts +3 -3
  327. package/lib/portable/protectedInput.d.ts +1 -1
  328. package/lib/portable/records.d.ts +2 -2
  329. package/lib/portable/records.js +2 -2
  330. package/lib/portable/runMeasures.d.ts +1 -1
  331. package/lib/portable/runMeasures.js +1 -1
  332. package/lib/portable/runtimes.d.ts +1 -1
  333. package/lib/portable/semantic-events.json +1 -1
  334. package/lib/portable/semantic.d.ts +1 -1
  335. package/lib/portable/semantic.js +1 -1
  336. package/lib/portable/semanticOfAgUi.d.ts +2 -2
  337. package/lib/portable/semanticOfAgUi.js +1 -1
  338. package/lib/portable/signIn.d.ts +5 -5
  339. package/lib/portable/signIn.js +1 -1
  340. package/lib/portable/signInStatus.d.ts +1 -2
  341. package/lib/portable/signInStatus.js +1 -2
  342. package/lib/portable/thread.d.ts +2 -2
  343. package/lib/portable/thread.js +2 -2
  344. package/lib/portable/views.d.ts +5 -5
  345. package/lib/protocols/A2AAdapter.d.ts +1 -1
  346. package/lib/protocols/A2AAdapter.js +3 -3
  347. package/lib/protocols/AGUIAdapter.d.ts +1 -1
  348. package/lib/protocols/AGUIAdapter.js +2 -2
  349. package/lib/protocols/BrowserAgentAdapter.d.ts +2 -2
  350. package/lib/protocols/BrowserAgentAdapter.js +1 -1
  351. package/lib/protocols/VercelAIAdapter.js +2 -2
  352. package/lib/protocols/a2a/index.d.ts +1 -1
  353. package/lib/protocols/a2a/index.js +1 -1
  354. package/lib/protocols/agentProtocols.d.ts +1 -1
  355. package/lib/protocols/agentProtocols.js +1 -1
  356. package/lib/protocols/agentic-commerce/index.d.ts +2 -2
  357. package/lib/protocols/agentic-commerce/index.js +2 -2
  358. package/lib/protocols/commerce.d.ts +1 -1
  359. package/lib/protocols/commerce.js +3 -3
  360. package/lib/protocols/core.d.ts +3 -3
  361. package/lib/protocols/core.js +2 -2
  362. package/lib/protocols/mcp/client.js +1 -1
  363. package/lib/protocols/mcp/index.js +1 -1
  364. package/lib/protocols/pact/index.d.ts +6 -6
  365. package/lib/protocols/pact/index.js +6 -6
  366. package/lib/protocols/ucp/index.d.ts +2 -2
  367. package/lib/protocols/ucp/index.js +2 -2
  368. package/lib/protocols/ucp/merchant.js +1 -2
  369. package/lib/protocols/web-bot-auth/index.d.ts +1 -1
  370. package/lib/protocols/web-bot-auth/index.js +1 -1
  371. package/lib/protocols/web-bot-auth/tap.js +1 -1
  372. package/lib/runtimes/actions.js +2 -2
  373. package/lib/runtimes/apis.d.ts +3 -4
  374. package/lib/runtimes/browser/a2aPeer.d.ts +1 -1
  375. package/lib/runtimes/browser/a2aPeer.js +1 -1
  376. package/lib/runtimes/browser/protocol.d.ts +1 -1
  377. package/lib/runtimes/variants.d.ts +3 -3
  378. package/lib/runtimes/variants.js +4 -4
  379. package/lib/specs/agents/agents.js +2 -2
  380. package/lib/specs/apps.js +28 -28
  381. package/lib/specs/appspecSchema.js +62 -62
  382. package/lib/specs/harnesses.d.ts +1 -1
  383. package/lib/specs/harnesses.js +1 -1
  384. package/lib/specs/policies.d.ts +1 -1
  385. package/lib/specs/policies.js +2 -2
  386. package/lib/specs/protocols.d.ts +1 -1
  387. package/lib/specs/sceneSchema.js +4 -4
  388. package/lib/specs/scenes.js +4 -4
  389. package/lib/specs/standards.d.ts +1 -1
  390. package/lib/specs/ui.d.ts +2 -2
  391. package/lib/specs/ui.js +1 -1
  392. package/lib/specs/uiRenderers.d.ts +1 -1
  393. package/lib/specs/voices.d.ts +2 -2
  394. package/lib/specs/voices.js +2 -2
  395. package/lib/stories/loop/ReferenceScreens.js +1 -1
  396. package/lib/stories/loop/pictures-main.js +2 -2
  397. package/lib/test-setup.js +1 -1
  398. package/lib/types/agentspecs.d.ts +81 -85
  399. package/lib/types/chat.d.ts +26 -13
  400. package/lib/types/messages.d.ts +1 -1
  401. package/lib/types/protocol.d.ts +3 -3
  402. package/lib/types/scenes.d.ts +6 -6
  403. package/lib/types/teams.d.ts +3 -3
  404. package/lib/ui-plugins/MCPUIPlugin.d.ts +2 -2
  405. package/lib/ui-plugins/MCPUIPlugin.js +1 -1
  406. package/lib/voice/ComposerVoice.d.ts +5 -3
  407. package/lib/voice/ComposerVoice.js +4 -4
  408. package/lib/voice/HandsFree.d.ts +9 -3
  409. package/lib/voice/HandsFree.js +8 -3
  410. package/lib/voice/ReadAloud.d.ts +1 -1
  411. package/lib/voice/VoiceInput.d.ts +1 -2
  412. package/lib/voice/VoiceMenu.d.ts +1 -1
  413. package/lib/voice/captions.d.ts +1 -1
  414. package/lib/voice/captions.js +1 -1
  415. package/lib/voice/capture.d.ts +1 -1
  416. package/lib/voice/capture.js +1 -1
  417. package/lib/voice/chatVoice.d.ts +1 -1
  418. package/lib/voice/chatVoice.js +3 -3
  419. package/lib/voice/choices.d.ts +2 -2
  420. package/lib/voice/choices.js +2 -2
  421. package/lib/voice/consent.js +1 -1
  422. package/lib/voice/handsFree.d.ts +29 -4
  423. package/lib/voice/handsFree.js +32 -4
  424. package/lib/voice/hearing.d.ts +1 -1
  425. package/lib/voice/hearing.js +1 -1
  426. package/lib/voice/index.d.ts +2 -2
  427. package/lib/voice/pinned.d.ts +2 -2
  428. package/lib/voice/pinned.js +2 -2
  429. package/lib/voice/sayAloud.d.ts +2 -2
  430. package/lib/voice/sayAloud.js +2 -2
  431. package/lib/voice/sentences.d.ts +1 -1
  432. package/lib/voice/sentences.js +1 -1
  433. package/lib/voice/serverHearing.d.ts +8 -2
  434. package/lib/voice/serverHearing.js +37 -6
  435. package/lib/voice/settings.d.ts +2 -2
  436. package/lib/voice/settings.js +2 -2
  437. package/lib/voice/speaker.d.ts +10 -4
  438. package/lib/voice/speaker.js +5 -2
  439. package/lib/voice/types.d.ts +1 -1
  440. package/lib/voice/useSpokenAnswers.js +2 -2
  441. package/lib/voice/useVoiceSettings.js +1 -1
  442. package/lib/voice/useVoiceSpeaker.js +1 -1
  443. package/package.json +2 -2
  444. package/scripts/codegen/generate_agentic_commerce.sh +1 -1
  445. package/scripts/codegen/generate_agents.py +5 -5
  446. package/scripts/codegen/generate_apps.py +3 -3
  447. package/scripts/codegen/generate_harnesses.py +4 -4
  448. package/scripts/codegen/generate_mcp_servers.py +2 -2
  449. package/scripts/codegen/generate_policies.py +3 -3
  450. package/scripts/codegen/generate_protocols.py +3 -4
  451. package/scripts/codegen/generate_scenes.py +4 -4
  452. package/scripts/codegen/generate_standards.py +3 -3
  453. package/scripts/codegen/generate_teams.py +1 -1
  454. package/scripts/codegen/generate_ui.py +8 -8
  455. package/scripts/codegen/generate_ui_renderers.py +3 -3
  456. package/scripts/codegen/generate_voices.py +4 -4
  457. package/scripts/dist-embed.mjs +1 -1
  458. package/scripts/generate-environments-types.py +1 -1
  459. package/scripts/record-scene-checks.py +2 -2
  460. package/scripts/voice/measure.py +3 -3
  461. package/scripts/voice/pin_store.py +1 -1
  462. package/scripts/voice/serve_store.py +1 -1
  463. package/scripts/voice/transcribe.mjs +1 -1
@@ -27,7 +27,7 @@ export type ListEnvironmentsPage = Omit<ListEnvironmentsResponse, 'environments'
27
27
  nextCursor?: string;
28
28
  };
29
29
  /**
30
- * The section 10 body of a refusal, from the error a call rejected with.
30
+ * The error body of a refusal, from the error a call rejected with.
31
31
  *
32
32
  * @param error - What an environments call rejected with
33
33
  * @returns The body, with its `code` and `correlationId`; `undefined` when the
@@ -168,7 +168,7 @@ export declare const updateEnvironmentVersion: (token: string, versionUid: strin
168
168
  */
169
169
  export declare const validateEnvironmentVersion: (token: string, versionUid: string, request?: IValidateEnvironmentVersionRequest, options?: IEnvironmentsRequestOptions, baseUrl?: string) => Promise<IEnvironmentValidationReport>;
170
170
  /**
171
- * Resolve a version into its lock. The service answers 501 until PLAN_ENV.md
171
+ * Resolve a version into its lock. The service answers 501 until
172
172
  * E1-04 builds the resolver, whose answer this resolves to.
173
173
  * @param token - Authentication token
174
174
  * @param versionUid - The version's uid
@@ -6,8 +6,8 @@
6
6
  * Computing environments API functions for the Datalayer platform.
7
7
  *
8
8
  * `GET /environments` lists the platform's environments and the user
9
- * environments the caller may use. The registry beside it (PLAN_ENV.md,
10
- * section 9, served by Runtimes since E1-01) creates environments, their
9
+ * environments the caller may use. The registry beside it (served by Runtimes since E1-01)
10
+ * creates environments, their
11
11
  * versions, builds and artifacts, and serves build logs. The specification a
12
12
  * version carries is typed from the JSON Schema `code-sandboxes` exports
13
13
  * (D-14), in `models/environments.generated.ts`.
@@ -15,7 +15,7 @@
15
15
  * A conditional write names the record it replaces with `If-Match`, the
16
16
  * `etag` every record carries. A keyed create is replayed with the same
17
17
  * `Idempotency-Key`. Every call may carry the caller's `X-Correlation-Id`,
18
- * which a refusal answers in its section 10 body: `asEnvironmentsError` reads
18
+ * which a refusal answers in its error body: `asEnvironmentsError` reads
19
19
  * that body from the error a call rejects with.
20
20
  *
21
21
  * @module api/runtimes/environments
@@ -58,7 +58,7 @@ const send = (token, method, url, options, body) => {
58
58
  });
59
59
  };
60
60
  /**
61
- * The section 10 body of a refusal, from the error a call rejected with.
61
+ * The error body of a refusal, from the error a call rejected with.
62
62
  *
63
63
  * @param error - What an environments call rejected with
64
64
  * @returns The body, with its `code` and `correlationId`; `undefined` when the
@@ -255,7 +255,7 @@ export const validateEnvironmentVersion = async (token, versionUid, request = {}
255
255
  return send(token, 'POST', registryUrl(baseUrl, `/environment-versions/${segment(versionUid, 'Version UID')}/validate`), options, request);
256
256
  };
257
257
  /**
258
- * Resolve a version into its lock. The service answers 501 until PLAN_ENV.md
258
+ * Resolve a version into its lock. The service answers 501 until
259
259
  * E1-04 builds the resolver, whose answer this resolves to.
260
260
  * @param token - Authentication token
261
261
  * @param versionUid - The version's uid
@@ -135,7 +135,7 @@ export interface RuntimeMemory {
135
135
  scope?: string | null;
136
136
  created_at?: string | null;
137
137
  updated_at?: string | null;
138
- /** Who corrected it, when it was corrected in place (LOOP R-34). */
138
+ /** Who corrected it, when it was corrected in place (R-34). */
139
139
  corrected_by?: string | null;
140
140
  /** When it was corrected (ISO). */
141
141
  corrected_at?: string | null;
@@ -189,7 +189,7 @@ export interface ForgetRuntimeMemoriesResponse {
189
189
  forgotten: number;
190
190
  }
191
191
  /**
192
- * Forget one of the caller's own persisted memories (LOOP R-18).
192
+ * Forget one of the caller's own persisted memories (R-18).
193
193
  *
194
194
  * Somebody else's is not found (404), whoever asks: forgetting is the
195
195
  * person's own.
@@ -203,7 +203,7 @@ export interface CorrectRuntimeMemoryResponse {
203
203
  memory: RuntimeMemory;
204
204
  }
205
205
  /**
206
- * Correct one of the caller's own persisted memories in place (LOOP R-34):
206
+ * Correct one of the caller's own persisted memories in place (R-34):
207
207
  * its words become `text`, kept with who corrected it and when.
208
208
  *
209
209
  * Somebody else's is not found (404), whoever asks; empty words, more than
@@ -214,11 +214,11 @@ export declare const correctRuntimeMemory: (token: string, memoryId: string, tex
214
214
  * Forget everything one agent — an application, by its key `app:<uid>` —
215
215
  * remembers of the caller, no more than `count`: the number the person was
216
216
  * shown and confirmed. When it remembers more now, nothing is forgotten and
217
- * the service refuses (409) in a sentence (LOOP R-18).
217
+ * the service refuses (409) in a sentence (R-18).
218
218
  */
219
219
  export declare const forgetRuntimeMemories: (token: string, agentId: string, count: number, baseUrl?: string) => Promise<ForgetRuntimeMemoriesResponse>;
220
220
  /**
221
- * One allowance of a person (LOOP R-35): `reader` uses what `source`
221
+ * One allowance of a person (R-35): `reader` uses what `source`
222
222
  * remembers of them, both applications by their key `app:<uid>`.
223
223
  */
224
224
  export interface RuntimeMemoryShare {
@@ -236,13 +236,13 @@ export declare const listRuntimeMemoryShares: (token: string, filter: {
236
236
  reader?: string;
237
237
  }, baseUrl?: string) => Promise<RuntimeMemoryShare[]>;
238
238
  /**
239
- * Allow `reader` to use what `source` remembers of the caller (LOOP R-35).
239
+ * Allow `reader` to use what `source` remembers of the caller (R-35).
240
240
  * Allowed again, it is kept as it was.
241
241
  */
242
242
  export declare const allowRuntimeMemoryShare: (token: string, source: string, reader: string, baseUrl?: string) => Promise<RuntimeMemoryShare>;
243
243
  /**
244
244
  * Stop sharing what `source` remembers of the caller with `reader`
245
- * (LOOP R-35); the service refuses (404) what was never allowed.
245
+ * (R-35); the service refuses (404) what was never allowed.
246
246
  */
247
247
  export declare const stopRuntimeMemoryShare: (token: string, source: string, reader: string, baseUrl?: string) => Promise<void>;
248
248
  /**
@@ -259,7 +259,7 @@ export const getRuntimeMemory = async (token, memoryId, baseUrl = DEFAULT_SERVIC
259
259
  };
260
260
  };
261
261
  /**
262
- * Forget one of the caller's own persisted memories (LOOP R-18).
262
+ * Forget one of the caller's own persisted memories (R-18).
263
263
  *
264
264
  * Somebody else's is not found (404), whoever asks: forgetting is the
265
265
  * person's own.
@@ -278,7 +278,7 @@ export const forgetRuntimeMemory = async (token, memoryId, baseUrl = DEFAULT_SER
278
278
  };
279
279
  };
280
280
  /**
281
- * Correct one of the caller's own persisted memories in place (LOOP R-34):
281
+ * Correct one of the caller's own persisted memories in place (R-34):
282
282
  * its words become `text`, kept with who corrected it and when.
283
283
  *
284
284
  * Somebody else's is not found (404), whoever asks; empty words, more than
@@ -303,7 +303,7 @@ export const correctRuntimeMemory = async (token, memoryId, text, baseUrl = DEFA
303
303
  * Forget everything one agent — an application, by its key `app:<uid>` —
304
304
  * remembers of the caller, no more than `count`: the number the person was
305
305
  * shown and confirmed. When it remembers more now, nothing is forgotten and
306
- * the service refuses (409) in a sentence (LOOP R-18).
306
+ * the service refuses (409) in a sentence (R-18).
307
307
  */
308
308
  export const forgetRuntimeMemories = async (token, agentId, count, baseUrl = DEFAULT_SERVICE_URLS.RUNTIMES) => {
309
309
  validateToken(token);
@@ -346,7 +346,7 @@ export const listRuntimeMemoryShares = async (token, filter, baseUrl = DEFAULT_S
346
346
  return Array.isArray(response?.shares) ? response.shares : [];
347
347
  };
348
348
  /**
349
- * Allow `reader` to use what `source` remembers of the caller (LOOP R-35).
349
+ * Allow `reader` to use what `source` remembers of the caller (R-35).
350
350
  * Allowed again, it is kept as it was.
351
351
  */
352
352
  export const allowRuntimeMemoryShare = async (token, source, reader, baseUrl = DEFAULT_SERVICE_URLS.RUNTIMES) => {
@@ -363,7 +363,7 @@ export const allowRuntimeMemoryShare = async (token, source, reader, baseUrl = D
363
363
  };
364
364
  /**
365
365
  * Stop sharing what `source` remembers of the caller with `reader`
366
- * (LOOP R-35); the service refuses (404) what was never allowed.
366
+ * (R-35); the service refuses (404) what was never allowed.
367
367
  */
368
368
  export const stopRuntimeMemoryShare = async (token, source, reader, baseUrl = DEFAULT_SERVICE_URLS.RUNTIMES) => {
369
369
  validateToken(token);
@@ -1,5 +1,5 @@
1
1
  {
2
- "says": "What `loop` refuses of a scene, recorded from agentspecs (plans/STUDIO.md S-10).",
2
+ "says": "What `loop` refuses of a scene, recorded from agentspecs (S-10).",
3
3
  "recordedWith": "scripts/record-scene-checks.py",
4
4
  "cases": [
5
5
  {
@@ -3,7 +3,7 @@
3
3
  * Distributed under the terms of the Modified BSD License.
4
4
  */
5
5
  /**
6
- * An application's code in the page's sandbox (STUDIO E-11): the tool its
6
+ * An application's code in the page's sandbox (E-11): the tool its
7
7
  * agent runs its code with when it turns in the page — `execute_code`,
8
8
  * Python in this browser — and its documents put there before its first run
9
9
  * (`browserSandbox`).
@@ -1,5 +1,5 @@
1
1
  /**
2
- * An application's commands and modes in the composer (LOOP P-19).
2
+ * An application's commands and modes in the composer (P-19).
3
3
  *
4
4
  * - Each of its **commands** is a workspace command (`LoopCommand`), listed
5
5
  * in the composer's `/` menu (`composer`): picking it writes `/<name> `,
@@ -9,13 +9,13 @@
9
9
  * one menu each; the option picked goes with every run as
10
10
  * `forwardedProps.loop.modes` (`LoopRunProps`), and the runtime tells the
11
11
  * agent its instructions, on the model it names, for that run.
12
- * - What a person may **send** without being asked (LOOP P-21,
12
+ * - What a person may **send** without being asked (P-21,
13
13
  * `interface.uploads`): a paper clip beside the composer takes images,
14
14
  * files and recordings of the kinds and sizes the Appspec says — one it
15
15
  * does not take is refused in a sentence and never read — and the files
16
16
  * held go with the next message as `forwardedProps.loop.files`, then are
17
17
  * let go. The runtime refuses again what was sent all the same.
18
- * - Its **profiles** (LOOP P-20, `interface.profiles`): a picker beside the
18
+ * - Its **profiles** (P-20, `interface.profiles`): a picker beside the
19
19
  * composer, on the first unless another is picked. The profile picked goes
20
20
  * with every run as `forwardedProps.loop.profile`, and its starters (else
21
21
  * the application's) are what the empty chat offers, by category
@@ -4,7 +4,7 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
4
4
  * Distributed under the terms of the Modified BSD License.
5
5
  */
6
6
  /**
7
- * An application's commands and modes in the composer (LOOP P-19).
7
+ * An application's commands and modes in the composer (P-19).
8
8
  *
9
9
  * - Each of its **commands** is a workspace command (`LoopCommand`), listed
10
10
  * in the composer's `/` menu (`composer`): picking it writes `/<name> `,
@@ -14,13 +14,13 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
14
14
  * one menu each; the option picked goes with every run as
15
15
  * `forwardedProps.loop.modes` (`LoopRunProps`), and the runtime tells the
16
16
  * agent its instructions, on the model it names, for that run.
17
- * - What a person may **send** without being asked (LOOP P-21,
17
+ * - What a person may **send** without being asked (P-21,
18
18
  * `interface.uploads`): a paper clip beside the composer takes images,
19
19
  * files and recordings of the kinds and sizes the Appspec says — one it
20
20
  * does not take is refused in a sentence and never read — and the files
21
21
  * held go with the next message as `forwardedProps.loop.files`, then are
22
22
  * let go. The runtime refuses again what was sent all the same.
23
- * - Its **profiles** (LOOP P-20, `interface.profiles`): a picker beside the
23
+ * - Its **profiles** (P-20, `interface.profiles`): a picker beside the
24
24
  * composer, on the first unless another is picked. The profile picked goes
25
25
  * with every run as `forwardedProps.loop.profile`, and its starters (else
26
26
  * the application's) are what the empty chat offers, by category
@@ -1,5 +1,5 @@
1
1
  /**
2
- * The feedback strip above an application's prompt (LOOP V-18): once an
2
+ * The feedback strip above an application's prompt (V-18): once an
3
3
  * answer is in, a thumb up or down and a comment, kept in the application's
4
4
  * record under the conversation it was about.
5
5
  *
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * What a hosted or embedded application keeps, said under its prompt before
3
- * the first message (LOOP R-31) — in every layout, since the composer draws
3
+ * the first message (R-31) — in every layout, since the composer draws
4
4
  * what is hung on `LoopPromptPanel` wherever it stands. Gone once a message
5
5
  * is sent: what it keeps was said before anything was.
6
6
  *
@@ -16,7 +16,7 @@ export function AppKept({ says }) {
16
16
  }
17
17
  return (
18
18
  // Clear of the floating assistant in its corner, at a phone's width too
19
- // (REVIEWS Q-08).
19
+ // (Q-08).
20
20
  _jsx("div", { role: "note", style: { padding: `4px var(${ASSISTANT_CLEARANCE_VAR}, 8px) 4px 8px` }, children: _jsx(Text, { sx: { fontSize: 0, color: 'fg.muted' }, children: says }) }));
21
21
  }
22
22
  /**
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * An application, rendered: the LOOP workspace configured from an Appspec
3
- * (LOOP R-01).
3
+ * (R-01).
4
4
  *
5
5
  * One renderer for every place an application appears — the Studio's
6
6
  * Preview, its hosted page, an embed, the home page — so that what a builder
@@ -28,7 +28,7 @@
28
28
  * address and embedded;
29
29
  * - its **frame**, when the host asks (`frame`): the `window-frame` plugin's
30
30
  * window, its title the application's face and name;
31
- * - its **language** (LOOP P-26): what a person reads of it — its name,
31
+ * - its **language** (P-26): what a person reads of it — its name,
32
32
  * welcome, starters, settings, commands, modes and profiles — in the first
33
33
  * language they prefer that its Appspec is translated into (`language`,
34
34
  * else the browser's), its own words otherwise (`translatedAppspec`);
@@ -59,7 +59,7 @@ export declare const agentIdOf: (app: Pick<AppSpec, "agent" | "team">) => string
59
59
  /**
60
60
  * The plugin that makes a LOOP workspace run an application.
61
61
  *
62
- * Its page plugin of the pair (LOOP F-15): named `loop-app-<id>`, as its
62
+ * Its page plugin of the pair (F-15): named `loop-app-<id>`, as its
63
63
  * runtime's plugin is, and requiring it — so that it stands down while its
64
64
  * runtime does not hold the application, and comes back when it does
65
65
  * (`AppRuntimePlugins` follows the runtime).
@@ -78,10 +78,10 @@ export declare function defineAppPlugin(app: AppSpec, shown?: AppSpec): ReactorP
78
78
  * The application on the page: its plugins delivered as one extension named
79
79
  * as its plugin pair is, `loop-app-<id>` — the extension its runtime's plugin
80
80
  * says too, so that Reactor's manager ("Delivered by") and graph show the
81
- * page's plugins and the runtime's as one application (LOOP F-15).
81
+ * page's plugins and the runtime's as one application (F-15).
82
82
  */
83
83
  export declare function appExtension(app: AppSpec, shown: AppSpec, plugins: PluginRef[]): ReactorExtension;
84
- /** Which instance of an application runs, as the platform knows it (LOOP R-07). */
84
+ /** Which instance of an application runs, as the platform knows it (R-07). */
85
85
  export type AppInstance = {
86
86
  /** Its `app` item. */
87
87
  appUid?: string;
@@ -91,7 +91,7 @@ export type AppInstance = {
91
91
  version?: number;
92
92
  /**
93
93
  * The organization it belongs to: its agent keeps to that organization's
94
- * contexts, read by the runtime from IAM (LOOP U-31); unsaid for an
94
+ * contexts, read by the runtime from IAM (U-31); unsaid for an
95
95
  * application of nobody's organization.
96
96
  */
97
97
  organizationUid?: string;
@@ -108,7 +108,7 @@ export type AppRendererProps = Omit<LoopEmbedProps, 'agentId'> & {
108
108
  */
109
109
  onPresence?: (state: PresenceState) => void;
110
110
  /**
111
- * Its deployment is paused (LOOP R-17), as its host knows it: its chat
111
+ * Its deployment is paused (R-17), as its host knows it: its chat
112
112
  * says *Paused* beside its face and its assistant dozes (T-08, T-22).
113
113
  */
114
114
  paused?: boolean;
@@ -153,11 +153,11 @@ export type AppRendererProps = Omit<LoopEmbedProps, 'agentId'> & {
153
153
  /**
154
154
  * The language the person reads it in, as BCP 47 tags it (`fr`, `pt-BR`):
155
155
  * the platform's setting when the host knows it. The browser's languages
156
- * when unsaid (LOOP P-26).
156
+ * when unsaid (P-26).
157
157
  */
158
158
  language?: string;
159
159
  /**
160
- * Where its voice runs, as its host knows it (VOICE.md VO-49): the speech
160
+ * Where its voice runs, as its host knows it (VO-49): the speech
161
161
  * service's origin and the token it is asked with, and the browser's
162
162
  * models (Datalayer's CDN when unsaid). Given, an application whose
163
163
  * `interface.voice` is on has the microphone in its composer and its
@@ -168,7 +168,7 @@ export type AppRendererProps = Omit<LoopEmbedProps, 'agentId'> & {
168
168
  /** What `interface.layout` sets on the workspace. */
169
169
  export type AppLayoutOptions = Pick<LoopPresetOptions, 'editors' | 'showViewSelector' | 'defaultEditor' | 'pageLayout' | 'pageLayoutArrangement' | 'pageLayoutPrompt' | 'pageLayoutPromptAnchor' | 'pageLayoutTurnPanelFooter'>;
170
170
  /**
171
- * The workspace an application's layout asks for (LOOP T-07).
171
+ * The workspace an application's layout asks for (T-07).
172
172
  *
173
173
  * - `chat`: the conversation alone — no editor, no page, no strip.
174
174
  * - `page`: the page layout — its page (or, without one, the editors) on the
@@ -189,7 +189,7 @@ export type AppPreset = {
189
189
  };
190
190
  /**
191
191
  * The plugins an application's kind needs, and how its workspace is laid
192
- * out (LOOP R-01): the preset per kind, as `loopPlugins` is for the examples.
192
+ * out (R-01): the preset per kind, as `loopPlugins` is for the examples.
193
193
  *
194
194
  * - a **chat**, a **widget**, a **worker**: its agent (`defineAppPlugin`);
195
195
  * its page (`app-page`) when it has one, with the Canvas's block plugins
@@ -238,7 +238,7 @@ export declare function appPreset(app: AppSpec, options?: {
238
238
  * What an application's agent is created with on a Datalayer runtime: under
239
239
  * the application's id, over AG-UI, with the application's own document —
240
240
  * so that the runtime registers it and decides every tool call by its rules
241
- * (LOOP R-03, R-05), as `loop apps run --cloud` does. One payload for every
241
+ * (R-03, R-05), as `loop apps run --cloud` does. One payload for every
242
242
  * place it runs, all of them the workspace (`AppRenderer`): the Studio's
243
243
  * Preview, the hosted page, and the embed inline and floating.
244
244
  */
@@ -254,7 +254,7 @@ export declare function appDatalayerCreatePayload(app: AppSpec, instance?: AppIn
254
254
  export declare const DATALAYER_BOOTSTRAP_AGENTSPEC = "example-simple";
255
255
  /**
256
256
  * The application's accent over the theme its conversation wears, in both
257
- * modes (LOOP T-05): its bubbles and its one button in its own colour, and
257
+ * modes (T-05): its bubbles and its one button in its own colour, and
258
258
  * not in the theme's default — the chat sets its theme again inside it, so
259
259
  * what the page around it set does not reach in. The accents are the theme
260
260
  * system's: laid over whatever theme it wears (T-30; decided 2026-10-07).
@@ -262,7 +262,7 @@ export declare const DATALAYER_BOOTSTRAP_AGENTSPEC = "example-simple";
262
262
  */
263
263
  export declare function appThemeOverrides(app: AppSpec): ThemeOverrides | undefined;
264
264
  /**
265
- * The agent an application's chat speaks to (STUDIO D-15): its own, made
265
+ * The agent an application's chat speaks to (D-15): its own, made
266
266
  * under its id — or, for a visitor without an account, the one of the
267
267
  * visitors' runtime their token reaches (`visitorAgentOf`): an example's by
268
268
  * its id, an application at its address by `at-<slug>`. A token for another
@@ -5,7 +5,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
5
5
  */
6
6
  /**
7
7
  * An application, rendered: the LOOP workspace configured from an Appspec
8
- * (LOOP R-01).
8
+ * (R-01).
9
9
  *
10
10
  * One renderer for every place an application appears — the Studio's
11
11
  * Preview, its hosted page, an embed, the home page — so that what a builder
@@ -33,7 +33,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
33
33
  * address and embedded;
34
34
  * - its **frame**, when the host asks (`frame`): the `window-frame` plugin's
35
35
  * window, its title the application's face and name;
36
- * - its **language** (LOOP P-26): what a person reads of it — its name,
36
+ * - its **language** (P-26): what a person reads of it — its name,
37
37
  * welcome, starters, settings, commands, modes and profiles — in the first
38
38
  * language they prefer that its Appspec is translated into (`language`,
39
39
  * else the browser's), its own words otherwise (`translatedAppspec`);
@@ -88,7 +88,7 @@ export const agentIdOf = (app) => {
88
88
  /**
89
89
  * The plugin that makes a LOOP workspace run an application.
90
90
  *
91
- * Its page plugin of the pair (LOOP F-15): named `loop-app-<id>`, as its
91
+ * Its page plugin of the pair (F-15): named `loop-app-<id>`, as its
92
92
  * runtime's plugin is, and requiring it — so that it stands down while its
93
93
  * runtime does not hold the application, and comes back when it does
94
94
  * (`AppRuntimePlugins` follows the runtime).
@@ -121,7 +121,7 @@ export function defineAppPlugin(app, shown = app) {
121
121
  name: app.id,
122
122
  app_spec: dumpAppspec(app),
123
123
  // Its shell is its code: Codemode's `execute_code`, only when it is on
124
- // (LOOP R-23), as on Datalayer (`appDatalayerCreatePayload`).
124
+ // (R-23), as on Datalayer (`appDatalayerCreatePayload`).
125
125
  enable_codemode: Boolean(app.permissions?.computer?.shell),
126
126
  ...(app.model ? { model: app.model } : {}),
127
127
  },
@@ -132,12 +132,12 @@ export function defineAppPlugin(app, shown = app) {
132
132
  // spec's prompt, then the application's instructions; on the
133
133
  // application's model when it names one (`apps/apps/agent`). An agent
134
134
  // that computes in code is told where its code runs there, and where its
135
- // documents are (STUDIO E-11, `browserSandbox`).
135
+ // documents are (E-11, `browserSandbox`).
136
136
  instructions: runsCodeInSandbox(app)
137
137
  ? [app.instructions, browserSandboxNote(app)].filter(Boolean).join('\n\n')
138
138
  : app.instructions,
139
139
  model: app.model,
140
- // Its modes and its profiles (LOOP P-19, P-20), as the session API
140
+ // Its modes and its profiles (P-19, P-20), as the session API
141
141
  // applies them: the profile's instructions and those of the options
142
142
  // chosen, and the model one names, for the run they are sent with.
143
143
  ...((app.interface.modes ?? []).length > 0 ||
@@ -152,7 +152,7 @@ export function defineAppPlugin(app, shown = app) {
152
152
  * The application on the page: its plugins delivered as one extension named
153
153
  * as its plugin pair is, `loop-app-<id>` — the extension its runtime's plugin
154
154
  * says too, so that Reactor's manager ("Delivered by") and graph show the
155
- * page's plugins and the runtime's as one application (LOOP F-15).
155
+ * page's plugins and the runtime's as one application (F-15).
156
156
  */
157
157
  export function appExtension(app, shown, plugins) {
158
158
  return defineExtension({
@@ -165,7 +165,7 @@ export function appExtension(app, shown, plugins) {
165
165
  });
166
166
  }
167
167
  /**
168
- * The workspace an application's layout asks for (LOOP T-07).
168
+ * The workspace an application's layout asks for (T-07).
169
169
  *
170
170
  * - `chat`: the conversation alone — no editor, no page, no strip.
171
171
  * - `page`: the page layout — its page (or, without one, the editors) on the
@@ -197,7 +197,7 @@ export function appLayoutOptions(app) {
197
197
  }
198
198
  /**
199
199
  * The plugins an application's kind needs, and how its workspace is laid
200
- * out (LOOP R-01): the preset per kind, as `loopPlugins` is for the examples.
200
+ * out (R-01): the preset per kind, as `loopPlugins` is for the examples.
201
201
  *
202
202
  * - a **chat**, a **widget**, a **worker**: its agent (`defineAppPlugin`);
203
203
  * its page (`app-page`) when it has one, with the Canvas's block plugins
@@ -246,18 +246,17 @@ export function appPreset(app, options = {}) {
246
246
  // (P-29).
247
247
  defineAppRuntimePlugin(app.id, { pageSide: hasFolderModules(app) }),
248
248
  // Its code in the browser's sandbox, when it turns in the page and
249
- // computes in code (STUDIO E-11): `execute_code`, its documents there.
249
+ // computes in code (E-11): `execute_code`, its documents there.
250
250
  ...(runsCodeInSandbox(app) ? [defineAppBrowserSandboxPlugin(app)] : []),
251
251
  ...(withPage ? [defineAppPagePlugin(shown), ...blocks] : []),
252
- // The components its developer wrote (LOOP P-17): blocks of its page
252
+ // The components its developer wrote (P-17): blocks of its page
253
253
  // and renderers of its page, its elements and its answers — its own.
254
254
  ...(hasCustomComponents(app) ? [defineAppComponentsPlugin(app)] : []),
255
255
  // Its commands in the composer's `/` menu, its modes and its profiles
256
- // beside the composer (LOOP P-19, P-20) and what a person may attach
256
+ // beside the composer (P-19, P-20) and what a person may attach
257
257
  // there (P-21): only for an application that has some.
258
258
  ...(needsAppComposer(app) ? [defineAppComposerPlugin(shown)] : []),
259
- // A thumb and a comment on each answer, kept in its record (LOOP
260
- // V-18): only for an application whose record keeps feedback.
259
+ // A thumb and a comment on each answer, kept in its record (V-18): only for an application whose record keeps feedback.
261
260
  ...(keepsFeedback(app) ? [defineAppFeedbackPlugin(app)] : []),
262
261
  // What it keeps, and for how long, before anything is said (R-31).
263
262
  ...(options.kept
@@ -275,7 +274,7 @@ export function appPreset(app, options = {}) {
275
274
  : options.computer
276
275
  ? [defineAppComputerPlugin(app)]
277
276
  : []),
278
- // What its code opens beside the conversation (LOOP P-18): a side
277
+ // What its code opens beside the conversation (P-18): a side
279
278
  // panel, a page of its own; nothing drawn while nothing is open.
280
279
  AppElementsPlugin,
281
280
  ],
@@ -286,7 +285,7 @@ export function appPreset(app, options = {}) {
286
285
  * What an application's agent is created with on a Datalayer runtime: under
287
286
  * the application's id, over AG-UI, with the application's own document —
288
287
  * so that the runtime registers it and decides every tool call by its rules
289
- * (LOOP R-03, R-05), as `loop apps run --cloud` does. One payload for every
288
+ * (R-03, R-05), as `loop apps run --cloud` does. One payload for every
290
289
  * place it runs, all of them the workspace (`AppRenderer`): the Studio's
291
290
  * Preview, the hosted page, and the embed inline and floating.
292
291
  */
@@ -328,7 +327,7 @@ export const DATALAYER_BOOTSTRAP_AGENTSPEC = 'example-simple';
328
327
  const NO_PLUGINS = [];
329
328
  /**
330
329
  * The application's accent over the theme its conversation wears, in both
331
- * modes (LOOP T-05): its bubbles and its one button in its own colour, and
330
+ * modes (T-05): its bubbles and its one button in its own colour, and
332
331
  * not in the theme's default — the chat sets its theme again inside it, so
333
332
  * what the page around it set does not reach in. The accents are the theme
334
333
  * system's: laid over whatever theme it wears (T-30; decided 2026-10-07).
@@ -344,7 +343,7 @@ export function appThemeOverrides(app) {
344
343
  : undefined;
345
344
  }
346
345
  /**
347
- * The agent an application's chat speaks to (STUDIO D-15): its own, made
346
+ * The agent an application's chat speaks to (D-15): its own, made
348
347
  * under its id — or, for a visitor without an account, the one of the
349
348
  * visitors' runtime their token reaches (`visitorAgentOf`): an example's by
350
349
  * its id, an application at its address by `at-<slug>`. A token for another
@@ -429,8 +428,7 @@ export function AppRenderer({ app, plugins = NO_PLUGINS, instance, onPresence, o
429
428
  /*
430
429
  * On Datalayer, the application runs on a runtime: allocated with a plain
431
430
  * agentspec, its agent created there with the application's spec — so that
432
- * the runtime registers it and decides every tool call by its rules (LOOP
433
- * R-03, R-05), as `loop apps run --cloud` does.
431
+ * the runtime registers it and decides every tool call by its rules (R-03, R-05), as `loop apps run --cloud` does.
434
432
  */
435
433
  const conversation = !('problem' in preset) && preset.workspace.conversation !== false;
436
434
  const datalayerCreatePayload = useMemo(() => (conversation ? appDatalayerCreatePayload(app, instance) : undefined),
@@ -4,8 +4,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
4
4
  * Distributed under the terms of the Modified BSD License.
5
5
  */
6
6
  /**
7
- * The page told which of an application's plugins its runtime holds (LOOP
8
- * F-15).
7
+ * The page told which of an application's plugins its runtime holds (F-15).
9
8
  *
10
9
  * The application's page plugin requires the runtime's plugin of the same
11
10
  * name (`requiredBackendPlugins`). Reactor stands such a plugin down while
@@ -23,7 +22,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
23
22
  * its own runtime, and the pair is whole: nothing stands down, nothing is
24
23
  * blank.
25
24
  *
26
- * An application whose components are files of its folder (LOOP P-29) has
25
+ * An application whose components are files of its folder (P-29) has
27
26
  * its page side in its package, installed beside the server that runs it:
28
27
  * once on a runtime, the page reads it there with Reactor's
29
28
  * `bootstrapExtensions` (`<base>/plugins/frontend-extensions`) and installs
@@ -3,7 +3,7 @@
3
3
  * Distributed under the terms of the Modified BSD License.
4
4
  */
5
5
  /**
6
- * The agent an application runs, as the page turns it (LOOP H-01, E-11).
6
+ * The agent an application runs, as the page turns it (H-01, E-11).
7
7
  *
8
8
  * On a runtime, an application's agent is its agent's spec — an agent of the
9
9
  * catalogue, or a Cog's, which is an agent equipped with Frames, their
@@ -27,23 +27,23 @@
27
27
  import type { AppAccent, AppThemeMode, AppThemeVariant, AppAssistantCharacter, AppEmbedMode, PapProfile, AppCustomComponentSpec, AppVoiceSpec, AppKind, AppLayout, AppPageOutputComponent, AppSpec, UiChoice } from '../../types/agentspecs';
28
28
  /** The version of the spec itself. */
29
29
  export declare const APP_SCHEMA = "loop.app/v1";
30
- /** The language an application's own words are in, unless it says (LOOP P-26). */
30
+ /** The language an application's own words are in, unless it says (P-26). */
31
31
  export declare const DEFAULT_LANGUAGE = "en";
32
32
  /** The face of an application that has not chosen one. */
33
33
  export declare const DEFAULT_EMOJI = "\uD83D\uDC40";
34
34
  export declare const APP_KINDS: AppKind[];
35
35
  export declare const APP_ACCENTS: AppAccent[];
36
36
  /**
37
- * The themes an application may run in (LOOP T-30): Appearance's, as
37
+ * The themes an application may run in (T-30): Appearance's, as
38
38
  * primer-addons lists them (`themeVariants`), in its order.
39
39
  */
40
40
  export declare const APP_THEME_VARIANTS: AppThemeVariant[];
41
41
  /** The colour modes a theme is worn in. */
42
42
  export declare const APP_THEME_MODES: AppThemeMode[];
43
- /** The four ways an application sits in another product's page (LOOP D-07). */
43
+ /** The four ways an application sits in another product's page (D-07). */
44
44
  export declare const APP_EMBED_MODES: AppEmbedMode[];
45
45
  /**
46
- * How an Appspec names the character of its floating assistant (LOOP T-24):
46
+ * How an Appspec names the character of its floating assistant (T-24):
47
47
  * the id a plugin contributes it under, `paperclip` or `acme-owl` — as
48
48
  * agentspecs' `ASSISTANT_CHARACTER_ID`. Which ids exist is what the enabled
49
49
  * plugins contribute (`assistantCharacterNamed`), not the spec's to say.
@@ -67,7 +67,7 @@ export interface AppUiFacts {
67
67
  ownComponents?: boolean;
68
68
  }
69
69
  /**
70
- * The UI plugins an application is drawn with (AGENTIC_UI R8), as its `ui`
70
+ * The UI plugins an application is drawn with (R8), as its `ui`
71
71
  * lists them: what `appPreset` mounts for it. A decision: its page alone,
72
72
  * drawn by its host. Every other kind: the conversation — `chat`, which
73
73
  * stands for the conversation base the runtime mounts — then the A2UI
@@ -90,7 +90,7 @@ type Data = Record<string, unknown>;
90
90
  export declare function retentionDays(keepFor: string): number;
91
91
  /** An application with nothing said: what *Start blank* opens. */
92
92
  export declare function emptyAppspec(kind?: AppKind): AppSpec;
93
- /** The Personal Agent Protocol profiles Datalayer speaks, as agentspecs' `PAP_PROFILES` (PAP_DATALAYER S-03). */
93
+ /** The Personal Agent Protocol profiles Datalayer speaks, as agentspecs' `PAP_PROFILES` (S-03). */
94
94
  export declare const PAP_PROFILES: readonly PapProfile[];
95
95
  /** The profile a `pap` block is written for when the Studio or a builder starts one. */
96
96
  export declare const PAP_PROFILE: PapProfile;
@@ -99,9 +99,9 @@ export declare const PAP_PROFILE: PapProfile;
99
99
  * (`pap_profile_problem`); `undefined` when it is one Datalayer speaks.
100
100
  */
101
101
  export declare function papProfileProblem(value: unknown): string | undefined;
102
- /** An application's voice (VOICE.md VO-41): off unless said. */
102
+ /** An application's voice (VO-41): off unless said. */
103
103
  export declare const DEFAULT_VOICE: AppVoiceSpec;
104
- /** What a page's output may be drawn with (LOOP P-05), and the property of each that shows its value. */
104
+ /** What a page's output may be drawn with (P-05), and the property of each that shows its value. */
105
105
  export declare const PAGE_OUTPUT_SHOWS: Record<AppPageOutputComponent, string>;
106
106
  /** The height of a component its developer wrote (P-17), unless it says. */
107
107
  export declare const DEFAULT_CUSTOM_HEIGHT = 240;
@@ -127,7 +127,7 @@ export interface ParsedAppspec {
127
127
  */
128
128
  export declare function parseAppspec(document: unknown): ParsedAppspec;
129
129
  /**
130
- * What is wrong with the UI plugins an application names (AGENTIC_UI R8), in
130
+ * What is wrong with the UI plugins an application names (R8), in
131
131
  * the sentences agentspecs says (`ui_choices_problems`): a plugin the
132
132
  * catalogue does not have or said twice — a renderer named as a plugin is
133
133
  * refused —, a renderer the catalogue does not have or the plugin may not be
@@ -136,7 +136,7 @@ export declare function parseAppspec(document: unknown): ParsedAppspec;
136
136
  export declare function uiProblems(app: Pick<AppSpec, 'ui' | 'enabled'>): string[];
137
137
  /**
138
138
  * What is wrong with the protocols an application says it speaks
139
- * (AGENT_PROTOCOLS PS-02), as agentspecs says it: an id the catalogue does not
139
+ * (PS-02), as agentspecs says it: an id the catalogue does not
140
140
  * know or said twice, a planned protocol while it is offered, and a `pap`,
141
141
  * `pact`, `a2a` or `signed_fetch` block configuring a protocol it does not list.
142
142
  */