robotrock 1.3.3 → 1.4.0
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 +32 -0
- package/dist/agent-admin.d.ts +5 -0
- package/dist/agent-admin.js +75 -2
- package/dist/agent-admin.js.map +1 -1
- package/dist/ai/index.d.ts +5 -5
- package/dist/ai/index.js +128 -4
- package/dist/ai/index.js.map +1 -1
- package/dist/ai/trigger.d.ts +3 -3
- package/dist/ai/trigger.js +128 -4
- package/dist/ai/trigger.js.map +1 -1
- package/dist/ai/workflow.d.ts +3 -3
- package/dist/ai/workflow.js +128 -4
- package/dist/ai/workflow.js.map +1 -1
- package/dist/{client-CZ5eWH5v.d.ts → client-BxbxttFH.d.ts} +19 -1
- package/dist/eve/agent/index.d.ts +4 -3
- package/dist/eve/agent/index.js +736 -414
- package/dist/eve/agent/index.js.map +1 -1
- package/dist/eve/index.d.ts +4 -3
- package/dist/eve/index.js +437 -45
- package/dist/eve/index.js.map +1 -1
- package/dist/eve/tools/admin/assign-tasks.d.ts +40 -8
- package/dist/eve/tools/admin/assign-tasks.js +328 -66
- package/dist/eve/tools/admin/assign-tasks.js.map +1 -1
- package/dist/eve/tools/admin/get-workspace-usage.d.ts +71 -0
- package/dist/eve/tools/admin/get-workspace-usage.js +1353 -0
- package/dist/eve/tools/admin/get-workspace-usage.js.map +1 -0
- package/dist/eve/tools/admin/manage-groups.d.ts +122 -8
- package/dist/eve/tools/admin/manage-groups.js +348 -94
- package/dist/eve/tools/admin/manage-groups.js.map +1 -1
- package/dist/eve/tools/admin/manage-team-members.d.ts +86 -8
- package/dist/eve/tools/admin/manage-team-members.js +318 -72
- package/dist/eve/tools/admin/manage-team-members.js.map +1 -1
- package/dist/eve/tools/admin/query-tasks.d.ts +82 -8
- package/dist/eve/tools/admin/query-tasks.js +360 -113
- package/dist/eve/tools/admin/query-tasks.js.map +1 -1
- package/dist/eve/tools/catalog/generate-image.d.ts +64 -0
- package/dist/eve/tools/catalog/generate-image.js +2065 -0
- package/dist/eve/tools/catalog/generate-image.js.map +1 -0
- package/dist/eve/tools/catalog/generate-random-chart.d.ts +71 -0
- package/dist/eve/tools/catalog/generate-random-chart.js +372 -0
- package/dist/eve/tools/catalog/generate-random-chart.js.map +1 -0
- package/dist/eve/tools/catalog/search-products.d.ts +36 -44
- package/dist/eve/tools/catalog/search-products.js +237 -33
- package/dist/eve/tools/catalog/search-products.js.map +1 -1
- package/dist/eve/tools/identity/index.d.ts +2 -2
- package/dist/eve/tools/identity/index.js +35 -44
- package/dist/eve/tools/identity/index.js.map +1 -1
- package/dist/eve/tools/identity/my-access.d.ts +90 -6
- package/dist/eve/tools/identity/my-access.js +35 -44
- package/dist/eve/tools/identity/my-access.js.map +1 -1
- package/dist/eve/tools/identity/whoami.d.ts +1 -1
- package/dist/eve/tools/identity/whoami.js.map +1 -1
- package/dist/eve/tools/inbox/create-task.d.ts +1 -1
- package/dist/eve/tools/inbox/create-task.js +119 -2
- package/dist/eve/tools/inbox/create-task.js.map +1 -1
- package/dist/eve/tools/inbox/index.d.ts +1 -1
- package/dist/eve/tools/inbox/index.js +119 -2
- package/dist/eve/tools/inbox/index.js.map +1 -1
- package/dist/eve/tools/index.d.ts +5 -2
- package/dist/eve/tools/index.js +932 -288
- package/dist/eve/tools/index.js.map +1 -1
- package/dist/index-Drj0Rzf_.d.ts +905 -0
- package/dist/index.d.ts +5 -4
- package/dist/index.js +335 -20
- package/dist/index.js.map +1 -1
- package/dist/schemas/index.js +67 -1
- package/dist/schemas/index.js.map +1 -1
- package/dist/{tool-approval-bridge-DnGaRES4.d.ts → tool-approval-bridge-Cz7qQUpw.d.ts} +1 -1
- package/dist/{tool-reply-guidance-C3qrT1In.d.ts → tool-reply-guidance-CJko9liH.d.ts} +5 -2
- package/dist/tool-result-ui-meta-KT0VafEO.d.ts +52 -0
- package/dist/trigger/index.d.ts +1 -1
- package/dist/trigger/index.js +118 -2
- package/dist/trigger/index.js.map +1 -1
- package/dist/{trigger--qTIK0s6.d.ts → trigger-C1ooSegc.d.ts} +2 -2
- package/dist/workflow/index.d.ts +1 -1
- package/dist/workflow/index.js +118 -2
- package/dist/workflow/index.js.map +1 -1
- package/package.json +21 -4
- package/dist/index-DePyAbTI.d.ts +0 -203
|
@@ -0,0 +1,905 @@
|
|
|
1
|
+
import { S as SendToHumanActionInput } from './client-BxbxttFH.js';
|
|
2
|
+
import { UiSchema } from '@robotrock/core/schemas';
|
|
3
|
+
import { b as ToolResultUiEntity, T as ToolResultUiMeta, a as ToolUiHint } from './tool-result-ui-meta-KT0VafEO.js';
|
|
4
|
+
import { z } from 'zod';
|
|
5
|
+
import './tool-reply-guidance-CJko9liH.js';
|
|
6
|
+
|
|
7
|
+
/** One selectable option in an Eve HITL input request. */
|
|
8
|
+
type EveInputOption = {
|
|
9
|
+
readonly id: string;
|
|
10
|
+
readonly label: string;
|
|
11
|
+
readonly description?: string;
|
|
12
|
+
readonly style?: "danger" | "default" | "primary";
|
|
13
|
+
};
|
|
14
|
+
/** Eve HITL display mode — mirrors `InputRequest.display` from the eve runtime. */
|
|
15
|
+
type EveInputRequestDisplay = "confirmation" | "select" | "text";
|
|
16
|
+
/**
|
|
17
|
+
* Minimal Eve `InputRequest` shape for RobotRock bridging. Intentionally
|
|
18
|
+
* self-contained so the SDK does not depend on the `eve` package.
|
|
19
|
+
*/
|
|
20
|
+
type EveInputRequest = {
|
|
21
|
+
readonly requestId: string;
|
|
22
|
+
readonly prompt: string;
|
|
23
|
+
readonly display?: EveInputRequestDisplay;
|
|
24
|
+
readonly allowFreeform?: boolean;
|
|
25
|
+
readonly options?: readonly EveInputOption[];
|
|
26
|
+
};
|
|
27
|
+
/** Eve `InputResponse` shape returned when resuming a parked session. */
|
|
28
|
+
type EveInputResponse = {
|
|
29
|
+
readonly requestId: string;
|
|
30
|
+
readonly optionId?: string;
|
|
31
|
+
readonly text?: string;
|
|
32
|
+
};
|
|
33
|
+
declare const EVE_INPUT_SUBMIT_ACTION_ID: "submit";
|
|
34
|
+
declare const EVE_INPUT_OTHER_CHOICE_ID: "__other__";
|
|
35
|
+
declare const EVE_INPUT_OTHER_CHOICE_LABEL: "Type your own answer";
|
|
36
|
+
/** Resolve the effective display mode when Eve omits `display`. */
|
|
37
|
+
declare function resolveEveInputDisplay(request: EveInputRequest, toolName?: string): EveInputRequestDisplay;
|
|
38
|
+
/** Keep select-form submissions mutually exclusive between preset choice and freeform other. */
|
|
39
|
+
declare function normalizeEveSelectFormData(data: Record<string, unknown>): Record<string, unknown>;
|
|
40
|
+
/**
|
|
41
|
+
* Map an Eve `InputRequest` to RobotRock inbox actions.
|
|
42
|
+
*/
|
|
43
|
+
declare function eveInputRequestToActions(request: EveInputRequest, options?: {
|
|
44
|
+
toolName?: string;
|
|
45
|
+
}): readonly SendToHumanActionInput[];
|
|
46
|
+
/** Task type slug for an Eve input request. */
|
|
47
|
+
declare function eveInputRequestTaskType(request: EveInputRequest, options?: {
|
|
48
|
+
toolName?: string;
|
|
49
|
+
}): string;
|
|
50
|
+
/**
|
|
51
|
+
* Map a handled RobotRock task action back to an Eve `InputResponse`.
|
|
52
|
+
*/
|
|
53
|
+
declare function taskHandledToEveInputResponse(request: EveInputRequest, actionId: string, actionData: unknown, options?: {
|
|
54
|
+
toolName?: string;
|
|
55
|
+
}): EveInputResponse;
|
|
56
|
+
|
|
57
|
+
type EveInputAuditContext = {
|
|
58
|
+
toolCallId: string;
|
|
59
|
+
toolName?: string;
|
|
60
|
+
requestId?: string;
|
|
61
|
+
display?: EveInputRequestDisplay;
|
|
62
|
+
toolInput?: unknown;
|
|
63
|
+
};
|
|
64
|
+
/**
|
|
65
|
+
* Map freeform composer text to an Eve `InputResponse`, mirroring Eve's
|
|
66
|
+
* `resolveTextToResponse` rules (option id/label, numeric index, freeform text).
|
|
67
|
+
*/
|
|
68
|
+
declare function resolveEveFreeformTextToInputResponse(request: EveInputRequest, text: string): EveInputResponse | undefined;
|
|
69
|
+
/** Returns true for Eve's default approval gate (approve / deny options). */
|
|
70
|
+
declare function isEveApprovalInputRequest(request: EveInputRequest): boolean;
|
|
71
|
+
type EveInputActionSubmission = {
|
|
72
|
+
actionId: string;
|
|
73
|
+
actionTitle: string;
|
|
74
|
+
formData: Record<string, unknown>;
|
|
75
|
+
};
|
|
76
|
+
/**
|
|
77
|
+
* Map a resolved Eve `InputResponse` to RobotRock audit fields (action id/title).
|
|
78
|
+
*/
|
|
79
|
+
declare function eveInputResponseToActionSubmission(request: EveInputRequest, response: EveInputResponse, options?: {
|
|
80
|
+
toolName?: string;
|
|
81
|
+
}): EveInputActionSubmission;
|
|
82
|
+
/** Audit payload for `chat_action_input_submitted`. */
|
|
83
|
+
declare function buildEveInputAuditSubmissionData(context: EveInputAuditContext, formData: Record<string, unknown>): Record<string, unknown>;
|
|
84
|
+
/**
|
|
85
|
+
* Parse an `ask_question` tool result output into an Eve input response shape.
|
|
86
|
+
*/
|
|
87
|
+
declare function parseEveAskQuestionToolOutput(output: unknown): Pick<EveInputResponse, "optionId" | "text"> | null;
|
|
88
|
+
|
|
89
|
+
type ChatToolAuditInput = Record<string, unknown>;
|
|
90
|
+
type ChatToolAuditPayload = {
|
|
91
|
+
toolCallId: string;
|
|
92
|
+
toolName: string;
|
|
93
|
+
input: ChatToolAuditInput;
|
|
94
|
+
success: boolean;
|
|
95
|
+
status: "completed" | "failed" | "rejected";
|
|
96
|
+
error?: string;
|
|
97
|
+
};
|
|
98
|
+
/**
|
|
99
|
+
* Whether a completed tool call should appear on the RobotRock audit trail.
|
|
100
|
+
* Admin mutations are logged via chat-correlated API audit instead.
|
|
101
|
+
*/
|
|
102
|
+
declare function shouldAuditToolExecution(toolName: string, _input: ChatToolAuditInput): boolean;
|
|
103
|
+
/** Keep only fields useful for audit display (no secrets or large blobs). */
|
|
104
|
+
declare function sanitizeToolAuditInput(input: ChatToolAuditInput): ChatToolAuditInput;
|
|
105
|
+
declare function buildChatToolAuditPayload(input: {
|
|
106
|
+
toolCallId: string;
|
|
107
|
+
toolName: string;
|
|
108
|
+
toolInput: ChatToolAuditInput;
|
|
109
|
+
status: "completed" | "failed" | "rejected";
|
|
110
|
+
error?: string;
|
|
111
|
+
isError?: boolean;
|
|
112
|
+
}): ChatToolAuditPayload | null;
|
|
113
|
+
|
|
114
|
+
/** Default per-tool labels for common Eve demo/integration tools. */
|
|
115
|
+
declare const DEFAULT_TOOL_DISPLAY_LABELS: Readonly<Record<string, string>>;
|
|
116
|
+
/** Register additional or overriding tool display labels at runtime. */
|
|
117
|
+
declare function setToolDisplayLabelOverrides(overrides: Readonly<Record<string, string>>): void;
|
|
118
|
+
/** Resolve a user-facing label for a tool slug. */
|
|
119
|
+
declare function getToolDisplayLabel(toolName: string): string;
|
|
120
|
+
/** Format an Eve input request prompt for human-facing approval UIs. */
|
|
121
|
+
declare function formatEveApprovalTitle(request: EveInputRequest, toolName?: string): string;
|
|
122
|
+
|
|
123
|
+
type ToolDisplayResultOptions = {
|
|
124
|
+
widget?: string;
|
|
125
|
+
title?: string;
|
|
126
|
+
description?: string;
|
|
127
|
+
ui?: Record<string, UiSchema>;
|
|
128
|
+
};
|
|
129
|
+
/**
|
|
130
|
+
* @deprecated Tool results should return plain JSON. Display envelopes are ignored
|
|
131
|
+
* by the dashboard TRL renderer. Kept for backwards-compatible call sites.
|
|
132
|
+
*/
|
|
133
|
+
declare function toolDisplayResult<T extends Record<string, unknown>>(data: T, _options?: ToolDisplayResultOptions): T;
|
|
134
|
+
|
|
135
|
+
type FormatToolObjectResultOptions = {
|
|
136
|
+
replyGuidance: string;
|
|
137
|
+
/** @deprecated Prefer `ui.layout`. Mapped for backward compatibility. */
|
|
138
|
+
uiHint?: ToolUiHint;
|
|
139
|
+
ui?: ToolResultUiMeta;
|
|
140
|
+
};
|
|
141
|
+
type FormatToolListResultOptions = {
|
|
142
|
+
replyGuidance: string;
|
|
143
|
+
entity?: ToolResultUiEntity;
|
|
144
|
+
present?: boolean;
|
|
145
|
+
ui?: Omit<ToolResultUiMeta, "rowsPath" | "layout">;
|
|
146
|
+
};
|
|
147
|
+
type FormatToolQueryResultOptions = {
|
|
148
|
+
replyGuidance: string;
|
|
149
|
+
entity?: ToolResultUiEntity;
|
|
150
|
+
present?: boolean;
|
|
151
|
+
rowsPath?: string;
|
|
152
|
+
ui?: ToolResultUiMeta;
|
|
153
|
+
};
|
|
154
|
+
type WithReplyGuidance<T> = T & {
|
|
155
|
+
replyGuidance: string;
|
|
156
|
+
};
|
|
157
|
+
type WithUiMeta<T> = T & {
|
|
158
|
+
ui: ToolResultUiMeta;
|
|
159
|
+
};
|
|
160
|
+
type WithUiHintField<T> = T & {
|
|
161
|
+
uiHint: ToolUiHint;
|
|
162
|
+
};
|
|
163
|
+
/** Attach agent narration hints to plain tool JSON. No display/ui envelope. */
|
|
164
|
+
declare function formatToolObjectResult<T extends Record<string, unknown>>(data: T, options: FormatToolObjectResultOptions): WithReplyGuidance<T> & Partial<WithUiMeta<T>> & Partial<WithUiHintField<T>>;
|
|
165
|
+
/** Wrap an array field as plain tool JSON with reply guidance and list layout hint.
|
|
166
|
+
*
|
|
167
|
+
* Include `url` on each item when you know a navigable link — the dashboard
|
|
168
|
+
* renders clickable Item rows. Use `attachments` / `files` / `documents` keys
|
|
169
|
+
* for file downloads (Attachment layout). Set `entity` so the dashboard caches
|
|
170
|
+
* a reusable row layout under that name.
|
|
171
|
+
*/
|
|
172
|
+
declare function formatToolListResult<const K extends string, T extends Record<string, unknown>>(listKey: K, items: T[], options: FormatToolListResultOptions): WithReplyGuidance<Record<K, T[]>> & WithUiMeta<Record<K, T[]>> & WithUiHintField<Record<K, T[]>>;
|
|
173
|
+
/** Format a query-style result: shared meta fields + typed row array. */
|
|
174
|
+
declare function formatToolQueryResult<M extends Record<string, unknown>, T extends Record<string, unknown>>(meta: M, rows: T[], options: FormatToolQueryResultOptions): WithReplyGuidance<M & Record<string, T[]>> & WithUiMeta<M & Record<string, T[]>>;
|
|
175
|
+
declare function isAgentAdminErrorResult(result: unknown): result is {
|
|
176
|
+
ok: false;
|
|
177
|
+
message: string;
|
|
178
|
+
};
|
|
179
|
+
|
|
180
|
+
/** Tenant-relative inbox deep link for a task (matches dashboard inbox hrefs). */
|
|
181
|
+
declare function buildTenantTaskUrl(tenantSlug: string, task: {
|
|
182
|
+
id: string;
|
|
183
|
+
type?: string | null;
|
|
184
|
+
app?: string | null;
|
|
185
|
+
}): string;
|
|
186
|
+
/** Tenant-relative group detail path (matches tenantGroup widget). */
|
|
187
|
+
declare function buildTenantGroupUrl(tenantSlug: string, slug: string): string;
|
|
188
|
+
declare const toolResultUiMetaSchema: z.ZodObject<{
|
|
189
|
+
present: z.ZodOptional<z.ZodBoolean>;
|
|
190
|
+
entity: z.ZodOptional<z.ZodString>;
|
|
191
|
+
rowsPath: z.ZodOptional<z.ZodString>;
|
|
192
|
+
layout: z.ZodOptional<z.ZodEnum<{
|
|
193
|
+
list: "list";
|
|
194
|
+
chart: "chart";
|
|
195
|
+
table: "table";
|
|
196
|
+
}>>;
|
|
197
|
+
}, z.core.$strict>;
|
|
198
|
+
/** Demo catalog product row (`search_products`). */
|
|
199
|
+
declare const productEntityRowSchema: z.ZodObject<{
|
|
200
|
+
id: z.ZodString;
|
|
201
|
+
name: z.ZodString;
|
|
202
|
+
price: z.ZodNumber;
|
|
203
|
+
currency: z.ZodString;
|
|
204
|
+
inStock: z.ZodBoolean;
|
|
205
|
+
url: z.ZodString;
|
|
206
|
+
}, z.core.$strip>;
|
|
207
|
+
/** Demo chart series point (`generate_random_chart`). */
|
|
208
|
+
declare const metricPointEntityRowSchema: z.ZodObject<{
|
|
209
|
+
date: z.ZodOptional<z.ZodString>;
|
|
210
|
+
category: z.ZodOptional<z.ZodString>;
|
|
211
|
+
label: z.ZodOptional<z.ZodString>;
|
|
212
|
+
}, z.core.$catchall<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
213
|
+
declare const memberEntityRowSchema: z.ZodObject<{
|
|
214
|
+
name: z.ZodString;
|
|
215
|
+
email: z.ZodString;
|
|
216
|
+
role: z.ZodString;
|
|
217
|
+
membershipKind: z.ZodString;
|
|
218
|
+
profilePictureUrl: z.ZodNullable<z.ZodString>;
|
|
219
|
+
}, z.core.$strip>;
|
|
220
|
+
declare const taskEntityRowSchema: z.ZodObject<{
|
|
221
|
+
id: z.ZodString;
|
|
222
|
+
name: z.ZodString;
|
|
223
|
+
status: z.ZodString;
|
|
224
|
+
type: z.ZodNullable<z.ZodString>;
|
|
225
|
+
description: z.ZodNullable<z.ZodString>;
|
|
226
|
+
validUntil: z.ZodNumber;
|
|
227
|
+
createdAt: z.ZodNumber;
|
|
228
|
+
url: z.ZodString;
|
|
229
|
+
threadPriority: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
230
|
+
}, z.core.$strip>;
|
|
231
|
+
declare const groupEntityRowSchema: z.ZodObject<{
|
|
232
|
+
name: z.ZodString;
|
|
233
|
+
slug: z.ZodString;
|
|
234
|
+
description: z.ZodNullable<z.ZodString>;
|
|
235
|
+
memberCount: z.ZodNullable<z.ZodNumber>;
|
|
236
|
+
url: z.ZodString;
|
|
237
|
+
}, z.core.$strip>;
|
|
238
|
+
declare const groupDetailEntitySchema: z.ZodObject<{
|
|
239
|
+
name: z.ZodString;
|
|
240
|
+
slug: z.ZodString;
|
|
241
|
+
description: z.ZodNullable<z.ZodString>;
|
|
242
|
+
url: z.ZodString;
|
|
243
|
+
members: z.ZodArray<z.ZodObject<{
|
|
244
|
+
name: z.ZodString;
|
|
245
|
+
email: z.ZodString;
|
|
246
|
+
profilePictureUrl: z.ZodNullable<z.ZodString>;
|
|
247
|
+
}, z.core.$strip>>;
|
|
248
|
+
}, z.core.$strip>;
|
|
249
|
+
/** Assign-task / status list row — always includes task inbox url. */
|
|
250
|
+
declare const statusEntityRowSchema: z.ZodObject<{
|
|
251
|
+
id: z.ZodString;
|
|
252
|
+
name: z.ZodString;
|
|
253
|
+
status: z.ZodString;
|
|
254
|
+
url: z.ZodString;
|
|
255
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
256
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
257
|
+
}, z.core.$strip>;
|
|
258
|
+
declare const agentAdminErrorResultSchema: z.ZodObject<{
|
|
259
|
+
ok: z.ZodLiteral<false>;
|
|
260
|
+
status: z.ZodOptional<z.ZodNumber>;
|
|
261
|
+
message: z.ZodString;
|
|
262
|
+
response: z.ZodOptional<z.ZodUnknown>;
|
|
263
|
+
}, z.core.$strip>;
|
|
264
|
+
declare const agentAdminMutationResultSchema: z.ZodObject<{
|
|
265
|
+
replyGuidance: z.ZodOptional<z.ZodString>;
|
|
266
|
+
ui: z.ZodOptional<z.ZodObject<{
|
|
267
|
+
present: z.ZodOptional<z.ZodBoolean>;
|
|
268
|
+
entity: z.ZodOptional<z.ZodString>;
|
|
269
|
+
rowsPath: z.ZodOptional<z.ZodString>;
|
|
270
|
+
layout: z.ZodOptional<z.ZodEnum<{
|
|
271
|
+
list: "list";
|
|
272
|
+
chart: "chart";
|
|
273
|
+
table: "table";
|
|
274
|
+
}>>;
|
|
275
|
+
}, z.core.$strict>>;
|
|
276
|
+
uiHint: z.ZodOptional<z.ZodEnum<{
|
|
277
|
+
list: "list";
|
|
278
|
+
chart: "chart";
|
|
279
|
+
table: "table";
|
|
280
|
+
}>>;
|
|
281
|
+
}, z.core.$loose>;
|
|
282
|
+
declare const searchProductsOutputSchema: z.ZodObject<{
|
|
283
|
+
items: z.ZodArray<z.ZodObject<{
|
|
284
|
+
id: z.ZodString;
|
|
285
|
+
name: z.ZodString;
|
|
286
|
+
price: z.ZodNumber;
|
|
287
|
+
currency: z.ZodString;
|
|
288
|
+
inStock: z.ZodBoolean;
|
|
289
|
+
url: z.ZodString;
|
|
290
|
+
}, z.core.$strip>>;
|
|
291
|
+
replyGuidance: z.ZodOptional<z.ZodString>;
|
|
292
|
+
ui: z.ZodOptional<z.ZodObject<{
|
|
293
|
+
present: z.ZodOptional<z.ZodBoolean>;
|
|
294
|
+
entity: z.ZodOptional<z.ZodString>;
|
|
295
|
+
rowsPath: z.ZodOptional<z.ZodString>;
|
|
296
|
+
layout: z.ZodOptional<z.ZodEnum<{
|
|
297
|
+
list: "list";
|
|
298
|
+
chart: "chart";
|
|
299
|
+
table: "table";
|
|
300
|
+
}>>;
|
|
301
|
+
}, z.core.$strict>>;
|
|
302
|
+
uiHint: z.ZodOptional<z.ZodEnum<{
|
|
303
|
+
list: "list";
|
|
304
|
+
chart: "chart";
|
|
305
|
+
table: "table";
|
|
306
|
+
}>>;
|
|
307
|
+
}, z.core.$strip>;
|
|
308
|
+
declare const generateRandomChartOutputSchema: z.ZodObject<{
|
|
309
|
+
title: z.ZodString;
|
|
310
|
+
axis: z.ZodEnum<{
|
|
311
|
+
time: "time";
|
|
312
|
+
category: "category";
|
|
313
|
+
}>;
|
|
314
|
+
series: z.ZodArray<z.ZodObject<{
|
|
315
|
+
date: z.ZodOptional<z.ZodString>;
|
|
316
|
+
category: z.ZodOptional<z.ZodString>;
|
|
317
|
+
label: z.ZodOptional<z.ZodString>;
|
|
318
|
+
}, z.core.$catchall<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>>;
|
|
319
|
+
replyGuidance: z.ZodOptional<z.ZodString>;
|
|
320
|
+
ui: z.ZodOptional<z.ZodObject<{
|
|
321
|
+
present: z.ZodOptional<z.ZodBoolean>;
|
|
322
|
+
entity: z.ZodOptional<z.ZodString>;
|
|
323
|
+
rowsPath: z.ZodOptional<z.ZodString>;
|
|
324
|
+
layout: z.ZodOptional<z.ZodEnum<{
|
|
325
|
+
list: "list";
|
|
326
|
+
chart: "chart";
|
|
327
|
+
table: "table";
|
|
328
|
+
}>>;
|
|
329
|
+
}, z.core.$strict>>;
|
|
330
|
+
uiHint: z.ZodOptional<z.ZodEnum<{
|
|
331
|
+
list: "list";
|
|
332
|
+
chart: "chart";
|
|
333
|
+
table: "table";
|
|
334
|
+
}>>;
|
|
335
|
+
}, z.core.$strip>;
|
|
336
|
+
/** Demo generated image (`generate_image`) — bytes live in Convex `_storage`. */
|
|
337
|
+
declare const generateImageOutputSchema: z.ZodObject<{
|
|
338
|
+
prompt: z.ZodString;
|
|
339
|
+
mediaType: z.ZodString;
|
|
340
|
+
model: z.ZodString;
|
|
341
|
+
storageId: z.ZodString;
|
|
342
|
+
url: z.ZodString;
|
|
343
|
+
base64: z.ZodOptional<z.ZodString>;
|
|
344
|
+
replyGuidance: z.ZodOptional<z.ZodString>;
|
|
345
|
+
ui: z.ZodOptional<z.ZodObject<{
|
|
346
|
+
present: z.ZodOptional<z.ZodBoolean>;
|
|
347
|
+
entity: z.ZodOptional<z.ZodString>;
|
|
348
|
+
rowsPath: z.ZodOptional<z.ZodString>;
|
|
349
|
+
layout: z.ZodOptional<z.ZodEnum<{
|
|
350
|
+
list: "list";
|
|
351
|
+
chart: "chart";
|
|
352
|
+
table: "table";
|
|
353
|
+
}>>;
|
|
354
|
+
}, z.core.$strict>>;
|
|
355
|
+
uiHint: z.ZodOptional<z.ZodEnum<{
|
|
356
|
+
list: "list";
|
|
357
|
+
chart: "chart";
|
|
358
|
+
table: "table";
|
|
359
|
+
}>>;
|
|
360
|
+
}, z.core.$strip>;
|
|
361
|
+
declare const manageTeamMembersListOutputSchema: z.ZodObject<{
|
|
362
|
+
members: z.ZodArray<z.ZodObject<{
|
|
363
|
+
name: z.ZodString;
|
|
364
|
+
email: z.ZodString;
|
|
365
|
+
role: z.ZodString;
|
|
366
|
+
membershipKind: z.ZodString;
|
|
367
|
+
profilePictureUrl: z.ZodNullable<z.ZodString>;
|
|
368
|
+
}, z.core.$strip>>;
|
|
369
|
+
replyGuidance: z.ZodOptional<z.ZodString>;
|
|
370
|
+
ui: z.ZodOptional<z.ZodObject<{
|
|
371
|
+
present: z.ZodOptional<z.ZodBoolean>;
|
|
372
|
+
entity: z.ZodOptional<z.ZodString>;
|
|
373
|
+
rowsPath: z.ZodOptional<z.ZodString>;
|
|
374
|
+
layout: z.ZodOptional<z.ZodEnum<{
|
|
375
|
+
list: "list";
|
|
376
|
+
chart: "chart";
|
|
377
|
+
table: "table";
|
|
378
|
+
}>>;
|
|
379
|
+
}, z.core.$strict>>;
|
|
380
|
+
uiHint: z.ZodOptional<z.ZodEnum<{
|
|
381
|
+
list: "list";
|
|
382
|
+
chart: "chart";
|
|
383
|
+
table: "table";
|
|
384
|
+
}>>;
|
|
385
|
+
}, z.core.$strip>;
|
|
386
|
+
declare const manageTeamMembersDetailOutputSchema: z.ZodObject<{
|
|
387
|
+
name: z.ZodString;
|
|
388
|
+
email: z.ZodString;
|
|
389
|
+
role: z.ZodString;
|
|
390
|
+
membershipKind: z.ZodString;
|
|
391
|
+
profilePictureUrl: z.ZodNullable<z.ZodString>;
|
|
392
|
+
replyGuidance: z.ZodOptional<z.ZodString>;
|
|
393
|
+
ui: z.ZodOptional<z.ZodObject<{
|
|
394
|
+
present: z.ZodOptional<z.ZodBoolean>;
|
|
395
|
+
entity: z.ZodOptional<z.ZodString>;
|
|
396
|
+
rowsPath: z.ZodOptional<z.ZodString>;
|
|
397
|
+
layout: z.ZodOptional<z.ZodEnum<{
|
|
398
|
+
list: "list";
|
|
399
|
+
chart: "chart";
|
|
400
|
+
table: "table";
|
|
401
|
+
}>>;
|
|
402
|
+
}, z.core.$strict>>;
|
|
403
|
+
uiHint: z.ZodOptional<z.ZodEnum<{
|
|
404
|
+
list: "list";
|
|
405
|
+
chart: "chart";
|
|
406
|
+
table: "table";
|
|
407
|
+
}>>;
|
|
408
|
+
}, z.core.$strip>;
|
|
409
|
+
declare const manageTeamMembersOutputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
410
|
+
members: z.ZodArray<z.ZodObject<{
|
|
411
|
+
name: z.ZodString;
|
|
412
|
+
email: z.ZodString;
|
|
413
|
+
role: z.ZodString;
|
|
414
|
+
membershipKind: z.ZodString;
|
|
415
|
+
profilePictureUrl: z.ZodNullable<z.ZodString>;
|
|
416
|
+
}, z.core.$strip>>;
|
|
417
|
+
replyGuidance: z.ZodOptional<z.ZodString>;
|
|
418
|
+
ui: z.ZodOptional<z.ZodObject<{
|
|
419
|
+
present: z.ZodOptional<z.ZodBoolean>;
|
|
420
|
+
entity: z.ZodOptional<z.ZodString>;
|
|
421
|
+
rowsPath: z.ZodOptional<z.ZodString>;
|
|
422
|
+
layout: z.ZodOptional<z.ZodEnum<{
|
|
423
|
+
list: "list";
|
|
424
|
+
chart: "chart";
|
|
425
|
+
table: "table";
|
|
426
|
+
}>>;
|
|
427
|
+
}, z.core.$strict>>;
|
|
428
|
+
uiHint: z.ZodOptional<z.ZodEnum<{
|
|
429
|
+
list: "list";
|
|
430
|
+
chart: "chart";
|
|
431
|
+
table: "table";
|
|
432
|
+
}>>;
|
|
433
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
434
|
+
name: z.ZodString;
|
|
435
|
+
email: z.ZodString;
|
|
436
|
+
role: z.ZodString;
|
|
437
|
+
membershipKind: z.ZodString;
|
|
438
|
+
profilePictureUrl: z.ZodNullable<z.ZodString>;
|
|
439
|
+
replyGuidance: z.ZodOptional<z.ZodString>;
|
|
440
|
+
ui: z.ZodOptional<z.ZodObject<{
|
|
441
|
+
present: z.ZodOptional<z.ZodBoolean>;
|
|
442
|
+
entity: z.ZodOptional<z.ZodString>;
|
|
443
|
+
rowsPath: z.ZodOptional<z.ZodString>;
|
|
444
|
+
layout: z.ZodOptional<z.ZodEnum<{
|
|
445
|
+
list: "list";
|
|
446
|
+
chart: "chart";
|
|
447
|
+
table: "table";
|
|
448
|
+
}>>;
|
|
449
|
+
}, z.core.$strict>>;
|
|
450
|
+
uiHint: z.ZodOptional<z.ZodEnum<{
|
|
451
|
+
list: "list";
|
|
452
|
+
chart: "chart";
|
|
453
|
+
table: "table";
|
|
454
|
+
}>>;
|
|
455
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
456
|
+
replyGuidance: z.ZodOptional<z.ZodString>;
|
|
457
|
+
ui: z.ZodOptional<z.ZodObject<{
|
|
458
|
+
present: z.ZodOptional<z.ZodBoolean>;
|
|
459
|
+
entity: z.ZodOptional<z.ZodString>;
|
|
460
|
+
rowsPath: z.ZodOptional<z.ZodString>;
|
|
461
|
+
layout: z.ZodOptional<z.ZodEnum<{
|
|
462
|
+
list: "list";
|
|
463
|
+
chart: "chart";
|
|
464
|
+
table: "table";
|
|
465
|
+
}>>;
|
|
466
|
+
}, z.core.$strict>>;
|
|
467
|
+
uiHint: z.ZodOptional<z.ZodEnum<{
|
|
468
|
+
list: "list";
|
|
469
|
+
chart: "chart";
|
|
470
|
+
table: "table";
|
|
471
|
+
}>>;
|
|
472
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
473
|
+
ok: z.ZodLiteral<false>;
|
|
474
|
+
status: z.ZodOptional<z.ZodNumber>;
|
|
475
|
+
message: z.ZodString;
|
|
476
|
+
response: z.ZodOptional<z.ZodUnknown>;
|
|
477
|
+
}, z.core.$strip>]>;
|
|
478
|
+
declare const manageGroupsListOutputSchema: z.ZodObject<{
|
|
479
|
+
groups: z.ZodArray<z.ZodObject<{
|
|
480
|
+
name: z.ZodString;
|
|
481
|
+
slug: z.ZodString;
|
|
482
|
+
description: z.ZodNullable<z.ZodString>;
|
|
483
|
+
memberCount: z.ZodNullable<z.ZodNumber>;
|
|
484
|
+
url: z.ZodString;
|
|
485
|
+
}, z.core.$strip>>;
|
|
486
|
+
replyGuidance: z.ZodOptional<z.ZodString>;
|
|
487
|
+
ui: z.ZodOptional<z.ZodObject<{
|
|
488
|
+
present: z.ZodOptional<z.ZodBoolean>;
|
|
489
|
+
entity: z.ZodOptional<z.ZodString>;
|
|
490
|
+
rowsPath: z.ZodOptional<z.ZodString>;
|
|
491
|
+
layout: z.ZodOptional<z.ZodEnum<{
|
|
492
|
+
list: "list";
|
|
493
|
+
chart: "chart";
|
|
494
|
+
table: "table";
|
|
495
|
+
}>>;
|
|
496
|
+
}, z.core.$strict>>;
|
|
497
|
+
uiHint: z.ZodOptional<z.ZodEnum<{
|
|
498
|
+
list: "list";
|
|
499
|
+
chart: "chart";
|
|
500
|
+
table: "table";
|
|
501
|
+
}>>;
|
|
502
|
+
}, z.core.$strip>;
|
|
503
|
+
declare const manageGroupsDetailOutputSchema: z.ZodObject<{
|
|
504
|
+
name: z.ZodString;
|
|
505
|
+
slug: z.ZodString;
|
|
506
|
+
description: z.ZodNullable<z.ZodString>;
|
|
507
|
+
url: z.ZodString;
|
|
508
|
+
members: z.ZodArray<z.ZodObject<{
|
|
509
|
+
name: z.ZodString;
|
|
510
|
+
email: z.ZodString;
|
|
511
|
+
profilePictureUrl: z.ZodNullable<z.ZodString>;
|
|
512
|
+
}, z.core.$strip>>;
|
|
513
|
+
replyGuidance: z.ZodOptional<z.ZodString>;
|
|
514
|
+
ui: z.ZodOptional<z.ZodObject<{
|
|
515
|
+
present: z.ZodOptional<z.ZodBoolean>;
|
|
516
|
+
entity: z.ZodOptional<z.ZodString>;
|
|
517
|
+
rowsPath: z.ZodOptional<z.ZodString>;
|
|
518
|
+
layout: z.ZodOptional<z.ZodEnum<{
|
|
519
|
+
list: "list";
|
|
520
|
+
chart: "chart";
|
|
521
|
+
table: "table";
|
|
522
|
+
}>>;
|
|
523
|
+
}, z.core.$strict>>;
|
|
524
|
+
uiHint: z.ZodOptional<z.ZodEnum<{
|
|
525
|
+
list: "list";
|
|
526
|
+
chart: "chart";
|
|
527
|
+
table: "table";
|
|
528
|
+
}>>;
|
|
529
|
+
}, z.core.$strip>;
|
|
530
|
+
declare const manageGroupsSummaryOutputSchema: z.ZodObject<{
|
|
531
|
+
name: z.ZodString;
|
|
532
|
+
slug: z.ZodString;
|
|
533
|
+
description: z.ZodNullable<z.ZodString>;
|
|
534
|
+
memberCount: z.ZodNullable<z.ZodNumber>;
|
|
535
|
+
url: z.ZodString;
|
|
536
|
+
replyGuidance: z.ZodOptional<z.ZodString>;
|
|
537
|
+
ui: z.ZodOptional<z.ZodObject<{
|
|
538
|
+
present: z.ZodOptional<z.ZodBoolean>;
|
|
539
|
+
entity: z.ZodOptional<z.ZodString>;
|
|
540
|
+
rowsPath: z.ZodOptional<z.ZodString>;
|
|
541
|
+
layout: z.ZodOptional<z.ZodEnum<{
|
|
542
|
+
list: "list";
|
|
543
|
+
chart: "chart";
|
|
544
|
+
table: "table";
|
|
545
|
+
}>>;
|
|
546
|
+
}, z.core.$strict>>;
|
|
547
|
+
uiHint: z.ZodOptional<z.ZodEnum<{
|
|
548
|
+
list: "list";
|
|
549
|
+
chart: "chart";
|
|
550
|
+
table: "table";
|
|
551
|
+
}>>;
|
|
552
|
+
}, z.core.$strip>;
|
|
553
|
+
declare const manageGroupsOutputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
554
|
+
groups: z.ZodArray<z.ZodObject<{
|
|
555
|
+
name: z.ZodString;
|
|
556
|
+
slug: z.ZodString;
|
|
557
|
+
description: z.ZodNullable<z.ZodString>;
|
|
558
|
+
memberCount: z.ZodNullable<z.ZodNumber>;
|
|
559
|
+
url: z.ZodString;
|
|
560
|
+
}, z.core.$strip>>;
|
|
561
|
+
replyGuidance: z.ZodOptional<z.ZodString>;
|
|
562
|
+
ui: z.ZodOptional<z.ZodObject<{
|
|
563
|
+
present: z.ZodOptional<z.ZodBoolean>;
|
|
564
|
+
entity: z.ZodOptional<z.ZodString>;
|
|
565
|
+
rowsPath: z.ZodOptional<z.ZodString>;
|
|
566
|
+
layout: z.ZodOptional<z.ZodEnum<{
|
|
567
|
+
list: "list";
|
|
568
|
+
chart: "chart";
|
|
569
|
+
table: "table";
|
|
570
|
+
}>>;
|
|
571
|
+
}, z.core.$strict>>;
|
|
572
|
+
uiHint: z.ZodOptional<z.ZodEnum<{
|
|
573
|
+
list: "list";
|
|
574
|
+
chart: "chart";
|
|
575
|
+
table: "table";
|
|
576
|
+
}>>;
|
|
577
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
578
|
+
name: z.ZodString;
|
|
579
|
+
slug: z.ZodString;
|
|
580
|
+
description: z.ZodNullable<z.ZodString>;
|
|
581
|
+
url: z.ZodString;
|
|
582
|
+
members: z.ZodArray<z.ZodObject<{
|
|
583
|
+
name: z.ZodString;
|
|
584
|
+
email: z.ZodString;
|
|
585
|
+
profilePictureUrl: z.ZodNullable<z.ZodString>;
|
|
586
|
+
}, z.core.$strip>>;
|
|
587
|
+
replyGuidance: z.ZodOptional<z.ZodString>;
|
|
588
|
+
ui: z.ZodOptional<z.ZodObject<{
|
|
589
|
+
present: z.ZodOptional<z.ZodBoolean>;
|
|
590
|
+
entity: z.ZodOptional<z.ZodString>;
|
|
591
|
+
rowsPath: z.ZodOptional<z.ZodString>;
|
|
592
|
+
layout: z.ZodOptional<z.ZodEnum<{
|
|
593
|
+
list: "list";
|
|
594
|
+
chart: "chart";
|
|
595
|
+
table: "table";
|
|
596
|
+
}>>;
|
|
597
|
+
}, z.core.$strict>>;
|
|
598
|
+
uiHint: z.ZodOptional<z.ZodEnum<{
|
|
599
|
+
list: "list";
|
|
600
|
+
chart: "chart";
|
|
601
|
+
table: "table";
|
|
602
|
+
}>>;
|
|
603
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
604
|
+
name: z.ZodString;
|
|
605
|
+
slug: z.ZodString;
|
|
606
|
+
description: z.ZodNullable<z.ZodString>;
|
|
607
|
+
memberCount: z.ZodNullable<z.ZodNumber>;
|
|
608
|
+
url: z.ZodString;
|
|
609
|
+
replyGuidance: z.ZodOptional<z.ZodString>;
|
|
610
|
+
ui: z.ZodOptional<z.ZodObject<{
|
|
611
|
+
present: z.ZodOptional<z.ZodBoolean>;
|
|
612
|
+
entity: z.ZodOptional<z.ZodString>;
|
|
613
|
+
rowsPath: z.ZodOptional<z.ZodString>;
|
|
614
|
+
layout: z.ZodOptional<z.ZodEnum<{
|
|
615
|
+
list: "list";
|
|
616
|
+
chart: "chart";
|
|
617
|
+
table: "table";
|
|
618
|
+
}>>;
|
|
619
|
+
}, z.core.$strict>>;
|
|
620
|
+
uiHint: z.ZodOptional<z.ZodEnum<{
|
|
621
|
+
list: "list";
|
|
622
|
+
chart: "chart";
|
|
623
|
+
table: "table";
|
|
624
|
+
}>>;
|
|
625
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
626
|
+
replyGuidance: z.ZodOptional<z.ZodString>;
|
|
627
|
+
ui: z.ZodOptional<z.ZodObject<{
|
|
628
|
+
present: z.ZodOptional<z.ZodBoolean>;
|
|
629
|
+
entity: z.ZodOptional<z.ZodString>;
|
|
630
|
+
rowsPath: z.ZodOptional<z.ZodString>;
|
|
631
|
+
layout: z.ZodOptional<z.ZodEnum<{
|
|
632
|
+
list: "list";
|
|
633
|
+
chart: "chart";
|
|
634
|
+
table: "table";
|
|
635
|
+
}>>;
|
|
636
|
+
}, z.core.$strict>>;
|
|
637
|
+
uiHint: z.ZodOptional<z.ZodEnum<{
|
|
638
|
+
list: "list";
|
|
639
|
+
chart: "chart";
|
|
640
|
+
table: "table";
|
|
641
|
+
}>>;
|
|
642
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
643
|
+
ok: z.ZodLiteral<false>;
|
|
644
|
+
status: z.ZodOptional<z.ZodNumber>;
|
|
645
|
+
message: z.ZodString;
|
|
646
|
+
response: z.ZodOptional<z.ZodUnknown>;
|
|
647
|
+
}, z.core.$strip>]>;
|
|
648
|
+
declare const queryTasksListOutputSchema: z.ZodObject<{
|
|
649
|
+
items: z.ZodArray<z.ZodObject<{
|
|
650
|
+
id: z.ZodString;
|
|
651
|
+
name: z.ZodString;
|
|
652
|
+
status: z.ZodString;
|
|
653
|
+
type: z.ZodNullable<z.ZodString>;
|
|
654
|
+
description: z.ZodNullable<z.ZodString>;
|
|
655
|
+
validUntil: z.ZodNumber;
|
|
656
|
+
createdAt: z.ZodNumber;
|
|
657
|
+
url: z.ZodString;
|
|
658
|
+
threadPriority: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
659
|
+
}, z.core.$strip>>;
|
|
660
|
+
nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
661
|
+
replyGuidance: z.ZodOptional<z.ZodString>;
|
|
662
|
+
ui: z.ZodOptional<z.ZodObject<{
|
|
663
|
+
present: z.ZodOptional<z.ZodBoolean>;
|
|
664
|
+
entity: z.ZodOptional<z.ZodString>;
|
|
665
|
+
rowsPath: z.ZodOptional<z.ZodString>;
|
|
666
|
+
layout: z.ZodOptional<z.ZodEnum<{
|
|
667
|
+
list: "list";
|
|
668
|
+
chart: "chart";
|
|
669
|
+
table: "table";
|
|
670
|
+
}>>;
|
|
671
|
+
}, z.core.$strict>>;
|
|
672
|
+
uiHint: z.ZodOptional<z.ZodEnum<{
|
|
673
|
+
list: "list";
|
|
674
|
+
chart: "chart";
|
|
675
|
+
table: "table";
|
|
676
|
+
}>>;
|
|
677
|
+
}, z.core.$strip>;
|
|
678
|
+
declare const queryTasksDetailOutputSchema: z.ZodObject<{
|
|
679
|
+
id: z.ZodNullable<z.ZodString>;
|
|
680
|
+
status: z.ZodNullable<z.ZodString>;
|
|
681
|
+
type: z.ZodNullable<z.ZodString>;
|
|
682
|
+
name: z.ZodNullable<z.ZodString>;
|
|
683
|
+
description: z.ZodNullable<z.ZodString>;
|
|
684
|
+
validUntil: z.ZodNullable<z.ZodNumber>;
|
|
685
|
+
createdAt: z.ZodNullable<z.ZodNumber>;
|
|
686
|
+
url: z.ZodNullable<z.ZodString>;
|
|
687
|
+
replyGuidance: z.ZodOptional<z.ZodString>;
|
|
688
|
+
ui: z.ZodOptional<z.ZodObject<{
|
|
689
|
+
present: z.ZodOptional<z.ZodBoolean>;
|
|
690
|
+
entity: z.ZodOptional<z.ZodString>;
|
|
691
|
+
rowsPath: z.ZodOptional<z.ZodString>;
|
|
692
|
+
layout: z.ZodOptional<z.ZodEnum<{
|
|
693
|
+
list: "list";
|
|
694
|
+
chart: "chart";
|
|
695
|
+
table: "table";
|
|
696
|
+
}>>;
|
|
697
|
+
}, z.core.$strict>>;
|
|
698
|
+
uiHint: z.ZodOptional<z.ZodEnum<{
|
|
699
|
+
list: "list";
|
|
700
|
+
chart: "chart";
|
|
701
|
+
table: "table";
|
|
702
|
+
}>>;
|
|
703
|
+
}, z.core.$strip>;
|
|
704
|
+
declare const queryTasksOutputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
705
|
+
items: z.ZodArray<z.ZodObject<{
|
|
706
|
+
id: z.ZodString;
|
|
707
|
+
name: z.ZodString;
|
|
708
|
+
status: z.ZodString;
|
|
709
|
+
type: z.ZodNullable<z.ZodString>;
|
|
710
|
+
description: z.ZodNullable<z.ZodString>;
|
|
711
|
+
validUntil: z.ZodNumber;
|
|
712
|
+
createdAt: z.ZodNumber;
|
|
713
|
+
url: z.ZodString;
|
|
714
|
+
threadPriority: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
715
|
+
}, z.core.$strip>>;
|
|
716
|
+
nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
717
|
+
replyGuidance: z.ZodOptional<z.ZodString>;
|
|
718
|
+
ui: z.ZodOptional<z.ZodObject<{
|
|
719
|
+
present: z.ZodOptional<z.ZodBoolean>;
|
|
720
|
+
entity: z.ZodOptional<z.ZodString>;
|
|
721
|
+
rowsPath: z.ZodOptional<z.ZodString>;
|
|
722
|
+
layout: z.ZodOptional<z.ZodEnum<{
|
|
723
|
+
list: "list";
|
|
724
|
+
chart: "chart";
|
|
725
|
+
table: "table";
|
|
726
|
+
}>>;
|
|
727
|
+
}, z.core.$strict>>;
|
|
728
|
+
uiHint: z.ZodOptional<z.ZodEnum<{
|
|
729
|
+
list: "list";
|
|
730
|
+
chart: "chart";
|
|
731
|
+
table: "table";
|
|
732
|
+
}>>;
|
|
733
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
734
|
+
id: z.ZodNullable<z.ZodString>;
|
|
735
|
+
status: z.ZodNullable<z.ZodString>;
|
|
736
|
+
type: z.ZodNullable<z.ZodString>;
|
|
737
|
+
name: z.ZodNullable<z.ZodString>;
|
|
738
|
+
description: z.ZodNullable<z.ZodString>;
|
|
739
|
+
validUntil: z.ZodNullable<z.ZodNumber>;
|
|
740
|
+
createdAt: z.ZodNullable<z.ZodNumber>;
|
|
741
|
+
url: z.ZodNullable<z.ZodString>;
|
|
742
|
+
replyGuidance: z.ZodOptional<z.ZodString>;
|
|
743
|
+
ui: z.ZodOptional<z.ZodObject<{
|
|
744
|
+
present: z.ZodOptional<z.ZodBoolean>;
|
|
745
|
+
entity: z.ZodOptional<z.ZodString>;
|
|
746
|
+
rowsPath: z.ZodOptional<z.ZodString>;
|
|
747
|
+
layout: z.ZodOptional<z.ZodEnum<{
|
|
748
|
+
list: "list";
|
|
749
|
+
chart: "chart";
|
|
750
|
+
table: "table";
|
|
751
|
+
}>>;
|
|
752
|
+
}, z.core.$strict>>;
|
|
753
|
+
uiHint: z.ZodOptional<z.ZodEnum<{
|
|
754
|
+
list: "list";
|
|
755
|
+
chart: "chart";
|
|
756
|
+
table: "table";
|
|
757
|
+
}>>;
|
|
758
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
759
|
+
ok: z.ZodLiteral<false>;
|
|
760
|
+
status: z.ZodOptional<z.ZodNumber>;
|
|
761
|
+
message: z.ZodString;
|
|
762
|
+
response: z.ZodOptional<z.ZodUnknown>;
|
|
763
|
+
}, z.core.$strip>]>;
|
|
764
|
+
declare const assignTasksOutputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
765
|
+
results: z.ZodArray<z.ZodObject<{
|
|
766
|
+
id: z.ZodString;
|
|
767
|
+
name: z.ZodString;
|
|
768
|
+
status: z.ZodString;
|
|
769
|
+
url: z.ZodString;
|
|
770
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
771
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
772
|
+
}, z.core.$strip>>;
|
|
773
|
+
replyGuidance: z.ZodOptional<z.ZodString>;
|
|
774
|
+
ui: z.ZodOptional<z.ZodObject<{
|
|
775
|
+
present: z.ZodOptional<z.ZodBoolean>;
|
|
776
|
+
entity: z.ZodOptional<z.ZodString>;
|
|
777
|
+
rowsPath: z.ZodOptional<z.ZodString>;
|
|
778
|
+
layout: z.ZodOptional<z.ZodEnum<{
|
|
779
|
+
list: "list";
|
|
780
|
+
chart: "chart";
|
|
781
|
+
table: "table";
|
|
782
|
+
}>>;
|
|
783
|
+
}, z.core.$strict>>;
|
|
784
|
+
uiHint: z.ZodOptional<z.ZodEnum<{
|
|
785
|
+
list: "list";
|
|
786
|
+
chart: "chart";
|
|
787
|
+
table: "table";
|
|
788
|
+
}>>;
|
|
789
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
790
|
+
ok: z.ZodLiteral<false>;
|
|
791
|
+
status: z.ZodOptional<z.ZodNumber>;
|
|
792
|
+
message: z.ZodString;
|
|
793
|
+
response: z.ZodOptional<z.ZodUnknown>;
|
|
794
|
+
}, z.core.$strip>]>;
|
|
795
|
+
declare const workspaceUsageEntitySchema: z.ZodObject<{
|
|
796
|
+
workspace: z.ZodString;
|
|
797
|
+
plan: z.ZodString;
|
|
798
|
+
planType: z.ZodString;
|
|
799
|
+
trialState: z.ZodString;
|
|
800
|
+
daysRemaining: z.ZodNullable<z.ZodNumber>;
|
|
801
|
+
isPaidPro: z.ZodBoolean;
|
|
802
|
+
subscriptionStatus: z.ZodString;
|
|
803
|
+
tasksToday: z.ZodString;
|
|
804
|
+
tasksResetAt: z.ZodString;
|
|
805
|
+
openTasks: z.ZodNumber;
|
|
806
|
+
totalTasks: z.ZodNumber;
|
|
807
|
+
seats: z.ZodString;
|
|
808
|
+
groups: z.ZodString;
|
|
809
|
+
apiKeys: z.ZodString;
|
|
810
|
+
rateLimitPerSecond: z.ZodNumber;
|
|
811
|
+
}, z.core.$strip>;
|
|
812
|
+
declare const getWorkspaceUsageOutputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
813
|
+
usage: z.ZodObject<{
|
|
814
|
+
workspace: z.ZodString;
|
|
815
|
+
plan: z.ZodString;
|
|
816
|
+
planType: z.ZodString;
|
|
817
|
+
trialState: z.ZodString;
|
|
818
|
+
daysRemaining: z.ZodNullable<z.ZodNumber>;
|
|
819
|
+
isPaidPro: z.ZodBoolean;
|
|
820
|
+
subscriptionStatus: z.ZodString;
|
|
821
|
+
tasksToday: z.ZodString;
|
|
822
|
+
tasksResetAt: z.ZodString;
|
|
823
|
+
openTasks: z.ZodNumber;
|
|
824
|
+
totalTasks: z.ZodNumber;
|
|
825
|
+
seats: z.ZodString;
|
|
826
|
+
groups: z.ZodString;
|
|
827
|
+
apiKeys: z.ZodString;
|
|
828
|
+
rateLimitPerSecond: z.ZodNumber;
|
|
829
|
+
}, z.core.$strip>;
|
|
830
|
+
replyGuidance: z.ZodOptional<z.ZodString>;
|
|
831
|
+
ui: z.ZodOptional<z.ZodObject<{
|
|
832
|
+
present: z.ZodOptional<z.ZodBoolean>;
|
|
833
|
+
entity: z.ZodOptional<z.ZodString>;
|
|
834
|
+
rowsPath: z.ZodOptional<z.ZodString>;
|
|
835
|
+
layout: z.ZodOptional<z.ZodEnum<{
|
|
836
|
+
list: "list";
|
|
837
|
+
chart: "chart";
|
|
838
|
+
table: "table";
|
|
839
|
+
}>>;
|
|
840
|
+
}, z.core.$strict>>;
|
|
841
|
+
uiHint: z.ZodOptional<z.ZodEnum<{
|
|
842
|
+
list: "list";
|
|
843
|
+
chart: "chart";
|
|
844
|
+
table: "table";
|
|
845
|
+
}>>;
|
|
846
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
847
|
+
ok: z.ZodLiteral<false>;
|
|
848
|
+
status: z.ZodOptional<z.ZodNumber>;
|
|
849
|
+
message: z.ZodString;
|
|
850
|
+
response: z.ZodOptional<z.ZodUnknown>;
|
|
851
|
+
}, z.core.$strip>]>;
|
|
852
|
+
type ProductEntityRow = z.infer<typeof productEntityRowSchema>;
|
|
853
|
+
type MetricPointEntityRow = z.infer<typeof metricPointEntityRowSchema>;
|
|
854
|
+
type MemberEntityRow = z.infer<typeof memberEntityRowSchema>;
|
|
855
|
+
type TaskEntityRow = z.infer<typeof taskEntityRowSchema>;
|
|
856
|
+
type GroupEntityRow = z.infer<typeof groupEntityRowSchema>;
|
|
857
|
+
type StatusEntityRow = z.infer<typeof statusEntityRowSchema>;
|
|
858
|
+
|
|
859
|
+
declare const robotRockWebhookPayloadBodySchema: z.ZodObject<{
|
|
860
|
+
taskId: z.ZodString;
|
|
861
|
+
action: z.ZodObject<{
|
|
862
|
+
id: z.ZodString;
|
|
863
|
+
title: z.ZodString;
|
|
864
|
+
data: z.ZodUnknown;
|
|
865
|
+
}, z.core.$strip>;
|
|
866
|
+
handledBy: z.ZodOptional<z.ZodString>;
|
|
867
|
+
handledAt: z.ZodString;
|
|
868
|
+
handlerType: z.ZodString;
|
|
869
|
+
}, z.core.$strip>;
|
|
870
|
+
type RobotRockWebhookPayload = z.infer<typeof robotRockWebhookPayloadBodySchema> & {
|
|
871
|
+
headers: Record<string, string>;
|
|
872
|
+
};
|
|
873
|
+
type RobotRockWebhookErrorCode = "MISSING_WEBHOOK_SECRET" | "MISSING_SIGNATURE" | "INVALID_SIGNATURE" | "INVALID_JSON" | "INVALID_PAYLOAD";
|
|
874
|
+
declare class RobotRockWebhookError extends Error {
|
|
875
|
+
readonly code: RobotRockWebhookErrorCode;
|
|
876
|
+
readonly details?: unknown | undefined;
|
|
877
|
+
constructor(message: string, code: RobotRockWebhookErrorCode, details?: unknown | undefined);
|
|
878
|
+
}
|
|
879
|
+
interface VerifyRobotRockWebhookOptions {
|
|
880
|
+
/**
|
|
881
|
+
* Override shared secret (defaults to ROBOTROCK_WEBHOOK_SECRET).
|
|
882
|
+
* Keep undefined in production to enforce the canonical env var.
|
|
883
|
+
*/
|
|
884
|
+
secret?: string;
|
|
885
|
+
/**
|
|
886
|
+
* Resolve the tenant signing secret by public task id (hosted MCP uses Convex).
|
|
887
|
+
* Used when secret is not passed explicitly.
|
|
888
|
+
*/
|
|
889
|
+
resolveSecret?: (taskId: string) => Promise<string | undefined>;
|
|
890
|
+
/** Signature header to read. @default "x-robotrock-signature" */
|
|
891
|
+
signatureHeader?: string;
|
|
892
|
+
}
|
|
893
|
+
/**
|
|
894
|
+
* Verify a RobotRock webhook request and return a validated payload.
|
|
895
|
+
* Throws RobotRockWebhookError with machine-readable `code` for audit logging.
|
|
896
|
+
*/
|
|
897
|
+
declare function verifyRobotRockWebhook(request: Request, options?: VerifyRobotRockWebhookOptions): Promise<RobotRockWebhookPayload>;
|
|
898
|
+
|
|
899
|
+
/** Build the assistant resume prompt when an inbox task linked to a chat is handled. */
|
|
900
|
+
declare function buildTaskHandledResumeMessage(payload: RobotRockWebhookPayload): string;
|
|
901
|
+
|
|
902
|
+
/** Hook slug advertised in GET /eve/v1/info for RobotRock-ready auto-detection. */
|
|
903
|
+
declare const ROBOTROCK_READY_HOOK_SLUG = "robotrock-ready";
|
|
904
|
+
|
|
905
|
+
export { isAgentAdminErrorResult as $, agentAdminErrorResultSchema as A, agentAdminMutationResultSchema as B, type ChatToolAuditInput as C, DEFAULT_TOOL_DISPLAY_LABELS as D, EVE_INPUT_OTHER_CHOICE_ID as E, type FormatToolListResultOptions as F, type GroupEntityRow as G, assignTasksOutputSchema as H, buildChatToolAuditPayload as I, buildEveInputAuditSubmissionData as J, buildTenantGroupUrl as K, buildTenantTaskUrl as L, type MemberEntityRow as M, eveInputResponseToActionSubmission as N, formatToolListResult as O, type ProductEntityRow as P, formatToolObjectResult as Q, ROBOTROCK_READY_HOOK_SLUG as R, type StatusEntityRow as S, type TaskEntityRow as T, formatToolQueryResult as U, type VerifyRobotRockWebhookOptions as V, generateImageOutputSchema as W, generateRandomChartOutputSchema as X, getWorkspaceUsageOutputSchema as Y, groupDetailEntitySchema as Z, groupEntityRowSchema as _, EVE_INPUT_OTHER_CHOICE_LABEL as a, isEveApprovalInputRequest as a0, manageGroupsDetailOutputSchema as a1, manageGroupsListOutputSchema as a2, manageGroupsOutputSchema as a3, manageGroupsSummaryOutputSchema as a4, manageTeamMembersDetailOutputSchema as a5, manageTeamMembersListOutputSchema as a6, manageTeamMembersOutputSchema as a7, memberEntityRowSchema as a8, metricPointEntityRowSchema as a9, parseEveAskQuestionToolOutput as aa, productEntityRowSchema as ab, queryTasksDetailOutputSchema as ac, queryTasksListOutputSchema as ad, queryTasksOutputSchema as ae, resolveEveFreeformTextToInputResponse as af, sanitizeToolAuditInput as ag, searchProductsOutputSchema as ah, shouldAuditToolExecution as ai, statusEntityRowSchema as aj, taskEntityRowSchema as ak, toolDisplayResult as al, toolResultUiMetaSchema as am, workspaceUsageEntitySchema as an, EVE_INPUT_SUBMIT_ACTION_ID as b, type EveInputOption as c, type EveInputRequest as d, type EveInputRequestDisplay as e, type EveInputResponse as f, RobotRockWebhookError as g, type RobotRockWebhookErrorCode as h, type RobotRockWebhookPayload as i, buildTaskHandledResumeMessage as j, eveInputRequestTaskType as k, eveInputRequestToActions as l, formatEveApprovalTitle as m, getToolDisplayLabel as n, normalizeEveSelectFormData as o, type ChatToolAuditPayload as p, type EveInputActionSubmission as q, resolveEveInputDisplay as r, setToolDisplayLabelOverrides as s, taskHandledToEveInputResponse as t, type EveInputAuditContext as u, verifyRobotRockWebhook as v, type FormatToolObjectResultOptions as w, type FormatToolQueryResultOptions as x, type MetricPointEntityRow as y, type ToolDisplayResultOptions as z };
|