@backendkit-labs/agent-enterprise 0.7.2 → 0.8.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/flow/types.d.ts
CHANGED
|
@@ -11,263 +11,91 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { z } from '@backendkit-labs/agent-core';
|
|
13
13
|
export declare const FlowTriggerSchema: z.ZodObject<{
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
type: z.ZodEnum<{
|
|
15
|
+
queue: "queue";
|
|
16
|
+
webhook: "webhook";
|
|
17
|
+
cron: "cron";
|
|
18
|
+
manual: "manual";
|
|
19
|
+
}>;
|
|
17
20
|
queue: z.ZodOptional<z.ZodString>;
|
|
18
|
-
/** Route path — required when type is `webhook`. */
|
|
19
21
|
path: z.ZodOptional<z.ZodString>;
|
|
20
|
-
/** Cron expression — required when type is `cron`. */
|
|
21
22
|
schedule: z.ZodOptional<z.ZodString>;
|
|
22
|
-
},
|
|
23
|
-
type: "queue" | "webhook" | "cron" | "manual";
|
|
24
|
-
path?: string | undefined;
|
|
25
|
-
queue?: string | undefined;
|
|
26
|
-
schedule?: string | undefined;
|
|
27
|
-
}, {
|
|
28
|
-
type: "queue" | "webhook" | "cron" | "manual";
|
|
29
|
-
path?: string | undefined;
|
|
30
|
-
queue?: string | undefined;
|
|
31
|
-
schedule?: string | undefined;
|
|
32
|
-
}>;
|
|
23
|
+
}, z.core.$strip>;
|
|
33
24
|
export declare const FlowGateSchema: z.ZodObject<{
|
|
34
|
-
|
|
35
|
-
criteria: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
36
|
-
/** Agent that evaluates the criteria. MUST differ from the executing agent. */
|
|
25
|
+
criteria: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
37
26
|
evaluator: z.ZodOptional<z.ZodString>;
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
}, {
|
|
48
|
-
criteria?: string[] | undefined;
|
|
49
|
-
evaluator?: string | undefined;
|
|
50
|
-
evidence?: "required" | "optional" | undefined;
|
|
51
|
-
approval?: "human" | "none" | undefined;
|
|
52
|
-
}>;
|
|
27
|
+
evidence: z.ZodDefault<z.ZodEnum<{
|
|
28
|
+
optional: "optional";
|
|
29
|
+
required: "required";
|
|
30
|
+
}>>;
|
|
31
|
+
approval: z.ZodDefault<z.ZodEnum<{
|
|
32
|
+
human: "human";
|
|
33
|
+
none: "none";
|
|
34
|
+
}>>;
|
|
35
|
+
}, z.core.$strip>;
|
|
53
36
|
export declare const FlowStepSchema: z.ZodObject<{
|
|
54
37
|
id: z.ZodString;
|
|
55
|
-
/** Agent id that executes this step. */
|
|
56
38
|
agent: z.ZodString;
|
|
57
|
-
/** Prompt for the agent. Supports `{{payload}}` and `{{payload.path.to.field}}`. */
|
|
58
39
|
prompt: z.ZodString;
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
/** Step ids this step waits for. Steps with no `after` run in parallel. */
|
|
62
|
-
after: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
40
|
+
tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
41
|
+
after: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
63
42
|
gate: z.ZodOptional<z.ZodObject<{
|
|
64
|
-
|
|
65
|
-
criteria: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
66
|
-
/** Agent that evaluates the criteria. MUST differ from the executing agent. */
|
|
43
|
+
criteria: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
67
44
|
evaluator: z.ZodOptional<z.ZodString>;
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
criteria?: string[] | undefined;
|
|
79
|
-
evaluator?: string | undefined;
|
|
80
|
-
evidence?: "required" | "optional" | undefined;
|
|
81
|
-
approval?: "human" | "none" | undefined;
|
|
82
|
-
}>>;
|
|
83
|
-
}, "strip", z.ZodTypeAny, {
|
|
84
|
-
after: string[];
|
|
85
|
-
id: string;
|
|
86
|
-
agent: string;
|
|
87
|
-
prompt: string;
|
|
88
|
-
tools?: string[] | undefined;
|
|
89
|
-
gate?: {
|
|
90
|
-
criteria: string[];
|
|
91
|
-
evidence: "required" | "optional";
|
|
92
|
-
approval: "human" | "none";
|
|
93
|
-
evaluator?: string | undefined;
|
|
94
|
-
} | undefined;
|
|
95
|
-
}, {
|
|
96
|
-
id: string;
|
|
97
|
-
agent: string;
|
|
98
|
-
prompt: string;
|
|
99
|
-
after?: string[] | undefined;
|
|
100
|
-
tools?: string[] | undefined;
|
|
101
|
-
gate?: {
|
|
102
|
-
criteria?: string[] | undefined;
|
|
103
|
-
evaluator?: string | undefined;
|
|
104
|
-
evidence?: "required" | "optional" | undefined;
|
|
105
|
-
approval?: "human" | "none" | undefined;
|
|
106
|
-
} | undefined;
|
|
107
|
-
}>;
|
|
45
|
+
evidence: z.ZodDefault<z.ZodEnum<{
|
|
46
|
+
optional: "optional";
|
|
47
|
+
required: "required";
|
|
48
|
+
}>>;
|
|
49
|
+
approval: z.ZodDefault<z.ZodEnum<{
|
|
50
|
+
human: "human";
|
|
51
|
+
none: "none";
|
|
52
|
+
}>>;
|
|
53
|
+
}, z.core.$strip>>;
|
|
54
|
+
}, z.core.$strip>;
|
|
108
55
|
export declare const FlowCompensationSchema: z.ZodObject<{
|
|
109
|
-
/** Failure selector: `<stepId>.failed`. */
|
|
110
56
|
on: z.ZodString;
|
|
111
57
|
agent: z.ZodString;
|
|
112
|
-
/** Prompt for the compensating agent. Supports payload interpolation. */
|
|
113
58
|
prompt: z.ZodString;
|
|
114
|
-
},
|
|
115
|
-
agent: string;
|
|
116
|
-
prompt: string;
|
|
117
|
-
on: string;
|
|
118
|
-
}, {
|
|
119
|
-
agent: string;
|
|
120
|
-
prompt: string;
|
|
121
|
-
on: string;
|
|
122
|
-
}>;
|
|
59
|
+
}, z.core.$strip>;
|
|
123
60
|
export declare const FlowDefinitionSchema: z.ZodObject<{
|
|
124
61
|
flow: z.ZodString;
|
|
125
62
|
version: z.ZodDefault<z.ZodNumber>;
|
|
126
63
|
trigger: z.ZodObject<{
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
64
|
+
type: z.ZodEnum<{
|
|
65
|
+
queue: "queue";
|
|
66
|
+
webhook: "webhook";
|
|
67
|
+
cron: "cron";
|
|
68
|
+
manual: "manual";
|
|
69
|
+
}>;
|
|
130
70
|
queue: z.ZodOptional<z.ZodString>;
|
|
131
|
-
/** Route path — required when type is `webhook`. */
|
|
132
71
|
path: z.ZodOptional<z.ZodString>;
|
|
133
|
-
/** Cron expression — required when type is `cron`. */
|
|
134
72
|
schedule: z.ZodOptional<z.ZodString>;
|
|
135
|
-
},
|
|
136
|
-
type: "queue" | "webhook" | "cron" | "manual";
|
|
137
|
-
path?: string | undefined;
|
|
138
|
-
queue?: string | undefined;
|
|
139
|
-
schedule?: string | undefined;
|
|
140
|
-
}, {
|
|
141
|
-
type: "queue" | "webhook" | "cron" | "manual";
|
|
142
|
-
path?: string | undefined;
|
|
143
|
-
queue?: string | undefined;
|
|
144
|
-
schedule?: string | undefined;
|
|
145
|
-
}>;
|
|
73
|
+
}, z.core.$strip>;
|
|
146
74
|
steps: z.ZodArray<z.ZodObject<{
|
|
147
75
|
id: z.ZodString;
|
|
148
|
-
/** Agent id that executes this step. */
|
|
149
76
|
agent: z.ZodString;
|
|
150
|
-
/** Prompt for the agent. Supports `{{payload}}` and `{{payload.path.to.field}}`. */
|
|
151
77
|
prompt: z.ZodString;
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
/** Step ids this step waits for. Steps with no `after` run in parallel. */
|
|
155
|
-
after: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
78
|
+
tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
79
|
+
after: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
156
80
|
gate: z.ZodOptional<z.ZodObject<{
|
|
157
|
-
|
|
158
|
-
criteria: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
159
|
-
/** Agent that evaluates the criteria. MUST differ from the executing agent. */
|
|
81
|
+
criteria: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
160
82
|
evaluator: z.ZodOptional<z.ZodString>;
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
criteria?: string[] | undefined;
|
|
172
|
-
evaluator?: string | undefined;
|
|
173
|
-
evidence?: "required" | "optional" | undefined;
|
|
174
|
-
approval?: "human" | "none" | undefined;
|
|
175
|
-
}>>;
|
|
176
|
-
}, "strip", z.ZodTypeAny, {
|
|
177
|
-
after: string[];
|
|
178
|
-
id: string;
|
|
179
|
-
agent: string;
|
|
180
|
-
prompt: string;
|
|
181
|
-
tools?: string[] | undefined;
|
|
182
|
-
gate?: {
|
|
183
|
-
criteria: string[];
|
|
184
|
-
evidence: "required" | "optional";
|
|
185
|
-
approval: "human" | "none";
|
|
186
|
-
evaluator?: string | undefined;
|
|
187
|
-
} | undefined;
|
|
188
|
-
}, {
|
|
189
|
-
id: string;
|
|
190
|
-
agent: string;
|
|
191
|
-
prompt: string;
|
|
192
|
-
after?: string[] | undefined;
|
|
193
|
-
tools?: string[] | undefined;
|
|
194
|
-
gate?: {
|
|
195
|
-
criteria?: string[] | undefined;
|
|
196
|
-
evaluator?: string | undefined;
|
|
197
|
-
evidence?: "required" | "optional" | undefined;
|
|
198
|
-
approval?: "human" | "none" | undefined;
|
|
199
|
-
} | undefined;
|
|
200
|
-
}>, "many">;
|
|
83
|
+
evidence: z.ZodDefault<z.ZodEnum<{
|
|
84
|
+
optional: "optional";
|
|
85
|
+
required: "required";
|
|
86
|
+
}>>;
|
|
87
|
+
approval: z.ZodDefault<z.ZodEnum<{
|
|
88
|
+
human: "human";
|
|
89
|
+
none: "none";
|
|
90
|
+
}>>;
|
|
91
|
+
}, z.core.$strip>>;
|
|
92
|
+
}, z.core.$strip>>;
|
|
201
93
|
compensation: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
202
|
-
/** Failure selector: `<stepId>.failed`. */
|
|
203
94
|
on: z.ZodString;
|
|
204
95
|
agent: z.ZodString;
|
|
205
|
-
/** Prompt for the compensating agent. Supports payload interpolation. */
|
|
206
96
|
prompt: z.ZodString;
|
|
207
|
-
},
|
|
208
|
-
|
|
209
|
-
prompt: string;
|
|
210
|
-
on: string;
|
|
211
|
-
}, {
|
|
212
|
-
agent: string;
|
|
213
|
-
prompt: string;
|
|
214
|
-
on: string;
|
|
215
|
-
}>, "many">>;
|
|
216
|
-
}, "strip", z.ZodTypeAny, {
|
|
217
|
-
flow: string;
|
|
218
|
-
version: number;
|
|
219
|
-
trigger: {
|
|
220
|
-
type: "queue" | "webhook" | "cron" | "manual";
|
|
221
|
-
path?: string | undefined;
|
|
222
|
-
queue?: string | undefined;
|
|
223
|
-
schedule?: string | undefined;
|
|
224
|
-
};
|
|
225
|
-
steps: {
|
|
226
|
-
after: string[];
|
|
227
|
-
id: string;
|
|
228
|
-
agent: string;
|
|
229
|
-
prompt: string;
|
|
230
|
-
tools?: string[] | undefined;
|
|
231
|
-
gate?: {
|
|
232
|
-
criteria: string[];
|
|
233
|
-
evidence: "required" | "optional";
|
|
234
|
-
approval: "human" | "none";
|
|
235
|
-
evaluator?: string | undefined;
|
|
236
|
-
} | undefined;
|
|
237
|
-
}[];
|
|
238
|
-
compensation: {
|
|
239
|
-
agent: string;
|
|
240
|
-
prompt: string;
|
|
241
|
-
on: string;
|
|
242
|
-
}[];
|
|
243
|
-
}, {
|
|
244
|
-
flow: string;
|
|
245
|
-
trigger: {
|
|
246
|
-
type: "queue" | "webhook" | "cron" | "manual";
|
|
247
|
-
path?: string | undefined;
|
|
248
|
-
queue?: string | undefined;
|
|
249
|
-
schedule?: string | undefined;
|
|
250
|
-
};
|
|
251
|
-
steps: {
|
|
252
|
-
id: string;
|
|
253
|
-
agent: string;
|
|
254
|
-
prompt: string;
|
|
255
|
-
after?: string[] | undefined;
|
|
256
|
-
tools?: string[] | undefined;
|
|
257
|
-
gate?: {
|
|
258
|
-
criteria?: string[] | undefined;
|
|
259
|
-
evaluator?: string | undefined;
|
|
260
|
-
evidence?: "required" | "optional" | undefined;
|
|
261
|
-
approval?: "human" | "none" | undefined;
|
|
262
|
-
} | undefined;
|
|
263
|
-
}[];
|
|
264
|
-
version?: number | undefined;
|
|
265
|
-
compensation?: {
|
|
266
|
-
agent: string;
|
|
267
|
-
prompt: string;
|
|
268
|
-
on: string;
|
|
269
|
-
}[] | undefined;
|
|
270
|
-
}>;
|
|
97
|
+
}, z.core.$strip>>>;
|
|
98
|
+
}, z.core.$strip>;
|
|
271
99
|
export type FlowTrigger = z.infer<typeof FlowTriggerSchema>;
|
|
272
100
|
export type FlowGate = z.infer<typeof FlowGateSchema>;
|
|
273
101
|
export type FlowStep = z.infer<typeof FlowStepSchema>;
|
package/dist/flow/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/flow/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,6BAA6B,CAAC;AAIhD,eAAO,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/flow/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,6BAA6B,CAAC;AAIhD,eAAO,MAAM,iBAAiB;;;;;;;;;;iBAS5B,CAAC;AAEH,eAAO,MAAM,cAAc;;;;;;;;;;;iB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O,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,WAAW,GAAG,QAAQ,GAAG,SAAS,GAAG,UAAU,CAAC;IACxD,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,UAAU;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,WAAW,GAAG,QAAQ,GAAG,UAAU,CAAC;IAC5C,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC;IACtC,WAAW,EAAE,cAAc,EAAE,CAAC;IAC9B,aAAa,EAAE,sBAAsB,EAAE,CAAC;CAC3C"}
|
|
@@ -19,7 +19,7 @@ function createN8nTriggerTool(opts = {}) {
|
|
|
19
19
|
'Returns the correlation ID so the workflow execution can be traced.',
|
|
20
20
|
input: agent_core_1.z.object({
|
|
21
21
|
event: agent_core_1.z.string().describe('Event type / workflow trigger name (e.g. "employee.onboarded", "invoice.approved")'),
|
|
22
|
-
payload: agent_core_1.z.record(agent_core_1.z.unknown()).describe('Arbitrary data forwarded to n8n as the request body alongside the event and correlationId'),
|
|
22
|
+
payload: agent_core_1.z.record(agent_core_1.z.string(), agent_core_1.z.unknown()).describe('Arbitrary data forwarded to n8n as the request body alongside the event and correlationId'),
|
|
23
23
|
correlation_id: agent_core_1.z.string().optional().describe('Correlation ID for distributed tracing — auto-generated (UUID v4) when omitted'),
|
|
24
24
|
}),
|
|
25
25
|
execute: async ({ event, payload, correlation_id }) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"n8nTriggerTool.js","sourceRoot":"","sources":["../../src/integrations/n8nTriggerTool.ts"],"names":[],"mappings":";;AAcA,oDAyCC;AAvDD,6CAAyC;AACzC,4DAA4D;AAQ5D;;;;GAIG;AACH,SAAgB,oBAAoB,CAAC,OAA0B,EAAE;IAC7D,MAAM,GAAG,GAAG,IAAI,CAAC,UAAU,IAAI,O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,CAC1C,gFAAgF,CACnF;SACJ,CAAC;QACF,OAAO,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE,cAAc,EAAE,EAAE,EAAE;YAClD,MAAM,MAAM,GAAG,cAAc,IAAI,IAAA,wBAAU,GAAE,CAAC;YAC9C,MAAM,IAAI,GAAK,IAAI,CAAC,SAAS,CAAC,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;YAC5E,MAAM,GAAG,GAAM,MAAM,KAAK,CAAC,GAAG,EAAE;gBAC5B,MAAM,EAAG,MAAM;gBACf,OAAO,EAAE,EAAE,cAAc,EAAE,kBAAkB,EAAE;gBAC/C,IAAI;aACP,CAAC,CAAC;YACH,IAAI,CAAC,GAAG,CAAC,EAAE,EAAE,CAAC;gBACV,MAAM,IAAI,KAAK,CAAC,uBAAuB,GAAG,CAAC,MAAM,MAAM,MAAM,GAAG,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;YAC/E,CAAC;YACD,MAAM,YAAY,GAAG,CAAC,MAAM,GAAG,CAAC,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC;YACtD,OAAO;gBACH,oCAAoC,KAAK,GAAG;gBAC5C,kBAAkB,MAAM,EAAE;gBAC1B,GAAG,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,iBAAiB,YAAY,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;aAC7D,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACjB,CAAC;KACJ,CAAC,CAAC;AACP,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backendkit-labs/agent-enterprise",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"description": "Business agents with local LLM and RAG knowledge base for agent-core",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"prepublishOnly": "npm run build"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@backendkit-labs/agent-core": "^0.
|
|
19
|
+
"@backendkit-labs/agent-core": "^0.33.0",
|
|
20
20
|
"@backendkit-labs/retry": "^0.1.2",
|
|
21
21
|
"yaml": "^2.4.0"
|
|
22
22
|
},
|