@marketrix.ai/widget 3.8.10 → 3.8.40
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.
- package/README.md +158 -169
- package/dist/src/components/MarketrixWidget.d.ts +0 -1
- package/dist/src/components/base/Avatar.d.ts +0 -1
- package/dist/src/components/base/Badge.d.ts +0 -1
- package/dist/src/components/base/Button.d.ts +0 -1
- package/dist/src/components/base/Card.d.ts +0 -1
- package/dist/src/components/base/Dialog.d.ts +6 -7
- package/dist/src/components/base/Flex.d.ts +0 -1
- package/dist/src/components/base/Icon.d.ts +0 -1
- package/dist/src/components/base/IconButton.d.ts +0 -1
- package/dist/src/components/base/Indicator.d.ts +0 -1
- package/dist/src/components/base/Menu.d.ts +4 -5
- package/dist/src/components/base/Pill.d.ts +0 -1
- package/dist/src/components/base/Spinner.d.ts +0 -1
- package/dist/src/components/base/Stack.d.ts +0 -1
- package/dist/src/components/base/Surface.d.ts +0 -1
- package/dist/src/components/base/Text.d.ts +0 -1
- package/dist/src/components/base/Textarea.d.ts +0 -1
- package/dist/src/components/base/Video.d.ts +0 -1
- package/dist/src/components/base/icons.d.ts +0 -1
- package/dist/src/components/base/layoutProps.d.ts +0 -1
- package/dist/src/components/base/tokens.d.ts +0 -1
- package/dist/src/components/base/useDisclosure.d.ts +0 -1
- package/dist/src/components/blocks/ChatInput.d.ts +0 -1
- package/dist/src/components/blocks/HeaderBar.d.ts +0 -1
- package/dist/src/components/blocks/NotificationToast.d.ts +0 -1
- package/dist/src/components/blocks/TabBar.d.ts +1 -2
- package/dist/src/components/blocks/WidgetDialog.d.ts +0 -1
- package/dist/src/components/blocks/WidgetFab.d.ts +0 -1
- package/dist/src/components/chat/MessageContent.d.ts +0 -1
- package/dist/src/components/chat/MessageItem.d.ts +0 -1
- package/dist/src/components/chat/MessageList.d.ts +1 -2
- package/dist/src/components/chat/ProgressLine.d.ts +0 -1
- package/dist/src/components/chat/SuggestedActions.d.ts +0 -1
- package/dist/src/components/chat/TaskStatusIcon.d.ts +0 -1
- package/dist/src/components/chat/ThinkingIndicator.d.ts +0 -1
- package/dist/src/components/chat/VideoStreamDisplay.d.ts +0 -1
- package/dist/src/components/navigation/MessengerShell.d.ts +0 -1
- package/dist/src/components/navigation/ResizeHandles.d.ts +0 -1
- package/dist/src/components/navigation/ShellTabBar.d.ts +0 -1
- package/dist/src/components/navigation/ViewTransition.d.ts +0 -1
- package/dist/src/components/ui/StateMessage.d.ts +0 -1
- package/dist/src/components/ui/WidgetSettingsLoader.d.ts +1 -2
- package/dist/src/components/views/ChatView.d.ts +0 -1
- package/dist/src/components/views/HomeView.d.ts +0 -1
- package/dist/src/constants/config.d.ts +0 -1
- package/dist/src/constants/theme.d.ts +0 -1
- package/dist/src/context/ChatContext.d.ts +0 -1
- package/dist/src/context/TaskContext.d.ts +0 -1
- package/dist/src/context/UIStateContext.d.ts +0 -1
- package/dist/src/context/WidgetProviders.d.ts +0 -1
- package/dist/src/context/sseReducer.d.ts +0 -1
- package/dist/src/design-system/component-tokens.d.ts +0 -1
- package/dist/src/design-system/layers.d.ts +0 -1
- package/dist/src/design-system/semantic-tokens.d.ts +0 -1
- package/dist/src/design-system/shadows.d.ts +0 -1
- package/dist/src/design-system/token-adapter.d.ts +0 -1
- package/dist/src/hooks/useDragSnap.d.ts +0 -1
- package/dist/src/hooks/useFocusTrap.d.ts +0 -1
- package/dist/src/hooks/useResize.d.ts +0 -1
- package/dist/src/hooks/useScreenShare.d.ts +0 -1
- package/dist/src/hooks/useScrollLock.d.ts +0 -1
- package/dist/src/hooks/useWidget.d.ts +0 -1
- package/dist/src/index.d.ts +0 -1
- package/dist/src/lib/utils.d.ts +0 -1
- package/dist/src/sdk/contract.d.ts +0 -371
- package/dist/src/sdk/contracts/activityLog.d.ts +0 -25
- package/dist/src/sdk/contracts/application.d.ts +54 -5
- package/dist/src/sdk/contracts/chat.d.ts +0 -1
- package/dist/src/sdk/contracts/common.d.ts +10 -14
- package/dist/src/sdk/contracts/entities.d.ts +12 -271
- package/dist/src/sdk/contracts/widget.d.ts +0 -973
- package/dist/src/sdk/index.d.ts +1 -372
- package/dist/src/services/ApiService.d.ts +1 -3
- package/dist/src/services/ChatService.d.ts +2 -4
- package/dist/src/services/ConfigManager.d.ts +0 -1
- package/dist/src/services/DomService.d.ts +3 -4
- package/dist/src/services/ScreenShareService.d.ts +0 -6
- package/dist/src/services/SessionManager.d.ts +0 -1
- package/dist/src/services/SessionRecorder.d.ts +0 -1
- package/dist/src/services/ShowModeService.d.ts +0 -1
- package/dist/src/services/StorageService.d.ts +0 -1
- package/dist/src/services/StreamClient.d.ts +0 -2
- package/dist/src/services/ToolService.d.ts +3 -4
- package/dist/src/services/ValidationService.d.ts +9 -12
- package/dist/src/services/WidgetService.d.ts +0 -2
- package/dist/src/test/a11y-utils.d.ts +0 -1
- package/dist/src/test/fixtures.d.ts +0 -1
- package/dist/src/test/setup.d.ts +0 -1
- package/dist/src/types/browserTools.d.ts +0 -7
- package/dist/src/types/index.d.ts +3 -10
- package/dist/src/utils/apiUtils.d.ts +0 -1
- package/dist/src/utils/bootstrap.d.ts +0 -1
- package/dist/src/utils/chat.d.ts +0 -11
- package/dist/src/utils/common.d.ts +0 -1
- package/dist/src/utils/dom.d.ts +0 -6
- package/dist/src/utils/format.d.ts +0 -1
- package/dist/src/utils/suggestedActions.d.ts +0 -1
- package/dist/src/utils/validation.d.ts +0 -5
- package/dist/src/utils/widgetPositioning.d.ts +0 -1
- package/dist/widget.mjs +65 -65
- package/dist/widget.mjs.map +1 -1
- package/package.json +12 -12
- package/dist/index.html +0 -1697
- package/dist/src/components/MarketrixWidget.d.ts.map +0 -1
- package/dist/src/components/base/Avatar.d.ts.map +0 -1
- package/dist/src/components/base/Badge.d.ts.map +0 -1
- package/dist/src/components/base/Button.d.ts.map +0 -1
- package/dist/src/components/base/Card.d.ts.map +0 -1
- package/dist/src/components/base/Dialog.d.ts.map +0 -1
- package/dist/src/components/base/Flex.d.ts.map +0 -1
- package/dist/src/components/base/Icon.d.ts.map +0 -1
- package/dist/src/components/base/IconButton.d.ts.map +0 -1
- package/dist/src/components/base/Indicator.d.ts.map +0 -1
- package/dist/src/components/base/Menu.d.ts.map +0 -1
- package/dist/src/components/base/Pill.d.ts.map +0 -1
- package/dist/src/components/base/Spinner.d.ts.map +0 -1
- package/dist/src/components/base/Stack.d.ts.map +0 -1
- package/dist/src/components/base/Surface.d.ts.map +0 -1
- package/dist/src/components/base/Text.d.ts.map +0 -1
- package/dist/src/components/base/Textarea.d.ts.map +0 -1
- package/dist/src/components/base/Video.d.ts.map +0 -1
- package/dist/src/components/base/icons.d.ts.map +0 -1
- package/dist/src/components/base/index.d.ts +0 -22
- package/dist/src/components/base/index.d.ts.map +0 -1
- package/dist/src/components/base/layoutProps.d.ts.map +0 -1
- package/dist/src/components/base/tokens.d.ts.map +0 -1
- package/dist/src/components/base/useDisclosure.d.ts.map +0 -1
- package/dist/src/components/blocks/ChatInput.d.ts.map +0 -1
- package/dist/src/components/blocks/HeaderBar.d.ts.map +0 -1
- package/dist/src/components/blocks/NotificationToast.d.ts.map +0 -1
- package/dist/src/components/blocks/TabBar.d.ts.map +0 -1
- package/dist/src/components/blocks/WidgetDialog.d.ts.map +0 -1
- package/dist/src/components/blocks/WidgetFab.d.ts.map +0 -1
- package/dist/src/components/blocks/index.d.ts +0 -7
- package/dist/src/components/blocks/index.d.ts.map +0 -1
- package/dist/src/components/chat/MessageContent.d.ts.map +0 -1
- package/dist/src/components/chat/MessageItem.d.ts.map +0 -1
- package/dist/src/components/chat/MessageList.d.ts.map +0 -1
- package/dist/src/components/chat/ProgressLine.d.ts.map +0 -1
- package/dist/src/components/chat/SuggestedActions.d.ts.map +0 -1
- package/dist/src/components/chat/TaskStatusIcon.d.ts.map +0 -1
- package/dist/src/components/chat/ThinkingIndicator.d.ts.map +0 -1
- package/dist/src/components/chat/VideoStreamDisplay.d.ts.map +0 -1
- package/dist/src/components/navigation/MessengerShell.d.ts.map +0 -1
- package/dist/src/components/navigation/ResizeHandles.d.ts.map +0 -1
- package/dist/src/components/navigation/ShellTabBar.d.ts.map +0 -1
- package/dist/src/components/navigation/ViewTransition.d.ts.map +0 -1
- package/dist/src/components/ui/StateMessage.d.ts.map +0 -1
- package/dist/src/components/ui/WidgetSettingsLoader.d.ts.map +0 -1
- package/dist/src/components/views/ChatView.d.ts.map +0 -1
- package/dist/src/components/views/HomeView.d.ts.map +0 -1
- package/dist/src/constants/config.d.ts.map +0 -1
- package/dist/src/constants/theme.d.ts.map +0 -1
- package/dist/src/context/ChatContext.d.ts.map +0 -1
- package/dist/src/context/TaskContext.d.ts.map +0 -1
- package/dist/src/context/UIStateContext.d.ts.map +0 -1
- package/dist/src/context/WidgetProviders.d.ts.map +0 -1
- package/dist/src/context/sseReducer.d.ts.map +0 -1
- package/dist/src/design-system/component-tokens.d.ts.map +0 -1
- package/dist/src/design-system/layers.d.ts.map +0 -1
- package/dist/src/design-system/semantic-tokens.d.ts.map +0 -1
- package/dist/src/design-system/shadows.d.ts.map +0 -1
- package/dist/src/design-system/themes/default.d.ts +0 -7
- package/dist/src/design-system/themes/default.d.ts.map +0 -1
- package/dist/src/design-system/themes/high-contrast.d.ts +0 -4
- package/dist/src/design-system/themes/high-contrast.d.ts.map +0 -1
- package/dist/src/design-system/themes/index.d.ts +0 -3
- package/dist/src/design-system/themes/index.d.ts.map +0 -1
- package/dist/src/design-system/token-adapter.d.ts.map +0 -1
- package/dist/src/hooks/useDragSnap.d.ts.map +0 -1
- package/dist/src/hooks/useFocusTrap.d.ts.map +0 -1
- package/dist/src/hooks/useResize.d.ts.map +0 -1
- package/dist/src/hooks/useScreenShare.d.ts.map +0 -1
- package/dist/src/hooks/useScrollLock.d.ts.map +0 -1
- package/dist/src/hooks/useWidget.d.ts.map +0 -1
- package/dist/src/index.d.ts.map +0 -1
- package/dist/src/lib/utils.d.ts.map +0 -1
- package/dist/src/sdk/contract.d.ts.map +0 -1
- package/dist/src/sdk/contracts/activityLog.d.ts.map +0 -1
- package/dist/src/sdk/contracts/agent.d.ts +0 -3243
- package/dist/src/sdk/contracts/agent.d.ts.map +0 -1
- package/dist/src/sdk/contracts/application.d.ts.map +0 -1
- package/dist/src/sdk/contracts/chat.d.ts.map +0 -1
- package/dist/src/sdk/contracts/common.d.ts.map +0 -1
- package/dist/src/sdk/contracts/entities.d.ts.map +0 -1
- package/dist/src/sdk/contracts/widget.d.ts.map +0 -1
- package/dist/src/sdk/index.d.ts.map +0 -1
- package/dist/src/services/ApiService.d.ts.map +0 -1
- package/dist/src/services/ChatService.d.ts.map +0 -1
- package/dist/src/services/ConfigManager.d.ts.map +0 -1
- package/dist/src/services/DomService.d.ts.map +0 -1
- package/dist/src/services/ScreenShareService.d.ts.map +0 -1
- package/dist/src/services/SessionManager.d.ts.map +0 -1
- package/dist/src/services/SessionRecorder.d.ts.map +0 -1
- package/dist/src/services/ShowModeService.d.ts.map +0 -1
- package/dist/src/services/StorageService.d.ts.map +0 -1
- package/dist/src/services/StreamClient.d.ts.map +0 -1
- package/dist/src/services/ToolService.d.ts.map +0 -1
- package/dist/src/services/ValidationService.d.ts.map +0 -1
- package/dist/src/services/WidgetService.d.ts.map +0 -1
- package/dist/src/test/a11y-utils.d.ts.map +0 -1
- package/dist/src/test/fixtures.d.ts.map +0 -1
- package/dist/src/test/setup.d.ts.map +0 -1
- package/dist/src/types/browserTools.d.ts.map +0 -1
- package/dist/src/types/index.d.ts.map +0 -1
- package/dist/src/utils/apiUtils.d.ts.map +0 -1
- package/dist/src/utils/bootstrap.d.ts.map +0 -1
- package/dist/src/utils/chat.d.ts.map +0 -1
- package/dist/src/utils/common.d.ts.map +0 -1
- package/dist/src/utils/dom.d.ts.map +0 -1
- package/dist/src/utils/format.d.ts.map +0 -1
- package/dist/src/utils/suggestedActions.d.ts.map +0 -1
- package/dist/src/utils/validation.d.ts.map +0 -1
- package/dist/src/utils/widgetPositioning.d.ts.map +0 -1
|
@@ -19,9 +19,6 @@ export declare const ByIdSchema: z.ZodObject<{
|
|
|
19
19
|
export declare const BySlugSchema: z.ZodObject<{
|
|
20
20
|
slug: z.ZodString;
|
|
21
21
|
}, z.core.$strip>;
|
|
22
|
-
export declare const ByAgentIdSchema: z.ZodObject<{
|
|
23
|
-
agent_id: z.ZodCoercedNumber<unknown>;
|
|
24
|
-
}, z.core.$strip>;
|
|
25
22
|
export declare const ByWidgetIdSchema: z.ZodObject<{
|
|
26
23
|
widget_id: z.ZodCoercedNumber<unknown>;
|
|
27
24
|
}, z.core.$strip>;
|
|
@@ -85,18 +82,18 @@ export type ToolCallRecord = z.infer<typeof ToolCallRecordSchema>;
|
|
|
85
82
|
*/
|
|
86
83
|
export declare const SlackWebhookUrlSchema: z.ZodString;
|
|
87
84
|
/**
|
|
88
|
-
*
|
|
85
|
+
* Graph edge schema - transition from one node to another via an action
|
|
89
86
|
*/
|
|
90
|
-
export declare const
|
|
87
|
+
export declare const GraphEdgeSchema: z.ZodObject<{
|
|
91
88
|
start: z.ZodString;
|
|
92
89
|
end: z.ZodString;
|
|
93
90
|
action: z.ZodString;
|
|
94
91
|
}, z.core.$loose>;
|
|
95
|
-
export type
|
|
92
|
+
export type GraphEdgeData = z.infer<typeof GraphEdgeSchema>;
|
|
96
93
|
/**
|
|
97
|
-
*
|
|
94
|
+
* Graph section schema - functional UI section within a page node
|
|
98
95
|
*/
|
|
99
|
-
export declare const
|
|
96
|
+
export declare const GraphSectionSchema: z.ZodObject<{
|
|
100
97
|
id: z.ZodString;
|
|
101
98
|
label: z.ZodString;
|
|
102
99
|
purpose: z.ZodString;
|
|
@@ -106,11 +103,11 @@ export declare const MindMapSectionSchema: z.ZodObject<{
|
|
|
106
103
|
embedding: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
|
|
107
104
|
}, z.core.$loose>;
|
|
108
105
|
/**
|
|
109
|
-
*
|
|
106
|
+
* Graph node schema - unique page state observed during simulation.
|
|
110
107
|
* Matches agent's PageNode model (perception/graph.py).
|
|
111
108
|
* Uses passthrough() because the agent model may evolve faster than the schema.
|
|
112
109
|
*/
|
|
113
|
-
export declare const
|
|
110
|
+
export declare const GraphNodeSchema: z.ZodObject<{
|
|
114
111
|
id: z.ZodString;
|
|
115
112
|
title: z.ZodString;
|
|
116
113
|
url: z.ZodString;
|
|
@@ -128,8 +125,8 @@ export declare const MindMapNodeSchema: z.ZodObject<{
|
|
|
128
125
|
sequence_ids: z.ZodDefault<z.ZodArray<z.ZodNumber>>;
|
|
129
126
|
embedding: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
|
|
130
127
|
}, z.core.$loose>;
|
|
131
|
-
export type
|
|
132
|
-
export declare const
|
|
128
|
+
export type GraphNodeData = z.infer<typeof GraphNodeSchema>;
|
|
129
|
+
export declare const GraphSchema: z.ZodObject<{
|
|
133
130
|
nodes: z.ZodArray<z.ZodObject<{
|
|
134
131
|
id: z.ZodString;
|
|
135
132
|
title: z.ZodString;
|
|
@@ -154,7 +151,7 @@ export declare const MindMapSchema: z.ZodObject<{
|
|
|
154
151
|
action: z.ZodString;
|
|
155
152
|
}, z.core.$loose>>;
|
|
156
153
|
}, z.core.$strip>;
|
|
157
|
-
export type
|
|
154
|
+
export type GraphData = z.infer<typeof GraphSchema>;
|
|
158
155
|
/**
|
|
159
156
|
* Skill invocation request — used by SimulationCreateSchema to launch a
|
|
160
157
|
* simulation against a specific skill. Lives in common so simulation.ts
|
|
@@ -165,4 +162,3 @@ export declare const SkillInvocationRequestSchema: z.ZodObject<{
|
|
|
165
162
|
params: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
166
163
|
}, z.core.$strip>;
|
|
167
164
|
export type SkillInvocationRequest = z.infer<typeof SkillInvocationRequestSchema>;
|
|
168
|
-
//# sourceMappingURL=common.d.ts.map
|
|
@@ -6,25 +6,6 @@ export declare const WorkspacePackageSchema: z.ZodEnum<{
|
|
|
6
6
|
enterprise: "enterprise";
|
|
7
7
|
}>;
|
|
8
8
|
export type WorkspacePackage = z.infer<typeof WorkspacePackageSchema>;
|
|
9
|
-
export declare const AgentTypeSchema: z.ZodEnum<{
|
|
10
|
-
human: "human";
|
|
11
|
-
ai: "ai";
|
|
12
|
-
}>;
|
|
13
|
-
export type AgentType = z.infer<typeof AgentTypeSchema>;
|
|
14
|
-
export declare const AgentVoiceSchema: z.ZodEnum<{
|
|
15
|
-
male: "male";
|
|
16
|
-
female: "female";
|
|
17
|
-
}>;
|
|
18
|
-
export type AgentVoice = z.infer<typeof AgentVoiceSchema>;
|
|
19
|
-
export declare const AgentStatusSchema: z.ZodEnum<{
|
|
20
|
-
active: "active";
|
|
21
|
-
error: "error";
|
|
22
|
-
learning: "learning";
|
|
23
|
-
}>;
|
|
24
|
-
export type AgentStatus = z.infer<typeof AgentStatusSchema>;
|
|
25
|
-
export declare const LearningProgressSchema: z.ZodObject<{
|
|
26
|
-
graph_index_created: z.ZodNullable<z.ZodBoolean>;
|
|
27
|
-
}, z.core.$strip>;
|
|
28
9
|
export declare const KnowledgeTypeSchema: z.ZodEnum<{
|
|
29
10
|
document: "document";
|
|
30
11
|
video: "video";
|
|
@@ -42,12 +23,6 @@ export declare const QAFlowStatusSchema: z.ZodEnum<{
|
|
|
42
23
|
completed: "completed";
|
|
43
24
|
failed: "failed";
|
|
44
25
|
}>;
|
|
45
|
-
/**
|
|
46
|
-
* Simulation parent status — canonical wire vocabulary matching the
|
|
47
|
-
* `simulation_status` Postgres ENUM and the `SimulationStatus` proto enum.
|
|
48
|
-
* Wave-14 added `has_question` (parent reflects a task awaiting answer);
|
|
49
|
-
* V56 migration adds the corresponding PG enum value.
|
|
50
|
-
*/
|
|
51
26
|
export declare const SimulationStatusSchema: z.ZodEnum<{
|
|
52
27
|
completed: "completed";
|
|
53
28
|
failed: "failed";
|
|
@@ -59,34 +34,16 @@ export declare const SimulationStatusSchema: z.ZodEnum<{
|
|
|
59
34
|
}>;
|
|
60
35
|
export type SimulationStatus = z.infer<typeof SimulationStatusSchema>;
|
|
61
36
|
/**
|
|
62
|
-
*
|
|
63
|
-
* `
|
|
64
|
-
* `simulation/
|
|
37
|
+
* Graph generation lifecycle status on a simulation row. Values written by
|
|
38
|
+
* `graphDispatch.ts` and `simulationHooks.ts`; relayed on the
|
|
39
|
+
* `simulation/graph-updated` app event.
|
|
65
40
|
*/
|
|
66
|
-
export declare const
|
|
41
|
+
export declare const GraphStatusSchema: z.ZodEnum<{
|
|
67
42
|
pending: "pending";
|
|
68
43
|
completed: "completed";
|
|
69
44
|
failed: "failed";
|
|
70
45
|
generating: "generating";
|
|
71
46
|
}>;
|
|
72
|
-
/**
|
|
73
|
-
* Status carried on the `agent/updated` app event. The event has two emitter
|
|
74
|
-
* lineages: (1) `agentService` + `agentLearningHooks` emit an agent-entity
|
|
75
|
-
* status (`AgentStatusSchema`), and (2) the agentTask flow's `eventMapping`
|
|
76
|
-
* emits a task-status (`SimulationTaskStatusSchema`). The union captures both
|
|
77
|
-
* vocabularies so downstream consumers get exhaustiveness rather than `string`.
|
|
78
|
-
*/
|
|
79
|
-
export declare const AgentUpdatedStatusSchema: z.ZodEnum<{
|
|
80
|
-
active: "active";
|
|
81
|
-
error: "error";
|
|
82
|
-
learning: "learning";
|
|
83
|
-
completed: "completed";
|
|
84
|
-
failed: "failed";
|
|
85
|
-
queued: "queued";
|
|
86
|
-
running: "running";
|
|
87
|
-
has_question: "has_question";
|
|
88
|
-
stopped: "stopped";
|
|
89
|
-
}>;
|
|
90
47
|
export declare const ApplicationTypeSchema: z.ZodEnum<{
|
|
91
48
|
app: "app";
|
|
92
49
|
website: "website";
|
|
@@ -194,18 +151,6 @@ export declare const WorkspaceEntitySchema: z.ZodObject<{
|
|
|
194
151
|
notify_all_members_on_question: z.ZodOptional<z.ZodBoolean>;
|
|
195
152
|
}, z.core.$strip>;
|
|
196
153
|
export type WorkspaceData = z.infer<typeof WorkspaceEntitySchema>;
|
|
197
|
-
/**
|
|
198
|
-
* Lightweight agent badge for embedding in other entities
|
|
199
|
-
*/
|
|
200
|
-
export declare const AgentBadgeSchema: z.ZodObject<{
|
|
201
|
-
id: z.ZodNumber;
|
|
202
|
-
agent_name: z.ZodString;
|
|
203
|
-
image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
204
|
-
}, z.core.$strip>;
|
|
205
|
-
export type AgentBadgeData = z.infer<typeof AgentBadgeSchema>;
|
|
206
|
-
/**
|
|
207
|
-
* Knowledge base document schema
|
|
208
|
-
*/
|
|
209
154
|
export declare const KnowledgeEntitySchema: z.ZodObject<{
|
|
210
155
|
id: z.ZodOptional<z.ZodNumber>;
|
|
211
156
|
created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
@@ -224,11 +169,6 @@ export declare const KnowledgeEntitySchema: z.ZodObject<{
|
|
|
224
169
|
user: "user";
|
|
225
170
|
research: "research";
|
|
226
171
|
}>>>;
|
|
227
|
-
agents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
228
|
-
id: z.ZodNumber;
|
|
229
|
-
agent_name: z.ZodString;
|
|
230
|
-
image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
231
|
-
}, z.core.$strip>>>;
|
|
232
172
|
}, z.core.$strip>;
|
|
233
173
|
export type KnowledgeData = z.infer<typeof KnowledgeEntitySchema>;
|
|
234
174
|
/**
|
|
@@ -241,7 +181,7 @@ export declare const QAVerdictSchema: z.ZodEnum<{
|
|
|
241
181
|
needs_healing: "needs_healing";
|
|
242
182
|
}>;
|
|
243
183
|
export type QAVerdict = z.infer<typeof QAVerdictSchema>;
|
|
244
|
-
export declare const
|
|
184
|
+
export declare const QAProcessResponseSchema: z.ZodObject<{
|
|
245
185
|
ultimate_goal: z.ZodString;
|
|
246
186
|
test_cases: z.ZodArray<z.ZodObject<{
|
|
247
187
|
test_title: z.ZodString;
|
|
@@ -305,7 +245,6 @@ export declare const SimulationEntitySchema: z.ZodObject<{
|
|
|
305
245
|
created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
306
246
|
updated_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
307
247
|
application_id: z.ZodNumber;
|
|
308
|
-
agent_id: z.ZodNumber;
|
|
309
248
|
job_id: z.ZodString;
|
|
310
249
|
browser_session_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
311
250
|
status: z.ZodEnum<{
|
|
@@ -325,8 +264,7 @@ export declare const SimulationEntitySchema: z.ZodObject<{
|
|
|
325
264
|
direct: "direct";
|
|
326
265
|
qa: "qa";
|
|
327
266
|
}>>;
|
|
328
|
-
|
|
329
|
-
graph_index_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
267
|
+
graph_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
330
268
|
source_metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
331
269
|
tasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
332
270
|
task_id: z.ZodString;
|
|
@@ -354,202 +292,20 @@ export declare const SimulationEntitySchema: z.ZodObject<{
|
|
|
354
292
|
}>>;
|
|
355
293
|
}, z.core.$strip>>>;
|
|
356
294
|
}, z.core.$strip>>>;
|
|
357
|
-
|
|
358
|
-
id: z.ZodNumber;
|
|
359
|
-
agent_name: z.ZodString;
|
|
360
|
-
image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
361
|
-
}, z.core.$strip>>>;
|
|
362
|
-
mindmap_status: z.ZodOptional<z.ZodEnum<{
|
|
295
|
+
graph_status: z.ZodOptional<z.ZodEnum<{
|
|
363
296
|
pending: "pending";
|
|
364
297
|
completed: "completed";
|
|
365
298
|
failed: "failed";
|
|
366
299
|
generating: "generating";
|
|
367
300
|
}>>;
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
301
|
+
graph_steps_processed: z.ZodOptional<z.ZodNumber>;
|
|
302
|
+
graph_steps_total: z.ZodOptional<z.ZodNumber>;
|
|
303
|
+
graph_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
371
304
|
created_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
372
305
|
persona_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
373
306
|
has_question: z.ZodOptional<z.ZodBoolean>;
|
|
374
307
|
}, z.core.$strip>;
|
|
375
308
|
export type SimulationData = z.infer<typeof SimulationEntitySchema>;
|
|
376
|
-
export declare const AgentEntitySchema: z.ZodObject<{
|
|
377
|
-
id: z.ZodOptional<z.ZodNumber>;
|
|
378
|
-
created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
379
|
-
updated_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
380
|
-
workspace_id: z.ZodNumber;
|
|
381
|
-
user_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
382
|
-
application_id: z.ZodNumber;
|
|
383
|
-
agent_name: z.ZodString;
|
|
384
|
-
agent_type: z.ZodEnum<{
|
|
385
|
-
human: "human";
|
|
386
|
-
ai: "ai";
|
|
387
|
-
}>;
|
|
388
|
-
agent_voice: z.ZodEnum<{
|
|
389
|
-
male: "male";
|
|
390
|
-
female: "female";
|
|
391
|
-
}>;
|
|
392
|
-
agent_description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
393
|
-
instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
394
|
-
image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
395
|
-
graph_index_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
396
|
-
status: z.ZodEnum<{
|
|
397
|
-
active: "active";
|
|
398
|
-
error: "error";
|
|
399
|
-
learning: "learning";
|
|
400
|
-
}>;
|
|
401
|
-
status_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
402
|
-
learning_progress: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
403
|
-
graph_index_created: z.ZodNullable<z.ZodBoolean>;
|
|
404
|
-
}, z.core.$strip>>>;
|
|
405
|
-
learning_started_at: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
|
|
406
|
-
workspace: z.ZodOptional<z.ZodObject<{
|
|
407
|
-
id: z.ZodOptional<z.ZodNumber>;
|
|
408
|
-
created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
409
|
-
updated_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
410
|
-
name: z.ZodString;
|
|
411
|
-
slug: z.ZodString;
|
|
412
|
-
status: z.ZodEnum<{
|
|
413
|
-
created: "created";
|
|
414
|
-
active: "active";
|
|
415
|
-
suspended: "suspended";
|
|
416
|
-
pending_approval: "pending_approval";
|
|
417
|
-
}>;
|
|
418
|
-
package: z.ZodEnum<{
|
|
419
|
-
free: "free";
|
|
420
|
-
startup: "startup";
|
|
421
|
-
growth: "growth";
|
|
422
|
-
enterprise: "enterprise";
|
|
423
|
-
}>;
|
|
424
|
-
ending_date: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
|
|
425
|
-
external_workspace_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
426
|
-
slack_webhook_configured: z.ZodOptional<z.ZodBoolean>;
|
|
427
|
-
notify_all_members_on_question: z.ZodOptional<z.ZodBoolean>;
|
|
428
|
-
}, z.core.$strip>>;
|
|
429
|
-
user: z.ZodOptional<z.ZodObject<{
|
|
430
|
-
id: z.ZodOptional<z.ZodNumber>;
|
|
431
|
-
created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
432
|
-
updated_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
433
|
-
is_super: z.ZodBoolean;
|
|
434
|
-
status: z.ZodEnum<{
|
|
435
|
-
created: "created";
|
|
436
|
-
active: "active";
|
|
437
|
-
suspended: "suspended";
|
|
438
|
-
pending_approval: "pending_approval";
|
|
439
|
-
}>;
|
|
440
|
-
email: z.ZodString;
|
|
441
|
-
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
442
|
-
first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
443
|
-
last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
444
|
-
password: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
445
|
-
image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
446
|
-
prompt_limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
447
|
-
last_login_at: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
|
|
448
|
-
auth_method: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
449
|
-
password: "password";
|
|
450
|
-
oauth: "oauth";
|
|
451
|
-
}>>>;
|
|
452
|
-
}, z.core.$strip>>;
|
|
453
|
-
knowledge: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
454
|
-
id: z.ZodOptional<z.ZodNumber>;
|
|
455
|
-
created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
456
|
-
updated_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
457
|
-
workspace_id: z.ZodNumber;
|
|
458
|
-
application_id: z.ZodOptional<z.ZodNumber>;
|
|
459
|
-
file_name: z.ZodString;
|
|
460
|
-
file_size: z.ZodCoercedNumber<unknown>;
|
|
461
|
-
file_type: z.ZodEnum<{
|
|
462
|
-
document: "document";
|
|
463
|
-
video: "video";
|
|
464
|
-
}>;
|
|
465
|
-
file_url: z.ZodString;
|
|
466
|
-
source_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
467
|
-
source: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
468
|
-
user: "user";
|
|
469
|
-
research: "research";
|
|
470
|
-
}>>>;
|
|
471
|
-
agents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
472
|
-
id: z.ZodNumber;
|
|
473
|
-
agent_name: z.ZodString;
|
|
474
|
-
image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
475
|
-
}, z.core.$strip>>>;
|
|
476
|
-
}, z.core.$strip>>>;
|
|
477
|
-
simulations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
478
|
-
id: z.ZodOptional<z.ZodNumber>;
|
|
479
|
-
created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
480
|
-
updated_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
481
|
-
application_id: z.ZodNumber;
|
|
482
|
-
agent_id: z.ZodNumber;
|
|
483
|
-
job_id: z.ZodString;
|
|
484
|
-
browser_session_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
485
|
-
status: z.ZodEnum<{
|
|
486
|
-
completed: "completed";
|
|
487
|
-
failed: "failed";
|
|
488
|
-
queued: "queued";
|
|
489
|
-
running: "running";
|
|
490
|
-
creating_knowledge: "creating_knowledge";
|
|
491
|
-
has_question: "has_question";
|
|
492
|
-
stopped: "stopped";
|
|
493
|
-
}>;
|
|
494
|
-
status_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
495
|
-
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
496
|
-
instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
497
|
-
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
498
|
-
source: z.ZodOptional<z.ZodEnum<{
|
|
499
|
-
direct: "direct";
|
|
500
|
-
qa: "qa";
|
|
501
|
-
}>>;
|
|
502
|
-
agent_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
503
|
-
graph_index_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
504
|
-
source_metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
505
|
-
tasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
506
|
-
task_id: z.ZodString;
|
|
507
|
-
title: z.ZodString;
|
|
508
|
-
instructions: z.ZodString;
|
|
509
|
-
status: z.ZodEnum<{
|
|
510
|
-
pending: "pending";
|
|
511
|
-
failed: "failed";
|
|
512
|
-
running: "running";
|
|
513
|
-
has_question: "has_question";
|
|
514
|
-
stopped: "stopped";
|
|
515
|
-
passed: "passed";
|
|
516
|
-
skipped: "skipped";
|
|
517
|
-
}>;
|
|
518
|
-
error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
519
|
-
started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
520
|
-
completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
521
|
-
order_index: z.ZodDefault<z.ZodNumber>;
|
|
522
|
-
tab_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
523
|
-
step_count: z.ZodDefault<z.ZodNumber>;
|
|
524
|
-
blocked_by: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
525
|
-
task_id: z.ZodString;
|
|
526
|
-
condition: z.ZodOptional<z.ZodEnum<{
|
|
527
|
-
pass: "pass";
|
|
528
|
-
}>>;
|
|
529
|
-
}, z.core.$strip>>>;
|
|
530
|
-
}, z.core.$strip>>>;
|
|
531
|
-
agents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
532
|
-
id: z.ZodNumber;
|
|
533
|
-
agent_name: z.ZodString;
|
|
534
|
-
image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
535
|
-
}, z.core.$strip>>>;
|
|
536
|
-
mindmap_status: z.ZodOptional<z.ZodEnum<{
|
|
537
|
-
pending: "pending";
|
|
538
|
-
completed: "completed";
|
|
539
|
-
failed: "failed";
|
|
540
|
-
generating: "generating";
|
|
541
|
-
}>>;
|
|
542
|
-
mindmap_steps_processed: z.ZodOptional<z.ZodNumber>;
|
|
543
|
-
mindmap_steps_total: z.ZodOptional<z.ZodNumber>;
|
|
544
|
-
mindmap_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
545
|
-
created_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
546
|
-
persona_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
547
|
-
has_question: z.ZodOptional<z.ZodBoolean>;
|
|
548
|
-
}, z.core.$strip>>>;
|
|
549
|
-
simulation_count: z.ZodOptional<z.ZodNumber>;
|
|
550
|
-
knowledge_count: z.ZodOptional<z.ZodNumber>;
|
|
551
|
-
}, z.core.$strip>;
|
|
552
|
-
export type AgentData = z.infer<typeof AgentEntitySchema>;
|
|
553
309
|
export declare const ApplicationEntitySchema: z.ZodObject<{
|
|
554
310
|
id: z.ZodOptional<z.ZodNumber>;
|
|
555
311
|
created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
@@ -649,7 +405,6 @@ export declare const WidgetEntitySchema: z.ZodObject<{
|
|
|
649
405
|
created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
650
406
|
updated_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
651
407
|
application_id: z.ZodNumber;
|
|
652
|
-
agent_id: z.ZodNumber;
|
|
653
408
|
type: z.ZodEnum<{
|
|
654
409
|
widget: "widget";
|
|
655
410
|
}>;
|
|
@@ -733,14 +488,14 @@ export type StateTriggerData = z.infer<typeof StateTriggerEntitySchema>;
|
|
|
733
488
|
* Canonical wire vocabulary; `deriveQARunStats` returns `'running'` directly.
|
|
734
489
|
* `'pending'` is the empty-task initial state.
|
|
735
490
|
*/
|
|
736
|
-
export declare const
|
|
491
|
+
export declare const QARunStatusSchema: z.ZodEnum<{
|
|
737
492
|
pending: "pending";
|
|
738
493
|
completed: "completed";
|
|
739
494
|
failed: "failed";
|
|
740
495
|
running: "running";
|
|
741
496
|
stopped: "stopped";
|
|
742
497
|
}>;
|
|
743
|
-
export type
|
|
498
|
+
export type QARunStatus = z.infer<typeof QARunStatusSchema>;
|
|
744
499
|
export declare const ActionLogTypeSchema: z.ZodEnum<{
|
|
745
500
|
user_login: "user_login";
|
|
746
501
|
url_visit: "url_visit";
|
|
@@ -748,9 +503,6 @@ export declare const ActionLogTypeSchema: z.ZodEnum<{
|
|
|
748
503
|
create_user: "create_user";
|
|
749
504
|
update_user: "update_user";
|
|
750
505
|
delete_user: "delete_user";
|
|
751
|
-
create_agent: "create_agent";
|
|
752
|
-
update_agent: "update_agent";
|
|
753
|
-
delete_agent: "delete_agent";
|
|
754
506
|
create_application: "create_application";
|
|
755
507
|
update_application: "update_application";
|
|
756
508
|
delete_application: "delete_application";
|
|
@@ -773,10 +525,6 @@ export declare const ActionLogTypeSchema: z.ZodEnum<{
|
|
|
773
525
|
slack_command: "slack_command";
|
|
774
526
|
}>;
|
|
775
527
|
export type ActionLogType = z.infer<typeof ActionLogTypeSchema>;
|
|
776
|
-
/**
|
|
777
|
-
* Action log metadata schema
|
|
778
|
-
* Captures common metadata fields used across different action log types
|
|
779
|
-
*/
|
|
780
528
|
export declare const ActionLogMetadataSchema: z.ZodObject<{
|
|
781
529
|
details: z.ZodOptional<z.ZodString>;
|
|
782
530
|
id: z.ZodOptional<z.ZodNumber>;
|
|
@@ -809,9 +557,6 @@ export declare const ActionLogEntitySchema: z.ZodObject<{
|
|
|
809
557
|
create_user: "create_user";
|
|
810
558
|
update_user: "update_user";
|
|
811
559
|
delete_user: "delete_user";
|
|
812
|
-
create_agent: "create_agent";
|
|
813
|
-
update_agent: "update_agent";
|
|
814
|
-
delete_agent: "delete_agent";
|
|
815
560
|
create_application: "create_application";
|
|
816
561
|
update_application: "update_application";
|
|
817
562
|
delete_application: "delete_application";
|
|
@@ -884,9 +629,6 @@ export declare const ActionLogCreateSchema: z.ZodObject<{
|
|
|
884
629
|
create_user: "create_user";
|
|
885
630
|
update_user: "update_user";
|
|
886
631
|
delete_user: "delete_user";
|
|
887
|
-
create_agent: "create_agent";
|
|
888
|
-
update_agent: "update_agent";
|
|
889
|
-
delete_agent: "delete_agent";
|
|
890
632
|
create_application: "create_application";
|
|
891
633
|
update_application: "update_application";
|
|
892
634
|
delete_application: "delete_application";
|
|
@@ -932,4 +674,3 @@ export declare const SuggestedSimulationSchema: z.ZodObject<{
|
|
|
932
674
|
}>>>;
|
|
933
675
|
}, z.core.$strip>;
|
|
934
676
|
export type SuggestedSimulation = z.infer<typeof SuggestedSimulationSchema>;
|
|
935
|
-
//# sourceMappingURL=entities.d.ts.map
|