@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
@@ -75,7 +75,7 @@ export interface AgentCapability {
75
75
  tags?: string[];
76
76
  }
77
77
  /**
78
- * A visual component a UI plugin renders (LOOP C-13), named as a surface names
78
+ * A visual component a UI plugin renders (C-13), named as a surface names
79
79
  * it. A standard one's properties are its protocol's own; Datalayer's own
80
80
  * carry theirs as a JSON Schema, from which its properties form is drawn (C-14).
81
81
  */
@@ -106,7 +106,7 @@ export interface ComponentSpec {
106
106
  example?: Record<string, unknown>;
107
107
  }
108
108
  /**
109
- * A UI plugin (`agentspecs/ui`, AGENTIC_UI R8): one Reactor plugin of this
109
+ * A UI plugin (`agentspecs/ui`, R8): one Reactor plugin of this
110
110
  * package a Maker composes an interface with, read from its registration, and
111
111
  * the UI renderers it may be exposed through. An agent's or an application's
112
112
  * `ui` names plugins, each with its renderer.
@@ -146,11 +146,11 @@ export interface UISpec {
146
146
  renderers: string[];
147
147
  /** The catalog its components are written in. */
148
148
  catalog: string;
149
- /** The visual components it renders (LOOP C-13). */
149
+ /** The visual components it renders (C-13). */
150
150
  components: ComponentSpec[];
151
151
  }
152
152
  /**
153
- * A UI renderer (`agentspecs/ui-renderers`, AGENTIC_UI R8): how a UI plugin's
153
+ * A UI renderer (`agentspecs/ui-renderers`, R8): how a UI plugin's
154
154
  * interface reaches a host that is not Datalayer's own page.
155
155
  */
156
156
  export interface UiRendererSpec {
@@ -171,10 +171,10 @@ export interface UiChoice {
171
171
  /** The UI renderer of `agentspecs/ui-renderers` it is exposed through, by id. */
172
172
  renderer?: string;
173
173
  }
174
- /** The layer of an agent's visit a protocol answers (AGENT_PROTOCOLS §1). */
174
+ /** The layer of an agent's visit a protocol answers. */
175
175
  export type ProtocolLayer = 'transport' | 'consent' | 'identity' | 'commerce' | 'ui';
176
176
  /**
177
- * An agent protocol Datalayer targets (`agentspecs/protocols`, AGENT_PROTOCOLS
177
+ * An agent protocol Datalayer targets (`agentspecs/protocols`,
178
178
  * PS-01). An agent spec's or an application's `protocols` names the ones it speaks.
179
179
  */
180
180
  export interface ProtocolSpec {
@@ -204,7 +204,7 @@ export interface ProtocolSpec {
204
204
  /** The Appspec block it configures, if any: refused unless `protocols` lists it. */
205
205
  appspecBlock?: 'pap' | 'pact' | 'a2a' | 'signed_fetch';
206
206
  }
207
- /** How a harness is launched and driven over ACP (SHIELD.md §3.1). */
207
+ /** How a harness is launched and driven over ACP. */
208
208
  export interface HarnessAcpSpec {
209
209
  /** The executable, as the runtime image has it. */
210
210
  command: string;
@@ -222,13 +222,13 @@ export interface HarnessAcpSpec {
222
222
  }
223
223
  /**
224
224
  * An agent program driven over the Agent Client Protocol
225
- * (`agentspecs/harnesses`, SHIELD.md SH-01). An agent spec's `harness:` names
225
+ * (`agentspecs/harnesses`, SH-01). An agent spec's `harness:` names
226
226
  * one beside `pydantic-ai` and `vercel-ai`; the Datalayer runtime serves it
227
- * through its ACP adapter, `ACPAgent` (SHIELD SH-10), never the browser.
227
+ * through its ACP adapter, `ACPAgent` (SH-10), never the browser.
228
228
  */
229
229
  /**
230
- * A Shield policy document the platform ships or shows (`agentspecs/policies`,
231
- * SHIELD.md SH-50): the catalogue's fields around a document of
230
+ * A Shield policy document the platform ships or shows (`agentspecs/policies`, SH-50):
231
+ * the catalogue's fields around a document of
232
232
  * `@datalayer/agent-shield`'s `Policy`, whose schema agentspecs carries verbatim.
233
233
  */
234
234
  export interface PolicySpec {
@@ -267,7 +267,7 @@ export interface PolicySpec {
267
267
  admit?: string[];
268
268
  credentials?: 'account' | 'platform' | 'either';
269
269
  };
270
- /** The classes that need an authorizer's allow beside the Rules (SHIELD §6.11). */
270
+ /** The classes that need an authorizer's allow beside the Rules. */
271
271
  authorize?: Array<'read' | 'write' | 'send' | 'buy' | 'delete' | 'execute'>;
272
272
  /** The standalone Shield's decision point: exactly one of these. */
273
273
  authorizer?: {
@@ -332,8 +332,8 @@ export interface StandardControl {
332
332
  coverage_note?: string;
333
333
  }
334
334
  /**
335
- * A standard a conformance report answers (`agentspecs/standards`, SHIELD.md
336
- * SH-60, §6.9): its version, domains and controls, carried whole.
335
+ * A standard a conformance report answers (`agentspecs/standards`, SH-60):
336
+ * its version, domains and controls, carried whole.
337
337
  */
338
338
  export interface StandardSpec {
339
339
  id: string;
@@ -347,7 +347,7 @@ export interface StandardSpec {
347
347
  url: string;
348
348
  releasedOn: string;
349
349
  nextReleaseOn: string | null;
350
- /** The day the spec was read from the published pages (decision 16). */
350
+ /** The day the spec was read from the published pages. */
351
351
  readOn: string;
352
352
  certificateValidMonths: number;
353
353
  mapsTo: string | null;
@@ -361,7 +361,7 @@ export interface StandardSpec {
361
361
  controls: StandardControl[];
362
362
  }
363
363
  /**
364
- * A harness of the register's *listed* tier (SHIELD SH-57): known to speak ACP,
364
+ * A harness of the register's *listed* tier (SH-57): known to speak ACP,
365
365
  * its documented command, licence, terms and credential read and cited; not
366
366
  * drilled, so offered by nothing — naming one is refused *listed, not drilled yet*.
367
367
  */
@@ -398,13 +398,13 @@ export interface HarnessSpec {
398
398
  secrets: string[];
399
399
  binaries: string[];
400
400
  };
401
- /** The terms it is served under, as the register says them (§3.3). */
401
+ /** The terms it is served under, as the register says them. */
402
402
  terms: {
403
403
  servedToThirdParties: 'api_key_only' | 'permitted' | 'refused' | 'organizations_own';
404
404
  licence: string;
405
405
  tierRestrictions?: string;
406
406
  };
407
- /** Where the Shield writes an application's skills for it (§4.10). */
407
+ /** Where the Shield writes an application's skills for it. */
408
408
  skills: {
409
409
  format: 'skill-md' | 'none';
410
410
  dir: string;
@@ -674,7 +674,7 @@ export interface ServerActionsSpec {
674
674
  tools: Record<string, ActionClass[]>;
675
675
  /** What an argument makes a tool do besides, by tool. */
676
676
  conditions: Record<string, ActionConditionSpec[]>;
677
- /** The argument carrying what a tool sends, signed with the application's byline (LOOP I-10), by tool. */
677
+ /** The argument carrying what a tool sends, signed with the application's byline (I-10), by tool. */
678
678
  signs?: Record<string, string>;
679
679
  }
680
680
  /** What kind of application it is: what its user meets. */
@@ -690,12 +690,12 @@ export type AppBehaviour = 'do_it' | 'if_asked' | 'ask_first' | 'leave_to_me';
690
690
  export type AppLayout = 'chat' | 'page' | 'split';
691
691
  /** The one colour of an application; everything else is neutral. */
692
692
  export type AppAccent = 'green' | 'rose' | 'sky' | 'lime' | 'sun' | 'violet';
693
- /** A theme of Appearance's, which an application may run in (LOOP T-30). */
693
+ /** A theme of Appearance's, which an application may run in (T-30). */
694
694
  export type AppThemeVariant = 'datalayer' | 'spatial' | 'lovely' | 'matrix' | 'earth' | 'sand' | 'ivory' | 'sun' | 'loop';
695
695
  /** The colour mode it is worn in: `auto` follows the device. */
696
696
  export type AppThemeMode = 'light' | 'dark' | 'auto';
697
697
  /**
698
- * The theme an application runs in by default (LOOP T-30): at its address,
698
+ * The theme an application runs in by default (T-30): at its address,
699
699
  * embedded, in the Studio's Preview and as an example. The person's own
700
700
  * when unsaid; the mode, when unsaid, is the person's.
701
701
  */
@@ -704,16 +704,16 @@ export interface AppThemeSpec {
704
704
  mode?: AppThemeMode;
705
705
  }
706
706
  /**
707
- * The character an application's floating assistant shows (LOOP T-24): the id
707
+ * The character an application's floating assistant shows (T-24): the id
708
708
  * an enabled plugin contributes it under to `loop.assistant.character` —
709
709
  * Datalayer's are `paperclip`, `wizard`, `cat` and `eyes`. The spec checks
710
710
  * its shape (`APP_ASSISTANT_CHARACTER_ID`); whether a plugin gives it is
711
711
  * known only where the plugins are.
712
712
  */
713
713
  export type AppAssistantCharacter = string;
714
- /** How a floating assistant's balloon shows the conversation (LOOP T-23). */
714
+ /** How a floating assistant's balloon shows the conversation (T-23). */
715
715
  export type AppBalloonDisplay = 'history' | 'current';
716
- /** How an application sits in another product's page (LOOP D-07). */
716
+ /** How an application sits in another product's page (D-07). */
717
717
  export type AppEmbedMode = 'inline' | 'bubble' | 'panel' | 'assistant';
718
718
  /** Something an application reaches. */
719
719
  export interface AppConnectionSpec {
@@ -731,7 +731,7 @@ export type PapInterface = 'agent' | 'openapi' | 'mcp' | 'web';
731
731
  export type PapSignIn = 'direct' | 'device' | 'mediated';
732
732
  /**
733
733
  * A company the application works with as a personal agent
734
- * (PAP_DATALAYER S-01): named by its domain, nothing else; what discovery
734
+ * (S-01): named by its domain, nothing else; what discovery
735
735
  * verifies is the deployment's, never the spec's.
736
736
  */
737
737
  export interface AppPapConnectionSpec {
@@ -749,7 +749,7 @@ export interface AppPapConnectionSpec {
749
749
  signIn: PapSignIn[];
750
750
  extensions: string[];
751
751
  }
752
- /** The application as a company personal agents work with (PAP_DATALAYER U-04). */
752
+ /** The application as a company personal agents work with (U-04). */
753
753
  export interface AppPapCompanySpec {
754
754
  /** Whether it publishes itself as a company at Ship. */
755
755
  enabled: boolean;
@@ -763,13 +763,13 @@ export interface AppPapCompanySpec {
763
763
  /** The personal agents it accepts when `registered` only, by `client_id` URL. */
764
764
  registeredAgents: string[];
765
765
  /**
766
- * What it does for the person once they confirm (PAP_DATALAYER B-04, the
766
+ * What it does for the person once they confirm (B-04, the
767
767
  * `operations` extension): each action and each tool once.
768
768
  */
769
769
  operations: AppPapOperationSpec[];
770
770
  }
771
771
  /**
772
- * One bound of a standing permission (PAP_DATALAYER R-07): a term of the other
772
+ * One bound of a standing permission (R-07): a term of the other
773
773
  * company's operations, by its dotted path, bounded by a term of this one —
774
774
  * its maximum, or the one value allowed (one of the two).
775
775
  */
@@ -779,7 +779,7 @@ export interface AppPapStandingLimitSpec {
779
779
  allowed?: string;
780
780
  }
781
781
  /**
782
- * What an operation gives instead of calling a tool (PAP_DATALAYER R-07, the
782
+ * What an operation gives instead of calling a tool (R-07, the
783
783
  * Ledgerly pattern): once the person confirms it, the application may confirm,
784
784
  * at one of its own company connections and in their account there, what stays
785
785
  * within these bounds — recorded as the approval in advance they would give in
@@ -799,7 +799,7 @@ export interface AppPapStandingSpec {
799
799
  }
800
800
  /**
801
801
  * Something a personal agent may ask the application to do for the person,
802
- * done only once they confirm its exact terms (PAP_DATALAYER B-04): the call
802
+ * done only once they confirm its exact terms (B-04): the call
803
803
  * of `tool` is proposed instead of made, its arguments the terms — or, for one
804
804
  * that `allows`, a standing permission given (R-07).
805
805
  */
@@ -817,7 +817,7 @@ export interface AppPapOperationSpec {
817
817
  }
818
818
  /**
819
819
  * A Personal Agent Protocol profile Datalayer speaks: a draft the PAP SDK
820
- * implements (`draft-01` is its `PROTOCOL_PROFILE` 0.1; PAP_DATALAYER S-03).
820
+ * implements (`draft-01` is its `PROTOCOL_PROFILE` 0.1; S-03).
821
821
  */
822
822
  export type PapProfile = 'draft-01';
823
823
  /** Personal Agent Protocol: the companies it works with, and whether it is one. */
@@ -829,7 +829,7 @@ export interface AppPapSpec {
829
829
  }
830
830
  /**
831
831
  * A business the application asks for each person over PACT 1.0
832
- * (AGENT_PROTOCOLS PI-01): its domain, and the audience its Provider
832
+ * (PI-01): its domain, and the audience its Provider
833
833
  * assigned. Always in each person's own name; never a credential.
834
834
  */
835
835
  export interface AppPactConnectionSpec {
@@ -852,7 +852,7 @@ export interface AppPactRegisteredAgentSpec {
852
852
  jwksUri: string;
853
853
  }
854
854
  /**
855
- * The application as a PACT business (AGENT_PROTOCOLS PR-13, PI-32): its card
855
+ * The application as a PACT business (PR-13, PI-32): its card
856
856
  * names Datalayer as the Provider and its owner as the Brand; it accepts the
857
857
  * personal agents its Maker registered, and a person delegates the scopes it
858
858
  * offers through their Datalayer sign-in.
@@ -872,7 +872,7 @@ export interface AppPactSpec {
872
872
  /** As a business (PR-13): absent or not `enabled`, it is none. Read, it is always said. */
873
873
  business?: AppPactBusinessSpec;
874
874
  }
875
- /** The most one purchase may cost at a merchant (AGENT_PROTOCOLS PI-22). */
875
+ /** The most one purchase may cost at a merchant (PI-22). */
876
876
  export interface AppSpendLimitSpec {
877
877
  /** As written: `50`, `12.50`. */
878
878
  amount: string;
@@ -881,7 +881,7 @@ export interface AppSpendLimitSpec {
881
881
  }
882
882
  /**
883
883
  * A merchant the application shops at for each person, over UCP or ACP
884
- * (AGENT_PROTOCOLS PI-01). Test merchants only, every purchase asked of the
884
+ * (PI-01). Test merchants only, every purchase asked of the
885
885
  * person (decided 2026-10-13). Never a credential.
886
886
  */
887
887
  export interface AppCommerceMerchantSpec {
@@ -901,7 +901,7 @@ export interface AppCommerceSpec {
901
901
  }
902
902
  /**
903
903
  * A website the application reads pages of, each request signed with its
904
- * own Web Bot Auth key (AGENT_PROTOCOLS EX-11, decided 2026-10-13): the
904
+ * own Web Bot Auth key (EX-11, decided 2026-10-13): the
905
905
  * gateway's `signed-fetch` toolset reads there with GET only. Never a
906
906
  * credential.
907
907
  */
@@ -917,7 +917,7 @@ export interface AppSignedFetchSpec {
917
917
  }
918
918
  /**
919
919
  * One of a pair of examples, a PACT business and the personal agent that
920
- * asks it (AGENT_PROTOCOLS PR-13; decided 2026-10-13): when a person has
920
+ * asks it (PR-13; decided 2026-10-13): when a person has
921
921
  * copied both, the Studio registers the personal agent's copy with the
922
922
  * business's copy and points the personal agent there.
923
923
  */
@@ -929,7 +929,7 @@ export interface AppPairSpec {
929
929
  }
930
930
  /**
931
931
  * An A2A extension the application's Agent Card advertises, beside the
932
- * runtime's own (AGENT_PROTOCOLS PR-02). Its params are public: never a
932
+ * runtime's own (PR-02). Its params are public: never a
933
933
  * credential.
934
934
  */
935
935
  export interface AppA2AExtensionSpec {
@@ -972,13 +972,13 @@ export interface AppStarterSpec {
972
972
  label: string;
973
973
  message: string;
974
974
  /**
975
- * The heading it is offered under (LOOP P-20): the starters of one
975
+ * The heading it is offered under (P-20): the starters of one
976
976
  * category together, those without one first. Absent when unsaid.
977
977
  */
978
978
  category?: string;
979
979
  }
980
980
  /**
981
- * One of several assistants in one application (LOOP P-20): picked before
981
+ * One of several assistants in one application (P-20): picked before
982
982
  * the conversation starts — the first unless another is — and kept to its
983
983
  * end. Its instructions are told in every run, its model run in place of the
984
984
  * application's (a mode's wins over it), its starters offered in place of
@@ -993,7 +993,7 @@ export interface AppProfileSpec {
993
993
  starters: AppStarterSpec[];
994
994
  }
995
995
  /**
996
- * What a person reads of an application in another language (LOOP P-26):
996
+ * What a person reads of an application in another language (P-26):
997
997
  * each part keyed by what names it in the spec — a starter by its label, a
998
998
  * category by its words, a setting by its field, a command by its name, a
999
999
  * mode and a profile by their ids. Every key present; empty is untranslated.
@@ -1025,7 +1025,7 @@ export interface AppTranslationSpec {
1025
1025
  description: string;
1026
1026
  }>;
1027
1027
  }
1028
- /** A slash command the user picks in the composer (LOOP P-19). */
1028
+ /** A slash command the user picks in the composer (P-19). */
1029
1029
  export interface AppCommandSpec {
1030
1030
  /** What follows the slash: lower-case letters, digits and hyphens. */
1031
1031
  name: string;
@@ -1035,7 +1035,7 @@ export interface AppCommandSpec {
1035
1035
  prompt: string;
1036
1036
  }
1037
1037
  /**
1038
- * An action of its code a person presses (REACTOR_UI RU-5): `@app.action`,
1038
+ * An action of its code a person presses (RU-5): `@app.action`,
1039
1039
  * typed — the JSON Schema of its payload, written from the pydantic model its
1040
1040
  * code declares; none when it takes nothing. The runtime offers it with a
1041
1041
  * token and refuses a press of anything else, or with anything else.
@@ -1047,7 +1047,7 @@ export interface AppActionSpec {
1047
1047
  /** The JSON Schema of its payload, an object; none when it takes nothing. */
1048
1048
  payload?: Record<string, unknown>;
1049
1049
  }
1050
- /** One position of a mode switch (LOOP P-19). */
1050
+ /** One position of a mode switch (P-19). */
1051
1051
  export interface AppModeOptionSpec {
1052
1052
  id: string;
1053
1053
  label: string;
@@ -1057,7 +1057,7 @@ export interface AppModeOptionSpec {
1057
1057
  /** The model a run in this mode runs on, in place of the application's. */
1058
1058
  model?: string | null;
1059
1059
  }
1060
- /** A mode switch in the composer (LOOP P-19). */
1060
+ /** A mode switch in the composer (P-19). */
1061
1061
  export interface AppModeSpec {
1062
1062
  id: string;
1063
1063
  label: string;
@@ -1067,8 +1067,7 @@ export interface AppModeSpec {
1067
1067
  default?: string | null;
1068
1068
  }
1069
1069
  /**
1070
- * What a run in the modes chosen is told, and the model it runs on (LOOP
1071
- * P-19): agentspecs' `ModeEffect`.
1070
+ * What a run in the modes chosen is told, and the model it runs on (P-19): agentspecs' `ModeEffect`.
1072
1071
  */
1073
1072
  export interface AppModeEffect {
1074
1073
  /** The instructions of the options chosen, in the order of the modes. */
@@ -1077,7 +1076,7 @@ export interface AppModeEffect {
1077
1076
  model?: string;
1078
1077
  }
1079
1078
  /**
1080
- * One field of a form (LOOP C-16): its JSON Schema — a `type`, the `title` a
1079
+ * One field of a form (C-16): its JSON Schema — a `type`, the `title` a
1081
1080
  * person reads, its `default`, and what it takes (`enum`, `minimum`,
1082
1081
  * `maximum`…).
1083
1082
  */
@@ -1092,7 +1091,7 @@ export type AppFormField = {
1092
1091
  [keyword: string]: unknown;
1093
1092
  };
1094
1093
  /**
1095
- * The JSON Schema of a form (LOOP C-16): an object of named fields, drawn with
1094
+ * The JSON Schema of a form (C-16): an object of named fields, drawn with
1096
1095
  * `@datalayer/primer-rjsf` and checked by the runtime against the same schema.
1097
1096
  * An application's settings are one (`interface.settings`), as a Form block's
1098
1097
  * schema is.
@@ -1114,10 +1113,10 @@ export interface AppSurfaceSpec {
1114
1113
  composedBy: string;
1115
1114
  composedAt: string;
1116
1115
  }
1117
- /** What a page's output is drawn with of the catalog (LOOP P-05). */
1116
+ /** What a page's output is drawn with of the catalog (P-05). */
1118
1117
  export type AppPageOutputComponent = 'Text' | 'Image' | 'Table' | 'Chart';
1119
1118
  /**
1120
- * A component its developer wrote (LOOP P-17), of one application only: the
1119
+ * A component its developer wrote (P-17), of one application only: the
1121
1120
  * catalog grows for it, it does not open. Reviewed as the catalog's own — its
1122
1121
  * properties a JSON Schema, what it shows and sends bindings — and drawn in a
1123
1122
  * sandboxed frame of no origin from the built ES module at `source`.
@@ -1142,7 +1141,7 @@ export interface AppCustomComponentSpec {
1142
1141
  /** A configuration its schema accepts: what the palette previews. */
1143
1142
  example?: Record<string, unknown>;
1144
1143
  }
1145
- /** One thing a widget's page shows for its inputs (LOOP P-05), at `/outputs/<name>`. */
1144
+ /** One thing a widget's page shows for its inputs (P-05), at `/outputs/<name>`. */
1146
1145
  export interface AppPageOutputSpec {
1147
1146
  name: string;
1148
1147
  /** What a person reads above it; none when empty. */
@@ -1157,7 +1156,7 @@ export interface AppPageOutputSpec {
1157
1156
  props: Record<string, unknown>;
1158
1157
  }
1159
1158
  /**
1160
- * A widget's page written in its code (LOOP P-05, `@app.page`): its inputs a
1159
+ * A widget's page written in its code (P-05, `@app.page`): its inputs a
1161
1160
  * form, drawn at `/inputs/<name>`; its outputs values, shown at
1162
1161
  * `/outputs/<name>`. As an input changes, the function its code names runs
1163
1162
  * again on all of them, and the outputs change in place.
@@ -1173,7 +1172,7 @@ export interface AppPageSpec {
1173
1172
  live: boolean;
1174
1173
  }
1175
1174
  /**
1176
- * An application's voice (VOICE.md VO-41), off unless said: whether a person
1175
+ * An application's voice (VO-41), off unless said: whether a person
1177
1176
  * may talk to it, whether its answers are heard, with which voice of the
1178
1177
  * catalogue (`specs/voices`), in which language (BCP 47) and where its
1179
1178
  * speech runs.
@@ -1188,7 +1187,7 @@ export interface AppVoiceSpec {
1188
1187
  where: 'auto' | 'device' | 'server';
1189
1188
  }
1190
1189
  /**
1191
- * A kind of file a person may send, and how large (LOOP P-21): a media type
1190
+ * A kind of file a person may send, and how large (P-21): a media type
1192
1191
  * (`application/pdf`), a family (`image/*`, `audio/*`) or an extension
1193
1192
  * (`.csv`), lowercase.
1194
1193
  */
@@ -1198,7 +1197,7 @@ export interface AppUploadKindSpec {
1198
1197
  maxMb: number;
1199
1198
  }
1200
1199
  /**
1201
- * What a person may send in the composer without being asked (LOOP P-21):
1200
+ * What a person may send in the composer without being asked (P-21):
1202
1201
  * the kinds it takes, each with its largest size, and how many at once.
1203
1202
  */
1204
1203
  export interface AppUploadsSpec {
@@ -1223,7 +1222,7 @@ export interface AppInterfaceSpec {
1223
1222
  /** Mode switches in the composer, the option picked going with every run (P-19). */
1224
1223
  modes: AppModeSpec[];
1225
1224
  /**
1226
- * The actions of its code a person presses, typed (REACTOR_UI RU-5):
1225
+ * The actions of its code a person presses, typed (RU-5):
1227
1226
  * written by its code (`@app.action`); absent from a spec without code.
1228
1227
  */
1229
1228
  actions?: AppActionSpec[];
@@ -1313,7 +1312,7 @@ export interface AppTestCaseSpec {
1313
1312
  turns?: AppTestTurnSpec[];
1314
1313
  expect: string;
1315
1314
  /**
1316
- * The function of its code that decides the case, by name (LOOP P-06:
1315
+ * The function of its code that decides the case, by name (P-06:
1317
1316
  * `@app.test`); `expect` still says it in words, and decides it without
1318
1317
  * the file. Empty, or absent, for a case in words alone.
1319
1318
  */
@@ -1325,7 +1324,7 @@ export interface AppTestCaseSpec {
1325
1324
  files?: AppTestFileSpec[];
1326
1325
  }
1327
1326
  /**
1328
- * What was verified, and how, each in a sentence a person reads (LOOP E-14):
1327
+ * What was verified, and how, each in a sentence a person reads (E-14):
1329
1328
  * what was tried live, what runs on recorded data, what is not verified yet.
1330
1329
  */
1331
1330
  export interface AppVerifiedSpec {
@@ -1349,14 +1348,14 @@ export interface AppRecordSpec {
1349
1348
  retentionDays: number;
1350
1349
  include: string[];
1351
1350
  /**
1352
- * Whether its conversations may be used to suggest tests (LOOP V-16): off
1351
+ * Whether its conversations may be used to suggest tests (V-16): off
1353
1352
  * unless said, and only those kept while it is on are sampled.
1354
1353
  */
1355
1354
  suggestTests: boolean;
1356
1355
  }
1357
- /** Where a check of an application's code runs (LOOP P-06). */
1356
+ /** Where a check of an application's code runs (P-06). */
1358
1357
  export type AppCheckStage = 'answer' | 'tool_call';
1359
- /** A check written in an application's code (LOOP P-06: `@app.check`). */
1358
+ /** A check written in an application's code (P-06: `@app.check`). */
1360
1359
  export interface AppCodeCheckSpec {
1361
1360
  /** The function of its code that checks. */
1362
1361
  name: string;
@@ -1370,11 +1369,11 @@ export interface AppChecksSpec {
1370
1369
  guards: string[];
1371
1370
  gates: string[];
1372
1371
  track: string;
1373
- /** Checks written in its code (LOOP P-06); absent when it has none. */
1372
+ /** Checks written in its code (P-06); absent when it has none. */
1374
1373
  code?: AppCodeCheckSpec[];
1375
1374
  }
1376
1375
  /**
1377
- * A tool of an application's own, written in its code (LOOP P-06:
1376
+ * A tool of an application's own, written in its code (P-06:
1378
1377
  * `@app.tool`): its agent calls it, and the rules decide each call by what
1379
1378
  * it `does`, or by a rule that names it by its name alone.
1380
1379
  */
@@ -1387,7 +1386,7 @@ export interface AppToolSpec {
1387
1386
  /** What it does, by class of action: `read`, `write`, `send`… */
1388
1387
  does: string[];
1389
1388
  }
1390
- /** A function of the host page the application's agent may call (LOOP D-10). */
1389
+ /** A function of the host page the application's agent may call (D-10). */
1391
1390
  export interface AppHostFunctionSpec {
1392
1391
  /** Lower-case words joined by `_`: called as the tool `host_<name>`. */
1393
1392
  name: string;
@@ -1397,8 +1396,7 @@ export interface AppHostFunctionSpec {
1397
1396
  parameters: Record<string, unknown>;
1398
1397
  }
1399
1398
  /**
1400
- * What the host page and an embedded application say to each other (LOOP
1401
- * D-10): the host's values it reads (`user`, `page`, or the host's own),
1399
+ * What the host page and an embedded application say to each other (D-10): the host's values it reads (`user`, `page`, or the host's own),
1402
1400
  * through the tool `host_context`, and the host's functions it may call,
1403
1401
  * each through `host_<name>` — every one of them decided by a rule that
1404
1402
  * names it.
@@ -1407,20 +1405,20 @@ export interface AppHostBridgeSpec {
1407
1405
  context: string[];
1408
1406
  functions: AppHostFunctionSpec[];
1409
1407
  /**
1410
- * Who its user is (LOOP D-21): `claimed`, what the page says (unless
1408
+ * Who its user is (D-21): `claimed`, what the page says (unless
1411
1409
  * said); `signed`, only a token the host's server signed with the
1412
1410
  * deployment's secret — the unsigned one refused.
1413
1411
  */
1414
1412
  user?: AppHostUser;
1415
1413
  }
1416
- /** What the host page's word on its visitor is worth (LOOP D-21). */
1414
+ /** What the host page's word on its visitor is worth (D-21). */
1417
1415
  export type AppHostUser = 'claimed' | 'signed';
1418
1416
  export interface AppDeploymentSpec {
1419
1417
  hosted?: {
1420
1418
  visibility: 'private' | 'invited' | 'organization' | 'link' | 'public';
1421
1419
  slug: string;
1422
1420
  /**
1423
- * At its address, only its character (LOOP T-21): the conversation
1421
+ * At its address, only its character (T-21): the conversation
1424
1422
  * opens in its balloon, as when it is shipped as `assistant`. Off
1425
1423
  * unless said.
1426
1424
  */
@@ -1429,7 +1427,7 @@ export interface AppDeploymentSpec {
1429
1427
  embedded?: {
1430
1428
  mode: AppEmbedMode;
1431
1429
  origins: string[];
1432
- /** What the host page passes it and the functions of the host it may call (LOOP D-10). */
1430
+ /** What the host page passes it and the functions of the host it may call (D-10). */
1433
1431
  host?: AppHostBridgeSpec;
1434
1432
  };
1435
1433
  }
@@ -1482,7 +1480,7 @@ export interface AppSampleAlternativeSpec {
1482
1480
  metrics: Record<string, number>;
1483
1481
  }
1484
1482
  /**
1485
- * What it is tried on before it is anybody's (STUDIO E-06, E-11): published
1483
+ * What it is tried on before it is anybody's (E-06, E-11): published
1486
1484
  * with it by Datalayer, read only — what a visitor without an account
1487
1485
  * computes from, or decides on, in the browser.
1488
1486
  */
@@ -1514,7 +1512,7 @@ export interface AppSpec {
1514
1512
  skills: string[];
1515
1513
  /** Backend tools (agentspecs/backend-tools) it adds to its agent's. */
1516
1514
  backendTools: string[];
1517
- /** Tools of its own, written in its code (LOOP P-06); absent when it has none. */
1515
+ /** Tools of its own, written in its code (P-06); absent when it has none. */
1518
1516
  tools?: AppToolSpec[];
1519
1517
  /** The Frames it works under. */
1520
1518
  context: string[];
@@ -1522,24 +1520,23 @@ export interface AppSpec {
1522
1520
  contents: string[];
1523
1521
  connections: AppConnectionSpec[];
1524
1522
  /**
1525
- * The agent protocols it speaks, ids of `agentspecs/protocols` (AGENT_PROTOCOLS
1526
- * PS-02): its `pap`, `pact` and `a2a` blocks are refused unless their protocol
1523
+ * The agent protocols it speaks, ids of `agentspecs/protocols` (PS-02): its `pap`, `pact` and `a2a` blocks are refused unless their protocol
1527
1524
  * is listed, and a planned one only while it is not offered.
1528
1525
  */
1529
1526
  protocols: string[];
1530
- /** Its UI plugins, each with the renderer it is exposed through, when it is (AGENTIC_UI R8). */
1527
+ /** Its UI plugins, each with the renderer it is exposed through, when it is (R8). */
1531
1528
  ui: UiChoice[];
1532
1529
  /** Personal Agent Protocol; absent, the application has none. */
1533
1530
  pap?: AppPapSpec;
1534
- /** PACT: the businesses it asks for each person (AGENT_PROTOCOLS PI-01). */
1531
+ /** PACT: the businesses it asks for each person (PI-01). */
1535
1532
  pact?: AppPactSpec;
1536
- /** UCP and ACP: the merchants it shops at for each person (AGENT_PROTOCOLS PI-01). */
1533
+ /** UCP and ACP: the merchants it shops at for each person (PI-01). */
1537
1534
  commerce?: AppCommerceSpec;
1538
- /** Signed fetch: the sites it reads pages of, each request signed (AGENT_PROTOCOLS EX-11). */
1535
+ /** Signed fetch: the sites it reads pages of, each request signed (EX-11). */
1539
1536
  signed_fetch?: AppSignedFetchSpec;
1540
1537
  /** One of a pair of examples: a PACT business, or the personal agent that asks it (PR-13). */
1541
1538
  pair?: AppPairSpec;
1542
- /** A2A: the extensions its Agent Card advertises (AGENT_PROTOCOLS PR-02). */
1539
+ /** A2A: the extensions its Agent Card advertises (PR-02). */
1543
1540
  a2a?: AppA2ASpec;
1544
1541
  rules: AppRuleSpec[];
1545
1542
  permissions: AppPermissionsSpec;
@@ -1646,7 +1643,7 @@ export interface Agentspec {
1646
1643
  /** User-facing objective for the agent */
1647
1644
  goal?: string;
1648
1645
  /**
1649
- * What work this agent can be delegated (ORCHESTRATOR.md, O2-07).
1646
+ * What work this agent can be delegated (O2-07).
1650
1647
  *
1651
1648
  * `protocol` below says how a client and an agent talk; this says what it
1652
1649
  * is worth handing the agent. Ids come from a closed vocabulary, because
@@ -1662,11 +1659,10 @@ export interface Agentspec {
1662
1659
  /** Communication protocol (e.g., 'ag-ui', 'acp', 'a2a', 'vercel-ai') */
1663
1660
  protocol?: string;
1664
1661
  /**
1665
- * The agent protocols it speaks, ids of `agentspecs/protocols` (AGENT_PROTOCOLS
1666
- * PS-02). `protocol` says how a page reaches it; this, what it speaks to the world.
1662
+ * The agent protocols it speaks, ids of `agentspecs/protocols` (PS-02). `protocol` says how a page reaches it; this, what it speaks to the world.
1667
1663
  */
1668
1664
  protocols?: string[];
1669
- /** Its UI plugins, each with the renderer it is exposed through, when it is (AGENTIC_UI R8). */
1665
+ /** Its UI plugins, each with the renderer it is exposed through, when it is (R8). */
1670
1666
  ui?: UiChoice[];
1671
1667
  /** Trigger configuration (type, cron, event source, prompt) */
1672
1668
  trigger?: AgentTriggerConfig;
@@ -1708,7 +1704,7 @@ export interface Agentspec {
1708
1704
  /** Subagent delegation configuration. */
1709
1705
  subagents?: SubAgentsConfig;
1710
1706
  /**
1711
- * Its voice, for an agent that is not an application (VOICE.md VO-41):
1707
+ * Its voice, for an agent that is not an application (VO-41):
1712
1708
  * the fields an Appspec says under `interface.voice`; absent when unsaid.
1713
1709
  */
1714
1710
  voice?: AppVoiceSpec;