@artinet/sdk 0.5.3 → 0.5.5
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/CHANGELOG.md +20 -1
- package/README.md +58 -89
- package/dist/client/a2a-client.js +25 -7
- package/dist/client/a2a-client.js.map +1 -1
- package/dist/server/a2a-server.js +51 -241
- package/dist/server/a2a-server.js.map +1 -1
- package/dist/server/interfaces/params.js.map +1 -1
- package/dist/server/interfaces/store.js +16 -0
- package/dist/server/interfaces/store.js.map +1 -1
- package/dist/server/lib/express-server.js +211 -2
- package/dist/server/lib/express-server.js.map +1 -1
- package/dist/server/lib/middleware/a2a-methods.js +61 -24
- package/dist/server/lib/middleware/a2a-methods.js.map +1 -1
- package/dist/server/lib/middleware/factory.js +6 -6
- package/dist/server/lib/middleware/factory.js.map +1 -1
- package/dist/server/lib/state.js +44 -72
- package/dist/server/lib/state.js.map +1 -1
- package/dist/server/lib/storage/memory.js.map +1 -1
- package/dist/server/lib/update/base.js +109 -0
- package/dist/server/lib/update/base.js.map +1 -0
- package/dist/services/a2a/index.js +3 -0
- package/dist/services/a2a/index.js.map +1 -0
- package/dist/services/a2a/repository.js +160 -0
- package/dist/services/a2a/repository.js.map +1 -0
- package/dist/services/a2a/service.js +247 -0
- package/dist/services/a2a/service.js.map +1 -0
- package/dist/services/index.js +2 -0
- package/dist/services/index.js.map +1 -0
- package/dist/services/manager.js +61 -0
- package/dist/services/manager.js.map +1 -0
- package/dist/services/mcp/index.js +2 -0
- package/dist/services/mcp/index.js.map +1 -0
- package/dist/services/mcp/service.js +75 -0
- package/dist/services/mcp/service.js.map +1 -0
- package/dist/transport/rpc/parser.js +2 -1
- package/dist/transport/rpc/parser.js.map +1 -1
- package/dist/transport/rpc/rpc-client.js.map +1 -1
- package/dist/transport/streaming/stream.js +19 -36
- package/dist/transport/streaming/stream.js.map +1 -1
- package/dist/types/client/a2a-client.d.ts +21 -7
- package/dist/types/client/a2a-client.d.ts.map +1 -1
- package/dist/types/express.js +2 -0
- package/dist/types/express.js.map +1 -0
- package/dist/types/extended-schema.js +1 -1
- package/dist/types/extended-schema.js.map +1 -1
- package/dist/types/index.js +2 -1
- package/dist/types/index.js.map +1 -1
- package/dist/types/schemas/a2a/auth/auth.js +2 -0
- package/dist/types/schemas/a2a/auth/auth.js.map +1 -0
- package/dist/types/schemas/a2a/auth/base.js +2 -0
- package/dist/types/schemas/a2a/auth/base.js.map +1 -0
- package/dist/types/schemas/a2a/auth/index.js +4 -0
- package/dist/types/schemas/a2a/auth/index.js.map +1 -0
- package/dist/types/schemas/a2a/auth/oauth.js +2 -0
- package/dist/types/schemas/a2a/auth/oauth.js.map +1 -0
- package/dist/types/schemas/a2a/error.js +45 -0
- package/dist/types/schemas/a2a/error.js.map +1 -0
- package/dist/types/schemas/a2a/index.js +8 -0
- package/dist/types/schemas/a2a/index.js.map +1 -0
- package/dist/types/schemas/a2a/message.js +2 -0
- package/dist/types/schemas/a2a/message.js.map +1 -0
- package/dist/types/schemas/a2a/notification.js +2 -0
- package/dist/types/schemas/a2a/notification.js.map +1 -0
- package/dist/types/schemas/a2a/parameters.js +2 -0
- package/dist/types/schemas/a2a/parameters.js.map +1 -0
- package/dist/types/schemas/a2a/ref.js +25 -0
- package/dist/types/schemas/a2a/ref.js.map +1 -0
- package/dist/types/schemas/a2a/rpc.js +2 -0
- package/dist/types/schemas/a2a/rpc.js.map +1 -0
- package/dist/types/schemas/a2a/task.js +16 -0
- package/dist/types/schemas/a2a/task.js.map +1 -0
- package/dist/types/schemas/index.js +2 -0
- package/dist/types/schemas/index.js.map +1 -0
- package/dist/types/server/a2a-server.d.ts +9 -20
- package/dist/types/server/a2a-server.d.ts.map +1 -1
- package/dist/types/server/interfaces/params.d.ts +11 -11
- package/dist/types/server/interfaces/params.d.ts.map +1 -1
- package/dist/types/server/interfaces/server.d.ts +4 -4
- package/dist/types/server/interfaces/server.d.ts.map +1 -1
- package/dist/types/server/interfaces/store.d.ts +6 -1
- package/dist/types/server/interfaces/store.d.ts.map +1 -1
- package/dist/types/server/lib/express-server.d.ts +49 -1
- package/dist/types/server/lib/express-server.d.ts.map +1 -1
- package/dist/types/server/lib/middleware/a2a-methods.d.ts.map +1 -1
- package/dist/types/server/lib/middleware/factory.d.ts +2 -2
- package/dist/types/server/lib/middleware/factory.d.ts.map +1 -1
- package/dist/types/server/lib/state.d.ts +7 -15
- package/dist/types/server/lib/state.d.ts.map +1 -1
- package/dist/types/server/lib/storage/memory.d.ts.map +1 -1
- package/dist/types/server/lib/update/base.d.ts +21 -0
- package/dist/types/server/lib/update/base.d.ts.map +1 -0
- package/dist/types/services/a2a/index.d.ts +3 -0
- package/dist/types/services/a2a/index.d.ts.map +1 -0
- package/dist/types/services/a2a/repository.d.ts +77 -0
- package/dist/types/services/a2a/repository.d.ts.map +1 -0
- package/dist/types/services/a2a/repository.js +2 -0
- package/dist/types/services/a2a/repository.js.map +1 -0
- package/dist/types/services/a2a/service.d.ts +45 -0
- package/dist/types/services/a2a/service.d.ts.map +1 -0
- package/dist/types/services/a2a/service.js +2 -0
- package/dist/types/services/a2a/service.js.map +1 -0
- package/dist/types/services/context.js +29 -0
- package/dist/types/services/context.js.map +1 -0
- package/dist/types/services/dispatcher.js +33 -0
- package/dist/types/services/dispatcher.js.map +1 -0
- package/dist/types/services/index.d.ts +2 -0
- package/dist/types/services/index.d.ts.map +1 -0
- package/dist/types/services/index.js +9 -0
- package/dist/types/services/index.js.map +1 -0
- package/dist/types/services/manager.d.ts +44 -0
- package/dist/types/services/manager.d.ts.map +1 -0
- package/dist/types/services/manager.js +2 -0
- package/dist/types/services/manager.js.map +1 -0
- package/dist/types/services/mcp/index.d.ts +2 -0
- package/dist/types/services/mcp/index.d.ts.map +1 -0
- package/dist/types/services/mcp/service.d.ts +30 -0
- package/dist/types/services/mcp/service.d.ts.map +1 -0
- package/dist/types/services/mcp/service.js +8 -0
- package/dist/types/services/mcp/service.js.map +1 -0
- package/dist/types/services/protocol.js +31 -0
- package/dist/types/services/protocol.js.map +1 -0
- package/dist/types/services/service.js +2 -0
- package/dist/types/services/service.js.map +1 -0
- package/dist/types/transform.js +35 -0
- package/dist/types/transform.js.map +1 -0
- package/dist/types/transport/rpc/parser.d.ts.map +1 -1
- package/dist/types/transport/rpc/rpc-client.d.ts.map +1 -1
- package/dist/types/transport/streaming/stream.d.ts +6 -5
- package/dist/types/transport/streaming/stream.d.ts.map +1 -1
- package/dist/types/types/client.d.ts +26 -9
- package/dist/types/types/client.d.ts.map +1 -1
- package/dist/types/types/express.d.ts +66 -0
- package/dist/types/types/express.d.ts.map +1 -0
- package/dist/types/types/extended-schema.d.ts +88 -33
- package/dist/types/types/extended-schema.d.ts.map +1 -1
- package/dist/types/types/index.d.ts +2 -1
- package/dist/types/types/index.d.ts.map +1 -1
- package/dist/types/types/proxy.d.ts +4 -5
- package/dist/types/types/proxy.d.ts.map +1 -1
- package/dist/types/types/schemas/a2a/auth/auth.d.ts +80 -0
- package/dist/types/types/schemas/a2a/auth/auth.d.ts.map +1 -0
- package/dist/types/types/schemas/a2a/auth/base.d.ts +16 -0
- package/dist/types/types/schemas/a2a/auth/base.d.ts.map +1 -0
- package/dist/types/types/schemas/a2a/auth/index.d.ts +4 -0
- package/dist/types/types/schemas/a2a/auth/index.d.ts.map +1 -0
- package/dist/types/types/schemas/a2a/auth/oauth.d.ts +124 -0
- package/dist/types/types/schemas/a2a/auth/oauth.d.ts.map +1 -0
- package/dist/types/types/schemas/a2a/error.d.ts +75 -0
- package/dist/types/types/schemas/a2a/error.d.ts.map +1 -0
- package/dist/types/types/schemas/a2a/index.d.ts +220 -0
- package/dist/types/types/schemas/a2a/index.d.ts.map +1 -0
- package/dist/types/types/schemas/a2a/message.d.ts +90 -0
- package/dist/types/types/schemas/a2a/message.d.ts.map +1 -0
- package/dist/types/types/schemas/a2a/notification.d.ts +87 -0
- package/dist/types/types/schemas/a2a/notification.d.ts.map +1 -0
- package/dist/types/types/schemas/a2a/parameters.d.ts +188 -0
- package/dist/types/types/schemas/a2a/parameters.d.ts.map +1 -0
- package/dist/types/types/schemas/a2a/ref.d.ts +2057 -0
- package/dist/types/types/schemas/a2a/ref.d.ts.map +1 -0
- package/dist/types/types/schemas/a2a/rpc.d.ts +104 -0
- package/dist/types/types/schemas/a2a/rpc.d.ts.map +1 -0
- package/dist/types/types/schemas/a2a/task.d.ts +252 -0
- package/dist/types/types/schemas/a2a/task.d.ts.map +1 -0
- package/dist/types/types/schemas/index.d.ts +2 -0
- package/dist/types/types/schemas/index.d.ts.map +1 -0
- package/dist/types/types/services/a2a/repository.d.ts +85 -0
- package/dist/types/types/services/a2a/repository.d.ts.map +1 -0
- package/dist/types/types/services/a2a/service.d.ts +29 -0
- package/dist/types/types/services/a2a/service.d.ts.map +1 -0
- package/dist/types/types/services/context.d.ts +167 -0
- package/dist/types/types/services/context.d.ts.map +1 -0
- package/dist/types/types/services/dispatcher.d.ts +20 -0
- package/dist/types/types/services/dispatcher.d.ts.map +1 -0
- package/dist/types/types/services/index.d.ts +9 -0
- package/dist/types/types/services/index.d.ts.map +1 -0
- package/dist/types/types/services/manager.d.ts +42 -0
- package/dist/types/types/services/manager.d.ts.map +1 -0
- package/dist/types/types/services/mcp/service.d.ts +57 -0
- package/dist/types/types/services/mcp/service.d.ts.map +1 -0
- package/dist/types/types/services/protocol.d.ts +30 -0
- package/dist/types/types/services/protocol.d.ts.map +1 -0
- package/dist/types/types/services/service.d.ts +35 -0
- package/dist/types/types/services/service.d.ts.map +1 -0
- package/dist/types/types/transform.d.ts +61 -0
- package/dist/types/types/transform.d.ts.map +1 -0
- package/dist/types/utils/api/register.d.ts.map +1 -1
- package/dist/types/utils/common/constants.d.ts +4 -4
- package/dist/types/utils/common/constants.d.ts.map +1 -1
- package/dist/types/utils/common/errors.d.ts +19 -15
- package/dist/types/utils/common/errors.d.ts.map +1 -1
- package/dist/types/utils/common/utils.d.ts +2 -13
- package/dist/types/utils/common/utils.d.ts.map +1 -1
- package/dist/types/utils/deployment/task-wrapper.d.ts +5 -6
- package/dist/types/utils/deployment/task-wrapper.d.ts.map +1 -1
- package/dist/types/utils/deployment/test-deployment.d.ts +2 -2
- package/dist/types/utils/deployment/test-deployment.d.ts.map +1 -1
- package/dist/types/utils/logging/log.d.ts.map +1 -1
- package/dist/utils/api/register.js +1 -3
- package/dist/utils/api/register.js.map +1 -1
- package/dist/utils/common/constants.js +37 -24
- package/dist/utils/common/constants.js.map +1 -1
- package/dist/utils/common/errors.js +20 -9
- package/dist/utils/common/errors.js.map +1 -1
- package/dist/utils/common/utils.js +5 -27
- package/dist/utils/common/utils.js.map +1 -1
- package/dist/utils/deployment/agents.js.map +1 -1
- package/dist/utils/deployment/task-wrapper.js +3 -3
- package/dist/utils/deployment/task-wrapper.js.map +1 -1
- package/dist/utils/deployment/test-deployment.js +3 -4
- package/dist/utils/deployment/test-deployment.js.map +1 -1
- package/dist/utils/logging/log.js.map +1 -1
- package/package.json +11 -7
- package/dist/types/context.js +0 -2
- package/dist/types/context.js.map +0 -1
- package/dist/types/schema.js +0 -23
- package/dist/types/schema.js.map +0 -1
- package/dist/types/types/context.d.ts +0 -41
- package/dist/types/types/context.d.ts.map +0 -1
- package/dist/types/types/schema.d.ts +0 -694
- package/dist/types/types/schema.d.ts.map +0 -1
|
@@ -1,694 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Base interface for identifying JSON-RPC messages.
|
|
3
|
-
*/
|
|
4
|
-
export interface JSONRPCMessageIdentifier {
|
|
5
|
-
/**
|
|
6
|
-
* Request identifier. Can be a string, number.
|
|
7
|
-
* Responses must have the same ID as the request they relate to.
|
|
8
|
-
* Notifications (requests without an expected response) should omit the ID.
|
|
9
|
-
*/
|
|
10
|
-
id?: number | string;
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* Base interface for all JSON-RPC messages (Requests and Responses).
|
|
14
|
-
*/
|
|
15
|
-
export interface JSONRPCMessage extends JSONRPCMessageIdentifier {
|
|
16
|
-
/**
|
|
17
|
-
* Specifies the JSON-RPC version. Must be "2.0".
|
|
18
|
-
* @default "2.0"
|
|
19
|
-
* @const "2.0"
|
|
20
|
-
*/
|
|
21
|
-
jsonrpc?: "2.0";
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* Represents a JSON-RPC request object base structure.
|
|
25
|
-
* Specific request types should extend this.
|
|
26
|
-
*/
|
|
27
|
-
export interface JSONRPCRequest extends JSONRPCMessage {
|
|
28
|
-
/**
|
|
29
|
-
* The name of the method to be invoked.
|
|
30
|
-
*/
|
|
31
|
-
method: string;
|
|
32
|
-
/**
|
|
33
|
-
* Parameters for the method. Can be a structured object, an array, or omitted.
|
|
34
|
-
* Specific request interfaces will define the exact type.
|
|
35
|
-
*/
|
|
36
|
-
params?: unknown;
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* Represents a JSON-RPC error object.
|
|
40
|
-
*/
|
|
41
|
-
export interface JSONRPCError<Data = unknown, Code = number> {
|
|
42
|
-
/**
|
|
43
|
-
* A number indicating the error type that occurred.
|
|
44
|
-
*/
|
|
45
|
-
code: Code;
|
|
46
|
-
/**
|
|
47
|
-
* A string providing a short description of the error.
|
|
48
|
-
*/
|
|
49
|
-
message: string;
|
|
50
|
-
/**
|
|
51
|
-
* Additional data about the error.
|
|
52
|
-
*/
|
|
53
|
-
data: Data;
|
|
54
|
-
}
|
|
55
|
-
/**
|
|
56
|
-
* Represents a JSON-RPC response object.
|
|
57
|
-
*/
|
|
58
|
-
export interface JSONRPCResponse<R = unknown, E = unknown> extends JSONRPCMessage {
|
|
59
|
-
/**
|
|
60
|
-
* The result of the method invocation. Required on success.
|
|
61
|
-
* Should be omitted if an error occurred.
|
|
62
|
-
*/
|
|
63
|
-
result?: R;
|
|
64
|
-
/**
|
|
65
|
-
* An error object if an error occurred during the request. Required on failure.
|
|
66
|
-
* Should be omitted if the request was successful.
|
|
67
|
-
*/
|
|
68
|
-
error?: JSONRPCError<E>;
|
|
69
|
-
}
|
|
70
|
-
/**
|
|
71
|
-
* Represents the state of a task within the A2A protocol.
|
|
72
|
-
* @description An enumeration.
|
|
73
|
-
*/
|
|
74
|
-
export type TaskState = "submitted" | "working" | "input-required" | "completed" | "canceled" | "failed" | "unknown";
|
|
75
|
-
/**
|
|
76
|
-
* Defines the authentication schemes and credentials for an agent.
|
|
77
|
-
*/
|
|
78
|
-
export interface AgentAuthentication {
|
|
79
|
-
/**
|
|
80
|
-
* List of supported authentication schemes.
|
|
81
|
-
*/
|
|
82
|
-
schemes: string[];
|
|
83
|
-
/**
|
|
84
|
-
* Credentials for authentication. Can be a string (e.g., token) or omitted if not required initially.
|
|
85
|
-
*/
|
|
86
|
-
credentials?: string;
|
|
87
|
-
}
|
|
88
|
-
/**
|
|
89
|
-
* Describes the capabilities of an agent.
|
|
90
|
-
*/
|
|
91
|
-
export interface AgentCapabilities {
|
|
92
|
-
/**
|
|
93
|
-
* Indicates if the agent supports streaming responses.
|
|
94
|
-
* @default false
|
|
95
|
-
*/
|
|
96
|
-
streaming?: boolean;
|
|
97
|
-
/**
|
|
98
|
-
* Indicates if the agent supports push notification mechanisms.
|
|
99
|
-
* @default false
|
|
100
|
-
*/
|
|
101
|
-
pushNotifications?: boolean;
|
|
102
|
-
/**
|
|
103
|
-
* Indicates if the agent supports providing state transition history.
|
|
104
|
-
* @default false
|
|
105
|
-
*/
|
|
106
|
-
stateTransitionHistory?: boolean;
|
|
107
|
-
}
|
|
108
|
-
/**
|
|
109
|
-
* Represents the provider or organization behind an agent.
|
|
110
|
-
*/
|
|
111
|
-
export interface AgentProvider {
|
|
112
|
-
/**
|
|
113
|
-
* The name of the organization providing the agent.
|
|
114
|
-
*/
|
|
115
|
-
organization: string;
|
|
116
|
-
/**
|
|
117
|
-
* URL associated with the agent provider.
|
|
118
|
-
*/
|
|
119
|
-
url?: string;
|
|
120
|
-
}
|
|
121
|
-
/**
|
|
122
|
-
* Defines a specific skill or capability offered by an agent.
|
|
123
|
-
*/
|
|
124
|
-
export interface AgentSkill {
|
|
125
|
-
/**
|
|
126
|
-
* Unique identifier for the skill.
|
|
127
|
-
*/
|
|
128
|
-
id: string;
|
|
129
|
-
/**
|
|
130
|
-
* Human-readable name of the skill.
|
|
131
|
-
*/
|
|
132
|
-
name: string;
|
|
133
|
-
/**
|
|
134
|
-
* Optional description of the skill.
|
|
135
|
-
*/
|
|
136
|
-
description?: string;
|
|
137
|
-
/**
|
|
138
|
-
* Optional list of tags associated with the skill for categorization.
|
|
139
|
-
*/
|
|
140
|
-
tags?: string[];
|
|
141
|
-
/**
|
|
142
|
-
* Optional list of example inputs or use cases for the skill.
|
|
143
|
-
*/
|
|
144
|
-
examples?: string[];
|
|
145
|
-
/**
|
|
146
|
-
* Optional list of input modes supported by this skill, overriding agent defaults.
|
|
147
|
-
*/
|
|
148
|
-
inputModes?: string[];
|
|
149
|
-
/**
|
|
150
|
-
* Optional list of output modes supported by this skill, overriding agent defaults.
|
|
151
|
-
*/
|
|
152
|
-
outputModes?: string[];
|
|
153
|
-
}
|
|
154
|
-
/**
|
|
155
|
-
* Represents the metadata card for an agent, describing its properties and capabilities.
|
|
156
|
-
*/
|
|
157
|
-
export interface AgentCard {
|
|
158
|
-
/**
|
|
159
|
-
* The name of the agent.
|
|
160
|
-
*/
|
|
161
|
-
name: string;
|
|
162
|
-
/**
|
|
163
|
-
* An optional description of the agent.
|
|
164
|
-
*/
|
|
165
|
-
description?: string;
|
|
166
|
-
/**
|
|
167
|
-
* The base URL endpoint for interacting with the agent.
|
|
168
|
-
*/
|
|
169
|
-
url: string;
|
|
170
|
-
/**
|
|
171
|
-
* Information about the provider of the agent.
|
|
172
|
-
*/
|
|
173
|
-
provider?: AgentProvider;
|
|
174
|
-
/**
|
|
175
|
-
* The version identifier for the agent or its API.
|
|
176
|
-
*/
|
|
177
|
-
version: string;
|
|
178
|
-
/**
|
|
179
|
-
* An optional URL pointing to the agent's documentation.
|
|
180
|
-
*/
|
|
181
|
-
documentationUrl?: string;
|
|
182
|
-
/**
|
|
183
|
-
* The capabilities supported by the agent.
|
|
184
|
-
*/
|
|
185
|
-
capabilities: AgentCapabilities;
|
|
186
|
-
/**
|
|
187
|
-
* Authentication details required to interact with the agent.
|
|
188
|
-
*/
|
|
189
|
-
authentication?: AgentAuthentication;
|
|
190
|
-
/**
|
|
191
|
-
* Default input modes supported by the agent (e.g., 'text', 'file', 'json').
|
|
192
|
-
* @default ["text"]
|
|
193
|
-
*/
|
|
194
|
-
defaultInputModes?: string[];
|
|
195
|
-
/**
|
|
196
|
-
* Default output modes supported by the agent (e.g., 'text', 'file', 'json').
|
|
197
|
-
* @default ["text"]
|
|
198
|
-
*/
|
|
199
|
-
defaultOutputModes?: string[];
|
|
200
|
-
/**
|
|
201
|
-
* List of specific skills offered by the agent.
|
|
202
|
-
*/
|
|
203
|
-
skills: AgentSkill[];
|
|
204
|
-
}
|
|
205
|
-
export interface FileContentBase {
|
|
206
|
-
/**
|
|
207
|
-
* Optional name of the file.
|
|
208
|
-
*/
|
|
209
|
-
name?: string;
|
|
210
|
-
/**
|
|
211
|
-
* Optional MIME type of the file content.
|
|
212
|
-
*/
|
|
213
|
-
mimeType?: string;
|
|
214
|
-
/**
|
|
215
|
-
* File content encoded as a Base64 string. Use this OR `uri`.
|
|
216
|
-
*/
|
|
217
|
-
bytes?: string;
|
|
218
|
-
/**
|
|
219
|
-
* URI pointing to the file content. Use this OR `bytes`.
|
|
220
|
-
*/
|
|
221
|
-
uri?: string;
|
|
222
|
-
}
|
|
223
|
-
export type FileContentBytes = FileContentBase & {
|
|
224
|
-
bytes: string;
|
|
225
|
-
uri?: never;
|
|
226
|
-
};
|
|
227
|
-
export type FileContentUri = FileContentBase & {
|
|
228
|
-
/** URI pointing to the file content. */
|
|
229
|
-
uri: string;
|
|
230
|
-
bytes?: never;
|
|
231
|
-
};
|
|
232
|
-
/**
|
|
233
|
-
* Represents the content of a file, either as base64 encoded bytes or a URI.
|
|
234
|
-
* @description Ensures that either 'bytes' or 'uri' is provided, but not both. (Note: This constraint is informational in TypeScript types).
|
|
235
|
-
*/
|
|
236
|
-
export type FileContent = FileContentBytes | FileContentUri;
|
|
237
|
-
/**
|
|
238
|
-
* Represents a part of a message containing text content.
|
|
239
|
-
*/
|
|
240
|
-
export interface TextPart {
|
|
241
|
-
type: "text";
|
|
242
|
-
/**
|
|
243
|
-
* The text content.
|
|
244
|
-
*/
|
|
245
|
-
text: string;
|
|
246
|
-
/**
|
|
247
|
-
* Optional metadata associated with this text part.
|
|
248
|
-
*/
|
|
249
|
-
metadata?: Record<string, unknown>;
|
|
250
|
-
}
|
|
251
|
-
/**
|
|
252
|
-
* Represents a part of a message containing file content.
|
|
253
|
-
*/
|
|
254
|
-
export interface FilePart {
|
|
255
|
-
/**
|
|
256
|
-
* Type identifier for this part.
|
|
257
|
-
*/
|
|
258
|
-
type: "file";
|
|
259
|
-
/**
|
|
260
|
-
* The file content, provided either inline or via URI.
|
|
261
|
-
*/
|
|
262
|
-
file: FileContent;
|
|
263
|
-
/**
|
|
264
|
-
* Optional metadata associated with this file part.
|
|
265
|
-
*/
|
|
266
|
-
metadata?: Record<string, unknown>;
|
|
267
|
-
}
|
|
268
|
-
/**
|
|
269
|
-
* Represents a part of a message containing structured data (JSON).
|
|
270
|
-
*/
|
|
271
|
-
export interface DataPart {
|
|
272
|
-
/**
|
|
273
|
-
* Type identifier for this part.
|
|
274
|
-
*/
|
|
275
|
-
type: "data";
|
|
276
|
-
/**
|
|
277
|
-
* The structured data content as a JSON object.
|
|
278
|
-
*/
|
|
279
|
-
data: Record<string, unknown>;
|
|
280
|
-
/**
|
|
281
|
-
* Optional metadata associated with this data part.
|
|
282
|
-
*/
|
|
283
|
-
metadata?: Record<string, unknown>;
|
|
284
|
-
}
|
|
285
|
-
/**
|
|
286
|
-
* Represents a single part of a multi-part message. Can be text, file, or data.
|
|
287
|
-
*/
|
|
288
|
-
export type Part = TextPart | FilePart | DataPart;
|
|
289
|
-
/**
|
|
290
|
-
* Represents an artifact generated or used by a task, potentially composed of multiple parts.
|
|
291
|
-
*/
|
|
292
|
-
export interface Artifact {
|
|
293
|
-
/**
|
|
294
|
-
* Optional name for the artifact.
|
|
295
|
-
*/
|
|
296
|
-
name?: string;
|
|
297
|
-
/**
|
|
298
|
-
* Optional description of the artifact.
|
|
299
|
-
*/
|
|
300
|
-
description?: string;
|
|
301
|
-
/**
|
|
302
|
-
* The constituent parts of the artifact.
|
|
303
|
-
*/
|
|
304
|
-
parts: Part[];
|
|
305
|
-
/**
|
|
306
|
-
* Optional index for ordering artifacts, especially relevant in streaming or updates.
|
|
307
|
-
* @default 0
|
|
308
|
-
*/
|
|
309
|
-
index?: number;
|
|
310
|
-
/**
|
|
311
|
-
* Optional flag indicating if this artifact content should append to previous content (for streaming).
|
|
312
|
-
*/
|
|
313
|
-
append?: boolean;
|
|
314
|
-
/**
|
|
315
|
-
* Optional metadata associated with the artifact.
|
|
316
|
-
*/
|
|
317
|
-
metadata?: Record<string, unknown>;
|
|
318
|
-
/**
|
|
319
|
-
* Optional flag indicating if this is the last chunk of data for this artifact (for streaming).
|
|
320
|
-
*/
|
|
321
|
-
lastChunk?: boolean;
|
|
322
|
-
}
|
|
323
|
-
/**
|
|
324
|
-
* Represents a message exchanged between a user and an agent.
|
|
325
|
-
*/
|
|
326
|
-
export interface Message {
|
|
327
|
-
/**
|
|
328
|
-
* The role of the sender (user or agent).
|
|
329
|
-
*/
|
|
330
|
-
role: "user" | "agent";
|
|
331
|
-
/**
|
|
332
|
-
* The content of the message, composed of one or more parts.
|
|
333
|
-
*/
|
|
334
|
-
parts: Part[];
|
|
335
|
-
/**
|
|
336
|
-
* Optional metadata associated with the message.
|
|
337
|
-
*/
|
|
338
|
-
metadata?: Record<string, unknown>;
|
|
339
|
-
}
|
|
340
|
-
/**
|
|
341
|
-
* Represents the status of a task at a specific point in time.
|
|
342
|
-
*/
|
|
343
|
-
export interface TaskStatus {
|
|
344
|
-
/**
|
|
345
|
-
* The current state of the task.
|
|
346
|
-
*/
|
|
347
|
-
state: TaskState;
|
|
348
|
-
/**
|
|
349
|
-
* An optional message associated with the current status (e.g., progress update, final response).
|
|
350
|
-
*/
|
|
351
|
-
message?: Message;
|
|
352
|
-
/**
|
|
353
|
-
* The timestamp when this status was recorded (ISO 8601 format).
|
|
354
|
-
* @format date-time
|
|
355
|
-
*/
|
|
356
|
-
timestamp?: string;
|
|
357
|
-
}
|
|
358
|
-
/**
|
|
359
|
-
* Represents a task being processed by an agent.
|
|
360
|
-
*/
|
|
361
|
-
export interface Task {
|
|
362
|
-
/**
|
|
363
|
-
* Unique identifier for the task.
|
|
364
|
-
*/
|
|
365
|
-
id: string;
|
|
366
|
-
/**
|
|
367
|
-
* Optional identifier for the session this task belongs to.
|
|
368
|
-
*/
|
|
369
|
-
sessionId?: string;
|
|
370
|
-
/**
|
|
371
|
-
* The current status of the task.
|
|
372
|
-
*/
|
|
373
|
-
status: TaskStatus;
|
|
374
|
-
/**
|
|
375
|
-
* Optional list of artifacts associated with the task (e.g., outputs, intermediate files).
|
|
376
|
-
*/
|
|
377
|
-
artifacts?: Artifact[];
|
|
378
|
-
/**
|
|
379
|
-
* Optional metadata associated with the task.
|
|
380
|
-
*/
|
|
381
|
-
metadata?: Record<string, unknown>;
|
|
382
|
-
}
|
|
383
|
-
/**
|
|
384
|
-
* Represents the history of messages exchanged within a task's session.
|
|
385
|
-
*/
|
|
386
|
-
export interface TaskHistory {
|
|
387
|
-
/**
|
|
388
|
-
* List of messages in chronological order.
|
|
389
|
-
* @default []
|
|
390
|
-
*/
|
|
391
|
-
messageHistory?: Message[];
|
|
392
|
-
}
|
|
393
|
-
/**
|
|
394
|
-
* Represents a status update event for a task, typically used in streaming scenarios.
|
|
395
|
-
*/
|
|
396
|
-
export interface TaskStatusUpdateEvent {
|
|
397
|
-
/**
|
|
398
|
-
* The ID of the task being updated.
|
|
399
|
-
*/
|
|
400
|
-
id: string;
|
|
401
|
-
/**
|
|
402
|
-
* The new status of the task.
|
|
403
|
-
*/
|
|
404
|
-
status: TaskStatus;
|
|
405
|
-
/**
|
|
406
|
-
* Flag indicating if this is the final update for the task.
|
|
407
|
-
* @default false
|
|
408
|
-
*/
|
|
409
|
-
final?: boolean;
|
|
410
|
-
/**
|
|
411
|
-
* Optional metadata associated with this update event.
|
|
412
|
-
*/
|
|
413
|
-
metadata?: Record<string, unknown>;
|
|
414
|
-
}
|
|
415
|
-
/**
|
|
416
|
-
* Represents an artifact update event for a task, typically used in streaming scenarios.
|
|
417
|
-
*/
|
|
418
|
-
export interface TaskArtifactUpdateEvent {
|
|
419
|
-
/**
|
|
420
|
-
* The ID of the task being updated.
|
|
421
|
-
*/
|
|
422
|
-
id: string;
|
|
423
|
-
/**
|
|
424
|
-
* The new or updated artifact for the task.
|
|
425
|
-
*/
|
|
426
|
-
artifact: Artifact;
|
|
427
|
-
/**
|
|
428
|
-
* Flag indicating if this is the final update for the task.
|
|
429
|
-
* @default false
|
|
430
|
-
*/
|
|
431
|
-
final?: boolean;
|
|
432
|
-
/**
|
|
433
|
-
* Optional metadata associated with this update event.
|
|
434
|
-
*/
|
|
435
|
-
metadata?: Record<string, unknown>;
|
|
436
|
-
}
|
|
437
|
-
export type TaskUpdateEvent = TaskStatusUpdateEvent;
|
|
438
|
-
/** Error code for JSON Parse Error (-32700). Invalid JSON was received by the server. */
|
|
439
|
-
export declare const ErrorCodeParseError = -32700;
|
|
440
|
-
export type ErrorCodeParseError = typeof ErrorCodeParseError;
|
|
441
|
-
/** Error code for Invalid Request (-32600). The JSON sent is not a valid Request object. */
|
|
442
|
-
export declare const ErrorCodeInvalidRequest = -32600;
|
|
443
|
-
export type ErrorCodeInvalidRequest = typeof ErrorCodeInvalidRequest;
|
|
444
|
-
/** Error code for Method Not Found (-32601). The method does not exist / is not available. */
|
|
445
|
-
export declare const ErrorCodeMethodNotFound = -32601;
|
|
446
|
-
export type ErrorCodeMethodNotFound = typeof ErrorCodeMethodNotFound;
|
|
447
|
-
/** Error code for Invalid Params (-32602). Invalid method parameter(s). */
|
|
448
|
-
export declare const ErrorCodeInvalidParams = -32602;
|
|
449
|
-
export type ErrorCodeInvalidParams = typeof ErrorCodeInvalidParams;
|
|
450
|
-
/** Error code for Internal Error (-32603). Internal JSON-RPC error. */
|
|
451
|
-
export declare const ErrorCodeInternalError = -32603;
|
|
452
|
-
export type ErrorCodeInternalError = typeof ErrorCodeInternalError;
|
|
453
|
-
/** Error code for Task Not Found (-32001). The specified task was not found. */
|
|
454
|
-
export declare const ErrorCodeTaskNotFound = -32001;
|
|
455
|
-
export type ErrorCodeTaskNotFound = typeof ErrorCodeTaskNotFound;
|
|
456
|
-
/** Error code for Task Not Cancelable (-32002). The specified task cannot be canceled. */
|
|
457
|
-
export declare const ErrorCodeTaskNotCancelable = -32002;
|
|
458
|
-
export type ErrorCodeTaskNotCancelable = typeof ErrorCodeTaskNotCancelable;
|
|
459
|
-
/** Error code for Push Notification Not Supported (-32003). Push Notifications are not supported for this operation or agent. */
|
|
460
|
-
export declare const ErrorCodePushNotificationNotSupported = -32003;
|
|
461
|
-
export type ErrorCodePushNotificationNotSupported = typeof ErrorCodePushNotificationNotSupported;
|
|
462
|
-
/** Error code for Unsupported Operation (-32004). The requested operation is not supported by the agent. */
|
|
463
|
-
export declare const ErrorCodeUnsupportedOperation = -32004;
|
|
464
|
-
export type ErrorCodeUnsupportedOperation = typeof ErrorCodeUnsupportedOperation;
|
|
465
|
-
/**
|
|
466
|
-
* Union of all well-known A2A and standard JSON-RPC error codes defined in this schema.
|
|
467
|
-
* Use this type for checking against specific error codes. A server might theoretically
|
|
468
|
-
* use other codes within the valid JSON-RPC ranges.
|
|
469
|
-
*/
|
|
470
|
-
export type KnownErrorCode = typeof ErrorCodeParseError | typeof ErrorCodeInvalidRequest | typeof ErrorCodeMethodNotFound | typeof ErrorCodeInvalidParams | typeof ErrorCodeInternalError | typeof ErrorCodeTaskNotFound | typeof ErrorCodeTaskNotCancelable | typeof ErrorCodePushNotificationNotSupported | typeof ErrorCodeUnsupportedOperation;
|
|
471
|
-
export type A2AError = JSONRPCError<unknown, KnownErrorCode | number>;
|
|
472
|
-
/**
|
|
473
|
-
* Authentication information, potentially including additional properties beyond the standard ones.
|
|
474
|
-
* (Note: Schema allows additional properties).
|
|
475
|
-
*/
|
|
476
|
-
export interface AuthenticationInfo extends AgentAuthentication {
|
|
477
|
-
/** Allow any other properties */
|
|
478
|
-
[key: string]: any;
|
|
479
|
-
}
|
|
480
|
-
/**
|
|
481
|
-
* Information required for setting up push notifications.
|
|
482
|
-
*/
|
|
483
|
-
export interface PushNotificationConfig {
|
|
484
|
-
/**
|
|
485
|
-
* The URL endpoint where the agent should send notifications.
|
|
486
|
-
*/
|
|
487
|
-
url: string;
|
|
488
|
-
/**
|
|
489
|
-
* A token to be included in push notification requests for verification/authentication.
|
|
490
|
-
*/
|
|
491
|
-
token?: string;
|
|
492
|
-
/**
|
|
493
|
-
* Optional authentication details needed by the agent to call the notification URL.
|
|
494
|
-
*/
|
|
495
|
-
authentication?: AuthenticationInfo;
|
|
496
|
-
}
|
|
497
|
-
/**
|
|
498
|
-
* Represents the push notification information associated with a specific task ID.
|
|
499
|
-
* Used as parameters for `tasks/pushNotification/set` and as a result type.
|
|
500
|
-
*/
|
|
501
|
-
export interface TaskPushNotificationConfig {
|
|
502
|
-
/**
|
|
503
|
-
* The ID of the task the notification config is associated with.
|
|
504
|
-
*/
|
|
505
|
-
id: string;
|
|
506
|
-
/**
|
|
507
|
-
* The push notification configuration details.
|
|
508
|
-
*/
|
|
509
|
-
pushNotificationConfig: PushNotificationConfig;
|
|
510
|
-
}
|
|
511
|
-
/**
|
|
512
|
-
* Parameters for the `tasks/send` method.
|
|
513
|
-
*/
|
|
514
|
-
export interface TaskSendParams {
|
|
515
|
-
/**
|
|
516
|
-
* Unique identifier for the task being initiated or continued.
|
|
517
|
-
*/
|
|
518
|
-
id: string;
|
|
519
|
-
/**
|
|
520
|
-
* Optional identifier for the session this task belongs to. If not provided, a new session might be implicitly created depending on the agent.
|
|
521
|
-
*/
|
|
522
|
-
sessionId?: string;
|
|
523
|
-
/**
|
|
524
|
-
* The message content to send to the agent for processing.
|
|
525
|
-
*/
|
|
526
|
-
message: Message;
|
|
527
|
-
/**
|
|
528
|
-
* Optional pushNotification information for receiving notifications about this task. Requires agent capability.
|
|
529
|
-
*/
|
|
530
|
-
pushNotification?: PushNotificationConfig;
|
|
531
|
-
/**
|
|
532
|
-
* Optional parameter to specify how much message history to include in the response.
|
|
533
|
-
*/
|
|
534
|
-
historyLength?: number;
|
|
535
|
-
/**
|
|
536
|
-
* Optional metadata associated with sending this message.
|
|
537
|
-
*/
|
|
538
|
-
metadata?: Record<string, unknown>;
|
|
539
|
-
}
|
|
540
|
-
/**
|
|
541
|
-
* Basic parameters used for task ID operations.
|
|
542
|
-
* Used by: `tasks/cancel`, `tasks/pushNotification/get`.
|
|
543
|
-
*/
|
|
544
|
-
export interface TaskIdParams {
|
|
545
|
-
/**
|
|
546
|
-
* The unique identifier of the task.
|
|
547
|
-
*/
|
|
548
|
-
id: string;
|
|
549
|
-
/**
|
|
550
|
-
* Optional metadata to include with the operation.
|
|
551
|
-
*/
|
|
552
|
-
metadata?: Record<string, unknown>;
|
|
553
|
-
}
|
|
554
|
-
/**
|
|
555
|
-
* Parameters used for querying task-related information by ID.
|
|
556
|
-
* Used by: `tasks/get`, `tasks/getHistory`, `tasks/subscribe`, `tasks/resubscribe`.
|
|
557
|
-
*/
|
|
558
|
-
export interface TaskQueryParams extends TaskIdParams {
|
|
559
|
-
/**
|
|
560
|
-
* Optional history length to retrieve for the task.
|
|
561
|
-
*/
|
|
562
|
-
historyLength?: number;
|
|
563
|
-
}
|
|
564
|
-
/**
|
|
565
|
-
* Request to send a message/initiate a task.
|
|
566
|
-
*/
|
|
567
|
-
export interface SendTaskRequest extends JSONRPCRequest {
|
|
568
|
-
/**
|
|
569
|
-
* Method name for sending a task message.
|
|
570
|
-
*/
|
|
571
|
-
method: "tasks/send";
|
|
572
|
-
/**
|
|
573
|
-
* Parameters for the send task method.
|
|
574
|
-
*/
|
|
575
|
-
params: TaskSendParams;
|
|
576
|
-
}
|
|
577
|
-
/**
|
|
578
|
-
* Request to retrieve the current state of a task.
|
|
579
|
-
*/
|
|
580
|
-
export interface GetTaskRequest extends JSONRPCRequest {
|
|
581
|
-
/**
|
|
582
|
-
* Method name for getting task status.
|
|
583
|
-
*/
|
|
584
|
-
method: "tasks/get";
|
|
585
|
-
/**
|
|
586
|
-
* Parameters for the get task method.
|
|
587
|
-
*/
|
|
588
|
-
params: TaskQueryParams;
|
|
589
|
-
}
|
|
590
|
-
/**
|
|
591
|
-
* Request to cancel a currently running task.
|
|
592
|
-
*/
|
|
593
|
-
export interface CancelTaskRequest extends JSONRPCRequest {
|
|
594
|
-
/**
|
|
595
|
-
* Method name for canceling a task.
|
|
596
|
-
*/
|
|
597
|
-
method: "tasks/cancel";
|
|
598
|
-
/**
|
|
599
|
-
* Parameters for the cancel task method.
|
|
600
|
-
*/
|
|
601
|
-
params: TaskIdParams;
|
|
602
|
-
}
|
|
603
|
-
/**
|
|
604
|
-
* Request to set or update the push notification config for a task.
|
|
605
|
-
*/
|
|
606
|
-
export interface SetTaskPushNotificationRequest extends JSONRPCRequest {
|
|
607
|
-
/**
|
|
608
|
-
* Method name for setting a task notifications.
|
|
609
|
-
*/
|
|
610
|
-
method: "tasks/pushNotification/set";
|
|
611
|
-
/**
|
|
612
|
-
* Parameters for the set task push notification method.
|
|
613
|
-
*/
|
|
614
|
-
params: TaskPushNotificationConfig;
|
|
615
|
-
}
|
|
616
|
-
/**
|
|
617
|
-
* Request to retrieve the currently configured push notification configuration for a task.
|
|
618
|
-
*/
|
|
619
|
-
export interface GetTaskPushNotificationRequest extends JSONRPCRequest {
|
|
620
|
-
/**
|
|
621
|
-
* Method name for getting task notification configuration.
|
|
622
|
-
*/
|
|
623
|
-
method: "tasks/pushNotification/get";
|
|
624
|
-
/**
|
|
625
|
-
* Parameters for the get task push notification config method.
|
|
626
|
-
*/
|
|
627
|
-
params: TaskIdParams;
|
|
628
|
-
}
|
|
629
|
-
/**
|
|
630
|
-
* Request to resubscribe to updates for a task after a connection interruption.
|
|
631
|
-
*/
|
|
632
|
-
export interface TaskResubscriptionRequest extends JSONRPCRequest {
|
|
633
|
-
/**
|
|
634
|
-
* Method name for resubscribing to task updates.
|
|
635
|
-
*/
|
|
636
|
-
method: "tasks/resubscribe";
|
|
637
|
-
/**
|
|
638
|
-
* Parameters for the task resubscription method.
|
|
639
|
-
*/
|
|
640
|
-
params: TaskQueryParams;
|
|
641
|
-
}
|
|
642
|
-
/**
|
|
643
|
-
* Request to send a message/initiate a task and subscribe to streaming updates.
|
|
644
|
-
*/
|
|
645
|
-
export interface SendTaskStreamingRequest extends JSONRPCRequest {
|
|
646
|
-
/**
|
|
647
|
-
* Method name for sending a task message and subscribing to updates.
|
|
648
|
-
*/
|
|
649
|
-
method: "tasks/sendSubscribe";
|
|
650
|
-
/**
|
|
651
|
-
* Parameters for the streaming task send method.
|
|
652
|
-
*/
|
|
653
|
-
params: TaskSendParams;
|
|
654
|
-
}
|
|
655
|
-
/**
|
|
656
|
-
* Response to a `tasks/send` request.
|
|
657
|
-
* Contains the Task object or an error.
|
|
658
|
-
*/
|
|
659
|
-
export type SendTaskResponse = JSONRPCResponse<Task, A2AError>;
|
|
660
|
-
/**
|
|
661
|
-
* Response to a streaming task operation, either through `tasks/sendSubscribe` or a subscription.
|
|
662
|
-
* Contains a TaskStatusUpdateEvent, TaskArtifactUpdateEvent, or an error.
|
|
663
|
-
*/
|
|
664
|
-
export type SendTaskStreamingResponse = JSONRPCResponse<TaskStatusUpdateEvent | TaskArtifactUpdateEvent, A2AError>;
|
|
665
|
-
/**
|
|
666
|
-
* Response to a `tasks/get` request. Contains the Task object or an error.
|
|
667
|
-
*/
|
|
668
|
-
export type GetTaskResponse = JSONRPCResponse<Task, A2AError>;
|
|
669
|
-
/**
|
|
670
|
-
* Response to a `tasks/cancel` request. Contains the updated Task object (usually with 'canceled' state) or an error.
|
|
671
|
-
*/
|
|
672
|
-
export type CancelTaskResponse = JSONRPCResponse<Task, A2AError>;
|
|
673
|
-
/**
|
|
674
|
-
* Response to a `tasks/getHistory` request. Contains the TaskHistory object or an error.
|
|
675
|
-
*/
|
|
676
|
-
export type GetTaskHistoryResponse = JSONRPCResponse<TaskHistory, A2AError>;
|
|
677
|
-
/**
|
|
678
|
-
* Response to a `tasks/pushNotification/set` request. Contains the confirmed TaskPushNotificationConfig or an error.
|
|
679
|
-
*/
|
|
680
|
-
export type SetTaskPushNotificationResponse = JSONRPCResponse<TaskPushNotificationConfig, A2AError>;
|
|
681
|
-
/**
|
|
682
|
-
* Response to a `tasks/pushNotification/get` request. Contains the TaskPushNotificationConfig or an error.
|
|
683
|
-
*/
|
|
684
|
-
export type GetTaskPushNotificationResponse = JSONRPCResponse<TaskPushNotificationConfig, A2AError>;
|
|
685
|
-
/**
|
|
686
|
-
* Represents any valid request defined in the A2A protocol.
|
|
687
|
-
*/
|
|
688
|
-
export type A2ARequest = SendTaskRequest | GetTaskRequest | CancelTaskRequest | SetTaskPushNotificationRequest | GetTaskPushNotificationRequest | TaskResubscriptionRequest | SendTaskStreamingRequest;
|
|
689
|
-
/**
|
|
690
|
-
* Represents any valid JSON-RPC response defined in the A2A protocol.
|
|
691
|
-
* (This is a helper type, not explicitly defined with `oneOf` in the schema like A2ARequest, but useful).
|
|
692
|
-
*/
|
|
693
|
-
export type A2AResponse = SendTaskResponse | GetTaskResponse | CancelTaskResponse | GetTaskHistoryResponse | SetTaskPushNotificationResponse | GetTaskPushNotificationResponse;
|
|
694
|
-
//# sourceMappingURL=schema.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/types/schema.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC;;;;OAIG;IACH,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,MAAM,WAAW,cAAe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