@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
@@ -11,7 +11,7 @@ export declare const CUSTOM_RESERVED_NAMES: readonly ["id", "component", "action
11
11
  */
12
12
  export declare const CUSTOM_SOURCE: RegExp;
13
13
  /**
14
- * Or a file of the application's folder, by its path in it (LOOP P-29): a
14
+ * Or a file of the application's folder, by its path in it (P-29): a
15
15
  * `.js` or `.mjs` file inside the folder — no absolute path, no `..`.
16
16
  * Packaged with the application (`loop apps package`), it is served by the
17
17
  * server its package is installed beside (`LoopAppFiles`).
@@ -35,7 +35,7 @@ export declare function customPropsRefused(component: AppCustomComponentSpec, pr
35
35
  /** What stops one component its developer wrote from being reviewed, in sentences. */
36
36
  export declare function customComponentProblems(component: AppCustomComponentSpec): string[];
37
37
  /**
38
- * Whether an application's page side is packaged (LOOP P-29): a component
38
+ * Whether an application's page side is packaged (P-29): a component
39
39
  * its developer wrote is a file of its folder.
40
40
  */
41
41
  export declare const hasFolderModules: (app: Pick<AppSpec, "interface">) => boolean;
@@ -3,7 +3,7 @@
3
3
  * Distributed under the terms of the Modified BSD License.
4
4
  */
5
5
  /**
6
- * Components a developer writes (LOOP P-17): an A2UI component of one
6
+ * Components a developer writes (P-17): an A2UI component of one
7
7
  * application only, declared in its Appspec (`interface.custom_components`)
8
8
  * with its name, its properties as a JSON Schema, what it shows and sends,
9
9
  * and the address of the built ES module that draws it.
@@ -44,7 +44,7 @@ export const CUSTOM_RESERVED_NAMES = [
44
44
  */
45
45
  export const CUSTOM_SOURCE = /^(?:https:\/\/[A-Za-z0-9.-]+(?::\d+)?|http:\/\/(?:localhost|127\.0\.0\.1)(?::\d+)?)\/\S*$/;
46
46
  /**
47
- * Or a file of the application's folder, by its path in it (LOOP P-29): a
47
+ * Or a file of the application's folder, by its path in it (P-29): a
48
48
  * `.js` or `.mjs` file inside the folder — no absolute path, no `..`.
49
49
  * Packaged with the application (`loop apps package`), it is served by the
50
50
  * server its package is installed beside (`LoopAppFiles`).
@@ -214,7 +214,7 @@ export function customComponentProblems(component) {
214
214
  return problems;
215
215
  }
216
216
  /**
217
- * Whether an application's page side is packaged (LOOP P-29): a component
217
+ * Whether an application's page side is packaged (P-29): a component
218
218
  * its developer wrote is a file of its folder.
219
219
  */
220
220
  export const hasFolderModules = (app) => (app.interface.customComponents ?? []).some(component => isFolderSource(component.source));
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Feedback from the people who use an application (LOOP V-18): a thumb up or
2
+ * Feedback from the people who use an application (V-18): a thumb up or
3
3
  * down on an answer, and a comment, kept in the application's record.
4
4
  *
5
5
  * Kept only when the application's `record.include` names `feedback` — its
@@ -22,7 +22,7 @@ export type Feedback = {
22
22
  liked: boolean;
23
23
  comment: string;
24
24
  /**
25
- * The answer it is about (LOOP P-24): `answer-<n>`, its place among the
25
+ * The answer it is about (P-24): `answer-<n>`, its place among the
26
26
  * conversation's answers; none for the conversation as a whole.
27
27
  */
28
28
  message?: string;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * The tools an embedded application is given for its host page (LOOP D-10),
2
+ * The tools an embedded application is given for its host page (D-10),
3
3
  * by name: `host_context` for the values the page passes, `host_<name>` for
4
4
  * each function it offers. Apart from `embed/hostBridge`, which calls the
5
5
  * page, so that the checks read them as a pure module.
@@ -13,11 +13,11 @@ export declare const HOST_CONTEXT_TOOL = "host_context";
13
13
  export declare const hostTool: (name: string) => string;
14
14
  /** How a value or a function of the host is named. */
15
15
  export declare const HOST_NAME: RegExp;
16
- /** What the page's word on its visitor may be worth (LOOP D-21). */
16
+ /** What the page's word on its visitor may be worth (D-21). */
17
17
  export declare const HOST_USERS: readonly AppHostUser[];
18
18
  /**
19
19
  * Whether a session is opened only for a user the host's server signed
20
- * (LOOP D-21): `deployment.embedded.host.user: signed`.
20
+ * (D-21): `deployment.embedded.host.user: signed`.
21
21
  */
22
22
  export declare function signedUser(bridge: AppHostBridgeSpec | undefined): boolean;
23
23
  /** The tools its agent is given for the host. */
@@ -8,11 +8,11 @@ export const HOST_CONTEXT_TOOL = 'host_context';
8
8
  export const hostTool = (name) => `host_${name}`;
9
9
  /** How a value or a function of the host is named. */
10
10
  export const HOST_NAME = /^[a-z][a-z0-9_]{0,62}$/;
11
- /** What the page's word on its visitor may be worth (LOOP D-21). */
11
+ /** What the page's word on its visitor may be worth (D-21). */
12
12
  export const HOST_USERS = ['claimed', 'signed'];
13
13
  /**
14
14
  * Whether a session is opened only for a user the host's server signed
15
- * (LOOP D-21): `deployment.embedded.host.user: signed`.
15
+ * (D-21): `deployment.embedded.host.user: signed`.
16
16
  */
17
17
  export function signedUser(bridge) {
18
18
  return bridge?.user === 'signed';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * What an application keeps, said before the first message (LOOP R-31).
2
+ * What an application keeps, said before the first message (R-31).
3
3
  *
4
4
  * A hosted or embedded application tells whoever uses it what its record
5
5
  * keeps of the conversation — what its `record.include` names — and for how
@@ -1,5 +1,5 @@
1
1
  /**
2
- * An application in the person's language (LOOP P-26).
2
+ * An application in the person's language (P-26).
3
3
  *
4
4
  * An Appspec says its words in its own language (`interface.language`, `en`
5
5
  * unless said) and may say them in others (`interface.translations`, by BCP
@@ -1,5 +1,5 @@
1
1
  /**
2
- * An application's two Reactor plugins, named once (LOOP F-15).
2
+ * An application's two Reactor plugins, named once (F-15).
3
3
  *
4
4
  * Whichever editor wrote it — a spec, the Canvas, an `app.py` — an
5
5
  * application is a pair of plugins of one name, `loop-app-<id>`: the page's
@@ -3,7 +3,7 @@
3
3
  * Distributed under the terms of the Modified BSD License.
4
4
  */
5
5
  /**
6
- * The record of an application (LOOP R-07), as ai-agents keeps it: what it
6
+ * The record of an application (R-07), as ai-agents keeps it: what it
7
7
  * did, session by session, written by the runtime it ran on — read here for
8
8
  * its activity feed (R-01b, R-15): the sessions, newest first, and what each
9
9
  * one did, step by step.
@@ -43,7 +43,7 @@ export declare const FORWARDING: Record<string, Forwarding>;
43
43
  export declare function addresses(value: unknown): string[];
44
44
  /**
45
45
  * Whether a call forwards a message to somebody outside the organization
46
- * (LOOP W-04): the domain of the mailbox it sends from. Fails closed: a
46
+ * (W-04): the domain of the mailbox it sends from. Fails closed: a
47
47
  * forward that does not say its mailbox is outside. A reply is not a forward.
48
48
  */
49
49
  export declare function forwardsOutside(server: string, name: string, args: ToolArguments): boolean;
@@ -62,7 +62,7 @@ export declare const isReadOnly: (classes: ActionClass[]) => boolean;
62
62
  export declare const strictest: (behaviours: AppBehaviour[]) => AppBehaviour;
63
63
  /**
64
64
  * Whether the application is given a tool of a server: its connection's
65
- * level (LOOP U-15). A connection gives the tools of its server it reaches
65
+ * level (U-15). A connection gives the tools of its server it reaches
66
66
  * (`only`); one that only reads gives only the tools that only read — a tool
67
67
  * nobody classed is taken to write, so a read connection does not give it.
68
68
  * A tool of a server the application is not connected to is not given.
@@ -152,7 +152,7 @@ export function addresses(value) {
152
152
  const domainOf = (address) => address.slice(address.lastIndexOf('@') + 1).trim();
153
153
  /**
154
154
  * Whether a call forwards a message to somebody outside the organization
155
- * (LOOP W-04): the domain of the mailbox it sends from. Fails closed: a
155
+ * (W-04): the domain of the mailbox it sends from. Fails closed: a
156
156
  * forward that does not say its mailbox is outside. A reply is not a forward.
157
157
  */
158
158
  export function forwardsOutside(server, name, args) {
@@ -211,7 +211,7 @@ const reaches = (connection, tool) => connection.only.length === 0 ||
211
211
  connection.only.some(pattern => matchesPattern(tool, pattern));
212
212
  /**
213
213
  * Whether the application is given a tool of a server: its connection's
214
- * level (LOOP U-15). A connection gives the tools of its server it reaches
214
+ * level (U-15). A connection gives the tools of its server it reaches
215
215
  * (`only`); one that only reads gives only the tools that only read — a tool
216
216
  * nobody classed is taken to write, so a read connection does not give it.
217
217
  * A tool of a server the application is not connected to is not given.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Approve and save (LOOP R-24): what an application wants to keep, shown
2
+ * Approve and save (R-24): what an application wants to keep, shown
3
3
  * before it is kept. The runtime asks every `save_to_space` call on the
4
4
  * approvals path with the title and the whole text; an approvals card shows
5
5
  * them, with *Approve and save* and *Decline* in place of *Approve* and
@@ -3,7 +3,7 @@
3
3
  * Distributed under the terms of the Modified BSD License.
4
4
  */
5
5
  /**
6
- * Approve and save (LOOP R-24): what an application wants to keep, shown
6
+ * Approve and save (R-24): what an application wants to keep, shown
7
7
  * before it is kept. The runtime asks every `save_to_space` call on the
8
8
  * approvals path with the title and the whole text; an approvals card shows
9
9
  * them, with *Approve and save* and *Decline* in place of *Approve* and
@@ -3,7 +3,7 @@
3
3
  * Distributed under the terms of the Modified BSD License.
4
4
  */
5
5
  /**
6
- * One validation of a scene (plans/STUDIO.md S-10), said in agentspecs' own
6
+ * One validation of a scene (S-10), said in agentspecs' own
7
7
  * sentences: what the spec editor refuses, the stage refuses and `loop`
8
8
  * refuses, in the same words wherever a person meets them.
9
9
  *
@@ -43,8 +43,8 @@
43
43
  *
44
44
  * It lives in agent-runtimes beside the application's checks (`checks.ts`),
45
45
  * so that every shell that edits a scene — the Studio, and agent-runtimes' own —
46
- * refuses the same things in the same words (plans/STUDIO.md S-10; moved from
47
- * the landing 2026-10-10). `__tests__/scene-checks.test.ts` holds it to what
46
+ * refuses the same things in the same words (S-10, moved from the landing 2026-10-10).
47
+ * `__tests__/scene-checks.test.ts` holds it to what
48
48
  * agentspecs itself says, sentence for sentence.
49
49
  *
50
50
  * @module apps/apps/sceneChecks
@@ -16,7 +16,7 @@
16
16
  * scene's checks over what it reads (`sceneTextProblems`).
17
17
  *
18
18
  * Moved from the landing's Studio on 2026-10-10 with `sceneChecks.ts`
19
- * (plans/STUDIO.md S-10), so that every shell editing a scene reads and writes
19
+ * (S-10), so that every shell editing a scene reads and writes
20
20
  * it alike. Pure: no React, no network.
21
21
  *
22
22
  * @module apps/apps/sceneYaml
@@ -1,5 +1,5 @@
1
1
  /**
2
- * A rule a person adds to a running session (SHIELD.md §6.3, SH-54): the
2
+ * A rule a person adds to a running session (SH-54): the
3
3
  * session API's `/apps/sessions/{uid}/rules`, read and written from the
4
4
  * Rules card beside the page, and the words it says.
5
5
  *
@@ -44,7 +44,7 @@ export interface RulesInForce {
44
44
  managed?: boolean;
45
45
  policies: PolicyInForce[];
46
46
  session_rules: SessionRule[];
47
- /** The sentence when nothing can be decided (SHIELD decision 11), else null. */
47
+ /** The sentence when nothing can be decided, else null. */
48
48
  unavailable: string | null;
49
49
  }
50
50
  /** The words of the card's session section. */
@@ -61,19 +61,18 @@ export declare const SESSION_RULES_WORDS: {
61
61
  readonly goneWithSession: "In force at once, for this session only; gone when it ends.";
62
62
  readonly unavailable: (sentence: string) => string;
63
63
  };
64
- /** Where a file rule holds, in words (SHIELD decision 5). */
64
+ /** Where a file rule holds, in words. */
65
65
  export declare const WHERE_WORDS: Record<'inside' | 'outside', string>;
66
66
  /**
67
- * A rule in words: *writing, sending: leave it to me*; with decision 5's file
68
- * and shell wording when it says where or what (SHIELD SH-43) — *writing
67
+ * A rule in words: *writing, sending: leave it to me*; with the default policy's file
68
+ * and shell wording when it says where or what (SH-43) — *writing
69
69
  * inside the workspace (src/**): do it*, *running `git push`: ask me first*.
70
70
  */
71
71
  export declare function sessionRuleInWords(rule: SessionRule): string;
72
72
  /**
73
- * Decision 5's file and shell rules, offered on a running session in the
73
+ * The default policy's file and shell rules, offered on a running session in the
74
74
  * Shield's own words: each one a rule a person adds as it stands, and the
75
- * runtime refuses one that would loosen what the organization says
76
- * (SHIELD §6.2, §6.3).
75
+ * runtime refuses one that would loosen what the organization says.
77
76
  */
78
77
  export declare const FILE_AND_SHELL_RULES: readonly SessionRule[];
79
78
  /** What the person typed, as the rule the runtime takes; a sentence when it cannot be one. */
@@ -3,7 +3,7 @@
3
3
  * Distributed under the terms of the Modified BSD License.
4
4
  */
5
5
  /**
6
- * A rule a person adds to a running session (SHIELD.md §6.3, SH-54): the
6
+ * A rule a person adds to a running session (SH-54): the
7
7
  * session API's `/apps/sessions/{uid}/rules`, read and written from the
8
8
  * Rules card beside the page, and the words it says.
9
9
  *
@@ -54,14 +54,14 @@ export const SESSION_RULES_WORDS = {
54
54
  goneWithSession: 'In force at once, for this session only; gone when it ends.',
55
55
  unavailable: (sentence) => `Nothing is decided right now: ${sentence}`,
56
56
  };
57
- /** Where a file rule holds, in words (SHIELD decision 5). */
57
+ /** Where a file rule holds, in words. */
58
58
  export const WHERE_WORDS = {
59
59
  inside: 'inside the workspace',
60
60
  outside: 'outside the workspace',
61
61
  };
62
62
  /**
63
- * A rule in words: *writing, sending: leave it to me*; with decision 5's file
64
- * and shell wording when it says where or what (SHIELD SH-43) — *writing
63
+ * A rule in words: *writing, sending: leave it to me*; with the default policy's file
64
+ * and shell wording when it says where or what (SH-43) — *writing
65
65
  * inside the workspace (src/**): do it*, *running `git push`: ask me first*.
66
66
  */
67
67
  export function sessionRuleInWords(rule) {
@@ -79,10 +79,9 @@ export function sessionRuleInWords(rule) {
79
79
  return `${covers}: ${SESSION_RULES_WORDS.decisions[rule.decision]}`;
80
80
  }
81
81
  /**
82
- * Decision 5's file and shell rules, offered on a running session in the
82
+ * The default policy's file and shell rules, offered on a running session in the
83
83
  * Shield's own words: each one a rule a person adds as it stands, and the
84
- * runtime refuses one that would loosen what the organization says
85
- * (SHIELD §6.2, §6.3).
84
+ * runtime refuses one that would loosen what the organization says.
86
85
  */
87
86
  export const FILE_AND_SHELL_RULES = [
88
87
  {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * The nine inputs a setting is drawn with (LOOP P-20): each a JSON Schema
2
+ * The nine inputs a setting is drawn with (P-20): each a JSON Schema
3
3
  * field and, where the field's own widget is not the one wanted, the widget a
4
4
  * form's uiSchema names for it (`ui:widget`) — what `@datalayer/primer-rjsf`
5
5
  * draws. agentspecs' `SETTING_INPUTS`, `FORM_WIDGETS` and
@@ -3,7 +3,7 @@
3
3
  * Distributed under the terms of the Modified BSD License.
4
4
  */
5
5
  /**
6
- * The nine inputs a setting is drawn with (LOOP P-20): each a JSON Schema
6
+ * The nine inputs a setting is drawn with (P-20): each a JSON Schema
7
7
  * field and, where the field's own widget is not the one wanted, the widget a
8
8
  * form's uiSchema names for it (`ui:widget`) — what `@datalayer/primer-rjsf`
9
9
  * draws. agentspecs' `SETTING_INPUTS`, `FORM_WIDGETS` and
@@ -1,5 +1,5 @@
1
1
  /**
2
- * A thread opened from a person's history, to go on with it (LOOP P-24).
2
+ * A thread opened from a person's history, to go on with it (P-24).
3
3
  *
4
4
  * A thread is a session of an application: its uid is the conversation's
5
5
  * AG-UI thread. Opened again, its conversation is read from the runtime the
@@ -23,7 +23,7 @@ import type { ResumedThread } from '../../types/chat';
23
23
  export declare function deploymentOfPayload(createPayload: Record<string, unknown> | undefined): string;
24
24
  /**
25
25
  * The thread a deployment's chat opens on when its host gave none: a new one,
26
- * `id` (PAP_DATALAYER's release gates, found on r1, 14 October 2026).
26
+ * `id` (the release gates, found on r1, 14 October 2026).
27
27
  *
28
28
  * A deployment's agent serves every visitor, and what its runtime holds in
29
29
  * memory is the last run's, whoever ran it: drawn as the page's
@@ -17,7 +17,7 @@ export function deploymentOfPayload(createPayload) {
17
17
  }
18
18
  /**
19
19
  * The thread a deployment's chat opens on when its host gave none: a new one,
20
- * `id` (PAP_DATALAYER's release gates, found on r1, 14 October 2026).
20
+ * `id` (the release gates, found on r1, 14 October 2026).
21
21
  *
22
22
  * A deployment's agent serves every visitor, and what its runtime holds in
23
23
  * memory is the last run's, whoever ran it: drawn as the page's
@@ -1,5 +1,5 @@
1
1
  /**
2
- * What a person sends (LOOP P-21), as rules: the kinds of file an
2
+ * What a person sends (P-21), as rules: the kinds of file an
3
3
  * application takes in its composer without asking (`interface.uploads`),
4
4
  * each with its largest size, and how many at once — and why a file is
5
5
  * refused, in the sentence the runtime says when it was sent all the same.
@@ -49,7 +49,7 @@ export type VisitorAgent = {
49
49
  };
50
50
  /**
51
51
  * Ask the visitors' runtime for the agent a visitor's token names, made
52
- * there if it is not (`POST /api/v1/apps/visitors/agent`, STUDIO D-15): an
52
+ * there if it is not (`POST /api/v1/apps/visitors/agent`, D-15): an
53
53
  * application at its address has its agent made as it is first opened, so
54
54
  * that the runtime holds the application before the page follows it.
55
55
  * Throws with the runtime's sentence when it refuses.
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * A visitor's token, for a conversation without an account on the visitors'
7
- * runtime (LOOP R-30).
7
+ * runtime (R-30).
8
8
  *
9
9
  * ai-inference mints it (`POST /anonymous/token`) naming the visitor — the id
10
10
  * this tab keeps for them, so that a new token is the same visitor, whose
@@ -136,7 +136,7 @@ export function visitorAgentOf(app) {
136
136
  }
137
137
  /**
138
138
  * Ask the visitors' runtime for the agent a visitor's token names, made
139
- * there if it is not (`POST /api/v1/apps/visitors/agent`, STUDIO D-15): an
139
+ * there if it is not (`POST /api/v1/apps/visitors/agent`, D-15): an
140
140
  * application at its address has its agent made as it is first opened, so
141
141
  * that the runtime holds the application before the page follows it.
142
142
  * Throws with the runtime's sentence when it refuses.
@@ -3,8 +3,7 @@
3
3
  * Distributed under the terms of the Modified BSD License.
4
4
  */
5
5
  /**
6
- * A component an application adds to the A2UI catalog it is drawn with (LOOP
7
- * P-17), as a contribution point, re-exported by `apps/core`: the components
6
+ * A component an application adds to the A2UI catalog it is drawn with (P-17), as a contribution point, re-exported by `apps/core`: the components
8
7
  * its developer wrote, contributed by the application's own plugin, so that
9
8
  * its page, the elements its code shows and its answers draw them — in that
10
9
  * application's workspace, and in no other.
@@ -3,7 +3,7 @@
3
3
  * Distributed under the terms of the Modified BSD License.
4
4
  */
5
5
  /**
6
- * Where the files of an application's folder are served (LOOP P-29), as a
6
+ * Where the files of an application's folder are served (P-29), as a
7
7
  * contribution point, re-exported by `apps/core`.
8
8
  *
9
9
  * A component its developer wrote may be a file of its folder (`source:
@@ -1,6 +1,6 @@
1
1
  import type { ComponentSpec } from '../../types/agentspecs';
2
2
  /**
3
- * A block the Canvas may place (LOOP C-12): one component of the catalog of
3
+ * A block the Canvas may place (C-12): one component of the catalog of
4
4
  * visual components (C-13), contributed by the plugin of the UI that
5
5
  * renders it. The Canvas's palette is what the enabled plugins contribute
6
6
  * here, and nothing else: a plugin disabled takes its blocks off it, and an
@@ -3,7 +3,7 @@
3
3
  * Distributed under the terms of the Modified BSD License.
4
4
  */
5
5
  /**
6
- * The Canvas's palette as a contribution point (LOOP C-12), re-exported by
6
+ * The Canvas's palette as a contribution point (C-12), re-exported by
7
7
  * `apps/core`: kept apart so that reading the palette loads the reactor and
8
8
  * the catalogue, and nothing of the workspace.
9
9
  *
@@ -1,10 +1,10 @@
1
1
  /** The kinds of part an agent is built from on the Canvas. */
2
2
  export type CanvasPartKind = 'agent' | 'connection' | 'rule' | 'skill' | 'test' | 'event' | 'model' | 'protocol' | 'ui' | 'character';
3
3
  /**
4
- * A part of an agent the Canvas may place (LOOP C-20): a connection to a
4
+ * A part of an agent the Canvas may place (C-20): a connection to a
5
5
  * server of the catalogue, a skill, a model, a rule, a test, an event, a
6
6
  * protocol it speaks, a UI its answers render in, the character it shows
7
- * (AGENT_PROTOCOLS PS-04, PS-05) —
7
+ * (PS-04, PS-05) —
8
8
  * contributed by the plugin of what it comes from. The toolbox is what the
9
9
  * enabled plugins contribute here, and nothing else: a plugin disabled takes
10
10
  * its parts off it, as it takes its blocks off the palette.
@@ -19,7 +19,7 @@ export type CanvasPartContribution = {
19
19
  says: string;
20
20
  emoji?: string;
21
21
  /**
22
- * The harness it runs on, for an agent part (SHIELD SH-43): the catalogue
22
+ * The harness it runs on, for an agent part (SH-43): the catalogue
23
23
  * harness's id, whose terms, credential and what it honours the Properties
24
24
  * panel reads from `specs/harnesses`.
25
25
  */
@@ -3,7 +3,7 @@
3
3
  * Distributed under the terms of the Modified BSD License.
4
4
  */
5
5
  /**
6
- * The agent's toolbox as a contribution point (LOOP C-20), beside the
6
+ * The agent's toolbox as a contribution point (C-20), beside the
7
7
  * Canvas's palette of blocks (`canvasBlocks`, C-12): kept apart so that
8
8
  * reading the toolbox loads the reactor and the catalogue, and nothing of the
9
9
  * workspace.
@@ -62,7 +62,7 @@ export type SandboxSnapshot = {
62
62
  * On Datalayer the agent is on its runtime and nowhere else: until one is
63
63
  * assigned there is nothing to address, and the host's own server is not a
64
64
  * stand-in — on a hosted page it is the page's own origin, which answered a
65
- * question with a 404 while the pool had no runtime (STUDIO P-24, round 9).
65
+ * question with a 404 while the pool had no runtime (P-24, round 9).
66
66
  * Every other target's agent is on the host's server, or on the one its
67
67
  * sandbox names.
68
68
  */
@@ -266,7 +266,7 @@ export type ViewControls = {
266
266
  * message had no way in.
267
267
  *
268
268
  * `forwardedProps` go with the run as AG-UI's: an application's page says
269
- * there what it did besides the message (`loop`, LOOP R-04). Answers why
269
+ * there what it did besides the message (`loop`, R-04). Answers why
270
270
  * the message cannot go, when it cannot.
271
271
  */
272
272
  send?: (message: string, forwardedProps?: Record<string, unknown>) => string | void;
@@ -369,7 +369,7 @@ export type CommandContribution = {
369
369
  args?: readonly CommandArgSpec[];
370
370
  /**
371
371
  * Listed in the composer's `/` menu, as an application's commands are
372
- * (LOOP P-19). Most commands are not: the menu is for what a person sends,
372
+ * (P-19). Most commands are not: the menu is for what a person sends,
373
373
  * the palette and `/help` for the rest.
374
374
  */
375
375
  composer?: boolean;
@@ -377,8 +377,7 @@ export type CommandContribution = {
377
377
  };
378
378
  /**
379
379
  * What goes with every run besides the message, as AG-UI's `forwardedProps`:
380
- * an application's modes say there which option the person is in (LOOP
381
- * P-19). Read when a message is sent, so it says what is true then; what a
380
+ * an application's modes say there which option the person is in (P-19). Read when a message is sent, so it says what is true then; what a
382
381
  * page says with its own message (its action, its files) is merged over it,
383
382
  * the `loop` part key by key.
384
383
  */
@@ -567,7 +566,7 @@ export type ChatSuggestionItem = {
567
566
  /**
568
567
  * The heading it is offered under: openers of one group together, under
569
568
  * its name, those without one first — an application's starter's category
570
- * (LOOP P-20).
569
+ * (P-20).
571
570
  */
572
571
  group?: string;
573
572
  };
@@ -584,7 +583,7 @@ export type ChatSuggestionContribution = {
584
583
  };
585
584
  export declare const LoopChatSuggestion: import("@datalayer/reactor").ContributionPoint<ChatSuggestionContribution>;
586
585
  /**
587
- * A character the floating assistant may show (LOOP T-24): a drawing — one
586
+ * A character the floating assistant may show (T-24): a drawing — one
588
587
  * of Datalayer's own (T-25) or a plugin's — or a character read from a file
589
588
  * a person holds the rights to (T-26). The catalogue of characters is what
590
589
  * the enabled plugins contribute here, and nothing else; an application
@@ -654,7 +653,7 @@ export type LoopChatExtrasValue = {
654
653
  * The ids of the `AgentTools` bundles (Reactor's) the chat hands its agent
655
654
  * wherever it runs — on a runtime too, where the plugins' bundles are not
656
655
  * otherwise given — each tool running its command on this workspace's
657
- * reactor (REACTOR_UI RU-7): the host page's (`host`), which an embedded
656
+ * reactor (RU-7): the host page's (`host`), which an embedded
658
657
  * application calls as `host_<name>`.
659
658
  */
660
659
  agentToolBundles?: string[];
@@ -695,7 +694,7 @@ export type LoopChatExtrasValue = {
695
694
  hideOpeners?: boolean;
696
695
  /**
697
696
  * Openers in place of the contributed ones, live: what an application
698
- * offers with the profile picked in its composer (LOOP P-20) — the empty
697
+ * offers with the profile picked in its composer (P-20) — the empty
699
698
  * chat offers these, and changes them when the profile changes, without
700
699
  * rebuilding the reactor. `hiddenOpeners` still applies.
701
700
  */
@@ -715,7 +714,7 @@ export type LoopChatExtrasValue = {
715
714
  *
716
715
  * While set, the composer's placeholder is `says` and sending hands the
717
716
  * words to `send`, never to the model or the runtime: a person talking with
718
- * a company themselves in a Direct Conversation (PAP_DATALAYER P-08), their
717
+ * a company themselves in a Direct Conversation (P-08), their
719
718
  * own words sent as theirs. A refusal `send` throws is said under the
720
719
  * composer and the words stay where they were typed. Unset, the composer
721
720
  * talks to the agent again.
@@ -1069,7 +1068,7 @@ export type ChatTurnSnapshot = {
1069
1068
  /**
1070
1069
  * The conversation the turn belongs to, as the runtime knows it (AG-UI's
1071
1070
  * thread) — what an application's record keeps its session under, and
1072
- * what feedback on it names (LOOP V-18). Absent when the chat does not say.
1071
+ * what feedback on it names (V-18). Absent when the chat does not say.
1073
1072
  */
1074
1073
  thread?: string;
1075
1074
  status: ChatTurnStatus;
@@ -1086,7 +1085,7 @@ export type ChatTurnSnapshot = {
1086
1085
  activity?: string;
1087
1086
  };
1088
1087
  /**
1089
- * One message of the conversation, as a page shows it (LOOP R-01, C-18): a
1088
+ * One message of the conversation, as a page shows it (R-01, C-18): a
1090
1089
  * person's or the assistant's words, or a tool the assistant called — what
1091
1090
  * the Chat component draws, bound to a chat application's `/messages`.
1092
1091
  */
@@ -1111,7 +1110,7 @@ export type ChatTurnContribution = {
1111
1110
  conversation: ReadonlySignal<ConversationEntry[]>;
1112
1111
  /**
1113
1112
  * What the application is doing, as its chat says it beside its face
1114
- * (LOOP T-08) — waiting for the person on an approval, paused when its
1113
+ * (T-08) — waiting for the person on an approval, paused when its
1115
1114
  * deployment is — for whoever acts it out away from the chat: the
1116
1115
  * floating assistant (T-22).
1117
1116
  */
@@ -21,7 +21,7 @@ import { defineContributionPoint, defineGate } from '@datalayer/reactor';
21
21
  * On Datalayer the agent is on its runtime and nowhere else: until one is
22
22
  * assigned there is nothing to address, and the host's own server is not a
23
23
  * stand-in — on a hosted page it is the page's own origin, which answered a
24
- * question with a 404 while the pool had no runtime (STUDIO P-24, round 9).
24
+ * question with a 404 while the pool had no runtime (P-24, round 9).
25
25
  * Every other target's agent is on the host's server, or on the one its
26
26
  * sandbox names.
27
27
  */
@@ -170,15 +170,14 @@ export const LoopAgentBlueprint = defineContributionPoint('loop.agent.blueprint'
170
170
  export const LoopChatSuggestion = defineContributionPoint('loop.chat.suggestion');
171
171
  export const LoopAssistantCharacter = defineContributionPoint('loop.assistant.character');
172
172
  export const LoopAssistantMenu = defineContributionPoint('loop.assistant.menu');
173
- // A block the Canvas may place (LOOP C-12), in a module of its own so that
173
+ // A block the Canvas may place (C-12), in a module of its own so that
174
174
  // the palette is read without the rest of the contracts.
175
175
  export { LoopCanvasBlock } from './canvasBlocks';
176
- // A part of an agent the Canvas may place (LOOP C-20), beside the blocks.
176
+ // A part of an agent the Canvas may place (C-20), beside the blocks.
177
177
  export { LoopCanvasPart, } from './canvasParts';
178
- // A component an application adds to the catalog it is drawn with (LOOP
179
- // P-17): the components its developer wrote, for its workspace alone.
178
+ // A component an application adds to the catalog it is drawn with (P-17): the components its developer wrote, for its workspace alone.
180
179
  export { LoopA2uiComponent, } from './a2uiComponents';
181
- // Where the files of an application's folder are served (LOOP P-29): said
180
+ // Where the files of an application's folder are served (P-29): said
182
181
  // by the page side its package carries.
183
182
  export { LoopAppFiles } from './appFiles';
184
183
  /**