@marketrix.ai/widget 3.8.10 → 3.8.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 (216) hide show
  1. package/README.md +158 -169
  2. package/dist/src/components/MarketrixWidget.d.ts +0 -1
  3. package/dist/src/components/base/Avatar.d.ts +0 -1
  4. package/dist/src/components/base/Badge.d.ts +0 -1
  5. package/dist/src/components/base/Button.d.ts +0 -1
  6. package/dist/src/components/base/Card.d.ts +0 -1
  7. package/dist/src/components/base/Dialog.d.ts +9 -12
  8. package/dist/src/components/base/Flex.d.ts +0 -1
  9. package/dist/src/components/base/Icon.d.ts +0 -1
  10. package/dist/src/components/base/IconButton.d.ts +0 -1
  11. package/dist/src/components/base/Indicator.d.ts +0 -1
  12. package/dist/src/components/base/Menu.d.ts +4 -5
  13. package/dist/src/components/base/Pill.d.ts +0 -1
  14. package/dist/src/components/base/Spinner.d.ts +0 -1
  15. package/dist/src/components/base/Stack.d.ts +0 -1
  16. package/dist/src/components/base/Surface.d.ts +0 -1
  17. package/dist/src/components/base/Text.d.ts +0 -1
  18. package/dist/src/components/base/Textarea.d.ts +0 -1
  19. package/dist/src/components/base/Video.d.ts +0 -1
  20. package/dist/src/components/base/icons.d.ts +0 -256
  21. package/dist/src/components/base/layoutProps.d.ts +0 -1
  22. package/dist/src/components/base/tokens.d.ts +0 -1
  23. package/dist/src/components/base/useDisclosure.d.ts +0 -1
  24. package/dist/src/components/blocks/ChatInput.d.ts +0 -1
  25. package/dist/src/components/blocks/HeaderBar.d.ts +0 -1
  26. package/dist/src/components/blocks/NotificationToast.d.ts +0 -1
  27. package/dist/src/components/blocks/WidgetDialog.d.ts +0 -13
  28. package/dist/src/components/blocks/WidgetFab.d.ts +0 -1
  29. package/dist/src/components/chat/MessageContent.d.ts +0 -1
  30. package/dist/src/components/chat/MessageItem.d.ts +0 -1
  31. package/dist/src/components/chat/MessageList.d.ts +1 -2
  32. package/dist/src/components/chat/ProgressLine.d.ts +0 -1
  33. package/dist/src/components/chat/SuggestedActions.d.ts +0 -1
  34. package/dist/src/components/chat/TaskStatusIcon.d.ts +0 -1
  35. package/dist/src/components/chat/ThinkingIndicator.d.ts +0 -1
  36. package/dist/src/components/chat/VideoStreamDisplay.d.ts +0 -1
  37. package/dist/src/components/navigation/MessengerShell.d.ts +1 -3
  38. package/dist/src/components/navigation/ResizeHandles.d.ts +0 -1
  39. package/dist/src/components/navigation/ShellTabBar.d.ts +0 -1
  40. package/dist/src/components/navigation/ViewTransition.d.ts +0 -1
  41. package/dist/src/components/ui/StateMessage.d.ts +0 -1
  42. package/dist/src/components/ui/WidgetSettingsLoader.d.ts +1 -2
  43. package/dist/src/components/views/ChatView.d.ts +1 -3
  44. package/dist/src/components/views/HomeView.d.ts +0 -1
  45. package/dist/src/constants/theme.d.ts +0 -1
  46. package/dist/src/context/ConversationContext.d.ts +56 -0
  47. package/dist/src/context/UIStateContext.d.ts +0 -1
  48. package/dist/src/context/WidgetProviders.d.ts +8 -7
  49. package/dist/src/context/sseReducer.d.ts +3 -4
  50. package/dist/src/design-system/component-tokens.d.ts +0 -1
  51. package/dist/src/design-system/layers.d.ts +0 -1
  52. package/dist/src/design-system/semantic-tokens.d.ts +0 -1
  53. package/dist/src/design-system/shadows.d.ts +0 -1
  54. package/dist/src/design-system/token-adapter.d.ts +0 -1
  55. package/dist/src/hooks/useDragSnap.d.ts +0 -1
  56. package/dist/src/hooks/useFocusTrap.d.ts +0 -1
  57. package/dist/src/hooks/useResize.d.ts +0 -1
  58. package/dist/src/hooks/useScreenShare.d.ts +0 -1
  59. package/dist/src/hooks/useScrollLock.d.ts +0 -1
  60. package/dist/src/hooks/useWidget.d.ts +2 -6
  61. package/dist/src/index.d.ts +0 -1
  62. package/dist/src/lib/utils.d.ts +0 -1
  63. package/dist/src/sdk/contract.d.ts +0 -371
  64. package/dist/src/sdk/contracts/activityLog.d.ts +0 -25
  65. package/dist/src/sdk/contracts/application.d.ts +54 -5
  66. package/dist/src/sdk/contracts/chat.d.ts +0 -1
  67. package/dist/src/sdk/contracts/common.d.ts +10 -14
  68. package/dist/src/sdk/contracts/entities.d.ts +12 -271
  69. package/dist/src/sdk/contracts/widget.d.ts +0 -973
  70. package/dist/src/sdk/index.d.ts +1 -372
  71. package/dist/src/services/ApiService.d.ts +1 -3
  72. package/dist/src/services/ChatService.d.ts +3 -6
  73. package/dist/src/services/ConfigManager.d.ts +0 -1
  74. package/dist/src/services/DomService.d.ts +3 -33
  75. package/dist/src/services/ScreenShareService.d.ts +0 -6
  76. package/dist/src/services/SessionManager.d.ts +0 -1
  77. package/dist/src/services/SessionRecorder.d.ts +0 -1
  78. package/dist/src/services/ShowModeService.d.ts +0 -1
  79. package/dist/src/services/StorageService.d.ts +3 -5
  80. package/dist/src/services/StreamClient.d.ts +0 -2
  81. package/dist/src/services/ToolService.d.ts +3 -4
  82. package/dist/src/services/ValidationService.d.ts +9 -12
  83. package/dist/src/services/WidgetService.d.ts +0 -2
  84. package/dist/src/test/a11y-utils.d.ts +0 -1
  85. package/dist/src/test/fixtures.d.ts +0 -1
  86. package/dist/src/test/setup.d.ts +0 -1
  87. package/dist/src/types/browserTools.d.ts +2 -9
  88. package/dist/src/types/index.d.ts +3 -19
  89. package/dist/src/utils/apiUtils.d.ts +0 -1
  90. package/dist/src/utils/bootstrap.d.ts +0 -11
  91. package/dist/src/utils/chat.d.ts +0 -11
  92. package/dist/src/utils/common.d.ts +0 -1
  93. package/dist/src/utils/dom.d.ts +0 -13
  94. package/dist/src/utils/format.d.ts +0 -1
  95. package/dist/src/utils/suggestedActions.d.ts +0 -1
  96. package/dist/src/utils/validation.d.ts +0 -9
  97. package/dist/src/utils/widgetPositioning.d.ts +0 -1
  98. package/dist/widget.mjs +62 -65
  99. package/dist/widget.mjs.map +1 -1
  100. package/package.json +15 -15
  101. package/dist/index.html +0 -1697
  102. package/dist/src/components/MarketrixWidget.d.ts.map +0 -1
  103. package/dist/src/components/base/Avatar.d.ts.map +0 -1
  104. package/dist/src/components/base/Badge.d.ts.map +0 -1
  105. package/dist/src/components/base/Button.d.ts.map +0 -1
  106. package/dist/src/components/base/Card.d.ts.map +0 -1
  107. package/dist/src/components/base/Dialog.d.ts.map +0 -1
  108. package/dist/src/components/base/Flex.d.ts.map +0 -1
  109. package/dist/src/components/base/Icon.d.ts.map +0 -1
  110. package/dist/src/components/base/IconButton.d.ts.map +0 -1
  111. package/dist/src/components/base/Indicator.d.ts.map +0 -1
  112. package/dist/src/components/base/Menu.d.ts.map +0 -1
  113. package/dist/src/components/base/Pill.d.ts.map +0 -1
  114. package/dist/src/components/base/Spinner.d.ts.map +0 -1
  115. package/dist/src/components/base/Stack.d.ts.map +0 -1
  116. package/dist/src/components/base/Surface.d.ts.map +0 -1
  117. package/dist/src/components/base/Text.d.ts.map +0 -1
  118. package/dist/src/components/base/Textarea.d.ts.map +0 -1
  119. package/dist/src/components/base/Video.d.ts.map +0 -1
  120. package/dist/src/components/base/icons.d.ts.map +0 -1
  121. package/dist/src/components/base/index.d.ts +0 -22
  122. package/dist/src/components/base/index.d.ts.map +0 -1
  123. package/dist/src/components/base/layoutProps.d.ts.map +0 -1
  124. package/dist/src/components/base/tokens.d.ts.map +0 -1
  125. package/dist/src/components/base/useDisclosure.d.ts.map +0 -1
  126. package/dist/src/components/blocks/ChatInput.d.ts.map +0 -1
  127. package/dist/src/components/blocks/HeaderBar.d.ts.map +0 -1
  128. package/dist/src/components/blocks/NotificationToast.d.ts.map +0 -1
  129. package/dist/src/components/blocks/TabBar.d.ts +0 -13
  130. package/dist/src/components/blocks/TabBar.d.ts.map +0 -1
  131. package/dist/src/components/blocks/WidgetDialog.d.ts.map +0 -1
  132. package/dist/src/components/blocks/WidgetFab.d.ts.map +0 -1
  133. package/dist/src/components/blocks/index.d.ts +0 -7
  134. package/dist/src/components/blocks/index.d.ts.map +0 -1
  135. package/dist/src/components/chat/MessageContent.d.ts.map +0 -1
  136. package/dist/src/components/chat/MessageItem.d.ts.map +0 -1
  137. package/dist/src/components/chat/MessageList.d.ts.map +0 -1
  138. package/dist/src/components/chat/ProgressLine.d.ts.map +0 -1
  139. package/dist/src/components/chat/SuggestedActions.d.ts.map +0 -1
  140. package/dist/src/components/chat/TaskStatusIcon.d.ts.map +0 -1
  141. package/dist/src/components/chat/ThinkingIndicator.d.ts.map +0 -1
  142. package/dist/src/components/chat/VideoStreamDisplay.d.ts.map +0 -1
  143. package/dist/src/components/navigation/MessengerShell.d.ts.map +0 -1
  144. package/dist/src/components/navigation/ResizeHandles.d.ts.map +0 -1
  145. package/dist/src/components/navigation/ShellTabBar.d.ts.map +0 -1
  146. package/dist/src/components/navigation/ViewTransition.d.ts.map +0 -1
  147. package/dist/src/components/ui/StateMessage.d.ts.map +0 -1
  148. package/dist/src/components/ui/WidgetSettingsLoader.d.ts.map +0 -1
  149. package/dist/src/components/views/ChatView.d.ts.map +0 -1
  150. package/dist/src/components/views/HomeView.d.ts.map +0 -1
  151. package/dist/src/constants/config.d.ts +0 -8
  152. package/dist/src/constants/config.d.ts.map +0 -1
  153. package/dist/src/constants/theme.d.ts.map +0 -1
  154. package/dist/src/context/ChatContext.d.ts +0 -34
  155. package/dist/src/context/ChatContext.d.ts.map +0 -1
  156. package/dist/src/context/TaskContext.d.ts +0 -39
  157. package/dist/src/context/TaskContext.d.ts.map +0 -1
  158. package/dist/src/context/UIStateContext.d.ts.map +0 -1
  159. package/dist/src/context/WidgetProviders.d.ts.map +0 -1
  160. package/dist/src/context/sseReducer.d.ts.map +0 -1
  161. package/dist/src/design-system/component-tokens.d.ts.map +0 -1
  162. package/dist/src/design-system/layers.d.ts.map +0 -1
  163. package/dist/src/design-system/semantic-tokens.d.ts.map +0 -1
  164. package/dist/src/design-system/shadows.d.ts.map +0 -1
  165. package/dist/src/design-system/themes/default.d.ts +0 -7
  166. package/dist/src/design-system/themes/default.d.ts.map +0 -1
  167. package/dist/src/design-system/themes/high-contrast.d.ts +0 -4
  168. package/dist/src/design-system/themes/high-contrast.d.ts.map +0 -1
  169. package/dist/src/design-system/themes/index.d.ts +0 -3
  170. package/dist/src/design-system/themes/index.d.ts.map +0 -1
  171. package/dist/src/design-system/token-adapter.d.ts.map +0 -1
  172. package/dist/src/hooks/useDragSnap.d.ts.map +0 -1
  173. package/dist/src/hooks/useFocusTrap.d.ts.map +0 -1
  174. package/dist/src/hooks/useResize.d.ts.map +0 -1
  175. package/dist/src/hooks/useScreenShare.d.ts.map +0 -1
  176. package/dist/src/hooks/useScrollLock.d.ts.map +0 -1
  177. package/dist/src/hooks/useWidget.d.ts.map +0 -1
  178. package/dist/src/index.d.ts.map +0 -1
  179. package/dist/src/lib/utils.d.ts.map +0 -1
  180. package/dist/src/sdk/contract.d.ts.map +0 -1
  181. package/dist/src/sdk/contracts/activityLog.d.ts.map +0 -1
  182. package/dist/src/sdk/contracts/agent.d.ts +0 -3243
  183. package/dist/src/sdk/contracts/agent.d.ts.map +0 -1
  184. package/dist/src/sdk/contracts/application.d.ts.map +0 -1
  185. package/dist/src/sdk/contracts/chat.d.ts.map +0 -1
  186. package/dist/src/sdk/contracts/common.d.ts.map +0 -1
  187. package/dist/src/sdk/contracts/entities.d.ts.map +0 -1
  188. package/dist/src/sdk/contracts/widget.d.ts.map +0 -1
  189. package/dist/src/sdk/index.d.ts.map +0 -1
  190. package/dist/src/services/ApiService.d.ts.map +0 -1
  191. package/dist/src/services/ChatService.d.ts.map +0 -1
  192. package/dist/src/services/ConfigManager.d.ts.map +0 -1
  193. package/dist/src/services/DomService.d.ts.map +0 -1
  194. package/dist/src/services/ScreenShareService.d.ts.map +0 -1
  195. package/dist/src/services/SessionManager.d.ts.map +0 -1
  196. package/dist/src/services/SessionRecorder.d.ts.map +0 -1
  197. package/dist/src/services/ShowModeService.d.ts.map +0 -1
  198. package/dist/src/services/StorageService.d.ts.map +0 -1
  199. package/dist/src/services/StreamClient.d.ts.map +0 -1
  200. package/dist/src/services/ToolService.d.ts.map +0 -1
  201. package/dist/src/services/ValidationService.d.ts.map +0 -1
  202. package/dist/src/services/WidgetService.d.ts.map +0 -1
  203. package/dist/src/test/a11y-utils.d.ts.map +0 -1
  204. package/dist/src/test/fixtures.d.ts.map +0 -1
  205. package/dist/src/test/setup.d.ts.map +0 -1
  206. package/dist/src/types/browserTools.d.ts.map +0 -1
  207. package/dist/src/types/index.d.ts.map +0 -1
  208. package/dist/src/utils/apiUtils.d.ts.map +0 -1
  209. package/dist/src/utils/bootstrap.d.ts.map +0 -1
  210. package/dist/src/utils/chat.d.ts.map +0 -1
  211. package/dist/src/utils/common.d.ts.map +0 -1
  212. package/dist/src/utils/dom.d.ts.map +0 -1
  213. package/dist/src/utils/format.d.ts.map +0 -1
  214. package/dist/src/utils/suggestedActions.d.ts.map +0 -1
  215. package/dist/src/utils/validation.d.ts.map +0 -1
  216. package/dist/src/utils/widgetPositioning.d.ts.map +0 -1
@@ -35,9 +35,6 @@ export declare const sdk: {
35
35
  create_user: "create_user";
36
36
  update_user: "update_user";
37
37
  delete_user: "delete_user";
38
- create_agent: "create_agent";
39
- update_agent: "update_agent";
40
- delete_agent: "delete_agent";
41
38
  create_application: "create_application";
42
39
  update_application: "update_application";
43
40
  delete_application: "delete_application";
@@ -72,9 +69,6 @@ export declare const sdk: {
72
69
  create_user: "create_user";
73
70
  update_user: "update_user";
74
71
  delete_user: "delete_user";
75
- create_agent: "create_agent";
76
- update_agent: "update_agent";
77
- delete_agent: "delete_agent";
78
72
  create_application: "create_application";
79
73
  update_application: "update_application";
80
74
  delete_application: "delete_application";
@@ -115,188 +109,6 @@ export declare const sdk: {
115
109
  created_by: import("zod").ZodOptional<import("zod").ZodNumber>;
116
110
  }, import("zod/v4/core").$loose>>;
117
111
  }, import("zod/v4/core").$strip>, Record<never, never>>;
118
- agentGet: import("@orpc/contract").ContractProcedureClient<Record<never, never>, import("zod").ZodObject<{
119
- agent_id: import("zod").ZodCoercedNumber<unknown>;
120
- include: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<{
121
- knowledge: "knowledge";
122
- simulations: "simulations";
123
- }>>>;
124
- }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
125
- id: import("zod").ZodOptional<import("zod").ZodNumber>;
126
- created_at: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
127
- updated_at: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
128
- workspace_id: import("zod").ZodNumber;
129
- user_id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
130
- application_id: import("zod").ZodNumber;
131
- agent_name: import("zod").ZodString;
132
- agent_type: import("zod").ZodEnum<{
133
- human: "human";
134
- ai: "ai";
135
- }>;
136
- agent_voice: import("zod").ZodEnum<{
137
- male: "male";
138
- female: "female";
139
- }>;
140
- agent_description: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
141
- instructions: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
142
- image_url: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
143
- graph_index_id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
144
- status: import("zod").ZodEnum<{
145
- active: "active";
146
- error: "error";
147
- learning: "learning";
148
- }>;
149
- status_message: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
150
- learning_progress: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
151
- graph_index_created: import("zod").ZodNullable<import("zod").ZodBoolean>;
152
- }, import("zod/v4/core").$strip>>>;
153
- learning_started_at: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodCoercedDate<unknown>>>;
154
- workspace: import("zod").ZodOptional<import("zod").ZodObject<{
155
- id: import("zod").ZodOptional<import("zod").ZodNumber>;
156
- created_at: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
157
- updated_at: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
158
- name: import("zod").ZodString;
159
- slug: import("zod").ZodString;
160
- status: import("zod").ZodEnum<{
161
- created: "created";
162
- active: "active";
163
- suspended: "suspended";
164
- pending_approval: "pending_approval";
165
- }>;
166
- package: import("zod").ZodEnum<{
167
- free: "free";
168
- startup: "startup";
169
- growth: "growth";
170
- enterprise: "enterprise";
171
- }>;
172
- ending_date: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodCoercedDate<unknown>>>;
173
- external_workspace_id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
174
- slack_webhook_configured: import("zod").ZodOptional<import("zod").ZodBoolean>;
175
- notify_all_members_on_question: import("zod").ZodOptional<import("zod").ZodBoolean>;
176
- }, import("zod/v4/core").$strip>>;
177
- user: import("zod").ZodOptional<import("zod").ZodObject<{
178
- id: import("zod").ZodOptional<import("zod").ZodNumber>;
179
- created_at: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
180
- updated_at: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
181
- is_super: import("zod").ZodBoolean;
182
- status: import("zod").ZodEnum<{
183
- created: "created";
184
- active: "active";
185
- suspended: "suspended";
186
- pending_approval: "pending_approval";
187
- }>;
188
- email: import("zod").ZodString;
189
- external_id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
190
- first_name: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
191
- last_name: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
192
- password: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
193
- image_url: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
194
- prompt_limit: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
195
- last_login_at: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodCoercedDate<unknown>>>;
196
- auth_method: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<{
197
- password: "password";
198
- oauth: "oauth";
199
- }>>>;
200
- }, import("zod/v4/core").$strip>>;
201
- knowledge: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
202
- id: import("zod").ZodOptional<import("zod").ZodNumber>;
203
- created_at: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
204
- updated_at: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
205
- workspace_id: import("zod").ZodNumber;
206
- application_id: import("zod").ZodOptional<import("zod").ZodNumber>;
207
- file_name: import("zod").ZodString;
208
- file_size: import("zod").ZodCoercedNumber<unknown>;
209
- file_type: import("zod").ZodEnum<{
210
- document: "document";
211
- video: "video";
212
- }>;
213
- file_url: import("zod").ZodString;
214
- source_url: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
215
- source: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodEnum<{
216
- user: "user";
217
- research: "research";
218
- }>>>;
219
- agents: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
220
- id: import("zod").ZodNumber;
221
- agent_name: import("zod").ZodString;
222
- image_url: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
223
- }, import("zod/v4/core").$strip>>>;
224
- }, import("zod/v4/core").$strip>>>;
225
- simulations: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
226
- id: import("zod").ZodOptional<import("zod").ZodNumber>;
227
- created_at: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
228
- updated_at: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
229
- application_id: import("zod").ZodNumber;
230
- agent_id: import("zod").ZodNumber;
231
- job_id: import("zod").ZodString;
232
- browser_session_id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
233
- status: import("zod").ZodEnum<{
234
- completed: "completed";
235
- failed: "failed";
236
- queued: "queued";
237
- running: "running";
238
- creating_knowledge: "creating_knowledge";
239
- has_question: "has_question";
240
- stopped: "stopped";
241
- }>;
242
- status_message: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
243
- path: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
244
- instructions: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
245
- pinned: import("zod").ZodOptional<import("zod").ZodBoolean>;
246
- source: import("zod").ZodOptional<import("zod").ZodEnum<{
247
- direct: "direct";
248
- qa: "qa";
249
- }>>;
250
- agent_name: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
251
- graph_index_id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
252
- source_metadata: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
253
- tasks: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
254
- task_id: import("zod").ZodString;
255
- title: import("zod").ZodString;
256
- instructions: import("zod").ZodString;
257
- status: import("zod").ZodEnum<{
258
- pending: "pending";
259
- failed: "failed";
260
- running: "running";
261
- has_question: "has_question";
262
- stopped: "stopped";
263
- passed: "passed";
264
- skipped: "skipped";
265
- }>;
266
- error_message: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
267
- started_at: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
268
- completed_at: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
269
- order_index: import("zod").ZodDefault<import("zod").ZodNumber>;
270
- tab_id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
271
- step_count: import("zod").ZodDefault<import("zod").ZodNumber>;
272
- blocked_by: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
273
- task_id: import("zod").ZodString;
274
- condition: import("zod").ZodOptional<import("zod").ZodEnum<{
275
- pass: "pass";
276
- }>>;
277
- }, import("zod/v4/core").$strip>>>;
278
- }, import("zod/v4/core").$strip>>>;
279
- agents: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
280
- id: import("zod").ZodNumber;
281
- agent_name: import("zod").ZodString;
282
- image_url: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
283
- }, import("zod/v4/core").$strip>>>;
284
- mindmap_status: import("zod").ZodOptional<import("zod").ZodEnum<{
285
- pending: "pending";
286
- completed: "completed";
287
- failed: "failed";
288
- generating: "generating";
289
- }>>;
290
- mindmap_steps_processed: import("zod").ZodOptional<import("zod").ZodNumber>;
291
- mindmap_steps_total: import("zod").ZodOptional<import("zod").ZodNumber>;
292
- mindmap_error: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
293
- created_by_user_id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
294
- persona_id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
295
- has_question: import("zod").ZodOptional<import("zod").ZodBoolean>;
296
- }, import("zod/v4/core").$strip>>>;
297
- simulation_count: import("zod").ZodOptional<import("zod").ZodNumber>;
298
- knowledge_count: import("zod").ZodOptional<import("zod").ZodNumber>;
299
- }, import("zod/v4/core").$strip>, Record<never, never>>;
300
112
  applicationGet: import("@orpc/contract").ContractProcedureClient<Record<never, never>, import("zod").ZodObject<{
301
113
  application_id: import("zod").ZodCoercedNumber<unknown>;
302
114
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
@@ -318,7 +130,6 @@ export declare const sdk: {
318
130
  created_at: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
319
131
  updated_at: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
320
132
  application_id: import("zod").ZodNumber;
321
- agent_id: import("zod").ZodNumber;
322
133
  type: import("zod").ZodEnum<{
323
134
  widget: "widget";
324
135
  }>;
@@ -439,9 +250,6 @@ export declare const sdk: {
439
250
  application_id: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
440
251
  marketrix_id: import("zod").ZodOptional<import("zod").ZodString>;
441
252
  marketrix_key: import("zod").ZodOptional<import("zod").ZodString>;
442
- include: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<{
443
- agent: "agent";
444
- }>>>;
445
253
  limit: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>>;
446
254
  offset: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>>;
447
255
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
@@ -450,7 +258,6 @@ export declare const sdk: {
450
258
  created_at: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
451
259
  updated_at: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
452
260
  application_id: import("zod").ZodNumber;
453
- agent_id: import("zod").ZodNumber;
454
261
  type: import("zod").ZodEnum<{
455
262
  widget: "widget";
456
263
  }>;
@@ -510,182 +317,6 @@ export declare const sdk: {
510
317
  marketrix_id: import("zod").ZodString;
511
318
  marketrix_key: import("zod").ZodString;
512
319
  snippet: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
513
- agent: import("zod").ZodOptional<import("zod").ZodObject<{
514
- id: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNumber>>;
515
- created_at: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>>;
516
- updated_at: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>>;
517
- workspace_id: import("zod").ZodOptional<import("zod").ZodNumber>;
518
- user_id: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>>;
519
- application_id: import("zod").ZodOptional<import("zod").ZodNumber>;
520
- agent_name: import("zod").ZodOptional<import("zod").ZodString>;
521
- agent_type: import("zod").ZodOptional<import("zod").ZodEnum<{
522
- human: "human";
523
- ai: "ai";
524
- }>>;
525
- agent_voice: import("zod").ZodOptional<import("zod").ZodEnum<{
526
- male: "male";
527
- female: "female";
528
- }>>;
529
- agent_description: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>;
530
- instructions: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>;
531
- image_url: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>;
532
- graph_index_id: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>;
533
- status: import("zod").ZodOptional<import("zod").ZodEnum<{
534
- active: "active";
535
- error: "error";
536
- learning: "learning";
537
- }>>;
538
- status_message: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>;
539
- learning_progress: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
540
- graph_index_created: import("zod").ZodNullable<import("zod").ZodBoolean>;
541
- }, import("zod/v4/core").$strip>>>>;
542
- learning_started_at: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodCoercedDate<unknown>>>>;
543
- workspace: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodObject<{
544
- id: import("zod").ZodOptional<import("zod").ZodNumber>;
545
- created_at: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
546
- updated_at: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
547
- name: import("zod").ZodString;
548
- slug: import("zod").ZodString;
549
- status: import("zod").ZodEnum<{
550
- created: "created";
551
- active: "active";
552
- suspended: "suspended";
553
- pending_approval: "pending_approval";
554
- }>;
555
- package: import("zod").ZodEnum<{
556
- free: "free";
557
- startup: "startup";
558
- growth: "growth";
559
- enterprise: "enterprise";
560
- }>;
561
- ending_date: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodCoercedDate<unknown>>>;
562
- external_workspace_id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
563
- slack_webhook_configured: import("zod").ZodOptional<import("zod").ZodBoolean>;
564
- notify_all_members_on_question: import("zod").ZodOptional<import("zod").ZodBoolean>;
565
- }, import("zod/v4/core").$strip>>>;
566
- user: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodObject<{
567
- id: import("zod").ZodOptional<import("zod").ZodNumber>;
568
- created_at: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
569
- updated_at: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
570
- is_super: import("zod").ZodBoolean;
571
- status: import("zod").ZodEnum<{
572
- created: "created";
573
- active: "active";
574
- suspended: "suspended";
575
- pending_approval: "pending_approval";
576
- }>;
577
- email: import("zod").ZodString;
578
- external_id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
579
- first_name: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
580
- last_name: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
581
- password: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
582
- image_url: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
583
- prompt_limit: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
584
- last_login_at: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodCoercedDate<unknown>>>;
585
- auth_method: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<{
586
- password: "password";
587
- oauth: "oauth";
588
- }>>>;
589
- }, import("zod/v4/core").$strip>>>;
590
- knowledge: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
591
- id: import("zod").ZodOptional<import("zod").ZodNumber>;
592
- created_at: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
593
- updated_at: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
594
- workspace_id: import("zod").ZodNumber;
595
- application_id: import("zod").ZodOptional<import("zod").ZodNumber>;
596
- file_name: import("zod").ZodString;
597
- file_size: import("zod").ZodCoercedNumber<unknown>;
598
- file_type: import("zod").ZodEnum<{
599
- document: "document";
600
- video: "video";
601
- }>;
602
- file_url: import("zod").ZodString;
603
- source_url: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
604
- source: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodEnum<{
605
- user: "user";
606
- research: "research";
607
- }>>>;
608
- agents: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
609
- id: import("zod").ZodNumber;
610
- agent_name: import("zod").ZodString;
611
- image_url: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
612
- }, import("zod/v4/core").$strip>>>;
613
- }, import("zod/v4/core").$strip>>>>;
614
- simulations: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
615
- id: import("zod").ZodOptional<import("zod").ZodNumber>;
616
- created_at: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
617
- updated_at: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
618
- application_id: import("zod").ZodNumber;
619
- agent_id: import("zod").ZodNumber;
620
- job_id: import("zod").ZodString;
621
- browser_session_id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
622
- status: import("zod").ZodEnum<{
623
- completed: "completed";
624
- failed: "failed";
625
- queued: "queued";
626
- running: "running";
627
- creating_knowledge: "creating_knowledge";
628
- has_question: "has_question";
629
- stopped: "stopped";
630
- }>;
631
- status_message: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
632
- path: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
633
- instructions: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
634
- pinned: import("zod").ZodOptional<import("zod").ZodBoolean>;
635
- source: import("zod").ZodOptional<import("zod").ZodEnum<{
636
- direct: "direct";
637
- qa: "qa";
638
- }>>;
639
- agent_name: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
640
- graph_index_id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
641
- source_metadata: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
642
- tasks: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
643
- task_id: import("zod").ZodString;
644
- title: import("zod").ZodString;
645
- instructions: import("zod").ZodString;
646
- status: import("zod").ZodEnum<{
647
- pending: "pending";
648
- failed: "failed";
649
- running: "running";
650
- has_question: "has_question";
651
- stopped: "stopped";
652
- passed: "passed";
653
- skipped: "skipped";
654
- }>;
655
- error_message: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
656
- started_at: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
657
- completed_at: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
658
- order_index: import("zod").ZodDefault<import("zod").ZodNumber>;
659
- tab_id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
660
- step_count: import("zod").ZodDefault<import("zod").ZodNumber>;
661
- blocked_by: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
662
- task_id: import("zod").ZodString;
663
- condition: import("zod").ZodOptional<import("zod").ZodEnum<{
664
- pass: "pass";
665
- }>>;
666
- }, import("zod/v4/core").$strip>>>;
667
- }, import("zod/v4/core").$strip>>>;
668
- agents: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
669
- id: import("zod").ZodNumber;
670
- agent_name: import("zod").ZodString;
671
- image_url: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
672
- }, import("zod/v4/core").$strip>>>;
673
- mindmap_status: import("zod").ZodOptional<import("zod").ZodEnum<{
674
- pending: "pending";
675
- completed: "completed";
676
- failed: "failed";
677
- generating: "generating";
678
- }>>;
679
- mindmap_steps_processed: import("zod").ZodOptional<import("zod").ZodNumber>;
680
- mindmap_steps_total: import("zod").ZodOptional<import("zod").ZodNumber>;
681
- mindmap_error: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
682
- created_by_user_id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
683
- persona_id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
684
- has_question: import("zod").ZodOptional<import("zod").ZodBoolean>;
685
- }, import("zod/v4/core").$strip>>>>;
686
- simulation_count: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNumber>>;
687
- knowledge_count: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNumber>>;
688
- }, import("zod/v4/core").$strip>>;
689
320
  }, import("zod/v4/core").$strip>>;
690
321
  total: import("zod").ZodNumber;
691
322
  limit: import("zod").ZodNumber;
@@ -742,7 +373,6 @@ export declare const sdk: {
742
373
  tab_id: import("zod").ZodOptional<import("zod").ZodString>;
743
374
  marketrix_id: import("zod").ZodOptional<import("zod").ZodString>;
744
375
  marketrix_key: import("zod").ZodOptional<import("zod").ZodString>;
745
- agent_id: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
746
376
  application_id: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
747
377
  }, import("zod/v4/core").$strip>, import("@orpc/contract").Schema<AsyncIteratorObject<{
748
378
  type: "registered";
@@ -815,7 +445,6 @@ export declare const sdk: {
815
445
  };
816
446
  export { WidgetSettingsDataSchema } from './contracts/entities';
817
447
  export { WidgetEventSchema } from './contracts/widget';
818
- export type { AgentData, ApplicationData, InstructionType, UserData, WidgetChip, WidgetData, WidgetSettingsData, WorkspaceData, } from './contracts/entities';
448
+ export type { ApplicationData, InstructionType, UserData, WidgetChip, WidgetData, WidgetSettingsData, WorkspaceData, } from './contracts/entities';
819
449
  export type { WidgetCommand, WidgetEvent, WidgetSettingsKey } from './contracts/widget';
820
450
  export type { widgetContract } from './contract';
821
- //# sourceMappingURL=index.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import type { MarketrixConfig, SendMessageRequest, SendMessageResponse } from '../types';
2
- export declare class MarketrixApiService {
2
+ export declare class ApiService {
3
3
  private config;
4
4
  constructor(config: MarketrixConfig);
5
5
  /**
@@ -24,5 +24,3 @@ export declare class MarketrixApiService {
24
24
  */
25
25
  updateConfig(newConfig: Partial<MarketrixConfig>): void;
26
26
  }
27
- export default MarketrixApiService;
28
- //# sourceMappingURL=ApiService.d.ts.map
@@ -1,4 +1,4 @@
1
- import type { ChatMessage, InstructionType, TaskProgress } from '../types';
1
+ import type { ChatMessage, InstructionType } from '../types';
2
2
  /**
3
3
  * Snapshot of widget state persisted to / restored from localStorage.
4
4
  * React context is the single source of truth at runtime — this is the
@@ -8,7 +8,6 @@ export interface ChatSnapshot {
8
8
  messages: ChatMessage[];
9
9
  isTaskRunning: boolean;
10
10
  activeTaskId: string | null;
11
- taskProgress: TaskProgress[];
12
11
  currentMode: InstructionType;
13
12
  isOpen: boolean;
14
13
  isMinimized: boolean;
@@ -17,9 +16,8 @@ export interface ChatSnapshot {
17
16
  /**
18
17
  * ChatService — thin persistence layer.
19
18
  *
20
- * Owns only the localStorage read/write lifecycle for the widget chat context.
21
- * It no longer mirrors runtime state; contexts call `persist(snapshot)` from a
22
- * single effect and `restore()` once on mount.
19
+ * Owns only the localStorage read/write lifecycle for the widget chat context:
20
+ * contexts call `persist(snapshot)` from a single effect and `restore()` once on mount.
23
21
  */
24
22
  export declare class ChatService {
25
23
  private static instance;
@@ -42,4 +40,3 @@ export declare function createSystemMessage(content: string, mode?: InstructionT
42
40
  export declare function createScreenAccessRequestMessage(mode?: InstructionType): ChatMessage;
43
41
  export declare function createStartedScreenshareMessage(mode?: InstructionType): ChatMessage;
44
42
  export declare function createScreenshareMessage(stream: MediaStream, mode?: InstructionType): ChatMessage;
45
- //# sourceMappingURL=ChatService.d.ts.map
@@ -18,4 +18,3 @@ export declare const configManager: ConfigManager;
18
18
  * API settings (which include defaults) override base config.
19
19
  */
20
20
  export declare function createConfigFromSettings(widgetSettings: WidgetSettingsData, baseConfig?: Partial<MarketrixConfig>): MarketrixConfig;
21
- //# sourceMappingURL=ConfigManager.d.ts.map
@@ -33,17 +33,16 @@ export interface ElementLookupResult {
33
33
  export interface ValidatedElementResult extends ElementLookupResult {
34
34
  validation: ValidationResult;
35
35
  }
36
- export declare class DOMService {
36
+ export declare class DomService {
37
37
  private static instance;
38
38
  private elementMap;
39
39
  private elementToSequence;
40
40
  private selectorMap;
41
41
  private fingerprintMap;
42
- private isIndexed;
43
42
  private indexingInProgress;
44
43
  private indexVersion;
45
44
  private constructor();
46
- static getInstance(): DOMService;
45
+ static getInstance(): DomService;
47
46
  /**
48
47
  * Generate a unique CSS selector for an element
49
48
  */
@@ -62,20 +61,6 @@ export declare class DOMService {
62
61
  * No recovery - just check if element exists and matches.
63
62
  */
64
63
  private validateElementAtIndex;
65
- /**
66
- * Export state for external persistence (selectors and fingerprints)
67
- */
68
- exportState(): {
69
- selectors: Array<[number, string]>;
70
- fingerprints: Array<[number, ElementFingerprint]>;
71
- };
72
- /**
73
- * Import state from external persistence (selectors and fingerprints)
74
- */
75
- importState(state: {
76
- selectors?: Array<[number, string]>;
77
- fingerprints?: Array<[number, ElementFingerprint]>;
78
- }): void;
79
64
  /**
80
65
  * Index all interactable elements in the live DOM.
81
66
  * Always clears previous index first.
@@ -116,9 +101,7 @@ export declare class DOMService {
116
101
  };
117
102
  cssClasses: string[];
118
103
  }>;
119
- getElementByDataId(id: number): Element | undefined;
120
104
  getSequenceForElement(element: Element): number | undefined;
121
- isIndexActive(): boolean;
122
105
  clearIndex(): void;
123
106
  /**
124
107
  * Check if an element is interactable (visible, not hidden, not obscured).
@@ -141,18 +124,5 @@ export declare class DOMService {
141
124
  * Returns element only if it's interactable.
142
125
  */
143
126
  getValidatedElement(index: number): ValidatedElementResult;
144
- /**
145
- * Get fingerprint for a given index (for debugging/testing)
146
- */
147
- getFingerprint(index: number): ElementFingerprint | undefined;
148
- /**
149
- * Get all fingerprints (for debugging/testing)
150
- */
151
- getAllFingerprints(): Array<[number, ElementFingerprint]>;
152
- /**
153
- * Get current index version
154
- */
155
- getIndexVersion(): number;
156
127
  }
157
- export declare const domService: DOMService;
158
- //# sourceMappingURL=DomService.d.ts.map
128
+ export declare const domService: DomService;
@@ -8,11 +8,6 @@
8
8
  * @returns Promise resolving to the MediaStream
9
9
  */
10
10
  export declare function startScreenShare(): Promise<MediaStream>;
11
- /**
12
- * Get the current active MediaStream, if any.
13
- * @returns The active MediaStream or null
14
- */
15
- export declare function getActiveStream(): MediaStream | null;
16
11
  /**
17
12
  * Stop screen sharing and clear the stream reference.
18
13
  */
@@ -22,4 +17,3 @@ export declare function stopScreenShare(): void;
22
17
  * @returns True if screensharing is active, false otherwise
23
18
  */
24
19
  export declare function isScreenSharing(): boolean;
25
- //# sourceMappingURL=ScreenShareService.d.ts.map
@@ -31,4 +31,3 @@ declare class SessionManager {
31
31
  }
32
32
  export declare const sessionManager: SessionManager;
33
33
  export {};
34
- //# sourceMappingURL=SessionManager.d.ts.map
@@ -57,4 +57,3 @@ export declare class SessionRecorder {
57
57
  */
58
58
  isActive(): boolean;
59
59
  }
60
- //# sourceMappingURL=SessionRecorder.d.ts.map
@@ -35,4 +35,3 @@ export declare class ShowModeService {
35
35
  private escapeHtml;
36
36
  }
37
37
  export declare const showModeService: ShowModeService;
38
- //# sourceMappingURL=ShowModeService.d.ts.map
@@ -15,7 +15,7 @@
15
15
  * widget owns the read/write lifecycle, and the dashboard only ever reads
16
16
  * the same shape for parity.
17
17
  */
18
- import type { ChatMessage, InstructionType, MarketrixConfig, TaskProgress } from '../types';
18
+ import type { ChatMessage, InstructionType, MarketrixConfig } from '../types';
19
19
  /**
20
20
  * Serializable version of ChatMessage (timestamp as string, no videoStream)
21
21
  */
@@ -30,7 +30,6 @@ export interface MarketrixChatContext {
30
30
  messages: StoredMessage[];
31
31
  isTaskRunning: boolean;
32
32
  activeTaskId: string | null;
33
- taskProgress: TaskProgress[];
34
33
  currentMode: InstructionType;
35
34
  isOpen: boolean;
36
35
  isMinimized: boolean;
@@ -81,8 +80,8 @@ declare class StorageService {
81
80
  setChatId(chatId: string | null): void;
82
81
  getMessages(): StoredMessage[];
83
82
  setMessages(messages: StoredMessage[]): void;
84
- getChatState(): Pick<MarketrixChatContext, 'isTaskRunning' | 'activeTaskId' | 'taskProgress' | 'currentMode' | 'isOpen' | 'isMinimized' | 'isLoading'>;
85
- setChatState(state: Partial<Pick<MarketrixChatContext, 'isTaskRunning' | 'activeTaskId' | 'taskProgress' | 'currentMode' | 'isOpen' | 'isMinimized' | 'isLoading'>>): void;
83
+ getChatState(): Pick<MarketrixChatContext, 'isTaskRunning' | 'activeTaskId' | 'currentMode' | 'isOpen' | 'isMinimized' | 'isLoading'>;
84
+ setChatState(state: Partial<Pick<MarketrixChatContext, 'isTaskRunning' | 'activeTaskId' | 'currentMode' | 'isOpen' | 'isMinimized' | 'isLoading'>>): void;
86
85
  getConfig(): MarketrixConfig | null;
87
86
  setConfig(config: MarketrixConfig | null): void;
88
87
  clear(): void;
@@ -93,4 +92,3 @@ declare class StorageService {
93
92
  }
94
93
  export declare const storageService: StorageService;
95
94
  export {};
96
- //# sourceMappingURL=StorageService.d.ts.map
@@ -29,7 +29,6 @@ export declare class StreamClient {
29
29
  connect(chatId: string, config?: {
30
30
  mtxId?: string;
31
31
  mtxKey?: string;
32
- mtxAgent?: number;
33
32
  mtxApp?: number;
34
33
  }): Promise<void>;
35
34
  private consumeEvents;
@@ -41,4 +40,3 @@ export declare class StreamClient {
41
40
  private scheduleReconnect;
42
41
  private clearReconnectTimer;
43
42
  }
44
- //# sourceMappingURL=StreamClient.d.ts.map