@marketrix.ai/widget 4.0.119 → 4.0.121

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.
@@ -17,6 +17,11 @@
17
17
  * give-up no id-bearing event is coming, and `reduceStaleReply` covers a HEALTHY stream whose one reply
18
18
  * never arrives and nothing else can see (a `waiting-for-user` pause is not stale). `reduceSse` switches:
19
19
  * `chat/delta` accumulates, `chat/response` replaces, `tool/call` ACTIVATES the task before `task/status`.
20
+ *
21
+ * `reduceText` drops an EXACT repeat of the last closed text part (same content, not mid-stream): a
22
+ * message can legitimately carry several text segments over its life — a status line, then the final
23
+ * answer — so a new segment always appends; only a byte-for-byte retransmission of the segment just
24
+ * closed is noise, which is what a duplicated `chat/response` looks like.
20
25
  */
21
26
  import type { WidgetEvent } from '../sdk';
22
27
  import { type ChatMessage, type InstructionType } from '../types';
@@ -111,6 +111,7 @@ export declare const WorkspaceEntitySchema: z.ZodObject<{
111
111
  enterprise: "enterprise";
112
112
  }>;
113
113
  ending_date: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
114
+ days_remaining: z.ZodNullable<z.ZodNumber>;
114
115
  external_workspace_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
115
116
  slack_webhook_configured: z.ZodBoolean;
116
117
  notify_all_members_on_question: z.ZodBoolean;
@@ -129,6 +130,7 @@ export declare const WorkspaceSummarySchema: z.ZodObject<{
129
130
  enterprise: "enterprise";
130
131
  }>;
131
132
  ending_date: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
133
+ days_remaining: z.ZodNullable<z.ZodNumber>;
132
134
  slack_webhook_configured: z.ZodBoolean;
133
135
  notify_all_members_on_question: z.ZodBoolean;
134
136
  }, z.core.$strip>;
@@ -32,7 +32,7 @@ export type ToolExecutionResult<T = TextData> = {
32
32
  afterResponseAttempt?: () => void;
33
33
  } | ToolFailure;
34
34
  export declare const FINISH_TOOL = "finish";
35
- export declare class BrowserToolService {
35
+ declare class BrowserToolService {
36
36
  private readonly tools;
37
37
  private element;
38
38
  private selectElement;