@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
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Every representation of the floating assistant, as a gallery (LOOP T-21
2
+ * Every representation of the floating assistant, as a gallery (T-21
3
3
  * to T-27): each character — Datalayer's four, the owl an example plugin
4
4
  * contributes to `loop.assistant.character`, a test sprite read through
5
5
  * the clippy.js reader, and, when asked, the characters clippy.js publishes,
@@ -4,7 +4,7 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
4
4
  * Distributed under the terms of the Modified BSD License.
5
5
  */
6
6
  /**
7
- * Every representation of the floating assistant, as a gallery (LOOP T-21
7
+ * Every representation of the floating assistant, as a gallery (T-21
8
8
  * to T-27): each character — Datalayer's four, the owl an example plugin
9
9
  * contributes to `loop.assistant.character`, a test sprite read through
10
10
  * the clippy.js reader, and, when asked, the characters clippy.js publishes,
@@ -1,5 +1,5 @@
1
1
  /**
2
- * An application's computer, beside its page (LOOP R-23).
2
+ * An application's computer, beside its page (R-23).
3
3
  *
4
4
  * An application whose browse, files and shell are on, drawn as the Studio's Preview
5
5
  * draws it — `AppRenderer` with its `sidebar` — on the Local target: its
@@ -4,7 +4,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
4
4
  * Distributed under the terms of the Modified BSD License.
5
5
  */
6
6
  /**
7
- * An application's computer, beside its page (LOOP R-23).
7
+ * An application's computer, beside its page (R-23).
8
8
  *
9
9
  * An application whose browse, files and shell are on, drawn as the Studio's Preview
10
10
  * draws it — `AppRenderer` with its `sidebar` — on the Local target: its
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Signed requests (Web Bot Auth) in the browser (AGENT_PROTOCOLS EX-10): a
2
+ * Signed requests (Web Bot Auth) in the browser (EX-10): a
3
3
  * key generated in the page signs one request; the page shows the three
4
4
  * headers, the signature base the key signed, and what a website's check
5
5
  * finds — verified, then the same request replayed and one with its path
@@ -4,7 +4,7 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
4
4
  * Distributed under the terms of the Modified BSD License.
5
5
  */
6
6
  /**
7
- * Signed requests (Web Bot Auth) in the browser (AGENT_PROTOCOLS EX-10): a
7
+ * Signed requests (Web Bot Auth) in the browser (EX-10): a
8
8
  * key generated in the page signs one request; the page shows the three
9
9
  * headers, the signature base the key signed, and what a website's check
10
10
  * finds — verified, then the same request replayed and one with its path
@@ -1,5 +1,5 @@
1
1
  /**
2
- * A UCP checkout approved as a card (AGENT_PROTOCOLS EX-10, after EX-04):
2
+ * A UCP checkout approved as a card (EX-10, after EX-04):
3
3
  * the UCP client buys from *Example Store*, the local test merchant running
4
4
  * in the page. The exact purchase is proposed; completing it asks the
5
5
  * approver — the card below — once; approving buys once, and the same
@@ -4,7 +4,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
4
4
  * Distributed under the terms of the Modified BSD License.
5
5
  */
6
6
  /**
7
- * A UCP checkout approved as a card (AGENT_PROTOCOLS EX-10, after EX-04):
7
+ * A UCP checkout approved as a card (EX-10, after EX-04):
8
8
  * the UCP client buys from *Example Store*, the local test merchant running
9
9
  * in the page. The exact purchase is proposed; completing it asks the
10
10
  * approver — the card below — once; approving buys once, and the same
@@ -1,5 +1,5 @@
1
1
  /**
2
- * The scenes of the catalogue (agentspecs `scenes`, LOOP A-15), in tabs:
2
+ * The scenes of the catalogue (agentspecs `scenes`, A-15), in tabs:
3
3
  * each scene's face and name, its `assumes` line under them, its graph and
4
4
  * its transcript behind *Graph · Transcript* (`SceneView`), its members
5
5
  * standing where its stage directions put them (`positions`), the entry's
@@ -208,7 +208,7 @@ function Scene({ scene }) {
208
208
  } }), _jsxs(Box, { display: "flex", gap: 2, mt: 2, children: [_jsx(Button, { variant: "primary", disabled: !team.ready || team.busy || !draft.trim(), onClick: () => send(draft), children: "Ask" }), team.busy && _jsx(Button, { onClick: team.stop, children: "Stop" })] }), _jsx(Box, { mt: 3, "data-team-conversation": "", children: team.turns.map((turn, index) => (_jsxs(Box, { p: 2, mb: 2, borderRadius: 2, bg: turn.role === 'user' ? 'accent.subtle' : 'canvas.subtle', children: [_jsx(Text, { sx: { fontSize: 0, color: 'fg.muted', display: 'block' }, children: turn.role === 'user' ? PERSON : entry.app.name }), _jsx(Streamdown, { children: turn.text })] }, index))) })] }), _jsxs(Box, { flex: "1 1 360px", minWidth: 0, children: [!team.notebook && stage.peers.length > 0 && (_jsxs(_Fragment, { children: [_jsx(Heading, { as: "h3", sx: { fontSize: 2, mb: 2 }, children: "The report" }), _jsx(Box, { p: 3, border: "1px solid", borderColor: "border.default", borderRadius: 2, minHeight: 120, "data-team-report": "", children: team.report ? (_jsx(Streamdown, { children: team.report })) : (_jsx(Text, { sx: { color: 'fg.muted' }, children: "What the last member asked returns appears here, as it returned it, or as a notebook to run when it gives one." })) })] })), scene.setup.length > 0 && (_jsxs(Box, { mt: 3, "data-scene-setup": "", children: [_jsx(Heading, { as: "h3", sx: { fontSize: 1, mb: 1 }, children: "What this scene needs" }), scene.setup.map(line => (_jsx(Text, { as: "p", sx: { fontSize: 0, color: 'fg.muted', m: 0 }, children: line }, line)))] }))] })] })] }));
209
209
  }
210
210
  function Scenes() {
211
- // A scripted scene is played as written on its page (PAP_DATALAYER X-02): here, the teams staged live.
211
+ // A scripted scene is played as written on its page (X-02): here, the teams staged live.
212
212
  const scenes = useMemo(() => listSceneSpecs().filter(scene => scene.kind === 'team'), []);
213
213
  const [selected, setSelected] = useState(scenes[0]?.id ?? '');
214
214
  const scene = scenes.find(one => one.id === selected) ?? scenes[0];
@@ -1,5 +1,5 @@
1
1
  /**
2
- * A coding agent behind the Shield, in the web chat (SHIELD §4.3, SH-16; SH-23).
2
+ * A coding agent behind the Shield, in the web chat (SH-16, SH-23).
3
3
  *
4
4
  * The chat talks AG-UI to a local runtime whose agent is a harness: what the
5
5
  * agent changed is drawn as a **diff** in the file's language, what it ran
@@ -4,7 +4,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
4
4
  * Distributed under the terms of the Modified BSD License.
5
5
  */
6
6
  /**
7
- * A coding agent behind the Shield, in the web chat (SHIELD §4.3, SH-16; SH-23).
7
+ * A coding agent behind the Shield, in the web chat (SH-16, SH-23).
8
8
  *
9
9
  * The chat talks AG-UI to a local runtime whose agent is a harness: what the
10
10
  * agent changed is drawn as a **diff** in the file's language, what it ran
@@ -1,5 +1,5 @@
1
1
  /**
2
- * The Shield's policy, from TypeScript (SHIELD §5.1, SH-53; SH-23).
2
+ * The Shield's policy, from TypeScript (SH-53, SH-23).
3
3
  *
4
4
  * An organization's document typed by `@datalayer/agent-shield` (the types
5
5
  * generated from the schema the Python package publishes), what it decides
@@ -4,7 +4,7 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
4
4
  * Distributed under the terms of the Modified BSD License.
5
5
  */
6
6
  /**
7
- * The Shield's policy, from TypeScript (SHIELD §5.1, SH-53; SH-23).
7
+ * The Shield's policy, from TypeScript (SH-53, SH-23).
8
8
  *
9
9
  * An organization's document typed by `@datalayer/agent-shield` (the types
10
10
  * generated from the schema the Python package publishes), what it decides
@@ -1,5 +1,5 @@
1
1
  /**
2
- * A voice chat with the floating assistant (VOICE.md V1).
2
+ * A voice chat with the floating assistant (V1).
3
3
  *
4
4
  * Click the microphone and speak: the words are written in the composer as
5
5
  * they are heard — Moonshine for English, Whisper for French, Silero VAD
@@ -4,7 +4,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
4
4
  * Distributed under the terms of the Modified BSD License.
5
5
  */
6
6
  /**
7
- * A voice chat with the floating assistant (VOICE.md V1).
7
+ * A voice chat with the floating assistant (V1).
8
8
  *
9
9
  * Click the microphone and speak: the words are written in the composer as
10
10
  * they are heard — Moonshine for English, Whisper for French, Silero VAD
@@ -114,8 +114,8 @@ export const EXAMPLE_ENTRIES = [
114
114
  // the shell hides the one in its header rather than showing two controls
115
115
  // for one sandbox — and a second one that would not agree with the first.
116
116
  ['example', 'loop', 'workspace', 'sandbox', 'owns-sandbox-control']),
117
- makeEntry('LoopAppComputerExample', () => import('./LoopAppComputerExample'), 'An application beside its computer: what its agent ran on its sandbox, its files, and Take over and Hand back (LOOP R-23).', ['example', 'loop', 'app', 'computer', 'sandbox', 'owns-sandbox-control']),
118
- makeEntry('ScenesExample', () => import('./ScenesExample'), 'The scenes of the catalogue in tabs — Sales & Accounting, Month-end Close, Crop Monitoring, Disaster Assessment — each its graph and transcript, its cues as suggestions, played against the local servers (LOOP A-15).', ['example', 'loop', 'scenes', 'a2a', 'agentspecs', 'team']),
117
+ makeEntry('LoopAppComputerExample', () => import('./LoopAppComputerExample'), 'An application beside its computer: what its agent ran on its sandbox, its files, and Take over and Hand back (R-23).', ['example', 'loop', 'app', 'computer', 'sandbox', 'owns-sandbox-control']),
118
+ makeEntry('ScenesExample', () => import('./ScenesExample'), 'The scenes of the catalogue in tabs — Sales & Accounting, Month-end Close, Crop Monitoring, Disaster Assessment — each its graph and transcript, its cues as suggestions, played against the local servers (A-15).', ['example', 'loop', 'scenes', 'a2a', 'agentspecs', 'team']),
119
119
  makeEntry('LoopShellExample', () => import('./LoopShellExample'), 'The Loop shell at its most naked: a blank canvas, a floating draggable prompt, and an editor selector in the corner — none, notebook or document.',
120
120
  // `owns-sandbox-control`: the shell is pinned to the browser sandbox, so
121
121
  // the page's selector would offer three targets it cannot move to.
@@ -133,7 +133,7 @@ export const EXAMPLE_ENTRIES = [
133
133
  makeEntry('AgentA2ATeamExample', () => import('./AgentA2ATeamExample'), 'Two applications as a team over A2A: Sales in the browser (@a2a-js/sdk) asks Accounting on a runtime (fasta2a, Odoo read only), each an Office Assistant character.'),
134
134
  makeEntry('ProtocolSignedRequestsExample', () => import('./ProtocolSignedRequestsExample'), 'Web Bot Auth in the browser: a key made in the page signs a request — its three headers and the signature base — verified, then a replay and a changed path refused.'),
135
135
  makeEntry('ProtocolUcpCheckoutExample', () => import('./ProtocolUcpCheckoutExample'), 'A UCP checkout at a test store in the page: the exact purchase proposed, approved on a card once, bought once.'),
136
- // The Shield (SHIELD.md SH-23): a coding agent behind it, and its policy's types.
136
+ // The Shield (SH-23): a coding agent behind it, and its policy's types.
137
137
  makeEntry('ShieldHarnessExample', () => import('./ShieldHarnessExample'), 'A coding agent behind the Shield in the web chat: its changes as diffs, its commands as terminals, what a rule asks first in the approval banner. Needs `python examples/shield/harness_on_the_runtime.py --serve` (the fake agent, no key).', ['example', 'shield', 'harness', 'acp', 'ag-ui', 'chat']),
138
138
  makeEntry('ShieldPolicyExample', () => import('./ShieldPolicyExample'), 'The Shield’s policy from TypeScript: an organization’s document typed by @datalayer/agent-shield, what it decides by class, the tool kinds classed, the limits soft then hard, decisions in describeDecision’s words.', ['example', 'shield', 'policy']),
139
139
  makeEntry('PapCompanyDiscoveryExample', () => import('./PapCompanyDiscoveryExample'), 'Validate a PAP company document and reduce it to the public capabilities safe for an agent or UI.'),
@@ -27,7 +27,7 @@ export const EXAMPLE_GROUP_ORDER = [
27
27
  ];
28
28
  export const getExampleGroup = (id) => {
29
29
  // The library of specs, the Loop shells, and the scenes of the catalogue
30
- // (LOOP A-15): the applications and what is staged with them.
30
+ // (A-15): the applications and what is staged with them.
31
31
  if (id === 'AgentspecsExample' ||
32
32
  id === 'ScenesExample' ||
33
33
  id.startsWith('Loop') ||
@@ -41,10 +41,10 @@ export const getExampleGroup = (id) => {
41
41
  return 'A2A';
42
42
  if (id.startsWith('Pap'))
43
43
  return 'Personal Agent Protocol';
44
- // The other agent protocols' examples: signed requests, commerce (AGENT_PROTOCOLS EX-10).
44
+ // The other agent protocols' examples: signed requests, commerce (EX-10).
45
45
  if (id.startsWith('Protocol'))
46
46
  return 'Agent protocols';
47
- // The Shield: a coding agent behind it, and its policy (SHIELD.md SH-23).
47
+ // The Shield: a coding agent behind it, and its policy (SH-23).
48
48
  if (id.startsWith('Shield'))
49
49
  return 'Shield';
50
50
  if (id.startsWith('AgUi'))
@@ -1,5 +1,5 @@
1
1
  /**
2
- * The sign-in card as a display (REACTOR_UI RU-1), drawn as the chat draws it.
2
+ * The sign-in card as a display (RU-1), drawn as the chat draws it.
3
3
  *
4
4
  * A tool that starts a sign-in answers with a `PapSignIn` display
5
5
  * (`application/vnd.datalayer.pap.sign-in+json`). Agent Runtimes gives the
@@ -4,7 +4,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
4
4
  * Distributed under the terms of the Modified BSD License.
5
5
  */
6
6
  /**
7
- * The sign-in card as a display (REACTOR_UI RU-1), drawn as the chat draws it.
7
+ * The sign-in card as a display (RU-1), drawn as the chat draws it.
8
8
  *
9
9
  * A tool that starts a sign-in answers with a `PapSignIn` display
10
10
  * (`application/vnd.datalayer.pap.sign-in+json`). Agent Runtimes gives the
@@ -3,7 +3,7 @@
3
3
  * Distributed under the terms of the Modified BSD License.
4
4
  */
5
5
  /**
6
- * The results a page receives for a sign-in (REACTOR_UI RU-1), as Agent
6
+ * The results a page receives for a sign-in (RU-1), as Agent
7
7
  * Runtimes sends them: a display's model view with the whole display beside
8
8
  * it in `_meta`, or a plain `pap_sign_in` answer. Fictional company, no
9
9
  * credential.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * The *Signed requests* gallery example's work (AGENT_PROTOCOLS EX-10): a
2
+ * The *Signed requests* gallery example's work (EX-10): a
3
3
  * fresh Ed25519 key generated in the page, one request signed with it
4
4
  * (`signRequest`), the three headers and the signature base the signer was
5
5
  * handed, then the request verified against the key's directory — and the
@@ -3,7 +3,7 @@
3
3
  * Distributed under the terms of the Modified BSD License.
4
4
  */
5
5
  /**
6
- * The *Signed requests* gallery example's work (AGENT_PROTOCOLS EX-10): a
6
+ * The *Signed requests* gallery example's work (EX-10): a
7
7
  * fresh Ed25519 key generated in the page, one request signed with it
8
8
  * (`signRequest`), the three headers and the signature base the signer was
9
9
  * handed, then the request verified against the key's directory — and the
@@ -1,5 +1,5 @@
1
1
  /**
2
- * The *UCP checkout* gallery example's work (AGENT_PROTOCOLS EX-10, after
2
+ * The *UCP checkout* gallery example's work (EX-10, after
3
3
  * EX-04): the UCP client buying from *Example Store*, the local test
4
4
  * merchant running in the page (`protocols/ucp/merchant`). A checkout is
5
5
  * proposed as an exact, revisioned purchase; completing it asks the host's
@@ -3,7 +3,7 @@
3
3
  * Distributed under the terms of the Modified BSD License.
4
4
  */
5
5
  /**
6
- * The *UCP checkout* gallery example's work (AGENT_PROTOCOLS EX-10, after
6
+ * The *UCP checkout* gallery example's work (EX-10, after
7
7
  * EX-04): the UCP client buying from *Example Store*, the local test
8
8
  * merchant running in the page (`protocols/ucp/merchant`). A checkout is
9
9
  * proposed as an exact, revisioned purchase; completing it asks the host's
@@ -1,5 +1,5 @@
1
1
  /**
2
- * What `ShieldHarnessExample` connects to and offers (SHIELD SH-23).
2
+ * What `ShieldHarnessExample` connects to and offers (SH-23).
3
3
  *
4
4
  * `examples/shield/harness_on_the_runtime.py --serve` names the harness's
5
5
  * agent `chat`, as `loop --harness` does with `AGENT_RUNTIMES_AGENT_NAME`;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * What `ShieldPolicyExample` draws, as data (SHIELD §5.1, SH-53; SH-23).
2
+ * What `ShieldPolicyExample` draws, as data (SH-53, SH-23).
3
3
  *
4
4
  * `@datalayer/agent-shield` is the Shield's TypeScript: the policy
5
5
  * document's types generated from the schema the Python package publishes,
@@ -65,7 +65,7 @@ export declare function classRows(shield: AgentShieldPolicyModule, policy?: Poli
65
65
  actionClass: string;
66
66
  says: string;
67
67
  }>;
68
- /** ACP's tool kinds and the class each is decided as (§4.5). */
68
+ /** ACP's tool kinds and the class each is decided as. */
69
69
  export declare function kindRows(shield: AgentShieldPolicyModule): Array<{
70
70
  kind: string;
71
71
  actionClass: string;
@@ -53,7 +53,7 @@ export function classRows(shield, policy = ORGANIZATION_POLICY) {
53
53
  };
54
54
  });
55
55
  }
56
- /** ACP's tool kinds and the class each is decided as (§4.5). */
56
+ /** ACP's tool kinds and the class each is decided as. */
57
57
  export function kindRows(shield) {
58
58
  return shield.TOOL_KINDS.map(kind => ({
59
59
  kind,
@@ -1,5 +1,5 @@
1
1
  /**
2
- * What the floating assistant's gallery shows (LOOP T-21 to T-27): every
2
+ * What the floating assistant's gallery shows (T-21 to T-27): every
3
3
  * state a character acts (T-22), and stepped aside (T-27), with the balloon
4
4
  * each one says — the agent's latest saying (T-23), an approval to answer,
5
5
  * or that it is paused. Static data only: no agent, no server.
@@ -9,8 +9,8 @@
9
9
  * clippy.js reader a person's files go through.
10
10
  *
11
11
  * Nothing of them is in this repository: clippy.js's licence covers its code
12
- * only, and the characters, their names and their drawings are Microsoft's
13
- * (§6.9). The page fetches them when asked and keeps them in memory.
12
+ * only, and the characters, their names and their drawings are Microsoft's.
13
+ * The page fetches them when asked and keeps them in memory.
14
14
  *
15
15
  * The package ships each character as ES modules: `agent.mjs` exports the
16
16
  * character's data, `map.mjs` its sprite sheet as a data URL. Both are read as
@@ -3,11 +3,11 @@
3
3
  * Distributed under the terms of the Modified BSD License.
4
4
  */
5
5
  /**
6
- * A small character of our own in the clippy.js shape (LOOP T-26), for the
6
+ * A small character of our own in the clippy.js shape (T-26), for the
7
7
  * floating assistant's gallery: an `agent.js` and a `map.png` sprite sheet
8
8
  * of ten 48×48 cells, read through the same reader a person's files go
9
9
  * through (`readClippyCharacter`). It is a test sprite drawn for Datalayer —
10
- * no file of Microsoft's is in the repository (§6.9).
10
+ * no file of Microsoft's is in the repository.
11
11
  *
12
12
  * Its animations carry the names the Office characters use, so the reader's
13
13
  * `stateAnimations` gives every state of the assistant one of its own:
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * The runtime routes a page calls besides an application's own, and when it
3
- * does not (PAP_DATALAYER's release gates, decided 14 October 2026).
3
+ * does not (the release gates, decided 14 October 2026).
4
4
  *
5
5
  * A runtime that serves a deployment — kept always on, or launched by its
6
6
  * hosted page — and the visitors' runtime answer only the application's own
@@ -50,7 +50,7 @@ export interface UseAgentOptions {
50
50
  */
51
51
  runtimeConnection?: AgentRuntimeConnectionOptions;
52
52
  /**
53
- * The application the runtime is launched for (STUDIO R-19): its Appspec,
53
+ * The application the runtime is launched for (R-19): its Appspec,
54
54
  * and the saved application and deployment it runs for. Sent with the
55
55
  * launch, as `RuntimesClient.create` sends it in Python, so the runtime is
56
56
  * given the secrets its connections declare before its agent is made.
@@ -66,7 +66,7 @@ export function useChat() {
66
66
  const getTools = useChatStore(state => state.getTools);
67
67
  /**
68
68
  * Send a user message and get the AI's response. The conversation is
69
- * `reduceConversation`'s (MOBILE M-030), as in ChatBase and on the phone:
69
+ * `reduceConversation`'s (M-030), as in ChatBase and on the phone:
70
70
  * every adapter event read by `conversationEventsOf`, an inference
71
71
  * provider's deltas as AG-UI text events, and the store's messages drawn
72
72
  * from it.
package/lib/index.js CHANGED
@@ -14,5 +14,5 @@ export * from './config';
14
14
  export * from './specs';
15
15
  // The LOOP workspace and its plugins, for hosts that embed it: the Datalayer
16
16
  // application at /loop, and later the JupyterLab panel. Exported through one
17
- // surface rather than by deep import (§3.5).
17
+ // surface rather than by deep import.
18
18
  export * from './apps';
@@ -7,7 +7,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
7
7
  * Entry point for the workspace example.
8
8
  *
9
9
  * Owns the providers, as every entry point does — the workspace mounts none of
10
- * its own (§3.5).
10
+ * its own.
11
11
  *
12
12
  * @module apps-example-main
13
13
  */
@@ -6,7 +6,7 @@ import type { CreateRuntimeResponse } from './RuntimeDTO';
6
6
  /**
7
7
  * The Environment specification, `environments.datalayer.io/v1alpha1`,
8
8
  * generated from the JSON Schema `code-sandboxes` exports from its pydantic
9
- * models (PLAN_ENV.md, D-14). Regenerated by `npm run generate:environments`.
9
+ * models (D-14). Regenerated by `npm run generate:environments`.
10
10
  */
11
11
  export * as EnvironmentSchema from './environments.generated';
12
12
  /** An Environment document: `apiVersion`, `kind`, `metadata` and `spec`. */
@@ -46,7 +46,7 @@ export type EnvironmentOwnerType = 'user' | 'organization';
46
46
  */
47
47
  export type EnvironmentVisibility = 'private' | 'organization' | 'public';
48
48
  /**
49
- * Where a version stands (section 4.2), as `VersionState` of
49
+ * Where a version stands, as `VersionState` of
50
50
  * `code_sandboxes.environments.lifecycle` names it.
51
51
  */
52
52
  export type EnvironmentVersionStatus = 'draft' | 'resolving' | 'resolved' | 'building' | 'validating' | 'ready' | 'partially_ready' | 'failed' | 'deprecated';
@@ -87,7 +87,7 @@ export interface IDatalayerEnvironment {
87
87
  *
88
88
  * A platform entry names one. A user environment does not: what it runs is
89
89
  * an artifact of its promoted version, pinned by digest and resolved by the
90
- * platform at launch, and never shown to a client (PLAN_ENV.md, E1-11).
90
+ * platform at launch, and never shown to a client (E1-11).
91
91
  */
92
92
  dockerImage?: string;
93
93
  /**
@@ -178,7 +178,7 @@ export interface IDatalayerEnvironment {
178
178
  label?: string;
179
179
  }
180
180
  /**
181
- * A refusal, as every registry route answers one (section 10): a code, a
181
+ * A refusal, as every registry route answers one: a code, a
182
182
  * message and the correlation id; the field at fault, the detail, and for a
183
183
  * code of the taxonomy whether a retry can succeed and what the user does.
184
184
  */
@@ -240,7 +240,7 @@ export interface IEnvironmentVersionRecord {
240
240
  /**
241
241
  * Every variant's Appendix B check 5 (its installed package versions), as
242
242
  * `{ variant: { package: version } }`, once a variant's smoke test has
243
- * reported it (PLAN_ENV E2-08). Absent from a Runtimes before E1-29 and
243
+ * reported it (E2-08). Absent from a Runtimes before E1-29 and
244
244
  * `{}` until the first variant reports.
245
245
  */
246
246
  packageReport?: Record<string, Record<string, string>>;
@@ -308,7 +308,7 @@ export interface IEnvironmentPromotionConflict {
308
308
  /** What the refused acknowledgement named. */
309
309
  acknowledgedUnavailableVariants?: string[];
310
310
  }
311
- /** The artifact a runtime was started from, as its answer names it (section 7.6, E1-11). */
311
+ /** The artifact a runtime was started from, as its answer names it (E1-11). */
312
312
  export interface ILaunchedEnvironmentArtifact {
313
313
  uid: string;
314
314
  variant: string;
@@ -370,7 +370,7 @@ export interface IEnvironmentBuildStep {
370
370
  status: 'running' | 'succeeded' | 'failed' | 'skipped';
371
371
  startedAt?: string;
372
372
  finishedAt?: string;
373
- /** For a failure: its section 10 code. */
373
+ /** For a failure: its error code. */
374
374
  code?: string;
375
375
  message?: string;
376
376
  /**
@@ -396,7 +396,7 @@ export interface IEnvironmentBuildRecord {
396
396
  attempt: number;
397
397
  /**
398
398
  * What this build is for: `build`, or `resolve` — a build that stops once
399
- * the version has its lock (PLAN_ENVS.md E1-26). Absent from a Runtimes
399
+ * the version has its lock (E1-26). Absent from a Runtimes
400
400
  * before that, and from every build recorded before the term existed, each
401
401
  * of which is a build.
402
402
  */
@@ -408,14 +408,14 @@ export interface IEnvironmentBuildRecord {
408
408
  errorCode: string;
409
409
  errorDetail: string;
410
410
  /**
411
- * The smoke test's per-check conformance report (PLAN_ENV E1-29). Absent
411
+ * The smoke test's per-check conformance report (E1-29). Absent
412
412
  * from a Runtimes before E1-29 and `{}` until the build's smoke test ran; a
413
413
  * report with `passed: false` names the checks that failed and why.
414
414
  */
415
415
  conformanceReport?: IEnvironmentConformanceReport | Record<string, never>;
416
416
  /**
417
417
  * Whether the retry route takes this build: cancelled, or failed under a
418
- * code another attempt can pass (section 10). Said by Runtimes with the
418
+ * code another attempt can pass. Said by Runtimes with the
419
419
  * build, so a page offers Retry only where it would be taken (E2-19).
420
420
  * Absent from a Runtimes before 1.0.36.
421
421
  */
@@ -703,7 +703,7 @@ export interface IEnvironmentBuildLogPage {
703
703
  complete: boolean;
704
704
  }
705
705
  export default IEnvironment;
706
- /** Section 13's preview limits, per owner. */
706
+ /** The preview limits, per owner. */
707
707
  export interface IEnvironmentQuotaLimits {
708
708
  concurrentBuilds: number;
709
709
  buildMinutesPerDay: number;
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * The Environment specification, `environments.datalayer.io/v1alpha1`,
7
7
  * generated from the JSON Schema `code-sandboxes` exports from its pydantic
8
- * models (PLAN_ENV.md, D-14). Regenerated by `npm run generate:environments`.
8
+ * models (D-14). Regenerated by `npm run generate:environments`.
9
9
  */
10
10
  export * as EnvironmentSchema from './environments.generated';
11
11
  /** The build statuses nothing more happens to. Any other status is still to run or running. */
@@ -47,7 +47,7 @@ export interface CreateRuntimeRequest {
47
47
  environment: {
48
48
  /**
49
49
  * A platform environment by its name, or a user environment as
50
- * `<account-handle>/<name>` or by its uid (PLAN_ENV.md, D-2).
50
+ * `<account-handle>/<name>` or by its uid (D-2).
51
51
  */
52
52
  name: string;
53
53
  /**
@@ -3,7 +3,7 @@ export type RecordKind = 'session'
3
3
  | 'run' | 'tool_call' | 'decision' | 'check' | 'approval' | 'output' | 'feedback'
4
4
  /** A turn of a conversation: what was asked, what it answered (V-16). */
5
5
  | 'turn'
6
- /** What it did, step by step (P-16); a harness's session, turn and plan events (SHIELD §6.4). */
6
+ /** What it did, step by step (P-16); a harness's session, turn and plan events. */
7
7
  | 'step'
8
8
  /** What one of its channels was sent, or why not: `{channel, event, delivery, detail}` (R-37). */
9
9
  | 'notification';
@@ -68,7 +68,7 @@ export declare const ACTIVITY_WORDS: {
68
68
  readonly wakes: "It also starts on its own when something happens:";
69
69
  readonly nothing: "Nothing yet.";
70
70
  };
71
- /** What happens that starts it on its own, in words (LOOP W-03): its event triggers. */
71
+ /** What happens that starts it on its own, in words (W-03): its event triggers. */
72
72
  export declare const wakesOn: (triggers: ReadonlyArray<{
73
73
  type: string;
74
74
  event?: string;
@@ -3,10 +3,10 @@
3
3
  * Distributed under the terms of the Modified BSD License.
4
4
  */
5
5
  /**
6
- * What an application is doing (LOOP R-15), as ai-agents answers
6
+ * What an application is doing (R-15), as ai-agents answers
7
7
  * `/api/ai-agents/v1/apps/activity`, and its record's entries
8
8
  * (`/apps/sessions`, `/apps/records`): read and said the same by the Studio
9
- * and Datalayer Mobile (MOBILE M-015b). Pure: each client fetches with its own
9
+ * and Datalayer Mobile (M-015b). Pure: each client fetches with its own
10
10
  * authentication and hands the body here.
11
11
  *
12
12
  * @module portable/activity
@@ -120,7 +120,7 @@ export const ACTIVITY_WORDS = {
120
120
  wakes: 'It also starts on its own when something happens:',
121
121
  nothing: 'Nothing yet.',
122
122
  };
123
- /** What happens that starts it on its own, in words (LOOP W-03): its event triggers. */
123
+ /** What happens that starts it on its own, in words (W-03): its event triggers. */
124
124
  export const wakesOn = (triggers) => (triggers ?? [])
125
125
  .filter(trigger => trigger.type === 'event' && (trigger.description || trigger.event))
126
126
  .map(trigger => trigger.description ||
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * What every protocol adapter says, as the conversation reducer reads it
3
- * (MOBILE M-030): the web chat's message state is `reduceConversation`'s,
3
+ * (M-030): the web chat's message state is `reduceConversation`'s,
4
4
  * whatever protocol its agent speaks.
5
5
  *
6
6
  * ## What the adapters say (the inventory)
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Why an AG-UI run was not answered, in the page's own words (LOOP F-15).
2
+ * Why an AG-UI run was not answered, in the page's own words (F-15).
3
3
  *
4
4
  * What a person met before was `AG-UI request failed: 404` — the status and
5
5
  * nothing else. A 404 at an agent's AG-UI address has one meaning: the agent
@@ -3,7 +3,7 @@
3
3
  * Distributed under the terms of the Modified BSD License.
4
4
  */
5
5
  /**
6
- * Why an AG-UI run was not answered, in the page's own words (LOOP F-15).
6
+ * Why an AG-UI run was not answered, in the page's own words (F-15).
7
7
  *
8
8
  * What a person met before was `AG-UI request failed: 404` — the status and
9
9
  * nothing else. A 404 at an agent's AG-UI address has one meaning: the agent
@@ -18,13 +18,13 @@ export type AgUiEvent = {
18
18
  export declare const RUN_CUT_SHORT = "The run stopped before it finished, without an answer or an error: send it again.";
19
19
  /**
20
20
  * The name of `reactor.ui` (Reactor's `AGUI_NAME`): its ops come over the
21
- * conversation's ui socket, never a run stream (REACTOR_UI RU-W). Held here
21
+ * conversation's ui socket, never a run stream (RU-W). Held here
22
22
  * so that a reader of a run needs no Reactor module; a test holds it to
23
23
  * Reactor's.
24
24
  */
25
25
  export declare const REACTOR_UI_NAME = "reactor.ui";
26
26
  /** What the page says when a `reactor.ui` op comes on a run stream. */
27
- export declare const UI_ON_RUN = "A reactor.ui op came on the run stream: it comes over the ui socket (REACTOR_UI RU-W).";
27
+ export declare const UI_ON_RUN = "A reactor.ui op came on the run stream: it comes over the ui socket (RU-W).";
28
28
  /** What is said when the `fetch` given cannot read a response as it streams. */
29
29
  export declare const NOT_STREAMING = "This fetch does not stream a response: give one whose response body has getReader (expo/fetch on a phone).";
30
30
  /** Whether an event ends a run: the run said how it ended. */
@@ -6,13 +6,13 @@
6
6
  export const RUN_CUT_SHORT = 'The run stopped before it finished, without an answer or an error: send it again.';
7
7
  /**
8
8
  * The name of `reactor.ui` (Reactor's `AGUI_NAME`): its ops come over the
9
- * conversation's ui socket, never a run stream (REACTOR_UI RU-W). Held here
9
+ * conversation's ui socket, never a run stream (RU-W). Held here
10
10
  * so that a reader of a run needs no Reactor module; a test holds it to
11
11
  * Reactor's.
12
12
  */
13
13
  export const REACTOR_UI_NAME = 'reactor.ui';
14
14
  /** What the page says when a `reactor.ui` op comes on a run stream. */
15
- export const UI_ON_RUN = 'A reactor.ui op came on the run stream: it comes over the ui socket (REACTOR_UI RU-W).';
15
+ export const UI_ON_RUN = 'A reactor.ui op came on the run stream: it comes over the ui socket (RU-W).';
16
16
  /** What is said when the `fetch` given cannot read a response as it streams. */
17
17
  export const NOT_STREAMING = 'This fetch does not stream a response: give one whose response body has getReader (expo/fetch on a phone).';
18
18
  /** Whether an event ends a run: the run said how it ended. */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * An approval as every card says it (MOBILE M-016): the shared controller
2
+ * An approval as every card says it (M-016): the shared controller
3
3
  * and prop contract under the web's *Waiting for you* and Datalayer Mobile's
4
4
  * Inbox and detail. A message to send is shown whole — its recipients,
5
5
  * subject and body — and anything else is every argument the tool gave,