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.
Files changed (199) hide show
  1. package/README.md +36 -29
  2. package/dist/api.cjs +1994 -2
  3. package/dist/api.d.cts +29 -0
  4. package/dist/api.d.ts +25 -1
  5. package/dist/api.js +1801 -2
  6. package/dist/core-DcGxYeok.d.ts +1238 -0
  7. package/dist/core-XN6gWSAb.d.cts +1238 -0
  8. package/dist/core.cjs +1773 -2
  9. package/dist/core.d.cts +7 -0
  10. package/dist/core.d.ts +7 -5
  11. package/dist/core.js +1725 -2
  12. package/dist/extensions.cjs +798 -2
  13. package/dist/extensions.d.cts +244 -0
  14. package/dist/extensions.d.ts +240 -1
  15. package/dist/extensions.js +652 -2
  16. package/dist/index.cjs +3142 -2
  17. package/dist/index.d.cts +10 -0
  18. package/dist/index.d.ts +10 -7
  19. package/dist/index.js +2781 -2
  20. package/dist/index.umd.js +16509 -2
  21. package/dist/schemas-Dy3P_eAt.d.cts +57 -0
  22. package/dist/schemas-Dy3P_eAt.d.ts +57 -0
  23. package/dist/server.cjs +2762 -0
  24. package/dist/server.d.cts +244 -0
  25. package/dist/server.d.ts +244 -0
  26. package/dist/server.js +2716 -0
  27. package/dist/types-B5B3b0V2.d.cts +396 -0
  28. package/dist/types-B5B3b0V2.d.ts +396 -0
  29. package/dist/types-CmEs5_Ag.d.cts +3522 -0
  30. package/dist/types-DJm5-rZZ.d.ts +3522 -0
  31. package/dist/types-DvLt-XuC.d.ts +866 -0
  32. package/dist/types-E26YDM19.d.cts +866 -0
  33. package/dist/types-MfIzGgpV.d.cts +43 -0
  34. package/dist/types-MfIzGgpV.d.ts +43 -0
  35. package/package.json +36 -21
  36. package/src/client/a2a/extensions/auth/oauth/index.ts +6 -6
  37. package/src/client/a2a/extensions/auth/secrets/index.ts +6 -6
  38. package/src/client/a2a/extensions/interactions/approval/index.ts +7 -7
  39. package/src/client/a2a/extensions/services/embedding/index.ts +7 -3
  40. package/src/client/a2a/extensions/services/form/index.ts +3 -3
  41. package/src/client/a2a/extensions/services/llm/index.ts +3 -3
  42. package/src/client/a2a/extensions/services/mcp/index.ts +3 -3
  43. package/src/client/a2a/extensions/services/platform-api/index.ts +2 -2
  44. package/src/client/a2a/extensions/ui/agent-detail/index.ts +4 -4
  45. package/src/client/a2a/extensions/ui/canvas/index.ts +4 -4
  46. package/src/client/a2a/extensions/ui/citation/index.ts +4 -4
  47. package/src/client/a2a/extensions/ui/error/index.ts +4 -4
  48. package/src/client/a2a/extensions/ui/form-request/index.ts +4 -4
  49. package/src/client/a2a/extensions/ui/settings/index.ts +7 -3
  50. package/src/client/a2a/extensions/ui/trajectory/index.ts +4 -4
  51. package/src/client/core/extensions/types.ts +8 -1
  52. package/src/client/core/handle-task-status-update.ts +10 -3
  53. package/src/client/core/index.ts +1 -0
  54. package/src/client/core/utils/extract-text-from-message.ts +15 -0
  55. package/src/examples/hello-world.ts +34 -0
  56. package/src/experimental/server/a2a/extensions/agent-detail/index.ts +35 -0
  57. package/src/experimental/server/a2a/extensions/agent-detail/types.ts +10 -0
  58. package/src/experimental/server/a2a/extensions/index.ts +11 -0
  59. package/src/experimental/server/a2a/extensions/llm/index.ts +70 -0
  60. package/src/experimental/server/a2a/extensions/llm/types.ts +16 -0
  61. package/src/experimental/server/a2a/extensions/platform-self-registration/index.ts +34 -0
  62. package/src/experimental/server/a2a/extensions/platform-self-registration/types.ts +10 -0
  63. package/src/experimental/server/a2a/helpers.ts +95 -0
  64. package/{dist/client/a2a/index.d.ts → src/experimental/server/a2a/index.ts} +1 -1
  65. package/src/experimental/server/a2a/utils.ts +43 -0
  66. package/src/experimental/server/core/config/index.ts +17 -0
  67. package/src/experimental/server/core/config/schemas.ts +15 -0
  68. package/src/experimental/server/core/config/types.ts +10 -0
  69. package/src/experimental/server/core/context/index.ts +18 -0
  70. package/src/experimental/server/core/extensions/types.ts +24 -0
  71. package/{dist/client/a2a/protocol/index.d.ts → src/experimental/server/core/index.ts} +4 -0
  72. package/{dist/client/a2a/protocol/tests.d.ts → src/experimental/server/core/schemas.ts} +2 -1
  73. package/src/experimental/server/core/server/autoregistration.ts +142 -0
  74. package/src/experimental/server/core/server/executor.ts +284 -0
  75. package/src/experimental/server/core/server/helpers.ts +12 -0
  76. package/src/experimental/server/core/server/index.ts +166 -0
  77. package/src/experimental/server/core/server/types.ts +58 -0
  78. package/src/experimental/server/core/types.ts +8 -0
  79. package/src/experimental/server/core/utils.ts +59 -0
  80. package/{dist/client/api/core/errors/index.d.ts → src/server.ts} +3 -2
  81. package/dist/api.cjs.map +0 -1
  82. package/dist/api.js.map +0 -1
  83. package/dist/api.umd.js +0 -2
  84. package/dist/api.umd.js.map +0 -1
  85. package/dist/client/a2a/extensions/auth/oauth/index.d.ts +0 -10
  86. package/dist/client/a2a/extensions/auth/oauth/schemas.d.ts +0 -32
  87. package/dist/client/a2a/extensions/auth/oauth/types.d.ts +0 -13
  88. package/dist/client/a2a/extensions/auth/secrets/index.d.ts +0 -10
  89. package/dist/client/a2a/extensions/auth/secrets/schemas.d.ts +0 -23
  90. package/dist/client/a2a/extensions/auth/secrets/types.d.ts +0 -10
  91. package/dist/client/a2a/extensions/common/form/schemas.d.ts +0 -290
  92. package/dist/client/a2a/extensions/common/form/types.d.ts +0 -24
  93. package/dist/client/a2a/extensions/index.d.ts +0 -21
  94. package/dist/client/a2a/extensions/interactions/approval/index.d.ts +0 -10
  95. package/dist/client/a2a/extensions/interactions/approval/schemas.d.ts +0 -43
  96. package/dist/client/a2a/extensions/interactions/approval/types.d.ts +0 -14
  97. package/dist/client/a2a/extensions/schemas.d.ts +0 -19
  98. package/dist/client/a2a/extensions/services/embedding/index.d.ts +0 -9
  99. package/dist/client/a2a/extensions/services/embedding/schemas.d.ts +0 -29
  100. package/dist/client/a2a/extensions/services/embedding/types.d.ts +0 -10
  101. package/dist/client/a2a/extensions/services/form/index.d.ts +0 -9
  102. package/dist/client/a2a/extensions/services/form/schemas.d.ts +0 -97
  103. package/dist/client/a2a/extensions/services/form/types.d.ts +0 -8
  104. package/dist/client/a2a/extensions/services/llm/index.d.ts +0 -9
  105. package/dist/client/a2a/extensions/services/llm/schemas.d.ts +0 -29
  106. package/dist/client/a2a/extensions/services/llm/types.d.ts +0 -10
  107. package/dist/client/a2a/extensions/services/mcp/index.d.ts +0 -9
  108. package/dist/client/a2a/extensions/services/mcp/schemas.d.ts +0 -35
  109. package/dist/client/a2a/extensions/services/mcp/types.d.ts +0 -14
  110. package/dist/client/a2a/extensions/services/platform-api/index.d.ts +0 -11
  111. package/dist/client/a2a/extensions/services/platform-api/schemas.d.ts +0 -10
  112. package/dist/client/a2a/extensions/services/platform-api/types.d.ts +0 -7
  113. package/dist/client/a2a/extensions/types.d.ts +0 -19
  114. package/dist/client/a2a/extensions/ui/agent-detail/index.d.ts +0 -9
  115. package/dist/client/a2a/extensions/ui/agent-detail/schemas.d.ts +0 -41
  116. package/dist/client/a2a/extensions/ui/agent-detail/types.d.ts +0 -13
  117. package/dist/client/a2a/extensions/ui/canvas/index.d.ts +0 -9
  118. package/dist/client/a2a/extensions/ui/canvas/schemas.d.ts +0 -11
  119. package/dist/client/a2a/extensions/ui/canvas/types.d.ts +0 -7
  120. package/dist/client/a2a/extensions/ui/citation/index.d.ts +0 -9
  121. package/dist/client/a2a/extensions/ui/citation/schemas.d.ts +0 -21
  122. package/dist/client/a2a/extensions/ui/citation/types.d.ts +0 -8
  123. package/dist/client/a2a/extensions/ui/error/index.d.ts +0 -9
  124. package/dist/client/a2a/extensions/ui/error/schemas.d.ts +0 -30
  125. package/dist/client/a2a/extensions/ui/error/types.d.ts +0 -9
  126. package/dist/client/a2a/extensions/ui/form-request/index.d.ts +0 -9
  127. package/dist/client/a2a/extensions/ui/settings/index.d.ts +0 -9
  128. package/dist/client/a2a/extensions/ui/settings/schemas.d.ts +0 -113
  129. package/dist/client/a2a/extensions/ui/settings/types.d.ts +0 -18
  130. package/dist/client/a2a/extensions/ui/trajectory/index.d.ts +0 -9
  131. package/dist/client/a2a/extensions/ui/trajectory/schemas.d.ts +0 -10
  132. package/dist/client/a2a/extensions/ui/trajectory/types.d.ts +0 -7
  133. package/dist/client/a2a/protocol/schemas.d.ts +0 -988
  134. package/dist/client/a2a/protocol/types.d.ts +0 -52
  135. package/dist/client/a2a/protocol/utils.d.ts +0 -6
  136. package/dist/client/api/common/schemas.d.ts +0 -30
  137. package/dist/client/api/common/types.d.ts +0 -18
  138. package/dist/client/api/configuration/api.d.ts +0 -22
  139. package/dist/client/api/configuration/schemas.d.ts +0 -31
  140. package/dist/client/api/configuration/types.d.ts +0 -11
  141. package/dist/client/api/connectors/api.d.ts +0 -78
  142. package/dist/client/api/connectors/schemas.d.ts +0 -114
  143. package/dist/client/api/connectors/types.d.ts +0 -28
  144. package/dist/client/api/contexts/api.d.ts +0 -133
  145. package/dist/client/api/contexts/schemas.d.ts +0 -359
  146. package/dist/client/api/contexts/types.d.ts +0 -34
  147. package/dist/client/api/core/client.d.ts +0 -1273
  148. package/dist/client/api/core/errors/types.d.ts +0 -36
  149. package/dist/client/api/core/errors/utils.d.ts +0 -23
  150. package/dist/client/api/core/index.d.ts +0 -7
  151. package/dist/client/api/core/schemas.d.ts +0 -17
  152. package/dist/client/api/core/types.d.ts +0 -45
  153. package/dist/client/api/core/utils.d.ts +0 -23
  154. package/dist/client/api/files/api.d.ts +0 -32
  155. package/dist/client/api/files/schemas.d.ts +0 -61
  156. package/dist/client/api/files/types.d.ts +0 -19
  157. package/dist/client/api/index.d.ts +0 -7
  158. package/dist/client/api/model-providers/api.d.ts +0 -50
  159. package/dist/client/api/model-providers/schemas.d.ts +0 -80
  160. package/dist/client/api/model-providers/types.d.ts +0 -44
  161. package/dist/client/api/provider-builds/api.d.ts +0 -143
  162. package/dist/client/api/provider-builds/schemas.d.ts +0 -250
  163. package/dist/client/api/provider-builds/types.d.ts +0 -31
  164. package/dist/client/api/providers/api.d.ts +0 -847
  165. package/dist/client/api/providers/schemas.d.ts +0 -1335
  166. package/dist/client/api/providers/types.d.ts +0 -45
  167. package/dist/client/api/schemas.d.ts +0 -15
  168. package/dist/client/api/types.d.ts +0 -15
  169. package/dist/client/api/user-feedback/api.d.ts +0 -9
  170. package/dist/client/api/user-feedback/schemas.d.ts +0 -15
  171. package/dist/client/api/user-feedback/types.d.ts +0 -8
  172. package/dist/client/api/users/api.d.ts +0 -13
  173. package/dist/client/api/users/schemas.d.ts +0 -20
  174. package/dist/client/api/users/types.d.ts +0 -14
  175. package/dist/client/api/variables/api.d.ts +0 -12
  176. package/dist/client/api/variables/schemas.d.ts +0 -13
  177. package/dist/client/api/variables/types.d.ts +0 -10
  178. package/dist/client/core/create-authenticated-fetch.d.ts +0 -5
  179. package/dist/client/core/extensions/extract.d.ts +0 -8
  180. package/dist/client/core/extensions/fulfill.d.ts +0 -8
  181. package/dist/client/core/extensions/resolve-user-metadata.d.ts +0 -6
  182. package/dist/client/core/extensions/types.d.ts +0 -68
  183. package/dist/client/core/fulfillment-resolvers/build-llm-extension-fulfillment-resolver.d.ts +0 -8
  184. package/dist/client/core/handle-agent-card.d.ts +0 -128
  185. package/dist/client/core/handle-task-status-update.d.ts +0 -7
  186. package/dist/client/core/index.d.ts +0 -14
  187. package/dist/client/core/utils/build-message-builder.d.ts +0 -9
  188. package/dist/client/core/utils/get-agent-card-path.d.ts +0 -5
  189. package/dist/core.cjs.map +0 -1
  190. package/dist/core.js.map +0 -1
  191. package/dist/core.umd.js +0 -2
  192. package/dist/core.umd.js.map +0 -1
  193. package/dist/extensions.cjs.map +0 -1
  194. package/dist/extensions.js.map +0 -1
  195. package/dist/extensions.umd.js +0 -2
  196. package/dist/extensions.umd.js.map +0 -1
  197. package/dist/index.cjs.map +0 -1
  198. package/dist/index.js.map +0 -1
  199. package/dist/index.umd.js.map +0 -1
@@ -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 { MCPDemands, MCPFulfillments } from './types';
7
- declare const URI = "https://a2a-extensions.agentstack.beeai.dev/services/mcp/v1";
8
- export declare const mcpExtension: A2AServiceExtension<typeof URI, MCPDemands, MCPFulfillments>;
9
- export {};
@@ -1,35 +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 { MCPTransportType } from './types';
7
- export declare const mcpTransportTypeSchema: z.ZodEnum<typeof MCPTransportType>;
8
- export declare const mcpDemandSchema: z.ZodObject<{
9
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
- suggested: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
11
- allowed_transports: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<typeof MCPTransportType>>>>;
12
- }, z.core.$strip>;
13
- export declare const mcpDemandsSchema: z.ZodObject<{
14
- mcp_demands: z.ZodRecord<z.ZodString, z.ZodObject<{
15
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
- suggested: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
17
- allowed_transports: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<typeof MCPTransportType>>>>;
18
- }, z.core.$strip>>;
19
- }, z.core.$strip>;
20
- export declare const mcpFulfillmentSchema: z.ZodObject<{
21
- transport: z.ZodObject<{
22
- type: z.ZodEnum<typeof MCPTransportType>;
23
- url: z.ZodString;
24
- headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
25
- }, z.core.$strip>;
26
- }, z.core.$strip>;
27
- export declare const mcpFulfillmentsSchema: z.ZodObject<{
28
- mcp_fulfillments: z.ZodRecord<z.ZodString, z.ZodObject<{
29
- transport: z.ZodObject<{
30
- type: z.ZodEnum<typeof MCPTransportType>;
31
- url: z.ZodString;
32
- headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
33
- }, z.core.$strip>;
34
- }, z.core.$strip>>;
35
- }, 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 { mcpDemandSchema, mcpDemandsSchema, mcpFulfillmentSchema, mcpFulfillmentsSchema } from './schemas';
7
- export declare enum MCPTransportType {
8
- StreamableHttp = "streamable_http",
9
- Stdio = "stdio"
10
- }
11
- export type MCPDemand = z.infer<typeof mcpDemandSchema>;
12
- export type MCPDemands = z.infer<typeof mcpDemandsSchema>;
13
- export type MCPFulfillment = z.infer<typeof mcpFulfillmentSchema>;
14
- export type MCPFulfillments = z.infer<typeof mcpFulfillmentsSchema>;
@@ -1,11 +0,0 @@
1
- /**
2
- * Copyright 2025 © BeeAI a Series of LF Projects, LLC
3
- * SPDX-License-Identifier: Apache-2.0
4
- */
5
- import type { ContextToken } from '../../../../api/contexts/types';
6
- export declare const platformApiExtension: (metadata: Record<string, unknown>, contextToken: ContextToken) => {
7
- "https://a2a-extensions.agentstack.beeai.dev/services/platform_api/v1": {
8
- auth_token: string;
9
- expires_at: string | null;
10
- };
11
- };
@@ -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 z from 'zod';
6
- export declare const platformApiMetadataSchema: z.ZodObject<{
7
- base_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8
- auth_token: z.ZodString;
9
- expires_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
- }, z.core.$strip>;
@@ -1,7 +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 { platformApiMetadataSchema } from './schemas';
7
- export type PlatformApiMetadata = z.infer<typeof platformApiMetadataSchema>;
@@ -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/types';
6
- export * from './auth/secrets/types';
7
- export * from './common/form/types';
8
- export * from './interactions/approval/types';
9
- export * from './services/embedding/types';
10
- export * from './services/form/types';
11
- export * from './services/llm/types';
12
- export * from './services/mcp/types';
13
- export * from './services/platform-api/types';
14
- export * from './ui/agent-detail/types';
15
- export * from './ui/canvas/types';
16
- export * from './ui/citation/types';
17
- export * from './ui/error/types';
18
- export * from './ui/settings/types';
19
- export * from './ui/trajectory/types';
@@ -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 { A2AUiExtension } from '../../../../core/extensions/types';
6
- import type { AgentDetail } from './types';
7
- declare const URI = "https://a2a-extensions.agentstack.beeai.dev/ui/agent-detail/v1";
8
- export declare const agentDetailExtension: A2AUiExtension<typeof URI, AgentDetail>;
9
- export {};
@@ -1,41 +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 { InteractionMode } from './types';
7
- export declare const interactionModeSchema: z.ZodEnum<typeof InteractionMode>;
8
- export declare const agentDetailToolSchema: z.ZodObject<{
9
- name: z.ZodString;
10
- description: z.ZodString;
11
- }, z.core.$strip>;
12
- export declare const agentDetailContributorSchema: z.ZodObject<{
13
- name: z.ZodString;
14
- email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
- url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
- }, z.core.$strip>;
17
- export declare const agentDetailSchema: z.ZodObject<{
18
- interaction_mode: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<typeof InteractionMode>, z.ZodString]>>>;
19
- user_greeting: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
- input_placeholder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
- tools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
22
- name: z.ZodString;
23
- description: z.ZodString;
24
- }, z.core.$strip>>>>;
25
- framework: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
- license: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
- programming_language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
- homepage_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
- source_code_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
- container_image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
- author: z.ZodOptional<z.ZodNullable<z.ZodObject<{
32
- name: z.ZodString;
33
- email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
- url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
- }, z.core.$strip>>>;
36
- contributors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
37
- name: z.ZodString;
38
- email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
- url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
- }, z.core.$strip>>>>;
41
- }, z.core.$strip>;
@@ -1,13 +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 { agentDetailContributorSchema, agentDetailSchema, agentDetailToolSchema } from './schemas';
7
- export declare enum InteractionMode {
8
- SingleTurn = "single-turn",
9
- MultiTurn = "multi-turn"
10
- }
11
- export type AgentDetailTool = z.infer<typeof agentDetailToolSchema>;
12
- export type AgentDetailContributor = z.infer<typeof agentDetailContributorSchema>;
13
- export type AgentDetail = z.infer<typeof agentDetailSchema>;
@@ -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 { A2AUiExtension } from '../../../../core/extensions/types';
6
- import type { CanvasEditRequest } from './types';
7
- declare const URI = "https://a2a-extensions.agentstack.beeai.dev/ui/canvas/v1";
8
- export declare const canvasExtension: A2AUiExtension<typeof URI, CanvasEditRequest>;
9
- export {};
@@ -1,11 +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 canvasEditRequestSchema: z.ZodObject<{
7
- start_index: z.ZodInt;
8
- end_index: z.ZodInt;
9
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
- artifact_id: z.ZodString;
11
- }, z.core.$strip>;
@@ -1,7 +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 { canvasEditRequestSchema } from './schemas';
7
- export type CanvasEditRequest = z.infer<typeof canvasEditRequestSchema>;
@@ -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 { A2AUiExtension } from '../../../../core/extensions/types';
6
- import type { CitationMetadata } from './types';
7
- declare const URI = "https://a2a-extensions.agentstack.beeai.dev/ui/citation/v1";
8
- export declare const citationExtension: A2AUiExtension<typeof URI, CitationMetadata>;
9
- export {};
@@ -1,21 +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 citationSchema: z.ZodObject<{
7
- url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8
- start_index: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
9
- end_index: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10
- title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
- }, z.core.$strip>;
13
- export declare const citationMetadataSchema: z.ZodObject<{
14
- citations: z.ZodArray<z.ZodObject<{
15
- url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
- start_index: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17
- end_index: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18
- title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
- }, z.core.$strip>>;
21
- }, 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 { citationMetadataSchema, citationSchema } from './schemas';
7
- export type Citation = z.infer<typeof citationSchema>;
8
- export type CitationMetadata = z.infer<typeof citationMetadataSchema>;
@@ -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 { A2AUiExtension } from '../../../../core/extensions/types';
6
- import type { ErrorMetadata } from './types';
7
- declare const URI = "https://a2a-extensions.agentstack.beeai.dev/ui/error/v1";
8
- export declare const errorExtension: A2AUiExtension<typeof URI, ErrorMetadata>;
9
- export {};
@@ -1,30 +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 errorSchema: z.ZodObject<{
7
- title: z.ZodString;
8
- message: z.ZodString;
9
- }, z.core.$strip>;
10
- export declare const errorGroupSchema: z.ZodObject<{
11
- message: z.ZodString;
12
- errors: z.ZodArray<z.ZodObject<{
13
- title: z.ZodString;
14
- message: z.ZodString;
15
- }, z.core.$strip>>;
16
- }, z.core.$strip>;
17
- export declare const errorMetadataSchema: z.ZodObject<{
18
- error: z.ZodUnion<readonly [z.ZodObject<{
19
- title: z.ZodString;
20
- message: z.ZodString;
21
- }, z.core.$strip>, z.ZodObject<{
22
- message: z.ZodString;
23
- errors: z.ZodArray<z.ZodObject<{
24
- title: z.ZodString;
25
- message: z.ZodString;
26
- }, z.core.$strip>>;
27
- }, z.core.$strip>]>;
28
- context: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
29
- stack_trace: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
- }, z.core.$strip>;
@@ -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 z from 'zod';
6
- import type { errorGroupSchema, errorMetadataSchema, errorSchema } from './schemas';
7
- export type Error = z.infer<typeof errorSchema>;
8
- export type ErrorGroup = z.infer<typeof errorGroupSchema>;
9
- export type ErrorMetadata = z.infer<typeof errorMetadataSchema>;
@@ -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 { A2AUiExtension } from '../../../../core/extensions/types';
6
- import type { FormRender } from '../../common/form/types';
7
- declare const URI = "https://a2a-extensions.agentstack.beeai.dev/ui/form_request/v1";
8
- export declare const formRequestExtension: A2AUiExtension<typeof URI, FormRender>;
9
- export {};
@@ -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 { SettingsDemands, SettingsFulfillments } from './types';
7
- declare const URI = "https://a2a-extensions.agentstack.beeai.dev/ui/settings/v1";
8
- export declare const settingsExtension: A2AServiceExtension<typeof URI, SettingsDemands, SettingsFulfillments>;
9
- export {};
@@ -1,113 +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 settingsCheckboxFieldSchema: z.ZodObject<{
7
- id: z.ZodString;
8
- label: z.ZodString;
9
- default_value: z.ZodBoolean;
10
- }, z.core.$strip>;
11
- export declare const settingsCheckboxGroupFieldSchema: z.ZodObject<{
12
- id: z.ZodString;
13
- type: z.ZodLiteral<"checkbox_group">;
14
- fields: z.ZodArray<z.ZodObject<{
15
- id: z.ZodString;
16
- label: z.ZodString;
17
- default_value: z.ZodBoolean;
18
- }, z.core.$strip>>;
19
- }, z.core.$strip>;
20
- export declare const settingsOptionItemSchema: z.ZodObject<{
21
- label: z.ZodString;
22
- value: z.ZodString;
23
- }, z.core.$strip>;
24
- export declare const settingsSingleSelectFieldSchema: z.ZodObject<{
25
- type: z.ZodLiteral<"single_select">;
26
- id: z.ZodString;
27
- label: z.ZodString;
28
- options: z.ZodArray<z.ZodObject<{
29
- label: z.ZodString;
30
- value: z.ZodString;
31
- }, z.core.$strip>>;
32
- default_value: z.ZodString;
33
- }, z.core.$strip>;
34
- export declare const settingsFieldSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
35
- id: z.ZodString;
36
- type: z.ZodLiteral<"checkbox_group">;
37
- fields: z.ZodArray<z.ZodObject<{
38
- id: z.ZodString;
39
- label: z.ZodString;
40
- default_value: z.ZodBoolean;
41
- }, z.core.$strip>>;
42
- }, z.core.$strip>, z.ZodObject<{
43
- type: z.ZodLiteral<"single_select">;
44
- id: z.ZodString;
45
- label: z.ZodString;
46
- options: z.ZodArray<z.ZodObject<{
47
- label: z.ZodString;
48
- value: z.ZodString;
49
- }, z.core.$strip>>;
50
- default_value: z.ZodString;
51
- }, z.core.$strip>], "type">;
52
- export declare const settingsCheckboxFieldValueSchema: z.ZodObject<{
53
- value: z.ZodBoolean;
54
- }, z.core.$strip>;
55
- export declare const settingsCheckboxGroupFieldValueSchema: z.ZodObject<{
56
- type: z.ZodLiteral<"checkbox_group">;
57
- values: z.ZodRecord<z.ZodString, z.ZodObject<{
58
- value: z.ZodBoolean;
59
- }, z.core.$strip>>;
60
- }, z.core.$strip>;
61
- export declare const settingsSingleSelectFieldValueSchema: z.ZodObject<{
62
- type: z.ZodLiteral<"single_select">;
63
- value: z.ZodString;
64
- }, z.core.$strip>;
65
- export declare const settingsFieldValueSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
66
- type: z.ZodLiteral<"checkbox_group">;
67
- values: z.ZodRecord<z.ZodString, z.ZodObject<{
68
- value: z.ZodBoolean;
69
- }, z.core.$strip>>;
70
- }, z.core.$strip>, z.ZodObject<{
71
- type: z.ZodLiteral<"single_select">;
72
- value: z.ZodString;
73
- }, z.core.$strip>], "type">;
74
- export declare const settingsDemandsSchema: z.ZodObject<{
75
- fields: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
76
- id: z.ZodString;
77
- type: z.ZodLiteral<"checkbox_group">;
78
- fields: z.ZodArray<z.ZodObject<{
79
- id: z.ZodString;
80
- label: z.ZodString;
81
- default_value: z.ZodBoolean;
82
- }, z.core.$strip>>;
83
- }, z.core.$strip>, z.ZodObject<{
84
- type: z.ZodLiteral<"single_select">;
85
- id: z.ZodString;
86
- label: z.ZodString;
87
- options: z.ZodArray<z.ZodObject<{
88
- label: z.ZodString;
89
- value: z.ZodString;
90
- }, z.core.$strip>>;
91
- default_value: z.ZodString;
92
- }, z.core.$strip>], "type">>;
93
- }, z.core.$strip>;
94
- export declare const settingsValuesSchema: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
95
- type: z.ZodLiteral<"checkbox_group">;
96
- values: z.ZodRecord<z.ZodString, z.ZodObject<{
97
- value: z.ZodBoolean;
98
- }, z.core.$strip>>;
99
- }, z.core.$strip>, z.ZodObject<{
100
- type: z.ZodLiteral<"single_select">;
101
- value: z.ZodString;
102
- }, z.core.$strip>], "type">>;
103
- export declare const settingsFulfillmentsSchema: z.ZodObject<{
104
- values: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
105
- type: z.ZodLiteral<"checkbox_group">;
106
- values: z.ZodRecord<z.ZodString, z.ZodObject<{
107
- value: z.ZodBoolean;
108
- }, z.core.$strip>>;
109
- }, z.core.$strip>, z.ZodObject<{
110
- type: z.ZodLiteral<"single_select">;
111
- value: z.ZodString;
112
- }, z.core.$strip>], "type">>;
113
- }, z.core.$strip>;
@@ -1,18 +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 { settingsCheckboxFieldSchema, settingsCheckboxFieldValueSchema, settingsCheckboxGroupFieldSchema, settingsCheckboxGroupFieldValueSchema, settingsDemandsSchema, settingsFieldSchema, settingsFieldValueSchema, settingsFulfillmentsSchema, settingsOptionItemSchema, settingsSingleSelectFieldSchema, settingsSingleSelectFieldValueSchema, settingsValuesSchema } from './schemas';
7
- export type SettingsCheckboxField = z.infer<typeof settingsCheckboxFieldSchema>;
8
- export type SettingsCheckboxGroupField = z.infer<typeof settingsCheckboxGroupFieldSchema>;
9
- export type SettingsOptionItem = z.infer<typeof settingsOptionItemSchema>;
10
- export type SettingsSingleSelectField = z.infer<typeof settingsSingleSelectFieldSchema>;
11
- export type SettingsField = z.infer<typeof settingsFieldSchema>;
12
- export type SettingsCheckboxFieldValue = z.infer<typeof settingsCheckboxFieldValueSchema>;
13
- export type SettingsCheckboxGroupFieldValue = z.infer<typeof settingsCheckboxGroupFieldValueSchema>;
14
- export type SettingsSingleSelectFieldValue = z.infer<typeof settingsSingleSelectFieldValueSchema>;
15
- export type SettingsFieldValue = z.infer<typeof settingsFieldValueSchema>;
16
- export type SettingsDemands = z.infer<typeof settingsDemandsSchema>;
17
- export type SettingsValues = z.infer<typeof settingsValuesSchema>;
18
- export type SettingsFulfillments = z.infer<typeof settingsFulfillmentsSchema>;
@@ -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 { A2AUiExtension } from '../../../../core/extensions/types';
6
- import type { TrajectoryMetadata } from './types';
7
- declare const URI = "https://a2a-extensions.agentstack.beeai.dev/ui/trajectory/v1";
8
- export declare const trajectoryExtension: A2AUiExtension<typeof URI, TrajectoryMetadata>;
9
- export {};
@@ -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 z from 'zod';
6
- export declare const trajectoryMetadataSchema: z.ZodObject<{
7
- title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8
- content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
- group_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
- }, z.core.$strip>;
@@ -1,7 +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 { trajectoryMetadataSchema } from './schemas';
7
- export type TrajectoryMetadata = z.infer<typeof trajectoryMetadataSchema>;