@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
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
import type { Task, A2AContext, AgentSkill } from "../extended-schema.js";
|
|
2
|
+
import { Protocol } from "./protocol.js";
|
|
3
|
+
/**
|
|
4
|
+
* @description The base context.
|
|
5
|
+
*/
|
|
6
|
+
export interface BaseContext {
|
|
7
|
+
/**
|
|
8
|
+
* @description The id.
|
|
9
|
+
* @type {string}
|
|
10
|
+
*/
|
|
11
|
+
id: string;
|
|
12
|
+
/**
|
|
13
|
+
* @description The protocol.
|
|
14
|
+
* @type {Protocol}
|
|
15
|
+
*/
|
|
16
|
+
protocol: Protocol;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* @description The MCP context.
|
|
20
|
+
*/
|
|
21
|
+
export interface MCPContext {
|
|
22
|
+
/**
|
|
23
|
+
* @description The message.
|
|
24
|
+
* @type {string}
|
|
25
|
+
*/
|
|
26
|
+
message: string;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* @description The context params.
|
|
30
|
+
* @type {A2AContext["params"] | MCPContext}
|
|
31
|
+
*/
|
|
32
|
+
export type ContextParams = A2AContext["params"] | MCPContext;
|
|
33
|
+
/**
|
|
34
|
+
* @description The base execution context.
|
|
35
|
+
*/
|
|
36
|
+
export interface BaseExecutionContext<T extends ContextParams = ContextParams> extends BaseContext {
|
|
37
|
+
/**
|
|
38
|
+
* @description The method.
|
|
39
|
+
* @type {string}
|
|
40
|
+
*/
|
|
41
|
+
method: string;
|
|
42
|
+
/**
|
|
43
|
+
* @description The params.
|
|
44
|
+
* @type {T}
|
|
45
|
+
*/
|
|
46
|
+
params: T;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Represents a request specific to the A2A (Agent-to-Agent) protocol.
|
|
50
|
+
* The `protocol` field is narrowed to `Protocol.A2A`.
|
|
51
|
+
*/
|
|
52
|
+
export interface A2AExecutionContext<RequestType extends A2AContext = A2AContext> extends BaseExecutionContext<RequestType["params"]> {
|
|
53
|
+
protocol: Protocol.A2A;
|
|
54
|
+
/**
|
|
55
|
+
* @description The task.
|
|
56
|
+
* @type {Task}
|
|
57
|
+
*/
|
|
58
|
+
task: Task;
|
|
59
|
+
/**
|
|
60
|
+
* @description The request.
|
|
61
|
+
* @type {any}
|
|
62
|
+
*/
|
|
63
|
+
request: any;
|
|
64
|
+
/**
|
|
65
|
+
* @description The response.
|
|
66
|
+
* @type {any}
|
|
67
|
+
*/
|
|
68
|
+
response: any;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* @description Represents a request specific to the MCP (Model Context Protocol) protocol.
|
|
72
|
+
* The `protocol` field is narrowed to `Protocol.MCP`.
|
|
73
|
+
*/
|
|
74
|
+
export interface MCPExecutionContext extends BaseExecutionContext<MCPContext> {
|
|
75
|
+
protocol: Protocol.MCP;
|
|
76
|
+
/**
|
|
77
|
+
* @description The request.
|
|
78
|
+
* @type {any}
|
|
79
|
+
*/
|
|
80
|
+
request: any;
|
|
81
|
+
/**
|
|
82
|
+
* @description The response.
|
|
83
|
+
* @type {any}
|
|
84
|
+
*/
|
|
85
|
+
response: any;
|
|
86
|
+
/**
|
|
87
|
+
* @description The transport.
|
|
88
|
+
* @type {any}
|
|
89
|
+
*/
|
|
90
|
+
transport: any;
|
|
91
|
+
/**
|
|
92
|
+
* @description The skills.
|
|
93
|
+
* @type {AgentSkill[]}
|
|
94
|
+
*/
|
|
95
|
+
skills?: AgentSkill[];
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* @description Represents a request specific to the NLWeb protocol.
|
|
99
|
+
* The `protocol` field is narrowed to `Protocol.NLWEB`.
|
|
100
|
+
*/
|
|
101
|
+
export interface NLWebExecutionContext extends Omit<MCPExecutionContext, "protocol"> {
|
|
102
|
+
protocol: Protocol.NLWEB;
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* @description Represents a request specific to the ACP (Agent Communication Protocol).
|
|
106
|
+
* The `protocol` field is narrowed to `Protocol.ACP`.
|
|
107
|
+
*/
|
|
108
|
+
export interface ACPExecutionContext extends BaseExecutionContext {
|
|
109
|
+
protocol: Protocol.ACP;
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* @description Represents a request specific to the CHAT protocol.
|
|
113
|
+
* The `protocol` field is narrowed to `Protocol.CHAT`.
|
|
114
|
+
*/
|
|
115
|
+
export interface ChatExecutionContext extends BaseExecutionContext {
|
|
116
|
+
protocol: Protocol.CHAT;
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* @description A discriminated union of all protocol-specific request types.
|
|
120
|
+
* This allows functions to accept any request and use the `protocol`
|
|
121
|
+
* field to determine the specific type of request, enabling type-safe
|
|
122
|
+
* handling based on the protocol.
|
|
123
|
+
*/
|
|
124
|
+
export type SupportedContext = A2AExecutionContext | MCPExecutionContext | ACPExecutionContext | ChatExecutionContext;
|
|
125
|
+
/**
|
|
126
|
+
* @description The execution context.
|
|
127
|
+
*/
|
|
128
|
+
export interface ExecutionContext<ContextType extends BaseExecutionContext = SupportedContext> {
|
|
129
|
+
/**
|
|
130
|
+
* @description The id.
|
|
131
|
+
* @type {string}
|
|
132
|
+
*/
|
|
133
|
+
id: string;
|
|
134
|
+
/**
|
|
135
|
+
* @description The protocol.
|
|
136
|
+
*/
|
|
137
|
+
protocol: Protocol;
|
|
138
|
+
/**
|
|
139
|
+
* @description The get request params.
|
|
140
|
+
* @type {() => ContextType["params"] | undefined}
|
|
141
|
+
*/
|
|
142
|
+
getRequestParams: () => ContextType["params"] | undefined;
|
|
143
|
+
/**
|
|
144
|
+
* @description The is cancelled.
|
|
145
|
+
* @type {() => boolean}
|
|
146
|
+
*/
|
|
147
|
+
isCancelled: () => boolean;
|
|
148
|
+
/**
|
|
149
|
+
* @description The request context.
|
|
150
|
+
* @type {ContextType}
|
|
151
|
+
*/
|
|
152
|
+
requestContext?: ContextType;
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* @description The agent engine.
|
|
156
|
+
* @type {AgentEngine}
|
|
157
|
+
*/
|
|
158
|
+
export type AgentEngine<Context extends ExecutionContext = ExecutionContext> = (context: Context) => AsyncGenerator<any, void, undefined>;
|
|
159
|
+
/**
|
|
160
|
+
* @description The execution context config.
|
|
161
|
+
* @type {const}
|
|
162
|
+
*/
|
|
163
|
+
export declare const executionContextConfig: {
|
|
164
|
+
readonly id: "contextId";
|
|
165
|
+
readonly message: "userMessage";
|
|
166
|
+
};
|
|
167
|
+
//# sourceMappingURL=context.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../../src/types/services/context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAC1E,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEzC;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B;;;OAGG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;OAGG;IACH,QAAQ,EAAE,QAAQ,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB;;;OAGG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;;;GAGG;AACH,MAAM,MAAM,aAAa,GAAG,UAAU,CAAC,QAAQ,CAAC,GAAG,UAAU,CAAC;AAE9D;;GAEG;AACH,MAAM,WAAW,oBAAoB,CAAC,CAAC,SAAS,aAAa,GAAG,aAAa,CAC3E,SAAQ,WAAW;IACnB;;;OAGG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,MAAM,EAAE,CAAC,CAAC;CACX;AAED;;;GAGG;AACH,MAAM,WAAW,mBAAmB,CAClC,WAAW,SAAS,UAAU,GAAG,UAAU,CAC3C,SAAQ,oBAAoB,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC;IACnD,QAAQ,EAAE,QAAQ,CAAC,GAAG,CAAC;IACvB;;;OAGG;IACH,IAAI,EAAE,IAAI,CAAC;IACX;;;OAGG;IACH,OAAO,EAAE,GAAG,CAAC;IACb;;;OAGG;IACH,QAAQ,EAAE,GAAG,CAAC;CACf;AAED;;;GAGG;AACH,MAAM,WAAW,mBAAoB,SAAQ,oBAAoB,CAAC,UAAU,CAAC;IAC3E,QAAQ,EAAE,QAAQ,CAAC,GAAG,CAAC;IACvB;;;OAGG;IACH,OAAO,EAAE,GAAG,CAAC;IACb;;;OAGG;IACH,QAAQ,EAAE,GAAG,CAAC;IACd;;;OAGG;IACH,SAAS,EAAE,GAAG,CAAC;IACf;;;OAGG;IACH,MAAM,CAAC,EAAE,UAAU,EAAE,CAAC;CACvB;AAED;;;GAGG;AACH,MAAM,WAAW,qBACf,SAAQ,IAAI,CAAC,mBAAmB,EAAE,UAAU,CAAC;IAC7C,QAAQ,EAAE,QAAQ,CAAC,KAAK,CAAC;CAC1B;AAED;;;GAGG;AACH,MAAM,WAAW,mBAAoB,SAAQ,oBAAoB;IAC/D,QAAQ,EAAE,QAAQ,CAAC,GAAG,CAAC;CACxB;AAED;;;GAGG;AACH,MAAM,WAAW,oBAAqB,SAAQ,oBAAoB;IAChE,QAAQ,EAAE,QAAQ,CAAC,IAAI,CAAC;CACzB;AAED;;;;;GAKG;AACH,MAAM,MAAM,gBAAgB,GACxB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,oBAAoB,CAAC;AAEzB;;GAEG;AACH,MAAM,WAAW,gBAAgB,CAC/B,WAAW,SAAS,oBAAoB,GAAG,gBAAgB;IAE3D;;;OAGG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,QAAQ,EAAE,QAAQ,CAAC;IACnB;;;OAGG;IACH,gBAAgB,EAAE,MAAM,WAAW,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC;IAC1D;;;OAGG;IACH,WAAW,EAAE,MAAM,OAAO,CAAC;IAC3B;;;OAGG;IACH,cAAc,CAAC,EAAE,WAAW,CAAC;CAC9B;AAED;;;GAGG;AACH,MAAM,MAAM,WAAW,CAAC,OAAO,SAAS,gBAAgB,GAAG,gBAAgB,IAAI,CAC7E,OAAO,EAAE,OAAO,KACb,cAAc,CAAC,GAAG,EAAE,IAAI,EAAE,SAAS,CAAC,CAAC;AAE1C;;;GAGG;AACH,eAAO,MAAM,sBAAsB;;;CAGzB,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { AgentEngine, BaseExecutionContext, ExecutionContext } from "./context.js";
|
|
2
|
+
import { Protocol } from "./protocol.js";
|
|
3
|
+
import { Service } from "./service.js";
|
|
4
|
+
export interface DispatchOptions {
|
|
5
|
+
services: Partial<Record<Protocol, Service>>;
|
|
6
|
+
engine: AgentEngine;
|
|
7
|
+
}
|
|
8
|
+
export interface Dispatcher {
|
|
9
|
+
addService(service: Service): void;
|
|
10
|
+
onRequest<Req extends BaseExecutionContext>(req: Req): Promise<void>;
|
|
11
|
+
}
|
|
12
|
+
export declare class ServiceDispatcher implements Dispatcher {
|
|
13
|
+
readonly services: Partial<Record<Protocol, Service>>;
|
|
14
|
+
readonly engine: AgentEngine;
|
|
15
|
+
constructor(options: DispatchOptions);
|
|
16
|
+
static createExecutionContext<Req extends BaseExecutionContext>(req: Req): ExecutionContext<Req>;
|
|
17
|
+
onRequest<Req extends BaseExecutionContext>(req: Req): Promise<void>;
|
|
18
|
+
addService(service: Service): void;
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=dispatcher.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dispatcher.d.ts","sourceRoot":"","sources":["../../../../src/types/services/dispatcher.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,oBAAoB,EACpB,gBAAgB,EACjB,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAGvC,MAAM,WAAW,eAAe;IAC9B,QAAQ,EAAE,OAAO,CAAC,MAAM,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAC;IAC7C,MAAM,EAAE,WAAW,CAAC;CACrB;AAED,MAAM,WAAW,UAAU;IACzB,UAAU,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAAC;IACnC,SAAS,CAAC,GAAG,SAAS,oBAAoB,EAAE,GAAG,EAAE,GAAG,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACtE;AAED,qBAAa,iBAAkB,YAAW,UAAU;IAClD,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC,MAAM,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAC;IACtD,QAAQ,CAAC,MAAM,EAAE,WAAW,CAAC;gBAEjB,OAAO,EAAE,eAAe;IAKpC,MAAM,CAAC,sBAAsB,CAAC,GAAG,SAAS,oBAAoB,EAC5D,GAAG,EAAE,GAAG,GACP,gBAAgB,CAAC,GAAG,CAAC;IAUlB,SAAS,CAAC,GAAG,SAAS,oBAAoB,EAAE,GAAG,EAAE,GAAG,GAAG,OAAO,CAAC,IAAI,CAAC;IAe1E,UAAU,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI;CAGnC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from "./a2a/repository.js";
|
|
2
|
+
export * from "./a2a/service.js";
|
|
3
|
+
export * from "./mcp/service.js";
|
|
4
|
+
export * from "./context.js";
|
|
5
|
+
export * from "./dispatcher.js";
|
|
6
|
+
export * from "./manager.js";
|
|
7
|
+
export * from "./protocol.js";
|
|
8
|
+
export * from "./service.js";
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/types/services/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { BaseExecutionContext } from "./context.js";
|
|
2
|
+
import { TaskStore } from "../../server/interfaces/store.js";
|
|
3
|
+
import { AgentCard } from "../schemas/index.js";
|
|
4
|
+
import { DispatchOptions } from "./dispatcher.js";
|
|
5
|
+
/**
|
|
6
|
+
* @description The service manager params.
|
|
7
|
+
*/
|
|
8
|
+
export interface ManagerOptions extends DispatchOptions {
|
|
9
|
+
/**
|
|
10
|
+
* @description The task store.
|
|
11
|
+
* @type {TaskStore}
|
|
12
|
+
*/
|
|
13
|
+
storage: TaskStore;
|
|
14
|
+
/**
|
|
15
|
+
* @description The agent card.
|
|
16
|
+
* @note will be removed in the future
|
|
17
|
+
* @type {AgentCard}
|
|
18
|
+
*/
|
|
19
|
+
card: AgentCard;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* @description The service manager interface.
|
|
23
|
+
*/
|
|
24
|
+
export interface ManagerInterface {
|
|
25
|
+
/**
|
|
26
|
+
* @description Creates a request context.
|
|
27
|
+
* @param {T} req The request.
|
|
28
|
+
* @returns {T} The request context.
|
|
29
|
+
*/
|
|
30
|
+
createRequestContext<T extends BaseExecutionContext>(req: T): T;
|
|
31
|
+
/**
|
|
32
|
+
* @description Gets the agent card.
|
|
33
|
+
* @param {string} serviceName The service name.
|
|
34
|
+
* @returns {string} The description.
|
|
35
|
+
*/
|
|
36
|
+
/**
|
|
37
|
+
* @description Stops the manager.
|
|
38
|
+
* @returns {Promise<void>} The promise.
|
|
39
|
+
*/
|
|
40
|
+
destroy(): Promise<void>;
|
|
41
|
+
}
|
|
42
|
+
//# sourceMappingURL=manager.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"manager.d.ts","sourceRoot":"","sources":["../../../../src/types/services/manager.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAC7D,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAElD;;GAEG;AACH,MAAM,WAAW,cAAe,SAAQ,eAAe;IACrD;;;OAGG;IACH,OAAO,EAAE,SAAS,CAAC;IACnB;;;;OAIG;IACH,IAAI,EAAE,SAAS,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;;;OAIG;IACH,oBAAoB,CAAC,CAAC,SAAS,oBAAoB,EAAE,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC;IAChE;;;;OAIG;IAEH;;;OAGG;IACH,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;CAC1B"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { ToolCallback } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
2
|
+
import { CallToolResult, ToolAnnotations } from "@modelcontextprotocol/sdk/types.js";
|
|
3
|
+
import z, { ZodRawShape } from "zod";
|
|
4
|
+
import { Service } from "../service.js";
|
|
5
|
+
import { AgentSkill } from "../../schemas/index.js";
|
|
6
|
+
import { MCPExecutionContext } from "../context.js";
|
|
7
|
+
/**
|
|
8
|
+
* @description The MCPRequestParamsSchema.
|
|
9
|
+
*/
|
|
10
|
+
export declare const MCPRequestParamsSchema: z.ZodObject<{
|
|
11
|
+
message: z.ZodString;
|
|
12
|
+
}, "strip", z.ZodTypeAny, {
|
|
13
|
+
message: string;
|
|
14
|
+
}, {
|
|
15
|
+
message: string;
|
|
16
|
+
}>;
|
|
17
|
+
/**
|
|
18
|
+
* @description The zodCallBack type.
|
|
19
|
+
*/
|
|
20
|
+
type zodCallBack<Args extends ZodRawShape = ZodRawShape> = (...args: Parameters<ToolCallback<Args>>) => Promise<CallToolResult>;
|
|
21
|
+
/**
|
|
22
|
+
* @description The MCPTool interface.
|
|
23
|
+
*/
|
|
24
|
+
export interface MCPTool<Args extends ZodRawShape = ZodRawShape> {
|
|
25
|
+
/**
|
|
26
|
+
* @description The name of the tool.
|
|
27
|
+
* @type {string}
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
/**
|
|
31
|
+
* @description The description of the tool.
|
|
32
|
+
* @type {string}
|
|
33
|
+
*/
|
|
34
|
+
description?: string;
|
|
35
|
+
/**
|
|
36
|
+
* @description The params schema or annotations of the tool.
|
|
37
|
+
* @type {Args | ToolAnnotations}
|
|
38
|
+
*/
|
|
39
|
+
paramsSchemaOrAnnotations: Args | ToolAnnotations;
|
|
40
|
+
/**
|
|
41
|
+
* @description The callback of the tool.
|
|
42
|
+
* @type {zodCallBack<Args>}
|
|
43
|
+
*/
|
|
44
|
+
cb: zodCallBack<Args>;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* @description The MCPServiceInterface interface.
|
|
48
|
+
*/
|
|
49
|
+
export interface MCPServiceInterface extends Service<MCPExecutionContext> {
|
|
50
|
+
/**
|
|
51
|
+
* @description Initializes the service.
|
|
52
|
+
* @param {AgentSkill[]} skills The skills.
|
|
53
|
+
*/
|
|
54
|
+
initialize(skills: AgentSkill[]): void;
|
|
55
|
+
}
|
|
56
|
+
export {};
|
|
57
|
+
//# sourceMappingURL=service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../../../../src/types/services/mcp/service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,yCAAyC,CAAC;AACvE,OAAO,EACL,cAAc,EACd,eAAe,EAChB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,CAAC,EAAE,EAAE,WAAW,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAEpD;;GAEG;AACH,eAAO,MAAM,sBAAsB;;;;;;EAEjC,CAAC;AAEH;;GAEG;AACH,KAAK,WAAW,CAAC,IAAI,SAAS,WAAW,GAAG,WAAW,IAAI,CACzD,GAAG,IAAI,EAAE,UAAU,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC,KACpC,OAAO,CAAC,cAAc,CAAC,CAAC;AAE7B;;GAEG;AACH,MAAM,WAAW,OAAO,CAAC,IAAI,SAAS,WAAW,GAAG,WAAW;IAC7D;;;OAGG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,yBAAyB,EAAE,IAAI,GAAG,eAAe,CAAC;IAClD;;;OAGG;IACH,EAAE,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC;CACvB;AAED;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,OAAO,CAAC,mBAAmB,CAAC;IACvE;;;OAGG;IACH,UAAU,CAAC,MAAM,EAAE,UAAU,EAAE,GAAG,IAAI,CAAC;CACxC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @description The protocol enum.
|
|
3
|
+
*/
|
|
4
|
+
export declare enum Protocol {
|
|
5
|
+
/**
|
|
6
|
+
* @description The A2A protocol.
|
|
7
|
+
*/
|
|
8
|
+
A2A = "a2a",
|
|
9
|
+
/**
|
|
10
|
+
* @description The MCP protocol.
|
|
11
|
+
*/
|
|
12
|
+
MCP = "mcp",
|
|
13
|
+
/**
|
|
14
|
+
* @description The ACP protocol.
|
|
15
|
+
*/
|
|
16
|
+
ACP = "acp",
|
|
17
|
+
/**
|
|
18
|
+
* @description The CHAT protocol.
|
|
19
|
+
*/
|
|
20
|
+
CHAT = "chat",
|
|
21
|
+
/**
|
|
22
|
+
* @description The NLWeb protocol.
|
|
23
|
+
*/
|
|
24
|
+
NLWEB = "nlweb",
|
|
25
|
+
/**
|
|
26
|
+
* @description The custom protocol for user-defined services.
|
|
27
|
+
*/
|
|
28
|
+
CUSTOM = "custom"
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=protocol.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"protocol.d.ts","sourceRoot":"","sources":["../../../../src/types/services/protocol.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,QAAQ;IAClB;;OAEG;IACH,GAAG,QAAQ;IACX;;OAEG;IACH,GAAG,QAAQ;IACX;;OAEG;IACH,GAAG,QAAQ;IACX;;OAEG;IACH,IAAI,SAAS;IACb;;OAEG;IACH,KAAK,UAAU;IACf;;OAEG;IACH,MAAM,WAAW;CAClB"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Protocol } from "./protocol.js";
|
|
2
|
+
import { BaseExecutionContext, ExecutionContext } from "./context.js";
|
|
3
|
+
import { AgentEngine } from "./context.js";
|
|
4
|
+
/**
|
|
5
|
+
* @description The service interface.
|
|
6
|
+
* @template ContextType The context type.
|
|
7
|
+
*/
|
|
8
|
+
export interface Service<ContextType extends BaseExecutionContext = BaseExecutionContext> {
|
|
9
|
+
/**
|
|
10
|
+
* @description The name.
|
|
11
|
+
* @type {string}
|
|
12
|
+
*/
|
|
13
|
+
readonly name: string;
|
|
14
|
+
/**
|
|
15
|
+
* @description The protocol.
|
|
16
|
+
* @type {Protocol}
|
|
17
|
+
*/
|
|
18
|
+
readonly protocol: Protocol;
|
|
19
|
+
/**
|
|
20
|
+
* @description The execute method.
|
|
21
|
+
* @param {ExecutionContext<ContextType>} executionContext The execution context.
|
|
22
|
+
* @param {AgentEngine} engine The engine.
|
|
23
|
+
* @returns {Promise<void>} The promise.
|
|
24
|
+
*/
|
|
25
|
+
execute({ executionContext, engine, }: {
|
|
26
|
+
executionContext: ExecutionContext<ContextType>;
|
|
27
|
+
engine: AgentEngine;
|
|
28
|
+
}): Promise<void>;
|
|
29
|
+
/**
|
|
30
|
+
* @description The stop method.
|
|
31
|
+
* @returns {Promise<void>} The promise.
|
|
32
|
+
*/
|
|
33
|
+
stop(): Promise<void>;
|
|
34
|
+
}
|
|
35
|
+
//# sourceMappingURL=service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../../../src/types/services/service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AACtE,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAE3C;;;GAGG;AACH,MAAM,WAAW,OAAO,CACtB,WAAW,SAAS,oBAAoB,GAAG,oBAAoB;IAE/D;;;OAGG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB;;;OAGG;IACH,QAAQ,CAAC,QAAQ,EAAE,QAAQ,CAAC;IAE5B;;;;;OAKG;IACH,OAAO,CAAC,EACN,gBAAgB,EAChB,MAAM,GACP,EAAE;QACD,gBAAgB,EAAE,gBAAgB,CAAC,WAAW,CAAC,CAAC;QAChD,MAAM,EAAE,WAAW,CAAC;KACrB,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAElB;;;OAGG;IACH,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;CAsBvB"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Type-safe object key transformation utilities using built-in TypeScript utility types
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Forces TypeScript to evaluate and flatten intersection types into a single object type
|
|
6
|
+
* This makes IDE tooltips and type displays much cleaner
|
|
7
|
+
*/
|
|
8
|
+
type Simplify<T> = {
|
|
9
|
+
[K in keyof T]: T[K];
|
|
10
|
+
} & {};
|
|
11
|
+
/**
|
|
12
|
+
* Configuration for renaming keys - maps old key names to new key names
|
|
13
|
+
* For best results, use `as const` to preserve literal string types
|
|
14
|
+
*/
|
|
15
|
+
export type RenameConfig<T extends object> = {
|
|
16
|
+
readonly [K in keyof T]?: string;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Transform object type by renaming specified keys using built-in utility types
|
|
20
|
+
* This combines Pick/Omit patterns with Record to achieve key renaming
|
|
21
|
+
* Uses Simplify to flatten the final type for cleaner IDE display
|
|
22
|
+
*/
|
|
23
|
+
export type TransformKeys<T extends object, Config extends RenameConfig<T>> = Simplify<Omit<T, keyof Config> & {
|
|
24
|
+
[OriginalKey in keyof Config & keyof T as Config[OriginalKey] extends string ? Config[OriginalKey] : OriginalKey]: T[OriginalKey];
|
|
25
|
+
}>;
|
|
26
|
+
/**
|
|
27
|
+
* Runtime function to transform object keys based on configuration
|
|
28
|
+
* Uses the TransformKeys utility type for return type inference
|
|
29
|
+
*/
|
|
30
|
+
export declare function transformKeys<T extends object, Config extends RenameConfig<T>>(obj: T, config: Config): TransformKeys<T, Config>;
|
|
31
|
+
/**
|
|
32
|
+
* Helper type to extract the transformed type for a given object and config
|
|
33
|
+
* Useful for declaring variables with the expected transformed type
|
|
34
|
+
* Uses Simplify to show clean, flattened types in IDE
|
|
35
|
+
*/
|
|
36
|
+
export type Transformed<T extends object, Config extends RenameConfig<T>> = Simplify<TransformKeys<T, Config>>;
|
|
37
|
+
/**
|
|
38
|
+
* Utility to create a type-safe rename configuration with better intellisense
|
|
39
|
+
* The returned function preserves literal string types
|
|
40
|
+
*/
|
|
41
|
+
export declare function createRenameConfig<T extends object>(): <Config extends RenameConfig<T>>(config: Config) => Config;
|
|
42
|
+
/**
|
|
43
|
+
* Common transformation patterns using built-in utility types
|
|
44
|
+
*/
|
|
45
|
+
export declare namespace TransformPatterns {
|
|
46
|
+
/**
|
|
47
|
+
* Convert snake_case keys to camelCase
|
|
48
|
+
* This is a type-level template but would need runtime implementation
|
|
49
|
+
*/
|
|
50
|
+
type SnakeToCamel<T extends string> = T extends `${infer First}_${infer Rest}` ? `${First}${Capitalize<SnakeToCamel<Rest>>}` : T;
|
|
51
|
+
/**
|
|
52
|
+
* Pick specific keys and optionally rename them
|
|
53
|
+
*/
|
|
54
|
+
type PickAndRename<T extends object, Keys extends keyof T, Config extends Partial<Record<Keys, string>>> = Simplify<TransformKeys<Pick<T, Keys>, Config>>;
|
|
55
|
+
/**
|
|
56
|
+
* Omit specific keys and optionally rename remaining ones
|
|
57
|
+
*/
|
|
58
|
+
type OmitAndRename<T extends object, OmitKeys extends keyof T, Config extends RenameConfig<Omit<T, OmitKeys>>> = Simplify<TransformKeys<Omit<T, OmitKeys>, Config>>;
|
|
59
|
+
}
|
|
60
|
+
export {};
|
|
61
|
+
//# sourceMappingURL=transform.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transform.d.ts","sourceRoot":"","sources":["../../../src/types/transform.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;;GAGG;AACH,KAAK,QAAQ,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAE,GAAG,EAAE,CAAC;AAEjD;;;GAGG;AACH,MAAM,MAAM,YAAY,CAAC,CAAC,SAAS,MAAM,IAAI;IAC3C,QAAQ,EAAE,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,MAAM;CACjC,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,aAAa,CACvB,CAAC,SAAS,MAAM,EAChB,MAAM,SAAS,YAAY,CAAC,CAAC,CAAC,IAC5B,QAAQ,CAEV,IAAI,CAAC,CAAC,EAAE,MAAM,MAAM,CAAC,GAAG;KAErB,WAAW,IAAI,MAAM,MAAM,GAAG,MAAM,CAAC,IAAI,MAAM,CAAC,WAAW,CAAC,SAAS,MAAM,GACxE,MAAM,CAAC,WAAW,CAAC,GACnB,WAAW,GAAG,CAAC,CAAC,WAAW,CAAC;CACjC,CACF,CAAC;AAEF;;;GAGG;AACH,wBAAgB,aAAa,CAAC,CAAC,SAAS,MAAM,EAAE,MAAM,SAAS,YAAY,CAAC,CAAC,CAAC,EAC5E,GAAG,EAAE,CAAC,EACN,MAAM,EAAE,MAAM,GACb,aAAa,CAAC,CAAC,EAAE,MAAM,CAAC,CAmB1B;AAED;;;;GAIG;AACH,MAAM,MAAM,WAAW,CACrB,CAAC,SAAS,MAAM,EAChB,MAAM,SAAS,YAAY,CAAC,CAAC,CAAC,IAC5B,QAAQ,CAAC,aAAa,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC;AAEvC;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,CAAC,SAAS,MAAM,MAChC,MAAM,SAAS,YAAY,CAAC,CAAC,CAAC,EAAE,QAAQ,MAAM,KAAG,MAAM,CAGzE;AAED;;GAEG;AAEH,yBAAiB,iBAAiB,CAAC;IACjC;;;OAGG;IACH,KAAY,YAAY,CAAC,CAAC,SAAS,MAAM,IACvC,CAAC,SAAS,GAAG,MAAM,KAAK,IAAI,MAAM,IAAI,EAAE,GACpC,GAAG,KAAK,GAAG,UAAU,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC,EAAE,GAC3C,CAAC,CAAC;IAER;;OAEG;IACH,KAAY,aAAa,CACvB,CAAC,SAAS,MAAM,EAChB,IAAI,SAAS,MAAM,CAAC,EACpB,MAAM,SAAS,OAAO,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC,IAC1C,QAAQ,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC;IAEnD;;OAEG;IACH,KAAY,aAAa,CACvB,CAAC,SAAS,MAAM,EAChB,QAAQ,SAAS,MAAM,CAAC,EACxB,MAAM,SAAS,YAAY,CAAC,IAAI,CAAC,CAAC,EAAE,QAAQ,CAAC,CAAC,IAC5C,QAAQ,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC,EAAE,QAAQ,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC;CACxD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"register.d.ts","sourceRoot":"","sources":["../../../../src/utils/api/register.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAqB,MAAM,6BAA6B,CAAC;AAC/E,OAAO,EAAE,SAAS,EAAc,MAAM,sBAAsB,CAAC;AAG7D;;;;GAIG;AACH,wBAAsB,WAAW,CAC/B,QAAQ,EAAE,MAAM,GACf,OAAO,CAAC;IAAE,OAAO,EAAE,OAAO,CAAC;IAAC,cAAc,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,CAgBxE;AAED;;;;GAIG;AACH,wBAAgB,OAAO,CAAC,IAAI,EAAE,SAAS,GAAG,aAAa,
|
|
1
|
+
{"version":3,"file":"register.d.ts","sourceRoot":"","sources":["../../../../src/utils/api/register.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAqB,MAAM,6BAA6B,CAAC;AAC/E,OAAO,EAAE,SAAS,EAAc,MAAM,sBAAsB,CAAC;AAG7D;;;;GAIG;AACH,wBAAsB,WAAW,CAC/B,QAAQ,EAAE,MAAM,GACf,OAAO,CAAC;IAAE,OAAO,EAAE,OAAO,CAAC;IAAC,cAAc,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,CAgBxE;AAED;;;;GAIG;AACH,wBAAgB,OAAO,CAAC,IAAI,EAAE,SAAS,GAAG,aAAa,CAiCtD;AAED;;;;GAIG;AACH,wBAAsB,QAAQ,CAAC,IAAI,EAAE,SAAS,GAAG,OAAO,CAAC,MAAM,CAAC,CA6C/D"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { TaskState,
|
|
2
|
-
export declare const WORKING_UPDATE:
|
|
3
|
-
export declare const CANCEL_UPDATE:
|
|
4
|
-
export declare const SUBMITTED_UPDATE:
|
|
1
|
+
import { TaskState, TaskStatusUpdateEvent } from "../../types/schemas/a2a/index.js";
|
|
2
|
+
export declare const WORKING_UPDATE: (taskId: string, contextId: string) => TaskStatusUpdateEvent;
|
|
3
|
+
export declare const CANCEL_UPDATE: (taskId: string, contextId: string) => TaskStatusUpdateEvent;
|
|
4
|
+
export declare const SUBMITTED_UPDATE: (taskId: string, contextId: string) => TaskStatusUpdateEvent;
|
|
5
5
|
export declare const FINAL_STATES: TaskState[];
|
|
6
6
|
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/utils/common/constants.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/utils/common/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,qBAAqB,EACtB,MAAM,kCAAkC,CAAC;AAE1C,eAAO,MAAM,cAAc,GACzB,QAAQ,MAAM,EACd,WAAW,MAAM,KAChB,qBAUF,CAAC;AAEF,eAAO,MAAM,aAAa,GACxB,QAAQ,MAAM,EACd,WAAW,MAAM,KAChB,qBAUF,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAC3B,QAAQ,MAAM,EACd,WAAW,MAAM,KAChB,qBAUF,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,SAAS,EAKnC,CAAC"}
|
|
@@ -1,20 +1,24 @@
|
|
|
1
1
|
import { NextFunction, Request, Response } from "express";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
import { JSONParseError } from "../../types/extended-schema.js";
|
|
3
|
+
import { A2AError, InvalidParamsError, InvalidRequestError, JSONRPCError, MethodNotFoundError, InternalError, TaskNotFoundError, TaskNotCancelableError, ContentTypeNotSupportedError, InvalidAgentResponseError, TaskStatusUpdateEvent } from "../../types/schemas/a2a/index.js";
|
|
4
|
+
export declare class SystemError<T extends JSONRPCError<number, unknown>> extends Error {
|
|
5
|
+
message: string;
|
|
6
|
+
code: T["code"];
|
|
7
|
+
data: T["data"];
|
|
8
|
+
constructor(message: string, code: T["code"], data: T["data"]);
|
|
7
9
|
}
|
|
8
|
-
export declare const PARSE_ERROR: <
|
|
9
|
-
export declare const
|
|
10
|
-
export declare const
|
|
11
|
-
export declare const INVALID_PARAMS: <
|
|
12
|
-
export declare const INTERNAL_ERROR: <
|
|
13
|
-
export declare const TASK_NOT_FOUND: <
|
|
14
|
-
export declare const TASK_NOT_CANCELABLE: <
|
|
15
|
-
export declare const
|
|
16
|
-
export declare const
|
|
17
|
-
export declare const
|
|
10
|
+
export declare const PARSE_ERROR: <T extends JSONParseError>(data: T["data"]) => SystemError<T>;
|
|
11
|
+
export declare const INVALID_REQUEST: <T extends InvalidRequestError>(data: T["data"]) => SystemError<T>;
|
|
12
|
+
export declare const METHOD_NOT_FOUND: <T extends MethodNotFoundError>(data: T["data"]) => SystemError<T>;
|
|
13
|
+
export declare const INVALID_PARAMS: <T extends InvalidParamsError>(data: T["data"]) => SystemError<T>;
|
|
14
|
+
export declare const INTERNAL_ERROR: <T extends InternalError>(data: T["data"]) => SystemError<T>;
|
|
15
|
+
export declare const TASK_NOT_FOUND: <T extends TaskNotFoundError>(data: T["data"]) => SystemError<T>;
|
|
16
|
+
export declare const TASK_NOT_CANCELABLE: <T extends TaskNotCancelableError>(data: T["data"]) => SystemError<T>;
|
|
17
|
+
export declare const PUSH_NOTIFICATION_NOT_SUPPORTED: <T extends A2AError>(data: T["data"]) => SystemError<T>;
|
|
18
|
+
export declare const UNSUPPORTED_OPERATION: <T extends A2AError>(data: T["data"]) => SystemError<T>;
|
|
19
|
+
export declare const CONTENT_TYPE_NOT_SUPPORTED: <T extends ContentTypeNotSupportedError>(data: T["data"]) => SystemError<T>;
|
|
20
|
+
export declare const INVALID_AGENT_RESPONSE: <T extends InvalidAgentResponseError>(data: T["data"]) => SystemError<T>;
|
|
21
|
+
export declare const FAILED_UPDATE: (taskId: string, contextId: string, messageId: string | undefined, errMessage: string) => TaskStatusUpdateEvent;
|
|
18
22
|
/**
|
|
19
23
|
* Express error handler middleware.
|
|
20
24
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../../src/utils/common/errors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAC1D,OAAO,EACL,YAAY,
|
|
1
|
+
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../../src/utils/common/errors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAC1D,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAEhE,OAAO,EACL,QAAQ,EAUR,kBAAkB,EAClB,mBAAmB,EACnB,YAAY,EACZ,mBAAmB,EACnB,aAAa,EACb,iBAAiB,EACjB,sBAAsB,EAEtB,4BAA4B,EAC5B,yBAAyB,EAGzB,qBAAqB,EACtB,MAAM,kCAAkC,CAAC;AAE1C,qBAAa,WAAW,CACtB,CAAC,SAAS,YAAY,CAAC,MAAM,EAAE,OAAO,CAAC,CACvC,SAAQ,KAAK;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC;IAChB,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC;gBAEJ,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC;CAO9D;AAED,eAAO,MAAM,WAAW,GAAI,CAAC,SAAS,cAAc,EAAE,MAAM,CAAC,CAAC,MAAM,CAAC,mBACE,CAAC;AAExE,eAAO,MAAM,eAAe,GAAI,CAAC,SAAS,mBAAmB,EAC3D,MAAM,CAAC,CAAC,MAAM,CAAC,mBAMd,CAAC;AAEJ,eAAO,MAAM,gBAAgB,GAAI,CAAC,SAAS,mBAAmB,EAC5D,MAAM,CAAC,CAAC,MAAM,CAAC,mBACyD,CAAC;AAE3E,eAAO,MAAM,cAAc,GAAI,CAAC,SAAS,kBAAkB,EAAE,MAAM,CAAC,CAAC,MAAM,CAAC,mBACJ,CAAC;AAEzE,eAAO,MAAM,cAAc,GAAI,CAAC,SAAS,aAAa,EAAE,MAAM,CAAC,CAAC,MAAM,CAAC,mBACH,CAAC;AAErE,eAAO,MAAM,cAAc,GAAI,CAAC,SAAS,iBAAiB,EAAE,MAAM,CAAC,CAAC,MAAM,CAAC,mBACR,CAAC;AAEpE,eAAO,MAAM,mBAAmB,GAAI,CAAC,SAAS,sBAAsB,EAClE,MAAM,CAAC,CAAC,MAAM,CAAC,mBAMd,CAAC;AAEJ,eAAO,MAAM,+BAA+B,GAAI,CAAC,SAAS,QAAQ,EAChE,MAAM,CAAC,CAAC,MAAM,CAAC,mBAMd,CAAC;AAEJ,eAAO,MAAM,qBAAqB,GAAI,CAAC,SAAS,QAAQ,EAAE,MAAM,CAAC,CAAC,MAAM,CAAC,mBAKtE,CAAC;AAEJ,eAAO,MAAM,0BAA0B,GACrC,CAAC,SAAS,4BAA4B,EAEtC,MAAM,CAAC,CAAC,MAAM,CAAC,mBAMd,CAAC;AAEJ,eAAO,MAAM,sBAAsB,GAAI,CAAC,SAAS,yBAAyB,EACxE,MAAM,CAAC,CAAC,MAAM,CAAC,mBAMd,CAAC;AAEJ,eAAO,MAAM,aAAa,GACxB,QAAQ,MAAM,EACd,WAAW,MAAM,EACjB,WAAW,MAAM,YAAkB,EACnC,YAAY,MAAM,KACjB,qBAcD,CAAC;AAEH;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,CACzB,GAAG,EAAE,KAAK,EACV,GAAG,EAAE,OAAO,EACZ,GAAG,EAAE,QAAQ,EACb,IAAI,EAAE,YAAY,KACf,IAAI,CAAC;AAEV;;GAEG;AACH,wBAAgB,YAAY,CAC1B,GAAG,EAAE,KAAK,EACV,GAAG,EAAE,OAAO,EACZ,GAAG,EAAE,QAAQ,EACb,IAAI,EAAE,YAAY,GACjB,IAAI,CAiCN"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { MessageSendParams } from "../../types/extended-schema.js";
|
|
2
2
|
/**
|
|
3
3
|
* Generates a timestamp in ISO 8601 format.
|
|
4
4
|
* @returns The current timestamp as a string.
|
|
@@ -10,22 +10,11 @@ export declare function getCurrentTimestamp(): string;
|
|
|
10
10
|
* @returns True if the value is a plain object, false otherwise.
|
|
11
11
|
*/
|
|
12
12
|
export declare function isObject(value: unknown): value is Record<string, any>;
|
|
13
|
-
/**
|
|
14
|
-
* Type guard to check if an object is a TaskStatus update (lacks 'parts').
|
|
15
|
-
* Used to differentiate yielded updates from the handler.
|
|
16
|
-
*/
|
|
17
|
-
export declare function isTaskStatusUpdate(update: TaskYieldUpdate): update is ExtendedTaskStatusUpdate;
|
|
18
|
-
/**
|
|
19
|
-
* Type guard to check if an object is an Artifact update (has 'parts').
|
|
20
|
-
* Used to differentiate yielded updates from the handler.
|
|
21
|
-
*/
|
|
22
|
-
export declare function isArtifactUpdate(update: TaskYieldUpdate): update is Artifact;
|
|
23
|
-
export declare function validateTaskResubscribeParams(params: any): asserts params is TaskQueryParams;
|
|
24
13
|
/**
|
|
25
14
|
* Validates a task send parameters object.
|
|
26
15
|
* @param params The parameters to validate
|
|
27
16
|
* @throws INVALID_PARAMS if the parameters are invalid
|
|
28
17
|
*/
|
|
29
|
-
export declare function
|
|
18
|
+
export declare function validateSendMessageParams(params: any): asserts params is MessageSendParams;
|
|
30
19
|
export declare function extractTaskId(id: number | string | null | undefined): string;
|
|
31
20
|
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/utils/common/utils.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/utils/common/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAQ,MAAM,gCAAgC,CAAC;AAGzE;;;GAGG;AACH,wBAAgB,mBAAmB,IAAI,MAAM,CAE5C;AAED;;;;GAIG;AACH,wBAAgB,QAAQ,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAErE;AAED;;;;GAIG;AACH,wBAAgB,yBAAyB,CACvC,MAAM,EAAE,GAAG,GACV,OAAO,CAAC,MAAM,IAAI,iBAAiB,CA+BrC;AAED,wBAAgB,aAAa,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,MAAM,CAQ5E"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { TaskContext } from "../../types/context.js";
|
|
1
|
+
import { UpdateEvent, ExecutionContext } from "../../types/index.js";
|
|
3
2
|
/**
|
|
4
3
|
* @fileoverview This module provides proxy functions for agent task handling and
|
|
5
4
|
* fetching responses within a managed deployment environment. These proxies
|
|
@@ -13,14 +12,14 @@ import { TaskContext } from "../../types/context.js";
|
|
|
13
12
|
* and iterates over its yielded updates, passing them to a `hostOnYield` function
|
|
14
13
|
* made available in the `env` by the host environment.
|
|
15
14
|
*
|
|
16
|
-
* The `Context` (
|
|
15
|
+
* The `Context` (ExecutionContext) is also expected to be provided by the host environment via `env`.
|
|
17
16
|
* @deprecated This function is deprecated and will be removed in a future version. Use the `Artinet.v0.taskManager` function instead.
|
|
18
|
-
* @param taskHandler - An asynchronous generator function that takes a `
|
|
19
|
-
* and yields `
|
|
17
|
+
* @param taskHandler - An asynchronous generator function that takes a `ExecutionContext`
|
|
18
|
+
* and yields `UpdateEvent` objects, eventually returning a `Task` or void.
|
|
20
19
|
* @throws An error if the required `env.hostOnYield` or `env.Context` are not found,
|
|
21
20
|
* indicating an invalid runtime environment.
|
|
22
21
|
*/
|
|
23
|
-
export declare const taskHandlerProxy: (taskHandler: (context:
|
|
22
|
+
export declare const taskHandlerProxy: (taskHandler: (context: ExecutionContext) => AsyncGenerator<UpdateEvent, void, unknown>) => Promise<void>;
|
|
24
23
|
/**
|
|
25
24
|
* Proxies requests to fetch responses from other agents or LLMs to a host-provided implementation.
|
|
26
25
|
* This allows agents in a managed environment to make external calls (e.g., to an LLM)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"task-wrapper.d.ts","sourceRoot":"","sources":["../../../../src/utils/deployment/task-wrapper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"task-wrapper.d.ts","sourceRoot":"","sources":["../../../../src/utils/deployment/task-wrapper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAGrE;;;;;GAKG;AAEH;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,gBAAgB,GAC3B,aAAa,CACX,OAAO,EAAE,gBAAgB,KACtB,cAAc,CAAC,WAAW,EAAE,IAAI,EAAE,OAAO,CAAC,kBAGhD,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,kBAAkB,GAC7B,SAAS,MAAM,EACf,UAAU;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,EAAE,KAC5C,OAAO,CAAC,MAAM,CAEhB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ServerDeploymentRequestParams, ServerDeploymentResponse, Task,
|
|
1
|
+
import { ServerDeploymentRequestParams, ServerDeploymentResponse, Task, SendMessageRequest, Message } from "../../types/index.js";
|
|
2
2
|
/**
|
|
3
3
|
* Tests an agent deployment by sending its code to a test deployment endpoint
|
|
4
4
|
* and then issuing a series of test task requests to the deployed agent.
|
|
@@ -19,5 +19,5 @@ import { ServerDeploymentRequestParams, ServerDeploymentResponse, Task, SendTask
|
|
|
19
19
|
* during the deployment phase, and `Task` objects resulting from the
|
|
20
20
|
* test requests. Yields `null` for other event types not explicitly handled.
|
|
21
21
|
*/
|
|
22
|
-
export declare function testDeployment(params: ServerDeploymentRequestParams, requests:
|
|
22
|
+
export declare function testDeployment(params: ServerDeploymentRequestParams, requests: SendMessageRequest[]): AsyncIterable<Message | Task | ServerDeploymentResponse | null>;
|
|
23
23
|
//# sourceMappingURL=test-deployment.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test-deployment.d.ts","sourceRoot":"","sources":["../../../../src/utils/deployment/test-deployment.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,6BAA6B,EAC7B,wBAAwB,EAIxB,IAAI,EACJ,
|
|
1
|
+
{"version":3,"file":"test-deployment.d.ts","sourceRoot":"","sources":["../../../../src/utils/deployment/test-deployment.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,6BAA6B,EAC7B,wBAAwB,EAIxB,IAAI,EACJ,kBAAkB,EAClB,OAAO,EACR,MAAM,sBAAsB,CAAC;AAqB9B;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAuB,cAAc,CACnC,MAAM,EAAE,6BAA6B,EACrC,QAAQ,EAAE,kBAAkB,EAAE,GAC7B,aAAa,CAAC,OAAO,GAAG,IAAI,GAAG,wBAAwB,GAAG,IAAI,CAAC,CAwCjE"}
|