jazz-ai 0.1.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 (143) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +182 -0
  3. package/dist/cli/commands/auth.d.ts +18 -0
  4. package/dist/cli/commands/auth.d.ts.map +1 -0
  5. package/dist/cli/commands/auth.js +128 -0
  6. package/dist/cli/commands/auth.js.map +1 -0
  7. package/dist/cli/commands/chat-agent.d.ts +18 -0
  8. package/dist/cli/commands/chat-agent.d.ts.map +1 -0
  9. package/dist/cli/commands/chat-agent.js +421 -0
  10. package/dist/cli/commands/chat-agent.js.map +1 -0
  11. package/dist/cli/commands/edit-agent.d.ts +10 -0
  12. package/dist/cli/commands/edit-agent.d.ts.map +1 -0
  13. package/dist/cli/commands/edit-agent.js +310 -0
  14. package/dist/cli/commands/edit-agent.js.map +1 -0
  15. package/dist/cli/commands/task-agent.d.ts +126 -0
  16. package/dist/cli/commands/task-agent.d.ts.map +1 -0
  17. package/dist/cli/commands/task-agent.js +345 -0
  18. package/dist/cli/commands/task-agent.js.map +1 -0
  19. package/dist/core/agent/agent-prompt.d.ts +47 -0
  20. package/dist/core/agent/agent-prompt.d.ts.map +1 -0
  21. package/dist/core/agent/agent-prompt.js +146 -0
  22. package/dist/core/agent/agent-prompt.js.map +1 -0
  23. package/dist/core/agent/agent-runner.d.ts +63 -0
  24. package/dist/core/agent/agent-runner.d.ts.map +1 -0
  25. package/dist/core/agent/agent-runner.js +346 -0
  26. package/dist/core/agent/agent-runner.js.map +1 -0
  27. package/dist/core/agent/agent-service.d.ts +164 -0
  28. package/dist/core/agent/agent-service.d.ts.map +1 -0
  29. package/dist/core/agent/agent-service.js +463 -0
  30. package/dist/core/agent/agent-service.js.map +1 -0
  31. package/dist/core/agent/gmail-agent.d.ts +17 -0
  32. package/dist/core/agent/gmail-agent.d.ts.map +1 -0
  33. package/dist/core/agent/gmail-agent.js +191 -0
  34. package/dist/core/agent/gmail-agent.js.map +1 -0
  35. package/dist/core/agent/prompts/default/v1.d.ts +2 -0
  36. package/dist/core/agent/prompts/default/v1.d.ts.map +1 -0
  37. package/dist/core/agent/prompts/default/v1.js +202 -0
  38. package/dist/core/agent/prompts/default/v1.js.map +1 -0
  39. package/dist/core/agent/prompts/default/v2.d.ts +2 -0
  40. package/dist/core/agent/prompts/default/v2.d.ts.map +1 -0
  41. package/dist/core/agent/prompts/default/v2.js +72 -0
  42. package/dist/core/agent/prompts/default/v2.js.map +1 -0
  43. package/dist/core/agent/prompts/gmail/v1.d.ts +2 -0
  44. package/dist/core/agent/prompts/gmail/v1.d.ts.map +1 -0
  45. package/dist/core/agent/prompts/gmail/v1.js +206 -0
  46. package/dist/core/agent/prompts/gmail/v1.js.map +1 -0
  47. package/dist/core/agent/prompts/gmail/v2.d.ts +2 -0
  48. package/dist/core/agent/prompts/gmail/v2.d.ts.map +1 -0
  49. package/dist/core/agent/prompts/gmail/v2.js +59 -0
  50. package/dist/core/agent/prompts/gmail/v2.js.map +1 -0
  51. package/dist/core/agent/tools/base-tool.d.ts +161 -0
  52. package/dist/core/agent/tools/base-tool.d.ts.map +1 -0
  53. package/dist/core/agent/tools/base-tool.js +153 -0
  54. package/dist/core/agent/tools/base-tool.js.map +1 -0
  55. package/dist/core/agent/tools/fs-tools.d.ts +21 -0
  56. package/dist/core/agent/tools/fs-tools.d.ts.map +1 -0
  57. package/dist/core/agent/tools/fs-tools.js +1210 -0
  58. package/dist/core/agent/tools/fs-tools.js.map +1 -0
  59. package/dist/core/agent/tools/git-tools.d.ts +63 -0
  60. package/dist/core/agent/tools/git-tools.d.ts.map +1 -0
  61. package/dist/core/agent/tools/git-tools.js +600 -0
  62. package/dist/core/agent/tools/git-tools.js.map +1 -0
  63. package/dist/core/agent/tools/gmail-tools.d.ts +22 -0
  64. package/dist/core/agent/tools/gmail-tools.d.ts.map +1 -0
  65. package/dist/core/agent/tools/gmail-tools.js +779 -0
  66. package/dist/core/agent/tools/gmail-tools.js.map +1 -0
  67. package/dist/core/agent/tools/register-tools.d.ts +13 -0
  68. package/dist/core/agent/tools/register-tools.d.ts.map +1 -0
  69. package/dist/core/agent/tools/register-tools.js +169 -0
  70. package/dist/core/agent/tools/register-tools.js.map +1 -0
  71. package/dist/core/agent/tools/shell-tools.d.ts +19 -0
  72. package/dist/core/agent/tools/shell-tools.d.ts.map +1 -0
  73. package/dist/core/agent/tools/shell-tools.js +367 -0
  74. package/dist/core/agent/tools/shell-tools.js.map +1 -0
  75. package/dist/core/agent/tools/tool-registry.d.ts +62 -0
  76. package/dist/core/agent/tools/tool-registry.d.ts.map +1 -0
  77. package/dist/core/agent/tools/tool-registry.js +187 -0
  78. package/dist/core/agent/tools/tool-registry.js.map +1 -0
  79. package/dist/core/agent/tools/web-search-tools.d.ts +39 -0
  80. package/dist/core/agent/tools/web-search-tools.d.ts.map +1 -0
  81. package/dist/core/agent/tools/web-search-tools.js +220 -0
  82. package/dist/core/agent/tools/web-search-tools.js.map +1 -0
  83. package/dist/core/types/errors.d.ts +300 -0
  84. package/dist/core/types/errors.d.ts.map +1 -0
  85. package/dist/core/types/errors.js +115 -0
  86. package/dist/core/types/errors.js.map +1 -0
  87. package/dist/core/types/index.d.ts +208 -0
  88. package/dist/core/types/index.d.ts.map +1 -0
  89. package/dist/core/types/index.js +30 -0
  90. package/dist/core/types/index.js.map +1 -0
  91. package/dist/core/utils/error-handler.d.ts +114 -0
  92. package/dist/core/utils/error-handler.d.ts.map +1 -0
  93. package/dist/core/utils/error-handler.js +551 -0
  94. package/dist/core/utils/error-handler.js.map +1 -0
  95. package/dist/core/utils/markdown-renderer.d.ts +52 -0
  96. package/dist/core/utils/markdown-renderer.d.ts.map +1 -0
  97. package/dist/core/utils/markdown-renderer.js +134 -0
  98. package/dist/core/utils/markdown-renderer.js.map +1 -0
  99. package/dist/main.d.ts +3 -0
  100. package/dist/main.d.ts.map +1 -0
  101. package/dist/main.js +255 -0
  102. package/dist/main.js.map +1 -0
  103. package/dist/services/config.d.ts +29 -0
  104. package/dist/services/config.d.ts.map +1 -0
  105. package/dist/services/config.js +204 -0
  106. package/dist/services/config.js.map +1 -0
  107. package/dist/services/gmail.d.ts +197 -0
  108. package/dist/services/gmail.d.ts.map +1 -0
  109. package/dist/services/gmail.js +592 -0
  110. package/dist/services/gmail.js.map +1 -0
  111. package/dist/services/llm/ai-sdk-service.d.ts +5 -0
  112. package/dist/services/llm/ai-sdk-service.d.ts.map +1 -0
  113. package/dist/services/llm/ai-sdk-service.js +326 -0
  114. package/dist/services/llm/ai-sdk-service.js.map +1 -0
  115. package/dist/services/llm/context-manager.d.ts +51 -0
  116. package/dist/services/llm/context-manager.d.ts.map +1 -0
  117. package/dist/services/llm/context-manager.js +269 -0
  118. package/dist/services/llm/context-manager.js.map +1 -0
  119. package/dist/services/llm/types.d.ts +114 -0
  120. package/dist/services/llm/types.d.ts.map +1 -0
  121. package/dist/services/llm/types.js +51 -0
  122. package/dist/services/llm/types.js.map +1 -0
  123. package/dist/services/logger.d.ts +28 -0
  124. package/dist/services/logger.d.ts.map +1 -0
  125. package/dist/services/logger.js +267 -0
  126. package/dist/services/logger.js.map +1 -0
  127. package/dist/services/shell.d.ts +37 -0
  128. package/dist/services/shell.d.ts.map +1 -0
  129. package/dist/services/shell.js +197 -0
  130. package/dist/services/shell.js.map +1 -0
  131. package/dist/services/storage/file.d.ts +37 -0
  132. package/dist/services/storage/file.d.ts.map +1 -0
  133. package/dist/services/storage/file.js +221 -0
  134. package/dist/services/storage/file.js.map +1 -0
  135. package/dist/services/storage/inMemory.d.ts +25 -0
  136. package/dist/services/storage/inMemory.d.ts.map +1 -0
  137. package/dist/services/storage/inMemory.js +106 -0
  138. package/dist/services/storage/inMemory.js.map +1 -0
  139. package/dist/services/storage/service.d.ts +26 -0
  140. package/dist/services/storage/service.d.ts.map +1 -0
  141. package/dist/services/storage/service.js +48 -0
  142. package/dist/services/storage/service.js.map +1 -0
  143. package/package.json +92 -0
@@ -0,0 +1,300 @@
1
+ declare const AgentNotFoundError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
2
+ readonly _tag: "AgentNotFoundError";
3
+ } & Readonly<A>;
4
+ /**
5
+ * Tagged error types for the jazz automation CLI
6
+ * Using Effect's Data.TaggedError for proper error handling
7
+ */
8
+ export declare class AgentNotFoundError extends AgentNotFoundError_base<{
9
+ readonly agentId: string;
10
+ readonly suggestion?: string;
11
+ }> {
12
+ }
13
+ declare const AgentAlreadyExistsError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
14
+ readonly _tag: "AgentAlreadyExistsError";
15
+ } & Readonly<A>;
16
+ export declare class AgentAlreadyExistsError extends AgentAlreadyExistsError_base<{
17
+ readonly agentId: string;
18
+ readonly suggestion?: string;
19
+ }> {
20
+ }
21
+ declare const AgentExecutionError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
22
+ readonly _tag: "AgentExecutionError";
23
+ } & Readonly<A>;
24
+ export declare class AgentExecutionError extends AgentExecutionError_base<{
25
+ readonly agentId: string;
26
+ readonly reason: string;
27
+ readonly cause?: unknown;
28
+ readonly suggestion?: string;
29
+ }> {
30
+ }
31
+ declare const AgentConfigurationError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
32
+ readonly _tag: "AgentConfigurationError";
33
+ } & Readonly<A>;
34
+ export declare class AgentConfigurationError extends AgentConfigurationError_base<{
35
+ readonly agentId: string;
36
+ readonly field: string;
37
+ readonly message: string;
38
+ readonly suggestion?: string;
39
+ }> {
40
+ }
41
+ declare const TaskNotFoundError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
42
+ readonly _tag: "TaskNotFoundError";
43
+ } & Readonly<A>;
44
+ export declare class TaskNotFoundError extends TaskNotFoundError_base<{
45
+ readonly taskId: string;
46
+ readonly suggestion?: string;
47
+ }> {
48
+ }
49
+ declare const TaskExecutionError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
50
+ readonly _tag: "TaskExecutionError";
51
+ } & Readonly<A>;
52
+ export declare class TaskExecutionError extends TaskExecutionError_base<{
53
+ readonly taskId: string;
54
+ readonly reason: string;
55
+ readonly exitCode?: number;
56
+ readonly output?: string;
57
+ readonly suggestion?: string;
58
+ }> {
59
+ }
60
+ declare const TaskTimeoutError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
61
+ readonly _tag: "TaskTimeoutError";
62
+ } & Readonly<A>;
63
+ export declare class TaskTimeoutError extends TaskTimeoutError_base<{
64
+ readonly taskId: string;
65
+ readonly timeout: number;
66
+ readonly suggestion?: string;
67
+ }> {
68
+ }
69
+ declare const TaskDependencyError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
70
+ readonly _tag: "TaskDependencyError";
71
+ } & Readonly<A>;
72
+ export declare class TaskDependencyError extends TaskDependencyError_base<{
73
+ readonly taskId: string;
74
+ readonly dependencyId: string;
75
+ readonly reason: string;
76
+ readonly suggestion?: string;
77
+ }> {
78
+ }
79
+ declare const AutomationNotFoundError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
80
+ readonly _tag: "AutomationNotFoundError";
81
+ } & Readonly<A>;
82
+ export declare class AutomationNotFoundError extends AutomationNotFoundError_base<{
83
+ readonly automationId: string;
84
+ }> {
85
+ }
86
+ declare const AutomationExecutionError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
87
+ readonly _tag: "AutomationExecutionError";
88
+ } & Readonly<A>;
89
+ export declare class AutomationExecutionError extends AutomationExecutionError_base<{
90
+ readonly automationId: string;
91
+ readonly reason: string;
92
+ }> {
93
+ }
94
+ declare const TriggerError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
95
+ readonly _tag: "TriggerError";
96
+ } & Readonly<A>;
97
+ export declare class TriggerError extends TriggerError_base<{
98
+ readonly triggerId: string;
99
+ readonly reason: string;
100
+ }> {
101
+ }
102
+ declare const ConfigurationError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
103
+ readonly _tag: "ConfigurationError";
104
+ } & Readonly<A>;
105
+ export declare class ConfigurationError extends ConfigurationError_base<{
106
+ readonly field: string;
107
+ readonly message: string;
108
+ readonly value?: unknown;
109
+ readonly suggestion?: string;
110
+ }> {
111
+ }
112
+ declare const ConfigurationNotFoundError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
113
+ readonly _tag: "ConfigurationNotFoundError";
114
+ } & Readonly<A>;
115
+ export declare class ConfigurationNotFoundError extends ConfigurationNotFoundError_base<{
116
+ readonly path: string;
117
+ readonly suggestion?: string;
118
+ }> {
119
+ }
120
+ declare const ConfigurationValidationError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
121
+ readonly _tag: "ConfigurationValidationError";
122
+ } & Readonly<A>;
123
+ export declare class ConfigurationValidationError extends ConfigurationValidationError_base<{
124
+ readonly field: string;
125
+ readonly expected: string;
126
+ readonly actual: unknown;
127
+ readonly suggestion?: string;
128
+ }> {
129
+ }
130
+ declare const StorageError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
131
+ readonly _tag: "StorageError";
132
+ } & Readonly<A>;
133
+ export declare class StorageError extends StorageError_base<{
134
+ readonly operation: string;
135
+ readonly path: string;
136
+ readonly reason: string;
137
+ readonly suggestion?: string;
138
+ }> {
139
+ }
140
+ declare const StorageNotFoundError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
141
+ readonly _tag: "StorageNotFoundError";
142
+ } & Readonly<A>;
143
+ export declare class StorageNotFoundError extends StorageNotFoundError_base<{
144
+ readonly path: string;
145
+ readonly suggestion?: string;
146
+ }> {
147
+ }
148
+ declare const StoragePermissionError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
149
+ readonly _tag: "StoragePermissionError";
150
+ } & Readonly<A>;
151
+ export declare class StoragePermissionError extends StoragePermissionError_base<{
152
+ readonly path: string;
153
+ readonly operation: string;
154
+ readonly suggestion?: string;
155
+ }> {
156
+ }
157
+ declare const CLIError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
158
+ readonly _tag: "CLIError";
159
+ } & Readonly<A>;
160
+ export declare class CLIError extends CLIError_base<{
161
+ readonly command: string;
162
+ readonly message: string;
163
+ readonly suggestion?: string;
164
+ }> {
165
+ }
166
+ declare const ValidationError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
167
+ readonly _tag: "ValidationError";
168
+ } & Readonly<A>;
169
+ export declare class ValidationError extends ValidationError_base<{
170
+ readonly field: string;
171
+ readonly message: string;
172
+ readonly value?: unknown;
173
+ readonly suggestion?: string;
174
+ }> {
175
+ }
176
+ declare const NetworkError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
177
+ readonly _tag: "NetworkError";
178
+ } & Readonly<A>;
179
+ export declare class NetworkError extends NetworkError_base<{
180
+ readonly url: string;
181
+ readonly reason: string;
182
+ readonly statusCode?: number;
183
+ readonly suggestion?: string;
184
+ }> {
185
+ }
186
+ declare const APIError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
187
+ readonly _tag: "APIError";
188
+ } & Readonly<A>;
189
+ export declare class APIError extends APIError_base<{
190
+ readonly endpoint: string;
191
+ readonly statusCode: number;
192
+ readonly message: string;
193
+ readonly response?: unknown;
194
+ readonly suggestion?: string;
195
+ }> {
196
+ }
197
+ declare const FileSystemError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
198
+ readonly _tag: "FileSystemError";
199
+ } & Readonly<A>;
200
+ export declare class FileSystemError extends FileSystemError_base<{
201
+ readonly path: string;
202
+ readonly operation: string;
203
+ readonly reason: string;
204
+ readonly suggestion?: string;
205
+ }> {
206
+ }
207
+ declare const FileNotFoundError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
208
+ readonly _tag: "FileNotFoundError";
209
+ } & Readonly<A>;
210
+ export declare class FileNotFoundError extends FileNotFoundError_base<{
211
+ readonly path: string;
212
+ readonly suggestion?: string;
213
+ }> {
214
+ }
215
+ declare const FilePermissionError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
216
+ readonly _tag: "FilePermissionError";
217
+ } & Readonly<A>;
218
+ export declare class FilePermissionError extends FilePermissionError_base<{
219
+ readonly path: string;
220
+ readonly operation: string;
221
+ readonly suggestion?: string;
222
+ }> {
223
+ }
224
+ declare const InternalError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
225
+ readonly _tag: "InternalError";
226
+ } & Readonly<A>;
227
+ export declare class InternalError extends InternalError_base<{
228
+ readonly component: string;
229
+ readonly message: string;
230
+ readonly cause?: unknown;
231
+ readonly suggestion?: string;
232
+ }> {
233
+ }
234
+ declare const TimeoutError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
235
+ readonly _tag: "TimeoutError";
236
+ } & Readonly<A>;
237
+ export declare class TimeoutError extends TimeoutError_base<{
238
+ readonly operation: string;
239
+ readonly timeout: number;
240
+ readonly suggestion?: string;
241
+ }> {
242
+ }
243
+ declare const ResourceExhaustedError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
244
+ readonly _tag: "ResourceExhaustedError";
245
+ } & Readonly<A>;
246
+ export declare class ResourceExhaustedError extends ResourceExhaustedError_base<{
247
+ readonly resource: string;
248
+ readonly limit: number;
249
+ readonly current: number;
250
+ readonly suggestion?: string;
251
+ }> {
252
+ }
253
+ declare const LLMConfigurationError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
254
+ readonly _tag: "LLMConfigurationError";
255
+ } & Readonly<A>;
256
+ export declare class LLMConfigurationError extends LLMConfigurationError_base<{
257
+ readonly provider: string;
258
+ readonly message: string;
259
+ readonly suggestion?: string;
260
+ }> {
261
+ }
262
+ declare const LLMAuthenticationError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
263
+ readonly _tag: "LLMAuthenticationError";
264
+ } & Readonly<A>;
265
+ export declare class LLMAuthenticationError extends LLMAuthenticationError_base<{
266
+ readonly provider: string;
267
+ readonly message: string;
268
+ readonly suggestion?: string;
269
+ }> {
270
+ }
271
+ declare const GmailAuthenticationError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
272
+ readonly _tag: "GmailAuthenticationError";
273
+ } & Readonly<A>;
274
+ export declare class GmailAuthenticationError extends GmailAuthenticationError_base<{
275
+ readonly message: string;
276
+ readonly suggestion?: string;
277
+ }> {
278
+ }
279
+ declare const GmailOperationError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
280
+ readonly _tag: "GmailOperationError";
281
+ } & Readonly<A>;
282
+ export declare class GmailOperationError extends GmailOperationError_base<{
283
+ readonly operation: string;
284
+ readonly message: string;
285
+ readonly suggestion?: string;
286
+ }> {
287
+ }
288
+ declare const GmailTaskError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
289
+ readonly _tag: "GmailTaskError";
290
+ } & Readonly<A>;
291
+ export declare class GmailTaskError extends GmailTaskError_base<{
292
+ readonly taskId: string;
293
+ readonly operation: string;
294
+ readonly message: string;
295
+ readonly suggestion?: string;
296
+ }> {
297
+ }
298
+ export type JazzError = AgentNotFoundError | AgentAlreadyExistsError | AgentExecutionError | AgentConfigurationError | TaskNotFoundError | TaskExecutionError | TaskTimeoutError | TaskDependencyError | AutomationNotFoundError | AutomationExecutionError | TriggerError | ConfigurationError | ConfigurationNotFoundError | ConfigurationValidationError | StorageError | StorageNotFoundError | StoragePermissionError | CLIError | ValidationError | NetworkError | APIError | FileSystemError | FileNotFoundError | FilePermissionError | InternalError | TimeoutError | ResourceExhaustedError | LLMConfigurationError | LLMAuthenticationError | GmailAuthenticationError | GmailOperationError | GmailTaskError;
299
+ export {};
300
+ //# sourceMappingURL=errors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../src/core/types/errors.ts"],"names":[],"mappings":";;;AAEA;;;GAGG;AAGH,qBAAa,kBAAmB,SAAQ,wBAAuC;IAC7E,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,UAAU,CAAC,EAA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C;CAC9B,CAAC;CAAG;;;;AAEL,qBAAa,cAAe,SAAQ,oBAAmC;IACrE,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;CAC9B,CAAC;CAAG;AAEL,MAAM,MAAM,SAAS,GACjB,kBAAkB,GAClB,uBAAuB,GACvB,mBAAmB,GACnB,uBAAuB,GACvB,iBAAiB,GACjB,kBAAkB,GAClB,gBAAgB,GAChB,mBAAmB,GACnB,uBAAuB,GACvB,wBAAwB,GACxB,YAAY,GACZ,kBAAkB,GAClB,0BAA0B,GAC1B,4BAA4B,GAC5B,YAAY,GACZ,oBAAoB,GACpB,sBAAsB,GACtB,QAAQ,GACR,eAAe,GACf,YAAY,GACZ,QAAQ,GACR,eAAe,GACf,iBAAiB,GACjB,mBAAmB,GACnB,aAAa,GACb,YAAY,GACZ,sBAAsB,GACtB,qBAAqB,GACrB,sBAAsB,GACtB,wBAAwB,GACxB,mBAAmB,GACnB,cAAc,CAAC"}
@@ -0,0 +1,115 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GmailTaskError = exports.GmailOperationError = exports.GmailAuthenticationError = exports.LLMAuthenticationError = exports.LLMConfigurationError = exports.ResourceExhaustedError = exports.TimeoutError = exports.InternalError = exports.FilePermissionError = exports.FileNotFoundError = exports.FileSystemError = exports.APIError = exports.NetworkError = exports.ValidationError = exports.CLIError = exports.StoragePermissionError = exports.StorageNotFoundError = exports.StorageError = exports.ConfigurationValidationError = exports.ConfigurationNotFoundError = exports.ConfigurationError = exports.TriggerError = exports.AutomationExecutionError = exports.AutomationNotFoundError = exports.TaskDependencyError = exports.TaskTimeoutError = exports.TaskExecutionError = exports.TaskNotFoundError = exports.AgentConfigurationError = exports.AgentExecutionError = exports.AgentAlreadyExistsError = exports.AgentNotFoundError = void 0;
4
+ const effect_1 = require("effect");
5
+ /**
6
+ * Tagged error types for the jazz automation CLI
7
+ * Using Effect's Data.TaggedError for proper error handling
8
+ */
9
+ // Agent Errors
10
+ class AgentNotFoundError extends effect_1.Data.TaggedError("AgentNotFoundError") {
11
+ }
12
+ exports.AgentNotFoundError = AgentNotFoundError;
13
+ class AgentAlreadyExistsError extends effect_1.Data.TaggedError("AgentAlreadyExistsError") {
14
+ }
15
+ exports.AgentAlreadyExistsError = AgentAlreadyExistsError;
16
+ class AgentExecutionError extends effect_1.Data.TaggedError("AgentExecutionError") {
17
+ }
18
+ exports.AgentExecutionError = AgentExecutionError;
19
+ class AgentConfigurationError extends effect_1.Data.TaggedError("AgentConfigurationError") {
20
+ }
21
+ exports.AgentConfigurationError = AgentConfigurationError;
22
+ // Task Errors
23
+ class TaskNotFoundError extends effect_1.Data.TaggedError("TaskNotFoundError") {
24
+ }
25
+ exports.TaskNotFoundError = TaskNotFoundError;
26
+ class TaskExecutionError extends effect_1.Data.TaggedError("TaskExecutionError") {
27
+ }
28
+ exports.TaskExecutionError = TaskExecutionError;
29
+ class TaskTimeoutError extends effect_1.Data.TaggedError("TaskTimeoutError") {
30
+ }
31
+ exports.TaskTimeoutError = TaskTimeoutError;
32
+ class TaskDependencyError extends effect_1.Data.TaggedError("TaskDependencyError") {
33
+ }
34
+ exports.TaskDependencyError = TaskDependencyError;
35
+ // Automation Errors
36
+ class AutomationNotFoundError extends effect_1.Data.TaggedError("AutomationNotFoundError") {
37
+ }
38
+ exports.AutomationNotFoundError = AutomationNotFoundError;
39
+ class AutomationExecutionError extends effect_1.Data.TaggedError("AutomationExecutionError") {
40
+ }
41
+ exports.AutomationExecutionError = AutomationExecutionError;
42
+ class TriggerError extends effect_1.Data.TaggedError("TriggerError") {
43
+ }
44
+ exports.TriggerError = TriggerError;
45
+ // Configuration Errors
46
+ class ConfigurationError extends effect_1.Data.TaggedError("ConfigurationError") {
47
+ }
48
+ exports.ConfigurationError = ConfigurationError;
49
+ class ConfigurationNotFoundError extends effect_1.Data.TaggedError("ConfigurationNotFoundError") {
50
+ }
51
+ exports.ConfigurationNotFoundError = ConfigurationNotFoundError;
52
+ class ConfigurationValidationError extends effect_1.Data.TaggedError("ConfigurationValidationError") {
53
+ }
54
+ exports.ConfigurationValidationError = ConfigurationValidationError;
55
+ // Storage Errors
56
+ class StorageError extends effect_1.Data.TaggedError("StorageError") {
57
+ }
58
+ exports.StorageError = StorageError;
59
+ class StorageNotFoundError extends effect_1.Data.TaggedError("StorageNotFoundError") {
60
+ }
61
+ exports.StorageNotFoundError = StorageNotFoundError;
62
+ class StoragePermissionError extends effect_1.Data.TaggedError("StoragePermissionError") {
63
+ }
64
+ exports.StoragePermissionError = StoragePermissionError;
65
+ // CLI Errors
66
+ class CLIError extends effect_1.Data.TaggedError("CLIError") {
67
+ }
68
+ exports.CLIError = CLIError;
69
+ class ValidationError extends effect_1.Data.TaggedError("ValidationError") {
70
+ }
71
+ exports.ValidationError = ValidationError;
72
+ // Network Errors
73
+ class NetworkError extends effect_1.Data.TaggedError("NetworkError") {
74
+ }
75
+ exports.NetworkError = NetworkError;
76
+ class APIError extends effect_1.Data.TaggedError("APIError") {
77
+ }
78
+ exports.APIError = APIError;
79
+ // File System Errors
80
+ class FileSystemError extends effect_1.Data.TaggedError("FileSystemError") {
81
+ }
82
+ exports.FileSystemError = FileSystemError;
83
+ class FileNotFoundError extends effect_1.Data.TaggedError("FileNotFoundError") {
84
+ }
85
+ exports.FileNotFoundError = FileNotFoundError;
86
+ class FilePermissionError extends effect_1.Data.TaggedError("FilePermissionError") {
87
+ }
88
+ exports.FilePermissionError = FilePermissionError;
89
+ // Generic Errors
90
+ class InternalError extends effect_1.Data.TaggedError("InternalError") {
91
+ }
92
+ exports.InternalError = InternalError;
93
+ class TimeoutError extends effect_1.Data.TaggedError("TimeoutError") {
94
+ }
95
+ exports.TimeoutError = TimeoutError;
96
+ class ResourceExhaustedError extends effect_1.Data.TaggedError("ResourceExhaustedError") {
97
+ }
98
+ exports.ResourceExhaustedError = ResourceExhaustedError;
99
+ // Additional error types from services
100
+ class LLMConfigurationError extends effect_1.Data.TaggedError("LLMConfigurationError") {
101
+ }
102
+ exports.LLMConfigurationError = LLMConfigurationError;
103
+ class LLMAuthenticationError extends effect_1.Data.TaggedError("LLMAuthenticationError") {
104
+ }
105
+ exports.LLMAuthenticationError = LLMAuthenticationError;
106
+ class GmailAuthenticationError extends effect_1.Data.TaggedError("GmailAuthenticationError") {
107
+ }
108
+ exports.GmailAuthenticationError = GmailAuthenticationError;
109
+ class GmailOperationError extends effect_1.Data.TaggedError("GmailOperationError") {
110
+ }
111
+ exports.GmailOperationError = GmailOperationError;
112
+ class GmailTaskError extends effect_1.Data.TaggedError("GmailTaskError") {
113
+ }
114
+ exports.GmailTaskError = GmailTaskError;
115
+ //# sourceMappingURL=errors.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"errors.js","sourceRoot":"","sources":["../../../src/core/types/errors.ts"],"names":[],"mappings":";;;AAAA,mCAA8B;AAE9B;;;GAGG;AAEH,eAAe;AACf,MAAa,kBAAmB,SAAQ,aAAI,CAAC,WAAW,CAAC,oBAAoB,CAG3E;CAAG;AAHL,gDAGK;AAEL,MAAa,uBAAwB,SAAQ,aAAI,CAAC,WAAW,CAAC,yBAAyB,CAGrF;CAAG;AAHL,0DAGK;AAEL,MAAa,mBAAoB,SAAQ,aAAI,CAAC,WAAW,CAAC,qBAAqB,CAK7E;CAAG;AALL,kDAKK;AAEL,MAAa,uBAAwB,SAAQ,aAAI,CAAC,WAAW,CAAC,yBAAyB,CAKrF;CAAG;AALL,0DAKK;AAEL,cAAc;AACd,MAAa,iBAAkB,SAAQ,aAAI,CAAC,WAAW,CAAC,mBAAmB,CAGzE;CAAG;AAHL,8CAGK;AAEL,MAAa,kBAAmB,SAAQ,aAAI,CAAC,WAAW,CAAC,oBAAoB,CAM3E;CAAG;AANL,gDAMK;AAEL,MAAa,gBAAiB,S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EL,MAAa,QAAS,SAAQ,aAAI,CAAC,WAAW,CAAC,UAAU,CAMvD;CAAG;AANL,4BAMK;AAEL,qBAAqB;AACrB,MAAa,eAAgB,SAAQ,aAAI,CAAC,WAAW,CAAC,iBAAiB,CAKrE;CAAG;AALL,0CAKK;AAEL,MAAa,iBAAkB,SAAQ,aAAI,CAAC,WAAW,CAAC,mBAAmB,CAGzE;CAAG;AAHL,8CAGK;AAEL,MAAa,mBAAoB,SAAQ,aAAI,CAAC,WAAW,CAAC,qBAAqB,CAI7E;CAAG;AAJL,kDAIK;AAEL,iBAAiB;AACjB,MAAa,aAAc,SAAQ,aAAI,CAAC,WAAW,CAAC,eAAe,CAKjE;CAAG;AALL,sCAKK;AAEL,MAAa,YAAa,SAAQ,aAAI,CAAC,WAAW,CAAC,cAAc,CAI/D;CAAG;AAJL,oCAIK;AAEL,MAAa,sBAAuB,SAAQ,aAAI,CAAC,WAAW,CAAC,wBAAwB,CAKnF;CAAG;AALL,wDAKK;AAEL,uCAAuC;AACvC,MAAa,qBAAsB,SAAQ,aAAI,CAAC,WAAW,CAAC,uBAAuB,CAIjF;CAAG;AAJL,sDAIK;AAEL,MAAa,sBAAuB,SAAQ,aAAI,CAAC,WAAW,CAAC,wBAAwB,CAInF;CAAG;AAJL,wDAIK;AAEL,MAAa,wBAAyB,SAAQ,aAAI,CAAC,WAAW,CAAC,0BAA0B,CAGvF;CAAG;AAHL,4DAGK;AAEL,MAAa,mBAAoB,SAAQ,aAAI,CAAC,WAAW,CAAC,qBAAqB,CAI7E;CAAG;AAJL,kDAIK;AAEL,MAAa,cAAe,SAAQ,aAAI,CAAC,WAAW,CAAC,gBAAgB,CAKnE;CAAG;AALL,wCAKK"}
@@ -0,0 +1,208 @@
1
+ import { Schema } from "effect";
2
+ /**
3
+ * Core types and interfaces for the Jazz automation CLI
4
+ */
5
+ export type { ChatMessage } from "../../services/llm/types";
6
+ export interface Agent {
7
+ readonly id: string;
8
+ readonly name: string;
9
+ readonly description: string;
10
+ readonly config: AgentConfig;
11
+ readonly status: AgentStatus;
12
+ readonly createdAt: Date;
13
+ readonly updatedAt: Date;
14
+ }
15
+ export interface AgentConfig {
16
+ readonly tasks: readonly Task[];
17
+ readonly schedule?: Schedule;
18
+ retryPolicy?: RetryPolicy;
19
+ timeout?: number;
20
+ readonly environment?: Record<string, string>;
21
+ readonly agentType: string;
22
+ readonly llmProvider: string;
23
+ readonly llmModel: string;
24
+ readonly reasoningEffort?: "disable" | "low" | "medium" | "high";
25
+ readonly tools?: readonly string[];
26
+ }
27
+ export type AgentStatus = "idle" | "running" | "paused" | "error" | "completed";
28
+ export interface Task {
29
+ readonly id: string;
30
+ readonly name: string;
31
+ readonly description: string;
32
+ readonly type: TaskType;
33
+ readonly config: TaskConfig;
34
+ readonly dependencies?: readonly string[];
35
+ readonly retryCount?: number;
36
+ readonly maxRetries?: number;
37
+ }
38
+ export type TaskType = "command" | "script" | "api" | "file" | "webhook" | "custom" | "gmail";
39
+ export type GmailOperation = "listEmails" | "getEmail" | "sendEmail" | "searchEmails";
40
+ export interface TaskConfig {
41
+ readonly command?: string;
42
+ readonly script?: string;
43
+ readonly url?: string;
44
+ readonly method?: "GET" | "POST" | "PUT" | "DELETE";
45
+ readonly headers?: Record<string, string>;
46
+ readonly body?: unknown;
47
+ readonly filePath?: string;
48
+ readonly workingDirectory?: string;
49
+ readonly environment?: Record<string, string>;
50
+ readonly gmailOperation?: GmailOperation;
51
+ readonly gmailQuery?: string;
52
+ readonly gmailMaxResults?: number;
53
+ readonly emailId?: string;
54
+ readonly to?: string[];
55
+ readonly subject?: string;
56
+ readonly cc?: string[];
57
+ readonly bcc?: string[];
58
+ }
59
+ export interface Automation {
60
+ readonly id: string;
61
+ readonly name: string;
62
+ readonly description: string;
63
+ readonly agents: readonly string[];
64
+ readonly triggers: readonly Trigger[];
65
+ readonly status: AutomationStatus;
66
+ readonly createdAt: Date;
67
+ readonly updatedAt: Date;
68
+ }
69
+ export type AutomationStatus = "active" | "inactive" | "paused" | "error";
70
+ export interface Trigger {
71
+ readonly id: string;
72
+ readonly type: TriggerType;
73
+ readonly config: TriggerConfig;
74
+ readonly enabled: boolean;
75
+ }
76
+ export type TriggerType = "schedule" | "file" | "webhook" | "manual" | "event";
77
+ export interface TriggerConfig {
78
+ readonly cron?: string;
79
+ readonly interval?: number;
80
+ readonly filePath?: string;
81
+ readonly event?: string;
82
+ readonly conditions?: readonly Condition[];
83
+ }
84
+ export interface Condition {
85
+ readonly field: string;
86
+ readonly operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than";
87
+ readonly value: unknown;
88
+ }
89
+ export interface Schedule {
90
+ readonly type: "cron" | "interval" | "once";
91
+ readonly value: string | number;
92
+ readonly timezone?: string;
93
+ readonly enabled: boolean;
94
+ }
95
+ export interface RetryPolicy {
96
+ readonly maxRetries: number;
97
+ readonly backoff: "linear" | "exponential" | "fixed";
98
+ readonly delay: number;
99
+ readonly maxDelay?: number;
100
+ }
101
+ export interface TaskResult {
102
+ readonly taskId: string;
103
+ readonly status: "success" | "failure" | "skipped";
104
+ readonly output?: string;
105
+ readonly error?: string;
106
+ readonly duration: number;
107
+ readonly timestamp: Date;
108
+ readonly metadata?: Record<string, unknown>;
109
+ }
110
+ export interface AgentResult {
111
+ readonly agentId: string;
112
+ readonly status: "success" | "failure" | "partial";
113
+ readonly taskResults: readonly TaskResult[];
114
+ readonly duration: number;
115
+ readonly timestamp: Date;
116
+ readonly metadata?: Record<string, unknown>;
117
+ }
118
+ export interface AppConfig {
119
+ readonly storage: StorageConfig;
120
+ readonly logging: LoggingConfig;
121
+ readonly security: SecurityConfig;
122
+ readonly performance: PerformanceConfig;
123
+ readonly google?: GoogleConfig;
124
+ readonly llm?: LLMConfig;
125
+ readonly linkup?: LinkupConfig;
126
+ }
127
+ export type StorageConfig = {
128
+ readonly type: "file";
129
+ readonly path: string;
130
+ } | {
131
+ readonly type: "database";
132
+ readonly connectionString: string;
133
+ };
134
+ export interface LoggingConfig {
135
+ readonly level: "debug" | "info" | "warn" | "error";
136
+ readonly format: "json" | "pretty";
137
+ readonly output: "console" | "file" | "both";
138
+ readonly filePath?: string;
139
+ }
140
+ export interface SecurityConfig {
141
+ readonly encryptionKey?: string;
142
+ readonly allowedOrigins?: readonly string[];
143
+ readonly rateLimit?: RateLimitConfig;
144
+ }
145
+ export interface RateLimitConfig {
146
+ readonly requests: number;
147
+ readonly window: number;
148
+ }
149
+ export interface PerformanceConfig {
150
+ readonly maxConcurrentAgents: number;
151
+ readonly maxConcurrentTasks: number;
152
+ readonly timeout: number;
153
+ readonly memoryLimit?: number;
154
+ }
155
+ export interface GoogleConfig {
156
+ readonly clientId: string;
157
+ readonly clientSecret: string;
158
+ }
159
+ export interface LLMProviderConfig {
160
+ readonly api_key: string;
161
+ }
162
+ export interface LLMConfig {
163
+ readonly openai?: LLMProviderConfig;
164
+ readonly anthropic?: LLMProviderConfig;
165
+ readonly gemini?: LLMProviderConfig;
166
+ readonly mistral?: LLMProviderConfig;
167
+ readonly contextManagement?: ContextManagementConfig;
168
+ }
169
+ export interface ContextManagementConfig {
170
+ readonly summarizationThreshold?: number;
171
+ readonly targetTokensRatio?: number;
172
+ readonly aggressiveThreshold?: number;
173
+ readonly preserveRecentMessages?: number;
174
+ readonly maxRecentTokens?: number;
175
+ readonly enableProactiveSummarization?: boolean;
176
+ readonly summarizeToolResults?: boolean;
177
+ }
178
+ export interface LinkupConfig {
179
+ readonly apiKey: string;
180
+ readonly baseUrl?: string;
181
+ readonly timeout?: number;
182
+ }
183
+ export declare const TaskSchema: Schema.Struct<{
184
+ id: typeof Schema.String;
185
+ name: typeof Schema.String;
186
+ description: typeof Schema.String;
187
+ type: Schema.Literal<["command", "script", "api", "file", "webhook", "custom", "gmail"]>;
188
+ config: Schema.Record$<typeof Schema.String, typeof Schema.Unknown>;
189
+ dependencies: Schema.optional<Schema.Array$<typeof Schema.String>>;
190
+ retryCount: Schema.optional<typeof Schema.Number>;
191
+ maxRetries: Schema.optional<typeof Schema.Number>;
192
+ }>;
193
+ export declare const AutomationSchema: Schema.Struct<{
194
+ id: typeof Schema.String;
195
+ name: typeof Schema.String;
196
+ description: typeof Schema.String;
197
+ agents: Schema.Array$<typeof Schema.String>;
198
+ triggers: Schema.Array$<Schema.Struct<{
199
+ id: typeof Schema.String;
200
+ type: Schema.Literal<["schedule", "file", "webhook", "manual", "event"]>;
201
+ config: Schema.Record$<typeof Schema.String, typeof Schema.Unknown>;
202
+ enabled: typeof Schema.Boolean;
203
+ }>>;
204
+ status: Schema.Literal<["active", "inactive", "paused", "error"]>;
205
+ createdAt: typeof Schema.Date;
206
+ updatedAt: typeof Schema.Date;
207
+ }>;
208
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhC;;GAEG;AAEH,YAAY,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAG5D,MAAM,WAAW,KAAK;IACpB,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,MAAM,EAAE,WAAW,CAAC;IAC7B,QAAQ,CAAC,MAAM,EAAE,WAAW,CAAC;IAC7B,QAAQ,CAAC,SAAS,EAAE,IAAI,CAAC;IACzB,QAAQ,CAAC,SAAS,EAAE,IAAI,CAAC;CAC1B;AAED,MAAM,WAAW,WAAW;IAC1B,QAAQ,CAAC,KAAK,EAAE,SAAS,IAAI,EAAE,CAAC;IAChC,QAAQ,CAAC,QAAQ,CAAC,EAAE,QAAQ,CAAC;IAC7B,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,WAAW,CAAC,EAAE,MA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