@rudderhq/shared 0.7.11 → 0.7.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent-run.d.ts.map +1 -1
- package/dist/agent-run.js +20 -0
- package/dist/agent-run.js.map +1 -1
- package/dist/agent-run.test.js +1 -0
- package/dist/agent-run.test.js.map +1 -1
- package/dist/config-schema.d.ts +7 -7
- package/dist/constants.d.ts +5 -3
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +3 -0
- package/dist/constants.js.map +1 -1
- package/dist/index.d.ts +4 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/native-mode.d.ts +42 -0
- package/dist/native-mode.d.ts.map +1 -0
- package/dist/native-mode.js +86 -0
- package/dist/native-mode.js.map +1 -0
- package/dist/native-mode.test.d.ts +2 -0
- package/dist/native-mode.test.d.ts.map +1 -0
- package/dist/native-mode.test.js +39 -0
- package/dist/native-mode.test.js.map +1 -0
- package/dist/short-refs.d.ts +1 -1
- package/dist/short-refs.d.ts.map +1 -1
- package/dist/short-refs.js +6 -0
- package/dist/short-refs.js.map +1 -1
- package/dist/short-refs.test.js +14 -0
- package/dist/short-refs.test.js.map +1 -1
- package/dist/types/chat.d.ts +15 -4
- package/dist/types/chat.d.ts.map +1 -1
- package/dist/types/goal.d.ts +17 -0
- package/dist/types/goal.d.ts.map +1 -1
- package/dist/types/heartbeat.d.ts +42 -1
- package/dist/types/heartbeat.d.ts.map +1 -1
- package/dist/types/index.d.ts +3 -3
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/project.d.ts +2 -0
- package/dist/types/project.d.ts.map +1 -1
- package/dist/types/run-intelligence.d.ts +2 -0
- package/dist/types/run-intelligence.d.ts.map +1 -1
- package/dist/validators/agent-issue-creation.d.ts +2 -2
- package/dist/validators/automation.d.ts +16 -16
- package/dist/validators/calendar.d.ts +8 -8
- package/dist/validators/chat.d.ts +300 -300
- package/dist/validators/chat.d.ts.map +1 -1
- package/dist/validators/chat.js +1 -0
- package/dist/validators/chat.js.map +1 -1
- package/dist/validators/finance.d.ts +4 -4
- package/dist/validators/index.d.ts +1 -1
- package/dist/validators/index.d.ts.map +1 -1
- package/dist/validators/index.js +1 -1
- package/dist/validators/index.js.map +1 -1
- package/dist/validators/issue.d.ts +4 -4
- package/dist/validators/mcp.d.ts +4 -4
- package/dist/validators/project.d.ts +4 -4
- package/package.json +1 -1
|
@@ -13,16 +13,16 @@ export declare const createAgentIssueCreationRequestSchema: z.ZodObject<{
|
|
|
13
13
|
idempotencyKey: string;
|
|
14
14
|
instruction: string;
|
|
15
15
|
projectId?: string | null | undefined;
|
|
16
|
-
contextSnapshot?: Record<string, unknown> | null | undefined;
|
|
17
16
|
goalId?: string | null | undefined;
|
|
17
|
+
contextSnapshot?: Record<string, unknown> | null | undefined;
|
|
18
18
|
parentId?: string | null | undefined;
|
|
19
19
|
}, {
|
|
20
20
|
agentId: string;
|
|
21
21
|
idempotencyKey: string;
|
|
22
22
|
instruction: string;
|
|
23
23
|
projectId?: string | null | undefined;
|
|
24
|
-
contextSnapshot?: Record<string, unknown> | null | undefined;
|
|
25
24
|
goalId?: string | null | undefined;
|
|
25
|
+
contextSnapshot?: Record<string, unknown> | null | undefined;
|
|
26
26
|
parentId?: string | null | undefined;
|
|
27
27
|
}>;
|
|
28
28
|
export type CreateAgentIssueCreationRequest = z.infer<typeof createAgentIssueCreationRequestSchema>;
|
|
@@ -44,8 +44,8 @@ export declare const createAutomationSchema: z.ZodEffects<z.ZodEffects<z.ZodEffe
|
|
|
44
44
|
chatConversationId: string | null;
|
|
45
45
|
notifyOnIssueCreated: boolean;
|
|
46
46
|
instructions?: string | null | undefined;
|
|
47
|
-
description?: string | null | undefined;
|
|
48
47
|
goalId?: string | null | undefined;
|
|
48
|
+
description?: string | null | undefined;
|
|
49
49
|
parentIssueId?: string | null | undefined;
|
|
50
50
|
assigneeAgentRuntimeOverrides?: {
|
|
51
51
|
agentRuntimeConfig?: Record<string, unknown> | undefined;
|
|
@@ -57,8 +57,8 @@ export declare const createAutomationSchema: z.ZodEffects<z.ZodEffects<z.ZodEffe
|
|
|
57
57
|
status?: "active" | "paused" | undefined;
|
|
58
58
|
projectId?: string | null | undefined;
|
|
59
59
|
instructions?: string | null | undefined;
|
|
60
|
-
description?: string | null | undefined;
|
|
61
60
|
goalId?: string | null | undefined;
|
|
61
|
+
description?: string | null | undefined;
|
|
62
62
|
parentIssueId?: string | null | undefined;
|
|
63
63
|
priority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
64
64
|
concurrencyPolicy?: "coalesce_if_active" | "always_enqueue" | "skip_if_active" | undefined;
|
|
@@ -82,8 +82,8 @@ export declare const createAutomationSchema: z.ZodEffects<z.ZodEffects<z.ZodEffe
|
|
|
82
82
|
chatConversationId: string | null;
|
|
83
83
|
notifyOnIssueCreated: boolean;
|
|
84
84
|
instructions?: string | null | undefined;
|
|
85
|
-
description?: string | null | undefined;
|
|
86
85
|
goalId?: string | null | undefined;
|
|
86
|
+
description?: string | null | undefined;
|
|
87
87
|
parentIssueId?: string | null | undefined;
|
|
88
88
|
assigneeAgentRuntimeOverrides?: {
|
|
89
89
|
agentRuntimeConfig?: Record<string, unknown> | undefined;
|
|
@@ -95,8 +95,8 @@ export declare const createAutomationSchema: z.ZodEffects<z.ZodEffects<z.ZodEffe
|
|
|
95
95
|
status?: "active" | "paused" | undefined;
|
|
96
96
|
projectId?: string | null | undefined;
|
|
97
97
|
instructions?: string | null | undefined;
|
|
98
|
-
description?: string | null | undefined;
|
|
99
98
|
goalId?: string | null | undefined;
|
|
99
|
+
description?: string | null | undefined;
|
|
100
100
|
parentIssueId?: string | null | undefined;
|
|
101
101
|
priority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
102
102
|
concurrencyPolicy?: "coalesce_if_active" | "always_enqueue" | "skip_if_active" | undefined;
|
|
@@ -120,8 +120,8 @@ export declare const createAutomationSchema: z.ZodEffects<z.ZodEffects<z.ZodEffe
|
|
|
120
120
|
chatConversationId: string | null;
|
|
121
121
|
notifyOnIssueCreated: boolean;
|
|
122
122
|
instructions?: string | null | undefined;
|
|
123
|
-
description?: string | null | undefined;
|
|
124
123
|
goalId?: string | null | undefined;
|
|
124
|
+
description?: string | null | undefined;
|
|
125
125
|
parentIssueId?: string | null | undefined;
|
|
126
126
|
assigneeAgentRuntimeOverrides?: {
|
|
127
127
|
agentRuntimeConfig?: Record<string, unknown> | undefined;
|
|
@@ -135,8 +135,8 @@ export declare const createAutomationSchema: z.ZodEffects<z.ZodEffects<z.ZodEffe
|
|
|
135
135
|
status?: "active" | "paused" | undefined;
|
|
136
136
|
projectId?: string | null | undefined;
|
|
137
137
|
instructions?: string | null | undefined;
|
|
138
|
-
description?: string | null | undefined;
|
|
139
138
|
goalId?: string | null | undefined;
|
|
139
|
+
description?: string | null | undefined;
|
|
140
140
|
parentIssueId?: string | null | undefined;
|
|
141
141
|
priority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
142
142
|
concurrencyPolicy?: "coalesce_if_active" | "always_enqueue" | "skip_if_active" | undefined;
|
|
@@ -160,8 +160,8 @@ export declare const createAutomationSchema: z.ZodEffects<z.ZodEffects<z.ZodEffe
|
|
|
160
160
|
chatConversationId: string | null;
|
|
161
161
|
notifyOnIssueCreated: boolean;
|
|
162
162
|
instructions?: string | null | undefined;
|
|
163
|
-
description?: string | null | undefined;
|
|
164
163
|
goalId?: string | null | undefined;
|
|
164
|
+
description?: string | null | undefined;
|
|
165
165
|
parentIssueId?: string | null | undefined;
|
|
166
166
|
assigneeAgentRuntimeOverrides?: {
|
|
167
167
|
agentRuntimeConfig?: Record<string, unknown> | undefined;
|
|
@@ -175,8 +175,8 @@ export declare const createAutomationSchema: z.ZodEffects<z.ZodEffects<z.ZodEffe
|
|
|
175
175
|
status?: "active" | "paused" | undefined;
|
|
176
176
|
projectId?: string | null | undefined;
|
|
177
177
|
instructions?: string | null | undefined;
|
|
178
|
-
description?: string | null | undefined;
|
|
179
178
|
goalId?: string | null | undefined;
|
|
179
|
+
description?: string | null | undefined;
|
|
180
180
|
parentIssueId?: string | null | undefined;
|
|
181
181
|
priority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
182
182
|
concurrencyPolicy?: "coalesce_if_active" | "always_enqueue" | "skip_if_active" | undefined;
|
|
@@ -220,8 +220,8 @@ export declare const updateAutomationSchema: z.ZodEffects<z.ZodEffects<z.ZodEffe
|
|
|
220
220
|
projectId?: string | null | undefined;
|
|
221
221
|
title?: string | undefined;
|
|
222
222
|
instructions?: string | null | undefined;
|
|
223
|
-
description?: string | null | undefined;
|
|
224
223
|
goalId?: string | null | undefined;
|
|
224
|
+
description?: string | null | undefined;
|
|
225
225
|
parentIssueId?: string | null | undefined;
|
|
226
226
|
priority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
227
227
|
concurrencyPolicy?: "coalesce_if_active" | "always_enqueue" | "skip_if_active" | undefined;
|
|
@@ -239,8 +239,8 @@ export declare const updateAutomationSchema: z.ZodEffects<z.ZodEffects<z.ZodEffe
|
|
|
239
239
|
projectId?: string | null | undefined;
|
|
240
240
|
title?: string | undefined;
|
|
241
241
|
instructions?: string | null | undefined;
|
|
242
|
-
description?: string | null | undefined;
|
|
243
242
|
goalId?: string | null | undefined;
|
|
243
|
+
description?: string | null | undefined;
|
|
244
244
|
parentIssueId?: string | null | undefined;
|
|
245
245
|
priority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
246
246
|
concurrencyPolicy?: "coalesce_if_active" | "always_enqueue" | "skip_if_active" | undefined;
|
|
@@ -258,8 +258,8 @@ export declare const updateAutomationSchema: z.ZodEffects<z.ZodEffects<z.ZodEffe
|
|
|
258
258
|
projectId?: string | null | undefined;
|
|
259
259
|
title?: string | undefined;
|
|
260
260
|
instructions?: string | null | undefined;
|
|
261
|
-
description?: string | null | undefined;
|
|
262
261
|
goalId?: string | null | undefined;
|
|
262
|
+
description?: string | null | undefined;
|
|
263
263
|
parentIssueId?: string | null | undefined;
|
|
264
264
|
priority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
265
265
|
concurrencyPolicy?: "coalesce_if_active" | "always_enqueue" | "skip_if_active" | undefined;
|
|
@@ -277,8 +277,8 @@ export declare const updateAutomationSchema: z.ZodEffects<z.ZodEffects<z.ZodEffe
|
|
|
277
277
|
projectId?: string | null | undefined;
|
|
278
278
|
title?: string | undefined;
|
|
279
279
|
instructions?: string | null | undefined;
|
|
280
|
-
description?: string | null | undefined;
|
|
281
280
|
goalId?: string | null | undefined;
|
|
281
|
+
description?: string | null | undefined;
|
|
282
282
|
parentIssueId?: string | null | undefined;
|
|
283
283
|
priority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
284
284
|
concurrencyPolicy?: "coalesce_if_active" | "always_enqueue" | "skip_if_active" | undefined;
|
|
@@ -296,8 +296,8 @@ export declare const updateAutomationSchema: z.ZodEffects<z.ZodEffects<z.ZodEffe
|
|
|
296
296
|
projectId?: string | null | undefined;
|
|
297
297
|
title?: string | undefined;
|
|
298
298
|
instructions?: string | null | undefined;
|
|
299
|
-
description?: string | null | undefined;
|
|
300
299
|
goalId?: string | null | undefined;
|
|
300
|
+
description?: string | null | undefined;
|
|
301
301
|
parentIssueId?: string | null | undefined;
|
|
302
302
|
priority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
303
303
|
concurrencyPolicy?: "coalesce_if_active" | "always_enqueue" | "skip_if_active" | undefined;
|
|
@@ -317,8 +317,8 @@ export declare const updateAutomationSchema: z.ZodEffects<z.ZodEffects<z.ZodEffe
|
|
|
317
317
|
projectId?: string | null | undefined;
|
|
318
318
|
title?: string | undefined;
|
|
319
319
|
instructions?: string | null | undefined;
|
|
320
|
-
description?: string | null | undefined;
|
|
321
320
|
goalId?: string | null | undefined;
|
|
321
|
+
description?: string | null | undefined;
|
|
322
322
|
parentIssueId?: string | null | undefined;
|
|
323
323
|
priority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
324
324
|
concurrencyPolicy?: "coalesce_if_active" | "always_enqueue" | "skip_if_active" | undefined;
|
|
@@ -336,8 +336,8 @@ export declare const updateAutomationSchema: z.ZodEffects<z.ZodEffects<z.ZodEffe
|
|
|
336
336
|
projectId?: string | null | undefined;
|
|
337
337
|
title?: string | undefined;
|
|
338
338
|
instructions?: string | null | undefined;
|
|
339
|
-
description?: string | null | undefined;
|
|
340
339
|
goalId?: string | null | undefined;
|
|
340
|
+
description?: string | null | undefined;
|
|
341
341
|
parentIssueId?: string | null | undefined;
|
|
342
342
|
priority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
343
343
|
concurrencyPolicy?: "coalesce_if_active" | "always_enqueue" | "skip_if_active" | undefined;
|
|
@@ -357,8 +357,8 @@ export declare const updateAutomationSchema: z.ZodEffects<z.ZodEffects<z.ZodEffe
|
|
|
357
357
|
projectId?: string | null | undefined;
|
|
358
358
|
title?: string | undefined;
|
|
359
359
|
instructions?: string | null | undefined;
|
|
360
|
-
description?: string | null | undefined;
|
|
361
360
|
goalId?: string | null | undefined;
|
|
361
|
+
description?: string | null | undefined;
|
|
362
362
|
parentIssueId?: string | null | undefined;
|
|
363
363
|
priority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
364
364
|
concurrencyPolicy?: "coalesce_if_active" | "always_enqueue" | "skip_if_active" | undefined;
|
|
@@ -112,9 +112,9 @@ export declare const createCalendarEventSchema: z.ZodEffects<z.ZodObject<{
|
|
|
112
112
|
sourceMode: "manual" | "derived" | "imported";
|
|
113
113
|
projectId?: string | null | undefined;
|
|
114
114
|
issueId?: string | null | undefined;
|
|
115
|
+
goalId?: string | null | undefined;
|
|
115
116
|
ownerAgentId?: string | null | undefined;
|
|
116
117
|
description?: string | null | undefined;
|
|
117
|
-
goalId?: string | null | undefined;
|
|
118
118
|
approvalId?: string | null | undefined;
|
|
119
119
|
externalProvider?: string | null | undefined;
|
|
120
120
|
ownerUserId?: string | null | undefined;
|
|
@@ -133,9 +133,9 @@ export declare const createCalendarEventSchema: z.ZodEffects<z.ZodObject<{
|
|
|
133
133
|
endAt: Date;
|
|
134
134
|
projectId?: string | null | undefined;
|
|
135
135
|
issueId?: string | null | undefined;
|
|
136
|
+
goalId?: string | null | undefined;
|
|
136
137
|
ownerAgentId?: string | null | undefined;
|
|
137
138
|
description?: string | null | undefined;
|
|
138
|
-
goalId?: string | null | undefined;
|
|
139
139
|
timezone?: string | undefined;
|
|
140
140
|
approvalId?: string | null | undefined;
|
|
141
141
|
externalProvider?: string | null | undefined;
|
|
@@ -164,9 +164,9 @@ export declare const createCalendarEventSchema: z.ZodEffects<z.ZodObject<{
|
|
|
164
164
|
sourceMode: "manual" | "derived" | "imported";
|
|
165
165
|
projectId?: string | null | undefined;
|
|
166
166
|
issueId?: string | null | undefined;
|
|
167
|
+
goalId?: string | null | undefined;
|
|
167
168
|
ownerAgentId?: string | null | undefined;
|
|
168
169
|
description?: string | null | undefined;
|
|
169
|
-
goalId?: string | null | undefined;
|
|
170
170
|
approvalId?: string | null | undefined;
|
|
171
171
|
externalProvider?: string | null | undefined;
|
|
172
172
|
ownerUserId?: string | null | undefined;
|
|
@@ -185,9 +185,9 @@ export declare const createCalendarEventSchema: z.ZodEffects<z.ZodObject<{
|
|
|
185
185
|
endAt: Date;
|
|
186
186
|
projectId?: string | null | undefined;
|
|
187
187
|
issueId?: string | null | undefined;
|
|
188
|
+
goalId?: string | null | undefined;
|
|
188
189
|
ownerAgentId?: string | null | undefined;
|
|
189
190
|
description?: string | null | undefined;
|
|
190
|
-
goalId?: string | null | undefined;
|
|
191
191
|
timezone?: string | undefined;
|
|
192
192
|
approvalId?: string | null | undefined;
|
|
193
193
|
externalProvider?: string | null | undefined;
|
|
@@ -235,10 +235,10 @@ export declare const updateCalendarEventSchema: z.ZodEffects<z.ZodObject<{
|
|
|
235
235
|
projectId?: string | null | undefined;
|
|
236
236
|
title?: string | undefined;
|
|
237
237
|
issueId?: string | null | undefined;
|
|
238
|
+
goalId?: string | null | undefined;
|
|
238
239
|
ownerAgentId?: string | null | undefined;
|
|
239
240
|
description?: string | null | undefined;
|
|
240
241
|
eventKind?: "human_event" | "agent_work_block" | "external_event" | "system_event" | undefined;
|
|
241
|
-
goalId?: string | null | undefined;
|
|
242
242
|
timezone?: string | undefined;
|
|
243
243
|
approvalId?: string | null | undefined;
|
|
244
244
|
externalProvider?: string | null | undefined;
|
|
@@ -261,10 +261,10 @@ export declare const updateCalendarEventSchema: z.ZodEffects<z.ZodObject<{
|
|
|
261
261
|
projectId?: string | null | undefined;
|
|
262
262
|
title?: string | undefined;
|
|
263
263
|
issueId?: string | null | undefined;
|
|
264
|
+
goalId?: string | null | undefined;
|
|
264
265
|
ownerAgentId?: string | null | undefined;
|
|
265
266
|
description?: string | null | undefined;
|
|
266
267
|
eventKind?: "human_event" | "agent_work_block" | "external_event" | "system_event" | undefined;
|
|
267
|
-
goalId?: string | null | undefined;
|
|
268
268
|
timezone?: string | undefined;
|
|
269
269
|
approvalId?: string | null | undefined;
|
|
270
270
|
externalProvider?: string | null | undefined;
|
|
@@ -287,10 +287,10 @@ export declare const updateCalendarEventSchema: z.ZodEffects<z.ZodObject<{
|
|
|
287
287
|
projectId?: string | null | undefined;
|
|
288
288
|
title?: string | undefined;
|
|
289
289
|
issueId?: string | null | undefined;
|
|
290
|
+
goalId?: string | null | undefined;
|
|
290
291
|
ownerAgentId?: string | null | undefined;
|
|
291
292
|
description?: string | null | undefined;
|
|
292
293
|
eventKind?: "human_event" | "agent_work_block" | "external_event" | "system_event" | undefined;
|
|
293
|
-
goalId?: string | null | undefined;
|
|
294
294
|
timezone?: string | undefined;
|
|
295
295
|
approvalId?: string | null | undefined;
|
|
296
296
|
externalProvider?: string | null | undefined;
|
|
@@ -313,10 +313,10 @@ export declare const updateCalendarEventSchema: z.ZodEffects<z.ZodObject<{
|
|
|
313
313
|
projectId?: string | null | undefined;
|
|
314
314
|
title?: string | undefined;
|
|
315
315
|
issueId?: string | null | undefined;
|
|
316
|
+
goalId?: string | null | undefined;
|
|
316
317
|
ownerAgentId?: string | null | undefined;
|
|
317
318
|
description?: string | null | undefined;
|
|
318
319
|
eventKind?: "human_event" | "agent_work_block" | "external_event" | "system_event" | undefined;
|
|
319
|
-
goalId?: string | null | undefined;
|
|
320
320
|
timezone?: string | undefined;
|
|
321
321
|
approvalId?: string | null | undefined;
|
|
322
322
|
externalProvider?: string | null | undefined;
|