@elevasis/core 0.30.0 → 0.31.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.
@@ -1,445 +1,446 @@
1
- /**
2
- * Execution Engine - Contract-based workflow and agent system
3
- *
4
- * @module @repo/core/execution-engine
5
- */
6
-
7
- // Note: ExecutionEngine class has been removed in favor of direct resource execution
8
- // Resources (workflows, agents) now execute themselves with ExecutionContext
9
-
10
- // Workflow exports (from workflow module)
11
- export {
12
- Workflow,
13
- type WorkflowStep,
14
- type WorkflowStepDefinition,
15
- type StepHandler,
16
- type WorkflowConfig,
17
- type DescriptorBackedWorkflowConfig,
18
- type WorkflowDefinition,
19
- type NextConfig,
20
- type LinearNext,
21
- type ConditionalNext,
22
- StepType,
23
- // Workflow step helper types (browser-safe - types only)
24
- // NOTE: llmCall implementation is server-only - import from @repo/core/server
25
- type LLMCallOptions
26
- } from './workflow'
27
-
28
- // Workflow logger exports
29
- export {
30
- type WorkflowLogContext,
31
- type WorkflowLogMessage,
32
- type WorkflowExecutionContext,
33
- type WorkflowFailureContext,
34
- type StepStartedContext,
35
- type StepCompletedContext,
36
- type StepFailedContext,
37
- type ConditionalRouteContext,
38
- type ExecutionPathContext,
39
- isWorkflowExecutionContext,
40
- isWorkflowFailureContext,
41
- isStepStartedContext,
42
- isStepCompletedContext,
43
- isStepFailedContext,
44
- isConditionalRouteContext,
45
- isExecutionPathContext,
46
- isStepContext,
47
- toWorkflowLogMessage,
48
- toWorkflowLogMessages
49
- } from './workflow/logging'
50
-
51
- // Workflow timeline types
52
- export {
53
- type StepState,
54
- type WorkflowNodeVisualizerData,
55
- type WorkflowNodeVisualizerData as TimelineData,
56
- type StepExecutionData,
57
- type ExecutionPathState
58
- } from './workflow/types'
59
-
60
- // Agent exports (from agent module)
61
- export {
62
- Agent,
63
- type AgentKind,
64
- type AgentConfig,
65
- type DescriptorBackedAgentConfig,
66
- type AgentConstraints,
67
- type AgentMemory,
68
- type AgentDefinition,
69
- type Tool,
70
- type ToolDefinition,
71
- // Memory types
72
- type MemoryEntry,
73
- type MemoryEntryType,
74
- // Memory utilities
75
- loadSessionMemory,
76
- addToolError,
77
- // Action types
78
- type AgentAction,
79
- type ToolCallAction,
80
- type CompleteAction,
81
- type MessageAction,
82
- type NavigateKnowledgeAction,
83
- // Knowledge map types
84
- type KnowledgeMap,
85
- type KnowledgeNode,
86
- type KnowledgeContent,
87
- type KnowledgeMapState,
88
- reloadKnowledgeMapTools,
89
- // LLM types (generic interface - browser-safe)
90
- type LLMAdapter,
91
- type LLMGenerateRequest,
92
- type LLMGenerateResponse,
93
- type LLMMessage,
94
- type LLMModel,
95
- // LLM adapter types (browser-safe - types only)
96
- // NOTE: OpenAIAdapter and createLLMAdapter implementations are server-only - import from @repo/core/server
97
- type OpenAIAdapterConfig,
98
- // LLM adapter factory (dependency injection for environment-agnostic agent execution)
99
- type LLMAdapterFactory
100
- } from './agent'
101
-
102
- // Agent prompt system
103
- // Note: BASE_SYSTEM_PROMPT removed - now internal to modular prompt builder
104
- // Agents should provide only their agent-specific prompt
105
- // The runtime (buildReasoningRequest) handles system prompt composition automatically using modular sections
106
-
107
- // Base error exports
108
- export { ExecutionError as ExecutionError, UnknownExecutionError, type ExecutionErrorCategory } from './base/errors'
109
-
110
- // LLM error exports
111
- export {
112
- LLMError,
113
- InsufficientTokensError,
114
- TokenLimitExceededError,
115
- LLMInputBlockedError,
116
- ModelConfigError,
117
- validateModelConfig
118
- } from './llm/errors'
119
-
120
- // Input sanitizer exports
121
- export { sanitizeUserInput, type SanitizationResult } from './llm/input-sanitizer'
122
-
123
- // Tool error exports
124
- export {
125
- ToolingError,
126
- type ToolingErrorType,
127
- type ToolExecutionOptions,
128
- // Factory functions
129
- serviceUnavailable,
130
- permissionDenied,
131
- adapterNotFound,
132
- methodNotFound,
133
- toolNotFound,
134
- credentialsMissing,
135
- credentialsInvalid,
136
- rateLimitExceeded,
137
- serverUnavailable,
138
- authError,
139
- apiError,
140
- validationError,
141
- networkError,
142
- timeoutError,
143
- unknownError
144
- } from './tools/types'
145
-
146
- // Circuit breaker error exports
147
- export { CircuitBreakerOpenError } from './llm/adapters/circuit-breaker'
148
-
149
- // Workflow error exports
150
- export { WorkflowStepError, WorkflowValidationError } from './workflow/errors'
151
-
152
- // Agent error exports
153
- export {
154
- AgentInitializationError,
155
- AgentIterationError,
156
- AgentCancellationError,
157
- AgentCompletionError,
158
- AgentOutputValidationError,
159
- AgentMaxIterationsError,
160
- AgentTimeoutError,
161
- AgentStalledError
162
- } from './agent/errors'
163
-
164
- // LLM model info and configuration exports
165
- export {
166
- getModelInfo,
167
- type ModelInfo,
168
- type ModelConfig,
169
- type ModelSpecificOptions,
170
- type GPT5Options,
171
- type MockOptions,
172
- GPT5ConfigSchema,
173
- MockConfigSchema,
174
- MODEL_INFO,
175
- calculateCost
176
- } from './llm/model-info'
177
-
178
- // Agent logger exports (2-event model)
179
- export {
180
- type AgentLogContext,
181
- type AgentLogMessage,
182
- type AgentLifecycle,
183
- type LifecycleStage,
184
- type IterationEventType,
185
- type AgentLifecycleEvent,
186
- type AgentIterationEvent,
187
- type AgentToolCallEvent,
188
- type ActionPlaceholderData,
189
- isLifecycleEvent,
190
- isIterationEvent,
191
- isReasoningEvent,
192
- isActionEvent,
193
- isToolCallEvent,
194
- isInitialization,
195
- isIteration,
196
- isCompletion,
197
- isToolUseAction,
198
- isIterationContext
199
- } from './agent/observability/logging'
200
-
201
- // Agent timeline types
202
- export {
203
- type SubActivity,
204
- type AgentIteration,
205
- type AgentLifecycleNode,
206
- type AgentIterationData
207
- } from './agent/observability/types'
208
-
209
- // Base type exports
210
- export type {
211
- ExecutionContext,
212
- ExecutionMetadata,
213
- MessageEvent,
214
- AssistantAction,
215
- Contract,
216
- ResourceType,
217
- ResourceStatus,
218
- ExecutableResourceType,
219
- AIResourceDefinition
220
- } from './base/types'
221
-
222
- // Base color exports
223
- export { ResourceStatusColors } from './base/types'
224
-
225
- // Utility exports
226
- export {
227
- type ExecutionLogLevel,
228
- type ExecutionLoggerConfig,
229
- type ExecutionLogMessage,
230
- type LogContext,
231
- type IExecutionLogger
232
- } from './base/logging'
233
-
234
- // Structure utility exports
235
- // Removed deprecated structure-utils exports - use serializeDefinition() directly
236
-
237
- // Serialization utility exports
238
- export { serializeDefinition, type SerializationOptions } from './base/serialization'
239
-
240
- // Tool Services Registry (server-side only)
241
- export {
242
- toolServicesRegistry,
243
- getToolServices,
244
- type ToolServices,
245
- type ICommandQueueService,
246
- type ITaskSchedulerService,
247
- type INotificationsService,
248
- type ICredentialsService,
249
- type IIntegrationService,
250
- type ICrmService,
251
- type IProjectsService,
252
- // Email Service types
253
- type IEmailService,
254
- type SendPlatformEmailParams,
255
- type EmailResult,
256
- // Storage Service types
257
- type IStorageService,
258
- type StorageUploadParams,
259
- type StorageDownloadParams,
260
- type StorageSignedUrlParams,
261
- type StorageUploadResult,
262
- type StorageSignedUrlResult,
263
- // Lead Service types
264
- type ILeadService,
265
- type AcqList,
266
- type AcqCompany,
267
- type AcqContact,
268
- // Note: PaginationParams already exported from @repo/core (platform/utils/validation)
269
- type PaginatedResult,
270
- type CreateListParams,
271
- type UpdateListParams,
272
- type CreateCompanyParams,
273
- type UpdateCompanyParams,
274
- type UpsertCompanyParams,
275
- type CompanyFilters,
276
- type CreateContactParams,
277
- type UpdateContactParams,
278
- type UpsertContactParams,
279
- type ContactFilters,
280
- type AddContactsToListParams,
281
- type AddContactsToListResult,
282
- type BulkImportParams,
283
- type BulkImportResult,
284
- type BulkImportCompanyEntry,
285
- type BulkImportCompaniesParams,
286
- type BulkImportCompaniesResult,
287
- type DeactivateContactsByCompanyParams,
288
- type DeactivateContactsByCompanyResult,
289
- // Deal types (acq_deals table)
290
- type UpsertDealParams,
291
- type AcqDeal,
292
- type DealActivityEntry,
293
- // Deal analytics types
294
- type DealStageSummary,
295
- type StaleDeal,
296
- type DealPipelineAnalytics,
297
- type DealAnalyticsParams,
298
- // Deal-sync param types
299
- type UpdateDiscoveryDataParams,
300
- type UpdateProposalDataParams,
301
- type MarkProposalSentParams,
302
- type MarkProposalReviewedParams,
303
- type UpdateCloseLostReasonParams,
304
- type UpdateFeesParams,
305
- type CacheInstantlyThreadIdsParams,
306
- type TransitionItemParams,
307
- type SetContactNurtureParams,
308
- type CancelSchedulesAndHitlByEmailParams,
309
- type CancelHitlByDealIdParams,
310
- type ClearDealFieldsParams,
311
- type DeleteDealParams,
312
- // Deal note types
313
- type AcqDealNote,
314
- type CreateDealNoteParams,
315
- type ListDealNotesParams,
316
- // Deal task types
317
- type CreateDealTaskParams,
318
- type ListDealTasksParams,
319
- type ListDealTasksDueParams,
320
- type CompleteDealTaskParams,
321
- type RecordDealActivityParams,
322
- type GetDealByIdParams,
323
- type GetContactByIdParams,
324
- type GetCompanyByIdParams,
325
- // CRM workflow helper param types
326
- type TransitionDealParams,
327
- type LoadDealParams,
328
- // List-oriented lead gen params (Step 3 of list-oriented migration)
1
+ /**
2
+ * Execution Engine - Contract-based workflow and agent system
3
+ *
4
+ * @module @repo/core/execution-engine
5
+ */
6
+
7
+ // Note: ExecutionEngine class has been removed in favor of direct resource execution
8
+ // Resources (workflows, agents) now execute themselves with ExecutionContext
9
+
10
+ // Workflow exports (from workflow module)
11
+ export {
12
+ Workflow,
13
+ type WorkflowStep,
14
+ type WorkflowStepDefinition,
15
+ type StepHandler,
16
+ type WorkflowConfig,
17
+ type DescriptorBackedWorkflowConfig,
18
+ type WorkflowDefinition,
19
+ type NextConfig,
20
+ type LinearNext,
21
+ type ConditionalNext,
22
+ StepType,
23
+ // Workflow step helper types (browser-safe - types only)
24
+ // NOTE: llmCall implementation is server-only - import from @repo/core/server
25
+ type LLMCallOptions
26
+ } from './workflow'
27
+
28
+ // Workflow logger exports
29
+ export {
30
+ type WorkflowLogContext,
31
+ type WorkflowLogMessage,
32
+ type WorkflowExecutionContext,
33
+ type WorkflowFailureContext,
34
+ type StepStartedContext,
35
+ type StepCompletedContext,
36
+ type StepFailedContext,
37
+ type ConditionalRouteContext,
38
+ type ExecutionPathContext,
39
+ isWorkflowExecutionContext,
40
+ isWorkflowFailureContext,
41
+ isStepStartedContext,
42
+ isStepCompletedContext,
43
+ isStepFailedContext,
44
+ isConditionalRouteContext,
45
+ isExecutionPathContext,
46
+ isStepContext,
47
+ toWorkflowLogMessage,
48
+ toWorkflowLogMessages
49
+ } from './workflow/logging'
50
+
51
+ // Workflow timeline types
52
+ export {
53
+ type StepState,
54
+ type WorkflowNodeVisualizerData,
55
+ type WorkflowNodeVisualizerData as TimelineData,
56
+ type StepExecutionData,
57
+ type ExecutionPathState
58
+ } from './workflow/types'
59
+
60
+ // Agent exports (from agent module)
61
+ export {
62
+ Agent,
63
+ type AgentKind,
64
+ type AgentConfig,
65
+ type DescriptorBackedAgentConfig,
66
+ type AgentConstraints,
67
+ type AgentMemory,
68
+ type AgentDefinition,
69
+ type Tool,
70
+ type ToolDefinition,
71
+ // Memory types
72
+ type MemoryEntry,
73
+ type MemoryEntryType,
74
+ // Memory utilities
75
+ loadSessionMemory,
76
+ addToolError,
77
+ // Action types
78
+ type AgentAction,
79
+ type ToolCallAction,
80
+ type CompleteAction,
81
+ type MessageAction,
82
+ type NavigateKnowledgeAction,
83
+ // Knowledge map types
84
+ type KnowledgeMap,
85
+ type KnowledgeNode,
86
+ type KnowledgeContent,
87
+ type KnowledgeMapState,
88
+ reloadKnowledgeMapTools,
89
+ // LLM types (generic interface - browser-safe)
90
+ type LLMAdapter,
91
+ type LLMGenerateRequest,
92
+ type LLMGenerateResponse,
93
+ type LLMMessage,
94
+ type LLMModel,
95
+ // LLM adapter types (browser-safe - types only)
96
+ // NOTE: OpenAIAdapter and createLLMAdapter implementations are server-only - import from @repo/core/server
97
+ type OpenAIAdapterConfig,
98
+ // LLM adapter factory (dependency injection for environment-agnostic agent execution)
99
+ type LLMAdapterFactory
100
+ } from './agent'
101
+
102
+ // Agent prompt system
103
+ // Note: BASE_SYSTEM_PROMPT removed - now internal to modular prompt builder
104
+ // Agents should provide only their agent-specific prompt
105
+ // The runtime (buildReasoningRequest) handles system prompt composition automatically using modular sections
106
+
107
+ // Base error exports
108
+ export { ExecutionError as ExecutionError, UnknownExecutionError, type ExecutionErrorCategory } from './base/errors'
109
+
110
+ // LLM error exports
111
+ export {
112
+ LLMError,
113
+ InsufficientTokensError,
114
+ TokenLimitExceededError,
115
+ LLMInputBlockedError,
116
+ ModelConfigError,
117
+ validateModelConfig
118
+ } from './llm/errors'
119
+
120
+ // Input sanitizer exports
121
+ export { sanitizeUserInput, type SanitizationResult } from './llm/input-sanitizer'
122
+
123
+ // Tool error exports
124
+ export {
125
+ ToolingError,
126
+ type ToolingErrorType,
127
+ type ToolExecutionOptions,
128
+ // Factory functions
129
+ serviceUnavailable,
130
+ permissionDenied,
131
+ adapterNotFound,
132
+ methodNotFound,
133
+ toolNotFound,
134
+ credentialsMissing,
135
+ credentialsInvalid,
136
+ rateLimitExceeded,
137
+ serverUnavailable,
138
+ authError,
139
+ apiError,
140
+ validationError,
141
+ networkError,
142
+ timeoutError,
143
+ unknownError
144
+ } from './tools/types'
145
+
146
+ // Circuit breaker error exports
147
+ export { CircuitBreakerOpenError } from './llm/adapters/circuit-breaker'
148
+
149
+ // Workflow error exports
150
+ export { WorkflowStepError, WorkflowValidationError } from './workflow/errors'
151
+
152
+ // Agent error exports
153
+ export {
154
+ AgentInitializationError,
155
+ AgentIterationError,
156
+ AgentCancellationError,
157
+ AgentCompletionError,
158
+ AgentOutputValidationError,
159
+ AgentMaxIterationsError,
160
+ AgentTimeoutError,
161
+ AgentStalledError
162
+ } from './agent/errors'
163
+
164
+ // LLM model info and configuration exports
165
+ export {
166
+ getModelInfo,
167
+ type ModelInfo,
168
+ type ModelConfig,
169
+ type ModelSpecificOptions,
170
+ type GPT5Options,
171
+ type MockOptions,
172
+ GPT5ConfigSchema,
173
+ MockConfigSchema,
174
+ MODEL_INFO,
175
+ calculateCost
176
+ } from './llm/model-info'
177
+
178
+ // Agent logger exports (2-event model)
179
+ export {
180
+ type AgentLogContext,
181
+ type AgentLogMessage,
182
+ type AgentLifecycle,
183
+ type LifecycleStage,
184
+ type IterationEventType,
185
+ type AgentLifecycleEvent,
186
+ type AgentIterationEvent,
187
+ type AgentToolCallEvent,
188
+ type ActionPlaceholderData,
189
+ isLifecycleEvent,
190
+ isIterationEvent,
191
+ isReasoningEvent,
192
+ isActionEvent,
193
+ isToolCallEvent,
194
+ isInitialization,
195
+ isIteration,
196
+ isCompletion,
197
+ isToolUseAction,
198
+ isIterationContext
199
+ } from './agent/observability/logging'
200
+
201
+ // Agent timeline types
202
+ export {
203
+ type SubActivity,
204
+ type AgentIteration,
205
+ type AgentLifecycleNode,
206
+ type AgentIterationData
207
+ } from './agent/observability/types'
208
+
209
+ // Base type exports
210
+ export type {
211
+ ExecutionContext,
212
+ ExecutionMetadata,
213
+ MessageEvent,
214
+ AssistantAction,
215
+ Contract,
216
+ ResourceType,
217
+ ResourceStatus,
218
+ ExecutableResourceType,
219
+ AIResourceDefinition
220
+ } from './base/types'
221
+
222
+ // Base color exports
223
+ export { ResourceStatusColors } from './base/types'
224
+
225
+ // Utility exports
226
+ export {
227
+ type ExecutionLogLevel,
228
+ type ExecutionLoggerConfig,
229
+ type ExecutionLogMessage,
230
+ type LogContext,
231
+ type IExecutionLogger
232
+ } from './base/logging'
233
+
234
+ // Structure utility exports
235
+ // Removed deprecated structure-utils exports - use serializeDefinition() directly
236
+
237
+ // Serialization utility exports
238
+ export { serializeDefinition, type SerializationOptions } from './base/serialization'
239
+
240
+ // Tool Services Registry (server-side only)
241
+ export {
242
+ toolServicesRegistry,
243
+ getToolServices,
244
+ type ToolServices,
245
+ type ICommandQueueService,
246
+ type ITaskSchedulerService,
247
+ type INotificationsService,
248
+ type ICredentialsService,
249
+ type IIntegrationService,
250
+ type ICrmService,
251
+ type IProjectsService,
252
+ // Email Service types
253
+ type IEmailService,
254
+ type SendPlatformEmailParams,
255
+ type EmailResult,
256
+ // Storage Service types
257
+ type IStorageService,
258
+ type StorageUploadParams,
259
+ type StorageDownloadParams,
260
+ type StorageSignedUrlParams,
261
+ type StorageUploadResult,
262
+ type StorageSignedUrlResult,
263
+ // Lead Service types
264
+ type ILeadService,
265
+ type AcqList,
266
+ type AcqCompany,
267
+ type AcqContact,
268
+ // Note: PaginationParams already exported from @repo/core (platform/utils/validation)
269
+ type PaginatedResult,
270
+ type CreateListParams,
271
+ type UpdateListParams,
272
+ type CreateCompanyParams,
273
+ type UpdateCompanyParams,
274
+ type UpsertCompanyParams,
275
+ type CompanyFilters,
276
+ type CreateContactParams,
277
+ type UpdateContactParams,
278
+ type UpsertContactParams,
279
+ type ContactFilters,
280
+ type AddContactsToListParams,
281
+ type AddContactsToListResult,
282
+ type BulkImportParams,
283
+ type BulkImportResult,
284
+ type BulkImportCompanyEntry,
285
+ type BulkImportCompaniesParams,
286
+ type BulkImportCompaniesResult,
287
+ type DeactivateContactsByCompanyParams,
288
+ type DeactivateContactsByCompanyResult,
289
+ // Deal types (acq_deals table)
290
+ type UpsertDealParams,
291
+ type AcqDeal,
292
+ type DealActivityEntry,
293
+ // Deal analytics types
294
+ type DealStageSummary,
295
+ type StaleDeal,
296
+ type DealPipelineAnalytics,
297
+ type DealAnalyticsParams,
298
+ // Deal-sync param types
299
+ type UpdateDiscoveryDataParams,
300
+ type UpdateProposalDataParams,
301
+ type MarkProposalSentParams,
302
+ type MarkProposalReviewedParams,
303
+ type UpdateCloseLostReasonParams,
304
+ type UpdateFeesParams,
305
+ type CacheInstantlyThreadIdsParams,
306
+ type TransitionItemParams,
307
+ type SetContactNurtureParams,
308
+ type CancelSchedulesAndHitlByEmailParams,
309
+ type CancelHitlByDealIdParams,
310
+ type ClearDealFieldsParams,
311
+ type DeleteDealParams,
312
+ // Deal note types
313
+ type AcqDealNote,
314
+ type CreateDealNoteParams,
315
+ type ListDealNotesParams,
316
+ // Deal task types
317
+ type CreateDealTaskParams,
318
+ type ListDealTasksParams,
319
+ type ListDealTasksDueParams,
320
+ type CompleteDealTaskParams,
321
+ type RecordDealActivityParams,
322
+ type GetDealByIdParams,
323
+ type GetContactByIdParams,
324
+ type GetCompanyByIdParams,
325
+ // CRM workflow helper param types
326
+ type TransitionDealParams,
327
+ type LoadDealParams,
328
+ // List-oriented lead gen params (Step 3 of list-oriented migration)
329
329
  type UpdateListConfigParams,
330
330
  type UpdateCompanyStageParams,
331
331
  type UpdateContactStageParams,
332
332
  type ClearCompanyStagesParams,
333
333
  type ClearContactStagesParams,
334
334
  type ListPendingCompanyIdsParams,
335
- type ListPendingContactIdsParams,
336
- type AddCompaniesToListParams,
337
- type AddCompaniesToListResult,
338
- type RemoveCompaniesFromListParams,
339
- type RemoveCompaniesFromListResult,
340
- type RecordListExecutionParams,
341
- type ListExecutionSummary
342
- } from './tools/registry'
343
-
344
- // Platform Tools (server-side only)
345
- // Retained internal/compatibility surface. Deployed SDK workers use platform.call() -> dispatcher.
346
- export {
347
- // Storage Tools
348
- createStorageUploadTool,
349
- createStorageSignedUrlTool,
350
- createStorageDownloadTool,
351
- createStorageDeleteTool,
352
- createStorageListTool,
353
- type StorageUploadInput,
354
- type StorageUploadOutput,
355
- type StorageSignedUrlInput,
356
- type StorageSignedUrlOutput,
357
- type StorageDownloadInput,
358
- type StorageDownloadOutput,
359
- type StorageDeleteInput,
360
- type StorageDeleteOutput,
361
- type StorageListInput,
362
- type StorageListOutput,
363
- type StorageToolConfig,
364
- StorageUploadInputSchema,
365
- StorageUploadOutputSchema,
366
- StorageSignedUrlInputSchema,
367
- StorageSignedUrlOutputSchema,
368
- StorageDownloadInputSchema,
369
- StorageDownloadOutputSchema,
370
- StorageDeleteInputSchema,
371
- StorageDeleteOutputSchema,
372
- StorageListInputSchema,
373
- StorageListOutputSchema,
374
- // Schedule Management Tools
375
- createScheduleListTool,
376
- createScheduleCancelByMetadataTool,
377
- createScheduleCancelByKeyTool,
378
- createScheduleDeleteByKeyTool,
379
- type ListSchedulesInput,
380
- type ListSchedulesOutput,
381
- type CancelSchedulesByMetadataInput,
382
- type CancelSchedulesByMetadataOutput,
383
- type CancelScheduleByKeyInput,
384
- type CancelScheduleByKeyOutput,
385
- type DeleteScheduleByKeyInput,
386
- type DeleteScheduleByKeyOutput,
387
- ListSchedulesInputSchema,
388
- ListSchedulesOutputSchema,
389
- CancelSchedulesByMetadataInputSchema,
390
- CancelSchedulesByMetadataOutputSchema,
391
- CancelScheduleByKeyInputSchema,
392
- CancelScheduleByKeyOutputSchema,
393
- DeleteScheduleByKeyInputSchema,
394
- DeleteScheduleByKeyOutputSchema,
395
- type HitlCancelByMetadataInput,
396
- type HitlCancelByMetadataOutput,
397
- HitlCancelByMetadataInputSchema,
398
- HitlCancelByMetadataOutputSchema
399
- } from './tools/platform'
400
-
401
- // Integration Tools
402
- // NOTE: createIntegrationTool and types are browser-safe (can be used for type definitions)
403
- // Tool factory functions (createGmailSendEmailTool, etc.) are server-only - import from @repo/core/server
404
- // ALL adapters (mock or production) are server-only exports from @repo/core/server
405
- export { createIntegrationTool, type IntegrationToolConfig, type IntegrationType } from './tools/integration'
406
-
407
- // LLM Tools (for agent tool use - types only, browser-safe)
408
- // NOTE: createLLMCallTool implementation is server-only - import from @repo/core/server
409
- export { type LLMCallToolConfig } from './tools/llm'
410
-
411
- // Integration Tools (exports from integration module)
412
- export { IntegrationService } from './tools/integration'
413
-
414
- // Tool Method Maps (SDK adapter type maps - browser-safe)
415
- export type {
416
- MethodEntry,
417
- ToolMethodMap,
418
- AttioToolMap,
419
- StripeToolMap,
420
- GoogleSheetsToolMap,
421
- ResendToolMap,
422
- ApifyToolMap,
423
- GmailToolMap,
424
- DropboxToolMap,
425
- SignatureApiToolMap,
426
- InstantlyToolMap,
427
- AnymailfinderToolMap,
428
- TombaToolMap,
429
- MillionVerifierToolMap,
430
- SchedulerToolMap,
431
- StorageToolMap,
432
- NotificationToolMap,
433
- NotificationSDKInput,
434
- ProjectsToolMap,
435
- CrmToolMap,
436
- LeadToolMap,
437
- ListToolMap,
438
- PdfToolMap,
439
- ApprovalToolMap,
440
- ExecutionToolMap,
441
- EmailToolMap
442
- } from './tools/tool-maps'
443
-
444
- // Execution Interface (UI configuration for resource execution)
445
- export { type ExecutionInterface, type ExecutionFormSchema, type ScheduleConfig, type WebhookConfig } from './interface'
335
+ type ListPendingContactIdsParams,
336
+ type AddCompaniesToListParams,
337
+ type AddCompaniesToListResult,
338
+ type RemoveCompaniesFromListParams,
339
+ type RemoveCompaniesFromListResult,
340
+ type RecordListExecutionParams,
341
+ type ListExecutionSummary
342
+ } from './tools/registry'
343
+
344
+ // Platform Tools (server-side only)
345
+ // Retained internal/compatibility surface. Deployed SDK workers use platform.call() -> dispatcher.
346
+ export {
347
+ // Storage Tools
348
+ createStorageUploadTool,
349
+ createStorageSignedUrlTool,
350
+ createStorageDownloadTool,
351
+ createStorageDeleteTool,
352
+ createStorageListTool,
353
+ type StorageUploadInput,
354
+ type StorageUploadOutput,
355
+ type StorageSignedUrlInput,
356
+ type StorageSignedUrlOutput,
357
+ type StorageDownloadInput,
358
+ type StorageDownloadOutput,
359
+ type StorageDeleteInput,
360
+ type StorageDeleteOutput,
361
+ type StorageListInput,
362
+ type StorageListOutput,
363
+ type StorageToolConfig,
364
+ StorageUploadInputSchema,
365
+ StorageUploadOutputSchema,
366
+ StorageSignedUrlInputSchema,
367
+ StorageSignedUrlOutputSchema,
368
+ StorageDownloadInputSchema,
369
+ StorageDownloadOutputSchema,
370
+ StorageDeleteInputSchema,
371
+ StorageDeleteOutputSchema,
372
+ StorageListInputSchema,
373
+ StorageListOutputSchema,
374
+ // Schedule Management Tools
375
+ createScheduleListTool,
376
+ createScheduleCancelByMetadataTool,
377
+ createScheduleCancelByKeyTool,
378
+ createScheduleDeleteByKeyTool,
379
+ type ListSchedulesInput,
380
+ type ListSchedulesOutput,
381
+ type CancelSchedulesByMetadataInput,
382
+ type CancelSchedulesByMetadataOutput,
383
+ type CancelScheduleByKeyInput,
384
+ type CancelScheduleByKeyOutput,
385
+ type DeleteScheduleByKeyInput,
386
+ type DeleteScheduleByKeyOutput,
387
+ ListSchedulesInputSchema,
388
+ ListSchedulesOutputSchema,
389
+ CancelSchedulesByMetadataInputSchema,
390
+ CancelSchedulesByMetadataOutputSchema,
391
+ CancelScheduleByKeyInputSchema,
392
+ CancelScheduleByKeyOutputSchema,
393
+ DeleteScheduleByKeyInputSchema,
394
+ DeleteScheduleByKeyOutputSchema,
395
+ type HitlCancelByMetadataInput,
396
+ type HitlCancelByMetadataOutput,
397
+ HitlCancelByMetadataInputSchema,
398
+ HitlCancelByMetadataOutputSchema
399
+ } from './tools/platform'
400
+
401
+ // Integration Tools
402
+ // NOTE: createIntegrationTool and types are browser-safe (can be used for type definitions)
403
+ // Tool factory functions (createGmailSendEmailTool, etc.) are server-only - import from @repo/core/server
404
+ // ALL adapters (mock or production) are server-only exports from @repo/core/server
405
+ export { createIntegrationTool, type IntegrationToolConfig, type IntegrationType } from './tools/integration'
406
+
407
+ // LLM Tools (for agent tool use - types only, browser-safe)
408
+ // NOTE: createLLMCallTool implementation is server-only - import from @repo/core/server
409
+ export { type LLMCallToolConfig } from './tools/llm'
410
+
411
+ // Integration Tools (exports from integration module)
412
+ export { IntegrationService } from './tools/integration'
413
+
414
+ // Tool Method Maps (SDK adapter type maps - browser-safe)
415
+ export type {
416
+ MethodEntry,
417
+ ToolMethodMap,
418
+ AttioToolMap,
419
+ StripeToolMap,
420
+ GoogleSheetsToolMap,
421
+ ResendToolMap,
422
+ ApifyToolMap,
423
+ GmailToolMap,
424
+ DropboxToolMap,
425
+ SignatureApiToolMap,
426
+ InstantlyToolMap,
427
+ AnymailfinderToolMap,
428
+ TombaToolMap,
429
+ MillionVerifierToolMap,
430
+ ClickUpToolMap,
431
+ SchedulerToolMap,
432
+ StorageToolMap,
433
+ NotificationToolMap,
434
+ NotificationSDKInput,
435
+ ProjectsToolMap,
436
+ CrmToolMap,
437
+ LeadToolMap,
438
+ ListToolMap,
439
+ PdfToolMap,
440
+ ApprovalToolMap,
441
+ ExecutionToolMap,
442
+ EmailToolMap
443
+ } from './tools/tool-maps'
444
+
445
+ // Execution Interface (UI configuration for resource execution)
446
+ export { type ExecutionInterface, type ExecutionFormSchema, type ScheduleConfig, type WebhookConfig } from './interface'