agentstack-sdk 0.6.1 → 0.6.2-rc2
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/README.md +36 -29
- package/dist/api.cjs +1994 -2
- package/dist/api.d.cts +29 -0
- package/dist/api.d.ts +25 -1
- package/dist/api.js +1801 -2
- package/dist/core-DcGxYeok.d.ts +1238 -0
- package/dist/core-XN6gWSAb.d.cts +1238 -0
- package/dist/core.cjs +1773 -2
- package/dist/core.d.cts +7 -0
- package/dist/core.d.ts +7 -5
- package/dist/core.js +1725 -2
- package/dist/extensions.cjs +798 -2
- package/dist/extensions.d.cts +244 -0
- package/dist/extensions.d.ts +240 -1
- package/dist/extensions.js +652 -2
- package/dist/index.cjs +3142 -2
- package/dist/index.d.cts +10 -0
- package/dist/index.d.ts +10 -7
- package/dist/index.js +2781 -2
- package/dist/index.umd.js +16509 -2
- package/dist/schemas-Dy3P_eAt.d.cts +57 -0
- package/dist/schemas-Dy3P_eAt.d.ts +57 -0
- package/dist/server.cjs +2762 -0
- package/dist/server.d.cts +244 -0
- package/dist/server.d.ts +244 -0
- package/dist/server.js +2716 -0
- package/dist/types-B5B3b0V2.d.cts +396 -0
- package/dist/types-B5B3b0V2.d.ts +396 -0
- package/dist/types-CmEs5_Ag.d.cts +3522 -0
- package/dist/types-DJm5-rZZ.d.ts +3522 -0
- package/dist/types-DvLt-XuC.d.ts +866 -0
- package/dist/types-E26YDM19.d.cts +866 -0
- package/dist/types-MfIzGgpV.d.cts +43 -0
- package/dist/types-MfIzGgpV.d.ts +43 -0
- package/package.json +36 -21
- package/src/client/a2a/extensions/auth/oauth/index.ts +6 -6
- package/src/client/a2a/extensions/auth/secrets/index.ts +6 -6
- package/src/client/a2a/extensions/interactions/approval/index.ts +7 -7
- package/src/client/a2a/extensions/services/embedding/index.ts +7 -3
- package/src/client/a2a/extensions/services/form/index.ts +3 -3
- package/src/client/a2a/extensions/services/llm/index.ts +3 -3
- package/src/client/a2a/extensions/services/mcp/index.ts +3 -3
- package/src/client/a2a/extensions/services/platform-api/index.ts +2 -2
- package/src/client/a2a/extensions/ui/agent-detail/index.ts +4 -4
- package/src/client/a2a/extensions/ui/canvas/index.ts +4 -4
- package/src/client/a2a/extensions/ui/citation/index.ts +4 -4
- package/src/client/a2a/extensions/ui/error/index.ts +4 -4
- package/src/client/a2a/extensions/ui/form-request/index.ts +4 -4
- package/src/client/a2a/extensions/ui/settings/index.ts +7 -3
- package/src/client/a2a/extensions/ui/trajectory/index.ts +4 -4
- package/src/client/core/extensions/types.ts +8 -1
- package/src/client/core/handle-task-status-update.ts +10 -3
- package/src/client/core/index.ts +1 -0
- package/src/client/core/utils/extract-text-from-message.ts +15 -0
- package/src/examples/hello-world.ts +34 -0
- package/src/experimental/server/a2a/extensions/agent-detail/index.ts +35 -0
- package/src/experimental/server/a2a/extensions/agent-detail/types.ts +10 -0
- package/src/experimental/server/a2a/extensions/index.ts +11 -0
- package/src/experimental/server/a2a/extensions/llm/index.ts +70 -0
- package/src/experimental/server/a2a/extensions/llm/types.ts +16 -0
- package/src/experimental/server/a2a/extensions/platform-self-registration/index.ts +34 -0
- package/src/experimental/server/a2a/extensions/platform-self-registration/types.ts +10 -0
- package/src/experimental/server/a2a/helpers.ts +95 -0
- package/{dist/client/a2a/index.d.ts → src/experimental/server/a2a/index.ts} +1 -1
- package/src/experimental/server/a2a/utils.ts +43 -0
- package/src/experimental/server/core/config/index.ts +17 -0
- package/src/experimental/server/core/config/schemas.ts +15 -0
- package/src/experimental/server/core/config/types.ts +10 -0
- package/src/experimental/server/core/context/index.ts +18 -0
- package/src/experimental/server/core/extensions/types.ts +24 -0
- package/{dist/client/a2a/protocol/index.d.ts → src/experimental/server/core/index.ts} +4 -0
- package/{dist/client/a2a/protocol/tests.d.ts → src/experimental/server/core/schemas.ts} +2 -1
- package/src/experimental/server/core/server/autoregistration.ts +142 -0
- package/src/experimental/server/core/server/executor.ts +284 -0
- package/src/experimental/server/core/server/helpers.ts +12 -0
- package/src/experimental/server/core/server/index.ts +166 -0
- package/src/experimental/server/core/server/types.ts +58 -0
- package/src/experimental/server/core/types.ts +8 -0
- package/src/experimental/server/core/utils.ts +59 -0
- package/{dist/client/api/core/errors/index.d.ts → src/server.ts} +3 -2
- package/dist/api.cjs.map +0 -1
- package/dist/api.js.map +0 -1
- package/dist/api.umd.js +0 -2
- package/dist/api.umd.js.map +0 -1
- package/dist/client/a2a/extensions/auth/oauth/index.d.ts +0 -10
- package/dist/client/a2a/extensions/auth/oauth/schemas.d.ts +0 -32
- package/dist/client/a2a/extensions/auth/oauth/types.d.ts +0 -13
- package/dist/client/a2a/extensions/auth/secrets/index.d.ts +0 -10
- package/dist/client/a2a/extensions/auth/secrets/schemas.d.ts +0 -23
- package/dist/client/a2a/extensions/auth/secrets/types.d.ts +0 -10
- package/dist/client/a2a/extensions/common/form/schemas.d.ts +0 -290
- package/dist/client/a2a/extensions/common/form/types.d.ts +0 -24
- package/dist/client/a2a/extensions/index.d.ts +0 -21
- package/dist/client/a2a/extensions/interactions/approval/index.d.ts +0 -10
- package/dist/client/a2a/extensions/interactions/approval/schemas.d.ts +0 -43
- package/dist/client/a2a/extensions/interactions/approval/types.d.ts +0 -14
- package/dist/client/a2a/extensions/schemas.d.ts +0 -19
- package/dist/client/a2a/extensions/services/embedding/index.d.ts +0 -9
- package/dist/client/a2a/extensions/services/embedding/schemas.d.ts +0 -29
- package/dist/client/a2a/extensions/services/embedding/types.d.ts +0 -10
- package/dist/client/a2a/extensions/services/form/index.d.ts +0 -9
- package/dist/client/a2a/extensions/services/form/schemas.d.ts +0 -97
- package/dist/client/a2a/extensions/services/form/types.d.ts +0 -8
- package/dist/client/a2a/extensions/services/llm/index.d.ts +0 -9
- package/dist/client/a2a/extensions/services/llm/schemas.d.ts +0 -29
- package/dist/client/a2a/extensions/services/llm/types.d.ts +0 -10
- package/dist/client/a2a/extensions/services/mcp/index.d.ts +0 -9
- package/dist/client/a2a/extensions/services/mcp/schemas.d.ts +0 -35
- package/dist/client/a2a/extensions/services/mcp/types.d.ts +0 -14
- package/dist/client/a2a/extensions/services/platform-api/index.d.ts +0 -11
- package/dist/client/a2a/extensions/services/platform-api/schemas.d.ts +0 -10
- package/dist/client/a2a/extensions/services/platform-api/types.d.ts +0 -7
- package/dist/client/a2a/extensions/types.d.ts +0 -19
- package/dist/client/a2a/extensions/ui/agent-detail/index.d.ts +0 -9
- package/dist/client/a2a/extensions/ui/agent-detail/schemas.d.ts +0 -41
- package/dist/client/a2a/extensions/ui/agent-detail/types.d.ts +0 -13
- package/dist/client/a2a/extensions/ui/canvas/index.d.ts +0 -9
- package/dist/client/a2a/extensions/ui/canvas/schemas.d.ts +0 -11
- package/dist/client/a2a/extensions/ui/canvas/types.d.ts +0 -7
- package/dist/client/a2a/extensions/ui/citation/index.d.ts +0 -9
- package/dist/client/a2a/extensions/ui/citation/schemas.d.ts +0 -21
- package/dist/client/a2a/extensions/ui/citation/types.d.ts +0 -8
- package/dist/client/a2a/extensions/ui/error/index.d.ts +0 -9
- package/dist/client/a2a/extensions/ui/error/schemas.d.ts +0 -30
- package/dist/client/a2a/extensions/ui/error/types.d.ts +0 -9
- package/dist/client/a2a/extensions/ui/form-request/index.d.ts +0 -9
- package/dist/client/a2a/extensions/ui/settings/index.d.ts +0 -9
- package/dist/client/a2a/extensions/ui/settings/schemas.d.ts +0 -113
- package/dist/client/a2a/extensions/ui/settings/types.d.ts +0 -18
- package/dist/client/a2a/extensions/ui/trajectory/index.d.ts +0 -9
- package/dist/client/a2a/extensions/ui/trajectory/schemas.d.ts +0 -10
- package/dist/client/a2a/extensions/ui/trajectory/types.d.ts +0 -7
- package/dist/client/a2a/protocol/schemas.d.ts +0 -988
- package/dist/client/a2a/protocol/types.d.ts +0 -52
- package/dist/client/a2a/protocol/utils.d.ts +0 -6
- package/dist/client/api/common/schemas.d.ts +0 -30
- package/dist/client/api/common/types.d.ts +0 -18
- package/dist/client/api/configuration/api.d.ts +0 -22
- package/dist/client/api/configuration/schemas.d.ts +0 -31
- package/dist/client/api/configuration/types.d.ts +0 -11
- package/dist/client/api/connectors/api.d.ts +0 -78
- package/dist/client/api/connectors/schemas.d.ts +0 -114
- package/dist/client/api/connectors/types.d.ts +0 -28
- package/dist/client/api/contexts/api.d.ts +0 -133
- package/dist/client/api/contexts/schemas.d.ts +0 -359
- package/dist/client/api/contexts/types.d.ts +0 -34
- package/dist/client/api/core/client.d.ts +0 -1273
- package/dist/client/api/core/errors/types.d.ts +0 -36
- package/dist/client/api/core/errors/utils.d.ts +0 -23
- package/dist/client/api/core/index.d.ts +0 -7
- package/dist/client/api/core/schemas.d.ts +0 -17
- package/dist/client/api/core/types.d.ts +0 -45
- package/dist/client/api/core/utils.d.ts +0 -23
- package/dist/client/api/files/api.d.ts +0 -32
- package/dist/client/api/files/schemas.d.ts +0 -61
- package/dist/client/api/files/types.d.ts +0 -19
- package/dist/client/api/index.d.ts +0 -7
- package/dist/client/api/model-providers/api.d.ts +0 -50
- package/dist/client/api/model-providers/schemas.d.ts +0 -80
- package/dist/client/api/model-providers/types.d.ts +0 -44
- package/dist/client/api/provider-builds/api.d.ts +0 -143
- package/dist/client/api/provider-builds/schemas.d.ts +0 -250
- package/dist/client/api/provider-builds/types.d.ts +0 -31
- package/dist/client/api/providers/api.d.ts +0 -847
- package/dist/client/api/providers/schemas.d.ts +0 -1335
- package/dist/client/api/providers/types.d.ts +0 -45
- package/dist/client/api/schemas.d.ts +0 -15
- package/dist/client/api/types.d.ts +0 -15
- package/dist/client/api/user-feedback/api.d.ts +0 -9
- package/dist/client/api/user-feedback/schemas.d.ts +0 -15
- package/dist/client/api/user-feedback/types.d.ts +0 -8
- package/dist/client/api/users/api.d.ts +0 -13
- package/dist/client/api/users/schemas.d.ts +0 -20
- package/dist/client/api/users/types.d.ts +0 -14
- package/dist/client/api/variables/api.d.ts +0 -12
- package/dist/client/api/variables/schemas.d.ts +0 -13
- package/dist/client/api/variables/types.d.ts +0 -10
- package/dist/client/core/create-authenticated-fetch.d.ts +0 -5
- package/dist/client/core/extensions/extract.d.ts +0 -8
- package/dist/client/core/extensions/fulfill.d.ts +0 -8
- package/dist/client/core/extensions/resolve-user-metadata.d.ts +0 -6
- package/dist/client/core/extensions/types.d.ts +0 -68
- package/dist/client/core/fulfillment-resolvers/build-llm-extension-fulfillment-resolver.d.ts +0 -8
- package/dist/client/core/handle-agent-card.d.ts +0 -128
- package/dist/client/core/handle-task-status-update.d.ts +0 -7
- package/dist/client/core/index.d.ts +0 -14
- package/dist/client/core/utils/build-message-builder.d.ts +0 -9
- package/dist/client/core/utils/get-agent-card-path.d.ts +0 -5
- package/dist/core.cjs.map +0 -1
- package/dist/core.js.map +0 -1
- package/dist/core.umd.js +0 -2
- package/dist/core.umd.js.map +0 -1
- package/dist/extensions.cjs.map +0 -1
- package/dist/extensions.js.map +0 -1
- package/dist/extensions.umd.js +0 -2
- package/dist/extensions.umd.js.map +0 -1
- package/dist/index.cjs.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/index.umd.js.map +0 -1
|
@@ -1,290 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2025 © BeeAI a Series of LF Projects, LLC
|
|
3
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
-
*/
|
|
5
|
-
import z from 'zod';
|
|
6
|
-
export declare const baseFieldSchema: z.ZodObject<{
|
|
7
|
-
id: z.ZodString;
|
|
8
|
-
label: z.ZodString;
|
|
9
|
-
required: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
10
|
-
col_span: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
11
|
-
}, z.core.$strip>;
|
|
12
|
-
export declare const textFieldSchema: z.ZodObject<{
|
|
13
|
-
id: z.ZodString;
|
|
14
|
-
label: z.ZodString;
|
|
15
|
-
required: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
16
|
-
col_span: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
17
|
-
type: z.ZodLiteral<"text">;
|
|
18
|
-
placeholder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
-
default_value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
-
auto_resize: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
21
|
-
}, z.core.$strip>;
|
|
22
|
-
export declare const dateFieldSchema: z.ZodObject<{
|
|
23
|
-
id: z.ZodString;
|
|
24
|
-
label: z.ZodString;
|
|
25
|
-
required: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
26
|
-
col_span: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
27
|
-
type: z.ZodLiteral<"date">;
|
|
28
|
-
placeholder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
-
default_value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
-
}, z.core.$strip>;
|
|
31
|
-
export declare const fileFieldSchema: z.ZodObject<{
|
|
32
|
-
id: z.ZodString;
|
|
33
|
-
label: z.ZodString;
|
|
34
|
-
required: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
35
|
-
col_span: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
36
|
-
type: z.ZodLiteral<"file">;
|
|
37
|
-
accept: z.ZodArray<z.ZodString>;
|
|
38
|
-
}, z.core.$strip>;
|
|
39
|
-
export declare const selectFieldOptionSchema: z.ZodObject<{
|
|
40
|
-
id: z.ZodString;
|
|
41
|
-
label: z.ZodString;
|
|
42
|
-
}, z.core.$strip>;
|
|
43
|
-
export declare const singleSelectFieldSchema: z.ZodObject<{
|
|
44
|
-
id: z.ZodString;
|
|
45
|
-
label: z.ZodString;
|
|
46
|
-
required: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
47
|
-
col_span: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
48
|
-
type: z.ZodLiteral<"singleselect">;
|
|
49
|
-
options: z.ZodArray<z.ZodObject<{
|
|
50
|
-
id: z.ZodString;
|
|
51
|
-
label: z.ZodString;
|
|
52
|
-
}, z.core.$strip>>;
|
|
53
|
-
default_value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
54
|
-
}, z.core.$strip>;
|
|
55
|
-
export declare const multiSelectFieldSchema: z.ZodObject<{
|
|
56
|
-
id: z.ZodString;
|
|
57
|
-
label: z.ZodString;
|
|
58
|
-
required: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
59
|
-
col_span: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
60
|
-
type: z.ZodLiteral<"multiselect">;
|
|
61
|
-
options: z.ZodArray<z.ZodObject<{
|
|
62
|
-
id: z.ZodString;
|
|
63
|
-
label: z.ZodString;
|
|
64
|
-
}, z.core.$strip>>;
|
|
65
|
-
default_value: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
66
|
-
}, z.core.$strip>;
|
|
67
|
-
export declare const checkboxFieldSchema: z.ZodObject<{
|
|
68
|
-
id: z.ZodString;
|
|
69
|
-
label: z.ZodString;
|
|
70
|
-
required: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
71
|
-
col_span: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
72
|
-
type: z.ZodLiteral<"checkbox">;
|
|
73
|
-
content: z.ZodString;
|
|
74
|
-
default_value: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
75
|
-
}, z.core.$strip>;
|
|
76
|
-
export declare const formFieldSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
77
|
-
id: z.ZodString;
|
|
78
|
-
label: z.ZodString;
|
|
79
|
-
required: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
80
|
-
col_span: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
81
|
-
type: z.ZodLiteral<"text">;
|
|
82
|
-
placeholder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
83
|
-
default_value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
84
|
-
auto_resize: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
85
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
86
|
-
id: z.ZodString;
|
|
87
|
-
label: z.ZodString;
|
|
88
|
-
required: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
89
|
-
col_span: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
90
|
-
type: z.ZodLiteral<"date">;
|
|
91
|
-
placeholder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
92
|
-
default_value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
93
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
94
|
-
id: z.ZodString;
|
|
95
|
-
label: z.ZodString;
|
|
96
|
-
required: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
97
|
-
col_span: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
98
|
-
type: z.ZodLiteral<"file">;
|
|
99
|
-
accept: z.ZodArray<z.ZodString>;
|
|
100
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
101
|
-
id: z.ZodString;
|
|
102
|
-
label: z.ZodString;
|
|
103
|
-
required: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
104
|
-
col_span: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
105
|
-
type: z.ZodLiteral<"singleselect">;
|
|
106
|
-
options: z.ZodArray<z.ZodObject<{
|
|
107
|
-
id: z.ZodString;
|
|
108
|
-
label: z.ZodString;
|
|
109
|
-
}, z.core.$strip>>;
|
|
110
|
-
default_value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
111
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
112
|
-
id: z.ZodString;
|
|
113
|
-
label: z.ZodString;
|
|
114
|
-
required: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
115
|
-
col_span: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
116
|
-
type: z.ZodLiteral<"multiselect">;
|
|
117
|
-
options: z.ZodArray<z.ZodObject<{
|
|
118
|
-
id: z.ZodString;
|
|
119
|
-
label: z.ZodString;
|
|
120
|
-
}, z.core.$strip>>;
|
|
121
|
-
default_value: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
122
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
123
|
-
id: z.ZodString;
|
|
124
|
-
label: z.ZodString;
|
|
125
|
-
required: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
126
|
-
col_span: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
127
|
-
type: z.ZodLiteral<"checkbox">;
|
|
128
|
-
content: z.ZodString;
|
|
129
|
-
default_value: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
130
|
-
}, z.core.$strip>], "type">;
|
|
131
|
-
export declare const textFieldValueSchema: z.ZodObject<{
|
|
132
|
-
type: z.ZodLiteral<"text">;
|
|
133
|
-
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
134
|
-
}, z.core.$strip>;
|
|
135
|
-
export declare const dateFieldValueSchema: z.ZodObject<{
|
|
136
|
-
type: z.ZodLiteral<"date">;
|
|
137
|
-
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
138
|
-
}, z.core.$strip>;
|
|
139
|
-
export declare const fileFieldValueSchema: z.ZodObject<{
|
|
140
|
-
type: z.ZodLiteral<"file">;
|
|
141
|
-
value: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
142
|
-
uri: z.ZodString;
|
|
143
|
-
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
144
|
-
mime_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
145
|
-
}, z.core.$strip>>>>;
|
|
146
|
-
}, z.core.$strip>;
|
|
147
|
-
export declare const singleSelectFieldValueSchema: z.ZodObject<{
|
|
148
|
-
type: z.ZodLiteral<"singleselect">;
|
|
149
|
-
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
150
|
-
}, z.core.$strip>;
|
|
151
|
-
export declare const multiSelectFieldValueSchema: z.ZodObject<{
|
|
152
|
-
type: z.ZodLiteral<"multiselect">;
|
|
153
|
-
value: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
154
|
-
}, z.core.$strip>;
|
|
155
|
-
export declare const checkboxFieldValueSchema: z.ZodObject<{
|
|
156
|
-
type: z.ZodLiteral<"checkbox">;
|
|
157
|
-
value: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
158
|
-
}, z.core.$strip>;
|
|
159
|
-
export declare const formFieldValueSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
160
|
-
type: z.ZodLiteral<"text">;
|
|
161
|
-
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
162
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
163
|
-
type: z.ZodLiteral<"date">;
|
|
164
|
-
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
165
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
166
|
-
type: z.ZodLiteral<"file">;
|
|
167
|
-
value: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
168
|
-
uri: z.ZodString;
|
|
169
|
-
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
170
|
-
mime_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
171
|
-
}, z.core.$strip>>>>;
|
|
172
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
173
|
-
type: z.ZodLiteral<"singleselect">;
|
|
174
|
-
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
175
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
176
|
-
type: z.ZodLiteral<"multiselect">;
|
|
177
|
-
value: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
178
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
179
|
-
type: z.ZodLiteral<"checkbox">;
|
|
180
|
-
value: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
181
|
-
}, z.core.$strip>], "type">;
|
|
182
|
-
export declare const formRenderSchema: z.ZodObject<{
|
|
183
|
-
fields: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
184
|
-
id: z.ZodString;
|
|
185
|
-
label: z.ZodString;
|
|
186
|
-
required: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
187
|
-
col_span: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
188
|
-
type: z.ZodLiteral<"text">;
|
|
189
|
-
placeholder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
190
|
-
default_value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
191
|
-
auto_resize: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
192
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
193
|
-
id: z.ZodString;
|
|
194
|
-
label: z.ZodString;
|
|
195
|
-
required: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
196
|
-
col_span: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
197
|
-
type: z.ZodLiteral<"date">;
|
|
198
|
-
placeholder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
199
|
-
default_value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
200
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
201
|
-
id: z.ZodString;
|
|
202
|
-
label: z.ZodString;
|
|
203
|
-
required: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
204
|
-
col_span: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
205
|
-
type: z.ZodLiteral<"file">;
|
|
206
|
-
accept: z.ZodArray<z.ZodString>;
|
|
207
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
208
|
-
id: z.ZodString;
|
|
209
|
-
label: z.ZodString;
|
|
210
|
-
required: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
211
|
-
col_span: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
212
|
-
type: z.ZodLiteral<"singleselect">;
|
|
213
|
-
options: z.ZodArray<z.ZodObject<{
|
|
214
|
-
id: z.ZodString;
|
|
215
|
-
label: z.ZodString;
|
|
216
|
-
}, z.core.$strip>>;
|
|
217
|
-
default_value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
218
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
219
|
-
id: z.ZodString;
|
|
220
|
-
label: z.ZodString;
|
|
221
|
-
required: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
222
|
-
col_span: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
223
|
-
type: z.ZodLiteral<"multiselect">;
|
|
224
|
-
options: z.ZodArray<z.ZodObject<{
|
|
225
|
-
id: z.ZodString;
|
|
226
|
-
label: z.ZodString;
|
|
227
|
-
}, z.core.$strip>>;
|
|
228
|
-
default_value: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
229
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
230
|
-
id: z.ZodString;
|
|
231
|
-
label: z.ZodString;
|
|
232
|
-
required: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
233
|
-
col_span: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
234
|
-
type: z.ZodLiteral<"checkbox">;
|
|
235
|
-
content: z.ZodString;
|
|
236
|
-
default_value: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
237
|
-
}, z.core.$strip>], "type">>;
|
|
238
|
-
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
239
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
240
|
-
columns: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
241
|
-
submit_label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
242
|
-
}, z.core.$strip>;
|
|
243
|
-
export declare const formValuesSchema: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
244
|
-
type: z.ZodLiteral<"text">;
|
|
245
|
-
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
246
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
247
|
-
type: z.ZodLiteral<"date">;
|
|
248
|
-
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
249
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
250
|
-
type: z.ZodLiteral<"file">;
|
|
251
|
-
value: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
252
|
-
uri: z.ZodString;
|
|
253
|
-
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
254
|
-
mime_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
255
|
-
}, z.core.$strip>>>>;
|
|
256
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
257
|
-
type: z.ZodLiteral<"singleselect">;
|
|
258
|
-
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
259
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
260
|
-
type: z.ZodLiteral<"multiselect">;
|
|
261
|
-
value: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
262
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
263
|
-
type: z.ZodLiteral<"checkbox">;
|
|
264
|
-
value: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
265
|
-
}, z.core.$strip>], "type">>;
|
|
266
|
-
export declare const formResponseSchema: z.ZodObject<{
|
|
267
|
-
values: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
268
|
-
type: z.ZodLiteral<"text">;
|
|
269
|
-
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
270
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
271
|
-
type: z.ZodLiteral<"date">;
|
|
272
|
-
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
273
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
274
|
-
type: z.ZodLiteral<"file">;
|
|
275
|
-
value: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
276
|
-
uri: z.ZodString;
|
|
277
|
-
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
278
|
-
mime_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
279
|
-
}, z.core.$strip>>>>;
|
|
280
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
281
|
-
type: z.ZodLiteral<"singleselect">;
|
|
282
|
-
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
283
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
284
|
-
type: z.ZodLiteral<"multiselect">;
|
|
285
|
-
value: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
286
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
287
|
-
type: z.ZodLiteral<"checkbox">;
|
|
288
|
-
value: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
289
|
-
}, z.core.$strip>], "type">>;
|
|
290
|
-
}, z.core.$strip>;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2025 © BeeAI a Series of LF Projects, LLC
|
|
3
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
-
*/
|
|
5
|
-
import type z from 'zod';
|
|
6
|
-
import type { checkboxFieldSchema, checkboxFieldValueSchema, dateFieldSchema, dateFieldValueSchema, fileFieldSchema, fileFieldValueSchema, formFieldSchema, formFieldValueSchema, formRenderSchema, formResponseSchema, formValuesSchema, multiSelectFieldSchema, multiSelectFieldValueSchema, selectFieldOptionSchema, singleSelectFieldSchema, singleSelectFieldValueSchema, textFieldSchema, textFieldValueSchema } from './schemas';
|
|
7
|
-
export type TextField = z.infer<typeof textFieldSchema>;
|
|
8
|
-
export type DateField = z.infer<typeof dateFieldSchema>;
|
|
9
|
-
export type FileField = z.infer<typeof fileFieldSchema>;
|
|
10
|
-
export type SelectFieldOption = z.infer<typeof selectFieldOptionSchema>;
|
|
11
|
-
export type SingleSelectField = z.infer<typeof singleSelectFieldSchema>;
|
|
12
|
-
export type MultiSelectField = z.infer<typeof multiSelectFieldSchema>;
|
|
13
|
-
export type CheckboxField = z.infer<typeof checkboxFieldSchema>;
|
|
14
|
-
export type FormField = z.infer<typeof formFieldSchema>;
|
|
15
|
-
export type TextFieldValue = z.infer<typeof textFieldValueSchema>;
|
|
16
|
-
export type DateFieldValue = z.infer<typeof dateFieldValueSchema>;
|
|
17
|
-
export type FileFieldValue = z.infer<typeof fileFieldValueSchema>;
|
|
18
|
-
export type SingleSelectFieldValue = z.infer<typeof singleSelectFieldValueSchema>;
|
|
19
|
-
export type MultiSelectFieldValue = z.infer<typeof multiSelectFieldValueSchema>;
|
|
20
|
-
export type CheckboxFieldValue = z.infer<typeof checkboxFieldValueSchema>;
|
|
21
|
-
export type FormFieldValue = z.infer<typeof formFieldValueSchema>;
|
|
22
|
-
export type FormRender = z.infer<typeof formRenderSchema>;
|
|
23
|
-
export type FormValues = z.infer<typeof formValuesSchema>;
|
|
24
|
-
export type FormResponse = z.infer<typeof formResponseSchema>;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2025 © BeeAI a Series of LF Projects, LLC
|
|
3
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
-
*/
|
|
5
|
-
export * from './auth/oauth';
|
|
6
|
-
export * from './auth/secrets';
|
|
7
|
-
export * from './interactions/approval';
|
|
8
|
-
export * from './schemas';
|
|
9
|
-
export * from './services/embedding';
|
|
10
|
-
export * from './services/form';
|
|
11
|
-
export * from './services/llm';
|
|
12
|
-
export * from './services/mcp';
|
|
13
|
-
export * from './services/platform-api';
|
|
14
|
-
export * from './types';
|
|
15
|
-
export * from './ui/agent-detail';
|
|
16
|
-
export * from './ui/canvas';
|
|
17
|
-
export * from './ui/citation';
|
|
18
|
-
export * from './ui/error';
|
|
19
|
-
export * from './ui/form-request';
|
|
20
|
-
export * from './ui/settings';
|
|
21
|
-
export * from './ui/trajectory';
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2025 © BeeAI a Series of LF Projects, LLC
|
|
3
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
-
*/
|
|
5
|
-
import type { A2AUiExtension } from '../../../../core/extensions/types';
|
|
6
|
-
import type { ApprovalRequest, ApprovalResponse } from './types';
|
|
7
|
-
declare const URI = "https://a2a-extensions.agentstack.beeai.dev/interactions/approval/v1";
|
|
8
|
-
export declare const approvalExtension: A2AUiExtension<typeof URI, ApprovalRequest>;
|
|
9
|
-
export declare const approvalResponseExtension: A2AUiExtension<typeof URI, ApprovalResponse>;
|
|
10
|
-
export {};
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2025 © BeeAI a Series of LF Projects, LLC
|
|
3
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
-
*/
|
|
5
|
-
import z from 'zod';
|
|
6
|
-
import { ApprovalDecision } from './types';
|
|
7
|
-
export declare const genericApprovalRequestSchema: z.ZodObject<{
|
|
8
|
-
action: z.ZodLiteral<"generic">;
|
|
9
|
-
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
-
}, z.core.$strip>;
|
|
12
|
-
export declare const toolCallApprovalRequestSchema: z.ZodObject<{
|
|
13
|
-
action: z.ZodLiteral<"tool-call">;
|
|
14
|
-
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
-
name: z.ZodString;
|
|
17
|
-
input: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
|
|
18
|
-
server: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
19
|
-
name: z.ZodString;
|
|
20
|
-
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
-
version: z.ZodString;
|
|
22
|
-
}, z.core.$strip>>>;
|
|
23
|
-
}, z.core.$strip>;
|
|
24
|
-
export declare const approvalRequestSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
25
|
-
action: z.ZodLiteral<"generic">;
|
|
26
|
-
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
-
action: z.ZodLiteral<"tool-call">;
|
|
30
|
-
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
-
name: z.ZodString;
|
|
33
|
-
input: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
|
|
34
|
-
server: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
35
|
-
name: z.ZodString;
|
|
36
|
-
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
|
-
version: z.ZodString;
|
|
38
|
-
}, z.core.$strip>>>;
|
|
39
|
-
}, z.core.$strip>], "action">;
|
|
40
|
-
export declare const approvalDecisionSchema: z.ZodEnum<typeof ApprovalDecision>;
|
|
41
|
-
export declare const approvalResponseSchema: z.ZodObject<{
|
|
42
|
-
decision: z.ZodEnum<typeof ApprovalDecision>;
|
|
43
|
-
}, z.core.$strip>;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2025 © BeeAI a Series of LF Projects, LLC
|
|
3
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
-
*/
|
|
5
|
-
import type z from 'zod';
|
|
6
|
-
import type { approvalRequestSchema, approvalResponseSchema, genericApprovalRequestSchema, toolCallApprovalRequestSchema } from './schemas';
|
|
7
|
-
export type GenericApprovalRequest = z.infer<typeof genericApprovalRequestSchema>;
|
|
8
|
-
export type ToolCallApprovalRequest = z.infer<typeof toolCallApprovalRequestSchema>;
|
|
9
|
-
export type ApprovalRequest = z.infer<typeof approvalRequestSchema>;
|
|
10
|
-
export type ApprovalResponse = z.infer<typeof approvalResponseSchema>;
|
|
11
|
-
export declare enum ApprovalDecision {
|
|
12
|
-
Approve = "approve",
|
|
13
|
-
Reject = "reject"
|
|
14
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2025 © BeeAI a Series of LF Projects, LLC
|
|
3
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
-
*/
|
|
5
|
-
export * from './auth/oauth/schemas';
|
|
6
|
-
export * from './auth/secrets/schemas';
|
|
7
|
-
export * from './common/form/schemas';
|
|
8
|
-
export * from './interactions/approval/schemas';
|
|
9
|
-
export * from './services/embedding/schemas';
|
|
10
|
-
export * from './services/form/schemas';
|
|
11
|
-
export * from './services/llm/schemas';
|
|
12
|
-
export * from './services/mcp/schemas';
|
|
13
|
-
export * from './services/platform-api/schemas';
|
|
14
|
-
export * from './ui/agent-detail/schemas';
|
|
15
|
-
export * from './ui/canvas/schemas';
|
|
16
|
-
export * from './ui/citation/schemas';
|
|
17
|
-
export * from './ui/error/schemas';
|
|
18
|
-
export * from './ui/settings/schemas';
|
|
19
|
-
export * from './ui/trajectory/schemas';
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2025 © BeeAI a Series of LF Projects, LLC
|
|
3
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
-
*/
|
|
5
|
-
import type { A2AServiceExtension } from '../../../../core/extensions/types';
|
|
6
|
-
import type { EmbeddingDemands, EmbeddingFulfillments } from './types';
|
|
7
|
-
declare const URI = "https://a2a-extensions.agentstack.beeai.dev/services/embedding/v1";
|
|
8
|
-
export declare const embeddingExtension: A2AServiceExtension<typeof URI, EmbeddingDemands, EmbeddingFulfillments>;
|
|
9
|
-
export {};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2025 © BeeAI a Series of LF Projects, LLC
|
|
3
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
-
*/
|
|
5
|
-
import z from 'zod';
|
|
6
|
-
export declare const embeddingDemandSchema: z.ZodObject<{
|
|
7
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8
|
-
suggested: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
9
|
-
}, z.core.$strip>;
|
|
10
|
-
export declare const embeddingDemandsSchema: z.ZodObject<{
|
|
11
|
-
embedding_demands: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
12
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
-
suggested: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
14
|
-
}, z.core.$strip>>;
|
|
15
|
-
}, z.core.$strip>;
|
|
16
|
-
export declare const embeddingFulfillmentSchema: z.ZodObject<{
|
|
17
|
-
identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
-
api_base: z.ZodString;
|
|
19
|
-
api_key: z.ZodString;
|
|
20
|
-
api_model: z.ZodString;
|
|
21
|
-
}, z.core.$strip>;
|
|
22
|
-
export declare const embeddingFulfillmentsSchema: z.ZodObject<{
|
|
23
|
-
embedding_fulfillments: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
24
|
-
identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
-
api_base: z.ZodString;
|
|
26
|
-
api_key: z.ZodString;
|
|
27
|
-
api_model: z.ZodString;
|
|
28
|
-
}, z.core.$strip>>;
|
|
29
|
-
}, z.core.$strip>;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2025 © BeeAI a Series of LF Projects, LLC
|
|
3
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
-
*/
|
|
5
|
-
import type z from 'zod';
|
|
6
|
-
import type { embeddingDemandSchema, embeddingDemandsSchema, embeddingFulfillmentSchema, embeddingFulfillmentsSchema } from './schemas';
|
|
7
|
-
export type EmbeddingDemand = z.infer<typeof embeddingDemandSchema>;
|
|
8
|
-
export type EmbeddingDemands = z.infer<typeof embeddingDemandsSchema>;
|
|
9
|
-
export type EmbeddingFulfillment = z.infer<typeof embeddingFulfillmentSchema>;
|
|
10
|
-
export type EmbeddingFulfillments = z.infer<typeof embeddingFulfillmentsSchema>;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2025 © BeeAI a Series of LF Projects, LLC
|
|
3
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
-
*/
|
|
5
|
-
import type { A2AServiceExtension } from '../../../../core/extensions/types';
|
|
6
|
-
import type { FormDemands, FormFulfillments } from './types';
|
|
7
|
-
declare const URI = "https://a2a-extensions.agentstack.beeai.dev/services/form/v1";
|
|
8
|
-
export declare const formExtension: A2AServiceExtension<typeof URI, FormDemands, FormFulfillments>;
|
|
9
|
-
export {};
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2025 © BeeAI a Series of LF Projects, LLC
|
|
3
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
-
*/
|
|
5
|
-
import z from 'zod';
|
|
6
|
-
export declare const formDemandsSchema: z.ZodObject<{
|
|
7
|
-
form_demands: z.ZodObject<{
|
|
8
|
-
initial_form: z.ZodOptional<z.ZodObject<{
|
|
9
|
-
fields: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
10
|
-
id: z.ZodString;
|
|
11
|
-
label: z.ZodString;
|
|
12
|
-
required: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
13
|
-
col_span: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
14
|
-
type: z.ZodLiteral<"text">;
|
|
15
|
-
placeholder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
-
default_value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
-
auto_resize: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
18
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19
|
-
id: z.ZodString;
|
|
20
|
-
label: z.ZodString;
|
|
21
|
-
required: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
22
|
-
col_span: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
23
|
-
type: z.ZodLiteral<"date">;
|
|
24
|
-
placeholder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
-
default_value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
27
|
-
id: z.ZodString;
|
|
28
|
-
label: z.ZodString;
|
|
29
|
-
required: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
30
|
-
col_span: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
31
|
-
type: z.ZodLiteral<"file">;
|
|
32
|
-
accept: z.ZodArray<z.ZodString>;
|
|
33
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
34
|
-
id: z.ZodString;
|
|
35
|
-
label: z.ZodString;
|
|
36
|
-
required: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
37
|
-
col_span: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
38
|
-
type: z.ZodLiteral<"singleselect">;
|
|
39
|
-
options: z.ZodArray<z.ZodObject<{
|
|
40
|
-
id: z.ZodString;
|
|
41
|
-
label: z.ZodString;
|
|
42
|
-
}, z.core.$strip>>;
|
|
43
|
-
default_value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
45
|
-
id: z.ZodString;
|
|
46
|
-
label: z.ZodString;
|
|
47
|
-
required: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
48
|
-
col_span: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
49
|
-
type: z.ZodLiteral<"multiselect">;
|
|
50
|
-
options: z.ZodArray<z.ZodObject<{
|
|
51
|
-
id: z.ZodString;
|
|
52
|
-
label: z.ZodString;
|
|
53
|
-
}, z.core.$strip>>;
|
|
54
|
-
default_value: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
55
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
56
|
-
id: z.ZodString;
|
|
57
|
-
label: z.ZodString;
|
|
58
|
-
required: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
59
|
-
col_span: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
60
|
-
type: z.ZodLiteral<"checkbox">;
|
|
61
|
-
content: z.ZodString;
|
|
62
|
-
default_value: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
63
|
-
}, z.core.$strip>], "type">>;
|
|
64
|
-
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
65
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
66
|
-
columns: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
67
|
-
submit_label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
68
|
-
}, z.core.$strip>>;
|
|
69
|
-
}, z.core.$strip>;
|
|
70
|
-
}, z.core.$strip>;
|
|
71
|
-
export declare const formFulfillmentsSchema: z.ZodObject<{
|
|
72
|
-
form_fulfillments: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
73
|
-
values: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
74
|
-
type: z.ZodLiteral<"text">;
|
|
75
|
-
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
76
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
77
|
-
type: z.ZodLiteral<"date">;
|
|
78
|
-
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
79
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
80
|
-
type: z.ZodLiteral<"file">;
|
|
81
|
-
value: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
82
|
-
uri: z.ZodString;
|
|
83
|
-
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
84
|
-
mime_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
85
|
-
}, z.core.$strip>>>>;
|
|
86
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
87
|
-
type: z.ZodLiteral<"singleselect">;
|
|
88
|
-
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
89
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
90
|
-
type: z.ZodLiteral<"multiselect">;
|
|
91
|
-
value: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
92
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
93
|
-
type: z.ZodLiteral<"checkbox">;
|
|
94
|
-
value: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
95
|
-
}, z.core.$strip>], "type">>;
|
|
96
|
-
}, z.core.$strip>>;
|
|
97
|
-
}, z.core.$strip>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2025 © BeeAI a Series of LF Projects, LLC
|
|
3
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
-
*/
|
|
5
|
-
import type z from 'zod';
|
|
6
|
-
import type { formDemandsSchema, formFulfillmentsSchema } from './schemas';
|
|
7
|
-
export type FormDemands = z.infer<typeof formDemandsSchema>;
|
|
8
|
-
export type FormFulfillments = z.infer<typeof formFulfillmentsSchema>;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2025 © BeeAI a Series of LF Projects, LLC
|
|
3
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
-
*/
|
|
5
|
-
import type { A2AServiceExtension } from '../../../../core/extensions/types';
|
|
6
|
-
import type { LLMDemands, LLMFulfillments } from './types';
|
|
7
|
-
declare const URI = "https://a2a-extensions.agentstack.beeai.dev/services/llm/v1";
|
|
8
|
-
export declare const llmExtension: A2AServiceExtension<typeof URI, LLMDemands, LLMFulfillments>;
|
|
9
|
-
export {};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2025 © BeeAI a Series of LF Projects, LLC
|
|
3
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
-
*/
|
|
5
|
-
import z from 'zod';
|
|
6
|
-
export declare const llmDemandSchema: z.ZodObject<{
|
|
7
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8
|
-
suggested: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
9
|
-
}, z.core.$strip>;
|
|
10
|
-
export declare const llmDemandsSchema: z.ZodObject<{
|
|
11
|
-
llm_demands: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
12
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
-
suggested: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
14
|
-
}, z.core.$strip>>;
|
|
15
|
-
}, z.core.$strip>;
|
|
16
|
-
export declare const llmFulfillmentSchema: z.ZodObject<{
|
|
17
|
-
identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
-
api_base: z.ZodString;
|
|
19
|
-
api_key: z.ZodString;
|
|
20
|
-
api_model: z.ZodString;
|
|
21
|
-
}, z.core.$strip>;
|
|
22
|
-
export declare const llmFulfillmentsSchema: z.ZodObject<{
|
|
23
|
-
llm_fulfillments: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
24
|
-
identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
-
api_base: z.ZodString;
|
|
26
|
-
api_key: z.ZodString;
|
|
27
|
-
api_model: z.ZodString;
|
|
28
|
-
}, z.core.$strip>>;
|
|
29
|
-
}, z.core.$strip>;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2025 © BeeAI a Series of LF Projects, LLC
|
|
3
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
-
*/
|
|
5
|
-
import type z from 'zod';
|
|
6
|
-
import type { llmDemandSchema, llmDemandsSchema, llmFulfillmentSchema, llmFulfillmentsSchema } from './schemas';
|
|
7
|
-
export type LLMDemand = z.infer<typeof llmDemandSchema>;
|
|
8
|
-
export type LLMDemands = z.infer<typeof llmDemandsSchema>;
|
|
9
|
-
export type LLMFulfillment = z.infer<typeof llmFulfillmentSchema>;
|
|
10
|
-
export type LLMFulfillments = z.infer<typeof llmFulfillmentsSchema>;
|