robotrock 1.0.0 → 1.3.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.
Files changed (71) hide show
  1. package/dist/agent-admin.d.ts +82 -0
  2. package/dist/agent-admin.js +938 -0
  3. package/dist/agent-admin.js.map +1 -0
  4. package/dist/ai/index.d.ts +6 -5
  5. package/dist/ai/index.js +682 -225
  6. package/dist/ai/index.js.map +1 -1
  7. package/dist/ai/trigger.d.ts +4 -3
  8. package/dist/ai/trigger.js +682 -225
  9. package/dist/ai/trigger.js.map +1 -1
  10. package/dist/ai/workflow.d.ts +4 -3
  11. package/dist/ai/workflow.js +679 -222
  12. package/dist/ai/workflow.js.map +1 -1
  13. package/dist/auth-headers-qL-ZeEtd.d.ts +13 -0
  14. package/dist/{client-CzVmjXpz.d.ts → client-YO9Y1rkH.d.ts} +51 -10
  15. package/dist/eve/agent/index.d.ts +164 -0
  16. package/dist/eve/agent/index.js +2854 -0
  17. package/dist/eve/agent/index.js.map +1 -0
  18. package/dist/eve/index.d.ts +8 -0
  19. package/dist/eve/index.js +639 -0
  20. package/dist/eve/index.js.map +1 -0
  21. package/dist/eve/tools/admin/assign-tasks.d.ts +39 -0
  22. package/dist/eve/tools/admin/assign-tasks.js +1060 -0
  23. package/dist/eve/tools/admin/assign-tasks.js.map +1 -0
  24. package/dist/eve/tools/admin/manage-groups.d.ts +53 -0
  25. package/dist/eve/tools/admin/manage-groups.js +1218 -0
  26. package/dist/eve/tools/admin/manage-groups.js.map +1 -0
  27. package/dist/eve/tools/admin/manage-team-members.d.ts +45 -0
  28. package/dist/eve/tools/admin/manage-team-members.js +1160 -0
  29. package/dist/eve/tools/admin/manage-team-members.js.map +1 -0
  30. package/dist/eve/tools/admin/query-tasks.d.ts +71 -0
  31. package/dist/eve/tools/admin/query-tasks.js +1161 -0
  32. package/dist/eve/tools/admin/query-tasks.js.map +1 -0
  33. package/dist/eve/tools/catalog/search-products.d.ts +57 -0
  34. package/dist/eve/tools/catalog/search-products.js +94 -0
  35. package/dist/eve/tools/catalog/search-products.js.map +1 -0
  36. package/dist/eve/tools/identity/index.d.ts +8 -0
  37. package/dist/eve/tools/identity/index.js +234 -0
  38. package/dist/eve/tools/identity/index.js.map +1 -0
  39. package/dist/eve/tools/identity/my-access.d.ts +18 -0
  40. package/dist/eve/tools/identity/my-access.js +187 -0
  41. package/dist/eve/tools/identity/my-access.js.map +1 -0
  42. package/dist/eve/tools/identity/whoami.d.ts +44 -0
  43. package/dist/eve/tools/identity/whoami.js +117 -0
  44. package/dist/eve/tools/identity/whoami.js.map +1 -0
  45. package/dist/eve/tools/inbox/create-task.d.ts +114 -0
  46. package/dist/eve/tools/inbox/create-task.js +1785 -0
  47. package/dist/eve/tools/inbox/create-task.js.map +1 -0
  48. package/dist/eve/tools/inbox/index.d.ts +6 -0
  49. package/dist/eve/tools/inbox/index.js +1785 -0
  50. package/dist/eve/tools/inbox/index.js.map +1 -0
  51. package/dist/eve/tools/index.d.ts +24 -0
  52. package/dist/eve/tools/index.js +2848 -0
  53. package/dist/eve/tools/index.js.map +1 -0
  54. package/dist/index-DoQN48Bm.d.ts +200 -0
  55. package/dist/index.d.ts +8 -44
  56. package/dist/index.js +842 -137
  57. package/dist/index.js.map +1 -1
  58. package/dist/schemas/index.d.ts +6 -1
  59. package/dist/schemas/index.js +251 -59
  60. package/dist/schemas/index.js.map +1 -1
  61. package/dist/tenant-5YKDrdC-.d.ts +23 -0
  62. package/dist/{tool-approval-bridge-DbwUEBHv.d.ts → tool-approval-bridge-aMA79Z1B.d.ts} +1 -1
  63. package/dist/tool-reply-guidance-C3qrT1In.d.ts +25 -0
  64. package/dist/trigger/index.d.ts +2 -1
  65. package/dist/trigger/index.js +543 -127
  66. package/dist/trigger/index.js.map +1 -1
  67. package/dist/{trigger-BCKBbAV7.d.ts → trigger-CXrbKVCL.d.ts} +2 -2
  68. package/dist/workflow/index.d.ts +2 -1
  69. package/dist/workflow/index.js +543 -127
  70. package/dist/workflow/index.js.map +1 -1
  71. package/package.json +69 -8
@@ -0,0 +1,200 @@
1
+ import { S as SendToHumanActionInput } from './client-YO9Y1rkH.js';
2
+ import { UiSchema, ToolDisplayEnvelope } from '@robotrock/core/schemas';
3
+ import { T as ToolResultWithReplyGuidance } from './tool-reply-guidance-C3qrT1In.js';
4
+ import * as _robotrock_core from '@robotrock/core';
5
+ import { z } from 'zod';
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
+ /** Whether a completed tool call should appear on the RobotRock audit trail. */
99
+ declare function shouldAuditToolExecution(toolName: string, input: ChatToolAuditInput): boolean;
100
+ /** Keep only fields useful for audit display (no secrets or large blobs). */
101
+ declare function sanitizeToolAuditInput(input: ChatToolAuditInput): ChatToolAuditInput;
102
+ declare function buildChatToolAuditPayload(input: {
103
+ toolCallId: string;
104
+ toolName: string;
105
+ toolInput: ChatToolAuditInput;
106
+ status: "completed" | "failed" | "rejected";
107
+ error?: string;
108
+ isError?: boolean;
109
+ }): ChatToolAuditPayload | null;
110
+
111
+ /** Default per-tool labels for common Eve demo/integration tools. */
112
+ declare const DEFAULT_TOOL_DISPLAY_LABELS: Readonly<Record<string, string>>;
113
+ /** Register additional or overriding tool display labels at runtime. */
114
+ declare function setToolDisplayLabelOverrides(overrides: Readonly<Record<string, string>>): void;
115
+ /** Resolve a user-facing label for a tool slug. */
116
+ declare function getToolDisplayLabel(toolName: string): string;
117
+ /** Format an Eve input request prompt for human-facing approval UIs. */
118
+ declare function formatEveApprovalTitle(request: EveInputRequest, toolName?: string): string;
119
+
120
+ type ToolDisplayResultOptions = {
121
+ widget?: string;
122
+ title?: string;
123
+ description?: string;
124
+ ui?: Record<string, UiSchema>;
125
+ };
126
+ /**
127
+ * Wrap tool execute output with optional dashboard display hints.
128
+ * Agents return plain JSON by default; use this when schema-driven widgets help.
129
+ */
130
+ declare function toolDisplayResult<T extends Record<string, unknown>>(data: T, options?: ToolDisplayResultOptions): ToolDisplayEnvelope<T>;
131
+
132
+ type FormatToolObjectResultOptions = {
133
+ title?: string;
134
+ description?: string;
135
+ ui?: Record<string, UiSchema>;
136
+ replyGuidance: string;
137
+ };
138
+ type FormatToolListResultOptions = {
139
+ title: string;
140
+ itemUi?: UiSchema;
141
+ /** Composite widget for each row (uses list layout instead of table). */
142
+ itemWidget?: string;
143
+ replyGuidance: string;
144
+ };
145
+ /** Wrap a flat object for schema-driven chat rendering. */
146
+ declare function formatToolObjectResult(data: Record<string, unknown>, options: FormatToolObjectResultOptions): ToolResultWithReplyGuidance<_robotrock_core.ToolDisplayEnvelope<Record<string, unknown>>>;
147
+ /** Wrap an array field as a list widget inside a display envelope. */
148
+ declare function formatToolListResult(listKey: string, items: Record<string, unknown>[], options: FormatToolListResultOptions): ToolResultWithReplyGuidance<_robotrock_core.ToolDisplayEnvelope<Record<string, unknown>>>;
149
+ declare function isAgentAdminErrorResult(result: unknown): result is {
150
+ ok: false;
151
+ message: string;
152
+ };
153
+
154
+ declare const robotRockWebhookPayloadBodySchema: z.ZodObject<{
155
+ taskId: z.ZodString;
156
+ action: z.ZodObject<{
157
+ id: z.ZodString;
158
+ title: z.ZodString;
159
+ data: z.ZodUnknown;
160
+ }, z.core.$strip>;
161
+ handledBy: z.ZodOptional<z.ZodString>;
162
+ handledAt: z.ZodString;
163
+ handlerType: z.ZodString;
164
+ }, z.core.$strip>;
165
+ type RobotRockWebhookPayload = z.infer<typeof robotRockWebhookPayloadBodySchema> & {
166
+ headers: Record<string, string>;
167
+ };
168
+ type RobotRockWebhookErrorCode = "MISSING_WEBHOOK_SECRET" | "MISSING_SIGNATURE" | "INVALID_SIGNATURE" | "INVALID_JSON" | "INVALID_PAYLOAD";
169
+ declare class RobotRockWebhookError extends Error {
170
+ readonly code: RobotRockWebhookErrorCode;
171
+ readonly details?: unknown | undefined;
172
+ constructor(message: string, code: RobotRockWebhookErrorCode, details?: unknown | undefined);
173
+ }
174
+ interface VerifyRobotRockWebhookOptions {
175
+ /**
176
+ * Override shared secret (defaults to ROBOTROCK_WEBHOOK_SECRET).
177
+ * Keep undefined in production to enforce the canonical env var.
178
+ */
179
+ secret?: string;
180
+ /**
181
+ * Resolve the tenant signing secret by public task id (hosted MCP uses Convex).
182
+ * Used when secret is not passed explicitly.
183
+ */
184
+ resolveSecret?: (taskId: string) => Promise<string | undefined>;
185
+ /** Signature header to read. @default "x-robotrock-signature" */
186
+ signatureHeader?: string;
187
+ }
188
+ /**
189
+ * Verify a RobotRock webhook request and return a validated payload.
190
+ * Throws RobotRockWebhookError with machine-readable `code` for audit logging.
191
+ */
192
+ declare function verifyRobotRockWebhook(request: Request, options?: VerifyRobotRockWebhookOptions): Promise<RobotRockWebhookPayload>;
193
+
194
+ /** Build the assistant resume prompt when an inbox task linked to a chat is handled. */
195
+ declare function buildTaskHandledResumeMessage(payload: RobotRockWebhookPayload): string;
196
+
197
+ /** Hook slug advertised in GET /eve/v1/info for RobotRock-ready auto-detection. */
198
+ declare const ROBOTROCK_READY_HOOK_SLUG = "robotrock-ready";
199
+
200
+ export { formatToolListResult as A, formatToolObjectResult as B, type ChatToolAuditInput as C, DEFAULT_TOOL_DISPLAY_LABELS as D, EVE_INPUT_OTHER_CHOICE_ID as E, type FormatToolListResultOptions as F, isAgentAdminErrorResult as G, isEveApprovalInputRequest as H, parseEveAskQuestionToolOutput as I, resolveEveFreeformTextToInputResponse as J, sanitizeToolAuditInput as K, shouldAuditToolExecution as L, toolDisplayResult as M, ROBOTROCK_READY_HOOK_SLUG as R, type ToolDisplayResultOptions as T, type VerifyRobotRockWebhookOptions as V, EVE_INPUT_OTHER_CHOICE_LABEL as a, 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, buildChatToolAuditPayload as x, buildEveInputAuditSubmissionData as y, eveInputResponseToActionSubmission as z };
package/dist/index.d.ts CHANGED
@@ -1,10 +1,14 @@
1
- import { R as RobotRock, b as RobotRockConfig } from './client-CzVmjXpz.js';
2
- export { C as ChatsApi, c as CloseChatOptions, d as CreateChatInput, e as CreateChatResult, f as CreatedChat, g as RobotRockAdvancedConfig, h as RobotRockPollingClientConfig, i as RobotRockPollingOptions, j as RobotRockWebhookClientConfig, k as RobotRockWebhookConfig, S as SendToHumanActionInput, a as SendToHumanInput, l as SendToHumanResult, m as SendToHumanValidUntil, n as SendUpdateInput, T as TasksApi, o as attachWebhookToActions, p as createChatsApi, q as createClient } from './client-CzVmjXpz.js';
1
+ import { R as RobotRock, b as RobotRockConfig } from './client-YO9Y1rkH.js';
2
+ export { C as ChatsApi, c as CloseChatOptions, d as CreateChatInput, e as CreateChatResult, f as CreatedChat, L as ListTasksInput, g as RobotRockAdvancedConfig, h as RobotRockPollingClientConfig, i as RobotRockPollingOptions, j as RobotRockWebhookClientConfig, k as RobotRockWebhookConfig, l as SearchTasksInput, S as SendToHumanActionInput, a as SendToHumanInput, m as SendToHumanResult, n as SendToHumanValidUntil, o as SendUpdateInput, p as StageChatHitlRequestsInput, q as StagedChatHitlRequest, T as TasksApi, r as attachWebhookToActions, s as createChatsApi, t as createClient } from './client-YO9Y1rkH.js';
3
3
  export { AgentChatSeedMessage, CreateAgentChatBody, CreateAgentChatBodyInput, agentChatSeedMessageSchema, createAgentChatBodySchema } from '@robotrock/core';
4
4
  import { Task, DiscriminatedApprovalResult } from './schemas/index.js';
5
5
  export { AgentTelemetry, AgentTelemetryInput, ApprovalResult, AssignToInput, CreateTaskBody, CreateTaskBodyInput, DEFAULT_TASK_PRIORITY, DEFAULT_THREAD_UPDATE_STATUS, Handler, InferActionData, LOWEST_TASK_PRIORITY, TASK_CONTEXT_FORMAT_VERSION, TASK_PRIORITY_RANK, TaskAction, TaskContext, TaskContextFormatVersion, TaskContextInput, TaskPriority, TaskResponse, TaskResult, TaskStatus, ThreadUpdate, ThreadUpdateBody, ThreadUpdateBodyInput, ThreadUpdateInput, ThreadUpdateResponse, ThreadUpdateSource, ThreadUpdateStatus, TriggerHandler, TupleElementIndices, WebhookHandler, agentTelemetrySchema, assignToSchema, createTaskBodySchema, taskContextSchema, taskPriorities, taskPrioritySchema, threadUpdateBodySchema, threadUpdateInputSchema, threadUpdateStatusSchema, threadUpdateStatuses } from './schemas/index.js';
6
- import { z } from 'zod';
6
+ export { D as DEFAULT_TOOL_DISPLAY_LABELS, E as EVE_INPUT_OTHER_CHOICE_ID, a as EVE_INPUT_OTHER_CHOICE_LABEL, b as EVE_INPUT_SUBMIT_ACTION_ID, c as EveInputOption, d as EveInputRequest, e as EveInputRequestDisplay, f as EveInputResponse, R as ROBOTROCK_READY_HOOK_SLUG, g as RobotRockWebhookError, h as RobotRockWebhookErrorCode, i as RobotRockWebhookPayload, V as VerifyRobotRockWebhookOptions, j as buildTaskHandledResumeMessage, k as eveInputRequestTaskType, l as eveInputRequestToActions, m as formatEveApprovalTitle, n as getToolDisplayLabel, o as normalizeEveSelectFormData, r as resolveEveInputDisplay, s as setToolDisplayLabelOverrides, t as taskHandledToEveInputResponse, v as verifyRobotRockWebhook } from './index-DoQN48Bm.js';
7
7
  export { E as EndRobotRockHumanWaitSpanOptions, b as RobotRockCreatedTask, c as RobotRockHandledOtelInput, a as RobotRockHandlerWebhookPayload, d as RobotRockHumanWaitOtelSession, e as RobotRockOtelHandle, f as RobotRockOtelRecordOptions, R as RobotRockPlatformOtelFields, g as beginRobotRockHumanWaitOtel, h as captureRobotRockOtelHandle, i as endRobotRockHumanWaitSpan, j as finishRobotRockHumanWaitOtel, r as recordRobotRockHandledToOtel, s as shouldRecordRobotRockOtel, k as startRobotRockHumanWaitSpan, l as stripPlatformOtelFields, t as toRobotRockHandledOtelInput } from './otel-platform-DzHyHkGk.js';
8
+ import 'zod';
9
+ import './auth-headers-qL-ZeEtd.js';
10
+ import '@robotrock/core/schemas';
11
+ import './tool-reply-guidance-C3qrT1In.js';
8
12
  import '@opentelemetry/api';
9
13
 
10
14
  declare class RobotRockError extends Error {
@@ -105,44 +109,4 @@ declare function assertNotPlatformRejectRequest(actionId: string, data?: unknown
105
109
  */
106
110
  declare function shouldStopAgentForHandledAction(actionId: string | undefined): boolean;
107
111
 
108
- declare const robotRockWebhookPayloadBodySchema: z.ZodObject<{
109
- taskId: z.ZodString;
110
- action: z.ZodObject<{
111
- id: z.ZodString;
112
- title: z.ZodString;
113
- data: z.ZodUnknown;
114
- }, z.core.$strip>;
115
- handledBy: z.ZodOptional<z.ZodString>;
116
- handledAt: z.ZodString;
117
- handlerType: z.ZodString;
118
- }, z.core.$strip>;
119
- type RobotRockWebhookPayload = z.infer<typeof robotRockWebhookPayloadBodySchema> & {
120
- headers: Record<string, string>;
121
- };
122
- type RobotRockWebhookErrorCode = "MISSING_WEBHOOK_SECRET" | "MISSING_SIGNATURE" | "INVALID_SIGNATURE" | "INVALID_JSON" | "INVALID_PAYLOAD";
123
- declare class RobotRockWebhookError extends Error {
124
- readonly code: RobotRockWebhookErrorCode;
125
- readonly details?: unknown | undefined;
126
- constructor(message: string, code: RobotRockWebhookErrorCode, details?: unknown | undefined);
127
- }
128
- interface VerifyRobotRockWebhookOptions {
129
- /**
130
- * Override shared secret (defaults to ROBOTROCK_WEBHOOK_SECRET).
131
- * Keep undefined in production to enforce the canonical env var.
132
- */
133
- secret?: string;
134
- /**
135
- * Resolve the tenant signing secret by public task id (hosted MCP uses Convex).
136
- * Used when secret is not passed explicitly.
137
- */
138
- resolveSecret?: (taskId: string) => Promise<string | undefined>;
139
- /** Signature header to read. @default "x-robotrock-signature" */
140
- signatureHeader?: string;
141
- }
142
- /**
143
- * Verify a RobotRock webhook request and return a validated payload.
144
- * Throws RobotRockWebhookError with machine-readable `code` for audit logging.
145
- */
146
- declare function verifyRobotRockWebhook(request: Request, options?: VerifyRobotRockWebhookOptions): Promise<RobotRockWebhookPayload>;
147
-
148
- export { DiscriminatedApprovalResult, type HandledActionInput, type HandledOutcome, PLATFORM_MARK_DONE_ACTION_ID, PLATFORM_MARK_DONE_ACTION_TITLE, PLATFORM_REJECT_REQUEST_ACTION_ID, PLATFORM_REJECT_REQUEST_ACTION_TITLE, PLATFORM_TERMINAL_ACTION_IDS, type PlatformMarkDoneOutcome, type PlatformRejectRequestData, PlatformRejectRequestError, type PlatformRejectRequestOutcome, type PlatformTerminalActionId, RobotRock, RobotRockConfig, RobotRockError, RobotRockWebhookError, type RobotRockWebhookErrorCode, type RobotRockWebhookPayload, Task, type TaskActionOutcome, TaskExpiredError, TaskTimeoutError, type VerifyRobotRockWebhookOptions, assertNotPlatformRejectRequest, isPlatformMarkDoneAction, isPlatformRejectRequestAction, isPlatformTerminalAction, parseHandledOutcome, parsePlatformRejectRequestData, resolveRobotRockClient, resolveRobotRockConfig, shouldStopAgentForHandledAction, toDiscriminatedApprovalResult, verifyRobotRockWebhook };
112
+ export { DiscriminatedApprovalResult, type HandledActionInput, type HandledOutcome, PLATFORM_MARK_DONE_ACTION_ID, PLATFORM_MARK_DONE_ACTION_TITLE, PLATFORM_REJECT_REQUEST_ACTION_ID, PLATFORM_REJECT_REQUEST_ACTION_TITLE, PLATFORM_TERMINAL_ACTION_IDS, type PlatformMarkDoneOutcome, type PlatformRejectRequestData, PlatformRejectRequestError, type PlatformRejectRequestOutcome, type PlatformTerminalActionId, RobotRock, RobotRockConfig, RobotRockError, Task, type TaskActionOutcome, TaskExpiredError, TaskTimeoutError, assertNotPlatformRejectRequest, isPlatformMarkDoneAction, isPlatformRejectRequestAction, isPlatformTerminalAction, parseHandledOutcome, parsePlatformRejectRequestData, resolveRobotRockClient, resolveRobotRockConfig, shouldStopAgentForHandledAction, toDiscriminatedApprovalResult };