@artinet/sdk 0.5.13 → 0.5.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -2
- package/dist/client/a2a-client.d.ts +10 -0
- package/dist/client/a2a-client.js +20 -9
- package/dist/server/express/server.d.ts +24 -24
- package/dist/services/a2a/factory/builder.d.ts +24 -24
- package/dist/services/a2a/helpers/message-builder.d.ts +1 -1
- package/dist/services/a2a/helpers/message-builder.js +4 -4
- package/dist/services/a2a/methods/get-task.d.ts +47 -47
- package/dist/services/a2a/methods/send-message.js +1 -1
- package/dist/services/a2a/methods/stream-message.js +1 -1
- package/dist/services/a2a/service.d.ts +157 -157
- package/dist/services/a2a/state/load.d.ts +1 -1
- package/dist/transport/trpc/a2a/factory/router.d.ts +1096 -1096
- package/dist/transport/trpc/a2a/routes/info.d.ts +37 -37
- package/dist/transport/trpc/a2a/routes/message/route.d.ts +227 -227
- package/dist/transport/trpc/a2a/routes/tasks/route.d.ts +260 -260
- package/dist/transport/trpc/a2a/trpc.d.ts +120 -120
- package/dist/types/interfaces/services/a2a/service.d.ts +1 -1
- package/dist/types/schemas/a2a/agent.d.ts +840 -840
- package/dist/types/schemas/a2a/agent.js +23 -2
- package/dist/types/schemas/a2a/auth.d.ts +197 -197
- package/dist/types/schemas/a2a/auth.js +19 -4
- package/dist/types/schemas/a2a/error.d.ts +24 -24
- package/dist/types/schemas/a2a/message.d.ts +4525 -4525
- package/dist/types/schemas/a2a/message.js +10 -2
- package/dist/types/schemas/a2a/notification.d.ts +403 -403
- package/dist/types/schemas/a2a/notification.js +7 -3
- package/dist/types/schemas/a2a/parameters.d.ts +264 -264
- package/dist/types/schemas/a2a/parameters.js +14 -1
- package/dist/types/schemas/a2a/protocol.d.ts +6042 -6042
- package/dist/types/schemas/a2a/rpc.d.ts +20 -20
- package/dist/types/schemas/a2a/rpc.js +5 -0
- package/dist/types/schemas/a2a/task.d.ts +2536 -2536
- package/dist/types/schemas/a2a/task.js +12 -11
- package/package.json +2 -2
|
@@ -13,13 +13,13 @@ export declare const agentInfoRoute: import("@trpc/server").TRPCQueryProcedure<{
|
|
|
13
13
|
capabilities: {
|
|
14
14
|
extensions?: {
|
|
15
15
|
uri: string;
|
|
16
|
-
required?: boolean | undefined;
|
|
17
|
-
description?: string | undefined;
|
|
18
|
-
params?: Record<string, unknown> | undefined;
|
|
19
|
-
}[] | undefined;
|
|
20
|
-
streaming?: boolean | undefined;
|
|
21
|
-
pushNotifications?: boolean | undefined;
|
|
22
|
-
stateTransitionHistory?: boolean | undefined;
|
|
16
|
+
required?: boolean | null | undefined;
|
|
17
|
+
description?: string | null | undefined;
|
|
18
|
+
params?: Record<string, unknown> | null | undefined;
|
|
19
|
+
}[] | null | undefined;
|
|
20
|
+
streaming?: boolean | null | undefined;
|
|
21
|
+
pushNotifications?: boolean | null | undefined;
|
|
22
|
+
stateTransitionHistory?: boolean | null | undefined;
|
|
23
23
|
};
|
|
24
24
|
defaultInputModes: string[];
|
|
25
25
|
defaultOutputModes: string[];
|
|
@@ -27,34 +27,34 @@ export declare const agentInfoRoute: import("@trpc/server").TRPCQueryProcedure<{
|
|
|
27
27
|
name: string;
|
|
28
28
|
id: string;
|
|
29
29
|
description: string;
|
|
30
|
-
tags
|
|
31
|
-
examples?: string[] | undefined;
|
|
32
|
-
inputModes?: string[] | undefined;
|
|
33
|
-
outputModes?: string[] | undefined;
|
|
34
|
-
security?: Record<string, string[]>[] | undefined;
|
|
30
|
+
tags: string[];
|
|
31
|
+
examples?: string[] | null | undefined;
|
|
32
|
+
inputModes?: string[] | null | undefined;
|
|
33
|
+
outputModes?: string[] | null | undefined;
|
|
34
|
+
security?: Record<string, string[]>[] | null | undefined;
|
|
35
35
|
}[];
|
|
36
|
-
security?: Record<string, string[]>[] | undefined;
|
|
37
|
-
preferredTransport?: string | undefined;
|
|
36
|
+
security?: Record<string, string[]>[] | null | undefined;
|
|
37
|
+
preferredTransport?: string | null | undefined;
|
|
38
38
|
additionalInterfaces?: {
|
|
39
39
|
url: string;
|
|
40
40
|
transport: string;
|
|
41
|
-
}[] | undefined;
|
|
42
|
-
iconUrl?: string | undefined;
|
|
41
|
+
}[] | null | undefined;
|
|
42
|
+
iconUrl?: string | null | undefined;
|
|
43
43
|
provider?: {
|
|
44
44
|
url: string;
|
|
45
45
|
organization: string;
|
|
46
|
-
} | undefined;
|
|
47
|
-
documentationUrl?: string | undefined;
|
|
46
|
+
} | null | undefined;
|
|
47
|
+
documentationUrl?: string | null | undefined;
|
|
48
48
|
securitySchemes?: Record<string, {
|
|
49
49
|
name: string;
|
|
50
50
|
type: "apiKey";
|
|
51
51
|
in: "header" | "query" | "cookie";
|
|
52
|
-
description?: string | undefined;
|
|
52
|
+
description?: string | null | undefined;
|
|
53
53
|
} | {
|
|
54
54
|
type: "http";
|
|
55
55
|
scheme: string;
|
|
56
|
-
description?: string | undefined;
|
|
57
|
-
bearerFormat?: string | undefined;
|
|
56
|
+
description?: string | null | undefined;
|
|
57
|
+
bearerFormat?: string | null | undefined;
|
|
58
58
|
} | {
|
|
59
59
|
type: "oauth2";
|
|
60
60
|
flows: {
|
|
@@ -62,40 +62,40 @@ export declare const agentInfoRoute: import("@trpc/server").TRPCQueryProcedure<{
|
|
|
62
62
|
authorizationUrl: string;
|
|
63
63
|
tokenUrl: string;
|
|
64
64
|
scopes: Record<string, string>;
|
|
65
|
-
refreshUrl?: string | undefined;
|
|
66
|
-
} | undefined;
|
|
65
|
+
refreshUrl?: string | null | undefined;
|
|
66
|
+
} | null | undefined;
|
|
67
67
|
clientCredentials?: {
|
|
68
68
|
tokenUrl: string;
|
|
69
69
|
scopes: Record<string, string>;
|
|
70
|
-
refreshUrl?: string | undefined;
|
|
71
|
-
} | undefined;
|
|
70
|
+
refreshUrl?: string | null | undefined;
|
|
71
|
+
} | null | undefined;
|
|
72
72
|
implicit?: {
|
|
73
73
|
authorizationUrl: string;
|
|
74
74
|
scopes: Record<string, string>;
|
|
75
|
-
refreshUrl?: string | undefined;
|
|
76
|
-
} | undefined;
|
|
75
|
+
refreshUrl?: string | null | undefined;
|
|
76
|
+
} | null | undefined;
|
|
77
77
|
password?: {
|
|
78
78
|
tokenUrl: string;
|
|
79
79
|
scopes: Record<string, string>;
|
|
80
|
-
refreshUrl?: string | undefined;
|
|
81
|
-
} | undefined;
|
|
80
|
+
refreshUrl?: string | null | undefined;
|
|
81
|
+
} | null | undefined;
|
|
82
82
|
};
|
|
83
|
-
description?: string | undefined;
|
|
84
|
-
oauth2MetadataUrl?: string | undefined;
|
|
83
|
+
description?: string | null | undefined;
|
|
84
|
+
oauth2MetadataUrl?: string | null | undefined;
|
|
85
85
|
} | {
|
|
86
86
|
type: "openIdConnect";
|
|
87
87
|
openIdConnectUrl: string;
|
|
88
|
-
description?: string | undefined;
|
|
88
|
+
description?: string | null | undefined;
|
|
89
89
|
} | {
|
|
90
90
|
type: "mutualTLS";
|
|
91
|
-
description?: string | undefined;
|
|
92
|
-
}> | undefined;
|
|
93
|
-
supportsAuthenticatedExtendedCard?: boolean | undefined;
|
|
91
|
+
description?: string | null | undefined;
|
|
92
|
+
}> | null | undefined;
|
|
93
|
+
supportsAuthenticatedExtendedCard?: boolean | null | undefined;
|
|
94
94
|
signatures?: {
|
|
95
95
|
protected: string;
|
|
96
96
|
signature: string;
|
|
97
|
-
header?: Record<string, unknown> | undefined;
|
|
98
|
-
}[] | undefined;
|
|
97
|
+
header?: Record<string, unknown> | null | undefined;
|
|
98
|
+
}[] | null | undefined;
|
|
99
99
|
};
|
|
100
100
|
meta: object;
|
|
101
101
|
}>;
|