@rudderhq/shared 0.4.6-canary.8 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent-run.d.ts +3 -0
- package/dist/agent-run.d.ts.map +1 -1
- package/dist/agent-run.js +60 -8
- package/dist/agent-run.js.map +1 -1
- package/dist/agent-run.test.js +74 -1
- package/dist/agent-run.test.js.map +1 -1
- package/dist/browser-shortcuts.d.ts +16 -0
- package/dist/browser-shortcuts.d.ts.map +1 -0
- package/dist/browser-shortcuts.js +49 -0
- package/dist/browser-shortcuts.js.map +1 -0
- package/dist/browser-shortcuts.test.d.ts +2 -0
- package/dist/browser-shortcuts.test.d.ts.map +1 -0
- package/dist/browser-shortcuts.test.js +37 -0
- package/dist/browser-shortcuts.test.js.map +1 -0
- package/dist/chat-inline-visuals.d.ts +35 -0
- package/dist/chat-inline-visuals.d.ts.map +1 -0
- package/dist/chat-inline-visuals.js +167 -0
- package/dist/chat-inline-visuals.js.map +1 -0
- package/dist/chat-inline-visuals.test.d.ts +2 -0
- package/dist/chat-inline-visuals.test.d.ts.map +1 -0
- package/dist/chat-inline-visuals.test.js +112 -0
- package/dist/chat-inline-visuals.test.js.map +1 -0
- package/dist/chat-work-manifest.d.ts +1 -1
- package/dist/chat-work-manifest.d.ts.map +1 -1
- package/dist/chat-work-manifest.js +110 -2
- package/dist/chat-work-manifest.js.map +1 -1
- package/dist/chat-work-manifest.test.js +54 -0
- package/dist/chat-work-manifest.test.js.map +1 -1
- package/dist/constants.d.ts +4 -0
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +2 -0
- package/dist/constants.js.map +1 -1
- package/dist/index.d.ts +8 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +7 -4
- package/dist/index.js.map +1 -1
- package/dist/organization-skill-reference.d.ts +4 -1
- package/dist/organization-skill-reference.d.ts.map +1 -1
- package/dist/organization-skill-reference.js +29 -7
- package/dist/organization-skill-reference.js.map +1 -1
- package/dist/organization-skill-reference.test.js +17 -2
- package/dist/organization-skill-reference.test.js.map +1 -1
- package/dist/types/chat.d.ts +158 -5
- package/dist/types/chat.d.ts.map +1 -1
- package/dist/types/cost.d.ts +2 -0
- package/dist/types/cost.d.ts.map +1 -1
- package/dist/types/heartbeat.d.ts +10 -0
- package/dist/types/heartbeat.d.ts.map +1 -1
- package/dist/types/index.d.ts +4 -3
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/organization.d.ts +13 -1
- package/dist/types/organization.d.ts.map +1 -1
- package/dist/types/run-intelligence.d.ts +89 -0
- package/dist/types/run-intelligence.d.ts.map +1 -0
- package/dist/types/run-intelligence.js +2 -0
- package/dist/types/run-intelligence.js.map +1 -0
- package/dist/validators/adapter-skills.d.ts +6 -6
- package/dist/validators/agent.d.ts +12 -12
- package/dist/validators/approval.d.ts +2 -2
- package/dist/validators/automation.d.ts +60 -60
- package/dist/validators/budget.d.ts +4 -4
- package/dist/validators/calendar.d.ts +16 -16
- package/dist/validators/chat.d.ts +213 -72
- package/dist/validators/chat.d.ts.map +1 -1
- package/dist/validators/chat.js +170 -0
- package/dist/validators/chat.js.map +1 -1
- package/dist/validators/chat.test.js +71 -1
- package/dist/validators/chat.test.js.map +1 -1
- package/dist/validators/cost.d.ts +4 -4
- package/dist/validators/finance.d.ts +8 -8
- package/dist/validators/goal.d.ts +3 -3
- package/dist/validators/index.d.ts +2 -2
- package/dist/validators/index.d.ts.map +1 -1
- package/dist/validators/index.js +2 -2
- package/dist/validators/index.js.map +1 -1
- package/dist/validators/issue.d.ts +20 -20
- package/dist/validators/organization-portability.d.ts +96 -96
- package/dist/validators/organization-skill.d.ts +48 -48
- package/dist/validators/organization.d.ts +18 -0
- package/dist/validators/organization.d.ts.map +1 -1
- package/dist/validators/organization.js +7 -0
- package/dist/validators/organization.js.map +1 -1
- package/dist/validators/plugin.d.ts +2 -2
- package/dist/validators/project.d.ts +19 -19
- package/dist/validators/resource.d.ts +12 -12
- package/dist/validators/work-product.d.ts +12 -12
- package/dist/website-icons.d.ts +1 -0
- package/dist/website-icons.d.ts.map +1 -1
- package/dist/website-icons.js +1 -1
- package/dist/website-icons.js.map +1 -1
- package/dist/website-icons.test.js +4 -1
- package/dist/website-icons.test.js.map +1 -1
- package/package.json +1 -1
|
@@ -32,8 +32,8 @@ export declare const agentSkillEntrySchema: z.ZodObject<{
|
|
|
32
32
|
alwaysEnabled: boolean;
|
|
33
33
|
state: "configured" | "external" | "installed" | "available" | "missing" | "stale";
|
|
34
34
|
sourceClass: "organization" | "bundled" | "agent_home" | "global" | "adapter_home";
|
|
35
|
-
description?: string | null | undefined;
|
|
36
35
|
origin?: "organization_managed" | "user_installed" | "external_unknown" | undefined;
|
|
36
|
+
description?: string | null | undefined;
|
|
37
37
|
originLabel?: string | null | undefined;
|
|
38
38
|
locationLabel?: string | null | undefined;
|
|
39
39
|
readOnly?: boolean | undefined;
|
|
@@ -51,8 +51,8 @@ export declare const agentSkillEntrySchema: z.ZodObject<{
|
|
|
51
51
|
alwaysEnabled: boolean;
|
|
52
52
|
state: "configured" | "external" | "installed" | "available" | "missing" | "stale";
|
|
53
53
|
sourceClass: "organization" | "bundled" | "agent_home" | "global" | "adapter_home";
|
|
54
|
-
description?: string | null | undefined;
|
|
55
54
|
origin?: unknown;
|
|
55
|
+
description?: string | null | undefined;
|
|
56
56
|
originLabel?: string | null | undefined;
|
|
57
57
|
locationLabel?: string | null | undefined;
|
|
58
58
|
readOnly?: boolean | undefined;
|
|
@@ -95,8 +95,8 @@ export declare const agentSkillSnapshotSchema: z.ZodObject<{
|
|
|
95
95
|
alwaysEnabled: boolean;
|
|
96
96
|
state: "configured" | "external" | "installed" | "available" | "missing" | "stale";
|
|
97
97
|
sourceClass: "organization" | "bundled" | "agent_home" | "global" | "adapter_home";
|
|
98
|
-
description?: string | null | undefined;
|
|
99
98
|
origin?: "organization_managed" | "user_installed" | "external_unknown" | undefined;
|
|
99
|
+
description?: string | null | undefined;
|
|
100
100
|
originLabel?: string | null | undefined;
|
|
101
101
|
locationLabel?: string | null | undefined;
|
|
102
102
|
readOnly?: boolean | undefined;
|
|
@@ -114,8 +114,8 @@ export declare const agentSkillSnapshotSchema: z.ZodObject<{
|
|
|
114
114
|
alwaysEnabled: boolean;
|
|
115
115
|
state: "configured" | "external" | "installed" | "available" | "missing" | "stale";
|
|
116
116
|
sourceClass: "organization" | "bundled" | "agent_home" | "global" | "adapter_home";
|
|
117
|
-
description?: string | null | undefined;
|
|
118
117
|
origin?: unknown;
|
|
118
|
+
description?: string | null | undefined;
|
|
119
119
|
originLabel?: string | null | undefined;
|
|
120
120
|
locationLabel?: string | null | undefined;
|
|
121
121
|
readOnly?: boolean | undefined;
|
|
@@ -136,8 +136,8 @@ export declare const agentSkillSnapshotSchema: z.ZodObject<{
|
|
|
136
136
|
alwaysEnabled: boolean;
|
|
137
137
|
state: "configured" | "external" | "installed" | "available" | "missing" | "stale";
|
|
138
138
|
sourceClass: "organization" | "bundled" | "agent_home" | "global" | "adapter_home";
|
|
139
|
-
description?: string | null | undefined;
|
|
140
139
|
origin?: "organization_managed" | "user_installed" | "external_unknown" | undefined;
|
|
140
|
+
description?: string | null | undefined;
|
|
141
141
|
originLabel?: string | null | undefined;
|
|
142
142
|
locationLabel?: string | null | undefined;
|
|
143
143
|
readOnly?: boolean | undefined;
|
|
@@ -162,8 +162,8 @@ export declare const agentSkillSnapshotSchema: z.ZodObject<{
|
|
|
162
162
|
alwaysEnabled: boolean;
|
|
163
163
|
state: "configured" | "external" | "installed" | "available" | "missing" | "stale";
|
|
164
164
|
sourceClass: "organization" | "bundled" | "agent_home" | "global" | "adapter_home";
|
|
165
|
-
description?: string | null | undefined;
|
|
166
165
|
origin?: unknown;
|
|
166
|
+
description?: string | null | undefined;
|
|
167
167
|
originLabel?: string | null | undefined;
|
|
168
168
|
locationLabel?: string | null | undefined;
|
|
169
169
|
readOnly?: boolean | undefined;
|
|
@@ -86,8 +86,8 @@ export declare const createAgentSchema: z.ZodObject<{
|
|
|
86
86
|
icon?: string | null | undefined;
|
|
87
87
|
title?: string | null | undefined;
|
|
88
88
|
name?: string | undefined;
|
|
89
|
-
desiredSkills?: string[] | undefined;
|
|
90
89
|
metadata?: Record<string, unknown> | null | undefined;
|
|
90
|
+
desiredSkills?: string[] | undefined;
|
|
91
91
|
capabilities?: string | null | undefined;
|
|
92
92
|
permissions?: {
|
|
93
93
|
canCreateAgents: boolean;
|
|
@@ -98,9 +98,9 @@ export declare const createAgentSchema: z.ZodObject<{
|
|
|
98
98
|
icon?: unknown;
|
|
99
99
|
title?: string | null | undefined;
|
|
100
100
|
name?: unknown;
|
|
101
|
+
metadata?: Record<string, unknown> | null | undefined;
|
|
101
102
|
agentRuntimeType?: "process" | "http" | "claude_local" | "codex_local" | "gemini_local" | "opencode_local" | "pi_local" | "cursor" | "openclaw_gateway" | "hermes_local" | undefined;
|
|
102
103
|
desiredSkills?: string[] | undefined;
|
|
103
|
-
metadata?: Record<string, unknown> | null | undefined;
|
|
104
104
|
agentRuntimeConfig?: Record<string, unknown> | undefined;
|
|
105
105
|
budgetMonthlyCents?: number | undefined;
|
|
106
106
|
role?: "ceo" | "cto" | "cmo" | "cfo" | "engineer" | "designer" | "pm" | "qa" | "devops" | "researcher" | "general" | undefined;
|
|
@@ -150,8 +150,8 @@ export declare const createAgentHireSchema: z.ZodObject<Omit<{
|
|
|
150
150
|
icon?: string | null | undefined;
|
|
151
151
|
title?: string | null | undefined;
|
|
152
152
|
name?: string | undefined;
|
|
153
|
-
desiredSkills?: string[] | undefined;
|
|
154
153
|
metadata?: Record<string, unknown> | null | undefined;
|
|
154
|
+
desiredSkills?: string[] | undefined;
|
|
155
155
|
capabilities?: string | null | undefined;
|
|
156
156
|
permissions?: {
|
|
157
157
|
canCreateAgents: boolean;
|
|
@@ -164,9 +164,9 @@ export declare const createAgentHireSchema: z.ZodObject<Omit<{
|
|
|
164
164
|
icon?: unknown;
|
|
165
165
|
title?: string | null | undefined;
|
|
166
166
|
name?: unknown;
|
|
167
|
+
metadata?: Record<string, unknown> | null | undefined;
|
|
167
168
|
agentRuntimeType?: "process" | "http" | "claude_local" | "codex_local" | "gemini_local" | "opencode_local" | "pi_local" | "cursor" | "openclaw_gateway" | "hermes_local" | undefined;
|
|
168
169
|
desiredSkills?: string[] | undefined;
|
|
169
|
-
metadata?: Record<string, unknown> | null | undefined;
|
|
170
170
|
agentRuntimeConfig?: Record<string, unknown> | undefined;
|
|
171
171
|
budgetMonthlyCents?: number | undefined;
|
|
172
172
|
role?: "ceo" | "cto" | "cmo" | "cfo" | "engineer" | "designer" | "pm" | "qa" | "devops" | "researcher" | "general" | undefined;
|
|
@@ -185,9 +185,9 @@ export declare const updateAgentSchema: z.ZodObject<{
|
|
|
185
185
|
icon: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodUnion<[z.ZodEnum<["bot", "cpu", "brain", "zap", "rocket", "code", "terminal", "shield", "eye", "search", "wrench", "hammer", "lightbulb", "sparkles", "star", "heart", "flame", "bug", "cog", "database", "globe", "lock", "mail", "message-square", "file-code", "git-branch", "package", "puzzle", "target", "wand", "atom", "circuit-board", "radar", "swords", "telescope", "microscope", "crown", "gem", "hexagon", "pentagon", "fingerprint"]>, z.ZodString, z.ZodString]>>, string | null, unknown>>>;
|
|
186
186
|
title: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
187
187
|
name: z.ZodOptional<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>>;
|
|
188
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
188
189
|
agentRuntimeType: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodEnum<["process", "http", "claude_local", "codex_local", "gemini_local", "opencode_local", "pi_local", "cursor", "openclaw_gateway", "hermes_local"]>>>>;
|
|
189
190
|
desiredSkills: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
190
|
-
metadata: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
191
191
|
agentRuntimeConfig: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnknown>, Record<string, unknown>, Record<string, unknown>>>>>;
|
|
192
192
|
budgetMonthlyCents: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNumber>>>;
|
|
193
193
|
role: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodEnum<["ceo", "cto", "cmo", "cfo", "engineer", "designer", "pm", "qa", "devops", "researcher", "general"]>>>>;
|
|
@@ -200,13 +200,13 @@ export declare const updateAgentSchema: z.ZodObject<{
|
|
|
200
200
|
status: z.ZodOptional<z.ZodEnum<["active", "paused", "idle", "running", "error", "pending_approval", "terminated"]>>;
|
|
201
201
|
spentMonthlyCents: z.ZodOptional<z.ZodNumber>;
|
|
202
202
|
}, "strip", z.ZodTypeAny, {
|
|
203
|
+
status?: "active" | "paused" | "idle" | "running" | "error" | "pending_approval" | "terminated" | undefined;
|
|
203
204
|
icon?: string | null | undefined;
|
|
204
205
|
title?: string | null | undefined;
|
|
205
|
-
status?: "active" | "paused" | "idle" | "running" | "error" | "pending_approval" | "terminated" | undefined;
|
|
206
206
|
name?: string | undefined;
|
|
207
|
+
metadata?: Record<string, unknown> | null | undefined;
|
|
207
208
|
agentRuntimeType?: "process" | "http" | "claude_local" | "codex_local" | "gemini_local" | "opencode_local" | "pi_local" | "cursor" | "openclaw_gateway" | "hermes_local" | undefined;
|
|
208
209
|
desiredSkills?: string[] | undefined;
|
|
209
|
-
metadata?: Record<string, unknown> | null | undefined;
|
|
210
210
|
agentRuntimeConfig?: Record<string, unknown> | undefined;
|
|
211
211
|
budgetMonthlyCents?: number | undefined;
|
|
212
212
|
spentMonthlyCents?: number | undefined;
|
|
@@ -217,13 +217,13 @@ export declare const updateAgentSchema: z.ZodObject<{
|
|
|
217
217
|
reportsTo?: string | null | undefined;
|
|
218
218
|
replaceAgentRuntimeConfig?: boolean | undefined;
|
|
219
219
|
}, {
|
|
220
|
+
status?: "active" | "paused" | "idle" | "running" | "error" | "pending_approval" | "terminated" | undefined;
|
|
220
221
|
icon?: unknown;
|
|
221
222
|
title?: string | null | undefined;
|
|
222
|
-
status?: "active" | "paused" | "idle" | "running" | "error" | "pending_approval" | "terminated" | undefined;
|
|
223
223
|
name?: unknown;
|
|
224
|
+
metadata?: Record<string, unknown> | null | undefined;
|
|
224
225
|
agentRuntimeType?: "process" | "http" | "claude_local" | "codex_local" | "gemini_local" | "opencode_local" | "pi_local" | "cursor" | "openclaw_gateway" | "hermes_local" | undefined;
|
|
225
226
|
desiredSkills?: string[] | undefined;
|
|
226
|
-
metadata?: Record<string, unknown> | null | undefined;
|
|
227
227
|
agentRuntimeConfig?: Record<string, unknown> | undefined;
|
|
228
228
|
budgetMonthlyCents?: number | undefined;
|
|
229
229
|
spentMonthlyCents?: number | undefined;
|
|
@@ -264,17 +264,17 @@ export declare const wakeAgentSchema: z.ZodObject<{
|
|
|
264
264
|
}, "strip", z.ZodTypeAny, {
|
|
265
265
|
source: "automation" | "review" | "timer" | "assignment" | "on_demand";
|
|
266
266
|
forceFreshSession: boolean;
|
|
267
|
-
payload?: Record<string, unknown> | null | undefined;
|
|
268
267
|
reason?: string | null | undefined;
|
|
268
|
+
payload?: Record<string, unknown> | null | undefined;
|
|
269
269
|
triggerDetail?: "manual" | "system" | "ping" | "callback" | undefined;
|
|
270
270
|
idempotencyKey?: string | null | undefined;
|
|
271
271
|
}, {
|
|
272
|
+
reason?: string | null | undefined;
|
|
272
273
|
source?: "automation" | "review" | "timer" | "assignment" | "on_demand" | undefined;
|
|
274
|
+
forceFreshSession?: unknown;
|
|
273
275
|
payload?: Record<string, unknown> | null | undefined;
|
|
274
|
-
reason?: string | null | undefined;
|
|
275
276
|
triggerDetail?: "manual" | "system" | "ping" | "callback" | undefined;
|
|
276
277
|
idempotencyKey?: string | null | undefined;
|
|
277
|
-
forceFreshSession?: unknown;
|
|
278
278
|
}>;
|
|
279
279
|
export type WakeAgent = z.infer<typeof wakeAgentSchema>;
|
|
280
280
|
export declare const resetAgentSessionSchema: z.ZodObject<{
|
|
@@ -22,11 +22,11 @@ export declare const resolveApprovalSchema: z.ZodObject<{
|
|
|
22
22
|
payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
23
23
|
}, "strip", z.ZodTypeAny, {
|
|
24
24
|
decidedByUserId: string;
|
|
25
|
-
decisionNote?: string | null | undefined;
|
|
26
25
|
payload?: Record<string, unknown> | undefined;
|
|
27
|
-
}, {
|
|
28
26
|
decisionNote?: string | null | undefined;
|
|
27
|
+
}, {
|
|
29
28
|
payload?: Record<string, unknown> | undefined;
|
|
29
|
+
decisionNote?: string | null | undefined;
|
|
30
30
|
decidedByUserId?: string | undefined;
|
|
31
31
|
}>;
|
|
32
32
|
export type ResolveApproval = z.infer<typeof resolveApprovalSchema>;
|
|
@@ -23,124 +23,124 @@ export declare const createAutomationSchema: z.ZodEffects<z.ZodEffects<z.ZodEffe
|
|
|
23
23
|
chatConversationId: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
24
24
|
notifyOnIssueCreated: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
25
25
|
}, "strip", z.ZodTypeAny, {
|
|
26
|
+
status: "active" | "paused";
|
|
26
27
|
projectId: string | null;
|
|
27
28
|
title: string;
|
|
28
|
-
status: "active" | "paused";
|
|
29
29
|
priority: "critical" | "high" | "medium" | "low";
|
|
30
|
-
assigneeAgentId: string;
|
|
31
30
|
concurrencyPolicy: "coalesce_if_active" | "always_enqueue" | "skip_if_active";
|
|
32
31
|
catchUpPolicy: "skip_missed" | "enqueue_missed_with_cap";
|
|
33
32
|
outputMode: "track_issue" | "chat_output";
|
|
33
|
+
assigneeAgentId: string;
|
|
34
34
|
chatConversationId: string | null;
|
|
35
35
|
notifyOnIssueCreated: boolean;
|
|
36
36
|
description?: string | null | undefined;
|
|
37
|
-
goalId?: string | null | undefined;
|
|
38
37
|
instructions?: string | null | undefined;
|
|
38
|
+
goalId?: string | null | undefined;
|
|
39
39
|
parentIssueId?: string | null | undefined;
|
|
40
40
|
}, {
|
|
41
41
|
title: string;
|
|
42
42
|
assigneeAgentId: string;
|
|
43
|
-
projectId?: string | null | undefined;
|
|
44
43
|
status?: "active" | "paused" | undefined;
|
|
44
|
+
projectId?: string | null | undefined;
|
|
45
45
|
description?: string | null | undefined;
|
|
46
|
-
priority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
47
|
-
goalId?: string | null | undefined;
|
|
48
46
|
instructions?: string | null | undefined;
|
|
47
|
+
goalId?: string | null | undefined;
|
|
49
48
|
parentIssueId?: string | null | undefined;
|
|
49
|
+
priority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
50
50
|
concurrencyPolicy?: "coalesce_if_active" | "always_enqueue" | "skip_if_active" | undefined;
|
|
51
51
|
catchUpPolicy?: "skip_missed" | "enqueue_missed_with_cap" | undefined;
|
|
52
52
|
outputMode?: "track_issue" | "chat_output" | undefined;
|
|
53
53
|
chatConversationId?: string | null | undefined;
|
|
54
54
|
notifyOnIssueCreated?: boolean | undefined;
|
|
55
55
|
}>, {
|
|
56
|
+
status: "active" | "paused";
|
|
56
57
|
projectId: string | null;
|
|
57
58
|
title: string;
|
|
58
|
-
status: "active" | "paused";
|
|
59
59
|
priority: "critical" | "high" | "medium" | "low";
|
|
60
|
-
assigneeAgentId: string;
|
|
61
60
|
concurrencyPolicy: "coalesce_if_active" | "always_enqueue" | "skip_if_active";
|
|
62
61
|
catchUpPolicy: "skip_missed" | "enqueue_missed_with_cap";
|
|
63
62
|
outputMode: "track_issue" | "chat_output";
|
|
63
|
+
assigneeAgentId: string;
|
|
64
64
|
chatConversationId: string | null;
|
|
65
65
|
notifyOnIssueCreated: boolean;
|
|
66
66
|
description?: string | null | undefined;
|
|
67
|
-
goalId?: string | null | undefined;
|
|
68
67
|
instructions?: string | null | undefined;
|
|
68
|
+
goalId?: string | null | undefined;
|
|
69
69
|
parentIssueId?: string | null | undefined;
|
|
70
70
|
}, {
|
|
71
71
|
title: string;
|
|
72
72
|
assigneeAgentId: string;
|
|
73
|
-
projectId?: string | null | undefined;
|
|
74
73
|
status?: "active" | "paused" | undefined;
|
|
74
|
+
projectId?: string | null | undefined;
|
|
75
75
|
description?: string | null | undefined;
|
|
76
|
-
priority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
77
|
-
goalId?: string | null | undefined;
|
|
78
76
|
instructions?: string | null | undefined;
|
|
77
|
+
goalId?: string | null | undefined;
|
|
79
78
|
parentIssueId?: string | null | undefined;
|
|
79
|
+
priority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
80
80
|
concurrencyPolicy?: "coalesce_if_active" | "always_enqueue" | "skip_if_active" | undefined;
|
|
81
81
|
catchUpPolicy?: "skip_missed" | "enqueue_missed_with_cap" | undefined;
|
|
82
82
|
outputMode?: "track_issue" | "chat_output" | undefined;
|
|
83
83
|
chatConversationId?: string | null | undefined;
|
|
84
84
|
notifyOnIssueCreated?: boolean | undefined;
|
|
85
85
|
}>, Omit<{
|
|
86
|
+
status: "active" | "paused";
|
|
86
87
|
projectId: string | null;
|
|
87
88
|
title: string;
|
|
88
|
-
status: "active" | "paused";
|
|
89
89
|
priority: "critical" | "high" | "medium" | "low";
|
|
90
|
-
assigneeAgentId: string;
|
|
91
90
|
concurrencyPolicy: "coalesce_if_active" | "always_enqueue" | "skip_if_active";
|
|
92
91
|
catchUpPolicy: "skip_missed" | "enqueue_missed_with_cap";
|
|
93
92
|
outputMode: "track_issue" | "chat_output";
|
|
93
|
+
assigneeAgentId: string;
|
|
94
94
|
chatConversationId: string | null;
|
|
95
95
|
notifyOnIssueCreated: boolean;
|
|
96
96
|
description?: string | null | undefined;
|
|
97
|
-
goalId?: string | null | undefined;
|
|
98
97
|
instructions?: string | null | undefined;
|
|
98
|
+
goalId?: string | null | undefined;
|
|
99
99
|
parentIssueId?: string | null | undefined;
|
|
100
100
|
}, "instructions"> & {
|
|
101
101
|
description: string | null | undefined;
|
|
102
102
|
}, {
|
|
103
103
|
title: string;
|
|
104
104
|
assigneeAgentId: string;
|
|
105
|
-
projectId?: string | null | undefined;
|
|
106
105
|
status?: "active" | "paused" | undefined;
|
|
106
|
+
projectId?: string | null | undefined;
|
|
107
107
|
description?: string | null | undefined;
|
|
108
|
-
priority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
109
|
-
goalId?: string | null | undefined;
|
|
110
108
|
instructions?: string | null | undefined;
|
|
109
|
+
goalId?: string | null | undefined;
|
|
111
110
|
parentIssueId?: string | null | undefined;
|
|
111
|
+
priority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
112
112
|
concurrencyPolicy?: "coalesce_if_active" | "always_enqueue" | "skip_if_active" | undefined;
|
|
113
113
|
catchUpPolicy?: "skip_missed" | "enqueue_missed_with_cap" | undefined;
|
|
114
114
|
outputMode?: "track_issue" | "chat_output" | undefined;
|
|
115
115
|
chatConversationId?: string | null | undefined;
|
|
116
116
|
notifyOnIssueCreated?: boolean | undefined;
|
|
117
117
|
}>, Omit<{
|
|
118
|
+
status: "active" | "paused";
|
|
118
119
|
projectId: string | null;
|
|
119
120
|
title: string;
|
|
120
|
-
status: "active" | "paused";
|
|
121
121
|
priority: "critical" | "high" | "medium" | "low";
|
|
122
|
-
assigneeAgentId: string;
|
|
123
122
|
concurrencyPolicy: "coalesce_if_active" | "always_enqueue" | "skip_if_active";
|
|
124
123
|
catchUpPolicy: "skip_missed" | "enqueue_missed_with_cap";
|
|
125
124
|
outputMode: "track_issue" | "chat_output";
|
|
125
|
+
assigneeAgentId: string;
|
|
126
126
|
chatConversationId: string | null;
|
|
127
127
|
notifyOnIssueCreated: boolean;
|
|
128
128
|
description?: string | null | undefined;
|
|
129
|
-
goalId?: string | null | undefined;
|
|
130
129
|
instructions?: string | null | undefined;
|
|
130
|
+
goalId?: string | null | undefined;
|
|
131
131
|
parentIssueId?: string | null | undefined;
|
|
132
132
|
}, "instructions"> & {
|
|
133
133
|
description: string | null | undefined;
|
|
134
134
|
}, {
|
|
135
135
|
title: string;
|
|
136
136
|
assigneeAgentId: string;
|
|
137
|
-
projectId?: string | null | undefined;
|
|
138
137
|
status?: "active" | "paused" | undefined;
|
|
138
|
+
projectId?: string | null | undefined;
|
|
139
139
|
description?: string | null | undefined;
|
|
140
|
-
priority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
141
|
-
goalId?: string | null | undefined;
|
|
142
140
|
instructions?: string | null | undefined;
|
|
141
|
+
goalId?: string | null | undefined;
|
|
143
142
|
parentIssueId?: string | null | undefined;
|
|
143
|
+
priority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
144
144
|
concurrencyPolicy?: "coalesce_if_active" | "always_enqueue" | "skip_if_active" | undefined;
|
|
145
145
|
catchUpPolicy?: "skip_missed" | "enqueue_missed_with_cap" | undefined;
|
|
146
146
|
outputMode?: "track_issue" | "chat_output" | undefined;
|
|
@@ -164,127 +164,127 @@ export declare const updateAutomationSchema: z.ZodEffects<z.ZodEffects<z.ZodEffe
|
|
|
164
164
|
chatConversationId: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodString>>>>;
|
|
165
165
|
notifyOnIssueCreated: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
166
166
|
}, "strip", z.ZodTypeAny, {
|
|
167
|
+
status?: "active" | "paused" | undefined;
|
|
167
168
|
projectId?: string | null | undefined;
|
|
168
169
|
title?: string | undefined;
|
|
169
|
-
status?: "active" | "paused" | undefined;
|
|
170
170
|
description?: string | null | undefined;
|
|
171
|
-
priority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
172
|
-
assigneeAgentId?: string | undefined;
|
|
173
|
-
goalId?: string | null | undefined;
|
|
174
171
|
instructions?: string | null | undefined;
|
|
172
|
+
goalId?: string | null | undefined;
|
|
175
173
|
parentIssueId?: string | null | undefined;
|
|
174
|
+
priority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
176
175
|
concurrencyPolicy?: "coalesce_if_active" | "always_enqueue" | "skip_if_active" | undefined;
|
|
177
176
|
catchUpPolicy?: "skip_missed" | "enqueue_missed_with_cap" | undefined;
|
|
178
177
|
outputMode?: "track_issue" | "chat_output" | undefined;
|
|
178
|
+
assigneeAgentId?: string | undefined;
|
|
179
179
|
chatConversationId?: string | null | undefined;
|
|
180
180
|
notifyOnIssueCreated?: boolean | undefined;
|
|
181
181
|
}, {
|
|
182
|
+
status?: "active" | "paused" | undefined;
|
|
182
183
|
projectId?: string | null | undefined;
|
|
183
184
|
title?: string | undefined;
|
|
184
|
-
status?: "active" | "paused" | undefined;
|
|
185
185
|
description?: string | null | undefined;
|
|
186
|
-
priority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
187
|
-
assigneeAgentId?: string | undefined;
|
|
188
|
-
goalId?: string | null | undefined;
|
|
189
186
|
instructions?: string | null | undefined;
|
|
187
|
+
goalId?: string | null | undefined;
|
|
190
188
|
parentIssueId?: string | null | undefined;
|
|
189
|
+
priority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
191
190
|
concurrencyPolicy?: "coalesce_if_active" | "always_enqueue" | "skip_if_active" | undefined;
|
|
192
191
|
catchUpPolicy?: "skip_missed" | "enqueue_missed_with_cap" | undefined;
|
|
193
192
|
outputMode?: "track_issue" | "chat_output" | undefined;
|
|
193
|
+
assigneeAgentId?: string | undefined;
|
|
194
194
|
chatConversationId?: string | null | undefined;
|
|
195
195
|
notifyOnIssueCreated?: boolean | undefined;
|
|
196
196
|
}>, {
|
|
197
|
+
status?: "active" | "paused" | undefined;
|
|
197
198
|
projectId?: string | null | undefined;
|
|
198
199
|
title?: string | undefined;
|
|
199
|
-
status?: "active" | "paused" | undefined;
|
|
200
200
|
description?: string | null | undefined;
|
|
201
|
-
priority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
202
|
-
assigneeAgentId?: string | undefined;
|
|
203
|
-
goalId?: string | null | undefined;
|
|
204
201
|
instructions?: string | null | undefined;
|
|
202
|
+
goalId?: string | null | undefined;
|
|
205
203
|
parentIssueId?: string | null | undefined;
|
|
204
|
+
priority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
206
205
|
concurrencyPolicy?: "coalesce_if_active" | "always_enqueue" | "skip_if_active" | undefined;
|
|
207
206
|
catchUpPolicy?: "skip_missed" | "enqueue_missed_with_cap" | undefined;
|
|
208
207
|
outputMode?: "track_issue" | "chat_output" | undefined;
|
|
208
|
+
assigneeAgentId?: string | undefined;
|
|
209
209
|
chatConversationId?: string | null | undefined;
|
|
210
210
|
notifyOnIssueCreated?: boolean | undefined;
|
|
211
211
|
}, {
|
|
212
|
+
status?: "active" | "paused" | undefined;
|
|
212
213
|
projectId?: string | null | undefined;
|
|
213
214
|
title?: string | undefined;
|
|
214
|
-
status?: "active" | "paused" | undefined;
|
|
215
215
|
description?: string | null | undefined;
|
|
216
|
-
priority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
217
|
-
assigneeAgentId?: string | undefined;
|
|
218
|
-
goalId?: string | null | undefined;
|
|
219
216
|
instructions?: string | null | undefined;
|
|
217
|
+
goalId?: string | null | undefined;
|
|
220
218
|
parentIssueId?: string | null | undefined;
|
|
219
|
+
priority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
221
220
|
concurrencyPolicy?: "coalesce_if_active" | "always_enqueue" | "skip_if_active" | undefined;
|
|
222
221
|
catchUpPolicy?: "skip_missed" | "enqueue_missed_with_cap" | undefined;
|
|
223
222
|
outputMode?: "track_issue" | "chat_output" | undefined;
|
|
223
|
+
assigneeAgentId?: string | undefined;
|
|
224
224
|
chatConversationId?: string | null | undefined;
|
|
225
225
|
notifyOnIssueCreated?: boolean | undefined;
|
|
226
226
|
}>, Omit<{
|
|
227
|
+
status?: "active" | "paused" | undefined;
|
|
227
228
|
projectId?: string | null | undefined;
|
|
228
229
|
title?: string | undefined;
|
|
229
|
-
status?: "active" | "paused" | undefined;
|
|
230
230
|
description?: string | null | undefined;
|
|
231
|
-
priority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
232
|
-
assigneeAgentId?: string | undefined;
|
|
233
|
-
goalId?: string | null | undefined;
|
|
234
231
|
instructions?: string | null | undefined;
|
|
232
|
+
goalId?: string | null | undefined;
|
|
235
233
|
parentIssueId?: string | null | undefined;
|
|
234
|
+
priority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
236
235
|
concurrencyPolicy?: "coalesce_if_active" | "always_enqueue" | "skip_if_active" | undefined;
|
|
237
236
|
catchUpPolicy?: "skip_missed" | "enqueue_missed_with_cap" | undefined;
|
|
238
237
|
outputMode?: "track_issue" | "chat_output" | undefined;
|
|
238
|
+
assigneeAgentId?: string | undefined;
|
|
239
239
|
chatConversationId?: string | null | undefined;
|
|
240
240
|
notifyOnIssueCreated?: boolean | undefined;
|
|
241
241
|
}, "instructions"> & {
|
|
242
242
|
description: string | null | undefined;
|
|
243
243
|
}, {
|
|
244
|
+
status?: "active" | "paused" | undefined;
|
|
244
245
|
projectId?: string | null | undefined;
|
|
245
246
|
title?: string | undefined;
|
|
246
|
-
status?: "active" | "paused" | undefined;
|
|
247
247
|
description?: string | null | undefined;
|
|
248
|
-
priority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
249
|
-
assigneeAgentId?: string | undefined;
|
|
250
|
-
goalId?: string | null | undefined;
|
|
251
248
|
instructions?: string | null | undefined;
|
|
249
|
+
goalId?: string | null | undefined;
|
|
252
250
|
parentIssueId?: string | null | undefined;
|
|
251
|
+
priority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
253
252
|
concurrencyPolicy?: "coalesce_if_active" | "always_enqueue" | "skip_if_active" | undefined;
|
|
254
253
|
catchUpPolicy?: "skip_missed" | "enqueue_missed_with_cap" | undefined;
|
|
255
254
|
outputMode?: "track_issue" | "chat_output" | undefined;
|
|
255
|
+
assigneeAgentId?: string | undefined;
|
|
256
256
|
chatConversationId?: string | null | undefined;
|
|
257
257
|
notifyOnIssueCreated?: boolean | undefined;
|
|
258
258
|
}>, Omit<{
|
|
259
|
+
status?: "active" | "paused" | undefined;
|
|
259
260
|
projectId?: string | null | undefined;
|
|
260
261
|
title?: string | undefined;
|
|
261
|
-
status?: "active" | "paused" | undefined;
|
|
262
262
|
description?: string | null | undefined;
|
|
263
|
-
priority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
264
|
-
assigneeAgentId?: string | undefined;
|
|
265
|
-
goalId?: string | null | undefined;
|
|
266
263
|
instructions?: string | null | undefined;
|
|
264
|
+
goalId?: string | null | undefined;
|
|
267
265
|
parentIssueId?: string | null | undefined;
|
|
266
|
+
priority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
268
267
|
concurrencyPolicy?: "coalesce_if_active" | "always_enqueue" | "skip_if_active" | undefined;
|
|
269
268
|
catchUpPolicy?: "skip_missed" | "enqueue_missed_with_cap" | undefined;
|
|
270
269
|
outputMode?: "track_issue" | "chat_output" | undefined;
|
|
270
|
+
assigneeAgentId?: string | undefined;
|
|
271
271
|
chatConversationId?: string | null | undefined;
|
|
272
272
|
notifyOnIssueCreated?: boolean | undefined;
|
|
273
273
|
}, "instructions"> & {
|
|
274
274
|
description: string | null | undefined;
|
|
275
275
|
}, {
|
|
276
|
+
status?: "active" | "paused" | undefined;
|
|
276
277
|
projectId?: string | null | undefined;
|
|
277
278
|
title?: string | undefined;
|
|
278
|
-
status?: "active" | "paused" | undefined;
|
|
279
279
|
description?: string | null | undefined;
|
|
280
|
-
priority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
281
|
-
assigneeAgentId?: string | undefined;
|
|
282
|
-
goalId?: string | null | undefined;
|
|
283
280
|
instructions?: string | null | undefined;
|
|
281
|
+
goalId?: string | null | undefined;
|
|
284
282
|
parentIssueId?: string | null | undefined;
|
|
283
|
+
priority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
285
284
|
concurrencyPolicy?: "coalesce_if_active" | "always_enqueue" | "skip_if_active" | undefined;
|
|
286
285
|
catchUpPolicy?: "skip_missed" | "enqueue_missed_with_cap" | undefined;
|
|
287
286
|
outputMode?: "track_issue" | "chat_output" | undefined;
|
|
287
|
+
assigneeAgentId?: string | undefined;
|
|
288
288
|
chatConversationId?: string | null | undefined;
|
|
289
289
|
notifyOnIssueCreated?: boolean | undefined;
|
|
290
290
|
}>;
|
|
@@ -298,16 +298,16 @@ export declare const createAutomationTriggerSchema: z.ZodDiscriminatedUnion<"kin
|
|
|
298
298
|
timezone: z.ZodDefault<z.ZodString>;
|
|
299
299
|
}, "strip", z.ZodTypeAny, {
|
|
300
300
|
kind: "schedule";
|
|
301
|
-
enabled: boolean;
|
|
302
301
|
cronExpression: string;
|
|
303
302
|
timezone: string;
|
|
303
|
+
enabled: boolean;
|
|
304
304
|
label?: string | null | undefined;
|
|
305
305
|
}, {
|
|
306
306
|
kind: "schedule";
|
|
307
307
|
cronExpression: string;
|
|
308
308
|
label?: string | null | undefined;
|
|
309
|
-
enabled?: boolean | undefined;
|
|
310
309
|
timezone?: string | undefined;
|
|
310
|
+
enabled?: boolean | undefined;
|
|
311
311
|
}>, z.ZodObject<{
|
|
312
312
|
label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
313
313
|
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -351,16 +351,16 @@ export declare const updateAutomationTriggerSchema: z.ZodObject<{
|
|
|
351
351
|
replayWindowSec: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
352
352
|
}, "strip", z.ZodTypeAny, {
|
|
353
353
|
label?: string | null | undefined;
|
|
354
|
-
enabled?: boolean | undefined;
|
|
355
354
|
cronExpression?: string | null | undefined;
|
|
356
355
|
timezone?: string | null | undefined;
|
|
356
|
+
enabled?: boolean | undefined;
|
|
357
357
|
signingMode?: "bearer" | "hmac_sha256" | null | undefined;
|
|
358
358
|
replayWindowSec?: number | null | undefined;
|
|
359
359
|
}, {
|
|
360
360
|
label?: string | null | undefined;
|
|
361
|
-
enabled?: boolean | undefined;
|
|
362
361
|
cronExpression?: string | null | undefined;
|
|
363
362
|
timezone?: string | null | undefined;
|
|
363
|
+
enabled?: boolean | undefined;
|
|
364
364
|
signingMode?: "bearer" | "hmac_sha256" | null | undefined;
|
|
365
365
|
replayWindowSec?: number | null | undefined;
|
|
366
366
|
}>;
|
|
@@ -37,20 +37,20 @@ export declare const resolveBudgetIncidentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
37
37
|
decisionNote: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
38
38
|
}, "strip", z.ZodTypeAny, {
|
|
39
39
|
action: "keep_paused" | "raise_budget_and_resume";
|
|
40
|
-
amount?: number | undefined;
|
|
41
40
|
decisionNote?: string | null | undefined;
|
|
41
|
+
amount?: number | undefined;
|
|
42
42
|
}, {
|
|
43
43
|
action: "keep_paused" | "raise_budget_and_resume";
|
|
44
|
-
amount?: number | undefined;
|
|
45
44
|
decisionNote?: string | null | undefined;
|
|
45
|
+
amount?: number | undefined;
|
|
46
46
|
}>, {
|
|
47
47
|
action: "keep_paused" | "raise_budget_and_resume";
|
|
48
|
-
amount?: number | undefined;
|
|
49
48
|
decisionNote?: string | null | undefined;
|
|
49
|
+
amount?: number | undefined;
|
|
50
50
|
}, {
|
|
51
51
|
action: "keep_paused" | "raise_budget_and_resume";
|
|
52
|
-
amount?: number | undefined;
|
|
53
52
|
decisionNote?: string | null | undefined;
|
|
53
|
+
amount?: number | undefined;
|
|
54
54
|
}>;
|
|
55
55
|
export type ResolveBudgetIncident = z.infer<typeof resolveBudgetIncidentSchema>;
|
|
56
56
|
//# sourceMappingURL=budget.d.ts.map
|