@promptbook/javascript 0.113.0-9 → 0.114.0-1

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 (200) hide show
  1. package/README.md +4 -3
  2. package/esm/index.es.js +1 -1
  3. package/esm/src/_packages/components.index.d.ts +8 -0
  4. package/esm/src/_packages/core.index.d.ts +4 -0
  5. package/esm/src/_packages/types.index.d.ts +12 -0
  6. package/esm/src/book-2.0/agent-source/AgentBasicInformation.d.ts +7 -0
  7. package/esm/src/book-2.0/agent-source/parseAgentSource/ParsedAgentProfile.d.ts +1 -1
  8. package/esm/src/book-2.0/book-language-documentation/BookLanguageDocumentationExample.d.ts +5 -13
  9. package/esm/src/book-2.0/book-language-documentation/BookLanguageManualDictionary.d.ts +195 -0
  10. package/esm/src/book-2.0/book-language-documentation/bookLanguageDocumentationExamples.d.ts +2 -1
  11. package/esm/src/book-2.0/book-language-documentation/createStandaloneBookLanguageMarkdown.d.ts +43 -1
  12. package/esm/src/book-2.0/book-language-documentation/czechBookLanguageManualDictionary.d.ts +10 -0
  13. package/esm/src/book-2.0/book-language-documentation/englishBookLanguageManualDictionary.d.ts +10 -0
  14. package/esm/src/book-2.0/book-language-documentation/getBookLanguageManualCommitmentGroups.d.ts +33 -0
  15. package/esm/src/book-2.0/book-language-documentation/getBookLanguageManualDictionary.d.ts +15 -0
  16. package/esm/src/book-2.0/book-language-documentation/getSafeCodeBlock.d.ts +10 -0
  17. package/esm/src/book-2.0/book-language-documentation/renderCommitmentCatalogSection.d.ts +30 -0
  18. package/esm/src/book-2.0/book-language-documentation/renderGroupedCommitmentDocumentationMarkdown.d.ts +2 -1
  19. package/esm/src/book-2.0/book-language-documentation/toStableAnchorId.d.ts +12 -0
  20. package/esm/src/book-3.0/AgentMessageRunReport.d.ts +78 -0
  21. package/esm/src/book-3.0/agentFolderPaths.d.ts +9 -0
  22. package/esm/src/book-3.0/codexLoginMethod.d.ts +38 -0
  23. package/esm/src/book-components/BookEditor/BookEditorSyntaxTokenStyles.d.ts +39 -0
  24. package/esm/src/book-components/BookEditor/createBookSourceHighlightStyles.d.ts +12 -0
  25. package/esm/src/book-components/BookEditor/highlightBookSourceToHtml.d.ts +20 -0
  26. package/esm/src/book-components/Chat/Chat/ChatCitationModal.d.ts +5 -0
  27. package/esm/src/book-components/Chat/Chat/ChatCitationModal.test.d.ts +2 -0
  28. package/esm/src/book-components/Chat/Chat/ChatFeedbackStar.d.ts +37 -0
  29. package/esm/src/book-components/Chat/Chat/ChatMessageItem.d.ts +4 -0
  30. package/esm/src/book-components/Chat/Chat/ChatMessageList.d.ts +4 -0
  31. package/esm/src/book-components/Chat/Chat/ChatMessageRichContent.d.ts +5 -0
  32. package/esm/src/book-components/Chat/Chat/ChatProps.d.ts +13 -0
  33. package/esm/src/book-components/Chat/Chat/ChatRatingModal.test.d.ts +2 -0
  34. package/esm/src/book-components/Chat/Chat/CitationIframePreview.d.ts +25 -2
  35. package/esm/src/book-components/Chat/Chat/pagePreview/LiveBrowserPreview.d.ts +39 -0
  36. package/esm/src/book-components/Chat/Chat/pagePreview/LiveBrowserPreview.test.d.ts +2 -0
  37. package/esm/src/book-components/Chat/Chat/pagePreview/LiveBrowserPreviewToolbar.d.ts +71 -0
  38. package/esm/src/book-components/Chat/Chat/pagePreview/PagePreviewInputEvent.d.ts +72 -0
  39. package/esm/src/book-components/Chat/Chat/pagePreview/PagePreviewInputQueue.d.ts +64 -0
  40. package/esm/src/book-components/Chat/Chat/pagePreview/PagePreviewInputQueue.test.d.ts +1 -0
  41. package/esm/src/book-components/Chat/Chat/pagePreview/PagePreviewSessionState.d.ts +14 -0
  42. package/esm/src/book-components/Chat/Chat/pagePreview/PagePreviewViewport.d.ts +37 -0
  43. package/esm/src/book-components/Chat/Chat/pagePreview/createPagePreviewSessionId.d.ts +20 -0
  44. package/esm/src/book-components/Chat/Chat/pagePreview/normalizePagePreviewInputEvent.d.ts +13 -0
  45. package/esm/src/book-components/Chat/Chat/pagePreview/normalizePagePreviewInputEvent.test.d.ts +1 -0
  46. package/esm/src/book-components/Chat/Chat/resolveChatRatingMessageKey.d.ts +8 -0
  47. package/esm/src/book-components/Chat/MarkdownContent/MarkdownContent.d.ts +2 -0
  48. package/esm/src/book-components/Chat/SourceChip/SourceChip.test.d.ts +2 -0
  49. package/esm/src/book-components/Chat/hooks/useResolvedCitationLabel.test.d.ts +2 -0
  50. package/esm/src/book-components/Chat/utils/renderMarkdown.d.ts +78 -0
  51. package/esm/src/book-components/Chat/utils/resolveCitationSourceDisplay.d.ts +149 -0
  52. package/esm/src/book-components/Chat/utils/thinkingMessageVariants.d.ts +9 -0
  53. package/esm/src/cli/cli-commands/agent-folder/agentProjectPaths.d.ts +2 -2
  54. package/esm/src/cli/cli-commands/agents-server/startAgentsServer/AgentsServerChildEnvironment.d.ts +1 -0
  55. package/esm/src/cli/cli-commands/agents-server/startAgentsServer/AgentsServerChildEnvironment.test.d.ts +1 -0
  56. package/esm/src/cli/cli-commands/agents-server/startAgentsServer/PreparedAgentsServerLaunch.d.ts +1 -1
  57. package/esm/src/cli/cli-commands/agents-server/startAgentsServer/forwardChildOutput.d.ts +1 -1
  58. package/esm/src/cli/cli-commands/agents-server/startAgentsServer/startNextServer.d.ts +1 -1
  59. package/esm/src/cli/cli-commands/agents-server/startAgentsServer/startUserChatJobWorkerPump.d.ts +1 -1
  60. package/esm/src/cli/cli-commands/agents-server/startAgentsServer.d.ts +1 -1
  61. package/esm/src/cli/cli-commands/coder/add.d.ts +36 -0
  62. package/esm/src/cli/cli-commands/coder/add.test.d.ts +1 -0
  63. package/esm/src/cli/cli-commands/coder/boilerplateTemplates.d.ts +24 -0
  64. package/esm/src/cli/cli-commands/coder.d.ts +1 -0
  65. package/esm/src/cli/cli-commands/common/createNonNegativeIntegerOptionParser.d.ts +10 -0
  66. package/esm/src/cli/cli-commands/common/harness/$applyHarnessInstallationStatus.d.ts +9 -0
  67. package/esm/src/cli/cli-commands/common/harness/$askForHarnessInstallationApproval.d.ts +9 -0
  68. package/esm/src/cli/cli-commands/common/harness/$checkHarnessInstallation.d.ts +10 -0
  69. package/esm/src/cli/cli-commands/common/harness/$ensureHarnessInstallations.d.ts +13 -0
  70. package/esm/src/cli/cli-commands/common/harness/$installHarness.d.ts +13 -0
  71. package/esm/src/cli/cli-commands/common/harness/$resolveInstalledHarnessVersion.d.ts +10 -0
  72. package/esm/src/cli/cli-commands/common/harness/$resolveLatestHarnessVersion.d.ts +10 -0
  73. package/esm/src/cli/cli-commands/common/harness/HarnessDefinition.d.ts +40 -0
  74. package/esm/src/cli/cli-commands/common/harness/HarnessDefinition.test.d.ts +1 -0
  75. package/esm/src/cli/cli-commands/common/harness/HarnessInstallationStatus.d.ts +35 -0
  76. package/esm/src/cli/cli-commands/common/harness/buildHarnessInstallCommand.d.ts +10 -0
  77. package/esm/src/cli/cli-commands/common/harness/extractHarnessVersionFromOutput.d.ts +11 -0
  78. package/esm/src/cli/cli-commands/common/harness/extractHarnessVersionFromOutput.test.d.ts +1 -0
  79. package/esm/src/cli/cli-commands/common/harness/formatHarnessInstallationWarning.d.ts +7 -0
  80. package/esm/src/cli/cli-commands/common/harness/isHarnessVersionOutdated.d.ts +9 -0
  81. package/esm/src/cli/cli-commands/common/harness/isHarnessVersionOutdated.test.d.ts +1 -0
  82. package/esm/src/collection/agent-collection/constructors/agent-collection-in-supabase/buildAgentNameOrPermanentIdFilter.d.ts +18 -0
  83. package/esm/src/collection/agent-collection/constructors/agent-collection-in-supabase/buildAgentNameOrPermanentIdFilter.test.d.ts +1 -0
  84. package/esm/src/commitments/META/META.d.ts +2 -0
  85. package/esm/src/commitments/META_THINKING_MESSAGE/META_THINKING_MESSAGE.d.ts +26 -0
  86. package/esm/src/commitments/index.d.ts +2 -1
  87. package/esm/src/execution/utils/formatUsagePrice.d.ts +12 -0
  88. package/esm/src/execution/utils/formatUsagePrice.test.d.ts +1 -0
  89. package/esm/src/utils/agent-message-runtime/agentMessageRuntimePaths.d.ts +24 -0
  90. package/esm/src/utils/agent-message-runtime/resolveAgentMessageRuntimeActivity.d.ts +16 -0
  91. package/esm/src/utils/agent-message-runtime/resolveAgentMessageRuntimeActivity.test.d.ts +1 -0
  92. package/esm/src/utils/agents/terminalAgentAvatarVisual.d.ts +104 -0
  93. package/esm/src/utils/agents/terminalAgentAvatarVisual.test.d.ts +1 -0
  94. package/esm/src/utils/html/escapeHtml.d.ts +9 -0
  95. package/esm/src/utils/markdown/shiftMarkdownHeadingLevels.d.ts +15 -0
  96. package/esm/src/version.d.ts +1 -1
  97. package/package.json +2 -2
  98. package/umd/index.umd.js +1 -1
  99. package/umd/src/_packages/components.index.d.ts +8 -0
  100. package/umd/src/_packages/core.index.d.ts +4 -0
  101. package/umd/src/_packages/types.index.d.ts +12 -0
  102. package/umd/src/book-2.0/agent-source/AgentBasicInformation.d.ts +7 -0
  103. package/umd/src/book-2.0/agent-source/parseAgentSource/ParsedAgentProfile.d.ts +1 -1
  104. package/umd/src/book-2.0/book-language-documentation/BookLanguageDocumentationExample.d.ts +5 -13
  105. package/umd/src/book-2.0/book-language-documentation/BookLanguageManualDictionary.d.ts +195 -0
  106. package/umd/src/book-2.0/book-language-documentation/bookLanguageDocumentationExamples.d.ts +2 -1
  107. package/umd/src/book-2.0/book-language-documentation/createStandaloneBookLanguageMarkdown.d.ts +43 -1
  108. package/umd/src/book-2.0/book-language-documentation/createStandaloneBookLanguageMarkdown.test.d.ts +1 -0
  109. package/umd/src/book-2.0/book-language-documentation/czechBookLanguageManualDictionary.d.ts +10 -0
  110. package/umd/src/book-2.0/book-language-documentation/englishBookLanguageManualDictionary.d.ts +10 -0
  111. package/umd/src/book-2.0/book-language-documentation/getBookLanguageManualCommitmentGroups.d.ts +33 -0
  112. package/umd/src/book-2.0/book-language-documentation/getBookLanguageManualDictionary.d.ts +15 -0
  113. package/umd/src/book-2.0/book-language-documentation/getSafeCodeBlock.d.ts +10 -0
  114. package/umd/src/book-2.0/book-language-documentation/renderCommitmentCatalogSection.d.ts +30 -0
  115. package/umd/src/book-2.0/book-language-documentation/renderGroupedCommitmentDocumentationMarkdown.d.ts +2 -1
  116. package/umd/src/book-2.0/book-language-documentation/toStableAnchorId.d.ts +12 -0
  117. package/umd/src/book-3.0/AgentMessageRunReport.d.ts +78 -0
  118. package/umd/src/book-3.0/AgentMessageRunReport.test.d.ts +1 -0
  119. package/umd/src/book-3.0/agentFolderPaths.d.ts +9 -0
  120. package/umd/src/book-3.0/codexLoginMethod.d.ts +38 -0
  121. package/umd/src/book-components/BookEditor/BookEditorSyntaxTokenStyles.d.ts +39 -0
  122. package/umd/src/book-components/BookEditor/createBookSourceHighlightStyles.d.ts +12 -0
  123. package/umd/src/book-components/BookEditor/highlightBookSourceToHtml.d.ts +20 -0
  124. package/umd/src/book-components/Chat/Chat/ChatCitationModal.d.ts +5 -0
  125. package/umd/src/book-components/Chat/Chat/ChatCitationModal.test.d.ts +2 -0
  126. package/umd/src/book-components/Chat/Chat/ChatFeedbackStar.d.ts +37 -0
  127. package/umd/src/book-components/Chat/Chat/ChatMessageItem.d.ts +4 -0
  128. package/umd/src/book-components/Chat/Chat/ChatMessageList.d.ts +4 -0
  129. package/umd/src/book-components/Chat/Chat/ChatMessageRichContent.d.ts +5 -0
  130. package/umd/src/book-components/Chat/Chat/ChatProps.d.ts +13 -0
  131. package/umd/src/book-components/Chat/Chat/ChatRatingModal.test.d.ts +2 -0
  132. package/umd/src/book-components/Chat/Chat/CitationIframePreview.d.ts +25 -2
  133. package/umd/src/book-components/Chat/Chat/pagePreview/LiveBrowserPreview.d.ts +39 -0
  134. package/umd/src/book-components/Chat/Chat/pagePreview/LiveBrowserPreview.test.d.ts +2 -0
  135. package/umd/src/book-components/Chat/Chat/pagePreview/LiveBrowserPreviewToolbar.d.ts +71 -0
  136. package/umd/src/book-components/Chat/Chat/pagePreview/PagePreviewInputEvent.d.ts +72 -0
  137. package/umd/src/book-components/Chat/Chat/pagePreview/PagePreviewInputQueue.d.ts +64 -0
  138. package/umd/src/book-components/Chat/Chat/pagePreview/PagePreviewInputQueue.test.d.ts +1 -0
  139. package/umd/src/book-components/Chat/Chat/pagePreview/PagePreviewSessionState.d.ts +14 -0
  140. package/umd/src/book-components/Chat/Chat/pagePreview/PagePreviewViewport.d.ts +37 -0
  141. package/umd/src/book-components/Chat/Chat/pagePreview/createPagePreviewSessionId.d.ts +20 -0
  142. package/umd/src/book-components/Chat/Chat/pagePreview/normalizePagePreviewInputEvent.d.ts +13 -0
  143. package/umd/src/book-components/Chat/Chat/pagePreview/normalizePagePreviewInputEvent.test.d.ts +1 -0
  144. package/umd/src/book-components/Chat/Chat/resolveChatRatingMessageKey.d.ts +8 -0
  145. package/umd/src/book-components/Chat/MarkdownContent/MarkdownContent.d.ts +2 -0
  146. package/umd/src/book-components/Chat/SourceChip/SourceChip.test.d.ts +2 -0
  147. package/umd/src/book-components/Chat/hooks/useResolvedCitationLabel.test.d.ts +2 -0
  148. package/umd/src/book-components/Chat/utils/renderMarkdown.d.ts +78 -0
  149. package/umd/src/book-components/Chat/utils/resolveCitationSourceDisplay.d.ts +149 -0
  150. package/umd/src/book-components/Chat/utils/thinkingMessageVariants.d.ts +9 -0
  151. package/umd/src/cli/cli-commands/agent-folder/agentProjectPaths.d.ts +2 -2
  152. package/umd/src/cli/cli-commands/agents-server/startAgentsServer/AgentsServerChildEnvironment.d.ts +1 -0
  153. package/umd/src/cli/cli-commands/agents-server/startAgentsServer/AgentsServerChildEnvironment.test.d.ts +1 -0
  154. package/umd/src/cli/cli-commands/agents-server/startAgentsServer/PreparedAgentsServerLaunch.d.ts +1 -1
  155. package/umd/src/cli/cli-commands/agents-server/startAgentsServer/forwardChildOutput.d.ts +1 -1
  156. package/umd/src/cli/cli-commands/agents-server/startAgentsServer/startNextServer.d.ts +1 -1
  157. package/umd/src/cli/cli-commands/agents-server/startAgentsServer/startUserChatJobWorkerPump.d.ts +1 -1
  158. package/umd/src/cli/cli-commands/agents-server/startAgentsServer.d.ts +1 -1
  159. package/umd/src/cli/cli-commands/coder/add.d.ts +36 -0
  160. package/umd/src/cli/cli-commands/coder/add.test.d.ts +1 -0
  161. package/umd/src/cli/cli-commands/coder/boilerplateTemplates.d.ts +24 -0
  162. package/umd/src/cli/cli-commands/coder.d.ts +1 -0
  163. package/umd/src/cli/cli-commands/common/createNonNegativeIntegerOptionParser.d.ts +10 -0
  164. package/umd/src/cli/cli-commands/common/harness/$applyHarnessInstallationStatus.d.ts +9 -0
  165. package/umd/src/cli/cli-commands/common/harness/$askForHarnessInstallationApproval.d.ts +9 -0
  166. package/umd/src/cli/cli-commands/common/harness/$checkHarnessInstallation.d.ts +10 -0
  167. package/umd/src/cli/cli-commands/common/harness/$ensureHarnessInstallations.d.ts +13 -0
  168. package/umd/src/cli/cli-commands/common/harness/$installHarness.d.ts +13 -0
  169. package/umd/src/cli/cli-commands/common/harness/$resolveInstalledHarnessVersion.d.ts +10 -0
  170. package/umd/src/cli/cli-commands/common/harness/$resolveLatestHarnessVersion.d.ts +10 -0
  171. package/umd/src/cli/cli-commands/common/harness/HarnessDefinition.d.ts +40 -0
  172. package/umd/src/cli/cli-commands/common/harness/HarnessDefinition.test.d.ts +1 -0
  173. package/umd/src/cli/cli-commands/common/harness/HarnessInstallationStatus.d.ts +35 -0
  174. package/umd/src/cli/cli-commands/common/harness/buildHarnessInstallCommand.d.ts +10 -0
  175. package/umd/src/cli/cli-commands/common/harness/extractHarnessVersionFromOutput.d.ts +11 -0
  176. package/umd/src/cli/cli-commands/common/harness/extractHarnessVersionFromOutput.test.d.ts +1 -0
  177. package/umd/src/cli/cli-commands/common/harness/formatHarnessInstallationWarning.d.ts +7 -0
  178. package/umd/src/cli/cli-commands/common/harness/isHarnessVersionOutdated.d.ts +9 -0
  179. package/umd/src/cli/cli-commands/common/harness/isHarnessVersionOutdated.test.d.ts +1 -0
  180. package/umd/src/collection/agent-collection/constructors/agent-collection-in-supabase/buildAgentNameOrPermanentIdFilter.d.ts +18 -0
  181. package/umd/src/collection/agent-collection/constructors/agent-collection-in-supabase/buildAgentNameOrPermanentIdFilter.test.d.ts +1 -0
  182. package/umd/src/commitments/META/META.d.ts +2 -0
  183. package/umd/src/commitments/META_THINKING_MESSAGE/META_THINKING_MESSAGE.d.ts +26 -0
  184. package/umd/src/commitments/index.d.ts +2 -1
  185. package/umd/src/execution/utils/formatUsagePrice.d.ts +12 -0
  186. package/umd/src/execution/utils/formatUsagePrice.test.d.ts +1 -0
  187. package/umd/src/utils/agent-message-runtime/agentMessageRuntimePaths.d.ts +24 -0
  188. package/umd/src/utils/agent-message-runtime/resolveAgentMessageRuntimeActivity.d.ts +16 -0
  189. package/umd/src/utils/agent-message-runtime/resolveAgentMessageRuntimeActivity.test.d.ts +1 -0
  190. package/umd/src/utils/agents/terminalAgentAvatarVisual.d.ts +104 -0
  191. package/umd/src/utils/agents/terminalAgentAvatarVisual.test.d.ts +1 -0
  192. package/umd/src/utils/html/escapeHtml.d.ts +9 -0
  193. package/umd/src/utils/markdown/shiftMarkdownHeadingLevels.d.ts +15 -0
  194. package/umd/src/version.d.ts +1 -1
  195. package/esm/src/book-2.0/book-language-documentation/bookLanguageCommonPitfalls.d.ts +0 -25
  196. package/esm/src/book-components/_common/react-utils/escapeHtml.d.ts +0 -6
  197. package/umd/src/book-2.0/book-language-documentation/bookLanguageCommonPitfalls.d.ts +0 -25
  198. package/umd/src/book-components/_common/react-utils/escapeHtml.d.ts +0 -6
  199. /package/esm/src/{executables/browsers/locateInternetExplorer.test.d.ts → book-2.0/book-language-documentation/createStandaloneBookLanguageMarkdown.test.d.ts} +0 -0
  200. /package/{umd/src/executables/browsers/locateInternetExplorer.test.d.ts → esm/src/book-3.0/AgentMessageRunReport.test.d.ts} +0 -0
@@ -0,0 +1,71 @@
1
+ import type { PagePreviewNavigationAction } from './PagePreviewInputEvent';
2
+ /**
3
+ * Props of the live browser preview toolbar.
4
+ *
5
+ * @private component of `<LiveBrowserPreview/>`
6
+ */
7
+ export type LiveBrowserPreviewToolbarProps = {
8
+ /**
9
+ * URL shown in the address input (either the user's draft or the remote page URL).
10
+ */
11
+ readonly displayedUrl: string;
12
+ /**
13
+ * URL of the remote page used by the "Open in new tab" link.
14
+ */
15
+ readonly externalUrl: string;
16
+ /**
17
+ * Whether the remote browser can navigate back, `null` when unknown.
18
+ */
19
+ readonly canGoBack: boolean | null;
20
+ /**
21
+ * Whether the remote browser can navigate forward, `null` when unknown.
22
+ */
23
+ readonly canGoForward: boolean | null;
24
+ /**
25
+ * Current local zoom level (`1` = 100%).
26
+ */
27
+ readonly zoomLevel: number;
28
+ /**
29
+ * Whether the preview is currently in full screen mode.
30
+ */
31
+ readonly isFullscreen: boolean;
32
+ /**
33
+ * Sends one history navigation to the remote browser.
34
+ */
35
+ readonly onNavigate: (action: PagePreviewNavigationAction) => void;
36
+ /**
37
+ * Updates the address-input draft, `null` restores the live remote URL.
38
+ */
39
+ readonly onUrlDraftChange: (draft: string | null) => void;
40
+ /**
41
+ * Navigates the remote browser to the submitted address.
42
+ */
43
+ readonly onUrlSubmit: (url: string) => void;
44
+ /**
45
+ * Zooms the local preview in.
46
+ */
47
+ readonly onZoomIn: () => void;
48
+ /**
49
+ * Zooms the local preview out.
50
+ */
51
+ readonly onZoomOut: () => void;
52
+ /**
53
+ * Resets the local preview zoom to 100%.
54
+ */
55
+ readonly onZoomReset: () => void;
56
+ /**
57
+ * Toggles the full screen mode of the preview.
58
+ */
59
+ readonly onToggleFullscreen: () => void;
60
+ /**
61
+ * Optional close handler shown when the preview fills a modal dialog.
62
+ */
63
+ readonly onClose?: () => void;
64
+ };
65
+ /**
66
+ * Browser-like toolbar of the live page preview with history navigation, an editable
67
+ * address bar, local zoom controls, full screen toggle, and an "Open in new tab" link.
68
+ *
69
+ * @private component of `<LiveBrowserPreview/>`
70
+ */
71
+ export declare function LiveBrowserPreviewToolbar(props: LiveBrowserPreviewToolbarProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,72 @@
1
+ /**
2
+ * Pointer button forwarded from the client to the live page-preview browser.
3
+ *
4
+ * @private type shared between `<LiveBrowserPreview/>` and the Agents Server page-preview routes
5
+ */
6
+ export type PagePreviewPointerButton = 'left' | 'middle' | 'right';
7
+ /**
8
+ * Browser-history action forwarded from the preview toolbar.
9
+ *
10
+ * @private type shared between `<LiveBrowserPreview/>` and the Agents Server page-preview routes
11
+ */
12
+ export type PagePreviewNavigationAction = 'back' | 'forward' | 'reload';
13
+ /**
14
+ * One remote-control event forwarded from the live page-preview client to the headless browser.
15
+ *
16
+ * Pointer coordinates are expressed as ratios of the streamed viewport (`0` to `1`), so the client
17
+ * does not need to know the exact remote viewport size.
18
+ *
19
+ * - `move` — hover / pointer movement
20
+ * - `down` / `up` — raw pointer press and release (drag, text selection, double-click via `clickCount`)
21
+ * - `click` — legacy single click kept for backward compatibility with older preview clients
22
+ * - `wheel` — scrolling
23
+ * - `keydown` / `keyup` — keyboard typing and shortcuts, `key` uses `KeyboardEvent.key` values
24
+ * - `resize` — the client preview area changed, the remote viewport should follow
25
+ * - `navigate` — browser-history navigation from the preview toolbar
26
+ * - `goto` — navigate to one absolute HTTP(S) URL from the preview toolbar
27
+ *
28
+ * @private type shared between `<LiveBrowserPreview/>` and the Agents Server page-preview routes
29
+ */
30
+ export type PagePreviewInputEvent = {
31
+ readonly type: 'move';
32
+ readonly xRatio: number;
33
+ readonly yRatio: number;
34
+ } | {
35
+ readonly type: 'down';
36
+ readonly xRatio: number;
37
+ readonly yRatio: number;
38
+ readonly button: PagePreviewPointerButton;
39
+ readonly clickCount: number;
40
+ } | {
41
+ readonly type: 'up';
42
+ readonly xRatio: number;
43
+ readonly yRatio: number;
44
+ readonly button: PagePreviewPointerButton;
45
+ readonly clickCount: number;
46
+ } | {
47
+ readonly type: 'click';
48
+ readonly xRatio: number;
49
+ readonly yRatio: number;
50
+ } | {
51
+ readonly type: 'wheel';
52
+ readonly xRatio: number;
53
+ readonly yRatio: number;
54
+ readonly deltaX: number;
55
+ readonly deltaY: number;
56
+ } | {
57
+ readonly type: 'keydown';
58
+ readonly key: string;
59
+ } | {
60
+ readonly type: 'keyup';
61
+ readonly key: string;
62
+ } | {
63
+ readonly type: 'resize';
64
+ readonly width: number;
65
+ readonly height: number;
66
+ } | {
67
+ readonly type: 'navigate';
68
+ readonly action: PagePreviewNavigationAction;
69
+ } | {
70
+ readonly type: 'goto';
71
+ readonly url: string;
72
+ };
@@ -0,0 +1,64 @@
1
+ import type { PagePreviewInputEvent } from './PagePreviewInputEvent';
2
+ import type { PagePreviewSessionState } from './PagePreviewSessionState';
3
+ /**
4
+ * Options of one `PagePreviewInputQueue`.
5
+ *
6
+ * @private type of `PagePreviewInputQueue`
7
+ */
8
+ export type PagePreviewInputQueueOptions = {
9
+ /**
10
+ * Page-preview browser session id the events belong to.
11
+ */
12
+ readonly sessionId: string;
13
+ /**
14
+ * Endpoint receiving the input events, defaults to `/api/page-preview/input`.
15
+ */
16
+ readonly endpointUrl?: string;
17
+ /**
18
+ * Called with the fresh session navigation state returned by the server after each delivered event.
19
+ */
20
+ readonly onSessionState?: (state: PagePreviewSessionState) => void;
21
+ };
22
+ /**
23
+ * Delivers remote-control events of one live page-preview browser session to the Agents Server.
24
+ *
25
+ * Events are sent strictly one after another so the remote browser receives them in order
26
+ * (crucial for drags and text selection). While one request is in flight, bursty events are
27
+ * coalesced: consecutive `move` events collapse into the latest one, consecutive `wheel`
28
+ * events accumulate their deltas, and only the latest `resize` is kept.
29
+ *
30
+ * @private utility of `<LiveBrowserPreview/>`
31
+ */
32
+ export declare class PagePreviewInputQueue {
33
+ private readonly options;
34
+ private readonly pendingEvents;
35
+ private isFlushing;
36
+ private isDisposed;
37
+ constructor(options: PagePreviewInputQueueOptions);
38
+ /**
39
+ * Enqueues one input event for ordered delivery.
40
+ *
41
+ * @param inputEvent - Event to forward to the remote browser.
42
+ */
43
+ send(inputEvent: PagePreviewInputEvent): void;
44
+ /**
45
+ * Stops the queue and drops all undelivered events.
46
+ */
47
+ dispose(): void;
48
+ /**
49
+ * Adds one event to the queue, merging it with the trailing event when possible.
50
+ *
51
+ * @param inputEvent - Event to enqueue.
52
+ */
53
+ private coalesceIntoPendingEvents;
54
+ /**
55
+ * Delivers pending events one by one until the queue is drained.
56
+ */
57
+ private flushPendingEvents;
58
+ /**
59
+ * Sends one event to the server, surfacing the returned session state.
60
+ *
61
+ * @param inputEvent - Event to deliver.
62
+ */
63
+ private deliverInputEvent;
64
+ }
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Navigation state of one live page-preview browser session, shown in the preview toolbar.
3
+ *
4
+ * `canGoBack` / `canGoForward` are `null` when the server cannot inspect the remote history
5
+ * (for example when the CDP session is unavailable) — the toolbar keeps its buttons enabled then.
6
+ *
7
+ * @private type shared between `<LiveBrowserPreview/>` and the Agents Server page-preview routes
8
+ */
9
+ export type PagePreviewSessionState = {
10
+ readonly url: string;
11
+ readonly title: string | null;
12
+ readonly canGoBack: boolean | null;
13
+ readonly canGoForward: boolean | null;
14
+ };
@@ -0,0 +1,37 @@
1
+ /**
2
+ * Viewport of one live page-preview browser session, in CSS pixels.
3
+ *
4
+ * @private type shared between `<LiveBrowserPreview/>` and the Agents Server page-preview routes
5
+ */
6
+ export type PagePreviewViewport = {
7
+ readonly width: number;
8
+ readonly height: number;
9
+ };
10
+ /**
11
+ * Smallest viewport accepted for one live page-preview browser session.
12
+ *
13
+ * @private constant shared between `<LiveBrowserPreview/>` and the Agents Server page-preview routes
14
+ */
15
+ export declare const PAGE_PREVIEW_MIN_VIEWPORT: PagePreviewViewport;
16
+ /**
17
+ * Largest viewport accepted for one live page-preview browser session.
18
+ *
19
+ * @private constant shared between `<LiveBrowserPreview/>` and the Agents Server page-preview routes
20
+ */
21
+ export declare const PAGE_PREVIEW_MAX_VIEWPORT: PagePreviewViewport;
22
+ /**
23
+ * Viewport used when the client did not measure its preview area yet.
24
+ *
25
+ * @private constant shared between `<LiveBrowserPreview/>` and the Agents Server page-preview routes
26
+ */
27
+ export declare const PAGE_PREVIEW_DEFAULT_VIEWPORT: PagePreviewViewport;
28
+ /**
29
+ * Clamps one requested page-preview viewport into the supported bounds.
30
+ *
31
+ * @param width - Requested viewport width.
32
+ * @param height - Requested viewport height.
33
+ * @returns Rounded viewport within the supported bounds, or `null` when the values are not finite numbers.
34
+ *
35
+ * @private utility shared between `<LiveBrowserPreview/>` and the Agents Server page-preview routes
36
+ */
37
+ export declare function clampPagePreviewViewport(width: unknown, height: unknown): PagePreviewViewport | null;
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Prefix of every live page-preview browser session id.
3
+ *
4
+ * @private constant shared between `<LiveBrowserPreview/>` and the Agents Server page-preview routes
5
+ */
6
+ export declare const PAGE_PREVIEW_SESSION_ID_PREFIX = "page-preview-";
7
+ /**
8
+ * Pattern accepted for client-created page-preview session identifiers.
9
+ *
10
+ * @private constant shared between `<LiveBrowserPreview/>` and the Agents Server page-preview routes
11
+ */
12
+ export declare const PAGE_PREVIEW_SESSION_ID_PATTERN: RegExp;
13
+ /**
14
+ * Creates one client-side page-preview browser session id.
15
+ *
16
+ * @returns Session id accepted by the Agents Server page-preview routes.
17
+ *
18
+ * @private utility of `<LiveBrowserPreview/>`
19
+ */
20
+ export declare function createPagePreviewSessionId(): string;
@@ -0,0 +1,13 @@
1
+ import type { PagePreviewInputEvent } from './PagePreviewInputEvent';
2
+ /**
3
+ * Validates and normalizes one untrusted page-preview input payload into a typed input event.
4
+ *
5
+ * Note: This performs only structural validation shared by client and server — the Agents Server
6
+ * additionally re-checks `goto` URLs against private/internal targets before navigating.
7
+ *
8
+ * @param payload - Unknown JSON payload (usually the parsed request body).
9
+ * @returns Normalized input event or `null` when the payload is invalid.
10
+ *
11
+ * @private utility shared between `<LiveBrowserPreview/>` and the Agents Server page-preview routes
12
+ */
13
+ export declare function normalizePagePreviewInputEvent(payload: unknown): PagePreviewInputEvent | null;
@@ -0,0 +1,8 @@
1
+ import type { id } from '../../../types/string_token';
2
+ import type { ChatMessage } from '../types/ChatMessage';
3
+ /**
4
+ * Resolves the stable key used for local chat feedback state.
5
+ *
6
+ * @private utility of `<Chat/>`
7
+ */
8
+ export declare function resolveChatRatingMessageKey(message: Pick<ChatMessage, 'id' | 'content'>): id;
@@ -1,11 +1,13 @@
1
1
  /// <reference types="react" />
2
2
  import type { string_markdown } from '../../../types/string_markdown';
3
+ import type { MarkdownInlineReference } from '../utils/renderMarkdown';
3
4
  /**
4
5
  * Props for markdown content.
5
6
  */
6
7
  type MarkdownContentProps = {
7
8
  content: string_markdown;
8
9
  className?: string;
10
+ inlineReferences?: ReadonlyArray<MarkdownInlineReference>;
9
11
  onCreateAgent?: (bookContent: string) => void;
10
12
  theme?: 'LIGHT' | 'DARK';
11
13
  };
@@ -0,0 +1,2 @@
1
+ /** @jest-environment jsdom */
2
+ export {};
@@ -0,0 +1,2 @@
1
+ /** @jest-environment jsdom */
2
+ export {};
@@ -4,6 +4,84 @@ import type { string_html, string_markdown } from '../../../types/string_markdow
4
4
  */
5
5
  type RenderMarkdownOptions = {
6
6
  readonly citationReferenceClassName?: string;
7
+ readonly inlineReferences?: ReadonlyArray<MarkdownInlineReference>;
8
+ readonly inlineReferenceClassName?: string;
9
+ };
10
+ /**
11
+ * One inline markdown reference converted from `[[reference]]` into a safe link chip.
12
+ *
13
+ * @public exported from `@promptbook/components`
14
+ */
15
+ export type MarkdownInlineReference = {
16
+ /**
17
+ * Raw reference text between `[[` and `]]`.
18
+ */
19
+ readonly reference: string;
20
+ /**
21
+ * Human-readable label rendered inside the link chip.
22
+ */
23
+ readonly label: string;
24
+ /**
25
+ * Link target for the rendered reference.
26
+ */
27
+ readonly href: string;
28
+ /**
29
+ * Optional hover title for the rendered reference.
30
+ */
31
+ readonly title?: string;
32
+ /**
33
+ * Optional expandable menu shown when the reference chip is clicked.
34
+ */
35
+ readonly menu?: MarkdownInlineReferenceMenu;
36
+ };
37
+ /**
38
+ * Status displayed alongside an expandable markdown inline reference.
39
+ *
40
+ * @public exported from `@promptbook/components`
41
+ */
42
+ export type MarkdownInlineReferenceMenuStatus = {
43
+ /**
44
+ * Accessible text describing the current reference status.
45
+ */
46
+ readonly label: string;
47
+ /**
48
+ * Whether the status should be rendered as active.
49
+ */
50
+ readonly isActive: boolean;
51
+ };
52
+ /**
53
+ * One destination in an expandable markdown inline reference menu.
54
+ *
55
+ * @public exported from `@promptbook/components`
56
+ */
57
+ export type MarkdownInlineReferenceMenuOption = {
58
+ /**
59
+ * Text rendered for the option.
60
+ */
61
+ readonly label: string;
62
+ /**
63
+ * New-tab destination, or `null` while the option is unavailable.
64
+ */
65
+ readonly href: string | null;
66
+ /**
67
+ * Optional hover text for the option.
68
+ */
69
+ readonly title?: string;
70
+ };
71
+ /**
72
+ * Expandable menu configuration for a markdown inline reference.
73
+ *
74
+ * @public exported from `@promptbook/components`
75
+ */
76
+ export type MarkdownInlineReferenceMenu = {
77
+ /**
78
+ * Current reference status shown in the chip and menu.
79
+ */
80
+ readonly status: MarkdownInlineReferenceMenuStatus;
81
+ /**
82
+ * New-tab actions listed in the expanded menu.
83
+ */
84
+ readonly options: ReadonlyArray<MarkdownInlineReferenceMenuOption>;
7
85
  };
8
86
  /**
9
87
  * Convert markdown content to HTML.
@@ -0,0 +1,149 @@
1
+ import type { ParsedCitation } from './parseCitationsFromContent';
2
+ /**
3
+ * Broad source category used by chat citation chips.
4
+ *
5
+ * @private utility type of `<Chat/>` citation rendering
6
+ */
7
+ export type CitationSourceKind = 'archive' | 'audio' | 'code' | 'document' | 'file' | 'image' | 'json' | 'plain-text' | 'presentation' | 'spreadsheet' | 'table' | 'video' | 'website';
8
+ /**
9
+ * Image subtype when the citation source carries enough information to identify it.
10
+ *
11
+ * @private utility type of `<Chat/>` citation rendering
12
+ */
13
+ export type CitationImageFormat = 'avif' | 'gif' | 'image' | 'jpeg' | 'png' | 'svg' | 'webp';
14
+ /**
15
+ * Render-ready metadata for one citation source.
16
+ *
17
+ * @private utility type of `<Chat/>` citation rendering
18
+ */
19
+ export type CitationSourceDisplay = {
20
+ /**
21
+ * Broad source category.
22
+ */
23
+ readonly kind: CitationSourceKind;
24
+ /**
25
+ * Human-readable fallback label used before optional host metadata resolution.
26
+ */
27
+ readonly label: string;
28
+ /**
29
+ * Best known HTTP(S) target for previews and URL snippets.
30
+ */
31
+ readonly targetUrl?: string;
32
+ /**
33
+ * Image URL that can be rendered as a thumbnail.
34
+ */
35
+ readonly thumbnailUrl?: string;
36
+ /**
37
+ * Lower-cased file extension when one is known.
38
+ */
39
+ readonly extension?: string;
40
+ /**
41
+ * Image subtype when known.
42
+ */
43
+ readonly imageFormat?: CitationImageFormat;
44
+ };
45
+ /**
46
+ * Internal source signature before final labels/preview URLs are resolved.
47
+ *
48
+ * @private utility type of `<Chat/>` citation rendering
49
+ */
50
+ export type CitationSourceSignature = {
51
+ /**
52
+ * Broad source category.
53
+ */
54
+ readonly kind: CitationSourceKind;
55
+ /**
56
+ * Image subtype when known.
57
+ */
58
+ readonly imageFormat?: CitationImageFormat;
59
+ };
60
+ /**
61
+ * Resolves render-ready source metadata for one citation.
62
+ *
63
+ * @param citation - Citation metadata from a rendered chat message.
64
+ * @returns Display label, source category, and optional preview URLs.
65
+ *
66
+ * @private utility of `<Chat/>` citation rendering
67
+ */
68
+ export declare function resolveCitationSourceDisplay(citation: ParsedCitation): CitationSourceDisplay;
69
+ /**
70
+ * Returns whether the provided value is a valid HTTP(S) URL.
71
+ *
72
+ * @param value - Candidate string to inspect.
73
+ * @returns True when the value parses as an HTTP or HTTPS URL.
74
+ *
75
+ * @private utility of `<Chat/>` citation rendering
76
+ */
77
+ export declare function isCitationSourceUrl(value: string): boolean;
78
+ /**
79
+ * Determines whether a citation should be displayed as a text snippet instead of a file/URL.
80
+ *
81
+ * @param citation - Parsed citation metadata.
82
+ * @returns True when the citation looks like inline text instead of a document or URL.
83
+ *
84
+ * @private utility of `<Chat/>` citation rendering
85
+ */
86
+ export declare function isPlainTextCitationSource(citation: ParsedCitation): boolean;
87
+ /**
88
+ * Creates a readable fallback label from a citation source when no title metadata is available.
89
+ *
90
+ * @param source - Raw citation source value.
91
+ * @returns Human-friendly source label.
92
+ *
93
+ * @private utility of `<Chat/>` citation rendering
94
+ */
95
+ export declare function createReadableCitationSourceDisplayLabel(source: string): string;
96
+ /**
97
+ * Creates a compact host/path label for URL-backed file citations.
98
+ *
99
+ * @param rawUrl - Raw URL value.
100
+ * @returns URL snippet such as `github.com/.../source.json`, or null for invalid URLs.
101
+ *
102
+ * @private utility of `<Chat/>` citation rendering
103
+ */
104
+ export declare function createCitationUrlSnippet(rawUrl: string): string | null;
105
+ /**
106
+ * Resolves a source signature from a file extension.
107
+ *
108
+ * @param extension - Lower- or mixed-case file extension.
109
+ * @returns Source signature or null for unknown extensions.
110
+ *
111
+ * @private utility of `<Chat/>` citation rendering
112
+ */
113
+ export declare function resolveCitationSourceSignatureFromFileExtension(extension: string | null | undefined): CitationSourceSignature | null;
114
+ /**
115
+ * Resolves a source signature from an HTTP content type.
116
+ *
117
+ * @param contentType - Raw Content-Type header value.
118
+ * @returns Source signature or null when the content type is not specific enough.
119
+ *
120
+ * @private utility of `<Chat/>` citation rendering
121
+ */
122
+ export declare function resolveCitationSourceSignatureFromContentType(contentType: string): CitationSourceSignature | null;
123
+ /**
124
+ * Resolves a source signature from decoded source text.
125
+ *
126
+ * @param source - Raw citation source text.
127
+ * @returns Source signature for JSON/binary-like source text, otherwise null.
128
+ *
129
+ * @private utility of `<Chat/>` citation rendering
130
+ */
131
+ export declare function resolveRawCitationSourceSignature(source: string): CitationSourceSignature | null;
132
+ /**
133
+ * Resolves a source signature from response bytes.
134
+ *
135
+ * @param bytes - Leading response bytes.
136
+ * @returns Source signature for known binary formats, otherwise null.
137
+ *
138
+ * @private utility of `<Chat/>` citation rendering
139
+ */
140
+ export declare function resolveCitationSourceSignatureFromBytes(bytes: Uint8Array): CitationSourceSignature | null;
141
+ /**
142
+ * Creates a generic fallback label for a source signature.
143
+ *
144
+ * @param signature - Source signature.
145
+ * @returns Human-readable fallback label.
146
+ *
147
+ * @private utility of `<Chat/>` citation rendering
148
+ */
149
+ export declare function createCitationSourceSignatureFallbackLabel(signature: CitationSourceSignature): string;
@@ -7,6 +7,15 @@
7
7
  * @private internal helper for Promptbook chat placeholders
8
8
  */
9
9
  export declare function normalizeThinkingMessageVariants(thinkingMessages?: ReadonlyArray<string>): ReadonlyArray<string>;
10
+ /**
11
+ * Parses configured thinking-message variants without applying default fallbacks.
12
+ *
13
+ * @param thinkingMessages Raw thinking-message variants.
14
+ * @returns Trimmed non-empty variants.
15
+ *
16
+ * @private internal helper for Promptbook chat placeholders
17
+ */
18
+ export declare function parseThinkingMessageVariants(thinkingMessages?: ReadonlyArray<string> | null): ReadonlyArray<string>;
10
19
  /**
11
20
  * Returns a random delay used between browser-side thinking-message rotations.
12
21
  *
@@ -1,5 +1,5 @@
1
- import { AGENT_BOOK_FILE_PATH, AGENT_FAILED_MESSAGES_DIRECTORY_PATH, AGENT_FINISHED_MESSAGES_DIRECTORY_PATH, AGENT_MESSAGES_DIRECTORY_PATH, AGENT_QUEUED_MESSAGES_DIRECTORY_PATH } from '../../../book-3.0/agentFolderPaths';
2
- export { AGENT_BOOK_FILE_PATH, AGENT_FAILED_MESSAGES_DIRECTORY_PATH, AGENT_FINISHED_MESSAGES_DIRECTORY_PATH, AGENT_MESSAGES_DIRECTORY_PATH, AGENT_QUEUED_MESSAGES_DIRECTORY_PATH, };
1
+ import { AGENT_BOOK_FILE_PATH, AGENT_FAILED_MESSAGES_DIRECTORY_PATH, AGENT_FINISHED_MESSAGES_DIRECTORY_PATH, AGENT_MESSAGES_DIRECTORY_PATH, AGENT_PROJECTS_DIRECTORY_PATH, AGENT_QUEUED_MESSAGES_DIRECTORY_PATH } from '../../../book-3.0/agentFolderPaths';
2
+ export { AGENT_BOOK_FILE_PATH, AGENT_FAILED_MESSAGES_DIRECTORY_PATH, AGENT_FINISHED_MESSAGES_DIRECTORY_PATH, AGENT_MESSAGES_DIRECTORY_PATH, AGENT_PROJECTS_DIRECTORY_PATH, AGENT_QUEUED_MESSAGES_DIRECTORY_PATH, };
3
3
  /**
4
4
  * Relative path to local knowledge files initialized by `ptbk agent-folder init`.
5
5
  *
@@ -6,6 +6,7 @@ import type { number_port } from '../../../../types/number_positive';
6
6
  * @private internal type of `startAgentsServer`
7
7
  */
8
8
  export type AgentsServerChildEnvironment = NodeJS.ProcessEnv & {
9
+ readonly PTBK_AGENTS_SERVER_URL: string;
9
10
  readonly PTBK_AGENTS_SERVER_USER_CHAT_WORKER_TOKEN: string;
10
11
  };
11
12
  /**
@@ -1,4 +1,4 @@
1
- import type { PreparedAgentsServerRuntime } from '../buildAgentsServer';
1
+ import type { PreparedAgentsServerRuntime } from '../buildAgentsServer/PreparedAgentsServerRuntime';
2
2
  import type { AgentsServerChildEnvironment } from './AgentsServerChildEnvironment';
3
3
  import type { AgentsServerRuntimePaths } from './AgentsServerRuntimePaths';
4
4
  /**
@@ -1,6 +1,6 @@
1
1
  /// <reference types="node" />
2
2
  import type { WriteStream } from 'fs';
3
- import { type AgentsServerSupervisorState } from './AgentsServerSupervisorState';
3
+ import type { AgentsServerSupervisorState } from './AgentsServerSupervisorState';
4
4
  /**
5
5
  * Persists one child output chunk and forwards readable lines into UI or plain output.
6
6
  *
@@ -3,7 +3,7 @@ import { type ChildProcess } from 'child_process';
3
3
  import type { AgentsServerChildEnvironment } from './AgentsServerChildEnvironment';
4
4
  import type { AgentsServerLogStreams } from './AgentsServerLogStreams';
5
5
  import type { AgentsServerRuntimePaths } from './AgentsServerRuntimePaths';
6
- import { type AgentsServerSupervisorState } from './AgentsServerSupervisorState';
6
+ import type { AgentsServerSupervisorState } from './AgentsServerSupervisorState';
7
7
  import type { StartAgentsServerOptions } from './StartAgentsServerOptions';
8
8
  /**
9
9
  * Starts the configured Next server mode and wires its logs into the foreground dashboard.
@@ -1,7 +1,7 @@
1
1
  import type { number_port } from '../../../../types/number_positive';
2
2
  import type { AgentsServerChildEnvironment } from './AgentsServerChildEnvironment';
3
3
  import type { AgentsServerLogStreams } from './AgentsServerLogStreams';
4
- import { type AgentsServerSupervisorState } from './AgentsServerSupervisorState';
4
+ import type { AgentsServerSupervisorState } from './AgentsServerSupervisorState';
5
5
  /**
6
6
  * Starts periodic internal worker calls that queue and reconcile local message-folder jobs.
7
7
  *
@@ -1,6 +1,6 @@
1
1
  import type { StartAgentsServerOptions } from './startAgentsServer/StartAgentsServerOptions';
2
2
  export { loadAgentsServerProjectEnvironment } from './startAgentsServer/loadAgentsServerProjectEnvironment';
3
- export type { AgentsServerNextRuntimeMode, StartAgentsServerOptions } from './startAgentsServer/StartAgentsServerOptions';
3
+ export type { AgentsServerNextRuntimeMode, StartAgentsServerOptions, } from './startAgentsServer/StartAgentsServerOptions';
4
4
  /**
5
5
  * Starts the Agents Server web app and local coding-agent queue workers in the foreground.
6
6
  *