veryfront 0.1.878 → 0.1.880
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/esm/cli/commands/generate/handler.d.ts +1 -1
- package/esm/cli/mcp/tools/scaffold-tools.d.ts +1 -1
- package/esm/deno.d.ts +3 -0
- package/esm/deno.js +4 -1
- package/esm/src/channels/control-plane.d.ts +5 -5
- package/esm/src/chat/ag-ui.d.ts +1 -1
- package/esm/src/eval/report.d.ts.map +1 -1
- package/esm/src/eval/report.js +2 -0
- package/esm/src/eval/studio.d.ts +4 -4
- package/esm/src/extensions/builtin-extensions.d.ts +2 -0
- package/esm/src/extensions/builtin-extensions.d.ts.map +1 -1
- package/esm/src/extensions/builtin-extensions.js +9 -0
- package/esm/src/extensions/eval/eval-report-exporter.d.ts +96 -0
- package/esm/src/extensions/eval/eval-report-exporter.d.ts.map +1 -0
- package/esm/src/extensions/eval/eval-report-exporter.js +110 -0
- package/esm/src/extensions/eval/index.d.ts +9 -0
- package/esm/src/extensions/eval/index.d.ts.map +1 -0
- package/esm/src/extensions/eval/index.js +7 -0
- package/esm/src/integrations/schema.d.ts +4 -4
- package/esm/src/internal-agents/control-plane-auth.d.ts +1 -1
- package/esm/src/runs/index.d.ts +1 -1
- package/esm/src/runs/index.d.ts.map +1 -1
- package/esm/src/runs/runs-client.d.ts +9 -1
- package/esm/src/runs/runs-client.d.ts.map +1 -1
- package/esm/src/runs/runs-client.js +19 -0
- package/esm/src/runs/schemas.d.ts +9 -9
- package/esm/src/server/bootstrap.d.ts.map +1 -1
- package/esm/src/server/bootstrap.js +10 -3
- package/esm/src/server/handlers/request/project-run-execute.handler.d.ts +12 -1
- package/esm/src/server/handlers/request/project-run-execute.handler.d.ts.map +1 -1
- package/esm/src/server/handlers/request/project-run-execute.handler.js +105 -3
- package/esm/src/utils/version-constant.d.ts +1 -1
- package/esm/src/utils/version-constant.js +1 -1
- package/esm/src/workflow/schemas/workflow.schema.d.ts +16 -16
- package/package.json +5 -1
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import type { ParsedArgs } from "../../shared/types.js";
|
|
5
5
|
export declare const parseGenerateArgs: (args: ParsedArgs) => import("../../shared/args.js").SafeParseResult<import("../../../src/extensions/schema/schema-validator.js").InferShape<{
|
|
6
|
-
type: import("../../../src/internal-agents/schema.js").Schema<"prompt" | "page" | "api" | "agent" | "layout" | "resource" | "component" | "task" | "tool" | "integration" | "
|
|
6
|
+
type: import("../../../src/internal-agents/schema.js").Schema<"prompt" | "page" | "api" | "agent" | "layout" | "resource" | "component" | "task" | "tool" | "integration" | "workflow" | "skill" | undefined>;
|
|
7
7
|
name: import("../../../src/internal-agents/schema.js").Schema<string | undefined>;
|
|
8
8
|
}>>;
|
|
9
9
|
export declare function handleGenerateCommand(args: ParsedArgs): Promise<void>;
|
|
@@ -5,7 +5,7 @@ import type { InferSchema } from "../../../src/extensions/schema/index.js";
|
|
|
5
5
|
import type { MCPTool } from "../tools.js";
|
|
6
6
|
import { type ScaffoldResult } from "../../scaffold/engine.js";
|
|
7
7
|
declare const getScaffoldInput: () => import("../../../src/internal-agents/schema.js").Schema<import("../../../src/extensions/schema/schema-validator.js").InferShape<{
|
|
8
|
-
type: import("../../../src/internal-agents/schema.js").Schema<"prompt" | "page" | "api" | "agent" | "layout" | "resource" | "component" | "task" | "tool" | "
|
|
8
|
+
type: import("../../../src/internal-agents/schema.js").Schema<"prompt" | "page" | "api" | "agent" | "layout" | "resource" | "component" | "task" | "tool" | "workflow" | "skill">;
|
|
9
9
|
name: import("../../../src/internal-agents/schema.js").Schema<string>;
|
|
10
10
|
methods: import("../../../src/internal-agents/schema.js").Schema<string[] | undefined>;
|
|
11
11
|
projectPath: import("../../../src/internal-agents/schema.js").Schema<string | undefined>;
|
package/esm/deno.d.ts
CHANGED
|
@@ -61,6 +61,7 @@ declare namespace _default {
|
|
|
61
61
|
"./extensions/compat": string;
|
|
62
62
|
"./extensions/css": string;
|
|
63
63
|
"./extensions/database": string;
|
|
64
|
+
"./extensions/eval": string;
|
|
64
65
|
"./extensions/parser": string;
|
|
65
66
|
"./extensions/sandbox": string;
|
|
66
67
|
"./extensions/schema": string;
|
|
@@ -152,6 +153,7 @@ declare namespace _default {
|
|
|
152
153
|
"veryfront/extensions/contracts": string;
|
|
153
154
|
"veryfront/extensions/css": string;
|
|
154
155
|
"veryfront/extensions/database": string;
|
|
156
|
+
"veryfront/extensions/eval": string;
|
|
155
157
|
"veryfront/extensions/parser": string;
|
|
156
158
|
"veryfront/extensions/sandbox": string;
|
|
157
159
|
"veryfront/extensions/schema": string;
|
|
@@ -174,6 +176,7 @@ declare namespace _default {
|
|
|
174
176
|
"#veryfront/errors": string;
|
|
175
177
|
"#veryfront/eval": string;
|
|
176
178
|
"#veryfront/eval/agent-service": string;
|
|
179
|
+
"#veryfront/extensions/eval": string;
|
|
177
180
|
"#veryfront/html": string;
|
|
178
181
|
"#veryfront/mcp": string;
|
|
179
182
|
"#veryfront/middleware": string;
|
package/esm/deno.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
"name": "veryfront",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.880",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"nodeModulesDir": "auto",
|
|
6
6
|
"minimumDependencyAge": {
|
|
@@ -116,6 +116,7 @@ export default {
|
|
|
116
116
|
"./extensions/compat": "./src/extensions/compat/index.ts",
|
|
117
117
|
"./extensions/css": "./src/extensions/css/index.ts",
|
|
118
118
|
"./extensions/database": "./src/extensions/database/index.ts",
|
|
119
|
+
"./extensions/eval": "./src/extensions/eval/index.ts",
|
|
119
120
|
"./extensions/parser": "./src/extensions/parser/index.ts",
|
|
120
121
|
"./extensions/sandbox": "./src/extensions/sandbox/index.ts",
|
|
121
122
|
"./extensions/schema": "./src/extensions/schema/index.ts",
|
|
@@ -207,6 +208,7 @@ export default {
|
|
|
207
208
|
"veryfront/extensions/contracts": "./src/extensions/contracts.ts",
|
|
208
209
|
"veryfront/extensions/css": "./src/extensions/css/index.ts",
|
|
209
210
|
"veryfront/extensions/database": "./src/extensions/database/index.ts",
|
|
211
|
+
"veryfront/extensions/eval": "./src/extensions/eval/index.ts",
|
|
210
212
|
"veryfront/extensions/parser": "./src/extensions/parser/index.ts",
|
|
211
213
|
"veryfront/extensions/sandbox": "./src/extensions/sandbox/index.ts",
|
|
212
214
|
"veryfront/extensions/schema": "./src/extensions/schema/index.ts",
|
|
@@ -229,6 +231,7 @@ export default {
|
|
|
229
231
|
"#veryfront/errors": "./src/errors/index.ts",
|
|
230
232
|
"#veryfront/eval": "./src/eval/index.ts",
|
|
231
233
|
"#veryfront/eval/agent-service": "./src/eval/agent-service.ts",
|
|
234
|
+
"#veryfront/extensions/eval": "./src/extensions/eval/index.ts",
|
|
232
235
|
"#veryfront/html": "./src/html/index.ts",
|
|
233
236
|
"#veryfront/mcp": "./src/mcp/index.ts",
|
|
234
237
|
"#veryfront/middleware": "./src/middleware/index.ts",
|
|
@@ -11,20 +11,20 @@ export declare const CONTROL_PLANE_RUN_STREAM_PATH = "/api/control-plane/runs/:r
|
|
|
11
11
|
/** Allowed control-plane surfaces — source of truth for the schema and {@link ControlPlaneSurface}. */
|
|
12
12
|
export declare const CONTROL_PLANE_SURFACES: readonly ["studio", "channels", "a2a", "mcp"];
|
|
13
13
|
/** Zod schema for get control plane surface. */
|
|
14
|
-
export declare const getControlPlaneSurfaceSchema: () => Schema<"mcp" | "
|
|
14
|
+
export declare const getControlPlaneSurfaceSchema: () => Schema<"mcp" | "channels" | "studio" | "a2a">;
|
|
15
15
|
/** Zod schema for control plane surface. */
|
|
16
|
-
export declare const ControlPlaneSurfaceSchema: Schema<"mcp" | "
|
|
16
|
+
export declare const ControlPlaneSurfaceSchema: Schema<"mcp" | "channels" | "studio" | "a2a">;
|
|
17
17
|
/** Zod schema for get control plane agents list request. */
|
|
18
18
|
export declare const getControlPlaneAgentsListRequestSchema: () => Schema<import("../extensions/schema/schema-validator.js").InferShape<{
|
|
19
19
|
requestId: Schema<string>;
|
|
20
20
|
projectId: Schema<string>;
|
|
21
|
-
surface: Schema<"mcp" | "
|
|
21
|
+
surface: Schema<"mcp" | "channels" | "studio" | "a2a">;
|
|
22
22
|
}>>;
|
|
23
23
|
/** Zod schema for control plane agents list request. */
|
|
24
24
|
export declare const ControlPlaneAgentsListRequestSchema: Schema<import("../extensions/schema/schema-validator.js").InferShape<{
|
|
25
25
|
requestId: Schema<string>;
|
|
26
26
|
projectId: Schema<string>;
|
|
27
|
-
surface: Schema<"mcp" | "
|
|
27
|
+
surface: Schema<"mcp" | "channels" | "studio" | "a2a">;
|
|
28
28
|
}>>;
|
|
29
29
|
/** Zod schema for get runtime agent skill. */
|
|
30
30
|
export declare const getRuntimeAgentSkillSchema: () => Schema<import("../extensions/schema/schema-validator.js").InferShape<{
|
|
@@ -232,7 +232,7 @@ declare const getControlPlaneClaimsSchema: () => Schema<import("../extensions/sc
|
|
|
232
232
|
iss: Schema<string>;
|
|
233
233
|
aud: Schema<string>;
|
|
234
234
|
sub: Schema<string>;
|
|
235
|
-
surface: Schema<"mcp" | "
|
|
235
|
+
surface: Schema<"mcp" | "channels" | "studio" | "a2a">;
|
|
236
236
|
project_id: Schema<string>;
|
|
237
237
|
request_hash: Schema<string>;
|
|
238
238
|
iat: Schema<number>;
|
package/esm/src/chat/ag-ui.d.ts
CHANGED
|
@@ -139,7 +139,7 @@ export declare const getAgUiSnapshotMessageSchema: () => import("../internal-age
|
|
|
139
139
|
encryptedValue: import("../internal-agents/schema.js").Schema<string | undefined>;
|
|
140
140
|
}>>;
|
|
141
141
|
/** Zod schema for get AG-UI wire event name. */
|
|
142
|
-
export declare const getAgUiWireEventNameSchema: () => import("../internal-agents/schema.js").Schema<"ToolCallArgs" | "ToolCallEnd" | "ToolCallResult" | "Custom" | "ReasoningMessageStart" | "ReasoningMessageContent" | "ReasoningMessageEnd" | "TextMessageStart" | "TextMessageContent" | "TextMessageEnd" | "ToolCallStart" | "RunError" | "RunFinished" | "RunStarted" | "
|
|
142
|
+
export declare const getAgUiWireEventNameSchema: () => import("../internal-agents/schema.js").Schema<"ToolCallArgs" | "ToolCallEnd" | "ToolCallResult" | "Custom" | "ReasoningMessageStart" | "ReasoningMessageContent" | "ReasoningMessageEnd" | "TextMessageStart" | "TextMessageContent" | "TextMessageEnd" | "ToolCallStart" | "RunError" | "RunFinished" | "RunStarted" | "StateSnapshot" | "MessagesSnapshot" | "ToolCallChunk" | "StateDelta">;
|
|
143
143
|
/** Map AG-UI runtime messages to chat UI messages. */
|
|
144
144
|
export declare function mapAgUiRuntimeMessagesToChatUiMessages(messages: AgUiRuntimeMessage[]): ChatUiMessage[];
|
|
145
145
|
/** Zod schema for get AG-UI wire event. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"report.d.ts","sourceRoot":"","sources":["../../../src/src/eval/report.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EAGd,UAAU,EACV,UAAU,EACV,iBAAiB,EAClB,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"report.d.ts","sourceRoot":"","sources":["../../../src/src/eval/report.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EAGd,UAAU,EACV,UAAU,EACV,iBAAiB,EAClB,MAAM,YAAY,CAAC;AA8CpB,mEAAmE;AACnE,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,UAAU,EAAE,GAAG,iBAAiB,CAU7E;AAED,oEAAoE;AACpE,wBAAgB,gBAAgB,CAAC,KAAK,EAAE;IACtC,UAAU,EAAE,cAAc,CAAC;IAC3B,OAAO,EAAE,UAAU,EAAE,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,IAAI,CAAC;IAChB,OAAO,EAAE,IAAI,CAAC;CACf,GAAG,UAAU,CAYb"}
|
package/esm/src/eval/report.js
CHANGED
|
@@ -3,6 +3,8 @@ function isBlockingFailure(result) {
|
|
|
3
3
|
(result.severity === "gate" || result.severity === "budget");
|
|
4
4
|
}
|
|
5
5
|
function recordPassed(record) {
|
|
6
|
+
if (!record.completed || record.error)
|
|
7
|
+
return false;
|
|
6
8
|
const results = [...(record.metrics ?? []), ...(record.checks ?? [])];
|
|
7
9
|
return results.every((result) => !isBlockingFailure(result));
|
|
8
10
|
}
|
package/esm/src/eval/studio.d.ts
CHANGED
|
@@ -33,7 +33,7 @@ export declare const getEvalSourceDatasetSchema: () => import("../internal-agent
|
|
|
33
33
|
/** Schema for an Eval metric in Studio source documents. */
|
|
34
34
|
export declare const getEvalSourceMetricSchema: () => import("../internal-agents/schema.js").Schema<import("../extensions/schema/schema-validator.js").InferShape<{
|
|
35
35
|
name: import("../internal-agents/schema.js").Schema<string>;
|
|
36
|
-
family: import("../internal-agents/schema.js").Schema<"agent" | "
|
|
36
|
+
family: import("../internal-agents/schema.js").Schema<"agent" | "answer" | "ops" | "judge" | "check">;
|
|
37
37
|
severity: import("../internal-agents/schema.js").Schema<"gate" | "soft" | "budget">;
|
|
38
38
|
threshold: import("../internal-agents/schema.js").Schema<import("../extensions/schema/schema-validator.js").InferShape<{
|
|
39
39
|
min: import("../internal-agents/schema.js").Schema<number | undefined>;
|
|
@@ -70,7 +70,7 @@ export declare const getEvalSourceDocumentSchema: () => import("../internal-agen
|
|
|
70
70
|
}>>;
|
|
71
71
|
metrics: import("../internal-agents/schema.js").Schema<import("../extensions/schema/schema-validator.js").InferShape<{
|
|
72
72
|
name: import("../internal-agents/schema.js").Schema<string>;
|
|
73
|
-
family: import("../internal-agents/schema.js").Schema<"agent" | "
|
|
73
|
+
family: import("../internal-agents/schema.js").Schema<"agent" | "answer" | "ops" | "judge" | "check">;
|
|
74
74
|
severity: import("../internal-agents/schema.js").Schema<"gate" | "soft" | "budget">;
|
|
75
75
|
threshold: import("../internal-agents/schema.js").Schema<import("../extensions/schema/schema-validator.js").InferShape<{
|
|
76
76
|
min: import("../internal-agents/schema.js").Schema<number | undefined>;
|
|
@@ -117,7 +117,7 @@ export declare const getEvalSourcePatchSchema: () => import("../internal-agents/
|
|
|
117
117
|
metadata: import("../internal-agents/schema.js").Schema<Record<string, unknown> | undefined>;
|
|
118
118
|
metrics: import("../internal-agents/schema.js").Schema<import("../extensions/schema/schema-validator.js").InferShape<{
|
|
119
119
|
name: import("../internal-agents/schema.js").Schema<string>;
|
|
120
|
-
family: import("../internal-agents/schema.js").Schema<"agent" | "
|
|
120
|
+
family: import("../internal-agents/schema.js").Schema<"agent" | "answer" | "ops" | "judge" | "check">;
|
|
121
121
|
severity: import("../internal-agents/schema.js").Schema<"gate" | "soft" | "budget">;
|
|
122
122
|
threshold: import("../internal-agents/schema.js").Schema<import("../extensions/schema/schema-validator.js").InferShape<{
|
|
123
123
|
min: import("../internal-agents/schema.js").Schema<number | undefined>;
|
|
@@ -134,7 +134,7 @@ export declare const getEvalRunSchema: () => import("../internal-agents/schema.j
|
|
|
134
134
|
kind: import("../internal-agents/schema.js").Schema<"eval-run">;
|
|
135
135
|
runId: import("../internal-agents/schema.js").Schema<string>;
|
|
136
136
|
evalId: import("../internal-agents/schema.js").Schema<string>;
|
|
137
|
-
status: import("../internal-agents/schema.js").Schema<"waiting" | "failed" | "completed" | "pending" | "
|
|
137
|
+
status: import("../internal-agents/schema.js").Schema<"waiting" | "failed" | "completed" | "pending" | "running" | "cancelled">;
|
|
138
138
|
targetKind: import("../internal-agents/schema.js").Schema<"agent">;
|
|
139
139
|
target: import("../internal-agents/schema.js").Schema<string>;
|
|
140
140
|
source: import("../internal-agents/schema.js").Schema<import("../extensions/schema/schema-validator.js").InferShape<{
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import type { ResolvedExtension } from "./types.js";
|
|
2
|
+
import type { EvalReportExporterRegistry } from "./eval/index.js";
|
|
2
3
|
import type { LLMProviderRegistry } from "./llm/index.js";
|
|
4
|
+
export declare function ensureBuiltinEvalReportExporterRegistry(): EvalReportExporterRegistry;
|
|
3
5
|
export declare function ensureBuiltinLLMProviders(): LLMProviderRegistry;
|
|
4
6
|
export declare function ensureBuiltinSchemaValidator(): void;
|
|
5
7
|
export declare function createBuiltinExtensions(): ResolvedExtension[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"builtin-extensions.d.ts","sourceRoot":"","sources":["../../../src/src/extensions/builtin-extensions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAEpD,OAAO,KAAK,EAAe,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"builtin-extensions.d.ts","sourceRoot":"","sources":["../../../src/src/extensions/builtin-extensions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAEpD,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,iBAAiB,CAAC;AAElE,OAAO,KAAK,EAAe,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAiDvE,wBAAgB,uCAAuC,IAAI,0BAA0B,CAOpF;AAWD,wBAAgB,yBAAyB,IAAI,mBAAmB,CAM/D;AAED,wBAAgB,4BAA4B,IAAI,IAAI,CAInD;AAoCD,wBAAgB,uBAAuB,IAAI,iBAAiB,EAAE,CAoD7D"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { register, tryResolve } from "./contracts.js";
|
|
2
|
+
import { createEvalReportExporterRegistry, EvalReportExporterRegistryName } from "./eval/index.js";
|
|
2
3
|
import { createLLMProviderRegistry, LLMProviderRegistryName } from "./llm/index.js";
|
|
3
4
|
import { OpenAIProvider } from "../../extensions/ext-llm-openai/src/index.js";
|
|
4
5
|
import { AnthropicProvider } from "../../extensions/ext-llm-anthropic/src/index.js";
|
|
@@ -38,6 +39,14 @@ function getOrCreateLLMProviderRegistry() {
|
|
|
38
39
|
register(LLMProviderRegistryName, registry);
|
|
39
40
|
return registry;
|
|
40
41
|
}
|
|
42
|
+
export function ensureBuiltinEvalReportExporterRegistry() {
|
|
43
|
+
const existing = tryResolve(EvalReportExporterRegistryName);
|
|
44
|
+
if (existing)
|
|
45
|
+
return existing;
|
|
46
|
+
const registry = createEvalReportExporterRegistry();
|
|
47
|
+
register(EvalReportExporterRegistryName, registry);
|
|
48
|
+
return registry;
|
|
49
|
+
}
|
|
41
50
|
function registerBuiltinLLMProvider(registry, provider) {
|
|
42
51
|
if (registry.has(provider.id))
|
|
43
52
|
return false;
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Eval report exporter extension contract.
|
|
3
|
+
*
|
|
4
|
+
* A single `EvalReportExporterRegistry` implementation lives in the contract
|
|
5
|
+
* registry under {@link EvalReportExporterRegistryName}. Vendor extensions
|
|
6
|
+
* resolve that registry during setup() and register one exporter each.
|
|
7
|
+
*
|
|
8
|
+
* @module extensions/eval/eval-report-exporter
|
|
9
|
+
*/
|
|
10
|
+
import type { EvalReport } from "../../eval/index.js";
|
|
11
|
+
type EvalReportExportMaybePromise<T> = T | Promise<T>;
|
|
12
|
+
/** Contract name used for `resolve()` / `provide()`. */
|
|
13
|
+
export declare const EvalReportExporterRegistryName: "EvalReportExporterRegistry";
|
|
14
|
+
/** Sentinel used when record payload fields are removed for external export. */
|
|
15
|
+
export declare const EvalReportRedactedValue: "[redacted]";
|
|
16
|
+
/** Redaction policy applied before reports leave the process. */
|
|
17
|
+
export interface EvalReportExportRedaction {
|
|
18
|
+
/** Include dataset input payloads. Defaults to false. */
|
|
19
|
+
includeInputs?: boolean;
|
|
20
|
+
/** Include target output payloads. Defaults to false. */
|
|
21
|
+
includeOutputs?: boolean;
|
|
22
|
+
/** Include reference answer payloads. Defaults to false. */
|
|
23
|
+
includeReferences?: boolean;
|
|
24
|
+
/** Include trace events and tool-call metadata. Defaults to false. */
|
|
25
|
+
includeTraces?: boolean;
|
|
26
|
+
/** Include metric/check explanations. Defaults to false. */
|
|
27
|
+
includeMetricExplanations?: boolean;
|
|
28
|
+
/** Include metric/check evidence payloads. Defaults to false. */
|
|
29
|
+
includeMetricEvidence?: boolean;
|
|
30
|
+
/** Record metadata keys that can be exported. Defaults to none. */
|
|
31
|
+
metadataAllowlist?: string[];
|
|
32
|
+
}
|
|
33
|
+
/** Trace correlation fields that connect eval exports to runtime spans. */
|
|
34
|
+
export interface EvalReportExportTraceContext {
|
|
35
|
+
traceId?: string;
|
|
36
|
+
spanId?: string;
|
|
37
|
+
parentSpanId?: string;
|
|
38
|
+
}
|
|
39
|
+
/** Context passed to eval report exporters. */
|
|
40
|
+
export interface EvalReportExportContext {
|
|
41
|
+
projectId?: string;
|
|
42
|
+
projectReference?: string;
|
|
43
|
+
evalId?: string;
|
|
44
|
+
sourcePath?: string;
|
|
45
|
+
reportPath?: string;
|
|
46
|
+
environment?: string;
|
|
47
|
+
branch?: string;
|
|
48
|
+
commitSha?: string;
|
|
49
|
+
runUrl?: string;
|
|
50
|
+
tags?: string[];
|
|
51
|
+
metadata?: Record<string, unknown>;
|
|
52
|
+
trace?: EvalReportExportTraceContext;
|
|
53
|
+
redaction?: EvalReportExportRedaction;
|
|
54
|
+
}
|
|
55
|
+
/** Optional receipt returned by a vendor exporter. */
|
|
56
|
+
export interface EvalReportExportReceipt {
|
|
57
|
+
externalRunId?: string;
|
|
58
|
+
url?: string;
|
|
59
|
+
metadata?: Record<string, unknown>;
|
|
60
|
+
}
|
|
61
|
+
/** Vendor or backend implementation that receives sanitized eval reports. */
|
|
62
|
+
export interface EvalReportExporter {
|
|
63
|
+
/** Stable exporter id, for example `braintrust`, `langfuse`, or `langsmith`. */
|
|
64
|
+
readonly id: string;
|
|
65
|
+
export(report: EvalReport, context: EvalReportExportContext): EvalReportExportMaybePromise<EvalReportExportReceipt | void>;
|
|
66
|
+
}
|
|
67
|
+
/** Successful exporter result. */
|
|
68
|
+
export interface EvalReportExportSuccess {
|
|
69
|
+
exporterId: string;
|
|
70
|
+
ok: true;
|
|
71
|
+
receipt?: EvalReportExportReceipt;
|
|
72
|
+
}
|
|
73
|
+
/** Failed exporter result. Failures are captured so later exporters still run. */
|
|
74
|
+
export interface EvalReportExportFailure {
|
|
75
|
+
exporterId: string;
|
|
76
|
+
ok: false;
|
|
77
|
+
error: string;
|
|
78
|
+
}
|
|
79
|
+
/** Result for one exporter invocation. */
|
|
80
|
+
export type EvalReportExportResult = EvalReportExportSuccess | EvalReportExportFailure;
|
|
81
|
+
/** Registry contract. Single impl created at bootstrap. */
|
|
82
|
+
export interface EvalReportExporterRegistry {
|
|
83
|
+
register(exporter: EvalReportExporter): void;
|
|
84
|
+
unregister(id: string): void;
|
|
85
|
+
get(id: string): EvalReportExporter | undefined;
|
|
86
|
+
require(id: string): EvalReportExporter;
|
|
87
|
+
list(): EvalReportExporter[];
|
|
88
|
+
has(id: string): boolean;
|
|
89
|
+
export(report: EvalReport, context?: EvalReportExportContext): Promise<EvalReportExportResult[]>;
|
|
90
|
+
}
|
|
91
|
+
/** Create an eval report copy with external-export redaction applied. */
|
|
92
|
+
export declare function redactEvalReportForExport(report: EvalReport, redaction?: EvalReportExportRedaction): EvalReport;
|
|
93
|
+
/** Create an eval report exporter registry. */
|
|
94
|
+
export declare function createEvalReportExporterRegistry(): EvalReportExporterRegistry;
|
|
95
|
+
export {};
|
|
96
|
+
//# sourceMappingURL=eval-report-exporter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eval-report-exporter.d.ts","sourceRoot":"","sources":["../../../../src/src/extensions/eval/eval-report-exporter.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Eval report exporter extension contract.
|
|
3
|
+
*
|
|
4
|
+
* A single `EvalReportExporterRegistry` implementation lives in the contract
|
|
5
|
+
* registry under {@link EvalReportExporterRegistryName}. Vendor extensions
|
|
6
|
+
* resolve that registry during setup() and register one exporter each.
|
|
7
|
+
*
|
|
8
|
+
* @module extensions/eval/eval-report-exporter
|
|
9
|
+
*/
|
|
10
|
+
/** Contract name used for `resolve()` / `provide()`. */
|
|
11
|
+
export const EvalReportExporterRegistryName = "EvalReportExporterRegistry";
|
|
12
|
+
/** Sentinel used when record payload fields are removed for external export. */
|
|
13
|
+
export const EvalReportRedactedValue = "[redacted]";
|
|
14
|
+
function filterMetadata(metadata, allowlist) {
|
|
15
|
+
if (!allowlist || allowlist.length === 0)
|
|
16
|
+
return {};
|
|
17
|
+
const allowed = new Set(allowlist);
|
|
18
|
+
return Object.fromEntries(Object.entries(metadata).filter(([key]) => allowed.has(key)));
|
|
19
|
+
}
|
|
20
|
+
function redactRecord(record, redaction) {
|
|
21
|
+
const redacted = {
|
|
22
|
+
...record,
|
|
23
|
+
input: redaction.includeInputs ? record.input : EvalReportRedactedValue,
|
|
24
|
+
output: redaction.includeOutputs ? record.output : EvalReportRedactedValue,
|
|
25
|
+
metadata: filterMetadata(record.metadata, redaction.metadataAllowlist),
|
|
26
|
+
trace: redaction.includeTraces ? record.trace : { events: [], toolCalls: [] },
|
|
27
|
+
...(record.metrics ? { metrics: redactMetricResults(record.metrics, redaction) } : {}),
|
|
28
|
+
...(record.checks ? { checks: redactMetricResults(record.checks, redaction) } : {}),
|
|
29
|
+
};
|
|
30
|
+
if (Object.hasOwn(record, "reference")) {
|
|
31
|
+
redacted.reference = redaction.includeReferences ? record.reference : EvalReportRedactedValue;
|
|
32
|
+
}
|
|
33
|
+
return redacted;
|
|
34
|
+
}
|
|
35
|
+
function redactMetricResults(results, redaction) {
|
|
36
|
+
return results.map((result) => {
|
|
37
|
+
const redacted = { ...result };
|
|
38
|
+
if (!redaction.includeMetricExplanations) {
|
|
39
|
+
delete redacted.explanation;
|
|
40
|
+
}
|
|
41
|
+
if (!redaction.includeMetricEvidence) {
|
|
42
|
+
delete redacted.evidence;
|
|
43
|
+
}
|
|
44
|
+
return redacted;
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
/** Create an eval report copy with external-export redaction applied. */
|
|
48
|
+
export function redactEvalReportForExport(report, redaction = {}) {
|
|
49
|
+
const cloned = structuredClone(report);
|
|
50
|
+
return {
|
|
51
|
+
...cloned,
|
|
52
|
+
records: cloned.records.map((record) => redactRecord(record, redaction)),
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
function errorMessage(error) {
|
|
56
|
+
return error instanceof Error ? error.message : String(error);
|
|
57
|
+
}
|
|
58
|
+
class EvalReportExporterRegistryImpl {
|
|
59
|
+
exporters = new Map();
|
|
60
|
+
register(exporter) {
|
|
61
|
+
if (this.exporters.has(exporter.id)) {
|
|
62
|
+
return;
|
|
63
|
+
}
|
|
64
|
+
this.exporters.set(exporter.id, exporter);
|
|
65
|
+
}
|
|
66
|
+
unregister(id) {
|
|
67
|
+
this.exporters.delete(id);
|
|
68
|
+
}
|
|
69
|
+
get(id) {
|
|
70
|
+
return this.exporters.get(id);
|
|
71
|
+
}
|
|
72
|
+
require(id) {
|
|
73
|
+
const exporter = this.exporters.get(id);
|
|
74
|
+
if (exporter)
|
|
75
|
+
return exporter;
|
|
76
|
+
const known = [...this.exporters.keys()].join(", ") || "(none)";
|
|
77
|
+
throw new Error(`No EvalReportExporter registered for "${id}". Known exporters: ${known}.`);
|
|
78
|
+
}
|
|
79
|
+
has(id) {
|
|
80
|
+
return this.exporters.has(id);
|
|
81
|
+
}
|
|
82
|
+
list() {
|
|
83
|
+
return [...this.exporters.values()];
|
|
84
|
+
}
|
|
85
|
+
async export(report, context = {}) {
|
|
86
|
+
const results = [];
|
|
87
|
+
for (const exporter of this.exporters.values()) {
|
|
88
|
+
try {
|
|
89
|
+
const sanitizedReport = redactEvalReportForExport(report, context.redaction);
|
|
90
|
+
const receipt = await exporter.export(sanitizedReport, context);
|
|
91
|
+
const result = { exporterId: exporter.id, ok: true };
|
|
92
|
+
if (receipt !== undefined)
|
|
93
|
+
result.receipt = receipt;
|
|
94
|
+
results.push(result);
|
|
95
|
+
}
|
|
96
|
+
catch (error) {
|
|
97
|
+
results.push({
|
|
98
|
+
exporterId: exporter.id,
|
|
99
|
+
ok: false,
|
|
100
|
+
error: errorMessage(error),
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
return results;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
/** Create an eval report exporter registry. */
|
|
108
|
+
export function createEvalReportExporterRegistry() {
|
|
109
|
+
return new EvalReportExporterRegistryImpl();
|
|
110
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Eval category barrel: eval report exporter contracts.
|
|
3
|
+
*
|
|
4
|
+
* @module extensions/eval
|
|
5
|
+
*/
|
|
6
|
+
import "../../../_dnt.polyfills.js";
|
|
7
|
+
export { createEvalReportExporterRegistry, EvalReportExporterRegistryName, EvalReportRedactedValue, redactEvalReportForExport, } from "./eval-report-exporter.js";
|
|
8
|
+
export type { EvalReportExportContext, EvalReportExporter, EvalReportExporterRegistry, EvalReportExportFailure, EvalReportExportReceipt, EvalReportExportRedaction, EvalReportExportResult, EvalReportExportSuccess, EvalReportExportTraceContext, } from "./eval-report-exporter.js";
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/src/extensions/eval/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,4BAA4B,CAAC;AAGpC,OAAO,EACL,gCAAgC,EAChC,8BAA8B,EAC9B,uBAAuB,EACvB,yBAAyB,GAC1B,MAAM,2BAA2B,CAAC;AACnC,YAAY,EACV,uBAAuB,EACvB,kBAAkB,EAClB,0BAA0B,EAC1B,uBAAuB,EACvB,uBAAuB,EACvB,yBAAyB,EACzB,sBAAsB,EACtB,uBAAuB,EACvB,4BAA4B,GAC7B,MAAM,2BAA2B,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Eval category barrel: eval report exporter contracts.
|
|
3
|
+
*
|
|
4
|
+
* @module extensions/eval
|
|
5
|
+
*/
|
|
6
|
+
import "../../../_dnt.polyfills.js";
|
|
7
|
+
export { createEvalReportExporterRegistry, EvalReportExporterRegistryName, EvalReportRedactedValue, redactEvalReportForExport, } from "./eval-report-exporter.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { InferSchema } from "../extensions/schema/index.js";
|
|
2
|
-
export declare const getIntegrationNameSchema: () => import("../internal-agents/schema.js").Schema<"close" | "render" | "openai" | "cohere" | "github" | "cloudflare" | "square" | "anthropic" | "
|
|
2
|
+
export declare const getIntegrationNameSchema: () => import("../internal-agents/schema.js").Schema<"close" | "render" | "openai" | "cohere" | "github" | "cloudflare" | "square" | "anthropic" | "linear" | "gmail" | "slack" | "calendar" | "jira" | "notion" | "servicenow" | "confluence" | "gitlab" | "outlook" | "teams" | "figma" | "sap" | "sheets" | "airtable" | "supabase" | "neon" | "sharepoint" | "stripe" | "salesforce" | "twitter" | "onedrive" | "bitbucket" | "sentry" | "posthog" | "persona" | "zendesk" | "asana" | "harvest" | "hubspot" | "monday" | "zoom" | "trello" | "box" | "shopify" | "clickup" | "intercom" | "pipedrive" | "mailchimp" | "webex" | "freshdesk" | "quickbooks" | "xero" | "drive" | "docs-google" | "snowflake" | "mixpanel" | "twilio" | "aws" | "todoist" | "calendly" | "google-analytics" | "klaviyo" | "datadog" | "paypal" | "activecampaign" | "algolia" | "amplitude" | "apollo" | "ashby" | "attio" | "basecamp" | "brevo" | "circleci" | "coda" | "dialpad" | "digitalocean" | "exa" | "fathom" | "firecrawl" | "fireflies" | "folk" | "gemini" | "gong" | "google-chat" | "gusto" | "jotform" | "lever" | "metabase" | "mistral" | "pagerduty" | "perplexity" | "productboard" | "razorpay" | "resend" | "salesflare" | "segment" | "sendgrid" | "shortcut" | "tavily" | "typeform" | "apify" | "assemblyai" | "axiom" | "betterstack" | "browserbase" | "buildkite" | "checkly" | "clickhouse" | "deepgram" | "elevenlabs" | "fal" | "fireworks-ai" | "fly-io" | "grafana-cloud" | "groq" | "heroku" | "huggingface" | "langfuse" | "langsmith" | "launchdarkly" | "mongodb-atlas" | "netlify" | "new-relic" | "openrouter" | "pinecone" | "planetscale" | "qdrant" | "railway" | "redis-cloud" | "replicate" | "snyk" | "stability-ai" | "together-ai" | "vercel" | "weaviate" | "bamboohr" | "cal-com" | "customer-io" | "discord" | "docusign" | "gocardless" | "google-bigquery" | "google-contacts" | "help-scout" | "telegram" | "whatsapp" | "woocommerce" | "zoho-crm" | "adyen" | "azure-blob-storage" | "bigcommerce" | "brave-search" | "chargebee" | "databricks" | "deel" | "front" | "google-cloud-storage" | "google-forms" | "gorgias" | "greenhouse" | "guru" | "mollie" | "paddle" | "pandadoc" | "personio" | "portkey" | "power-bi" | "ramp" | "rippling" | "serpapi" | "shopware" | "surveymonkey" | "tally" | "wix" | "workable" | "azure" | "azure-document-intelligence" | "billbee" | "cleverreach" | "datev" | "factorial" | "finapi" | "gcp" | "hetzner" | "ionos" | "klarna" | "lexoffice" | "mindee" | "moss" | "neo4j" | "north-data" | "qonto" | "sendcloud" | "sevdesk" | "skribble" | "stackit" | "trusted-shops" | "unstructured" | "unzer" | "voyage-ai" | "xentral" | "alphavantage" | "daytona" | "e2b" | "polygon" | "sprites">;
|
|
3
3
|
/** Zod schema for integration name. */
|
|
4
|
-
export declare const IntegrationNameSchema: import("../internal-agents/schema.js").Schema<"close" | "render" | "openai" | "cohere" | "github" | "cloudflare" | "square" | "anthropic" | "
|
|
4
|
+
export declare const IntegrationNameSchema: import("../internal-agents/schema.js").Schema<"close" | "render" | "openai" | "cohere" | "github" | "cloudflare" | "square" | "anthropic" | "linear" | "gmail" | "slack" | "calendar" | "jira" | "notion" | "servicenow" | "confluence" | "gitlab" | "outlook" | "teams" | "figma" | "sap" | "sheets" | "airtable" | "supabase" | "neon" | "sharepoint" | "stripe" | "salesforce" | "twitter" | "onedrive" | "bitbucket" | "sentry" | "posthog" | "persona" | "zendesk" | "asana" | "harvest" | "hubspot" | "monday" | "zoom" | "trello" | "box" | "shopify" | "clickup" | "intercom" | "pipedrive" | "mailchimp" | "webex" | "freshdesk" | "quickbooks" | "xero" | "drive" | "docs-google" | "snowflake" | "mixpanel" | "twilio" | "aws" | "todoist" | "calendly" | "google-analytics" | "klaviyo" | "datadog" | "paypal" | "activecampaign" | "algolia" | "amplitude" | "apollo" | "ashby" | "attio" | "basecamp" | "brevo" | "circleci" | "coda" | "dialpad" | "digitalocean" | "exa" | "fathom" | "firecrawl" | "fireflies" | "folk" | "gemini" | "gong" | "google-chat" | "gusto" | "jotform" | "lever" | "metabase" | "mistral" | "pagerduty" | "perplexity" | "productboard" | "razorpay" | "resend" | "salesflare" | "segment" | "sendgrid" | "shortcut" | "tavily" | "typeform" | "apify" | "assemblyai" | "axiom" | "betterstack" | "browserbase" | "buildkite" | "checkly" | "clickhouse" | "deepgram" | "elevenlabs" | "fal" | "fireworks-ai" | "fly-io" | "grafana-cloud" | "groq" | "heroku" | "huggingface" | "langfuse" | "langsmith" | "launchdarkly" | "mongodb-atlas" | "netlify" | "new-relic" | "openrouter" | "pinecone" | "planetscale" | "qdrant" | "railway" | "redis-cloud" | "replicate" | "snyk" | "stability-ai" | "together-ai" | "vercel" | "weaviate" | "bamboohr" | "cal-com" | "customer-io" | "discord" | "docusign" | "gocardless" | "google-bigquery" | "google-contacts" | "help-scout" | "telegram" | "whatsapp" | "woocommerce" | "zoho-crm" | "adyen" | "azure-blob-storage" | "bigcommerce" | "brave-search" | "chargebee" | "databricks" | "deel" | "front" | "google-cloud-storage" | "google-forms" | "gorgias" | "greenhouse" | "guru" | "mollie" | "paddle" | "pandadoc" | "personio" | "portkey" | "power-bi" | "ramp" | "rippling" | "serpapi" | "shopware" | "surveymonkey" | "tally" | "wix" | "workable" | "azure" | "azure-document-intelligence" | "billbee" | "cleverreach" | "datev" | "factorial" | "finapi" | "gcp" | "hetzner" | "ionos" | "klarna" | "lexoffice" | "mindee" | "moss" | "neo4j" | "north-data" | "qonto" | "sendcloud" | "sevdesk" | "skribble" | "stackit" | "trusted-shops" | "unstructured" | "unzer" | "voyage-ai" | "xentral" | "alphavantage" | "daytona" | "e2b" | "polygon" | "sprites">;
|
|
5
5
|
/**
|
|
6
6
|
* Every registered integration name. The single source of truth for catalog
|
|
7
7
|
* surfaces (CLI validation, MCP listings) — derive from this instead of
|
|
@@ -529,7 +529,7 @@ export declare const IntegrationPromptSchema: import("../internal-agents/schema.
|
|
|
529
529
|
icon: import("../internal-agents/schema.js").Schema<string | undefined>;
|
|
530
530
|
}>>;
|
|
531
531
|
export declare const getIntegrationConfigSchema: () => import("../internal-agents/schema.js").Schema<import("../extensions/schema/schema-validator.js").InferShape<{
|
|
532
|
-
name: import("../internal-agents/schema.js").Schema<"close" | "render" | "openai" | "cohere" | "github" | "cloudflare" | "square" | "anthropic" | "
|
|
532
|
+
name: import("../internal-agents/schema.js").Schema<"close" | "render" | "openai" | "cohere" | "github" | "cloudflare" | "square" | "anthropic" | "linear" | "gmail" | "slack" | "calendar" | "jira" | "notion" | "servicenow" | "confluence" | "gitlab" | "outlook" | "teams" | "figma" | "sap" | "sheets" | "airtable" | "supabase" | "neon" | "sharepoint" | "stripe" | "salesforce" | "twitter" | "onedrive" | "bitbucket" | "sentry" | "posthog" | "persona" | "zendesk" | "asana" | "harvest" | "hubspot" | "monday" | "zoom" | "trello" | "box" | "shopify" | "clickup" | "intercom" | "pipedrive" | "mailchimp" | "webex" | "freshdesk" | "quickbooks" | "xero" | "drive" | "docs-google" | "snowflake" | "mixpanel" | "twilio" | "aws" | "todoist" | "calendly" | "google-analytics" | "klaviyo" | "datadog" | "paypal" | "activecampaign" | "algolia" | "amplitude" | "apollo" | "ashby" | "attio" | "basecamp" | "brevo" | "circleci" | "coda" | "dialpad" | "digitalocean" | "exa" | "fathom" | "firecrawl" | "fireflies" | "folk" | "gemini" | "gong" | "google-chat" | "gusto" | "jotform" | "lever" | "metabase" | "mistral" | "pagerduty" | "perplexity" | "productboard" | "razorpay" | "resend" | "salesflare" | "segment" | "sendgrid" | "shortcut" | "tavily" | "typeform" | "apify" | "assemblyai" | "axiom" | "betterstack" | "browserbase" | "buildkite" | "checkly" | "clickhouse" | "deepgram" | "elevenlabs" | "fal" | "fireworks-ai" | "fly-io" | "grafana-cloud" | "groq" | "heroku" | "huggingface" | "langfuse" | "langsmith" | "launchdarkly" | "mongodb-atlas" | "netlify" | "new-relic" | "openrouter" | "pinecone" | "planetscale" | "qdrant" | "railway" | "redis-cloud" | "replicate" | "snyk" | "stability-ai" | "together-ai" | "vercel" | "weaviate" | "bamboohr" | "cal-com" | "customer-io" | "discord" | "docusign" | "gocardless" | "google-bigquery" | "google-contacts" | "help-scout" | "telegram" | "whatsapp" | "woocommerce" | "zoho-crm" | "adyen" | "azure-blob-storage" | "bigcommerce" | "brave-search" | "chargebee" | "databricks" | "deel" | "front" | "google-cloud-storage" | "google-forms" | "gorgias" | "greenhouse" | "guru" | "mollie" | "paddle" | "pandadoc" | "personio" | "portkey" | "power-bi" | "ramp" | "rippling" | "serpapi" | "shopware" | "surveymonkey" | "tally" | "wix" | "workable" | "azure" | "azure-document-intelligence" | "billbee" | "cleverreach" | "datev" | "factorial" | "finapi" | "gcp" | "hetzner" | "ionos" | "klarna" | "lexoffice" | "mindee" | "moss" | "neo4j" | "north-data" | "qonto" | "sendcloud" | "sevdesk" | "skribble" | "stackit" | "trusted-shops" | "unstructured" | "unzer" | "voyage-ai" | "xentral" | "alphavantage" | "daytona" | "e2b" | "polygon" | "sprites">;
|
|
533
533
|
displayName: import("../internal-agents/schema.js").Schema<string>;
|
|
534
534
|
icon: import("../internal-agents/schema.js").Schema<string | undefined>;
|
|
535
535
|
description: import("../internal-agents/schema.js").Schema<string>;
|
|
@@ -693,7 +693,7 @@ export declare const getIntegrationConfigSchema: () => import("../internal-agent
|
|
|
693
693
|
}>>;
|
|
694
694
|
/** Zod schema for integration config. */
|
|
695
695
|
export declare const IntegrationConfigSchema: import("../internal-agents/schema.js").Schema<import("../extensions/schema/schema-validator.js").InferShape<{
|
|
696
|
-
name: import("../internal-agents/schema.js").Schema<"close" | "render" | "openai" | "cohere" | "github" | "cloudflare" | "square" | "anthropic" | "
|
|
696
|
+
name: import("../internal-agents/schema.js").Schema<"close" | "render" | "openai" | "cohere" | "github" | "cloudflare" | "square" | "anthropic" | "linear" | "gmail" | "slack" | "calendar" | "jira" | "notion" | "servicenow" | "confluence" | "gitlab" | "outlook" | "teams" | "figma" | "sap" | "sheets" | "airtable" | "supabase" | "neon" | "sharepoint" | "stripe" | "salesforce" | "twitter" | "onedrive" | "bitbucket" | "sentry" | "posthog" | "persona" | "zendesk" | "asana" | "harvest" | "hubspot" | "monday" | "zoom" | "trello" | "box" | "shopify" | "clickup" | "intercom" | "pipedrive" | "mailchimp" | "webex" | "freshdesk" | "quickbooks" | "xero" | "drive" | "docs-google" | "snowflake" | "mixpanel" | "twilio" | "aws" | "todoist" | "calendly" | "google-analytics" | "klaviyo" | "datadog" | "paypal" | "activecampaign" | "algolia" | "amplitude" | "apollo" | "ashby" | "attio" | "basecamp" | "brevo" | "circleci" | "coda" | "dialpad" | "digitalocean" | "exa" | "fathom" | "firecrawl" | "fireflies" | "folk" | "gemini" | "gong" | "google-chat" | "gusto" | "jotform" | "lever" | "metabase" | "mistral" | "pagerduty" | "perplexity" | "productboard" | "razorpay" | "resend" | "salesflare" | "segment" | "sendgrid" | "shortcut" | "tavily" | "typeform" | "apify" | "assemblyai" | "axiom" | "betterstack" | "browserbase" | "buildkite" | "checkly" | "clickhouse" | "deepgram" | "elevenlabs" | "fal" | "fireworks-ai" | "fly-io" | "grafana-cloud" | "groq" | "heroku" | "huggingface" | "langfuse" | "langsmith" | "launchdarkly" | "mongodb-atlas" | "netlify" | "new-relic" | "openrouter" | "pinecone" | "planetscale" | "qdrant" | "railway" | "redis-cloud" | "replicate" | "snyk" | "stability-ai" | "together-ai" | "vercel" | "weaviate" | "bamboohr" | "cal-com" | "customer-io" | "discord" | "docusign" | "gocardless" | "google-bigquery" | "google-contacts" | "help-scout" | "telegram" | "whatsapp" | "woocommerce" | "zoho-crm" | "adyen" | "azure-blob-storage" | "bigcommerce" | "brave-search" | "chargebee" | "databricks" | "deel" | "front" | "google-cloud-storage" | "google-forms" | "gorgias" | "greenhouse" | "guru" | "mollie" | "paddle" | "pandadoc" | "personio" | "portkey" | "power-bi" | "ramp" | "rippling" | "serpapi" | "shopware" | "surveymonkey" | "tally" | "wix" | "workable" | "azure" | "azure-document-intelligence" | "billbee" | "cleverreach" | "datev" | "factorial" | "finapi" | "gcp" | "hetzner" | "ionos" | "klarna" | "lexoffice" | "mindee" | "moss" | "neo4j" | "north-data" | "qonto" | "sendcloud" | "sevdesk" | "skribble" | "stackit" | "trusted-shops" | "unstructured" | "unzer" | "voyage-ai" | "xentral" | "alphavantage" | "daytona" | "e2b" | "polygon" | "sprites">;
|
|
697
697
|
displayName: import("../internal-agents/schema.js").Schema<string>;
|
|
698
698
|
icon: import("../internal-agents/schema.js").Schema<string | undefined>;
|
|
699
699
|
description: import("../internal-agents/schema.js").Schema<string>;
|
|
@@ -12,7 +12,7 @@ export declare function verifyControlPlaneRequest(req: Request, ctx: HandlerCont
|
|
|
12
12
|
iss: import("./schema.js").Schema<string>;
|
|
13
13
|
aud: import("./schema.js").Schema<string>;
|
|
14
14
|
sub: import("./schema.js").Schema<string>;
|
|
15
|
-
surface: import("./schema.js").Schema<"mcp" | "
|
|
15
|
+
surface: import("./schema.js").Schema<"mcp" | "channels" | "studio" | "a2a">;
|
|
16
16
|
project_id: import("./schema.js").Schema<string>;
|
|
17
17
|
request_hash: import("./schema.js").Schema<string>;
|
|
18
18
|
iat: import("./schema.js").Schema<number>;
|
package/esm/src/runs/index.d.ts
CHANGED
|
@@ -22,6 +22,6 @@
|
|
|
22
22
|
* ```
|
|
23
23
|
*/
|
|
24
24
|
import "../../_dnt.polyfills.js";
|
|
25
|
-
export { createRunsClient, type CreateTaskRunInput, type CreateWorkflowRunInput, type KnowledgeIngestByUploadIdsInput, type KnowledgeIngestByUploadPathsInput, type KnowledgeIngestByUploadPrefixInput, type ListRunEventsOptions, type ListRunsOptions, type ProjectScopedOptions, type RunRuntimeTargetKind, type RunRuntimeTargetOptions, VeryfrontRunsClient, type VeryfrontRunsClientConfig, } from "./runs-client.js";
|
|
25
|
+
export { type CreateEvalRunInput, createRunsClient, type CreateTaskRunInput, type CreateWorkflowRunInput, type KnowledgeIngestByUploadIdsInput, type KnowledgeIngestByUploadPathsInput, type KnowledgeIngestByUploadPrefixInput, type ListRunEventsOptions, type ListRunsOptions, type ProjectScopedOptions, type RunRuntimeTargetKind, type RunRuntimeTargetOptions, VeryfrontRunsClient, type VeryfrontRunsClientConfig, } from "./runs-client.js";
|
|
26
26
|
export { type CancelRunResponse, CancelRunResponseSchema, type CreateRunResponse, CreateRunResponseSchema, type Run, type RunEvent, RunEventListSchema, RunEventSchema, type RunExecutionError, type RunKind, type RunList, RunListSchema, type RunOwner, RunSchema, type RunStatus, type RunTriggerKind, } from "./schemas.js";
|
|
27
27
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/src/runs/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,OAAO,yBAAyB,CAAC;AAGjC,OAAO,EACL,gBAAgB,EAChB,KAAK,kBAAkB,EACvB,KAAK,sBAAsB,EAC3B,KAAK,+BAA+B,EACpC,KAAK,iCAAiC,EACtC,KAAK,kCAAkC,EACvC,KAAK,oBAAoB,EACzB,KAAK,eAAe,EACpB,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,uBAAuB,EAC5B,mBAAmB,EACnB,KAAK,yBAAyB,GAC/B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,KAAK,iBAAiB,EACtB,uBAAuB,EACvB,KAAK,iBAAiB,EACtB,uBAAuB,EACvB,KAAK,GAAG,EACR,KAAK,QAAQ,EACb,kBAAkB,EAClB,cAAc,EACd,KAAK,iBAAiB,EACtB,KAAK,OAAO,EACZ,KAAK,OAAO,EACZ,aAAa,EACb,KAAK,QAAQ,EACb,SAAS,EACT,KAAK,SAAS,EACd,KAAK,cAAc,GACpB,MAAM,cAAc,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/src/runs/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,OAAO,yBAAyB,CAAC;AAGjC,OAAO,EACL,KAAK,kBAAkB,EACvB,gBAAgB,EAChB,KAAK,kBAAkB,EACvB,KAAK,sBAAsB,EAC3B,KAAK,+BAA+B,EACpC,KAAK,iCAAiC,EACtC,KAAK,kCAAkC,EACvC,KAAK,oBAAoB,EACzB,KAAK,eAAe,EACpB,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,uBAAuB,EAC5B,mBAAmB,EACnB,KAAK,yBAAyB,GAC/B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,KAAK,iBAAiB,EACtB,uBAAuB,EACvB,KAAK,iBAAiB,EACtB,uBAAuB,EACvB,KAAK,GAAG,EACR,KAAK,QAAQ,EACb,kBAAkB,EAClB,cAAc,EACd,KAAK,iBAAiB,EACtB,KAAK,OAAO,EACZ,KAAK,OAAO,EACZ,aAAa,EACb,KAAK,QAAQ,EACb,SAAS,EACT,KAAK,SAAS,EACd,KAAK,cAAc,GACpB,MAAM,cAAc,CAAC"}
|